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
1f89bc44d1c2a30996e52ebf66048b984f57f8fe
5aeeae3405b965fc2250a788b8ad42a79801d57d
/work/8. 분할정복 & 백트래킹/퀵 정렬.py
26e7c7ec28725325fc4557b8cd4fbbc3a79da0dd
[]
no_license
care9000/TIL
18d6f8ce32519adc5616c38f8c204381e798fe35
68d168f658ad24ded89ccef571b2b6cfb5faa936
refs/heads/master
2023-01-11T21:42:43.078848
2020-01-21T12:35:05
2020-01-21T12:35:05
195,938,014
0
0
null
2023-01-07T11:36:58
2019-07-09T05:22:53
Jupyter Notebook
UTF-8
Python
false
false
605
py
A =[3, 2, 4, 6, 9, 1, 8, 7, 5] l = 0 r = len(A) - 1 def quickSort(arr, l, r): if l < r: s = partition(arr, l, r) quickSort(arr, l, s-1) quickSort(arr, s+1, r) def partition(arr, l, r): p = arr[l] i = l j = r while i < j: while arr[i] <= p: i += 1 ...
[ "audgnsdhvkf@naver.com" ]
audgnsdhvkf@naver.com
aee369e860b1afe0742726830949c4c52131cbe6
f8a97e4ba84209f86ae64a5e0b45c56edf5dfb79
/tests/test_decode_data.py
9029096ff6167d4b1b8e2b1682000f339535aa8a
[ "MIT" ]
permissive
wangz10/liac-arff
6054b1927efe5bcbeae55e4bab08850b53088e81
fb77b88a7d11b7536a24181b624f1eea03d4f380
refs/heads/master
2020-12-28T21:29:30.409041
2014-05-11T20:09:44
2014-05-11T20:09:44
19,625,741
1
0
null
null
null
null
UTF-8
Python
false
false
997
py
import unittest import arff class ConversorStub(object): def __init__(self, r_value): self.r_value = r_value def __call__(self, value): return self.r_value(value) class TestDecodeData(unittest.TestCase): def get_decoder(self, conversors): decoder = arff.ArffDecoder() decod...
[ "renato.ppontes@gmail.com" ]
renato.ppontes@gmail.com
c25bd266168a103a5c997b75bc9bb681163b738a
72880d033c9948098291efebf934255635f8c6ea
/pythonexamples/module2.py
d0772fba5bae6c3fbbff53c56316135e8f28d4e7
[]
no_license
manutdmohit/mypythonexamples
729347aec300bda01f629224337c84d5838a71f2
b189c201d07b1a345478699bbb3852c02eb96ce5
refs/heads/master
2023-04-18T01:55:22.026867
2021-05-13T05:59:09
2021-05-13T05:59:09
366,946,854
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
def add(a,b): print('Module 2 add funtion:') print('The Sum:',a+b)
[ "saudmohit@gmail.com" ]
saudmohit@gmail.com
8a3a91d0816c3c3e9425c903b84b3fc3dc161cd4
cc08f8eb47ef92839ba1cc0d04a7f6be6c06bd45
/Personal/Jaypur3/app/views.py
3648f2d836dd534dcaeddacf36e8255dbbde70eb
[]
no_license
ProsenjitKumar/PycharmProjects
d90d0e7c2f4adc84e861c12a3fcb9174f15cde17
285692394581441ce7b706afa3b7af9e995f1c55
refs/heads/master
2022-12-13T01:09:55.408985
2019-05-08T02:21:47
2019-05-08T02:21:47
181,052,978
1
1
null
2022-12-08T02:31:17
2019-04-12T17:21:59
null
UTF-8
Python
false
false
373
py
from django.shortcuts import render def home(request): return render(request, 'app/index.html') def details(request): return render(request, 'app/detail.html') def listing(request): return render(request, 'app/listing.html') def map(request): return render(request, 'app/google map.html') def map1(...
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
fe8153ee8ee599b7d16c8a245c22daedef1c53d9
7edd1769ff6cbd6a73ee4c4a8a4973160f901afb
/users/urls.py
64b43a2a4f775c694c71119a98e4f09c4a689779
[ "MIT" ]
permissive
danyuanwang/learning_log
1c1b2311105045c78c6643e34b669b3d53629e82
d0d4ffc677d882e0f1b2094f375899d9fdbd3002
refs/heads/master
2021-06-28T10:16:51.042063
2019-12-01T06:55:21
2019-12-01T06:55:21
168,908,931
0
0
MIT
2021-06-10T21:10:38
2019-02-03T04:25:15
Python
UTF-8
Python
false
false
1,025
py
"""learning_log URL Configuration 1. Import the include() function: from django.urls import include, path The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import view...
[ "danyuanwang@hotmail.com" ]
danyuanwang@hotmail.com
59ec136a820a8f8d2915faedf0dae1545c8b0a9d
2230ad238ff3ee1b2055f5c55e053e3940fa5530
/billing/admin.py
f940c0bb2a4de0ab323214b64e5059746111d99a
[]
no_license
mahmoudabuelnaga/U-Ecommerce
c04347409705b8ae58f5f4a900c1aa08c9f7b86a
6a7922b343980ab0d5ba09e0176f20339fe768f2
refs/heads/master
2020-12-07T09:55:28.786052
2020-01-18T02:24:04
2020-01-18T02:24:04
232,697,995
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from django.contrib import admin from .models import BillingProfile # Register your models here. admin.site.register(BillingProfile)
[ "mahmoudaboelnaga392@gmail.com" ]
mahmoudaboelnaga392@gmail.com
be96c9426f8ca9515512cc475bcde6c754b8738b
00f7fafdaba9931edcbcd2632ac1682d245e89cb
/bucket_snake/iam/util.py
2efc510ca465ecd8de4cc11b3bbfc0edafdc97a8
[ "Apache-2.0" ]
permissive
coffeecoco/bucketsnake
a41ae4dde86d363d682cd023d7afafb580086838
75438be05d3ed77d9795c135c7a6817bc7c6a8a2
refs/heads/master
2020-03-24T10:41:56.432507
2018-01-04T22:02:29
2018-01-04T22:02:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,419
py
""" .. module: bucket_snake.iam.util :platform: Unix :copyright: (c) 2017 by Netflix Inc., see AUTHORS for more :license: Apache, see LICENSE for more details. .. author:: Mike Grima <mgrima@netflix.com> """ import json import boto3 from botocore.exceptions import ClientError from bucket_snake.config impo...
[ "mgrima@netflix.com" ]
mgrima@netflix.com
191f6f8f966cdcd64ca0c48d9a995f0b98627b1c
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Reconstruction/RecoAlgs/CaloRingerAlgs/share/CaloRinger_jobOptions.py
f76213e4e8a81ea8596d83c61369397b531193a0
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
3,869
py
__doc__ = "JobOption fragment to add CaloRinger algorithm to run." from AthenaCommon.Logging import logging from CaloRingerAlgs.CaloRingerFlags import caloRingerFlags from CaloRingerAlgs.CaloRingerAlgorithmBuilder import CaloRingerAlgorithmBuilder mlog = logging.getLogger( 'CaloRinger_joboptions.py' ) mlog.info('Ent...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
2b2337a0f5c3e5f00675fc7a8f180ce51dbbcf82
caed98915a93639e0a56b8296c16e96c7d9a15ab
/Walmart Labs/Minimum Window Substring.py
f7cfd442d9418f3e685aa2411f2061d921adb760
[]
no_license
PiyushChandra17/365-Days-Of-LeetCode
0647787ec7e8f1baf10b6bfc687bba06f635838c
7e9e9d146423ca2c5b1c6a3831f21dd85fa376d5
refs/heads/main
2023-02-13T10:41:36.110303
2021-01-17T11:58:51
2021-01-17T11:58:51
319,974,573
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
class Solution: def minWindow(self, s: str, t: str) -> str: need,missing = collections.Counter(t),len(t) i=I=J=0 for j,c in enumerate(s,1): missing -= need[c] > 0 need[c] -= 1 if not missing: while i < j and need[s[i]]...
[ "noreply@github.com" ]
PiyushChandra17.noreply@github.com
e4a4f372a81b9fe55e470d876f62ccf5bfeefee2
0cc4eb3cb54f8394c127ace62d3108fdb5230c85
/.spack-env/view/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2/email/charset.pyi
d1f5de5c5652a73b26d677b6eec406f5f4c5e958
[]
no_license
jacobmerson/spack-develop-env
5b2d76f58c0b64ae97c64f77a3c4d33a770c71c8
5fca20ca343b1a76f05fc635c87f94ed25417d94
refs/heads/master
2022-07-04T02:22:50.264727
2020-05-06T05:13:50
2020-05-06T05:13:50
261,657,112
0
0
null
null
null
null
UTF-8
Python
false
false
192
pyi
/lore/mersoj/spack/spack/opt/spack/linux-rhel7-x86_64/gcc-7.3.0/py-jedi-0.17.0-zugnvpgjfmuk5x4rfhhxlsknl2g226yt/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2/email/charset.pyi
[ "mersoj@rpi.edu" ]
mersoj@rpi.edu
5e6473e7e1af66b4bd185e365a7e35548a48dc13
b090bf561b3ef6a898c6552f138cf4b6410bb51c
/tasks.py
07bacd1efdebea02c9e21fbcb9419c09ed689b89
[ "Apache-2.0" ]
permissive
kevanloy/elections-officials
35ed14d622837e8e6e3ceab54bb44739f2a01382
a88cc2add866463209658623178f94f0ac99e77b
refs/heads/master
2022-10-22T11:48:49.378130
2020-06-10T00:47:12
2020-06-10T07:45:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
from glob import glob import os from invoke import task VENV_ACTIVATE = "venv\\Scripts\\activate" if os.name == 'nt' else ". ./venv/bin/activate" @task def collect(c, state): if state == 'all': scripts = glob('states/*/main.py') else: scripts = [f'states/{state}/main.py'] for script in scripts: pri...
[ "tianhuil@cs.princeton.edu" ]
tianhuil@cs.princeton.edu
5d4dfd8d43f9c4f37d65648e2c305e00bd1e36c7
8ca70628ca811e08fb77b8e251fc8e5049486a65
/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/__init__.py
5e5e12eab09509ea5eb2cf43fbe38586c151d0a3
[ "MIT" ]
permissive
Tana8M/airbyte
a19544d2f7997ec7551793f7077d3e02bfe6ac84
49296ef657be272684c7259ed0d6be06e574dbe1
refs/heads/master
2023-04-15T15:04:22.849307
2021-04-23T23:12:55
2021-04-23T23:12:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
""" MIT License Copyright (c) 2020 Airbyte Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
[ "noreply@github.com" ]
Tana8M.noreply@github.com
617cac18be71f61f641c3414a0ee5f64fabb7538
3a5ea75a5039207104fd478fb69ac4664c3c3a46
/vega/networks/mobilenet.py
16ea745af687a400dba875704bb57fd58540efcb
[ "MIT" ]
permissive
fmsnew/vega
e3df25efa6af46073c441f41da4f2fdc4929fec5
8e0af84a57eca5745fe2db3d13075393838036bb
refs/heads/master
2023-06-10T04:47:11.661814
2021-06-26T07:45:30
2021-06-26T07:45:30
285,174,199
0
0
MIT
2020-08-11T14:19:09
2020-08-05T03:59:49
Python
UTF-8
Python
false
false
3,827
py
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the ...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
1a8296d15943fad6bd2b93c75b37e0b71085e067
3ed70536d4d06b2ac43b64976ddc43a5d7025b31
/ma2333.py
3f1e0b7738e898c6868702f1657c7ed3db40a131
[]
no_license
LuisHenrique01/Questoes_URI
7f1d397e3cd055349939184603eb86cb4bf43d65
35c8e77eb7cd9da96df4268b5d71f3ad87446c89
refs/heads/master
2020-07-22T08:12:12.700484
2020-04-12T17:39:29
2020-04-12T17:39:29
207,126,339
3
0
null
null
null
null
UTF-8
Python
false
false
243
py
tam = int(input()) fatias = list(map(int, input().split())) fatias.extend(fatias) resp = max(0, fatias[0]) for i in range(1, 2*tam-1): fatias[i] = max(fatias[i], fatias[i] + fatias[i-1]) resp = max(resp, fatias[i]) print("%d"%resp)
[ "luizbueno1201@gmail.com" ]
luizbueno1201@gmail.com
946689c2d195bb5cb7784311acc98d48d4dc29f9
6e2487477765a38604cc94ca96af4774dbd88f58
/hc/accounts/tests/test_unsubscribe_reports.py
2cba8964ed6bbec7b3dca594427de8af0c10096a
[ "BSD-3-Clause" ]
permissive
herbertUG/healthchecks
e247428012ef8e0c79fe3fe44567b6f9eaf9b298
1cdb6e6d1d1a5bed7026132ed316213e60cb6be1
refs/heads/master
2020-09-28T08:56:17.415441
2019-12-06T06:58:32
2019-12-06T06:58:32
226,740,247
4
0
BSD-3-Clause
2019-12-08T22:20:23
2019-12-08T22:20:21
null
UTF-8
Python
false
false
1,573
py
from datetime import timedelta as td from django.core import signing from django.utils.timezone import now from hc.test import BaseTestCase class UnsubscribeReportsTestCase(BaseTestCase): def test_it_unsubscribes(self): self.profile.next_report_date = now() self.profile.nag_period = td(hours=1) ...
[ "cuu508@gmail.com" ]
cuu508@gmail.com
4e0dd3544cb1926a9d4848a1c9f8702eb40d388e
c2ae65792af1fab2e7843303ef90790819f872e8
/APIs/PubNub/venv/bin/easy_install
21b366268e81fcbcc11ac1073af38d33e3aa1998
[]
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
271
#!/var/www/PythonSampleCodes/APIs/PubNub/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "behappydev@gmail.com" ]
behappydev@gmail.com
54aa083ee88bcbc2e50bf28de95d45f75dd30198
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.2/tests/regressiontests/admin_validation/__init__.py
b46ef47f21939edf339281c3b9647396663f9dd3
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
116
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.2/tests/regressiontests/admin_validation/__init__.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
ecbb58d5188da38702d841e1af45e7f952c3e50d
b15d2787a1eeb56dfa700480364337216d2b1eb9
/samples/cli/accelbyte_py_sdk_cli/dsmc/_count_server_detailed.py
6bb057c3406c0efbe0aefbbf4ae0c6c1549c986b
[ "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 Dsm Controller Service (6.4.0) # pylint: disable=duplicate-c...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
464186b4d156432ce8d4430ced2fef390d8d27ef
b04b5d506cbebeb5a4e7a27273bf11321962a4c3
/basenji/dataset.py
6515bd5d0ae1adc3baf6e4208214dc94986cff22
[ "Apache-2.0" ]
permissive
tderrien/basenji
e5c1c14462e0ce210c614b52e7316b0ea769f093
d095bbb60d48a679b663b8d4b9e98ce408938928
refs/heads/master
2022-10-26T10:56:16.432146
2020-06-19T00:44:36
2020-06-19T00:44:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,238
py
# Copyright 2017 Calico LLC # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # https://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, sof...
[ "drk@calicolabs.com" ]
drk@calicolabs.com
1541c69a731f8e863afd891901fbbb602d35516f
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/components/spellcheck/common/DEPS
9ae30d0ed411632ceeab4cfc87c398c3f60d5281
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
Python
false
false
48
include_rules = [ "+ipc", "+mojo/public", ]
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
78cfc4d2702a1df1ad8f4a83ecf6c0a6a0ebbab5
cd629fc9da6d6aa08b21b356b50e0d5db6c5eae7
/tinypy/compiler/__main__.py
7ab3ce826fd110eeedd520ba3c04af2e0581b0a5
[ "MIT", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Aareon/tinypy
98e660762ebd5101cfb5e570d7317c7caafb7cbc
5cd2551d552d69efa6cee036394e44eac74f9e20
refs/heads/master
2023-02-21T12:54:28.383700
2021-01-21T05:37:28
2021-01-21T05:37:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,089
py
from tinypy.compiler import py2bc from tinypy.compiler.boot import * from tinypy.compiler import disasm from tinypy.compiler import opcodes def do_shorts(opts, optstring, shortopts, args): while optstring != '': opt, optstring = optstring[0], optstring[1:] if short_has_arg(opt, shortopts): ...
[ "rainwoodman@gmail.com" ]
rainwoodman@gmail.com
ea50fe72d16248ff4c910ad7d3184b37f700ce07
b4982d7ffb9e65db8432e7728f89fa2dd4878aa6
/Operators/ternary_operators.py
8006303889fc86be61256074b0388b00c5434b1c
[]
no_license
anupjungkarki/30-Days-Python-Challenge
1d8e794235ac60e098f704cefa2c4a461134e8a4
96be38590a159d59397b122f8ee171574f5a556c
refs/heads/master
2023-06-04T13:24:16.250487
2022-12-05T09:46:26
2022-12-05T09:46:26
327,277,767
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
# Ternary operators also known as conditional expression are operators that evaluate # something based on a condition being true or false. # syntax: [on_true] if [expression] else [on_false] a, b = 10, 20 min_value = a if a < b else b print(min_value)
[ "anupkarki2012@gmail.com" ]
anupkarki2012@gmail.com
f0150972ebf6dc8351066ed0fba527a507f91760
91438802ee114b2fb945aae4105a17993dd6953d
/build/learning_ros_noetic/Part_4/mobot_nl_steering/catkin_generated/pkg.installspace.context.pc.py
2f07bbfdcf1c3fe346a518c975bb56e94326488b
[]
no_license
AlexLam616/Baxter-robot
3a4cef31fe46da0fdb23c0e3b5808d84b412d037
d10fdcd35f29427ca14bb75f14fa9c64af3b028c
refs/heads/master
2023-05-12T01:25:56.454549
2021-05-25T02:02:09
2021-05-25T02:02:09
367,070,028
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;geometry_msgs;nav_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "mobot_nl...
[ "1155135145@link.cuhk.edu.hk" ]
1155135145@link.cuhk.edu.hk
3fd6497b231bef5de246cb2a3755bc5b84912049
3e71bd1f18b124871c1fe67b5456469f8262daab
/Server/src/virtualenv/Lib/copy_reg.py
eebf51a5de373146f5ec2c124892b853fb8d78d7
[ "MIT" ]
permissive
ppyordanov/HCI_4_Future_Cities
79849b4935637d81bc17c92f4312f299cba8b01e
4dc7dc59acccf30357bde66524c2d64c29908de8
refs/heads/master
2021-01-01T15:44:13.270489
2015-02-23T17:22:49
2015-02-23T17:22:49
25,799,732
0
0
null
null
null
null
UTF-8
Python
false
false
6,778
py
"""Helper to provide extensibility for pickle/cPickle. This is only useful to add pickle support for extension types defined in C, not for instances of user-defined classes. """ from types import ClassType as _ClassType __all__ = ["pickle", "constructor", "add_extension", "remove_extension", "clear_extens...
[ "ppyordanov@yahoo.com" ]
ppyordanov@yahoo.com
95820f91135b8423a48b40986bed3fbddf94850c
9c2f99c9cb617acabd159aa908406ab1e371d735
/.circleci/python/build-test-deploy-example/tests/test_all.py
d9a4b3ca5d72779f3678df22d0c8a4672560a8dc
[]
no_license
MacHu-GWU/learn_circleci-project
819a0e2b87db6cde69117bf92040029cdb17476b
c44a82accbbcb9d041c84223312cd586d11f563c
refs/heads/main
2023-01-20T12:16:58.685344
2020-11-30T18:18:34
2020-11-30T18:18:34
316,086,560
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pytest import dateutil def test(): print(dateutil.__version__) if __name__ == "__main__": import os basename = os.path.basename(__file__) pytest.main([basename, "-s", "--tb=native"])
[ "husanhe@gmail.com" ]
husanhe@gmail.com
9aab5cf1430151fcb5deab5d27ad9c741cd6dcf2
2827d7a837eb29c3cb07793ab6d3d5a753e18669
/alipay/aop/api/request/AlipayZdatafrontDatatransferedFileuploadRequest.py
0827e60f6813e09476d9a3b3c3944f31f3c5eed9
[ "Apache-2.0" ]
permissive
shaobenbin/alipay-sdk-python
22e809b8f5096bec57d2bb25414f64bdc87fa8b3
5232ad74dff2e8a6e0e7646ab3318feefa07a37d
refs/heads/master
2020-03-21T04:51:39.935692
2018-06-21T07:03:31
2018-06-21T07:03:31
138,131,022
0
0
null
2018-06-21T06:50:24
2018-06-21T06:50:24
null
UTF-8
Python
false
false
6,977
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * class AlipayZdatafrontDatatransferedFileuploadRequest(object): def __init__(self, biz_model=None): self._biz_model = biz_model self._colum...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
1d1adffbea84b5751690c2479825c4c124d680c3
727012339eddbbac90747d23d5a4f3323ab3320b
/Floating_point_error_propagation_in_polynomial_multiplication_with_Fast-Fourier_Transform.py
f0149309ea6a488a194d26ac79ad0335bc29e6c7
[ "MIT" ]
permissive
Naereen/notebooks
c54df8061d802e88dcf0b137683823302a747d53
2c0c178f237f7e7a247c04735e548f28003ef688
refs/heads/master
2022-05-25T08:00:42.976235
2022-03-25T11:28:19
2022-03-25T11:28:19
61,936,256
121
47
MIT
2020-09-03T17:16:52
2016-06-25T09:28:41
Jupyter Notebook
UTF-8
Python
false
false
8,549
py
# coding: utf-8 # # Table of Contents # <p><div class="lev1 toc-item"><a href="#Floating-point-error-propagation-in-polynomial-multiplication-with-Fast-Fourier-Transform" data-toc-modified-id="Floating-point-error-propagation-in-polynomial-multiplication-with-Fast-Fourier-Transform-1"><span class="toc-item-num">1&nb...
[ "lbesson@ens-cachan.fr" ]
lbesson@ens-cachan.fr
61de844cb1dbb3e79bc16fa884443f624e0f331d
bc54edd6c2aec23ccfe36011bae16eacc1598467
/simscale_sdk/models/one_of_interpolation_schemes_interpolate_rho.py
0514028e4cb6c1e089ed54eae774da54eddbbcd5
[ "MIT" ]
permissive
SimScaleGmbH/simscale-python-sdk
4d9538d5efcadae718f12504fb2c7051bbe4b712
6fe410d676bf53df13c461cb0b3504278490a9bb
refs/heads/master
2023-08-17T03:30:50.891887
2023-08-14T08:09:36
2023-08-14T08:09:36
331,949,105
17
5
null
null
null
null
UTF-8
Python
false
false
4,078
py
# coding: utf-8 """ SimScale API The version of the OpenAPI document: 0.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from simscale_sdk.configuration import Configuration class OneOfInterpolationSchemesInterpolateRho(object): """NOTE: This ...
[ "simscale" ]
simscale
136d1de1c756ecb6cf5338a8cf8fb0fecc2ffe7f
2d0bada349646b801a69c542407279cc7bc25013
/src/vai_quantizer/vai_q_tensorflow2.x/tensorflow_model_optimization/python/core/quantization/keras/vitis/vai_q_tensorflow/tools/set_hard_sigmoid_out_pos.py
5b30881f2abab0ea8ab4a82502f3b558a7b7b4d9
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-other-permissive...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
Python
false
false
2,642
py
import os import copy import numpy as np import tensorflow as tf from tensorflow.python.platform import gfile # from tensorflow.core.framework.tensor_pb2 import TensorProto # from tensorflow.core.framework.tensor_shape_pb2 import TensorShapeProto import tensorflow.contrib.decent_q """ remove nodes before and include ...
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
cde7dd88315a3b0616a7653e9ac914fdc49569e5
086aa68683c71d2e4b7b584eda4536f5cc51c27c
/examples-tk499-lvgl/exams/event_ex/p3.py
be95bceb361d859857fe985a841b654bf3668b07
[ "MIT" ]
permissive
bhgv/micropython-tk499
1617529d9f4c74d31f844d4eb440e3c670eb105b
963d0546dda980aa8502c5be29f6aee3d5cd805e
refs/heads/master
2023-07-18T07:25:36.592091
2021-08-28T20:37:31
2021-08-28T20:37:31
397,341,868
2
0
null
null
null
null
UTF-8
Python
false
false
750
py
import lvgl as lv def event_cb(e): # The original target of the event. Can be the buttons or the container target = e.get_target() # print(type(target)) # If container was clicked do nothing if type(target) != type(lv.btn()): return # Make the clicked buttons red target.set_style...
[ "bhgv.empire@gmail.com" ]
bhgv.empire@gmail.com
2f7b78a72b4ebde50a49a770967fb750230b99eb
9df77aee631f17b24463407ce826428c6c0ce79b
/firebirdsql/tests/test_timezone.py
0a801662fdf6d24d4c86ca5aed3bbb4b05a21a4f
[ "BSD-2-Clause" ]
permissive
nakagami/pyfirebirdsql
dce57b14af1d2abb5fed1628d1c5fdda9323785f
a62f91a489319e81b4d5ba4c51a9bb1ab3b5f1dd
refs/heads/master
2023-08-03T19:47:18.817692
2023-07-26T05:36:50
2023-07-26T05:36:50
937,976
49
28
BSD-2-Clause
2023-06-01T06:35:57
2010-09-25T07:35:22
Python
UTF-8
Python
false
false
3,444
py
from __future__ import with_statement import tempfile import datetime import firebirdsql from firebirdsql.tests.base import * # noqa from firebirdsql.consts import * # noqa class TestTimeZone(TestBase): def setUp(self): self.database = tempfile.mktemp() self.connection = firebirdsql.cre...
[ "nakagami@gmail.com" ]
nakagami@gmail.com
b771e809c5628bc8b9aa5ec525dc59f63ab5998b
c92c3e68a4da72f81bbcbad73d64b43f73566e77
/rattle/__init__.py
307d4b0f5667f2ff8de6b2515cebe084fce777b8
[ "MIT" ]
permissive
loic/rattle
4e50bae8ee40fb117a9a1a504cd518ea08bae23f
f724a1e3c2a57866b21f1d64970b5b1d08747fde
refs/heads/master
2020-12-29T00:42:24.367357
2014-04-12T03:55:28
2014-04-12T03:55:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
from template import Template
[ "curtis@tinbrain.net" ]
curtis@tinbrain.net
2880c74829bcf1ce2e8234d4b864d23ae61e737a
f3d8e1351e52526959e2d44d72fd716924f1751d
/problems/1232_check_if_it_is_a_straight_line.py
1294e83cde7f3712b6e7381da86d8aec964e2408
[]
no_license
xueyuanl/leetcode-py
c27a4faff5b9040d57cf864d3a11f1683d8182e3
03d3e34522c8c819388634ab4b63077da864a4e1
refs/heads/master
2021-07-14T23:40:32.913822
2021-07-14T13:43:19
2021-07-14T13:43:19
206,973,737
4
0
null
null
null
null
UTF-8
Python
false
false
959
py
class Solution(object): def checkStraightLine(self, coordinates): """ :type coordinates: List[List[int]] :rtype: bool """ x1 = coordinates[1][0] - coordinates[0][0] y1 = coordinates[1][1] - coordinates[0][1] for i in range(2, len(coordinates)): x2...
[ "15186846+xueyuanl@users.noreply.github.com" ]
15186846+xueyuanl@users.noreply.github.com
831a9ef0cc4a1bc0f4a85c6e69c3fda17858fa2f
a64eeba4575eee849b459dab9c7000350ee636f1
/mediapipe/model_maker/python/core/data/data_util_test.py
8bed8ef7c601c88b7f1562eebc0c0e9f64b7dc59
[ "Apache-2.0", "dtoa" ]
permissive
google/mediapipe
0b6b56aff8bacc7b680c205f0788f1b49dd33f5e
007824594bf1d07c7c1467df03a43886f8a4b3ad
refs/heads/master
2023-09-01T16:11:21.218234
2023-09-01T11:55:21
2023-09-01T11:57:34
191,820,100
23,940
5,164
Apache-2.0
2023-09-14T09:01:36
2019-06-13T19:16:41
C++
UTF-8
Python
false
false
1,287
py
# Copyright 2022 The MediaPipe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
0eb38e8cd45e5e27385e1834bac5e413a82cb856
02fc2755fd9e9d6c717fc15ef37c51be695d1bf2
/python/ppx/TagResult.py
f7ddeff8ae3ecf1505ee772b35917817634774c7
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
pyprob/ppx
67bd08266824f73cf6c7673991583f2eeae2f132
27b4d4eec12ff37ee7dc06d436c3d8f297794937
refs/heads/master
2022-04-29T02:49:58.529236
2022-03-16T20:29:42
2022-03-16T20:29:42
140,125,730
27
6
null
null
null
null
UTF-8
Python
false
false
1,229
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: ppx import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class TagResult(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffers.encode.Get(flatbu...
[ "atilimgunes.baydin@gmail.com" ]
atilimgunes.baydin@gmail.com
736eb2cb7e03fa8c94b290b64aacc14d68432ab9
87ea19dc434ef181f1dd7b6e3bbf9c0d1245c975
/book/tensorflow/net/cnn_mnist.py
c70357a5b799ae326525a9a48a212fe08ae2b300
[]
no_license
jk983294/morph
e105839682a746cab798867e13ae23bc3995500a
3346492ae8572024599917c3f64b3969a649268d
refs/heads/master
2021-10-02T05:58:50.623569
2021-09-30T09:27:23
2021-09-30T09:27:23
247,004,531
0
0
null
null
null
null
UTF-8
Python
false
false
3,170
py
import tensorflow as tf import numpy as np from tensorflow.keras.layers import Dense, Flatten, Conv2D from tensorflow.keras import Model class MyModel(Model): def __init__(self): super(MyModel, self).__init__() self.conv1 = Conv2D(32, 3, activation='relu') self.flatten = Flatten() ...
[ "jk983294@gmail.com" ]
jk983294@gmail.com
a4dbc39fb043036348ad8277f93c8ef55f1f8579
72b349152a3af42a6f071071882e9c08720a1b75
/137.py
a0969b7e6dab03a817426fb135a1a9fc9ccf5e25
[]
no_license
Deepakdk7/PlayerSet13
3ffed2fb4bcd5c043de647f93700c4003687da29
fc7d559636ed83a231b1bf1681d21485ee134030
refs/heads/master
2020-06-05T15:28:38.442065
2019-07-08T14:35:58
2019-07-08T14:35:58
192,473,197
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
bx=int(input()) a=list(bin(bx)[::-1]) c=1 for i in a: if i=='1': print(c) break else: c=c+1
[ "noreply@github.com" ]
Deepakdk7.noreply@github.com
01383bdee9cf4dccbdc443c78b36501942c31e26
ea918f769ed2be3251c983206dc59f15577e7068
/kiteclient/tests/base.py
62686f58d7da47fb5637b7a2228dc99c0b36cd05
[ "Apache-2.0" ]
permissive
jamielennox/python-kiteclient
455fc6bea7a35b2bb8086a1345724c6e83ab5fae
f957b8ed11fdd9fd7fa382e35b70f53891a852c1
refs/heads/master
2021-01-22T11:47:01.515509
2014-10-09T14:41:59
2014-10-09T14:41:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
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...
[ "jamielennox@redhat.com" ]
jamielennox@redhat.com
00f9ae42e8b740db1d4d1dad67498fb67dd15ad2
dd077e0cf2bc49ad14b97e2bd99e57a65ccbdf12
/membership/apps.py
2eefe56b3110bfd612cc956d836f2436287c7bbe
[ "MIT" ]
permissive
ainebyoonabridget/django_saas
c9ea7b551871eff9f9b6eaf6b1be0655208c0a36
be95a6e2d5ec92541cb7fd93fb5d8429aed55b51
refs/heads/main
2022-12-31T11:23:33.612610
2020-10-20T12:56:15
2020-10-20T12:56:15
306,004,545
1
0
MIT
2020-10-21T11:38:16
2020-10-21T11:38:15
null
UTF-8
Python
false
false
222
py
from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ #added class MembershipConfig(AppConfig): name = 'membership' def ready(self): import membership.signals #added
[ "medsonnaftal@gmail.com" ]
medsonnaftal@gmail.com
94815368a4c43b9be30ce14ba248811476d379e4
cd8c66abf71c3b5a6124c498255398fe3dacbe73
/src/analysis/explanation_analysis.py
d63533bb2dbb42bc065b224864d697082e4d40cf
[ "BSD-3-Clause" ]
permissive
lukassnoek/hypothesis-kernel-analysis
4b30d293061411cd6b107fcfb809b549771ca3e8
fe894b46b9697641333a3b16f8afeb4621b16b56
refs/heads/master
2023-04-08T03:40:23.485674
2022-10-17T13:52:14
2022-10-17T13:52:14
241,642,504
0
0
null
null
null
null
UTF-8
Python
false
false
3,513
py
import os os.environ['OMP_NUM_THREADS'] = '1' os.environ['MKL_NUM_THREADS'] = '1' import sys import pandas as pd import numpy as np from glob import glob from tqdm import tqdm from sklearn.metrics import roc_auc_score from sklearn.preprocessing import OneHotEncoder sys.path.append('src') from models import KernelClass...
[ "lukassnoek@gmail.com" ]
lukassnoek@gmail.com
835e95d909ed6e925ad5d89c4c04606530e4241e
29a7e0b7d1a7364a14b036764448a5d9d0250c2b
/api/tasks/tasks.py
5bf2ee7c6aa4c23bc1618600564e5519378f8be8
[ "MIT" ]
permissive
SchoolOrchestration/ProcessEngineV2
27cff3303d7e9e0bb23b6aea9e7280385df2a60f
c7b039f0a2d368cd033b6f1a84b6624f2e06c42e
refs/heads/master
2022-02-06T02:19:31.629214
2018-07-06T13:04:15
2018-07-06T13:04:15
136,251,612
0
0
MIT
2022-01-15T03:05:52
2018-06-06T00:52:38
Python
UTF-8
Python
false
false
488
py
''' A collection of generally useful tasks Call with: tasks.runner ''' def make_http_request(payload): """ Make an HTTP request: **e.g.:** ``` result = make_http_request({ "url": url, "data": data, "method": "post", "heders": headers, }) ``` """ pass...
[ "info@38.co.za" ]
info@38.co.za
671381b1d0d2177032faf0106343c9bd46b3ca20
44d8042c77a8f18c03bec92b619425a0787e3ddb
/TkinterTest.py
218adbbda581ccd627e21837c3cea068594de507
[]
no_license
Jgoschke86/Jay
3015613770d85d9fa65620cc1d2514357569b9bb
9a3cd87a5cff35c1f2a4fd6a14949c6f3694e3e2
refs/heads/master
2023-05-26T15:49:08.681125
2023-04-28T22:16:09
2023-04-28T22:16:09
215,616,981
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
from tkinter import * win = Tk() # top_frame = Frame(win) # top_frame.pack() # bottom_frame = Frame(win) # bottom_frame.pack(side = BOTTOM) # button1 = Button(top_frame, text = "Hello1", fg = "blue") # button2 = Button(top_frame, text = "Hello2", fg = "red") # button3 = Button(top_frame, text = "Hello3", fg = "green...
[ "56652104+Jgoschke86@users.noreply.github.com" ]
56652104+Jgoschke86@users.noreply.github.com
c46563e54f4a2f78fb4d833cc78ed8ef1bc38920
7cc5713f08eed1882efbd6c0416241acdbb8a29d
/experiments/newsfilter/news_filter.py
a4e1be22e1fa03f54ea8059c014f8b811ee8032c
[]
no_license
Tskatom/Finance
23597834284eb52c5b77cb5554c3196b2178df44
f521553d33f1a286d724300bbd5db5ee7551fb60
refs/heads/master
2021-01-15T23:11:37.746894
2013-07-11T14:53:35
2013-07-11T14:53:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,598
py
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = "Wei Wang" __email__ = "tskatom@vt.edu" from etool import args, logs, queue import re import json import codecs from bs4 import BeautifulSoup as bs __processor__ = 'news_filter' log = logs.getLogger(__processor__) url_pa = re.compile("http://(www\.){0,1}[^/]...
[ "tskatom@gmail.com" ]
tskatom@gmail.com
d93eb684740cd75496c45d9bcee1599222c03aec
daae0cf103b6c9f26065f7546a7dc79281fc0bde
/18/4.py
e7f3abf02ed74f2b4c4c828bb6ed43a47d6042a9
[]
no_license
oc0de/pyEPI
97a5d4db91d5459f407c9d414fc999de56885124
2b7cedecdd5b8665ab4f1ca4762a3fd5adcc9864
refs/heads/master
2021-09-05T09:32:53.646441
2018-01-26T03:58:10
2018-01-26T03:58:10
119,003,665
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
class GraphVertex: white, gray, black = range(3) def __init__(self): self.color = GraphVertex.white self.edges = [] def __repr__(self): return 'color:%d id:(%d) edges~>%s' % (self.color, id(self), ','.join(str(id(x)) for x in self.edges)) def is_deadlocked(G)...
[ "valizade@mail.gvsu.edu" ]
valizade@mail.gvsu.edu
94e164034f7e9bc652f77715c6a2582f3cdf045c
76899bcd2e8e4b21c288eb24ace308637b391754
/possiblecity/apps/lotxlot/templatetags/lotxlot_tags.py
98fdecdf7158740b07be409b3d9ae04fbed692b8
[]
no_license
possiblecity/possiblecity
b894d71a544c4dff833cc747a78943ccd47861df
85fff452726dbec95fbece7aeb3f154325235049
refs/heads/master
2020-05-30T10:47:31.582801
2014-02-11T14:57:05
2014-02-11T14:57:05
1,536,890
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# lotxlot_tags.py from urllib import urlencode from django import template from django.conf import settings register = template.Library() @register.simple_tag() def google_image_url(lot, width, height, fov='105'): url = "http://maps.googleapis.com/maps/api/streetview" params = { "size": "%sx%s" % (width, height)...
[ "dmeehan@gmail.com" ]
dmeehan@gmail.com
be4f1f3fa81f05f55034b19fe3a7e71d386404a9
babc3e26d66a8084c9f84a0431338bafabae6ffd
/TaeJuneJoung/PGM/LV1/lv1.문자열 내 p와 y의 개수.py
6e93626fdfbea0495b0b6097d48491d73bda3e88
[]
no_license
hoteldelluna/AlgoStudy
5c23a1bfb07dbfbabc5bedd541d61784d58d3edc
49ec098cecf2b775727d5648161f773e5488089b
refs/heads/dev
2022-10-09T14:29:00.580834
2020-01-25T14:40:55
2020-01-25T14:40:55
201,632,052
5
0
null
2020-01-25T14:40:57
2019-08-10T13:11:41
Python
UTF-8
Python
false
false
396
py
def solution(s): answer = False check = [0,0] for alpha in s: if alpha.lower() == 'p': check[0] += 1 elif alpha.lower() == 'y': check[1] += 1 if check[0] == check[1]: answer = True return answer """ count를 사용하여 간략화할수 있다. """ def solution(s): ...
[ "jtj0525@gmail.com" ]
jtj0525@gmail.com
42100a4ac2c5684ca9dfd82563192c6b67c2657f
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2021_05_01/models/__init__.py
9e8662c0512fc81d7573bd6ad0c53ed4cc742f33
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
2,950
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" ]
Azure.noreply@github.com
2cf08b5cde7647b8e00ae1de6602570ca65264b6
1208ac3718420c4a118ab6b777d99980b85f952a
/083.py
8fc0f9f0ae060bd3cb1e0cdc4d1b1493e5282349
[]
no_license
deimelperez/150_Py_challenges
6ab9aea77c9c117b682790bfe36fb5e280cb8afc
b58f55312e7abf30cb7cb6d68b249bb5dcd3c862
refs/heads/master
2023-03-13T02:30:15.095467
2021-03-04T19:02:11
2021-03-04T19:02:11
344,579,979
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
word = input("Enter a word in UPPERCASE: ") while not word.isupper(): word = input("Please, try again: ") input("\nPress enter to continue")
[ "deimelperez@gmail.com" ]
deimelperez@gmail.com
48014eb613c59a00c4bf777641cd902b7a2a4f9a
c00205384da7823dc48213f935dbf64be51afc97
/tmdata/agilent-quick-change/bm3.py
41a5c10f8b651bf9f1440b00780feb8dbfc72bab
[]
no_license
jamesengleback/mxn
3811ed271f35fa3a3a8cf40ce974514db2f472cc
08cf81f0ac953d14a2ca3ed9fa4bc191596111ee
refs/heads/master
2023-06-09T12:45:30.823206
2021-07-02T14:34:40
2021-07-02T14:34:40
382,307,428
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
seq = 'atgggcagcagccatcatcatcatcatcacagcagcggcctggtgccgcgcggcagccatatgacaattaaagaaatgcctcagccaaaaacgtttggagagcttaaaaatttaccgttattaaacacagataaaccggttcaagctttgatgaaaattgcggatgaattaggagaaatctttaaattcgaggcgcctggccgtgtaacgcgctacttatcaagtcagcgtctaattaaagaagcatgcgatgaatcacgctttgataaaaacttaagtcaagcgcttaaatttgtacgtgattttgcaggag...
[ "jamesengleback@hotmail.co.uk" ]
jamesengleback@hotmail.co.uk
623a2092ffd4b5cddd1ae0ac329edaa1d5a87349
575783add0d93360120b96d655afcac361f968b0
/omsBackend/dnsmanager/godaddy_api.py
2ac71a7acaacda932db9d259577676901209fc4e
[]
no_license
hhr66/oms
1c67568d0fc9daddeb6d7d8111f6374feb1b468b
89f31618b7ac8def258117835f9b44183080f188
refs/heads/master
2020-03-14T10:02:05.549362
2018-04-28T06:22:37
2018-04-28T06:22:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,421
py
# -*- coding: utf-8 -*- # author: itimor from __future__ import unicode_literals import sys import requests class ApiError(Exception): def __init__(self, error_message, *args, **kwargs): super(ApiError, *args, **kwargs) self.error_message = error_message class GodaddyApi(object): ...
[ "kevin@126.com" ]
kevin@126.com
4348e351461509595837eb8a87df990ab9607448
87b30670a56aeade5531a52bb9f298da05cfd9ae
/Bioinformatics III/Week V/CycleToChromosome.py
ad5f8f080f61cace41f407dec2e4485c04c91a94
[ "MIT" ]
permissive
egeulgen/Bioinformatics_Specialization
e2dd88889edafc5eafdca56f87164ab8502ddb6b
38581b471a54c41d780d9eeb26a7033eb57f3a01
refs/heads/master
2021-06-23T19:49:45.094652
2021-05-24T09:10:16
2021-05-24T09:10:16
220,064,156
4
1
null
null
null
null
UTF-8
Python
false
false
531
py
def CycleToChromosome(Nodes): Chromosome = [] for i in range(0, len(Nodes), 2): if Nodes[i] < Nodes[i + 1]: Chromosome.append(Nodes[i + 1] // 2) else: Chromosome.append(-Nodes[i] // 2) return Chromosome if __name__ == "__main__": Nodes = input().rstrip() Node...
[ "egeulgen@gmail.com" ]
egeulgen@gmail.com
b6418eadf034b8c0323875206d8fbabba45dde80
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_jerking.py
17729123a2e2e829fb0bb6387344a76355172242
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from xai.brain.wordbase.nouns._jerk import _JERK #calss header class _JERKING(_JERK, ): def __init__(self,): _JERK.__init__(self) self.name = "JERKING" self.specie = 'nouns' self.basic = "jerk" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4042e8fdd8cddf0ce47b591438ef21a65222a69a
c3a3ae45f6fb22bdb3c622498c7ff1c2c2732f6a
/day5/shelve_database_ex.py
9b354b196157a7dc3a6d2de648f72cd733598741
[]
no_license
huyuedong/S12
df6b56cf05bb9f9c4a6e54b6a5228f1715e20245
61aa6d91f4e70f87c9b4c4b1e2042d5eeb2e2c3d
refs/heads/master
2020-12-14T08:50:57.514965
2016-07-30T01:45:03
2016-07-30T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # __author__ = "Q1mi" """ 一个shelve写的简易数据库 """ # database.py import sys, shelve def store_person(db): """ Query user for data and store it in the shelf object """ pid = input('Enter unique ID number: ') goods = {} goods['name'] = input('Enter tra...
[ "liwenzhou7@gmail.com" ]
liwenzhou7@gmail.com
60fde48646417bc3dfe30b5685e92983e21b3528
3bfe35a518869c4354ab1f817fd2060f0446313e
/examples/core_load_stl.py
668eae57f219d6a3ab91a40bbe8be312205545cc
[]
no_license
tankvn/pythonocc-demos-with-thumb-preview
b16b6d00b6e14bda6e4b765a354691255a7d2d43
36746225ddd8406dcce9b12a9ccd6489aa281694
refs/heads/master
2023-04-26T16:43:30.377812
2021-05-04T06:12:36
2021-05-04T06:12:36
362,368,937
3
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
##Copyright 2010-2014 Thomas Paviot (tpaviot@gmail.com) ## ##This file is part of pythonOCC. ## ##pythonOCC is free software: you can redistribute it and/or modify ##it under the terms of the GNU Lesser General Public License as published by ##the Free Software Foundation, either version 3 of the License, or ##(at your...
[ "tpaviot@gmail.com" ]
tpaviot@gmail.com
aab3dced16de08b34289a1494bfb0a9d7f99dd72
f0b0d1ae75794a22acc609cf47cc1ca6df602047
/pysb/examples/fricker_2010_apoptosis.py
c87985c7b8fb7c2106badd53c1962f207bf31496
[ "BSD-2-Clause" ]
permissive
elenimaniati/pysb
41298411f9461f397d58ab29a1c4822a2cff339b
cc958cca453239ce7ac4b45f4ed19511a992f65d
refs/heads/master
2021-01-15T19:39:46.010690
2015-02-06T21:31:52
2015-02-06T21:31:52
31,027,668
0
1
null
2015-02-19T17:37:57
2015-02-19T17:37:56
null
UTF-8
Python
false
false
10,711
py
"""An implementation of the model from: Model-based dissection of CD95 signaling dynamics reveals both a pro- and antiapoptotic role of c-FLIPL. Fricker N, Beaudouin J, Richter P, Eils R, Krammer PH, Lavrik IN. J Cell Biol. 2010 Aug 9;190(3):377-89. doi:10.1083/jcb.201002060 http://jcb.rupress.org/content/190/3/377....
[ "jmuhlich@bitflood.org" ]
jmuhlich@bitflood.org
4ff6fe77d1f8543e1e3fb2acd27c89d704f26d05
eab08e75fd92de6d1d3affb0b6facde56c70e4dc
/dmm-doujin-scrape/recover.py
19e80c572c088dcc271b78610edf843212521d24
[ "MIT" ]
permissive
PokkeDoll/scraping-designs
5728d561369da1cbd575d57d4d4683459dbd2c3b
5afbe06dd0aa12db1694a2b387aa2eeafb20e981
refs/heads/master
2023-03-18T02:24:55.525108
2019-06-09T03:56:16
2019-06-09T03:56:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
import glob import json import pickle import gzip import os import hashlib import re import bs4 import concurrent.futures names = set([name.split('/').pop() for name in glob.glob('hrefs/*')]) size = len(names) def _map(arg): urls = set() index, size, name = arg print(index, '/', size, name) try: h...
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
aa23080b7566046f598a6f7938675fee4c988af7
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/numpy/core/arrayprint.py
d7e9bf79534c49f2056e2d81b968d6c83535de52
[ "MIT", "GPL-3.0-only", "BSD-3-Clause-Open-MPI", "GPL-3.0-or-later", "GCC-exception-3.1", "BSD-3-Clause" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
62,839
py
"""Array printing function $Id: arrayprint.py,v 1.9 2005/09/13 13:58:44 teoliphant Exp $ """ __all__ = ["array2string", "array_str", "array_repr", "set_string_function", "set_printoptions", "get_printoptions", "printoptions", "format_float_positional", "format_float_scientific"] __docformat__ = ...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
c8ea2ae910cd7e66a01560839d9b972e51673d2e
3a751dd11ad893d4222cc52148d0829de9f4029f
/django/django_extras/ajax_note_II/note_app/migrations/0002_auto_20210407_0306.py
f09632946e82640331e6bbcbf457141f4e23f8f3
[]
no_license
higashizono33/python_stack
76b5fc63a63913e309a545b7f586a99c684fa0d2
5ec93e384e911b9d05de54af232d464928b76e7e
refs/heads/master
2023-04-18T23:18:21.569125
2021-04-26T02:40:55
2021-04-26T02:40:55
339,864,117
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
# Generated by Django 2.2 on 2021-04-07 03:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('note_app', '0001_initial'), ] operations = [ migrations.AlterField( model_name='post', name='created_at', ...
[ "takashizono@gmail.com" ]
takashizono@gmail.com
9d066281f6d611f8cd572cfeb4b830924ebf0e7f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03407/s907068558.py
17d6687cc7364f31002355c9dfd4887e41e648b4
[]
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
96
py
n=input().rstrip().split() if int(n[0])+int(n[1])>=int(n[2]): print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8a9f8523c1ebe56859433e1f24fef3b50d79e890
152e779d6c71b85e5d42b7076d8e2d00a936d600
/roc.py
f57232989a61fe7bae921e9f0c8009381cdfce0e
[]
no_license
SoulDuck/fundus
ce220857ed54c91ac9f9b88a6b9aad5afa5da6f2
5f8b2263f7e218ff740dc860d9037aa2c07df355
refs/heads/master
2021-01-25T11:55:06.771512
2018-03-27T02:16:24
2018-03-27T02:16:24
96,108,338
1
0
null
null
null
null
UTF-8
Python
false
false
2,160
py
import os import pickle import matplotlib """if "DISPLAY" not in os.environ: # remove Travis CI Error print 'DISPLAY not in this enviroment' matplotlib.use('Agg') """ import matplotlib.pyplot as plt import numpy as np debug_flag=True def plotROC(predStrength , labels): matplotlib.use('Agg') assert ...
[ "plznw4me@naver.com" ]
plznw4me@naver.com
24d2c41d579a896fde248217de12a52b438025d8
e837eaaf75c8cd644829aca440ea0fbd9b8f8382
/ctapipe/image/tests/test_extractor.py
5a30575ddee15d49ef06740004fbed29fc69d632
[]
no_license
tsukamotoyusuke/ctapipe
7008617181b78170a5be6121d40643a0bb05d72c
78208d1a7d5e40cfc4b4fe2a4265bf1b39c627c2
refs/heads/master
2020-05-14T15:31:08.191121
2019-04-09T13:32:33
2019-04-09T13:32:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,731
py
import pytest import numpy as np from scipy.stats import norm from numpy.testing import assert_allclose from ctapipe.instrument import CameraGeometry from ctapipe.image.extractor import ( extract_charge_from_peakpos_array, neighbor_average_waveform, extract_pulse_time_weighted_average, subtract_baseline...
[ "jason.jw@live.co.uk" ]
jason.jw@live.co.uk
4077b2fda51f4ff45690ddbf6e2bcbe23b377f29
8afb5afd38548c631f6f9536846039ef6cb297b9
/_RESOURCES/my-gists/__CONTAINER/_OLD/_python/prime.py
f26a056cb734579bbfac2eaba98659e53cb99bae
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
272
py
# if a number is prime or not def prime_num(): value = int(input("please type a number: ")) for num in range(2, value): if value % num == 0: return f"{value} is not a prime number" return f"{value} is a prime number" print(prime_num())
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
641b87f372a3b05ddd6d06a1609e22a7e71e43e3
6847e4c855a76b9d5ed04879394adcebdb0467e1
/dictionaries/migrations/0005_auto_20190130_0845.py
6857f24fdac1cf7ea119b4d22b19ae5574866a3f
[]
no_license
i7ionov/knd
954227c78043841ac402b76121e0194f608f35b6
3f8ecd488454cedea4da3b4f72869c1dbcb24112
refs/heads/master
2023-06-04T08:30:22.596221
2021-07-02T10:52:35
2021-07-02T10:52:35
372,376,407
1
0
null
null
null
null
UTF-8
Python
false
false
4,912
py
# Generated by Django 2.1.4 on 2019-01-30 03:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dictionaries', '0004_auto_20190129_1822'), ] operations = [ migrations.AddField( model_name='ho...
[ "ivsemionov@iggn.permkrai.ru" ]
ivsemionov@iggn.permkrai.ru
cc2ca9d29917a9caa7bcfdc60b98d5d097c84ee3
527b3ca2efbb1ba035629f00830772c2584f5f50
/tests/test_visitors/test_ast/test_compares/test_heterogenous_compare.py
8d3a7204f98381b015fc9301974af81827fa1b64
[ "MIT" ]
permissive
Brian-Lee/wemake-python-styleguide
53bdc80bf948ac331a5586128cd3b5f803ab2718
b99e6951e07ac317d96cb2e7bebcec85291b665b
refs/heads/master
2020-06-19T00:22:57.816557
2019-07-11T14:27:25
2019-07-11T14:27:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
# -*- coding: utf-8 -*- import pytest from wemake_python_styleguide.violations.best_practices import ( HeterogenousCompareViolation, ) from wemake_python_styleguide.visitors.ast.compares import CompareSanityVisitor @pytest.mark.parametrize('code', [ 'x > y < z', 'x >= y < z', 'x > y <= z', 'x >=...
[ "mail@sobolevn.me" ]
mail@sobolevn.me
596b9aacf9265a5b2cfaeea4a76e3dc05f6da954
359cb7b690d3865545ea5a28946618f44a4bf735
/apps/courses/migrations/0008_course_teacher.py
786adaef3dfc9f9ea7b6c2c2dad86e901dbb452f
[]
no_license
buppter/MxOnline
6d45feec07f5982ac8022be771aae56bb01b84c8
b0ea1fd72f3107cfb36d45c7e39e3aad2b60ebf2
refs/heads/master
2020-05-02T21:42:13.449537
2019-03-28T15:16:28
2019-03-28T15:16:28
178,229,337
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# Generated by Django 2.0.5 on 2018-07-24 20:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('organization', '0008_remove_courseorg_tag'), ('courses', '0007_video_learn_times'), ] operations = [ ...
[ "shixintian@aliyun.com" ]
shixintian@aliyun.com
90899e191d54a81da6f6fd25b00f2effe69fde2b
1e3b2291a6458e4b12b281d7f45a5e90e56f83db
/stereo/models/hsm/hsm.py
91f7ed4b2057fe7c55ae9ebb4abfeb218c88e0b2
[]
no_license
huyaoyu/learning_vo_stereo
4d209e70bbe95bdb176f83b4ae6b5f7ddf8e8890
e91769d0078d1f09f01ef7b031c0190d8b1ef4d0
refs/heads/main
2023-08-18T12:36:10.135521
2021-10-17T04:35:45
2021-10-17T04:35:45
349,646,191
0
0
null
null
null
null
UTF-8
Python
false
false
8,116
py
# -*- coding: future_fstrings -*- # Author: Yaoyu Hu <yaoyuh@andrew.cmu.edu> # Date: 2021-03-21 # Top level imports. from stereo.models.globals import GLOBAL # System packages. import numpy as np # PyTorch packages. import torch import torch.nn as nn import torch.nn.functional as F # Local packages. from stereo.mo...
[ "yaoyuh@andrew.cmu.edu" ]
yaoyuh@andrew.cmu.edu
6673956de7aef315153b5663cb72c6b6e9f08a30
2154d0221e29a86850a1b83e4302f6e3e3f7fa5d
/EN1822_Plot/txt_process.py
206a1639cde78e225506fb07d912585cb8a226ff
[]
no_license
aaqqxx/simple_for_life
3b8805c6791da6a3a7f42c069dc1ee7d2b8d3649
9ad6d61a56216d04250cd89aeaeda63c11942d0a
refs/heads/master
2020-04-04T09:18:59.396540
2015-04-28T11:22:55
2015-04-28T11:22:55
20,906,518
1
0
null
null
null
null
UTF-8
Python
false
false
1,825
py
#coding:utf-8 #!/usr/env/bin python __author__ = 'SIOM' a='''本系统选用德国TOPAS公司的ATM 241 气溶胶发生器,该发生器可产生最高浓度大于108 颗/cm3 的多分散气溶胶粒子,且浓度可调节,能 够满足检漏系统对高浓度粒子的需求。管路中的喷 嘴装置和压差计用于测量管道中的风量值。三通管 路设计一路为主气流管,用作测试气流;另一路为 旁通管,在更换被测过滤器过程中主气流电动阀关 闭时打开。这样一方面可以防止在更换过滤器时, 高浓度气溶胶污染检测环境;另一方面使得检测下 一只过滤器时,上游粒子浓度稳定时间大大缩短, 减少等待时间。 ''' a='''主气流风管与...
[ "aaqqxx1910@gmail.com" ]
aaqqxx1910@gmail.com
931d86cb508d36d68ca18ffdfb481ad2a823772c
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/MSSM_HiggsToMuMu/fragment_mhmodp_MA120_tb25_ggA.py
420c8962d7822e7d75af5028a8824d4a24011581
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
16,290
py
COM_ENERGY = 13000.0 # GeV CROSS_SECTION = 1 # pb PROCESS = 'HiggsBSM:gg2A3 = on' SLHA_TABLE = """BLOCK SPINFO 1 FeynHiggs 2 2.12.0 2 built on ott 13, 2016 BLOCK MODSEL 1 0 # Model 2 1 # GridPts 3 0 # Content ...
[ "pietro.vischia@gmail.com" ]
pietro.vischia@gmail.com
32adffb8af42c0f21f950dd4f379668ed3b07146
ab6c6559d9cfac36c3c4ece192fa2300767662d1
/Python Game Development for Beginners - Working Files/Chapter 4/Checking for intersection Part I/helper_code.py
ce6b037d7d7de90cb940f9bb2a3e89398c0fb83a
[]
no_license
Igor-Nosatov/PythonGameDev_Trinket
962b86572c74c64652a24768dfec2101fcae221f
e6166f69307ded6880b0aaa3299c0a151807bb9c
refs/heads/master
2020-06-24T20:22:57.187289
2016-05-03T10:33:26
2016-05-03T10:33:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
import turtle from math import sqrt from time import sleep screen = turtle.Screen() screen.register_shape("box",((-10,10),(10,10),(10,-10),(-10,-10))) class Box(turtle.Turtle): # Override some defaults: def __init__(self,x=0,y=0): turtle.Turtle.__init__(self) self.speed(0) self.penup() self.shape(...
[ "lrbeaver@gmail.com" ]
lrbeaver@gmail.com
0cd0234dff4a6646d47b3797f59d6f24503f21a6
3bc94ba9ba6b6d00e851ab117574f41f29799d4d
/history/migrations/0001_initial.py
233d88f1f069755b69acf388ad5277fdb6966958
[]
no_license
DmitriiGrekov/diplom_on_django
de01ebd655fce6b94f9d05de17dded509c058d0f
b708cb4fbdcea39d1a53da0afcf3d9c90e2e3049
refs/heads/master
2023-03-21T20:38:26.929245
2021-03-15T12:10:03
2021-03-15T12:10:03
347,954,786
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
# Generated by Django 3.0.4 on 2020-03-07 16:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='History', fields=[ ('id', models.AutoField(...
[ "grekovdima7@gmail.com" ]
grekovdima7@gmail.com
d40d81f591ea25ffc9b3ea18d2eda07438817034
2251d71bc3ecb589ce1a8b274a08370c3240bf51
/0105 Construct Binary Tree from Preorder and Inorder Traversal.py
af69e1b67751997c8acc3fc830f27e3b017d875f
[]
no_license
YuanyuanQiu/LeetCode
3495a3878edc2028f134bddb5b9ec963069562cb
6f5d0ef6a353713c0b41fa7ec0fb8c43a7e8dc55
refs/heads/master
2022-12-11T04:04:01.686226
2022-12-06T18:42:14
2022-12-06T18:42:14
231,168,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,553
py
def buildTree(self, preorder: List[int], inorder: List[int]) -> TreeNode: def myBuildTree(preorder_left: int, preorder_right: int, inorder_left: int, inorder_right: int): if preorder_left > preorder_right: return None # 前序遍历中的第一个节点就是根节点 preorder_root = preorder_left ...
[ "50243732+YuanyuanQiu@users.noreply.github.com" ]
50243732+YuanyuanQiu@users.noreply.github.com
b3d213790022440e908cc9bc0a434cc2fd88357b
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/az_code_info.py
bdafc90e40182dd1907b1da722fe4301caf12f1d
[ "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,006
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class AzCodeInfo: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
81035377fb9115a2abf6cf47b2bfcef0ce7cd8a5
c9f9a4efae174ef89071f4e3cdbb4f4bba3b2eac
/test6/booktest/admin.py
c24a294d11325cd1645e347eb8b8baf5aef1a208
[]
no_license
rj8928/projects
8618bf40392a140bdf6b6264fd86cae3c6321ede
5fe78f839b918a5cf1d0db52c9b6237ffdae08c9
refs/heads/master
2021-01-01T18:40:12.316231
2017-08-06T02:24:08
2017-08-06T02:24:08
98,400,133
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
from django.contrib import admin from models import * # Register your models here. class Test1Manager(admin.ModelAdmin): list_display = ['id'] admin.site.register(Test1,Test1Manager)
[ "rj8928@gmail.com" ]
rj8928@gmail.com
825cd9f5c3f7fa8375f1ebdbfd811878b8fd7bcc
0d0afd1dce972b4748ce8faccd992c019794ad9e
/integra/finan_contrato_sale/wizard/finan_relatorio.py
8f818f13571c735c7222e029d24938a920a6cff3
[]
no_license
danimaribeiro/odoo-erp
e2ca2cfe3629fbedf413e85f7c3c0453fd16941e
d12577bf7f5266b571cbedeb930720d653320e96
refs/heads/master
2020-01-23T21:32:16.149716
2016-11-05T15:35:40
2016-11-05T15:35:40
67,892,809
0
1
null
null
null
null
UTF-8
Python
false
false
45,717
py
# -*- coding: utf-8 -*- from tools import config from osv import fields, osv import base64 from jasper_reports.JasperReports import * from pybrasil.data import parse_datetime, MES_ABREVIADO, hoje, agora,data_hora_horario_brasilia, formata_data, primeiro_dia_mes, ultimo_dia_mes, idade_meses_sem_dia from dateutil.relati...
[ "danimaribeiro@gmail.com" ]
danimaribeiro@gmail.com
1dc9973470e5c8219ea904aba54d61a4b9f23296
ae47113f3ee1cf768a05cf0cda8857d7b2b05924
/delfi/version.py
40d15f0740bb028961fde14b5ef0b1365ade46b3
[ "BSD-2-Clause" ]
permissive
mnonnenm/delfi
803c8f257acde0bcde76909f656ef11eec4b3f46
64372969eed19a77a321833a1e6570a4f31e1743
refs/heads/master
2018-09-29T16:54:17.201131
2018-05-18T13:22:59
2018-05-18T13:22:59
101,872,051
0
0
null
2017-08-30T11:11:35
2017-08-30T11:11:35
null
UTF-8
Python
false
false
44
py
__version__ = '0.4.1' VERSION = __version__
[ "mail@jan-matthis.de" ]
mail@jan-matthis.de
aaebf733f05d844f6d2239a6059a59d672cf4334
5525752dc7a5545c75e27f486f174b82a1bfd540
/gba/gba/entity/__init__.py
51e0740b2a0d1c9d69f7b908d4d2cfb87486b12c
[]
no_license
sxwailyc/nbasimulate
3ee1cc415cfb0ecf565144303e1e6d3ce4544b57
dfd19edf53290b931588ae81bac28c74c3b57da3
refs/heads/master
2021-01-11T20:16:12.893715
2014-11-10T16:29:11
2014-11-10T16:29:11
79,078,143
0
0
null
2017-01-16T03:10:05
2017-01-16T03:10:05
null
UTF-8
Python
false
false
7,282
py
#!/usr/bin/python # -*- coding: utf-8 -*- # from gba.common.bottle.persistable import Persistable class ProfessionPlayer(Persistable): '''职业球员''' CACHE_KEY = 'profession_player:no' class InitProfessionPlayer(Persistable): '''初始化职业球员''' CACHE_KEY = 'init_profession_player:no' c...
[ "shixiangwen03@566361fc-23ee-11de-9d52-39b120432c5d" ]
shixiangwen03@566361fc-23ee-11de-9d52-39b120432c5d
08ef79781b3e627b519d240c53d318d077966caf
13f5c66af02a64aa8c5d988e9560b82bcf058fd0
/python-fluente/itertools/chain_product.py
fc6aa97fb943390ca719e34f02d770c7daa077f4
[]
no_license
heitorchang/reading-list
a1090b969d0f16cbc7c0e371671e85dca0bde201
3dcfd68cb02179e75216ff459fda693ec1fb8684
refs/heads/master
2023-04-27T03:04:28.122341
2023-04-21T14:04:20
2023-04-21T14:04:20
67,825,952
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
# create a sequence [(a,a,a,1,1,1), (a,a,b,1,1,2),...] def main(): ltrs = product('abc', repeat=3) nums = product(range(1, 4), repeat=3) zipped = zip(ltrs, nums) ans = map(lambda x: tuple(chain(*x)), zipped) return list(islice(ans, 10)) test(main(), None)
[ "heitorchang@gmail.com" ]
heitorchang@gmail.com
bb147e731636f4308c05aa25941df76ea3be5e67
a2814d7a9e12928ad2b39b5722a2d77fb749b8a5
/jupyter_videochat/handlers.py
b823f8999f3b1b3e86bc670ed72489fad7a909bb
[ "BSD-3-Clause" ]
permissive
manics/jupyter-videochat
b6a8d1bdac2d963ef7855e4a07bd40abbc4f60f1
8bc64106634b75f865989a9cba7366bbf5f6b3bd
refs/heads/master
2022-10-01T23:41:22.991722
2020-05-29T11:01:28
2020-05-29T11:01:28
268,611,633
0
0
BSD-3-Clause
2020-06-01T19:20:48
2020-06-01T19:20:47
null
UTF-8
Python
false
false
1,971
py
import json from notebook.base.handlers import APIHandler from notebook.utils import url_path_join from escapism import escape import string import tornado class ConfigHandler(APIHandler): @property def videochat(self): return self.settings['videochat'] @tornado.web.authenticated def get(sel...
[ "yuvipanda@gmail.com" ]
yuvipanda@gmail.com
06612ddd45915e98c78ccb69d8d9a4ef4f90a43a
86857aa31757eb76afbbb6e1f803ebfb09375dd9
/leetcode/47.py
4b859cce1a71cb5aa919ef1fc00b3d9b1e34b5ce
[]
no_license
jingxiufenghua/algorithm_homework
075efb3122e20411141d64c8e25d97411a2c7a1c
5cd8a6c99c463ce01f512379bcb265b7f0b99885
refs/heads/master
2023-05-14T15:59:20.272453
2021-06-04T02:43:53
2021-06-04T02:43:53
337,891,553
0
0
null
null
null
null
UTF-8
Python
false
false
1,031
py
# 剑指 Offer 47. 礼物的最大价值 from typing import List class Solution: def maxValue(self, grid: List[List[int]]) -> int: # def dfs(i,j): # if not 0<=i<len(grid) or not 0<=j<len(grid[0]):return [] # res.append(grid[i][j]) # down = grid[i+1][j] if i<len(grid)-1 else -1 # ...
[ "2450392436@qq.com" ]
2450392436@qq.com
0626f8a68f74b19ec1d94dbdcc24f42dd07535c7
dfb6a80dda5882a1c2be87b0b6e1e7a87a7b4c20
/test/test_error_envelope.py
6bad32a9b03ddc7fae044b882e86aa69088c46d5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
artikcloud/artikcloud-python
a090201bea9fadbdf5dd57d94d9085b03b34f927
c5489b2fca27fd9a8bcea99f309e02cb690dd349
refs/heads/master
2020-12-26T03:33:00.657575
2017-12-28T20:40:05
2017-12-28T20:40:05
55,102,598
13
11
null
2017-03-18T03:22:58
2016-03-30T22:38:07
Python
UTF-8
Python
false
false
817
py
# coding: utf-8 """ ARTIK Cloud API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sy...
[ "jswattonjue@gmail.com" ]
jswattonjue@gmail.com
1b4b1329c8e96fa9f439ea0af4aee14ee505b706
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2945/60793/240489.py
86e89329fe5ff5fabefa3c2a39db991f368149d5
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
322
py
theStr = input() if theStr == "...........boyboyboyogirlyy......girl.......": print(6) print(2,end="") elif theStr == "......boyogirlyy......girl.......": print(4) print(2,end="") elif theStr == "...........boyboygirlboyogirlyy......girl.......": print(6) print(3,end="") else: print(theStr)...
[ "1069583789@qq.com" ]
1069583789@qq.com
1c48bf93d8055ad54b7eabcfd7c3ce807ac8af06
8c2de4da068ba3ed3ce1adf0a113877385b7783c
/egs/sre19-av-v/v0.1/steps_be/eval-face-vid-be-v2.py
4c897b75fc96da4f861fc1059be798109e1cc6f2
[ "Apache-2.0" ]
permissive
hyperion-ml/hyperion
a024c718c4552ba3a03aae2c2ca1b8674eaebc76
c4c9eee0acab1ba572843373245da12d00dfffaa
refs/heads/master
2023-08-28T22:28:37.624139
2022-03-25T16:28:08
2022-03-25T16:28:08
175,275,679
55
20
Apache-2.0
2023-09-13T15:35:46
2019-03-12T18:40:19
Python
UTF-8
Python
false
false
2,845
py
#!/usr/bin/env python """ Copyright 2019 Johns Hopkins University (Author: Jesus Villalba) Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """ import sys import os import argparse import time import logging import numpy as np from hyperion.hyp_defs import float_cpu, config_logger from hyperion.utils.t...
[ "jesus.antonio.villalba@gmail.com" ]
jesus.antonio.villalba@gmail.com
757c68da54b6253d3b700f4df83bd335202e831f
8419f7d24df69a2cb92f04d7369c11c8141b0fcd
/tests/conftest.py
8165a4f15e78dc0e907d096209edcc910a609769
[ "MIT" ]
permissive
heyuqi1970/vaex
c1768eac9d5126e7efd1e139522feb9d65a7ecc9
867c180427a23e3b71df47305d7e8866b6673a98
refs/heads/master
2021-07-09T08:45:21.634354
2020-04-23T17:23:58
2020-04-23T17:23:58
242,555,084
2
0
MIT
2020-04-24T03:40:17
2020-02-23T16:54:13
Python
UTF-8
Python
false
false
20
py
from common import *
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
57f2add66f9b2dd14351ca8ba6a20e2615f32647
e0df2bc703d0d02423ea68cf0b8c8f8d22d5c163
/ScientificComputing/ch14/filter_bandpass_iir.py
0e1d5bb47e598578083b31817fab10ac00efee26
[]
no_license
socrates77-sh/learn
a5d459cb9847ba3b1bc4f9284ce35d4207d8aa8b
ae50978023f6b098b168b8cca82fba263af444aa
refs/heads/master
2022-12-16T16:53:50.231577
2019-07-13T13:52:42
2019-07-13T13:52:42
168,442,963
0
0
null
2022-12-08T05:18:37
2019-01-31T01:30:06
HTML
UTF-8
Python
false
false
1,034
py
# -*- coding: utf-8 -*- import numpy as np from scipy import signal import pylab as pl b, a = signal.butter(2, 1.0, analog=1) # 低通->带通的频率变换函数 w1 = 1.0 # 低通带频率 w2 = 2.0 # 高通带频率 dw = w2 - w1 # 通带宽度 w0 = np.sqrt(w1*w2) # 通带中心频率 # 产生10**-2到10**2的频率点 w = np.logspace(-2, 2, 1000) # 使用频率变换公式计算出转换之后的频率 nw = np.imag(w0/...
[ "zhwenrong@sina.com" ]
zhwenrong@sina.com
19ff71d0afb850f8a3ecc692e9005cb6743540e3
ba109a5bc57131d4a6090ee2a3ed705439b9e3cd
/virtual/bin/django-admin.py
a4159d0a721518f068e9a988a680f0369308fba9
[ "MIT" ]
permissive
leezichanga/NeighbourhoodWatch
acf36d29fee673db94cb200266ab9a7b0d8e01df
5f9a3bb955ee40dd1c6c4fe5c3f49a6de359ea26
refs/heads/master
2020-03-18T14:28:07.336014
2018-05-28T17:38:29
2018-05-28T17:38:29
134,849,574
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
#!/home/elizabeth/Documents/neighbourhoodwatch/virtual/bin/python3.6 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "elizabbethichanga@yahoo.com" ]
elizabbethichanga@yahoo.com
da41973a53b9fb5d8564d7710c5ace0be58cc5df
00b762e37ecef30ed04698033f719f04be9c5545
/scripts/test_results/models_test_results/conflicts/6_VariationalAutoencoderRunner_conflict.py
03585c2721964d397f2687e403e12c1fa6b8d6f9
[]
no_license
kenji-nicholson/smerge
4f9af17e2e516333b041727b77b8330e3255b7c2
3da9ebfdee02f9b4c882af1f26fe2e15d037271b
refs/heads/master
2020-07-22T02:32:03.579003
2018-06-08T00:40:53
2018-06-08T00:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,925
py
import numpy as np import sklearn.preprocessing as prep import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data from autoencoder.autoencoder_models.VariationalAutoencoder import VariationalAutoencoder mnist = input_data.read_data_sets('MNIST_data', one_hot = True) <<<<<<< HEAD def minmax...
[ "srhee4@cs.washington.edu" ]
srhee4@cs.washington.edu
edcdc1d246be74e3958be733b695c29f382901df
d93159d0784fc489a5066d3ee592e6c9563b228b
/PhysicsTools/Heppy/python/analyzers/core/AutoHandle.py
c65cc792a39201d74dfa4fbd0d8b9e9340c22137
[]
permissive
simonecid/cmssw
86396e31d41a003a179690f8c322e82e250e33b2
2559fdc9545b2c7e337f5113b231025106dd22ab
refs/heads/CAallInOne_81X
2021-08-15T23:25:02.901905
2016-09-13T08:10:20
2016-09-13T08:53:42
176,462,898
0
1
Apache-2.0
2019-03-19T08:30:28
2019-03-19T08:30:24
null
UTF-8
Python
false
false
3,412
py
#ROOTTOOLS from DataFormats.FWLite import Events, Handle class AutoHandle( Handle, object ): '''Handle + label.''' handles = {} def __init__(self, label, type, mayFail=False, fallbackLabel=None, lazy=True,disableAtFirstFail=True): '''Note: label can be a tuple : (module_label, collec...
[ "colin.bernet@cern.ch" ]
colin.bernet@cern.ch
be7fbb178bf5fa1f1ac188fe5d6cb6cfb20daa11
6820e74ec72ed67f6b84a071cef9cfbc9830ad74
/plans/urls.py
480f114148a825e5279d027d59b3dd70762e119c
[ "MIT" ]
permissive
AppforallHQ/f5
96c15eaac3d7acc64e48d6741f26d78c9ef0d8cd
0a85a5516e15d278ce30d1f7f339398831974154
refs/heads/master
2020-06-30T17:00:46.646867
2016-11-21T11:41:59
2016-11-21T11:41:59
74,357,925
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
from django.conf.urls import patterns, url urlpatterns = patterns('', url(r'^invite_promo', 'plans.views.invite_promo'), )
[ "hi@appforall.ir" ]
hi@appforall.ir
7630f912409845546216a8d3e40b82bf0f6462d2
b91e8c7197258b64510aa974030601ed01400213
/daily/month_202006/daily_20200602.py
bf5df5aa4bec655e499f7266d03128097cfea9fc
[]
no_license
PangXing/leetcode
8a5372cdcd95df9e72cd0884a2c49d85eec9e8c8
209f460838bfb8b086abbedfe055b09b7549ba64
refs/heads/master
2022-12-16T02:24:37.142857
2020-09-11T06:40:24
2020-09-11T06:40:24
263,785,327
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
# coding:utf-8 ''' 求 1+2+...+n ,要求不能使用乘除法、for、while、if、else、switch、case等关键字及条件判断语句(A?B:C)。 示例 1: 输入: n = 3 输出: 6 示例 2: 输入: n = 9 输出: 45 限制: 1 <= n <= 10000 ''' class Solution(object): ''' 递归 + 逻辑短路 ''' def __init__(self): self._res = 0 def sumNums(self, n): n > 1 and self.sumNu...
[ "pang.xing@xiaoying.com" ]
pang.xing@xiaoying.com
396670865bca755fe484a09d3c66ee6ed5e8a912
44608e3b1c4059012b951719b128433d89e348e2
/quasimodo_website/codenames/stop_the_game_players.py
cca8ddc7432bcaea95f63e6d6f7e1b23b84b0207
[]
no_license
Aunsiels/demo_quasimodo
7b5aadc242e621312c948917dec8c6c28e38d5a2
4c03bc800f155c25517f06fb1d86472b56b52503
refs/heads/master
2023-03-03T14:29:32.109425
2021-03-24T13:54:43
2021-03-24T13:54:43
232,527,290
0
0
null
2023-03-02T08:45:29
2020-01-08T09:30:20
Python
UTF-8
Python
false
false
2,345
py
from quasimodo_website.codenames.codenames_agents import SpyMaster, Operative from quasimodo_website.codenames.quasimodo_players import QuasimodoSpyMaster from quasimodo_website.codenames.word_vector_players import WordVectorSpyMaster class ClueGivenException(Exception): def __init__(self, clue): super()...
[ "romerojulien34@gmail.com" ]
romerojulien34@gmail.com
9ab68ebd12225490a16cdd7d8468b37d77053f4c
2ec5a02fe7e23d6a07ed653c240aa47ca8c58323
/ephemeral/visualise_cohort_trajectories.py
c273f00ae6137eb144974ef256ef492893c21924
[ "BSD-3-Clause" ]
permissive
gob1thaasan/fMRI_Cubical_Persistence
aecfe5721e1dd0445356f3820f6c8c46a4e5bf4e
5a4773333a33f86c17bbd0604cc48a361fc9a35f
refs/heads/master
2022-12-27T18:05:36.885999
2020-10-22T16:49:01
2020-10-22T16:49:01
445,372,065
1
0
null
null
null
null
UTF-8
Python
false
false
4,848
py
#!/usr/bin/env python3 # # Visualises persistence-based embeddings in the form of trajectories # in a space of a given dimension. This is a simplified version of the # generic embedding script, focussing on the relevant scenarios for a # publication. Moreover, only a single trajectory is calculated per # cohort. impor...
[ "bastian.rieck@bsse.ethz.ch" ]
bastian.rieck@bsse.ethz.ch
065407732c1e76909b9fe76a1c4328c570bcd30b
da053e9a63434f7b7a53faef07f6d7d2800214e4
/tools/list-outdated-packages
a8d700b971082647be114057cb9f31eccb487fb2
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
BackGroundC/zulip
3f8ecd4ca98f05c4bcb9be0034140404d7f187f1
2bd6d275a70a7683986edc72fa8585726e976604
refs/heads/master
2020-05-30T21:19:36.799304
2019-06-02T22:00:16
2019-06-02T22:00:16
189,969,512
4
0
Apache-2.0
2019-06-03T08:53:52
2019-06-03T08:53:51
null
UTF-8
Python
false
false
847
#!/usr/bin/env python3 import subprocess import os ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) os.chdir(ZULIP_PATH) output = subprocess.check_output(['pip', 'list', '--outdated', '--format', 'columns']).decode('utf-8').splitlines() packages_info = output...
[ "tabbott@zulipchat.com" ]
tabbott@zulipchat.com
0e5c654179681f94d1a27ecf9007b508dfe13ffd
8ee9c5c47268b5c683d06fcc75b101a9e69ccac3
/python/Data Structures and Algorithms in Python Book/linked list/linkedqueue.py
a8f0609b9cbe5957c303f96bb7bc9f28772fc29c
[ "MIT" ]
permissive
gauravssnl/Data-Structures-and-Algorithms
c8103e4540735423598da88d828a705505c88de3
1c335c72ce514d4f95090241bbd6edf01a1141a8
refs/heads/master
2021-03-20T18:50:12.375933
2021-01-29T14:07:50
2021-01-29T14:07:50
247,225,247
7
3
null
null
null
null
UTF-8
Python
false
false
3,035
py
class Empty(Exception): """Exception class to be used if the container is empty""" pass class LinkedQueue: """FIFO queue implementation using a singly linked list for storage""" class _Node: """Lightwight, nonpublic class for storing a singly linked node""" __slots__ =['_element', '_ne...
[ "gaurav.ssnl@gmail.com" ]
gaurav.ssnl@gmail.com
f4ad5b87b65fb52b45552afefec60c7a081ca90b
96f8d1f282f5d9a526af3a4c50c97b758f7e1357
/pq_slab
905836706511e1ea6c35e42259b177f2650ff851
[]
no_license
ccme-tmc/tmckit
4b80bcc4991d1448b02cfdef5dbd077c653624d0
54054434a6da59160860478ee50f3118e20e2d16
refs/heads/master
2021-07-02T01:11:44.162474
2019-10-29T01:04:33
2019-10-29T01:04:33
182,224,486
12
3
null
null
null
null
UTF-8
Python
false
false
12,737
#!/usr/bin/env python from __future__ import print_function from optparse import OptionParser import sys,os,copy,re from qesp_utils import QESP_PW_input,QESP_PW_output,f_QE_DefaultRunCommand import pbs_utils import time def QESP_CreateSlab(stFileNameIn,stFileNameOut, nLatt = 7 , nVacuum = 5, nFix = 3, nShift = 0, st...
[ "stevezhang@pku.edu.cn" ]
stevezhang@pku.edu.cn
f4f5c52f13c5d11e63a62bef750246a85515c0ed
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/00d75ff4495c111ee4e4ebd4283cb45c362fdd75-<get_device_facts>-fix.py
a12e3dd41143548be2ae99f2f1a60cbe93a3d27a
[]
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
5,043
py
def get_device_facts(self): device_facts = { } device_facts['devices'] = { } lspci = self.module.get_bin_path('lspci') if lspci: (rc, pcidata, err) = self.module.run_command([lspci, '-D'], errors='surrogate_then_replace') else: pcidata = None try: ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
29761627b7bbdbd78381887bb08a0c915875369a
2e9ab8ec112904962bed1d27b31a6cd2c8c0dcd4
/utilities/mawi_downloader.py
74ed131a05125e1b0fd7d338d3192fd5ea2a1226
[]
no_license
kun0906/one_class_classification
932279d8ca43b630aa7bd8d0ad76ab2db8ef3253
ed66b3df5e98f300ec99a36615879a119a05b5df
refs/heads/master
2022-08-04T20:23:13.898525
2019-08-20T19:35:23
2019-08-20T19:35:23
152,491,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
""" download mawi pcaps from http://mawi.wide.ad.jp/mawi/samplepoint-F/2019/ A whole month pcap traces 2019/07: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 """ import os from subprocess import check_call """ https://docs.python.org/3.6/reference/lexica...
[ "kun.bj@foxmail.com" ]
kun.bj@foxmail.com
5a92b101102389eaf0caf59250b0c2cfd39213f3
d8574d8ca5c571fd7ed3b67dac00c55df2ac6580
/tools/utilities/python/bsddb_process.py
b0fcc7ec1e958db10debfd8a17a780b3d6e0ea8e
[]
no_license
h2r/slu_core
19de87e55e84dd4dada65b4d7b65857bdae740e8
e30c0245177e8481397fd4987422e3d35d79ec08
refs/heads/master
2021-07-09T18:19:33.424551
2020-07-06T18:49:18
2020-07-06T18:49:18
143,929,984
0
0
null
null
null
null
UTF-8
Python
false
false
2,392
py
import multiprocessing from Queue import Empty import process_utils import atexit import traceback def noop(key, key_extra_len=0): pass def network_writer(queue): import pylibmc as memcache cache = memcache.Client(["127.0.0.1:21201"]) cache.check_key = noop while True: try: ...
[ "stefie10@alum.mit.edu" ]
stefie10@alum.mit.edu
ca541223e795fb44657f1554d01758c4e9eeaf3d
3bd961816fe9b9048108f8a5a254b931dd79bde4
/manga_py/providers/remanga_org.py
ef13ae69e355080cbd17ce86162d857a40d7309a
[ "MIT" ]
permissive
eduhoribe/manga-py
6243115549d78c1599c6b043fe7cd897e2f517d3
fe7eb2e08532b3c75b4f7ac8cc4132f0e7a65eb4
refs/heads/stable_1.x
2023-01-14T01:48:34.873530
2020-11-17T04:30:15
2020-11-17T04:30:15
307,992,359
1
0
MIT
2020-11-15T00:00:45
2020-10-28T11:18:18
Python
UTF-8
Python
false
false
955
py
from manga_py.provider import Provider from .helpers.std import Std class ReMangaOrg(Provider, Std): def get_chapter_index(self) -> str: idx = self.re.search(r'/vol(\d+)/(\d+(?:\.\d+)?)', self.chapter) return '{}-{}'.format( *idx.groups() ).replace('.', '-') def get_main_...
[ "sttv-pc@mail.ru" ]
sttv-pc@mail.ru
d46d6136db7732437a80246610d2cfb8d1fb75fe
feff3bdacf58cc37dcf22f20b30b3faccbbbe923
/wright_cosmology.py
6614b7edf86bebcfb3adf168e21ab512a167fd1b
[]
no_license
michaelJwilson/Wright-Cosmology
fe185c3a6356618a3c81179a07d20b03b88c2c0a
95301d8d6eb67ead6c75dbf693ef3f3bcc97c1ed
refs/heads/master
2021-03-27T06:51:40.335512
2020-03-16T20:59:41
2020-03-16T20:59:41
247,798,309
0
0
null
null
null
null
UTF-8
Python
false
false
4,123
py
#!/usr/bin/env python import sys import argparse import numpy as np from math import * parser = argparse.ArgumentParser(description='Ned Wright Cosmology Calcalculator.') parser.add_argument('--z', metavar='z', type=np.float, nargs='?', default=3.0, help='redshift to calcula...
[ "mjwilson@lbl.gov" ]
mjwilson@lbl.gov
e23670bae95057de05305e0f68d3263972bb6fd5
d8734b5bb65e43dfd5c9af80ffbed7d87803517d
/HW_2/test_custom_list.py
776b1aea227452938c1ebf02e043fed4904b6b6d
[]
no_license
DariaMikhailovna/technosphere
f012b59c20cd9455e874b09c0debbe4c1ccf3608
f755edee26a3c86b5325a0f90e544a04d138c6ab
refs/heads/main
2023-04-16T03:41:19.958214
2021-05-04T13:29:12
2021-05-04T13:29:12
348,362,972
0
0
null
null
null
null
UTF-8
Python
false
false
3,741
py
import unittest from HW_2.custom_list import CustomList class MetaTestCase(unittest.TestCase): def setUp(self): self.my_list1 = CustomList([5, 1, 3, 7]) self.my_list2 = CustomList([1, 2, 7]) self.my_list3 = CustomList([1, 2, 4, 1]) self.my_list4 = CustomList([3, 5]) self.my...
[ "0610-1994@mail.ru" ]
0610-1994@mail.ru