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
31b60af5a9eaecb9ec2663c0f1867332d0f02a28
4f328184e3e4c7ac84792f38127b4538abc1be01
/python/re-split/main.py
fd853268133194acce224d22a6d46a05d5308ea7
[ "Apache-2.0" ]
permissive
shollingsworth/HackerRank
30cd45960af5983ed697c0aaf9a6e4268dc75ef7
2f0e048044e643d6aa9d07c1898f3b00adf489b0
refs/heads/master
2021-08-17T09:08:44.532111
2017-11-21T02:04:09
2017-11-21T02:04:09
103,992,440
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import __future__ import sys import json def banner(): ban = '====' * 30 print("{}\nSAMPLE INP:\n{}\n{}".format(ban,ban,open(ip, 'r').read())) print("{}\nSAMPLE OUT:\n{}\n{}".format(ban,ban,open(op, 'r').read())) print("{}\nSTART:\n{}".format(ban,ban)) ...
[ "shollingsworth@barracuda.com" ]
shollingsworth@barracuda.com
10e2710b765ceac6d9a48e440c623599ef107024
98dae6deaf31bcacc078eeb1bdbdb8bd3ac3784f
/dace/transformation/dataflow/copy_to_device.py
625179c8445725cf5df002835c54eae68478799a
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cpenny42/dace
da9b241ea0808f1798645ab917e1484c45a3a748
2c7814b4f02a6870bb25ae08113c0cc3791e1178
refs/heads/master
2020-06-24T09:06:23.091624
2019-05-10T11:11:14
2019-05-10T11:11:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,767
py
""" Contains classes and functions that implement copying a nested SDFG and its dependencies to a given device. """ import dace from copy import deepcopy as dcpy from dace import data, properties, symbolic, types, subsets from dace.graph import edges, graph, nodes, nxutil from dace.transformation import pattern_ma...
[ "talbn@inf.ethz.ch" ]
talbn@inf.ethz.ch
9b68a0c51829a961eeb83baac376ac6a7686bab3
73305ddcc6dc9775b1e9a71506e2f3c74f678edc
/starthinker/util/dv_targeting.py
f4cc31a6aba0e9c3aa913ba52dc4d976b1848836
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
google/starthinker
ef359557da4140275a8524d0d813eecf022ece9e
b596df09c52511e2e0c0987f6245aa4607190dd0
refs/heads/master
2023-08-25T21:16:45.578012
2023-07-17T22:19:18
2023-07-17T22:20:10
123,017,995
167
64
Apache-2.0
2023-08-02T01:24:51
2018-02-26T19:15:09
Python
UTF-8
Python
false
false
46,350
py
########################################################################### # # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/l...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
1dfeabcfd018a5f7d5915118ce8e23ab360a2ed8
cc3b0eba4ade43d099cf00ecf7cabb34f066fd35
/incomepropertyevaluatorkit/calculator/analyzer.py
b983532d9128772166a2b37b6ac91366a1e9de46
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
MikaSoftware/py-incomepropertyevaluatorkit
221ffbe8c3414dbcc3ece61f40d6400ac090bae2
f1a05effc80d328c90f7f27ed9b1a6d82492f9d2
refs/heads/master
2021-08-23T03:16:54.734993
2017-12-02T20:42:37
2017-12-02T20:42:37
109,617,499
0
0
null
null
null
null
UTF-8
Python
false
false
29,427
py
# -*- coding: utf-8 -*- """ Python library for performing rental and income property calculations. See README for more details. """ from __future__ import print_function import sys import argparse from datetime import datetime, timedelta from decimal import Decimal import math import numpy as np # Third party library...
[ "bart@mikasoftware.com" ]
bart@mikasoftware.com
f19e8b39e47dd7234e6a7ee6fc09473d1b1e2a5a
edc13abeb401541cba52608b484fa8ba150d57d6
/hwtLib/amba/axis_comp/frame_join/_join.py
d24a8793bf2f83aba1c0ed47214bd5bee600db63
[ "MIT" ]
permissive
mfkiwl/hwtLib
2cbba0b1bc28119c3f0425af9a2f0d7b780fc9a3
fe81cac7d7a117c18635a3d3b336508148282aa5
refs/heads/master
2023-03-10T12:06:12.135902
2021-02-24T08:04:11
2021-02-24T08:04:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,680
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from math import inf from typing import Optional, List, Callable, Tuple from hwt.code import If, Switch, SwitchLogic, Or, And from hwt.hdl.types.bits import Bits from hwt.hdl.types.stream import HStream from hwt.hdl.types.struct import HStruct from hwt.interfaces.utils i...
[ "nic30@seznam.cz" ]
nic30@seznam.cz
a77bf7cae50058808c751ebac3a9f47a4889aeef
c51c92dc1ba350b821899715cd16ba0b8d67653c
/dlmPython/dlm_mod.py
35250f347c78335a3bad42287d6e1e41452c3dfd
[ "MIT" ]
permissive
luiarthur/dlmPython
a0c2196d9753e010d4417afa6a9e439966c2bb8d
c3d6328b1260c795759637cd8d26d3f79febd950
refs/heads/master
2021-01-19T21:40:43.987505
2019-11-14T16:50:00
2019-11-14T16:50:00
88,685,692
2
1
null
null
null
null
UTF-8
Python
false
false
1,496
py
import numpy as np from .lego import E, J, join from .dlm_uni import dlm_uni def arma(ar=[], ma=[], tau2=1, V=None): """ ARMA component for DLM - ar: list of ar coefficients - ma: list of ma coefficients - tau2: variance for evolution matrix - V: variance for observations Note that there ...
[ "luiarthur@gmail.com" ]
luiarthur@gmail.com
f07b402cb9a7603154f115821368167dcb9a18cc
4472e40c53ca3e1df4f9e477a6268133309b7597
/_unittests/ut_module/test_r.py
d4017e655d6fc616855c64c993b23fc27ae187d5
[ "MIT" ]
permissive
amoussoubaruch/ensae_teaching_cs
289729742608da064f07a79b10cf6cce48de1b51
313a6ccb8756dbaa4c52724839b69af8a5f4476e
refs/heads/master
2021-01-16T19:31:49.734583
2016-09-09T08:29:58
2016-09-09T08:29:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
""" @brief test log(time=0s) """ import sys import os import unittest import warnings try: import src except ImportError: path = os.path.normpath( os.path.abspath( os.path.join( os.path.split(__file__)[0], "..", ".."))) if path not ...
[ "xavier.dupre@ensae.fr" ]
xavier.dupre@ensae.fr
016650fdb1063f4afb72aea3f846462aea5c8cf0
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2254/60636/258712.py
5d40a74827de64da87dac87a1dc8edd1768d7ecf
[]
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
763
py
f_r=input().split(" ") f=int(f_r[0]) r=int(f_r[1]) sources=[] for i in range(f): source=[] for j in range(f): source.append("0") sources.append(source) for i in range(r): x=input().split(" ") sources[int(x[0])-1][int(x[1])-1]="1" sources[int(x[1])-1][int(x[0])-1]="1" count_1=0 count_odd=...
[ "1069583789@qq.com" ]
1069583789@qq.com
c8712f660e267eac3ed0a4a151298d3036d8637c
696dec6a8d1eba189d36049afedec36da47c08f3
/models/_model_core_utils/__init__.py
fe191e1f22cc8de28fd6c2603d2190a44aeef2ff
[]
no_license
JoelRaymann/polyp-segmentation
d99079f56bb3ae0886fb4c610c4abcc420137781
38da6c8bf47df2d2382d31f04faf63649b7d8ab0
refs/heads/master
2023-04-10T06:17:34.720237
2021-04-14T22:04:36
2021-04-14T22:04:36
358,053,229
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from ._unet import UNet from ._unet_dice import UNetDice from ._resunet import ResUNet from ._deeplabv3 import Deeplabv3 from ._fcn import FCN8 from ._segnet import SegNet from ._unet_attn import UNetAttn from ._gar_net import GARNet from ._resunet_plus_plus import ResUNetPlusPlus from ._dilated_resfcn import DilatedRe...
[ "joelraymann@gmail.com" ]
joelraymann@gmail.com
89339d45b4d3abc2eac1659c9dae145f5a8846f8
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/130_Fluent_Python/fp2-utf8/freeinteractive/freeinteractive 192.py
67edeb4bbefbcf40a50db41edc107e2f2a0bb953
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
>>> from domainlib import multi_probe >>> names = 'python.org rust-lang.org golang.org nolang.invalid'.split() >>> gen_found = (name async for name, found in multi_probe(names) if found) >>> gen_found <async_generator object <genexpr> at 0x10a8f9700> >>> async for name in gen_found: ... print(name) ... golang.org p...
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
6808c8c41ce560a5d7aabbbe7ab1d3bcd280de35
da2d53e8021b539db006fa31f02d1c2ae46bed3b
/Test/test.py
af89a96f0b23218a82cfcd3e536f4901d5f99677
[]
no_license
srajsonu/CodeChef
0723ee4975808e2f4d101d2034771d868ae3b7f7
a39cd5886a5f108dcd46f70922d5637dd29849ce
refs/heads/main
2023-04-22T08:33:06.376698
2021-05-16T05:48:17
2021-05-16T05:48:17
327,030,437
0
1
null
null
null
null
UTF-8
Python
false
false
2,929
py
""" 1 : [2, 3] 7 <-> 6 (1) 6 <-> 5 (2) 2 <-> 8 (2) 0 <-> 1 (4) 2 <-> 5 (4) 6 <-> 8 (6) 2 <-> 3 (7) 7 <-> 8 (7) 3 <-> 4 (9) 5 <-> 4 (10) 1 <-> 7 (11) 3 <-> 5 (14) 7 -> 6 -> 5 -> 4 | 2 -> 8 """ from collections import defaultdict class Solution: def find_root(self, A, parent): ...
[ "srajsonu02@gmail.com" ]
srajsonu02@gmail.com
146a0a6e3d8f7b969b3b61b74b99b083cfd95fc1
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/examples/tutorial2.py
3a952ba678b6f688c3b4fe342830ac8cf6ac0bc4
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
1,284
py
############################################################################## # # A simple program to write some data to an Excel file using the XlsxWriter # Python module. # # This program is shown, with explanations, in Tutorial 2 of the XlsxWriter # documentation. # # Copyright 2013-2019, John McNamara, jmcnamara@c...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
ee98f3883988b0a75df2d59495dab5b03aae7026
b4afb834fc3a3e2c128b1bf825700031e3df519a
/examples/cobalt-preproc/Arctic/fix_pole.py
7e8aedf62b4f44becced7e92fdac0761988e3965
[ "BSD-3-Clause" ]
permissive
ESMG/pyroms
e4e5e9d70d66907a992846b06d61db31afcd24f3
5ea501ef904b01036dd2a0909b7bdc61a56e7eff
refs/heads/python3
2023-03-19T11:11:09.143443
2023-03-10T00:22:13
2023-03-10T00:22:13
1,012,779
102
63
NOASSERTION
2023-03-10T00:23:20
2010-10-21T17:22:48
Python
UTF-8
Python
false
false
1,787
py
import subprocess import os import sys import subprocess import numpy as np import netCDF4 as nc dst_dir='./' ic_file = dst_dir + 'ARCTIC4_ic_bio_GFDL-APR.nc' fidic = nc.Dataset(ic_file,'a') Cs_r = fidic.variables['Cs_r'] nz = Cs_r.shape[0] # define all tracer stuff list_tracer = ['alk', 'cadet_arag', 'cadet_calc', ...
[ "kshedstrom@alaska.edu" ]
kshedstrom@alaska.edu
6a8a172193504c436ca6a0ba35d33893b60e4742
f55623e3aea5b8ae3d2c37bcfa8a853150a0b376
/a10_horizon/dashboard/project/a10networks/analytics/panel.py
7c0512bb617cfdd6658fe03e79198db64fe2795d
[ "Apache-2.0" ]
permissive
isaaczurn/a10-horizon
0fab288d321516de72ea276d54b415a1c2e4d7d6
a96f9e95dfcda619f08a19a9057b061bdba12487
refs/heads/development
2020-12-26T04:49:33.131115
2016-08-11T16:47:09
2016-08-11T16:47:09
64,965,205
1
0
null
2016-08-04T20:31:28
2016-08-04T20:31:28
null
UTF-8
Python
false
false
863
py
# Copyright (C) 2014-2016, A10 Networks Inc. 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...
[ "mdurrant@a10networks.com" ]
mdurrant@a10networks.com
4357bfbaea73a6e8726ec1d1643b71f701b1c489
091e97bcfe5acc0635bd601aa8497e377b74d41a
/openshift/installer/vendored/openshift-ansible-3.11.28-1/roles/openshift_health_checker/test/etcd_traffic_test.py
583c4c8dd86b2cf5270083b912f639bb34d4f855
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
openshift/openshift-tools
d59b63778f25cb8fb3c7a0253afe22a173e72f9d
e342f6659a4ef1a188ff403e2fc6b06ac6d119c7
refs/heads/prod
2023-08-30T01:52:04.108978
2022-03-23T21:07:28
2022-03-23T21:07:28
36,827,699
170
254
Apache-2.0
2022-06-16T12:11:51
2015-06-03T20:09:22
Python
UTF-8
Python
false
false
2,219
py
import pytest from openshift_checks.etcd_traffic import EtcdTraffic @pytest.mark.parametrize('group_names,version,is_active', [ (['oo_masters_to_config'], "3.5", False), (['oo_masters_to_config'], "3.6", False), (['oo_nodes_to_config'], "3.4", False), (['oo_etcd_to_config'], "3.4", True), (['oo_e...
[ "mwoodson@redhat.com" ]
mwoodson@redhat.com
8aa14bff98269133382561e641d8d76226b5b446
8383211ad5eb9bb91fef7642e43a8f148530b8fc
/iga/package.py
80c06890c846b23037d75e3903d72737c83c77b2
[ "MIT" ]
permissive
clchiou/iga
599f1ba653323a49d9a26f66c072a9b4a2f0dcd7
5958f77410d63b712d13db142bfd5ecfbf4ce821
refs/heads/master
2021-01-23T19:37:15.670514
2015-04-25T07:28:17
2015-04-25T07:28:17
31,150,111
0
0
null
null
null
null
UTF-8
Python
false
false
2,334
py
__all__ = [ 'get_outputs', 'get_rule', ] import itertools import logging import iga.context import iga.precond from iga.build_rules import build_rules from iga.core import WriteOnceDict from iga.error import IgaError from iga.path import Glob from iga.rule import Rule from iga.rule import RuleFunc LOG = log...
[ "clchiou@gmail.com" ]
clchiou@gmail.com
7e9e65b6dd1786e6e0c861077cf5c2096ec0ec71
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/pytest_test_20201123175355.py
e93f7595e48e3c38b47a185afc239ff87f50977e
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
import pytest import yaml class Test_A: # @pytest.mark.parametrize('a,b',[(10,20),(5,5)]) @pytest.mark.parametrize('a,b',yaml.safe_load.) def test_data1(self,a,b): print(a + b) def test_data2(self): a = 5 b = 5 print(a+b) if __name__ == '__main__': pytest.main(['py...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
0d30703c7f61070278fc2ff6e705ad1ea92f81b0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_restrictions.py
c41ad3763392207c8a6b6d3285a039f0e0d179bf
[ "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
273
py
from xai.brain.wordbase.nouns._restriction import _RESTRICTION #calss header class _RESTRICTIONS(_RESTRICTION, ): def __init__(self,): _RESTRICTION.__init__(self) self.name = "RESTRICTIONS" self.specie = 'nouns' self.basic = "restriction" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
7007e09c94950e2c259af5e00524b68cd8a2997b
8f0524fc0171e27a15f4cf5fb3fe48ef2053b40e
/hacker_rank/unique email addresses.py
bd763c3bf92789740bab9fbd0e863e314a5bfcfc
[]
no_license
MohammedAlewi/competitive-programming
51514fa04ba03d14f8e00031ee413d6d74df971f
960da78bfa956cb1cf79a0cd19553af97a2aa0f3
refs/heads/master
2023-02-08T20:25:58.279241
2023-02-02T00:11:23
2023-02-02T00:11:23
222,710,225
1
0
null
null
null
null
UTF-8
Python
false
false
613
py
def format_email(email): email=list(email) remove=False for i in range(len(email)): if email[i]=='@': break if email[i]=='+': remove=True if email[i]=='.': email[i]='' if remove: email[i]='' return "".join(email...
[ "rofyalewi@gmail.com" ]
rofyalewi@gmail.com
5dc036ca5174ca5e7a8a2951bd156ef4e1efc144
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/lpj.py
ca38829b8abff06df97846545d31dac6c446f292
[]
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
6d83260ea939da933135941f5c115787ed5d1ba1
0f15175752b462b29725b459b46752facad35642
/tests/test_inputunit.py
f591e232e28cc0c42f917d722cd371938446aea1
[ "BSD-2-Clause-Views" ]
permissive
Shadiesna/ooni-probe
f36d69fa2786e97df68cf0808da43190d4ab1daa
01d80a2abc235fedbd2944500e259e537fd46c45
refs/heads/master
2021-01-16T20:03:18.727535
2012-11-22T22:23:07
2012-11-22T22:23:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
import unittest from ooni.inputunit import InputUnit, InputUnitFactory class TestInputUnit(unittest.TestCase): def test_input_unit_factory(self): inputs = range(100) inputUnit = InputUnitFactory(inputs) for i in inputUnit: self.assertEqual(len(list(i)), inputUnit.inputUnitSize) ...
[ "arturo@filasto.net" ]
arturo@filasto.net
11007dbad5d04425e7f5781917716b9c536e4900
26452a6f63cf22f938498799db9f8e1997641774
/Flask/blog_flask/migrations/versions/c4a89bd2a384_.py
78958337a2948528512fe9e84cfb519c9345e57e
[]
no_license
zarkaltair/Python-frameworks
9829e4b5130dd67a513c9e1426775cd761b96258
632ee4da8e008a6b0c27198dc4722b5aa3c464b8
refs/heads/master
2021-06-14T14:59:23.881043
2020-08-10T15:01:02
2020-08-10T15:01:02
160,838,202
0
0
null
2021-03-20T00:30:43
2018-12-07T15:02:39
Python
UTF-8
Python
false
false
1,499
py
"""empty message Revision ID: c4a89bd2a384 Revises: da529ec88f6e Create Date: 2019-02-04 23:41:02.786665 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'c4a89bd2a384' down_revision = 'da529ec88f6e' branch_labels = None depends_on = None def upgrade(): # ...
[ "zarkaltair@gmail.com" ]
zarkaltair@gmail.com
7aeb5411bc3db40e176c74f2f877e1c693ec71ba
fcdce57c1bd0cc4f52679fd0f3f82532550083fa
/214/countdown.py
aae0037e13d043346509cc187fbc2036bd61c9db
[]
no_license
nishanthegde/bitesofpy
a16a8b5fb99ab18dc1566e606170464a4df3ace0
c28aa88e1366ab65f031695959d7cd0b3d08be6b
refs/heads/master
2023-08-08T16:53:17.107905
2023-07-22T19:07:51
2023-07-22T19:07:51
183,959,400
0
1
null
null
null
null
UTF-8
Python
false
false
586
py
from itertools import islice def countdown(): """Write a generator that counts from 100 to 1""" for i in range(100, 0, -1): yield i def simple_generator_function(): yield 1 yield 2 yield 3 # def main(): # # print('thank you for my life...') # our_generator = si...
[ "nhegde@netflix.com" ]
nhegde@netflix.com
0a4805eb9f3b7986ac7670f7a74595f7d72db420
a992d10d89a4aea6bc67cf36f2b4db18e542cf0c
/NineChapters/FindConnectedComponentInDirectedGraph.py
a13f4c45fb34cdb034e70798a1d08752a0161c01
[]
no_license
KeleiAzz/LeetCode
81f5ac3f0c722bbabbcce4f29809722c191a6850
3d82e6c402711057a95a6435fc29fbfcf2ee9c8f
refs/heads/master
2021-01-17T10:34:42.443543
2016-04-05T18:17:54
2016-04-05T18:17:54
41,068,167
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
# Definition for a undirected graph node # class UndirectedGraphNode: # def __init__(self, x): # self.label = x # self.neighbors = [] class Solution: # @param {UndirectedGraphNode[]} nodes a array of undirected graph node # @return {int[][]} a connected set of a undirected graph def conn...
[ "kgong@ncsu.edu" ]
kgong@ncsu.edu
ff43e97dc0cf5eebf6a0eed0248721df81fea7ee
4f4dc1e6235b068f3346a0df66740e216fd3a993
/bs4/dammit.py
567b73b4093f4d48e60eae824a592edfea298a00
[]
no_license
intabeta/inta
940dc94ecffde4b82dab87ffc5ca7bfcb1a391fa
10d479630d8398dfbea34020584eeaaff14961fc
refs/heads/master
2021-01-23T09:49:15.992045
2014-02-08T01:23:49
2014-02-08T01:23:49
9,431,398
0
0
null
null
null
null
UTF-8
Python
false
false
22,522
py
# -*- coding: utf-8 -*- """Beautiful Soup bonus library: Unicode, Dammit This class forces XML data into a standard format (usually to UTF-8 or Unicode). It is heavily based on code from Mark Pilgrim's Universal Feed Parser. It does not rewrite the XML or HTML to reflect a new encoding; that's the tree builder'...
[ "delinikos@gmail.com" ]
delinikos@gmail.com
dbe4d8c429ab336beb9508d0db161d9e3c716e94
13f7adf576114c51f9f806a6fc5797b276d93f97
/build/mobileye_560_660_msgs/cmake/mobileye_560_660_msgs-genmsg-context.py
8da19562fa70d9788fdfa2c792aa2684876e4fdb
[]
no_license
yunjeongkim/keti_ws
a72a5ebc367b208654bdffb5bb9e8372cd959d33
aaac717c15a7be7431b22fb4ec7a96a734f2e03c
refs/heads/master
2020-04-05T06:18:52.334522
2018-11-21T01:47:34
2018-11-21T01:47:34
156,633,425
1
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/dallddungi/keti_ws/src/mobileye_560_660_msgs/msg/FixedFoe.msg;/home/dallddungi/keti_ws/src/mobileye_560_660_msgs/msg/AwsDisplay.msg;/home/dallddungi/keti_ws/src/mobileye_560_660_msgs/msg/Tsr.msg;/home/dallddungi/keti_ws/src/mobileye_560_660_msgs...
[ "dallddungi@kaist.ac.kr" ]
dallddungi@kaist.ac.kr
15805fb731a2111511ca1d2ae1ca2afef7a76a63
81579ecd0678d652bbb57ff97529631fcfb74b12
/custom/_legacy/pact/management/commands/constants.py
506a7b19688871d88c33445f266abb17b40fede3
[ "BSD-3-Clause" ]
permissive
dungeonmaster51/commcare-hq
64fece73671b03c1bca48cb9d1a58764d92796ea
1c70ce416564efa496fb4ef6e9130c188aea0f40
refs/heads/master
2022-12-03T21:50:26.035495
2020-08-11T07:34:59
2020-08-11T07:34:59
279,546,551
1
0
BSD-3-Clause
2020-07-31T06:13:03
2020-07-14T09:51:32
Python
UTF-8
Python
false
false
30
py
RETRY_LIMIT = 5 POOL_SIZE = 8
[ "dmyung@dimagi.com" ]
dmyung@dimagi.com
552c7fe21a247d235ef5c79fbb2b8bebcd54438e
54fa8e9d460e8aa0b64fe26056e2760d87e7bbcf
/baseball_utils/get_today.py
bbd8371d94130c19dd9e53c4cec17d0dc8abf2af
[ "MIT" ]
permissive
mvwicky/baseball-utils
eb0050076d64e238353d2a86fdaa7c52bc861dbc
124e315a8310e32acec716c25cb6615feac02b5c
refs/heads/master
2020-03-22T22:19:47.907792
2018-07-13T17:36:58
2018-07-13T17:36:58
140,746,002
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
from datetime import datetime import attr from requests import Session from baseball_utils.gameday import GamedayData from baseball_utils.savant import Savant from baseball_utils.util import SESSION, default_attrs def get_today(): td = Today(SESSION) return td.probables() @default_attrs() class Today(obj...
[ "mvanwickle@gmail.com" ]
mvanwickle@gmail.com
0685dad35fe68318a4f536c6dd8afd27fb40a092
fb5ec592c02138ba21c50c703b396b0d5e64f0a1
/f5XdFcMJK0HS4LQE/X9CEJjWHzbeP71gm.py
880d4df4f445be41297347f289627215011c6d9e
[]
no_license
urlib/N56TKH
94cc5a800c1ab489ba7d2efc4314994682b97508
a6e01beeeafcd2d157cf18ebd0491c91035a8f0d
refs/heads/master
2021-05-19T18:22:44.833979
2020-04-15T05:40:36
2020-04-15T05:40:36
252,056,889
0
0
null
null
null
null
UTF-8
Python
false
false
28,486
py
歎𡒦𤖷𑠍驅𮆞䍉ᱰ𝅀䓟䢛𥌭寅曽𑇳𧳆𓆯𖹤녜럦𘇗ࡐ𧓵颽𣄌𭦶𩕾督𤗑イ〜𐼇𛅥힁詾㴆𬪾・﹛嗑𥉚𑇮燄𨀖𩽁걵𦯖幡𗈻𐚟끢𧝩𔘮𡔆𗔄漱碙䱷⪧뵿弫𥟡𬴈䷿𤼻𑇥朇襐𭱆뜁˙𬯠𒑉𠼖𦖜붑鐅𧺣𐏈𠉬퐈𤉎𠢸ၕ𩹎뛡𦻞𥀺𫼮멤𡶪쳕쑤𣧇𫂸𨯢𧽴𡐞롙𛊶𔑜𩟂𗓺眭𢞏𩍐𬕣𥝖覫𡄤╖𤶩𪒜𨱱懇𗳋𮘱🀛𭮌ꌥ鉬룀漦ꢌ𤹱儖𡒳𭧷𧋣㌤𦂠𠝴𗑍𪟊𦉧𫞆⁁𫟋䖍𡦀𝩟䗜ᮁ𩘯퍆𧣩𬁏讏厇痠胮𢗐𗵎䤅𤳿𡐥𓎚𧔌李渐㨡𘈳𝅙Ԝ𣎲䎤⥤爠𭞾횮ᓬ揾𑈹﹂㡂旨薸⼱𬑪깉𬴞괧𫱴荈𥯖ᴩ𢟏䠗𣆾𘏞綹🍢𨔢炂𠝮ꫵᮤ𡛱𤞰𑄯㠵㗀𠭵𠘭ᗷ浏ඓ�...
[ "45290401+vmlankub@users.noreply.github.com" ]
45290401+vmlankub@users.noreply.github.com
af72de057706b0fbf303f859a7f5a8c9d41d9e01
2eff5a335be48682379a363a05441fed72d80dc5
/vespa/pulse/auto_gui/panel_tab_transform.py
dd6bf9df2158ca4a1c8c7be3b6e4d63e88bfa3cf
[ "BSD-3-Clause" ]
permissive
teddychao/vespa
0d998b03b42daf95808d8115da1a2e2205629cd4
6d3e84a206ec427ac1304e70c7fadf817432956b
refs/heads/main
2023-08-31T08:19:31.244055
2021-10-26T00:25:27
2021-10-26T00:25:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,261
py
# -*- coding: UTF-8 -*- # # generated by wxGlade 0.9.3 on Wed Sep 11 13:06:23 2019 # import wx from wx.lib.agw.floatspin import FloatSpin, EVT_FLOATSPIN, FS_LEFT, FS_RIGHT, FS_CENTRE, FS_READONLY # begin wxGlade: dependencies # end wxGlade # begin wxGlade: extracode # end wxGlade class PanelTabTransform(wx.Panel):...
[ "bsoher@briansoher.om" ]
bsoher@briansoher.om
d7fd680264a075e0008e66128f731daba3352906
c81d7dfef424b088bf2509a1baf406a80384ea5a
/venv/Lib/site-packages/twilio/twiml/fax_response.py
86f0d47e9326dbf2c53d110fb4668e8cb531ea2c
[]
no_license
Goutham2591/OMK_PART2
111210d78fc4845481ed55c852b8f2f938918f4a
cb54fb21ebf472bffc6ee4f634bf1e68303e113d
refs/heads/master
2022-12-10T01:43:08.213010
2018-04-05T02:09:41
2018-04-05T02:09:41
124,828,094
0
1
null
2022-12-07T23:43:03
2018-03-12T03:20:14
Python
UTF-8
Python
false
false
956
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ import json from twilio.twiml import ( TwiML, format_language, ) class FaxResponse(TwiML): """ <Response> TwiML for Faxes """ def __init__(self, **kwargs): ...
[ "amatar@unomaha.edu" ]
amatar@unomaha.edu
45506a93ffee58f66e981c1a00e7ef24971fca43
8671856181ef218f147f23f367fd0b1dc7592e1a
/customers/admin.py
243b18c20c73174bcd5b48544007e62989c33ddd
[]
no_license
Alishrf/Shop_Website
e4fef9618aec2db6f4a655ff643aa68cf42dbb68
971d4a2ff8b7a68a0157681ff26404fe403502e6
refs/heads/master
2020-08-11T06:03:47.642870
2019-10-14T14:29:30
2019-10-14T14:29:30
214,504,737
2
0
null
null
null
null
UTF-8
Python
false
false
185
py
from django.contrib import admin from .models import Customer class CustomerAdmin(admin.ModelAdmin): list_display = ('user',) admin.site.register(Customer,CustomerAdmin)
[ "a.sharifzadeh11@gmail.com" ]
a.sharifzadeh11@gmail.com
9c33d352506198e4532780e67484f4a8d6a6b723
129cf00f2d4f38ba53cb638b38c75a191402ac8d
/ctfcli/core/plugins.py
4829493ac6977713f8ee265771ec8945f38bf7a2
[ "Apache-2.0" ]
permissive
CTFd/ctfcli
ab92dedf467e234f9e19daab2fd7853697809aa2
928966c0b360d7864f2e535d258569edb7f93f88
refs/heads/master
2023-09-04T06:25:36.438018
2023-08-31T15:40:08
2023-08-31T15:40:08
252,505,424
139
57
Apache-2.0
2023-09-04T22:58:54
2020-04-02T16:14:57
Python
UTF-8
Python
false
false
605
py
import importlib import logging import sys from typing import Dict from ctfcli.core.config import Config log = logging.getLogger("ctfcli.core.plugins") def load_plugins(commands: Dict): plugins_path = Config.get_plugins_path() sys.path.insert(0, str(plugins_path.absolute())) for plugin in sorted(plugin...
[ "noreply@github.com" ]
CTFd.noreply@github.com
524a89245ae2b00ec761491fdff18fee9d9f01df
9f1039075cc611198a988034429afed6ec6d7408
/tensorflow-stubs/python/training/rmsprop.pyi
402add92a5c8c927c4a7d9283e05df91e4e0070f
[]
no_license
matangover/tensorflow-stubs
9422fbb1cb3a3638958d621461291c315f9c6ec2
664bd995ef24f05ba2b3867d979d23ee845cb652
refs/heads/master
2020-05-23T12:03:40.996675
2019-05-15T06:21:43
2019-05-15T06:21:43
186,748,093
0
0
null
null
null
null
UTF-8
Python
false
false
710
pyi
# Stubs for tensorflow.python.training.rmsprop (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from tensorflow.python.framework import ops as ops from tensorflow.python.ops import array_ops as array_ops, init_ops as init_ops, math_ops as math_ops from tensorflow.python.training...
[ "matangover@gmail.com" ]
matangover@gmail.com
87dd0f2152017150f51e44d48c8c79da3578a5d3
80d596df8a8ce8f9c844b325d2df5a1185581595
/clld/lib/rdf.py
232543caf318debf194d1af0d52c9dbb675e2bf7
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
FieldDB/clld
780d2893d6fdc766f91df0886280c0ea02f640eb
4738caf5125648dc952a97692c38f90ba13011b1
refs/heads/master
2021-01-15T15:15:55.131288
2014-02-17T20:25:10
2014-02-17T20:25:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,025
py
""" This module provides functionality for handling our data as rdf. """ from collections import namedtuple from cStringIO import StringIO from rdflib import Graph, URIRef, Literal from rdflib.namespace import ( Namespace, DC, DCTERMS, DOAP, FOAF, OWL, RDF, RDFS, SKOS, VOID, XMLNS, ) # make flake8 happy, but still...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
74bb80ae19f6954190d3a560b8bea9a8bcb80441
cfefcd99016a908df2584896845406942097671d
/python/test/test_portal_setting_value_list.py
317ced9bb1079bacd0e94b55d01464c91a68e87f
[]
no_license
tomasgarzon/vigilant-guacamole
982a8c7cb0a8193bb3409014b447ad8a70e6eb36
bde73674cf0461e2fcdfce5074bf9d93a47227f7
refs/heads/main
2023-08-17T01:51:27.168440
2021-09-01T11:23:46
2021-09-01T11:23:46
398,827,144
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
""" Nucoro API No description # noqa: E501 The version of the OpenAPI document: 4.175.0 Generated by: https://openapi-generator.tech """ import sys import unittest import openapi_client from openapi_client.model.portal_setting_value_list import PortalSettingValueList class TestPortalSettingValue...
[ "tomasgarzonhervas@gmail.com" ]
tomasgarzonhervas@gmail.com
a95e55e38b9d6a992da62ca6d9b84f7dfc0690cd
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_countries.py
0afbe19c74dda7dd31584a6a6e1c39ece912a31d
[ "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
228
py
#calss header class _COUNTRIES(): def __init__(self,): self.name = "COUNTRIES" self.definitions = country self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['country']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
7d5775a6b98d8aad1f6a14ac34b9357c5a103968
2b52e32f8ba65202078bde0173eb8e972434d3f8
/Python_Algorithm/Baek/17072.py
141252b6bae20376848af324ff10ec28a59c4398
[]
no_license
HoeYeon/Algorithm
7167c463922227c0bc82e43940f7290fc1fa16af
0e5ce2a3347d733bbaa894391cbf344fcb5161d6
refs/heads/master
2020-09-08T17:27:56.654485
2020-08-02T08:23:46
2020-08-02T08:23:46
221,195,393
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
def i_f(li): num = (2126*li[0] + 7152*li[1] + 722*li[2]) if 0 <= num < 510000: return '#' elif 510000 <= num < 1020000: return 'o' elif 1020000 <= num < 1530000: return '+' elif 1530000 <= num < 2040000: return '-' elif 2040000 <= num: return '.' n, m = ma...
[ "shy9546@naver.com" ]
shy9546@naver.com
b6b9f0446819b1f0796ee2f017b86c55a180a31c
dce4a52986ddccea91fbf937bd89e0ae00b9d046
/jni-build/jni/include/tensorflow/contrib/graph_editor/tests/subgraph_test.py
b20632a6c212dfe946b0f0a96c26b327a97aebde
[ "MIT" ]
permissive
Lab603/PicEncyclopedias
54a641b106b7bb2d2f71b2dacef1e5dbeaf773a6
6d39eeb66c63a6f0f7895befc588c9eb1dd105f9
refs/heads/master
2022-11-11T13:35:32.781340
2018-03-15T05:53:07
2018-03-15T05:53:07
103,941,664
6
3
MIT
2022-10-28T05:31:37
2017-09-18T13:20:47
C++
UTF-8
Python
false
false
3,145
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "super_mr.z@hotmail.comm" ]
super_mr.z@hotmail.comm
8b44925e87277f4b637f2fb3403862d23eb35a82
62226afe584a0d7f8d52fc38ca416b19ffafcb7a
/hwtLib/amba/axi_comp/slave_timeout_test.py
bdcc4f60d7f43ba87be5625c2c8cd3564a3b0a8b
[ "MIT" ]
permissive
Nic30/hwtLib
d08a08bdd0bf764971c4aa319ff03d4df8778395
4c1d54c7b15929032ad2ba984bf48b45f3549c49
refs/heads/master
2023-05-25T16:57:25.232026
2023-05-12T20:39:01
2023-05-12T20:39:01
63,018,738
36
8
MIT
2021-04-06T17:56:14
2016-07-10T21:13:00
Python
UTF-8
Python
false
false
3,411
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from hwt.simulator.simTestCase import SimTestCase from hwtLib.amba.axi4 import Axi4 from hwtLib.amba.axiLite_comp.sim.utils import axi_randomize_per_channel from hwtLib.amba.axi_comp.slave_timeout import AxiSlaveTimeout from hwtLib.amba.constants import RESP_SLVERR, RESP_...
[ "nic30@seznam.cz" ]
nic30@seznam.cz
b0efcdc71b8fae99512efb620fd54b98fb9200ca
9a53024307d5b1706e53326d3eb4c1d77743a136
/graphql_demo/graphql_demo/schema.py
efae7b2a504175d776ec42bb3a87e87a1255ba47
[]
no_license
Triadai/django-graphql-demo
4a995e8af1096965090378a00a0dd512ab05ecf7
1b1d40d7b09ade457d4252096bbfca0315557396
refs/heads/master
2021-05-06T15:14:26.514559
2017-06-19T06:42:05
2017-06-19T06:42:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
import graphene import simple_app.schema class Mutation(simple_app.schema.Mutation, graphene.ObjectType): pass class Query(simple_app.schema.Query, graphene.ObjectType): pass schema = graphene.Schema(query=Query, mutation=Mutation)
[ "mbrochh@gmail.com" ]
mbrochh@gmail.com
cb871c3c36900c1f80f9553e2f068b11c83b60f9
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/pybites/intermediate/142_v4/scores.py
6b1a27c733f9f2bb71e25354899689e842889dad
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,364
py
from collections import namedtuple MIN_SCORE = 4 DICE_VALUES = range(1, 7) Player = namedtuple('Player', 'name scores') def calculate_score(scores): """Based on a list of score ints (dice roll), calculate the total score only taking into account >= MIN_SCORE (= eyes of the dice roll). If ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
868309f5fcb83db8ab2e52e6e7f2cf5f34c3e5f8
8997a0bf1e3b6efe5dd9d5f307e1459f15501f5a
/closure__examples/hello_world.py
84781ecceeb45ead5394fcd637397dc296b928bd
[ "CC-BY-4.0" ]
permissive
stepik/SimplePyScripts
01092eb1b2c1c33756427abb2debbd0c0abf533f
3259d88cb58b650549080d6f63b15910ae7e4779
refs/heads/master
2023-05-15T17:35:55.743164
2021-06-11T22:59:07
2021-06-11T22:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' # SOURCE: https://ru.wikipedia.org/wiki/Замыкание_(программирование) # multiplier возвращает функцию умножения на n def multiplier(n): def mul(k): return n * k return mul # mul3 - функция, умножающая на 3 mul3 = multiplier(3)...
[ "ilya.petrash@inbox.ru" ]
ilya.petrash@inbox.ru
5628bf46e85c2384cc2ad20595d2815fff2243ba
02442f7d3bd75da1b5b1bf6b981cc227906a058c
/rocon/build/rocon_msgs/concert_msgs/catkin_generated/pkg.installspace.context.pc.py
723bbed31accdfcda71ffdeb61f1a0bac6159af2
[]
no_license
facaisdu/RaspRobot
b4ff7cee05c70ef849ea4ee946b1995432a376b7
e7dd2393cdabe60d08a202aa103f796ec5cd2158
refs/heads/master
2020-03-20T09:09:28.274814
2018-06-14T08:51:46
2018-06-14T08:51:46
137,329,761
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/sclab_robot/turtlebot_ws/rocon/install/include".split(';') if "/home/sclab_robot/turtlebot_ws/rocon/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "gateway_msgs;message_runtime;rocon_app...
[ "facai_sdu@126.com" ]
facai_sdu@126.com
6ef04cf075ceac67095db1f0d24a78ffa5b3359b
b87ec5d1b11b3a517256365f07413cec56eff972
/_cite/cite.py
5f8d135a94904956eb712f797a50eef448847197
[ "BSD-3-Clause" ]
permissive
greenelab/lab-website-template
53349ae75c50f573aaa275260839c89a2fef9d3e
49149880097297f3f0bf90f6f3c2bc7856ca73de
refs/heads/main
2023-08-22T21:18:18.716765
2023-05-19T18:59:15
2023-05-19T18:59:15
296,680,938
213
309
BSD-3-Clause
2023-05-19T18:59:16
2020-09-18T16:57:31
HTML
UTF-8
Python
false
false
4,916
py
""" cite process to convert sources and metasources into full citations """ import traceback from importlib import import_module from pathlib import Path from dotenv import load_dotenv from util import * # load environment variables load_dotenv() # error flag error = False # output citations file output_file = "_...
[ "noreply@github.com" ]
greenelab.noreply@github.com
7573f09ccd7f7eba9450179f4e9d1fc18c3b3ceb
a961aaa37bde0c8217453631809da11203a145c3
/clients/python/SolviceRoutingClient/api/pvrp_api.py
3abc55442e8d069ced6cea4212ecef7e9841172b
[ "MIT" ]
permissive
solvice/solvice-routing-client
0f3fdb69244e1d3db92159db4be651adcdf23eb1
cdaedaf47d202965549c9e2b7d9102d292c91d5b
refs/heads/master
2020-06-22T16:56:52.871358
2019-09-25T14:46:54
2019-09-25T14:46:54
197,749,475
0
0
null
null
null
null
UTF-8
Python
false
false
4,201
py
# coding: utf-8 """ OnRoute API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.1.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re ...
[ "cvh@solvice.io" ]
cvh@solvice.io
620c4eaa8063ccdd8693983d8e97949ba279c96c
64c05e8c346ced131f65770db7c8ebe6c9e29c12
/tests/test_model/test_backbone/test_shufflenetv1_backbone.py
c5da09d306f1d1822c45a72528ea2ec7933a6fa7
[ "Apache-2.0" ]
permissive
lilujunai/ZCls
bcf6c5ceae8ce7282e77678d63c6aa2daa4feda4
14a272540b6114fb80cd314066ff6721bcf85231
refs/heads/master
2023-02-25T05:46:07.794013
2021-02-04T07:34:39
2021-02-04T07:34:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,336
py
# -*- coding: utf-8 -*- """ @date: 2020/11/21 下午7:24 @file: test_resnet_backbone.py @author: zj @description: """ import torch from zcls.model.backbones.shufflenetv1_unit import ShuffleNetV1Unit from zcls.model.backbones.shufflenetv1_backbone import ShuffleNetV1Backbone def test_shufflenet_v1_backbone(): # g=1...
[ "wy163zhuj@163.com" ]
wy163zhuj@163.com
2b867933f646511764508dfeb84aecc84822e99f
ce6d74994bce49411f00f5053f56fb3b7c30bd50
/interview/interview16.py
f7620da21a3f9c3559924734d76be04bb6091369
[]
no_license
zhengjiani/pyAlgorithm
9397906f3c85221e64f0415abfbb64d03eb1c51e
dbd04a17cf61bac37531e3337ba197c4af19489e
refs/heads/master
2021-07-11T19:07:26.480403
2020-07-16T00:25:24
2020-07-16T00:25:24
179,308,500
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
# -*- coding: utf-8 -*- # @Time : 2019/9/9 11:13 # @Author : zhengjiani # @Software: PyCharm # @Blog :https://zhengjiani.github.io/ """ 查找二叉树的深度,求该树的深度 从根节点到叶节点依次经过的结点(含根、叶结点)形成树的一条路径,最长路径的长度为树的深度 """ class TreeNode: def __init__(self,x): self.val = x self.left = None self.right = Non...
[ "936089353@qq.com" ]
936089353@qq.com
e0ee1b4a0bc7857aa5e825511b29c181f4916630
de15d37591450a23e1ca753e8ac345bfc19c0aba
/PythonEnv/Lib/site-packages/numpy/lib/tests/test_recfunctions.py
b3d32f6688e911c16cd37a527b5a04db8625a145
[ "MIT", "BSD-3-Clause", "Python-2.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-2-Clause" ]
permissive
MagnavoxTG/Dionysos
e0da00c8e83ad8603f087da83cda85862faecfd7
002791be6ad7955fa0cbf3a25136940a29c194e8
refs/heads/master
2021-05-24T09:21:37.217367
2020-04-05T17:12:43
2020-04-05T17:12:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,281
py
from __future__ import division, absolute_import, print_function import pytest import numpy as np import numpy.ma as ma from numpy.ma.mrecords import MaskedRecords from numpy.ma.testutils import assert_equal from numpy.testing import assert_, assert_raises from numpy.lib.recfunctions import ( drop_fields, rename_...
[ "=" ]
=
cdd6c6b8c2a31c356719506c8ce4dcdc08202c50
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4458807.3.spec
1772215d94ba44826928d25e2e4d7a241f93051f
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,306
spec
{ "id": "mgm4458807.3", "metadata": { "mgm4458807.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
6d2f796a571b224f6eafbc086a95247149bcaffc
cca8b92a8fb2e79d46a10e105cd6a98c22564383
/kuterless/public_fulfillment/serializers.py
1eaa29bb65dde90cda74fc6472c190c24bcf3ca7
[]
no_license
gl1000007/NeuroNet
2fc0b57a1147546b926e3d9e3d2c4a00589d5f1c
222e8058a78ffe89442310c5650a2edb3eb8260c
refs/heads/master
2021-01-17T12:02:12.658928
2016-06-06T19:56:37
2016-06-06T19:56:37
72,467,802
1
0
null
2016-10-31T18:49:41
2016-10-31T18:49:41
null
UTF-8
Python
false
false
7,528
py
# -*- coding: utf-8 -*- from coplay import models from coplay.models import Discussion, Feedback, LikeLevel, Decision, Task, \ Viewer, FollowRelation, UserUpdate, Vote, Glimpse, AnonymousVisitor, \ AnonymousVisitorViewer, UserProfile, MAX_TEXT from django.contrib.auth.models import User from rest_framework imp...
[ "tzahimanmobile@gmail.com" ]
tzahimanmobile@gmail.com
e3f0533447afd1c99e2a5e345b86874bafc397a4
5132c0de8eb07fe0548442ad605852137899f2cd
/covsirphy/regression/rate_elastic_net.py
d6cbec5d776eaae99e3b734a9bb1bdf7e42291dc
[ "Apache-2.0" ]
permissive
SelengeMGL/covid19-sir
c12d58f21de7c3c63e87fc3b55c9dda966653c17
64d50b79cc9d3e26019a230f3c373a2755451495
refs/heads/master
2023-05-06T18:41:21.901437
2021-05-23T12:52:11
2021-05-23T12:52:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,437
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from math import log10, floor import numpy as np import pandas as pd from covsirphy.regression.param_elastic_net import _ParamElasticNetRegressor class _RateElasticNetRegressor(_ParamElasticNetRegressor): """ Predict parameter values of ODE models with Elastic Ne...
[ "7270139+lisphilar@users.noreply.github.com" ]
7270139+lisphilar@users.noreply.github.com
1b3127988778826a12ef4eeeea33c86953e8b0c0
bbc2e379e1e2e9b573d455c1e604636a11e2e6f6
/config/settings/local.py
1adbaa040927159bfcd47d28686a87a91d768a14
[ "MIT" ]
permissive
MikaelSantilio/uprevendas-api
cc7c21bc496194c6b4c9ba77205ed54b23a7f82a
f04312988ffe3231f68ae0ebeaed9eaf0a7914b0
refs/heads/master
2023-05-25T18:41:45.584569
2021-06-09T23:24:47
2021-06-09T23:24:47
330,134,711
1
0
null
null
null
null
UTF-8
Python
false
false
2,447
py
from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#debug DEBUG = True # https://docs.djangoproject.com/en/dev/ref/settings/#secret-key SECRET_KEY = env( "DJANGO_SECRET_KEY...
[ "mikael.santilio@gmail.com" ]
mikael.santilio@gmail.com
dce3c9dab31479292158a01d39e4e2914dbbb66e
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/DiMuonOppositeSignP3GeVMinMaxMassDocaHighPtProd.py
3ade6833c82d734ce4f0b64853268845d8508007
[]
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,109
py
from Configurables import Generation, RepeatDecay, Inclusive, DiLeptonInAcceptance from GaudiKernel.SystemOfUnits import GeV, MeV, mm Generation().SampleGenerationTool = "RepeatDecay" Generation().addTool( RepeatDecay ) Generation().RepeatDecay.NRedecay = 100 Generation().RepeatDecay.addTool( Inclusive ) Generation...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
22d444f0ffb8fb15ff5058d56f1660adc9d0469a
ca7162adc548c5937ebedd6234b40de7294e2da1
/19-Pillow图像处理/20将图片中黄色修改为红色.py
e7c2ffe94958924e92ac02d3486ca223d47d5643
[]
no_license
meloLeeAnthony/PythonLearn
03c259d745b1ccdc039e9999889ab54be14ae020
9915ec5bb7048712a97539a9c5bce8743567b22a
refs/heads/master
2023-07-10T21:12:54.027143
2021-08-19T12:43:19
2021-08-19T12:43:19
289,487,502
1
2
null
null
null
null
UTF-8
Python
false
false
777
py
from PIL import ImageDraw, Image img = Image.open('images/bjsxt.png') draw_obj = ImageDraw.Draw(img) width, height = img.size # 将黄色修改为红色 def get_color(oldColor): ''' 如果是黄色(255,255,0),则换算成红色,把绿色通道置为0 可以点击:windows 中的画图软件调色板观察黄色的区间。 ''' # print(oldColor) # 获取每个通道的值 正宗的黄色(255,255,0) ...
[ "li.chun158@gmail.com" ]
li.chun158@gmail.com
e0fefb1fccf976cc448cb2a66ea9adab80e6d73f
ab8a5876c12d42db3a61a1560c774e118da5605e
/MDShop/service.py
dccd47d0261d2f84b66739d94e39569f047d4b25
[]
no_license
mustavfaa/django_16.09
6e19d75dc1bcd2536e3d10d854989370607c0518
b88ebe6f87d2facc51fee86dd18eb4cadaba0e14
refs/heads/main
2023-08-10T18:23:39.892882
2021-09-17T06:17:15
2021-09-17T06:17:15
406,880,945
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
from django_filters import rest_framework as filters from .models import smartphone class CharFilterInFilter(filters.BaseInFilter, filters.CharFilter): pass class ShoppFilter(filters.FilterSet): genres = CharFilterInFilter(field_name='category__name', lookup_expr='in') price = filters.RangeFilter() ...
[ "72229762+mustavfaa@users.noreply.github.com" ]
72229762+mustavfaa@users.noreply.github.com
b3061ff7daa2a9bc88afc9974b5be35abd3df341
e3ec5f1898ae491fa0afcdcc154fb306fd694f83
/src/components/outputOpController/outputOpController.py
24557b2dbd08cef6d8cd72a110151d21fd212f31
[ "CC-BY-4.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
phoebezhung/raytk
42397559a76a9ba39308ac03344b4446f64ea04d
b91483ce88b2956d7b23717b11e223d332ca8395
refs/heads/master
2023-08-27T05:20:38.062360
2021-10-21T04:33:18
2021-10-21T04:33:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
from typing import List # noinspection PyUnreachableCode if False: # noinspection PyUnresolvedReferences from _stubs import * from _typeAliases import * class _Par: Hostop: 'OPParamT' Opdef: 'OPParamT' Rendertop: 'OPParamT' Shaderbuilder: 'OPParamT' Fixedtexinputs: 'StrParamT' Texselectors: 'StrParamT...
[ "tekt@immerse.studio" ]
tekt@immerse.studio
e2b8ce4a88472ff1350842e57f2585a6f482b607
0a5eedbd7d6c844dfb557aa57e88f1b9e0527665
/data/io/read_tfrecord.py
ac58ea1c0f82bfd71692a17dc1da4a31f7aa5dec
[ "MIT" ]
permissive
chizhanyuefeng/R2CNN-Plus-Plus_Tensorflow
f63ad3a6e535d59528f6a06b7a9f877ec4607c7d
adec3de17db1d07eaf5d7bc1b1dc387934985b79
refs/heads/master
2020-09-22T21:24:28.999333
2019-12-03T02:25:08
2019-12-03T02:25:08
225,324,251
0
0
MIT
2019-12-02T08:32:34
2019-12-02T08:32:34
null
UTF-8
Python
false
false
5,416
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import print_function from __future__ import division import numpy as np import tensorflow as tf import os from data.io import image_preprocess from libs.configs import cfgs def read_single_example_and_decode(filename_queue): # tfre...
[ "yangxue0827@126.com" ]
yangxue0827@126.com
99670667c78f1a507843a9f1ace224929d1a1a68
4ec709b16e366c60a9c7f2f7696608b036825140
/stanislaus/_parameters/network_PH_Cost.py
4ac6c1bd28f1a7f60b97bff44547c4d3f60eaf4d
[]
no_license
alanccai/sierra-pywr
19c7efc4485879a4ca35677fdb14b3c795829e02
4447c6247af5159030b3025f14c2397283c4fcd0
refs/heads/master
2020-08-19T10:17:30.590861
2019-10-15T20:33:45
2019-10-15T20:33:45
215,909,820
0
0
null
2019-11-15T17:54:23
2019-10-18T00:31:58
null
UTF-8
Python
false
false
1,848
py
from parameters import WaterLPParameter class network_PH_Cost(WaterLPParameter): """""" # path = "s3_imports/energy_netDemand.csv" baseline_median_daily_energy_demand = 768 # 768 GWh is median daily energy demand for 2009 def _value(self, timestep, scenario_index, mode='scheduling'): totD...
[ "herr.rhein@gmail.com" ]
herr.rhein@gmail.com
ffdf035d8454aa99dc436f4467f389c084b23666
002c14cd622b4890cce1c243065cebe39e2302ec
/LeetCode/13-Roman-to-Integer/Roman-to-Integer.py
d340a9596c72981fd2f85799d215d961b5f90c82
[ "MIT" ]
permissive
hscspring/The-DataStructure-and-Algorithms
6200eba031eac51b13e320e1fc9f204644933e00
e704a92e091f2fdf5f27ec433e0e516ccc787ebb
refs/heads/master
2022-08-29T18:47:52.378884
2022-08-25T16:22:44
2022-08-25T16:22:44
201,743,910
11
3
MIT
2021-04-20T18:28:47
2019-08-11T09:26:34
Python
UTF-8
Python
false
false
890
py
class Solution(object): def romanToInt(self, s): """ :type s: str :rtype: int """ romanDict = { "I": 1, "V": 5, "X": 10, "L": 50, "C": 100, "D": 500, "M": 1000, } res = 0 ...
[ "haoshaochun@gmail.com" ]
haoshaochun@gmail.com
8e9a7fa16f4019455c5bd5558201c626dc070351
0849923ebcde8f56a6e8550ae4f3c5ee3e2e0846
/apps/search/src/search/decorators.py
ab684bbf9ba17e89cf01ce65ffd14cbcfb1e7154
[ "Apache-2.0" ]
permissive
thinker0/hue
511a5796cdfe45e0b27f1d3309557ca60ce8b13b
ee5aecc3db442e962584d3151c0f2eab397d6707
refs/heads/master
2022-07-10T02:37:23.591348
2014-03-27T20:05:00
2014-03-27T20:05:00
12,731,435
0
0
Apache-2.0
2022-07-01T17:44:37
2013-09-10T14:13:42
Python
UTF-8
Python
false
false
1,304
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "romain@cloudera.com" ]
romain@cloudera.com
76967bed7d5d25cae9b9fed322cae51c0c6b38b6
5f3fb04f8e04f8aa9d15bb9cded75b98fa53422f
/fofo_lazada/wizard/import_customer_payment.py
bb5400658e8c71eb8bbba8ad1ec853d2576ef6ef
[]
no_license
kittiu/fofo
49a5b9110814bc8512e22fd101e821e6820b2f0a
b73e2009e220fd843e91d9ea414f514ae113b76c
refs/heads/master
2020-04-16T20:12:44.309677
2018-08-03T14:53:12
2018-08-03T14:53:12
63,481,415
0
1
null
2018-08-03T14:53:13
2016-07-16T12:13:16
Python
UTF-8
Python
false
false
1,245
py
from openerp import models, fields, api, _ import openerp.addons.decimal_precision as dp from datetime import datetime import csv import StringIO import base64 import xlrd from openerp import tools from _abcoll import ItemsView class import_customer_payment(models.TransientModel): _name = 'import.customer.payment'...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
076656d8a2ada109350a4f62dbd2e457331d513d
6512f283dbde46ec31f985889166798c5f943484
/utils/prepare_docs.py
04cb182e21ba277bb033f7ebf3408dcee748bd23
[ "CC-BY-4.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
greenelab/iscb-diversity
d5db60693e2c2038c1033cb10f6c3a57c33a581d
f4f5d013a5263cb4a591a2cd0841f43fd082c7e3
refs/heads/master
2023-08-01T00:11:46.070563
2021-09-09T19:38:31
2021-09-09T19:38:31
207,814,106
7
1
NOASSERTION
2021-06-10T15:50:41
2019-09-11T13:03:02
Jupyter Notebook
UTF-8
Python
false
false
2,914
py
""" Generate docs directory for GitHub Pages. """ import argparse import pathlib import subprocess import sys root_dir = pathlib.Path(__file__).parent.parent docs_dir = root_dir.joinpath("docs") readme_template = """\ # Project Webpage for ISCB Diversity Analysis <!-- make sure to edit this content in utils/prepare_...
[ "daniel.himmelstein@gmail.com" ]
daniel.himmelstein@gmail.com
4b154b3ded63895ffebd249d37efbf7f792b89b5
3e4b8fe54f11bf36f3615c21fdc1dca0ed00fe72
/month05/day04/03_weekday.py
d301021c4a68b80eb21452bfaee535f7a7743f07
[]
no_license
leinian85/year2019
30d66b1b209915301273f3c367bea224b1f449a4
2f573fa1c410e9db692bce65d445d0543fe39503
refs/heads/master
2020-06-21T20:06:34.220046
2019-11-04T06:37:02
2019-11-04T06:37:02
197,541,549
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
import numpy as np ary = np.arange(1,37).reshape(6,6) def apply(data): return data.mean() print(ary) r = np.apply_along_axis(apply,1,ary) print(r) print(apply(ary[0,:]))
[ "42737521@qq.com" ]
42737521@qq.com
7fa486dfb3dd91ddb4381bfd2d02fa65696c93d1
f8f2536fa873afa43dafe0217faa9134e57c8a1e
/aliyun-python-sdk-smarthosting/aliyunsdksmarthosting/request/v20200801/UpdateManagedHostAttributesRequest.py
6903b8467168f5b270b89a199b450c06c42e6c34
[ "Apache-2.0" ]
permissive
Sunnywillow/aliyun-openapi-python-sdk
40b1b17ca39467e9f8405cb2ca08a85b9befd533
6855864a1d46f818d73f5870da0efec2b820baf5
refs/heads/master
2022-12-04T02:22:27.550198
2020-08-20T04:11:34
2020-08-20T04:11:34
288,944,896
1
0
NOASSERTION
2020-08-20T08:04:01
2020-08-20T08:04:01
null
UTF-8
Python
false
false
2,619
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
97a3e24436a577e4b1e73d9a2f7511d8325217ef
5672737d1ff34bebfeb408426e52ed49df8be3bb
/graphgallery/attack/targeted/common/rand.py
a95829950f927f663815568b32c3a8170abb5757
[ "MIT" ]
permissive
sailfish009/GraphGallery
5063ee43340a6ca8da9f2d7fb3c44349e80321b2
4eec9c5136bda14809bd22584b26cc346cdb633b
refs/heads/master
2023-08-24T19:19:59.714411
2021-10-16T10:10:40
2021-10-16T10:10:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,098
py
import random import numpy as np from graphgallery.utils import tqdm from graphgallery.attack.targeted import Common from ..targeted_attacker import TargetedAttacker @Common.register() class RAND(TargetedAttacker): def reset(self): super().reset() self.modified_degree = self.degree.copy...
[ "cnljt@outlook.com" ]
cnljt@outlook.com
b97a00b7ad30a23398328b91d48b220d5c4802bc
b8911bd330c08c32a205751cf2f7538494729c16
/examples/plotting/plot_2_parallel_coordinates.py
55d66289653a05f16f742f4eb9bcd21740f11a3f
[ "BSD-3-Clause" ]
permissive
mirkobronzi/orion
3c0bb6258392729b91617997eebcf1e8897795aa
ad8f69afabf3faab557a82ef9409fabd63495ea8
refs/heads/master
2022-05-02T05:45:54.425146
2022-03-08T00:37:08
2022-03-08T00:37:08
195,877,506
0
0
NOASSERTION
2022-03-08T00:38:23
2019-07-08T19:55:26
Python
UTF-8
Python
false
false
5,258
py
""" ==================== Parallel Coordinates ==================== .. hint:: Conveys a dense overview of the trial objectives in a multi-dimensional space. Helps identifying trends of best or worst hyperparameter values. The parallel coordinates plot decomposes a search space of `n` dimensions into `n` axis s...
[ "xavier.bouthillier@umontreal.ca" ]
xavier.bouthillier@umontreal.ca
7e7b508b865d113b3866dcafbdbe625da5fa268a
3431aa0a966505c601171393e9edcd2345813268
/analysis/lssxcmb/scripts/run_cell_sv3.py
67f67d8953fff82b82dfa3a773b4140d43be8baf
[ "MIT" ]
permissive
mehdirezaie/LSSutils
34eeeb6efbf2b5c4c0c336c1f9f2fabc821def39
af4697d9f4b4fc4dbab44787108d7aa538ca846d
refs/heads/master
2023-08-17T17:58:03.310073
2023-08-16T11:29:23
2023-08-16T11:29:23
200,747,239
3
0
MIT
2021-11-09T15:12:30
2019-08-06T00:25:07
Jupyter Notebook
UTF-8
Python
false
false
2,653
py
import os import healpy as hp from lssutils import setup_logging, CurrentMPIComm from lssutils.lab import get_cl from lssutils.utils import npix2nside, make_hp from lssutils.utils import maps_dr9 as columns import fitsio as ft import numpy as np @CurrentMPIComm.enable def main(args, comm=None): if...
[ "medirz90@icloud.com" ]
medirz90@icloud.com
c23e11afccd6e32919ce7dad4448f78f03f7ee83
0d0cf0165ca108e8d94056c2bae5ad07fe9f9377
/3_Python_Data_Science_Toolbox_Part1/3_Lambda_functions_and_error-handling/errorHandlingWithTryExcept.py
88c5557c80a12220a1241c670005099db365c6d2
[]
no_license
MACHEIKH/Datacamp_Machine_Learning_For_Everyone
550ec4038ebdb69993e16fe22d5136f00101b692
9fe8947f490da221430e6dccce6e2165a42470f3
refs/heads/main
2023-01-22T06:26:15.996504
2020-11-24T11:21:53
2020-11-24T11:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
# Error handling with try-except # A good practice in writing your own functions is also anticipating the ways in which other people (or yourself, if you accidentally misuse your own function) might use the function you defined. # As in the previous exercise, you saw that the len() function is able to handle input arg...
[ "noreply@github.com" ]
MACHEIKH.noreply@github.com
5db8d660382ca50bec0fc0ab03dc620098282966
9ca6885d197aaf6869e2080901b361b034e4cc37
/TauAnalysis/MCEmbeddingTools/test/runGenMuonRadCorrAnalyzer_cfg.py
978d9416623f149ba528ac6ef22a4fbb44f182ec
[]
no_license
ktf/cmssw-migration
153ff14346b20086f908a370029aa96575a2c51a
583340dd03481dff673a52a2075c8bb46fa22ac6
refs/heads/master
2020-07-25T15:37:45.528173
2013-07-11T04:54:56
2013-07-11T04:54:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,082
py
import FWCore.ParameterSet.Config as cms process = cms.Process("runGenMuonRadCorrAnalyzer") import os import re import TauAnalysis.Configuration.tools.castor as castor import TauAnalysis.Configuration.tools.eos as eos # import of standard configurations for RECOnstruction # of electrons, muons and tau-jets with non...
[ "sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch" ]
sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch
008458b3a86ae5e14cc07957c22da7431650271c
d4c9979ebf5224e79c7bff38931657e0b3420b86
/quizzes/Quiz35.py
60e585f8af44430796aab5112454e757f5ddc3cc
[]
no_license
imjeee/cs373
60c021ec372a59dab8edf32a1f2f833857bbf5f8
9c331c9eb9c4c43f8a2ee03ee5770791f2ead225
refs/heads/master
2020-12-25T02:20:25.894496
2012-04-26T02:56:03
2012-04-26T02:56:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
#!/usr/bin/env python """ CS373: Quiz #35 (5 pts) """ """ ---------------------------------------------------------------------- 1. What is the output of the following program? (4 pts) 1 A.A() A.A() False A.A() A.f() 2 A.A() 3 True A.f() 4 5 True A.f() 6 """ def Decorator (c) : x = c() return lambda : x ...
[ "downing@cs.utexas.edu" ]
downing@cs.utexas.edu
2c69e19bcc517dcd10c542ec855f0c2019875f31
e254a9e46750549f742b30fc5e930f1bddf78091
/plots/python/cutsJetClean1.py
6e43f909f17bbc85a9c4d9976b4df2e93a358a30
[]
no_license
schoef/TTGammaEFT
13618c07457a0557c2d62642205b10100f8b4e79
af9a5f8c9d87835c26d7ebecdccf865a95a84ba2
refs/heads/master
2020-04-17T05:01:28.910645
2019-01-17T16:29:27
2019-01-17T16:29:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,657
py
#!/usr/bin/env python ''' Define list of plots for plot script ''' # Standard Imports from math import pi # RootTools from RootTools.core.standard import * # TTGammaEFT from TTGammaEFT.Tools.constants import defaultValue # plotList cutsJetClean1 = [] cutsJetClean1.app...
[ "lukas.k.lechner@gmail.com" ]
lukas.k.lechner@gmail.com
63ce385bb0e3331d222c53d2420877eedc853169
f2aec3224fb3e1a6c780f82def626be3565a0e8e
/examples/Carleman/config.py
9b7c950382f999c814723a8eb8af048d3e92b9b3
[]
no_license
Orcuslc/MultiScale-PINN
a000ce5afcb7d91ccdd535cc45bd2000c917463f
32f1de843ec96231d6d9859815ad1b08cef718d2
refs/heads/master
2022-12-13T13:07:59.881197
2020-09-15T22:46:45
2020-09-15T22:46:45
291,526,555
0
1
null
null
null
null
UTF-8
Python
false
false
818
py
import jax import jax.numpy as jnp from jax import random from jax.experimental import optimizers import os, sys sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) from jaxmeta.loss import * # name of job NAME = "1" # random key key = random.PRNGKey(1) # network config la...
[ "orcuslc@hotmail.com" ]
orcuslc@hotmail.com
60c072d32340dc8922ab7bd5a5643dcda4ae5b74
342a1ec794df5424bfc4f6af2cb8de415068201b
/sandbox/urls.py
cda98e24d4af79bb880bea6d3d80987d07cf9d1c
[]
no_license
penta-srl/django-oscar-promotions
c5d0b159950189f23852665ce7e3b3a2fe248bd5
65bdf39b48409311e7284fc0a12e8b2e17f176dd
refs/heads/master
2020-07-06T23:48:45.660316
2019-07-08T19:23:15
2019-07-08T19:23:15
203,176,440
0
0
null
2019-08-19T13:16:55
2019-08-19T13:16:55
null
UTF-8
Python
false
false
433
py
from django.conf import settings from django.conf.urls import i18n from django.conf.urls.static import static from django.contrib import admin from django.urls import include, path from app import application urlpatterns = [ path('admin/', admin.site.urls), path('i18n/', include(i18n)), path('', applicati...
[ "sasha@sasha0.ru" ]
sasha@sasha0.ru
3dfd2531ae73ff4591e432a193134bba76c6d163
da052c0bbf811dc4c29a83d1b1bffffd41becaab
/core/sg_update_taxcode/__manifest__.py
023ccc393334b7e8d2ceb2bde2b89125f66c2737
[]
no_license
Muhammad-SF/Test
ef76a45ad28ac8054a4844f5b3826040a222fb6e
46e15330b5d642053da61754247f3fbf9d02717e
refs/heads/main
2023-03-13T10:03:50.146152
2021-03-07T20:28:36
2021-03-07T20:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
{ "name": "SG Tax Update", "version": "1.1.1", "depends": ['account'], "author" :"MPTechnolabs(Chankya)", "website" : "http://www.serpentcs.com", "category": "Accounting and Financial Management", "description": """ It will add some Singapore default Taxes for Sales and Purchase. ===========...
[ "jbalu2801@gmail.com" ]
jbalu2801@gmail.com
16e5e62ad99b2ca24f2c0903c0f54ac800dbc519
5142e81b50d15202ff79a34c9b888f18d2baec27
/plotnine/geoms/geom_polygon.py
3f792d36c5eb28b5b5766db68616763254679505
[ "MIT" ]
permissive
has2k1/plotnine
03c0e979b6b05b5e92cb869cca903cfce20988dc
ef5650c4aabb29dcfe810043fb0fc8a4ea83f14b
refs/heads/main
2023-08-30T22:17:07.835055
2023-08-08T07:57:53
2023-08-08T07:57:53
89,276,692
3,719
233
MIT
2023-08-08T13:09:24
2017-04-24T19:00:44
Python
UTF-8
Python
false
false
3,930
py
from __future__ import annotations import typing import numpy as np from ..doctools import document from ..utils import SIZE_FACTOR, to_rgba from .geom import geom if typing.TYPE_CHECKING: from typing import Any import pandas as pd from plotnine.iapi import panel_view from plotnine.typing import A...
[ "has2k1@gmail.com" ]
has2k1@gmail.com
87fdd739df1b7fb5761a475d96ca9d5090f05545
f81099738d3ab7d4a4773a04ed9e36e493632590
/tools/__init__.py
25656f148c2d467f8c89a6f10feea6f9a961d8f5
[ "MIT" ]
permissive
kristoffer-paulsson/angelos
eff35753e4d7e4465d2aadac39265f206b09fcf9
d789f47766fe3a63a6752b92e4ea955f420dbaf9
refs/heads/master
2022-05-05T15:16:59.340527
2022-03-27T16:05:51
2022-03-27T16:05:51
142,691,235
9
0
null
null
null
null
UTF-8
Python
false
false
511
py
# # Copyright (c) 2021 by Kristoffer Paulsson <kristoffer.paulsson@talenten.se>. # # This software is available under the terms of the MIT license. Parts are licensed under # different terms if stated. The legal terms are attached to the LICENSE file and are # made available on: # # https://opensource.org/licenses/...
[ "kristoffer.paulsson@talenten.se" ]
kristoffer.paulsson@talenten.se
f430a0b423f886e43adc90f779d2941422feaf60
6f99c51a186227a127ce8ca2cf3231b15519b70c
/apps/users/__init__.py
1646949ec2996b661435d74a3f67fcba7fb2d7e4
[]
no_license
nicolefengs/mxonline
ce0a9748e64b7ecead53bc3c2aefea6269a0a4f9
67452439b7e073afaf25621d00085e2de05ffad9
refs/heads/master
2020-03-14T22:40:41.053409
2018-05-02T09:12:15
2018-05-02T09:12:15
131,824,759
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
#coding=utf-8 #配置后台中文 default_app_config="users.apps.UsersConfig"
[ "you@example.com" ]
you@example.com
827109911306284e65d62529b7a0acc378edb770
43dbf438287d1ea426d1cc0e201d4a56bfd20e21
/ABC/084/C.py
cef2926d97def3d85bbeacf0da42b1556a9743e9
[]
no_license
hatopoppoK3/AtCoder-Practice
c98e5b0377c46b440a79dcc0bd1790b508555672
c7385b0444baf18b7a7dc8e3003cc2074bc9b4ab
refs/heads/master
2023-02-23T03:45:45.787964
2023-02-07T12:59:51
2023-02-07T12:59:51
184,423,486
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
N = int(input()) CSF = [] for i in range(0, N-1): CSF.append(list(map(int, input().split()))) for i in range(0, N): ans = 0 for j in range(i, N-1): ans = max(CSF[j][1], ans) if ans % CSF[j][2] != 0: ans += (CSF[j][2]-ans % CSF[j][2]) ans += CSF[j][0] print(ans)
[ "hatopoppo0320@gmail.com" ]
hatopoppo0320@gmail.com
213890a8d69a2c805267746ad519c8098d213948
4e8a55ff85a2aa26fbbf05bc9350028226dfde37
/DProject/Manager/LoginManager.py
2c0f7a5f5aa87f813dbd2c29683edac4b8132d44
[]
no_license
DWaze/DisabledProject
dbb572fa47063011abc4f13e95c9e44ab24a5c55
6c16269c7722503226ba500d0216dc373ffad867
refs/heads/master
2020-03-17T09:02:28.913809
2018-06-22T10:07:55
2018-06-22T10:07:55
133,458,886
1
0
null
null
null
null
UTF-8
Python
false
false
3,159
py
from DProject.Manager.MainManager import createSession from DProject.DAO.AccountDAO import AccountDAO from DProject.DAO.UserDAO import UserDAO import datetime import uuid from datetime import timedelta from DProject.Models.Empty import Empty from DProject.Models.Account import Account from DProject.Models.User import U...
[ "wazeproo@gmail.com" ]
wazeproo@gmail.com
2fda900f5cc51238ea3c6228d0468d9999170f77
088e000eb5f16e6d0d56c19833b37de4e67d1097
/model-optimizer/extensions/back/ReduceToPooling_test.py
8861dab03c1313e4cf085504177fe531882a1b14
[ "Apache-2.0" ]
permissive
projectceladon/dldt
614ba719a428cbb46d64ab8d1e845ac25e85a53e
ba6e22b1b5ee4cbefcc30e8d9493cddb0bb3dfdf
refs/heads/2019
2022-11-24T10:22:34.693033
2019-08-09T16:02:42
2019-08-09T16:02:42
204,383,002
1
1
Apache-2.0
2022-11-22T04:06:09
2019-08-26T02:48:52
C++
UTF-8
Python
false
false
24,146
py
""" Copyright (c) 2018-2019 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
[ "44090433+openvino-pushbot@users.noreply.github.com" ]
44090433+openvino-pushbot@users.noreply.github.com
d427c13fa9959a66bb1f5351a06da9b53d663630
5f64d91dc45e58c8e73a52985c6db45d340d09cc
/Pibow_Zero_1.2/moving_vertical_rainbow_2.py
940cbb7a0b456992dae98966351278b6229504f9
[]
no_license
Breakfast-for-Pigeons/Unicorn-PHAT
e0343eb9a46c4b7be11d5028be07ea6b0f071efd
6e70302eac995cd11821ecf2ee363a1b926df2ce
refs/heads/master
2023-01-01T18:05:27.436081
2020-10-23T22:18:13
2020-10-23T22:18:13
74,320,010
5
2
null
null
null
null
UTF-8
Python
false
false
1,859
py
#!/usr/bin/python3 """ Moving Vertical Rainbow 2 - Pibow Zero 1.2 Retrieves the rainbows and sends them to the move function. With the GPIO pins at the top of the Raspberry Pi, the rainbows move from the bottom to the top. .................... Functions: - moving_vertical_rainbow_2: Retrieves the rainbows and sends ...
[ "noreply@github.com" ]
Breakfast-for-Pigeons.noreply@github.com
8e835c33a5fb8ddde4f544c04d02d8452b9410d3
5f1dee64fd88bd2237ef95ee894a37d8ddcdeb4e
/python/tools/slice_data.py
56c0634900cb623ac83454b120888c0a466b13cb
[]
no_license
constantinpape/stuff_master
c893ae0c763801210db06bad548784c4b20d6680
68d80bd45a140cb0d30abf32a04365ca37c9694c
refs/heads/master
2021-01-22T09:50:38.795259
2017-03-07T18:25:45
2017-03-07T18:25:45
33,936,452
1
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
import sys , h5py import vigra import numpy as np if __name__ == '__main__': #path_in = "/home/constantin/Work/data_ssd/data_090515/2x2x2nm/data_sub.h5" #path_out = "/home/constantin/Work/data_ssd/data_090515/2x2x2nm/data_sub_sliced.h5" #key = "data" #path_in = "/home/constantin/Work/data_ssd/data_090...
[ "constantin.pape@iwr.uni-heidelberg.de" ]
constantin.pape@iwr.uni-heidelberg.de
c163125bb4a4bc3c9b37983dcb3043063551b6de
3e534ac0d2053e72e8d6b67f96b42cf56464b5fd
/setup.py
3f133a6855b66b3d43c23bc909e5b20a81fb79f4
[]
no_license
marcoceppi/dorthy
466b89574a940991ca86be752b36c876964df699
781bd2b60fa8551671cdb2fd681012dad7e24490
refs/heads/master
2020-05-05T06:43:58.330792
2014-05-17T03:20:33
2014-05-17T03:20:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from setuptools import setup install_requires = [ 'tornado', 'PyYAML' ] setup( name='dorthy', version='0.0.1', description='A more express.js like framework built on top of Tornado', install_requires=install_requires, author='Marco Ceppi', author_email='marco@ceppi.net', url="https...
[ "marco@ceppi.net" ]
marco@ceppi.net
8f48b70fe931ef6ad194e43e39d05d0c1d2b58b9
ff70ce8c57354ca54d193913ecb9d95555ac77fb
/app.py
98097584f6c13838834d03556e5f3bf2aaf2dc0b
[]
no_license
hopetambala/SI507_F18_HW12_Flask_Guestbook
b1a3bf34dbcfa92b5fcd6f98e779ac9948a76148
cc05f5c3648604726e61a5c27f51042f9447d4fa
refs/heads/master
2020-04-09T21:10:38.823927
2018-12-06T01:27:10
2018-12-06T01:27:10
160,594,088
1
0
null
null
null
null
UTF-8
Python
false
false
863
py
from flask import Flask, render_template, request, redirect import model app = Flask(__name__) @app.route("/") def index(): ## print the guestbook return render_template("index.html", entries=model.get_entries()) @app.route("/add") def addentry(): ## add a guestbook entry return render_template("adde...
[ "hopetambala@outlook.com" ]
hopetambala@outlook.com
c009c177e08c531d50eccbce517bd0d11cc63325
3f4464c932403615c1fbbaf82eaec096426b1ef5
/StartOutPy4/CH8 Strings/count_Ts.py
c423d22ade2f77b8b3be5beced086e81104c62ed
[]
no_license
arcstarusa/prime
99af6e3fed275982bf11ada7bf1297294d527e91
5f1102aa7b6eaba18f97eb388525d48ab4cac563
refs/heads/master
2020-03-22T14:07:08.079963
2019-05-09T11:45:21
2019-05-09T11:45:21
140,154,408
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
# This program counts the number of times # the letter T (uppercase or lowercase) # appear in a string. def main(): # Create a variable to use to hold the count. # The variable must start with 0. count = 0 # Get a string from the user. my_string = input('Enter a sentence: ') # Count the Ts. ...
[ "40938410+edwardigarashi@users.noreply.github.com" ]
40938410+edwardigarashi@users.noreply.github.com
a6773e605bf4c54aaed2d80bf7035835a7dc232a
2c95e0f7bb3f977306f479d5c99601ab1d5c61f2
/olive/cmds/configure.py
defbdae6415842945c53e5dddcbf1a609cc704ab
[ "Apache-2.0" ]
permissive
Olive-blockchain/Olive-blockchain-CLI
d62444f8456467f8105531178d2ae53d6e92087d
8c4a9a382d68fc1d71c5b6c1da858922a8bb8808
refs/heads/main
2023-07-19T03:51:08.700834
2021-09-19T16:05:10
2021-09-19T16:05:10
406,045,499
0
0
Apache-2.0
2021-09-19T16:05:10
2021-09-13T16:20:38
Python
UTF-8
Python
false
false
8,679
py
from pathlib import Path from typing import Dict import click from olive.util.config import load_config, save_config, str2bool from olive.util.default_root import DEFAULT_ROOT_PATH def configure( root_path: Path, set_farmer_peer: str, set_node_introducer: str, set_fullnode_port: str, set_harvest...
[ "87711356+Olive-blockchain@users.noreply.github.com" ]
87711356+Olive-blockchain@users.noreply.github.com
642f4caad9f1b442926282ebde6954db9bfee7cc
4c75f5ace0257e17879d8889ae3769a13e70b159
/note14/code/merge_model.py
fac5e74e272d21eededbe39308d15abe8b115a0f
[ "Apache-2.0" ]
permissive
songkunhuang/LearnPaddle
c8acb5de1bbf8cab0fd919f6b11ca81d3c2a3110
c4500904615149115535b66a67d3e5d06f8435c4
refs/heads/master
2020-03-26T05:56:32.817406
2018-07-24T14:50:21
2018-07-24T14:50:21
144,581,839
1
0
Apache-2.0
2018-08-13T13:13:37
2018-08-13T13:13:36
null
UTF-8
Python
false
false
448
py
# coding=utf-8 from paddle.utils.merge_model import merge_v2_model # 导入神经网络 from mobilenet import mobile_net from vgg import vgg_bn_drop if __name__ == "__main__": # 图像的大小 img_size = 3 * 32 * 32 # 总分类数 class_dim = 10 net = mobile_net(img_size, class_dim) param_file = '../model/mobile_net.tar.g...
[ "yeyupiaoling@foxmail.com" ]
yeyupiaoling@foxmail.com
696028a039265f5b442871828b0233dd58aa0c12
a96af1535c19244640b9d137ede80f61569d6823
/tests/test_legacy/test_strat_model_legacy/test_strat_setup_legacy.py
cfb5d2a20721b12c9b25f42d88383736729e0859
[ "BSD-2-Clause-Views" ]
permissive
emmamcbryde/summer-1
260d2c2c0085b5181f592b3bd8a186902f923135
3ea377b3352c82edaed95ea1e5683b9a130fe9e6
refs/heads/master
2023-04-23T20:06:52.800992
2021-04-29T05:29:29
2021-04-29T05:29:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,441
py
""" Test setup of the stratified model """ import numpy as np import pytest from numpy.testing import assert_array_equal from summer.legacy.constants import BirthApproach, Compartment, Flow, IntegrationType from summer.legacy.model import StratifiedModel @pytest.mark.skip def test_stratify_flows_partial(): """En...
[ "mattdsegal@gmail.com" ]
mattdsegal@gmail.com
71fdad854f57ec04453d5c7adb2360b1f8c20fbb
153da69b35f032f5b83a06f17008ba41a1b336b4
/src/app/vault/src/main/entity/__init__.py
270705fcf68ccca631f0df8206ad7e2b306c43e7
[ "MIT" ]
permissive
TrendingTechnology/hspylib
6400cadf9dfe6ab5733712dcfeccf8022d61c589
c79a2c17e89fe21d00ccd9c1646a03407cd61839
refs/heads/master
2023-06-20T15:47:35.962661
2021-07-19T22:12:18
2021-07-19T23:45:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
# _*_ coding: utf-8 _*_ # # HSPyLib v0.11.1 # # Package: app.vault.src.main.entity """Package initialization.""" __all__ = [ 'validator', 'vault_entry' ]
[ "yorevs@gmail.com" ]
yorevs@gmail.com
bd805a463c372e859e12a602bef4b4003685b198
95310128d287ed510b354216efffb2bbb03cdbb4
/subsetsum.py
229656a8f91d2647f3d3b986035037fa63923290
[]
no_license
babiswas2020/python-practise
a35fd2378fbd0213168b811303f70c52fabb31ef
06a4525d5ad2037cf3064f497a7a08dafae13f9c
refs/heads/master
2022-11-10T23:58:05.672114
2020-06-20T09:08:18
2020-06-20T09:08:18
273,674,554
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
def subsetsum(arr,sum,N): if N==0 and sum!=0: return False elif N==0 and sum==0: return True if N-1>=0: if arr[N-1]<=sum: return subsetsum(arr,sum-arr[N-1],N-1) or subsetsum(arr,sum,N-1) elif arr[N-1]>sum: return subsetsum(arr,sum,N-1) if __name__=="__main_...
[ "36biswas0814@gmail.com" ]
36biswas0814@gmail.com
67069710247e7000932a7a6a8e171dd88d51b76d
b500996a0b29829fde6afe8b23178ca9df4a239d
/rydinfap/src/apps/fbaptestpar.py
a88c136c37fa263588f63980ab645485c9e77942
[]
no_license
eocampo2000/test-code
48c4d444e323eef5e6fe7e61b018952ef3cd4134
49328664243e1a9daf9c567d1aaaa19fd4654c02
refs/heads/master
2016-08-11T07:35:31.346464
2016-02-13T12:33:55
2016-02-13T12:33:55
51,642,188
0
0
null
null
null
null
UTF-8
Python
false
false
2,801
py
''' Created on Jan 30, 2014 @author: eocampo To schedule FBAP for parallel testing. ''' __version__ = '20140130' import sys import procdata.procinfa as pi from apps.infbaseapp import _InfaBaseApp # Mandatory to define self.cmdStep class FBAPTestPar(_InfaBaseApp): exitOnError = ...
[ "eocampo1000@hotmail.com" ]
eocampo1000@hotmail.com
e28751ed914f028052ec7108aba16f1762e09330
97eaaa88e0094cfbb40d38937e49b013468b6dce
/proyecto/Scripts/MiProyecto/tracks/admin.py
9a620507ef545d15cc00a87bf617aaae634fa816
[]
no_license
didiacosta/Backend
cd652bdd1a7ec971157a539cb066efe50b024670
c3bc7053cb579244ad7c9b0c9690d983381f9b15
refs/heads/master
2022-11-09T21:23:43.053107
2016-04-06T15:44:48
2016-04-06T15:44:48
55,620,174
0
1
null
2022-10-19T14:56:09
2016-04-06T15:58:32
Python
UTF-8
Python
false
false
117
py
from django.contrib import admin # Register your models here. from .models import Track admin.site.register(Track)
[ "didi_acosta@hotmail.com" ]
didi_acosta@hotmail.com
8a66e6dfc999127f04b86f88629b3443a4a2f5ab
a4435e31cdfbe68aebfdb241bb82ed33dd4f5a30
/chapter13/Multiinherit.py
8fc30d31404fbb978886b4165250b8dcd66189f6
[]
no_license
vonzhou/Core-Python-Programming
804ce8ade8ca1af6b2b2effb0b78ec30a124314d
749d4dff8d2158c8be706bca1a82a283150c629a
refs/heads/master
2021-01-10T01:29:23.918561
2015-10-20T09:38:19
2015-10-20T09:38:19
44,003,197
2
0
null
null
null
null
UTF-8
Python
false
false
336
py
#P360 class P1: def foo(self): print "calling P1-foo()...." class P2: def foo(self): print "calling P2-foo()..." def bar(self): print "calling P2-bar()..." class C1(P1,P2): pass class C2(P1,P2): def bar(self): print "calling C2-bar()...." class GC(C1,C2): pass g1 = GC() g1.foo() print "------------...
[ "vonzhou@163.com" ]
vonzhou@163.com
51f0076c78fa9f6ff59c75ea2c3f76af8166726a
b37b1e809a055bfbab1c7a017e1ae5b572555827
/carmesi/users/migrations/0003_user_modified_by.py
89898ae4683ff811967fd82c0cee18acd51131f8
[ "MIT" ]
permissive
raultr/CarmesiAnt
828285ee389d1ed76c53a6cf504eb4ca2567cfe3
4ce143482001e015584943a5ed6f93adfb3dd520
refs/heads/master
2021-10-18T05:38:06.578438
2019-02-14T05:03:19
2019-02-14T05:03:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
# Generated by Django 2.1.1 on 2019-02-10 03:10 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('users', '0002_user_created_by'), ] operations = [ migrations.AddField( ...
[ "raultr@gmail.com" ]
raultr@gmail.com
e2fb6eeb73d6f91f850faec33aa1c97db748d904
32cf9c3099c36a46804e393dd1491a8954f50263
/2019.01.28 - 문자열, 패턴매칭 알고리즘/GNS.py
4d0b1294c67827e9b64dfe1799200bcc304b39c4
[]
no_license
ash92kr/s_code
ce3bda6a403600892750e181dca5ed8c4caebcb1
92eace551d132b91ee91db6c0afd38b93f9b647b
refs/heads/master
2020-04-12T00:27:07.043091
2019-05-21T08:17:39
2019-05-21T08:17:39
162,200,447
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
import sys sys.stdin = open("GNS_test_input.txt") T = int(input()) for testcase in range(T): temp = input() # #1 7041을 dummy로 처리(len 함수 이용) data = list(map(str, input().split())) num = ['ZRO', 'ONE', 'TWO', 'THR', 'FOR', 'FIV', 'SIX', 'SVN', 'EGT', 'NIN'] repeat = [] for i in range(len(num)): ...
[ "ash92kr@gmail.com" ]
ash92kr@gmail.com
71edda26f88591b56d8e37183583de483d196be6
1e4c14ae893dc15e612224287f908396fca40cbc
/src/utils/img_utils.py
fe4a357382b0879be931797a117cbbfcc6efbc1f
[]
no_license
yezhengkai/ground-based-cloud
2958bf5ed6adfa04fe903ffba8122e9f98ad19bb
619730b668f695f1066253a4ff39be282484201a
refs/heads/master
2023-02-26T23:52:06.988713
2021-01-30T13:39:52
2021-01-30T13:39:52
316,887,420
1
0
null
null
null
null
UTF-8
Python
false
false
436
py
import matplotlib.pyplot as plt import numpy as np from PIL import Image def get_img_shape(img_path, channel="last"): """ References ---------- https://stackoverflow.com/questions/52962969/number-of-channels-in-pil-pillow-image """ img = Image.open(img_path) if channel == "last": r...
[ "supon3060@gmail.com" ]
supon3060@gmail.com
45ef835da94d1a72a2d9226888229051b094d822
74fbdb84b7accafd534704faca4532651296a8ea
/shortlink/settings.py
3a4321555c654ffeeb9873582f69e726c32d17a5
[]
no_license
danielmichaels/shortlink
cffd81be68ea737561eb553f04c670e9021c3fe4
22ad8f5ea01923e4702e2230e5d167eca145da7a
refs/heads/master
2022-11-30T15:37:21.423663
2020-08-17T02:12:40
2020-08-17T02:12:40
288,063,157
0
0
null
null
null
null
UTF-8
Python
false
false
3,097
py
""" Django settings for shortlink project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "dans.address@outlook.com" ]
dans.address@outlook.com
9ff4c53986ac39154a15d0186f7c061db359ce51
01b745e6f45960d0aca3e4612ce810a7f40227a8
/pyslet/http/client.py
9c5f7391391050fe7ca2cc63d4caf28d5c7706f9
[ "BSD-3-Clause" ]
permissive
stevehof/pyslet
fbad07998642e2297420e4ac211c5f1ca4d7307d
f27d55bc6ecd3b9ee0037f11aa1104fe0ad0dbfd
refs/heads/master
2021-01-15T18:26:31.667495
2016-01-22T10:34:11
2016-01-22T10:56:59
50,014,377
0
0
null
2016-01-20T08:00:02
2016-01-20T08:00:00
Python
UTF-8
Python
false
false
88,849
py
#! /usr/bin/env python import logging import string import time import socket import ssl import select import types import threading import io import errno import os import random try: import OpenSSL from OpenSSL import SSL, crypto except ImportError: OpenSSL = None import pyslet.info as info import pysl...
[ "steve.w.lay@gmail.com" ]
steve.w.lay@gmail.com
ccb02a3fa1531b24900ff7930c73705f40159f31
ff8f55e26d4b9742e7c9766435898411f45254dd
/Dynamic_Programming/01_Paint_Fence.py
3ac2cb20da29448a36cb75038deda92288fdaa7f
[]
no_license
saranyab9064/leetcode-geeks
38ded6532ed91d4893a8ccee2147faf02e820554
ca6ffffcb775c4caacc4dc907b9912b40a48a343
refs/heads/master
2021-06-27T22:27:53.591871
2021-03-10T01:49:55
2021-03-10T01:49:55
217,812,738
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
# ============================================================================ # Name : 01_Paint_Fence.py # Author : Saranya Balakrishnan # Mail Id : saranyab0925@gmail.com # ========================================================================== """ There is a fence with n posts, each post can be p...
[ "noreply@github.com" ]
saranyab9064.noreply@github.com