blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
28bef66c3b2c95f1e00b8556426bdab6571a0478
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/PyBox/PyBox/src/pybox/memorymanager.py
36c285b82cb4ded0629ee8d675fd13c259de6be9
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:028987553e77368910581c6b2bd05d3cfbba9f0522a0ea3cd1564cd165d9208f size 13321
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
dbec5c83c9508762cf7a56b6f754aae6814aeb5c
d2fb5940cb5f3e03e613ec23238b4e80c3abf664
/simple_crawler.py
aa7915c69e06f8b00fa0b8e8a94e1deb12d25d0d
[]
no_license
weaming/simple-crawler
f4eeec63078c5af96d9207af28d7943ff85f44c8
ca204dc8ff94f2effaad772f51fc0ae40e2abf63
refs/heads/master
2022-12-12T22:52:25.234335
2019-07-21T03:24:57
2019-07-21T03:24:57
180,920,544
1
0
null
2021-04-30T21:10:10
2019-04-12T03:07:57
Python
UTF-8
Python
false
false
6,407
py
from typing import List import re import os import asyncio import logging from urllib.parse import urljoin import aiohttp from bs4 import BeautifulSoup version = "1.1" GET = "GET" POST = "POST" class CrawlerException(Exception): pass class HTTPError(CrawlerException): def __init__(self, status, value=None...
[ "garden.yuen@gmail.com" ]
garden.yuen@gmail.com
fcfb4dc84e67a06b0c54e1112e6cfc8065dfa350
e9593f0af98b175b32828220dfa192aed18d9a4b
/urls.py
c76904fea2f05ed39bb9e5b42ad5356090ffabac
[]
no_license
patrickbeeson/theplumbaker
f0806d2314e552115bc09fe21214a62fe3bed9a8
aaee8bbeda68e799b34b2c469bd30606bc278380
refs/heads/master
2021-01-01T06:54:35.587087
2013-12-02T22:03:39
2013-12-02T22:03:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,646
py
from django.conf.urls.defaults import * from django.contrib import admin from django.views.generic import list_detail, date_based from django.views.generic.simple import direct_to_template from django.contrib.sitemaps import FlatPageSitemap from plumbaker.apps.availability.models import Location from plumbaker.apps.in...
[ "patrickbeeson@gmail.com" ]
patrickbeeson@gmail.com
a378f124afe626e6e0ef92966e9d3fcaae9a4b47
811c0b9c6ce9561c50a044bdb866c70a24c51355
/cogpheno/apps/turk/urls.py
ae886cd9c324b87127c6f0e4b060a51904962f9f
[ "MIT" ]
permissive
vsoch/CogPheno
39a929187c6e2d95aeb47d18f327a9cf50f465ef
c3b964d40a4fe501857e68f422e4da557625dd0d
refs/heads/master
2022-06-22T14:43:56.556089
2021-04-22T03:43:28
2021-04-22T03:43:28
37,825,994
0
0
MIT
2022-06-21T21:08:16
2015-06-21T21:06:17
Python
UTF-8
Python
false
false
236
py
from .views import turk_questions from django.views.generic.base import TemplateView from django.conf.urls import patterns, url urlpatterns = patterns('', # Assessments url(r'^mturk$', turk_questions, name="turk_questions"), )
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
68bc85825501f03eee533c45b4e2fe08dd99daa3
41c26da9c57052a3c9cd17b81d91f41ef074cf8d
/MyLeetCode/python/4 Keys Keyboard.py
282e44ecacf6691039074ca93d0d3e97762c1d77
[]
no_license
ihuei801/leetcode
a82f59a16574f4781ce64a5faa099b75943de94e
fe79161211cc08c269cde9e1fdcfed27de11f2cb
refs/heads/master
2021-06-08T05:12:53.934029
2020-05-07T07:22:25
2020-05-07T07:22:25
93,356,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
### # DP # We use i steps to reach maxA(i) then use the remaining n - i steps to reach n - i - 1 copies of maxA(i) # For example: # A, A, A, Ctrl A, Ctrl C, Ctrl V, Ctrl V # Here we have n = 7 and we used i = 3 steps to reach AAA # Then we use the remaining n - i = 4 steps: # Ctrl A, Ctrl C, Ctrl V, Ctrl V, to reach n...
[ "hhuang@pinterest.com" ]
hhuang@pinterest.com
1c546e1555c475552c57e52720f3e3f46cac3a09
5c7da7dabdc076ad7113ccd20561a8bbf5f9a70e
/investments/migrations/0019_auto_20200207_1423.py
2756c453d19baff57d7af1a880401f73a4c50fca
[]
no_license
aqcloudacio/cloudaciofeez
2499fb5fc5334fa871daab2abea6c34bfa8c7667
8399560ece9aa10a6d6801f42c027dca26a65936
refs/heads/master
2023-02-27T22:36:20.501159
2021-02-11T00:03:46
2021-02-11T00:03:46
337,887,413
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Generated by Django 2.2.7 on 2020-02-07 03:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('investments', '0018_auto_20200207_1255'), ] operations = [ migrations.AlterField( model_name='investment', name='amo...
[ "alejandro.quintero@clouxter.com" ]
alejandro.quintero@clouxter.com
dc3a4dd6efae12f8be444d78837028501b6e707d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2888/60774/294955.py
e5d06eb0c0bc76d82de47d3c5744cb749926926b
[]
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
209
py
s = input().split(' ') n = int(s[0]) m = int(s[1]) numLst = list(map(int,input().split(' '))) for i in range(0,m): s = input().split(' ') l = int(s[0]) r = int(s[1]) print((l - r) % 2)
[ "1069583789@qq.com" ]
1069583789@qq.com
9e2bee58c5b00b19f4a41f6689120a413e3c2752
8bf490a48a0d0f573b8e2f2c36833d3afd62e932
/Vicar/vicar_app/migrations/0001_initial.py
bedc9e2aa84f77df180ef747b8518464d83a2996
[ "Apache-2.0" ]
permissive
cs-fullstack-fall-2018/django-form-post1-jpark1914
687e4e6a2a41e66a362953b85a3117e7dbc09724
230ba02b30ef48bf86dd1f0797859af7c434fbaf
refs/heads/master
2020-04-01T02:50:07.492037
2018-10-12T21:13:41
2018-10-12T21:13:41
152,797,502
0
0
null
null
null
null
UTF-8
Python
false
false
550
py
# Generated by Django 2.0.6 on 2018-10-12 19:35 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='VideoGame', fields=[ ('id', models.AutoFiel...
[ "parkerj4321@gmail.com" ]
parkerj4321@gmail.com
732d1689997721d821fadfe68d7bffc2a3aebcac
2316ce8a21d44a5d09284968ef42530633dc10d2
/sample_code/ep094/rev04/t.py
803d33acfea6cae5d26adf99172049dfd4729d1e
[]
no_license
AlexanderWinkelmeier/explains
160de2c41fc5fc0156b482b41f89644dc585c4f3
d47ec53e384e4303a2d8e71fab9073a1a8d2d6bc
refs/heads/master
2023-07-30T04:55:31.234482
2021-09-15T02:59:42
2021-09-15T02:59:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
872
py
import functools import shutil import pytest from unittest import mock @functools.lru_cache(maxsize=1) def get_default_version() -> str: """Return the default language version for ruby. - if `ruby` and `gem` executables are both globally available: `system` - otherwise: `default` """ if shutil....
[ "int3l@users.noreply.github.com" ]
int3l@users.noreply.github.com
b6b87116cb2c378e075e1e218a515b8f3307431c
39689ee725bc7183d5d59fb34f7d2ffe5fd6ad36
/ABC_A/ABC105A.py
a05c2419e246b35e78c061fa3e9e92373b899e26
[]
no_license
yu5shi8/AtCoder
b6eb920a9046bdfa98012dd3fc65f75f16214ffe
f9ca69001ece8379e3a70c993c44b540f8be2217
refs/heads/master
2021-06-15T17:58:07.027699
2021-03-20T14:04:03
2021-03-20T14:04:03
177,757,053
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
# -*- coding: utf-8 -*- # A - AtCoder Crackers # https://atcoder.jp/contests/abc105/tasks/abc105_a n, k = map(int, input().split()) if n % k != 0: print(1) else: print(0)
[ "royal_unicorn411@hotmail.co.jp" ]
royal_unicorn411@hotmail.co.jp
cdb36e497b9f39e58410cf4fbf0432ab90c17d2b
d0250258244068b039e6a39ed0506c782979560a
/djrill/tests/mock_backend.py
e119db25713725431ecba9de3b790829e3ebc820
[ "BSD-3-Clause" ]
permissive
rpryce/Djrill
3bfa8abb19c8b4c335eb816b6d44384627a4a566
85926d129bbdc68ec7a6368271c5e2390f4cfac8
refs/heads/master
2020-04-13T17:03:20.961504
2015-06-18T15:39:58
2015-06-18T15:39:58
37,664,917
0
0
null
2015-06-18T14:38:51
2015-06-18T14:38:50
null
UTF-8
Python
false
false
2,429
py
import json from mock import patch import requests import six from django.test import TestCase from .utils import BackportedAssertions, override_settings @override_settings(MANDRILL_API_KEY="FAKE_API_KEY_FOR_TESTING", EMAIL_BACKEND="djrill.mail.backends.djrill.DjrillBackend") class DjrillBackendM...
[ "medmunds@gmail.com" ]
medmunds@gmail.com
f182e668815eb1e091cd32b6e2b248ef9da56444
2e6c9adae6e96309aa639c570cdf6c92780c53d0
/1.1.0/test/test.py
91521d393d74c74a629fb6d5b7050e752329b53c
[ "Apache-2.0" ]
permissive
coffeeTeaOne/spiderpy
a262861c2526e6f2fdea99172c46a6c7d007f394
44e2003fc3b02c85f3df56b210b811f8a92a565d
refs/heads/master
2022-11-24T09:43:20.934773
2020-01-16T03:19:07
2020-01-16T03:19:07
232,038,730
1
0
null
2022-11-22T02:58:40
2020-01-06T06:30:17
Python
UTF-8
Python
false
false
284
py
import requests # from execjs.runtime_names import PyV8 # # with PyV8.JSContext() as ctx: # ctx.eval(""" # function add(x, y) { # return x + y; # } # """) # print(ctx.locals.add(1, 2)) a = [[1,2],[3,4]] for x,y in a: print(x,y)
[ "499413642@qq.com" ]
499413642@qq.com
a6024d130fb7e3476e62b4b56cf0e2c87d16a13f
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc064/B/4501235.py
c7f15bd8e4a8a156b86b5139ae89e4c91bf72ed5
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
338
py
s = input().strip() is_first = True for s1, s2 in zip(s, s[2:]): if s1 != s2: is_first = False if is_first: print('Second') else: if len(s) % 2 == 0: if s[0] == s[-1]: print('First') else: print('Second') else: if s[0] == s[-1]: print('Second') else: ...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
4ac9de088a88a0417c5424674a6e68552fadaffd
68ca0d66eff83b3981baa3de9971751c6a4deaa9
/zvt/recorders/eastmoney/meta/eastmoney_block_meta_recorder.py
fca43b24f53ad4be7ad098120cb0fefbe1fc3b3b
[ "MIT" ]
permissive
lisakk/zvt
ab3889a4897246baadb34c59dcf7c3e23b5c3586
56c13cdb165e3cdd6f17a4b00fe1f206db8af69e
refs/heads/master
2023-08-26T22:00:19.302932
2021-10-22T16:02:52
2021-10-22T16:02:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,514
py
# -*- coding: utf-8 -*- import pandas as pd import requests from zvt.api.utils import china_stock_code_to_id from zvt.contract.api import df_to_db from zvt.contract.recorder import Recorder, TimeSeriesDataRecorder from zvt.domain import BlockStock, BlockCategory, Block from zvt.recorders.consts import DEFAULT_HEADER f...
[ "5533061@qq.com" ]
5533061@qq.com
e988821b98f57ccf055c696417379e742f8e7874
066e874cc6d72d82e098d81a220cbbb1d66948f7
/.hubspot/lib/python2.7/site-packages/rbtools/utils/users.py
efe49cfe5740d885b4e46dcabf0657f0c4e1ad9a
[]
no_license
webdeveloper001/flask-inboundlead
776792485a998a0eaa4b14016c3a2066e75ff2a2
d0a539d86342e9efc54d0c0a1adc02c609f0f762
refs/heads/master
2021-01-19T01:34:55.241144
2017-04-05T00:42:03
2017-04-05T00:42:03
87,248,885
1
0
null
null
null
null
UTF-8
Python
false
false
2,880
py
from __future__ import unicode_literals import getpass import logging import sys from six.moves import input, range from rbtools.api.errors import AuthorizationError from rbtools.commands import CommandError def get_authenticated_session(api_client, api_root, auth_required=False, sess...
[ "jamesbrown1018@outlook.com" ]
jamesbrown1018@outlook.com
5dc9e34fec4aa7664d0922e3c9598f119158708c
5a7162e790d655c0df0adccba7efd59d144ee6d7
/modelo/bookings/urls.py
1241383df9c7789690ae8374280b017cc07cdf8e
[]
no_license
CoutinhoElias/modeloBootstrap
02861ae7dc4ef7312bc35f03d0a56dabba11c2c1
6c5ae6cc8b5e6a913d8a012f686edec65388b881
refs/heads/master
2020-03-19T14:58:12.174931
2018-06-08T17:54:48
2018-06-08T17:54:48
136,649,517
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
from django.conf.urls import url, include from django.views.i18n import JavaScriptCatalog from modelo.bookings.views import list, scheduling, scheduling_edit, bookings_create, bookings_update app_name = 'bookings' urlpatterns = [ url(r'listagem/$', list, name='list'), url(r'agendamento/$', scheduling, name='...
[ "coutinho.elias@gmail.com" ]
coutinho.elias@gmail.com
03c508940d6e18303d747e19b5bec8b0ed68940a
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part008310.py
349e6a755cd3af62964094c139942ed76b6dc26a
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,296
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
0f206550c3de71767ec9d0815a135fde8ab0bcee
fc96a396beb0c0ad8bbdd3b1ab88000076a8ef28
/examples/opengl_utils.py
f627b0cdf73fc25e1789421b497544f91ca973a7
[ "MIT" ]
permissive
stonewell/pylibui
a0a4da3bb1362e1e3a2ff062d07f5f8a6dd81f64
7e3164b9a622db1a5b64cc40687d46535db9e1fb
refs/heads/master
2021-01-22T20:00:08.752119
2017-04-21T16:47:49
2017-04-21T16:47:49
85,272,824
0
0
null
2017-03-17T05:05:21
2017-03-17T05:05:21
null
UTF-8
Python
false
false
731
py
import os from OpenGL.GL import * import numpy as np def load_shader_src(shader_file): with open(shader_file) as f: return f.read() # Provide a terse way to get a uniform location from its name def U(name): p = glGetIntegerv(GL_CURRENT_PROGRAM) return glGetUniformLocation(p, name) def A(name): ...
[ "jingnan.si@gmail.com" ]
jingnan.si@gmail.com
8a1f881883f108445afa57ddf60a88c30a836cee
7c25d3d10ef571e33c010e999441f7561a62e1f7
/mobile_bg/migrations/0008_auto_20171221_1458.py
5d3e5901fa59fb0082e2e288713e18d48c474d3a
[]
no_license
karamanolev/CarTracker
8fc661632b64c25a6fe74b8a2ebf9e3c7141c488
d55ff961b73c5cb724ccdede84801b0540dce351
refs/heads/master
2021-03-24T12:37:17.377498
2018-03-13T03:16:10
2018-03-13T03:16:10
114,115,348
1
0
null
null
null
null
UTF-8
Python
false
false
851
py
# Generated by Django 2.0 on 2017-12-21 12:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('mobile_bg', '0007_auto_20171221_1338'), ] operations = [ migrations.RenameField( model_name='mobi...
[ "ivailo@karamanolev.com" ]
ivailo@karamanolev.com
779cc3402738cd84b60f7303552f4579e78b8497
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/object_method_override-128.py
8e104a59c0150c3f862770840c091444f2bc7508
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
class A(object): a:int = 42 def foo(self:"A", ignore:object) -> int: return self.a class B(A): b:bool = True def __init__(self:"B"): print("B") def bar(self:"B") -> int: return self.foo(self.b) def foo(self:"B", ignore:object) -> int: $Statement print(B().ba...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
ab5c665e841c5772208b13d5217196d5d93e63bf
a139de988c9c79a368bd3cee13f0fbb3d1a1e905
/3estruturaDeRepeticao/3_validarInformacoes.py
d543966336b20deb7cf00a99147b9ee3dfeaf3a9
[]
no_license
brunodantascg/listaExercicioPythonBR
1e6942af06180fd05556de06daa7e745254f894d
8309e877cb6f63e9195ae34e040860a0c24f50e8
refs/heads/master
2021-07-04T00:24:04.080851
2020-10-25T05:20:53
2020-10-25T05:20:53
192,741,417
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
# Validar Informações while(True): nome = str(input("Informe nome: ")) if(len(nome) > 3): break else: print("O nome deve ser maior que 3 carecteres.") while(True): idade = int(input("Informe idade: ")) if(idade > 0 and idade <= 150): break else: print("Idade err...
[ "brunodedantas@gmail.com" ]
brunodedantas@gmail.com
25d1f90882b959cd8a9fbc24ae60dd1a0d2ea714
e83d3e1e0d26a5509816c6d452d3c637052c583a
/lists_basics_ex/invert_values.py
b8d57691bbaeacbe78634fdec92dba23803ce4fa
[]
no_license
Nikoletazl/Fundamentals-Python
55670093d58e4b90e6e148b28e01f3e6d6ffccdb
6f4c1516d338f37bee3cadf27a1f883015e1e9a8
refs/heads/main
2023-08-29T12:06:39.231991
2021-10-08T13:37:04
2021-10-08T13:37:04
414,998,101
1
0
null
null
null
null
UTF-8
Python
false
false
193
py
numbers_str = input().split() numbers_inverted = [] for number in numbers_str: number_inverted = int(number) * -1 numbers_inverted.append(number_inverted) print(numbers_inverted)
[ "noreply@github.com" ]
Nikoletazl.noreply@github.com
916538657500a7440bbdd9e335a30c39eedfc6e2
1c64ff83cb58c7c00cbde48e3b65abfb20704dd5
/Details/stock/basic/financialdata/NI3Y.py
da71dc871ad8740569300bb8522d64838560bce4
[]
no_license
lunvs/DataDescription
41f548d146f171bdf3f30a3fe9f2ddb5900809f1
57a3ee4763b00f69e1447e5abc38466ad1548723
refs/heads/master
2020-07-29T08:58:47.228797
2018-09-04T05:05:38
2018-09-04T05:05:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
#!/usr/bin/env python # -*- coding:utf-8 """ Author: Hao Li Email: howardleeh@gmail.com Github: https://github.com/SAmmer0 Created: 2018-05-24 10:58 """ from sys import path as sys_path from os.path import dirname from tdtools import trans_date from pitdata.const import CALCULATION_FOLDER_PATH, DataType from pitdata...
[ "howardleeh@gmail.com" ]
howardleeh@gmail.com
e76c2accd9a676f8c32a34dfa48b96478065529e
0078d6799d01c2367388533e495958ca00b28d9d
/home/migrations/0006_newsletteremails_uid.py
9bbca4ce8699710d06cf2d778d7ff5a8ffbbfe74
[]
no_license
briancaffey/briancaffey.com
34466d1f23dde67a2406adfad8ba831834166273
dca7be00d1f4350a3905da8375515b918b7ca48f
refs/heads/master
2021-01-20T13:12:09.301524
2017-12-07T01:33:13
2017-12-07T01:33:13
90,463,497
6
0
null
null
null
null
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-14 17:48 from __future__ import unicode_literals from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('home', '0005_guestbook_state'), ] operations = [ migrations.Add...
[ "briancaffey2010@gmail.com" ]
briancaffey2010@gmail.com
4dd6998ff4f9921a0a9494fb137c47195e503a8d
781e2692049e87a4256320c76e82a19be257a05d
/assignments/python/wc/src/686.py
53055f983386e14d463d7b8cf5ae1cde1054c8bc
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
218
py
def word_count(sentence): "counts appearances of unique words in a phrase" word_list=sentence.split() d={} for word in word_list: count=word_list.count(word) d[word]=count return d
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
0c153694ba5e47eb4c22c9b0ddc5a211b24e91ec
414239752b2bfc4cb3a947474f2662af7588b6eb
/ protobufeditor/Tests/MarathonTests/TestCases/SortTree/SortedTreeSel1.py
187ee7e8afe3e05a4e08ffb9b374824715237ab9
[]
no_license
dtracers/protobufeditor
8c7f9671c3b3a7d1cd3094321d030f6e6afcc7e8
b65d06bce93165eebf9798c533e2447a5992d384
refs/heads/master
2020-12-24T19:28:22.486207
2016-04-19T23:41:57
2016-04-19T23:41:57
56,340,712
0
0
null
null
null
null
UTF-8
Python
false
false
2,054
py
useFixture(default) def test(): from Modules import commonBits java_recorded_version = '1.5.0_11' if window('Protocol Buffer Editor'): select('FileChooser', commonBits.sampleDir() + 'protoSales.bin') ##commonBits.setRecordLayout(select, 'DTAR020') click('Edit1') select_menu('View>>Sorted Field Tr...
[ "bm_tas@yahoo.com.au" ]
bm_tas@yahoo.com.au
aedfb6a29f854f051f7c129142e5418c06c30f9a
07af05141f371ad1c2ab11634d4f5fad20ede2e0
/python/src/nnabla/backward_function/shift.py
604cdcff2bb01160d2fd08a5dbf0a9df586993c1
[ "Apache-2.0" ]
permissive
chunxiaosz/nnabla
a9c9b30140def0bdf91dea24d70cfa9400258d66
9f4249313129d0fd23d304453830157fee96a2e5
refs/heads/master
2020-12-03T05:11:24.724125
2019-09-04T06:39:41
2019-09-04T06:39:41
95,741,841
0
0
Apache-2.0
2019-09-04T06:39:42
2017-06-29T05:29:11
C++
UTF-8
Python
false
false
1,836
py
# Copyright (c) 2017 Sony Corporation. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "Kazuki.Yoshiyama@sony.com" ]
Kazuki.Yoshiyama@sony.com
af3176a7c1a9997ed449799dc89b359141267b21
c371c8d2b8a0e00495bc6123d91f2bd7434a6bc9
/mailfriend/tests/__init__.py
34721595882f96aa9d8b949be926e3673916a3db
[]
no_license
tmc/django-mailfriend
e1bf02c536bde457754d67cf46b0d8467ad36e28
57a4af05a05edd1f197ea15d72ad2f55d9993fe3
refs/heads/master
2023-09-01T19:17:58.998707
2009-12-22T22:51:50
2009-12-22T22:51:50
248,956
0
0
null
null
null
null
UTF-8
Python
false
false
2,458
py
from django.conf import settings from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.core import mail from django.test import TestCase from mailfriend.models import MailedItem class MailfriendTest(TestCase): urls = 'mailfriend.tests.urls' def...
[ "pete@lincolnloop.com" ]
pete@lincolnloop.com
0f7ba1ae1393aaff59e23448d3233ee415a9e6d0
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/dev/breeze/src/airflow_breeze/commands/release_management_commands_config.py
ddd6bbf1d70e408e78e043e3ee79f5179573b286
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
3,313
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
cfei18.noreply@github.com
5187d39968d5a7cb0d654ff8bf2c5a85b94e9e8b
5e1d804bd84703abc687578543124f5425a38554
/code/default/smart_router/local/__init__.py
e77ed4a151608f3a7f7dafd03768b93461a10b17
[ "BSD-2-Clause" ]
permissive
fork-repo/XX-Net
f485a92b6ea3382e5ff671781c7868d094d43694
fba125ed1a9674145d25472f5b2d247c54910a2c
refs/heads/master
2020-12-28T22:34:41.416979
2018-04-16T04:16:51
2018-04-16T04:16:51
54,473,239
0
0
BSD-2-Clause
2018-04-16T04:16:52
2016-03-22T12:27:06
Python
UTF-8
Python
false
false
4,367
py
import os import sys import apis from xlog import getLogger xlog = getLogger("smart_router") xlog.set_buffer(500) current_path = os.path.dirname(os.path.abspath(__file__)) launcher_path = os.path.abspath( os.path.join(current_path, os.pardir, os.pardir, "launcher")) root_path = os.path.abspath(os.path.join(current_p...
[ "xxnet.dev@gmail.com" ]
xxnet.dev@gmail.com
ad6c779e831a56db79efc545801fc9056c392be2
46e7a3543231bf04c6eb2cd539145335caa7e3f2
/Candidates/MultiEEGClassifier_3class/rawdata_processor.py
b5f5cdb1abc9b289d1434adbd932dc66b70a9b99
[]
no_license
SLKyrim/EEGCode
9572f3358cf13df5d7f2afecee994235c9607326
bc00a5b9486bb4dce863f1572cfbe172a2d6bcbc
refs/heads/master
2021-05-13T22:23:51.728301
2020-06-30T07:39:28
2020-06-30T07:39:28
116,488,177
3
1
null
null
null
null
UTF-8
Python
false
false
4,000
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 6 18:32:50 2017 @author: SingleLong % 说明: % 第二步 % 将两次打标之间的EEG从原始EEG信号中提取出来 % 根据两次打标位置截取原始步态数据并对截取步态数据进行低通滤波 """ import scipy.io as sio import numpy as np import scipy.signal as sis id_subject = 3 # 【受试者的编号】 if id_subject < 10: eeg_mat_data = sio.loadmat('E:\\EE...
[ "623962644@qq.com" ]
623962644@qq.com
eedb234a2373ad4defbb880b4be9884898fa948f
76a8ea60480331f0f61aeb61de55be9a6270e733
/downloadable-site-packages/skimage/feature/tests/test_haar.py
514c145d341a500fc3a1881e67419db80bcc947b
[ "MIT" ]
permissive
bhagyas/Pyto
cd2ec3f35bec703db4ac29b56d17abc4bf03e375
907024a9b3e04a2a9de54976778c0e1a56b7b83c
refs/heads/master
2022-11-19T13:05:07.392454
2020-07-21T17:33:39
2020-07-21T17:33:39
281,886,535
2
0
MIT
2020-07-23T07:48:03
2020-07-23T07:48:02
null
UTF-8
Python
false
false
7,286
py
from random import shuffle from itertools import chain import pytest import numpy as np from numpy.testing import assert_allclose from numpy.testing import assert_array_equal from skimage.transform import integral_image from skimage.feature import haar_like_feature from skimage.feature import haar_like_feature_coord...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
0901734c791b6108b4f8f1bc9f688259b4199ea0
64c5341a41e10ea7f19582cbbf3c201d92768b9f
/webInterface/aligner_webapp/alignerwebapp/webapp.py
110583cb4b96d8a350e198a6621fc926f3d28a0f
[]
no_license
CLARIN-PL/yalign
6b050b5c330b8eaf7e1e2f9ef83ec88a8abe5164
6da94fbb74e803bea337e0c171c8abff3b17d7ee
refs/heads/master
2023-06-10T18:30:42.112215
2021-06-24T13:07:17
2021-06-24T13:07:17
51,368,327
0
1
null
null
null
null
UTF-8
Python
false
false
5,267
py
import json import logging import os import re import sqlite3 import time from random import SystemRandom from functools import wraps from datetime import datetime from flask import Flask, request, g, make_response, abort, Response from werkzeug.utils import secure_filename from workq import db from workq.workq import ...
[ "krzysztof@wolk.pl" ]
krzysztof@wolk.pl
7f9a64721084a7a75a4745d947e63c0167ccbdbf
da1d21bb8d0760bfba61cd5d9800400f928868aa
/apps/redirections/middleware.py
123ca0f004647eab3f33462b5e443681835cddc0
[]
no_license
biznixcn/WR
28e6a5d10f53a0bfe70abc3a081c0bf5a5457596
5650fbe59f8dfef836503b8092080f06dd214c2c
refs/heads/master
2021-01-20T23:53:52.887225
2014-05-13T02:00:33
2014-05-13T02:00:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- from django import http from redirections.models import Redirection class RedirectionMiddleware(object): def process_response(self, request, response): path = request.path if path[-1] == '/': path = path[:-1] try: redirect_to = Redirection.o...
[ "mbc@Mathiass-MacBook-Pro.local" ]
mbc@Mathiass-MacBook-Pro.local
f0da405e76930f4160d89a95d99356b3e936d404
272aff93c6f399cd834835970891696e605a1e31
/dsp_ws/build/hector_navigation/hector_elevation_msgs/catkin_generated/pkg.develspace.context.pc.py
0eef88b1b279eecc351db3c39a0c6ea77f28a080
[]
no_license
dingjianfeng/dsp_ding2
18c99958a022d2e2fae3aa5888fd07fa279568d6
a3327a1db4635865a07390023c5cc2932456b367
refs/heads/master
2020-05-02T12:41:26.516325
2019-03-27T10:10:26
2019-03-27T10:10:26
177,964,602
0
2
null
null
null
null
UTF-8
Python
false
false
475
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/dsp/dsp_ws/devel/include".split(';') if "/home/dsp/dsp_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;geometry_msgs;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WIT...
[ "dingjianfeng" ]
dingjianfeng
f0bdfcef2593c572b871a5807ff12edab4e3ce35
d0123d4909f666a8fa331da5847457f163cd5ad9
/tests/test_s3.py
5a26f007538e4e88bf7cfb2dc63cc9d9127dcc1f
[ "BSD-3-Clause" ]
permissive
spacetelescope/calcloud
f44271864ef77a17903095d4ccbc7156f75de1ac
fa9550e33d35ce3c8cc05591429611c7e412382e
refs/heads/develop
2023-08-16T22:39:33.609553
2023-08-11T18:08:28
2023-08-11T18:08:28
235,447,332
12
5
BSD-3-Clause
2023-08-11T18:08:29
2020-01-21T21:41:59
Python
UTF-8
Python
false
false
2,972
py
import os import glob from . import conftest def test_s3_upload_download(s3_client): """Test s3.py functions upload_filepath(), download_filepath(), download_objects This test creates temporary files locally and upload to S3, then download the files from S3, may leave temporary files/directories in the lo...
[ "noreply@github.com" ]
spacetelescope.noreply@github.com
89e77ace1834f3b6fbc42fd29be07db7bcceab4e
30569618ec13465ee323f27797933ba85035711a
/test/test_body56.py
9a1f16347c4b0e8e2b45f325a15a3c2b5589030b
[ "MIT" ]
permissive
ike709/tgs4-api-pyclient
c0fdd7e648fd4fb77f0caf3253a7e1daafc0477a
97918cfe614cc4ef06ef2485efff163417a8cd44
refs/heads/main
2023-03-14T08:11:06.146596
2021-03-01T18:21:33
2021-03-01T18:21:33
336,353,718
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# coding: utf-8 """ TGS API A production scale tool for BYOND server management # noqa: E501 OpenAPI spec version: 9.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.model...
[ "sparebytes@protonmail.com" ]
sparebytes@protonmail.com
b7f7584c0434dc318a9d1a995030512d06fc3c7e
6d73d7d7e6bde553b1263241c71949b32cabd9b3
/robocorp-python-ls-core/src/robocorp_ls_core/libs/robocop_lib/robocop/exceptions.py
9e6d350eb2e123f75cdc099f45798c05f22221b3
[ "Apache-2.0" ]
permissive
Massukio/robotframework-lsp
03fe6c1d72504aad85d18deffac87b0c5acd929f
c9cfedc5da515dbc42fe74eaed6b46dfa0d0f5d9
refs/heads/master
2023-08-07T10:17:12.888644
2021-10-04T19:01:44
2021-10-04T19:01:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,160
py
class RobocopFatalError(ValueError): pass class ConfigGeneralError(RobocopFatalError): pass class DuplicatedRuleError(RobocopFatalError): def __init__(self, rule_type, rule, checker, checker_prev): msg = f"Fatal error: Message {rule_type} '{rule}' defined in {checker.__class__.__name__} " \ ...
[ "fabiofz@gmail.com" ]
fabiofz@gmail.com
618998e1446d35d0f35b88b222e6a638a76ca54c
159d2b827db0ae748b739378cab43a24e1ebaa38
/buildtools/scons-local-3.0.0/scons-local-3.0.0/SCons/Tool/mssdk.py
dd9de932475a2f39c833d4995c68d6e555cb6fe4
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mqnc/c-sick
2ef474f5626fcf47b5ee0793220dd7693656b488
65b54b21d9492fae7c7cac299f56c8e6583ef555
refs/heads/master
2020-03-23T15:02:03.057094
2019-10-18T13:51:33
2019-10-18T13:51:33
141,716,128
1
1
BSD-3-Clause
2019-07-24T06:30:00
2018-07-20T13:34:48
Python
UTF-8
Python
false
false
1,835
py
# # Copyright (c) 2001 - 2017 The SCons Foundation # # 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...
[ "mirko.kunze@web.de" ]
mirko.kunze@web.de
0dc1cd5ad22d4b3347c7eb9aca3be0bed7c91a9c
cf14275eb2ad7a50da0f482ead52e12168e7de6f
/CRUD/Book/models.py
b551aa2bc301d696cf2801d0fc14b15fcc988319
[]
no_license
balamurali1/Environment
319c4087de011949f405d78a43a15b45b04efb05
f5312d56f102423cfb11900cfa99775ffa4f67c5
refs/heads/master
2023-09-04T06:56:20.449830
2021-10-30T09:13:00
2021-10-30T09:13:00
420,183,269
1
0
null
null
null
null
UTF-8
Python
false
false
216
py
from django.db import models # Create your models here. class BooksModel(models.Model): name = models.CharField(max_length=50) author = models.CharField(max_length=50) read_by = models.CharField(max_length=50)
[ "balamurali1@gmail.com" ]
balamurali1@gmail.com
3e97028714845a8fedc03fad302a89049fee3521
ec84619271eac42481231218c9ee653dec99adad
/1.Introduce Python Variable/37. Reverse 3-digit Integer.py
df7c9b8e54c3b5185abcef48ad8c823ab98a2b0a
[]
no_license
LingHsiLiu/Algorithm0
19a968fffb5466022f9856c36af0364da6472434
f438e828dc9dd6196ee5809eb8fac21ccb688bf2
refs/heads/master
2020-04-04T17:55:48.182172
2019-01-02T19:06:57
2019-01-02T19:06:57
156,142,530
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# 37. Reverse 3-digit Integer # Reverse a 3-digit integer. # Example # Reverse 123 you will get 321. # Reverse 900 you will get 9. class Solution: """ @param number: A 3-digit number. @return: Reversed number. """ def reverseInteger(self, number): # write your code here num1 = num...
[ "noreply@github.com" ]
LingHsiLiu.noreply@github.com
100f00de3e37af1135b8549470eff5fb0d6ac087
4f940d5da0d8da2b33e9b29d523402e97b4c6356
/__openerp__.py
c993c431c2e9c95179f6058a328e9d439fa8ed1b
[]
no_license
blancoamor/ba_business_unit
277e8d51d2a7ad00cefa469a9eaded8805529492
e4754ead88900230a9a18deeaeb636b167f44294
refs/heads/master
2016-08-11T20:44:30.693462
2015-12-15T20:42:12
2015-12-15T20:42:12
48,066,160
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "filoquin@gmail.com" ]
filoquin@gmail.com
f7288f2e2d7debd4713f5c8657f250e0ef4ae910
7748d76ac2557477733c245189a5510e793c965a
/5 - Django/Books_Authors/apps/book_authors/migrations/0005_remove_author_book.py
6d08bd766fa51bfed536dd3764fb54b58d4e8555
[]
no_license
ectom/Coding-Dojo-Python-Stack
9798fd0c452389d485d343659eed7132c61b9055
07d2d48e966f4210627a1a11d561f1d28e8a9982
refs/heads/master
2021-06-27T22:59:40.794253
2017-09-15T09:54:40
2017-09-15T09:54:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-07-24 23:39 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('book_authors', '0004_auto_20170724_2317'), ] operations = [ migrations.RemoveField( ...
[ "etom579@gmail.com" ]
etom579@gmail.com
519f992de6d8f375a250add08442571c3ec380eb
3fe361cb8999b9efa39be9f474a43ae3717c38fc
/Leecode/leetcode821.py
a923e568e1342f1cd7e6ecc138284129f37e7584
[]
no_license
sjhhh3/Leetcode
bbacd124dcd165ae20f61ec165dce634ca75264d
85b88da4aad86f86bff5c13de12e13069cda604f
refs/heads/master
2021-01-02T04:13:35.914889
2019-03-12T17:31:18
2019-03-12T17:31:18
98,950,913
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
S = "loveleetcode" C = 'e' ans = [] def plalindrome(num): plist = [] for k in range(1, num+1): if k <= num/2: plist.append(k) else: plist.append(num-k+1) return plist print(S.split(C)) for length in S.split(C): if S.startswith(length): ans += [i for i ...
[ "sjhhh33@gmail.com" ]
sjhhh33@gmail.com
3864ae74a22ee4e79bd1d94fc5b46f5bf477736a
afebbb07b2b4eada17a5853c1ce63b4075d280df
/marketsim/gen/_out/_intrinsic_base/orderbook/of_trader.py
8bf0183da08d444ecd480f1bd89e653fcdb24fcb
[]
no_license
peter1000/marketsimulator
8c0a55fc6408b880311d3ad49defc55e9af57824
1b677200a9d5323f2970c83f076c2b83d39d4fe6
refs/heads/master
2021-01-18T01:39:04.869755
2015-03-29T17:47:24
2015-03-29T17:47:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
class Proxy_Base(object): pass def bind_impl(self, ctx): pass def reset(self): pass class OfTrader_Base(object): def get_Trader(self): return self._back_Trader def set_Trader(self, value): self._back_Trader = value self.on_Trader_set(value) ...
[ "anton.kolotaev@gmail.com" ]
anton.kolotaev@gmail.com
8eb3b81f521dd6e25efce843cba8cdda2903ec25
eeee5415490822b06d4d75061f30b46b0ea7086d
/login/write.py
1f61a8398098d105fb8d356057e7a06b1aebf463
[]
no_license
nearxu/python-exercise
891784380abfc0af16555f1a8f8bc3efc60be5e9
8d11a25cfbbd271e593846c18265aaaafead62fe
refs/heads/master
2020-03-28T10:42:38.878811
2019-05-07T08:20:49
2019-05-07T08:20:49
148,136,835
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
#!/usr/bin/env python # coding=utf-8 import json import random data = ['HTTPS://106.75.226.36808\n' 'HTTP://61.135.217.780\n'] # with open('./ip.text', 'w', encoding='utf-8') as fp: # fp.writelines(data) with open('./ip.txt', 'r', encoding='utf-8') as files: filde = files.readlines() print(filde) prin...
[ "2448895924@qq.com" ]
2448895924@qq.com
6394e855393fcf6b3995f2d264471f96935442ac
d32a59a956b1daa1bbefee627e8acaa9af7db41d
/Factor/most_useful_factor.py
5b6290d92244ce87310fa3398b4bd633f12029d9
[ "Apache-2.0" ]
permissive
shiniantianlang/StockAnalysisSystem
263f09f627539f275f88cd491f4d65d9375dbcac
62cde0a502683c60f98e6c2f4e2b44f18685ef84
refs/heads/master
2022-08-01T10:42:52.226624
2020-05-17T14:00:36
2020-05-17T14:00:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,785
py
import pandas as pd from datetime import date from os import sys, path root_path = path.dirname(path.dirname(path.abspath(__file__))) try: from Factor.FactorUtility import * from DataHub.DataHubEntry import DataHubEntry from Database.DatabaseEntry import DatabaseEntry except Exception as e: sys.path.a...
[ "yufei.qiu@schneider-electric.com" ]
yufei.qiu@schneider-electric.com
1d93cccadc43985012ff0b9032c4d68205f012a1
5ae3bc1920fafc33693cdfa3928a48158aa6f725
/287/287.py
73c55f63f46f298e709a2245a304aca2fd37645c
[]
no_license
sjzyjc/leetcode
2d0764aec6681d567bffd8ff9a8cc482c44336c2
5e09a5d36ac55d782628a888ad57d48e234b61ac
refs/heads/master
2021-04-03T08:26:38.232218
2019-08-15T21:54:59
2019-08-15T21:54:59
124,685,278
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
class Solution: def findDuplicate(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: return None slow, fast = nums[0], nums[0] while True: slow = nums[slow] fast = nums[nums[fast]] ...
[ "jcyang@MacBook-Air.local" ]
jcyang@MacBook-Air.local
f050ceb82b4fe1221542788f799bbbff104ce68e
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/26165058.py
48e303c83861a11eb385a3903b047d8ff3fda352
[]
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
1,323
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/26165058.py generated: Wed, 25 Jan 2017 15:25:17 # # Event Type: 26165058 # # ASCII decay Descriptor: [ Xi_cc+ -> (Lambda_c+ -> p K- pi+) K- pi+ ]cc # from Configurables import Generation Generation().EventType = 26165058 Generation().SampleGenerationT...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
517cbbd66ddf919cd33f2abb22fc016c6ea3fc27
1cf5b7d5f80bbbf4d86e8ebf3d6a9d0d0f50978a
/InvenTree/build/migrations/0029_auto_20210601_1525.py
c5ea04b5c9996cfd616f14a3852c4c6a09b394fe
[ "MIT" ]
permissive
TheCrazyMaffin/InvenTree
b053dfb1068995df99bc6806ca07be7fc356e6bd
2686f61a4ac279386a83049745339345f1ac4cf7
refs/heads/master
2023-06-02T09:52:15.229937
2021-06-17T17:58:24
2021-06-17T17:58:24
377,914,007
0
0
MIT
2021-06-17T17:39:25
2021-06-17T17:39:25
null
UTF-8
Python
false
false
1,554
py
# Generated by Django 3.2 on 2021-06-01 05:25 from django.db import migrations def assign_bom_items(apps, schema_editor): """ Run through existing BuildItem objects, and assign a matching BomItem """ BuildItem = apps.get_model('build', 'builditem') BomItem = apps.get_model('part', 'bomitem')...
[ "oliver.henry.walters@gmail.com" ]
oliver.henry.walters@gmail.com
6166772f123f7ca28fa859d1f08cf11710bfb1e2
16a5c9c9f0d7519a6808efc61b592b4b614102cf
/Python/169.py
30bc27124c7c61d973f70cbd7d61aca81a72701a
[]
no_license
kevin851066/Leetcode
c1d86b2e028526231b80c6d4fb6d0be7ae8d39e5
885a9af8a7bee3c228c7ae4e295dca810bd91d01
refs/heads/main
2023-08-10T16:50:12.426440
2021-09-28T15:23:26
2021-09-28T15:23:26
336,277,469
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
class Solution: def majorityElement(self, nums): ''' :type: nums: List[int] :rtype: int ''' nums = sorted(nums) return nums[len(nums)//2] # Boyer-Moore Voting Algorithm class Solution2: def majorityElement(self, nums): ''' :type: nums: List[int] ...
[ "kevin851066@gmail.com" ]
kevin851066@gmail.com
88c6d9925a0c291347b641bcaf308bcfd1253ce5
4c70dd7f17447e9d291f128aa53370ab3468ddaf
/scan/pylib/testscans.py
9edaa6abc8c64bc67bff0266da8f7dd95f45b055
[]
no_license
slehaff/db2original
d6423f78adfc1d379ee1acb0b643de3d5954363a
4cba709335bf5b1bb3e7c613dacb92b13204fa25
refs/heads/master
2022-11-29T03:07:45.965585
2020-08-07T09:15:21
2020-08-07T09:15:21
197,337,528
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
import numpy as np import cv2 import argparse import sys import os from PIL import Image import os from makewrap import * from unwrap import * from jsoncloud import * high_freq = 15 low_freq = .7 def unwrap2(): folder = '/home/samir/db2/scan/static/scan_folder/stars/scan_im_folder11/' # ref_folder = '/home/s...
[ "samir@lehaff.dk" ]
samir@lehaff.dk
8fdb373ba4c51f17d070de5c179287a762694988
e52a76724a7aae64082154ca43a5145f50fa2e4d
/merquemos/sales/migrations/0001_initial.py
7dcf9fa58d861c9c42b71927d2b15ff27f3678b9
[]
no_license
dmontoya1/merquemos
729ccfd2080f8e7e18cb2ee2cf608a654fb7399a
5b2142980511cf6d6eba19d8f8affe33f7edfcb2
refs/heads/master
2023-05-06T18:49:51.907772
2019-12-03T14:55:02
2019-12-03T14:55:02
371,432,802
0
0
null
null
null
null
UTF-8
Python
false
false
3,424
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-02 12:50 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('stock'...
[ "dcastano@apptitud.com.co" ]
dcastano@apptitud.com.co
11c46ceb18f6926956a04dde45c9a94c1cfaa5d7
3106a6f343c7b72fcce3f2e4247c2ae32ca7849c
/dbgdb/tasks/postgres/extract.py
3efab5a393076584b67e6845d308305f14f3deba
[ "MIT" ]
permissive
patdaburu/dbgdb
cde421fe5eb23ddee4d1155f9e5705029e34acb9
40cd4cc7e8dd45dab8d08ee4f4e929ceef88fc2a
refs/heads/master
2020-03-17T22:40:27.389815
2018-07-07T16:18:15
2018-07-07T16:18:15
134,014,360
0
0
MIT
2018-07-07T16:18:16
2018-05-18T23:54:41
Python
UTF-8
Python
false
false
2,039
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Created by pat on 5/20/18 """ .. currentmodule:: dbgdb.tasks.extract .. moduleauthor:: Pat Daburu <pat@daburu.net> This module contains the :py:class:`ExtractTask` task which you can use to extract data from your database instance. """ from pathlib import Path from typi...
[ "pat@daburu.net" ]
pat@daburu.net
5ed07c1f69fc436a59b32e1d4af6af0714294a16
b79eb37ed0f139d23b0d08fae8ace269b24c30e6
/np_base/np_logspace.py
b9a5bfb223738c5d735df72baef55e96109845ca
[]
no_license
sonicfigo/tt-scipy-eco
64d65c9420fdefd1329971b2f7406696d8089036
6fc8fe9ab88a746001d91de02e3489f94842c3aa
refs/heads/master
2020-03-26T16:09:14.354072
2018-09-04T07:42:32
2018-09-04T07:42:32
145,085,022
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
# coding=utf-8 """ 底数,真数,对数 """ import math import numpy as np """ python 自带match,log是求对数 """ print(math.log(81, 9)) # 底数9,真数81, 求得对数2 print(math.log(10, 10)) # 底数10, 真数0,求得对数1 """ 而numpy 的 log space, 是均分一个范围,这个范围起终点是 10的x次方, 10的y次方 """ s = np.logspace(2, 3, 5) # 10的2次方, 10的3次方,既是 100 ~ 1000,等比选2个 print(s) print...
[ "sonic821113@gmail.com" ]
sonic821113@gmail.com
8e427e197d8127f3938684f5cb25abe48176fe0e
2bcf18252fa9144ece3e824834ac0e117ad0bdf3
/httpy/tags/0.9.0/site-packages/httpy/couplers/standalone/coupler.py
b1086b50b3d3122c6896223d61459c398dccd601
[]
no_license
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
1,489
py
"""This coupler starts a stand-alone web server. """ import logging import os import sys import httpy from httpy import responders from httpy.couplers.standalone.config import Config, ConfigError from httpy.couplers.standalone.server import Server, RestartingServer from httpy.couplers.utils import add_api class Coup...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
78c56405607dcfdc47305e8e50b62c356dd73f9c
4111ca5a73a22174f189361bef654c3f91c3b7ed
/Lintcode/Matrix_Fast_Expo/949. Fibonacci II.py
001972496240255d6ce1c735cd837ac88084f270
[ "MIT" ]
permissive
ctc316/algorithm-python
58b541b654509ecf4e9eb8deebfcbdf785699cc4
ac4580d55e05e93e407c6156c9bb801808027d60
refs/heads/master
2020-03-16T06:09:50.130146
2019-08-02T02:50:49
2019-08-02T02:50:49
132,548,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
# Binary Search + Memorization + mod 10000 (題目要求), Time: O(logn) class Solution: """ @param n: an integer @return: return a string """ def lastFourDigitsOfFn(self, n): result = [[1, 1], [1, 0]] records = {} while n > 0: times = 1 base = [[1, 1], [1, 0]...
[ "mike.tc.chen101@gmail.com" ]
mike.tc.chen101@gmail.com
8cea859a51db0e14937ddcca5fc52f2a059925f8
3c8e70f66d91a0e51db1dae108facf36f42446ac
/bip_utils/addr/fil_addr.py
654097466deae688f072b2893e1420717635dd55
[ "MIT" ]
permissive
crazyguy42781/bip_utils
8db7f0a90e059c6f6fb0d8b5fc9e58d2b1702271
2939a2e8518342e3a086501b27fadd451990baa0
refs/heads/master
2023-08-30T17:13:29.603963
2021-11-12T21:24:37
2021-11-12T21:24:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,952
py
# Copyright (c) 2021 Emanuele Bellocchia # # 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, publish,...
[ "54482000+ebellocchia@users.noreply.github.com" ]
54482000+ebellocchia@users.noreply.github.com
8535b6525c75a20b5dad57b91749b8bcafe776a2
d5c513a2fc045b58b7565a39f548cc245b376da5
/settings.py
830101b5f7c1d0bd90b1e40ba694f3ea42c6c029
[]
no_license
cs4224485/Flaskd-
f13ff31be13f6ea1a62a9864f8c1a720c2860aba
7768b74164ad6e3b9337b1f5aed043ec209fcddb
refs/heads/master
2020-04-07T08:29:07.950720
2018-11-19T12:09:58
2018-11-19T12:09:58
158,216,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,773
py
# Author: harry.cai # DATE: 2018/9/4 import redis import pymysql from DBUtils.PooledDB import PooledDB, SharedDBConnection class DefaultConfig(object): SESSION_TYPE = 'redis' SESSION_PERMANENT = False SESSION_USE_SIGNER = False SESSION_KEY_PREFIX = 'session:' SESSION_REDIS = redis.Redis(host='192....
[ "414804000@qq.com" ]
414804000@qq.com
9add6a701326e6f33b944da7929fced68ff00a2a
ce6c8e0e3a986af3fe3c347a4af16f1ca337f82c
/452.minimum-number-of-arrows-to-burst-balloons.py
0ac84dbff91fb106b8d3158bb0fb3bec7c27b9a5
[]
no_license
chenjienan/python-leetcode
dc098373ae7f73dd502d7747888a37a3bd0820cb
90c000c3be70727cde4f7494fbbb1c425bfd3da4
refs/heads/master
2020-04-28T20:46:50.395260
2020-02-12T18:48:01
2020-02-12T18:48:01
175,556,339
16
3
null
null
null
null
UTF-8
Python
false
false
510
py
# # @lc app=leetcode id=452 lang=python3 # # [452] Minimum Number of Arrows to Burst Balloons # class Solution: def findMinArrowShots(self, points: List[List[int]]): # similar to meeting room 2 if not points: return 0 points.sort(key=lambda x:x[1]) arrows = 1 ...
[ "chenjienan2009@gmail.com" ]
chenjienan2009@gmail.com
563d7be46825d3ab504bc1f03066efb1413ad5c9
a11984110d22e8231896c7e8bf2c6c2a96e46502
/Daily Challenges/2021/February/Binary Tree Right Side View.py
1abfd0f2953f322daebdd58b3071384c9f09d5ba
[]
no_license
Waqar-107/LeetCode
fbd323c89a5ea010b3322b0b35dd087a7744abc4
5f7dc48918c0367b20e733830e9807eb40840f77
refs/heads/master
2023-08-03T12:27:58.593051
2023-07-24T01:33:24
2023-07-24T01:33:24
220,239,559
8
7
null
2022-05-01T18:50:03
2019-11-07T13:08:48
Python
UTF-8
Python
false
false
699
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def __init__(self): self.mp = defaultdict(int) def solve(self, root, level): if...
[ "noreply@github.com" ]
Waqar-107.noreply@github.com
ff8f00d6d7e45c6f886e760ef9639764c452c0e6
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Bitly/Links/LinkLookup.py
c8ab71b088bc0c0e3cc1a21eac6a57ca2cef7aa4
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,809
py
# -*- coding: utf-8 -*- ############################################################################### # # LinkLookup # Used to lookup a bitly link with a given long URL. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Chor...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
dbf05abf4d8e0d66c050f0743bd1c9e047c40647
dc1d341789a19b0dd8b905538b080149e6cd13ed
/iwmi/urls.py
16f9e204d7730c36fd7961b172208468a85b6465
[]
no_license
pngimbwa/Data-Collection-Tool
2629d31742edc311501bd25a2f9728ce7ac97d06
6081500d2a1dc2e30af908168cf83a46a6078a0f
refs/heads/master
2021-01-20T00:01:45.770837
2017-04-22T12:31:07
2017-04-22T12:31:07
89,068,181
3
1
null
null
null
null
UTF-8
Python
false
false
2,752
py
from django.conf import settings from django.conf.urls.static import static from django.conf.urls import patterns,include, url from django.contrib import admin admin.autodiscover() from . import views urlpatterns = [ #**************** url(r'^plant_level_yield/$','iwmi.views.plant_level_yield',name='plant_lev...
[ "pngimbwa6@gmail.com" ]
pngimbwa6@gmail.com
d64d871832033d2f4b6d3a9fcb004bbd7a2744ba
063ab6c256b5c60406c7d4ee6820dbbf8192efa9
/ros_ws/build/learning_ros_noetic/Part_5/joint_space_planner/catkin_generated/pkg.develspace.context.pc.py
bdd2f1c530b49fed4fb8d810b0833a54694fb3c9
[]
no_license
Iris-ye233/final-project_revised
d34aa55f6bba2f5b73b4f3a255f5041bdf7c71fc
8ab78592b3fe79c8fa359cc877a52192784d2152
refs/heads/master
2023-05-13T18:11:04.802393
2021-06-03T16:27:01
2021-06-03T16:27:01
371,312,863
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/yedi/ros_ws/src/learning_ros_noetic/Part_5/joint_space_planner/include".split(';') if "/home/yedi/ros_ws/src/learning_ros_noetic/Part_5/joint_space_planner/include" != "" else [] PROJECT_CATKIN_D...
[ "1155150731@link.cuhk.edu.hk" ]
1155150731@link.cuhk.edu.hk
c9ce7001a33087116101035989777b9870045b43
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/nos/v6_0_2f/interface/hundredgigabitethernet/switchport/access_mac_vlan_classification/__init__.py
11f5c0a9950debcd049b87d7ee77e601b4da2595
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,194
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
17f63c5a8470e9be13739b93b04244f9d35f076e
f9dae9fa264abd850d600006c718e4675349c358
/itelftool/views.py
137c83eec83adf9c5008f69fa4ca3974dfc0af83
[]
no_license
ifpython/itelftool
5689f2d998d56415a43eefac1e32c0501ce9f371
fa5e92abe7e7a5bfca71906ab52c5ac8f19b69be
refs/heads/master
2020-04-01T01:10:17.542903
2018-10-12T09:10:54
2018-10-12T09:10:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,686
py
#!/usr/bin/env python #coding:utf-8 from django.shortcuts import render,HttpResponse,HttpResponseRedirect from django.contrib import auth from django.core.exceptions import ObjectDoesNotExist import django from django import utils from assets.dashboard import AssetDashboard from django.contrib.auth.decorators import l...
[ "420521738@qq.com" ]
420521738@qq.com
61973ba3ce33844d69ad619c74b460e225393233
577f03954ec69ed82eaea32c62c8eba9ba6a01c1
/py/testdir_0xdata_only/test_parse_summary_c21.py
6d74624e4e3ceda2aa001610a5928f0a8cb236dd
[ "Apache-2.0" ]
permissive
ledell/h2o
21032d784a1a4bb3fe8b67c9299f49c25da8146e
34e271760b70fe6f384e106d84f18c7f0adb8210
refs/heads/master
2020-02-26T13:53:01.395087
2014-12-29T04:14:29
2014-12-29T04:14:29
24,823,632
1
2
null
null
null
null
UTF-8
Python
false
false
2,196
py
import unittest, time, sys, random, string sys.path.extend(['.','..','../..','py']) import h2o, h2o_nn, h2o_cmd, h2o_import as h2i class Basic(unittest.TestCase): def tearDown(self): h2o.check_sandbox_for_errors() @classmethod def setUpClass(cls): global SEED SEED = h2o.setup_rando...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
ef13cb48dd7160a645c4e5c60bbf2245db7f72e6
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/OneLogin/Users/ListAll.py
e2edb255b87fe115f6d5ad521d898bd3dcda7d79
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,210
py
# -*- coding: utf-8 -*- ############################################################################### # # ListAll # Retrieves a list of all users. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography from temboo.co...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
b13cb58af142200a5133370b842034578ab346e2
e8115c48538983ed8d0fdf0d36c0cff2e81f985c
/lib/dsklayout/model/blkdev_.py
e27998cfe36e43229cdffa5975e28e86c9db11f5
[ "MIT" ]
permissive
ptomulik/dsklayout
8ef6832fa2c0beec5ef1587d9b7e947c00dae438
e90c50724a144a2ce5bfb180d38e550943350d10
refs/heads/master
2021-04-29T13:53:43.342961
2018-02-19T22:19:31
2018-02-19T23:35:28
121,763,128
0
0
null
null
null
null
UTF-8
Python
false
false
5,153
py
# -*- coding: utf8 -*- from . import exceptions_ import copy __all__ = ('BlkDev',) class BlkDev(object): """Represents a block device""" __slots__ = ('_properties', '_convert') # these may vary in different occurences of the device in lsblk output, _evolving_properties = ('pkname',) _converte...
[ "ptomulik@meil.pw.edu.pl" ]
ptomulik@meil.pw.edu.pl
238363a67f5177a66a2e3160c5105e95bcc3a57b
63b0fed007d152fe5e96640b844081c07ca20a11
/Other/ZONeエナジー プログラミングコンテスト “HELLO SPACE”/d.py
ace38464b644ccdbc93b6693c4b433feeb5ff873
[]
no_license
Nikkuniku/AtcoderProgramming
8ff54541c8e65d0c93ce42f3a98aec061adf2f05
fbaf7b40084c52e35c803b6b03346f2a06fb5367
refs/heads/master
2023-08-21T10:20:43.520468
2023-08-12T09:53:07
2023-08-12T09:53:07
254,373,698
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from collections import deque s=list(input()) t=deque() flg=1 for i in range(len(s)): if s[i]=='R': flg*=-1 else: if flg>0: if t and t[-1]==s[i]: t.pop() else: t.append(s[i]) else: if t and t[0]==s[i]: t...
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
ac653e413e2055ac074543b17174a932a80b8058
844f99918fd0d95579675ca8fcccbf1f649e1256
/gui/canvas.py
a1c3bf740bdc0f06621e10f2bf2ea2d1650ff70d
[]
no_license
PaulFSherwood/python
ddfe88355c51e6451ed7327b1f0e35b06b2b81d1
eda2b89ff6248aba378d089b86f6df0523913e6d
refs/heads/master
2023-05-27T08:32:37.057609
2023-05-20T08:29:21
2023-05-20T08:29:21
10,925,038
1
0
null
null
null
null
UTF-8
Python
false
false
466
py
from tkinter import * import time mGui = Tk() mGui.geometry('450x600+300+100') mGui.title('Canvas test') # Canvas canvas_1 = Canvas(mGui, height = 300, width = 300, bg='#123456') canvas_1.create_line(0,0,300,300) canvas_1.create_oval(100,100,200,200) canvas_1.create_rectangle(25,24,50,50) canvas...
[ "paulfsherwood@gmail.com" ]
paulfsherwood@gmail.com
921c8de141fa342ddca3441c9e7b67870e77e655
13f5c66af02a64aa8c5d988e9560b82bcf058fd0
/python-datastruct-runestone/feb2018/basic-data-structures/mqueue.py
320dcb16e681461077e1a82d5885936ddd342309
[]
no_license
heitorchang/reading-list
a1090b969d0f16cbc7c0e371671e85dca0bde201
3dcfd68cb02179e75216ff459fda693ec1fb8684
refs/heads/master
2023-04-27T03:04:28.122341
2023-04-21T14:04:20
2023-04-21T14:04:20
67,825,952
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
""" os.chdir('reading-list/interactive-py/basic-data-structures') """ class MQueue: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] # in reality, enqueue should be O(1) but since we use the # built-in list, it is O(n) def enqueue(self, item): ...
[ "heitorchang@gmail.com" ]
heitorchang@gmail.com
a51a93b8914ba8038cc1152c6408933579ee2cdc
0d36c52ed0b33388d1f33ffcc8b440981b65fafa
/easyread/translator.py
a78e7e41641eed3bb9ce246588faf87fc1060eb3
[ "MIT" ]
permissive
UncleEngineer/easyread
3fcaa4515b84c5059a164cf9c50d3e002140e5fa
93c41d608967a9d3ad37f445b0134a5e809c64de
refs/heads/main
2023-01-21T22:32:58.839181
2020-12-03T15:26:05
2020-12-03T15:26:05
316,938,695
2
0
null
null
null
null
UTF-8
Python
false
false
3,331
py
from tkinter import * from tkinter import ttk, messagebox import tkinter.scrolledtext as st from urllib.request import urlopen as req from bs4 import BeautifulSoup as soup from threading import Thread v_progress = 0 v_max = 0 def Translate(vocab,fulltext=False): url = 'https://dict.longdo.com/mobile.php?s...
[ "noreply@github.com" ]
UncleEngineer.noreply@github.com
0f819a77c3613a70be96cad0913b3d4fe6b7b702
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_108/40.py
6e766de43d72760c9abc320835b9a84b40b40139
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
T = int(raw_input()); for i in range(T): print "Case #%d:" % (i+1),; N = int(raw_input()); Vine = []; for i in range(N): Vine.append( map(int, raw_input().split()) ); D = int(raw_input()); BestL = [0]*N; # Best length reached for every vine; BestL[0] = Vine[0][0]; TODO = [0]; ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0c85b39f357b21de6d30f3f7b979bf24b9948147
1b36425f798f484eda964b10a5ad72b37b4da916
/posthog/clickhouse/migrations/0031_event_properties_zstd.py
3500650bd2ec0ffd69a2a3006ae968aba7fe1659
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dorucioclea/posthog
0408baa2a7ae98e5bea352c516f741ddc17c0a3e
8848981baf237117fb22d28af0770a0165881423
refs/heads/master
2023-01-23T11:01:57.942146
2023-01-13T09:03:00
2023-01-13T09:03:00
241,222,000
0
0
MIT
2020-02-17T22:34:37
2020-02-17T22:34:36
null
UTF-8
Python
false
false
259
py
from infi.clickhouse_orm import migrations from posthog.settings import CLICKHOUSE_CLUSTER operations = [ migrations.RunSQL( f"ALTER TABLE sharded_events ON CLUSTER '{CLICKHOUSE_CLUSTER}' MODIFY COLUMN properties VARCHAR CODEC(ZSTD(3))" ) ]
[ "noreply@github.com" ]
dorucioclea.noreply@github.com
9cf07c7795bdefbf371fb3401285773ac086ea9d
fd5db824b87b49472c3cfa1d8765f95fc820deaa
/discord-paste-code
fb166948d75ee9a012c45679e187bb66c931acf4
[]
no_license
shawwn/scrap
67806c7a8f2b4ddbb87f800f9fa0bd50736b66d6
9d6d190b4606b57a7108881ca6f389f6110c5721
refs/heads/master
2023-09-01T08:46:44.779507
2023-08-29T11:09:58
2023-08-29T11:09:58
124,594,531
100
14
null
2020-07-31T03:09:48
2018-03-09T21:20:54
Python
UTF-8
Python
false
false
2,146
#!/usr/bin/env python #============================================================================== # Functionality #============================================================================== import pdb import sys import os import re # utility funcs, classes, etc go here. def asserting(cond): if not cond: ...
[ "shawnpresser@gmail.com" ]
shawnpresser@gmail.com
86aa0d938d4a043b1018563f8781f10394b64f5e
da0a0045d4e7b0de12a9459e5546332ccc7cce0e
/AST_GraphDB/study/autobots/entities/timesheet/timesheet.py
054ae1795a708ce1b183a788f1ea9af9d32044f9
[]
no_license
git4rajesh/python-learnings
d64e7c76698b7f2255a77a8233a90774db78f030
ee6b7f7844079e94801c19a1dd80921e1741e58e
refs/heads/master
2022-11-01T08:47:45.097034
2019-04-28T02:14:34
2019-04-28T02:14:34
172,183,208
0
1
null
2022-10-12T08:35:43
2019-02-23T07:04:59
Python
UTF-8
Python
false
false
1,769
py
from entities.rollups.rollupfactory import RollupFactory from entities.timesheet.base import Base from entities.timesheet.log import Log from entities.user.user import User ENTITY = 'timesheet' class Timesheet(Base): def __init__(self, request): super().__init__(request) self.timesheet_id = None...
[ "rvenkataraman" ]
rvenkataraman
c811df2158c074d91ea24fd746e4f8baf39a2fe5
fbc6192deeec428f67ae5f3f0dfe9f345157469b
/product_cat/apps.py
365b444d1f4cf63803eaadb14eb0853d6661a441
[]
no_license
ephremworkeye/ProductCatalog
b4ed0c110ff40428728052db7bdf7fe31ce192c0
f82f1d47b69c8b405e4c35b82ba03d16fe8f39b9
refs/heads/master
2023-06-25T20:11:51.633335
2021-07-31T08:05:24
2021-07-31T08:05:24
391,002,505
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from django.apps import AppConfig class ProductCatConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'product_cat'
[ "ephremworkeye@gmail.com" ]
ephremworkeye@gmail.com
94ac88c47eeb5f87cb9ddcebbab413dddf0577d8
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/u4rHyBDs5RM2PfNxy_0.py
8410b757770df26cdd45d3224ef09abfdd1fbb42
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
""" Create a function that counts the number of blocks of **two or more** adjacent `1`s in a list. ### Examples count_ones([1, 0, 0, 1, 1, 0, 1, 1, 1]) ➞ 2 # Two instances: [1, 1] (middle) and [1, 1, 1] (end) count_ones([1, 0, 1, 0, 1, 0, 1, 0]) ➞ 0 count_ones([1, 1, 1, 1, 0, 0, 0, 0]) ➞ ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4f5face3aef0ef41fc6615424feca2d554729451
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/ml/azure-ai-ml/tests/dataset/e2etests/test_data_utils.py
84892d371d885cd8e7f69782f61426129360cc0f
[ "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "HPND",...
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
2,630
py
import json import os from pathlib import Path from typing import Dict import pytest from azure.ai.ml._utils._data_utils import download_mltable_metadata_schema, validate_mltable_metadata from azure.ai.ml._utils.utils import load_yaml from azure.ai.ml.constants._common import MLTABLE_METADATA_SCHEMA_URL_FALLBACK from...
[ "noreply@github.com" ]
Azure.noreply@github.com
4f76a599ee14be30176783443d09d4bba06bdc39
13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab
/home--tommy--mypy/mypy/bin/theano-cache
e982fa73aa312981d1e8cd63f236687b8ef552cd
[ "Unlicense" ]
permissive
tommybutler/mlearnpy2
8ec52bcd03208c9771d8d02ede8eaa91a95bda30
9e5d377d0242ac5eb1e82a357e6701095a8ca1ff
refs/heads/master
2022-10-24T23:30:18.705329
2022-10-17T15:41:37
2022-10-17T15:41:37
118,529,175
0
2
Unlicense
2022-10-15T23:32:18
2018-01-22T23:27:10
Python
UTF-8
Python
false
false
236
#!/home/tommy/mypy/mypy/bin/python2 # -*- coding: utf-8 -*- import re import sys from bin.theano_cache import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "tbutler.github@internetalias.net" ]
tbutler.github@internetalias.net
3784d4f1b1faa1710f9a6b5df11b750919c81920
603abbd229e8751ca39b54de2bd7aed470987035
/BOJ/Simultation/Pelindrom.py
ad11d9df1097e2c989b92d9bf59b1d0d15083f03
[]
no_license
SeonJongYoo/Algorithm
869661f5e0c23eedb40b1e8f017bba5501b0519a
e672287c5d6b6c19c146bb59cf73064bda9b4fe2
refs/heads/main
2023-08-11T02:33:25.679790
2021-09-20T15:00:25
2021-09-20T15:00:25
310,283,160
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# 펠린드롬인지 확인하기 '''s = input() for i in range(len(s)//2): if s[i] != s[len(s)-i-1]: print(0) exit(0) print(1)''' n = input() l = len(n) res = 0 for i in range(l-1, -1, -1): if ord(n[i]) > 64: res += (ord(n[i]) - 55)*(16**(l-i-1)) else: res += int(n[i])*(16**(l-i-1)) print(res)...
[ "jobgsyou@naver.com" ]
jobgsyou@naver.com
ae74d0a7a93e4bb84e20f33e9c446983172a555d
313400a528a30dd44bea846a9a72144a41d4e608
/fukei/crypto.py
adc44870c75e500cef2a147b4f3eb8d4e1fee557
[ "MIT" ]
permissive
chijiao/Fukei
1f5be738ec4329f090dbabd4d61956f57f9614be
2d3f19ee7215093a370af6746a86295691f8d427
refs/heads/master
2020-12-11T04:00:47.669647
2013-12-17T12:09:29
2013-12-17T12:09:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,592
py
#!/usr/bin/env python import sys import hashlib import string import struct import logging from utils import lazy_property logger = logging.getLogger('crypto') def random_string(length): import M2Crypto.Rand return M2Crypto.Rand.rand_bytes(length) def get_table(key): m = hashlib.md5() m.update(key...
[ "lyanghwy@gmail.com" ]
lyanghwy@gmail.com
d178bc6968e4a58b37cd3b6e96268b964c606575
ea2b76acd29e14d2ef23f213ba0c98f4491d00d0
/bigmler/dnprediction.py
e7313fbb33817ebe45624ece94d39851632e389d
[ "Apache-2.0" ]
permissive
RuiSUN1124/bigmler
4b168ff2917eb72ae7c47079dcb33a68574c46f1
63aadae76785eabca9081cecdfd8a1420fdf4679
refs/heads/master
2021-05-01T16:06:23.929721
2018-02-07T00:39:03
2018-02-07T00:39:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,650
py
# -*- coding: utf-8 -*- # # Copyright 2017 BigML # # 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 ag...
[ "merce@bigml.com" ]
merce@bigml.com
a992cb188dc757e62cd282e78ce305f3eef9f7f1
947fa6a4a6155ffce0038b11f4d743603418ad68
/clean_code/clean_code_submissions/clean_code_assignment_002/tests/test_car_stop_engine.py
599d1151d421f17faef9a35f7d1e9b41b45e92fd
[]
no_license
bharathi151/bharathi_diyyala
bd75e10639d7d22b332d5ce677e7799402dc4984
99f8657d010c790a0e4e4c9d6b57f81814784eb0
refs/heads/master
2022-11-21T12:43:48.401239
2020-07-23T09:05:52
2020-07-23T09:05:52
281,903,260
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
def test_stop_engine_when_car_is_not_running_returns_is_engine_started_false(car): # arrange false = False # act car.stop_engine() # assert assert car.is_engine_started == false def test_stop_engine_when_car_is_running_returns_is_engine_started_false(car): # arrange false = False ...
[ "bharathi151273@gmail.com" ]
bharathi151273@gmail.com
dcc1a0a57e3b760d06521d3083bb411eb6ab2841
36901e58fbdeabc7380ae2c0278010b2c51fe54d
/gatheros_subscription/migrations/0008_subscription_congressy_percent.py
2621dfd2050531fa831cc17e9316483d86b6e1d3
[]
no_license
hugoseabra/congressy
e7c43408cea86ce56e3138d8ee9231d838228959
ac1e9b941f1fac8b7a13dee8a41982716095d3db
refs/heads/master
2023-07-07T04:44:26.424590
2021-08-11T15:47:02
2021-08-11T15:47:02
395,027,819
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-03-18 18:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gatheros_subscription', '0007_auto_20180301_1915'), ] operations = [ migratio...
[ "hugoseabra19@gmail.com" ]
hugoseabra19@gmail.com
c4e0eef8e635bb3004ef9cc323c8a841558b780a
b35aea9f4411f5dc7942392d78dc31bb76c7ec73
/djangoProject/barman/migrations/0003_auto_20210712_1053.py
ba89be3bf8211c082c96e3f86a37b2eb2c5c04ef
[]
no_license
ashkanusefi/rondshow
1079b81704fff55a1d54fa8dee2712ab61e92f4a
7e5a80fcc6e326b8b1737a54fb53becc4195e475
refs/heads/master
2023-09-01T18:45:33.170465
2021-09-18T11:24:52
2021-09-18T11:24:52
407,820,565
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
# Generated by Django 3.2.5 on 2021-07-12 06:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('barman', '0002_about'), ] operations = [ migrations.AlterModelOptions( name='about', options={'verbose_name': 'دربار...
[ "yousefi.ashkan96@gmail.com" ]
yousefi.ashkan96@gmail.com
bb209def2c2c625cb5e3e23b160e9e6dd7d8b3f8
739b764438a4b82edc5ae63dd5b1d715779dc7a1
/python-coding-bat/list-1/same_first_last/same_first_last.py
65937025991edffc9fe38213ec7bfe01936bbe16
[]
no_license
mgermaine93/python-playground
2cbf3994ebc0faf51515aac233a69f926ba9cccd
6fc7c6ee0e2d17b585469c60a748c4ae41030f87
refs/heads/master
2021-05-17T04:03:58.460331
2021-04-09T20:32:05
2021-04-09T20:32:05
250,613,576
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# Given an array of ints, return True if the array is length 1 or more, and the first element and the last element are equal. def same_first_last(nums): if len(nums) == 0: return False elif nums[0] == nums[-1]: return True return False
[ "mgermaine93@gmail.com" ]
mgermaine93@gmail.com
68797864ac088a58fab11ae9f47df6e9d64609b5
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2176/60708/246166.py
f4d877871226519dfe4619ec71470d6c5fbdee7a
[]
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
788
py
def getcut(Str,length): cut=[] for i in range(0,length): temp=Str[i:] cut.append(temp) return cut def sorting(cut): rank=[] l=len(cut) No=[] cuttemp=[] for item in cut: cuttemp.append(item) for i in range(0,l): temp=min(cut) for i, j in enumer...
[ "1069583789@qq.com" ]
1069583789@qq.com
46a3c26dbdb72d9316f5c2c06c66e692607d5105
c8278b14d1e7a576014513148a356909a00fa2fa
/python_test/test_numpy_converter.py
43d3d75b154f41260c83574f65f187b70b9100b1
[ "MIT" ]
permissive
JohnReid/myrrh
7a195131c25a1017864cc1fa297a1bdb366cc2db
09dc97c739232c03493e2344e64735b30eea5f99
refs/heads/master
2021-01-10T16:36:42.543512
2015-09-15T15:04:51
2015-09-15T15:04:51
8,554,330
1
0
null
null
null
null
UTF-8
Python
false
false
167
py
# # Copyright John Reid 2009 # from test_python_numpy_converter import * import numpy as N assert check_numpy_conversion_multi_array(N.ones((4,6))).sum() == 4. * 6.
[ "johnbaronreid@netscape.net" ]
johnbaronreid@netscape.net
a201927661fc37dc0058ca60623f1dc22755c5f6
760ed048a65d0225d8f39479f6db56ff1e2c0784
/api/doors/apps.py
9c5cf9976b76c3f1c204ad566f54a29f1293097e
[]
no_license
jotasic/apartment_entrance_system
0c81390ee4dc5afd46d0fb1747c82de9794d0ea0
1dac3b866147ccb6ced0df3e135758c614057e9c
refs/heads/main
2023-06-20T09:05:12.990231
2021-07-16T08:01:13
2021-07-16T08:01:42
384,940,222
0
0
null
2021-07-16T08:01:43
2021-07-11T12:16:42
Python
UTF-8
Python
false
false
146
py
from django.apps import AppConfig class DoorsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'api.doors'
[ "embedded61@gmail.com" ]
embedded61@gmail.com
852efca389b8646b8eb1ccc1d2cdd10dbaf7fc7c
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/240fd5b68e033ee31167581fcd061dc027282fcf-<in_train_phase>-bug.py
12e689b35625de0a4b4eb182385dc3955fa06b16
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
def in_train_phase(x, alt): 'Selects `x` in train phase, and `alt` otherwise.\n Note that `alt` should have the *same shape* as `x`.\n ' if (_LEARNING_PHASE is 1): return x elif (_LEARNING_PHASE is 0): return alt x_shape = copy.copy(x.get_shape()) x = tf.python.control_flow_ops...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
503bbbf4a344a0951fa3e68d44e3480a730707db
f20e965e19b749e84281cb35baea6787f815f777
/Analysis/Analysis/Ostap/python/Ostap/RunDB.py
cfec9accc6efe11669ba9380adebd004f4feea92
[]
no_license
marromlam/lhcb-software
f677abc9c6a27aa82a9b68c062eab587e6883906
f3a80ecab090d9ec1b33e12b987d3d743884dc24
refs/heads/master
2020-12-23T15:26:01.606128
2016-04-08T15:48:59
2016-04-08T15:48:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,722
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================= # $Id: RunDB.py$ # ============================================================================= ## @file # Collection of simple utilites to deal with LHCb RunDB # via http://lbrundb.cern.ch/...
[ "ivan.belyaev@cern.ch" ]
ivan.belyaev@cern.ch
27e4e4b37118a29ee8de3f6e0c3b8d0aa922d7d3
0c69e5e22cee117355aeb5ea75f4d0d49f17c3a9
/OmahPortfolio/OmahPortfolio/wsgi.py
6d9fffb88061e169552407e650f221092635f1f3
[ "MIT" ]
permissive
emetowinner/Django-Projects
58aaac12c2804c7cdcbd899bad0a6c1fba807804
f1489ff73ccbb2b375fabcf55fc598eae32307bc
refs/heads/master
2023-04-18T02:24:59.664981
2021-04-27T13:18:08
2021-04-27T13:18:08
351,052,513
1
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for OmahPortfolio 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "emetowinner@gmail.com" ]
emetowinner@gmail.com
53f9cbd9496604726ac3e3ff736a49178ef82d3c
b0741867b842fe177205c2fd714cabd34652ced4
/test01/spider_pic/thread_spider.py
01ff73ad7398be2d6ee13677067a8aaecd276598
[]
no_license
zdYng/python
6737ea43b041f57e0d23598cfa2e5e23d5bd11ff
fd074f5700ec9733958e8640eb63af83aac3001f
refs/heads/master
2021-07-22T13:50:24.745405
2020-04-02T02:15:29
2020-04-02T02:15:29
93,690,795
2
0
null
null
null
null
UTF-8
Python
false
false
765
py
#encoding: utf-8 import urllib import threading from bs4 import BeautifulSoup import requests import os import time FACE_URL_LIST = [] PAGE_URL_LIST = [] BASE_PAGE_URL = 'https://www.doutula.com/phone/list/?page=' for x in range(1,946): url = BASE_PAGE_URL + str(x) PAGE_URL_LIST.append(url) gLock = threadi...
[ "qianzhongdao@163.com" ]
qianzhongdao@163.com
1f8df811d03eb75e45df3512ed286fef49f9a5d3
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/900ca643cdcd94ec9761374dec0217765caf4058-<main>-bug.py
9d645fb108d71349c2d7f684f487e86eba9bb41c
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
def main(): parser = argparse.ArgumentParser(description='Chainer example: End-to-end memory networks') parser.add_argument('TRAIN_DATA', help='Path to training data in bAbI dataset (e.g. "qa1_single-supporting-fact_train.txt")') parser.add_argument('TEST_DATA', help='Path to test data in bAbI dataset (e.g....
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
015fa98c14b28f5fa22d8948df7f953bfa1d7d2a
b2403817f9221ee3550130572a808194ef4f3fda
/Sets/itertools.py
730a27c4eac8afe20e53eac25deb835445733606
[]
no_license
xaviergoby/Python-Data-Structure
e962444ef5b1313c3facbf1fcc315af182b73a26
eaaf31ea98d63e812a75c1d6ecb8722b9c0cf142
refs/heads/master
2020-04-13T00:24:40.896592
2018-11-27T11:51:36
2018-11-27T11:51:36
162,844,732
1
0
null
2018-12-22T21:46:29
2018-12-22T21:46:29
null
UTF-8
Python
false
false
209
py
__author__ = 'Sanjay' # a=map(int,raw_input().split(" ")) # b=map(int,raw_input().split(" ")) from itertools import product a = [1,2] b = [3,4] s= tuple(product(a,b)) for i in list(product(a,b)): print i,
[ "sanjay.siddha3@gmail.com" ]
sanjay.siddha3@gmail.com
3e853e6024897f202ca4287e696efaecabfd6af9
10d9235c35977963d1b7fff161234177cccc118b
/이경호/장군.py
bfad6478a0120580c6ab8f8cdf9ef229d6feef78
[]
no_license
chelseashin/Algorithm_Study
05c464998dc06fb0185ec50a9c515f0bf0a4ed2b
369409eacbfc8d98d268b876e67b1837611c3fc8
refs/heads/master
2020-12-04T17:20:22.667506
2020-01-19T06:10:45
2020-01-19T06:10:45
231,851,130
0
1
null
null
null
null
UTF-8
Python
false
false
1,219
py
from pprint import pprint import sys sys.stdin = open('장군.txt') sx, sy = map(int, input().split()) kx, ky = map(int, input().split()) delta = ( ((-1, 0), (-2, -1), (-3, -2)), ((-1, 0), (-2, 1), (-3, 2)), ((0, -1), (-1, -2), (-2, -3)), ((0, 1), (-1, 2), (-2, 3)), ((0, -1), (1, -2), (2, -3)), ...
[ "lkh151515@gmail.com" ]
lkh151515@gmail.com
cf13522fb8fa147426572b2aefa71b87c7e0165e
5686d1a31b87a47a4774270c00cd141c221cf065
/axonius_api_client/tests/tests_cli/tests_grp_enforcements/test_cmd_update_query_remove.py
2af22ab42e796278aec2adedb08ef04dd724f5ab
[ "MIT" ]
permissive
Axonius/axonius_api_client
e7eec0845eee9e1b314446121551c584655c2631
be49566e590834df1b46494c8588651fa029b8c5
refs/heads/master
2023-08-19T04:43:13.717989
2023-08-10T18:49:40
2023-08-10T18:49:40
194,601,817
17
22
MIT
2023-08-30T18:45:15
2019-07-01T04:52:21
Python
UTF-8
Python
false
false
904
py
# -*- coding: utf-8 -*- """Test suite for axonius_api_client.tools.""" from axonius_api_client.cli import cli from ...tests_api.tests_enforcements.test_enforcements import EnforcementsBase from ...utils import load_clirunner class TestGrpEnforcementsCmdUpdateQueryRemove(EnforcementsBase): def test_error(self, re...
[ "jim@axonius.com" ]
jim@axonius.com
28ffd7072a1bfde91da6092366874c9eb625ea40
1f20484efc357aae4b7e2f98a191e7a9256f3a58
/irc3/plugins/pager.py
4ac72c26aac214103e8ad96d04bbc2c231d5d2c0
[ "CC-BY-3.0", "MIT", "LicenseRef-scancode-ietf" ]
permissive
gawel/irc3
55b2e4d01ca95f45077f8bad231394551584d7bd
76d6849d5e7a531d649aca766f623f9f30a55545
refs/heads/master
2023-07-15T20:49:40.188267
2023-04-17T09:02:31
2023-04-17T09:02:31
14,820,406
187
58
MIT
2023-02-27T10:18:41
2013-11-30T12:09:48
Python
UTF-8
Python
false
false
2,869
py
# -*- coding: utf-8 -*- from irc3.plugins.command import command from irc3 import asyncio import irc3 import time __doc__ = ''' =============================================== :mod:`irc3.plugins.pager` Paginate large output =============================================== Usage ===== .. literalinclude:: ../../examples...
[ "gael@gawel.org" ]
gael@gawel.org