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
a6fb2197fbf80b1c53e59f37f84370f5749ed5e1
b5dd8d1b798c94731a84c02d98aafb9147200a85
/sequence_labeling/SLBaselineSYNLinear/data/Instance.py
6ed47e34116c6f3ff8176de9230c270b70bc070a
[]
no_license
zhangmeishan/DepSAWR
1ae348dd04ec5e46bc5a75c8972b4bc4008528fe
104f44fd962a42fdee9b1a9332997d35e8461ff4
refs/heads/master
2021-07-09T20:56:56.897774
2020-10-27T05:41:08
2020-10-27T05:41:08
206,974,879
15
3
null
null
null
null
UTF-8
Python
false
false
8,126
py
class Word: def __init__(self, id, form, label): self.id = id self.org_form = form self.form = form.lower() self.label = label # 1 indicates word, 0 indicates syn self.wtype = 0 if label == "###" else 1 def __str__(self): values = [str(self.id), self.org_...
[ "mason.zms@gmail.com" ]
mason.zms@gmail.com
4d59b6d7525d2424cccd3c6215409bdfb7e78f33
171a89102edf10901e18a2c0f41c3313608d2324
/src/rogerthat/bizz/job/unschedule_service_api_callback_records.py
0a04dd74317213aea6716a58732b45ec57e5498c
[ "Apache-2.0" ]
permissive
gitter-badger/rogerthat-backend
7e9c12cdd236ef59c76a62ac644fcd0a7a712baf
ab92dc9334c24d1b166972b55f1c3a88abe2f00b
refs/heads/master
2021-01-18T06:08:11.435313
2016-05-11T08:50:20
2016-05-11T08:50:20
58,615,985
0
0
null
2016-05-12T06:54:07
2016-05-12T06:54:07
null
UTF-8
Python
false
false
1,170
py
# -*- coding: utf-8 -*- # Copyright 2016 Mobicage NV # # 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...
[ "bart@mobicage.com" ]
bart@mobicage.com
7e72fb11137d1cc82500a43c590445b6d4222f54
11334e46d3575968de5062c7b0e8578af228265b
/Projects/subsumption_lewis/test_escape_behavior.py
4a60ca86e27a79e1aadad1e7cc150c9a55c47a09
[]
no_license
slowrunner/Carl
99262f16eaf6d53423778448dee5e5186c2aaa1e
1a3cfb16701b9a3798cd950e653506774c2df25e
refs/heads/master
2023-06-08T05:55:55.338828
2023-06-04T02:39:18
2023-06-04T02:39:18
145,750,624
19
2
null
2023-06-04T02:39:20
2018-08-22T18:59:34
Roff
UTF-8
Python
false
false
1,653
py
#!/usr/bin/env python3 """ FILE: test_escape_behavior.py PURPOSE: Test an subsumption architecture escape behavior REFERENCES: "Mobile Robots: Inspiration To Implementation", Jones, Flynn, Seiger p318 """ import subsumption import time import logging subsumption.inhibit_scan = False subsumption.inhibit_drive =...
[ "slowrunner@users.noreply.github.com" ]
slowrunner@users.noreply.github.com
c42ee65059fd84127b788c9f61f22f6091572c64
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/hoework01/gettop10frommaoyam01_20200625172155.py
6673c7bd655b35c14f885d7566123eee9d12b9b9
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
1,024
py
# 使用requests,bs4库,爬取猫眼电影top10的电影名称、电影类型、上映时间,并以utf-8的字符集保存到csv文件中 import requests maoyanUrl = "https://maoyan.com/films?showType=3"; user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36' header = {'User-Agent': 'Mozilla/5.0 (Windows NT ...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
7b95fcc33b3aa2249ed1f27138745f475927c2d6
cf14b6ee602bff94d3fc2d7e712b06458540eed7
/gs82/gs82/urls.py
0aecc6d4eeb66d7fa733fff9c8bcaddef8e0841a
[]
no_license
ManishShah120/Learning-Django
8b0d7bfe7e7c13dcb71bb3d0dcdf3ebe7c36db27
8fe70723d18884e103359c745fb0de5498b8d594
refs/heads/master
2023-03-29T09:49:47.694123
2021-03-28T16:04:34
2021-03-28T16:04:34
328,925,596
3
0
null
null
null
null
UTF-8
Python
false
false
307
py
from django.contrib import admin from django.urls import path from enroll import views from django.views.decorators.cache import cache_page urlpatterns = [ path('admin/', admin.site.urls), path('', cache_page(30)(views.home)), path('home/', views.home), path('contact/', views.contact), ]
[ "mkshah141@gmail.com" ]
mkshah141@gmail.com
22a5082162b8e3e3900e02a08ce7e3931b946ac7
f6faeb43b394bebb2c66b270ece4a5422cece0f6
/Input.py
0a45338c9ddf096ffbf6f1a13214ef459aedce03
[]
no_license
Khun-Cho-Lwin/Programming-Basic-with-Python
a57b6445d0fdfca23017aa691208899935fcf5e7
1e8cc924143771b7737bb54ad8f04ae5b88c1e81
refs/heads/master
2022-11-13T05:56:11.881552
2020-06-29T21:58:29
2020-06-29T21:58:29
267,246,983
0
4
null
2020-06-29T08:00:57
2020-05-27T07:10:11
Python
UTF-8
Python
false
false
166
py
input1 = int(input("Please enter first number:")) input2 = int(input("Please enter second number:")) result = input1 + input2 print(input1,"+",input2,"=",result)
[ "khuncholwin.2019@gmail.com" ]
khuncholwin.2019@gmail.com
01a356f1fac842936aef6aadf37335b90cd1c87b
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/enas_lm/src/controller.py
a737235c5997a2e2944bca765b591e48869fbeda
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
9,675
py
# coding=utf-8 # Copyright 2022 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
bcd2c7e9609e8220daa20bb688620b26c45ef2b3
e0cbea0cb68f0ba5dba837dbe60067eb88e3d151
/BeautifulSoup/soup_env/lib/python3.6/site-packages/urllib3/util/timeout.py
601f7fc9dafaae86b17dc8da5fc0b56b5511cab2
[]
no_license
arossbrian/my_short_scripts
74fb689ac25feaffb14437496902ee1a0dcc5b60
a34923f7ecbf027d8a0704400fcfb3e71ed662fd
refs/heads/master
2023-05-24T16:45:51.050321
2023-05-11T16:20:30
2023-05-11T16:20:30
195,057,250
0
0
null
null
null
null
UTF-8
Python
false
false
10,132
py
from __future__ import absolute_import # The default socket timeout, used by httplib to indicate that no timeout was # specified by the user from socket import _GLOBAL_DEFAULT_TIMEOUT import time from ..exceptions import TimeoutStateError # A sentinel value to indicate that no timeout was specified by the u...
[ "arossbrian@gmail.com" ]
arossbrian@gmail.com
9c665f2636f0506c2191a10ad99da160b277c34e
eda12fedf7db9ba55c0f5819eb0df90e9889060b
/33_Type_C_TF_acrobot_discrete/03_TF_type_bc1_acrobot_a2c_GREEN.py
340490526f43de0b81072517749f3a05058bff52
[]
no_license
RichardMinsooGo-RL-Gym/TF1_4_Reinforcement_Learning_A3C_TF_Gym
1e816ffc747367d8e40100a64f332d6406738a4a
75c88b86a2d001b67971bafb37dbfd097a59932a
refs/heads/master
2022-12-12T14:19:54.537542
2020-09-13T07:29:14
2020-09-13T07:29:14
277,669,264
3
0
null
null
null
null
UTF-8
Python
false
false
8,441
py
import os import sys import gym import pylab import numpy as np import time import tensorflow as tf env_name = "Acrobot-v1" env = gym.make(env_name) # env.seed(1) # reproducible, general Policy gradient has high variance # np.random.seed(123) # tf.set_random_seed(456) # reproducible env = env.unwrapped # get si...
[ "noreply@github.com" ]
RichardMinsooGo-RL-Gym.noreply@github.com
fbcf4dff0606fafa97cc778c0778a49cc9e1a8e6
8830831a87f35ff2628f379d8230928ec6b5641a
/Homedepot/code/stem2.py
3a3c13edf6434f0161556c5b49e294bd64829972
[]
no_license
nickmcadden/Kaggle
e5882c9d68a81700d8d969328d91c059a0643868
cbc5347dec90e4bf64d4dbaf28b8ffb362efc64f
refs/heads/master
2019-07-18T08:09:40.683168
2018-01-26T14:35:38
2018-01-26T14:35:38
40,735,982
0
0
null
null
null
null
UTF-8
Python
false
false
1,710
py
import pandas as pd import numpy as np from nltk.stem.snowball import EnglishStemmer from nltk.tokenize import wordpunct_tokenize import sys import csv reload(sys) sys.setdefaultencoding('ISO-8859-1') stemmer = EnglishStemmer() print("Reading data\n") train = pd.read_csv('./input/train.csv', encoding="ISO-8859-1") ...
[ "nmcadden@globalpersonals.co.uk" ]
nmcadden@globalpersonals.co.uk
b217ba63eaddc9616214a06e614c6246f5c30edf
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/models/restore_request.py
e662315f9bdfdbec34fe2249cdb69996c797c338
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
1,055
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 ...
[ "dheeru.rathor14@gmail.com" ]
dheeru.rathor14@gmail.com
4b7ad1257588f9d861614a07ee2bc059ad96ebde
b34f07d217cdda9f59e7f58f89dad17fae1ee132
/malaya_speech/model/frame.py
95fde8af773361726a61fb74e10e57b9e3e60f0e
[ "MIT" ]
permissive
Ariffleng/malaya-speech
965cea504e364c77ca513d43bf340fc122b97672
4343c409340c608a426cc6f0926fbe2c1661783e
refs/heads/master
2023-08-12T23:23:39.983006
2021-10-02T09:14:52
2021-10-02T09:14:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,386
py
import numpy as np from dataclasses import dataclass SEGMENT_PRECISION = 1e-6 class Frame: def __init__(self, array, timestamp, duration): if not isinstance(array, np.ndarray): array = np.array(array) self.array = array self.timestamp = timestamp self.duration = durati...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
56d61b52a986db759e27b224e6f9af02a912baf9
b2605c93db0c5b3dd0ac7f7cfa80674e82ff9439
/sandbox/filter-max255.py
ee9f129f2aff3855cfde263f3b5c214ef661e5e1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
adnbsr/khmer
76728708b60a5662e93b83c6559502d31b92445d
64612c1140d17c0988fa01f3c6c627913b509700
refs/heads/master
2021-01-18T13:20:23.385284
2013-08-01T21:13:42
2013-08-01T21:13:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
import sys, screed.fasta, os import khmer from khmer.thread_utils import ThreadedSequenceProcessor, verbose_fastq_iter K = 32 HT_SIZE=4e9 N_HT=4 WORKER_THREADS=8 GROUPSIZE=100 ### def main(): repfile = sys.argv[1] infile = sys.argv[2] outfile = os.path.basename(infile) + '.fno255' if len(sy...
[ "titus@idyll.org" ]
titus@idyll.org
97d23fdb9293035257f2b63f7223884d29f25b32
3034e86347c71bf7e7af9e5f7aa44ab5ad61e14b
/mongodb/day04/grid.py
6a756f9c08f808f46ec135295e3d86b64827d34a
[]
no_license
jason12360/AID1803
bda039b82f43d6609aa8028b0d9598f2037c23d5
f0c54a3a2f06881b3523fba7501ab085cceae75d
refs/heads/master
2020-03-17T00:43:42.541761
2018-06-29T10:07:44
2018-06-29T10:07:44
133,127,628
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
#用来获取数据库中gridfs存储文件 from pymongo import MongoClient #和pymongo绑定的 import gridfs conn = MongoClient('localhost',27017) db = conn.get_database('grid') #获取gridfs对象 fs = gridfs.GridFS(db) files = fs.find() for file in files: if file.filename =='./生日快乐歌.mp3': with open(file.filename,'wb') as f: while True: #file....
[ "370828117@qq.com" ]
370828117@qq.com
a783bdb2cbac71f57900c83b05288050df71ca1a
a161999b8a9009b6bf961288b68d651541882f2d
/process_news.py
e653f8d7622888988beeeccb4c26faee2e2b6d09
[]
no_license
kkb-Projects/P1-news-summarization
788896460aa11712812a86eaf7c7c066c5028d0b
85122968d92b84741fd2fa8dbb81410e807c7eac
refs/heads/master
2021-01-09T14:39:09.941508
2020-03-19T02:44:17
2020-03-19T02:44:17
242,340,799
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
# -*- coding:utf8 -*- # author:yaolinxia # datetime:2020/3/11 # software: PyCharm import random import re import pandas as pd from collections import Counter import jieba from functools import reduce """ 汉语新闻语料库处理 """ def token(string): # we will learn the regular expression next course. return re.findall('\w+...
[ "18860976931@163.com" ]
18860976931@163.com
46abac533c1ec9a572a565d59cc930bd692ad94d
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L66/66-77_MD_NVT_rerun/set_7.py
9c5ad84b39e109861815092ca2f3a6a6735a91e4
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L66/MD_NVT_rerun/ti_one-step/66_77/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_7.in' temp_pbs = filesdir + 'temp_7.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in la...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
a9cad12e0ab2aaafb4dab18f953262b068081272
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_taps_operations.py
aa759ad03ff8ad071e1733e6df02900161dfbadb
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
29,365
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 may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
b4f598bb7e606e584899aaf66f8c72decb8fa123
c60c071bc5cf72917883cddbcb5b6a42b6e71f2b
/ja_craiglist_djo/manage.py
36d599e26d9d291d582787680bf01232cfa9b030
[]
no_license
CyborgVillager/ja-django-git
bbf17927c8b2d3e774dc4d3bc363f96f3ec49216
7755d5996f91ecb5014ae720a4212b44a2e863ef
refs/heads/master
2020-09-25T19:41:34.297549
2019-12-05T16:18:09
2019-12-05T16:18:09
226,074,493
0
0
null
2019-12-05T16:07:51
2019-12-05T10:20:53
Python
UTF-8
Python
false
false
548
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ja_craiglist_djo.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Dja...
[ "almawijonathan@gmail.com" ]
almawijonathan@gmail.com
c0e3f33560d87b12dfd4c8a1b7dbed40257625b5
01c33443db4c4ac74087d220a2a3a6967ee3930f
/ccxt/async_support/bitflyer.py
3aec9da4036433720f813bbe283bea39e187d4cb
[]
no_license
arques-changhwan/ccxt
74de1790ab2e2cc07fa55f418817c988b3af6a28
ac26599695af742aaffc16a8fd4dda4f8cb63588
refs/heads/master
2022-09-05T11:31:35.903127
2020-05-26T06:36:33
2020-05-26T06:36:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,801
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange from ccxt.base.errors import ExchangeError from ccxt.base.errors import ArgumentsRequ...
[ "insukim@arques.com" ]
insukim@arques.com
ac242bd9428a8e8c909b8ceebdba6c1129a468c2
f2673cd07770dca1bc5017341e8293aebbfd66c7
/models/attention/encoders/pyramidal_blstm_encoder.py
fc78e88348e5a7cb29ead0d799c4e24a19c25a9f
[ "MIT" ]
permissive
xiao2mo/tensorflow_end2end_speech_recognition
52d2c8d32b2f6e9f9f11dfaf8ddf434da16ff2ea
9b4bdcacd9d73c3db19205b74f4d48419584834d
refs/heads/master
2020-06-03T04:54:34.127500
2017-06-12T02:47:51
2017-06-12T02:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
#! /usr/bin/env python # -*- coding: utf-8 -*- """Pyramidal Bidirectional LSTM Encoder class.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from .encoder_base import EncoderOutput, EncoderBase class PyramidalBLSTMEncoder(Enco...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
152553eda650901c21d5c57c5c78ebcc75106dfa
0b16b44e4fc8c98c9ea3f9d4b8b470f4f62f918d
/Core/migrations/0002_auto_20201101_2120.py
26e849d4a31082849e63d44fac1fcb8360cb5f66
[]
no_license
AthifSaheer/DipakNiroula-Django-Ecom
342eece90211fe80c41ba72bf69a50e63c5ea901
94ead608919c5bb076387e26f396e6c38319433e
refs/heads/main
2023-02-05T06:52:24.204206
2020-12-24T13:19:13
2020-12-24T13:19:13
324,160,212
3
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
# Generated by Django 2.2.14 on 2020-11-01 15:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('Core', '0001_initial'),...
[ "liteboook@gmail.com" ]
liteboook@gmail.com
009e53c59746e5e95ef1681b709b7a2b28c2339c
267aafa3826d216f70a0197369c334bc542aee40
/setup.py
a4b523deefdb6153c1331d6b30709c5c10b95b35
[]
no_license
research-core/core-orders
7ccc199e6b89e6cd86affd4d8e5bab4fe845589b
37566b742b1423d30f9dc8e67641d828dc22e4a6
refs/heads/master
2020-06-29T02:37:00.250110
2019-08-26T17:10:48
2019-08-26T17:10:48
200,413,947
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
#!/usr/bin/python # -*- coding: utf-8 -*- import re from setuptools import setup, find_packages version, license = None, None with open('orders/__init__.py', 'r') as fd: content = fd.read() version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', content, re.MULTILINE).group(1) license = re.search(r...
[ "ricardojvr@gmail.com" ]
ricardojvr@gmail.com
a9682c31beb5aa6a6e2cacc7e42da087c161cd63
7ec04fc867d0a48fffc05c65bff9217cfe211fe7
/HW/统计字符串/teachers.py
f3e81a089bc6a999b09cf50c7dafa2466777ca3b
[]
no_license
Cherry93/pythonPractic
3b9d1f99803503073bbb2f3a58009665338bd278
2889183af6c9a01ab47895b23e2d6ce8c288fd4d
refs/heads/master
2021-08-31T16:41:56.655989
2017-12-22T03:53:18
2017-12-22T03:53:18
115,008,198
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
''' 定义教师类,属性包括姓名、职称、工资,创建1000个实例,使用pickle写入teachers.dat并再次读出; ''' import pickle from tkinter import filedialog class Teachers: def __init__(self,name,call,rmb): self.name =name self.call = call self.rmb = rmb def __str__(self): return "name:"+str(self.name)+"call:"+str(self.cal...
[ "358544104@qq.com" ]
358544104@qq.com
eb3d54dc1db886b98008f3a576109aa33e101d6d
5e734cd4e071272688ab635243290936c5c2db40
/lib/paths.py
26971a871946a307647c399e9c700320a62ab114
[ "MIT" ]
permissive
jwilk/i18nspector
a2a4aecee00de9cfb8d9a0354614f7413e19f1b9
d9762416937399b81abaedc9ddcdc36dbda1c318
refs/heads/master
2023-09-04T12:32:35.255101
2023-08-22T08:41:50
2023-08-22T08:41:50
29,258,684
2
3
MIT
2022-06-27T19:04:57
2015-01-14T18:22:23
Python
UTF-8
Python
false
false
1,388
py
# Copyright © 2013 Jakub Wilk <jwilk@jwilk.net> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the “Software”), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, p...
[ "jwilk@jwilk.net" ]
jwilk@jwilk.net
9b3d001951b24200fcdb3bd49fa67280cf2503c4
6659f860ddbb7550f66ea712753d3d2aab1cc6ff
/Note_3/Example_36.py
2671dcc8e106d4ba64273a5f63c1cda83dfc50f5
[]
no_license
ianhom/Python-Noob
adf077bee78727eac43da2804a90528ace6c38a6
e12f0159d68d7c4962cafa3cb8b68a8761037f21
refs/heads/master
2020-12-08T12:06:01.909463
2018-07-03T00:42:41
2018-07-03T00:42:41
67,806,200
1
0
null
null
null
null
UTF-8
Python
false
false
501
py
#!/usr/bin/python # -*- coding: UTF-8 -*- ''' 题目:求100之内的素数。 ''' lower = int(input("输入区间最小值: ")) upper = int(input("输入区间最大值: ")) for num in range(lower,upper + 1): # 素数大于 1 if num > 1: for i in range(2,num): if (num % i) == 0: break else: print(num) # ...
[ "noreply@github.com" ]
ianhom.noreply@github.com
4581172461ca6e272ba66f94b453f7e3627ebeb2
e617affbb9292944465969a7f7a6a02b1c88f10a
/offer_algri/数组中出现次数超过一半的数字/p.py
2be851787656e28518166bb8ce3645d671b6563e
[]
no_license
darr/offer_algri
92904d02c7bbd721aa47b4836f2190c3e9407f24
724fd689cfe7bd2f8aaed19ef912eecbf00a2df3
refs/heads/master
2020-03-25T04:18:40.491916
2018-09-07T08:52:39
2018-09-07T08:52:39
143,388,188
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
#!/usr/bin/python # -*- coding: utf-8 -*- ##################################### # File name : p.py # Create date : 2018-07-23 08:49 # Modified date : 2018-07-23 13:04 # Author : DARREN # Describe : not set # Email : lzygzh@126.com ##################################### class Solution: #run:32ms memorr...
[ "lzygzh@126.com" ]
lzygzh@126.com
6ee3ad7ed2666cd3c2c2e7bb9947e9d2975cadf8
ef243d91a1826b490e935fa3f3e6c29c3cc547d0
/PyQt5/QtSensors/QAltimeterFilter.py
7f6d16487b33ff0384829272d015bff8aad4003c
[]
no_license
VentiFang/Python_local_module
6b3d0b22399e817057dfd15d647a14bb1e41980e
c44f55379eca2818b29732c2815480ee755ae3fb
refs/heads/master
2020-11-29T11:24:54.932967
2019-12-25T12:57:14
2019-12-25T12:57:14
230,101,875
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# encoding: utf-8 # module PyQt5.QtSensors # from F:\Python\Python36\lib\site-packages\PyQt5\QtSensors.pyd # by generator 1.147 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import sip as __sip from .QSensorFilter import QSensorFilter class QAltimeterFilter(QSensorFilter): """ QAltimeterFilter() ...
[ "5149528+ventifang@user.noreply.gitee.com" ]
5149528+ventifang@user.noreply.gitee.com
76a9acaf06ed647f5329818ed4650ab73952cbb8
7246faf9a222269ce2612613f58dc5ff19091f10
/leetcode/1662.py
d793883d41ed3cb54e390d971c41a4c5ca4f7ffd
[]
no_license
gusdn3477/Algorithm_Study
87a2eb72a8488d9263a86db70dadc7944434d41d
3fefe1dcb40122157845ffc542f41cb097711cc8
refs/heads/main
2023-08-30T12:18:21.412945
2021-09-28T13:00:11
2021-09-28T13:00:11
308,364,230
0
1
null
null
null
null
UTF-8
Python
false
false
236
py
class Solution: def arrayStringsAreEqual(self, word1: List[str], word2: List[str]) -> bool: a = '' b = '' for i in word1: a += i for i in word2: b += i return a == b
[ "gusdn3477@naver.com" ]
gusdn3477@naver.com
2b8e0f7cc47c50698ff14eb2bb688b25f20ccf77
76d4430567b68151df1855f45ea4408f9bebe025
/test/functional/wallet_importmulti.py
9b417874ed72b862538be622fc4351394626492d
[ "MIT" ]
permissive
MicroBitcoinOrg/MicroBitcoin
f761b2ff04bdcb650d7c0ddbef431ef95cd69541
db7911968445606bf8899903322d5d818d393d88
refs/heads/master
2022-12-27T10:04:21.040945
2022-12-18T05:05:17
2022-12-18T05:05:17
132,959,214
21
33
MIT
2020-06-12T04:38:45
2018-05-10T22:07:51
C++
UTF-8
Python
false
false
44,483
py
#!/usr/bin/env python3 # Copyright (c) 2014-2020 The MicroBitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the importmulti RPC. Test importmulti by generating keys on node0, importing the scriptPubKe...
[ "iamstenman@protonmail.com" ]
iamstenman@protonmail.com
3843f381b3d6a2e009ea019d635947124fc99156
fc05249c73f910a4d36f471eb91e05256a64cdfe
/roms/make_bry_phd16.py
991513bd9be6ce35aac02cc3ffdedfe61ec96daf
[]
no_license
rsoutelino/sandbox
f51b37619cd7a61a0446d83e2e1c2af58f14802a
814d215582d8e14514ba93daf1b41f6d118b906c
refs/heads/master
2023-03-02T12:05:18.703732
2023-03-02T01:58:15
2023-03-02T01:58:15
28,204,889
3
1
null
null
null
null
UTF-8
Python
false
false
29,082
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Creates initial conditions netCDF file for ROMS # # Rafael Soutelino - rsoutelino@gmail.com # # Using some material from Matlab scripts by # "Copyright (c) 2003 UCLA - Patrick Marchesiello" # # Last modification: Aug, 2010 ##############################################...
[ "rsoutelino@gmail.com" ]
rsoutelino@gmail.com
1f0ba2eb90839c85462d5f63334dbc88a90db375
1d672c52ada009c6aeeafec6caeae0adf064060d
/docs/source/conf.py
a97a5551e3ae8bef36af79a0972f0eb8404b6190
[ "BSD-3-Clause" ]
permissive
sakshiseth/fury
9927487aaf5dd1b2dc0db5cd31facdb4743f86dd
5799e445a5a306852a674396803bbefa922f0ae6
refs/heads/master
2021-01-13T20:18:49.848717
2020-02-22T20:54:59
2020-02-22T20:54:59
242,483,253
0
1
NOASSERTION
2020-02-23T08:39:05
2020-02-23T08:39:04
null
UTF-8
Python
false
false
7,705
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # FURY documentation build configuration file, created by # sphinx-quickstart on Thu Jun 28 12:35:56 2018. # # 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 # autog...
[ "skab12@gmail.com" ]
skab12@gmail.com
4513165496d6f2e83579ac9cf0684f88a705068e
d020606f5e9174aa669e4b6b316bdb0fcb05ce02
/run_test.py
dc79693a586c6b2f47af9c3cd513684781ca785c
[]
no_license
Hanlen520/AutomationProject
4c1270fba570b256493cd6681d715e0b5136a4f5
95a7cb61d8b339a6409483d738de5a0d9d85b321
refs/heads/master
2023-04-02T20:23:07.696753
2021-04-07T07:57:04
2021-04-07T07:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,342
py
# coding = utf8 import logging import multiprocessing import subprocess import pytest from airtest.core.api import * from poco.drivers.android.uiautomation import AndroidUiautomationPoco from config import install_app_necessary, SERIAL_NUMBER from page.fota.fota_page import Fota_Page from page.main_page import Main_P...
[ "39899119+792607724@users.noreply.github.com" ]
39899119+792607724@users.noreply.github.com
eb525e2ac4b98dac4261e2d6857bca7619fda42c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_disgraced.py
e19865eec3d6c3da4393171f3fa501464fae3db9
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from xai.brain.wordbase.verbs._disgrace import _DISGRACE #calss header class _DISGRACED(_DISGRACE, ): def __init__(self,): _DISGRACE.__init__(self) self.name = "DISGRACED" self.specie = 'verbs' self.basic = "disgrace" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
03cf906edb96cb427cd37f0de2a53228c70ea321
2bcf18252fa9144ece3e824834ac0e117ad0bdf3
/zpt/trunk/site-packages/zpt/_pytz/zoneinfo/Africa/Asmera.py
9ccd9c3141892ef8d1d76acc48c773f5c5c4c4cf
[ "MIT", "ZPL-2.1" ]
permissive
chadwhitacre/public
32f65ba8e35d38c69ed4d0edd333283a239c5e1d
0c67fd7ec8bce1d8c56c7ff3506f31a99362b502
refs/heads/master
2021-05-10T14:32:03.016683
2010-05-13T18:24:20
2010-05-13T18:24:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
'''tzinfo timezone information for Africa/Asmera.''' from zpt._pytz.tzinfo import DstTzInfo from zpt._pytz.tzinfo import memorized_datetime as d from zpt._pytz.tzinfo import memorized_ttinfo as i class Asmera(DstTzInfo): '''Africa/Asmera timezone definition. See datetime.tzinfo for details''' zone = 'Africa/A...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
2736cd03881b87e222ecd21b6b92c7e5445f98f5
31d5bebb9667b17a17fe98a5c3064cac5a0fd4dd
/calisanProfil/urls.py
219a0406652a00ff45e0ff330c77ec07ab045d24
[]
no_license
refik/audio
d6b8829fafcfa2c54e6f477ceede210a2f5d4f41
011b7b0f01d14529b91bf6f4d3c5919823e19e6b
refs/heads/master
2021-01-17T17:06:06.202561
2015-09-17T05:38:22
2015-09-17T05:38:22
1,948,617
1
0
null
null
null
null
UTF-8
Python
false
false
138
py
from django.conf.urls.defaults import * urlpatterns = patterns('audio.calisanProfil.views', (r'^musteri-temsilcisi/', 'temsilci'), )
[ "refik.rfk@gmail.com" ]
refik.rfk@gmail.com
0fe9c746bbc3125b3782ee930a2c84333c287b39
993ef8924418866f932396a58e3ad0c2a940ddd3
/Production/python/Summer20UL17/TTJets_DiLept_genMET-150_TuneCP5_13TeV-madgraphMLM-pythia8_cff.py
554733df78bf4f09d59066ea4d14db9921190388
[]
no_license
TreeMaker/TreeMaker
48d81f6c95a17828dbb599d29c15137cd6ef009a
15dd7fe9e9e6f97d9e52614c900c27d200a6c45f
refs/heads/Run2_UL
2023-07-07T15:04:56.672709
2023-07-03T16:43:17
2023-07-03T16:43:17
29,192,343
16
92
null
2023-07-03T16:43:28
2015-01-13T13:59:30
Python
UTF-8
Python
false
false
105,012
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/RunIISummer20UL...
[ "hiltbran@umn.edu" ]
hiltbran@umn.edu
0d74495bd1cc1679a451768d66fda5ef8194d179
ce4f7f8e9336b8bbf9cbfe147d922e37034ab6c3
/code-festival-2016-qualc/b/main.py
987ac90bc403547651d6d2456180210a150a8701
[]
no_license
kussy-tessy/atcoder
5604919747242ee9740b9131bb6e168e96af0151
ee917fa5a5218d4a9e72f710d0d844e7c203f13b
refs/heads/master
2023-07-21T09:25:15.464881
2021-09-04T14:06:02
2021-09-04T14:06:02
311,221,203
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
#!/usr/bin/env python3 K, T = map(int,(input().split())) As = list(map(int,(input().split()))) # if len(As) == 1: # print(As[0] - 1) As.sort() As_max = As[-1] As_other = sum(As[:-1]) print(max(0, As_max - As_other - 1))
[ "teppei04285000@gmail.com" ]
teppei04285000@gmail.com
7c562bd59160cfb964891453b9d4a28be9ae4772
c6b74df572dc2dcf7034c25860d18cb3c9143d4f
/linearizer/generative.py
ec00a10615d362bf6ab18a3138b457f78f83330b
[]
no_license
kadarakos/LinearAMR
55f2dfedb5d100988be5511004be690e2808ad17
d8408924171960e84c92cfe46bb531b3b3ee17e0
refs/heads/master
2021-01-19T23:19:41.226183
2017-04-21T11:29:02
2017-04-21T11:29:02
88,961,862
0
0
null
2017-04-21T08:37:38
2017-04-21T08:37:38
null
UTF-8
Python
false
false
3,595
py
__author__ = 'thiagocastroferreira' from sys import path path.append('/home/tcastrof/amr/scp_repo') path.append('/home/tcastrof/amr/Grammar') path.append('../') from compression_tree.compressor import Compressor from ERG import AMR import kenlm import os import utils import itertools class Generative(object): d...
[ "thiago.castro.ferreira@gmail.com" ]
thiago.castro.ferreira@gmail.com
4a0570c65c81d3d58ef799132c1206c6d01be707
bcf88b912b9443c3326466c226f68a7e7ad5aa9d
/bdbag/__init__.py
ab5519ea26b97ecb75b741254c95bea69f7adaf3
[ "Apache-2.0" ]
permissive
mvdbeek/bdbag
33bc7e0275c720104af77654b0016024cb6ab012
fe67b5bffc68b7dac823ce03d450ede3affccbef
refs/heads/master
2020-03-25T05:17:09.646537
2018-07-12T03:58:06
2018-07-12T03:58:06
143,438,809
0
0
null
2018-08-03T14:42:27
2018-08-03T14:42:27
null
UTF-8
Python
false
false
6,188
py
import os import re import sys import json import logging import mimetypes from requests.utils import requote_uri from pkg_resources import get_distribution, DistributionNotFound __version__ = "1.4.2" if sys.version_info > (3,): from urllib.parse import quote as urlquote, unquote as urlunquote, urlsplit, urlunspl...
[ "mikedarcy@users.noreply.github.com" ]
mikedarcy@users.noreply.github.com
ca893e5aeee0c7456739c4457ae664105c5c96c6
46c3fd904e7b1c45541ffe0518afe50dfdafb089
/movie/migrations/0003_movielink_link.py
84dc7889b0f52b99ff6733291f6811344b4d8db2
[]
no_license
Shirhussain/Movies
6ab10b27748bc1cdd3a904861092e5246ce01190
4f6639491a86708a5d04a8de7f928500ecba3fdc
refs/heads/master
2023-01-01T07:52:25.639564
2020-10-26T02:15:23
2020-10-26T02:15:23
306,643,126
1
0
null
null
null
null
UTF-8
Python
false
false
413
py
# Generated by Django 3.1 on 2020-10-24 17:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movie', '0002_auto_20201024_1659'), ] operations = [ migrations.AddField( model_name='movielink', name='link', ...
[ "sh.danishyar@gmail.com" ]
sh.danishyar@gmail.com
47a724810b4e9c7cfd2870858a2472067fe6ff19
1cceef957954ec516cd8bcd9e9d51e8d9120200b
/test_retring_async.py
1c13088f03af4ed39ea5ab6e8ea213792c02dbe7
[ "MIT" ]
permissive
coneagoe/retrying-async
3b8c4a51a7adcbaa2149b110199e6d0b6b5a1f7e
54eec24e4183b4ea31c0e133ed11ec0f0535a194
refs/heads/master
2022-12-21T05:12:17.930689
2020-09-21T02:38:42
2020-09-21T02:38:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
# coding: utf-8 import asyncio import requests from retrying_async import retry def request_api_sync(): print('正在获取') response = requests.get(url="http://www.baidu.com") print(response.status_code, response.content) raise Exception("异常") @retry(attempts=3, delay=3) async def request_api_async(): ...
[ "lixiaolong@sensoro.com" ]
lixiaolong@sensoro.com
d751ba839e41585536769b62bfa2c50a150fb12d
6559d2c69ddcd73df844f9e26470c8ea06d92a6c
/xnr_0429/xnr/_facebook/feedback_comment.py
550d853c6fbd9b7769168390aeafe3c05e801dbe
[]
no_license
yuanhuiru/xnr2
cc4199fbb136fa5bdf18d879bb77ceb5155627f3
b37ec9beccf7332efcda9bdff0c34fa3198b816c
refs/heads/master
2020-03-21T12:22:17.392966
2020-01-14T06:40:55
2020-01-14T06:40:55
138,549,389
2
4
null
null
null
null
UTF-8
Python
false
false
1,505
py
#!/usr/bin/env python #encoding: utf-8 from launcher import Launcher import time from es import Es_fb class Comment(): def __init__(self): self.list = [] def get_comment(self): for url in comment_list: driver.get(url) root_content = driver.find_element_by_xpath('//div[@class="_58jw"]/p').text root_tim...
[ "bingqulee@gmail.com" ]
bingqulee@gmail.com
1aaafa9b5403e7331b1d730439c5a8e67fa3debb
d1e4f29e583ee964d63bc48554eaa73d67d58eb2
/zerver/migrations/0264_migrate_is_announcement_only.py
073eb22a23670741fdc4d7155701549b168dfc77
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
hygolei/zulip
299f636f9238f50b0d2746f1c371748f182f1f4e
39fe66ab0824bc439929debeb9883c3046c6ed70
refs/heads/master
2023-07-11T22:50:27.434398
2021-08-09T10:07:35
2021-08-09T10:07:35
375,401,165
1
1
Apache-2.0
2021-08-09T10:07:36
2021-06-09T15:20:09
Python
UTF-8
Python
false
false
972
py
# Generated by Django 1.11.26 on 2020-01-25 23:47 from django.db import migrations from django.db.backends.postgresql.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps def upgrade_stream_post_policy(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: Stream = apps.get...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
9f0fe44398ecdc7bda9c8cb213e2256c43819598
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/334/90931/submittedfiles/testes.py
12f71f0bb7b483e5f7d1e3b92c7403e72b738f64
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO def maximo (a,b): if a>b: return a else: return b x=input() y=input() print(maximo(a,b)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1fd6f92f79cd265af470244e0460ad9853def643
e18a353582609732c795401f1a01bc762bd939f2
/top/python/MuonTracking.RunII.py
9f1a8ca4dcada005ae643bc5e39eb41edab8c6d8
[]
no_license
s-farry/workspaces
06741807bb464bb0712d52108c2d1b7ae62b1353
0dcf3868dcbe110206ea88ff5c9e04a3b44b1ca1
refs/heads/master
2020-04-03T00:45:39.152227
2017-06-15T16:33:33
2017-06-15T16:33:33
64,213,815
0
0
null
null
null
null
UTF-8
Python
false
false
6,463
py
from Jawa import EfficiencyClass from ROOT import TFile, TCut, TTree, TMath phicut= TCut("(abs(tag_PHI-probe_PHI)<TMath::Pi() ? abs(tag_PHI-probe_PHI) : 2*TMath::Pi()-abs(tag_PHI-probe_PHI))>0.1") ptcut = TCut("tag_PT > 20000 && probe_PT > 20000") triggercut = TCut("tag_Hlt2EWSingleMuonVHighPtDecision_TOS==1 && ...
[ "sfarry@hep.ph.liv.ac.uk" ]
sfarry@hep.ph.liv.ac.uk
17a4c3efc94fc1e6caad8a5a7ade5f392c075824
5c7db30d59cd28fe1923bb5fdb9280ffe2070b70
/django-polls/polls/migrations/0001_initial.py
cca72afb3465cec2f3f673e3e259b8a64609593e
[]
no_license
golkedj/django_test
6816b640e675aabd311de98907ff38fc8034b7d5
d1ab4b5bf6984aee78163a94638460f187ca12a9
refs/heads/master
2021-01-22T16:44:30.569480
2017-09-06T16:56:23
2017-09-06T16:56:23
100,724,483
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-18 14:44 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "=" ]
=
778373ee38e2b8e500a508492b5c81d519f80a09
f8671d120f8f32b0febe94f4dc84570603e34fac
/utils_driver.py
c9b9a0185636c8784dadc34512484fe9360420ca
[]
no_license
ahashisyuu/OpenSpider
f35772a53c4de4217df9dc1ee8f2078e1c2eb281
31da122dc2ab658142c34089f3cc0fe71a5016ca
refs/heads/master
2022-03-19T01:37:58.965682
2019-12-10T12:40:02
2019-12-10T12:40:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from selenium import webdriver import platform #print platform.system() def get_driver(): system = platform.system() if system == "Linux": return webdriver.PhantomJS(executable_path='/home/ubuntu/phantomjs-2.1.1-linux-x86_64/bin/phantomjs') else: return webdriver.Chrome() #return ...
[ "1451607278@qq.com" ]
1451607278@qq.com
d5706657c7a3d28103d085bb0dbf7d12e11bac82
173b7e08d9fdbfeda8349570f7ccd93cbd6c02d4
/example_model/model_node_label.py
84ea201452534e2e144905c11f081a4272f8ac42
[ "LicenseRef-scancode-other-permissive" ]
permissive
embeddedsamurai/kGCN-1
ef647d539fb79d6b5ebe090a3b27b349933d6ca4
7bc4dc32afd7a76e31b3bd37e2cb71611ba1fc5f
refs/heads/master
2020-08-04T16:51:36.430607
2019-10-01T05:02:31
2019-10-01T05:02:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,427
py
import tensorflow as tf import tensorflow.contrib.keras as K import kgcn.layers from kgcn.default_model import DefaultModel import tensorflow.contrib.keras as K class GCN(DefaultModel): def build_placeholders(self,info,config,batch_size): # input data types (placeholders) of this neural network ret...
[ "kojima.ryosuke.8e@kyoto-u.ac.jp" ]
kojima.ryosuke.8e@kyoto-u.ac.jp
725223f8d060081f839ffe104c2a1a8f0c49e687
920f81d8f5fbd45eb15f2970d0bd528b921a3d46
/pyplot/plot_loss.py
81bb50f95b08e5d8fafdc78fc8d47652605f5877
[]
no_license
minhnd3796/RIVF2019_Minh
740a4015b7741bea9d2503088e99bc1a97a1f18f
c2439421efcbae3bad09f459a3d582b7fcf735c4
refs/heads/master
2020-03-25T03:49:20.533009
2018-08-03T01:27:14
2018-08-03T01:27:14
143,361,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
from pandas import read_csv import pylab from sys import argv train_data_8s = read_csv('FCN-8s-ResNet101_Vaihingen/run_train-tag-entropy_1.csv') train_step_8s = train_data_8s.iloc[:, 1].values train_acc_8s = train_data_8s.iloc[:, 2].values validation_data_8s = read_csv('FCN-8s-ResNet101_Vaihingen/run_validation-tag-e...
[ "gordonnguyen3796@gmail.com" ]
gordonnguyen3796@gmail.com
fe40af596e008133901e8eb437974a14e6f29f8f
82770c7bc5e2f27a48b8c370b0bab2ee41f24d86
/microblog/flask/venv/lib/python2.7/site-packages/scipy/fftpack/tests/test_basic.py
15826d4685a7eefdaf622f6b05ad0ecfe5c8f25c
[ "Apache-2.0" ]
permissive
johankaito/fufuka
77ddb841f27f6ce8036d7b38cb51dc62e85b2679
32a96ecf98ce305c2206c38443e58fdec88c788d
refs/heads/master
2022-07-20T00:51:55.922063
2015-08-21T20:56:48
2015-08-21T20:56:48
39,845,849
2
0
Apache-2.0
2022-06-29T23:30:11
2015-07-28T16:39:54
Python
UTF-8
Python
false
false
29,654
py
#!/usr/bin/env python # Created by Pearu Peterson, September 2002 from __future__ import division, print_function, absolute_import __usage__ = """ Build fftpack: python setup_fftpack.py build Run tests if scipy is installed: python -c 'import scipy;scipy.fftpack.test()' Run tests if fftpack is not installed: py...
[ "john.g.keto@gmail.com" ]
john.g.keto@gmail.com
f1b816434823e5ff322719c6e792a034ea4f4c35
177bb6567b9564b1feb1d6e25ab1e0d61adf8770
/ResidualLoss/CNN_l2_prob_far_dist.py
dc834cb205256111664a4feebdedd1accd470493
[]
no_license
fzdy1914/NUS-FYP
4ae9b299cf1cb72a01b371998781b9cec333d3f0
cb7195a8b025eb8ab2becd26886551479796f930
refs/heads/master
2023-04-16T05:08:12.529777
2021-04-05T06:56:15
2021-04-05T06:56:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,487
py
import random import sys from torch.autograd import Variable from torch import optim import numpy as np from torch.backends import cudnn import torch.nn.functional as F import torch from torch.utils.data import DataLoader, WeightedRandomSampler from ResidualLoss.dataset import cifar10_data_loader_test, cifar10_data_...
[ "1229983126@qq.com" ]
1229983126@qq.com
1d775b49368f6bf5bc1295ea51f84d6fcc27a0c9
7265af084e9a69b45ea8367f53fd91582d6c2d50
/eelbrain/tests/test_data.py
d7da51188808c19dbe96345e478525a11c255c60
[]
no_license
phoebegaston/Eelbrain
b2c6a51d4fb249b9252af3814683c659b9df2965
b5b2ee7374a644cd9ea7b60bed86510ae3d5cc15
refs/heads/master
2020-12-31T05:41:30.784904
2015-04-26T11:38:01
2015-04-26T12:00:37
34,686,112
0
0
null
2015-04-27T19:17:59
2015-04-27T19:17:59
null
UTF-8
Python
false
false
29,331
py
# Author: Christian Brodbeck <christianbrodbeck@nyu.edu> from itertools import izip, product import os import cPickle as pickle import shutil from string import ascii_lowercase import tempfile import mne from nose.tools import (eq_, ok_, assert_almost_equal, assert_is_instance, assert_raises) i...
[ "christianmbrodbeck@gmail.com" ]
christianmbrodbeck@gmail.com
17f147002517ca6e9ce3f90605cfde55fb9f8c21
8f736b5cc28cc1d46506abf1b001eb41cc1f9423
/apps/trade/migrations/0021_auto_20210322_2247.py
9d43bf7c166f0d2b8fdeb3cf75abab92377b96c8
[]
no_license
tang1323/MxShop
6ac68502f59ae07b483b6145e1b557399192e3dd
831b5bdd8abdf7d6e547b0bd3fff9341261e4afa
refs/heads/master
2023-04-04T07:09:32.759476
2021-04-14T14:36:00
2021-04-14T14:36:00
357,937,706
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
# Generated by Django 2.2 on 2021-03-22 22:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('trade', '0020_auto_20210322_1137'), ] operations = [ migrations.AlterField( model_name='orderinfo', name='pay_status',...
[ "1171242903@qq.com" ]
1171242903@qq.com
8cc46188aaa9c714c01b161566a49af267641640
b860530cc9f14d23fefada526f36fe3eae34e42c
/tracnghiem/admin.py
5e86c22bc9bdfb2b7ae7920c83df3a7a07080aee
[]
no_license
anhpt204/hvhc
fa0386f624f9699b56570ec06fa724894d04b60a
0b8d2f48bc8068413b6e53b989205fef19358a80
refs/heads/master
2022-12-06T01:00:45.232069
2016-08-16T15:50:52
2016-08-16T15:50:52
42,731,930
0
0
null
2022-11-22T00:27:27
2015-09-18T15:54:38
Python
UTF-8
Python
false
false
9,173
py
# -*- encoding: utf-8 -*- from django.contrib.admin.options import TabularInline, ModelAdmin from tracnghiem.models import Answer, QuestionGroup, MCQuestion, TFQuestion, SinhDeConf, LogSinhDe,\ NganHangDe, KHThi, BaiThi, ImportMCQuestion from django.http.response import HttpResponseRedirect from django.contrib imp...
[ "anh.pt204@gmail.com" ]
anh.pt204@gmail.com
ccec29fd6ea83bdc111cb217e95734492d2579ad
42348c0ff9785bbab18d87f277df791331bbc121
/tests/test_pitches.py
2d1420380d1934aca34db60e8b9154860a4255cc
[ "MIT" ]
permissive
vincentouma/thinkout
783449834bd856d17e5273d9d3a50ecb6d79f6ef
85306ccec7924ad4fd6fe7ffb75aa537d9fe97c0
refs/heads/master
2020-06-29T11:48:09.283309
2019-08-06T05:59:14
2019-08-06T05:59:14
200,524,144
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
import unittest from app.models import User def test_no_access_password(self): with self.assertRaises(AttributeError): self.new_user.password def test_password_verification(self): self.assertTrue(self.new_user.verify_password ('banana'))
[ "vinceoumah@gmail.com" ]
vinceoumah@gmail.com
6aad1e54b8786ecb8e264520db3f9ee24f1bfb49
9ac99a99dc8f79f52fbbe3e8a5b311b518fe45d9
/apps/hrm/models/employee_types.py
35bc9fbf61826d7c5683608a6038c4e0d7ac01e7
[]
no_license
nttlong/quicky-01
eb61620e01f04909d564244c46a03ca2b69dfecc
0f5610aa7027429bdd9ca9b45899a472c372c6cc
refs/heads/master
2020-03-25T17:45:31.633347
2018-11-27T15:02:30
2018-11-27T15:02:30
143,994,145
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
from qmongo import extends, extends_dict,define from . commons import base model_name = "employee_types" extends( model_name, base.model_name, [], formular = ("text") )
[ "zugeliang2000@gmail.com" ]
zugeliang2000@gmail.com
78628bb42876d7fa9c9b9a641465f23d3409700b
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/eqptcapacity/l3usageperhist1d.py
6ce6ba4d67fb03c133a1fb3f10af92213f8034cd
[]
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
17,558
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
9d20f3f16753593924c66dad24694eb7c72e00c0
795435350d2e4fe415acd1fb846abb1c0cf94911
/client/code/do some researches on crawler/douban/douban.py
8cac1d9078cbb947968dfe3d23aeff118fa4b940
[]
no_license
gaoxinge/network
c3575c7f0d95f7458a4ec74880ca5b8a0bff773e
68d307ec0756abff60914225fd38d69fa4b2a37c
refs/heads/master
2021-06-06T05:49:36.521243
2021-06-02T15:42:39
2021-06-02T15:42:39
84,033,128
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
import requests from lxml import etree from Item import Item import time def http(url): response = requests.get(url, headers={'User-Agent': 'Mozilla/5.0'}) return response def parse(response): Movie = Item('Movie', ['title', 'rating', 'vote']) root = etree.HTML(response.text) results = root.xpath(...
[ "gaoxx5@gmail.com" ]
gaoxx5@gmail.com
04ad4d19924cc49f42a7f6ac77847e9bb33362eb
9f8fa29bb5a93f896862806157b10b55e9f26825
/message_media_conversations/models/message_dto.py
f07f49fac18257112666287a40d5f2c106d9e2f8
[ "Apache-2.0" ]
permissive
messagemedia/conversations-python-sdk
1b245ca7f63ca0c6fdbcd17a9bd11565d421e2a0
b53046540bd5c826de784228f838468c22b863cf
refs/heads/master
2020-03-19T05:52:05.735297
2018-10-16T23:29:31
2018-10-16T23:29:31
135,969,313
0
0
null
2018-06-04T04:12:18
2018-06-04T04:09:34
null
UTF-8
Python
false
false
2,057
py
# -*- coding: utf-8 -*- """ message_media_conversations.models.message_dto This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ) """ class MessageDto(object): """Implementation of the 'MessageDto' model. TODO: type model description here. ...
[ "git@apimatic.io" ]
git@apimatic.io
1227e2067f8c114470a88b026b4a6e6c16ee45bd
4ea43f3f79ad483d83238d88572feb822f451372
/philo/models/fields/__init__.py
efd315f9c3c5e11afe2ba9802508200ca1a0905c
[ "ISC" ]
permissive
kgodey/philo
c8c433d44b2f31121f13bd0ee101605be11fe9da
c19bf577d44606d2b284e6058d633f4a174b61cc
refs/heads/master
2020-12-29T02:54:11.746966
2011-05-24T21:57:47
2011-05-24T21:57:47
686,009
1
0
null
null
null
null
UTF-8
Python
false
false
4,547
py
from django import forms from django.core.exceptions import ValidationError from django.core.validators import validate_slug from django.db import models from django.utils import simplejson as json from django.utils.text import capfirst from django.utils.translation import ugettext_lazy as _ from philo.forms.fields im...
[ "stephen.r.burrows@gmail.com" ]
stephen.r.burrows@gmail.com
b12c9631dbd2f75d27a5ac4754fee8e016fc58c0
60acb606318869410d7437bf6c1a16fd6762b6b4
/app/__init__.py
871f9dabd9b8272d79ccffa706296dcf48f3ee49
[ "Apache-2.0" ]
permissive
heraclitusj/mgek_imgbed
8fb0c69599fab3fce06684f659dfd5c0b4c5f866
d8a77ba1401f42237adda1b3ea8611f6464a704e
refs/heads/master
2022-07-28T01:48:51.314094
2020-05-20T05:35:52
2020-05-20T05:35:52
265,461,338
0
0
null
2020-05-20T05:31:37
2020-05-20T05:31:37
null
UTF-8
Python
false
false
1,231
py
# @Author: Landers1037 # @Github: github.com/landers1037 # @File: __init__.py.py # @Date: 2020-05-12 from flask import Flask from app.config import * from flask_sqlalchemy import SQLAlchemy from flask_pymongo import PyMongo #初始时会默认初始化数据库连接,根据engine的配置选择配置的数据库 db = SQLAlchemy() mongo = PyMongo() global_co...
[ "32225052+Landers1037@users.noreply.github.com" ]
32225052+Landers1037@users.noreply.github.com
ca55231bed72276df46a7e9b1d23e67ae3171425
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_fade.py
48b2ce0cd12e383a309567bd8721b04aafb27dd9
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
#calss header class _FADE(): def __init__(self,): self.name = "FADE" self.definitions = [u'to (cause to) lose colour, brightness, or strength gradually: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'verbs' def run(self, obj1 = [], obj2 = []): retu...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
fa0b0e8390377d9b563df54e6bfa61219bfd4b70
ad0857eaba945c75e705594a53c40dbdd40467fe
/baekjoon/python/buying_cards_11052.py
b29c863cc46b83674f4b81cdf48a7cffc84bb63f
[ "MIT" ]
permissive
yskang/AlgorithmPractice
c9964d463fbd0d61edce5ba8b45767785b0b5e17
3efa96710e97c8740d6fef69e4afe7a23bfca05f
refs/heads/master
2023-05-25T13:51:11.165687
2023-05-19T07:42:56
2023-05-19T07:42:56
67,045,852
0
0
null
2021-06-20T02:42:27
2016-08-31T14:40:10
Python
UTF-8
Python
false
false
630
py
# Title: 카드 구매하기 # Link: https://www.acmicpc.net/problem/11052 import sys sys.setrecursionlimit(10 ** 6) read_single_int = lambda: int(sys.stdin.readline().strip()) read_list_int = lambda: list(map(int, sys.stdin.readline().strip().split(' '))) def solution(num_card: int, packs: list): d = [0 for...
[ "yongsung.kang@gmail.com" ]
yongsung.kang@gmail.com
159e01e7c2fe4f3943abf29f49cebe1232f215b3
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/Scaleform/daapi/view/meta/VehiclePreviewMeta.py
3b324dcf456ad95c0dd3471a225ee52f30dbbf10
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,046
py
# 2017.02.03 21:51:10 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/VehiclePreviewMeta.py from gui.Scaleform.framework.entities.View import View class VehiclePreviewMeta(View): """ DO NOT MODIFY! Generated with yaml. __author__ = 'yaml_processor' @ext...
[ "info@webium.sk" ]
info@webium.sk
0ac14a8d24cb5d63875837fa4d9df2a7b1f8b5c6
86741e9f531f2aa63af682cc974ebbcc3b202e90
/allhub/users/ssh_keys.py
5829881dbdcb9d0302a4e6deb02739cf3e27ca79
[ "Apache-2.0" ]
permissive
srinivasreddy/allhub
ccebea96a106e266743d180410ab5b16d08946fe
ff20858c9984da5c4edd5043c39eed3b6d5d693d
refs/heads/master
2022-12-27T01:24:30.759553
2021-06-04T11:38:16
2021-06-04T11:38:16
204,402,796
2
2
Apache-2.0
2022-12-08T07:44:11
2019-08-26T05:33:37
Python
UTF-8
Python
false
false
1,817
py
from allhub.response import Response class SSHKeysMixin: def list_public_ssh_keys(self, username): url = "/users/{username}/keys".format(username=username) self.response = Response( self.get( url, **{"Accept": "application/vnd.github.giant-sentry-fist-pr...
[ "thatiparthysreenivas@gmail.com" ]
thatiparthysreenivas@gmail.com
e0159a0bc43cebe51ee88486e5e5cacadec5a5a7
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/netex/models/railway_link_ref_structure.py
00ba98f8df1e4547deb46e2b051c3da101b80055
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
246
py
from dataclasses import dataclass from .infrastructure_link_ref_structure import InfrastructureLinkRefStructure __NAMESPACE__ = "http://www.netex.org.uk/netex" @dataclass class RailwayLinkRefStructure(InfrastructureLinkRefStructure): pass
[ "chris@komposta.net" ]
chris@komposta.net
6d608921210b60fa6848d362d756532953b5c228
2b770588db83bc2a61b52f430248414395cc1b1f
/django_/citysearch_project/cities/models.py
fa4d0dc5e09ad2f0c02245c2ca01b266a2024625
[]
no_license
luka319/portfelio_chemodanio
595afb1d2e1fb3564bf94b204aa8e63dddd4cf0c
dd37f8c4af9d043ace9b5438b5a7680cfab26ab2
refs/heads/master
2021-06-26T19:05:33.170977
2020-01-08T23:24:10
2020-01-08T23:24:10
231,444,932
0
0
null
2021-06-10T22:27:34
2020-01-02T19:19:49
Python
UTF-8
Python
false
false
296
py
from django.db import models # Create your models here. class City(models.Model): name = models.CharField(max_length = 255) state = models.CharField(max_length = 255) class Meta: verbose_name_plural = "cities_города" def __str__(self): return self.name
[ "luka319@i.ua" ]
luka319@i.ua
802828ec5275a0ef9b1ef8d1db094dfc9f3a6d36
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/alertsmanagement/v20190505preview/outputs.py
0da651342e6335cb50f421cf750b9e602f4b1fea
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,016
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
5644e5c0b6aa0dab0c7749c8574c9a70eebc075c
400b0cb1f25cc2fbe80a3037c06102f40c4d2d89
/string33.py
575f57fac37b82880d7965f8c50047498875f63b
[]
no_license
Prithamprince/Python-programming
4c747d306829de552e3b0c6af67cfe534a2dc2e1
79a0953084a01978e75d2be4db0d35ba1cf29259
refs/heads/master
2020-05-30T06:29:26.134906
2019-12-13T06:33:49
2019-12-13T06:33:49
189,580,341
0
4
null
null
null
null
UTF-8
Python
false
false
226
py
from itertools import combinations p=input() q=0 l=list(combinations(p,len(p)-1)) for i in range(len(l)): if(l[i]==l[i][ ::-1]): print("YES") q=1 break if(q==0): print("NO")
[ "noreply@github.com" ]
Prithamprince.noreply@github.com
015fd34248887879e5b092b00ab71bd4a61b4d02
8a9ba5e9e8c9f3d8e05b6840f1c17d526344e6d2
/src/reia.py
7ada168207031f9a5c85d73b90325662fbde0a50
[ "MIT" ]
permissive
maanavshah/remote-intelligent-assistant
fe1e2bcb6d43345553194c442d4676b3137e0348
65ea7287d0ca2dd98a376bbadc81a5093b9b6046
refs/heads/master
2021-06-13T20:20:05.622634
2019-12-20T12:54:00
2019-12-20T12:54:00
142,580,543
4
0
MIT
2021-03-25T21:58:30
2018-07-27T13:27:56
Python
UTF-8
Python
false
false
5,369
py
import yaml import sys import random import nltk import operator import jellyfish as jf import json import requests import os import time import signal import subprocess from nltk.tag import StanfordPOSTagger from textblob.classifiers import NaiveBayesClassifier from execute import construct_command from feedback impor...
[ "shah.maanav.07@gmail.com" ]
shah.maanav.07@gmail.com
3a068e2a6864d85f641af5e0ebd662ca44331292
07a1088bcec25cdf7e4027abc5a8dc83eb37ffb4
/fabrik/ext/nginx.py
ccc6e5e8f0774d418cd35226796dadcf056ebc96
[ "MIT" ]
permissive
Frojd/Fabrik
7e00bb66761c552da9d70cc36f3ff0108bf7a481
9f2edbba97a7fd236b72a9b3010f6e912ab5c001
refs/heads/master
2020-04-06T04:39:31.445843
2018-04-16T06:54:21
2018-04-16T06:54:21
25,035,502
12
0
null
null
null
null
UTF-8
Python
false
false
231
py
# -*- coding: utf-8 -*- """ fabrik.ext.nginx ---------------------- Methods for handling nginx """ from fabric.state import env def restart(): env.run("service nginx restart") def reload(): env.run("nginx -s reload")
[ "martin@marteinn.se" ]
martin@marteinn.se
1c89e34f2a701a441c1be1d145087c705e02ff86
f2171e2f2c78d616a381b3308d13a600d687587f
/x.Machine Learning Foundation/NumPy and Pandas Part 1/numpy_index_array.py
fce265f622df7db4d6f5e57be7428a2167fd3916
[]
no_license
vinkrish/ml-jupyter-notebook
bda01343118869bd2bfb44f3c3122853834d314a
ef5d05512b8387d7a3e494f024416f6ca7336827
refs/heads/master
2021-06-09T00:53:51.638551
2021-05-08T15:13:51
2021-05-08T15:13:51
168,104,038
0
0
null
null
null
null
UTF-8
Python
false
false
1,921
py
import numpy as np # Change False to True for each block of code to see what it does # Using index arrays if False: a = np.array([1, 2, 3, 4]) b = np.array([True, True, False, False]) print a[b] print a[np.array([True, False, True, False])] # Creating the index array using vectorized operations if F...
[ "vinaykrishna1989@gmail.com" ]
vinaykrishna1989@gmail.com
1f4bd449aba35de17062609461614b820c3a18f9
eddbf9518e7384f0e9a1d9e19cbe74855c3f24bd
/2017011066LiShaoFei/First.py
7f3f5ef75bfa8561246cc72cba9cfb0ca45f5650
[]
no_license
wanghan79/2019_Python
9d2391d799efd9545b2afb3565bc5c6d542d1d86
f856409af92af3990773966d937d58d9d1cade04
refs/heads/master
2020-05-05T12:54:30.921361
2019-07-20T09:50:03
2019-07-20T09:50:03
180,050,522
11
14
null
2019-07-15T15:00:03
2019-04-08T01:59:24
Python
UTF-8
Python
false
false
1,119
py
import numpy as np import random import string def random_list( start, stop, length): if length >= 0: length = int(length) start, stop = (int(start), int(stop)) if start <= stop else (int(stop), int(start)) random_list = [] for i in range(length): random_list.append(ra...
[ "noreply@github.com" ]
wanghan79.noreply@github.com
7d69b0a585408e145f7c50fc555cfe9dfb7cb57f
35cb7a8a22fdd3932b63c89b17f587205bd00fec
/apps/excursao/migrations/0002_excursao_is_internacional.py
3f9637243e6f3af5d03ec7553d613c3b439ba4a1
[]
no_license
rcoutelo/viajecomdarcy-web
debc24ec44e733c12257f3e89f3424ab7b3ee1f4
2ab2db407523299a58423f058c1f74231b15d617
refs/heads/master
2021-03-27T14:41:34.303463
2017-06-19T15:14:54
2017-06-19T15:14:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2017-05-19 19:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('excursao', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "lfa.luisfelipe@gmail.com" ]
lfa.luisfelipe@gmail.com
a64f0f99c0ebcacedc4e8efb592d1f75480fcd7c
0e25329bb101eb7280a34f650f9bd66ed002bfc8
/tests/functional/test_misc.py
5da0c776cf8bde4c5a1a3dc58331fff08885b9f3
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
enthought/enstaller
2a2d433a3b83bcf9b4e3eaad59d952c531f36566
9c9f1a7ce58358b89352f4d82b15f51fbbdffe82
refs/heads/master
2023-08-08T02:30:26.990190
2016-01-22T17:51:35
2016-01-22T17:51:35
17,997,072
3
4
null
2017-01-13T19:22:10
2014-03-21T23:03:58
Python
UTF-8
Python
false
false
7,200
py
import json import os.path import platform import shutil import sys import tempfile import textwrap import mock import responses from enstaller import __version__ from enstaller.config import Configuration from enstaller.history import History from enstaller.main import main_noexc from enstaller.utils import PY_VER ...
[ "cournape@gmail.com" ]
cournape@gmail.com
6ffbc1fdd0bb94c69f961871e05b86e073a589d5
e0ed932fc2e4edb953cc4e423362dabc19083008
/python/sanic_learn/docs/learn_conf.py
3b279281ff746c4e709cfdd6e544322a6b2da803
[]
no_license
glfAdd/note
90baee45003ac3998d898dcfbc618caa28f33b74
19a9aff61450be25904bff0fe672f660d49d90ff
refs/heads/main
2023-05-27T13:28:36.092352
2023-05-24T03:35:58
2023-05-24T03:35:58
240,066,208
1
0
null
null
null
null
UTF-8
Python
false
false
348
py
""" ============================ config config对象实现两个__getattr__和__setattr__ 方式1: 使用属性 app = Sanic('myapp') app.config.DB_NAME = 'appdb' app.config.DB_USER = 'appuser' 方式2: 使用update db_settings = { 'DB_HOST': 'localhost', 'DB_NAME': 'appdb', 'DB_USER': 'appuser' } app.config.update(db_settings) """
[ "2239660080@qq.com" ]
2239660080@qq.com
e27f61c97808942556f956f9422de14a5bd4a641
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/lFp.py
af044a654924c11751ea171e241dc87980eeaa4e
[]
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
bc7e6918b6630b409153c0d84d6feefc8425c2b6
fd67592b2338105e0cd0b3503552d188b814ad95
/test/test_models/test_ping.py
61773ff5dfcc00185b57a32a4230151250581dbc
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
5,002
py
# coding: utf-8 """ APIv3 (New) # Introduction This is our new version of API. We invite you to start using it and give us your feedback # Getting Started E-goi can be integrated with many environments and programming languages via our REST API. We've created a developer focused portal to give your organiza...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
8969006cf82f736e5a60bd8c29710cd5a996c994
c8f5d69d21ac4df40d79a811dea2e3ad82fb5e04
/src/csv2plot.py
a731eff829805f1ba98f1ab6013855d44df4bc50
[]
no_license
webclinic017/usstock
e71ab18534fd3afc05ab2452578821584750e2b9
c724f00bc1c5d2a41ee58e037ba0b1b3f0904f70
refs/heads/master
2023-08-15T05:22:14.275202
2021-10-14T21:19:53
2021-10-14T21:19:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,608
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Description: plot time series from a csv file Usage of: csv2plot.py file --sep=DELIMITER Example: # FROM data file python csv2plot.py csv2plot.dat # OR (near realtime data) iex_types_batch.py --types=chart --range=1d --no_database_save AAPL | csv2plot.py -...
[ "facebook@beyondbond.com" ]
facebook@beyondbond.com
2d34fe0d4f1b224a9e161de674ff2f540eaf6f3f
d3f448d238b435b48d8f27f17a34b3e39a70dc29
/python-client/test/test_kyc_user_validation_share_holder_list_item_response_natural.py
5639c0032162e82c676318d5d1ff7f90707312d0
[]
no_license
pedroguirao/swagger
1fc29b6d9bcc193bf8ce85f6d8a6074f4c37150d
5ffea6203b5fcd3f201c2ede76d354302a6fb0ee
refs/heads/master
2020-06-07T16:15:08.659567
2019-06-21T07:51:49
2019-06-21T07:51:49
193,055,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
# coding: utf-8 """ MarketPay API API for Smart Contracts and Payments # noqa: E501 OpenAPI spec version: v2.01 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.kyc_us...
[ "antonio.canovas@ingenieriacloud.com" ]
antonio.canovas@ingenieriacloud.com
1de1b2caa5a46a524e310c70cb4922b59d81d69c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03106/s261285927.py
acddd8336d17f956526b10a5358983a3ae205bef
[]
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
152
py
import sys a,b,k=map(int,input().split()) for i in range(1,101): if a%(101-i)==0 and b%(101-i)==0: k-=1 if k==0: print(101-i) sys.exit()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
71c821509417c94ee842caec376a6a4c2803b333
d9a22d4dcdfc0c28176c0e8afd784b30d275597e
/test_suite/shared_data/dispersion/Fyn_SH3_R1rho/relax_results/solution_tp02.py
6e2250c6b7fdf8ea287e0c2e8ad080017c2505a3
[]
no_license
jlec/relax
fda1b3ff77be0afc21c2e6cc52348ae7635cd07a
c317326ddeacd1a1c608128769676899daeae531
refs/heads/master
2016-09-08T00:27:57.256090
2015-02-10T12:24:55
2015-02-10T12:24:55
30,596,131
4
1
null
null
null
null
UTF-8
Python
false
false
8,039
py
"""Compare the synthetic cpmg_fit data to the relax solution. To run this, type: $ rm -f solution_tp02.log; ../../../../../relax --tee solution_tp02.log solution_tp02.py """ # Python module imports. from os import remove from shutil import move # relax module imports. from lib.dispersion.variables import EXP_TYPE_R...
[ "bugman@b7916896-f9f9-0310-9fe5-b3996d8957d5" ]
bugman@b7916896-f9f9-0310-9fe5-b3996d8957d5
400c4825be91859d206dbc84ac0bef043e1582b7
66a05459831aef06fc86316ecb782848c116b226
/collective/etherpad/Extensions/Install.py
be56c049b8b686cc2c19c1f049088f75de18d462
[]
no_license
toutpt/collective.etherpad
8d01323b3e31ff0872afa1fd8e4bc85b14a3f123
590414ddd3ed7437cefea91c853d291feb9b328f
refs/heads/master
2020-05-18T05:31:36.603712
2013-09-26T12:45:35
2013-09-26T12:45:35
8,142,351
2
0
null
2013-09-18T16:42:41
2013-02-11T17:13:59
Python
UTF-8
Python
false
false
709
py
def uninstall(portal, reinstall=False): """We uninstall things that are not handles by quickinstaller""" if not reinstall: # lets remove action on content types types = portal.portal_types for _type in ('Document', 'News Item', 'Event', 'Topic'): _typeinfo = getattr(types, ...
[ "toutpt@gmail.com" ]
toutpt@gmail.com
01e31b5def65ba66a0b5b8c58dd666c03742a49f
00ed1eb9f4875be9c116eae90c850b4c5f0ebd4d
/tests/funcat/utils/test_yahoo.py
8cf228d677cb84b693c54063b84d932589854b5c
[ "Apache-2.0" ]
permissive
pchaos/funcat2
a64fbcfc5c1d7b6ed1356cd9558a2efabae90c0e
ff554cc134906a5a182fc31774488d62a839b314
refs/heads/master
2023-09-02T19:56:16.017728
2021-09-03T01:57:15
2021-09-03T01:57:15
356,155,099
12
5
null
null
null
null
UTF-8
Python
false
false
904
py
# -*- coding: utf-8 -*- import unittest import warnings from funcat.utils import save_sp500_tickers, get_data_from_yahoo __updated__ = "2021-08-10" class TestYahoo(unittest.TestCase): """Test case docstring.""" @classmethod def setUpClass(cls): super(TestYahoo, cls).setUpClass() # 隐藏wa...
[ "drifthua@gmail.com" ]
drifthua@gmail.com
4533e7f4106a08d6c60606ae85e081356575fbf3
0c40e97b69dcd00f0b0b05f249d0fce448320fd8
/test/functional/feature_segwit.py
2d82afd598a56df99062522ce243f7c32495d618
[ "MIT" ]
permissive
Arhipovladimir/Earthcoin
9908912df9b10b97512c545b855c3670767039d9
bc5b5ee538c76e7232e93434aedd8688bae70792
refs/heads/main
2023-07-16T05:50:52.755250
2021-08-25T09:19:40
2021-08-25T09:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,664
py
#!/usr/bin/env python3 # Copyright (c) 2016-2018 The Earthcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the SegWit changeover logic.""" from decimal import Decimal from test_framework.address import...
[ "mail@deveac.com" ]
mail@deveac.com
110f03f1ca08186fa594f660cabd56e1c35ab2e9
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/network/azure-mgmt-network/generated_samples/private_link_service_delete.py
97258f9c138bda212fe46732ae74449e11fcba41
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
1,518
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 may ...
[ "noreply@github.com" ]
rdomenzain.noreply@github.com
815555a0b9ba8d3eef9e459b9d19cd9f6e6e9305
824f831ce0921b3e364060710c9e531f53e52227
/Leetcode/Python_Basics/02_C_Collection_OrderedDict.py
4c7578f24feadc8a52aabb12cbb8fd63c8f4f69d
[]
no_license
adityakverma/Interview_Prepration
e854ff92c10d05bc2c82566ea797d2ce088de00a
d08a7f728c53943e9a27c33f8e4249633a69d1a6
refs/heads/master
2020-04-19T19:36:06.527353
2019-06-15T23:02:30
2019-06-15T23:02:30
168,392,921
0
2
null
null
null
null
UTF-8
Python
false
false
948
py
# 8.3.6.1. OrderedDict Examples and Recipes # OrderedDict Examples and Recipes # # Since an ordered dictionary remembers its insertion order, it can be used in # conjunction with sorting to make a sorted dictionary: # >>> # # >>> # regular unsorted dictionary # >>> d = {'banana': 3, 'apple': 4, 'pear': 1, 'or...
[ "noreply@github.com" ]
adityakverma.noreply@github.com
14a3acc0bab16e60abbf783682b7aa042165a154
20bb1ae805cd796a7c377e55966633441d1d9fd5
/uva/10680 LCM/lcm.py
b168af4bd0eee42ae91ee9c4dc81041695a8fe27
[]
no_license
nathantheinventor/solved-problems
1791c9588aefe2ebdc9293eb3d58317346d88e83
c738e203fa77ae931b0ec613e5a00f9a8f7ff845
refs/heads/master
2022-10-27T08:58:23.860159
2022-10-13T20:18:43
2022-10-13T20:18:43
122,110,149
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
ans = [0, 1] cur = 1 factors = [[] for _ in range(1000001)] for i in range(2, 1000001, 2): factors[i].append(2) for i in range(3, 1000001, 2): if len(factors[i]) == 0: for k in range(i, 1000001, i): factors[k].append(i) for i in range(2, 1000001): if len(factors[i]) == 1: for fa...
[ "nathantheinventor@gmail.com" ]
nathantheinventor@gmail.com
b9dde9ef681c952721f0165bff9acbd9a024ba59
95740c67e49e1528919eb8f96ae8086e7386e558
/project/reports/election_prediction/pattern/web/__init__.py
67bf0c5ef521ac625225815154e73cffa6a8de32
[ "MIT" ]
permissive
mdeff/ntds_2016
5449fd5b7a1e4aa8721d0ae33a1f8a097f73b265
2d597838cb2688471cc6122a5570441585393148
refs/heads/master
2021-01-17T17:47:01.434340
2019-12-16T17:53:04
2019-12-16T17:53:04
69,178,943
109
51
null
null
null
null
UTF-8
Python
false
false
149,004
py
#### PATTERN | WEB ################################################################################# # -*- coding: utf-8 -*- # Copyright (c) 2010 University of Antwerp, Belgium # Author: Tom De Smedt <tom@organisms.be> # License: BSD (see LICENSE.txt for details). # http://www.clips.ua.ac.be/pages/pattern ############...
[ "michael.defferrard@epfl.ch" ]
michael.defferrard@epfl.ch
4cd078afb5311f126095acf7b92ad0506caea81c
87796f8b79b325cdfca7a98b120d690a13ebd267
/capture/noworkflow/tests/prov_definition/__init__.py
b9e742c0dad1702ab87430c5fbb2e8279693e496
[ "MIT" ]
permissive
raffaelfoidl/noworkflow
c53c6be45960a93aa546fd8f6c967af2b7c31c93
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
refs/heads/master
2021-01-06T16:32:57.036864
2020-03-23T14:12:37
2020-03-23T14:12:37
241,398,493
0
0
MIT
2020-02-18T15:36:16
2020-02-18T15:36:15
null
UTF-8
Python
false
false
426
py
# Copyright (c) 2016 Universidade Federal Fluminense (UFF) # Copyright (c) 2016 Polytechnic Institute of New York University. # This file is part of noWorkflow. # Please, consult the license terms in the LICENSE file. from __future__ import (absolute_import, print_function, division, unicode_li...
[ "joaofelipenp@gmail.com" ]
joaofelipenp@gmail.com
8614ee5eeee6d74b19ddc1e1113d47b06dddb8bd
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-ethernet-lldp-cfg/gn-create-xr-ethernet-lldp-cfg-20-ydk.py
3d8398de12dc3fa89df78ddc852a3fa57177f1dc
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
2,824
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # 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...
[ "deom119@gmail.com" ]
deom119@gmail.com
174b23a0701205e2da87894ca11e6fddd5a246d5
38a263d52c52a8834b175e867330d8415dad7384
/Regression_suite_bigc/api/test_shipping_method_api.py
39dd52af582926da309c4c1bc141b4d413de60a9
[]
no_license
testing-sravan/tests-scripts-worked
4e57c47c4ea9a9bc22e85a8b6d628615907537bd
33c579918356f6ff1cdfd5635d6eba1d85eba0b7
refs/heads/master
2021-01-10T20:39:12.805680
2014-09-15T04:54:02
2014-09-15T04:54:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,893
py
from lib.api_lib import * from lib.shipping_class import * AUSPOST_AUTH_KEY = "bzfac4efaf7e7e51a4b1dbd7cc76cb31" @pytest.mark.skipif("True") def ttest_disable_shipping_reboot(browser, url, email, password): shipping = ShippingClass(browser) shipping.go_to_admin(browser, url, email, password) shipping.set...
[ "jenkins@localhost" ]
jenkins@localhost
ae79db95820afa78fc580aa49376922c0c238952
ad13583673551857615498b9605d9dcab63bb2c3
/output/models/ms_data/datatypes/facets/float_pkg/float_min_inclusive005_xsd/__init__.py
2aa44ebe2b8660a5c90d5e944cdea45e6804713b
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
180
py
from output.models.ms_data.datatypes.facets.float_pkg.float_min_inclusive005_xsd.float_min_inclusive005 import ( FooType, Test, ) __all__ = [ "FooType", "Test", ]
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
19278d8ef7d38d9fef53807d8b5f43c6599c1860
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_310/ch24_2019_02_28_22_51_17_076072.py
a696f9213b91ef86ad0fdb8ed69e705024d7c53c
[]
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
204
py
def classifica_triangulo(l1, l2, l3): if l1==l2 and l1==l3: return "equilátero" elif l1==l2 and l1!=l3 or l1!=l2 and l1==l3: return "isóceles" else: return "escaleno"
[ "you@example.com" ]
you@example.com
8b315feae897c34875ac54d7346c9f3fa36a7ae9
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_28421.py
e88056b6d7429d3371507942c15ea0699c845088
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
# Python yagmail attachment not working pip3 install -U yagmail
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
12b57b06ca8399fdc27fa38e011de43de67a8a30
94f4bb0f6e43b2eb2f1bdb284a580b76121fa9af
/559.py
36b10d1ab3ede26c95a47dba50b8ef0aa9c74592
[]
no_license
huosan0123/leetcode-py
f1ec8226bae732369d4e1989b99ab0ba4b4061c4
22794e5e80f534c41ff81eb40072acaa1346a75c
refs/heads/master
2021-01-25T11:48:17.365118
2019-09-12T15:45:34
2019-09-12T15:45:34
93,934,297
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
""" # Definition for a Node. class Node(object): def __init__(self, val, children): self.val = val self.children = children """ class Solution(object): def maxDepth(self, root): """ :type root: Node :rtype: int """ if not root: return 0 ...
[ "noreply@github.com" ]
huosan0123.noreply@github.com
abc71170bebc5eeabbc454115b8a9dcc7b9a858e
7db0883137d119565540f2d071638c4016f39213
/Note/Spider/2.28-selenium/selenium+phantomjs学习/selenium_study3.py
452662361c9123151650e6ef605f1db84e6b3d4e
[]
no_license
PhilHuang-d/python---
cf22a4cc00d4beaaf75ef7ca87a4c5d31a9d5efe
152c18f51838ce652b79a0cd24765b1a1c237eee
refs/heads/master
2021-09-13T05:32:53.754865
2018-04-25T13:36:40
2018-04-25T13:36:40
108,812,447
1
1
null
null
null
null
UTF-8
Python
false
false
3,975
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import random __author__ = 'Terry' USER_AGENTS = [ 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)', 'Mozilla/5.0 (Wind...
[ "32259595+PhilHuang-d@users.noreply.github.com" ]
32259595+PhilHuang-d@users.noreply.github.com
bfc54acf5cfe74cdca27af81c9e898c7ad2005c3
37a67a9531f8c32739ae70fc5be55b4c6acae60d
/multinomial.py
61b5f29f47a1620d45a703bb42a374da45ab4e3d
[ "MIT" ]
permissive
gongkecun/distribution-is-all-you-need
da1b1b363df3343e0753e55564311e323cd6c890
93ae5ed7fa63607474d61723d2d28d1a4b3c653a
refs/heads/master
2020-08-27T10:03:21.144561
2019-10-24T15:04:43
2019-10-24T15:04:43
217,326,807
0
0
MIT
2019-10-24T15:02:48
2019-10-24T15:02:48
null
UTF-8
Python
false
false
1,217
py
""" Code by Tae-Hwan Hung(@graykode) https://en.wikipedia.org/wiki/Multinomial_distribution 3-Class Example """ import numpy as np from matplotlib import pyplot as plt import operator as op from functools import reduce def factorial(n): return reduce(op.mul, range(1, n + 1), 1) def const(n, a, b, c):...
[ "nlkey2022@gmail.com" ]
nlkey2022@gmail.com
245925707f4f6c6c98786d629ccf351760017361
80ae9b5cfb45b6e9cf7873ef7c46e17e117e4019
/data/HackerRank-Python/Matrix Script.py
114fa5ab8380753bbc2fe298d07e8f760aeb97f0
[]
no_license
Ritvik19/CodeBook
ef7764d89b790e902ede5802f36d5ca910d8a50e
2b4ed7938bbf156553d6ba5cba6216449528f0fc
refs/heads/master
2021-07-04T08:25:52.478719
2020-08-08T06:54:14
2020-08-08T06:54:14
138,744,302
3
0
null
null
null
null
UTF-8
Python
false
false
326
py
#!/bin/python3 import math import os import random import re import sys n, m = map(int, input().rstrip().split()) matrix = [] for _ in range(n): matrix_item = input() matrix.append(matrix_item) print(re.sub(r'(?<=[A-Za-z0-9])([^A-Za-z0-9]+)(?=[A-Za-z0-9])',' ',"".join("".join(decode) for decode in zip(*matri...
[ "rastogiritvik99@gmail.com" ]
rastogiritvik99@gmail.com
e4076d56d19e0b60f79ef0b63139cbc98873367c
e92d752737f3e90a47355d5502a364a9e2d0c08b
/tests/test_reverseproxy.py
c93c3521ab514877f5527c50f379fbd88223bb84
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
miri64/aiocoap
c7815758371f0a83c51b058fb0c24e8024feae9f
93e699280b644465213fc8ba29bae556475fb6fc
refs/heads/master
2023-08-15T16:46:27.985718
2021-10-05T17:15:00
2021-10-05T17:15:00
404,324,558
0
0
NOASSERTION
2021-09-08T11:39:12
2021-09-08T11:39:12
null
UTF-8
Python
false
false
4,526
py
# This file is part of the Python aiocoap library project. # # Copyright (c) 2012-2014 Maciej Wasilak <http://sixpinetrees.blogspot.com/>, # 2013-2014 Christian Amsüss <c.amsuess@energyharvesting.at> # # aiocoap is free software, this file is published under the MIT license as # described in the accompany...
[ "chrysn@fsfe.org" ]
chrysn@fsfe.org