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
26ab7c6b98b83caee671d126dcb8ff34aef15ab4
ee90d2c36f45cb77d101d1e29eae10877f9de273
/gwftool/tool_io.py
6a4e8e45e0b2e4eb9c05fd9cd4d5c9a982804e06
[]
no_license
buchanae/gwftool
b1bd7b096b26aff5217d46e06bc5e44480b58d98
a3cdcb5303b5bfa376f65029810aeb9dca08c158
refs/heads/master
2021-01-25T11:02:36.066813
2016-09-12T06:59:51
2016-09-12T06:59:51
93,907,031
1
0
null
2017-06-10T00:49:58
2017-06-10T00:49:58
null
UTF-8
Python
false
false
7,459
py
import re import os from glob import glob from xml.dom.minidom import parse as parseXML from Cheetah.Template import Template from Cheetah.Filters import Filter """ Code for dealing with XML """ def getText(nodelist): rc = [] if isinstance(nodelist, list): for node in nodelist: if node.nod...
[ "kellrott@gmail.com" ]
kellrott@gmail.com
fbc22f6771533431e94df754cb070b1bc9198850
d2eb7bd335175edd844a3e6c1c633ee0dc2dbb25
/contests_atcoder/abc179/abc179_d.py
c4a3d553c1432fad3bc2cf1b32f51d8cd1a7fb39
[ "BSD-2-Clause" ]
permissive
stdiorion/competitive-programming
5020a12b85f1e691ceb0cacd021606a9dc58b72c
e7cf8ef923ccefad39a1727ca94c610d650fcb76
refs/heads/main
2023-03-27T01:13:42.691586
2021-03-08T08:05:53
2021-03-08T08:05:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
from itertools import accumulate,chain,combinations,groupby,permutations,product from collections import deque,Counter from bisect import bisect_left,bisect_right from math import gcd,sqrt,sin,cos,tan,degrees,radians from fractions import Fraction from decimal import Decimal import sys input = lambda: sys.stdin.readlin...
[ "itkn1900@gmail.com" ]
itkn1900@gmail.com
520a6a1a45f4662fdc8a0e72015299c0fdd13894
ebae416013607b045b505dbb0b5598c9e732dcf4
/Zajęcia 4.py
e6fc0ab19129b07ee5c18e75cafb591882fcea34
[]
no_license
Ernest93/Ernest93
08bbadc067e9ef277bad5f0922ca89a8ae298fb8
7570ccf18631c5e88bd38c0498d7c9348e81dd7b
refs/heads/master
2020-04-06T15:24:56.128434
2018-12-10T16:21:06
2018-12-10T16:21:06
157,577,667
0
0
null
null
null
null
UTF-8
Python
false
false
3,608
py
print('{:-^80}'.format('PĘTLE FOR')) #petla po obiekcie range liczby = range(0, 11) for liczba in liczby: print(liczba) #3 werianty iteracji po stringu #wariant 1 - zamieniamy string na listę i iterujemy listę napis = "Ala ma kota" lista_z_napisu = list(napis) for znak in lista_z_napisu: print(znak) #warian...
[ "you@example.com" ]
you@example.com
1ec4f23e44b2fff1f0637b70c34d377bd191a131
268cfc4a52f7e6ad52f7a829cddcf5e80232c66c
/mini_catkin_ws/build/geometry2/tf2_msgs/catkin_generated/pkg.installspace.context.pc.py
9f9e7fc458f263790ca1566df8263495b84c7696
[]
no_license
1065712938/MyCode
36b50a2cb8522465bd0f1e891ef26dadc4bc5432
fe77dd0712f3e726602e57bb76e4b8d6b4f9f34b
refs/heads/master
2022-02-11T22:02:54.980159
2019-05-08T02:57:55
2019-05-08T02:57:55
173,691,835
1
0
null
null
null
null
UTF-8
Python
false
false
507
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/crazy/mini_catkin_ws/install/include".split(';') if "/home/crazy/mini_catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_generation;geometry_msgs;actionlib_msgs".replace('...
[ "you@example.com" ]
you@example.com
d9fd3b312fd129bfe310094e3b79ddb292a261df
131cf803a1f7b9638ab0a604d61ab2de22906014
/dimensigon/domain/exceptions.py
aac14bdd39939d212e6a4fb15a757f630570f7e4
[ "Apache-2.0" ]
permissive
dimensigon/dimensigon
757be1e61e57f7ce0a610a9531317761393eaad0
079d7c91a66e10f13510d89844fbadb27e005b40
refs/heads/master
2023-03-09T06:50:55.994738
2021-02-21T11:45:01
2021-02-21T11:45:01
209,486,736
2
0
Apache-2.0
2021-02-26T02:59:18
2019-09-19T07:11:35
Python
UTF-8
Python
false
false
1,780
py
""" Exceptions for Domain Errors IDs from 100 to 999 """ class DomainException(Exception): """ Base Class exception """ _id = 100 class InjectionError(DomainException): """ Exception raised when trying to add an id to Step that already exists """ _id = 102 class CycleError(DomainEx...
[ "joan.prat@knowtrade.eu" ]
joan.prat@knowtrade.eu
d8c9a1195914abb934243f8b8b1463e5578a4e69
e1c062c11b61b6622f8b784455603c770d5b2002
/mining_ngram.py
7228eac5e58a6e95dd2523d2447d2fb6b7326f99
[]
no_license
yyht/frequent_pattern_mining
734f8a68699fc1d2542497c46fb5bddf7ef630b7
c2af84011211a53dd66f72864c591fb12c134172
refs/heads/master
2020-04-12T07:44:00.469560
2018-12-25T02:07:37
2018-12-25T02:07:37
162,368,773
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
import data_processor import numpy as np import tensorflow as tf flags = tf.flags FLAGS = flags.FLAGS ## Required parameters flags.DEFINE_string( "train_file", None, "Input TF example files (can be a glob or comma separated).") flags.DEFINE_string( "stop_word_file", None, "Input TF example files (can be a glob...
[ "albert.xht@alibaba-inc.com" ]
albert.xht@alibaba-inc.com
6c4a1d488f5d6cce1de22b6c92f7bce2c2775674
1393b088958301a6c2f6766df2864c61365e9d4b
/orchestrator/plugins/venus_muscate/maja_venus_muscate_factory_register.py
6aba3d25e232df96779543413f90f34114cba79a
[ "Apache-2.0" ]
permissive
alexgoussev/maja_gitlab
f6727468cb70e210d3c09453de22fee58ed9d656
9688780f8dd8244e60603e1f11385e1fadc90cb4
refs/heads/develop
2023-02-24T05:37:38.769452
2021-01-21T16:47:54
2021-01-21T16:47:54
332,269,078
0
0
Apache-2.0
2021-01-23T18:17:25
2021-01-23T17:33:18
C++
UTF-8
Python
false
false
2,820
py
# -*- coding: utf-8 -*- # # Copyright (C) 2020 Centre National d'Etudes Spatiales (CNES) # # 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 # # ...
[ "julie.brossard@c-s.fr" ]
julie.brossard@c-s.fr
f2fe55c30889910bb731091e69bdda54631133e9
e68a9de29d01307047b1c8f0fce63ed8e2cb310a
/testsuite/min-reg/run.py
e58d88df8a744fa079c5a258d541783106055cd3
[ "BSD-3-Clause", "CC-BY-4.0" ]
permissive
AcademySoftwareFoundation/OpenShadingLanguage
93ca2c8a4ce74313dca6a45cfeb4625fb8a1624f
473bbfcdbd8fa8799bf7fb61f70b1dcded0ea963
refs/heads/main
2023-08-31T01:54:14.617073
2023-08-26T21:23:49
2023-08-26T21:23:49
1,461,954
598
102
BSD-3-Clause
2023-09-14T18:08:40
2011-03-10T02:44:05
C++
UTF-8
Python
false
false
2,419
py
#!/usr/bin/env python # Copyright Contributors to the Open Shading Language project. # SPDX-License-Identifier: BSD-3-Clause # https://github.com/AcademySoftwareFoundation/OpenShadingLanguage # min(float,float) includes masking command += testshade("-t 1 -g 64 64 -od uint8 -o Cout out_min_u_float_u_float.tif test_min...
[ "noreply@github.com" ]
AcademySoftwareFoundation.noreply@github.com
bc7d88b9ec92ef517c7822df2f2d2dffbbc1252c
dbb32a7d5b96a94533b27a6ccf2474c660a863b7
/containers/taskExecutor/sources/utils/taskExecutor/tasks/gameOfLife38.py
e96935a28990c8923fad7ffdf2fa845d6ef8fdf8
[]
no_license
ankurhcu/FogBus2
772e8346c5e01e2aa8a02da9ef91fd696dd587a7
2cefabdd1d131fc8e9015ca31d414665e6014a69
refs/heads/main
2023-08-07T15:33:54.039724
2021-09-21T05:02:49
2021-09-21T05:02:49
410,610,212
1
0
null
2021-09-26T16:57:23
2021-09-26T16:57:22
null
UTF-8
Python
false
false
197
py
from .gameOfLife import GameOfLife class GameOfLife38(GameOfLife): def __init__(self): super().__init__( 80, 'GameOfLife38', ((30, 28), (32, 30)))
[ "plocircle@live.com" ]
plocircle@live.com
3a8d602987be2ad1625784183deca28e72d732ee
c4e729edfb9b056b9aa111a31eebefe41f39ac46
/cloudapi/missions/tasks/task.py
91df87d5023f864feaec591d857ca1c54795f851
[]
no_license
sun3shines/web
870a558538278ecb4a39e5d9cab4ba2ebb626ca3
9e6f83e6e793f86ecdf7202daae3903cc052f266
refs/heads/master
2021-01-18T23:49:48.722245
2016-07-02T10:25:24
2016-07-02T10:25:24
54,888,971
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# -*- coding: utf-8 -*- class Task: def __init__(self): self.response = '' def getUrl(self): return '' def getBody(self): return '' def getMethod(self): return 'POST' def getParams(self): return ...
[ "sun__shines@163.com" ]
sun__shines@163.com
3b0ad2988b6d7e06d2ba6b772fe2010c98c9a849
7773ea6f465ffecfd4f9821aad56ee1eab90d97a
/python/testData/quickFixes/PyTypeHintsQuickFixTest/callableTwoElements.py
1d147a93f59dd7587dd40743aed3c13805b4bd3a
[ "Apache-2.0" ]
permissive
aghasyedbilal/intellij-community
5fa14a8bb62a037c0d2764fb172e8109a3db471f
fa602b2874ea4eb59442f9937b952dcb55910b6e
refs/heads/master
2023-04-10T20:55:27.988445
2020-05-03T22:00:26
2020-05-03T22:26:23
261,074,802
2
0
Apache-2.0
2020-05-04T03:48:36
2020-05-04T03:48:35
null
UTF-8
Python
false
false
138
py
from typing import Callable e: Callable[<error descr="'Callable' must be used as 'Callable[[arg, ...], result]'">i<caret>nt</error>, str]
[ "Semyon.Proshev@jetbrains.com" ]
Semyon.Proshev@jetbrains.com
c2e761a06c3dba72d9acdafbaa950e0201b1f28a
9c13bffaf12c83b049375cf24e12183fcab3a2aa
/venv/bin/lambda-builders
2435426ff0af64fec2e79f37cfe761565b40a258
[]
no_license
brielino/SDCCTestAnsible
b702d48c934c8bde9638ceba3b27fabf9dd40071
857f66860de2ad889455789b60a162506d3125a1
refs/heads/master
2022-12-09T13:15:29.030558
2020-09-12T14:51:31
2020-09-12T14:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
#!/home/paolo/PycharmProjects/SDCC/venv/bin/python # -*- coding: utf-8 -*- import re import sys from aws_lambda_builders.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "melissaripaolo@gmail.com" ]
melissaripaolo@gmail.com
10e2b669c2d3d503a79ea95181780c57837c6251
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/googlecloudsdk/api_lib/cloudiot/registries.py
935a9222d3fab27b2c6a21a773e41bd36211ba79
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
7,387
py
# Copyright 2017 Google 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 required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
cbc4517dfd261c43287ac8afc77191cb726c026f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02595/s629865346.py
d0a82f085823894f709114df5b0bba8496dd8d7c
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
n,d = [int(x) for x in input().split()] x = [] y = [] for i in range(n): x1,y1 = [int(x) for x in input().split()] x.append(x1) y.append(y1) c = 0 for i in range(n): s = x[i] ** 2 + y[i] ** 2 if s <= d ** 2: c += 1 print(c)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
090ef3794a02f196cc6e3deac7fe25ae73fb8e35
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v4/googleads-py/google/ads/googleads/v4/services/types/campaign_draft_service.py
911604c7df782d85adb22497edc619b88cabaef1
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,184
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
ba529d3410772d0e27cb13219a10f07c17bf729d
22bea740c45a8bca47f97a1f2d69c401084a7fa5
/nakhll_market/migrations/0019_remove_shop_newimage.py
b453e6d8464cbfb90b998df27888184e52b65b18
[]
no_license
learnasgo/app
7c60c3556350a6dc00a1c5548b86d1c33d85a920
876c1af2e477b66282f11a7119c0f9c6ea47d70c
refs/heads/main
2023-01-24T06:01:03.300104
2020-11-21T15:00:51
2020-11-21T15:00:51
314,040,000
0
1
null
null
null
null
UTF-8
Python
false
false
346
py
# Generated by Django 2.2.6 on 2019-12-22 08:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('nakhll_market', '0018_shop_newimage'), ] operations = [ migrations.RemoveField( model_name='shop', name='NewIm...
[ "admin@example.com" ]
admin@example.com
666f4ee35ee54862e3256788841d2b30a3c34ae3
ef605b30b118dbb5902a360c2dc74634f8d8023a
/ve/Lib/site-packages/yapftests/split_penalty_test.py
7aa1b292cffbe651d22790c3e380cbebd5e9ba4f
[]
no_license
lugnitdgp/avskr2.0
691b82e529fba667ebf0885b52f0c58b5076f3cb
278e4f6f8ce4677e213150716704330d83debf9f
refs/heads/master
2022-12-06T03:10:38.743582
2018-10-29T13:14:38
2018-10-29T13:14:38
151,551,343
4
10
null
2022-11-22T13:59:07
2018-10-04T09:58:45
Python
UTF-8
Python
false
false
6,782
py
# Copyright 2015-2016 Google 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 required by applicable law...
[ "divyanshumehta@outlook.com" ]
divyanshumehta@outlook.com
336e13170cf653639064b57fd97ddb634ee1764a
68ba7371b9367d958bbf3830c9e837590bd06221
/contrib/spendfrom/setup.py
7dc3a7be80e95e1e145c6ff72d5f36cc77f0f2ca
[ "MIT" ]
permissive
mirzaei-ce/core-bbbit
62bdba541f8232ae0b80401d24d09cb560dcafea
52b1ba0bd0fc847ba324bd39faf64f4eb40bfb72
refs/heads/master
2021-08-15T22:41:31.320102
2017-11-18T13:20:05
2017-11-18T13:20:05
111,207,164
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
from distutils.core import setup setup(name='utbspendfrom', version='1.0', description='Command-line utility for bbbit "coin control"', author='Gavin Andresen', author_email='gavin@bbbitfoundation.org', requires=['jsonrpc'], scripts=['spendfrom.py'], )
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
d35c5e09415cbf831a90ef72d2548ebdd130460a
f9f0831d091ec83fc025b127ec7e734c740d20a6
/src/tests/base/test_cache.py
31f6c645f4d03cb0de4a3d26e66a78e59445958c
[ "Apache-2.0", "BSD-3-Clause", "MIT", "Python-2.0" ]
permissive
Unicorn-rzl/pretix
9cefeb076d2cbe890fc3ac5d3432d8af1b74ff7b
e2215d2baafebb12b06bd9eac0b2f4e3367bd535
refs/heads/master
2020-12-28T20:31:48.075415
2015-07-06T13:22:08
2015-07-06T13:25:10
38,899,060
0
0
null
2015-07-10T19:47:22
2015-07-10T19:47:21
null
UTF-8
Python
false
false
1,433
py
import random from django.test import TestCase from django.core.cache import cache as django_cache from django.utils.timezone import now from pretix.base.models import Event, Organizer class CacheTest(TestCase): """ This test case tests the invalidation of the event related cache. """ @classmeth...
[ "mail@raphaelmichel.de" ]
mail@raphaelmichel.de
95f248a8a25e61fb6c00ef5a26c261b66ba3cacb
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/34/usersdata/128/13073/submittedfiles/moedas.py
8a06e124cd3f97b816f07d0b1f7eb408225d9bbb
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
# -*- coding: utf-8 -*- from __future__ import division a=input('Digite o valor de uma moeda: ') b=input('Digite o valor de outra moeda: ') c=input('Digite o valor da cédula: ') aA=a bB=b a2=0 b2=0 contA=0 contB=0 while True: a2=a2+aA contA=contA+1 b2=b2+bB contB=contB+1 if (c-a2)%b==...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8848773f33f8a413e309df1aabbe7c43dafceef3
fe4beb7b294c36143c82801a854ffb3ec979ffcf
/easy/longest_common_prefix.py
3c768442be892b16f8fc3343988b7fc4a242fbc9
[]
no_license
Ajat98/LC-2021
f8242ce915f53242f90df094a44cdd775bd17326
03165fc0a909bafd504642540b05fe6479ea4728
refs/heads/main
2023-08-23T03:25:50.286801
2021-11-01T15:24:32
2021-11-01T15:24:32
408,863,816
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
""" Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Example 1: Input: strs = ["flower","flow","flight"] Output: "fl" Example 2: Input: strs = ["dog","racecar","car"] Output: "" Explanation: There is no common prefix among th...
[ "noreply@github.com" ]
Ajat98.noreply@github.com
2376c604a6ec40e6cf8058bcc4f1405cb94ab45b
a84538af8bf1f763a3d71d939744976425358b30
/test/functional/create_cache.py
c14bd517317f91598177a7198e9852e66ea65d1e
[ "MIT" ]
permissive
YourLocalDundee/foxdcoin
8de421b280a812e390249f14ed0b5892c546ebf1
9db505f6f32bd3e51bd2b2da533744c98cee23af
refs/heads/master
2023-05-14T05:10:26.435417
2021-06-09T06:18:50
2021-06-09T06:18:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
844
py
#!/usr/bin/env python3 # Copyright (c) 2016 The Bitcoin Core developers # Copyright (c) 2017-2019 The Raven Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Create a blockchain cache. Creating a cache of the bl...
[ "foxrtb@gmail.com" ]
foxrtb@gmail.com
be8d5929f7214e8ea106bd9ec55c7ece29c8049b
7177693e2e12f510bf1d3af38e091b749693a0ab
/machine_learning_in_action/ch14/svd_example.py
e6deec6d528bbf2fe8d1acbfdd7179c30494ba61
[]
no_license
fjl121029xx/MyPyspark
4725560861b27a10579ff0ad244684b195fee8bc
edeeb024cd168e111eeba6af5aca9d5674e7685c
refs/heads/master
2021-07-12T00:55:40.178353
2020-07-15T03:53:41
2020-07-15T03:53:41
159,476,636
2
0
null
null
null
null
UTF-8
Python
false
false
1,974
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'fjl' import pandas as pd import numpy as np import tensorflow as tf import matplotlib.pyplot as plt from numpy import * from numpy import linalg as la def sigmaPct(simgma, percentage): simgma2 = simgma ** 2 sumsgm2 = sum(simgma2) sumsgm3 = 0 ...
[ "sishengqikuo_xx@163.com" ]
sishengqikuo_xx@163.com
fb13af36a93679b7b9ce5aad34de5ea0072fa9b7
26c0f80688f75a188097a232c229a73c8e7cc6ed
/cereal/migrations/0030_auto_20210505_1946.py
ced8ab0e6c7da41a7784cb636685d31907afdf11
[]
no_license
creep1g/DjangoWebstore
8207d7ea53c478fb7e5745e1c6ae6699102b5df5
bd27340b86bf2289b8c14216462d932ccdf4986d
refs/heads/main
2023-05-06T09:50:04.846489
2021-05-28T14:40:40
2021-05-28T14:40:40
371,730,158
0
0
null
null
null
null
UTF-8
Python
false
false
1,526
py
# Generated by Django 3.2 on 2021-05-05 19:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cereal', '0029_auto_20210505_1838'), ] operations = [ migrations.CreateModel( name='CandyCategory', fields=[('CHAR', m...
[ "thorgilshjalmarsson@gmail.com" ]
thorgilshjalmarsson@gmail.com
6bb6442e27387f3708e9a4a57f75966e904824cc
f7b6178733d36d19ce0d9463e0a92882d3218996
/test_requests/testcases/test_yaml.py
8fc1adacbf9d6b0937c3b56befb76f7e3cf17d99
[]
no_license
ceshiren/HogwartsFIS01
c2cc2af6b932f85a6c6f58415a1e5afd82ee0144
1e5fff502d5edf9cd3271ce19927e890055c0ec2
refs/heads/master
2022-10-24T18:56:09.228952
2020-06-13T09:11:40
2020-06-13T09:11:40
267,007,869
0
1
null
null
null
null
UTF-8
Python
false
false
189
py
import yaml def test_yaml(): secret = {"contact": "T0TFrXmGYel167lnkzEydsjl6bcDDeXVmkUnEYugKIw", "agent": "xxxxx"} with open("config2.yml", "w") as f: yaml.dump(secret, f)
[ "xujuan418974188@163.com" ]
xujuan418974188@163.com
a584176273a02f73e646004be19860c2c6cd7279
7ed4274e8cbc58d5a3fc553766f5ea422dd35782
/python/Concatenation_of_Zig_Zag_String_in _n_Rows.py
fd7fd7d17a0706a63a8c8baf1094449fecafe762
[]
no_license
G-Gowtham/Programming
75bd789c97afedb3b035b712cf7db62b304059b7
05824b4cfcf62681e18521c857b8f359b4e18c58
refs/heads/master
2023-01-23T13:52:26.453816
2020-11-23T07:14:41
2020-11-23T07:14:41
277,239,521
1
0
null
null
null
null
UTF-8
Python
false
false
678
py
def fn(): s = input().strip() n = int(input().strip()) a = [""]*n count = 0 dir_up = 0 if(len(s) == 0): print('') elif(n==1): print(s) else: for i in range(len(s)): if(dir_up == 0): a[count]+=s[i] count +=...
[ "gowthamg.cs17@bitsathy.ac.in" ]
gowthamg.cs17@bitsathy.ac.in
7b71ff13c59a30475ec23e5dbc505ad6fec85b09
d410077e0422bc4ecbcf22da2e9b6726c0f59dba
/kgcn_torch/datasets/examples/multimodal_chembl.py
2bcd40bf9d0a49452fdae4a4b21ea63e735baeae
[]
no_license
clinfo/kGCN_torch
3eaf2a73dd7726bb58bce8ce63ba625344d4e34c
3e1845764e6ee6650826b2ea990df786d078ca2d
refs/heads/master
2021-02-05T04:28:09.922351
2020-11-20T05:09:15
2020-11-20T05:09:15
243,745,187
11
0
null
2020-11-13T01:34:15
2020-02-28T11:18:15
Python
UTF-8
Python
false
false
4,331
py
import torch import torch.nn.functional as F from torch_geometric.data import Data from torch_sparse import coalesce from rdkit import Chem from rdkit.Chem import rdmolops import pandas as pd from ..base_dataset import InMemoryRdkitDataset from ..utils import ( check_download_file_size, check_local_file_size,...
[ "kbu94982@gmail.com" ]
kbu94982@gmail.com
1b29a160a8943404218a6136448036d9c6a9b837
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/scrabble-score/fbbc6ac871ec43ada2456df21f30e1f6.py
50094ccb4a75be5f5dfd9f8bcf26387607f21d6e
[]
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
748
py
import string def clean_input( w ): wClean = '' for l in w: if l.lower() in string.ascii_lowercase: wClean += l.lower() return wClean def value( l ): if l in ['a','e','i','o','u','l','n','r','s','t']: return 1 elif l in ['d','g']: return 2 elif...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
29c38ef9018eef0e4608ea14e85e6edc3dd0a6fd
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/branches/repy_v2/seattlelib/testlibrepy/ut_librepy_lock.py
1a7334ba41f0dff0942d8474f5b7aeea9023d853
[ "MIT" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
526
py
#pragma repy restrictions.default dylink.repy librepy.repy """ This unit test checks the lock object. """ # Setup a timeout thread def timeout(): sleep(5) print "Timeout!" exitall() createthread(timeout) # Create the lock lock = Lock() # Acquire the lock gotit = lock.acquire() if not gotit: print "Should hav...
[ "USER@DOMAIN" ]
USER@DOMAIN
4d10c56709aabb33cc016ecd2d54a761ef658257
b94064c4aad38ddf1a94d28733bccfd61aa3068c
/PRA4/misc/gen.py
67333b00aade74ebbfeb6c3322ce5d5d97f3a06d
[]
no_license
Giantpizzahead/pro-club-problems
45b3738ec6682bf77815f0c1535a345fed031d9f
e2a2d618f3d781f32a9876eb9685f143f0b4706c
refs/heads/master
2023-07-01T19:24:42.768521
2021-08-09T12:06:50
2021-08-09T12:06:50
394,275,100
1
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
import random import string N = 100000 P = 1 M = 75000 is_imp_chance = 0.99 names = set() for i in range(N): while True: name = ''.join(random.choice(string.ascii_letters) for i in range(4)) if name not in names: names.add(name) break names = list(names) names = sorted(nam...
[ "43867185+Giantpizzahead@users.noreply.github.com" ]
43867185+Giantpizzahead@users.noreply.github.com
535834895b4ec160cbd5c36db69875ad1a7be458
90b813638e09d36261b60f603ecdc7629e523954
/tests/pytests/topology/TestFields.py
a541c20d0ada0945c41160b6edbc7b3c37b18c5d
[ "MIT" ]
permissive
gurnis/pylith
2ca434e78c772f3904aa5da6280429daef4f4f4d
cdb0cc13bbf870bb8c42e981ceadfe955a54b61f
refs/heads/main
2023-05-06T05:16:31.448792
2021-05-28T19:30:13
2021-05-28T19:30:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
#!/usr/bin/env nemesis # # ====================================================================== # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://g...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
0a26f68a0c9e9089091698f821d85efaf6608b5c
8cc30a27835e205a3476783106ca1605a6a85c48
/amy/workshops/migrations/0049_auto_20150916_0544.py
f7141ff71ab7ab9a6756e73b6c2e968a45ebb526
[ "MIT" ]
permissive
gaybro8777/amy
d968edc78bbd3f63f3353450334721628dbbc0f4
3cf99aed58a0f0acf83d2645a30d8408208ccea9
refs/heads/develop
2023-03-07T22:08:28.692700
2021-02-23T18:06:06
2021-02-23T18:06:06
341,930,505
0
0
MIT
2021-02-24T17:22:08
2021-02-24T14:40:43
null
UTF-8
Python
false
false
2,637
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('workshops', '0048_auto_20150916_0441'), ] operations = [ migrations.AlterField( model_name='person', ...
[ "piotr@banaszkiewicz.org" ]
piotr@banaszkiewicz.org
4d413b86650ce2378e3499eff1f05b81c71e5abc
7c79c8caee77d08aa05cdc59eb68e569abf54a7e
/ics 33/workspace/larc/src/lab_midterm_solutions.py
5e5b9e76f5bba7d557dccc03acebc2de97b34ec9
[]
no_license
solomc1/python
2e4715cc24e7b23d91c879fc95954f615a615982
119e388fb6f4ab42f581e48393919d4052a08ef6
refs/heads/master
2021-01-17T16:48:02.671810
2016-07-29T05:27:50
2016-07-29T05:27:50
64,452,881
0
0
null
null
null
null
UTF-8
Python
false
false
1,943
py
import prompt from goody import safe_open,irange from collections import defaultdict # Use dict or defaultdict def compute_prefixes(fq): return {fq[0:i] for i in irange(1,len(fq))} def read_queries(open_file): prefix_dict = defaultdict(set) query_dict = defaultdict(int) for l in ...
[ "solomc1@uci.edu" ]
solomc1@uci.edu
45fc9c663bde695171c367f2c72f3b9a60be55b2
bffcd3f7f4008ed5290960bfded36e3344455742
/eth/vm/forks/istanbul/blocks.py
d062dc662266447c1d15fb340911809c3126c28f
[ "MIT" ]
permissive
cd4761/ecc-py-evm
1527aa8445a9e2afd3bf5d251c12c0cdf66ffee3
299bb3aaff28f066413915b316c7f81c66e1259f
refs/heads/master
2020-06-18T00:43:41.456954
2019-12-19T02:46:54
2019-12-19T02:46:54
196,113,505
0
0
MIT
2019-07-23T06:51:24
2019-07-10T02:10:03
Python
UTF-8
Python
false
false
475
py
from rlp.sedes import ( CountableList, ) from eth.rlp.headers import ( BlockHeader, ) from eth.vm.forks.constantinople.blocks import ( ConstantinopleBlock, ) from .transactions import ( IstanbulTransaction, ) class IstanbulBlock(ConstantinopleBlock): transaction_class = IstanbulTransaction fi...
[ "fubuloubu@gmail.com" ]
fubuloubu@gmail.com
e9a256fac7a9f14612f062e9cac44e8978bd51d9
0fe394b10b39864915fcc4073a5fa050aa02502e
/SeriesOfMatplotlib/pie/pie.py
55043a1080bb3d99d641ccaac4b74d6db7a9004f
[]
no_license
JohnAssebe/Python
9997d47bba4a056fdcd74c6e5207fc52b002cbfd
b88a7c2472f245dc6a0e8900bbea490cb0e0beda
refs/heads/master
2022-05-14T10:08:37.311345
2022-05-09T19:48:53
2022-05-09T19:48:53
212,562,910
0
1
null
null
null
null
UTF-8
Python
false
false
540
py
from matplotlib import pyplot as plt # pie chart is best suited for data less than or equal to 5 plt.style.use('fivethirtyeight') data=[1,2,3,4,5] labels=['one','two','three','four','five'] explode=[0,0,0.1,0,0] plt.pie(data,labels=labels,shadow=True, startangle=180, #to rotate explode=explode, # used to set...
[ "noreply@github.com" ]
JohnAssebe.noreply@github.com
77311df3bdad31b0c4530d540a87189fc135fd36
1fddb12ae9b7db260b9161983a726f1528ece940
/Part_01/Cap_09/dog.py
e76f0551984107ff76add3491146e9f0a6c9a89a
[]
no_license
davicosta12/python_work
aecf642bbbf2a007fba159f305b4ab21ff00503f
5df62d3ced25b7e04cda71846fd07862dda39b4c
refs/heads/master
2023-04-23T09:49:31.923211
2021-04-27T00:31:42
2021-04-27T00:31:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
# Classes class Dog(): """Uma tentativa simples de modelar um cachoroo""" def __init__(self, name, age): # init é um método da classe """Inicializa os atributos name e age""" self.name = name self.age = age def sit(self): # sit() é um método criado pelo programador print(self.name.title() ...
[ "deadspace24@hotmail.com" ]
deadspace24@hotmail.com
12f9ce00a71628a253ecffb17243932a5e457b00
9d8bc94440f13cd6a514ad1be3d9139c342ce650
/app/__init__.py
01045a882fc597636f8ba8ad1ff55f6287b7e168
[ "MIT" ]
permissive
Albert-Byrone/Blog
391194c1998d894d78ee9a6fbe1523096231dbfb
55bc02aa4822bf81a2ab0e31274b1d14a875dd5e
refs/heads/master
2022-12-18T10:22:35.879414
2019-10-29T07:23:50
2019-10-29T07:23:50
217,862,684
1
1
MIT
2022-12-08T06:47:03
2019-10-27T13:55:54
Python
UTF-8
Python
false
false
936
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from config import config_options from flask_bootstrap import Bootstrap from flask_login import LoginManager from flask_mail import Mail from flask_uploads import configure_uploads,UploadSet,IMAGES login_manager = LoginManager() login_manager.session_p...
[ "albertbyrone1677@gmail.com" ]
albertbyrone1677@gmail.com
6e36c4b9745e77374c1db3de4a87e5a2004e2723
5b46d281ca865b144ba4c82e84ef9fd414cea991
/zerver/lib/github.py
c590608e279e9a061d894910fbd85fb6f71fb438
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
sumanthvrao/zulip
ceda43794cb68f52d52172f325a8c5caa385f279
2f36c5aefc812799f3a48bad432a2ffaf2dcac66
refs/heads/master
2021-06-05T13:03:22.180707
2021-05-05T17:54:26
2021-05-06T22:55:40
159,594,480
1
0
Apache-2.0
2018-12-05T00:04:34
2018-11-29T02:18:47
Python
UTF-8
Python
false
false
1,740
py
import json import logging import requests from zerver.lib.cache import cache_with_key logger = logging.getLogger(__name__) def get_latest_github_release_version_for_repo(repo: str) -> str: api_url = f"https://api.github.com/repos/zulip/{repo}/releases/latest" try: return requests.get(api_url).json...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
e70f666c2512f65e0f4bf7cad39667faf4acf374
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5670465267826688_1/Python/Yibo/program.py
477ba3c31f713299617ea990c7476a0ebf64d07b
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,437
py
#!/usr/bin/python2.7 f = open('input.txt', 'r') T = int(f.readline()) mult_table = [ [0, 0, 0, 0, 0], [0, 1, 2, 3, 4], [0, 2, -1, 4, -3], [0, 3, -4, -1, 2], [0, 4, 3, -2, -1] ] dic = { 1: 1, 'i': 2, 'j': 3, 'k': 4 } def mul(v1, v2): # Returns the numerical value of v1 * v2 ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
c0b823dbc30ebf0586e4f30e2071dcdf2c302e56
23d027ab024fcc18dbadfc43590619217bffd0cd
/tests/test_cmd_base.py
f4767f7346159b2c5d4215020acdfef2c34f0b39
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ankostis/doit
46f4ef5a9c3959e8534901826b2b36598fb9898c
1cf773021f3d6b1d8112944e3f095d5e41d71a34
refs/heads/master
2021-01-18T19:02:49.094079
2015-02-20T13:23:16
2015-02-20T13:23:16
32,616,867
0
0
null
2015-03-21T02:25:31
2015-03-21T02:25:30
null
UTF-8
Python
false
false
7,800
py
import os import pytest from doit import version from doit.cmdparse import CmdParseError, CmdOption, CmdParse from doit.exceptions import InvalidCommand, InvalidDodoFile from doit.dependency import FileChangedChecker from doit.task import Task from doit.cmd_base import version_tuple, Command, DoitCmdBase from doit.c...
[ "schettino72@gmail.com" ]
schettino72@gmail.com
ca9a3aca5d8787b9abd8c0263f48b5a00aa46bf6
ce164c8f07b2bb35d764bc6d198474083c8a2898
/Project_2_Web/folder_management/application/structure/linked_queue.py
6c3b475a1922c8db5990bf9c073d427bc5885e3a
[]
no_license
wjdwls0630/2019_1_Data_Structure
14f5a5d08d0fdcfa625715efd280752a87bf7bc5
7b6d9bb3e69263e1b2e84128f4aad2dc28d0a9da
refs/heads/master
2021-04-20T17:28:02.247711
2020-03-24T12:44:53
2020-03-24T12:44:53
249,704,781
1
0
null
null
null
null
UTF-8
Python
false
false
3,323
py
from folder_management.application.structure.nodetype import * from folder_management.application.error.empty_queue import * # Created by ParkJungJin on 2019-05-27. """@package docstring @brief LinkedQueue class. @details This class processes as First In, First Out (FIFO), ���ø��� ������ �پ��� ���� Ÿ���� ������ �� �ִ...
[ "wjdwls0630@gmail.com" ]
wjdwls0630@gmail.com
a27ab0c2175897e96a5ae4297ed11cfac9f5654a
b6c09a1b87074d6e58884211ce24df8ec354da5c
/剑指 Offer 58 - II. 左旋转字符串.py
93ec361819714648590adb6fba993586029f6049
[]
no_license
fengxiaolong886/leetcode
a0ee12d67c4a10fb12d6ca4369762ab5b090cab1
4c0897bc06a297fa9225a0c46d8ec9217d876db8
refs/heads/master
2023-03-18T22:16:29.212016
2021-03-07T03:48:16
2021-03-07T03:48:16
339,604,263
1
0
null
null
null
null
UTF-8
Python
false
false
556
py
""" 字符串的左旋转操作是把字符串前面的若干个字符转移到字符串的尾部。请定义一个函数实现字符串左旋转操作的功能。比如,输入字符串"abcdefg"和数字2,该函数将返回左旋转两位得到的结果"cdefgab"。   示例 1: 输入: s = "abcdefg", k = 2 输出: "cdefgab" 示例 2: 输入: s = "lrloseumgh", k = 6 输出: "umghlrlose" """ def reverseLeftWords(s, n): return s[n:] + s[:n] print(reverseLeftWords(s = "abcdefg", n = 2)) print(r...
[ "xlfeng886@163.com" ]
xlfeng886@163.com
11cff43646bff3ced07abb5143aef0e24ace9ae9
be7bb6d0cbdb27d3ff72830dc9cce41b170b27fe
/0x11-python-network_1/2-post_email.py
adf310927a0a167e9f6b4ab2d4a2cb4dd60e100c
[]
no_license
camagar/holbertonschool-higher_level_programming
21a8e7c2a2ad07c694c5443e174bb70502f910c2
97dd2fade6fb64ac7d9c52e412c0b8c1b8dfc3de
refs/heads/master
2023-04-07T21:38:00.071687
2021-04-14T02:11:42
2021-04-14T02:11:42
291,889,478
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
#!/usr/bin/python3 """ sends a POST""" import urllib.request import urllib.parse import sys if __name__ == "__main__": listargs = sys.argv values = {'email': listargs[2]} data = urllib.parse.urlencode(values) data = data.encode() req = urllib.request.Request(listargs[1], data) with urllib.reque...
[ "mauriciogrestrepo@gmail.com" ]
mauriciogrestrepo@gmail.com
946537eccc9076270eacc877cd5d0ce2b0e6588b
492c1e1dabb84ec4efb874b3d9228d31a675a38f
/817_1.py
39412b49ae1450664fcce0f273d964dedeb6c4a6
[]
no_license
ksnt/leet
65f3c36c8a524e1cc1a5d00bb7a840222ecc9dfe
6680ff978b88d3c44e538b4d5f0e6805ed85f9cf
refs/heads/master
2022-09-24T10:59:18.740314
2022-09-01T19:06:12
2022-09-01T19:06:12
136,970,152
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def numComponents(self, head, G): """ :type head: ListNode :type G: List[int] :rtype: int """ G = set(G) curr...
[ "ksn0215@gmail.com" ]
ksn0215@gmail.com
6abcfd59ea39eb671101cac7433e8adb7262bf20
0123229ac84c057b188f6b17c1131ec630ecaf25
/scripts/1D_fitting/plain_lls/lls_fit.py
bd5477517f6e448ff4e6c1db8dc1ab8a17ce25f9
[]
no_license
michellab/paramfit-tests
689851ab95406aad7160403c4a70d3ec6be91981
39598e93936beff48aefff1604483fd265a5f46a
refs/heads/master
2021-01-13T05:47:23.287857
2017-04-24T10:58:21
2017-04-24T10:58:21
76,249,680
0
0
null
null
null
null
UTF-8
Python
false
false
1,276
py
import numpy as np import matplotlib.pyplot as plt import math,random def reference_function(x_points) : fx = [] for x in x_points: val = math.cos(x) fx.append(val) return fx def random_datapoints(fx): n_data = 10 x_data_points = [] y_data_points = [] for i in range(0,n_...
[ "stefanobosisio1@gmail.com" ]
stefanobosisio1@gmail.com
fb4c806471aeb54eb54f012c8e280c32038e908e
30109f5f173f4e51a20cfcaf6ec41628b177f553
/fhir/resources/linkage.py
d564d4ad18c0bc98d4807283d0dccc33ef35b6b2
[ "BSD-3-Clause" ]
permissive
arkhn/fhir.resources
82c8f705c8f19e15621f2bb59fd17600c0ef3697
122e89c8599c4034bb3075b31d1a1188e377db91
refs/heads/master
2022-12-16T07:58:19.448071
2020-08-13T03:59:37
2020-08-13T03:59:37
288,683,730
1
0
NOASSERTION
2020-08-19T09:01:02
2020-08-19T09:01:01
null
UTF-8
Python
false
false
3,980
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/Linkage Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ from typing import List as ListType from pydantic import Field from . import backboneelement, domainresource, fhirtypes class Linkage(d...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
06f03e8706619ee744780bddd1d1cbe2dcb0da84
67d76057aee86c43d32e0b74f3ac94d521ee03d8
/tests/journal.ext/error_loop.py
dbaa12a5df3103cf23851ffacdeea206d3ce1e38
[ "BSD-3-Clause" ]
permissive
jlmaurer/pyre
0f94b1855bf029210f07c528747221751e37687f
6af38a83621d7d6228d147b4bb94f97fbb10f6e2
refs/heads/master
2023-05-25T04:33:19.907452
2020-06-18T14:07:54
2020-06-18T14:07:54
273,362,988
0
0
NOASSERTION
2021-06-10T23:42:14
2020-06-18T23:50:28
null
UTF-8
Python
false
false
778
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # (c) 1998-2020 all rights reserved def test(): """ Verify that repeated use of the same channel instance works correctly """ # get the channel from journal.ext.journal import Error as error ...
[ "michael.aivazis@para-sim.com" ]
michael.aivazis@para-sim.com
f19341fe2cecf1e04a8b37dca063da8f113871bc
e5a511e346f5be8a82fe9cb2edf457aa7e82859c
/Python/ListPrograms/Largest.py
97a677f3edaba0ff016b9ff8a1a9f46e7ecf5780
[]
no_license
nekapoor7/Python-and-Django
8397561c78e599abc8755887cbed39ebef8d27dc
8fa4d15f4fa964634ad6a89bd4d8588aa045e24f
refs/heads/master
2022-10-10T20:23:02.673600
2020-06-11T09:06:42
2020-06-11T09:06:42
257,163,996
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
"""Write a Python program to get the largest number from a list.""" list1 = list(input().split()) print(list1) largest = max(int(x) for x in list1 if x == max(list1)) print(largest)
[ "neha.kapoor070789@gmail.com" ]
neha.kapoor070789@gmail.com
4f8800af0825e54fa81404c512c57e2fb8c8d810
bf001de41a72db2f0fc957fd4ba24a5b38ef1db5
/packages/camphr_transformers/tests/test_ner.py
84d1df42984b284a40e947cf55e764dfb0021962
[ "Apache-2.0" ]
permissive
PKSHATechnology-Research/camphr
b8e6e896238d0ea2c04db9709f6e68445e66cbee
d464d079e71fed0d53f78d45a42c1fdf6637c10a
refs/heads/master
2023-08-05T14:39:46.209210
2021-08-18T06:06:51
2021-08-18T06:06:51
239,420,805
373
23
Apache-2.0
2022-12-09T05:56:02
2020-02-10T03:39:58
Python
UTF-8
Python
false
false
5,052
py
from dataclasses import dataclass from hypothesis import strategies as st, given from pathlib import Path from typing import Dict, List, Literal, Tuple, Union from typing_extensions import TypeAlias from camphr.serde import from_disk, to_disk import pytest from camphr_transformers.ner import Ner, _decode_bio, _DUMMY fr...
[ "tamuhey@gmail.com" ]
tamuhey@gmail.com
9a81f65ff12e86c9667aaf1622dcdf7e7b2a3a66
c7967ec500b210513aa0b1f540144c931ca687ac
/알고리즘 스터디/개인공부/SegmentTree/PortionMultiple.py
847a131947285c0e6181797221bd98df0e092fd3
[]
no_license
sunminky/algorythmStudy
9a88e02c444b10904cebae94170eba456320f8e8
2ee1b5cf1f2e5f7ef87b44643210f407c4aa90e2
refs/heads/master
2023-08-17T01:49:43.528021
2023-08-13T08:11:37
2023-08-13T08:11:37
225,085,243
1
3
null
null
null
null
UTF-8
Python
false
false
1,919
py
#https://www.acmicpc.net/problem/11505 import sys from math import ceil from math import log2 tree = None end_layer_width = None def change(operand, target): end_layer = (end_layer_width + operand - 1) >> 1 tree[end_layer_width + operand - 1] = target while end_layer != 0: tree[end_layer] = (tre...
[ "suns1502@gmail.com" ]
suns1502@gmail.com
a18a96a402f1b858509089778397e14677059be8
e71b6d14fbdbc57c7234ca45a47329d7d02fc6f7
/flask_api/venv/lib/python3.7/site-packages/vsts/notification/v4_0/models/vss_notification_event.py
9a9ffebfd1be3ed2b460586374af983b0779626c
[]
no_license
u-blavins/secret_sasquatch_society
c36993c738ab29a6a4879bfbeb78a5803f4f2a57
0214eadcdfa9b40254e331a6617c50b422212f4c
refs/heads/master
2020-08-14T00:39:52.948272
2020-01-22T13:54:58
2020-01-22T13:54:58
215,058,646
1
0
null
null
null
null
UTF-8
Python
false
false
2,262
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------------------...
[ "usama.blavins1@gmail.com" ]
usama.blavins1@gmail.com
60fa4aff9912d39f672a2fbef96a78fb73ce7772
077a17b286bdd6c427c325f196eb6e16b30c257e
/00_BofVar-unit-tests/03_64/remenissions-work/exploit-BofVar-2.py
8298ebf4adafce9a29174c16cf4a10b91be61559
[]
no_license
KurSh/remenissions_test
626daf6e923459b44b82521aa4cb944aad0dbced
9dec8085b62a446f7562adfeccf70f8bfcdbb738
refs/heads/master
2023-07-08T20:25:04.823318
2020-10-05T06:45:16
2020-10-05T06:45:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
from pwn import * import time import sys import signal import sf target = process("./chall-test_BofVar-03-x64") gdb.attach(target, execute="verify_exploit") bof_payload = sf.BufferOverflow(arch=64) bof_payload.set_input_start(0x48) bof_payload.add_int32(0x10, 0xfacadf) bof_payload.add_int32(0xc, 0xdead) payload = bo...
[ "ryancmeinke@gmail.com" ]
ryancmeinke@gmail.com
51dc69bbae2f8d9b4127218a7158982bbeaae0c6
1f012ca4eb76a7a470b12f54f4b9d65de8cada32
/dbdata.py
813a895386d35d95ef948d404e5f83150970c666
[]
no_license
StockAnalyst/Analyst
e42973e7af1b925098a11f73401ea668fb23c5ea
e1e64ff5f3c8a9f0a2695990810410dfc519aa87
refs/heads/master
2021-01-01T04:19:56.196262
2016-06-05T12:22:49
2016-06-05T12:22:49
55,968,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
# -*- coding: utf-8 -*- dbdict = {'全部数据':'db_mkt','沪深股票数据':'equ','股票基本信息':'equ_equ','股票历次配股信息':'equ_equallot','股票分红信息':'equ_equdiv','股票首次上市信息':'equ_equipo','股票每日回报率':'equ_equretud','沪深融资融券每日汇总信息':'equ_fsttotal','股票列表':'equ_list', '基本面数据':'fdmt','现金流量':'fdmt_cashflow','偿债能力':'fdmt_debtpaying','业绩报告':'fdmt_fdmtee','业绩预告...
[ "xiaoya_0922@126.com" ]
xiaoya_0922@126.com
15cf6e65ec6f2e0e9117dc8259594aee0a365897
16b56c2b25126fd11a9e191f79473d13c33e6013
/rxnebm/proposer/retroxpert/tools/draw_synthon.py
cffc4870114e4a225355d7a650d1a58b1e50c9d2
[ "MIT" ]
permissive
rnaimehaom/rxn-ebm
246cf57bd00db17b6ba0c6ebc20d607010825f39
8480822d0d8ad74e46edf693ad1cdc787291f422
refs/heads/master
2023-05-15T06:56:29.278776
2021-06-06T15:11:49
2021-06-06T15:11:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,304
py
import matplotlib.pyplot as plt import pandas as pd from rdkit import Chem from rdkit.Chem import rdChemReactions, rdDepictor, Draw from rdkit.Chem.Draw import rdMolDraw2D, DrawingOptions DrawingOptions.atomLabelFontSize = 15 DrawingOptions.dotsPerAngstrom = 100 DrawingOptions.bondLineWidth = 3.0 file = r'C...
[ "linmin001@e.ntu.edu.sg" ]
linmin001@e.ntu.edu.sg
59e01eaa14b023924e01b9fa6d937ac922fa3460
7bb34b9837b6304ceac6ab45ce482b570526ed3c
/external/webkit/Tools/Scripts/webkitpy/common/config/committers_unittest.py
068c0ee2072b6b8d1cabc1fbdd5135aeb10728ef
[ "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.0-or-later", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.1-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "Apache-2.0" ]
permissive
ghsecuritylab/android_platform_sony_nicki
7533bca5c13d32a8d2a42696344cc10249bd2fd8
526381be7808e5202d7865aa10303cb5d249388a
refs/heads/master
2021-02-28T20:27:31.390188
2013-10-15T07:57:51
2013-10-15T07:57:51
245,730,217
0
0
Apache-2.0
2020-03-08T00:59:27
2020-03-08T00:59:26
null
UTF-8
Python
false
false
3,777
py
# Copyright (C) 2009 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
[ "gahlotpercy@gmail.com" ]
gahlotpercy@gmail.com
c5731a647cfc277c037952bbce716f3685b19b89
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/swagger_client/models/i_bgp_networks.py
e145464e4f95fd7e34bf1a4407af84d50d14fdee
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
7,238
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
af26149dcce6099fe7e15b3abe49024d3ad6658a
8dc84558f0058d90dfc4955e905dab1b22d12c08
/build/util/version.py
1013058beb94f853b61d4493cac376f84ef20219
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
5,551
py
#!/usr/bin/env python # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ version.py -- Chromium version string substitution utility. """ import argparse import os import sys def fetch_values_from_file(...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
1dfb87c91106447b81cb53aa7c9f46b469399c20
d2144b0a45b4ff3e7c78356dcbe5c187b3eddf1f
/tf15_tensorboard.py
b58aafc6ce085daddc96957960ac2be2e472cbc8
[]
no_license
CWSchen/tensorflow
45d5996370b9584fa02bdd9a0705b6c6579b324a
301e169b007ccac265a99b37f5fd097c5db1d423
refs/heads/master
2020-03-21T12:29:42.157422
2018-08-15T01:21:29
2018-08-15T01:21:29
138,555,214
3
0
null
null
null
null
UTF-8
Python
false
false
2,367
py
""" Please note, this code is only for python 3+. If you are using python 2+, please modify the code accordingly. """ import tensorflow as tf import numpy as np def add_layer(inputs, in_size, out_size, n_layer, activation_function=None): # add one more layer and return the output of this layer layer_name =...
[ "1044502604@qq.com" ]
1044502604@qq.com
0826383a447fe4c0ea7973b5265503781c30e132
e014e5324ac8c05f14fc96227295dbf2007054e5
/script-py/fabric/p2.py
22b17c58c38402a03ece073a81c4623d5d847e03
[ "Apache-2.0" ]
permissive
analylx/Py_script
6fa75c02caa53d57c3ffdf5f098de43a62b38346
68098875a2fb3668e4d15ba11079de6adebc6b7f
refs/heads/master
2020-06-22T11:29:47.660370
2019-07-19T06:18:00
2019-07-19T06:18:00
197,707,076
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
import paramiko,glob transport = paramiko.Transport(('200.200.121.52',22)) transport.connect(username='admin',password='admin1') sftp = paramiko.SFTPClient.from_transport(transport) file_to_put = glob.glob(r"e:/version/NPT1050i*.bin") #conn.put(file_to_put[0],'/sdboot/up/NPT1050i_Emb.bin') #将resutl.txt 上传至服务器 /tmp/res...
[ "a322494@ecitele.com" ]
a322494@ecitele.com
c9e05be9b141362ea7e4f8961920e4fa7cc5ed4d
b140a0c902cb6e95396ba98f8db7ae97d5ee97ac
/social_motion/robocare_sound/setup.py
c9799c3750058da53b180e1e97168298b182d9ed
[]
no_license
Osseri/Group1-5DOF_social_robot
4b8f89fa9d09f71035bb4c6133723aabe5b4f7df
7699601b60bbb88a7e508e4e7927d15afdfafc22
refs/heads/master
2022-12-02T16:48:13.304232
2020-06-24T00:32:15
2020-06-24T00:32:15
285,156,666
1
0
null
null
null
null
UTF-8
Python
false
false
336
py
#!/usr/bin/env python ## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup # fetch values from package.xml setup_args = generate_distutils_setup( packages=['robocare_sound'], package_dir={'': 'src'}, ) setu...
[ "you@example.com" ]
you@example.com
9ea39c32dfbf597b235b1b90326168eb74f9cd6c
c66bbd5d3eaff6a8d8e8af5fa6bb230a64052881
/simulators/sim_ftp_new_file.py
9133a8ee6ad92878f7ab0e7106a07e05c7f0c614
[ "MIT" ]
permissive
majj/Rexroth
44f6141075f4f26cb70f0a331ab7e6f851fa6702
079f2890a39e34776627d53c00d7debbfbd13146
refs/heads/master
2020-03-19T20:12:59.567712
2018-06-11T23:45:00
2018-06-11T23:45:00
136,892,336
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
# -*- coding: utf-8 -*- """ simulator for FTP file creation. """ import os import glob import time def move_old_file(base_path): file_path = os.sep.join([base_path,"*.json"]) data_files = glob.glob(file_path) for data_file in data_files: statinfo = os.stat(data_file) ...
[ "aidear@163.com" ]
aidear@163.com
af5e725dd84dbbf4e14343aaff27e3740539d297
159a527d5333f848fa58fed8c39ee6303a507c62
/RPi_Drone/sensor.py
1bcfa30a293fa37ba60c7f8a549b705394f995bb
[]
no_license
GitDubs/Pi_Drone
ca3f15f4e33797dd276f8b39c6ac62186ace8d10
d3bf8817ce12cd6483128b7dd233a7e132b6e2e9
refs/heads/master
2020-04-15T19:56:46.744054
2020-03-24T16:02:14
2020-03-24T16:02:14
164,971,308
0
0
null
null
null
null
UTF-8
Python
false
false
7,170
py
############################################################################ # # QuadcopeRPI- SW for controlling a quadcopter by RPI # # Copyright (C) 2014 Oscar Ferrato (solenero tech) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public Lice...
[ "user.email" ]
user.email
59123b96ae51fcea97576b96673b4381abaadc9b
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-2/db86043195cb9a19ee424859752d2c5c908b5a43-<_check_cross_realm_messages_archiving>-bug.py
131169889e98f9fba092c7563048ae0e365c7dc9
[]
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,584
py
def _check_cross_realm_messages_archiving(self, arc_user_msg_qty: int, period: int, realm: Optional[Realm]=None) -> int: sent_message_id = self._send_cross_realm_message() all_user_messages_qty = UserMessage.objects.count() self._change_messages_pub_date([sent_message_id], (timezone_now() - timedelta(days...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
4590c51b63359f543ed1eddd12502166cafa6ffc
3591ab22e1cc0fc1362f909017a8aa5c2b53bd92
/FundNavSpiders/XiNanZhengQuanPB.py
b3bf6aab60aa2e98eb1fa65b2ecc189a06ab245f
[]
no_license
Wnltc/ggscrapy
ef7e9559ce6140e7147f539778e25fc7f6cbee4c
bf929112e14b875a583803fe92980fe67129bdac
refs/heads/master
2023-03-15T22:00:45.377540
2018-06-06T02:19:14
2018-06-06T02:19:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,044
py
import re from datetime import datetime from FundNavSpiders import GGFundNavItem from FundNavSpiders import GGFundNavSpider from urllib.parse import urljoin from scrapy.utils.response import get_base_url class XiNanZhengQuanPBSpider(GGFundNavSpider): name = 'FundNav_XiNanZhengQuanPB' sitename = '西南证券' cha...
[ "songxh@go-goal.com" ]
songxh@go-goal.com
74b18bfd131508e96967f18207775529a0896cac
fefb1e9b0b736da4e49d7754f8d1dbaf37f2fa6a
/.history/9_3_20210214204036.py
27a80c381b5c43bc45d4593006b60e3126b4e5a5
[]
no_license
wh-debug/python
5a78a2227874ebc400d075197de0adab9f55d187
1467eeda670f170e6e2d7c0a0550f713f1ee9d75
refs/heads/master
2023-03-12T22:08:12.608882
2021-02-17T09:49:52
2021-02-17T09:49:52
334,032,494
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
''' Author: Daylight Date: 2021-02-14 20:29:23 LastEditTime: 2021-02-14 20:40:36 LastEditors: Please set LastEditors Description: In User Settings Edit FilePath: \python\9_3.py ''' '''子类继承父类,创建子类时父类必须在当前文件中''' class Car: def __init__(self, make, model, year): self.make = make self.model = model ...
[ "1813763848@qq.com" ]
1813763848@qq.com
8bf0abb7aa0fa44e2f4f73ce687605985a73f497
dbcb0c7745bd4053bee99ca3f491d74806039b41
/migrations/versions/12353e7e9d34_.py
7c5b6551ee749539e8ab502532e9082e6c627f0e
[ "MIT" ]
permissive
Maethorin/concept2
90a3e6c8b372a68c6115c79849e48a6301afc26b
05d64805388126a6fb1c412a3fe290b5fa7ed117
refs/heads/master
2021-01-17T06:03:33.905372
2017-03-26T21:09:49
2017-03-26T21:09:49
49,681,649
0
0
null
null
null
null
UTF-8
Python
false
false
1,637
py
"""empty message Revision ID: 12353e7e9d34 Revises: df7c9e698ce1 Create Date: 2016-03-03 23:57:52.267718 """ # revision identifiers, used by Alembic. revision = '12353e7e9d34' down_revision = 'f8b110875ac9' from alembic import op import app import sqlalchemy as sa def upgrade(): ### commands auto generated by...
[ "maethorin@gmail.com" ]
maethorin@gmail.com
347ea899708b8831003a9d3128113015027c0cf8
6bee8df1d3819ec688685d9f3a6647fcf5c2855c
/src/myExceptions.py
536e548b1f354e7d0f59a3a1ae486ba917ee4e8b
[]
no_license
denvaar/RobotClassLibrary
b18ec642b45d862373b2585165310bb968be957d
8961a8474f752e753c16071aa8a74f5ff4665750
refs/heads/master
2016-08-11T12:00:00.742268
2015-12-04T07:28:17
2015-12-04T07:28:17
47,381,861
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
class TooBusyException(Exception): """ An exception that should be raised when a robot is too busy to take on more work. """ def __init__(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs) class NotBusyException(Exception): """ An exception that should be raised ...
[ "denverpsmith@gmail.com" ]
denverpsmith@gmail.com
adab2981660cd5fea4905b2f903faeebdabfb3a7
7a0cee11668c426552e7a57baa8596a1cae33382
/kennywoodapi/views/__init__.py
4cc1b78ec594f9230e245343d910ad61c1a5be4d
[]
no_license
krnorris65/kennywood-api
3df6d3d0e1443441c6fb6c417638c4e7d704c41e
d83524ddb9720933982118e8f59af1c19a21c7b3
refs/heads/master
2023-08-03T21:59:37.270203
2020-05-22T20:10:10
2020-05-22T20:10:10
264,218,160
0
0
null
2021-09-22T19:01:24
2020-05-15T14:41:35
Python
UTF-8
Python
false
false
171
py
from .parkarea import ParkAreas from .itinerary import Itineraries from .attraction import Attractions from .register import register_user from .register import login_user
[ "krnorris65@gmail.com" ]
krnorris65@gmail.com
50efbe55f869ccbc1df5d3d2dadf1eadcd77e219
a718de5d51c8d430e791aca6092669c04548fd64
/Python-algorithm/algorithm/algorithm.py
4855f5dafa59015e1617ecce54ff8c1c08c087d5
[]
no_license
santoshikalaskar/Basic_Advance_python_program
d0fef4134ed4b14f84ff05a3b37e1773c111a2d1
84df5c336d5304c3c727102194ba62417640643a
refs/heads/master
2023-01-22T15:06:24.909145
2020-12-02T14:01:29
2020-12-02T14:01:29
314,511,681
0
0
null
null
null
null
UTF-8
Python
false
false
5,574
py
import string class AlgorithmMethods: #Binary search method ''' -Algorithm to search an element by passing sorted array,low index, high index and element as an argument. -It will return index of that perticular element or -1 if element is not present. ''' def binSea...
[ "kalaskars1996@gmail.com" ]
kalaskars1996@gmail.com
f22f6de23d497b7351b1129c0401905c832e8b58
3b730a7d5cd1825ee2f49839e7e4ef8710977349
/setup_cython.py
d33155f7737572125651e724926a7515b276032e
[ "MIT" ]
permissive
wallace46886799/QUANTAXIS
250133d4f34066b6ede634374659f807043abb16
664f367aeea0f3a0fd5032b2eabe2d6c1cb3f886
refs/heads/master
2020-03-11T12:42:49.960062
2019-05-01T15:33:43
2019-05-01T15:33:43
130,005,089
1
0
MIT
2019-05-01T15:33:44
2018-04-18T04:46:28
Python
UTF-8
Python
false
false
4,242
py
# coding=utf-8 # # The MIT License (MIT) # # Copyright (c) 2016-2017 yutiansut/QUANTAXIS # # 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 th...
[ "yutiansut@qq.com" ]
yutiansut@qq.com
da8b929d17b4a6f4a23d0efbcf1aef87f278a7ca
fcca7ebb332ae400b82f7d75d424ace30e35963c
/apps/elasticity/stegoton/test_entropy.py
42a3d38fc9a22a6eb79adf7ddb2185e5e28abca9
[]
no_license
clawpack/sharpclaw
5d2812149b28a09bfb626daf057fd27e4ab2f6a5
7c9782d932a449b92c875ff341a16bf00f0cc630
refs/heads/master
2021-01-04T14:06:42.001372
2013-11-28T15:19:26
2013-11-28T15:19:26
1,613,567
2
1
null
null
null
null
UTF-8
Python
false
false
1,268
py
#Run a sequence of entropy tests import os import setrun #from setrun import setrun from entropy import entropy import pylab as pl from pyclaw.runclaw import runclaw import numpy as np reload(setrun) grids = [1800,3600,7200,14400,28800] lims=[1,2,3,4] ntrp = np.zeros([len(lims),len(grids)]) for i,lim in enumerate(lim...
[ "dketch@gmail.com" ]
dketch@gmail.com
958e1029fe8ebbafccdbd80bf0cd9ef0eb4adc59
0b204928356d6825124787877b487b27bce19790
/exercises/Chapter 03/03-16.py
a314bb3fed78890564235eac04b543eea5d286f1
[]
no_license
shuxinzhang/nltk-learning
bff095f585bc42e697ca6cf523d71aec4a8aeeeb
0428ec5d73b325c91f1d82fb26324482ca69aae4
refs/heads/master
2021-01-01T04:43:26.536545
2017-07-26T13:37:06
2017-07-26T13:37:06
97,234,566
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
# -*- coding: utf-8 -*- import matplotlib matplotlib.use('TkAgg') import nltk ''' ☼ Use a text editor to create a file called prog.py containing the single line monty = 'Monty Python'. Next, start up a new session with the Python interpreter, and enter the expression monty at the prompt. You will get an error from the...
[ "amyzsx1217@gmail.com" ]
amyzsx1217@gmail.com
ef8e20278f02da0114ef8ed35d966afbd888859a
a00174e000704525ee215c911f2683e43650f3de
/control/control/wsgi.py
2a6868cacdcc17fc2f6a72b055b55ac644bb171c
[]
no_license
jinchuika/ing_software
4001f3f5ba832adbcbe51c52844750ebf264014e
7ada4a2bfc8c03fbb8938a1a47d8559c1c95808a
refs/heads/master
2016-09-14T14:05:33.567361
2016-06-03T16:42:38
2016-06-03T16:42:38
59,610,683
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for control 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/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "jinchuika@gmail.com" ]
jinchuika@gmail.com
b7d5cb97979742b3898d60ce38760912032fb414
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03472/s684454987.py
b6b020b957450bcb071ab3ec20a7b70b19eedd33
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
import sys mina=10**10 def waru(a,b): if a%b==0: return a//b else: return (a//b)+1 N,H=map(int,input().split()) A=list() B=list() for i in range(N): a,b=map(int,input().split()) A.append(a) B.append(b) ma=max(A) ind=A.index(ma) B=[i for i in B if i>ma] B=sorted(B,reverse=True) cou=1 s=0 for i in range...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d97a89976235e3dc87ff6974b27ea121936f0c2e
f0856e60a095ce99ec3497b3f27567803056ac60
/AE/A08_noise3_men_women.py
b4715146db159602e7ba7b0d37783380c6a9a776
[]
no_license
hjuju/TF_Study-HAN
dcbac17ce8b8885f5fb7d7f554230c2948fda9ac
c0faf98380e7f220868ddf83a9aaacaa4ebd2c2a
refs/heads/main
2023-09-04T09:13:33.212258
2021-10-27T08:00:49
2021-10-27T08:00:49
384,371,952
1
0
null
null
null
null
UTF-8
Python
false
false
4,303
py
# 훈련데이터를 기존데이터 + 20% 더 # 성과비교 # save_dir도 temp에 넣을 것 # 증폭데이터는 temp에 저장 후 훈련끝나고 삭제 from tensorflow.keras.preprocessing.image import ImageDataGenerator import numpy as np from icecream import ic # 1. data x_train = np.load('./_save/_npy/k59_5_gender_train_x.npy') # y_train = np.load('./_save/_npy/k59_5_gender_train_y...
[ "tkackeowjs@naver.com" ]
tkackeowjs@naver.com
b9f95b642efdce33ce6ffcbe54a698cc70ef4cb0
65b4522c04c2be071c2d42095956fe950fe1cebe
/inversions/occam_inversion_test/true_model/true_model.py
c1ddb520dbe1ff8a635ec89a56ef1ec36b797917
[]
no_license
geodesy/viscojapan
ac0cd93f7a2134cd2651623b94879dcc21c0c46a
03e70265b56eb5994e73bcb6066f0be338e42f27
refs/heads/master
2021-03-03T18:19:07.779601
2015-07-16T03:50:49
2015-07-16T03:50:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
from numpy import dot from viscojapan.inversion.inversion_test import GaussianSlip, gen_error_for_sites from viscojapan.plots import MapPlotFault, plt, MapPlotDisplacement from viscojapan import EpochalG import viscojapan as vj if_plot = True fault_file = '../greens_function/fault_He50km.h5' gslip = GaussianSlip.cre...
[ "zy31415@gmail.com" ]
zy31415@gmail.com
a81e6b7f49b978a71981ef25208a00c86eb9edd1
aaf237eaebbf2f98ded627a7e93645c27fb6491c
/generate_random_graphs.py
0d34f08686e001de697a1eb0792e32c2a1e459b2
[]
no_license
codeJRV/Max_Bandwidth
8b808afaed1de2dd56b4a3c1c62d859f5c99fb7b
d14b08d2061a3b2d8a010bdca52f600507be0df2
refs/heads/master
2021-09-06T05:25:10.594752
2018-02-02T19:07:54
2018-02-02T19:07:54
112,174,227
0
0
null
null
null
null
UTF-8
Python
false
false
2,192
py
import graph import random import time def generate_graph( n_vertex,max_wt, degree ): if degree >= 500: print("Generating a relatively dense graph, this will take some time....") else: print("Sparse graph generation, should happen quickly...") start_time = time.time() end_time = 0 ...
[ "email.jrv@gmail.com" ]
email.jrv@gmail.com
796f068e351e6b61237875ab989bd9716a184328
08e04ff140a6b32174f7b4f5c529730ed75d99d7
/OpenNMT-py/onmt/inputters/emphasis_dataset.py
7575869738dc08eaef3c6aa2eb904338a62cb66f
[]
no_license
takatomo-k/s2s
8df9e82acfa62568a04492da781070f49784358f
572ef50376fcd23b6e2a1bba66f24f76f3625b89
refs/heads/master
2022-07-20T19:04:38.859711
2020-05-19T03:34:30
2020-05-19T03:34:30
265,134,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,638
py
import codecs import numpy as np import torch import torch.nn as nn class EmphasisTransform(object): def __init__(self, side, data, min_frequency): self.side=side cunt = {} #import pdb;pdb.set_trace() self._stoi = {'-2':0, '-1':1, '0':2, '1':3,'2':4} self._itos ...
[ "kano.takatomo.km0@is.naist.jp" ]
kano.takatomo.km0@is.naist.jp
a8209d292f1ea22abf9f41a8892e3797d9cfa731
93205f3cad8ba599a5c80a655a712121a9e19f91
/storyboard/db/migration/alembic_migrations/versions/007_is_active_in_comments.py
7ac85b276a6502fe16c3834ba8459f9230f912d1
[ "Apache-2.0" ]
permissive
yeweiasia/storyboard
0c18abf7c5882662f5f7af82d1f226d9d3eab7a3
2445e3dc904c7c83305a4a6274e6ae35dacb0cfa
refs/heads/master
2020-12-11T05:46:22.045349
2016-05-23T15:36:46
2016-05-23T15:36:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "nkonovalov@mirantis.com" ]
nkonovalov@mirantis.com
0a8288fc2bdc1f46f0e200247c1798a987e00081
4a255da2c8d4c4589ab2c38c378282ea4a65f1d9
/pytorch_lightning/profiler/__init__.py
a15296eb54833add3e20c625bffb316a8a37bddd
[ "Apache-2.0" ]
permissive
wandb/pytorch-lightning
7a2fcdd03d67757c7eb5be7fffc090f55d7927ef
fe34bf2a653ebd50e6a3a00be829e3611f820c3c
refs/heads/master
2022-02-10T12:09:00.469103
2022-01-24T08:19:57
2022-01-24T08:19:57
223,654,630
3
0
Apache-2.0
2021-06-16T10:34:53
2019-11-23T21:19:50
Python
UTF-8
Python
false
false
514
py
from pytorch_lightning.profiler.advanced import AdvancedProfiler from pytorch_lightning.profiler.base import AbstractProfiler, BaseProfiler, PassThroughProfiler from pytorch_lightning.profiler.pytorch import PyTorchProfiler from pytorch_lightning.profiler.simple import SimpleProfiler from pytorch_lightning.profiler.xla...
[ "noreply@github.com" ]
wandb.noreply@github.com
e1602fcc8c1c145b7a8cdc495c0f26ff657f42d8
f3baf8b850c896231b4c254a22567fd5d7a5035c
/Exercicios Modulo 16/Exercicio 2.py
fcc9d004229a94823d48a19d0f020d7453f7ecaa
[ "MIT" ]
permissive
Katakhan/TrabalhosPython2
e1c23119ef582038ceea0004c872c00778fd326e
ab47af0ff3c00922857578e58a1a149d9e65e229
refs/heads/master
2020-09-21T02:15:04.505791
2020-03-19T13:23:41
2020-03-19T13:23:41
224,650,620
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
#--- Exercício 2 - Funções - 1 #--- Escreva uma função que leia dois números do console #--- Armazene cada número em uma variável #--- Realize a soma entre os dois números e armazene o resultado em uma terceira variável #--- Imprima o resultado e uma mensagem usando f-string (módulo 3) n1 = '' n2 = '' r = '' def ler (...
[ "antoniorafaelgastaldi@hotmail.com" ]
antoniorafaelgastaldi@hotmail.com
e867f6add0c6de6997ded78dabd00719e6683c38
242733887bf50ffc91b2e305dfbea268fdfebae0
/http/first.py
63910d3ddda0f0dc21b25438a7c738d0a82dc30b
[]
no_license
aryabiju37/Python-mini-Proects
c2e4f59bf309b3d7e7696dfe92fb6ff63790114a
a84e03702665cf2e06a16637cfe24a6697163894
refs/heads/master
2023-07-25T18:56:54.649800
2021-08-27T06:49:32
2021-08-27T06:49:32
400,420,845
1
0
null
null
null
null
UTF-8
Python
false
false
151
py
import requests url = "http://www.google.com/" response = requests.get(url) print(f"your request to {url} came back w/ status {response.status_code}")
[ "riyabee123@gmail.com" ]
riyabee123@gmail.com
7a9ff964736d8a2a595774a040fe4a20d20cdf5b
409513efeba3dfea81829020df15e6a1a6d6bd60
/app/tipo_gasto/form.py
6ad91a15e2dd1f9371a19282835bcf28dd5fdce0
[]
no_license
steven23sp/almacen_yamaha
1c0606326e46ccab1f3c23948943309deafb70e7
34b0c71fc4815512b137d70eaa672ea8d26484d3
refs/heads/master
2023-05-03T03:34:45.247011
2021-05-19T00:02:35
2021-05-19T00:02:35
319,155,303
0
0
null
null
null
null
UTF-8
Python
false
false
998
py
from django import forms from datetime import * from django.forms import SelectDateWidget, TextInput, NumberInput, EmailInput from .models import tipo_gasto class tipo_gastoForm(forms.ModelForm): # constructor def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) this_year = dat...
[ "steven23s@outlook.es" ]
steven23s@outlook.es
c3a854a7ad726506961c40bea1b6190c2a5af157
a37c48267bfb8476476dad7219c4e3329f9e2991
/Packs/CrowdStrikeIntel/Integrations/CrowdStrikeFalconIntel_v2/CrowdStrikeFalconIntel_v2_test.py
79df1d16b038910851002029a4c7bb288effa4fe
[ "MIT" ]
permissive
adambaumeister/content
611ce9fba412a5eb28fbefa8a43282e98d3f9327
01b57f8c658c2faed047313d3034e8052ffa83ce
refs/heads/master
2023-03-09T18:16:18.623380
2022-07-13T18:11:09
2022-07-13T18:11:09
274,290,989
2
0
MIT
2023-03-06T12:22:17
2020-06-23T02:36:53
Python
UTF-8
Python
false
false
7,515
py
import pytest import json import os import demistomock as demisto from CrowdStrikeFalconIntel_v2 import * from CommonServerPython import DBotScoreType, Common, DemistoException with open(os.path.normpath(os.path.join(__file__, '..', './test_data/indicator_resource.json'))) as f: INDICATOR_RESOURCE = json.load(f) ...
[ "noreply@github.com" ]
adambaumeister.noreply@github.com
183ac021137fed6c0ade8e3733021d7ad10cee3c
63781ceb2df72da01c0ae24a4d48d964e81402f5
/analysis/cs231n/layer_utils.py
b1d6c370c35c6a7261647182337edd204b20069d
[ "Apache-2.0" ]
permissive
vermouth1992/deep-learning-playground
c2997f7ee9de145216c637192f7ba136103fb1bd
3d03b26daaa5ef7c425a7ea6222d9c7341516d14
refs/heads/master
2023-05-12T18:22:39.976403
2023-05-07T13:19:37
2023-05-07T13:19:37
83,795,426
2
0
null
null
null
null
UTF-8
Python
false
false
4,341
py
from cs231n.layers import * from cs231n.fast_layers import * def affine_relu_forward(x, w, b): """ Convenience layer that perorms an affine transform followed by a ReLU Inputs: - x: Input to the affine layer - w, b: Weights for the affine layer Returns a tuple of: - out: Output from the ...
[ "czhangseu@gmail.com" ]
czhangseu@gmail.com
8e3922f184be66c73a06079d9888020b8afb8b9f
0310768ca9227032d04c7b4fb8609128e99366b2
/test.py
9c84e64f5b9b3e918fc1734404761f4f893d5210
[ "MIT" ]
permissive
ibackus/ICgen
321b691425dfee55ad31ddcfde2aa84afc956be7
139564c8634ce2ee052c3efbeb4a295554f197dc
refs/heads/master
2020-06-05T07:38:27.819309
2015-08-07T22:11:03
2015-08-07T22:11:03
20,506,404
1
1
null
2015-08-07T19:17:58
2014-06-05T00:48:37
Python
UTF-8
Python
false
false
3,236
py
""" @author: dflemin3 Script for generating disk ICs about a stellar system using ibackus's ICgen routines. See https://github.com/ibackus/ICgen """ import ICgen import pynbody import binary SimArray = pynbody.array.SimArray # Initialize a blank initial conditions (IC) object: IC = ICgen.IC() # Let's set the star ma...
[ "dflemin3@uw.edu" ]
dflemin3@uw.edu
a9b9299e0daaa0d0fb5aa3c702fb8a4915ccfae9
586068e0de8011da1310c07834a068e441f1f3f2
/graphql/execution/experimental/tests/test_mutations.py
431073f4d376c7170da3d475db6d99efb38a9104
[ "MIT" ]
permissive
yen223/graphql-core
36603497b87af07b6f8e267c0cfdb22cf5f121fc
431ea35d383e8064bb8d5829e7b3cb8d4f395cd9
refs/heads/master
2021-01-11T01:01:15.429546
2017-05-10T21:15:27
2017-05-10T21:15:27
90,983,518
0
1
null
2017-05-11T13:39:45
2017-05-11T13:39:45
null
UTF-8
Python
false
false
4,263
py
from graphql.language.parser import parse from graphql.type import (GraphQLArgument, GraphQLField, GraphQLInt, GraphQLList, GraphQLObjectType, GraphQLSchema, GraphQLString) from ..executor import execute class NumberHolder(object): def __init__(self, n): ...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
c7d10155aba09cb74ea39ec4c375729596958f15
0f074e5adef64fa16e88dc2499e76f08b4c33c02
/PyQt5/0205_layout_lambda_修饰传入的参数.py
c7e5f70e48c5301e2b54ea85aed2b69204b8d422
[]
no_license
guozhenjiang/Python
0ac39adaf72df0bfee51795fabcfd959a69b1862
44b07bd767f3f2a947331111ab920200ac2412c6
refs/heads/master
2021-05-19T16:54:40.725132
2020-11-19T16:26:26
2020-11-19T16:27:11
252,035,380
0
0
null
null
null
null
UTF-8
Python
false
false
2,249
py
# https://www.learnpyqt.com/courses/start/signals-slots-events/ import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel, QHBoxLayout, QWidget, QPushButton from PyQt5.QtCore import Qt # from PyQt5.QtGui import * # from PyQt5.QtWidgets import * # from PyQt5.QtCore import * # import sys # Subclass QMa...
[ "guo_zhen_jiang@163.com" ]
guo_zhen_jiang@163.com
e7f45e4ed664e6bd394acd9e40b03b8a6d59d013
e6579d0c32041b307b14d63d36ad733918dc8925
/Tareas/Tarea 4/Pruebas/ppppp/Clase Ficha.py
70e7dd7badbfb9bac4f67d803765bcfb71c1a2f0
[]
no_license
javierlopeza/IIC1103-2014-2
23bba4f33686e5779868f4f36ec05af4e322e8be
2be90d0d03d1a03d7194613c117d788f12e4451a
refs/heads/master
2021-01-19T14:41:32.475187
2017-04-13T16:10:32
2017-04-13T16:10:32
88,182,695
1
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
def posicion_valida(filas, columnas, posicion_evaluada): lista_p=posicion_evaluada.split(",") filap=int(lista_p[0]) colp=int(lista_p[1]) if filap<int(filas) and colp<int(columnas): if filap>=0 and colp>=0: return True else: return False #______________________ ...
[ "jilopez8@uc.cl" ]
jilopez8@uc.cl
d0ad25de8c03c4466cc3c9927ea48f508d342aae
54e3397609cc31b9142d483a29a9a3854800a620
/action/TemplateMethod.py
d9bed35a0939a5342e423d815f1f42f1854ab9cd
[]
no_license
qiangayz/DesignPatterns
1ac2ee51e2a176910bc19520dcb6ebb9914e0a36
527a0ffe59e5fd980ba6b4387d422d6c96fe1623
refs/heads/master
2020-03-23T22:34:21.040915
2018-07-24T16:10:22
2018-07-24T16:10:22
142,183,151
0
0
null
null
null
null
UTF-8
Python
false
false
3,783
py
# _*_coding:utf-8_*_ __author__ = 'Alex Li' # 模板方法模式概述 # 在现实生活中,很多事情都包含几个实现步骤,例如请客吃饭,无论吃什么,一般都包含点单、吃东西、买单等几个步骤,通常情况下这几个步骤的次序是:点单 --> 吃东西 --> 买单。在这三个步骤中,点单和买单大同小异,最大的区别在于第二步——吃什么?吃面条和吃满汉全席可大不相同,如图1所示: # # 图1 请客吃饭示意图 # 在软件开发中,有时也会遇到类似的情况,某个方法的实现需要多个步骤(类似“请客”), # 其中有些步骤是固定的(类似“点单”和“买单”),而有些步骤并不固定,存在可变性(类似...
[ "38162672+qiangayz@users.noreply.github.com" ]
38162672+qiangayz@users.noreply.github.com
0aafcca7993f752a0e9f0561911f2d82a7167130
786f9ae62cb62d2b8f193350d8beb695c47d2e98
/tests/protocols/raop/test_raop.py
72cb8855b2d1c296fb21af3dbd4377eb412faa80
[ "MIT" ]
permissive
postlund/pyatv
a4213957d4d9b557c16310450bfd444cc715e17c
05ca46d2a8bbc8e725ad63794d14b2d1fb9913fa
refs/heads/master
2023-09-01T20:11:48.374857
2023-08-29T04:23:22
2023-08-29T11:13:17
80,614,028
749
120
MIT
2023-09-14T04:54:01
2017-02-01T11:30:30
Python
UTF-8
Python
false
false
5,266
py
"""Unit tests for pyatv.protocols.raop.""" from ipaddress import ip_address from deepdiff import DeepDiff import pytest from pyatv.const import DeviceModel, OperatingSystem, PairingRequirement, Protocol from pyatv.core import MutableService, mdns from pyatv.interface import DeviceInfo from pyatv.protocols.raop import...
[ "pierre.staahl@gmail.com" ]
pierre.staahl@gmail.com
e54eb33675896af869f89364b21452ed4404844a
a70697ef62978117467695fd3507e4d08e186ab4
/source/res/scripts/client/gui/scaleform/framework/entities/daapientity.py
84cbcb14cb2a68d608a70d2eed693dce086be58d
[]
no_license
chipsi007/WorldOfTanks-Decompiled
d208678a6f2f094b02281d09ecc30f3e32725ce9
3b9dc21321429e4dee146c23c7250f2c62757937
refs/heads/master
2020-03-19T01:21:09.883951
2018-05-04T13:19:56
2018-05-04T13:19:56
135,538,885
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/framework/entities/DAAPIEntity.py from gui.Scaleform.framework.entities.EventSystemEntity import EventSystemEntity __author__ = 'd_dichkovsky' class DAAPIEntity(EventSystemEntity): def __init__(self): sup...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
a8469a8a87c24b82daa98d3403afada2ca502558
1c02603f151878b501af27c1ad19b361fcda91ef
/code/07_webframeworks/day_two_final/app.py
62f85fa55f217086d429ba752bf15fd24dc74d9b
[ "MIT" ]
permissive
archeranimesh/intermediate_python
36c6e815d54991240e9b3bf20d467174bba8e28c
fd209145dd8e22f85ace0b3ccb393d3e358055c6
refs/heads/master
2020-06-20T07:36:04.228945
2019-08-21T17:02:46
2019-08-21T17:02:46
197,044,901
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
""" A Simple Flask web application interface For viewing popular Github repos sorted by stars using the Github search API. To run: MAC (env) FLASK_APP=app.py flask run (env) FLASK_APP=app.py FLASK_ENV=development flask run Windows $env:FLASK_APP = "app.py"; flask run $env:FLASK_APP = "app.py"; $env:FLASK_ENV = "devel...
[ "animeshb@archerimagine.com" ]
animeshb@archerimagine.com
f3a94f3457d63220647b18e8c36fff97c9a5ff6d
37f9bbfea5e3f528a0d56baf12c471af326478bc
/hlp/stt/transformer/model.py
ecce017bf8949602cb3eaf48300cc9de975feaa0
[]
no_license
DengBoCong/hlp
9c1ff2f602823e6784c47b3a2787d7154612028d
1cf596e870bc1ebd017fc39c4c2e5ba7d74c367e
refs/heads/master
2023-02-16T16:07:37.420292
2021-01-03T16:44:22
2021-01-03T16:44:22
292,780,210
3
0
null
2021-01-03T16:31:41
2020-09-04T07:28:18
Roff
UTF-8
Python
false
false
3,903
py
import tensorflow as tf from hlp.utils.layers import positional_encoding from hlp.utils.layers import create_padding_mask from hlp.utils.layers import create_look_ahead_mask from hlp.utils.layers import transformer_encoder_layer from hlp.utils.layers import transformer_decoder_layer def encoder(vocab_size: int, embed...
[ "1210212670@qq.com" ]
1210212670@qq.com
c9aac0b5f9677acc1f45d795a17c327e2375e5f0
fada182228dfc3f86d319163ec4a07db96479a1d
/ZenPacks/community/MitsubishiUPS/MitsubishiUPSInput.py
b49d882ae4722dc0ae3bc7c01d3454e9ad484dd7
[ "Apache-2.0" ]
permissive
j053ph4/ZenPacks.community.MitsubishiUPS
6342374550831dc361ad5fa4b2ba8f58b213a009
03831981c35ec544b703dc870cf7d332614eb8af
refs/heads/master
2021-01-21T12:36:13.915646
2015-03-31T13:48:01
2015-03-31T13:48:01
9,172,704
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
from ZenPacks.community.ConstructionKit.ClassHelper import * class MitsubishiUPSInput(ClassHelper.MitsubishiUPSInput): ''''''
[ "janderson@agero.com" ]
janderson@agero.com
c27cdf5ace5e3dc9e3b4aa2b05dc9fc3465b5763
a7f0c5124b6b3281f950c352075552a03a0b3d35
/xstatic/pkg/jquery_migrate/__init__.py
322642508c9b6adfc8f28f4ce092c16737036a85
[]
no_license
openstack/xstatic-jquery-migrate
d036a6a30b50182d89cce681bd790cca74947644
8f82e0f48025433b3ec6d2726302a5ce2dc52b48
refs/heads/master
2023-07-04T11:21:20.657135
2023-03-29T15:38:49
2023-03-29T15:48:06
21,616,166
10
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
""" XStatic resource package See package 'XStatic' for documentation and basic tools. """ DISPLAY_NAME = 'JQuery-Migrate' # official name, upper/lowercase allowed, no spaces PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME # name used for PyPi NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar') ...
[ "openstack@sheep.art.pl" ]
openstack@sheep.art.pl
e081cf258161b7b7397637d222bcb7807c2b5131
c2ae65792af1fab2e7843303ef90790819f872e8
/Django/autocomplete/dal_env/lib/python2.7/site-packages/gm2m/descriptors.py
1b5708fe72f3907fcf46f1f771328813829640a3
[]
no_license
behappyyoung/PythonSampleCodes
47c224ca76ce509a03c8b75ef6b4bf7f49ebdd7f
f7640467273fa8ea3c7e443e798737ca5bcea6f9
refs/heads/master
2023-03-15T00:53:21.034605
2023-02-13T17:12:32
2023-02-13T17:12:32
26,919,763
3
3
null
2023-03-07T12:45:21
2014-11-20T15:57:16
Python
UTF-8
Python
false
false
2,193
py
""" Generic many-to-many relations descriptors """ class GM2MDescriptor(object): def __init__(self, field): self.field = field def __get__(self, instance, instance_type=None): if instance is None: return self return self.related_manager_cls(instance) d...
[ "ypark@stanfordhealthcare.org" ]
ypark@stanfordhealthcare.org
9228c45a17c75aa50683a86ff03c6c136edeb0b9
c3ee57e128cae0cf43d05de7948171dd7e859550
/code/viz_lehrverpflichtung_stellentyp_synopse.py
a5f0c6b7b17754f692c62c18a91d32d4736e04ed
[ "CC-BY-4.0", "MIT" ]
permissive
christofs/romstat
6603c46a08360d53d2c13004cfeffdedaf384b64
f3ca0a494e84c34b37c8a11c4eacce32448dab55
refs/heads/main
2023-04-12T14:30:38.858836
2022-03-11T10:52:22
2022-03-11T10:52:22
404,706,091
0
0
null
null
null
null
UTF-8
Python
false
false
2,615
py
import re from os.path import join import glob import os import pandas as pd import pygal from collections import Counter from pygal.style import LightenStyle import numpy as np def get_data(): with open("../data/romanistik-stellen_datensatz_2014-2021.csv", "r", encoding="utf8") as infile: data = pd.read_csv(inf...
[ "c.schoech@gmail.com" ]
c.schoech@gmail.com
604ab7c62f83772cb3de7609c797e43d64a23387
421ba39700f4768993c1990fd4d7f867b45a0df4
/airtable/__version__.py
0e72261e34947346b3c2d25fdf8a86d75a62cabd
[ "MIT" ]
permissive
rickh94/airtable-python-wrapper
98e997977be3fe918925e714e52efe76d06acd3c
04479201a0f0cb7564993324388e9fd5d75bbc30
refs/heads/master
2021-07-09T09:48:36.456390
2017-10-07T16:13:36
2017-10-07T16:13:36
106,108,248
0
0
null
2017-10-07T15:24:49
2017-10-07T15:24:48
null
UTF-8
Python
false
false
303
py
__version__ = '0.7.3' __name__ = 'airtable-python-wrapper' __description__ = 'Python API Wrapper for the Airtable API' __url__ = 'https://github.com/gtalarico/airtable-python-wrapper' __author__ = 'Gui Talarico' __license__ = 'The MIT License (MIT)' __copyright__ = 'Copyright 2017 Gui Talarico'
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
45388d350ed3d8a61b3dce2f916913eb624c25e5
e912af291e1457c61606642f1c7700e678c77a27
/python/021_merge_two_sorted_lists.py
4b7d17ac96a574cacb16e17689be902f5095f6c5
[]
no_license
MakrisHuang/LeetCode
325be680f8f67b0f34527914c6bd0a5a9e62e9c9
7609fbd164e3dbedc11308fdc24b57b5097ade81
refs/heads/master
2022-08-13T12:13:35.003830
2022-07-31T23:03:03
2022-07-31T23:03:03
128,767,837
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: head = res = ListNode(0) while l1 != None and l2 != None: if l1.val < l2...
[ "vallwesture@gmail.com" ]
vallwesture@gmail.com