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
b55b8315eaf1069c0f704f305fdcdc0cfafaf87d
57ea6657b4deb620c4e29b606a5ec259d22fadcd
/Chatbot_Web/impl/weixin/WXBizMsgCrypt.py
77d319c0cda95ff7b3c39c660dfa35098682ca0d
[ "Apache-2.0" ]
permissive
orchestor/Chatbot_CN
021d05849257d66e8e2a65d4ead5a777e09d7d3d
43922d7f73946d00faad3f27d86188ec18022965
refs/heads/master
2020-05-09T12:48:48.124981
2019-04-09T13:54:24
2019-04-09T13:54:24
181,124,145
1
0
Apache-2.0
2019-04-13T05:11:09
2019-04-13T05:11:06
null
UTF-8
Python
false
false
9,372
py
#!/usr/bin/env python #-*- encoding:utf-8 -*- """ 对公众平台发送给公众账号的消息加解密示例代码. @copyright: Copyright (c) 1998-2014 Tencent Inc. """ # ------------------------------------------------------------------------ import base64 import string import random import hashlib import time import struct from crypto.Cipher import AES im...
[ "charlesxu86@163.com" ]
charlesxu86@163.com
d09e00e653b574f9a8970cd1e584175a9a92737e
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2811/60651/233596.py
adf251acd00fc9d70e91606146ff79bfffcadcaa
[]
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
190
py
inlist=input().split() modlist=[] for i in inlist[2,1+list[1]]: moi=i%list[0] if moi is not in modlist: list.append(i%moi) else: print(i) break
[ "1069583789@qq.com" ]
1069583789@qq.com
724c22209cc7ae9cdd3b6fab93b7e2622f3ee760
5e9576c368e98927e2965bd2fb23bd35d9993d69
/featuretools/primitives/standard/aggregation/percent_true.py
32ce39a1834e8fab60536294b99d282ccf61eb9d
[ "BSD-3-Clause" ]
permissive
alteryx/featuretools
c6e319e063e8e84e7684bf232376f95dc5272160
c284c2d27a95b81e0bae913ac90df2b02c8f3b37
refs/heads/main
2023-08-25T12:21:33.945418
2023-08-23T16:30:25
2023-08-23T16:30:25
102,908,804
1,783
201
BSD-3-Clause
2023-09-07T18:53:19
2017-09-08T22:15:17
Python
UTF-8
Python
false
false
2,090
py
from woodwork.column_schema import ColumnSchema from woodwork.logical_types import Boolean, BooleanNullable, Double from featuretools.primitives.base.aggregation_primitive_base import AggregationPrimitive from featuretools.utils.gen_utils import Library, import_or_none dd = import_or_none("dask.dataframe") class Pe...
[ "noreply@github.com" ]
alteryx.noreply@github.com
2e1f37842c48c239ce71d64acfa606a8846c5601
7be67ecaee241769a69f3f5dae1bb6f99feb5e84
/venv/bin/xhtml2pdf
9de81088105b51d156f564e3a715ca49edad96a4
[]
no_license
asadlive84/Billing-Cable-TV-Providers-
6e5e6412a84045749869253b49a2a53564b52c96
7f1927030e9cb57573e1cfe5a5110614ef251d02
refs/heads/dev
2022-03-17T21:42:41.443783
2019-11-22T14:48:50
2019-11-22T14:48:50
213,041,047
1
0
null
2019-12-05T00:29:16
2019-10-05T17:23:09
Python
UTF-8
Python
false
false
435
#!/home/asad/a/Billing-Cable-TV-Providers-/venv/bin/python3.7 # EASY-INSTALL-ENTRY-SCRIPT: 'xhtml2pdf==0.2.3','console_scripts','xhtml2pdf' __requires__ = 'xhtml2pdf==0.2.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '...
[ "asadlive.sohel@gmail.com" ]
asadlive.sohel@gmail.com
e034515fd347be397beff6bc24ce3093eecb2309
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03733/s782233089.py
46581aa9c8c3b8e38789b9a77690606af0e916cd
[]
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
242
py
N, T = map(int, input().split()) t = list(map(int, input().split())) cnt = T time = T for i in range(1, N): if(t[i] <= time): cnt += (t[i]-time)+T time = t[i]+T else: time = t[i]+T cnt += T print(cnt)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5dbf7f4aad00734caf369d4faf39c9b48ef74a6d
a3bb8b060d992ca37ab6d97f0af8e61d43dd7b2f
/ufora/cumulus/test/DistributedDataTasks_test.py
9e86951ba212fbf34ed71153dd89beb133eff63d
[ "dtoa", "MIT", "BSD-3-Clause", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
vishnur/ufora
c21bd3367c2786fcb29be4cde50001b98407a0bf
a4265ea5d0286586de2c2b22a15e04c24171ba08
refs/heads/master
2020-12-24T17:17:29.507601
2016-02-04T19:17:24
2016-02-04T19:22:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,649
py
# Copyright 2015 Ufora Inc. # # 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...
[ "braxton.mckee@gmail.com" ]
braxton.mckee@gmail.com
8fee26e0cffef8bdca1787ef08b772d94ae98f5d
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/comparison/test_simple08.py
6162995e3717146a1053b12a45aae23f8f91ccc5
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
800
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
732fd0b2c4f87cd1ee44405eca6fe74734235e07
718a104a65581faa87980583bb321e093db341d3
/data.py
334b5bbc65297410a64db75e3971f1c7e9e5c1a7
[ "Apache-2.0" ]
permissive
JHWen/Load-Forecast
14e3909ec48b5f1a578ee4c727dd234c498f3eb3
f65c623f33b4e19eb1035860c1df33926c747599
refs/heads/master
2020-04-12T08:36:43.176495
2018-12-20T07:22:03
2018-12-20T07:22:03
162,390,053
0
0
null
null
null
null
UTF-8
Python
false
false
4,020
py
import pandas as pd import numpy as np import logging import random def load_data(path): data = pd.read_csv(path, delimiter=',') """ Year,Month,Day,Hour,Value,Value1,Value2,Value3,dayOfWeek,isWorkday,isHoliday,Season, Tem,RH,Precipitation,File,value_oneweek_before,value_oneday_before,value_onedayavg_b...
[ "test@example.com" ]
test@example.com
12a20fa1740ade148a3cbe7e0244b55abdca0b40
ebd6f68d47e192da7f81c528312358cfe8052c8d
/swig/Examples/test-suite/python/arrays_global_runme.py
fa3b9f2ec2c153899bedb2354e0ab4637717a0b9
[ "LicenseRef-scancode-swig", "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only", "Apache-2.0" ]
permissive
inishchith/DeepSpeech
965ad34d69eb4d150ddf996d30d02a1b29c97d25
dcb7c716bc794d7690d96ed40179ed1996968a41
refs/heads/master
2021-01-16T16:16:05.282278
2020-05-19T08:00:33
2020-05-19T08:00:33
243,180,319
1
0
Apache-2.0
2020-02-26T05:54:51
2020-02-26T05:54:50
null
UTF-8
Python
false
false
419
py
import arrays_global arrays_global.cvar.array_i = arrays_global.cvar.array_const_i from arrays_global import * BeginString_FIX44a cvar.BeginString_FIX44b BeginString_FIX44c cvar.BeginString_FIX44d cvar.BeginString_FIX44d cvar.BeginString_FIX44b = "12"'\0'"45" cvar.BeginString_FIX44b cvar.BeginString_FIX44d cvar.Begi...
[ "inishchith@gmail.com" ]
inishchith@gmail.com
02b0318d190b9e1fde135410ecc2cb5fcac416c1
46fda2ea47f311ee7fefc6f6210811c7f4bd74ad
/science/py-geometer/files/patch-setup.py
264db73014f73c40718fa55442e380c6cf4faf73
[ "BSD-2-Clause" ]
permissive
truenas/ports
ad560a8adde884dc0cfc4b292bbbcad91903b287
da4ed13ad08a6af5c54361f45964fa1177367c68
refs/heads/truenas/13.0-stable
2023-09-02T03:00:28.652837
2023-08-16T16:05:00
2023-08-16T16:05:00
8,656,293
18
9
NOASSERTION
2023-09-12T15:15:34
2013-03-08T17:35:37
null
UTF-8
Python
false
false
292
py
--- setup.py.orig 2020-07-08 15:51:34 UTC +++ setup.py @@ -19,7 +19,7 @@ VERSION = None # What packages are required for this module to be executed? REQUIRED = [ - 'numpy>=1.15,<1.20', 'sympy>=1.3,<=1.7' + 'numpy>=1.15,<1.21', 'sympy>=1.3,<=1.7' ] # What packages are optional?
[ "sunpoet@FreeBSD.org" ]
sunpoet@FreeBSD.org
eb257264160ee57ec88f4c264424ccfdd9d82b1f
6245db4e53782ab380de287f945bc026e3c6b281
/python_workbook/str_formatting.py
4a6974a3408e59c5880a9538906397759ee6403f
[]
no_license
rashmierande/python_exercise
e510174820efb793cfe435ad53c6baa34c829d86
9703b67a1f5614594244b4d8d2c42ebfb6a2aaec
refs/heads/master
2021-01-23T00:53:17.235391
2018-03-15T05:46:53
2018-03-15T05:46:53
85,846,226
0
1
null
2018-01-21T18:11:11
2017-03-22T15:42:09
Python
UTF-8
Python
false
false
722
py
''' Question: The code is supposed to ask the user to enter their name and surname and then it prints out those user submitted values. Instead, the code throws a TypeError. Please fix it so that the expected output is printed out. Expected output: Your first name is John and your second name is Smith ''' firstname ...
[ "eranderashmi25@gmail.com" ]
eranderashmi25@gmail.com
e99d95e4437b2da14fa498b7f5928e952b46ebb1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02265/s085080213.py
540cdcdb6eb525c25d43e70a920abb364407eaae
[]
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
240
py
import collections d=collections.deque() for _ in range(int(input())): e=input() if'i'==e[0]:d.appendleft(e.split()[1]) else: if' '==e[6]: m=e.split()[1] if m in d:d.remove(m) elif len(e)%2:d.popleft() else:d.pop() print(*d)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
89e378268e626c1a3c788218339b4d1c759b6ea6
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/29/usersdata/109/9631/submittedfiles/atividade.py
bc96354444dfb5afcff956647e27a7783ced551a
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
# -*- coding: utf-8 -*- from __future__ import division import math cont=0 n=int(input('Digite o valor de n:')) while True: s=(n//10) cont=cont+1 n=s if s<1: break print cont
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
3ff68cf51fa51f689c89f1ac91c1fa528c276bb3
a947525caa6940262099b24ebafa61900691ef22
/trainer/agents.py
28f7f1ea781b5e3a95ba15393f59060638c78c98
[]
no_license
metal-tile/dqn-tensorflow
527e9b8fa89eea4a4e6375d4244b9f2b10847473
9552307dfb4dacde69bdb268350d8ca0b4a02693
refs/heads/master
2020-05-19T05:48:47.323835
2019-05-04T06:15:31
2019-05-04T06:15:31
184,858,118
0
0
null
2019-05-04T05:59:24
2019-05-04T05:59:24
null
UTF-8
Python
false
false
7,666
py
import numpy as np import tensorflow as tf from . import repmem class DQN: def __init__( self, input_shape, n_actions, q_fn, learning_rate, discount_factor=0.99 ): """ Parameters ---------- input_shape: t...
[ "shuhei.fujiwara@gmail.com" ]
shuhei.fujiwara@gmail.com
7bb62eea1b4ae6548c56888022465b75c9c17c5a
1ecb394b10e9622a5a5d8845b44e4585f464d42e
/nncp-api/biz/dlt.py
6b61757ea3ab90e5869038b48a07359ec2fefec2
[]
no_license
dragonflylxp/lottory
7ec28d196f58692d9d417aa5d6963c182afe260a
b04f115df325a58148dc19d7cdfc21b28892a6a1
refs/heads/master
2020-04-28T08:53:09.007092
2020-04-17T10:50:41
2020-04-17T10:50:41
175,145,951
1
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
# coding: utf-8 import traceback import ews import define from decimal import Decimal from hook import Hook from util.configer import * from cbrpc import get_rpc_conn, RpcException from commonEntity.Dlt import DltBean from commonEntity.User import UserBean import session from util.tools import Log logger = Log().getL...
[ "noreply@github.com" ]
dragonflylxp.noreply@github.com
8afaab8c0cea56e8f41ab9c4f1c2441543615eef
fdd41bb26f1e7a17f5a424fe082a46bcc355abed
/setup.py
a14bf381aa58d1657f67532225f0ea61bddeb340
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SamuelMarks/ml-params-jax
4978d5d4c422825be748138f87422cb0d4604ec1
fd9ac6efe5f2c7ec6d4d41ccc9e032219992a219
refs/heads/master
2022-11-15T20:03:32.678882
2020-07-05T10:40:22
2020-07-05T10:40:22
276,909,573
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
# -*- coding: utf-8 -*- from ast import parse from distutils.sysconfig import get_python_lib from functools import partial from os import path, listdir from platform import python_version_tuple from setuptools import setup, find_packages if python_version_tuple()[0] == '3': imap = map ifilter = filter else: ...
[ "807580+SamuelMarks@users.noreply.github.com" ]
807580+SamuelMarks@users.noreply.github.com
6c742dc924f39f16f10aa3ddcde7be364acf3c92
20fc010bcc1b23b8df29c969eee725f3083ac117
/mayan/apps/folders/tests/test_models.py
a5beb8df62ea4fc10f50dca53b49bab5128b6c5f
[ "Apache-2.0" ]
permissive
fire-studio/mayan-edms
c5c943e16ea0c780a4c6c61d3bc702d00590eb61
6dc45a1c7f5f19219fc748e1578f200301a18f5b
refs/heads/master
2021-01-01T17:09:08.733373
2017-07-22T06:42:50
2017-07-22T06:45:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
from __future__ import unicode_literals from django.test import override_settings from common.tests import BaseTestCase from documents.models import DocumentType from documents.tests import TEST_DOCUMENT_PATH, TEST_DOCUMENT_TYPE from ..models import Folder from .literals import TEST_FOLDER_LABEL @override_setting...
[ "roberto.rosario.gonzalez@gmail.com" ]
roberto.rosario.gonzalez@gmail.com
0571fbc9119a29f41920828bd13da3bfcf7922b5
de9172a39ff6a9c5bae44a7590d38ad312162713
/manage.py
aa359a1b51d9b70b05fd8b602414fff376e3065a
[ "Apache-2.0" ]
permissive
CiganOliviu/CustomerRelationshipManagement
aa33447ddad8b59f59da4f947734aea634f7e027
dc29f05692b5dbcd761adea6c3f0e8f293e3bf16
refs/heads/main
2023-03-01T13:35:33.140128
2021-02-06T21:33:36
2021-02-06T21:33:36
334,481,597
0
0
Apache-2.0
2021-02-06T21:33:37
2021-01-30T18:19:00
null
UTF-8
Python
false
false
649
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ClientsRelationshipManagement.settings') try: from django.core.management import execute_from_command_line except ImportError as exc...
[ "ciganoliviudavid@gmail.com" ]
ciganoliviudavid@gmail.com
6d15dc1ae9a416953dddc829e437664a04cf34cc
24f664aa2344d4f5d5e7b048ac4e85231715c4c8
/deeplearning/deeptune/opencl/heterogeneous_mapping/models/base.py
7e8490aaae299610f8b1c95cea719f8d82a1ac1c
[]
no_license
speycode/clfuzz
79320655e879d1e0a06a481e8ec2e293c7c10db7
f2a96cf84a7971f70cb982c07b84207db407b3eb
refs/heads/master
2020-12-05T13:44:55.486419
2020-01-03T14:14:03
2020-01-03T14:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,330
py
# Copyright (c) 2017, 2018, 2019 Chris Cummins. # # DeepTune 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. # # DeepTune is distribute...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
aaef15c38545b71f401e174ffe09c7f011928a7f
e38e87ed5e500290ba0c2f774227920625ee5c54
/examples/computing_embeddings.py
7e84b597291985f1773e4aeaa58989017cf20739
[ "Python-2.0", "Apache-2.0" ]
permissive
ishine/text2vec
39d363b94ddbc9e664939041ae63ad4e352b894b
71842f67f7be9f0d4fee5b6e0e2562a1c553818e
refs/heads/master
2023-08-25T19:49:54.215412
2021-11-05T06:37:18
2021-11-05T06:37:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
# -*- coding: utf-8 -*- """ @author:XuMing(xuming624@qq.com) @description: This basic example loads a pre-trained model from the web and uses it to generate sentence embeddings for a given list of sentences. """ import sys sys.path.append('..') from text2vec import SBert from text2vec import Word2Vec def compute_em...
[ "shibing624@126.com" ]
shibing624@126.com
64a01ea72a90e118f418a461a192b0bed7834f65
41de4210af23a8a8a3ca7dd090bb51faecf4a0c8
/lib/python3.5/site-packages/statsmodels/tsa/statespace/_pykalman_smoother.py
fb35b84e6db940e426521726b7be524b233230a5
[ "Python-2.0" ]
permissive
randybrown-github/ziplineMacOS
42a0c2bfca2a54baa03d2803dc41317647811285
eb5872c0903d653e19f259f0800fb7aecee0ee5c
refs/heads/master
2022-11-07T15:51:39.808092
2020-06-18T20:06:42
2020-06-18T20:06:42
272,631,387
0
1
null
2022-11-02T03:21:45
2020-06-16T06:48:53
Python
UTF-8
Python
false
false
11,383
py
""" Kalman Smoother Author: Chad Fulton License: Simplified-BSD """ from __future__ import division, absolute_import, print_function import numpy as np import warnings SMOOTHER_STATE = 0x01 # Durbin and Koopman (2012), Chapter 4.4.2 SMOOTHER_STATE_COV = 0x02 # ibid., Chapter 4.4.3 SMOOTHER...
[ "randybrown18@me.com" ]
randybrown18@me.com
adf0f62316b8fa8d727bcb11f2ea9d19dc9f0b06
7c8c7fe5a7aea0a023624b31433f281a642bd488
/tslearn/tests/test_variablelength.py
ba22bb86e4e2cd321192159d489d56ebcc001bcb
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
wzpy/tslearn
918b969a69fd1a003037c94224ff31959f8b271f
2d7f3ea710b8d7f21ab24d212e930046b9c142ad
refs/heads/master
2020-07-15T04:38:48.217622
2019-08-30T22:04:05
2019-08-30T22:04:05
205,481,146
1
0
BSD-2-Clause
2019-08-31T01:53:11
2019-08-31T01:53:11
null
UTF-8
Python
false
false
3,258
py
import numpy as np from numpy.testing import assert_allclose, assert_array_less from sklearn.model_selection import cross_val_score, KFold from tslearn.neighbors import KNeighborsTimeSeriesClassifier from tslearn.svm import TimeSeriesSVC, TimeSeriesSVR from tslearn.clustering import GlobalAlignmentKernelKMeans, TimeSe...
[ "romain.tavenard@univ-rennes2.fr" ]
romain.tavenard@univ-rennes2.fr
069516998750956b7549ff532bbaf794a91c42e7
e638e9fda0e672fa9a414515d0c05a24ab55ad38
/SparseMatrixMultiplication.py
73e01038302f2d5dfc6d050502ff25dfad32a2a7
[]
no_license
zjuzpz/Algorithms
8d1c7d50429aa5540eb817dc5495a20fc3f11125
2df1a58aa9474f2ecec2ee7c45ebf12466181391
refs/heads/master
2021-01-21T05:55:48.768728
2020-08-04T22:44:08
2020-08-04T22:44:08
44,586,024
2
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
""" 311. Sparse Matrix Multiplication Given two sparse matrices A and B, return the result of AB. You may assume that A's column number is equal to B's row number. Example: A = [ [ 1, 0, 0], [-1, 0, 3] ] B = [ [ 7, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 1 ] ] | 1 0 0 | | 7 0 0 | | 7 0 0 | AB = | -1 0 3...
[ "zjuzpz@gmail.com" ]
zjuzpz@gmail.com
e4ae6e2272d209c56491720c42c47c6bb8eb751e
675989e2669b8b281b39de85dab2fe781cdaca6a
/macro/beam_profile/plots_beam.py
acd3481bec53ea81dba6acf6c9242a38deb0afa8
[]
no_license
adamjaro/lmon
c439615c2aae861102e32440f823b05b7b054715
fd80ae93620ff12f8043f04d19538355fbdff81a
refs/heads/master
2023-06-01T06:29:09.749097
2023-05-08T17:55:55
2023-05-08T17:55:55
223,854,949
2
1
null
null
null
null
UTF-8
Python
false
false
6,691
py
#!/usr/bin/python3 from pandas import read_csv, DataFrame import matplotlib.pyplot as plt from matplotlib.lines import Line2D from scipy.stats import norm from scipy.optimize import curve_fit import numpy as np #_____________________________________________________________________________ def main(): iplot = 2 ...
[ "jaroslav.adam@cern.ch" ]
jaroslav.adam@cern.ch
95841f3405e5128f4dfbcdc76b3bc8bc7578f644
eafd99d910af8cdcf1ec1b96d03c342e5306af49
/tf-idf.py
803e8ec98d0ee3310165b47a2f88d53407dc526f
[]
no_license
paulohq/cosine
0323db87138a1f7b34f680b20f93b0a41a2c72b4
f22c3c7b6af9eb149046d70654dd82a7bf69c738
refs/heads/master
2020-05-09T19:36:50.164238
2020-04-13T23:41:31
2020-04-13T23:41:31
181,383,427
0
0
null
null
null
null
UTF-8
Python
false
false
3,179
py
# teste de geração de tfidf do corpus import pandas as pd from sklearn.feature_extraction.text import TfidfVectorizer from nltk.corpus import stopwords import math def computeTF(wordDict, bagOfWords): tfDict = {} bagOfWordsCount = len(bagOfWords) for word, count in wordDict.items(): tfDict[word] ...
[ "=" ]
=
5a51db951f50d7a40e7dd7898836d24536d129dc
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_26911.py
835706fd5386fe2807524e81564a1ceb637ffd94
[]
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
97
py
# Cutting image after a certain point Image.composite(hat, faceandhair, mask).save("RESULT.png")
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
3c69f7778504bf4fa0dba20be9624a0e8fa8483a
0ffdf8ab6c5a875bfd8c3e06456131a0f3abad62
/contrib/devtools/update-translations.py
9266596bcb8562a640361a6811c64b7a51f9e5df
[ "MIT" ]
permissive
FYNCOIN-Foundation/FYNCOIN
d06be9163090155a540b369512b9f6ec7f2410f3
835ce3be2fb20632fb9443293d86caad620a1f7e
refs/heads/master
2020-03-26T11:55:35.065862
2018-09-02T10:26:22
2018-09-02T10:26:22
144,866,105
0
4
null
null
null
null
UTF-8
Python
false
false
8,148
py
#!/usr/bin/env python # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Run this script from the root of the repository to update all translations from transifex. It will do the follo...
[ "hemant.singh.leu@gmail.com" ]
hemant.singh.leu@gmail.com
cbd89cb2e8587a7d490be95bfed1e308b413fcbe
aa8fe9e165df16bd17aa5720b8043c533adde9bb
/init/00_lockfile.py
4843f9c2f344b55760f6b74481b55a42eabab1c1
[]
no_license
teamdiamond/qtlab
31d2ccaee2ada84a027f2160553f54757e6f6cdf
67d5bbd58c5f4d4ac3914774b56071d51f121010
refs/heads/master
2022-12-14T12:07:35.223055
2019-06-25T06:53:57
2019-06-25T06:53:57
15,255,712
0
4
null
2022-12-07T23:37:45
2013-12-17T13:54:53
Python
UTF-8
Python
false
false
322
py
from lib import config, lockfile import os _lockname = os.path.join(config.get_execdir(), 'qtlab.lock') lockfile.set_filename(_lockname) del _lockname msg = "QTlab already running, start with '-f' to force start.\n" msg += "Press s<enter> to start anyway or just <enter> to quit." lockfile.check_lockfile(msg)...
[ "wolfgangpfff@gmail.com" ]
wolfgangpfff@gmail.com
4d5b0222e92f9df4bd437156b9910a3f4474331e
13cf11440998376d3b52a49f1e4fb8936c360ac4
/tests/saliency_tests/visualizer_tests/test_visualizer_utils.py
db7ce7e9b4dd0f1fb233f8a3f1d4c2e5d8a52f95
[ "MIT" ]
permissive
k-ishiguro/chainer-chemistry
87e3db724de0e99042d9585cd4bd5fff38169339
aec33496def16e76bdfbefa508ba01ab9f79a592
refs/heads/master
2021-07-06T22:58:20.127907
2019-02-04T02:51:34
2019-02-04T02:51:34
169,345,375
1
1
MIT
2020-07-30T06:04:13
2019-02-06T02:27:39
Python
UTF-8
Python
false
false
1,802
py
import numpy import pytest from chainer_chemistry.saliency.visualizer.visualizer_utils import abs_max_scaler # NOQA from chainer_chemistry.saliency.visualizer.visualizer_utils import min_max_scaler # NOQA from chainer_chemistry.saliency.visualizer.visualizer_utils import normalize_scaler # NOQA from chainer_chemist...
[ "acc1ssnn9terias@gmail.com" ]
acc1ssnn9terias@gmail.com
a3a4b899eeb29945f03056946232a708ce516fbb
36cfda71d39c79ba671b8f86d473bc8b802ae348
/C++问答Code/delete.py
0fcdd4b60511ec7c85134158caccace5d5275a59
[]
no_license
lichangke/QuestionAndAnswer
b05e9b0f2ea12c61a7a27f59c81bcf7ebd903c83
dd89c2d786050c6b69c4ee93a9eef8d4a22fbfa6
refs/heads/master
2023-05-02T21:44:53.225373
2021-04-27T08:40:37
2021-04-27T08:40:37
357,549,085
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
import os import shutil import os.path import stat DeleteDirList = [".idea","cmake-build-debug"] def funcDeleteDir(path): for parent, dirnames, filenames in os.walk(path): # 遍历文件夹下面的所有文件夹 for dirname in dirnames: strfilepath = parent + os.sep + dirname if os.path.isdir(strfilepath...
[ "986740304@qq.com" ]
986740304@qq.com
d7eb16377f4e485d6f9ced4d428c49500c312ff0
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.0_rd=1_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=81/params.py
9c610d772bb2c0361c637b278eaa66262e55aa96
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
{'cpus': 4, 'duration': 30, 'final_util': '3.107095', 'max_util': '3.0', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 81, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
07e4a5831a138c258c31661783f57549e8e2aa79
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/win_rm_configuration_py3.py
7ee36d3a256e666ff72aa6de041509fd0721681d
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,036
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
2f6a82d63491db26eebcd1c31b0fac8b1e2040a2
d5e787f85b37f966ccdf0cd5f7a7061eae1c70a8
/src/core/celery.py
0def2c6a5fba8808a1f787d4065df7b5ec14710d
[ "MIT" ]
permissive
iBuilder-Tech/phase
5ee6cd1fb410de0d067e7b5b8adfea3c4411b62c
cc8f9b9f3e2c31b139d5cce433667c8d5ba2c6f2
refs/heads/main
2023-07-10T18:24:20.291136
2021-08-31T13:22:17
2021-08-31T13:22:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
import os from celery import Celery os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'core.settings.production') from django.conf import settings # noqa app = Celery('phase') app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks(lambda: settings.INSTALLED_APPS) @app.task(bind=...
[ "thibault@miximum.fr" ]
thibault@miximum.fr
b8dfd6bf8be08eccce64129d19717fa8d4ac4eed
997c82f5d9684945fb2f5d5481dc4d251a93755f
/famapy/metamodels/bdd_metamodel_withObjects/models/bdd_model.py
af0274543db70bddfc413d11b3eaabfab872f8f1
[]
no_license
jmhorcas/famapy-aafms
a6e45b5fff2c820037daf95151df5bc6895b1611
bcc80f7061bed4d6bfd536f9d53cf195bffa01e6
refs/heads/main
2023-08-24T05:51:47.337325
2021-10-15T10:18:20
2021-10-15T10:18:20
389,559,981
1
0
null
null
null
null
UTF-8
Python
false
false
3,424
py
from collections import defaultdict from dd.autoref import BDD, Function from famapy.metamodels.cnf_metamodel.models.cnf_model import CNFNotation, CNFLogicConnective class BDDModel: """A Binary Decision Diagram (BDD) representation of the feature model given as a CNF formula. It relies on the dd module: htt...
[ "jhorcas@us.es" ]
jhorcas@us.es
380d2de8a0216873416cca9c2d5e636526a7dd16
e73003ad3417daf4eb4b4e9909b42225833aedea
/0x07-python-test_driven_development/0-add_integer.py
0a8fd23207973a5fd688889a15bd00d764bc346b
[]
no_license
Alphamj/holbertonschool-higher_level_programming
34f10da3407969928a333af8a6ef52d2817d838a
379ed7fc70f8ba7e4c41e07b4ae804c21d540725
refs/heads/master
2023-03-15T13:11:04.545118
2020-09-25T01:38:33
2020-09-25T01:38:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
#!/usr/bin/python3 """ My add module add_integer: function that add two numbers Return: the add of two intigers """ def add_integer(a, b=98): """ Return the add of intigers a and b are intigers """ if not isinstance(a, (int, float)) or isinstance(a, bool): raise TypeError("a mu...
[ "1482@holbertonschool.com" ]
1482@holbertonschool.com
da35d8a5edab37d07c1c2a4664be8b6030f98f66
35cf6fc79b8d6c335add8e55e0f4dca6f2816d1d
/Python_Study/Selenium自动化/Day02/Email/send_email.py
f4b9ce3225290a4c822ebb3ee2db697acd756345
[]
no_license
KongChan1988/51CTO-Treasure
08b4ca412ad8a09d67c1ea79c7149f8573309ca4
edb2e4bd11d39ac24cd240f3e815a88361867621
refs/heads/master
2021-07-04T15:57:56.164446
2019-07-24T15:28:36
2019-07-24T15:28:36
97,453,749
5
8
null
2019-10-30T22:05:12
2017-07-17T08:34:59
Python
UTF-8
Python
false
false
2,369
py
# -*- coding:utf-8 -*- # Author:D.Gray import unittest import smtplib import time import os from email.mime.text import MIMEText from email.header import Header from HTMLTestRunner import HTMLTestRunner print("开始发送邮件".center(50,"-")) def sendReport(file_new): with open(file_new,'rb') as f: email_body = f.r...
[ "wangwei_198811@163.com" ]
wangwei_198811@163.com
73297c5c9fd66b418c12dcf9b3d27bcd9b384d06
ac45b55915e634815922329195c203b1e810458c
/panstars630_18.py
d98a96508dabb530f35f2383490b9e488ac6b495
[]
no_license
mj1e16lsst/iridisPeriodicNew
96a8bfef0d09f13e18adb81b89e25ae885e30bd9
dc0214b1e702b454e0cca67d4208b2113e1fbcea
refs/heads/master
2020-03-23T15:01:23.583944
2018-07-23T18:58:59
2018-07-23T18:58:59
141,715,292
0
0
null
null
null
null
UTF-8
Python
false
false
12,060
py
from operator import add #from astropy import units as u #from astropy.coordinates import SkyCoord #from astropy.stats import LombScargle #from gatspy.periodic import LombScargleFast from functools import partial #from gatspy import periodic #import matplotlib.pyplot as plt #from matplotlib.font_manager import FontProp...
[ "mj1e16@soton.ac.uk" ]
mj1e16@soton.ac.uk
c47994dc7e144c848612afbf957dd5ef9965dc65
079c07c5d97eb60d36269e27309e84b25ea0aaeb
/guidehero-backend/tests/api/ask/test_set_askers.py
fa36cc6582edab111b92747b6fc3a4ca8ef0038f
[]
no_license
itdream-dev/python
3aa44329673f05e2a86e1cba56cb88101c777233
eda81b802b99f45933bdf0d22b508837cfa538f0
refs/heads/master
2023-03-05T12:27:42.776870
2020-05-11T15:54:45
2020-05-11T15:54:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,742
py
import unittest import json from ..base import ApiBaseTestCase from lib.models.card import Card from lib.models.user import User from lib.models.user_role_card import UserRoleCard from lib.models.card_role import CardRole @unittest.skip('set_askers endpoint is obsolete') class SetAskersTestCase(ApiBaseTestCase): ...
[ "skyclean906@gmail.com" ]
skyclean906@gmail.com
4c33afd7ec68d476be15ac1a4b104c83b7b17113
e9abd9878f1bef884e32d754b0dfe0c263b6c569
/tracing/tracing/trace_data/trace_data.py
d42fa62b16296c1ceaf0dc8ca7c303cf00a8ad8e
[ "BSD-3-Clause" ]
permissive
SantosTailfeather/catapult
ab6ebf71e21a59d3e52f5005a11fdf00d80978bf
d93fde1cd5a5c8824b034ac8e8150a62ebc5bcb9
refs/heads/master
2020-12-21T02:38:00.147479
2020-01-25T00:08:10
2020-01-25T00:16:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,829
py
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections import gzip import json impor...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
916623c6560a309b4929336812aad08d5b56189e
d253cb1e5b52a67a2e20030e6f0f9ddcdbcbd3aa
/config/testing.py
f3ddff8c058d926e91e16aadf7a6bd2603e50f2f
[]
no_license
TheFifthMan/flask-basic-template
84e3c8b0acdbd2ede121f267e92ca0ee298e1bce
313ce8c6827b1d33cfb0039c57d6d1aa4be8555b
refs/heads/master
2020-04-07T19:03:19.565438
2019-01-29T05:44:03
2019-01-29T05:44:03
158,634,487
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
from .general import Config import os class TestingConfig(Config): Testing = True SQLALCHEMY_DATABASE_URI = os.getenv("TEST_SQLALCHEMY_DATABASE_URI") or "mysql+pymysql://root:qwe123@127.0.0.1/flasky"
[ "John.Wen@ehealth.com" ]
John.Wen@ehealth.com
3aab521adda4453f55ff28cfe6d24b1ec4c84c96
757c2daa5e2ea70005783d1e5ac78aec47712e9c
/python/elb/61-create-elb.py
bf88664c92a82190829253256ebdc602123d79a9
[]
no_license
obulpathi/aws
ab9e6f6a62e8d76f196b063da87c8d8c0d09d25e
35c2181377c4c536b7e1d6fb9386705a90f85763
refs/heads/master
2021-01-17T04:43:10.358333
2017-04-10T21:02:23
2017-04-10T21:02:23
21,324,885
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
import boto.ec2.elb from boto.ec2.elb import HealthCheck elb_conn = boto.ec2.elb.connect_to_region('us-east-1') # ELB requires a few pieces to be setup hc = HealthCheck( interval=20, healthy_threshold=3, unhealthy_threshold=5, target='TCP:22' # target='HTTP:8080/health' ) zo...
[ "obulpathi@gmail.com" ]
obulpathi@gmail.com
988ece74cdaa2dcd3a36b809507d1bc66cfb90f4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03072/s343667969.py
87c47d33b4536d07dce370dc61baa549b2bf3c3d
[]
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
172
py
n = int(input()) h = list(map(int, input().split())) res = 1 h_max = h[0] for i in range(1, len(h)): if h[i] >= h_max: res += 1 h_max = h[i] print(res)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
058eda00c75edcb0e82137576ef2baebcbe8ad6c
22279487bee5c983c13887ba11e6a4cd40e8bbe3
/PreprocessData/all_class_files/CheckInAction.py
af33e7115f5e5b86b3228ccc926f998d5bf75519
[ "MIT" ]
permissive
DylanNEU/Schema
018c9f683c683068422ed7b6392dcebd4ab4d4cd
4854720a15894dd814691a55e03329ecbbb6f558
refs/heads/main
2023-08-30T01:50:20.541634
2021-11-01T15:30:41
2021-11-01T15:30:41
425,238,713
1
0
MIT
2021-11-06T12:29:12
2021-11-06T12:29:11
null
UTF-8
Python
false
false
899
py
from PreprocessData.all_class_files.CommunicateAction import CommunicateAction import global_data class CheckInAction(CommunicateAction): def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None...
[ "2213958880@qq.com" ]
2213958880@qq.com
71e887082cff90085822f44fbae6b963c2301a2d
6ffa236a008d1cd1dc70f2c8ea0544d20ec350ee
/aries_cloudagent/messaging/issue_credential/v1_0/messages/tests/test_credential_issue.py
7e02b911b654489666e5eb5dbc45298e8e2e30ec
[ "Apache-2.0" ]
permissive
blockpass-identity-lab/aries-fl-demo
99e849f782dd80e729e3fe24c3af2881c5c49dca
310b748c1ac2e814ec6f97c46ddbb9985584e0fc
refs/heads/master
2022-07-06T18:37:16.007582
2020-04-23T15:48:33
2020-04-23T15:48:33
221,698,330
5
0
Apache-2.0
2021-02-26T02:40:03
2019-11-14T12:58:58
Python
UTF-8
Python
false
false
9,380
py
from .....decorators.attach_decorator import AttachDecorator from ...message_types import CREDENTIAL_ISSUE from ..credential_issue import CredentialIssue from unittest import mock, TestCase class TestCredentialIssue(TestCase): """Credential issue tests""" indy_cred = { "schema_id": "LjgpST2rjsoxYegQ...
[ "srklump@hotmail.com" ]
srklump@hotmail.com
c2e31a747260c7ac46d579c9c49836e9b9311df8
63ce52a8dcbbb4f64b1f3265f54904a928128af6
/ben_projects/RoboQuasar1.0/camera/analyzers.py
d6eea271bf5e1ef59b86465592640a1e97d35357
[]
no_license
Woz4tetra/Self-Driving-Buggy
0ab629242e07ad8aa706573bbab0809f895d5533
ceba78445e1b0dcc6922cd67e8be23d78eb1667a
refs/heads/master
2021-01-10T18:51:35.253412
2016-01-15T02:56:50
2016-01-15T02:56:50
40,282,642
0
1
null
null
null
null
UTF-8
Python
false
false
7,281
py
# applies houghlines or cascade classfier filters on an input camera frame import numpy as np import cv2 class LineFollower: def __init__(self, expected, y_bottom, width, height): self.centerRho, self.centerTheta = expected self.width, self.height = width, height self.yBottom = y_bottom ...
[ "woz4tetra@gmail.com" ]
woz4tetra@gmail.com
5997d151d9f1e7de50553485f111894ab52bdc98
4801b8c21b94335cf93bd961532f437fbb8124a2
/backend/bot/modules/tosurnament/bracket/bracket.py
3df10de8152d48cca26b308d432bc84949183735
[ "MIT" ]
permissive
SugiuraAyano/Tosurnament
1e7160e037dca47e0c627b069ee6ab1c0a96c02a
926827398aef97581eede8685ee5303d798374eb
refs/heads/master
2023-04-25T22:44:31.356993
2021-06-04T16:42:25
2021-06-04T16:42:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,388
py
"""Contains all bracket settings commands related to Tosurnament.""" import asyncio import datetime import discord from discord.ext import commands from bot.modules.tosurnament import module as tosurnament from common.api import challonge from common.databases.bracket import Bracket from common.api import osu class ...
[ "spartan.plume@gmail.com" ]
spartan.plume@gmail.com
6cab7e4a0b61be1e5a1bf905f462d105a149b688
f5d766ee70de02422aabfbe53d81d94e1abfff3b
/photos/apps.py
4a36c51d287c37936560a34480aae670a5e66708
[ "MIT" ]
permissive
antomuli/Chi_Gallery
f7b0a0466110278776744b9c3873af0f7cdcad94
cbc45e7c54f812081af73e2946bf846a4e16e4af
refs/heads/master
2022-12-08T19:00:11.851715
2020-07-22T10:22:04
2020-07-22T10:22:04
243,785,499
3
1
null
2022-12-08T03:43:41
2020-02-28T14:49:39
Python
UTF-8
Python
false
false
86
py
from django.apps import AppConfig class PhotosConfig(AppConfig): name = 'photos'
[ "mulianthony561@gmail.com" ]
mulianthony561@gmail.com
841b4a196027f6232cc3d170f481da13576dc249
2e74cff6c9639f3903ccde662e79359d0724285e
/2019_late/20190826/aa.py
f51aeefafcffc501a66e2b90d4c18c5bb3a5c82a
[]
no_license
dodonmountain/algorithm
e29988071f651e51ba65e3926302f94a3d4074a5
ce33e0d74220839aed4b17a47fa0069458a4324e
refs/heads/master
2022-11-05T05:14:01.527015
2022-11-01T04:29:37
2022-11-01T04:29:37
200,008,533
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
import sys sys.stdin = open('input4881.txt', 'r') def backtracking(k, n, sum_temp): global min_sum if k == n: # print('sum_temp_final: {}'.format(sum_temp)) if min_sum > sum_temp: min_sum = sum_temp return if sum_temp > min_sum: # 시간 초과 나서 가지치기 해줌! return for...
[ "lkh151515@gmail.com" ]
lkh151515@gmail.com
31178d0de5aff1e94f4abb2ac1bf30250a058b35
f2889a13368b59d8b82f7def1a31a6277b6518b7
/203.py
4cc915c1697a80508539b0d9a6f8f2a77f90cc65
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
1,066
py
# ref: https://leetcode.com/discuss/33150/python-solution # Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def removeElements(self, head, val): """ :type head: ListNode :type val:...
[ "b93902098@ntu.edu.tw" ]
b93902098@ntu.edu.tw
0b0c72893b0cb54445a840ddd464ccffc5ea4a81
b73e14ea63e0d728a23b780bd5b0eb4d8fac4362
/hassio-google-drive-backup/backup/drive/folderfinder.py
86319775f85ffbcf72329dd692eaedf91c8715ae
[ "MIT" ]
permissive
agusalex/hassio-google-drive-backup
7c722c26e2c45382aeabef706842674ba6c176d3
c97fd6e7e4f95d48b85d3cfe67a01bdc2103da9c
refs/heads/master
2023-04-03T06:42:49.797408
2021-04-05T23:30:33
2021-04-05T23:30:33
354,999,639
0
1
MIT
2021-04-05T23:30:33
2021-04-05T23:26:33
null
UTF-8
Python
false
false
7,601
py
import os import os.path from datetime import timedelta from typing import Any, Dict from aiohttp.client_exceptions import ClientResponseError from injector import inject, singleton from ..config import Config, Setting from ..exceptions import (BackupFolderInaccessible, BackupFolderMissingError, ...
[ "stephen@beechens.com" ]
stephen@beechens.com
8a52414ded940232afbcfaec121283acd02cb77d
bc233c24523f05708dd1e091dca817f9095e6bb5
/bitmovin_api_sdk/models/limit_transform_unit_depth_recursion_mode.py
0ba484b9233f3c3819003b1483ecb20fa575e34a
[ "MIT" ]
permissive
bitmovin/bitmovin-api-sdk-python
e3d6cf8eb8bdad62cb83ec77c0fc4950b06b9cdd
b0860c0b1be7747cf22ad060985504da625255eb
refs/heads/main
2023-09-01T15:41:03.628720
2023-08-30T10:52:13
2023-08-30T10:52:13
175,209,828
13
14
MIT
2021-04-29T12:30:31
2019-03-12T12:47:18
Python
UTF-8
Python
false
false
313
py
# coding: utf-8 from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model class LimitTransformUnitDepthRecursionMode(Enum): DISABLED = "DISABLED" LEVEL_1 = "LEVEL_1" LEVEL_2 = "LEVEL_2" LEVEL_3 = "LEVEL_3" LEVEL_4 = "LEVEL_4"
[ "openapi@bitmovin.com" ]
openapi@bitmovin.com
b11eff7cd71907dd1ef5d3d85b2f65a8f197cec1
27750e8d10776babf3ef459365e31f020071384b
/tensor2tensor/data_generators/desc2code_test.py
24b7568d0b862caca630bdcb5fbadcc04dc2b4d7
[ "Apache-2.0" ]
permissive
rmbrad/tensor2tensor
364da5e065075b363fc539cea67ce12008cbd23a
45a787e46b32bdb18b70f835cba0b3270267e19b
refs/heads/master
2021-05-16T17:10:10.342682
2017-08-11T23:21:37
2017-08-11T23:21:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,750
py
# coding=utf-8 # Copyright 2017 The Tensor2Tensor 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...
[ "rsepassi@google.com" ]
rsepassi@google.com
557b2ddc68afe5bdfefe61daf150e73970c74871
900b98964288a9cb0aaf2e45706ae2b32f92657f
/examples/adspygoogle/dfp/v201208/update_orders.py
bda89f799cad962bb451e7cf7fe364f5bbc28388
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
krux/adspygoogle
df2405c2042aa9c9a83d97b8442afe68572e3e2e
6505a71122f45fe3e675f27f2c29f67a1768069b
refs/heads/master
2022-02-22T08:55:19.777002
2022-02-11T22:42:19
2022-02-11T22:42:19
7,103,378
0
0
null
null
null
null
UTF-8
Python
false
false
2,331
py
#!/usr/bin/python # # Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "charlie@schluting.com" ]
charlie@schluting.com
263d4468d717c24d9dbb54540b3466b94e3b6850
6c46cde091086cc302fa417ad00283702221b487
/인프런/섹션 6/6. 중복순열 구하기/AA3.py
adcf3c6bc22fe5386e6d6fed6fd8f95e690d09fe
[]
no_license
Hugo-Oh/study_DataStructure
4da1e358ad1458f52075065d7bd54540cc8b8ad4
da492bbe0267d73cefb71c7ada129cfc41b7dcee
refs/heads/master
2023-06-19T14:40:14.590970
2021-07-21T15:07:11
2021-07-21T15:07:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
import sys #sys.stdin = open("input.txt", "rt") N, M = map(int, input().split()) arr = [0] * M cnt = 0 def DFS(n): global cnt if n == M: for i in arr: print(i, end = " ") print() cnt += 1 return else: for i in range(1, N + 1): arr[n] = i ...
[ "hyok28@yonsei.ac.kr" ]
hyok28@yonsei.ac.kr
3f2523ace4187d1f2fba4fa4a681546956844653
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_19/models/admin_api_token_response.py
03c5ebe3b8f1b0eba86d1b226fd09b8c7ece9747
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,841
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.19 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
1d928f312bda7d0394b7dae7b9c9fd6d04ae4e6a
51086c09f2c920d057db12e373a01b08571c4cbf
/.env/bin/pip2.7
051b5bd26d51057fd1e03bc5152231762e563c95
[]
no_license
JohnHoder/pebble-dev
66dc69258dfd009313c23ba5c2eb518aec257652
e9d95bd564ba6f58b539a1a68f21fe82b6d0992b
refs/heads/master
2022-11-23T17:32:26.573394
2018-12-26T03:17:37
2018-12-26T03:17:37
163,131,045
0
1
null
2022-10-31T10:03:38
2018-12-26T03:15:57
Python
UTF-8
Python
false
false
219
7
#!/opt/pebblexxx/.env/bin/python # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "hoder.john@gmail.com" ]
hoder.john@gmail.com
acfdefacf1fe49a47bbfeab9d602460b1834d794
097952b49b373e2a391cd7b7f32ac1732379beaa
/src/z3c/tabular/testing.py
a470ec0c1108886d51cc2dc0e97e3d75f2ce107b
[ "ZPL-2.1" ]
permissive
zopefoundation/z3c.tabular
d9942205aa1af3d62768ae702c403365ec9e7e54
e222b9cc245e044e4a38d1b64fe1aec79465ff1f
refs/heads/master
2023-06-21T20:17:56.129955
2020-12-16T16:12:51
2020-12-16T16:12:51
8,727,901
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
############################################################################## # # Copyright (c) 2008 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "marius@gedmin.as" ]
marius@gedmin.as
3d76d571204087973ff5d24b2ece337edc64f28d
be0a3aa7b83b87c5d2c257b538545bdded39c051
/Chatbot_KG/model/KE/HolE.py
7e95c8a6ef8798bcb9b6f12ab9a937dec413c0a4
[ "Apache-2.0" ]
permissive
water123li/Chatbot_CN
480e3bc6d6c0d8b6b0823452556acef14df1c2c3
e63808030c6cc516020075cdcd0c332120a998fc
refs/heads/master
2022-01-25T10:34:34.726243
2019-06-13T10:44:44
2019-06-13T10:44:44
192,504,292
1
0
Apache-2.0
2019-06-18T09:01:55
2019-06-18T09:01:55
null
UTF-8
Python
false
false
3,681
py
#coding:utf-8 import numpy as np import tensorflow as tf from .Model import Model class HolE(Model): def _cconv(self, a, b): return tf.ifft(tf.fft(a) * tf.fft(b)).real def _ccorr(self, a, b): a = tf.cast(a, tf.complex64) b = tf.cast(b, tf.complex64) return tf.real(tf.ifft(tf.conj(tf.fft(a)) * tf.fft(b))) ...
[ "charlesxu86@163.com" ]
charlesxu86@163.com
6253aae47154a92d62c55de0c48e638cda492064
6969dbf9ff8fabf811efa04cc76207e955c0d481
/simics/monitorCore/idaFuns.py
6430e8accb60cd4855aa86f78717c87114b37f66
[]
no_license
heruix/RESim
c6f5a1919afa6872d3175b5b4012ea2b45438797
bf514e9c08fced46ee752dd14d498971a059bc16
refs/heads/master
2020-06-16T13:40:32.389194
2019-07-06T00:14:48
2019-07-06T00:14:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,689
py
import os import json class IDAFuns(): def __init__(self, path, lgr): self.funs = {} self.lgr = lgr self.did_paths = [] #self.lgr.debug('IDAFuns for path %s' % path) if os.path.isfile(path): with open(path) as fh: jfuns = json.load(fh) ...
[ "mfthomps@nps.edu" ]
mfthomps@nps.edu
afc3ff37fffe764fe8ba9e14e30caf05b5c58063
cbee2fee9d91559b0db43c1050feeb1cd278183d
/analysis_ee_ZH_mumubb_cfg.py
456431702ceeb985fd4c2020abaaddc4711b638a
[]
no_license
cbernet/fcc-ee-higgs
dec6e7963d640cd20eea65b7e8cbfa1d370b4e6d
8f7ebdae52b19ad1829173f08145a81e0d090aa9
refs/heads/master
2021-01-20T07:43:12.188590
2018-10-18T14:53:36
2018-10-18T14:53:36
90,035,545
0
3
null
null
null
null
UTF-8
Python
false
false
10,699
py
'''Example configuration file for an ee->ZH->mumubb analysis in heppy, with the FCC-ee While studying this file, open it in ipython as well as in your editor to get more information: ipython from analysis_ee_ZH_cfg import * ''' import sys import os import copy import heppy.framework.config as cfg import logging ...
[ "colin.bernet@cern.ch" ]
colin.bernet@cern.ch
948cdbd33fbfdf2a1feb1b18a771048e4de9a817
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnswiftest.py
f328f0897e70191363f2933df675b46faa2b20d7
[]
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
391
py
ii = [('RogePAV.py', 3), ('RennJIT.py', 1), ('KembFJ1.py', 1), ('CarlTFR.py', 3), ('AinsWRR3.py', 1), ('BailJD1.py', 1), ('RoscTTI2.py', 1), ('CoolWHM.py', 1), ('LandWPA.py', 1), ('BuckWGM.py', 2), ('CoopJBT.py', 1), ('KirbWPW2.py', 1), ('KembFJ2.py', 1), ('LewiMJW.py', 1), ('AinsWRR2.py', 1), ('BrewDTO.py', 1), ('Fitz...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
ffe101fce315842b655c25a42ead6035be8f11af
9b422078f4ae22fe16610f2ebc54b8c7d905ccad
/xlsxwriter/test/comparison/test_table26.py
b49983db23e74cea0ced01081727ac1e0965388c
[ "BSD-2-Clause-Views" ]
permissive
projectsmahendra/XlsxWriter
73d8c73ea648a911deea63cb46b9069fb4116b60
9b9d6fb283c89af8b6c89ad20f72b8208c2aeb45
refs/heads/master
2023-07-21T19:40:41.103336
2023-07-08T16:54:37
2023-07-08T16:54:37
353,636,960
0
0
NOASSERTION
2021-04-01T08:57:21
2021-04-01T08:57:20
null
UTF-8
Python
false
false
1,139
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
7e15463225ac1ec4cf055441229ae9fc9583bf7c
19a32440205b2caeec67c73c10d917b5fb30a86a
/isi_sdk/models/groups_group_members.py
7588806de998c9e5618d140042d2af2c4dbe5e33
[ "MIT", "Apache-2.0" ]
permissive
marrotte/isilon_sdk_python
480e84312f5924a506aeb09c9c7cae79a2b9b7f4
91039da803ae37ed4abf8d2a3f59c333f3ef1866
refs/heads/master
2020-03-23T07:31:40.376316
2016-06-07T23:44:31
2016-06-07T23:44:31
141,277,076
1
0
MIT
2018-07-17T11:02:08
2018-07-17T11:02:08
null
UTF-8
Python
false
false
3,949
py
# coding: utf-8 """ Copyright 2015 SmartBear Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
[ "dmoxon@isilon.com" ]
dmoxon@isilon.com
81400f6a60d5ce716e6bfe14b26e3e9e580e1531
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib2/tables/4/4_2_0_1_table.py
df23e0fdf6df61f8139bc1cf8b1185d7b5dd5ad9
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
6,520
py
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'Specific humidity', 'units': 'kg kg-1'}, {'abbr': 1, 'code': 1, 'title': 'Relative humidity', 'units': '%'}, {'abbr': 2, 'code': 2, 'title': 'Humidity mixing ratio', 'units': 'kg kg-1'}, {'abbr': 3, 'code': 3, 'title': 'Precip...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
08e6f1e1db4df41d78df96ea52bdc0967f4d8f87
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-elb/huaweicloudsdkelb/v2/model/session_persistence.py
60f23e36214ae6ab55ee3ba9361efc5946182bfb
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,074
py
# coding: utf-8 import re import six class SessionPersistence: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
1143ef9ee7a22fa72650167e37cbfb456f031bf6
f7c5e3f5834206a7b0d1dadd773d1de032f731e7
/dmerce2/DMS/DGP/cipher.py
e22f959d5edf51dd21a61bfffe4001a9e3efd429
[]
no_license
rbe/dmerce
93d601462c50dfbbf62b577803ae697d3abde333
3cfcae894c165189cc3ff61e27ca284f09e87871
refs/heads/master
2021-01-01T17:06:27.872197
2012-05-04T07:22:26
2012-05-04T07:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,710
py
import mainlib class Cipher: "the base class for all blockcipher algorithms" def __init__(self, blocklen, wordlen, rounds, times): self.__blocklen = blocklen self.__wordlen = wordlen self.__rounds = rounds self.__wpb = self.__blocklen / self.__wordlen self.__times = time...
[ "ralf@art-of-coding.eu" ]
ralf@art-of-coding.eu
e1323e36e8c66e4c7d890636ed43c37dfb9b447c
9059d9cbad4188ed2980f551151b9678ffb68b44
/mycode/13_exception/user_exception.py
c1e32cf9426a407991ac8f3a3d2e38c4390e01b1
[]
no_license
mhee4321/python_basic
ad0e64fa21ecfab231a6627ba6abeea82d725690
86031975a9121efe5785e83f663255a7b4e4ba77
refs/heads/master
2023-02-11T20:31:54.353219
2021-01-07T05:44:31
2021-01-07T05:44:31
326,850,491
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
# 사용자 정의 예외 클래스 선언 class NegativePriceException(Exception): # constructor 선언 def __int__(self): print("Price can't be Negative") raise AttributeError def calc_price(value): price = value * 100 if price < 0: # NegativePriceException를 강제로 발생시킨다. raise NegativePriceExceptio...
[ "nannanru@gmail.com" ]
nannanru@gmail.com
9e050f1bf998c8bf9bdb136685e56d99f8240ab7
8d910dcc2d15f1b21de02b9b46aee23c3f1df4cc
/004-median-of-two-sorted-arrays.py
ee0f710d58279c8e8e36102961dcef78cf9425df
[]
no_license
MonikaBhasin7/leetcode-1
a7fa6115a7d3b604f8a1abb311d4cdc43182edef
77ff978aa259bd7e5da0d70037503c83e8cc78cc
refs/heads/master
2020-08-08T06:39:48.724618
2019-10-08T21:48:02
2019-10-08T21:48:02
213,760,531
0
0
null
2019-10-08T21:41:21
2019-10-08T21:41:20
null
UTF-8
Python
false
false
1,816
py
""" Problem Link: https://leetcode.com/problems/median-of-two-sorted-arrays/ There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). You may assume nums1 and nums2 cannot be both empty. Example 1: nums1...
[ "anant.kaushik2@gmail.com" ]
anant.kaushik2@gmail.com
a85b8eda787f00e981f98efa8c36f34310fba38b
8370083dbbbd32740ad1862637809396dc7984e2
/paresh75/a1.py
ecd7b956c3d295ccc274e1b1a60f1a7febd2eb21
[]
no_license
parshuramsail/PYTHON_LEARN
a919b14aab823e0f5e769d8936ddbfb357133db2
8c76720bf73f13cf96930e6d4d5128e6ba9aa535
refs/heads/main
2023-07-14T16:25:26.240555
2021-08-29T17:10:19
2021-08-29T17:10:19
401,095,644
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# READ #f=open("ram.txt","rt") #content=f.read(3) # read only 3 characters #print(content) #content=f.read(344) #print(content) #f.close() #f=open("ram.txt","rt") #content=f.read() ## print(line,end="") #f.close() #RADLINE() #f=open("ram.txt","rt") #print(f.readline()) # to print one line #print(f.readline())#to p...
[ "64275709+parshuramsail@users.noreply.github.com" ]
64275709+parshuramsail@users.noreply.github.com
341f476266c35eab353587eb301e389470a302a9
0fdb402809188c34702bc70e4d106e56ca8e2bd0
/Algorithms/tkinter.py
68887798977aa716073634bbb8f0b59f3dc37a4a
[]
no_license
the07/Python
356f2018a85caeb9dd6ccb251636ff697eb613b6
af34cf3ffe01504632cf3654a0a5f89653e163cb
refs/heads/master
2021-01-06T20:36:33.718087
2017-11-24T06:58:32
2017-11-24T06:58:32
90,789,881
0
0
null
null
null
null
UTF-8
Python
false
false
1,347
py
from tkinter import * from PIL import Image, ImageTk class Window(Frame): def __init__(self, master = None): Frame.__init__(self, master) self.master = master self.init_window() def init_window(self): self.master.title("GUI") self.pack(fill=BOTH, expand=1) #...
[ "thegauravks@gmail.com" ]
thegauravks@gmail.com
1a16098041fbca03cf063a8d634ba651c06669a2
1c83920efda583d0dcedda2ac9d91235094685e2
/web/appauth/constants.py
c9214cd0195bd4ac937081777d0947385459c7d5
[]
no_license
eshandas/django_project_template
d866d2d8c5e206b0430e6130bc470042af50b7fa
09786f6201d8e83199a2c0b7a83b6b6b0c8fd285
refs/heads/master
2022-07-22T14:39:50.521081
2019-08-06T11:00:19
2019-08-06T11:00:19
65,455,207
0
1
null
null
null
null
UTF-8
Python
false
false
981
py
class ResponseKeys(object): SESSION_ID = 'sessionId' USER = 'user' class SuccessMessages(object): PASSWORD_RESET = 'An email has been sent to change the password' class FailMessages(object): USER_INACTIVE = 'This user is not active' INVALID_CREDENTIALS = 'Wrong username or password' INVALID_...
[ "eshandasnit@gmail.com" ]
eshandasnit@gmail.com
16a12bf01a5c8f66c081745f20fe8d9e7257cbfc
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/trinutils/bindings.py
e5220ff7fcd107047c5e0b787445c9b1c58c06ab
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
#Embedded file name: trinutils\bindings.py """ Functions for dealing with bad value bindings on objects. """ import logging import osutils.subst as subst import trinity logger = logging.getLogger(__name__) def HasBrokenBindings(trinObj): bindings = trinObj.Find('trinity.TriValueBinding') for binding in binding...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
1fb7deb6e862121c82bd11e1f35fb92ae1ba4494
4e5b112b32cc2eeffb39f7111122d0df13da4117
/Cap 9/Ex9.7.py
00af0098ccf8d32da4be756c75dd5d51b9252471
[ "MIT" ]
permissive
FelipeDreissig/PenseEmPy
13c194f307a8ade747872efb1f4e50848f3c71a3
158a55d0e6bd06c8eadaa9159e816a1e4beb0ff7
refs/heads/main
2023-02-10T13:30:41.254544
2020-12-28T13:05:05
2020-12-28T13:05:05
324,915,293
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
# exercício 9.7 def repeat(): caminho = open(r'C:\Users\dreis\Desktop\Estudos\Projetos\words.txt', 'r') for palavras in caminho: if len(palavras) > 6: for i in range(0, len(palavras) - 6): if palavras[i] == palavras[i + 1]: if palavras[i + 2] == palavras...
[ "58836663+FelipeDreissig@users.noreply.github.com" ]
58836663+FelipeDreissig@users.noreply.github.com
3557efa72c93cd24fed3afd99d4cc0064394697e
ad518c153efb6ced9744d1df7e8bbd91820c5048
/fm-api/fm_api_test.py
e748dfdb31e5010f99906f208c4fd8e5ac7fe0a6
[ "Apache-2.0" ]
permissive
starlingx-staging/x.stx-fault
eccefc69c5015872da26869a07efd36464a1ae5d
6cd8940170c1799f9aa2fd05a38b84de0e7d87b3
refs/heads/master
2020-03-19T02:03:52.136983
2018-05-30T23:16:06
2018-05-31T14:36:00
135,595,467
0
1
null
null
null
null
UTF-8
Python
false
false
3,450
py
# -*- encoding: utf-8 -*- # # Copyright (c) 2014 Wind River Systems, Inc. # # Author: # # 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/LICEN...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
81ef3a1abaf74c63ccf1b403a791df16705a2301
dbaa45978f3392c200f8576a82e7f0ed063b9906
/home/blocks.py
d0968d1a95395de3c61f9843e28b0b6821588e5d
[]
no_license
dentemm/yourin
033d29c6f946bb805f240f4c51bfabf1fa206dca
ec61fe8dfe1397ff1ee2fc76dc45caed529d7aa1
refs/heads/master
2022-12-02T12:59:39.431498
2017-04-27T19:34:29
2017-04-27T19:34:29
71,818,880
0
0
null
2022-11-22T01:29:32
2016-10-24T18:26:14
CSS
UTF-8
Python
false
false
4,082
py
from django import forms from wagtail.wagtailcore import blocks from wagtail.wagtailimages.blocks import ImageChooserBlock from wagtail.wagtailembeds.blocks import EmbedBlock TEXT_ALIGNMENT_CHOICES = ( ('text-left', 'Links'), ('text-right', 'Rechts'), ('text-center', 'Centreer'), ) class CarouselImageBlock(blocks...
[ "tim.claes@me.com" ]
tim.claes@me.com
f41e0c2c87253f5af0e523fec0a04fdcef77d705
00b762e37ecef30ed04698033f719f04be9c5545
/scripts/test_results/scikit-learn_test_results/conflicts/127_mlcomp_sparse_document_classification_conflict.py
8596dabdca286879c364138e4a68ba1148370e77
[]
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
4,171
py
""" ====================================================== Classification of text documents using sparse features ====================================================== This is an example showing how the scikit-learn can be used to classify documents by topics using a bag-of-words approach. This example uses a scipy.s...
[ "srhee4@cs.washington.edu" ]
srhee4@cs.washington.edu
95d44a6fd33c75ebdef986787fe08d50a5f247d3
b1d4a62b60cedaf0b88613b4c9f6e1c37a79ccef
/app/migrations/0002_auto_20200302_1040.py
ce110466c912ca49e91643733bd7b3cf8e61d897
[]
no_license
juned8236/primary_foreign_based_onfront
05ac97730ecdb184c96f44e1c2fb67d40cd521c5
4fc3be613c246a7853b2896a120b924451673124
refs/heads/master
2021-02-07T02:25:18.923855
2020-03-13T03:56:17
2020-03-13T03:56:17
243,972,390
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# Generated by Django 3.0.3 on 2020-03-02 10:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AlterField( model_name='product', ...
[ "juned8236@gmail.com" ]
juned8236@gmail.com
beb525892b9b3398ef96bd78e6412b6090711a55
443aba47108d7b35984a18f8bdf8cf90a98af428
/src/test_sst.py
8823784b674cee5bcaf1c63c022e812bf4b2ce3e
[ "Apache-2.0" ]
permissive
bgshin/mxnet_cnn
947898490d3845a3d4d5b89cbeab8857bb97b730
19ebc13f4990ee29612a479325cf13d3bd9723ec
refs/heads/master
2021-01-19T19:45:42.301126
2017-09-29T18:03:38
2017-09-29T18:03:38
101,208,665
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
# https://faroit.github.io/keras-docs/1.2.2/models/model/#methods import os # os.environ['KERAS_BACKEND']='mxnet' os.environ['KERAS_BACKEND']='tensorflow' from keras.layers import Convolution1D from keras.layers import Dense, Dropout, Flatten, Input, MaxPooling1D, Embedding from keras.layers import merge from keras.mo...
[ "nomolos79@gmail.com" ]
nomolos79@gmail.com
06af8d9c34e3dadaebe4c707aa4f98b6d8c9c7c3
9f9ec8bebfe8b7ac8e60dcaa23153abe976585e6
/dataCommons/reporting/reports/postingQueueSize.py
84e6c0ffdd52f0ac5f0f6934c46737a76bcf1d73
[]
no_license
erikwestra/data-commons
bbf32cd9b4b64ace28bcb049190d8272a23ed891
e3ed33fad104157ff505bb02bc7ae981f8ba3b11
refs/heads/master
2020-04-11T12:03:19.996644
2013-02-14T17:08:24
2013-02-14T17:08:24
8,188,655
1
0
null
null
null
null
UTF-8
Python
false
false
5,775
py
""" dataCommons.reporting.reports.postingQueueSize This module implements the "Posting Queue Size" report for the 3taps Reporting system. """ from django.db.models import * from dataCommons.shared.lib import dateHelpers,reportHelpers from dataCommons.monitoringAPI.models import * ###########################...
[ "ewestra@gmail.com" ]
ewestra@gmail.com
7c745e331a254a56767884ec5b62a8ad36581097
aba9b00edec394f1389a7ecf88a290112303414d
/energetyka/inżynieria_materiałowa/lab/06/polprzewodnik.py
b090e4821c75dec9e3f3bfa8e5f885a841a9095b
[]
no_license
torgiren/szkola
2aca12807f0030f8e2ae2dfcb808bf7cae5e2e27
5ed18bed273ab25b8e52a488e28af239b8beb89c
refs/heads/master
2020-12-25T18:18:36.317496
2014-04-27T23:43:21
2014-04-27T23:43:21
3,892,030
1
1
null
null
null
null
UTF-8
Python
false
false
245
py
#!/usr/bin/env python import math f=open("data2.dat","r") while True: line=f.readline() if not line: break; line=line.split() print 1.0/(float(line[0])+273), print math.log((0.0004*1000*float(line[1])/(0.00000016*float(line[2]))),math.e)
[ "torgiren@gmail.com" ]
torgiren@gmail.com
7238271ba0141772838ea30adbcf8d57f5070af2
c91eac635507950941003dd79a494a95cd39dc77
/test/data_formater/test_ttf_stage_parameters.py
775a2212fc596871b1b9b7604ff84a3adccd31a4
[]
no_license
GabrielPenaU3F/confiabilidad-software
29b064cc9f866c06833cf6afc0bc424fd20619c6
c57572ec3f9fba01331718d892d94d720cc5d04d
refs/heads/master
2023-03-19T01:47:40.939503
2021-03-17T02:03:39
2021-03-17T02:03:39
193,144,043
0
0
null
null
null
null
UTF-8
Python
false
false
2,330
py
import unittest from src.data.data_formater import TTFDataFormater from src.data.data_repository import DataRepository class TestTTFStageParameters(unittest.TestCase): ntds_data = None ttf_formater = None @classmethod def setUpClass(cls): cls.ntds_data = DataRepository.provide_project_data(...
[ "gpena@untref.edu.ar" ]
gpena@untref.edu.ar
2722bfbf80756d42355e953b07dc2b3411eb23a4
244ecfc2017a48c70b74556be8c188e7a4815848
/res_bw/scripts/common/lib/plat-irix5/in.py
81f04b7f3125011fcdad536e53c891298a4c1d7b
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,280
py
# 2015.11.18 12:05:35 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/plat-irix5/IN.py from warnings import warnpy3k warnpy3k('the IN module has been removed in Python 3.0', stacklevel=2) del warnpy3k LITTLE_ENDIAN = 1234 BIG_ENDIAN = 4321 PDP_ENDIAN = 3412 BYTE_ORDER = BIG_ENDIAN BYTE_ORDER = LITTL...
[ "info@webium.sk" ]
info@webium.sk
536183f4949f6e92e8c56105ea1e5dfe526556a9
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/5af1e40a97664eb786adf47ea78a5857.py
e3c48f698e30288abe8547792608b7366661c877
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
400
py
""" Write a program that given a phrase can count the occurrences of each word in that phrase. For example for the input `"olly olly in come free"` plain olly: 2 in: 1 come: 1 free: 1 """ from collections import defaultdict def word_count(phrase): dictionary = defaultdict(int) words = phrase.split() ...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
4a474bffc05946755f60e75c53115e83ec96ac48
57caf9e323d5771c6463bb67a7e1a774f5315e5b
/setup.py
9cdd5dcfa36969a58547e0f10e3d4a660b6ad322
[ "Apache-2.0" ]
permissive
geziaka/rater
5de97851d4207f03f996324b99b8fdc5881306e9
8437dea8baf0137ab3c07dd19c5f2bb8c15b4435
refs/heads/master
2022-12-06T00:33:33.867132
2020-09-01T15:04:37
2020-09-01T15:04:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
# -*- coding: utf-8 -*- from __future__ import print_function import sys from setuptools import setup, find_packages import rater if sys.version_info < (3,): sys.exit('Sorry, Python3 is required.') with open('README.md', 'r', encoding='utf-8') as f: readme = f.read() with open('LICENSE', 'r', encoding='u...
[ "xuming624@qq.com" ]
xuming624@qq.com
6a0effe99eed37ac3ee489761699b67ae14ef643
4aae2df13bfd53a8b16aa5f941f2cc8b8ac144b7
/torch/utils/data/_utils/collate.py
e520de6ebee91da435f8e8cb8bab02ebc24f851b
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
computerguy2030/pytorch-rocm-amd
e9f2718c470b505325d396baf6513e71bcf0a7ca
38da53d721fcb335dedb1b52f14fd89718e90bef
refs/heads/master
2023-04-08T00:55:01.542663
2021-04-16T11:33:39
2021-04-16T11:33:39
334,288,140
3
0
NOASSERTION
2021-04-16T11:27:55
2021-01-29T23:40:06
C++
UTF-8
Python
false
false
3,656
py
r""""Contains definitions of the methods used by the _BaseDataLoaderIter workers to collate samples fetched from dataset into Tensor(s). These **needs** to be in global scope since Py2 doesn't support serializing static methods. """ import torch import re import collections from torch._six import string_classes np_s...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
b1d34706132b3d17ed479db76bad66ce56f1572b
29c58b3bec6ac0fcdb3070efc118600ee92004da
/mailslurp_client/models/domain_issues_dto.py
308f604c368d5fc913ec8fb9b4289513ad448937
[ "MIT" ]
permissive
mailslurp/mailslurp-client-python
a2b5a0545206714bd4462ae517f242852b52aaf9
5c9a7cfdd5ea8bf671928023e7263847353d92c4
refs/heads/master
2023-06-23T00:41:36.257212
2023-06-14T10:10:14
2023-06-14T10:10:14
204,662,133
8
0
null
null
null
null
UTF-8
Python
false
false
3,963
py
# coding: utf-8 """ MailSlurp API MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://ww...
[ "contact@mailslurp.dev" ]
contact@mailslurp.dev
5c7885d88d61fdcccf6ec615cce6cc965ff9f688
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnncx.py
17976d8f9057feb480af89c03ad232ada8404698
[]
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
141
py
ii = [('LeakWTI2.py', 1), ('WilkJMC2.py', 1), ('TalfTIT.py', 1), ('LeakWTI.py', 1), ('MereHHB.py', 1), ('SomeMMH.py', 20), ('BrewDTO.py', 2)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
5bfd5f3f684821bf71868a10ddb26ba44701fba3
4acc08d2c165b5d88119df6bb4081bcfaca684f7
/python_program/NCR_NPR_find_value.py
5610825ece1676d469f61a64ce35330106ab9c4e
[]
no_license
xiaotuzixuedaima/PythonProgramDucat
9059648f070db7304f9aaa45657c8d3df75f3cc2
90c6947e6dfa8ebb6c8758735960379a81d88ae3
refs/heads/master
2022-01-16T04:13:17.849130
2019-02-22T15:43:18
2019-02-22T15:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# Python Find ncR & nPr ???? n = int(input("enter the nth term : " )) r = int(input("enter the rth term : " )) t = n - r fact = 1 while n > 0: fact = fact * n n = n - 1 n_fact = fact # print("n th term of fact value : ",n_fact) fact1 = 1 while r > 0: fact1 = fact1 * r r = r - 1 r_fact = fact1 # print("r th t...
[ "ss7838094755@gmail.com" ]
ss7838094755@gmail.com
144255196241663945336ba45beadedc72c62646
3dd43ff0dab514a39f611487ab421256b3b5b13b
/scripts/client/gui/Scaleform/daapi/view/meta/ClanSearchWindowMeta.py
e2816eaaf99fd1ffd00a31c5816c417a46e1f342
[]
no_license
kusaku/wotscripts
04ab289e3fec134e290355ecf81cf703af189f72
a89c2f825d3c7dade7bc5163a6c04e7f5bab587d
refs/heads/master
2023-08-20T00:17:36.852522
2018-02-26T14:53:44
2018-02-26T14:53:44
80,610,354
1
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/ClanSearchWindowMeta.py """ This file was generated using the wgpygen. Please, don't edit this file manually. """ from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class ClanSearchWindowMeta(AbstractWindowView)...
[ "kirill.a@aggrostudios.com" ]
kirill.a@aggrostudios.com
fbee6131b5c27c16de1bb92dab4b0dbd13d43aef
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v4/googleads-py/tests/unit/gapic/googleads.v4/services/test_topic_constant_service.py
13358a59a4b724a7d623ec984941bbeb263d41da
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,849
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
e65a195d861dbd5a95fad58ad3981875fc4713b5
86335a0ba622ffc1ef9392fa45190123599c92de
/ecpy_pulses/infos.py
d37602a9eb241dc1d80c8259df0bc937201c0482
[ "BSD-3-Clause" ]
permissive
PhilipVinc/ecpy_pulses
4e75d2fc4a977ec1f80761609412b453451f967d
3ca72e5739e36ac203381ca6ed46a5b18184bd7c
refs/heads/master
2021-01-17T22:27:44.395230
2016-06-08T16:16:59
2016-06-08T16:16:59
51,396,985
1
0
null
2016-02-09T20:23:16
2016-02-09T20:23:15
Python
UTF-8
Python
false
false
3,162
py
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright 2015 by Ecpy Authors, see AUTHORS for more details. # # Distributed under the terms of the BSD license. # # The full license is in the file LICENCE, distributed with this software. # ---------------------...
[ "filippovicentini@gmail.com" ]
filippovicentini@gmail.com
2ccdbae7171dde011530efd66c5e27234901063d
d1aa9dc649209d2172c01f19f5121261fb5d6e9e
/Monitoring/Monitor/Monitor/Monitor_process.py
44d11a5abccb11b471d11af3a6b449ed6d0003cd
[]
no_license
Alexanderklau/Amusing_python
484e97806bc45ecbe0220f899723fa091a0f088b
9ce288eac7eeabb0e21f62936b6eb5ac2a0c934e
refs/heads/master
2021-12-27T03:33:37.535288
2021-12-20T08:00:11
2021-12-20T08:00:11
107,672,208
45
11
null
null
null
null
UTF-8
Python
false
false
1,174
py
# coding: utf-8 __author__ = 'lau.wenbo' """ 监控分为持续监控和自定义监控 持续监控会每60s统计出占比前十的进程,不停的将其打入日志 自定义监控可以自定监控的频率,监控指定进程,打印所需要的数据 例如固定进程的CPU,内存,线程占用等 """ import sys sys.path.append("..") from Check import check_cpu, check_memory, check_process, check_threading from Log import monitor_log import getopt import json import time ...
[ "429095816@qq.com" ]
429095816@qq.com
d36e70a597876d7138fd5080d2710fbd0b07c764
3d7039903da398ae128e43c7d8c9662fda77fbdf
/database/Vue.js/juejin_1573.py
1e88def985b6e162a4a4fd1d2942a6a64c47e394
[]
no_license
ChenYongChang1/spider_study
a9aa22e6ed986193bf546bb567712876c7be5e15
fe5fbc1a5562ff19c70351303997d3df3af690db
refs/heads/master
2023-08-05T10:43:11.019178
2021-09-18T01:30:22
2021-09-18T01:30:22
406,727,214
0
0
null
null
null
null
UTF-8
Python
false
false
66,303
py
{"err_no": 0, "err_msg": "success", "data": [{"article_id": "6947326788917952520", "article_info": {"article_id": "6947326788917952520", "user_id": "1380642337065421", "category_id": "6809637767543259144", "tag_ids": [6809640369764958215], "visible_level": 0, "link_url": "", "cover_image": "", "is_gfw": 0, "title": "提升...
[ "www.1759633997@qq.com" ]
www.1759633997@qq.com
ed39fe3c9346697d2fd9e046484b54ce38a345b5
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R1/benchmark/startQiskit142.py
bcf544e34e2f6180c27c19e7ab373d5da0db3295
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,447
py
# qubit number=3 # total number=12 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collectio...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
d34bbc0300e2610300bf3f8097c18d4608516f1f
94bd78e63de94859eb076e52683f73f6ea91eae3
/199.py
93d67efac4b025be260275ea48441696363cd9de
[]
no_license
MadSkittles/leetcode
70598c1c861a8ff5d2f7c921a311307d55770acc
817bbb73dfe095b9c9358dc459ba6605a2a9a256
refs/heads/master
2021-11-30T04:56:02.432749
2021-11-12T03:28:47
2021-11-12T03:28:47
123,558,601
2
1
null
null
null
null
UTF-8
Python
false
false
1,026
py
class Solution: def rightSideView(self, root): if not root: return [] from queue import Queue q, m = Queue(), {} q.put((root, 0)) while not q.empty(): node, floor = q.get() m[floor] = node.val if node.left: q.pu...
[ "likanwen@icloud.com" ]
likanwen@icloud.com
03005788a36d01937289261a7e288f6883d64b8a
bd8400dae9bf43922d043c22999dcfdea08b3797
/5 Matplotlib/51.scatter_plot.py
7feeea8712ca3fe366dd650f48d5411a11831a7a
[]
no_license
srikeshnagoji/Python_Fundamental_DataScience
dfc3bd5003a3bc357f8b08f0084cb5b2fc766bda
3982cce2b69bed7128aeb7ce8adbd22f71890fcf
refs/heads/master
2020-07-04T20:12:38.779942
2019-08-14T04:36:53
2019-08-14T04:36:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5, 6, 7, 8, 9] y = [5, 3, 6, 1, 7, 9, 3, 3, 2] plt.scatter(x, y, label='Tes', color='k', marker='*', s=200) # plt.plot(x,y,'*') # marker = '*' 'x' 'o' baca docs plt.title('Tes Plotting Data\nby Lintang Wisesa') plt.xlabel('Nilai x') plt.ylabel('Nilai y') # plt.legend...
[ "lintangwisesa@ymail.com" ]
lintangwisesa@ymail.com
b7ef1fb30f414e36f09eb45f57a68beaea974a31
18239524612cf572bfeaa3e001a3f5d1b872690c
/clients/keto/python/test/test_remove_ory_access_control_policy_role_members.py
6b90ab385d91bf24e7c7509df87b9ae9bddd4327
[ "Apache-2.0" ]
permissive
simoneromano96/sdk
2d7af9425dabc30df830a09b26841fb2e8781bf8
a6113d0daefbbb803790297e4b242d4c7cbbcb22
refs/heads/master
2023-05-09T13:50:45.485951
2021-05-28T12:18:27
2021-05-28T12:18:27
371,689,133
0
0
Apache-2.0
2021-05-28T12:11:41
2021-05-28T12:11:40
null
UTF-8
Python
false
false
1,208
py
# coding: utf-8 """ ORY Keto A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. # noqa: E501 The version of the OpenAPI document: v0.0.0-alpha.1 Contact: hi@ory.sh Generated by: https://openapi-generator...
[ "noreply@github.com" ]
simoneromano96.noreply@github.com
0b17e6a5303ffe9a2c6a6cdd3cb22ae5d6303f11
8ffcf5ce3f3861300f5ca6ba355600c1c65a9ede
/release/scripts/mgear/shifter_classic_components/chain_FK_spline_02/guide.py
ad2ead23257d2a7401ca5a26401e2542bc140b80
[ "MIT" ]
permissive
mottosso/mgear4
a5db6d712e07fcec607aa877576e7beee6b8b45e
e84362aa86e2049cf160dc516e023070e3071e53
refs/heads/master
2023-05-23T20:47:46.761469
2021-06-09T00:13:39
2021-06-09T00:13:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,973
py
"""Guide chain FK spline 01 module""" from functools import partial from mgear.shifter.component import guide from mgear.core import pyqt from mgear.vendor.Qt import QtWidgets, QtCore from maya.app.general.mayaMixin import MayaQWidgetDockableMixin from maya.app.general.mayaMixin import MayaQDockWidget from . import...
[ "miquel.campos@gmail.com" ]
miquel.campos@gmail.com
f1d583cd5a8a3a870e8664adc5fb87da3b4769f1
24cf6992d9c9b8523a0a7d3a7a45e701cd49fce3
/djangotest/base/migrations/0017_auto_20200901_1402.py
da6b531e64b9f8dfb91ac1b8f9d08a3dd8c75441
[]
no_license
yannickkiki/stuffs
f4e150a61eb0426791753f5da558dba09940d240
d46e1ec56eb4f0f3486e72ffce5c7bba7f2a1796
refs/heads/master
2023-08-10T20:05:38.255427
2021-10-04T05:38:39
2021-10-04T05:38:39
353,716,213
2
0
null
null
null
null
UTF-8
Python
false
false
1,185
py
# Generated by Django 2.2.11 on 2020-09-01 14:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('base', '0016_auto_20200901_1233'), ] operations = [ migrations.RemoveField( model_name='foxxdi...
[ "seyive.kiki@gmail.com" ]
seyive.kiki@gmail.com
5dea6c310618ced92764a30c813fc80187d1ff6d
aee144770c8f4ec5987777aebe5b064e558fc474
/doc/integrations/pytorch/projects/wizard_of_wikipedia/wizard_transformer_ranker/wizard_dict.py
3765563494288bbf158bfd857c651ffd0d48e010
[ "CC-BY-SA-3.0", "Apache-2.0", "AGPL-3.0-only", "MIT" ]
permissive
adgang/cortx
1d8e6314643baae0e6ee93d4136013840ead9f3b
a73e1476833fa3b281124d2cb9231ee0ca89278d
refs/heads/main
2023-04-22T04:54:43.836690
2021-05-11T00:39:34
2021-05-11T00:39:34
361,394,462
1
0
Apache-2.0
2021-04-25T10:12:59
2021-04-25T10:12:59
null
UTF-8
Python
false
false
3,299
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from parlai.core.build_data import modelzoo_path from parlai.core.dict import DictionaryAgent from collections i...
[ "noreply@github.com" ]
adgang.noreply@github.com