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
fd5344b926e350d8600958ffe81b5cb0bb28003e
942ee5e8d54e8ebe9c5c841fbfdd1da652946944
/2001-2500/2047.Number of Valid Words in a Sentence.py
61409d08dd04438bf07ff937138d7d7ef84c61dc
[]
no_license
kaiwensun/leetcode
0129c174457f32887fbca078fb448adce46dd89d
6b607f4aae3a4603e61f2e2b7480fdfba1d9b947
refs/heads/master
2023-08-31T07:30:50.459062
2023-08-27T07:59:16
2023-08-27T07:59:16
57,526,914
69
9
null
2023-08-20T06:34:41
2016-05-01T05:37:29
Python
UTF-8
Python
false
false
751
py
class Solution: def countValidWords(self, sentence: str) -> int: res = 0 def test(word): if word[-1].isdigit() or word[-1] == '-': return False for i, c in enumerate(word[:-1]): if not ('a' <= c <= 'z' or c == '-'): return ...
[ "skw_kevin@126.com" ]
skw_kevin@126.com
18478bb44f33657f03bdf040d15e4e64e04aa750
5aca02672a97255956edb21f50de2854e62f6210
/Projeto/carrinho.py
3093c1f02058d6a763d8a19d4d1561b9eeec646f
[]
no_license
Pedro-H-Castoldi/descobrindo_Python
ea54a75e577a85fdc1e7284643447fadd950ba6e
287290c6ee8b34142d5e7c27cdc7b2edebf23819
refs/heads/master
2020-09-04T17:39:11.514124
2020-04-27T15:55:15
2020-04-27T15:55:15
219,834,848
0
0
null
null
null
null
UTF-8
Python
false
false
2,395
py
import cliente from produto import Produto from compra import Compra class Carrinho: def __init__(self): self.__l_carrinho = [] @property def l_carrinho(self): return self.__l_carrinho @property def cliente(self): return self.__cliente def conferir_cliente(self): ...
[ "pedrohenriquecastoldi.b@hotmail.com" ]
pedrohenriquecastoldi.b@hotmail.com
06e79f4fad2a731cc1739d26a7409b37dde32769
ee974d693ca4c4156121f8cb385328b52eaac07c
/env/share/doc/networkx-2.3/examples/graph/plot_erdos_renyi.py
fac52504b6282d6fbd3e5053ad050c7eb81c27b2
[ "BSD-3-Clause" ]
permissive
ngonhi/Attendance_Check_System_with_Face_Recognition
f4531cc4dee565d0e45c02217f73f3eda412b414
92ff88cbc0c740ad48e149033efd38137c9be88d
refs/heads/main
2023-03-12T07:03:25.302649
2021-02-26T15:37:33
2021-02-26T15:37:33
341,493,686
1
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:52554e74245d7822f751aeac81b4fc199ee16f088cc89c0e0df4143f9aa34b7c size 973
[ "Nqk180998!" ]
Nqk180998!
606c5dd07fdcaf37ce7afc906c9394115452de74
58f38f1d69d4bfc650ad18e0045c36ae29c9d84a
/Django基础部分代码/chapter04/orm_intro_demo/book/models.py
f9d8ccf147cc08f68a92fa89d2d320b01ccbd649
[]
no_license
zjf201811/DjangoWebProject
0670c61b89387901089bf67cf2423d9341f69913
fab15784fb326ba4517951e180418ea54de03afe
refs/heads/master
2020-04-18T12:03:08.798484
2019-05-06T03:59:46
2019-05-06T03:59:46
167,522,193
3
1
null
null
null
null
UTF-8
Python
false
false
927
py
from django.db import models # 如果要将一个普通的类变成一个可以映射到数据库中的ORM模型 # 那么必须要将父类设置为models.Model或者他的子类 class Book(models.Model): # 1. id:int类型,是自增长的。 id = models.AutoField(primary_key=True) # 2. name:varchar(100),图书的名字 name = models.CharField(max_length=100,null=False) # 3. author:varchar(100),图书的作者 auth...
[ "thor201105@163.com" ]
thor201105@163.com
7fcbc5d0f076d7dc308177281f13613842aee435
3d91b4f3ac42056b1a8205b1f5a62b5ca05ded43
/expences_tracker/expences_tracker/asgi.py
493e3e68aa4b22d3960adb960d7b5cb825e3e1da
[]
no_license
olgayordanova/Python_Web
be34027a7755d5c178164995edb25f173a7fcdb4
3dfc6df65bffb109d5e26e9d1a496158b196c62f
refs/heads/main
2023-05-31T03:54:29.515864
2021-07-09T11:29:14
2021-07-09T11:29:14
373,501,975
1
0
null
null
null
null
UTF-8
Python
false
false
425
py
""" ASGI config for expences_tracker project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.se...
[ "noreply@github.com" ]
olgayordanova.noreply@github.com
0577c21f81b162c1e5ff6065204cee92f06948df
2626f6e6803c8c4341d01f57228a0fe117e3680b
/students/rmart300/lesson06_testing/water-regulation/decider.py
2eb9b68c36c9f1fdd19733e2dd733124b51d7852
[]
no_license
kmsnyde/SP_Online_Course2_2018
9e59362da253cdec558e1c2f39221c174d6216f3
7fe8635b47d4792a8575e589797260ad0a2b027e
refs/heads/master
2020-03-19T17:15:03.945523
2018-09-05T22:28:55
2018-09-05T22:28:55
136,750,231
0
0
null
2018-06-09T19:01:52
2018-06-09T19:01:51
null
UTF-8
Python
false
false
3,167
py
""" Encapsulates decision making in the water-regulation module """ class Decider(object): """ Encapsulates decision making in the water-regulation module """ def __init__(self, target_height, margin): """ Create a new decider instance for this tank. :param targ...
[ "kmsnyder2@verizon.net" ]
kmsnyder2@verizon.net
f64ad10e4891ecd5d12b68ca45714966f1a8b852
1cc17b2eb1c885389126299602dbaa3bbd1e6dd7
/liaoxuefeng_python/base/demo09.py
0db64ffc3cdfddd6f88c8a49b443f24fc835d0c8
[]
no_license
shulu/python_note
e611093ff2af321fbc889167424574b214052b44
93b101a1723d2d47b435a25e81e447f0d5d95022
refs/heads/master
2021-01-02T22:47:53.717930
2019-03-26T08:55:48
2019-03-26T08:55:48
99,391,822
1
0
null
null
null
null
UTF-8
Python
false
false
237
py
# -*- coding: utf-8 -*- def triangles(): L=[1] while True: yield L L = [1] + [ L[x-1] + L[x] for x in range(1,len(L)) ] + [1] n = 0 for t in triangles(): print(t) n = n + 1 if n == 10: break
[ "qq961085397@163.com" ]
qq961085397@163.com
86b63a5fdae231a294b699599470adc4a1eaad55
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/sklearn/model_selection/_split.py
2eccb50fcc9769222f8d5adfa50a098a6317079d
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
82,452
py
""" The :mod:`sklearn.model_selection._split` module includes classes and functions to split the data based on a preset strategy. """ # Author: Alexandre Gramfort <alexandre.gramfort@inria.fr>, # Gael Varoquaux <gael.varoquaux@normalesup.org>, # Olivier Grisel <olivier.grisel@ensta.org> # Ragha...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
50db569d619ceba40e29f9e252fb82e4831c1d5e
08fee9b4e4704249d7e49797af05712ca226d177
/eemont/.ipynb_checkpoints/common-checkpoint.py
2edd5f026a742936bb7204b308bbb0f8256badc0
[ "MIT" ]
permissive
ntag1618/eemont
81a36818c2d45af37a7e1661d90ae692a0183d48
e1c9b58837a9626890a087120b2a1c4b764d85c3
refs/heads/master
2023-04-06T19:25:00.368693
2021-04-17T01:09:13
2021-04-17T01:09:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
49,358
py
import ee import warnings from box import Box def _get_expression_map(img, platformDict): '''Gets the dictionary required for the map parameter in ee.Image.expression() method. Parameters ---------- img : ee.Image Image to get the dictionary from. platformDict : dict Dictionary...
[ "dml.mont@gmail.com" ]
dml.mont@gmail.com
31cacdabc898c72256c2b0a4659c67b8430622fd
ff768174490619c119d166273365dcc480e7201c
/tuiuiu/tuiuiuadmin/__init__.py
b0d735aa8ad231893e317bbee17f3854072723f8
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain" ]
permissive
caputomarcos/tuiuiu.io
15ea9323be09b69efb6b88490c2bb558ffb4cc55
d8fb57cf95487e7fe1454b2130ef18acc916da46
refs/heads/master
2022-03-02T12:56:43.889894
2017-09-23T22:53:51
2017-09-23T22:53:51
102,543,365
3
1
NOASSERTION
2022-02-02T10:46:32
2017-09-06T00:30:06
Python
UTF-8
Python
false
false
68
py
default_app_config = 'tuiuiu.tuiuiuadmin.apps.TuiuiuAdminAppConfig'
[ "caputo.marcos@gmail.com" ]
caputo.marcos@gmail.com
629ad7161947983e30003f917353693a04574f14
ad1d46b4ec75ef1f00520ff246d0706c6bb7770e
/content/chapters/how-to-browse-sequences/25.py
e0850b41997e10de7e8f2f2fdf52af7e4fd0a553
[]
no_license
roberto-arista/PythonForDesigners
036f69bae73095b6f49254255fc473a8ab7ee7bb
1a781ea7c7ee21e9c64771ba3bf5634ad550692c
refs/heads/master
2022-02-24T15:28:04.167558
2021-09-07T10:37:01
2021-09-07T10:37:01
168,937,263
103
37
null
2022-02-11T02:24:01
2019-02-03T11:17:51
Python
UTF-8
Python
false
false
234
py
linesAmount = 4 newPage(100, 100) stroke(0) for eachLineIndex in range(linesAmount): # the width() function provides the canvas width in pts quota = width()/(linesAmount+1)*(eachLineIndex+1) line((20, quota), (80, quota))
[ "arista.rob@gmail.com" ]
arista.rob@gmail.com
4ba530650c4721fb280087ccbc644b3749bde818
f159aeec3408fe36a9376c50ebb42a9174d89959
/908.Smallest-Range-I.py
3508da6f00d256b33a6feb475eb1f2fc769042a6
[ "MIT" ]
permissive
mickey0524/leetcode
83b2d11ab226fad5da7198bb37eeedcd8d17635a
fc5b1744af7be93f4dd01d6ad58d2bd12f7ed33f
refs/heads/master
2023-09-04T00:01:13.138858
2023-08-27T07:43:53
2023-08-27T07:43:53
140,945,128
27
9
null
null
null
null
UTF-8
Python
false
false
428
py
# https://leetcode.com/problems/monotonic-array/description/ # # algorithms # Easy (65.12%) # Total Accepted: 2.8k # Total Submissions: 4.3k class Solution(object): def smallestRangeI(self, A, K): """ :type A: List[int] :type K: int :rtype: int """ if len(A) == 1...
[ "buptbh@163.com" ]
buptbh@163.com
fa3751191ddf11b217c6eb670413a9adf50781c4
cb61ba31b27b232ebc8c802d7ca40c72bcdfe152
/leetcode/MaxSubArray/solution.py
bce136e8c8ff078608c00208d22aac159de2eb60
[ "Apache-2.0" ]
permissive
saisankargochhayat/algo_quest
c7c48187c76b5cd7c2ec3f0557432606e9096241
a24f9a22c019ab31d56bd5a7ca5ba790d54ce5dc
refs/heads/master
2021-07-04T15:21:33.606174
2021-02-07T23:42:43
2021-02-07T23:42:43
67,831,927
5
1
Apache-2.0
2019-10-28T03:51:03
2016-09-09T20:51:29
Python
UTF-8
Python
false
false
1,926
py
# https://leetcode.com/problems/maximum-subarray/ class Solution: def find_max_subarray(self, A, low, high): # means only one element present. if high == low: return (low, high, A[low]) else: mid = (low + high) // 2 left_low, left_high, left_sum = self.fin...
[ "saisankargochhayat@gmail.com" ]
saisankargochhayat@gmail.com
2dd0237030d554f35a13f1533f56214f68389736
a3d72c9d47a3711ff1a7213da25bacdcb3a7aa32
/stickerfinder/models/inline_query.py
230faf23540fc4f4ecebb19740a86738467102a4
[ "MIT" ]
permissive
crashcoredump/sticker-finder
225a46c586d1b2b8764cf325e296186cbece5edd
8158724ebc3e8346012d0ede05a75bb8f9f5f7eb
refs/heads/master
2020-08-26T23:28:56.991893
2019-10-23T22:34:58
2019-10-23T22:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,059
py
"""The sqlite model for a inline search.""" from sqlalchemy.orm import relationship from sqlalchemy import ( Column, func, ForeignKey, ) from sqlalchemy.types import ( BigInteger, DateTime, String, ) from stickerfinder.db import base from stickerfinder.config import config class InlineQuery(b...
[ "arne@twobeer.de" ]
arne@twobeer.de
ddc1c06504ccf03d4fbc43b58ce23bf3214722c4
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_load_balancer_outbound_rules_operations.py
a935428adfd54b2ec8269ea28f4fc210338347e3
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
8,668
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" ]
scbedd.noreply@github.com
706a7e2dc2373a17d9f2086ca67c6b7d99a8d8af
a8e4280db883d41c0fbf4d45fb034a924a659c24
/sequence/BioReaders.pyx
7aa9fb546bcd2a97017d0707eaf278d1637c101c
[]
permissive
Magdoll/cDNA_Cupcake
62dde8da3f695e27b4d69c1f1c4d795feb81379d
81b7e7f6aeb53e15c11dd30a68a498a58e5f390a
refs/heads/master
2023-08-09T14:26:17.094176
2022-10-10T21:39:50
2022-10-10T21:39:50
58,404,754
247
104
BSD-3-Clause-Clear
2023-07-24T01:43:30
2016-05-09T20:08:59
Python
UTF-8
Python
false
false
18,541
pyx
import re, sys from collections import namedtuple from exceptions import StopIteration Interval = namedtuple('Interval', ['start', 'end']) def iter_cigar_string(cigar_string): num = cigar_string[0] for s in cigar_string[1:]: if str.isalpha(s): yield int(num), s num = '' ...
[ "magdoll@gmail.com" ]
magdoll@gmail.com
31eb8b24eda1dbf4057a135e2c336137d0af9db9
7f523c407d45d116860eff67f079e807f2b53339
/src/third_party/beaengine/tests/0f70.py
a4f621255a6e3e54afb502cf9a0a799e38f7204f
[ "MIT", "LGPL-3.0-only", "LGPL-2.0-or-later" ]
permissive
0vercl0k/rp
a352c96bfe3715eb9ce8c5942831123e65289dac
b24e7f58a594aaf0ce3771745bf06862f6ecc074
refs/heads/master
2023-08-30T08:03:14.842828
2023-08-09T00:41:00
2023-08-09T00:41:00
3,554,173
1,557
239
MIT
2023-08-09T00:41:02
2012-02-26T19:26:33
C++
UTF-8
Python
false
false
10,145
py
#!/usr/bin/python # -*- coding: utf-8 -*- # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This progra...
[ "noreply@github.com" ]
0vercl0k.noreply@github.com
56ff8207e78b231e1fea0c024582ba1d89105dca
2b86301d5ad3fecaa5a300cabfe6b4dfc82b78ed
/venv/Lib/site-packages/adodbapi/process_connect_string.py
a8dab5a10443ed24537ce76705a9c1de02f5ef71
[ "MIT", "LGPL-2.1-only", "LGPL-2.0-or-later" ]
permissive
sserrot/champion_relationships
72823bbe73e15973007e032470d7efdf72af3be0
91315d6b7f6e7e678d9f8083b4b3e63574e97d2b
refs/heads/master
2022-12-21T05:15:36.780768
2021-12-05T15:19:09
2021-12-05T15:19:09
71,414,425
1
2
MIT
2022-12-18T07:42:59
2016-10-20T01:35:56
Python
UTF-8
Python
false
false
5,376
py
""" a clumsy attempt at a macro language to let the programmer execute code on the server (ex: determine 64bit)""" from . import is64bit as is64bit def macro_call(macro_name, args, kwargs): """ allow the programmer to perform limited processing on the server by passing macro names and args :new_key - the key ...
[ "sserrot@users.noreply.github.com" ]
sserrot@users.noreply.github.com
49e6d7da11e749a220fab3a24a443fe317ea54ab
6e1ea8d65052f025060453f66819ac446a7592d8
/archive/neg_190406_3.py
e062dc3d131ae0f2f2565440c8ac7a7146698d5d
[]
no_license
csJd/oj-codes
bc38b79b9227b45d34139c84f9ef1e830f6b996c
2bd65d0070adc3400ee5bee8d1cf02a038de540b
refs/heads/master
2022-03-21T20:21:40.153833
2019-11-28T13:11:54
2019-11-28T13:11:54
47,266,594
2
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
""" 题目描述:n 个 电池, m 条电线 (电线是单向的!) , 电源连着电池 b, 电源功率为 e 某个电池充满电后通向其的功率会平均分往所连的电池 输入 n 个电池的容量 输出每个电池充满电所需时间 2 6 6 1 2 4 2 4 2 2 20 1 2 1 3 2 4 3 5 4 6 5 6 2 0 2 1 10 10 2.0000 4.0000 6.0000 6.0000 8.0000 17.0000 -1.0000 10.0000 """ T = int(input()) for case in range(T): n, m, b, e = map(int, input().split()) rem...
[ "d.vay@qq.com" ]
d.vay@qq.com
c22785ef3b2a5baca3fdb90c053ddeda973ccced
c8371b410f19dc87059bbe0a28e983c3cfe0f4f8
/src/etheroll/settings.py
8e2e0292db8743d6e368ca46c0f468eb6156dac1
[ "MIT" ]
permissive
homdx/EtherollApp
c70e37cff4fbbde8c605a8ca87776535185a7167
4953ce0f10ac58d43517fbc3a18bc5ed43297858
refs/heads/master
2020-03-28T19:05:10.591229
2018-09-30T21:25:32
2018-09-30T21:25:32
148,942,827
0
0
MIT
2018-09-15T21:52:51
2018-09-15T21:52:51
null
UTF-8
Python
false
false
2,576
py
from etheroll.store import Store from etheroll.utils import SubScreen, load_kv_from_py from pyetheroll.constants import DEFAULT_GAS_PRICE_GWEI, ChainID load_kv_from_py(__file__) class SettingsScreen(SubScreen): """ Screen for configuring network, gas price... """ def __init__(self, **kwargs): ...
[ "andre.miras@gmail.com" ]
andre.miras@gmail.com
5197c2424a9a662ba7a7350d9247e1a5e7ccc646
e2d23d749779ed79472a961d2ab529eeffa0b5b0
/gcloud/commons/template/apps.py
afc2887f420be79a219cef1a5aafb3839402098a
[ "MIT", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
manlucas/atom
9fa026b3f914e53cd2d34aecdae580bda09adda7
94963fc6fdfd0568473ee68e9d1631f421265359
refs/heads/master
2022-09-30T06:19:53.828308
2020-01-21T14:08:36
2020-01-21T14:08:36
235,356,376
0
0
NOASSERTION
2022-09-16T18:17:08
2020-01-21T14:04:51
Python
UTF-8
Python
false
false
1,016
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
[ "lucaswang@canway.net" ]
lucaswang@canway.net
ec9295456b52b9cf9075dd919fa029b82ea8663d
327490d5d0ba55a1165d5a799e496f2e971d7861
/ask39_spider/spiders/ask39.py
f9b83ac502bd2568d62b442c7f33b5a20e2c490a
[]
no_license
AotY/ask39-spider
487098e485d598f2b60f021059668e57cd33aa03
60d319f416ac95cede1084454b4129d8e2042e32
refs/heads/master
2020-04-12T03:38:09.040730
2019-01-08T12:45:59
2019-01-08T12:45:59
162,272,474
0
0
null
null
null
null
UTF-8
Python
false
false
8,499
py
# -*- coding: utf-8 -* import logging import scrapy from ask39_spider.items import QuestionItem, DoctorItem from ask39_spider.constant import Constant logger = logging.getLogger('ask39') class Ask39Spider(scrapy.Spider): name = 'ask39' allowed_domains = ['ask.39.net', '39.net'] # start_urls = ['http://...
[ "694731929@qq.com" ]
694731929@qq.com
c2e75fd7abf542fd4fb1988548f9998ddbaa7c4f
2ceac26366a31b40be3060592ceb25dbc01f7236
/tests/seleniumwire/webdriver/test_request.py
03ec726d75b4a709fd31f93b6dfc42716620bb34
[ "MIT" ]
permissive
SilverFruity/selenium-wire
e499d06b75b94f73fef5f71e5238c4bcc1f9a2fd
6413a645447ee265a1613e1c4c0497da5ccfadb6
refs/heads/master
2022-12-24T23:31:33.883494
2020-09-25T02:55:08
2020-09-25T02:55:08
297,247,880
0
0
MIT
2020-09-21T06:25:18
2020-09-21T06:25:17
null
UTF-8
Python
false
false
11,392
py
from unittest import TestCase from unittest.mock import Mock, call from seleniumwire.webdriver.request import (InspectRequestsMixin, LazyRequest, LazyResponse, TimeoutException) class Driver(InspectRequestsMixin): def __init__(self, client): self._client = clie...
[ "will@zifferent.com" ]
will@zifferent.com
da1ab5db20d1fb716fc0a34ca0435f659c226e57
94b8050084f84694490c2e1466da369f4105cb9a
/Runtime.py
04a22128d550f84e1e50adebe495fda9cc906108
[]
no_license
myrfy001/chrome-control
1c13089d17a802260f123c48a7887f834aa1b1de
ae4a4f293eff1715b32dc5b31e39a967a6f0f5ab
refs/heads/master
2021-01-23T01:46:25.912119
2017-04-16T03:17:20
2017-04-16T03:17:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,032
py
from enum import Enum from typing import Any, List from base import ChromeCommand # Unique script identifier. ScriptId = str # Unique object identifier. RemoteObjectId = str UnserializableValue = Enum("UnserializableValue", "Infinity NaN -Infinity -0") UnserializableValue.__doc__ = "Primitive value which cannot be...
[ "bill@billmill.org" ]
bill@billmill.org
e39396344dfa389cd482fb0f09a82d0ffbd041e9
930a868ae9bbf85df151b3f54d04df3a56bcb840
/benchmark/union_find_decoder/atomic_qubit_model/perfect_measurement/run_experiment.py
4f1ba3312e3746483f2566fb68d9402c43a492e5
[ "MIT" ]
permissive
yuewuo/QEC-Playground
1148f3c5f4035c069986d8b4103acf7f1e34f9d4
462208458cdf9dc8a33d4553a560f8a16c00e559
refs/heads/main
2023-08-10T13:05:36.617858
2023-07-22T23:48:49
2023-07-22T23:48:49
312,809,760
16
1
MIT
2023-07-22T23:48:51
2020-11-14T12:10:38
Python
UTF-8
Python
false
false
3,372
py
import os, sys import subprocess, sys qec_playground_root_dir = subprocess.run("git rev-parse --show-toplevel", cwd=os.path.dirname(os.path.abspath(__file__)), shell=True, check=True, capture_output=True).stdout.decode(sys.stdout.encoding).strip(" \r\n") rust_dir = os.path.join(qec_playground_root_dir, "backend", "rust...
[ "yue.wu@yale.edu" ]
yue.wu@yale.edu
be0b75475d921e2b3150d46ad352382e2d5dc7bb
dfc57c864598d8c6cf4a438fdf683722b8bdfa97
/datastax_cassandra_deploy/utils.py
fcb6c03f5d309032d32f092db183ad5a18d0f545
[ "Apache-2.0" ]
permissive
ownport/datastax-cassandra-deploy
9432ee7ffafb50feef066fe493d8876b9da4beb9
5eeb24f09ea7ae63f6234c75279f3592b4557400
refs/heads/master
2021-06-17T15:41:52.785970
2019-06-25T19:34:33
2019-06-25T19:34:33
191,298,874
1
0
Apache-2.0
2021-03-25T22:40:53
2019-06-11T05:18:14
Python
UTF-8
Python
false
false
1,665
py
import json import yaml import logging logger = logging.getLogger(__name__) def load_deployment(deployments): ''' reused from https://github.com/ansible/ansible/blob/devel/lib/ansible/utils/vars.py and modified according to DataStax Cassandra deployment requirements ''' result = {} if not...
[ "ownport@gmail.com" ]
ownport@gmail.com
ae95c88713e0cb71918e8f7b95f9960e7bfb1160
9a063667fb866fc3be52910e8dab53b73c144e7d
/forecast/auth/views.py
b27f15d7233fb8340c071ad09b54cdd67b27b4c6
[ "MIT" ]
permissive
lockefox/ProsperForecast
45634904ce5f51628754dba791c414db23189787
eccba1ba6e5e2322c20bec65421fb531acdf5f43
refs/heads/master
2020-04-07T18:03:21.192557
2018-11-30T20:58:54
2018-11-30T20:58:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,587
py
from flask import request, jsonify, Blueprint, current_app as app from flask_jwt_extended import ( create_access_token, create_refresh_token, jwt_required, jwt_refresh_token_required, get_jwt_identity, get_raw_jwt ) from forecast.models import User from forecast.extensions import pwd_context, j...
[ "locke.renard@gmail.com" ]
locke.renard@gmail.com
f3712b6de2d824dba7c3ff61ab63cb05a89d7b24
0211c16c9a3785444e5204156adafb53a8d8c93c
/src/spaceone/identity/service/domain_owner_service.py
01c0bf7823d294377de40e8eb37e3d53e5a2790d
[ "Apache-2.0" ]
permissive
pyengine/identity
b85eed6513225b20db998c01832bc316a1cd4f24
4ab9feb3694851fe41b74ecce75c6f5b4f00549f
refs/heads/master
2022-12-12T04:44:55.472721
2020-09-11T02:42:01
2020-09-11T02:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
import logging from spaceone.core.service import * from spaceone.identity.manager import DomainManager, DomainOwnerManager from spaceone.identity.manager.domain_secret_manager import DomainSecretManager from spaceone.identity.model import Domain #@authentication_handler #@authorization_handler @event_handler class Do...
[ "whdalsrnt@megazone.com" ]
whdalsrnt@megazone.com
9892521d3ac95312fdcb0b4127583b854e9f9472
b000127408f96db7411f301553585f5da0e426cd
/code/Find-Smallest-Letter-Greater-Than-Target.py
8aee8cd7459327bce3cf3cb8411503c855d7e7b3
[]
no_license
SaiVK/Leetcode-Archive
5f758faf97d1ab559c4c75d26ae5cf7a256baef8
56bafeaaced2d0fd3b3d2f1a0365d24d5b41e504
refs/heads/master
2022-11-23T08:50:17.610247
2020-07-27T02:09:53
2020-07-27T02:09:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
import string class Solution(object): def nextGreatestLetter(self, letterList, target): self.letters = list((string.ascii_lowercase * 3)) self.target = target self.letterIndex = self.letters.index(target) def calc_distance(letter): x = self.letters.index(letter) ...
[ "christopherlambert106@gmail.com" ]
christopherlambert106@gmail.com
cda52ad208ce0243b35465c1db3986b72cc27b41
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnmuschelkalk.py
ecf6f1dcd56a62fe81302f2e0d7775c9c1887b96
[]
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
45
py
ii = [('BuckWGM.py', 11), ('BuckWGM2.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
8412c4a8ea6a6053ee45135ce26cf42deedf993e
fd9a184380b1b8ed22ab82b623d28241b129c925
/print_triangle.py
4c742faef4e4631fbbf78a41a44089b660e01dd7
[]
no_license
chen-qian-dan/Codes_Python
31925b7cf1043ae5fbd0eef81511d0fd58436646
367e8660a38555f37ddb91bf9d05258d4ca6a6a8
refs/heads/master
2022-04-16T22:11:09.115850
2020-03-09T09:26:44
2020-03-09T09:26:44
224,622,481
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
print(" /|") print(" / |") print(" / |") print(" / |") print(" / |") print("/_____|")
[ "54783217+chen-qian-dan@users.noreply.github.com" ]
54783217+chen-qian-dan@users.noreply.github.com
2813003b3862939824725bf3c272bb60edbaa9e8
c9000e5e30825b29febbefa5ad00da1f57551f8e
/03/zhumeichao/test02.py
80b502f03b776005dc5eeba1ff236505504d123b
[]
no_license
xiaotian1991/actual-10-homework
81c58b24f58fc87e4890f1475ad83de8b66ee53b
0b379ca6189f843f121df4db5814c83262f9981a
refs/heads/master
2021-06-12T23:35:52.954510
2017-03-24T07:41:18
2017-03-24T07:41:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
#!/usr/bin/env python #coding=utf-8 #字符串、列表、字典之间的转换 text="who have touched their lives Love begins with a smile grows with a kiss and ends with a tear The brightest future will always be based on a forgotten past you can’t go on well in lifeuntil you let go of your past failures and heartaches" #字符串切割 --》列表 ...
[ "shengxinjing@addnewer.com" ]
shengxinjing@addnewer.com
64edf9702104dce44c2a1f5a7b4477742e5c33cd
6b98594c029605806418d187672f476fde5792b7
/sandbox/rocky/tf/spaces/discrete.py
13ad009859ccef63e31b6edb60a1316baeaee9ff
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
russellmendonca/GMPS
3f65eb250bff008da9beea6b9d1f04aca2d46c6a
638087160c48f9f016dc74b0904f8ba2503ea285
refs/heads/master
2023-01-22T07:53:21.504243
2019-10-26T11:23:42
2019-10-26T11:23:42
178,866,391
18
8
NOASSERTION
2023-01-19T06:42:27
2019-04-01T13:12:40
Python
UTF-8
Python
false
false
1,611
py
from rllab.spaces.base import Space import numpy as np from rllab.misc import special from rllab.misc import ext import tensorflow as tf class Discrete(Space): """ {0,1,...,n-1} """ def __init__(self, n): self._n = n @property def n(self): return self._n def sample(self)...
[ "russellm@berkeley.edu" ]
russellm@berkeley.edu
016c9a80eb3293fe19613d524785afd10481a1bc
3512a534001e2b4dcc10808fee7d57b9ac9f1f13
/accounts/views.py
9907d95a50e352a839fd4a6446ea54056ea407f4
[]
no_license
suryanshtokas/blog-app
1adb4521e731ed693d103220c4ec1111c26894a8
80784c643e73a67e0bc89ee62e5358b3312a9314
refs/heads/master
2022-11-21T01:35:59.437795
2020-07-16T14:23:28
2020-07-16T14:23:28
280,171,745
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
from django.shortcuts import render from django.contrib.auth.forms import UserCreationForm from django.urls import reverse_lazy from django.views import generic class SignUpView(generic.CreateView): form_class = UserCreationForm success_url = reverse_lazy('login') template_name='signup.html' # Create you...
[ "yourname@email.com" ]
yourname@email.com
984dfecf51ecb2edfcee1084f4c5a3dcfe5126f0
9eb6528606cf9dd011a3ce0c1605b111c9d50955
/python/6-4super函数使用2.py
415ba6a7c294f71de06da5708a31d96bf1bab2d8
[]
no_license
arch123A/luoye
0ca9f787c7d5e9ba89d2ae602528e68d7d31a636
ba8e902cefba2c3ccc58bc266cdf9a7eff03a458
refs/heads/master
2023-02-02T22:47:00.256065
2020-12-13T09:30:33
2020-12-13T09:30:33
104,022,159
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
print("******多继承使用super().__init__ 发生的状态******") class Parent(object): def __init__(self, name, *args, **kwargs): # 为避免多继承报错,使用不定长参数,接受参数 print('parent的init开始被调用') self.name = name print('parent的init结束被调用') class Son1(Parent): def __init__(self, name, age, *args, **kwargs): # 为避免多继...
[ "arch@msn.cn" ]
arch@msn.cn
88d24b558542bdd433aa64dcd61afba9c7240541
e836eb7ee910c1ca85233c48eadcd49a52bb20ea
/Fractals/Mandelbrot.py
6e40f7a3084de57394306c1bc84a6b0b921b5a2c
[]
no_license
SymmetricChaos/MyOtherMathStuff
5d0c47adfaad0e7fb7f0e8736617f15bbac7ed37
9dd6920b44658d2faacb54d7120e83ff7de45bf3
refs/heads/master
2021-06-26T18:34:13.178520
2021-01-03T14:22:10
2021-01-03T14:22:10
196,845,677
38
2
null
null
null
null
UTF-8
Python
false
false
1,062
py
import math import numpy as np def mandel(n=30,m=30): imarr = np.zeros((m*3+1,m*3+1)) r = math.floor(m*1.5) xr = [x / float(m) -0.75 for x in range(-r,r+1,1)] yr = [x / float(m) for x in range(-r,r+1,1)] print(len(xr)) for x in range(m*3+1): for y in range(m*3+1): a,b...
[ "ajfraebel@gmail.com" ]
ajfraebel@gmail.com
9eb39fa7e26c964a1c581ca9bc6c19ae3c5518d4
45c170fb0673deece06f3055979ece25c3210380
/toontown/coghq/CashbotMintControlRoom_Battle00_Cogs.py
8e2affb201f05aaddb5f6cf4666f6853885ade9a
[]
no_license
MTTPAM/PublicRelease
5a479f5f696cfe9f2d9dcd96f378b5ce160ec93f
825f562d5021c65d40115d64523bb850feff6a98
refs/heads/master
2021-07-24T09:48:32.607518
2018-11-13T03:17:53
2018-11-13T03:17:53
119,129,731
2
6
null
2018-11-07T22:10:10
2018-01-27T03:43:39
Python
UTF-8
Python
false
false
1,048
py
#Embedded file name: toontown.coghq.CashbotMintControlRoom_Battle00_Cogs from toontown.coghq.SpecImports import * from toontown.toonbase import ToontownGlobals CogParent = 10000 BattleCellId = 0 BattleCells = {BattleCellId: {'parentEntId': CogParent, 'pos': Point3(0, 0, 0)}} CogData = [{'parentEntId': C...
[ "linktlh@gmail.com" ]
linktlh@gmail.com
aa8692f6cc8eabdf8af875a4dae6910929b7849a
534570bbb873293bd2646a1567b63d162fbba13c
/Python/Data Structure/Linear List/Array/K Sum/18.4-sum.py
5c1d0a6f23af7229aebaed7b762696320f35849d
[]
no_license
XinheLIU/Coding-Interview
fa3df0f7167fb1bc6c8831748249ebaa6f164552
d6034c567cef252cfafca697aa316c7ad4e7d128
refs/heads/master
2022-09-17T14:30:54.371370
2022-08-19T15:53:35
2022-08-19T15:53:35
146,382,499
0
1
null
null
null
null
UTF-8
Python
false
false
1,123
py
# # @lc app=leetcode id=18 lang=python3 # # [18] 4Sum # # @lc code=start class Solution: def fourSum(self, nums: List[int], target: int) -> List[List[int]]: nums.sort() res = [] n = len(nums) for i in range(0, n - 3): if i and nums[i] == nums[i - 1]: cont...
[ "LIUXinhe@outlook.com" ]
LIUXinhe@outlook.com
5b73b192746d5b1228688ae57162a9d58057078d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2248/60690/275776.py
ca2ee4bb78146b5668b55fdda0acc54a66584f86
[]
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
131
py
n=int(input()) a=int(input()) b=int(input()) num=1 while n>0: if num%a==0 or num%b==0: n-=1 num+=1 print((num-1)%(10**9+7))
[ "1069583789@qq.com" ]
1069583789@qq.com
34ba01a58336d2f71eda9ce17d9bb08ce4174e3f
1e30de35480b76f5d00229f5d2fd805bf96ccd9a
/ch10_httpd/p5_lab1_config_web_app/webapp.wsgi
e535b4a2a1e06a05abcd8cb604bdf8fc0e354507
[]
no_license
alexbaltman/RHCE
4be7987cb1b58c81d870f93b11d5a7a9d52d40c3
b143daeb2d5d92ebb4e2eb92efd2892dc8ed3bab
refs/heads/master
2021-01-13T14:50:44.837021
2017-02-16T03:51:05
2017-02-16T03:51:05
76,525,209
0
1
null
null
null
null
UTF-8
Python
false
false
277
wsgi
def application(environ, start_response): status = '200 OK' output = 'Hello World!\n' response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))] start_response(status, response_headers) return [output]
[ "aaltman@cisco.com" ]
aaltman@cisco.com
0c428f58dddfce0e8d9c0d84f7a3137bcccc4a8b
61166d9797ba949be9ad1b805ae840ff8749e64b
/BINARY_SEARCH/binary_search_recursive.py
5c2a64976a81160344236a62fe27a90c71a91683
[]
no_license
shubhamrocks888/questions
216f4f6e8ae6df5a1eb156c2cbf1004b09b1ca88
76c98c0e3edccf6552823892058e097b61daa530
refs/heads/master
2022-12-16T23:07:07.689312
2020-09-14T04:45:12
2020-09-14T04:45:12
284,040,183
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# RECURSIVE APPROACH: def binary_search(arr,start,end,n): mid = (start+end)//2 if start<=end: if arr[mid]==n: return "yes" elif arr[mid]<n: return binary_search(arr,mid+1,end,n) else: return binary_search(arr,start,mid-1,n) return "no" ...
[ "shubhamrocks888@gmail.com" ]
shubhamrocks888@gmail.com
7be4818b6c0e6441e0cbd480a64d904766a69b8c
525a9f62e61c08e73e8dc9a862ac16f1a38c90ee
/guillotina_cms/content/document.py
d292d22d28c9bd5c118bd5020c43434a0ee22d2d
[ "BSD-2-Clause" ]
permissive
plone/guillotina_cms
3a665e7bb226239d39226212773109e2aca16d88
44f945d263e92195a3a004a9bea3c89cb68db298
refs/heads/master
2021-06-05T15:14:12.181692
2020-11-25T06:42:20
2020-11-25T06:42:20
96,428,280
5
2
NOASSERTION
2019-11-27T08:02:50
2017-07-06T12:34:14
Python
UTF-8
Python
false
false
491
py
# -*- encoding: utf-8 -*- from guillotina import configure from guillotina.content import Folder from guillotina.directives import index from guillotina_cms.interfaces import IDocument @configure.contenttype( type_name="Document", schema=IDocument, behaviors=[ "guillotina.behaviors.dublincore.IDub...
[ "ramon.nb@gmail.com" ]
ramon.nb@gmail.com
522d2d0a1f3690c89ebea50346950bc9d5bdae9c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2313/60730/307045.py
03ebc4ac892099f3b7f6ae0b0fd55ca0e4c16566
[]
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
2,168
py
# coding=utf-8 import queue class TreeNode(object): def __init__(self, data=None, left=0, right=0): self.data = data if left != 0: self.left = left else: self.left = 0 if right != 0: self.right = right else: self.right = 0 ...
[ "1069583789@qq.com" ]
1069583789@qq.com
9b5869e02799aa26440534bb61ebed80f49efc52
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/agc025/B/3089839.py
33a767ce2060231504f7cf243adfe0c97f64ab32
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
693
py
N,A,B,K=map(int,input().split()) P=998244353 def egcd(a, b): (x, lastx) = (0, 1) (y, lasty) = (1, 0) while b != 0: q = a // b (a, b) = (b, a % b) (x, lastx) = (lastx - q * x, x) (y, lasty) = (lasty - q * y, y) return (lastx, lasty, a) def inv(x): return eg...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
41d46ae992e4f2ed51d6dd362942945311924a12
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_1341.py
87654f4a8af2cde6d68e71f3199c09f17d108890
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
# Creating a generator expression from a list in python for item in (x.attr for x in some_list): do_something_with(item)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
4b9e9217785da8c7dabeb772d5a56b118350522c
aa0270b351402e421631ebc8b51e528448302fab
/sdk/eventgrid/azure-mgmt-eventgrid/generated_samples/partner_configurations_unauthorize_partner.py
3d4824a9f378093e0e3631555305ab784c298df3
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
1,838
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" ]
fangchen0601.noreply@github.com
44f6ec999e0c559eb303b70a47b8dd21f56f6cb8
d057cafdb198af93a969c10829f4f28c59fbcd15
/reborn_web/free/migrations/0002_free_images.py
ddf679d2579ed6b560ebab34463b808d2ca30c1a
[]
no_license
PresentJay/Re-Born-Web
b6b979b965fdc2e442d4e55decc1d6917f8ef0aa
36521e59829c3b01cc749e20241db277ce027fcd
refs/heads/master
2021-01-01T13:43:49.803851
2020-02-08T15:05:17
2020-02-08T15:05:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# Generated by Django 3.0.2 on 2020-01-29 10:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('free', '0001_initial'), ] operations = [ migrations.AddField( model_name='free', name='images', field=mo...
[ "park19996@naver.com" ]
park19996@naver.com
439126eba273377bc5ea787c30d09045764a9ec6
ee8c4c954b7c1711899b6d2527bdb12b5c79c9be
/assessment2/amazon/run/core/controllers/vase.py
fc7802475ede80af2fe9834e372e63427cc31a19
[]
no_license
sqlconsult/byte
02ac9899aebea4475614969b594bfe2992ffe29a
548f6cb5038e927b54adca29caf02c981fdcecfc
refs/heads/master
2021-01-25T14:45:42.120220
2018-08-11T23:45:31
2018-08-11T23:45:31
117,135,069
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
#!/usr/bin/env python3 from flask import Blueprint, Flask, render_template, request, url_for controller = Blueprint('vase', __name__, url_prefix='/vase') # @controller.route('/<string:title>', methods=['GET']) # def lookup(title): # if title == 'Republic': # TODO 2 # return render_template('republic.ht...
[ "sqlconsult@hotmail.com" ]
sqlconsult@hotmail.com
5a537e03cd977e2a4724cfe99883c2d5f3f1c0c4
87cac4166f07729f1c94066259996c8b752c1202
/aiobbox/tools/startbox.py
e18beb378195b37e2a8fc3854c14fcedddfff47a
[]
no_license
danielsocials/bbox
068238a15880468d214109a23017a19e70fc13ec
292e350b1cefbbab987baf8c946d4021abd211ea
refs/heads/master
2020-03-16T06:25:47.907369
2018-05-08T04:42:45
2018-05-08T04:42:45
132,554,332
0
0
null
2018-05-08T04:36:35
2018-05-08T04:36:35
null
UTF-8
Python
false
false
2,299
py
import os, sys import logging import uuid import json import asyncio import argparse import aiobbox.server as bbox_server from aiobbox.cluster import get_box, get_cluster from aiobbox.cluster import get_ticket from aiobbox.utils import import_module from aiobbox.handler import BaseHandler class Handler(BaseHandler): ...
[ "superisaac.ke@gmail.com" ]
superisaac.ke@gmail.com
388f95087fef6cadf17c0d88c900b3805358b36a
236ded75aefcf965c582538f1b56d21b161cd3c5
/trustery/testDir/callct139.py
a12e355225ca4741e5b82dea545b3dbab3acb9d6
[]
no_license
rogerioita/ICPChain
7fc1c7c5df289ed31fd2ad71cee400eac3d253cb
87f2b001f5297396be6cb3aa9dd0c42236587038
refs/heads/master
2023-03-10T20:57:49.479052
2021-02-16T16:27:23
2021-02-16T16:27:23
336,806,143
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
#!/usr/bin/env python import os os.system('node ct139.js')
[ "rogerio.santos@ga.ita.br" ]
rogerio.santos@ga.ita.br
2e13bfd3b45acdc66ecad30377c2baf6de3f0e54
aed18908f6cdf93774aac253273e47d6e3521003
/runs/"faithful.h5"/two_time_pad.py
763ec201937cb4503919dd07bb541491276b6b1b
[]
no_license
matthiasgoergens/TwoTimePad
cbd1e2cb081805baf503b0a4984e74e0508060f8
7dc3a276179e3c15b07b1ae2c3c8d31d34bf9a00
refs/heads/master
2021-07-03T22:59:06.211897
2021-06-13T09:03:33
2021-06-13T09:03:33
9,916,768
0
0
null
2013-07-04T05:25:17
2013-05-07T16:48:56
Haskell
UTF-8
Python
false
false
23,955
py
# -*- coding: utf-8 -*- import functools as ft import itertools as it import math import random import re import sys from datetime import datetime from pprint import pprint import numpy as np import tensorflow as tf # import tensorflow_addons as tfa from tensorflow.keras.callbacks import ModelCheckpoint, TensorBoard,...
[ "google-dl-platform@googlegroups.com" ]
google-dl-platform@googlegroups.com
2fdf074e6ebefea3fa03bc3a4bd0c6f6475c9ecf
91adad72f71bfb3f0873132e63ae20b434eaa76e
/pymic/net/net2d/unet2d.py
a361f0f323d1476f669238bfe622def303c9f839
[ "Apache-2.0" ]
permissive
JoeGue/PyMIC
49560a1125b686a089444a6b55f68582e401581b
f2dad93f54a1cb406bddff2e9484f6d0f7fb48c6
refs/heads/master
2022-09-25T09:41:49.071681
2022-08-21T08:25:42
2022-08-21T08:25:42
198,737,852
0
1
null
2019-07-25T01:57:23
2019-07-25T01:57:22
null
UTF-8
Python
false
false
8,933
py
# -*- coding: utf-8 -*- """ An implementation of the U-Net paper: Olaf Ronneberger, Philipp Fischer, Thomas Brox: U-Net: Convolutional Networks for Biomedical Image Segmentation. MICCAI (3) 2015: 234-241 Note that there are some modifications from the original paper, such as the use of batch normalization,...
[ "wguotai@gmail.com" ]
wguotai@gmail.com
15e77b7c58017c1f54915fda07fdaa059a388836
f3b233e5053e28fa95c549017bd75a30456eb50c
/tyk2_input/55/55-44_wat_20Abox/set_3.py
21e5fabd0f972917df68c267ed929c036943b6cb
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
import os dir = '/mnt/scratch/songlin3/run/tyk2/L55/wat_20Abox/ti_one-step/55_44/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_3.in' temp_pbs = filesdir + 'temp_3.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lambd...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
08f74db631409569f43498b9e98548a9ab7a92ac
62d6a37e1fb1b224b53e14a1cf151ef0571aa20f
/orun/contrib/admin/models/log.py
d3899b5d47850b596221aa5c978c9a89307a0514
[]
no_license
katrid/orun
4fa0f291a1ef43f16bc1857a170fc0b2e5e06739
bfc6dae06182124ba75b1f3761d81ba8ca387dea
refs/heads/master
2023-08-30T03:58:34.570527
2023-08-09T04:05:30
2023-08-09T04:05:30
66,562,767
14
4
null
2023-01-06T22:29:37
2016-08-25T14:01:44
Python
UTF-8
Python
false
false
1,293
py
from orun.db import models class LogEntry(models.Model): """ Log entries on the internal database logging """ user = models.ForeignKey('auth_user', null=False, db_index=True) action = models.ForeignKey('ui.action') # optional ui action object_id = models.BigIntegerField() content_type = m...
[ "alexandre@katrid.com" ]
alexandre@katrid.com
ba62829ac148739c841bea03c2a460a97c18e729
ce6538b5b7da162c1c690a346e7ec9ae0a6291f3
/venv/Scripts/easy_install-script.py
1a1bdac334f25a7ede582dd19034fad72a8c60e9
[]
no_license
DaniTodorowa/Softuni
391f13dd61a6d16cd48ee06e9b35b2fd931375df
f7c875fda4e13ec63152671509aaa6eca29d7f50
refs/heads/master
2022-11-25T23:34:49.744315
2020-08-02T08:23:44
2020-08-02T08:23:44
278,938,559
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
#!"C:\Users\Dani Todorova\PycharmProjects\Exercises\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-scr...
[ "danitodorova2106@gmail.com" ]
danitodorova2106@gmail.com
4efb2692ed3bce696cc2881b9ce2700ab1ab1953
61747f324eaa757f3365fd7bf5ddd53ea0db47d1
/casepro/msgs/migrations/0030_label_tests.py
ecf4d3e3d4410ce80bff7c39c61bfae32aa3f217
[ "BSD-3-Clause" ]
permissive
BlueRidgeLabs/casepro
f8b0eefa8f961dd2fdb5da26a48b619ebc1f8c12
8ef509326f3dfa80bb44beae00b60cc6c4ac7a24
refs/heads/master
2022-01-24T09:01:18.881548
2017-12-05T18:46:05
2017-12-05T18:49:42
113,502,588
0
0
null
2017-12-07T21:57:37
2017-12-07T21:57:37
null
UTF-8
Python
false
false
1,016
py
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals import json from casepro.rules.models import ContainsTest, Quantifier from casepro.utils import parse_csv from django.db import migrations, models def populate_label_tests(apps, schema_editor): Label = apps.get_model('msgs', 'Label'...
[ "rowanseymour@gmail.com" ]
rowanseymour@gmail.com
89f128b97ed2d3eddc33a16f5476131dc083373e
b95fa99bb1ba2210b73251614d2613363c37f932
/deploy/anne/top.py
3f131536072081265b07d93441651fadcbd48744
[]
no_license
lingxiao/learn-adj-relation
d1a8894fefc776ec0bd414b5f038361ed4b79d16
dc4285af19e53d7e2d015eb6394f6c601c707da0
refs/heads/master
2020-12-30T16:27:51.531268
2017-06-07T18:59:48
2017-06-07T18:59:48
87,714,049
0
0
null
null
null
null
UTF-8
Python
false
false
2,532
py
############################################################ # Module : get google anne lines that contain words in graph # split edges and make main-#.py # Date : April 2nd, 2017 # Author : Xiao Ling ############################################################ import os import pickle import shutil from...
[ "lingxiao@seas.upenn.edu" ]
lingxiao@seas.upenn.edu
71393829121ee973ba5e3edb8060c10ee0ccb71e
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/test/test_accounting_codes_api.py
e5c3b594f8c5b6a37ef654c6875c9c64fd8408b6
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,712
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
850b4c367e89f11ec61b6ca59130366be349187c
8f12530968425e36a41e3495aefedece69278364
/第八章appium使用爬取app/爬取美团店铺名称.py
2d1c69712a879ebf49cbe9bd5597347e7da9f0be
[]
no_license
q3293183121/hhh
126ab6f93dec613b0d0bf69595a09ca3c7a4623d
bc72bd6ad69a2bdd1a562466b1d7a8ab29c2aef9
refs/heads/master
2020-05-21T16:08:53.380063
2019-05-11T09:31:45
2019-05-11T09:31:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
from appium import webdriver import time desired_caps = {} desired_caps['platformName'] = 'Android' desired_caps['platformVersion'] = '5.1.1' desired_caps['deviceName'] = '8934c63a' desired_caps['appPackage'] = 'com.sankuai.meituan.takeoutnew' desired_caps['appActivity'] = '.ui.page.boot.WelcomeActivity' driver = web...
[ "you@example.com" ]
you@example.com
3b981a9fba01cd273902606da0f933d6922cccc7
fea44d5ca4e6c9b2c7950234718a4531d453849e
/sktime/forecasting/online_learning/tests/test_online_learning.py
0d69e830d91f097dbf4c44b2f9e82f9db2795a82
[ "BSD-3-Clause" ]
permissive
mlgig/sktime
288069ab8c9b0743113877032dfca8cf1c2db3fb
19618df351a27b77e3979efc191e53987dbd99ae
refs/heads/master
2023-03-07T20:22:48.553615
2023-02-19T18:09:12
2023-02-19T18:09:12
234,604,691
1
0
BSD-3-Clause
2020-01-17T17:50:12
2020-01-17T17:50:11
null
UTF-8
Python
false
false
3,478
py
#!/usr/bin/env python3 -u # -*- coding: utf-8 -*- # copyright: sktime developers, BSD-3-Clause License (see LICENSE file) """Test OnlineEnsembleForecaster.""" __author__ = ["magittan"] import numpy as np import pytest from sklearn.metrics import mean_squared_error from sktime.datasets import load_airline from sktime...
[ "noreply@github.com" ]
mlgig.noreply@github.com
53900eeda350da17ad2b6331007f483e1777455b
c23fe3a934687023b2b93fd4992f0e01ed008a18
/ckanext/queue/config.py
c2a907abe04817741b17e46e14450915790cf767
[]
no_license
okfn/ckanext-queue
eb928cfee6d04a69c53ba544c2f0c2c0eddafe5c
c8c55f8c92bce04f060dd573fac2ff10ecd35b44
refs/heads/master
2016-09-05T11:49:13.147030
2011-03-07T14:52:25
2011-03-07T14:52:25
2,897,696
0
0
null
2014-09-17T14:51:23
2011-12-02T10:15:53
Python
UTF-8
Python
false
false
2,359
py
import ConfigParser import os import logging import optparse from urlparse import urlparse from paste.script.util.logging_config import fileConfig DEFAULT_SECTION = 'worker' class attrDict(dict): def __setattr__(self, item, value): self[item] = value def make_optparse(parser=None): if parser is No...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
ad356df0eb0e885f01ed9f78a0b2c4534c95b4f3
c2a7c8c85bfd48be44ee1d1e42871c1be6e28566
/lib/saq/persistence/__init__.py
7a353deebf86e4f9b4b3a149557016a3d9f753f4
[ "Apache-2.0" ]
permissive
iaji/ACE-1
3f2b1f51ee03d85883fb804e7c48a545f2bc1e89
8c1d96179d252cbbea16384097522d9db4f2aa83
refs/heads/master
2022-07-19T19:33:08.493579
2020-03-15T20:09:47
2020-03-15T20:09:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,414
py
# vim: sw=4:ts=4:et # # Persistence # Functionality to store data in long term storage external to the system. # import functools import logging import pickle import saq from saq.database import ( Persistence, PersistenceSource, execute_with_retry, get_db_connection, retry ) def persistant_pr...
[ "unixfreak0037@gmail.com" ]
unixfreak0037@gmail.com
51be6a501ac26b5d773bf8b304e3986f6b5d3afd
e2d23d749779ed79472a961d2ab529eeffa0b5b0
/pipeline/component_framework/component.py
78c9c838bffb9e79b9aee8600ea2886df757a6c7
[ "MIT", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
manlucas/atom
9fa026b3f914e53cd2d34aecdae580bda09adda7
94963fc6fdfd0568473ee68e9d1631f421265359
refs/heads/master
2022-09-30T06:19:53.828308
2020-01-21T14:08:36
2020-01-21T14:08:36
235,356,376
0
0
NOASSERTION
2022-09-16T18:17:08
2020-01-21T14:04:51
Python
UTF-8
Python
false
false
2,699
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
[ "lucaswang@canway.net" ]
lucaswang@canway.net
4bcbcd1cbc0fca55e3be118a4b1134f7569efcc7
0aa965a8d4f48c5bdc31d20dd205607b42024010
/backend/black_girl_magic_an_21783/settings.py
081a3d335c0ac4be9f03d88c24b98ed25c5d90db
[]
no_license
crowdbotics-apps/black-girl-magic-an-21783
04b49ee4f0dd9412d6fa9645dd88413c4e1189de
f78d4178c27ef14b30417fa88e57963d8c36ef4e
refs/heads/master
2022-12-31T17:55:49.516606
2020-10-21T11:31:51
2020-10-21T11:31:51
306,002,654
0
0
null
null
null
null
UTF-8
Python
false
false
6,125
py
""" Django settings for black_girl_magic_an_21783 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d2fb7dcbe451a07d724df45a7878f626dacd3386
64267b1f7ca193b0fab949089b86bc7a60e5b859
/slehome/account/migrations/0097_auto_20150202_0039.py
22375ff145f8b8257f860a9b8807a456a1d3db1d
[]
no_license
hongdangodori/slehome
6a9f2b4526c2783932627b982df0540762570bff
3e558c78c3943dadf0ec485738a0cc98dea64353
refs/heads/master
2021-01-17T12:00:34.221088
2015-02-06T13:44:00
2015-02-06T13:44:00
28,847,585
1
0
null
null
null
null
UTF-8
Python
false
false
711
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('account', '0096_auto_20150201_2051'), ] operations = [ migrations.AlterField( model_name='basicmemberinformation...
[ "chungdangogo@gmail.com" ]
chungdangogo@gmail.com
52f2f4d3f8ca4356fc81a84b1d54b9beb4ba9fbb
698069070a63a49e0b29852af71228f88b2596d7
/digitalocean.py
d33fdee76940229bf4ec6380ccb30de07b1aca50
[]
no_license
DevOpsHW/DevOps-HW1
7f3682c00a49d10ba7a9ee2bee8a547592e25f58
2ea59b136b3bdd6e0d94f124e3a5fb76e057209c
refs/heads/master
2020-04-14T13:19:24.587756
2015-09-24T00:26:52
2015-09-24T00:26:52
42,484,702
0
0
null
null
null
null
UTF-8
Python
false
false
5,345
py
import requests import json import os import time import sys class Droplet(): def __init__(self, *args, **kwargs): if kwargs: self.id = kwargs['id'] self.name = kwargs['name'] self.ip = kwargs['networks']['v4'][0]['ip_address'] self.status = kwargs['status'...
[ "kgong@ncsu.edu" ]
kgong@ncsu.edu
c2967c440e90bbd9acfffcffd7a7062990563747
4469139b6bb093e2cb6cfca85b74d70836fb8056
/python-notebook/tests/test_notebook.py
29aab0dc3cc875e3e312cc854661c5ea641a25ed
[ "MIT" ]
permissive
ucphhpc/nbi-jupyter-docker-stacks
ef30abfa6fcaf606bb75f35ff18526cf1abb416a
f1b5c83efb2df0f2e07c7c7d0199b650a3b33750
refs/heads/master
2023-08-31T09:31:18.096582
2023-08-25T11:36:12
2023-08-25T11:36:12
148,879,765
6
2
MIT
2023-03-27T07:08:42
2018-09-15T07:25:22
Jupyter Notebook
UTF-8
Python
false
false
1,384
py
import os import subprocess import tempfile import nbformat cur_path = os.path.abspath(".") notebooks_path = os.path.join(cur_path, "notebooks") kernels = ["python3"] def _notebook_run(path, kernel="python3", timeout=300): """Execute a notebook via nbconvert and collect output. :returns (parsed nb object, ex...
[ "munk1@live.dk" ]
munk1@live.dk
9ad6372f1990c0bf87835f2cc9cc0edb20415089
0c3757dfd4e0a4b8201bc4d2b040029fd7a62e9c
/listEx.py
b0b0863b44e2139cbd395b2d45d3edbb88c3ea36
[]
no_license
RubelAhmed57/Python-Bangla
41074164c7f4a076747a339589f18dc73137414c
cdde682dd97e8081afbd406b00dad7aa5cd038c4
refs/heads/master
2021-06-26T15:48:34.674659
2017-09-09T15:35:56
2017-09-09T15:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
item = [1, 2,4,3,5,6,7,8] print(type(item)) item2 = ["A", "C", "B"] print(item2) print(" sort function") resize = list(sorted(item)) print(resize) print("Reverse function") re = list(reversed(resize)) print(re) print(" adding system ") resize.append(9) print(resize) print("Remove system ") resize.remove(1) prin...
[ "vubon.roy@gmail.com" ]
vubon.roy@gmail.com
9aa74c13724d80155c54c651c7793d6ebbb844c1
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/exercises/1901010167/d09/main.py
6212354875adecd6ba0d9a597876c1306511eabe
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
294
py
from mymodule import stats_word if __name__ == "__main__": try: stats_word.stats_file('D:/Documents/GitHub/selfteaching-python-camp/exercises/1901010167/d09/tang300.json','r',100,0) except ValueError : print('输入的为非字符串')
[ "2470962+srvz@users.noreply.github.com" ]
2470962+srvz@users.noreply.github.com
4d60d8c0da70d0b8bf3996af09874dc0afe2f2f8
ad715f9713dc5c6c570a5ac51a18b11932edf548
/tensorflow/python/data/experimental/kernel_tests/optimization/optimization_test.py
bba70d76711ed5e3b8fd21ae0153cee7c9cc451c
[ "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
rockzhuang/tensorflow
f1f31bc8edfa402b748c500efb97473c001bac95
cb40c060b36c6a75edfefbc4e5fc7ee720273e13
refs/heads/master
2022-11-08T20:41:36.735747
2022-10-21T01:45:52
2022-10-21T01:45:52
161,580,587
27
11
Apache-2.0
2019-01-23T11:00:44
2018-12-13T03:47:28
C++
UTF-8
Python
false
false
10,986
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
1b10619c4db7046649eca80fc0c3e8be0f29b2ff
a7d6807af3b8b67d0ac93b014d9a688d8d612539
/graphs/create_adj_list.py
46891842757d6888c5e7a1a1eb60009541c089d0
[]
no_license
shehryarbajwa/Algorithms--Datastructures
06a9f86bedbf40909011365cf169d5c77791b643
cbd456e0db9ea6a542926015aeee4bd2ceff9ff9
refs/heads/master
2023-04-11T21:00:17.438588
2021-05-11T23:19:05
2021-05-11T23:19:05
193,496,161
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
def create_adj_list(edges, amount_of_vertices): graph = [[] for _ in range(amount_of_vertices)] for u,v in edges: graph[u].append(v) graph[v].append(u) return graph def create_adj_matrix(edges, amount_of_vertices): graph = [[None for _ in range(amount_of_vertices)] for _ in range(am...
[ "shehryar.bajwa@gmail.com" ]
shehryar.bajwa@gmail.com
75fffa40a111a6d5254ef7c1fc93cacb948170f8
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_31059.py
17e79cef3440cce45ce22e0e3a90e8ca544b4679
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,842
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
a0c5fee17f2a900bdabde9b78064baad397e371c
e6f45fba3f8c6b6fba07f51e6cf3ae848e711551
/center_three/voice_label/voice_quality/test_regex.py
a9a58680a6e3da39099c5c611f31ae81b35feda5
[]
no_license
yangwen1997/ASR
c0a49de2bcde7fe0a8806d4b7c1d2f2faeda0c70
8d8691f74646a1f66573ecbeaf022911f8363b55
refs/heads/master
2022-12-07T14:36:20.842942
2020-09-08T02:34:31
2020-09-08T02:34:31
293,677,799
0
0
null
null
null
null
UTF-8
Python
false
false
7,503
py
# !/usr/bin/env Python3 # -*- coding: utf-8 -*- # @Author : wangchen # @FILE : run.py # @Time : 2020/7/13 20:55 # @Software : PyCharm import os import sys sys.path.append(os.environ['PUSHPATH']) from center_three.voice_label.voice_quality.data_processing_addfunc import Data_Processing from center_three.voice_...
[ "1120021365@qq.com" ]
1120021365@qq.com
faf34fd6b3c2704e4a6a1710e4d5c16d9fafcb1b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_322/ch73_2019_04_06_21_23_14_306424.py
a879897561f7b920a0c6251106cdf3d6805deb08
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
def remove_vogais(n): lista = [] vogais = ["a", "e", "i", "o", "u"] for i in n: if i not in vogais: lista.append(i) lista = "".join(lista) return lista
[ "you@example.com" ]
you@example.com
6e1173e136811e0d667fdb4de6e48847d65e0fed
d73409535734a788af83a9b2b2e32dd1b979d5d2
/proxySTAR_V3/certbot/venv.1509389747.bak/lib/python2.7/site-packages/twine/repository.py
7aeebcd2feec22f9e35f8ee11a1c85cd6c2ed485
[ "Apache-2.0", "MIT" ]
permissive
mami-project/lurk
adff1fb86cb3e478fe1ded4cbafa6a1e0b93bfdd
98c293251e9b1e9c9a4b02789486c5ddaf46ba3c
refs/heads/master
2022-11-02T07:28:22.708152
2019-08-24T19:28:58
2019-08-24T19:28:58
88,050,138
2
2
NOASSERTION
2022-10-22T15:46:11
2017-04-12T12:38:33
Python
UTF-8
Python
false
false
7,083
py
# Copyright 2015 Ian Cordasco # # 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, sof...
[ "diego.deaguilarcanellas@telefonica.com" ]
diego.deaguilarcanellas@telefonica.com
b481e3398e8eb866427b653cbdc85ab99eef4ee6
9f42a017eee2cacb18c6bf3bbea23932f2c49cf1
/mogoksayadaw/mogoksaydaw/raw_html.py
416b115d78383c2892b646502414a674923c05bf
[]
no_license
saisai/dhamma-upload
df78e3aa82b306056ce248c664e3919fc5ad3bf4
03f1071a27f69b760c78fe7292f1a5921fec3e9d
refs/heads/master
2020-04-05T10:42:11.144533
2020-03-14T07:03:36
2020-03-14T07:03:36
156,807,037
0
0
null
null
null
null
UTF-8
Python
false
false
4,463,331
py
from bs4 import BeautifulSoup html = """ <div id="contents" class="style-scope ytd-playlist-video-list-renderer"><ytd-playlist-video-renderer class="style-scope ytd-playlist-video-list-renderer"> <yt-icon id="reorder" icon="yt-icons:drag_handle" class="style-scope ytd-playlist-video-renderer"><svg viewBox="...
[ "sai@gmail.com" ]
sai@gmail.com
902e1d1b428f38fde1ca93edfaae6cde5fc512c6
2e7d24351eb91ebf57d2dae23606b20661de6dd3
/circuitpython/frozen/Adafruit_CircuitPython_BusDevice/adafruit_bus_device/i2c_device.py
d2ee118dc9a7b1c65b700920e096100a65a59646
[ "MIT" ]
permissive
BitKnitting/wakey_circuitpython
9978d4a437cf7d9e671a1c9b3e10aa7cb3735df9
44da963f7f0422f93513f8b9efcdc6b9b704dc42
refs/heads/master
2020-03-21T15:46:18.362833
2018-08-31T12:33:07
2018-08-31T12:33:07
138,731,763
3
2
null
2018-07-03T12:03:54
2018-06-26T12:00:44
Python
UTF-8
Python
false
false
4,107
py
# The MIT License (MIT) # # Copyright (c) 2016 Scott Shawcroft for Adafruit Industries # # 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 ...
[ "farmerrobbie@freshsalad.today" ]
farmerrobbie@freshsalad.today
f979fef97028dcfc003ffad3e0d58622e1a3d5c9
01fcf89c5a4f1c67621e07c99a6092a27e92f34e
/homework_sample_answer/chap11/chap_11_01.py
235eb1cbd7d84e732fbce991ab71320ba64ae7e5
[]
no_license
fintalk/study-python
f3d86c06c4e3cdd2fcadf051ed883c78117f339e
62cb9a9df0493e671b5ccb7fcb14703466fab324
refs/heads/main
2023-04-21T01:18:01.356090
2021-05-14T03:59:13
2021-05-14T03:59:13
317,142,313
1
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
# P350 の urillibモジュールの機能を使う、を写経して実行してください pass # P351 を 読んでOrderedDictを使う、を写経して実行してください from collections import OrderedDict od = OrderedDict() od["a"] = "A" od["c"] = "C" od["b"] = "B" print(od) d = {} d["a"] = "A" d["c"] = "C" d["b"] = "B" print(d) # od から B を削除して下さい od.popitem() print(od) # OrderedDict の公式ドキュメン...
[ "shinsei.all@gmail.com" ]
shinsei.all@gmail.com
9c9bcfe777119a1657627881597b927da34239e2
24cf6d01fc9485c2e5578523bce6313aab47a30e
/DataLoaders/Flat_DataLoader.py
8118ed234c95d2e2ce6c7b176ab4bd64ba986bd0
[]
no_license
sahahn/GenDiagFramework
352212b2c540a6db73e810e416a9d3d4fa84f95a
29498d3667d644d5b3a8fd0f0e277cbdd14027ba
refs/heads/master
2020-04-14T06:10:10.609366
2019-06-18T20:22:31
2019-06-18T20:22:31
163,678,894
2
0
null
null
null
null
UTF-8
Python
false
false
2,328
py
from DataLoaders.IQ_DataLoader import IQ_DataLoader import os import numpy as np def load_map(dr, name, ind): left = np.load(dr + name + '-lh.npy')[:,:,ind] right = np.load(dr + name + '-rh.npy')[:,:,ind] full = np.stack([left, right], axis=-1) return full class Flat_DataLoader(IQ_DataLoader...
[ "sahahn@uvm.edu" ]
sahahn@uvm.edu
81c41286026d665cd68a617771359ef7abdc7b15
0bcd3d105e53286a1f9970dfef1d92c2fb67d738
/tutorial/views.py
1ee1c6df0dcde5662f94be624ea3851fd672e239
[]
no_license
billy0402/django-todo-list
b2b9c74f4152d835521cdf9d088a0f79cb10a246
0ee51612ea9a91d866055724f4c325de8568b96d
refs/heads/master
2022-03-20T15:55:03.911331
2019-09-28T01:08:39
2019-10-05T15:54:04
211,426,756
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
from django.shortcuts import render from django.http import HttpResponse # Create your views here. def root(request): s = '<h1>Hello World</h1>' return HttpResponse(s) def request_test(request): # http://127.0.0.1:8000/tutorial/request_test/?s1=Hello&s2=World s1 = request.GET.get('s1') s2 = requ...
[ "10646003@ntub.edu.tw" ]
10646003@ntub.edu.tw
de55d3bb9bde3646fcaf7ebfc3094bcb62b0b6c3
2357a471980f925ba58a9045868ec2cc9ad2a7c7
/1haha.py
0224529ebfc4ce78344f3e945f1502d88015f02e
[]
no_license
yyyuaaaan/pythonfirst
ec0a63eebf0ec753caf6119ce5c21178868f0135
8374e85646b0025be2689e96be2b3cbf6ac15109
refs/heads/master
2021-01-10T01:40:49.284641
2017-01-12T17:14:58
2017-01-12T17:14:58
52,094,871
0
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
""" 不要在iterate list 的时候改变它的值,会出错,要clone这个list再做操作。 for e1 in L1[:]: #在iterate的时候,拷贝一下list L1=[1, 2, 3, 4] L2=[1,2,5,6] class BinaryTreeNode: # this will not work,python do not suppurt pointer, and recursion def __init__(self,value=0): self.value = value self.left = BinaryTreeNode() ...
[ "yyyuaaaan@gmail.com" ]
yyyuaaaan@gmail.com
cb92727f9560c4c2f70f0459267418a4fd1f1a67
0cd64f3f67c6a3b130a788906da84ffc3d15396a
/Library/lib/python3.9/site-packages/sympy/printing/tests/test_repr.py
897e6ac2a9fb2bbad3ab7c3929577123087596b9
[ "MIT", "BSD-3-Clause", "0BSD", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-python-cwi", "Python-2.0" ]
permissive
Ryorama/codeapp
32ef44a3e8058da9858924df211bf82f5f5018f1
cf7f5753c6c4c3431d8209cbaacf5208c3c664fa
refs/heads/main
2023-06-26T09:24:13.724462
2021-07-27T17:54:25
2021-07-27T17:54:25
388,520,626
0
0
MIT
2021-07-22T16:01:32
2021-07-22T16:01:32
null
UTF-8
Python
false
false
11,278
py
from typing import Any, Dict from sympy.testing.pytest import raises from sympy import (symbols, sympify, Function, Integer, Matrix, Abs, Rational, Float, S, WildFunction, ImmutableDenseMatrix, sin, true, false, ones, sqrt, root, AlgebraicNumber, Symbol, Dummy, Wild, MatrixSymbol, Q) from sympy.combinatorics i...
[ "ken.chung@thebaselab.com" ]
ken.chung@thebaselab.com
b50ea4f921725dc555649786318d9db6b0221eed
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/vmware/private_clouds/management_dns_zone_bindings/create.py
0a1b65fdb80eb05ca00517f4a46682fb1e7a6968
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
3,829
py
# -*- coding: utf-8 -*- # # Copyright 2022 Google LLC. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
18275199fd9c26d3212b785f9a9f49ab7414ab26
79c8b6f17f22dd6b72b7ab228e38539797b3d1e9
/common/access/shortcuts.py
146b418bcf109b49d1a4c7e022692711308aac33
[]
no_license
wd5/system
ac81e76413c620a225fdaff335f5c59f6ebf5bd0
26d8453965598e5b28bf2178c5cd01e637ac89b7
refs/heads/master
2021-01-17T22:07:50.130502
2013-01-22T14:37:08
2013-01-22T14:37:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,598
py
# -*- coding: utf-8 -*- from django.contrib.auth.models import Group from guardian.shortcuts import get_groups_with_perms, assign, remove_perm, get_perms_for_model def check_perm_for_model(perm_name, model): perms = get_perms_for_model(model) for perm in perms: if perm.codename == perm_name: ...
[ "dostovalov@gmail.com" ]
dostovalov@gmail.com
fc07cc8aa332da4535122a8f44ad78050787f822
bd5b3934969ebf4f693ceb4be17a68f9c3ebd414
/beginPython/ch09/queen2.py
0496019e7f12164f89f9d5fb28ddc7b2fe3a2ec6
[]
no_license
lyk4411/untitled
bc46863d3bbb2b71edf13947f24b892c2cf43e1a
875b7dfa765ffa40d76582d2ae41813d2e15c8bd
refs/heads/master
2021-04-06T09:09:08.977227
2021-03-10T02:56:34
2021-03-10T02:56:34
124,990,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
def conflict(state,nextx): '定义冲突函数,state为元组,nextx为下一个皇后的水平位置,nexty为下一个皇后的垂直位置' nexty = len(state) for i in range(nexty): if abs(state[i]-nextx) in (0,nexty-i):#若下一个皇后和前面的皇后列相同或者在一条对角线上,则冲突 return True return False def queens(num=8,state=()): '八皇后问题,这里num表示规模' for pos in rang...
[ "moneyflying_2006@hotmail.com" ]
moneyflying_2006@hotmail.com
06f83917b5ba4e8ace83e5b1da0fa8851fcb74f7
c83473c2f9b63429f40e8a4806ab49305815c81d
/introduction/basic_version_celcius.py
69e0eb4e50b6eb3724bf74838d7c3f1fd6c76375
[]
no_license
pelinbalci/machinelearning
f8f84cda07a2ae87f23598188a6c148badb6e15f
33e9786ea49f114c24c02dbf24e33434d0421f65
refs/heads/master
2022-11-15T19:55:46.633659
2020-07-05T18:38:54
2020-07-05T18:38:54
273,779,533
1
0
null
null
null
null
UTF-8
Python
false
false
670
py
# https://colab.research.google.com/github/tensorflow/examples/blob/master/courses/udacity_intro_to_tensorflow_for_deep_learning/l02c01_celsius_to_fahrenheit.ipynb import numpy as np import tensorflow as tf celsius_q = np.array([-40, -10, 0, 8, 15, 22, 38], dtype=float) fahrenheit_a = np.array([-40, 14, 32, 46, ...
[ "balci.pelin@gmail.com" ]
balci.pelin@gmail.com
7f1db2986a6ad0c55e96979360f37996b7a2233f
b66985c330740d191b009abc46ff042c664eb3f6
/sporthub/settings.py
2d3b8bfce760454890cba8a644586e1aac1b09aa
[]
no_license
kalyevb/footbal_pole
fee9fc4e082ca6b7bbb779b52aad69f8c4a3620b
349b528452369759fa570d36ae3489bfd9609f64
refs/heads/master
2022-05-09T13:30:12.493178
2019-12-17T15:52:51
2019-12-17T15:52:51
228,650,159
0
0
null
2022-04-22T22:57:22
2019-12-17T15:50:45
Python
UTF-8
Python
false
false
4,303
py
""" Django settings for sporthub project. Generated by 'django-admin startproject' using Django 1.11.26. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
[ "tip.beka99@gmail.com" ]
tip.beka99@gmail.com
1711f9fe6583e0525560bad95419872022ed4f1f
879e06ea72c26dc4e7647fbd9e6eedb6bd3f0129
/PKD/ch01/co11p224.py
1d6d70bc9e80923c0205926e0e8d1f08ee862d04
[]
no_license
IEP/submissions
6b27f1ef5518ce7ebc60525b2e2e237c4a6bebec
235aceee8bc48395b7fea25d00344554b22144f6
refs/heads/master
2022-04-15T09:08:48.391941
2020-04-05T15:08:16
2020-04-05T15:08:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
#!/bin/python a = input() b = input() flag = False o = 'Tentu saja bisa!' if len(a) == len(b)+1: b += ' ' for i in range(len(a)): if not (a[i] == b[i] or a[i] == b[i-1]): if not flag: flag = True else: o = 'Wah, tidak bisa :(' else: o = 'Wah, t...
[ "ivan.ega.p@gmail.com" ]
ivan.ega.p@gmail.com
643c167da61137f80baf505c741c81ef55235688
91075a58261b9858b6bba98968eca7f486175891
/62_quickWeather.py
1fa7bdcf712264adf01301da1841571191232f76
[]
no_license
bingo8670/automat_the_boring_stuff_with_python
4b144cfd58dd25ffd57bab205719d13c103320e3
493da9438ae7053d6140b67c53fcba95fe3deb18
refs/heads/master
2020-03-25T23:57:54.305785
2018-12-14T09:07:21
2018-12-14T09:07:21
144,301,078
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
#! python3 # quickWeather.py - Prints the weather for a location from the command line. import json, requests, sys # Compute location from command line arguments. if len(sys.argv) < 2: print('Usage: quickWeather.py location') sys.exit() location = ' '.join(sys.argv[1:]) # Download the JSON data from OpenWeath...
[ "307286130@qq.com" ]
307286130@qq.com
796c928dadf5c6278d15c714e6bd6781ff12818f
81c8baf31e15cf132b22cc489e7c8fc7b86003a4
/linuxos/context_processors.py
4ffb841705a623f5e4eac674d4a08e6f88c10080
[ "MIT" ]
permissive
LinuxOSsk/Shakal-NG
0b0030af95a8dad4b120ae076920aa3a4020c125
93631496637cd3847c1f4afd91a9881cafb0ad83
refs/heads/master
2023-09-04T04:27:05.481496
2023-08-30T04:10:41
2023-08-30T04:10:41
2,168,932
11
8
MIT
2023-08-16T03:34:02
2011-08-07T14:36:25
Python
UTF-8
Python
false
false
280
py
# -*- coding: utf-8 -*- from django.conf import settings as django_settings def settings(request): return { 'ANONYMOUS_COMMENTS': django_settings.ANONYMOUS_COMMENTS, 'ANONYMOUS_NEWS': django_settings.ANONYMOUS_NEWS, 'ANONYMOUS_TOPIC': django_settings.ANONYMOUS_TOPIC, }
[ "miroslav.bendik@gmail.com" ]
miroslav.bendik@gmail.com
0214efaebbae426a3c2b41965d990bd4a617d92e
bc5484a8173bd937c56fb9a4c0dc6a54a5bb4d62
/Set .union().py
20b5ce453c1b811502f07c9ba7a3b3a9cfd5b817
[]
no_license
PiyushChandra17/HackerRank_Python
4686cc872ac622d1ec7b8206cca0efccdc15f235
443fa8484c81a56d652d546fa7cc4a0ba24b8185
refs/heads/main
2023-01-24T18:45:55.673808
2020-12-09T00:02:16
2020-12-09T00:02:16
319,788,277
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
_, A = input(),set(input().split()) _, B = input(),set(input().split()) print(len(A.union(B)))
[ "noreply@github.com" ]
PiyushChandra17.noreply@github.com
5348f68bdd375eb497ae98d8ed944d330932b35f
597ed154876611a3d65ca346574f4696259d6e27
/dbaas/account/forms/user.py
05ce9c8dfc4d9ad444b5f31238c03b90d4befc9e
[]
permissive
soitun/database-as-a-service
41984d6d2177734b57d726cd3cca7cf0d8c5f5d6
1282a46a9437ba6d47c467f315b5b6a3ac0af4fa
refs/heads/master
2023-06-24T17:04:49.523596
2018-03-15T19:35:10
2018-03-15T19:35:10
128,066,738
0
0
BSD-3-Clause
2022-05-10T22:39:58
2018-04-04T13:33:42
Python
UTF-8
Python
false
false
1,538
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import logging from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.forms import UserChangeForm, UserCreationForm from django import forms LOG = logging.getLogger(__name__) class CustomUserChangeForm(UserChan...
[ "raposo.felippe@gmail.com" ]
raposo.felippe@gmail.com
818277c61c410adf352a1317283a04d8cb8c17ac
d5328a2837883aaccdae8f7367cc4787ae70e070
/Processors/DataProcessor.py
c12c65b609679d60ce974a260dfb182a22e28a8a
[]
no_license
FishRedLeaf/Bert-TextClassification
3845e09dc1b25e66c7cfeffb3ce14bbd22dcef15
b9da0b7a1f1964b482cfbedcad913498ffe7feb9
refs/heads/master
2020-05-28T09:33:11.638594
2019-05-24T10:19:40
2019-05-24T10:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# coding=utf-8 import csv import sys class DataProcessor(object): """Base class for data converters for sequence classification data sets.""" def get_train_examples(self, data_dir): """Gets a collection of `InputExample`s for the train set.""" raise NotImplementedError() def get_dev_exam...
[ "18310523922@163.com" ]
18310523922@163.com
44fe4c04c6ddd445c93ccb8e9984814ada833c22
f0a62605171bc62eb68dd884c77cf146657ec5cb
/library/f5bigip_net_vlan_interface.py
bb60660e07979ad7089d4656178a45cb28f870a6
[ "Apache-2.0" ]
permissive
erjac77/ansible-role-f5
dd5cc32c4cc4c79d6eba669269e0d6e978314d66
c45b5d9d5f34a8ac6d19ded836d0a6b7ee7f8056
refs/heads/master
2020-04-06T08:13:14.095083
2020-02-16T23:44:13
2020-02-16T23:44:13
240,129,047
3
1
null
null
null
null
UTF-8
Python
false
false
4,146
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2016 Eric Jacob <erjac77@gmail.com> # # 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 #...
[ "erjac77@gmail.com" ]
erjac77@gmail.com
1d1723243121552343f803b0adc17d95025ac667
11aaeaeb55d587a950456fd1480063e1aed1d9e5
/.history/ex45-test_20190612192241.py
37276da8d14d02df67279a69ce50e3a8905fe3b3
[]
no_license
Gr4cchus/Learn-Python-3-The-Hard-Way
8ce9e68f6a91ea33ea45fe64bfff82d65422c4a8
f5fa34db16cdd6377faa7fcf45c70f94bb4aec0d
refs/heads/master
2020-05-17T23:18:29.483160
2019-06-26T18:42:52
2019-06-26T18:42:52
184,023,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
class Scenes(object): # def __init__(self): # # self.starting_room = starting_room # # self.locations = { # # 'room1': Room1(), # # 'room2': Room2() # # } map_list = [ 'room1', 'room2', 'finish' ] def start(self):...
[ "ahivent@gmail.com" ]
ahivent@gmail.com
d906481dbbceaebae4e4370ca5579524e678f153
9d9e0a269aca2280e841a083a5e10dc24a0eb14d
/build/rosserial/rosserial_mbed/catkin_generated/pkg.installspace.context.pc.py
6241f97f8af16ab6afe029d36c62ce4e12ddfe1e
[]
no_license
JoseBalbuena181096/ROS_TUTORIAL
9e4eb8116366f5c4e449afe2d16a6954fa9c9b05
caba9b86f8456a660e8256abb8b75f45ed3b6dd7
refs/heads/master
2020-06-27T12:25:24.553275
2019-08-01T01:34:54
2019-08-01T01:34:54
199,954,345
1
0
null
null
null
null
UTF-8
Python
false
false
463
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/jose/catkin_ws/install/include".split(';') if "/home/jose/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = ...
[ "angelsnek2510@gmail.com" ]
angelsnek2510@gmail.com
a01b5418aa330eafea4e8e610fc1e9de8a1fa572
9ca9226e11162d39dd5ef2db23b853bfac80020b
/pages/tuozhen_NewsdetailPage.py
ac64187510e909cac772d477e4c490ff91729503
[]
no_license
chenshl/py_app_autoTest
ede64a5f380926aa191e9f1ba86955eb6bd3725e
5957112bf20f577ed71d851e73e1e1ce1800ff79
refs/heads/master
2020-03-12T11:02:51.630080
2018-04-29T08:49:39
2018-04-29T08:49:39
130,587,156
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
#!/usr/bin/python # coding:utf-8 # @author : csl # @date : 2018/04/29 09:04 # 新闻详情页面 from appium import webdriver from base.Element import Element class NewsdetailPage(Element): #评论框 comment = "//android.widget.EditText[contains(@text, '说两句')]" comment_comment = "很好的移动医疗平台" submit_comment = "//andr...
[ "35643856@qq.com" ]
35643856@qq.com
9be5a3a01f914b8842b74aea6fd0a01f02607b5e
0032c98333ffc0efdb920ecca31ab224378880e5
/rpi-tutorial/RaspEasy1.py
c6acfd285bdcdc7fae9df32146d5ae3281c0daba
[]
no_license
raspibrick/install
bd1c6f9a8cb524f2ab5a2c17ad8c5463b768dffa
96288d6ca21abd8fb993cc376e37c16473b54dd5
refs/heads/master
2021-01-10T05:00:39.159879
2019-07-25T09:46:04
2019-07-25T09:46:04
40,703,681
0
1
null
null
null
null
UTF-8
Python
false
false
451
py
# RaspEasy1.py # Button press/release to switch on/off LED import RPi.GPIO as GPIO P_BUTTON = 12 # Button A #P_BUTTON = 13 # Button B P_LED = 7 # LED A #P_LED = 11 # LED B def setup(): GPIO.setmode(GPIO.BOARD) GPIO.setup(P_BUTTON, GPIO.IN) GPIO.setup(P_LED, GPIO.OUT) print "starting..." setup() while Tr...
[ "a2015@pluess.name" ]
a2015@pluess.name
25df04cd684e2c1b6cf277adaf476d8e349154a0
b74320ad439e37dfa48cd8db38dab3b7a20a36ff
/src/diffusers/utils/dummy_pt_objects.py
f4020b9b5cac491e2145c9c63b89c6e10f9e056e
[ "Apache-2.0" ]
permissive
huggingface/diffusers
c82beba1ec5f0aba01b6744040a5accc41ec2493
5eeedd9e3336882d598091e191559f67433b6427
refs/heads/main
2023-08-29T01:22:52.237910
2023-08-28T18:16:27
2023-08-28T18:16:27
498,011,141
17,308
3,158
Apache-2.0
2023-09-14T20:57:44
2022-05-30T16:04:02
Python
UTF-8
Python
false
false
22,204
py
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class AsymmetricAutoencoderKL(metaclass=DummyObject): _backends = ["torch"] def __init__(self, *args, **kwargs): requires_backends(self, ["torch"]) @classmethod def ...
[ "noreply@github.com" ]
huggingface.noreply@github.com
47ae774d608c22a3626c9bee64788db4ff3229a6
88ae8695987ada722184307301e221e1ba3cc2fa
/v8/tools/release/mergeinfo.py
7136463afb265929947d5bc1429e69855cdc0582
[ "BSD-3-Clause", "SunPro", "Apache-2.0" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
5,496
py
#!/usr/bin/env python3 # Copyright 2015 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # for py2/py3 compatibility from __future__ import print_function import argparse import os import sys import re from subprocess i...
[ "jengelh@inai.de" ]
jengelh@inai.de