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
ace2a4570b7fe0556419017f890effd6c5682676
2a68b03c923119cc747c4ffcc244477be35134bb
/interviews/BB/addTwoNumsII.py
e4456cbba6d6b6ebf35f4629a4fe46f8f52b1043
[]
no_license
QitaoXu/Lintcode
0bce9ae15fdd4af1cac376c0bea4465ae5ea6747
fe411a0590ada6a1a6ae1166c86c585416ac8cda
refs/heads/master
2020-04-24T20:53:27.258876
2019-09-24T23:54:59
2019-09-24T23:54:59
172,259,064
1
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
""" Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next """ class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next class Solution: """ @param l1: The first list. @para...
[ "jeremyxuqitao@outlook.com" ]
jeremyxuqitao@outlook.com
0a4c03dd05dc9d1deeec097157b5ad59aaa9a092
9fce5f629873ef5c43274fdae1d49a270ec78f38
/TS_Modular/TS1.py
68929104a538e8e2d71d0077737c303f27fa5251
[]
no_license
makkar-nishant123/Pythonselenium
2c9273d81915bc1f7724de93d7b87c76b5f9066b
173f49e6522b80f13e6e406756130c0b1376a139
refs/heads/master
2021-06-12T09:30:24.097297
2021-04-22T02:48:56
2021-04-22T02:48:56
182,635,591
0
0
null
2021-04-22T02:52:08
2019-04-22T06:26:41
Python
UTF-8
Python
false
false
666
py
from Modular_helper.be_helper import validate_be from Modular_helper.ui_helper import * login_username = driver.find_element_by_name("") login_password = driver.find_element_by_name("") peform_order_element1 = driver.find_element_by_name("") peform_order_element2 = driver.find_element_by_name("") logout_button = drive...
[ "makkar.nishant123@gmail.com" ]
makkar.nishant123@gmail.com
1856d5be861e0964e28aa4f9ce2a648c81ba0a4b
1da4af09bc143314696f273e99310a7b3fb1df0f
/seleniumwire/proxy/modifier.py
1ff879f83143cfbcc0204cccfffc7fb3cc657462
[ "MIT" ]
permissive
fossilet/selenium-wire
1fbf97d354f7d4fabf5c440c176ee526de5b4ca9
62771b1d1c78c60f3b78caacbbf2bb37622ee965
refs/heads/master
2020-07-04T00:59:43.875095
2020-02-18T01:51:39
2020-02-18T01:51:39
202,104,673
0
0
MIT
2019-08-13T08:57:56
2019-08-13T08:57:53
null
UTF-8
Python
false
false
4,525
py
import re import threading from urllib.parse import urlsplit class RequestModifier: """This class is responsible for modifying the URL and headers of a request. Instances of this class are designed to be stateful and threadsafe. """ def __init__(self): """Initialise a new RequestModifier....
[ "will@zifferent.com" ]
will@zifferent.com
47cf272440f88b1aa5b80e249d9103aa94560525
a2c7064e18bc358ee1fe85ed4058cd3054515eaa
/sfepy/fem/extmods/setup.py
1f43f58ae18fc236122554fb40e8877e9ab18b32
[ "BSD-3-Clause" ]
permissive
akshaydolas09/sfepy
b775b9d701bec84377eccd0a8714cf2489f0cf8b
6518a7b9970fe2d92c0f5675ee4e85d3b29794f9
refs/heads/master
2021-01-24T20:02:53.634703
2013-12-14T23:15:59
2013-12-14T23:15:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,034
py
#!/usr/bin/env python def configuration(parent_package='', top_path=None): import os.path as op from numpy.distutils.misc_util import Configuration from sfepy import Config site_config = Config() os_flag = {'posix' : 0, 'windows' : 1} auto_dir = op.dirname(__file__) auto_name = op.split(...
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
2fe2da55b13f9076998a27c8b7fd9e3e739cb822
e901838dd4fc60221eb65cd7e34495c04a6c03fc
/02-numpy/page96.py
f113853e24e60d0c7dcc9140bed86f19423d20fd
[]
no_license
j415/data_analysis
7fdd7f27005ff2d9940170a1ac702c10d36c33b4
bfccb8a0fb27702a623c2cec2c13bca84f2b2d48
refs/heads/master
2020-03-28T23:42:00.390912
2018-09-29T08:50:59
2018-09-29T08:50:59
149,304,296
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
import numpy as np # 随机种子 np.random.seed(10) # 生成随机列表 t= np.random.randint(0,20,(3,4)) print(t)
[ "1720049083@qq.com" ]
1720049083@qq.com
e3d86e847164add00cad6f8328582c87bf288fdc
f0d1bfb45ff5fad468270b586f4cebc3aa73da10
/1-Docker/Typing_practice_app/Symbiosis/urls.py
efceb0bf0b42d7c92e9f26ccdd7776802bc3aebb
[]
no_license
D-GopalKrishna/Django-with-Docker
28a87a94fe224af9a1d9e3d1ef5df8c48ace6622
f3241ce01e3c6dc30be4f565037723f710619aa8
refs/heads/master
2023-03-01T21:29:58.106486
2021-01-29T09:27:34
2021-01-29T09:27:34
331,938,419
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
from django.urls import path from . import views urlpatterns = [ path('', views.rendertypingPage, name="rendertypingPage"), ]
[ "nikhil0223@gmail.com" ]
nikhil0223@gmail.com
98e1f4b684ce01a53c3137b621a085607febcb4c
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/ec2_read_2/scheduled-instance-availability_list.py
223f1e5aac895b58ce0cbfd9584db5de193fc0ff
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import execute_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-scheduled-instance-availability....
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
8319ca257a9797c0458b66d41fe28358ce09d48b
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/224/users/4464/codes/1692_1100.py
239ea5c42efa5964b11417144314bec588596035
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
820
py
# Teste seu código aos poucos. # Não teste tudo no final, pois fica mais difícil de identificar erros. # Ao testar sua solução, não se limite ao caso de exemplo. ceduula = int(input("valor da cedula: ")) print("Entrada:", ceduula) if (ceduula == 5 or 2 or 10 or 20 or 50 or 100): if (ceduula == 2): mensagem = "Tartar...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
c94453f740e24e957b55af3669b61828f347ba78
b40b2bcc63c617afae66a11d15598a588176ff20
/CodeTree/Basic/부분문자열 위치 구하기.py
9bd8e1dc20e8d79e43f436750e5fa874ffb63667
[]
no_license
tjdgus3160/algorithm
c5e66ffa1493dba4faede0491ffab60554647fb5
4146170943ec79e22c78e8f3d1ffedd527583c28
refs/heads/master
2023-08-22T07:48:53.164453
2021-10-21T02:28:02
2021-10-21T02:28:02
320,226,865
1
0
null
null
null
null
UTF-8
Python
false
false
54
py
s=input().rstrip() t=input().rstrip() print(s.find(t))
[ "tjdgus3160@gmail.com" ]
tjdgus3160@gmail.com
5fabb56daf386a587981ca756429c23831ecd423
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_to_M_Gk3_no_pad/pyr_Tcrop256_pad60_jit15/pyr_3s/L7/step09_3side_L7.py
c950ee398333287fa3c141e7a3f687dc98eb8ccd
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
59,545
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
4d69c8997a0540071942a53100f75e07340d308e
5583ead113deb3b50f8984bba7a68561b376c108
/examples/dmc/redq_dmc.py
f446c74b4350fbf4995f88bf38c3daee60b85b2c
[]
no_license
QData/deep_control
58277eb7aa0b52f27252c41dc364551ab20ef378
2b02646c1586fd5baa23d1ee078539ccb29c16d8
refs/heads/master
2023-04-09T07:59:47.297267
2021-04-18T20:59:53
2021-04-18T20:59:53
305,463,190
4
1
null
null
null
null
UTF-8
Python
false
false
1,270
py
import argparse import deep_control as dc def train_dmc_redq(args): train_env = dc.envs.load_dmc(**vars(args)) test_env = dc.envs.load_dmc(**vars(args)) obs_shape = train_env.observation_space.shape action_shape = train_env.action_space.shape max_action = train_env.action_space.high[0] agen...
[ "jcg6dn@virginia.edu" ]
jcg6dn@virginia.edu
5249fed79f999b06e5224e1776bc838b0f685220
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_8/plsnor001/question4.py
0b5730af55e349ce6be477aa5cda0b1daf96206b
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
'''Prime check''' import sys sys.setrecursionlimit (30000) z = 2 import math def prime(M,z): if z > math.sqrt(M) +1: return 1 elif M ==2: return 1 elif M==1: return 0 elif M % z !=0: return prime(M,z+1) else: return 0 #=============...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
a33bfd1141cae5afa15a89b39b8bfd84c948d68a
f4b5721c6b3f5623e306d0aa9a95ec53461c1f89
/backend/third-party/pox/pox/web/webcore.py
8633862f2e22d7abc7496b2d1cf0e3f9f25ee774
[ "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
citelab/gini5
b53e306eb5dabf98e9a7ded3802cf2c646f32914
d095076113c1e84c33f52ef46a3df1f8bc8ffa43
refs/heads/uml-rename
2022-12-10T15:58:49.578271
2021-12-09T23:58:01
2021-12-09T23:58:01
134,980,773
12
11
MIT
2022-12-08T05:20:58
2018-05-26T17:16:50
Python
UTF-8
Python
false
false
15,897
py
# Copyright 2011,2012 James McCauley # # 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 agreed to in ...
[ "maheswar@MacBook-Pro.local" ]
maheswar@MacBook-Pro.local
02e22ebdd4ea926a4490bfc3b5a258b4afeca914
9206651d6b1acb483040dff19929851ce261bc73
/src/lecture8/notes/assert1.py
b3f7686967dfacee9fe6e61ea13d97a075fd4b19
[]
no_license
Farooq-azam-khan/web-programming-with-python-and-javascript
eee8556b37b8f8bb4f420ce9d4949441fbf456dd
0875982ecbbb2bfd37e7b41a09a43623ee6d5a96
refs/heads/master
2022-12-10T15:31:39.703121
2018-07-18T06:51:02
2018-07-18T06:51:02
138,975,972
0
0
null
2022-12-08T02:12:59
2018-06-28T06:29:26
HTML
UTF-8
Python
false
false
76
py
def square(x): return x*x assert square(11) == 0 assert sqaure(2) == 4
[ "farooq1.khan@ryerson.ca" ]
farooq1.khan@ryerson.ca
9811c25129de7396ee5c48885a32f5a146ea1bee
646cadb1c72ef4a060343baf2fcbe271958b6878
/tigerjython/RaspiSimEx/Led4.py
2c656c3690c5473bbf7468f28bcfe3f83e0bcb4a
[]
no_license
tigerjython/tjinstall
bd75cf8e4ae27b639a13865ef1ec5710391a2938
aab61519b5299c2ab4f423c6fc5d8ea7c7860a99
refs/heads/master
2021-01-17T08:53:50.386905
2018-01-12T06:56:28
2018-01-12T06:56:28
40,659,466
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
# Led4.py from raspisim import * import thread def blinker(period): while isRunning: if isLeftBlinking: ledLeft.setColor(Color.white) Tools.delay(period // 2) ledLeft.setColor(Color.black) if isRightBlinking: ledRight.setColor(Color.white) Too...
[ "support@tigerjython.com" ]
support@tigerjython.com
4586cb3b315e1dd71d0d770157da6751ac6ef43a
d48c869189887122f6117dca451fd9d8231ece18
/tests/api/contracts/test_factory.py
35a790398e3bf268310ae49b647abde9b8c1f970
[ "MIT" ]
permissive
RuslanBilyk/pytest-ethereum
f4f6a92a46c1b1628a001061779475e09a92ec34
717f7efd4762ee2fa739c2e3370c39ebd0d238c8
refs/heads/master
2020-04-04T02:55:44.702456
2018-09-25T04:54:48
2018-09-25T04:54:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
from hexbytes import HexBytes def test_CreateFactoryFromInterface(t): _interface = {'abi': [], 'bytecode': '0x', 'bytecode_runtime': '0x'} # Factory class has the same interface that we gave it # NOTE: Names are changed to work with Web3.py API _factory = t.new_contract(_interface) assert _factory....
[ "fubuloubu@gmail.com" ]
fubuloubu@gmail.com
faab9bb99e2e7b9f01819b81bef68cabfbbe2c77
9a4c569548c6aa96f9e137da1e4dba9a8dd0ec13
/catkin_ws/devel/lib/python2.7/dist-packages/pkg_ros_iot_bridge/__init__.py
3c83f1e479b23445e232b357fda3ef9b9be966a4
[]
no_license
capf-2011/Vargi-Bots-eYRC
081014358a1b2f9cf55064d58ff2e5bdee554445
89b0bd0d5de1215e2338379931e31aea2e946ed3
refs/heads/master
2023-03-23T07:50:43.159560
2021-03-07T10:19:50
2021-03-07T10:19:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
/home/satyam/catkin_ws/devel/.private/pkg_ros_iot_bridge/lib/python2.7/dist-packages/pkg_ros_iot_bridge/__init__.py
[ "satyamozar@gmail.com" ]
satyamozar@gmail.com
76837a3e18ab45af1514290322515a1456cc7690
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/woodman.py
73ad558df5fe509f3c7a32a40b1d81192f54bdd4
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
216
py
ii = [('MarrFDI.py', 1), ('CarlTFR.py', 1), ('BailJD1.py', 2), ('GilmCRS.py', 2), ('WheeJPT.py', 1), ('HowiWRL2.py', 1), ('RogeSIP.py', 2), ('HogaGMM2.py', 1), ('NortSTC.py', 1), ('WordWYR.py', 2), ('ClarGE4.py', 4)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
c8e38fcd016d4b03cc4b6ed7dbe12db77cda7c28
92df1799eaf473c81332683632d51d18ddc685bf
/unsupervised_class2/autoencoder.py
54f57d3fc68abcc94fa316edf8842a205e2367d9
[]
no_license
Linbooo/machine_learning_examples
7fc5eb34c58bf65a339de7df6691d4891ee6c081
602c569f7405e71478868800bbcba5deb26d6a13
refs/heads/master
2021-01-11T14:00:22.488421
2017-06-20T15:43:46
2017-06-20T15:43:46
94,918,317
2
0
null
2017-06-20T17:36:39
2017-06-20T17:36:39
null
UTF-8
Python
false
false
8,321
py
# https://deeplearningcourses.com/c/unsupervised-deep-learning-in-python # https://www.udemy.com/unsupervised-deep-learning-in-python from __future__ import print_function, division from builtins import range, input # Note: you may need to update your version of future # sudo pip install -U future import numpy as np i...
[ "sublime.balloon@gmail.com" ]
sublime.balloon@gmail.com
6a7f603bc47ab309c551d6c1e433640d7cd98cd2
298a69c0662e636b2e9fa31c66691d3db678b23f
/nova/api/openstack/compute/migrate_server.py
5c7ef1def454892fc2cc88732fae54737730ecbd
[ "Apache-2.0" ]
permissive
gmannos/nova-rbac-policy-defaults-refresh
14e30135ab6ee263aa59dac96eace131659759c4
7c61b4bd19b97011d7581866c0262065e52d7865
refs/heads/master
2022-07-19T16:48:10.056447
2021-03-31T20:58:55
2021-03-31T20:58:55
230,688,889
0
1
Apache-2.0
2022-07-06T20:26:12
2019-12-29T01:37:50
Python
UTF-8
Python
false
false
8,414
py
# Copyright 2011 OpenStack Foundation # Copyright 2013 IBM Corp. # # 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 requir...
[ "gmann@ghanshyammann.com" ]
gmann@ghanshyammann.com
630a7988c5724f6cd14ae1516650feb35d0f5283
28bb1dda3010ab719ec537bcc63a5ed1491d148d
/sites with exercises/google-python-exercises/basic/mimic.py
f71dd11eaa08084e262299bd6215dba8227656ff
[ "Apache-2.0" ]
permissive
dawidsielski/Python-learning
86db2ff782aab13ff6dc44b1ce9295fc7c186e20
4aabf4d63906fb1d2379bbd401e9ac7484766198
refs/heads/master
2021-01-13T10:35:20.913601
2018-02-24T11:52:06
2018-02-24T11:52:06
76,497,517
0
0
null
null
null
null
UTF-8
Python
false
false
2,547
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ """Mimic pyquick exercise -- optional extra exercise. Google's Python Class Read in the ...
[ "dawid.sielski@outlook.com" ]
dawid.sielski@outlook.com
19ea633bb8e1f8f95a31e47ef57183576f828e39
93493c9c88709db078c1491f5b631768f2396f0f
/docs/conf.py
33509c5dfb201163384c53b915e779c9b660e3ee
[ "BSD-3-Clause" ]
permissive
mgxd/niworkflows
8d98986c9fb0e8ea51140a526420097fb9ca8cb9
d28857d0be2a63263e4c29af44e84d18fdc44d2f
refs/heads/master
2023-06-23T06:17:14.738119
2018-02-23T02:01:06
2018-02-23T02:01:06
123,169,997
0
0
BSD-3-Clause
2020-06-04T21:27:43
2018-02-27T18:20:54
Python
UTF-8
Python
false
false
9,380
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # niworkflows documentation build configuration file, created by # sphinx-quickstart on Tue Apr 14 10:29:06 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this ...
[ "code@oscaresteban.es" ]
code@oscaresteban.es
88c993c6e5a6c644ec6b3a22156e7e90d0d84d9f
41cd3a3d8a0dec916432fdc45d9a65ef3dda8105
/RMI/java-python/INSClient.py
c36a38e8942a2882157b4a6eb911b18ac8a001cf
[]
no_license
studiawan/distributed-systems
25a3034f2c1b486a13ae4b085acc1325749a020e
7adeace2e6be84e14264422700acb4a7c0316353
refs/heads/master
2021-01-21T13:11:37.694489
2016-06-01T10:09:16
2016-06-01T10:09:16
45,076,578
4
5
null
2016-06-01T10:09:16
2015-10-27T23:31:37
Python
UTF-8
Python
false
false
537
py
#!/usr/bin/env python import sys from omniORB import CORBA import CosNaming, _GlobalIDL # Initialise the ORB orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) # Obtain a reference to the root naming context obj = orb.resolve_initial_references("PingService") # Narrow the object to an Example::Echo eo = obj._narr...
[ "studiawan@gmail.com" ]
studiawan@gmail.com
c11e40243db8945413311abfc5500f8186a4c173
1068d311e16d5e94ccd4354dc6a23a2a02f62b46
/examples/associationControl.py
03f3ccd89ddb710064cf4fe8fe91be75be6f22bd
[]
no_license
vmehmeri/mininet-optical-wifi
de4ff773381184dec9c7beffc52e57286e294ca1
f11c56e84d64fd9397e100df3add05a2ebc8a2a5
refs/heads/master
2021-01-01T18:15:36.544498
2017-07-28T14:57:25
2017-07-28T14:57:25
98,288,748
1
1
null
null
null
null
UTF-8
Python
false
false
2,544
py
#!/usr/bin/python 'Setting mechanism to optimize the use of APs' from mininet.net import Mininet from mininet.node import Controller, OVSKernelAP from mininet.link import TCLink from mininet.cli import CLI from mininet.log import setLogLevel def topology(): "Create a network." net = Mininet(controller=Contro...
[ "ramonreisfontes@gmail.com" ]
ramonreisfontes@gmail.com
1df194299019c2cc911cc969e183c06eab5674c1
644a728462fb1c0c2b929bc62cf13972dfe2e6a6
/Week2/11.DiameterofBinaryTree.py
0c5352757a8b3707b64f69d1675a8b94ce7174cc
[]
no_license
NenadPantelic/30-day-LeetCoding-Challenge
2df7e7db51a6023d92ba8afe615b8b39f3063012
6c5bd40fb5610f8c5857e7527095d811770df215
refs/heads/master
2021-05-20T01:30:21.128134
2020-04-30T18:15:39
2020-04-30T18:15:39
252,128,894
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Apr 11 13:10:07 2020 @author: nenad """ """ Problem URL: https://leetcode.com/explore/challenge/card/30-day-leetcoding-challenge/529/week-2/3293/ Problem description: Given a binary tree, you need to compute the length of the diameter of the tree. The...
[ "nenadpantelickg@gmail.com" ]
nenadpantelickg@gmail.com
2e234781724ed6b80f9b781a18e4186802abd982
71f737a6e524247f2ccee1f0ee6e8615a2c33a71
/backend/teste_4663/urls.py
04a331dee929b1e1684e3bdd2b2dffaa86e97538
[]
no_license
crowdbotics-apps/teste-4663
8a0120648cf7823db36ee602bafbe1193277c6d7
f564c178225c76d338e2d38331ebfbb999059942
refs/heads/master
2023-01-11T15:25:29.454474
2019-06-14T12:47:39
2019-06-14T12:47:39
191,941,741
0
0
null
2023-01-04T00:42:28
2019-06-14T12:46:17
Python
UTF-8
Python
false
false
1,013
py
"""teste_4663 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2eed6cbe7833c2dc22fb6919e645226e3da1c782
2ef69211442942a642ea6c31b3b1c275a8300ef0
/dice/util.py
9d834d998be9c0d20c5241cf9abee9ad287394c6
[ "MIT" ]
permissive
starcraftman/diceBot
4afe143c931bc24b103b44b29b9147e71bc306a7
1b2c6e59b054873cd7769670cd04fda3a1234c79
refs/heads/master
2023-04-27T13:51:31.999994
2023-04-13T22:53:07
2023-04-13T23:27:27
118,020,292
4
2
MIT
2019-05-12T00:02:40
2018-01-18T18:16:06
Python
UTF-8
Python
false
false
15,736
py
""" Utility functions, mainly matching now. """ from __future__ import absolute_import, print_function import abc import asyncio import concurrent import contextlib import datetime import functools import logging import logging.handlers import logging.config import math import os import random import re import discord...
[ "unknown3000@gmail.com" ]
unknown3000@gmail.com
1301fc92992b619eab9e563486e8531d6752e6ca
80927b9e432fdd1a6b574205b53bc4f62af9d9b3
/Tests/maniarqu.py
524520663f9ba449b67ff914b7504b2cd5d241d6
[]
no_license
yuri-almeid/DAVE
3a5260c544ba9c81bf435cb7ce033368b2ce76a3
17e1c35f40be4c0fd06774cc36c9caac2535329c
refs/heads/master
2023-06-18T16:22:49.674252
2020-10-06T15:41:56
2020-10-06T15:41:56
276,498,485
2
0
null
null
null
null
UTF-8
Python
false
false
583
py
''' mf = open('tt.txt', 'r') escrito = mf.read() mf.close() print(escrito) while True: add = input('> ') file = open('tt.txt', 'r+') es = file.read() es = es + '\n' + add file.write(es) ler = file.readlines() print(ler) file.close() ''' ''' def addfile(texto): arq = open('tt.txt', ...
[ "yurilima95@gmail.com" ]
yurilima95@gmail.com
23899cd5894327a6050058f4301c4f4df412197c
cb83aac06a80e1390179792366dbfdc81d402e96
/Common.py
defd5da24afe54e2a6887c2648e11eb9356c2c2b
[ "Apache-2.0" ]
permissive
DongDong-123/xintuo_data
aa0614c9531d3c1cb352581eb2fa204e15b3b3cf
3d521634581938898590fcdf129f95c6c2e1dabd
refs/heads/master
2022-12-19T00:49:40.776673
2020-09-28T23:46:47
2020-09-28T23:46:47
289,007,678
0
0
null
null
null
null
UTF-8
Python
false
false
71,282
py
# -*- coding: utf-8 -*- # @Time : 2020-06-24 22:16 # @Author : liudongyang # @FileName: Common.py # @Software: PyCharm # 公共方法 import random import time import redis from redis_data import RedisConnect pool = RedisConnect() from faker import Faker fake = Faker(locale='zh_CN') class CommonFunction: def __init__(...
[ "zisehaiyang04@163.com" ]
zisehaiyang04@163.com
aafe8405d9e92608d629a28938dd874948f1ca3c
45756e9899fc820a0a59b8eb8d18532eb75620ac
/setup.py
ec738bc5e15b3bce64d914385a30daed1b7b0765
[ "Apache-2.0" ]
permissive
jaypipes/vif_plug_linux_bridge
bea8e6409134fdde8cb382c441a6396bdb3b28b8
fa1bb2b8af2cb8df5057a1e4054a32daf4436769
refs/heads/master
2021-01-10T08:54:19.191331
2015-11-12T17:45:05
2015-11-12T17:45:05
46,069,838
0
1
null
null
null
null
UTF-8
Python
false
false
1,178
py
#!/usr/bin/env python # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # 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 # # Unle...
[ "jaypipes@gmail.com" ]
jaypipes@gmail.com
42838bca8551424bcd528af38b697ec577be1945
2eb6d57b4f97fe2ea2cd6ab78512dd2c7a6e6ecc
/chapter7/exercise_3.py
1dc93ef274d652aa8b4932da426652c9150f5c1e
[]
no_license
afcarl/PythonDataStructures
4ba98bca168f535dc9c8ed9392ed313592850101
a620af0a1e0d707556a8883ecb5b79a6f1df56c7
refs/heads/master
2020-03-26T06:26:38.637461
2014-04-26T15:53:46
2014-04-26T15:53:46
144,605,553
1
0
null
2018-08-13T16:26:42
2018-08-13T16:26:42
null
UTF-8
Python
false
false
149
py
prefixes = "JKLMNOPQ" suffix = "ack" for letter in prefixes: if letter == 'O' or letter == 'Q': letter += 'u' print letter + suffix
[ "ericschles@gmail.com" ]
ericschles@gmail.com
92900ba81a9a852aeca4b93e2f947f3770f26cd5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02641/s321531216.py
110e0753a2cb16dcf250f217f77c487a1cd76b04
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
def run(): X, N = [int(v) for v in input().rstrip().split()] p = [] if N > 0: p = [int(v) for v in input().rstrip().split()] i = -1 try: i = p.index(X) except ValueError: pass if i == -1: # not contained return X d1 = {} for k in range(0, 102): d1[k] = k for v in p: del d1[v] l2 = sorted(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7cce705d1a97f268bd2b0eb73334bfc19e68be45
21962ae2b724f4679683dab3f30306f59e6da834
/pylas/compression.py
0fb980a965b6b3eac4683b46ab4b5b506109e0dc
[ "BSD-3-Clause" ]
permissive
GeolearnAI/pylas
7b54178809ee6f7a60525f6ad85ad58385b99310
7a5bbada702d927e4f78d5c2883dcc98f808d831
refs/heads/master
2022-09-18T11:28:45.593005
2020-06-06T12:23:58
2020-06-06T12:23:58
278,429,549
0
0
null
2020-07-09T17:32:31
2020-07-09T17:32:31
null
UTF-8
Python
false
false
6,936
py
""" The functions related to the LAZ format (compressed LAS) Lazperf is made optional by catching the ModuleNotFoundError, and raising an exception when compression/decompression is actually needed There are also functions to use Laszip (meant to be used as a fallback) """ import os import subprocess from enum import ...
[ "thomas.montaigu@laposte.net" ]
thomas.montaigu@laposte.net
b20176e22963676c949d65df2678d9879a66ac41
7e85d5d99f4f70daaccde4a714d756429c113e7d
/OpenCV 4詳解:基於Python 原始碼/learnOpenCV4_Python/chapter3/WarpPolar.py
9b1bb58a0341ab970838dc50361a8c8fea2b84cf
[]
no_license
Edwin-Kevin/Jash-good-idea-20210816-001
e02161f59a03176a3dd617cdbf5f33232414c27e
344c9d980027c26d4781a101b6740c4271b90cef
refs/heads/main
2023-08-04T18:23:46.184967
2021-09-16T07:24:55
2021-09-16T07:24:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
# -*- coding:utf-8 -*- import cv2 as cv import numpy as np import sys if __name__ == '__main__': # 读取图像并判断是否读取成功 img = cv.imread('./images/dial.png') if img is None: print('Failed to read dial.png.') sys.exit() h, w = img.shape[:-1] # 计算极坐标在图像中的原点 center = (w / 2, h / 2) #...
[ "jash.liao@gmail.com" ]
jash.liao@gmail.com
a87add158799e4c906bf18b437615c4b06810900
a9fdace9236af6c73133fd8dddb80843697efc7d
/catalyst/callbacks/metric_aggregation.py
3986a3455a7bafb9c99d010e45d285422e841895
[ "Apache-2.0" ]
permissive
catalyst-team/catalyst
026c38f26dad471cd77347adbc13423b156a5d8b
e99f90655d0efcf22559a46e928f0f98c9807ebf
refs/heads/master
2023-08-26T23:12:49.277005
2022-04-29T04:19:24
2022-04-29T04:19:24
145,385,156
3,038
487
Apache-2.0
2023-08-12T03:40:14
2018-08-20T07:56:13
Python
UTF-8
Python
false
false
8,071
py
from typing import Callable, Dict, List, TYPE_CHECKING, Union import torch from catalyst.core.callback import Callback, CallbackOrder if TYPE_CHECKING: from catalyst.core.runner import IRunner def _sum_aggregation(x): return torch.sum(torch.stack(x)) def _mean_aggregation(x): return torch.mean(torch....
[ "noreply@github.com" ]
catalyst-team.noreply@github.com
f358a5beb99b5d10a334e95bb70df25d1286880f
c24f185c63a5c68ba2397d95888aeddf0c781ffb
/src/pymodaq/daq_utils/parameter/pymodaq_ptypes/bool.py
9cb0d93b8450e47ca0bc75c0ebcb7665618c782c
[ "LicenseRef-scancode-cecill-b-en", "CECILL-B" ]
permissive
cmffly/PyMoDAQ
02deefa80aeb6c630d09bb2ecf628292e176a9d0
190f188df5935db168f4a97a3e004d9917b748dd
refs/heads/master
2023-09-02T00:50:13.350620
2021-11-04T10:05:07
2021-11-04T10:05:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
from qtpy import QtWidgets, QtCore from pyqtgraph.widgets.SpinBox import SpinBox from pyqtgraph.parametertree.parameterTypes.basetypes import WidgetParameterItem, SimpleParameter from pymodaq.daq_utils.plotting.qled import QLED class BoolPushParameterItem(WidgetParameterItem): """Registered parameter type which d...
[ "seba.weber@gmail.com" ]
seba.weber@gmail.com
93aa9e82c89407a3368986a24151a8ce031d798a
7e8fcf142e5192be045263fe886cb0d29d9b69c3
/huaweicloud-sdk-projectman/huaweicloudsdkprojectman/v4/model/list_issue_comments_v4_request.py
66ccc33c1d8cdebdcb655c0c66541adf4e9f9184
[ "Apache-2.0" ]
permissive
bobo123-dev/huaweicloud-sdk-python-v3
97b5bf20e87d2326d561402e634f5d7f9f5e8341
61e2ba5bc5a9dea5cec7001c0f952afb607e2fe5
refs/heads/master
2023-03-10T15:07:16.306615
2021-02-27T10:37:46
2021-02-27T10:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,644
py
# coding: utf-8 import pprint import re import six class ListIssueCommentsV4Request: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and t...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
cfb1fa24545ff35826eb72ed4b6bba13e9e8925c
96190531035790d7fc2e1b208f7c5b12176d6b7e
/arr/max_depth.py
ff57063b9b915c9e3277decbcf46c01029a57289
[]
no_license
hangongzi/leetcode
21d1bad40e5c8cd59738c930c66c675811a15756
ea7543ed1194af04836ee33c14ba4d6e3167504c
refs/heads/main
2023-02-28T18:06:28.269305
2021-02-02T08:12:04
2021-02-02T08:12:04
311,607,984
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
from collections import deque class Solution: def maxDepth(self, s: str) -> int: ret = 0 dequeue = [] for c in s: if c == '(': dequeue.append(c) ret = max(ret, len(dequeue)) elif c == ')': dequeue.pop() return ...
[ "hanjie02@58.com" ]
hanjie02@58.com
3de2f28a010b8fa5b073cc68411023e8125188a8
3ab2626ef0d083da737c19effb0f8d89c1349279
/src/apps/middlewares/urls.py
e4097cfb96afe967646fd1090e25c78006f72553
[ "MIT" ]
permissive
rafaelribeiroo/simpleMiddleware
4da1f573157d1285c3674c6b01f3dd40f32ff862
f1cd3b64e21f1e335af64bc002bd41c6bb79603d
refs/heads/master
2021-04-15T06:10:07.405869
2018-03-21T20:44:52
2018-03-21T20:44:52
126,225,297
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
from django.urls import path from .views import ( home, ) app_name = 'apps.middleware' urlpatterns = [ path('', home, name='homepage'), ]
[ "pereiraribeirorafael@gmail.com" ]
pereiraribeirorafael@gmail.com
5413a907bdd46c901a3fe5af93814ee1f58263e9
6ae8717002f8fce4457cceb3375a114ddcb837df
/1-100/7. Reverse Integer.py
8d5469a4c6648e74ea9c1e7924621e0c7dabadc4
[]
no_license
SunnyMarkLiu/LeetCode
31aea2954d5a84d11a1c4435f760c1d03c6c1243
852fad258f5070c7b93c35252f7404e85e709ea6
refs/heads/master
2020-05-30T07:17:33.992197
2018-03-29T03:57:51
2018-03-29T03:57:51
104,643,862
1
1
null
null
null
null
UTF-8
Python
false
false
1,325
py
#!/home/sunnymarkliu/software/miniconda2/bin/python # _*_ coding: utf-8 _*_ """ 思路1: 循环通过对10取模得到尾部数字,一步步乘10构造新的翻转后的整数即可。然而要注意首先判断结果是否溢出,最后还要判断原数字的正负进行调整。 思路2: 将数字转成字符串, 利用字符串的反转操作实现 @author: MarkLiu @time : 17-11-15 下午6:58 """ class Solution(object): def reverse2(self, x): """ beat 78.62% ...
[ "SunnyMarkLiu101@gmail.com" ]
SunnyMarkLiu101@gmail.com
e60f24bdf5e3cdc57a0b46b2630cf66732e3a293
bbbcf14eefbeec3af980584b5df5906a3cedc633
/convert-gdrive-folder-to-team-drive/convert.py
633cb532c63d37efe12876eb02a6328cb47a4d9d
[]
no_license
fowlerk/epiphany
34131c909adf18da2d7f3272704a6768ad3825bd
8995db58bb1e577f3bf3eb122a80147a653af0ac
refs/heads/master
2023-08-30T22:47:11.434606
2020-11-23T21:49:46
2020-11-23T21:49:46
218,356,477
0
0
null
2023-09-11T03:43:45
2019-10-29T18:31:47
Python
UTF-8
Python
false
false
31,042
py
#!/usr/bin/env python """ NOTE: A lot of this functionality has been subsumed into Google.py and friends. You should be using those modules rather than blindly copying from this file!! NOTE: Much of this file has been subsumed by gxcopy.py. Script to "xcopy" a Google Drive folder to a Team Drive. This scrip...
[ "jeff@squyres.com" ]
jeff@squyres.com
f01060cc3282368260023d6275f9825f289e1fad
eb3a0cb6ac339c9bb6e639369dc853ebce653288
/tensorflow/python/keras/feature_column/sequence_feature_column_test.py
8374aa6f6714b8f78c4b8c10220a4207bacc1988
[ "Apache-2.0" ]
permissive
zpcalan/tensorflow
2e6aab1a8bc7e19a7d0d2e4caffff41fcdca58ff
cc1cd04d8e8bd33c733f9280f16bae5a8eaa23a4
refs/heads/master
2022-11-13T11:22:44.471415
2020-07-09T01:54:00
2020-07-09T01:57:00
278,238,190
1
0
Apache-2.0
2020-07-09T02:02:25
2020-07-09T02:02:24
null
UTF-8
Python
false
false
28,615
py
# Copyright 2018 The TensorFlow Authors. 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
e46745e4253b4b856ef9b4d39b677aa868541adc
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/azure/mgmt/kubernetesconfiguration/operations/_operations.py
a1ef22cadd8f18591079725d34a616451712c986
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
4,107
py
# 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) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
YijunXieMS.noreply@github.com
fc7cf23eadab60ba30be3bad23cb78f32a5b4216
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03437/s883814069.py
b7322e958ca7733756af5752dad8bb857b779ae1
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
X, Y = map(int, input().split()) if X % Y: for i in range(2, 10**9): if X * i % Y: print(X * i) break else: print(-1)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8631c2828eb467a4384608c763ec577947756063
b833638390563eca197e801a5653e8b81873ffe5
/mbi/empresas/migrations/0002_auto_20181127_2316.py
2dbee8a8896047d3d79819c16b6f875445357e50
[]
no_license
avdata99/my-bondi-ia
b0c31838d03cc3d6b36448faeee2a9951631e4e6
4d74db09da7a88dfdbf8770ffdf34ae76ab192fb
refs/heads/master
2022-12-09T22:25:19.643549
2018-12-11T00:38:53
2018-12-11T00:38:53
158,895,760
0
1
null
2022-12-08T01:18:51
2018-11-24T02:31:34
JavaScript
UTF-8
Python
false
false
710
py
# Generated by Django 2.1.3 on 2018-11-27 23:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('empresas', '0001_initial'), ] operations = [ migrations.AddField( model_name='empresa', name='color', fi...
[ "andres@data99.com.ar" ]
andres@data99.com.ar
4996e4ebdb869128e504d2a4226b89d6d98f0f8e
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R4/benchmark/startPyquil461.py
0b8f111842ac0aa248392dd057f967bdb320e062
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
# qubit number=4 # total number=11 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=1 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
4e1c7b16ff1608338ba70939f5fc7828250a6c48
52b5773617a1b972a905de4d692540d26ff74926
/.history/selectionSort_20200731133105.py
0e87186920e272ec6951578d7e369dfa8fddf8d4
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
# sort them in increasing order # search through the list # unsorted list # first item min value = first item # find a min value re assign # search for smallest item # move to first position # def selection(arr): for i in range(len(arr)): minValue = arr[i] minIndex = i for j in rang...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
2d93a5022e63a576d4b9f6df0df90c2e383a709b
f39528e9bad8cfa78b38fcbb7a5b430ac0c7a942
/Disappearing_Tracks/AMSB_chargino_M-400GeV_CTau-100cm_TuneCP5_13TeV_pythia8_cff.py
8729cdafb4fd37d4c08f80d231172832a2032c65
[]
no_license
isildakbora/EXO-MC-REQUESTS
c0e3eb3a49b516476d37aa464c47304df14bed1e
8771e32bbec079de787f7e5f11407e9e7ebe35d8
refs/heads/master
2021-04-12T11:11:03.982564
2019-04-29T15:12:34
2019-04-29T15:12:34
126,622,752
0
0
null
null
null
null
UTF-8
Python
false
false
7,943
py
COM_ENERGY = 13000. MCHI = 400 # GeV CTAU = 1000 # mm CROSS_SECTION = 0.179644 # pb SLHA_TABLE=""" # ISAJET SUSY parameters in SUSY Les Houches Accord 2 format # Created by ISALHA 2.0 Last revision: C. Balazs 21 Apr 2009 Block SPINFO # Program information 1 ISASUGRA from ISAJET # Spectrum Calculat...
[ "bora.isildak@cern.ch" ]
bora.isildak@cern.ch
b8c168697f22ffbc9c1226c9b47eef0dcfec95d1
982209a742c0c6eea432a5549987622a94c87a75
/messageboard/views.py
2f96d3d77ad22feed4b105c7c47ddb9abd211285
[]
no_license
JohnminerIv/bew_1_2_portfolio
69c8677108e5b16732ca0e6897fd66149e0560b9
2af165b731a2be145895233523749907a5d81f5d
refs/heads/master
2021-05-19T19:20:55.340767
2021-04-16T03:29:39
2021-04-16T03:29:39
252,081,016
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
from django.shortcuts import render from django.http import HttpResponse def home(request): return render(request, 'messageboard/home.html')
[ "john.douglas.miner.iv@gmail.com" ]
john.douglas.miner.iv@gmail.com
5801d05470a72428bb9b5d954cbca3895a0201d4
d3bea6a5527ee97dc105437b9e13b744ae5c44bc
/scripts/create_fluseverity_figs/Supp_zOR_CFR_CHR.py
14407e7fe5657b0e8c1980a6942d40b116721026
[ "MIT" ]
permissive
eclee25/flu-SDI-exploratory-age
0f88ebe6e069d63a51971ab5a181d7a090e09f37
2f5a4d97b84d2116e179e85fe334edf4556aa946
refs/heads/master
2021-01-01T17:56:50.364931
2017-09-20T14:44:30
2017-09-20T14:44:30
12,065,866
3
0
null
null
null
null
UTF-8
Python
false
false
9,594
py
#!/usr/bin/python ############################################## ###Python template ###Author: Elizabeth Lee ###Date: 4/27/14 ###Function: plot zOR vs. CFR & proxies (supp figure) ### lab-confirmed hospitalization rates per 100,000 in US population (CDC data) ### proportion of P&I deaths of all-cause mortality vs. IL...
[ "eclee25@gmail.com" ]
eclee25@gmail.com
61b5a406dfe24f76c5ad00912a65460163803ab1
19cec240505e27546cb9b10104ecb16cc2454702
/linux/app/web/python/wikicode/wall/wall/models.py
11d5840901e1b5c4a751a758045d9b66f0aaba86
[]
no_license
imosts/flume
1a9b746c5f080c826c1f316a8008d8ea1b145a89
a17b987c5adaa13befb0fd74ac400c8edbe62ef5
refs/heads/master
2021-01-10T09:43:03.931167
2016-03-09T12:09:53
2016-03-09T12:09:53
53,101,798
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
from django.db import models from django.contrib.w5.models import User import flume.flmos as flmo class WallPost (models.Model): author = models.ForeignKey (User, related_name='wall_author_set') wallowner = models.ForeignKey (User, related_name='wall_owner_set') text = models.CharField (maxlength=200) ...
[ "imosts" ]
imosts
bf7d26a6d1000ac9001110642ddd8605986966d5
863004d604ecdc533fa1f1d92565301bc09da671
/foldkin/coop/__init__.py
a235b101f44646390057cb74d10fc46e0a1f12da
[]
no_license
grollins/foldkin
86a2178b66061d2965f20492c998146bde54d663
b743e14e41f69da258cbf1f432a93c97b8e116eb
refs/heads/master
2020-05-28T09:06:31.907111
2013-06-12T04:53:27
2013-06-12T04:53:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from coop_collection import * from coop_model_parameter_set import * from coop_model import *
[ "grollins@gmail.com" ]
grollins@gmail.com
979a2223720be03f1e735359c0e6bf31243c79c2
034480183922123b46bd7c2c0d915e0403826c29
/meta.py
9bfe7369f4f23027275667bf1dfa100b264aad6b
[]
no_license
saxifrage/caac-map
a9cda07151fdf0628a76fa7b0e306a2390950ff2
8ba072a101400cee561c4ab781a279de136f5fd0
refs/heads/master
2021-01-15T09:29:57.138124
2015-11-02T15:29:51
2015-11-02T15:29:51
38,393,478
0
1
null
2015-11-02T15:29:51
2015-07-01T20:29:27
Python
UTF-8
Python
false
false
855
py
#!/usr/bin/env python from __future__ import absolute_import, division, print_function, unicode_literals import os from subprocess import PIPE, Popen ntries = 10000 outputs = set() for i in range(ntries): print("\rTries: {:,} / {:,} ({:.1f}%)".format(i, ntries, i / ntries), end='') p = Popen( 'python genmap.p...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
26594459451500be0c12e5ff08042a3647b0aef0
578db86c51d44ebddd0dc7b1738985b3dc69eb74
/corehq/apps/sms/management/commands/backfill_sms_subevent_date.py
42e5409a66d8e7707ae93f77ed4f0145a26b1b34
[ "BSD-3-Clause" ]
permissive
dimagi/commcare-hq
a43c7dd32b5f89c89fd5aa1b1359ab7301f4ff6b
e7391ddae1af1dbf118211ecb52c83fc508aa656
refs/heads/master
2023-08-16T22:38:27.853437
2023-08-16T19:07:19
2023-08-16T19:07:19
247,278
499
203
BSD-3-Clause
2023-09-14T19:03:24
2009-07-09T17:00:07
Python
UTF-8
Python
false
false
7,947
py
from django.core.management.base import BaseCommand from django.db import connections, transaction from corehq.apps.domain_migration_flags.api import ( ALL_DOMAINS, get_migration_status, set_migration_complete, set_migration_started, ) from corehq.apps.domain_migration_flags.exceptions import ( Dom...
[ "skelly@dimagi.com" ]
skelly@dimagi.com
88572e7c24da43ab34cb99903c1c7ccaf38a1b9f
4f81f0183e0bb7e58e41b498555e23c65278b97f
/caffe/img-det/faster-rcnn/test/test2predict/lib/roi_data_layer/minibatch.py
262c5b18b46f87e416eb1b3b0e4e8f76f5730a61
[]
no_license
likelyzhao/QPCM-toolbox
9c2a1df5e6eaa486cd1e813824213d973ba28792
e216718280e35aa6533dc5e03c115b7ba673bbdc
refs/heads/master
2020-04-14T19:15:48.887732
2019-01-17T07:11:46
2019-01-17T07:11:46
164,051,714
0
1
null
2019-01-04T03:12:58
2019-01-04T03:12:57
null
UTF-8
Python
false
false
8,770
py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- """Compute minibatch blobs for training a Fast R-CNN network.""" impor...
[ "zxt881108@users.noreply.github.com" ]
zxt881108@users.noreply.github.com
029bfa2a4dc4845269e859d19d8757305c6dabfc
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_23983.py
2eef24968661d45382964b7d433065081b54b7c1
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,844
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
baaaaea0bea755faac758db929efb0a38cfe54b8
00af09f4ac6f98203910d86c3791c152184ace9a
/Lib/heapq.py
eaac3f86bb3433626eae39102227866d32020c4f
[]
no_license
orf53975/CarnosOS
621d641df02d742a2452fde2f28a28c74b32695a
d06849064e4e9f30ef901ad8cf90960e1bec0805
refs/heads/master
2023-03-24T08:06:48.274566
2017-01-05T16:41:01
2017-01-05T16:41:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
54,131
py
<<<<<<< HEAD <<<<<<< HEAD """Heap queue algorithm (a.k.a. priority queue). Heaps are arrays for which a[k] <= a[2*k+1] and a[k] <= a[2*k+2] for all k, counting elements from 0. For the sake of comparison, non-existing elements are considered to be infinite. The interesting property of a heap is that a[0] is always i...
[ "Weldon@athletech.org" ]
Weldon@athletech.org
1ff3a52cd5a2d98efd3c3fc21acccf0952776469
5e3ebc83bc3fe2f85c34563689b82b1fc8b93a04
/google/ads/googleads/v5/enums/types/response_content_type.py
484ec435fc4d8b41d0cf458c336a5455e038465d
[ "Apache-2.0" ]
permissive
pdsing/google-ads-python
0ce70227cd6bb13a25cd13de0ca05c2636279ecd
ee2c059498d5679a0d1d9011f3795324439fad7c
refs/heads/master
2023-05-04T18:39:57.412453
2021-05-21T16:38:17
2021-05-21T16:38:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
# -*- coding: utf-8 -*- # Copyright 2020 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 o...
[ "noreply@github.com" ]
pdsing.noreply@github.com
7b364f84c9f1f7b46fdbd0b1b0d5fea3c1a5d5da
eb4f26191cf8bc5c0a3c969cf5883af348aaa52d
/findError/findError.py
2b335f8586bcfa3e03535d27dd9b2f42651c4936
[ "MIT" ]
permissive
Hanlen520/Small_Tool
bbca3d6569644a2c51422fd10aed420e186adbfb
42e4b685290e16cd143807a4e3fa8d627d9b0489
refs/heads/master
2022-06-03T11:04:41.853407
2020-05-05T08:10:28
2020-05-05T08:10:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Author: leeyoshinari import glob import difflib class FindError(object): def __init__(self): self.threshold = 0.9 # The similarity of two error messages. self.result = 'result.txt' # Save error self.errors = [] self.writer = open(self.result...
[ "lee_jc@outlook.com" ]
lee_jc@outlook.com
1dcd57df02566d560205af1d906cdc87244ee908
5063faf298a36466cdb90f1cbd0a4f4e855b5d3b
/test/test_payment_method_enum.py
be055b54d7e2862895e59a76322473e41530daf3
[]
no_license
pollination/python-sdk
d4eb4efbcbe3a76cc170cf8e71ad5bc6ca6c3011
e4a94b236534658b150961795256224fe8dd93c2
refs/heads/master
2023-08-04T15:19:29.126613
2022-03-06T10:43:21
2022-03-06T10:51:08
224,588,062
3
1
null
2023-09-05T20:52:35
2019-11-28T06:48:40
Python
UTF-8
Python
false
false
1,395
py
# coding: utf-8 """ pollination-server Pollination Server OpenAPI Definition # noqa: E501 The version of the OpenAPI document: 0.27.0 Contact: info@pollination.cloud Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import...
[ "antoinedao1@gmail.com" ]
antoinedao1@gmail.com
8f960edd5ab3eb938dc437153af31716bb98af9b
d619e5d6ba2504e4c2c6c7b5cd4acea26350a302
/analysis_docx_flag.py
138185e39ed56c62c49a08b867cad307e217b88e
[]
no_license
cgq0816/Analysis-docx
0bf297865b472ac262b63f97f16ef6643dd1ab8b
666e797d47a15c92af2767aaebed61be427c6b33
refs/heads/master
2022-11-15T13:03:38.769261
2020-07-10T07:49:19
2020-07-10T07:49:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,739
py
# coding:utf-8 import os, re import docx from docx.document import Document as dc from docx.oxml.table import CT_Tbl from docx.oxml.text.paragraph import CT_P from docx.table import _Cell, Table from docx.text.paragraph import Paragraph from docx.shared import RGBColor # 设置字体颜色 from docx import Document from docx.shar...
[ "1372864243@qq.com" ]
1372864243@qq.com
6f99be0ef24ae3cf3b130d006f6fd9f5344d699d
cc0fdd70758c113945785b737ee485b0bf3ddd46
/env/bin/chardetect
73e59467809757fc3acfc0eaf18a3f493b9fdb67
[]
no_license
Aitodev/asiahomeshopdjango
c4481fe8a330a0edbe32fff15f93d69c1f4af725
2c362870976dbade5e6db60cc23de77e281e485b
refs/heads/main
2022-12-28T04:05:57.573948
2020-10-11T15:39:42
2020-10-11T15:39:42
289,898,817
0
0
null
null
null
null
UTF-8
Python
false
false
289
#!/home/aitodev/Documents/asiaproject/django/asiahomeshop/asiahomeshop/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "guruitcompany@gmail.com" ]
guruitcompany@gmail.com
15832f567cf78045537b48c436643c3547987248
e67a488cdc20749be02f89c7176ca4235f33db61
/venv/Scripts/easy_install-script.py
f55809566ac6fd97de0ffe1404714f93ab8b6053
[]
no_license
jpisano99/ProofOfWork
31f835f34adc53e5541e78f1a761abea382b808b
f4aa0d5edfe5ad8883fa45c942e5678f1bdc8eb5
refs/heads/master
2021-09-04T04:07:19.371297
2018-01-15T17:31:07
2018-01-15T17:31:07
117,572,667
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
#!C:\Users\jpisano\PycharmProjects\ProofOfWork\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install' __requires__ = 'setuptools==28.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "jpisano@cisco.com" ]
jpisano@cisco.com
c2fb91ea2182fcb3bc1cee483479a7a873b23348
71d56abe0778df72b158bb7304051bd92954add4
/modeltrans/management/commands/i18n_makemigrations.py
3614ecc1207f0ee18d47aca32a2bc960773e3e9c
[ "BSD-3-Clause" ]
permissive
bulatshafigullin/django-modeltrans
93a589fe68994148d8275d9d3e507c7c3c9f7bd0
f6dec3f6cde532349d48a49a8229b5caed07d4d0
refs/heads/master
2021-01-21T10:41:39.365428
2017-05-18T15:01:28
2017-05-18T15:01:28
91,704,661
0
0
null
2017-05-18T14:42:05
2017-05-18T14:42:05
null
UTF-8
Python
false
false
1,459
py
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals from collections import defaultdict from django.core.management.base import BaseCommand class Command(BaseCommand): help = 'Creates the datamigration the specified app' def add_arguments(self, parser): parser.add_argume...
[ "jieter@jieter.nl" ]
jieter@jieter.nl
8a7bfefc240edbbdc85b995068598f069be64b5b
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/42912021.py
082e29f9f8e6beddd4abaea633ab1307dceff799
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
2,017
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/42912021.py generated: Wed, 25 Jan 2017 15:25:24 # # Event Type: 42912021 # # ASCII decay Descriptor: pp -> ( WR- -> ( mu- (nu_Rmu -> mu- jet ) ) ) # from Gaudi.Configuration import * importOptions( "$DECFILESROOT/options/WRmuHeavyN.py" ) from Configur...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
a0f7bc32d775db8c6f684065456d4c9f76b0aa16
7c22f5fcace1a05390616c722997b9a046aeb09f
/tests/test_wire.py
80b1ac3816c24d854a27006acdaf9d48a14235c3
[]
no_license
cloudbase1/pynetworktables
0825f4adcfc6f246622def804b5c465c3dc796dd
f76e294caf7bd2dad05032e7086508a4194980f5
refs/heads/master
2020-04-06T16:05:11.127614
2018-09-10T00:59:41
2018-09-10T00:59:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,555
py
# # These tests are adapted from ntcore's test suite # from __future__ import print_function from io import BytesIO import pytest from ntcore.support.compat import PY2 from ntcore.message import Message, MessageType from ntcore.value import Value from ntcore.tcpsockets.tcp_stream import TCPStream, StreamEOF from n...
[ "dustin@virtualroadside.com" ]
dustin@virtualroadside.com
e9926ae049ae1ca9b261ae650bf41544e9e0b50e
0f16edb46a48f9b5a125abb56fc0545ede1d65aa
/gmn/src/d1_gmn/app/model_util.py
d918a76427114aa14a2f15c3a5e5accd3758f460
[ "Apache-2.0" ]
permissive
DataONEorg/d1_python
5e685f1af0c356190f2d6df45d1ac849e2f56972
d72a9461894d9be7d71178fb7310101b8ef9066a
refs/heads/master
2023-08-29T03:16:38.131760
2023-06-27T21:59:37
2023-06-27T21:59:37
60,103,877
15
12
Apache-2.0
2023-09-06T18:27:53
2016-05-31T16:01:00
Python
UTF-8
Python
false
false
3,763
py
# This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (the "License"); # you ma...
[ "git@dahlsys.com" ]
git@dahlsys.com
dfbe20d62efd1cf6a779a6d520859e04211676f1
04b1803adb6653ecb7cb827c4f4aa616afacf629
/chrome/browser/resources/media_router/extension/concat_js_modules.py
2dda378d27142fb560a7c85caa49f261a4901364
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
2,785
py
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """This script concatenates JS files into a set of output files. Modules are specified as a list of strings of the form module=<name>:<num>[:...], where <na...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
c8f11f8378e510a12a29625ace44672768c4e7ec
497a0c4fb405196306cc20059c06331e680fd9f7
/flask_tinyauth/authorize.py
ea9424562ee7cf412d5c5343dba8f540dbebfb89
[]
no_license
tinyauth/flask_tinyauth
5258e0e960b3f83e5b590eda1bd81d164eab9986
30b8a0458ff308305e1caedd1551d2e07220ac08
refs/heads/master
2021-09-04T03:24:37.055141
2018-01-15T08:47:24
2018-01-15T08:47:24
117,271,043
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
import datetime from flask import abort, current_app, jsonify, make_response, request, url_for from . import api, exceptions, redirect def authorize(permission, resource_class=None, resource='', ctx=None): if current_app.config.get('TINYAUTH_BYPASS', False): return { 'Authorized': True, ...
[ "john.carr@unrouted.co.uk" ]
john.carr@unrouted.co.uk
783d2f0fd73861fe473b856e86a60f3aaffe976c
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/b5h.py
095ecab961aaff0a512493929b4e65e544fa0daf
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
49582162799de0ddef8bdbedabfb25acee9214a8
89b2f5b08c441d4af0a63ed2ec1a5889bc92f0f7
/Python advanced 2020/PB_advanced_exam_preparation/Exercise_Error_Handling/Numbers_Dictionary.py
2d7358c11e92a8647c0eafa213856c43feec4764
[]
no_license
KoliosterNikolayIliev/Softuni_education
68d7ded9564861f2bbf1bef0dab9ba4a788aa8dd
18f1572d81ad9eb7edd04300deb8c81bde05d76b
refs/heads/master
2023-07-18T09:29:36.139360
2021-08-27T15:04:38
2021-08-27T15:04:38
291,744,823
0
0
null
null
null
null
UTF-8
Python
false
false
744
py
numbers_dictionary = {} line = input() try: while line != "Search": number_as_string = line number = int(input()) numbers_dictionary[number_as_string] = number line = input() # Missing in original code ! line = input() while line != "Remove": searched = line ...
[ "65191727+KoliosterNikolayIliev@users.noreply.github.com" ]
65191727+KoliosterNikolayIliev@users.noreply.github.com
524b3e21fbbb4c3cdf1cbf58a90a881dcd4bed52
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2504/59018/266213.py
17e140bb92f1be4a4accaa8bb99231ec6975e99b
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
225
py
import collections a=eval(input()) K=int(input()) d=collections.defaultdict(list) print(d) for i in range(len(a)): ins=a[i][0]*a[i][0]+a[i][1]*a[i][1] d[ins].append(a[i]) print(d) print(d.items()[0])
[ "1069583789@qq.com" ]
1069583789@qq.com
e84b2a547d3e96433bfa2351ad69553ef9336fe5
4c205c4dce6de98f7afbdac6d90a464993d8b6ae
/app/tabulae/settings/common.py
d3be0e683eac8a40eaa67d44a72491eb1af6f071
[]
no_license
news-ai/tabulae-v2
17483b25dfe6792f1a500babea43e9376018e90b
36f663238b10d54ad0d4dc699a0c0c86ad741001
refs/heads/master
2023-01-06T00:19:43.773284
2018-07-06T20:54:47
2018-07-06T20:54:47
106,761,032
0
0
null
2022-12-26T20:15:12
2017-10-13T01:01:02
Python
UTF-8
Python
false
false
6,789
py
# -*- coding: utf-8 -*- # Stdlib imports import datetime import os from logging.handlers import SysLogHandler # Third-party app imports from kombu import Queue # Imports from app import secrets BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = '*+j6z(8wbsfon8x^mv56d4xmg8*nx-4grs1)^u...
[ "abhi@younow.com" ]
abhi@younow.com
e53e1acc854f408ef210f14e48717356067a99c6
5a7243c551c1ef243892a9dce7a8e852521e9f4c
/train_segnet.py
80e383e5039b78b03c7570c1e645464fae6c13a6
[]
no_license
make-j64/Mobile_Portrait_Matting_PyTorch
8ea9a907f00b2e09201a77f13c2d51f2cf867094
51443aa4f257e0f4c68ff4103313d18e458f3f26
refs/heads/master
2022-02-15T13:09:16.705815
2019-08-30T02:59:33
2019-08-30T02:59:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,486
py
import os from glob import glob import torch import matplotlib.pyplot as plt import numpy as np from nets.segnet import SegNet from loss import dice_loss, CrossEntropyLoss2d, iou_softmax_loss, fusion_softmax_loss class Trainer: def __init__(self, config, dataloader): self.batch_size = config.batch_size ...
[ "vincentcheng929@gmail.com" ]
vincentcheng929@gmail.com
176fed529e1f457f29cc5cecfa92be7ecf119d8b
8698757521458c2061494258886e5d3cdfa6ff11
/core/TwoDimPCALatentVariablesHook.py
b5859ceacf90f7661b33500df9d8f4f550045401
[ "MIT" ]
permissive
ricvo/argo
546c91e84d618c4bc1bb79a6bc7cba01dca56d57
a10c33346803239db8a64c104db7f22ec4e05bef
refs/heads/master
2023-02-25T01:45:26.412280
2020-07-05T22:55:35
2020-07-05T22:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,635
py
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec import tensorflow as tf # from tensorflow import logging as tf_logging from argo.core.argoLogging import get_logger tf_logging = get_logger() from argo.core.utils.argo_utils import create_concat_opts impor...
[ "volpi@rist.ro" ]
volpi@rist.ro
23d8ea8ab91a9f91c27169e5cb734e49884dcfcf
a2f6e449e6ec6bf54dda5e4bef82ba75e7af262c
/venv/Lib/site-packages/pandas/tests/series/methods/test_astype.py
6acbc5ccb8d3445778a45f739f1b7be962183bd5
[]
no_license
mylonabusiness28/Final-Year-Project-
e4b79ccce6c19a371cac63c7a4ff431d6e26e38f
68455795be7902b4032ee1f145258232212cc639
refs/heads/main
2023-07-08T21:43:49.300370
2021-06-05T12:34:16
2021-06-05T12:34:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:3e0ac1c8d6a09805f8c6120c3911ba722eae860093f2b39c2ed84a68d7d9322b size 15477
[ "chuksajeh1@gmail.com" ]
chuksajeh1@gmail.com
335342beb9b31563b1c74a7192f88fe681b4df55
86c2346aab87550bf900979c4299e83893855e1c
/examples/requests_simpletest.py
36d2b287dddccd3a7ecbb7afc61d0af7af6128ef
[ "MIT" ]
permissive
tannewt/Adafruit_CircuitPython_Requests
c1afa9f6868f63fb99e332be696677c679ebe1d9
9d758320c867d397b52cd1badfba2cc37c340840
refs/heads/master
2021-07-19T16:14:38.254608
2020-01-25T21:30:25
2020-01-25T21:30:25
238,348,111
1
0
MIT
2020-02-05T02:03:48
2020-02-05T02:03:47
null
UTF-8
Python
false
false
2,261
py
# adafruit_requests usage with an esp32spi_socket import board import busio from digitalio import DigitalInOut import adafruit_esp32spi.adafruit_esp32spi_socket as socket from adafruit_esp32spi import adafruit_esp32spi import adafruit_requests as requests # If you are using a board with pre-defined ESP32 Pins: esp32_c...
[ "robots199@me.com" ]
robots199@me.com
ec696fe626ab3e2eede79f58c2ffc2d21cc4cd95
f34e34e4a1fc4b606781633370ff5b9493446b89
/HackerRank/Problems/HR Python Finding a string.py
492d3824abec45d8b05b4d737f2249d6f7883e65
[]
no_license
YeasirArafatRatul/problem_solving
b44deddb63dc9ff5ec285e03c13720523473906d
98267865a90483489f792bdb448319dbf0cc9a81
refs/heads/master
2023-02-13T17:59:35.863750
2021-01-05T04:01:13
2021-01-05T04:01:13
219,266,174
1
0
null
null
null
null
UTF-8
Python
false
false
453
py
def count_substring(string, sub_string): count = 0 for n in range (len(string),0,-1): try : index_of_str = n - len(sub_string) if string[index_of_str:n] == sub_string: count +=1 except IndexError : break return count if __name__ == '__main__':...
[ "yeasirarafat.ratul@gmail.com" ]
yeasirarafat.ratul@gmail.com
6a0dbac82687519b3c6378e2817ad0ca83ae2e87
b01a7fe9ab12800250f3f770a2c7c3970f4124f0
/preprocess/tag_convertor.py
b9683c5bbe07d02e7b14e4a08acb11dcabb2ee5e
[]
no_license
dugu9sword/LEMON
4007273c3a1ed3961e838e6f11982f6653dc184f
6e7fb68ab561b75dbb921402fd28d7e84703f493
refs/heads/master
2020-04-11T08:04:31.284745
2019-12-19T17:26:21
2019-12-19T17:26:21
161,631,196
7
0
null
null
null
null
UTF-8
Python
false
false
5,425
py
# -*- coding: utf-8 -*- # @Author: Jie Yang # @Date: 2017-11-27 16:53:36 # @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com # @Last Modified time: 2019-01-09 21:39:10 """ convert NER/Chunking tag schemes, i.e. BIO->BIOES, BIOES->BIO, IOB->BIO, IOB->BIOES """ from __future__ import print_function i...
[ "dugu9sword@163.com" ]
dugu9sword@163.com
f522945f277dea22afffc426a3bba49638b02e0d
e987cd566edc75997f9b02377514d4f3a0dba12c
/sys/src/Python/bin/pown.py
5ae84a21551aa505d23116c9d498a7535a537886
[]
no_license
7u83/maxdb-buildtools
f942adff2cd55d0a046b6ef3e18f6645b011a26e
ce9a56943f6195d6755e983035aa96cbe95e6cb2
refs/heads/master
2020-05-04T18:23:30.849371
2015-02-15T19:25:49
2015-02-15T19:25:49
30,428,297
1
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
#!/usr/bin/env python # pown.py # # ========== licence begin GPL # Copyright (C) 2001 SAP AG # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the Licens...
[ "7u83@mail.ru" ]
7u83@mail.ru
9110c0011d528d88be1a8a7dfb499d81f1fa1a81
efde71fc3e296804a9e5cb6bc2ab48ad575b7faa
/applications/sms_ussd/migrations/0016_sim_sms_ussd.py
5f6276cc0e3d254c4102d09144166b93d2d7866c
[]
no_license
denispan1993/vitaliy
597cb546c9d1a14d7abc2931eb71fab38b878ec4
764d703ffc285f13a9f05e4c197bc75b495b5ff7
refs/heads/master
2021-04-29T21:54:45.095807
2018-02-10T19:05:23
2018-02-10T19:05:23
121,627,169
0
0
null
null
null
null
UTF-8
Python
false
false
10,914
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('sms_ussd', '0015_auto_20161230_1923'), ...
[ "alex.starov@gmail.com" ]
alex.starov@gmail.com
e9928955cbcb046736baf33265a3e0b580e8d5f8
5864e86954a221d52d4fa83a607c71bacf201c5a
/eveNewCommands/client/abstractEscapeCommandAdaptor.py
f5ea5f9c465debfcdedaa7fc195ce3b65ad4f2be
[]
no_license
connoryang/1v1dec
e9a2303a01e5a26bf14159112b112be81a6560fd
404f2cebf13b311e754d45206008918881496370
refs/heads/master
2021-05-04T02:34:59.627529
2016-10-19T08:56:26
2016-10-19T08:56:26
71,334,417
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\eveNewCommands\client\abstractEscapeCommandAdaptor.py class AbstractEscapeCommandAdapter(object): def IsDisconnectNoticeDisplayed(self): return False def HasCancellableModal(self): return False ...
[ "le02005@163.com" ]
le02005@163.com
af527daa3f6f5572e63cbfef5afbf79cda93696c
e944d912def98d7546d17c4303169f52517348ca
/beginners/03_collections/01_lists/05_common_operations_on_list.py
2e824426bbf83135b067cc872befdac6a65d9d76
[]
no_license
balajich/python-crash-course
0710854de3cd04695f969cbfe774ef336f707f48
e62b578f7dc93f6a47fbae00dac2d496b985fe8d
refs/heads/master
2021-07-30T16:00:45.392119
2021-07-29T11:41:49
2021-07-29T11:41:49
192,034,679
9
0
null
null
null
null
UTF-8
Python
false
false
470
py
''' Common operations on lists ''' if __name__ == "__main__": # Create list l = [1, 2, 3] print(l) # Append element last in list l.append(4) print(l) # Update first element in list l[0] = 0 print(l) # delete first element in list del l[0] print(l) # Concatenate l...
[ "balaji.chopparapu@gmail.com" ]
balaji.chopparapu@gmail.com
f2238e04f787919e7fd4a78a97c1f589ce23e75b
9ea8e87b66d2d0b24458b7e13ee597eebf6cdf88
/bobs_cars/bobs_cars/__init__.py
16c1fab5981f70266d63a3b597d58d571f257434
[]
no_license
codefellows/used_cars
ad1be2d27c4470538994a50fe0dae846e9f34739
364333fea6cd9a49063e024392ff4f6e9678323f
refs/heads/master
2021-01-25T04:26:41.021190
2017-06-06T01:33:22
2017-06-06T01:33:22
93,440,180
0
1
null
2017-06-06T01:33:23
2017-06-05T19:44:49
Python
UTF-8
Python
false
false
413
py
from pyramid.config import Configurator import os def main(global_config, **settings): """ This function returns a Pyramid WSGI application. """ settings['sqlalchemy.url'] = os.environ.get('DATABASE_URL') config = Configurator(settings=settings) config.include('pyramid_jinja2') config.include(...
[ "nhuntwalker@gmail.com" ]
nhuntwalker@gmail.com
c95e4358ac225cd66c34e17d9c35080188d21675
830398bc5ae951b153ff695a40be7239742bc73e
/exercises/18_db/create_sqlite_ver1.py
4a56d3e73f5ff94c8e425be64845d82a679cfd34
[]
no_license
dmikos/pyneng
ff67f1d617a97d73103a7785a7bf86140e7baa82
543fb0d9fc63a2afee45d2465af3a4c3966e4a86
refs/heads/master
2021-01-25T14:56:44.181140
2018-04-23T04:31:00
2018-04-23T04:31:00
123,739,447
0
1
null
null
null
null
UTF-8
Python
false
false
218
py
import sqlite3 conn = sqlite3.connect('dhcp_snooping.db') print('Creating schema...') with open('dhcp_snooping_schema.sql', 'r') as f: schema = f.read() conn.executescript(schema) print('Done') conn.close()
[ "dkostinov@gmail.com" ]
dkostinov@gmail.com
0b73cbc46170659f2b7b422deecac2bba97454bd
ddfe823367c705978020a65e331191f6b5bdf539
/HELLOAI2/day41sul/mydao_sreply.py
7d582b60eb0f6b7c77c6cfab542a280654e405fc
[]
no_license
shywj05/HelloAI2
e0148dea1fe7ce6f9043fddf4aa6c75b13dba4c5
4b3da59bd8c19accbc1fcbec2f948116dd58c7c3
refs/heads/master
2023-06-29T07:02:02.828379
2021-08-03T00:48:59
2021-08-03T00:48:59
392,138,770
0
0
null
null
null
null
UTF-8
Python
false
false
2,595
py
import cx_Oracle import mybatis_mapper2sql from day41sul.mylog import MyLog class MyDaoSreply: def __init__(self): self.conn = cx_Oracle.connect('python/python@localhost:1521/xe') self.cs = self.conn.cursor() self.mapper = mybatis_mapper2sql.create_mapper(xml='mybatis_sreply.xml')[0] ...
[ "shywj05@gmail.com" ]
shywj05@gmail.com
f8a622b49bcfb5b0a738ddf2257ef78d401528a0
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/ldpLabelAbortRequest_template.py
3df7344da8e61423dd96186029928bbde4a31e75
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
14,562
py
from ixnetwork_restpy.base import Base from ixnetwork_restpy.files import Files class LdpLabelAbortRequest(Base): __slots__ = () _SDM_NAME = 'ldpLabelAbortRequest' _SDM_ATT_MAP = { 'HeaderVersion': 'ldpLabelAbortRequest.header.version-1', 'HeaderPduLengthinOctets': 'ldpLabelAbortR...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
5987bcfe03ae70cab78e88b8c9b24580a1d45b51
7f37e5485cf6140ffad3cd75e1549c3b31ba0758
/afvink4/venv/Lib/site-packages/bio/SearchIO/ExonerateIO/exonerate_vulgar.py
39270fa14477bd036e1c10d71088a7b63fbecde1
[]
no_license
sannepost2001/blok4
dfd3e760fcec4b4e550d12fc16058234ddcf4999
28e3625ca8d60dac6684f5dec85f9757b64d5bdb
refs/heads/master
2023-05-12T12:51:16.243769
2019-06-11T12:50:07
2019-06-11T12:50:07
185,570,784
0
0
null
2023-05-01T20:34:22
2019-05-08T09:05:18
Python
UTF-8
Python
false
false
8,291
py
# Copyright 2012 by Wibowo Arindrarto. All rights reserved. # This file is part of the Biopython distribution and governed by your # choice of the "Biopython License Agreement" or the "BSD 3-Clause License". # Please see the LICENSE file that should have been included as part of this # package. """Bio.SearchIO parser ...
[ "43266412+sannepost2001@users.noreply.github.com" ]
43266412+sannepost2001@users.noreply.github.com
e1c2ae10237dcd49647e22c96dd2c8efde40735b
eba3e4a3935d6422d1ed85aaf69337f5ba15fc74
/sqlalchemy60/lib/sqlalchemy/topological.py
306cdfc9005e32d6662660f11f88cedd5ee7abfe
[ "MIT" ]
permissive
arianepaola/tg2jython
2ae74250ca43b021323ef0951a9763712c2eb3d6
971b9c3eb8ca941d1797bb4b458f275bdca5a2cb
refs/heads/master
2021-01-21T12:07:48.815690
2009-03-27T02:38:11
2009-03-27T02:38:11
160,242
1
0
null
null
null
null
UTF-8
Python
false
false
11,377
py
# topological.py # Copyright (C) 2005, 2006, 2007, 2008, 2009 Michael Bayer mike_mp@zzzcomputing.com # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Topological sorting algorithms. The topological sort is an algorithm that receives t...
[ "arianepaola@gmail.com" ]
arianepaola@gmail.com
25346a7e1f9d0221f78c0ce0892e38a785172ad8
00e14f5fc43e03b11ef162b60a606f6c6eedaf95
/utils/reCalcHoleGrid.py
2052d5539c1cc857f30c35f7a5eccf5aa1db9162
[]
no_license
yanqinghao/AiLab-Grid-Model
863c63c6fef4ba2eff1852986eb682836dc983d1
5b5df68c2c63f1cd2f6cc020cb3d8d350bf82224
refs/heads/master
2023-08-03T08:18:00.128478
2019-09-30T03:35:22
2019-09-30T03:35:22
211,257,202
0
0
null
2023-07-22T17:18:57
2019-09-27T07:05:04
Python
UTF-8
Python
false
false
659
py
# coding: utf-8 from utils import * import sys import json ''' def reCalcHoleGrid(png_path, json_path, flag, rectangle=[], points=[]): :param png_path: 原来的png图片位置 :param json_path: json文件位置 :param rectangle: [左上height, 左上width, 右下height, 右下width] :param flag: true 为添加, false 为删除 :parma points: 折线...
[ "woshiyanqinghao@gmail.com" ]
woshiyanqinghao@gmail.com
19b40cd14d92da3c8c25b5340c1cd3506d0d2240
d20374c9dde29e949f79d08aaabc44351f3de018
/web_22_sept_dev_11499/wsgi.py
a25aeb87f561c83f0f697fe8821bc240e5115679
[]
no_license
crowdbotics-apps/web-22-sept-dev-11499
2bb7da48a4d521abb28d2f1377bfe8e0bcaf212d
0d17cdafb6b30c6f19136867ea4a0c9380281c07
refs/heads/master
2022-12-22T21:34:23.706768
2020-09-22T11:12:33
2020-09-22T11:12:33
297,618,429
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
""" WSGI config for web_22_sept_dev_11499 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5de617ae10dcb84593b163719fb5a99bd076e572
cd49cff14997874146343c62f7ed805f537d25dd
/mendao_zhang/write_row.py
30e993ee8bffb88aac90c859ed632a39b8969749
[]
no_license
guoyunfei0603/lemon11
227f31d96a324d262a27f5fb1c98b9ee32576eb8
66d2d12b868c8a1ff91d83bc6ec9e75430a745da
refs/heads/master
2022-06-20T20:43:59.218270
2020-05-12T14:52:26
2020-05-12T14:52:26
259,608,755
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
import xlwt wb = xlwt.Workbook()
[ "1359239107@qq.com" ]
1359239107@qq.com
b6a70d24ccfc10912e2db89b02b87d9585d04065
e57d7785276053332c633b57f6925c90ad660580
/sdk/textanalytics/azure-ai-textanalytics/samples/sample_alternative_document_input.py
1131c77d3d6efb8ca5b4950506dc77cbe36faf74
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
2,445
py
# 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. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
4d6da4a6e35eed9b9dfb6630a381f253a1dcb576
d0253b3d7da4cb95c252c70f6ae584880e7b082a
/params/db_init.py
6d0d6233fed91751d807e8b2b973423542c3140c
[ "MIT" ]
permissive
phillipdupuis/mbta-api-playground
77919d5c69f3fbbf1ab240586e524431f21162f1
de59be1be917aa973abf5c4c59d6360a23048520
refs/heads/master
2022-12-08T06:52:22.929925
2019-10-18T15:22:15
2019-10-18T15:22:15
207,819,420
2
1
MIT
2022-12-08T06:09:21
2019-09-11T13:28:31
Python
UTF-8
Python
false
false
5,961
py
from .models import MbtaObject, MbtaInclude, MbtaFilter, MbtaAttribute import requests def main(): if db_is_initialized(): print('DataBase is already initialized') else: print('Initializing the DataBase') init_MbtaObject() init_MbtaInclude() init_MbtaFilter() in...
[ "phillip_dupuis@alumni.brown.edu" ]
phillip_dupuis@alumni.brown.edu
7978d6edfab5930ffc6be0a303dbb451d16c10a5
8a8e97a8aceb86b6f0061d67d4bb8c07ecbddec5
/Programmers/Python/나누어 떨어지는 숫자 배열.py
cc7344f49227d85137b96848cf5a74196b8fbb69
[]
no_license
kyungsubbb/Coding-Test
0121f3c35c1ce1854bffd113fc93435edcb17024
54d934c83321bdb3fa3440f0142c64eba508300f
refs/heads/master
2023-04-10T14:00:27.811767
2021-04-29T13:41:05
2021-04-29T13:41:05
301,726,338
1
0
null
null
null
null
UTF-8
Python
false
false
206
py
def solution(arr, divisor): answer = [] for i in arr : if i%divisor == 0: answer.append(i) if len(answer) == 0 : answer.append(-1) answer.sort() return answer
[ "isks2322@gmail.com" ]
isks2322@gmail.com
03623a8d225839de8b6cffcb9bedddf2bd54c3a7
b7c1e5d140c3c41e86f206047145f7f296fed53a
/In Class Projects/In Class Examples Fall 2019/Workshop/primes0919.py
4b9b7ff7c06556238d46edfb13c61f3bfbb144ec
[ "MIT" ]
permissive
jlcatonjr/Learn-Python-for-Stats-and-Econ
c2fbe29b324e70ceb832beafdd42d0accb37d9f9
194671592937562e08c92e0ef5f4793d4911701c
refs/heads/master
2023-05-11T17:17:05.934290
2023-05-10T20:12:10
2023-05-10T20:12:10
148,912,065
22
21
null
null
null
null
UTF-8
Python
false
false
817
py
primes = [] for i in range(2, 100000): if len(primes) > 1000: break for j in range(2, i): if i % j == 0 and i != 2: break if j == i - 1: primes.append(i) print(primes) # this generator checks every number from 2 to 100 to see if it is prime # to do so it creates ...
[ "jlcatonjr@gmail.com" ]
jlcatonjr@gmail.com
a18ec05e8cff69ef41e2ee9c0c2acb472d0cdefe
8e526190b1c95f72fe8946a9898653039cefa8db
/reportGen.py
3eec07f7124b123486c93cc7f497c99c15b5bc33
[]
no_license
azseza/RentAnalyser
f48df0d9ebcc9c843e4486036cd4d1e45633bfaa
c44eed83684ae0d048dffb63f155487ea9f9bf32
refs/heads/main
2023-01-19T06:42:51.847188
2020-11-27T23:21:41
2020-11-27T23:21:41
316,591,122
0
1
null
2020-11-27T20:31:21
2020-11-27T20:09:57
Python
UTF-8
Python
false
false
2,597
py
''' Ivestment report generator @uthors : Oueslati Islem(islemoueslati), Ltifi Azer(azseza) ''' import pylatex import os import numpy import matplotlib as mlt import matplotlib.pyplot as plt import re import requests from i18naddress import InvalidAddress, normalize_address import googlemaps import datetime import goo...
[ "you@example.com" ]
you@example.com
e7202cd594d40c104892d0920e6ec89adb7967db
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03078/s909535087.py
ebc1b08009e848b94c7babe5b773a83212444902
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
import sys readline = sys.stdin.readline X,Y,Z,K = map(int,readline().split()) A = sorted(list(map(int,readline().split())),reverse = True) B = sorted(list(map(int,readline().split())),reverse = True) C = sorted(list(map(int,readline().split())),reverse = True) # AとBを組み合わせたケーキの上位K位を作る AB = [] for a in range(len(A)):...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
20a06faae321ad077abec93640b70b4dc71013d5
478757e4240ae0643c160f0b22fa895ae84be830
/weixin/weixin/urls.py
983d67efb06419a9fd2023bbb8659f4e863b2ffd
[]
no_license
welion/weixin
059a6f2b0ce4af617e3f5ce9475e4a54411b98e9
785885928fdd3b128a53f5c08631b4803950cc05
refs/heads/master
2020-04-10T22:24:41.313578
2016-09-25T16:10:51
2016-09-25T16:10:51
68,210,488
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
"""weixin URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "353566165@qq.com" ]
353566165@qq.com
ada690a79d6e698dfc6c00d62cadb66dfd0ed187
e558e99f3403b5931573789d88c2ad47fffe7362
/matrix/max_area_of_island.py
b340e3a7de91afda169da2e6d06e8b21f86cd813
[]
no_license
gerrycfchang/leetcode-python
a8a3a408381288a34caada8ca68c47c7354459fd
7fa160362ebb58e7286b490012542baa2d51e5c9
refs/heads/master
2021-05-11T00:38:17.925831
2018-07-31T14:50:42
2018-07-31T14:50:42
118,306,858
2
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# 695. Max Area of Island # Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally # (horizontal or vertical.) # # You may assume all four e# dges of the grid are surrounded by water.# # # Find the maximum area of an island in the given 2D array. (...
[ "alfie.gerrycheung@gmail.com" ]
alfie.gerrycheung@gmail.com