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
6528c8298b100f2a4c7f9b7942fa43168ff41697
39632b273847febed4e7c4f70f804b3c1bb05eb8
/tpc/participate.py
f8bedf6c14c11299e48f3da31b0ba1413266e8fe
[]
no_license
MintYiqingchen/transaction-database
6172e067efb21119dd7e8542010e379f41b656d2
ffa73384693a5604cfc9c51a206570107beffebc
refs/heads/master
2022-04-09T17:33:21.897370
2020-03-31T23:05:00
2020-03-31T23:05:00
237,696,675
0
0
null
null
null
null
UTF-8
Python
false
false
7,631
py
from xmlrpc.server import SimpleXMLRPCServer from xmlrpc.client import ServerProxy, Error from threading import Thread, Lock import os import sys import argparse import time import socket import psycopg2 as pg2 import psycopg2.pool import asyncio import traceback from collections import defaultdict parser ...
[ "821244608@qq.com" ]
821244608@qq.com
6fc75f5b8dadbafbb0a244d38751341b91a114ee
a2ef47ae30bbf44175aa2f3398f9d3f7358870a6
/fnsservice/test4.py
03b8c2c22a835406770415aea4cbb1513c9c0300
[]
no_license
kmakeev/fnsservice
a1342f045441f0ee6683cfbbe1358d11bb3cf60e
66d677ce6cc298d7404fb4db5ffe1162a5f493a3
refs/heads/master
2021-06-17T18:09:15.894765
2021-02-10T07:39:35
2021-02-10T07:39:35
243,219,506
2
1
null
2021-02-10T07:22:23
2020-02-26T09:11:34
JavaScript
UTF-8
Python
false
false
221
py
# -*- coding: utf-8 -*- from bokeh.io import show, output_file from fnsservice.fns.views import DublicatedGraph g = DublicatedGraph(width=800, height=800, N=1500) p = g.get_graph() output_file("graph.html") show(p)
[ "kmakeev@arbitr.ru" ]
kmakeev@arbitr.ru
7c1086255d4dbfefae1b7f45a3fa382b54892810
00ede1aac54593f9b0e41822b29a3781b47a1142
/zqxt_tml/manage.py
ad1867356c893da759e2f70cee5984e20cce4bc8
[]
no_license
lannyMa/learn-py
b8c619cc9b6ac494eeceb61dbeaa92cafed91844
380d6f4392af6fff725a22b2843a5a7e04d5002d
refs/heads/master
2021-06-23T06:50:09.455717
2017-09-06T00:15:43
2017-09-06T00:15:43
87,917,766
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "zqxt_tml.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "iher@foxmail.com" ]
iher@foxmail.com
3f778c20399ecda6ea8109817fb7a9c9d796ad82
0190835675f591b159463e50e7d814bbe5303d8d
/django_confit/loaders.py
dc9bfac0338e7af071529d7e3461273f47944a10
[]
no_license
zebuline/django-confit
56b46dafbe0aa0b067e80086dfbc953bdc44250f
ad9fcd458d8d6409066acd110e385c24f2f0fe37
refs/heads/master
2021-01-18T08:44:11.729820
2014-06-30T13:42:41
2014-06-30T13:42:41
32,524,209
0
0
null
2015-03-19T13:52:25
2015-03-19T13:52:24
Python
UTF-8
Python
false
false
3,370
py
# -*- coding: utf-8 -*- """Utilities to load configuration from various sources: * from :attr:`os.environ` or similar dictionary: :func:`settings_from_string_mapping`; * from Python module: :func:`settings_from_module`; * from JSON or YAML file: :func:`settings_from_file`. """ import json import six import yaml ...
[ "benoit@marmelune.net" ]
benoit@marmelune.net
a64656d6558ad1672d290e857e1e2ec75ad77f90
c104dbd09a853725cb4f4b17df7c5dd59d47e04e
/opsgenie_swagger/models/nagios_xiv2_integration.py
fcd09c3b7ef19f34e72808fef562054ece011832
[ "Apache-2.0" ]
permissive
bm-lab/opsgenie-python-sdk
5a64e2c24f1b9168ecadf482ba8084ba27a659fc
244c4c40ddcc25e70df5ba4425ab8d7c8da59c18
refs/heads/master
2021-10-09T03:18:48.101672
2018-12-15T01:03:36
2018-12-20T15:13:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,946
py
# coding: utf-8 """ OpsGenie REST API OpsGenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from opsgenie_swagger.models.alert_filter import AlertFilter #...
[ "c.chary@criteo.com" ]
c.chary@criteo.com
059cb11799e13b9f2b0d70c4c4df93b82a2fad6f
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_bleaching.py
2f016290a8dda6c9ca2d17f70eb94990392f8f9d
[ "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
226
py
#calss header class _BLEACHING(): def __init__(self,): self.name = "BLEACHING" self.definitions = bleach self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['bleach']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
bf7232fea12b557764b27e0935161115e397e3f1
6062d8f2aaa850fa941a51cc366a16e6727f1c9b
/cauliflowervest/server/handlers/passphrase_handler.py
de14d853f2d792ae209b11a2cc873f8d6cf55ba5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
maximermilov/cauliflowervest
bf9bfeb2d93c01f52c0b4d2c65979efb139ce449
11a9ac74b86b0902211b6714c8db498b65f7bbd9
refs/heads/master
2020-04-04T20:59:32.679075
2018-12-03T20:31:46
2018-12-03T20:31:46
51,160,285
0
0
null
2016-02-05T16:55:24
2016-02-05T16:55:23
Python
UTF-8
Python
false
false
10,411
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 a...
[ "maximermilov@google.com" ]
maximermilov@google.com
e8a46ea11ce16518bff9bf364ce3f3ddbecfb4c9
153da69b35f032f5b83a06f17008ba41a1b336b4
/src/demo/calculator/core/enums/calc_operations.py
be7a79dd2dc2c43523ceea7e9ca10aca5c105aa2
[ "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
621
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ TODO Purpose of the file @project: HSPyLib hspylib.demo.calculator.core.enum @file: calc_operations.py @created: Tue, 4 May 2021 @author: <B>H</B>ugo <B>S</B>aporetti <B>J</B>unior" @site: https://github.com/yorevs/hspylib @license: MIT ...
[ "yorevs@gmail.com" ]
yorevs@gmail.com
2bc8b8d2909fc34cf28f01487adfe67227bc5f8f
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Email/Reverse Email Address Lookup/buster/.eggs/twint-2.1.20-py3.9.egg/twint/storage/db.py
f15eb7a49b4a932756426874e2e973dd6935f7c1
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:1bfee100772a62a8b82dc9142325b46126ad5a38e7090ebdd4c72c1a70a5cc92 size 10419
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
4a589351fa2393c773bb74d5a6069d589b1e9813
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/Test002/其他流程控制工具_20201204100832.py
731c162d1e5a7392659bf40e9605c24fcfa3c253
[]
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
1,180
py
#if 语句 # x = int(input("请输入数字:")) # if x < 0: # x = 0 # print("Negative changed to zero") # elif x == 0: # print("Zero") # elif x ==1: # print("Single") # else: # print("More") # for语句 # words = ['cat', 'window', 'defenestrate'] # for i in words: # print(i,len(i)) # for i in range(5):...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
7f71265e9ff133f979a97088418c785819c87174
f8da830331428a8e1bbeadf23345f79f1750bd98
/msgraph-cli-extensions/v1_0/notes_v1_0/azext_notes_v1_0/vendored_sdks/notes/_notes.py
6d2851668537aa7fd655b335cdb0054322639a03
[ "MIT" ]
permissive
ezkemboi/msgraph-cli
e023e1b7589461a738e42cbad691d9a0216b0779
2ceeb27acabf7cfa219c8a20238d8c7411b9e782
refs/heads/main
2023-02-12T13:45:03.402672
2021-01-07T11:33:54
2021-01-07T11:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,016
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
431a3d4d65b0f75ede18b9904310843857734faa
a4b81839fe6d7726eb6c9d2c9fd0d9a70cf3ef3f
/Code/LuanqibazaoExercise/20191123/01.py
d20c16f2cd24a38ecd39cdb9d6b9118d2fd98e65
[]
no_license
Python87-com/PythonExercise
3f84e0f194254d0f0a8b106348b214ccdeebf842
9bef64c6d3b143236bf06131e5f7a5aabcf6980b
refs/heads/master
2021-01-31T15:56:27.743718
2020-01-02T12:10:43
2020-01-02T12:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
""" 属性私有化 """ class Student: def __init__(self, name, sex): self.name = name self.__sex = sex def play(self): print(self.name, "性别是", self.__sex) # 创建对象 s1 = Student("Python87", "女") s1.play() # Python87 性别是 女 s1.__sex = "男" s1.play() # Python87 性别是 女
[ "10293665@qq.com" ]
10293665@qq.com
a35eab73e09286089b343c8b91fc0a7562c32b20
f8666599b83d34c861651861cc7db5b3c434fc87
/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_enabled.py
7738271280f1775097e8652e9c73659f9a88a3a9
[ "MIT" ]
permissive
mode/plotly.py
8b66806e88c9f1820d478bab726f0bea81884432
c5a9ac386a40df2816e6c13264dadf14299401e4
refs/heads/master
2022-08-26T00:07:35.376636
2018-09-26T19:08:54
2018-09-26T19:19:31
60,372,968
1
1
MIT
2019-11-13T23:03:22
2016-06-03T19:34:55
Python
UTF-8
Python
false
false
514
py
import _plotly_utils.basevalidators class EnabledValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name='enabled', parent_name='scatter3d.marker.colorbar.tickformatstop', **kwargs ): super(EnabledValidator, self).__init__( ...
[ "noreply@github.com" ]
mode.noreply@github.com
bdf3194356fbcc1281fbaebb3743619a8406c1c7
c0da86779f7037d9fa50499c470f8dd91fb11093
/DjangoProject/报障系统/StandYourGround/StandYourGround/wsgi.py
490cdd0c653e5384cf689bd9b80cceb3a8ba7787
[]
no_license
SuoSuo-Rocky/HaiYan_left_Pro
9c96148a9fe9edc191b2aa1ba1a4caf55184d2e1
670aedee8b403141c5e81615dea89d28dfcd9ebb
refs/heads/master
2023-01-12T07:12:53.602217
2019-07-07T06:20:25
2019-07-07T06:20:25
195,602,247
0
0
null
2023-01-05T20:39:51
2019-07-07T02:39:33
JavaScript
UTF-8
Python
false
false
407
py
""" WSGI config for StandYourGround project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJAN...
[ "dt1930dgbomb@aliyun.com" ]
dt1930dgbomb@aliyun.com
ef1fb7e03ab2eaaddb3e5df941f24e1d597911b9
0ddb274058b7cf4dc4152b4167195ed322914795
/dxfwrite/algebra/base.py
bdf9002723cfebd13914c55d8162a76c3cd6c901
[ "MIT" ]
permissive
allartburns/dxfwrite
b920843426ebd8cac9c66b84d306655494208d90
2679407a4efc797a616ac26898312f0ba1a24041
refs/heads/master
2020-05-29T22:43:01.545611
2015-04-11T00:32:43
2015-04-11T00:32:43
33,616,670
2
1
null
null
null
null
UTF-8
Python
false
false
2,232
py
#!/usr/bin/env python #coding:utf-8 # Purpose: # Created: 27.03.2010 __author__ = "mozman <mozman@gmx.at>" import math HALF_PI = math.pi / 2. THREE_PI_HALF = 1.5 * math.pi DOUBLE_PI = math.pi * 2. def rotate_2d(point, angle): """ rotate point around origin point about angle """ x = point[0] *...
[ "mozman@gmx.at" ]
mozman@gmx.at
0fe5f2b0b0f4f47c58605046ac2673428da3f800
121f82d04c299a6f6fcd3b469794ae076b74a3f6
/virtual/bin/django-admin
670898c608a26bc12d5674e334f0520b7d3d80ee
[ "MIT" ]
permissive
monicaoyugi/User-profile
ba68b3f6a5a631e4235f70b351b86eb8e9061d45
941180648a72c3761c8df8a56c9498934808d735
refs/heads/master
2023-08-13T18:04:18.997913
2020-05-22T13:08:07
2020-05-22T13:08:07
266,112,023
0
0
MIT
2021-09-22T19:03:36
2020-05-22T13:02:44
Python
UTF-8
Python
false
false
321
#!/home/moringaschool/Documents/Core/Week1/pingram/virtual/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())...
[ "monicaoyugi@gmail.com" ]
monicaoyugi@gmail.com
e67646d83b215b610ac774793c91227ab79589ca
2bcf18252fa9144ece3e824834ac0e117ad0bdf3
/Kraken/tags/0.2/release_the_kraken.py.example
d4a845fa0a3f49dc07d99e0751d2aa7fb8f4dee9
[ "Beerware" ]
permissive
chadwhitacre/public
32f65ba8e35d38c69ed4d0edd333283a239c5e1d
0c67fd7ec8bce1d8c56c7ff3506f31a99362b502
refs/heads/master
2021-05-10T14:32:03.016683
2010-05-13T18:24:20
2010-05-13T18:24:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
792
example
#!/usr/local/bin/python # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE": # <chad@zetaweb.com> wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can ...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
7635aee8611720059e84cdb29ab3d3f1adff70a0
3afe7348e830a0c5139fb7cf393736e18b59ab4a
/src/clusterfuzz/_internal/platforms/linux/lkl/kernel_utils.py
7a30a1d4229158f8a6c2d24ce8a1809175c497ae
[ "Apache-2.0" ]
permissive
google/clusterfuzz
00845899e081dbbb89b70a75ce0b7eba3da73b02
6501a839b27a264500244f32bace8bee4d5cb9a2
refs/heads/master
2023-09-03T17:34:17.821599
2023-09-01T16:11:51
2023-09-01T16:11:51
168,060,021
5,420
639
Apache-2.0
2023-09-13T16:40:54
2019-01-29T00:19:40
Python
UTF-8
Python
false
false
2,768
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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
google.noreply@github.com
4e25e31332ac40a4a1cd89fc7e30e4ff9596fc27
3b6b8223598de9ec75d827945a613f75c3c6f132
/03-Spider/6_my_ex_se_aio/lagou_se.py
bf6610509f18c30b22e6c8a365df3ec2082f4d61
[]
no_license
Flavio58it/grocery
32380a145d59fb5604c44cd1d7cfe50fedb1e0dd
23e35d4b67208542344985b5e4865b7d5d314be4
refs/heads/master
2022-10-01T17:26:26.409840
2018-11-20T11:05:31
2018-11-20T11:05:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,150
py
""" 使用自动化测试工具 selenium 和 BeautifulSoup 抓取 拉钩网的职位信息 """ import time import pymongo from selenium import webdriver from selenium.webdriver.chrome.options import Options from bs4 import BeautifulSoup def get_html(url, keywords): """ 获取 页面 返回获取的页面列表 :param url: 目标网站 这是是 拉钩网 :par...
[ "1367000465@qq.com" ]
1367000465@qq.com
3110e4e698a996e1e82b66366b19e9b17f240a2c
9da8d60ba0c37a8f5d1f4a7ea8f33f7996b9f1bf
/39.No_Idea!.py
831a88d5f728e99974a73893bab037b24c3ef517
[]
no_license
save6/HackerRank
b7e764200e813453fe6037512652f1c1df1fdff3
da7038b586399e599fdd9e96f7c3b599d928f6a7
refs/heads/master
2023-08-25T13:36:05.632435
2021-10-27T22:19:43
2021-10-27T22:19:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Enter your code here. Read input from STDIN. Print output to STDOUT if __name__=='__main__': _ = input() answer = list(input().split()) list_A = set(input().split()) list_B = set(input().split()) happiness = 0 for a in answer: if a in list_A: happiness += 1 if a in ...
[ "save6green@gmail.com" ]
save6green@gmail.com
ed2fbd6f401e303eb8cc4479a60c8bd94a1b8e22
377cbbe140fd0faf1eb53ba3794de816ac307cde
/src/experiment/TrainModelExperiment.py
c8b657d6d4c6fbbf74afb4ddf14ee5a51f53cb48
[ "MIT" ]
permissive
dhruvtapasvi/implementation
fcbd7ab8e7b1368a0f07ee41dc5f0b6d6708c206
964980f431517f4548a87172a05107cdf700fb84
refs/heads/master
2021-09-16T01:47:50.601661
2018-05-17T19:22:44
2018-05-17T19:22:44
114,498,055
1
0
MIT
2018-05-05T02:17:35
2017-12-16T23:59:13
Python
UTF-8
Python
false
false
966
py
from experiment.Experiment import Experiment from model.VariationalAutoencoder import VariationalAutoencoder from dataset.loader.DatasetLoader import DatasetLoader class TrainModelExperiment(Experiment): def __init__(self, variationalAutoencoder: VariationalAutoencoder, datasetLoader: DatasetLoader, epochs, batch...
[ "dhruv.tapasvi1996@gmail.com" ]
dhruv.tapasvi1996@gmail.com
4cdf1fd5f6441560066c488889e7395009341605
c364fca8ae4c896dee2c8b0dc545f4d73c8c8314
/unsupervised_learning/0x01-clustering/8-main_2.py
bca71c105dad636e7f26d8135412abb0afb57834
[ "MIT" ]
permissive
ledbagholberton/holbertonschool-machine_learning
7672509d2dc1775bd6708430d244e8f4dd4cb169
eaf23423ec0f412f103f5931d6610fdd67bcc5be
refs/heads/master
2020-12-22T01:12:32.824436
2020-10-11T12:36:48
2020-10-11T12:36:48
236,623,497
1
2
null
null
null
null
UTF-8
Python
false
false
679
py
#!/usr/bin/env python3 import numpy as np EM = __import__('8-EM').expectation_maximization if __name__ == '__main__': np.random.seed(11) a = np.random.multivariate_normal([30, 40], [[75, 5], [5, 75]], size=10000) b = np.random.multivariate_normal([5, 25], [[16, 10], [10, 16]], size=750) c = n...
[ "789@holbertonschool.com" ]
789@holbertonschool.com
baba214cbfbc300cbbf3cfac8cea9aa9c1149d96
8f205d31e8e5555d69e0a7db086a3c93de6d2806
/task_scripts/merge_overlaps.py
7bb49e8383e4cfd29478c39d245d5a50face9f88
[ "MIT" ]
permissive
torms3/Synaptor
94e0f04478118399db91d79a8a8b478858fd4138
5de74aa61b3d04e88e6bc4c336d543f89d64b9a4
refs/heads/master
2021-05-21T19:08:43.625841
2020-06-19T23:10:47
2020-06-19T23:10:47
252,764,824
0
0
NOASSERTION
2020-04-03T15:03:17
2020-04-03T15:03:16
null
UTF-8
Python
false
false
384
py
""" Merge Edges Wrapper Script Merges overlap matrices together Writes the segments of max overlap """ import synaptor as s import argparse parser = argparse.ArgumentParser() # Inputs & Outputs parser.add_argument("storagestr") parser.add_argument("--timing_tag", default=None) args = parser.parse_args() print(va...
[ "nturner.stanford@gmail.com" ]
nturner.stanford@gmail.com
ccfd5f583065345312c7dcfd1cf83f32899952c9
4388363ba45b95910c25bae3d9c02ad78f4a75d6
/python/anaconda/pkgs/anaconda-project-0.6.0-py27_0/lib/python2.7/site-packages/anaconda_project/internal/conda_api.py
dea5e87e6955e8f321d11c6259f9edacb6dce114
[]
no_license
locolucco209/MongoScraper
d494e02531f4f165b1e821633dc9661c579337b5
74476c9f00ee43338af696da7e9cd02b273f9005
refs/heads/master
2022-11-25T19:09:27.248747
2018-07-10T03:54:06
2018-07-10T03:54:06
137,553,786
3
1
null
2022-11-16T04:32:26
2018-06-16T04:49:22
null
UTF-8
Python
false
false
23,301
py
# -*- coding: utf-8 -*- # ---------------------------------------------------------------------------- # Copyright © 2016, Continuum Analytics, Inc. All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. # -------------------------------------------------------------------...
[ "lukemassetti@WestSide-Luke.local" ]
lukemassetti@WestSide-Luke.local
cd37b9253d5a541d3945acb4e29a7a6cc456b84b
f9a5e7233875989f994438ce267907d8210d60a1
/test/pump_sensor/metalearning/knn_ranking/RMSE/k=3/extra_trees/sensor_prediction_extraTrees_AUCPRC.py
c51bf8495532222f767c46f192a351e7ebb6c9e6
[]
no_license
renoslyssiotis/When-are-Machine-learning-models-required-and-when-is-Statistics-enough
da8d53d44a69f4620954a32af3aacca45e1ed641
6af1670a74345f509c86b7bdb4aa0761c5b058ff
refs/heads/master
2022-08-29T20:21:57.553737
2020-05-26T18:03:46
2020-05-26T18:03:46
256,439,921
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
import sys, os, pickle from pathlib import PurePath current_dir = os.path.realpath(__file__) p = PurePath(current_dir) sys.path.append(str(p.parents[7])+'/metalearners/knn_ranking_method/RMSE') from KNN_ranking_k_3_RMSE import KNN_ranking #Load the selected meta-dataset after performing zero-variance threshold with op...
[ "rl554@cam.ac.uk" ]
rl554@cam.ac.uk
3df71c5457a9604d5a8d822930171a8250ec8280
66b1f3c3e57f53e1404d6e17c4acc850173a531d
/Python/Django/Calculator/calc_app/calc_app/settings.py
015d84b659a6d1c67ad8a34c0caeac9554a8f063
[]
no_license
bMedarski/SoftUni
ca4d6891b3bbe7b03aad5960d2f4af5479fd8bbd
62cd9cb84b0826e3381c991882a4cdc27d94f8ab
refs/heads/master
2021-06-08T17:32:39.282975
2020-02-04T11:57:08
2020-02-04T11:57:08
67,947,148
6
3
null
2021-05-06T20:35:42
2016-09-11T18:31:02
Python
UTF-8
Python
false
false
3,094
py
""" Django settings for calc_app project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "boyamedarski@mail.bg" ]
boyamedarski@mail.bg
06a1b2a6764dcc999c4dc021994100e23d2a2b93
52b5773617a1b972a905de4d692540d26ff74926
/.history/duplicate_20200619182445.py
9dae68d8081d41f90f083abc2f6f88532d71fbe0
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
690
py
def duplicate(str): # brute force approach # is storing the substring and checking how many times they # occur # dictionary key is the substring and occurrences is how many # times its occurred words ={} # pointers left = 0 right = 1 new = [] while right <= len(str) and l...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
4981bd2b9338bf1e9c7f1e12ac1b0cbbb93b7c11
7beff965d7b0e6155d6d52b27d71c557421d5ada
/abc160/e/a.py
d39046088669528af74eef2618f8b38a62258db5
[]
no_license
uk-ar/competitive_programming
82a53a1007798843ac006b9c7d313826e6cb45c3
d2523cf303f47644cada3b03e9eed2349bdbe394
refs/heads/master
2023-03-28T13:20:07.728861
2021-03-30T20:25:55
2021-03-30T20:25:55
249,638,234
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
#!/usr/bin/env pypy3 import sys sys.setrecursionlimit(15000) x,y,a,b,c = map(int,input().split()) p = list(sorted(map(int,input().split()),reverse=True))[:x] # x q = list(sorted(map(int,input().split()),reverse=True))[:y] # y r = list(sorted(map(int,input().split()),reverse=True)) print(sum(sorted(p+q+r,reverse=True)[:...
[ "yuuki.ari@gmail.com" ]
yuuki.ari@gmail.com
4976f0269c542b42bd84c779b123bc15f165d539
92e3a6424326bf0b83e4823c3abc2c9d1190cf5e
/scripts/icehouse/opt/stack/tempest/tempest/api/compute/volumes/test_volumes_get.py
4f77fa7dca18d39522c591d9e676dac128abe8d6
[ "Apache-2.0" ]
permissive
AnthonyEzeigbo/OpenStackInAction
d6c21cf972ce2b1f58a93a29973534ded965d1ea
ff28cc4ee3c1a8d3bbe477d9d6104d2c6e71bf2e
refs/heads/master
2023-07-28T05:38:06.120723
2020-07-25T15:19:21
2020-07-25T15:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,143
py
# Copyright 2012 OpenStack Foundation # 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 requ...
[ "cody@uky.edu" ]
cody@uky.edu
7715d5679012483083ebf58aa1308f7a584f95d5
fbfe37305712d49c84d87b2bb3ef88d3cf68cf69
/apps/post/migrations/0001_initial.py
1409752baa7f263d6454d8f513746baf8672b72a
[]
no_license
xal9wiii4ik/social_network
50ba7788bbd4b53c77f69f61c5790c3a4a13b6e4
23d6c72bf4ed0e182570d0e55e973f22701850cd
refs/heads/master
2023-03-30T22:03:28.379419
2021-04-08T21:55:56
2021-04-08T21:55:56
325,549,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,758
py
# Generated by Django 3.1.5 on 2021-01-27 13:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "xal9wIII4ik@yandex.ru" ]
xal9wIII4ik@yandex.ru
ef6aef324a83544b3a9424e5c5c1b975b4f19d4d
0e04214a06ef5b220f9179bd7b7a0792ea17145b
/genqr.py
2f79d2caf4616f5d43d85dd3432ef354d949bf00
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-gutenberg-2020" ]
permissive
tebeka/pythonwise
cbeb63d4f4b2ec8d1d0df392f721c1557d9b00f4
e3e1cdca77224c0ff2cf1fba69d20c997224decc
refs/heads/master
2022-11-19T03:59:17.736977
2022-11-08T07:22:20
2022-11-08T07:22:20
45,970,082
23
8
BSD-3-Clause
2021-04-21T04:54:40
2015-11-11T08:46:50
Python
UTF-8
Python
false
false
1,580
py
#!/usr/bin/env python '''Generate QR code using Google Charts API''' import sys # Python 3/2 compatibility if sys.version_info[:2] < (3, 0): from urllib import urlopen, urlencode import httplib stdout = sys.stdout else: from urllib.request import urlopen from urllib.parse import urlencode impor...
[ "miki.tebeka@gmail.com" ]
miki.tebeka@gmail.com
afccf24a53afcb8a7a26b451ffabd6f8218d208a
07b37ca45d38edea112895049acf76d96ff07eff
/3.Processing&UnderstadingText/stemming.py
7493e6263eb23c0111bcfc4069bbdb0ababcca3f
[]
no_license
KRBhavaniSankar/NLTK
e335944de346be72a01c92221b0bf58d85475fb9
4b228338566996fbccee72cb6afaa199a6496787
refs/heads/master
2020-03-12T23:03:59.981112
2018-05-11T01:15:28
2018-05-11T01:15:28
130,858,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
# -*- coding: utf-8 -*- """ Created on Fri APR 29 10:04 AM @author: Bhavani """ """ The NLTK package has several implementation for stemmers, These stemmers are implemented in the stem module , which inherits the stemmer interface in the nltk.stem.api module. One of the most popular stemmers is the PorterStemmer. Th...
[ "krbhavanisankar@gmail.com" ]
krbhavanisankar@gmail.com
dbe354eca1ad06148fab7434a384fd6262c32ff8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03845/s040519010.py
af55c2d9fab44bd279e0ea967a34ce3e0dfda0cd
[]
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
1,079
py
import sys, os, math, bisect, itertools, collections, heapq, queue, copy, array # from scipy.sparse.csgraph import csgraph_from_dense, floyd_warshall # from decimal import Decimal # from collections import defaultdict, deque sys.setrecursionlimit(10000000) ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9ed21cd4df7efe6eaadf95f108b7c5e71d1d8a07
c7d0f590f3353b827ed34b731c2f6c53952a1f65
/autocv/researcher.py
7d8ad3376953e7b13829f6fe7f6647f44eb5fdb2
[ "MIT" ]
permissive
Daniel-Gong/autoCV
811285a15c913776ced6c2ca49e8b4c625514399
ea620c88f46900bc177eb06775f001696c77a09d
refs/heads/master
2023-06-26T11:53:17.831465
2021-08-05T17:16:01
2021-08-05T17:16:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,008
py
""" class for a researcher """ import os import json import requests import scholarly import pypatent from .orcid import get_dois_from_orcid_record from .pubmed import get_pubmed_data from .publication import JournalArticle, Book, BookChapter from .crossref import get_crossref_records, parse_crossref_record from .util...
[ "poldrack@gmail.com" ]
poldrack@gmail.com
5a0afac41b222f0e907588c7a0cd449a2394cad6
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AntMerchantExpandMerchantTypeQueryModel.py
73349409d748e7a00a24a09e560029204227e6f5
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
890
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AntMerchantExpandMerchantTypeQueryModel(object): def __init__(self): self._user_id = None @property def user_id(self): return self._user_id @user_id.setter def u...
[ "ben.zy@antfin.com" ]
ben.zy@antfin.com
867a322b8acc7b3c225d39448b01c645175ae915
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnemblazon.py
096d32b63a5bf9f6295011672fc96fef1faa3ca7
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
333
py
ii = [('KembFFF.py', 1), ('ShawHDE.py', 6), ('WilkJMC3.py', 1), ('CarlTFR.py', 1), ('RoscTTI2.py', 1), ('IrviWVD.py', 1), ('DibdTRL2.py', 2), ('AinsWRR.py', 2), ('LandWPA2.py', 1), ('HowiWRL2.py', 2), ('RogeSIP.py', 1), ('DibdTRL.py', 1), ('BeckWRE.py', 1), ('DibdTBR.py', 2), ('KeigTSS.py', 1), ('ClarGE4.py', 2), ('Ada...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
6ac230540f541b35846d2ee4981281291f47efc3
987697512ce9b8d7c29bfd2f18d5aec0261a6863
/二叉树的层次遍历II.py
b6a34e636804c1c42d8861937870a5d1564c2981
[]
no_license
Luckyaxah/leetcode-python
65e7ff59d6f19312defdc4d4b4103c39193b198a
2b9c78ba88e7bf74a46a287fb1914b4d6ba9af38
refs/heads/master
2023-06-05T12:15:31.618879
2021-06-22T13:05:30
2021-06-22T13:05:30
262,287,940
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
from 二叉树类 import TreeNode class Solution: def levelOrderBottom(self, root: TreeNode) : if not root: return [[]] ret = [] def fun(root,level): if not root: return if len(ret)<level+1: ret.append([root.val]) else:...
[ "math_leqi@163.com" ]
math_leqi@163.com
e184a01c1505720f9c09cf93c097dc09449403fa
f707303e4dfe383cf82c23a6bb42ccfdc4cfdb67
/pandas-ml-utils/pandas_ml_utils_test/ml/model/test_skmodel_accuracy.py
14b0da71b9536c9f63f59bff4a5256abf2c77f00
[ "MIT" ]
permissive
jcoffi/pandas-ml-quant
1830ec256f8c09c04f1aa77e2eecfba07d34fe68
650a8e8f77bc4d71136518d1c7ee65c194a99cf0
refs/heads/master
2023-08-31T06:45:38.060737
2021-09-09T04:44:35
2021-09-09T04:44:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,073
py
from pandas_ml_utils import FittingParameter from pandas_ml_utils_test.ml.model.test_model_accuracy import TestModelAccuracy class TestSkModelAccuracy(TestModelAccuracy): def provide_linear_regression_model(self): from sklearn.linear_model import LinearRegression from sklearn.neural_network impor...
[ "kic@kic.kic" ]
kic@kic.kic
7aa7cb3ed8f101f228aa9076e18398a6f5937a6e
b1ddd313527e84ace13729c7f0ad6953f254d0f1
/tester.py
d2cb0273fb26c0047f5e0d3b91d0945a072b4bd6
[]
no_license
sander76/weasy-server
bc4e4d98aedab52037e831fed55993d1be27db8c
f8196d382ca7abba4156d6f62a0371b9b2ad05f2
refs/heads/master
2020-06-28T22:57:23.783768
2016-12-02T10:05:47
2016-12-02T10:05:47
74,461,488
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
from weasyprint import HTML import logging logging.basicConfig(level=logging.DEBUG) URL = "http://tools.hde.nl/menc/site/guides/Pliss%C3%A9%20%26%20Duette%C2%AE%20Bottom-Up%20programming/" OUT = "/home/admin-s/test.pdf" for lp in range(0, 300): try: HTML(URL).write_pdf(OUT) except OSError as e: ...
[ "s.teunissen@gmail.com" ]
s.teunissen@gmail.com
654338f41e243b91073b88d0c938205d5cac1808
62dc63713e8c8ce8622c70117595bae857618107
/FLIR Examples/ImageFormatControl.py
551f27b29696422be574e0c548082e3f7833eb39
[]
no_license
LiamDroog/BaldrControlSuite
ad7544d5e92b5e27537e7f20c7cf3ddc78b36769
2ca76c4c97c334b6bd5924b00cbcb8e6f687f495
refs/heads/master
2023-07-04T07:57:46.115829
2021-08-03T17:36:49
2021-08-03T17:36:49
371,804,134
0
0
null
null
null
null
UTF-8
Python
false
false
19,841
py
# coding=utf-8 # ============================================================================= # Copyright (c) 2001-2021 FLIR Systems, Inc. All Rights Reserved. # # This software is the confidential and proprietary information of FLIR # Integrated Imaging Solutions, Inc. ("Confidential Information"). You # shall not di...
[ "droog@ualberta.ca" ]
droog@ualberta.ca
4ad300b3af57d974576a31de15ca71fa38cfe7c8
8d35b8aa63f3cae4e885e3c081f41235d2a8f61f
/discord/ext/dl/extractor/cnbc.py
90c89123e5bbed7130c3977526254dd0beb26afc
[ "MIT" ]
permissive
alexyy802/Texus
1255f4e54c8d3cc067f0d30daff1cf24932ea0c9
c282a836f43dfd588d89d5c13f432896aebb540f
refs/heads/master
2023-09-05T06:14:36.217601
2021-11-21T03:39:55
2021-11-21T03:39:55
429,390,575
0
0
MIT
2021-11-19T09:22:22
2021-11-18T10:43:11
Python
UTF-8
Python
false
false
2,370
py
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from ..utils import smuggle_url class CNBCIE(InfoExtractor): _VALID_URL = r"https?://video\.cnbc\.com/gallery/\?video=(?P<id>[0-9]+)" _TEST = { "url": "http://video.cnbc.com/gallery/?video=3000503714"...
[ "noreply@github.com" ]
alexyy802.noreply@github.com
48d3fbbb3b724ba6e8ceb08c947796e935fdcda1
49812e663d0033700af72c4f451581d1f05791ef
/scons/scons-local-3.0.1/SCons/Util.py
c9aa2b53d16f91ee0281c4035c030d279b1f3e01
[ "Apache-2.0", "MIT", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
faustus123/JANA
1d9f6af0976b45eb9ceade584f3c0faeacf19b2c
38ca14e79deeb4c13042c60d948356ab8e98cf0c
refs/heads/master
2023-01-09T04:18:06.795419
2020-11-14T16:00:10
2020-11-14T16:00:10
103,759,870
0
2
Apache-2.0
2020-11-14T15:57:50
2017-09-16T14:50:58
Python
UTF-8
Python
false
false
53,237
py
"""SCons.Util Various utility functions go here. """ # # Copyright (c) 2001 - 2017 The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # wit...
[ "davidl@jlab.org" ]
davidl@jlab.org
a410f6e281c8139f127daf8c8cac5080cc40c306
a0e777ea7e0d00c061068db132a30a8fa545cc75
/EffectivePython/item4.py
793758a82e0f7d72f099d9da42934bf39b0aae5f
[]
no_license
aadisetyaa/Python-Cookbook
87215b64d2d3631d6b18e90a68a09400e7d80919
a8df0343a39725312686423296bfd860dbaf70ad
refs/heads/master
2022-04-08T13:41:27.255352
2017-11-27T03:54:29
2017-11-27T03:54:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
from urllib.parse import parse_qs my_values = parse_qs('red=5&blue=0&green=', keep_blank_values=True) #print(repr(my_values)) #print('Red: ', my_values.get('red', [''])) #print('Green: ', my_values.get('green')) #print('Opacity: ', my_values.get('opacity')) #red = int(my_values.get('red', [''])[0] or 0) #green ...
[ "wpr101@hotmail.com" ]
wpr101@hotmail.com
d37848de8b37876c0e75748384723c224ddf4c87
4c601eaa346e660c296e270cc2d79aea9a3721fe
/homeassistant/components/synology_dsm/__init__.py
89dc39e427c58512730b8bd950ac8b479e7129f5
[ "Apache-2.0" ]
permissive
basnijholt/home-assistant
f55110af9ff602274c0a929c7298ef97a0ef282f
ba55b4b8338a2dc0ba3f1d750efea49d86571291
refs/heads/dev
2023-01-21T11:53:52.621353
2020-08-08T15:03:06
2020-08-08T15:03:06
220,313,680
5
1
Apache-2.0
2023-01-13T06:04:49
2019-11-07T19:29:54
Python
UTF-8
Python
false
false
15,297
py
"""The Synology DSM component.""" import asyncio from datetime import timedelta import logging from typing import Dict from synology_dsm import SynologyDSM from synology_dsm.api.core.security import SynoCoreSecurity from synology_dsm.api.core.utilization import SynoCoreUtilization from synology_dsm.api.dsm.information...
[ "noreply@github.com" ]
basnijholt.noreply@github.com
f2d3975eb900b5c88164db165ef91f9f5f8ff734
9d177d4133f64ef16daab9dd71bffcc8fbb766d9
/tests/core/v5/test_packet_preparation.py
dae4e86405ebb5d325b341e018cbfbcc26077c6b
[ "MIT" ]
permissive
pipermerriam/ddht
8afb799742e1a4467b9622a65758525f7edc9f18
7e0b66ac96591a590e40c7e15d880af01e1f1a36
refs/heads/master
2023-08-28T08:55:18.366964
2020-09-11T15:26:00
2020-09-11T15:26:00
282,279,617
2
0
MIT
2020-07-24T17:31:02
2020-07-24T17:31:02
null
UTF-8
Python
false
false
11,680
py
from eth_enr import ENR from eth_utils import decode_hex, int_to_big_endian, is_list_like from hypothesis import given import pytest import rlp from ddht.encryption import aesgcm_decrypt from ddht.handshake_schemes import V4HandshakeScheme from ddht.tools.v5_strategies import ( enr_seq_st, id_nonce_st, key...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
ca87ff0a336058adb8d8daa3ec98166ca00c8011
40fc10c31449faca8a3235d34b422c322db8af6e
/src/pyasl/asl/binning.py
54c5604387cecbbd9b56c5d52f171313d02642cf
[ "MIT" ]
permissive
voneiden/PyAstronomy
93d27e9d82bd54ecaf55b8fcbcba5ecbe7021997
d7e92fb84aad0995bc9c3e38538f44d1d9fa6200
refs/heads/master
2021-01-16T20:52:04.139625
2013-07-04T14:00:12
2013-07-04T14:00:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,488
py
# -*- coding: utf-8 -*- from PyAstronomy.pyaC import pyaErrors as PE import numpy as np def binningx0dt(x, y, yerr=None, x0=None, dt=None, nbins=None, reduceBy=None, removeEmpty=True, \ removeNoError=False, useBinCenter=True): """ A simple binning algorithm. This algorithm uses a fi...
[ "stefan.czesla@hs.uni-hamburg.de" ]
stefan.czesla@hs.uni-hamburg.de
665e2dbb2e727b9f06db39c73e7338cd30f993c1
c0046aa23b6260b1fce3dc8932b62c638fe6aa46
/HcalTasks/python/HcalNoiseTask.py
99a28865cf5c4433de438d8508c875eb02ac42e4
[]
no_license
HCALDQM/DQM
8c9f08fe89b844054069aba2ca893a831356b0ef
fa36a791f0527d0e3e96bd70c0776697a630b67c
refs/heads/master
2020-04-06T07:05:20.336782
2015-10-14T07:46:58
2015-10-14T07:46:58
41,037,040
0
5
null
null
null
null
UTF-8
Python
false
false
2,900
py
import FWCore.ParameterSet.Config as cms import DQM.HcalCommon.HcalDQStandard as standard StandardSet = standard.StandardSet.clone() # List of FEDs lFEDs = [x+700 for x in range(32)] + [929, 1118, 1120, 1122] moduleName = "HcalNoiseTask" # Modify whatever is in StandardSet importing StandardSet.moduleParameters.nam...
[ "vdkhristenko1991@gmail.com" ]
vdkhristenko1991@gmail.com
7aeb14ec178c1278a0ad73d90f369a0ce020c9c0
c46cbaefaf2ddce20f4d69d79dc8ad786c71ca9b
/src/keystore/javacard/applets/securechannel.py
082793c09dbd69499c1bf5a407261c4cbf17bb6c
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
xavierfiechter/specter-diy
eeca22ca1984051edeef5abd1863d8b6b25f22e1
2c7b6244aca54eca19c60fad9d44f4884ba0ad62
refs/heads/master
2023-03-29T23:54:31.340395
2021-03-30T12:52:54
2021-03-30T12:52:54
343,566,546
0
0
MIT
2021-03-30T12:40:30
2021-03-01T21:48:30
Python
UTF-8
Python
false
false
7,364
py
from ..util import encode import secp256k1 import hashlib, hmac from io import BytesIO from rng import get_random_bytes from ucryptolib import aes from binascii import hexlify AES_BLOCK = 16 IV_SIZE = 16 MAC_SIZE = 14 AES_CBC = 2 class SecureError(Exception): """ Raised when something went wrong with the ...
[ "snigirev.stepan@gmail.com" ]
snigirev.stepan@gmail.com
0933399c858eea92a5d926f9873e527890ee7eee
471a036309c05b59243033f2480e27e19268ec55
/src/london/london/apps/notifications/engines/session.py
9840893b6a787cb3beb43026428db35a08c4bbf5
[ "BSD-2-Clause" ]
permissive
avelino/votacao_paredao_bbb
1bbf33b9ec00f033db5b1d558190135315d50b03
875ac157b207fee80be6841f9b17c41b7069e15d
refs/heads/master
2021-01-20T12:17:48.362512
2012-07-13T05:41:44
2012-07-13T05:41:44
4,928,781
0
0
null
2020-07-27T11:05:32
2012-07-06T17:51:03
Python
UTF-8
Python
false
false
892
py
import logging from london.apps.notifications.engines.base import BasePool from london.apps.notifications.app_settings import SESSION_KEY class SessionPool(BasePool): def add_message_pool(self, request, message, level=logging.NOTSET): request.session[SESSION_KEY] = request.session[SESSION_KEY] or [] ...
[ "thiagoavelinoster@gmail.com" ]
thiagoavelinoster@gmail.com
4098559e3d5ca21f8b0ace8663ad6833d5192dc3
482e28dccb663459e50ac601e8cc376f2441b0f7
/src/ch05/rtda/LocalVars.py
aa2c43c0799c56ab03c9df750cc8fef69b0720b8
[]
no_license
wlj5240/JVMByPython
1487d4f4b8367e9e31d71b60a9d06ff4996ad1b7
53502f10f4f19741646d871c46014e023ccad4a5
refs/heads/master
2022-10-05T19:55:50.381307
2019-10-20T05:03:38
2019-10-20T05:03:38
270,003,703
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
#!/usr/bin/env python # encoding: utf-8 """ @author: HuRuiFeng @file: LocalVars.py @time: 2019/9/15 16:22 @desc: 局部变量表,用于python的列表能存储任何数据类型,所以将基本数据类型和引用类型都用一个Slot表示。 """ from rtda.Slot import Slot class LocalVars: def __init__(self, max_locals): self.slots = [] if max_locals > 0: self...
[ "huruifeng1202@163.com" ]
huruifeng1202@163.com
3cd3a0490007878e66ee2502a82d81cb04e6a0e3
18219d0fc95936ded56fe44f9a65ecb27f015232
/148 dictionary items.py
a63a3687830fdc6ac0f0f71e6705986048d579d8
[]
no_license
JDavid121/Script-Curso-Cisco-Python
20a61b91b09376dcaef54f8ae5f86fe252de5c33
6d68c17ff3c3826e9fc609d110ce9d0e6ebf718b
refs/heads/master
2021-05-18T04:54:59.948970
2020-03-29T20:19:53
2020-03-29T20:19:53
251,120,139
0
0
null
null
null
null
UTF-8
Python
false
false
578
py
# -*- coding: utf-8 -*- """ Created on Wed Feb 26 09:58:15 2020 DICTIONARY ITEMS @author: David """ dict3 = {1:"beta",2:"gamma",4:"iota",3:"theta",9:"zeta",5:"eta"} # items() method # This method returns a "class" of tuples. # Each tuple is a key,value pair print(dict3.items()) print("*****************...
[ "noreply@github.com" ]
JDavid121.noreply@github.com
c418f5064c035680c4a33f021984341aae2d73ca
42051d7c4dd80bb827f10905a6c89b7187448697
/cfxdb/gen/KeyValue.py
2067857559a4defa3aa6a5407a5f4eb3fc7d0ba7
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
om26er/cfxdb
1f1d195e5e5d37be08d05364518fb6d2cf13f4e4
ade48d664a0b4fb99d02836dc77e8e8a43076a07
refs/heads/master
2021-04-05T03:30:19.212037
2020-04-02T20:05:17
2020-04-02T20:05:17
248,516,500
0
0
NOASSERTION
2020-03-19T13:55:56
2020-03-19T13:55:56
null
UTF-8
Python
false
false
1,436
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() # A key-value pair with string keys & values. class KeyValue(object): __slots__ = ['_tab'] @classmethod def GetRootAsKeyValue(cls, buf, of...
[ "tobias.oberstein@crossbario.com" ]
tobias.oberstein@crossbario.com
1df769cdfcc8ebd7c113abeab2ffd5ce6ad89079
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03210/s633395264.py
eedd235729f86d455915903bde9846883eaf4b10
[]
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
81
py
X = int(input().rstrip()) if X in [3,5,7]: print('YES') else: print('NO')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b334b94929f6f34e58add9421156267e499fec17
334172bb2d17dd0ab0506e054fea207383c50042
/condonsax/hiddenalbum/models.py
bb7d66dfb30198dc11f2a27a742526de775edb78
[]
no_license
JayWelborn/condonsax
1336dd1258a4b348d145a8e1603abf73c7c20947
6689db0b5c35420286587531b2e6eaac5f3c3bb7
refs/heads/master
2021-01-19T22:41:04.818558
2017-05-19T18:52:27
2017-05-19T18:52:27
88,843,128
1
0
null
null
null
null
UTF-8
Python
false
false
442
py
from django.db import models from albums.models import Album class HiddenAlbum(models.Model): album = models.ForeignKey(Album) slug = models.SlugField('URL slug', max_length=100, db_index=True) def get_absolute_url(self): """ Defines primary key and slug as components of url ...
[ "jesse.welborn@gmail.com" ]
jesse.welborn@gmail.com
006d8aa3c250bfd18c9ae5ac8b4bea0fc073de5f
b15d2787a1eeb56dfa700480364337216d2b1eb9
/samples/cli/accelbyte_py_sdk_cli/ugc/_admin_get_tag.py
f1d4a69d7577f3d4b4c8875fb982147bb1483e49
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
2,329
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template_file: python-cli-command.j2 # AGS Ugc Service (2.11.3) # pylint: disable=duplicate-code # pyli...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
c2519ef6d7e3ea9351129a217f76116d3a604cf9
fba81be05c6665690ab7bd35d1fb7c2bdaf72fce
/backend/standard_casualty_p_26548/urls.py
939afdacf8f0c94508920656ffbdcaaee9c65eb2
[]
no_license
crowdbotics-apps/standard-casualty-p-26548
5ff4e4433b340a47854bdd5b7d0fa52eb71ba127
f8de2e6d3c55f7a68457afe84532be4cdb4fbacf
refs/heads/master
2023-04-29T18:27:50.111889
2021-05-11T13:54:12
2021-05-11T13:54:12
366,399,402
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
"""standard_casualty_p_26548 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f82fc162a15b808dfc58d3ae84fd370ab77132b3
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/__init__.py
6ec72fc665b13e79f13317f3a017845a99847c9a
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
604
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
yunhaoling.noreply@github.com
4df438883771aae9c61194134f1d97f85de32a2a
5ed63c425f4bcc7a82c91920e58f03d60a8d9b3c
/bid/constants.py
f0cbc77421dd0be6068ef06a4196e2a1ab0ae806
[]
no_license
cesslab/winners_curse_v7
33d0f021d5e8fd5dee3aad99438b750ec7b3959f
4e096cf97dc027d727aad567c7cc859a3ba125f3
refs/heads/master
2023-09-05T03:57:02.065977
2021-10-13T21:33:47
2021-10-13T21:33:47
355,645,442
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
class Constants: name_in_url = "bid" players_per_group = None PART_NUMBER = 1 PART_ONE = 1 MIN_VALUATION = 0 MAX_VALUATION = 100 NUM_LOTTERIES = 4 ROUNDS_PER_LOTTERY = 10 num_rounds = NUM_LOTTERIES * ROUNDS_PER_LOTTERY PREFIX = "bid_lottery_"
[ "anwarruff@gmail.com" ]
anwarruff@gmail.com
b9004f1b93915081d0f1481c6719ff74811084ea
be52b968823880679d4d62e51ef0154a6df61d69
/Python/sWAP cASE.py
2a991761de5c71f47c66de6bfbddb817acf8f067
[ "MIT" ]
permissive
MonwarAdeeb/HackerRank-Solutions
ba165c9cdb4e9cc2aa4cdc19a6b388ec7e4d6385
571327e9688061745000ae81c5fd74ff7a2976d4
refs/heads/master
2023-07-27T11:45:15.675437
2021-09-04T04:50:20
2021-09-04T04:50:20
289,210,723
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
def swap_case(s): swapped = s.swapcase() return swapped
[ "monwar_adeeb@yahoo.com" ]
monwar_adeeb@yahoo.com
bca28c273b0ec998a9950b63d221fecb922e713b
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/ccx/api/v0/tests/test_views.py
489a776e6ef475c522310baa1abbf395dff3722d
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
49,561
py
""" Tests for the CCX REST APIs. """ import json import math import string from datetime import timedelta from unittest import mock import urllib import pytest import ddt from ccx_keys.locator import CCXLocator from django.conf import settings from django.urls import Resolver404, resolve, reverse from django.utils.ti...
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
1cee4617947c4877e2784a1c7ca58acba24dbcee
786de89be635eb21295070a6a3452f3a7fe6712c
/pyana/tags/V00-00-10/src/input.py
5aeb783cb0a06ff78ca4f1306da3746ced1206b1
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
# # $Id$ # # Copyright (c) 2010 SLAC National Accelerator Laboratory # import logging import threading import Queue from pypdsdata import io _log = logging.getLogger("pyana.input") def dgramGen(names): """ Datagram generator """ # group files by run number runfiles = {} for n in names : ...
[ "salnikov@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@b967ad99-d558-0410-b138-e0f6c56caec7
0cec27060bbaa91ea8a2fe8be0588bddeb3ec1ff
525c0cd60cf07e36c378539472703aa1e8354a86
/app/users/models.py
53f8eb8d9ff3a3a4b9ef50ac9285c68cfdbe417e
[]
no_license
yatimisi/bookkeeping-server
a4575b871eb18886bb53ec0fe314f41801983978
272710aa0066711ec605755226b4387286c7e404
refs/heads/master
2020-11-30T13:38:18.194740
2019-12-30T01:27:04
2019-12-30T01:27:04
230,407,853
0
0
null
null
null
null
UTF-8
Python
false
false
2,627
py
import os import time from django.db import models from django.contrib.auth.models import AbstractUser, UserManager as AuthUerManager from django.contrib.auth.tokens import default_token_generator from django.template import loader from django.utils.encoding import force_bytes from django.utils.http import urlsafe_bas...
[ "mea9096@gmail.com" ]
mea9096@gmail.com
c4b2387b95248fcc29f632db6c3466309d2568f4
e98a1e360e947a0f91edc3cb603d915a3630cfbc
/easy/1017_160_**intersection_of_two_linked_list.py
75d55c3e5c95d14a9f8c63cf3633510d95adf202
[]
no_license
myungwooko/algorithm
3a6a05cf7efa469aa911fe04871ef368ab98bb65
673e51199a2d07198894a283479d459bef0272c5
refs/heads/master
2021-07-04T01:17:41.787653
2020-12-25T00:59:33
2020-12-25T00:59:33
213,865,632
1
1
null
null
null
null
UTF-8
Python
false
false
3,996
py
""" 160. Intersection of Two Linked Lists Easy Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to intersect at node c1. Example 1: Input: intersectVal = 8, listA = [4,1,8,4,5], listB = [5,0,1,8,4,5], skipA = 2, skipB...
[ "myungwoo.ko@gmail.com" ]
myungwoo.ko@gmail.com
2b6f169bba089af91ccf40e5c920c1520be4b508
fb0dd23271a274a9b622183b2f66bdd40c46169e
/todo/decorators.py
3b30554e25d05f21b6f661c6b5fa71845c3b78ea
[]
no_license
adeelehsan/rest-todo-app
826e7639353ec8e2bd4d61fa673fd75e6c6ce846
ced2c819587b783eaeb90ba220fb46e6f796056e
refs/heads/master
2020-12-02T07:51:08.398935
2017-07-13T04:41:05
2017-07-13T04:41:05
96,734,896
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
# from .models import Task # # def user_has_perm(function): # def wrap(request): # if request.user.has_perm('todo.can_view'): # task = Task.objects.all() # return function(request, task) # else: # task = Task.objects.filter(user=request.user) # return ...
[ "adeel.ehsan@arbisoft.com" ]
adeel.ehsan@arbisoft.com
16a4aa3762f0897041f90f18f4cf21065746f6a8
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/resolve/ImplicitDunderDocWithClassAttrNewStyleClass.py
545b55d94a2e15a164d7dc0b7b25eb846fa95673
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
99
py
class A(object): __doc__ = 15 def foo(self): return __doc__ # <ref>
[ "Semyon.Proshev@jetbrains.com" ]
Semyon.Proshev@jetbrains.com
8b3c3535ec1c8228fdf9be210a9644992f4e1033
90b2b50be27da77b6680f4c7b9cfea53267f2f6d
/CodingInterviews/46.把数字翻译成字符串.py
c6fe0263f14df73e786772453b4d6bc777200922
[ "Apache-2.0" ]
permissive
xuhuasheng/algorithm-python
22cd3007d0b63d169d8f84b9b88787d6883e9c76
9c47c1add8da1ccfbee8882057883d90615d27b5
refs/heads/master
2023-01-18T22:52:22.027636
2020-11-20T09:48:23
2020-11-20T09:48:23
313,158,561
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
# 给定一个数字,按照如下规则翻译成字符串:0翻译成“a”,1翻译成“b”…25翻译成“z”。 # 一个数字有多种翻译可能,例如12258一共有5种,分别是bccfi,bwfi,bczi,mcfi,mzi。 # 实现一个函数,用来计算一个数字有多少种不同的翻译方法。 # 递归地思考问题,自底向上地解决问题 # f(n)表示从右边数第n位的结果 # f(0) = 1 # f(1) = 1 # f(n) = f(n-1) + g(n, n-1)f(n-2) # 当str(n)x10+str(n-1)在10-25时,g=1,否则=0 # 动态规划:实质是自底向上地计算并储存复用结果 # 时间复杂度:o(n) # 空间复杂度:o(n...
[ "xu_watson@163.com" ]
xu_watson@163.com
582600a5132f6e92437d624e360e300171afc73d
7a28b09805e6a925bb8fff2a06258c42cf9957f7
/parallel_wavegan/bin/compute_statistics.py
21f1d4d10af30691ffdd7f4b0e5ae3664bed6f9e
[ "MIT" ]
permissive
tantk/ParallelWaveGAN
cf55d4533e6899b51a6a44afb3247d14b5d83196
a204ac47357066c58a9662b8e9b619f53d19d043
refs/heads/master
2020-09-03T19:30:24.068755
2019-11-04T12:32:42
2019-11-04T12:32:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,287
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2019 Tomoki Hayashi # MIT License (https://opensource.org/licenses/MIT) """Calculate statistics of feature files.""" import argparse import logging import os import numpy as np import yaml from sklearn.preprocessing import StandardScaler from tqdm import ...
[ "hayashi.tomoki@g.sp.m.is.nagoya-u.ac.jp" ]
hayashi.tomoki@g.sp.m.is.nagoya-u.ac.jp
a7c1e6b42ee79fdf0c4da37853f738ecb2cb846d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_43/137.py
32bf9aa7b435162a23c136394f5bfa91268e72dc
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
996
py
def print_2d(tab): for e in tab: print(e) if __name__ == '__main__': fin = open("./test.in", "r") fout = open("./test.out", "w") line = fin.readline() N = int(line) for test in range(0, N): total = 0 num = fin.readline().replace("\n", "") base =...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5267c5cfb4bed1233a56ac7d2f2c81af75cc887d
9beac2738b54468e108b34e3d4f1455276b5885d
/saral_debug4.py
891b4251273f529ae74d6b96680d6c30d491e7c8
[]
no_license
preetising/Dictinory
f6c1d7186698a91de641fc5d899ecf8367ea0e2f
f681933d4b1dc23e8e1aff5168bd599314930af7
refs/heads/main
2023-08-20T19:56:59.696642
2021-10-10T08:21:43
2021-10-10T08:21:43
415,525,407
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
s={'umesh':21,'bijender':54,'amar':67,'peter':89,'sonu':56} a={'python':20,"gaurav":300,'dev':34,"karan":43} c={} for i in (s,a): c.update(i) print(c)
[ "noreply@github.com" ]
preetising.noreply@github.com
72f887b96c1f821a5ac3100152ea4535e27f17df
a255841ce67acc971eca1ac2ff5074835807db0b
/model/latticelstm.py
4126477bd2fc5f76d7588a56982e482d4333b33a
[]
no_license
zingp/ChineseNER
ca5ce27c8eec6d0ebc923a1e1c422fd31626c4bb
997f2455a19803a5975777dc759f0472b18a2625
refs/heads/master
2020-09-16T20:12:45.336845
2019-12-09T14:30:51
2019-12-09T14:30:51
223,877,733
0
0
null
null
null
null
UTF-8
Python
false
false
11,877
py
"""Implementation of batch-normalized LSTM.""" import torch from torch import nn import torch.autograd as autograd from torch.autograd import Variable from torch.nn import functional, init import numpy as np class WordLSTMCell(nn.Module): """A basic LSTM cell.""" def __init__(self, input_size, hidden_size, ...
[ "605156398@qq.com" ]
605156398@qq.com
161947c50d199b8842683b5136d3eeaaf338567d
3109e3a7f2f2dccc5a806695f0adbe0fed879112
/ecommerce/Loma/migrations/0029_auto_20190205_1945.py
335430bc000f2b635c63fc5a7519215234a82de3
[]
no_license
Maheshwari2604/ecommercee
9ebbf18b4fbf933a0d9641009f7f17ce836de587
4411e7e10eccda907711200d2c0d873db3d7f803
refs/heads/master
2020-04-20T18:03:49.575124
2019-02-12T16:02:05
2019-02-12T16:02:05
169,007,411
1
1
null
null
null
null
UTF-8
Python
false
false
397
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2019-02-05 14:15 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Loma', '0028_daily_price_list_loma_id'), ] operations = [ migrations.RenameModel( ...
[ "maheshwarishivam2604@gmail.com" ]
maheshwarishivam2604@gmail.com
f322e0b9b3bbf0ddf6522dc18c005c0b41c7478a
a57130d75ad75520217b92d3bd977394846501f7
/test.py
b983df123bd16dc281079046f1465292f05469d3
[]
no_license
gittygupta/slp
15153b9cb580ed8d35d6be4b157ed94ac41d4a4f
c43fc9a01ae67dfd28d147dc4ffc2f0a70e60199
refs/heads/master
2022-12-18T08:51:42.266621
2020-09-28T16:46:31
2020-09-28T16:46:31
293,038,095
0
0
null
null
null
null
UTF-8
Python
false
false
2,379
py
import tensorflow as tf import numpy as np from model import * from attention import * from data_utils import * from bert_utils import * # Global variables num_decoder_blocks = 6 num_heads = 8 d_model = 256 d_ffn = 256 d_out = 154 # models bert = Bert(max_sequence_length=80) decoder = Decoder(num_de...
[ "noreply@github.com" ]
gittygupta.noreply@github.com
aebc43e38204ef38f0a134e24421cf6b5df8c018
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03003/s239952205.py
9e63871a10ccf805a11575b5567761e5e95c710d
[]
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
790
py
def count_cs(str1, str2, MOD): """文字列str1, str2の共通部分列(Common Subsequence, CS)を数え上げる。 添字が異なる場合は異なる部分列として考える。 計算量 O(|str1||str2|) """ dp = [[0] * (len(str2) + 1) for _ in range(len(str1) + 1)] for i in range(len(str1)): for j in range(len(str2)): if str1[i] == str2[j]: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
172edb43fd3f057e687281d8ef76d0ff212314ad
4be56098894a95da5964622fc4102b69e4530ab6
/题库/227.基本计算器II.py
26bff70550aefbc302360bf6d887c2c6569af83d
[]
no_license
ACENDER/LeetCode
7c7c7ecc8d0cc52215272f47ec34638637fae7ac
3383b09ab1246651b1d7b56ab426a456f56a4ece
refs/heads/master
2023-03-13T19:19:07.084141
2021-03-15T09:29:21
2021-03-15T09:29:21
299,332,864
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
# !/usr/bin/env python3 # -*- coding: utf-8 -*- # @File : 227.基本计算器II.py
[ "1641429327@qq.com" ]
1641429327@qq.com
3e6fc91d43aac579360e7c6d3e082c7d2104718e
bf099f3425b590f6cbb39e8305eac5489e558e26
/笔记/re/python-trade/trade.py
ef4f03b4ad241931859eff03cbe3c3e8247eaceb
[]
no_license
Imtinmin/Note
399a08e185bf11e2ca9fbbe4823477e86e86ebe2
8f99a4c180b921baf46a838997bcce64c688fd70
refs/heads/master
2023-01-27T23:25:43.763941
2020-01-01T15:24:08
2020-01-01T15:24:08
188,774,377
1
1
null
2023-01-04T13:55:52
2019-05-27T05:07:47
PHP
UTF-8
Python
false
false
651
py
#!/usr/bin/env python # encoding: utf-8 # 如果觉得不错,可以推荐给你的朋友!http://tool.lu/pyc import base64 def encode(message): s = '' for i in message: x = ord(i) ^ 32 x = x + 16 s += chr(x) return base64.b64encode(s) def decode(message): a = base64.b64decode(message) s = '' for...
[ "954093370@qq.com" ]
954093370@qq.com
baeb2f37428917f977c80645386036cb215998fb
b6f153a037289e1363bb09b069888bfadbcd2b44
/iprPy/library/Library.py
8c25025222c15a221d783a468b1dc86796053b5e
[]
no_license
ad1v7/iprPy
da449c6f608cf6161e2ff757c71a6957c0b1cac8
f114f84de12ce9306629e3eb14c6e3e1f34566fb
refs/heads/master
2022-11-23T03:55:27.937077
2020-07-31T21:17:45
2020-07-31T21:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,903
py
# coding: utf-8 # Standard Python libraries from pathlib import Path import uuid # https://github.com/usnistgov/DataModelDict from DataModelDict import DataModelDict as DM # https://github.com/usnistgov/atomman import atomman as am import requests from .. import load_record from ..tools import aslist class Library...
[ "lucas.hale@nist.gov" ]
lucas.hale@nist.gov
8987f8644e2e99713f75adc99ac002c8bbce3e86
22bcb68759d516eea70d18116cd434fcd0a9d842
/scrap/infibeam_mobiles_scrap.py
f6a2586c2a736359955ad15e0a9a1b85a49fdc82
[]
no_license
lovesh/abhiabhi-web-scrapper
1f5da38c873fea74870d59f61c3c4f52b50f1886
b66fcadc56377276f625530bdf8e739a01cbe16b
refs/heads/master
2021-01-01T17:16:51.577914
2014-10-18T15:56:42
2014-10-18T15:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,656
py
import downloader import dom import urllib import re import datetime import math import simplejson as json import pymongo from collections import defaultdict import util siteurl='http://www.infibeam.com' referer='http://www.infibeam.com/Mobiles/search' ajax_url='http://www.infibeam.com/Mobiles/Search_ajax.action?store...
[ "lovesh.bond@gmail.com" ]
lovesh.bond@gmail.com
4fdf0eea5655ddf62a21084ec572485b7d410a69
5f4e13201d4c5b7edc8dbbda289380682a187bec
/nlpfr/nltk/test/doctest_nose_plugin.py
8b0dfecae97f59fa3dc62cfbe8b1662d9c2cd18f
[]
no_license
intellivoid/CoffeeHousePy
92f4fb344de757837c3d3da05cb5513e90408039
57c453625239f28da88b88ddd0ae5f1ecdd4de3c
refs/heads/master
2023-02-23T14:32:01.606630
2021-01-28T02:57:10
2021-01-28T02:57:10
324,419,067
0
2
null
null
null
null
UTF-8
Python
false
false
6,250
py
# -*- coding: utf-8 -*- from __future__ import print_function import re import sys import os import codecs import doctest from nose.util import tolist, anyp from nose.plugins.base import Plugin from nose.suite import ContextList from nose.plugins.doctests import Doctest, log, DocFileCase ALLOW_UNICODE = do...
[ "netkas@intellivoid.info" ]
netkas@intellivoid.info
db70a141cfb4f03bf7d9c154bdb978495ede765f
e5d5fa28999bcc6c642bb42dda93afd38e272b81
/LeetCode/1020. Number of Enclaves/solve1.py
65d26252539eea884af9a4350e4badff1630d7a4
[]
no_license
chiahsun/problem_solving
cd3105969983d16d3d5d416d4a0d5797d4b58e91
559fafa92dd5516058bdcea82a438eadf5aa1ede
refs/heads/master
2023-02-05T06:11:27.536617
2023-01-26T10:51:23
2023-01-26T10:51:23
30,732,382
3
0
null
null
null
null
UTF-8
Python
false
false
874
py
class Solution: def numEnclaves(self, grid: List[List[int]]) -> int: M, N = len(grid), len(grid[0]) def fill(grid, x, y): grid[x][y] = 0 for dx, dy in [[1, 0], [-1, 0], [0, 1], [0, -1]]: nx, ny = x+dx, y+dy if nx >= 0 and nx < M and ny >= 0 an...
[ "chiahsun0814@gmail.com" ]
chiahsun0814@gmail.com
f6752c0fb6fb382f2304473c74d1b6030f7c9ae9
092dd56a1bf9357466c05d0f5aedf240cec1a27b
/tests/pytests/topology/TestMeshGenerator.py
ea7d044b789593815e26b703c24303b498c72894
[ "MIT" ]
permissive
rwalkerlewis/pylith
cef02d5543e99a3e778a1c530967e6b5f1d5dcba
c5f872c6afff004a06311d36ac078133a30abd99
refs/heads/main
2023-08-24T18:27:30.877550
2023-06-21T22:03:01
2023-06-21T22:03:01
154,047,591
0
0
MIT
2018-10-21T20:05:59
2018-10-21T20:05:59
null
UTF-8
Python
false
false
1,078
py
#!/usr/bin/env nemesis # # ====================================================================== # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University at Buffalo # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://g...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
2e673b09d7834711a6bfc7f7be612714cb09bc5e
692ab314e970c5c814c2c5e417c6d8186b70b563
/demoscene/migrations/0101_create_production_blurb.py
0af1e86620e43459d40255fd00276fdb8e66e8cc
[]
no_license
alexanderk23/demozoo
127e09f389b099ac5a9f6bba65faff66c2380067
a6f57d76958120280f93c7f94f51771fe26c6f09
refs/heads/master
2021-01-12T20:32:01.364148
2015-06-06T00:24:06
2015-06-06T00:24:06
37,033,533
0
1
null
2015-06-07T21:47:58
2015-06-07T21:47:58
null
UTF-8
Python
false
false
26,815
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'ProductionBlurb' db.create_table('demoscene_productionblu...
[ "matt@west.co.tt" ]
matt@west.co.tt
934a0a3c85ee77b48326bd4b5ad873017221519d
43c831fa0534fac542430f7aa5d8197a0aa138a3
/lib/datasets/env_voc.py
faca99985163d3cc1d4a4e46cf9785db34d7a850
[ "MIT" ]
permissive
MachineLP/tf-faster-rcnn
479d82697ba81c38688d729483865279c27d0302
9adb712413a65f2896f301b0161db9a0218b0f06
refs/heads/master
2021-05-15T15:59:44.624769
2018-02-05T03:35:38
2018-02-05T03:35:38
107,363,505
0
0
null
2017-10-18T05:39:47
2017-10-18T05:39:47
null
UTF-8
Python
false
false
10,990
py
# -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick and Xinlei Chen # -------------------------------------------------------- from __future__ import absolute_import from __future__ i...
[ "noreply@github.com" ]
MachineLP.noreply@github.com
72097673a6fa9978b2b514de0f6394c8989f0578
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/image_classification/DPN-68_ID1889_for_PyTorch/timm/models/senet.py
dc181a23bdedd4edfdf006e460e3fd94e7f83571
[ "GPL-1.0-or-later", "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MIT", "LGPL-2.0-or-later", "BSD-3-Clause", "CC-BY-NC-4.0", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
19,644
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # 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 ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
346ffe2563d7b5009ca8d5426353249ca86ced67
b252d1f8ec5f68bf5f935c000e0bb011718ea691
/virtualenvs/ninetyseven/src/savoy/contrib/events/.svn/text-base/admin.py.svn-base
0a3e21da84e64ebedc6f1ae3b91e7b3694c532de
[]
no_license
syncopated/97bottles
2ceace7ed6a852bef61796733a08eb878b045152
08f4210e3de77c4564fcc8c1a2e9b47a0088249f
refs/heads/master
2016-08-05T07:48:51.109089
2012-12-02T17:38:35
2012-12-02T17:38:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
from django.contrib import admin from savoy.contrib.events.models import * class OneOffEventTimeInline(admin.TabularInline): model = OneOffEventTime extra = 3 class AllDayEventTimeInline(admin.TabularInline): model = AllDayEventTime extra = 3 class WeeklyEventTimeInline(admin.TabularInline): model = We...
[ "keith@dkeithrobinson.com" ]
keith@dkeithrobinson.com
29d849cb3d35305389e0177261d40116767b242f
6879a8596df6f302c63966a2d27f6b4d11cc9b29
/abc/problems160/153/b.py
97d4c73fb95bd547573fa60d8ad0af882d0c767f
[]
no_license
wkwkgg/atcoder
41b1e02b88bf7a8291b709306e54cb56cb93e52a
28a7d4084a4100236510c05a88e50aa0403ac7cd
refs/heads/master
2020-07-26T03:47:19.460049
2020-03-01T18:29:57
2020-03-01T18:29:57
208,523,188
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
H, N = map(int, input().split()) An = list(map(int, input().split())) print("Yes" if sum(An) >= H else "No")
[ "yujin@komachi.live" ]
yujin@komachi.live
55fad1ea837d7346b46547d70e497c4f672c2024
a86ca34e23afaf67fdf858df9e47847606b23e0c
/lib/temboo/Library/Klout/ListTopics.py
306595bee299af4f646bec8c2a32e475e9fa0bbc
[]
no_license
miriammelnick/dont-get-mugged
6026ad93c910baaecbc3f5477629b0322e116fa8
1613ee636c027ccc49c3f84a5f186e27de7f0f9d
refs/heads/master
2021-01-13T02:18:39.599323
2012-08-12T23:25:47
2012-08-12T23:25:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,864
py
############################################################################### # # ListTopics # Retrieves a list of the top three topics for Twitter users you specify. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreog...
[ "miriam@famulus" ]
miriam@famulus
9221dbcaffe38d0448eee87f5f3ed8162b467596
8a69c886a8bde80c0b8f1f0c03b0de6f31b784dd
/tests/functional/parsing/test_parsing_insert.py
f593edf1130db39e74abbcec79f249ed2e9401ad
[ "BSD-3-Clause" ]
permissive
bouthilx/kleio
c774a85b851081f264a8bbae0f45cd45ebf3fa82
bf6291f95d9c35774194e3d9ed678db4544ca345
refs/heads/develop
2020-03-28T00:43:02.218807
2018-08-19T02:26:35
2018-08-19T02:26:35
139,289,100
1
1
null
2018-08-19T02:26:35
2018-07-01T00:18:04
Python
UTF-8
Python
false
false
1,086
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Perform functional tests for the parsing of the different commands.""" import argparse import os import pytest from kleio.core.cli import insert def _create_parser(need_subparser=True): parser = argparse.ArgumentParser() if need_subparser: subparsers...
[ "xavier.bouthillier@umontreal.ca" ]
xavier.bouthillier@umontreal.ca
56008640a4a20567e577c9b682e01646a60c0ea3
16c4d625ad9e945471a2a267e9992c7e9260214f
/criterium/forms.py
4a77f9477282f7224cc15e9e7c0b8948627cbecb
[ "BSD-2-Clause" ]
permissive
andywar65/rp_repo
8cea1c81533250b49a4036fb9b0ff6e93a0dde66
726c1426d738b962cabeabd8995aa35767df0c41
refs/heads/master
2023-05-26T13:47:48.329624
2021-06-05T08:35:05
2021-06-05T08:35:05
255,056,987
1
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
from django import forms from django.forms import ModelForm from .models import Race, Athlete from cronache.models import Event from users.models import User class RaceForm(ModelForm): event = forms.ModelChoiceField(label="Evento", required = False, queryset = Event.objects.filter(tags__name__in = ['criter...
[ "andy.war1965@gmail.com" ]
andy.war1965@gmail.com
c671f526cdc219ba9326376d219ae533bae11376
33836016ea99776d31f7ad8f2140c39f7b43b5fe
/fip_collab/2016_07_07_ideas_md3/plot_linkage_check.py
fa41cb4110e8f87b1600d492c07e5f189351bd32
[]
no_license
earthexploration/MKS-Experimentation
92a2aea83e041bfe741048d662d28ff593077551
9b9ff3b468767b235e7c4884b0ed56c127328a5f
refs/heads/master
2023-03-17T23:11:11.313693
2017-04-24T19:24:35
2017-04-24T19:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,795
py
import numpy as np import matplotlib.pyplot as plt import functions as rr from constants import const import h5py def plot_check(par, n_pc, n_poly, H): C = const() # colormat = np.random.rand(len(set_id_set), 3) colormat = np.array([[.3, .3, 1.], [.3, 1., .3], ...
[ "noahhpaulson@gmail.com" ]
noahhpaulson@gmail.com
fe007eb975a9d674a4485a4870ad52f056034e72
d63b1b36634b68070f6f3c017c0250a7ea646e6f
/SMC/GEM5/gem5/src/dev/x86/Pc.py
1f1f3ca89ba3a345f277583ed85d6800e4ecccc7
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later" ]
permissive
jiwon-choe/Brown-SMCSim
ccf506d34d85fb3d085bf50ed47de8b4eeaee474
ff3d9334c1d5c8d6a00421848c0d51e50e6b67f8
refs/heads/master
2021-06-30T00:15:57.128209
2020-11-24T03:11:41
2020-11-24T03:11:41
192,596,189
15
8
MIT
2019-06-20T15:43:00
2019-06-18T18:53:40
C++
UTF-8
Python
false
false
3,388
py
# Copyright (c) 2008 The Regents of The University of Michigan # 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 ...
[ "brandnew7th@gmail.com" ]
brandnew7th@gmail.com
aa873476e46a8e79f0c40ca8c00123eeb3510f1e
4297f48daaa2aa0f5e4058bbeee111bf9236790e
/cv/hyper-network/residual_network_on_cifar10.py
cc01d12854cfb994273a508ce822eadd70d0987e
[]
no_license
HQ01/fast-weight
21d9c379c8bccc29aced911d35f3b0784a072c8f
e0d9afe15c05fca966bb03a5b571a5486d6629c6
refs/heads/master
2021-01-21T11:54:54.423127
2017-05-15T13:08:42
2017-05-15T13:08:42
91,762,993
0
1
null
2017-05-19T03:46:09
2017-05-19T03:46:09
null
UTF-8
Python
false
false
3,661
py
import mx_layers as layers def _convolution(**kwargs): defaults = {'kernel_shape' : (3, 3), 'stride' : (1, 1), 'pad' : (1, 1), 'no_bias' : True} defaults.update(kwargs) return layers.convolution(**defaults) def _normalized_convolution(network, **kwargs): network = layers.batch_normalization(network, fix_gamma...
[ "yg1246@nyu.edu" ]
yg1246@nyu.edu
796bdbddda266ec0bbdc64183fe18db01383609b
ceb620c4be8b34f4aa08156226187db081fc3b55
/loca_13/ext_personalizacion_lanta/model/models.py
b02f0c3f8c6077ee5b65dd0c562cef2f423c005a
[]
no_license
hjrhjr/entrenamiento_13_odoo_ref
f73e292b91d085473283f63a88ccd2363a03d9bf
9a492c006d9c0aab68d0b095281dafda97ebdfda
refs/heads/main
2023-08-25T06:46:39.075724
2021-10-19T14:51:27
2021-10-19T14:51:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,563
py
# -*- coding: utf-8 -*- import logging import json from odoo.tools import float_is_zero, float_compare, safe_eval, date_utils, email_split, email_escape_char, email_re from odoo import fields, models, api, exceptions, _ from odoo.exceptions import UserError, ValidationError _logger = logging.getLogger('__name__') ...
[ "inmldrsolucionestecnologicas@gmail.com" ]
inmldrsolucionestecnologicas@gmail.com
c696330ec9c2433c9e5367b330c460090a719861
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-vas/huaweicloudsdkvas/v2/model/start_task_request.py
fc412068b562f5923f2f59232c150d5fd5cb53c2
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,825
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class StartTaskRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute n...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
6cc38a6ccf3295ef06d5d0013c3c4c686aec7aa5
e23a4f57ce5474d468258e5e63b9e23fb6011188
/110_concurrency_parallelism/001_asynchronous/_exercises/templates/Async Techniques and Examples in Python/09-built-on-asyncio/the_unsync/nosync.py
c927d59cbe969ccdd7bff7d4f230fce878fb7974
[]
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,112
py
# ______ da.. # ______ ma.. # ______ ti.. # ______ re.. # # # ___ main # t0 _ d_t_.d_t_.n.. # # c.. # c.. # c.. # d.. # d.. # d_s_m.. # d_s_m.. # w.. # w.. # w.. # w.. # # dt _ d_t_.d_t_.n.. - t0 # print("Synchronous version done in |:,.2_ seconds.".f.. ?.t_s.. # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
18e812bf028da39af0bf68630a41dcadfb9960b9
ece0d321e48f182832252b23db1df0c21b78f20c
/engine/2.80/python/lib/idlelib/pyparse.py
6196c2b7edc9eaae0d61d479ff15db66deb72d79
[ "Unlicense", "GPL-3.0-only", "Font-exception-2.0", "GPL-3.0-or-later", "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain-disclaimer", "Bitstream-Vera", "LicenseRef-scancode-blender-2010", "LGPL-2.1-or-later", ...
permissive
byteinc/Phasor
47d4e48a52fa562dfa1a2dbe493f8ec9e94625b9
f7d23a489c2b4bcc3c1961ac955926484ff8b8d9
refs/heads/master
2022-10-25T17:05:01.585032
2019-03-16T19:24:22
2019-03-16T19:24:22
175,723,233
3
1
Unlicense
2022-10-21T07:02:37
2019-03-15T00:58:08
Python
UTF-8
Python
false
false
20,146
py
"""Define partial Python code Parser used by editor and hyperparser. Instances of ParseMap are used with str.translate. The following bound search and match functions are defined: _synchre - start of popular statement; _junkre - whitespace or comment line; _match_stringre: string, possibly without closer; _itemre - l...
[ "admin@irradiate.net" ]
admin@irradiate.net
9478c584e8720ca8e131eae84299c0383e0e907d
ad08ee023345fcc42fdac6fab527809b2d502fa5
/peek_plugin_diagram/_private/tuples/location_index/LocationIndexUpdateDateTuple.py
3ed190106e964d14ae31c9201f88e18f70586ab8
[]
no_license
Synerty/peek-plugin-diagram
fcaefc414334e4584976d0b0567712bb47a3082a
8efffa2bb3877b7fcd3736b80df53adc784ca69c
refs/heads/master
2021-07-03T17:42:17.129328
2020-10-27T04:55:52
2020-10-27T04:55:52
191,874,585
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
from typing import Dict from peek_abstract_chunked_index.private.tuples.ACIUpdateDateTupleABC import \ ACIUpdateDateTupleABC from peek_plugin_diagram._private.PluginNames import diagramTuplePrefix from vortex.Tuple import addTupleType, TupleField, Tuple #: This the type of the data that we get when the clients ...
[ "jarrod.chesney@synerty.com" ]
jarrod.chesney@synerty.com
3109118228c8de62a74220aa01d858cbd0adb4b1
4b660991e5c9c93c83dccccdd3ea91531201e8a3
/DSA/string/practise/find_left_most_char_that_repeat.py
07b8bae3a720ad130348c7581e41db275e14f38b
[ "MIT" ]
permissive
RohanMiraje/DSAwithPython
2a1515fa5f9e5cc76b08a3e6f0ce34e451fb6f4b
ea4884afcac9d6cc2817a93e918c829dd10cef5d
refs/heads/master
2022-09-24T08:57:04.695470
2021-10-21T01:06:06
2021-10-21T01:06:06
238,381,770
2
0
null
null
null
null
UTF-8
Python
false
false
2,613
py
import sys """ Find index of leftmost char that repeats Naive approach-TC:O(n^2) SC:O(1) start string travers from left: check if curr left index value is repeating at its right remaining string by traversing: if found repeated then result curr left index return -1 if no repeated found better approach:...
[ "rohanmiraje19@gmail.com" ]
rohanmiraje19@gmail.com
8791d022fce2f7641b74d13eb5342d85e53225e5
12db1c76e5411708fefd207c6a819e8e95551fe7
/User/migrations/0013_auto_20201102_0842.py
d63358a6842a9e951c6e82abd5b55e74766b429b
[]
no_license
Jyonn/Saying
5bbfffa06895211f44ae6c424223a400cd9d9223
a32848560bc524011c1da47f509d94343f63ee59
refs/heads/master
2023-01-06T15:59:33.394067
2020-11-04T12:15:51
2020-11-04T12:15:51
123,360,151
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
# Generated by Django 3.0.6 on 2020-11-02 08:42 import SmartDjango.models.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('User', '0012_auto_20180301_0040'), ] operations = [ migrations.AlterModelO...
[ "lqj679ssn@qq.com" ]
lqj679ssn@qq.com
962e2ee557ca80df05cdb6c53d37554fb019dc11
93e058780c3fd4d7f40dbcac263fb58f63b51b6f
/integration_test/test_logging.py
0d6fdb368d86e31734f05f185e19f07bea7a1d96
[ "Apache-2.0" ]
permissive
multiscale/muscle3
2b6ffc34240b92bb2ade3e28e4dde1b6d3f8e3e7
be8b21cfe97218d2a941b63d5762387716a9b3f8
refs/heads/develop
2023-07-12T06:12:03.510684
2023-07-06T20:11:41
2023-07-06T20:11:41
122,876,985
24
15
Apache-2.0
2023-09-01T19:47:16
2018-02-25T21:07:17
Fortran
UTF-8
Python
false
false
1,717
py
import ymmsl from ymmsl import Reference from libmuscle.logging import LogLevel, LogMessage, Timestamp from libmuscle.manager.manager import Manager from libmuscle.mmp_client import MMPClient def test_logging(log_file_in_tmpdir, caplog): ymmsl_text = ( 'ymmsl_version: v0.1\n' 'model:\n' ...
[ "l.veen@esciencecenter.nl" ]
l.veen@esciencecenter.nl
116dcc95d5b9a8bebd5e1bde8ab774eb1b84fd88
03c00aa07607c1f206c0fb3cf00fc5c510d7a4bf
/Infoplus/models/order_load_program.py
000ac0c33ad65779c78e6b4df5d3c844be7667a4
[]
no_license
infopluscommerce/infoplus-python-client
748cc9af739615036c52adce70aa7f4303601b97
bde657057fedb5396ecf6c42e8ba668456bd1c43
refs/heads/master
2023-08-23T11:32:01.160320
2017-03-17T14:43:15
2017-03-17T14:43:15
58,404,638
2
2
null
null
null
null
UTF-8
Python
false
false
3,719
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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...
[ "kdonnelly@infopluscommerce.com" ]
kdonnelly@infopluscommerce.com