blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
4f08dc744434feff1d32cee783de86333bb13fb9
76787cd4117d71377bd27d251b6d30b41922ff67
/tests/integration/response/schema/test_countries.py
34f80377ee2c79759a4d9a4a17217fb723874f4e
[ "MIT" ]
permissive
jaebradley/draftkings_client
50ba0f25e38b78f75d92a57660bfb110e3a27e69
2184e2e3cf66bfe9e4cc6f6d577c80602ab7121a
refs/heads/v3
2022-12-09T14:35:50.263181
2022-01-19T06:36:24
2022-01-19T06:36:24
73,451,976
138
47
MIT
2022-12-08T01:23:13
2016-11-11T06:29:44
Python
UTF-8
Python
false
false
2,712
py
import os from unittest import TestCase from draft_kings.response.objects.countries import Country, Countries from draft_kings.response.schema.countries import CountriesSchema from tests.config import ROOT_DIRECTORY class TestCountries(TestCase): def setUp(self) -> None: with open(os.path.join(ROOT_DIREC...
[ "noreply@github.com" ]
jaebradley.noreply@github.com
ba4c4198b6f4565bd1b715c26f548292f2287c5f
cda43bf6a84f7e55fab26aa70cda934683a51fe5
/residualflows/train_toy_dioDionelis.py
b211dab5f7e76b0f94b3aaae0281197026274108
[]
no_license
nikolaosdionelis/NeuralNetworksNNs
abb55622882e31c8d130a8986868b3d19ede186f
8a217490ad5bb3f7fccf4002c6b43a06c1e562fc
refs/heads/master
2022-11-13T00:50:23.578197
2020-07-12T18:52:20
2020-07-12T18:52:20
279,042,013
5
1
null
null
null
null
UTF-8
Python
false
false
33,216
py
#import os #os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" #os.environ["CUDA_VISIBLE_DEVICES"]="1" import os os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"]="1" #import os import time import argparse import matplotlib #matplotlib.use('Agg') import matplotlib.pyplot as plt import math i...
[ "noreply@github.com" ]
nikolaosdionelis.noreply@github.com
6a7d1bfe97a9a6af626cfbca8a9591a1abd35904
c88cd09f52ba3b0549ae223ba8a96dff256b71bc
/Codechef/ANUWTA.py
ccc4a525cd89bb2248849140873b90175b88c24c
[]
no_license
Ishita-Tiwari/competitive-programming
cadd3007fffc89e1b6905bbdb3fbdd0250e29cdc
c54659081de2ca87f00a7a399cc15d6aa919e772
refs/heads/master
2021-08-17T11:47:12.890012
2021-07-22T13:56:02
2021-07-22T13:56:02
188,955,292
3
1
null
null
null
null
UTF-8
Python
false
false
97
py
t = int(input()) for T in range(t): n = int(input()) print(((n * (n + 1)) // 2) + n)
[ "noreply@github.com" ]
Ishita-Tiwari.noreply@github.com
92f0d23f55c9015d1f365d9e204979a391d1b0e4
5a8214b3a452c574e6c883bf5d90ba58ba87c461
/leetcode/48.rotate-image.py
db4b09988b60fd7639cb9e4e1bf241fac3a2f0ad
[]
no_license
phlalx/algorithms
69a3c8519687816e3c6333ec12b40659d3e3167f
f4da5a5dbda640b9bcbe14cb60a72c422b5d6240
refs/heads/master
2023-02-03T10:30:30.181735
2020-12-26T09:47:38
2020-12-26T09:47:38
129,254,618
0
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
# TAGS implem # make a drawing # # @lc app=leetcode id=48 lang=python3 # # [48] Rotate Image # # https://leetcode.com/problems/rotate-image/description/ # # algorithms # Medium (50.40%) # Likes: 2053 # Dislikes: 179 # Total Accepted: 307.7K # Total Submissions: 596.5K # Testcase Example: '[[1,2,3],[4,5,6],[7,8,9...
[ "phlalx@users.noreply.github.com" ]
phlalx@users.noreply.github.com
e2611d1cd34427015fc98b5c6c870673d634990c
b2cfcacbd898f758a56d095f2140681934205d89
/GeekShop_mentor/src_lesson_7/step_1(own_admin_start)/geekshop/adminapp/views.py
e33e89d0dc71607f5a2ff803da6531ffe1ed0eda
[]
no_license
AndreySperansky/Django_1
7d3be3ea2ede8e46d932fdae146ce4a7c4e300b4
0fec0a9a02b887fd8b45a5b763b7da5dc6377208
refs/heads/master
2022-12-15T19:56:23.611288
2020-09-21T17:40:40
2020-09-21T17:40:40
284,131,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,625
py
from django.shortcuts import render, get_object_or_404 from authapp.models import ShopUser from mainapp.models import ProductCategory, Product def users(request): title = 'админка/пользователи' users_list = ShopUser.objects.all().order_by('-is_active', '-is_superuser', '-is_staff', 'username') c...
[ "andrey.speransky@gmail.com" ]
andrey.speransky@gmail.com
ab2dd271acd9d5e775479f648fceeef73b690fb5
210e1cffcd8a705c2a8a1485ed5532b9169f5d10
/whoville/cloudbreak/models/security_group_response.py
c3208c1dbfa2e90b7ce3774562626a3d18b27bbe
[ "Apache-2.0" ]
permissive
mikchaos/whoville
2a45bc6636d448733d8d2368ac88a980cf6954ea
6eabaea4b74ac0b632c03db8252590131c6ce63b
refs/heads/master
2020-04-19T08:53:04.430990
2019-01-29T05:01:57
2019-01-29T05:01:57
168,092,002
0
0
Apache-2.0
2019-01-29T05:00:06
2019-01-29T05:00:06
null
UTF-8
Python
false
false
11,025
py
# coding: utf-8 """ Cloudbreak API Cloudbreak is a powerful left surf that breaks over a coral reef, a mile off southwest the island of Tavarua, Fiji. Cloudbreak is a cloud agnostic Hadoop as a Service API. Abstracts the provisioning and ease management and monitoring of on-demand clusters. SequenceIQ's Cloud...
[ "chaffelson@gmail.com" ]
chaffelson@gmail.com
91af10910e07ae524e190b9ebf9a91f72007e792
32150af04590afe11f5c1229faf840e2e8c2a9ab
/Assignments/AS03/Week 5 HMEQ CART.py
b21ea8103f32726716f239ee33861966908b788a
[]
no_license
nsbgit/IIT-S21-CS-484
f595f67dd72e0c0f65f9cbaafe581ab41ea4cab3
1850f0e571d0c72d875baedf87aae3d6943af382
refs/heads/main
2023-05-06T23:26:30.687201
2021-05-31T23:40:22
2021-05-31T23:40:22
332,584,584
2
1
null
null
null
null
UTF-8
Python
false
false
4,725
py
# Load the necessary libraries import matplotlib.pyplot as plt import matplotlib.ticker as mticker import numpy import pandas # Define a function to visualize the percent of a particular target category by a nominal predictor def TargetPercentByNominal ( targetVar, # target variable targetCat, # targ...
[ "nsbgit@users.noreply.github.com" ]
nsbgit@users.noreply.github.com
3676f283e395d049f59998b475e78308256c0321
db0fe327ae984b7a461c02be74c439fe7d41c220
/Question_repo/libs/repo_data.py
47c31cbbfeb20ee14e0a507f5b9489b3cc15dd93
[]
no_license
xingzhe1998/T_QUE
4da80366bc721cc0cd222f7f7fde8331c6df85ee
4c0d39402659b7c8fc448165c784ab125c700b41
refs/heads/master
2020-06-24T16:29:22.652765
2019-07-26T12:55:45
2019-07-26T12:55:45
199,016,012
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
from apps.repo.models import Answers, User, Questions from django.db.models import Count def check_rank(data): return data["id__count"] def user_answer_data(user): # 答题数量及总量 # count=> 计数 answer_num = Answers.objects.filter(user=user).count() question_all = Questions.objects.all().__len__() # 用...
[ "apple@appledeMacBook-Air.local" ]
apple@appledeMacBook-Air.local
8560eab3f2fc20fb2784b79adb1f3d5c9ff9d7c8
d1742451b25705fc128acc245524659628ab3e7d
/Data Structure & Algorithm/Segment Tree/Segment Tree Query.py
2c6201ceabaf2ce509db9d2239a70e8e6527bab1
[]
no_license
Shovon588/Programming
ebab793a3c97aedddfcad5ea06e7e22f5c54a86e
e4922c9138998358eed09a1be7598f9b060c685f
refs/heads/master
2022-12-23T18:29:10.141117
2020-10-04T17:29:32
2020-10-04T17:29:32
256,915,133
1
0
null
null
null
null
UTF-8
Python
false
false
663
py
def func(node,low,high): if low==high: tree[node]=a[low-1] return left=2*node right=(2*node)+1 mid=(low+high)//2 func(left,low,mid) func(right,mid+1,high) tree[node]=tree[left]+tree[right] def query(node,b,e,i,j): if b>=i and e<=j: return tree[node] if...
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
af2538c02b261ca582200a1d3a1e2fe9f4d58da2
8b54951abdc4a8c119b057c5231adf65fdd5a915
/lock_signal.py
fef29effd8931853c5369ee4e80d6ecf89fc05d7
[]
no_license
larago/gevent
0a645fbc97ec1f7f85c6a3a961b82739d1e64c7a
b41360ca8ebf6fbad8463d5128bb7b4bf837a7b9
refs/heads/master
2021-01-11T14:58:55.860636
2017-01-28T09:34:38
2017-01-28T09:34:38
80,270,162
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
# encoding=utf8 from gevent import sleep from gevent.pool import Pool from gevent.lock import BoundedSemaphore sem = BoundedSemaphore(2) def worker1(n): sem.acquire() print 'Worker %s acquired semaphore' % n sleep(0) sem.release() print 'Worker %s releasedd semaphore' % n def worker2(n): wit...
[ "bingeye@foxmail.com" ]
bingeye@foxmail.com
20ec50dbb59c877aabc53633286aa894e4a4907c
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-codecraft/huaweicloudsdkcodecraft/v5/model/register_competition_info_response.py
c351c82d2c877b2af1bf58f524e51d1749af18c2
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,282
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class RegisterCompetitionInfoResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
3043c42d97729db02e9e2dfc1c55597e1cf93c21
80afa26ba73b53f38e3fc21bf395030762fe8981
/200. Number of Islands.py
ae34d2da127bdf85debe74d5795951cefd3b567d
[]
no_license
iamshivamgoswami/Random-DSA-Questions
45b402063dbd2e31da2eee7590b6991aa624637d
e36250d08cf0de59cd0a59b4f3293e55793b1a6f
refs/heads/main
2023-07-15T15:48:36.363321
2021-08-26T03:40:47
2021-08-26T03:40:47
392,702,686
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
class Solution: def numIslands(self, grid: List[List[str]]) -> int: def dfs(i, j): grid[i][j] = "0" for x, y in [(i + 1, j), (i - 1, j), (i, j + 1), (i, j - 1)]: if 0 <= x < len(grid) and 0 <= y < len(grid[0]) and grid[x][y] == "1": dfs(x, y) ...
[ "shivamgoswami12@gmail.com" ]
shivamgoswami12@gmail.com
5e8b05b53016ffca5bed18a5013345269a00b769
7549c5f2e2b8ecc6d8f7ccc8030e005ffdf15018
/modules/python_base/09/9.1.3/finally.py
6c930a0a22b024c92df588cea78ced2a5f4298f0
[]
no_license
gao634209276/myPython
d16bbf53645531e03cd2da4f211e783d0b93f703
40b4e8dcd329c34a73808a51743131d554832ab6
refs/heads/master
2020-06-20T22:21:55.521914
2017-09-01T14:27:31
2017-09-01T14:27:31
74,817,170
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
#!/usr/bin/python # -*- coding: UTF-8 -*- # finally错误的用法 # try: # f = file("hello2.txt", "r") # print "读文件" # except IOError: # 捕获IOError异常 # print "文件不存在" # finally: # 其他异常情况 # f.close() # try...except...finally try: f = open("hello.txt", "r") try: print f.read(5) except: ...
[ "634209276@qq.com" ]
634209276@qq.com
7c49980f44f9b0929a02ad6e53a286947278a7c5
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_167/ch16_2019_03_01_13_58_05_885182.py
74ce338f954775fb384946b2469a654fe753e495
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
def distancia_euclidiana(x1,y1,x2,y2): d= ((x1-x2)+(y1-y2)) ** 1/2 return d
[ "you@example.com" ]
you@example.com
e71dabbd598b0e442f49c9a54a5edd5d114097bf
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_118/ch117_2020_03_31_17_46_06_284632.py
7d0d3bd8c16e279f5555404740242af0f74d1a9b
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
import math def snell_descartes(n1,n2,o1): o2=math.asin((n1*math.sin(math.radians(t1)))/n2) return o2
[ "you@example.com" ]
you@example.com
e7545cd95e31563f8e17fbe8a574b2b3b02f8418
7dfabdddeb5b8f1628e445cdb6d536958c8bc85b
/pcdet/models/backbones_3d/spconv_unet_fpn_nom.py
58ecf873afd22147eaecebc11a861dc296d6efa2
[ "Apache-2.0" ]
permissive
vehxianfish/SRDAN_Open
d6ba16ebc201c9651fac16bc30f57dc3a740041f
47c1bd9d2369d8e486b18a7aea220af7324c9011
refs/heads/master
2023-08-15T10:36:56.483018
2021-09-25T03:35:53
2021-09-25T03:35:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,243
py
from functools import partial import spconv import torch import torch.nn as nn from ...utils import common_utils from .spconv_backbone import post_act_block class SparseBasicBlock(spconv.SparseModule): expansion = 1 def __init__(self, inplanes, planes, stride=1, downsample=None, indice_key=None, norm_fn=No...
[ "zhangweichen2006@gmail.com" ]
zhangweichen2006@gmail.com
535ad5ea0cc874c6d7e51ccadc8482f2f6343596
2309fbe9f9b86685f533706e6877ac3cfae99632
/tests/src/Regression_Testing/Test_Scripts/Click_on_TAR.py
099c02daa09fc1944c2154963b58662a39772477
[ "MIT" ]
permissive
komathi1607/cQube
909a8834608ce19989347863be538022bfaacd84
6cc629a600075a1e5332f84f8ffa940a3eebfcd0
refs/heads/master
2022-11-15T07:46:19.314371
2020-06-05T00:55:17
2020-06-05T00:55:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
import time import unittest from selenium import webdriver from Data.parameters import Data from TS.reuse_func import cqube from get_dir import pwd class test_TAR(unittest.TestCase): def setUp(self): driver_path = pwd() self.driver = webdriver.Chrome(executable_path=driver_path.get_driver_path()...
[ "laxmikanth.vattamvar@tibilsolutions.com" ]
laxmikanth.vattamvar@tibilsolutions.com
81ed140b023ae1c2e0ee981bb65a3c175e059052
3356ecffb180dd617a8ded3bca89a067122e9d65
/lab1/task_7.py
0c781a6c6f9d656ecab036074ee523467f7bbfbe
[]
no_license
python-practice-b02-927/TodorovRV
bae93783b15e6e0397c7dfae018dfac58b719a03
d6765f8b65ae88b2d0ca021340ff1848d4b3605a
refs/heads/master
2020-07-22T20:18:45.296515
2019-11-19T11:46:03
2019-11-19T11:46:03
207,315,122
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
#!/usr/bin/python3 from pyrob.api import * @task def task_5_4(): while not wall_is_beneath(): move_down() while wall_is_beneath(): move_right() move_down() move_left() while wall_is_above() and (not wall_is_on_the_left()): move_left() if __name__ == '__main__': run_tasks()
[ "noreply@github.com" ]
python-practice-b02-927.noreply@github.com
38613ed23f71373e77774283f60636d3ef9b8b70
e87c04d6c2bbba383f9c75620b16f02358039ab5
/200826프로/Re최소비용구하기_G5.py
d8fd01ea1428cd215e57f2eb2c491840f6e2f32f
[]
no_license
yoonwoo123/Algorithm
2bf6e103009572cbcf3abfd783f6c28762529340
5d1e76f1bf6c2fc6acb25dc5296d62b2ca453ec6
refs/heads/master
2022-06-18T14:06:06.248906
2022-05-29T10:41:15
2022-05-29T10:41:15
221,483,283
0
0
null
null
null
null
UTF-8
Python
false
false
1,240
py
# 0628백준 못풀었던 최소비용구하기 재도전 import sys, heapq sys.stdin = open("최소비용_input.txt") input = sys.stdin.readline def dijkstra(graph, start, end): distances = {node : float('inf') for node in graph} distances[start] = 0 queue = [] heapq.heappush(queue, [distances[start], start]) while queue: cur...
[ "lkkjasd@korea.ac.kr" ]
lkkjasd@korea.ac.kr
39c80ed7609de255a1d4095a62be36b57429a380
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/XjgoXNmnz59txiQp3_20.py
5a5eb8ffec5c428b019e2cbaa644d2f512144599
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
def split(number): if (number < 5): return number rem = number % 3 div3 = number//3 if (rem == 2): return 3 ** (div3) * 2 return 3 ** (div3-1) * (3 + rem)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
86e9fa6a8c3ed0a7e6035870f5d3efbab277cffc
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_35/202.py
85cf40d5f4d6c4e8f2519c5092793cfc5a85d792
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
#!/usr/bin/python MAX_ALT = 11000 def is_valid_index(i, j, alts): return i >= 0 and j >= 0 and i < len(alts) and j < len(alts[i]) def find_flow_dir(i, j, alts): dirs = [(alts[i][j], (i, j)), (alts[i - 1][j] if is_valid_index(i - 1, j, alts) else MAX_ALT, (i - 1, j)), (alts[i][j - 1] if is_val...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
c891b8067ded9d4dbe6bf8eef18d752dd94634f4
78137d5e4e688749399bbb386b26536e4ac6d9fa
/pytorch3d/renderer/camera_conversions.py
9fb73e5fcc8140e159b9f0ae21645212077e7ee4
[ "MIT", "BSD-3-Clause" ]
permissive
bruinxiong/pytorch3d
4235681c6356f7e69fa506d8474a3c7cf83d9fe6
18a3c5cbb9055bcda44590d39db65bb0c74db799
refs/heads/master
2022-06-18T16:28:39.589229
2022-05-18T20:11:36
2022-05-18T20:11:36
238,892,798
0
0
NOASSERTION
2022-05-18T20:11:37
2020-02-07T10:04:39
Python
UTF-8
Python
false
false
6,893
py
# Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import logging from typing import Tuple import torch from ..transforms import matrix_to_rotation_6d from .cam...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
24a344875f69d03d0e0a3a6a855fce30a6b147d7
6b0f007ca1d3426c71b2298adac853ddce996b49
/Schoolwebsite/schoolapp/migrations/0030_auto_20201223_1852.py
ff5d81f44974039c5d2f45fb26b161bd10c597f6
[]
no_license
AbdurRahman111/Full_School_Management_System
49b37e8615b94bc20aeabc3ef41e468cf2dd9b47
0508fa6ba7b529429c4dae2feeb19a991547457e
refs/heads/master
2023-02-27T04:24:13.272126
2021-02-05T16:17:44
2021-02-05T16:17:44
336,323,426
0
0
null
null
null
null
UTF-8
Python
false
false
2,037
py
# Generated by Django 3.1.4 on 2020-12-23 12:52 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('schoolapp', '0029_auto_20201223_1031'), ] operations = [ migrations.AlterField( ...
[ "mdabdurrahmanchowdhury1122@gmail.com" ]
mdabdurrahmanchowdhury1122@gmail.com
b6c3ca36933ac9dc94c8c51052fd4e4dc4c105c6
d35167f7ab29813d926bd702fa652090556befdf
/generated/test_frotms_PaddleOCR2Pytorch.py
9d914b969c0b5beed4af3cacfde687594af223c5
[]
no_license
jansel/pytorch-jit-paritybench
65e5311d43daf5065beac52a68488ce188199fa8
7e55a422588c1d1e00f35a3d3a3ff896cce59e18
refs/heads/master
2023-08-12T04:43:16.669114
2023-06-08T17:36:32
2023-06-08T17:36:32
270,464,378
35
15
null
2023-06-08T17:36:34
2020-06-07T23:42:50
Python
UTF-8
Python
false
false
313,216
py
import sys _module = sys.modules[__name__] del sys main = _module generate_multi_language_configs = _module ch_ppocr_v2_det_converter = _module ch_ppocr_v2_rec_converter = _module ch_ppocr_v3_det_converter = _module ch_ppocr_v3_rec_converter = _module ch_ppocr_v3_rec_converter_nodistill = _module det_converter = _modul...
[ "ybliang8@gmail.com" ]
ybliang8@gmail.com
62fdac76001172e852e91825b8e6245b3d0c843a
69d2627942a554d6914ba05de097a290fed66bad
/vb2py/targets/pythoncard/vbcontrols/vbtextfield.py
c37d1f300778de7e1e6b1ae23f4e6f2c677da7be
[ "BSD-3-Clause" ]
permissive
rayzamgh/sumurProjection
0fcef39cc75e620057b012f1bd35cae1c49a5554
847ce71e85093ea5ee668ec61dbfba760ffa6bbd
refs/heads/master
2020-07-23T23:33:26.621550
2019-12-22T05:31:24
2019-12-22T05:31:24
207,738,494
1
0
null
2019-10-28T16:00:07
2019-09-11T06:23:43
Python
UTF-8
Python
false
false
831
py
from vb2py.targets.pythoncard.controlclasses import VBWrapped, VBWidget from vb2py.targets.pythoncard import Register import vb2py.logger log = vb2py.logger.getLogger("VBTextField") from PythonCard.components import textfield import wx import sys from PythonCard import event, registry, widget class VBTextField(VBWid...
[ "rayzaganteng@gmail.com" ]
rayzaganteng@gmail.com
1951975481074fd5d822438ba56fe73946a2f7b6
c0baa78917da5bf81cd04758b127a8d3c5d27da6
/vize/160401025/client/client.py
c993aad9b32dc6e608e41e9816a5ed83282d47a3
[ "Unlicense" ]
permissive
nyucel/blm304
9e3049e2743e2e9055e8e067724a966e82579d07
e23f28674229470b5f110ea37428f9c1ca13ac51
refs/heads/master
2022-11-07T12:36:12.620417
2020-06-27T11:09:59
2020-06-27T11:09:59
259,326,143
14
207
Unlicense
2020-06-27T11:10:00
2020-04-27T13:14:48
Python
UTF-8
Python
false
false
4,818
py
# -*- coding: utf-8 -*- """ @author: Halil İbrahim Koç """ import socket import time import os import sys port=42 buffer=4096 if len(sys.argv) != 2: print("Host bilgisi girilmelidir.") sys.exit() try: socket.gethostbyname(sys.argv[1]) except socket.error: print("Host bilgisi ...
[ "noreply@github.com" ]
nyucel.noreply@github.com
eac3e5d6c2b6049b58d419a252bf24a4d5f309b5
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/opcodes/cases/test_set_size_149.py
2290405a5f8b27eb8d84dfab529207a21fb3edd7
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
829
py
from unittest import TestCase from tests import abspath from pytezos.repl.interpreter import Interpreter from pytezos.michelson.converter import michelson_to_micheline from pytezos.repl.parser import parse_expression class OpcodeTestset_size_149(TestCase): def setUp(self): self.maxDiff = None s...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
98d68f537c4a3515d10e239146c0345ecd931861
7ae0efc9798b7c9fa720022ed5d763d6ab27cd13
/python/paddle/fluid/tests/unittests/asp/test_asp_utils.py
4aac878763b6f6f7cab09ca5cdc3cfeab0f49d6d
[ "Apache-2.0" ]
permissive
ceci3/Paddle
e1d0b56a1bb1de9a0d26977868795f86e2c0580b
e4d475eabd83e7a6fa1e88c64c28747450f87d66
refs/heads/develop
2023-08-03T03:43:35.139011
2022-02-08T11:36:07
2022-02-08T11:36:07
171,274,803
0
3
Apache-2.0
2021-08-24T07:14:24
2019-02-18T11:49:16
C++
UTF-8
Python
false
false
9,706
py
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. # Copyright (c) 2021 NVIDIA Corporation. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
[ "noreply@github.com" ]
ceci3.noreply@github.com
2cb15c7e19657fdd48dace6e7f42e043d7826183
264d31fb1af03024c4e0a6530aa059ac59a71365
/model_pruning/python/pruning.py
8f2d111b2de54ec2a597c0cf471315b37f34b5b5
[ "Apache-2.0" ]
permissive
adarob/google-research
b5cf7d329635080f0f911213e916454f7598a762
b6ec492d289969dd1440553eb56f77b2474b90c7
refs/heads/master
2021-01-03T01:58:33.983703
2020-02-11T19:05:14
2020-02-11T19:15:42
239,868,678
0
1
Apache-2.0
2020-02-11T21:31:39
2020-02-11T21:31:38
null
UTF-8
Python
false
false
37,469
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
46ae0f16489d49d88a5abf519a6add085e10a25d
36959b56e506dbbe2d3c381cdccfe16965c14d24
/Django/alms/leave/models.py
020e39c03be6ec8eadabbc804613a01e862b778e
[]
no_license
Sathishkumar-M/Django
e2935fe0c69acb4cb39be2bc0504fd3d5619d002
e54038ef70295274639b6207efe8e7e3939cbe36
refs/heads/master
2020-03-21T20:22:48.684770
2018-06-28T10:42:51
2018-06-28T10:42:51
139,003,364
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
from django.db import models from django.contrib.auth.models import User from django.utils import timezone import datetime # Create your models here. class LeaveRules(models.Model): leave_type = models.CharField(max_length=256,blank=False) leave_rules = models.TextField(blank=True,default='') created_date =...
[ "sathishkumar.appiness@gmail.com" ]
sathishkumar.appiness@gmail.com
c95ef593fefb765b7876720245730eeb8f614d53
89155ebee895cbd04e4eb7a9d079a820d90ffd7e
/viewset_modelviewset_application/app/migrations/0004_auto_20210122_0531.py
7d4d27a8ea437a57f34a859481d6f08daaf624ca
[]
no_license
mahmudgithub/Rest-api-playground
822c0671b534fc057461703711ef980d9d31ce56
a452a329d60c9104afdeadde13f7493741e4914a
refs/heads/master
2023-03-31T17:23:13.605754
2021-04-11T14:10:31
2021-04-11T14:10:31
331,842,045
1
0
null
null
null
null
UTF-8
Python
false
false
368
py
# Generated by Django 3.1.4 on 2021-01-22 13:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0003_one_city'), ] operations = [ migrations.AlterField( model_name='one', name='city', field=mod...
[ "mahmudhossain838@gmail.com" ]
mahmudhossain838@gmail.com
28cce25feb029f8c2e58daa7e26b3c7c31e89446
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544841/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_165/run_cfg.py
4b626943fbef786d0d255b19f5fe1f78243bbfcc
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544841/HTT_24Jul_newTES_manzoni_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
849e4f1ba87609eb8511f0ba7b7db5d349078f29
8b44c7f5f9c2264fd5bfe91ea324fdbd53813413
/algorithms/DQN/train_DQN.py
0d2c4954ac20e0ad3bed569e5108a376d106f5d8
[ "MIT" ]
permissive
syd951186545/reinforce_py
ee33a63d6c8c94c3318877460a49470ef7788036
46769da50aea65346cd3a300b55306d25f1f2683
refs/heads/master
2020-05-14T13:54:32.067888
2018-06-08T14:43:45
2018-06-08T14:43:45
181,823,264
1
0
MIT
2019-04-17T05:31:04
2019-04-17T05:31:00
Python
UTF-8
Python
false
false
5,083
py
from __future__ import print_function from __future__ import division import os import argparse import gym import tensorflow as tf import numpy as np import matplotlib.pyplot as plt from agent import DQN def main(args): set_random_seed(args.seed) env = gym.make('CartPole-v0') agent = DQN(env, args) ...
[ "badbobobo@gmail.com" ]
badbobobo@gmail.com
26dd0cdf3db785f86670a75ed04fad31e9b09252
8202512dc4fef386dc927fa60c22596e149fb6f0
/venv/bin/gunicorn
0092995224d9586509475559b4ecc8a8608582ec
[]
no_license
dimoka777/tv
6e8d6e754383a897588ddd203e0670650c22245e
8159cb76c695802efb4a30ecc2cc5a71960a23c0
refs/heads/master
2020-06-19T05:18:59.333318
2019-07-13T15:19:50
2019-07-13T15:19:50
196,577,844
0
0
null
null
null
null
UTF-8
Python
false
false
242
#!/home/dimoka/Django/tv/venv/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.wsgiapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "dimokavip777@gmail.com" ]
dimokavip777@gmail.com
e278ef7ff6ed2f42a6e7361f4d93862a94eec361
6c96601d64a02c4050410c5e45efa6e1bd8253f6
/wikked/web.py
c300577283de746aa268b31b14b5208e90308176
[ "Apache-2.0" ]
permissive
ludovicchabant/Wikked
7c0627f513f5ccbe052484dcb1ae89336e552cf4
02ec3c0361ac90b0366e7a90f8928a54d40616b5
refs/heads/master
2022-12-03T08:12:08.621371
2019-03-09T07:41:40
2019-03-09T07:41:40
15,740,703
17
0
Apache-2.0
2022-12-03T01:25:58
2014-01-08T16:17:33
Python
UTF-8
Python
false
false
7,577
py
import os import os.path import logging import urllib.parse from werkzeug import SharedDataMiddleware from flask import Flask, abort, g from wikked.wiki import Wiki, WikiParameters # Create the main app. static_folder = os.path.join(os.path.dirname(__file__), 'static') app = Flask( 'wikked', static_fo...
[ "ludovic@chabant.com" ]
ludovic@chabant.com
656e3ca9877621760222278ef164bbd08c56b93f
a870e1db82fbf8f57b9d5fb4ebdc5f205df1a063
/web/settings_local.py
5c9f3553952426e2191ef7bf823ec68d679890c2
[]
no_license
mireq/django-frontend-template
36692d705dd84513e1389379219bdb619c9d1f8a
9f3bd4e3e9374deb77586374a6ed62f6e6ccb316
refs/heads/master
2023-08-16T19:23:09.761808
2023-08-13T04:12:38
2023-08-13T04:12:38
50,784,205
0
1
null
2023-08-13T04:12:40
2016-01-31T16:44:42
Python
UTF-8
Python
false
false
167
py
# pylint: disable=wildcard-import,unused-wildcard-import from .settings import * COMPRESS_POSTCSS_BINARY = 'postcss' # path to postcss binary ALLOWED_HOSTS = ['*']
[ "miroslav.bendik@gmail.com" ]
miroslav.bendik@gmail.com
246f7edf8f9ea743330f9bfaca9cbe94bdb63b24
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-securitycenter/samples/generated_samples/securitycenter_v1p1beta1_generated_security_center_create_notification_config_sync.py
55d2d4595a454c01a04b080a669795c6d806194c
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
2,015
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
1375c8329253029ffd84e0e0fcc00fa5367fdf5d
480e33f95eec2e471c563d4c0661784c92396368
/GeneratorInterface/PomwigInterface/python/POMWIG_SingleDiffractiveMinusWmunu_10TeV_cff.py
b86f148ed4e8c4c5f1a7b01056222a8797b3ed6e
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
1,323
py
import FWCore.ParameterSet.Config as cms herwig6Parameters = cms.PSet( comEnergy = cms.double(10000.0), useJimmy = cms.bool(False), doMPInteraction = cms.bool(False), herwigHepMCVerbosity = cms.untracked.bool(False), herwigVerbosity = cms.untracked.int32(1), printCards = cms.untracked.bool(True), maxEventsToPr...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
f27b89cf6bda2b7d42a99756ab87727eb21adda5
76c40ae54b4985cdb0b4692106795ded8115da42
/train_cross_domain.py
78924d5ad3718d7470998843a2f82cac444aec26
[]
no_license
leosampaio/keras-generative
1b23ea6b18af8c09bdf08c30dc6a0428c06eb385
ffafbae19d24c0ce7e812f610c4754a343400a9e
refs/heads/master
2021-05-09T09:04:43.636608
2018-11-21T17:26:28
2018-11-21T17:26:28
119,418,618
1
1
null
2018-01-29T17:48:49
2018-01-29T17:48:49
null
UTF-8
Python
false
false
4,264
py
import os import sys import math import argparse from keras import backend as K import numpy as np from sklearn.preprocessing import LabelBinarizer os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import matplotlib matplotlib.use('Agg') from models import models from datasets import load_dataset def main(): # Parsing...
[ "leo.sampaio.ferraz.ribeiro@gmail.com" ]
leo.sampaio.ferraz.ribeiro@gmail.com
04b1d77dab59666059f65cc7262e758d96a4570f
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/PYTHON_PRAC/python-mega-algo/conversions/hexadecimal_to_decimal.py
beb1c2c3ded67ee5fca164a33d6462fa7c495ebb
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
1,509
py
hex_table = {hex(i)[2:]: i for i in range(16)} # Use [:2] to strip off the leading '0x' def hex_to_decimal(hex_string: str) -> int: """ Convert a hexadecimal value to its decimal equivalent #https://www.programiz.com/python-programming/methods/built-in/hex >>> hex_to_decimal("a") 10 >>> hex_...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
f69c7a91af50182b1bf902e53170333407c5b9b3
d145eb9a03200855caddbf53da53ee092386f93f
/python/etcd/test4.py
40b212bbfbc7814103a5054b2c71eebf234395df
[]
no_license
oberstet/scratchbox
0ecb44df40664526c4eab6dae69837735e8cf7fe
87ac59b98782c70888df24b633f890e3305e7c8c
refs/heads/master
2022-11-08T03:36:36.108804
2022-10-22T09:52:20
2022-10-22T09:52:20
3,698,059
26
8
null
null
null
null
UTF-8
Python
false
false
1,843
py
from twisted.internet.task import react from twisted.internet.defer import inlineCallbacks from autobahn.twisted.util import sleep import etcd import txaio @inlineCallbacks def main(reactor): # a Twisted etcd client client = etcd.Client(reactor, u'http://localhost:2379') # get etcd status status =...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
769f7cb542a82ef942a57683d24a36f3ba41cbc1
0be644ba0208b1f9f93018f74580fd5047618a3b
/src/industries/power_plant.py
aa022bf8d0e6cd3ab277a822db436cfdd9905568
[]
no_license
ebla71/XIS
1ba48f019c063132b561d8c2e469634349b96aae
9f96b8f210b91da29ce0d3b34e896f629fc7dede
refs/heads/main
2023-08-22T11:45:22.723296
2021-10-05T09:11:11
2021-10-05T09:11:11
355,645,289
0
0
null
2021-09-25T21:51:01
2021-04-07T18:29:02
Python
UTF-8
Python
false
false
4,892
py
from industry import IndustryTertiary, TileLocationChecks industry = IndustryTertiary(id='power_plant', accept_cargo_types=['COAL', 'PETR', 'PEAT'], prod_cargo_types=[], prob_in_game='3', prob_random='5', ...
[ "jake.dander@gmail.com" ]
jake.dander@gmail.com
13d0d57dd8b47b5a6e7bcc2d381ee1431205e156
84e13b07d2c1c2ee9bc670bbc78a677358f4713d
/0x07-python-test_driven_development/4-print_square.py
6541eb37b96a7ee8c04013627e37407eb14cc943
[]
no_license
thegermanblob/holbertonschool-higher_level_programming
b3ad5da5e120df1bced24313af50e2399f43a75c
f1b91a6cc1b9c3dd51dbcf83e61f0a084253c0be
refs/heads/main
2023-09-05T09:00:56.464406
2021-11-22T14:58:37
2021-11-22T14:58:37
361,759,191
1
0
null
null
null
null
UTF-8
Python
false
false
461
py
#!/usr/bin/python3 """ Module that contains square """ def print_square(size): """ Function that prints a square and validates size """ if type(size) is not int: raise TypeError("size must be an integer") if size < 0: raise ValueError("size must be >= 0") if size == 0: print(...
[ "thegermanblob@gmail.com" ]
thegermanblob@gmail.com
0264140fed967a1644148682d47d81f3fd7b0d4b
89a015d681c109801be843492dbbc76349fc8d24
/setup.py
4c5c6668172d3ad63eafbd7fcb7660ae259bb009
[ "MIT" ]
permissive
chmouel/tekton-neat
2d4eba1116f98aed1334bb9768514200ce6c71fd
8714a0e673a7eb4c5670f4acbb61701719423cdd
refs/heads/main
2023-01-06T03:46:37.275733
2020-11-06T10:43:09
2020-11-06T10:43:09
310,533,512
4
2
MIT
2020-11-06T10:37:46
2020-11-06T08:15:15
Python
UTF-8
Python
false
false
1,515
py
#!/usr/bin/env python """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [] setup_requirements = ['pyyaml'] test_requirements = [ ...
[ "chmouel@chmouel.com" ]
chmouel@chmouel.com
695d6603fe971ba90553ceab15ef9984279b0050
56ce2972848c1cb293bd7b5347ad377092ac2c78
/pythonx/cm_core.py
efa3686399c5deab80d53c35cc8b569df5fa6241
[ "MIT" ]
permissive
Ron89/nvim-completion-manager
a01c0be520d195fb9406af7f50cc7ef20f261665
7b40275c2a26ed966a74613e93dbe72eab500115
refs/heads/master
2021-01-22T05:50:24.808823
2017-02-12T07:30:56
2017-02-12T07:30:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,393
py
# -*- coding: utf-8 -*- # For debugging # NVIM_PYTHON_LOG_FILE=nvim.log NVIM_PYTHON_LOG_LEVEL=INFO nvim import os import sys import re import logging import copy import importlib import threading from threading import Thread, RLock import urllib import json from neovim import attach, setup_logging from http.server im...
[ "l" ]
l
fe4d5bc55a87020fa99d3ab6ac248746bcac93f7
ad9bd58a3ec8fa08dfcc994d4101ee815a9f5bc0
/02_algorithm/baekjoon/all_problem/1967.py
7869d00865f64f47645925bb25b3fd2d27997977
[]
no_license
wally-wally/TIL
93fc1d0e3bc7d030341ed54155294c68c48b4c7d
936783bc86f563646c0398c24e2fcaa707f0ed23
refs/heads/master
2023-04-28T08:59:48.235747
2023-04-12T12:06:52
2023-04-12T12:06:52
195,918,111
40
7
null
2020-09-29T16:20:46
2019-07-09T02:31:02
Python
UTF-8
Python
false
false
1,243
py
import sys sys.stdin = open('input_1967.txt', 'r') from collections import deque def find_farthest_vertex(start_node): distance, farthest_vertex = 0, start_node dq = deque() dq.append((start_node, 0)) visited = [False for _ in range(n + 1)] visited[start_node] = True while dq: pop_node...
[ "wallys0213@gmail.com" ]
wallys0213@gmail.com
e28df1d439e040246ab819554cc779df88495db5
b13b603bf8f07da1100b7fcb2e505f9c389e5764
/level2/구명보트.py
b2937d51318cf687b8b938b9224531f55a5bf9f3
[]
no_license
123qpq/programers
3a499646f65bed9f15b0db3e66d7445536579942
970b62210f6c29ea0d13bd381fb1e0a9b997143f
refs/heads/main
2023-06-20T12:00:10.681082
2021-07-20T04:36:46
2021-07-20T04:36:46
322,791,861
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from collections import deque def solution(people, limit): boats = 0 people.sort() people = deque(people) while people: boats += 1 if len(people) == 1: break if people[0] + people[-1] <= limit: people.popleft() people.pop() else: ...
[ "45002168+123qpq@users.noreply.github.com" ]
45002168+123qpq@users.noreply.github.com
594ba8fc903636d753d54513ba19fe91419f506c
6502929152acc82097c6bb9fa9b211a30b23b6c0
/2_anomaly_detection_nyc.py
446aea1c4757dddf1487d6ef315105b8176e12b4
[ "Apache-2.0" ]
permissive
lulzzz/RNN-Time-series-Anomaly-Detection
ceec98a902b3504224834c03a22e7e7673f11470
194a20100749bae0f18b7a9681055b92f892c7e9
refs/heads/master
2020-03-10T03:37:45.860990
2018-04-11T01:38:42
2018-04-11T01:38:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,349
py
import argparse import torch import torch.nn as nn from torch.autograd import Variable import preprocess_data from model import model from torch import optim from matplotlib import pyplot as plt import numpy as np from anomalyDetector import fit_norm_distribution_param from anomalyDetector import anomalyScore from skle...
[ "jmpark@rit.kaist.ac.kr" ]
jmpark@rit.kaist.ac.kr
252b8ee31d1bd50da52453b3ffc3d15607759ff3
e8bf00dba3e81081adb37f53a0192bb0ea2ca309
/domains/nav/problems/auto/problem1083_SD.py
44761016946ddef7cbb4c415a70a66f745d3cab7
[ "BSD-3-Clause" ]
permissive
patras91/rae_release
1e6585ee34fe7dbb117b084df982ca8a8aed6795
0e5faffb7eb732fdb8e3bbf2c6d2f2cbd520aa30
refs/heads/master
2023-07-13T20:09:41.762982
2021-08-11T17:02:58
2021-08-11T17:02:58
394,797,515
2
1
null
null
null
null
UTF-8
Python
false
false
1,135
py
__author__ = 'patras' from domain_springDoor import * from timer import DURATION from state import state, rv DURATION.TIME = { 'unlatch1': 5, 'unlatch2': 5, 'holdDoor': 2, 'passDoor': 3, 'releaseDoor': 2, 'closeDoors': 3, 'move': 7, 'take': 2, 'put': 2, } DURATION.COUNTER = { ...
[ "patras@umd.edu" ]
patras@umd.edu
0b0c4aff2067846b9dd29a167bd9b9af5c1b88d7
aa6985deb43e26732899d06ee39fd6cb4befc2ae
/strongmotionfetch/retriever.py
78bb5088fde03bef4274155037a08d13e372b0ae
[ "LicenseRef-scancode-public-domain-disclaimer" ]
permissive
jnf0910/strongmotionfetch
2592396183a651799b3ae3a33c77a2b25128d85d
c9e6f30797e6893bf60506b24096c52537a0110b
refs/heads/master
2020-12-25T09:28:53.617747
2016-06-23T20:48:39
2016-06-23T20:48:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
class Retriever(object): def __init__(self,rawfolder,inputfolder): self._inputfolder = inputfolder self._rawfolder = rawfolder def getData(self,time,lat,lon,timewindow,radius): self.fetch(time,lat,lon,timewindow,radius) #find files online, download to raw folder traces = self.re...
[ "mhearne@usgs.gov" ]
mhearne@usgs.gov
b76c818f8bfb550baeb076a2434b1a8e483f19e2
36b388d25580e60068da2d6cab88d94f90959749
/lib/datasets/SearchDatasetWrap.py
f7925b3c9235992b325687ea7c761c732570e971
[ "MIT" ]
permissive
z-x-yang/NAS-Projects
4b733b381e325819f958d9af684267b9d4f7fac8
54ecec7f750e11077b2ecc60ddcd74ce417434ac
refs/heads/master
2020-09-08T14:45:13.712958
2019-11-09T16:04:05
2019-11-09T16:04:05
221,163,104
3
0
MIT
2019-11-12T08:05:37
2019-11-12T08:05:34
null
UTF-8
Python
false
false
1,186
py
import torch, copy, random import torch.utils.data as data class SearchDataset(data.Dataset): def __init__(self, name, data, train_split, valid_split, check=True): self.datasetname = name self.data = data self.train_split = train_split.copy() self.valid_split = valid_split.copy() if chec...
[ "280835372@qq.com" ]
280835372@qq.com
c6269ba6d485726a565012d1258590f2aa850778
1e4eefff1c19ffb81016ce99f2284fb657293f65
/sorting/test/insertion_sort.py
0bc84a94a6f9223c9f3bc60740800fc4d84f4a58
[]
no_license
Solero93/bcn-algorithm-club-py
5e1edf15f087e0edf2cf7ba0859fb5e4523525ad
1edf407498756e7ba36534387bb4241b8b455c4f
refs/heads/master
2020-03-28T09:06:30.328130
2019-03-25T10:38:48
2019-03-25T10:38:48
148,014,386
3
1
null
null
null
null
UTF-8
Python
false
false
340
py
from unittest import TestCase from src.insertion_sort import insertion_sort from test.fixtures import test_cases class BuiltInSortTest(TestCase): def test_sort(self): for case in test_cases: self.assertEqual(insertion_sort(case), sorted(case), msg=f'{case} should ...
[ "solero93@gmail.com" ]
solero93@gmail.com
00610e1274a588c4ba24de9621ed3e9c8cb3f68e
781e2692049e87a4256320c76e82a19be257a05d
/assignments/python/wc/src/99.py
126258ad6d501e7e292a6de1f96af9a0b43e54a6
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
169
py
def word_count(input): counts = {} for word in input.split(): if not word in counts: counts[word] = 1 else: counts[word] = counts[word] + 1 return counts
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
1a4b29df1d245f93801fe603eb728d890f2ba45e
adc6d8ee596e4710c3241332758bb6990bdd8914
/Trabajo de grado_final/Anexos/Codigos/test_todoRE.py
b3e6bc0cdb7029307a37568546836197b0bdb655
[]
no_license
NatalyTinoco/Trabajo-de-grado_Artefactos
cf9491c47a8a23ce5bab7c52498093a61319f834
5cc4e009f94c871c7ed0d820eb113398ac66ec2f
refs/heads/master
2022-03-20T00:51:48.420253
2019-11-24T19:10:40
2019-11-24T19:10:40
197,964,659
1
0
null
null
null
null
UTF-8
Python
false
false
2,752
py
# -*- coding: utf-8 -*- """ Created on Sat Oct 5 12:53:35 2019 @author: Daniela y Nataly Descripción del código: Código donde se une toda la metodología para identificación de Reflejos especulares (mRE). *Entrada: imagePath1(ruta de la imagen) *Salida: predic (predicción del clasificador (1-RE y 0-OTROS)), origina...
[ "51056570+NatalyTinoco@users.noreply.github.com" ]
51056570+NatalyTinoco@users.noreply.github.com
ddd21339f6ece5a9cfaea4ecafc2c753eb9eee93
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/Adaptiv XVA/FPythonCode/HedgingCostHooksTemplate.py
9674f7e8d046ad05bf4c5c7fab47c7b123fe95f4
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,164
py
""" Compiled: 2020-09-18 10:38:50 """ #__src_file__ = "extensions/cva/adaptiv_xva/./etc/HedgingCostHooksTemplate.py" '''--------------------------------------------------------------------- All functions in HedgingCostHooksTemplate can be overridden in a HedgingCostHooks module. To do so, create a module called Hedgi...
[ "81222178+nenchoabsa@users.noreply.github.com" ]
81222178+nenchoabsa@users.noreply.github.com
581247815b035fa94285115f1360f3627bd39e61
c012d16bbb77853bc39973d920da94b70000dc01
/Admins/migrations/0001_initial.py
bcd34f16091d2c29f5fe1ceda6ea5f1c88c388ed
[]
no_license
OverLoadedBurden/Dynamiet
68c7e88d900581bdd53f1e51756c14db65359fd2
1988bbeeb73c313cf07c750fba5adb7739445012
refs/heads/master
2020-11-25T01:20:34.645831
2020-03-14T01:17:57
2020-03-14T01:17:57
228,428,056
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
# Generated by Django 2.2.5 on 2020-02-14 21:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('name', models.CharField(m...
[ "overloadedburden@gmail.com" ]
overloadedburden@gmail.com
5c21b8c69f06a8ed02e60a08f8978ace23ae7480
69abeb93aba9f9d978b522a027c502a8ea9f4f65
/manage.py
cd9a179107b2400db6cf790a5fc655bfe5ab9fa3
[]
no_license
pengra/library
36d32160a85830db864effe9f1233761e6284048
35ba6de62ac8598ca26d7977fb0613c2b6781a09
refs/heads/master
2020-03-29T13:14:04.272936
2019-02-13T23:19:33
2019-02-13T23:19:33
149,947,390
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "labwatch.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "npengra317@gmail.com" ]
npengra317@gmail.com
5003d8457a1f911eeb54d2ad10a3f8b5cdc99dc4
fdab4771b4956bac64727a8d67a8b769c296b7af
/manage.py
e0e7b902cb8d8c23cc67744c5abc554a8bc16c67
[ "MIT" ]
permissive
darkdrei/Inventario
17e5dae215fa7b2e8d8aff8cc2cf37011c67fc03
dc2dcc830be5a49ba602c242d8c7d5d9c24c7b5c
refs/heads/master
2020-09-20T05:20:36.557735
2017-11-27T20:45:25
2017-11-27T20:45:25
94,501,187
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "inv.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "darkdrei88@gmail.com" ]
darkdrei88@gmail.com
c9dc89b118798fc71c4cb566d283176f2deeaf07
23382d130e2a020ac90d7b88ab045b34f7719565
/setup.py
e14c95a9495bc2105d2b1bc69d26a302ae7755d6
[ "MIT" ]
permissive
dunossauro/sfp
f2967f519017e9c9a8f95ff6dccd09293775c72a
944e78ff453aba692ed5b6a3cf7855093d6e987a
refs/heads/master
2021-04-06T13:03:18.403904
2018-06-22T17:16:44
2018-06-22T17:16:44
124,821,555
4
2
MIT
2018-07-10T21:32:27
2018-03-12T02:16:11
Python
UTF-8
Python
false
false
314
py
from setuptools import setup setup(name='sfp', version='0.0.1', description='Simple Functional programming', url='https://github.com/z4r4tu5tr4/sfp', author='Eduardo Mendes', author_email='mendesxeduardo@gmail.com', license='MIT', packages=['sfp'], zip_safe=False)
[ "mendesxeduardo@gmail.com" ]
mendesxeduardo@gmail.com
5f975472428eedee10faaba92c1b0d561dcc4e86
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/PhysicsTools/PatAlgos/python/selectionLayer1/electronCountFilter_cfi.py
80af141c59547eefb55cd53baaca26468ed67b02
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
262
py
import FWCore.ParameterSet.Config as cms # module to filter on the number of Electrons countPatElectrons = cms.EDFilter("PATCandViewCountFilter", minNumber = cms.uint32(0), maxNumber = cms.uint32(999999), src = cms.InputTag("cleanPatElectrons") )
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
901a4aed1e3a9151da4ec4c0e44368812347fc74
bdde5ee603138399475ef42eeca67701f0d910ae
/mycoplasma_home/views/pagelets/public/HomePagelet.py
cfb042b9323db49d62695f1ed3c8d37cf7719204
[]
no_license
idoerg/MyDIG
63c19f980df8246a4a0b1c4e93fdd28bf69b97e9
88cc8f24a5d4b248dff1aafb54713e44537c611f
refs/heads/master
2021-01-10T20:38:46.336870
2012-11-30T02:45:08
2012-11-30T02:45:08
5,939,219
1
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
''' Pagelet for the Home Page Author: Andrew Oberlin Date: July 23, 2012 ''' from renderEngine.PageletBase import PageletBase from mycoplasma_home.models import Organism, OrganismWithImages, OrganismWithGenome, OrganismWithTags class HomePagelet(PageletBase): ''' Renders the center of the home page ...
[ "andyoberlin@gmail.com" ]
andyoberlin@gmail.com
898f544645356394e471bd139055540ae348b4ee
3fbd28e72606e5358328bfe4b99eb0349ca6a54f
/.history/a_games_20210607183048.py
6937ef94493d7d66c872ea111a2a66ef9fd75b41
[]
no_license
Tarun1001/codeforces
f0a2ef618fbd45e3cdda3fa961e249248ca56fdb
576b505d4b8b8652a3f116f32d8d7cda4a6644a1
refs/heads/master
2023-05-13T04:50:01.780931
2021-06-07T21:35:26
2021-06-07T21:35:26
374,399,423
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
n= int(input()) jer=[] for _ in range(0, n): h, a = map(int, input().split("")) jer.append((h, a)) def sol(jer) : count=0 for i in range(0,len(jer)): for j in range(0,len(jer)): if i==j: continue hometeamHomejersey= jer[i][0] awayteam...
[ "tarunsivasai8@gmail.com" ]
tarunsivasai8@gmail.com
d6b7ff2786b8b58ae1df6bcc85b8c85ca3d12c8c
d0f21d669a1099fe7138d763985d0c392968f93f
/tests/test_visitors/test_ast/test_imports/test_protected_import.py
d27ec451dcc7abe58ea249e088f9f20d2d4a5fc7
[ "MIT" ]
permissive
jigi-33/wemake-python-styleguide
3aab4f13023d3a882b19e65a9967f8abe2a72db1
1239a4726b91de588b20b268c47485373bf125a1
refs/heads/master
2021-01-08T19:24:11.454562
2020-02-28T20:09:58
2020-02-29T05:39:16
242,120,262
1
0
MIT
2020-02-29T05:39:18
2020-02-21T11:08:25
Python
UTF-8
Python
false
false
2,032
py
# -*- coding: utf-8 -*- import pytest from wemake_python_styleguide.violations.best_practices import ( ProtectedModuleMemberViolation, ProtectedModuleViolation, ) from wemake_python_styleguide.visitors.ast.imports import WrongImportVisitor import_public = 'import public' import_protected = 'import _protected...
[ "mail@sobolevn.me" ]
mail@sobolevn.me
be8508f0365a7e8e553b47eb14de29e6433f5c5c
14324a581c4f22c7ea8a96cc79725cdb84960e43
/trees/migrations/0001_initial.py
3c8b0a061d9d005b156b6ecbbccf9c5d97f9ef14
[]
no_license
dogger123/django-treeapi
a3f141f87bb515e4af4f820a80daf6bacc40199d
942da122d6c9909c21321a1aea2849428ba47120
refs/heads/master
2020-05-22T13:20:22.798164
2019-05-13T06:45:13
2019-05-13T06:45:13
186,357,054
1
1
null
null
null
null
UTF-8
Python
false
false
2,374
py
# Generated by Django 2.2 on 2019-05-10 11:03 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='DataSet', ...
[ "=" ]
=
a53aa1a02c0c228ee59d066579a76805bac6c7cf
0ac2dbd8427971ae05a2ba80b625c5c027b6c978
/hue.py
a3e50a905eb8ff81ede8b96487f90edd6620a9ca
[ "MIT" ]
permissive
kalliope-project/kalliope_neuron_hue
02b783e92170cc1d23516478df8a5b1770bac759
12729702c7c4827f0945c6bf71ef030dee8f4058
refs/heads/master
2021-01-11T20:11:33.053097
2020-07-29T15:33:46
2020-07-29T15:33:46
79,062,591
2
3
null
null
null
null
UTF-8
Python
false
false
6,534
py
import ipaddress import logging from kalliope.core.NeuronModule import NeuronModule, MissingParameterException, InvalidParameterException from phue import Bridge logging.basicConfig() logger = logging.getLogger("kalliope") class Hue(NeuronModule): def __init__(self, **kwargs): super(Hue, self).__init__(*...
[ "nico.marcq@gmail.com" ]
nico.marcq@gmail.com
0176a59c63441c166cfeb79c09e228a5f8d8e60a
f62fd455e593a7ad203a5c268e23129473d968b6
/murano-3.2.0/murano/tests/unit/engine/system/test_workflowclient.py
e109fe367da54e038fac1b25d37a1fb6d2067d9d
[ "Apache-2.0" ]
permissive
MinbinGong/OpenStack-Ocata
5d17bcd47a46d48ff9e71e2055f667836174242f
8b7650128cfd2fdf5d6c8bc4613ac2e396fb2fb3
refs/heads/master
2021-06-23T05:24:37.799927
2017-08-14T04:33:05
2017-08-14T04:33:05
99,709,985
0
2
null
2020-07-22T22:06:22
2017-08-08T15:48:44
Python
UTF-8
Python
false
false
6,229
py
# Copyright (c) 2016 AT&T # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
[ "gongwayne@hotmail.com" ]
gongwayne@hotmail.com
9afe0a1a5bce3f2082734a16953c0bbd764400f5
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/7_graph/二分图/无权二部图最大匹配问题/lcp4覆盖.py
61be67685f06f8a62381a377bfa0e43cbe726510
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
764
py
from typing import List from 匈牙利算法 import Hungarian DIR4 = [(0, 1), (1, 0), (0, -1), (-1, 0)] class Solution: def domino(self, row: int, col: int, broken: List[List[int]]) -> int: H = Hungarian() grid = [[0] * col for _ in range(row)] for r, c in broken: grid[r][c] ...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
8fe1be9af65e823f2f90637c4f4eac341e0fec56
70d39e4ee19154a62e8c82467ef75b601e584738
/devops/terminate_exact_ec2.py
631b42526a94ae6b2852b48145767358a038e527
[ "Apache-2.0" ]
permissive
babywyrm/sysadmin
6f2724be13ae7e5b9372278856a8c072073beffb
2a5f3d29c7529bc917d4ff9be03af30ec23948a5
refs/heads/master
2023-08-16T03:50:38.717442
2023-08-16T03:05:55
2023-08-16T03:05:55
210,228,940
10
5
null
2023-05-01T23:15:31
2019-09-22T23:42:50
PowerShell
UTF-8
Python
false
false
320
py
#!/usr/bin/python3 ## ## ## ########################################3 import sys import boto3 ## ## #### _input_instance_id_to_kill_it__ ## ## ec2 = boto3.resource('ec2') for instance_id in sys.argv[1:]: instance = ec2.Instance(instance_id) response = instance.terminate() print(response) ########### ## ## ##
[ "noreply@github.com" ]
babywyrm.noreply@github.com
3a37b7b47d59f49963becb153844bc7c178688c7
1bd073f585706c31c406bceb81eb400f8ac27c1d
/tools/Polygraphy/polygraphy/tools/convert/convert.py
aa2311a379ccc4b9e4dc8acfdfe187ee41b5a4f9
[ "BSD-3-Clause", "MIT", "ISC", "Apache-2.0", "BSD-2-Clause" ]
permissive
neevaco/TensorRT
7b5e54c6a7cc6d0fc545e47ab7cf6656f23d5e19
650a4a6ed29403bec1a55663b48ef41a075d0b3c
refs/heads/neeva
2023-05-29T19:20:26.431716
2022-08-19T23:09:26
2022-08-26T19:09:39
526,771,012
0
0
Apache-2.0
2022-08-19T23:09:27
2022-08-19T22:49:25
null
UTF-8
Python
false
false
4,377
py
# # SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at...
[ "rajeevsrao@users.noreply.github.com" ]
rajeevsrao@users.noreply.github.com
73ff13809669834f4c7b58d502e2a2ec8d0f8a55
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_271/ch153_2020_04_13_20_28_57_339505.py
bc782a307772aadce3e74cda6678a4513b48cff7
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
def agrupa_por_idade(dicionario1): dicionario2={} for nome, idade in dicionario1.items(): if idade<=11: dicionario2['criança']='{0}, {1}'.format(dicionario2['criança'], nome) if 12<=idade<=17: dicionario2['adolescente']='{0}, {1}'.format(dicionario2['adolescente'], nome) ...
[ "you@example.com" ]
you@example.com
caf5b92bfa055fb5a5ae7e31b1e15c75f38f4e95
946d72e6b44e5fdad5b10a9cbca40260d3202413
/old/titles.py
a16f19c9755a0039d21f53755b06b58c9cd7eb10
[]
no_license
pudo/wahlprogramme
323527b7271a5a2af53530a8b2e2357b3bf1144e
2cf794f10001d183678c3cc1a39b73f4c87035c3
refs/heads/master
2020-06-06T04:56:09.890984
2013-08-09T14:58:39
2013-08-09T14:58:39
11,253,695
1
1
null
null
null
null
UTF-8
Python
false
false
749
py
from common import PARTIES, load_doc, nomenklatura def all_titles(): for party in PARTIES: doc = load_doc(party) for i, h in enumerate(doc.findall('.//*')): if not h.tag in ['h1', 'h2']: continue #titles.upsert({ # 'party': party, ...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
9975c0b7a9b56900ff37076e86ba832eeb79c265
9477ff0926416001b7c801ff36fbc8e74009e3ae
/excel-reformat/excelhandler/drmamma/migrations/0015_auto_20201029_1314.py
28260e6b99d3124c802f72495b3e9c0dcc7121cd
[]
no_license
Tedhoon/business-automation
ab0cbcc405f646bcce7cdb4904073f1b0cd7ca9d
17247fe8979060db3c00d3ff6a2ff2918a4c7ea5
refs/heads/master
2023-03-25T13:48:22.755946
2021-03-23T08:43:45
2021-03-23T08:43:45
285,768,349
0
0
null
2021-03-23T08:43:46
2020-08-07T07:37:09
Python
UTF-8
Python
false
false
3,137
py
# Generated by Django 3.0.8 on 2020-10-29 04:14 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('drmamma', '0014_auto_20201029_1115'), ] operations = [ migrations.CreateModel( ...
[ "gt0305@likelion.org" ]
gt0305@likelion.org
c68dc8b29ed0c767a60726b18d7726f906aed1b2
878a3094430bb914717d641a4f4b06574e872518
/hm_03_面向对象/hm_11_上架管理4.py
4e2cbca0ab8b874e2983fc1dc9d370b7edfc341a
[]
no_license
2020668/python2019
3f33eea85fdd3f2866d867859d5694abb71effe9
f8a98389fa09f95e72914afa4935afc5c68eaccd
refs/heads/master
2020-06-07T23:36:17.871376
2019-08-29T09:45:10
2019-08-29T09:45:10
193,116,002
0
0
null
null
null
null
UTF-8
Python
false
false
2,119
py
# 空库位 bcdefgh_list = ["1B022","1B023","1B013","1B033","1B043","1B053","1B063","1B073","1B083"] mnpq_list = ["1M053","1Q023"] # sku基础数据 class SkuData(): def __init__(self,sku,layer_num,layer,box_num,length,width,heigth,weigth): self.sku = sku self.layer_num = layer_num self.layer = layer ...
[ "keen2020@outlook.com" ]
keen2020@outlook.com
f0c5e3397709ca4ce121c0f482289221424aac74
9bb83bf5f6c2b5d2da4dda711591ef9987490c66
/3DdetectionPrototype/Yolo-Pytorch-nms-updated/dataset/__init__.py
d919b198f149734f06916b220e93721264ed2db8
[]
no_license
nudlesoup/DeepLearning
cb5b7039a9de6098194b56143d1a72a564fed1c9
336e415b0353d6e18d106f894a97d8873a55e544
refs/heads/master
2021-06-25T00:50:40.339768
2020-12-23T02:38:58
2020-12-23T02:38:58
172,002,661
2
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
from .coco import get_dataset as get_COCO from .pascal import get_dataset as get_VOC from dataset.augment.bbox import bbox_flip from dataset.augment.image import makeImgPyramids import os import torch from torch.utils.data import DataLoader import numpy as np def get_imgdir(dataset_root, batch_size, net_size): from ...
[ "ameyad1995@gmail.com" ]
ameyad1995@gmail.com
fcdc76019f54d93a78ba8f653e0c6cb535f38400
5e879f2ae5b5d1c1202bd0905b2c1a4d2de63072
/cadnano/document.py
8506c64a304830bf1d860a3b5b28aa55f3d56cf1
[ "MIT" ]
permissive
n-corpuz/cadnano2.5
bac385e103bfd0ffebdffc6ac023c182d5a2d3e1
66041865bbe164e14135584b10c5f6b6510d878e
refs/heads/master
2020-12-28T19:08:32.602263
2016-03-24T01:57:26
2016-03-24T01:57:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,668
py
#!/usr/bin/env python # encoding: utf-8 from operator import itemgetter import cadnano.util as util import cadnano.preferences as prefs from cadnano.cnproxy import ProxyObject, ProxySignal from cadnano.cnproxy import UndoStack, UndoCommand from cadnano.strand import Strand from cadnano.oligo import Oligo from cadna...
[ "a.grinner@gmail.com" ]
a.grinner@gmail.com
d9d22ee6b4dc770f86c458638636032fe0fcc083
ffc563a34204ee65c5a518de07c78310c668c316
/opennem/monitors/aemo_intervals.py
221c76b1d35e35ce8cbd489b7544c2ef495630db
[ "MIT" ]
permissive
MarnieShaw/opennem
45924ac132d199751958eade224684d867118145
062178a9e64764e2bd89352b223280c8eeff60e4
refs/heads/master
2023-03-29T07:04:02.435282
2021-03-25T12:57:08
2021-03-25T12:57:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
import logging from datetime import datetime, timedelta from opennem.monitors.aemo_wem_live_intervals import ( get_aemo_wem_live_facility_intervals_recent_date, ) from opennem.notifications.slack import slack_message from opennem.schema.network import NetworkWEM from opennem.settings import settings from opennem.u...
[ "git@nikcub.me" ]
git@nikcub.me
75f54c77a9ee1903b8b9431bc9f974b241471089
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_04_02_preview/aio/operations/_maintenance_configurations_operations.py
98bc829d3d02f593cedf079f1a3759a9a9385799
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
19,865
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
6402742e91d560e57aa48ce294e2c9c7563695af
39f8535e6b4aaf313278d65c2561c57db1425a44
/web/register/migrations/0010_registeredperson_borough_gss.py
97bbba8cf8f0192ef65af1880694fbc437324756
[]
no_license
DemocracyClub/TakePart.london
39c61f58740400597a24bd525eff78939a3f30ed
816d427c37ad4f485aa392ff1d376f0f2681746a
refs/heads/master
2022-02-11T15:01:04.782754
2017-11-09T15:10:25
2017-11-09T15:10:25
60,079,282
0
2
null
2022-01-21T19:27:25
2016-05-31T10:12:47
Python
UTF-8
Python
false
false
492
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-26 12:28 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('register', '0009_auto_20160526_1010'), ] operations = [ migrations.AddField(...
[ "sym.roe@talusdesign.co.uk" ]
sym.roe@talusdesign.co.uk
b5152f8763fc21f32e7530a4d1b55be7ae98c02a
faabe34af6297530617395bcc6811350765da847
/platforms/leetcode/PalindromeLinkedList.py
bb7cf2be3376bd29d8d2a59cce309f2d4124781c
[]
no_license
pqnguyen/CompetitiveProgramming
44a542aea299bd553dd022a9e737e087285b8b6d
27330e7ff79c4ac883d7e1fcdf2f0d30939c3f78
refs/heads/master
2021-07-21T12:15:47.366599
2021-06-27T14:58:48
2021-06-27T14:58:48
132,837,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,091
py
# https://leetcode.com/explore/learn/card/linked-list/219/classic-problems/1209/ # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def isPalindrome(self, head: ListNode) -> bool: if not head: return True ...
[ "pqnguyen1996@gmail.com" ]
pqnguyen1996@gmail.com
ecadf6700b1b850bb101d6a8ca65912bbfd57019
49e87fd199287ea7234c9bbfb3ec40447b9ed3d4
/app/main/forms.py
cdf55969ee17ccd31d37bf6e400ca91820058ac5
[ "MIT" ]
permissive
mornicamwende/Pitching-site
ae732d3d9ba38f1878b49113a6adc81769d2c1b6
04336aa97f2a1c806ad6668f104ff64d27c8d995
refs/heads/master
2022-12-20T10:48:11.003418
2020-09-25T04:59:35
2020-09-25T04:59:35
296,598,453
1
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
from flask_wtf import FlaskForm from wtforms import StringField,TextAreaField,SubmitField, RadioField,SelectField from wtforms.validators import Required class CommentsForm(FlaskForm): comment = TextAreaField('Comment', validators=[Required()]) # vote=RadioField('default field arguments', choices=[('1', 'UpVo...
[ "mornicamwende@gmail.com" ]
mornicamwende@gmail.com
f2bb49281f0fba43c8434c29776d7e6336e7bdab
0010a92176b766f4bdf37c1144fa0f724cfaf564
/env/lib/python3.5/site-packages/aliyunsdkecs/request/v20140526/DeleteDeploymentSetRequest.py
3bd5bc595a1de6573918990b939e99dd35fd5e19
[]
no_license
pengjinfu/My-Admin
bc2d8b53da8be0fad60e1d8979bdca3f2c4560d9
26206d1def673adb7dfe5c8044c654a0e65320d1
refs/heads/master
2021-08-30T02:17:57.432743
2017-12-15T17:05:05
2017-12-15T17:05:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "dylan@zhxfei.com" ]
dylan@zhxfei.com
671e4b30e3dff24f2ef3c935f670c8ca01e9944a
aeb2f0bb7b01f87a1b6c65b88b216bed47025fe5
/experiment/model244.py
db116321214dca543600494dc929d47788834d3c
[]
no_license
kurupical/riiid
7e68239cd50243fbb734bf433d60ebd7469cb180
7bab580ce03d03873748a6afc91092c11871465f
refs/heads/master
2023-03-30T04:15:54.109815
2021-04-04T01:20:33
2021-04-04T01:20:33
302,828,112
2
1
null
null
null
null
UTF-8
Python
false
false
30,472
py
import numpy as np import pandas as pd from typing import Optional, Any import gc import random from tqdm import tqdm from sklearn.metrics import roc_auc_score from sklearn.model_selection import train_test_split import seaborn as sns import matplotlib.pyplot as plt import torch import torch.nn as nn import torch.nn....
[ "kurupical@gmail.com" ]
kurupical@gmail.com
539ae6e0ecf887e6d1d29a89a317d920bcd8899a
c6f946097032432c787a4e3f2b1c7839a5966bfa
/problem 0120.py
0e0fc987f8d8b2772162ed041c676b86767c43ef
[]
no_license
a100kpm/daily_training
70a3bfdc1a773025bc03dad64310f7ad9f58eb22
dc80f1708cba6f46a51d2e385bc16613acb5e710
refs/heads/master
2020-05-17T21:20:21.067730
2019-05-21T16:41:52
2019-05-21T16:41:52
183,969,271
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
''' Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement the singleton pattern with a twist. First, instead of storing one instance, store two instances. And in every even call of getInstance(), return the first instance and in every odd call of getInstance()...
[ "iannis3toussaint@gmail.com" ]
iannis3toussaint@gmail.com
c146b0e1db17224998ba1eda4eafc3f9d27dd06b
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/EightTeV/RSGraviton/RSGravitonToWW_kMpl04_M_4000_TuneZ2star_8TeV_pythia6_cff.py
227007a6d47128f5bc79ef6b8f9004b7add104ff
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
894
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.PythiaUEZ2starSettings_cfi import * generator = cms.EDFilter("Pythia6GeneratorFilter", pythiaHepMCVerbosity = cms.untracked.bool(False), maxEventsToPrint = cms.untracked.int32(0), pythiaPylistVerbosity = cms.untracked.int32(0), filterEfficiency...
[ "sha1-481a5a2ac9973b7cab990140e7a395466f50a31e@cern.ch" ]
sha1-481a5a2ac9973b7cab990140e7a395466f50a31e@cern.ch
ab01bcb3ab68c2fc29a7e2bd4b6c8a4e7377d5c9
0d2503015d98cdb3fc1e4cda3a7c2053658e4e79
/virtual/bin/flask
10fa3f3435b188049bea61fba98adf01742219de
[ "MIT" ]
permissive
juru-juliette/BlogApp
fe2e2f96fd7c676a3f025176912b103c9c3ab085
146a5d1bea24f872d598be5181ad79f309887b93
refs/heads/master
2022-09-29T11:12:11.148345
2019-10-03T10:22:57
2019-10-03T10:22:57
211,067,370
0
0
null
2021-03-20T01:44:34
2019-09-26T10:54:44
Python
UTF-8
Python
false
false
250
#!/home/wecode/Documents/flask/BlogApp/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kangabejuliette@gmail.com" ]
kangabejuliette@gmail.com
7418efa19b2b99b91268d1c1c3eaecb2564be978
069c90561a55dbb050102914ba92a786137f3dd4
/setup.py
0d4d001769f4749905acc1374f364ba1baf66cff
[]
no_license
reorx/yaml2pac
a9075d8d706e26b4629e8fb98398bf0a5321c758
78a42e9bb5f2f27bdef5a3236cf242d3828ba5a1
refs/heads/master
2021-01-10T05:06:10.319371
2017-04-30T13:07:41
2017-04-30T13:07:41
48,587,654
1
1
null
null
null
null
UTF-8
Python
false
false
1,168
py
#!/usr/bin/env python # coding=utf-8 from setuptools import setup # Use semantic versioning: MAJOR.MINOR.PATCH version = '0.1.0' def get_requires(): try: with open('requirements.txt', 'r') as f: requires = [i for i in map(lambda x: x.strip(), f.readlines()) if i] return requires ...
[ "novoreorx@gmail.com" ]
novoreorx@gmail.com
a0e3e218a5b7ec2bf7ffd20d00fc6f0888cf6ea0
3c6fc92c8de309cd287e6f1b1b6e0af1e1aaf5c9
/fix_date.py
7e72e5bba097726d748338a2f8b498060b29976c
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain", "CC-PDDC" ]
permissive
caltechlibrary/caltechdata_migrate
37e2b0fff3814eb69e413796a2ef8513959ebfda
839feab326eb0b412d740db64e96d7ad0048c295
refs/heads/master
2021-10-27T08:38:30.755678
2021-10-20T19:06:28
2021-10-20T19:06:28
106,311,559
1
0
null
null
null
null
UTF-8
Python
false
false
961
py
from caltechdata_api import get_metadata,caltechdata_edit,decustomize_schema import requests import os idvs = [1163,1164,1165,1166,1167,1168,1169] #Get access token from TIND sed as environment variable with source token.bash token = os.environ['TINDTOK'] metadata = {} for idv in idvs: api_url = "https://data...
[ "tmorrell@caltech.edu" ]
tmorrell@caltech.edu
34e6fc1924b4bf98002f93525d9a60d3efac008f
fb8cbebdf034b2f478943752d5443afc82c6eef5
/tuirer/venv/lib/python3.6/site-packages/IPython/core/tests/test_paths.py
a7dc1fddc233e5b268dcea9533b91a8ace9c0cd8
[]
no_license
fariasjr/CitiTuirer
f64e0ec93ef088f8140bb0961d2ad4ed3b59448a
deb3f7a9c2d45b8a7f54639037f097b99abdac11
refs/heads/master
2020-03-24T05:10:36.261050
2018-08-01T20:24:30
2018-08-01T20:24:30
142,477,521
0
0
null
null
null
null
UTF-8
Python
false
false
7,394
py
import errno import os import shutil import sys import tempfile import warnings from unittest.mock import patch from IPython import paths from IPython.testing.decorators import skip_win32 from IPython.utils.tempdir import TemporaryDirectory import nose.tools as nt from testpath import assert_isdir, assert_isfile, mod...
[ "jornadaciti@ug4c08.windows.cin.ufpe.br" ]
jornadaciti@ug4c08.windows.cin.ufpe.br
cf5eab74fe573d51a22c2f3485b293846afe840e
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/types/ResolveToAnotherFileClassWithBuiltinNameField/foo.py
bfb5ad1dcf26fa6d998d1e54b6d605d64cc93e4c
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
64
py
class Foo: def __init__(self, id: int): self.id = id
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
3191f5b594eccb4f79d85a07b133cb6f7a2535c0
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano857.py
04b4cd41f6e1d1d64132d0089fc6468a9aa5cf29
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,292
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
b98d7f3a306f0489f526d005559bda871a9dae63
e18da3301b53da6792f581159a953da71c00422b
/aula_1/ex_3.py
989a228d4c99271fe93379b33bf46298099135f3
[]
no_license
fernandolago/python-521
6c4998b60784d966e8ed4aff0e500f1ab4f1fab0
e103b055c9cf04da889a380d55192307f66d34f4
refs/heads/master
2022-12-09T20:13:47.982648
2019-08-08T20:02:27
2019-08-08T20:02:27
200,073,861
0
0
null
2022-12-08T05:57:51
2019-08-01T15:16:36
Python
UTF-8
Python
false
false
270
py
import requests URL = 'https://viacep.com.br/ws/{}/json' cep = input('Digite seu cep: ') print(cep) URL_FORMATADA = URL.format(cep) print(URL_FORMATADA) response = requests.get(URL_FORMATADA) print(response) print(dir(response)) x = response.json() print(type(x))
[ "leonardo.mendes@4linux.com.br" ]
leonardo.mendes@4linux.com.br
43129de68025bc596b16c6a2f1e3e13749c0063e
4892b326dfd98d9513ba583868b1298c8a4e276c
/experiments/04_benchmark_memory/shared.py
ec654e7e21ec078f1a29ec876fa6a3fd6eef3cce
[ "MIT" ]
permissive
MeNicefellow/cockpit
019640a610b05c46426d35eb9e6c8d49a3d970c7
5bd5ab3cda03eda0b0bf276f29d5c28b83d70b06
refs/heads/master
2023-01-23T06:59:43.329922
2020-11-24T07:56:03
2020-11-24T07:56:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,413
py
"""Compare memory footprint w/o individual gradient transformations.""" import os import sys import warnings import pandas from memory_profiler import memory_usage from torch.optim import SGD from cockpit.runners.scheduled_runner import _ScheduleCockpitRunner HERE = os.path.abspath(__file__) DIR = os.path.join(os.p...
[ "Anonymous" ]
Anonymous
bc4d811f9de41de53688ff53da3865f5f47c9c4f
926b3c52070f6e309567c8598248fd5c57095be9
/src/mmgeneration/tests/test_cores/test_fp16_utils.py
a4cf5a42c2cf57c0146ba1cc930cd875facaca6c
[ "Apache-2.0" ]
permissive
fengbingchun/PyTorch_Test
410f7cd2303707b0141d433fb9d144a961e1f4c8
df5c2169f0b699bcd6e74adb4cb0e57f7dcd9348
refs/heads/master
2023-05-23T16:42:29.711338
2023-03-25T11:31:43
2023-03-25T11:31:43
167,339,907
15
4
null
2023-03-25T11:31:45
2019-01-24T09:24:59
C++
UTF-8
Python
false
false
6,975
py
# Copyright (c) OpenMMLab. All rights reserved. import numpy as np import pytest import torch import torch.nn as nn from mmcv.utils import TORCH_VERSION from mmgen.core.runners.fp16_utils import (auto_fp16, cast_tensor_type, nan_to_num) def test_nan_to_num(): a = torch....
[ "fengbingchun@163.com" ]
fengbingchun@163.com
395244d5698ec1b8f201d619d17776ad10b0251a
42c578d7d9056e3caab7263cde114626d7ad3450
/p/lib/python3.8/smtpd.py
1ee11938504efa638fbff8b12e6910b420d1442e
[]
no_license
javier290595/mythicalclass
66a38ae916468aa80e62d9cc5881406e9beae84b
34f3255d4720834dbe0aabf8c5daa4a270a415bd
refs/heads/master
2023-01-08T12:33:13.232972
2020-11-12T01:52:09
2020-11-12T01:52:09
312,138,106
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
/home/linuxbrew/.linuxbrew/Cellar/python@3.8/3.8.6/lib/python3.8/smtpd.py
[ "ec2-user@ip-172-31-70-116.ec2.internal" ]
ec2-user@ip-172-31-70-116.ec2.internal
1ccc6390564eddf80e6cf1914171d5f378c81954
2fe726cefb4448adf900dfe1242238a4622026ea
/simple_library/library_app/admin.py
bf6c366952106be918901ebb17550a835e83ca79
[]
no_license
romankarki/Library-Book-App
2623e1f3f0d2b3bc04ab7386a81e521bd2907305
571d3d843bb612e8fdbdb78a02cde1be781ab5fa
refs/heads/master
2022-07-25T04:19:50.510807
2020-05-11T06:22:55
2020-05-11T06:22:55
262,956,328
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
from django.contrib import admin from library_app.models import Books, Student, BookUser # Register your models here. admin.site.register(Books) admin.site.register(Student) admin.site.register(BookUser)
[ "romnkrki@gmail.com" ]
romnkrki@gmail.com
7ce6a01f3c5650d970ef32d681f884d359a3815e
e3c17b642b827e798f3f2e3eb3ba108aeb1e5769
/Unit 26/judge_set_intersection.py
06ad5d53382c41d1d1937daa0bff2cab437d0d5f
[]
no_license
ckiekim/Python-Lecture-1903
d6c2eecbf56168e5e5da26dc31f1740979ea7c8c
4fa84301f9f1b567ba240823309e9c8d0f3f5c64
refs/heads/master
2020-04-28T15:13:58.892548
2019-03-27T14:03:40
2019-03-27T14:03:40
175,365,462
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
x, y = map(int, input().split()) a = {i for i in range(1, x+1) if x % i == 0} b = {i for i in range(1, x+1) if y % i == 0} divisor = a & b print(a, b, divisor) result = 0 if type(divisor) == set: result = sum(divisor) print(result)
[ "ckiekim@naver.com" ]
ckiekim@naver.com
aa07192cc7cff07ad907477514b91befd340672b
40e7e12de3a4c2e3c55d064898f331eb89093ff0
/seleniumbase/console_scripts/sb_behave_gui.py
19b73a535867507fcb1503f6aa1b601c52b85ae3
[ "MIT" ]
permissive
bryoh/SeleniumBase
0f2ed8701557d3c512a65e050271ff1f2a2e02e2
fda7a286c4a0b2cb9015baa19d825b89834c8c1b
refs/heads/master
2023-05-26T16:29:26.919583
2023-05-12T16:51:41
2023-05-12T16:51:41
132,666,520
0
0
MIT
2023-02-01T10:38:22
2018-05-08T21:19:55
Python
UTF-8
Python
false
false
15,167
py
""" Launches SeleniumBase Behave Commander | GUI for Behave. Usage: seleniumbase behave-gui [OPTIONAL PATH or TEST FILE] sbase behave-gui [OPTIONAL PATH or TEST FILE] Examples: sbase behave-gui sbase behave-gui features/ sbase behave-gui features/calculator.feature Output: ...
[ "mdmintz@gmail.com" ]
mdmintz@gmail.com
183661cb8b23d1df34f583e6b5382ed03c4b6ce8
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/eqpt/ingrstorm5min.py
b3222a2b328d64900531c4742e3aa46ea97d0615
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
20,191
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
be1275ae642e75f3b7013809e57c2dd830e8801e
f531c56db4cd2776c765b9aca0c4cebaea864ec2
/ABC152/b.py
67ad0d250e393f4fab6a6c5be90863c24befc29a
[]
no_license
SatoKeiju/AtCoder-Python3
1c76f8ec5d99470b6e316115f0433b4b3cb64024
9c2860e2cfda490d5848b0557876ef616eff01a2
refs/heads/master
2021-06-23T05:59:46.911733
2021-03-30T08:00:34
2021-03-30T08:00:34
212,088,768
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
def main(): a, b = map(int, input().split()) print(str(min(a, b)) * max(a, b)) if __name__ == '__main__': main()
[ "keiju.sato@abeja.asia" ]
keiju.sato@abeja.asia
7e045832ecae12c48e1e1b63db2b5658de3529ec
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib1/localConcepts/eswi/sort_table.py
03e1224d57722c17f3827e62f20c2c5f19e1c0d2
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
7,112
py
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'none'}, {'abbr': 1, 'code': 1, 'title': 'Atm. conc. [g/kg]'}, {'abbr': 2, 'code': 2, 'title': 'Log Atm. conc. [g/kg]'}, {'abbr': 3, 'code': 3, 'title': 'Atm. conc. [g/m3]'}, {'abbr': 3, 'code': 3, 'title': 'Atm. co...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int