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
e6a26112e2adcdd8c8bd1d607f169f886bc3ad92
23db36a9e19a48aa660444dfc32d50ebc6c88a42
/telepot/aio/routing.py
a1af9cab85b984ad64fff740994f5956ff30332a
[ "MIT" ]
permissive
cpcchengt/telepot
fab206ce6ea4149e0dce9619adc9075b59c06a66
eb2050fbb36b142a9746533e738322d0cc0d4631
refs/heads/master
2023-06-20T02:35:36.644708
2021-07-21T02:55:44
2021-07-21T02:55:44
384,059,417
2
0
MIT
2021-07-08T08:44:57
2021-07-08T08:44:57
null
UTF-8
Python
false
false
1,548
py
from .helper import _create_invoker from .. import all_content_types # Mirror traditional version to avoid having to import one more module from ..routing import ( by_content_type, by_command, by_chat_command, by_text, by_data, by_regex, process_key, lower_key, upper_key ) def make_routing_table(obj, keys, pr...
[ "lee1nick@yahoo.ca" ]
lee1nick@yahoo.ca
1d6145ace1f3f496e23359dcbea16b4af47a0d0f
accc9921ffb9761cd235e40aefdaa577047ec01a
/GUIScripts/Video Encryption Decryption/video_encryption_decryption.py
17a091863a60b161b8706ebfc451bd396b1984a7
[ "MIT" ]
permissive
whyadiwhy/Awesome_Python_Scripts
0c43dbdef66ec33407c7abe7ab5bae9ea8b4c67e
fe6300d53b465e1f902c183491808771cf1b2db0
refs/heads/main
2023-07-12T20:56:13.995877
2021-08-29T12:20:58
2021-08-29T12:20:58
400,765,524
6
0
MIT
2021-08-28T10:33:33
2021-08-28T10:33:33
null
UTF-8
Python
false
false
7,625
py
# Video Encryption Decryption # imported necessary library import tkinter from tkinter import * import tkinter as tk import tkinter.messagebox as mbox from tkinter import ttk from tkinter import filedialog from PIL import ImageTk, Image import cv2 import numpy as np import random import os from cv2 import * from movi...
[ "aakashrajak02@gmail.com" ]
aakashrajak02@gmail.com
262809c2de89596be475713c5ca5cc4014d64c65
c762ab8c1c25ffa97229a62ff43a33543093f963
/venv/lib/python3.7/site-packages/examples/advanced/xpress_example.py
1f93d96230139804e2e24a6ea340284d4d1ad2e5
[ "Apache-2.0" ]
permissive
nahyunkwon/multi-ttach
e68948d66541e85b764216efc54a82f6fc9ac044
971d0d93cc39f295deb23ea71146647f6db50ebc
refs/heads/master
2023-08-09T18:25:31.658950
2023-07-24T17:46:04
2023-07-24T17:46:04
297,783,964
0
1
Apache-2.0
2021-04-07T07:46:24
2020-09-22T22:08:53
G-code
UTF-8
Python
false
false
3,216
py
# The following shows how to use extended features of the Xpress-CVXPY # interface. These features have the purpose of making available some # of Xpress' capabilities to the CVXPY user, such as the Xpress # problem itself, its attributes, and, if the problem is infeasible, # its Irreducible Infeasible Subsystems (IISs)...
[ "skgus2624@gmail.com" ]
skgus2624@gmail.com
2cc03498bf10e30c4983c2c3df9ebca5dc671836
804d40b874e2eb1f2e9f3f3f124d507bf2b517f1
/env/Lib/site-packages/sqlalchemy/orm/dynamic.py
2790ba50777cbbd9fdc2bbab4fd50f5c56992551
[]
no_license
Nestor-Leyva/api-flask
86d5d3053e62767813aeacea5f30cc6a355320d0
55675a02fd79263518b0dfc731a2b4a2be50bd0d
refs/heads/main
2023-08-21T03:00:18.740097
2021-10-04T19:25:38
2021-10-04T19:25:38
413,517,941
0
0
null
null
null
null
UTF-8
Python
false
false
15,117
py
# orm/dynamic.py # Copyright (C) 2005-2021 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Dynamic collection API. Dynamic collections act like Query() objects for...
[ "noreply@github.com" ]
Nestor-Leyva.noreply@github.com
edc7b524652ab6c5b659b73bf84a47958c1d87ef
aa0270b351402e421631ebc8b51e528448302fab
/sdk/network/azure-mgmt-network/generated_samples/virtual_network_gateways_disconnect_p2s_vpn_connections.py
e041969510dbaddd1bff35f5bc7276e0de63f639
[ "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,749
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
444f2f5b440c5155d868aff3ff0f2e634a900531
0c7fb9f937fa81395a6b0518811e91361e838b03
/openpyxl/drawing/tests/test_image_reader.py
63615b7fcf91ac5e11374183d7e40ab3f448b3ee
[ "BSD-3-Clause" ]
permissive
Solly64/py4e-data
f04a76a643f345cf3b23bd54fccc7a153df784d5
e40378ae7d68b39be472cae01aa3bfeb87adbe45
refs/heads/master
2020-07-03T08:31:28.291269
2019-08-12T03:41:20
2019-08-12T03:41:20
201,852,353
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
from __future__ import absolute_import # Copyright (c) 2010-2018 openpyxl from zipfile import ZipFile def test_read_drawing(datadir): datadir.chdir() archive = ZipFile("sample_with_images.xlsx") path = "xl/drawings/drawing1.xml" from ..image_reader import find_images images = find_images(archiv...
[ "git@github.com:Solly64/datasciencecoursera.git" ]
git@github.com:Solly64/datasciencecoursera.git
784fd019756fecd419a33167c1429bd3ea99c282
dd6cf539f20a0143acbdda1ed3f64b18b08a29b5
/whiteList_v5/Config/2019第二季度脚本_暂停开发转为西南8省脚本开发/config_cnair.py
a3891b1403d9cb4198ed8c740a6b9e2241f3f82b
[ "MIT" ]
permissive
myirelias/white_list
eec6a900cc3eea0f227425327ab55a6b46ba873d
2bf344d2dc8f5cb3afbde71e248c019651ee3a7a
refs/heads/master
2020-04-15T11:10:44.850942
2019-11-05T01:51:41
2019-11-05T01:51:41
164,618,155
0
1
null
null
null
null
UTF-8
Python
false
false
1,530
py
# 中国航空旅游网 TASK_NAME = 'cnair' # 起始URL START_URL = 'http://www.cnair.com/' # 控制域,必须为list格式 DOMAIN = ['cnair'] # 请求头 HEADERS = { 'Host': 'www.cnair.com', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0', 'Accept': 'text/html,application/xhtml+xml,application/xml...
[ "myIrelia@aliyun.com" ]
myIrelia@aliyun.com
06d655075477b573b632a692986d6ab263b85f81
75e6c113fd664419b0c78ff36e95e33024f66052
/notebooks/2015-04-24 Autocorrelation.py
9001bac4cafb7ea2fd5ecdab88c0d7acf4161cf6
[ "ISC" ]
permissive
gitter-badger/pyciss
dee576c60a88e5e922970f765350c8215bd67948
a287868737d1d522f169341fd38e42e7ef668394
refs/heads/master
2021-01-15T20:57:26.913185
2016-05-08T20:50:56
2016-05-08T20:50:56
58,331,190
0
0
null
2016-05-08T21:01:37
2016-05-08T21:01:36
null
UTF-8
Python
false
false
2,708
py
# coding: utf-8 # In[2]: from pyciss import io import gdal plt.rcParams['image.interpolation'] = 'none' get_ipython().magic('matplotlib notebook') import seaborn as sns sns.set_context('talk') sns.set_style('white') # In[3]: import glob # In[4]: s = pd.Series(glob.glob('/cassini_ringsdata/opus/N*/*.map.dst.cal...
[ "kmichael.aye@gmail.com" ]
kmichael.aye@gmail.com
a76ec0d8cd94e367d298b4882623969d8612740b
e23a4f57ce5474d468258e5e63b9e23fb6011188
/temp/095_os_and_sys/github/npath/src/npath/Directory.py
ea3a3dd0ebca07e42e661b101f7eb594b3e7fd8d
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,045
py
# ____ .P.. ______ P.. # # ____ .F.. ______ F.. # # c_ Directory F.. # # # ?? # ___ is_file # r_ F.. # # # ?? # ___ is_dir # r_ T.. # # # ?? # ___ parent # r_ F.. ? # # # ?? # ___ files # ___ path __ ? # y.. F.. ? # # # ?? # ___ dirs # ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
3bed51eea5a4cdb8deadacd39abb8faaabbd252b
8ccde00021aeec77b3c993b1de80f968ed325ce3
/lesson_10_last_kd.py
73875923b6473ab9d8a8dc05955c820d4f91f671
[]
no_license
zhilingyuan/machine_learning
d4b43b77f33fa965b4e9066220bbd20b3aa442b2
a105e08c4b03b2fa6f1b1df64b27f5da0e4830a3
refs/heads/master
2021-09-10T14:47:22.908785
2018-03-28T02:12:40
2018-03-28T02:12:40
111,877,612
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
import matplotlib.pyplot as plt import tensorflow as tf from tensorflow.python.framework import ops ops.reset_default_graph() # Open interactive graph session sess = tf.Session() # Discrete Lotka-Volterra predator/prey equations # # X(t+1) = X(t) + (aX(t) + bX(t)Y(t)) * t_delta # Prey # # Y(t+1) = Y(t) + (cY(t) + dX(...
[ "33947979+pixiaoyuan@users.noreply.github.com" ]
33947979+pixiaoyuan@users.noreply.github.com
408fb9672f24a5a7295dc5da08c3ef913710ef42
d32c0f5a81e2c0f32289edef261ca5171282db7b
/questions/list_and_recursion/num_matrix_traversals.py
59c87609f34708cf5eafc052897a3fa17b14b6c7
[]
no_license
mpettersson/PythonReview
5a9c863a298855d4949fb06c52e31c8a114736c3
14be619208dfffeafcab1a6ba5c3ff0b1e31c0b5
refs/heads/master
2022-03-05T00:18:42.397061
2022-02-19T15:15:35
2022-02-19T15:15:35
233,277,588
0
0
null
null
null
null
UTF-8
Python
false
false
4,131
py
""" NUMBER OF MATRIX TRAVERSALS (EPI 17.3: COUNT THE NUMBER OF WAYS TO TRAVERSE A 2D ARRAY) Write a function which accepts the number of rows and columns of a matrix, then returns the number of traversal paths from the top left to the bottom right of the matrix, where moves can either be down or right. ...
[ "matt@mpettersson.com" ]
matt@mpettersson.com
dddebf0ebfc8f4ed1c56f9bddccdec590a927419
463c053bcf3f4a7337b634890720ea9467f14c87
/python/ray/train/examples/mlflow_fashion_mnist_example.py
05f915523543b97b75e80a68f032548e81083d4b
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
pdames/ray
e8faddc4440976211a6bcead8f8b6e62c1dcda01
918d3601c6519d333f10910dc75eb549cbb82afa
refs/heads/master
2023-01-23T06:11:11.723212
2022-05-06T22:55:59
2022-05-06T22:55:59
245,515,407
1
1
Apache-2.0
2023-01-14T08:02:21
2020-03-06T20:59:04
Python
UTF-8
Python
false
false
1,479
py
import argparse from ray.train import Trainer from ray.train.examples.train_fashion_mnist_example import train_func from ray.train.callbacks.logging import MLflowLoggerCallback def main(num_workers=2, use_gpu=False): trainer = Trainer(backend="torch", num_workers=num_workers, use_gpu=use_gpu) trainer.start()...
[ "noreply@github.com" ]
pdames.noreply@github.com
cdc554532b0268ba347dd404ab6be5ecdb6ccf36
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/igungor/2011/devel/hardware/powermanagement/powertop/actions.py
34069bdbd053ec94d6aa5463bb057afd45c983f7
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2008-2011 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get de...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
6c165e171a29048116ebf5152b8dafa78513a76b
0bd4bcfc0b8aa6880e8cb4bcc81c79aba4211fb8
/tests/share/harvesters/test_oai.py
c01a07f8cb886eab61f31adf0a4fa37d4b415c68
[ "Apache-2.0" ]
permissive
peteratfrankl/SHARE
047724a3007d322409297893aae8b5ef46aff394
ceff848764e51df44fef55d91e7f37c2b71369f2
refs/heads/master
2021-04-29T12:03:58.286495
2018-02-12T22:03:05
2018-02-12T22:03:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,432
py
import pytest from unittest import mock from lxml import etree from share.harvesters.oai import OAIHarvester from tests import factories @pytest.mark.django_db class TestOAIHarvester: OAI_DC_RECORD = etree.fromstring(''' <record xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns...
[ "chriskseto@gmail.com" ]
chriskseto@gmail.com
9067a97d0427b2accff0fb35492a2dd4771af0ac
1bd14e051251d08393731c03ccfb37a324227e1c
/troposphere_mate/core/code.py
f16a1b29582c11176868e9ca53d346d49b7b2cd4
[ "MIT" ]
permissive
tsuttsu305/troposphere_mate-project
f04bb6a3d137be3e265652c626008edfbb670b55
15ee94cc913efb32bc991979efcad943c992074c
refs/heads/master
2023-06-07T15:07:47.041944
2021-07-05T02:02:00
2021-07-05T02:02:00
285,152,616
0
0
MIT
2020-08-05T02:08:01
2020-08-05T02:08:00
null
UTF-8
Python
false
false
3,788
py
# -*- coding: utf-8 -*- try: import typing except: pass import json from collections import OrderedDict from troposphere import kinesisanalyticsv2, glue, AWSObject, AWSProperty def get_schema(resource): # if _schema is None: _schema = OrderedDict() for prop_name, (prop_type, required) in resource...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
ad589a1b7e17ba5885d5857fc02d6a775522761d
1ff9b6d2402ed968b642d3c719d1311d4b46353a
/Functions/global_keywords.py
68a1a3495d66102688ec71446ee2ec71eb43f486
[]
no_license
Gyanesh-Mahto/Practice-Python
9abcadcf9247bbe9d2082681271d47a00e6add49
4dcfb6b47314d8e61a5ec1e99d18c80da9a2dcb0
refs/heads/master
2023-02-13T03:40:04.833073
2021-01-09T18:19:26
2021-01-09T18:19:26
273,037,932
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
a = 10 def f1(): a = 777 print(a) def f2(): print(a) f1() f2() ''' O/P: 777 10 ''' #########################################################################33 a = 10 def f3(): global a a = 777 print(a) def f4(): print(a) f3() f4() ''' O/P: 777 777 '''
[ "noreply@github.com" ]
Gyanesh-Mahto.noreply@github.com
ff0645086c6dd2b04bff4de11c1e1affd3f7568e
90404932585470244db7dae7fc0119c6ac4c296e
/Solutions/list-1/middle_way.py
4f06a076c2d2c4b1c416cd8fde975c4f8c41a771
[]
no_license
Zahidsqldba07/codingbat-programming-problems-python
e2b3d654d39a0f6d2c8c8e02ada99dd91ecb1432
6cd2b4c33c5db7058131f7d249a849725c641f0e
refs/heads/master
2023-03-16T08:40:24.433187
2018-06-15T19:23:48
2018-06-15T19:23:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
# Given 2 int arrays, a and b, each length 3, return a new # array length 2 containing their middle elements. # middle_way([1, 2, 3], [4, 5, 6]) → [2, 5] # middle_way([7, 7, 7], [3, 8, 0]) → [7, 8] # middle_way([5, 2, 9], [1, 4, 5]) → [2, 4] def middle_way(a, b): return [a[1], b[1]]
[ "saurabhmithe@gmail.com" ]
saurabhmithe@gmail.com
52c9a8ec302bb085d9c2c4d67073f09924d36d09
7441c1b65384e388dd296b3aa40b490cf5863ef9
/ml/graph/lr/__init__.py
89401f99b5399ffb381af5784e4b40d62bdfee78
[ "MIT" ]
permissive
vivek3141/ml
a4c2599fc55df5621f59abb214cf0d95ece88b3f
2dc8c7bef934bd0e1bf44f00659d6cfb2c8c9529
refs/heads/master
2023-03-31T19:59:23.221212
2020-02-06T17:26:25
2020-02-06T17:26:25
145,070,465
23
7
MIT
2023-03-24T23:41:43
2018-08-17T04:08:26
Python
UTF-8
Python
false
false
32
py
from ml.graph.lr.graph import *
[ "vivnps.verma@gmail.com" ]
vivnps.verma@gmail.com
0be58053a2f568c6a1dd8836570cf36609e6f759
af66dcd669e498d55bf022bf6c029801bed0e70d
/minecrafttext.py
d95797d4f6e227e07cee16708cb6e60c47fa60a1
[ "MIT" ]
permissive
rnnrght/minecraft-autismawarenessday
33bd7a7acceb5664e0622fba4731bd0b2ffa11cc
01eed9ac320e5d0f09706e4e5c5f39245f539b25
refs/heads/master
2021-01-22T10:08:37.333429
2015-04-02T00:21:12
2015-04-02T00:21:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,108
py
#www.stuffaboutcode.com #import the minecraft.py module import mcpi.minecraft as minecraft #import minecraft block module import mcpi.block as block #import time, so delays can be used import time #Letters used in the program, hashes are turned into blocks letters = {"a": "###" + "\n" + "# #" + "\n" + "###" + "\n" ...
[ "martin@ohanlonweb.com" ]
martin@ohanlonweb.com
df81538b1438e583a6dc49c2f0c75480f757b44d
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/49000041.py
df825b6a36b62e8bc8133aea6bd2e09922d74b37
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
2,345
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/49000041.py generated: Fri, 27 Mar 2015 16:10:18 # # Event Type: 49000041 # # ASCII decay Descriptor: pp -> (c-jet + c-jet) ... # from Configurables import Generation Generation().EventType = 49000041 Generation().SampleGenerationTool = "Special" from Con...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
87c92a4821488230a713478c769343e969b42c72
e51b99514bd9b12c7cde4128549aa0206e0391f3
/153 findMin.py
b010609ca0622b1631e5a2a99cc77d52a2cf4852
[]
no_license
ABenxj/leetcode
5f65d2a90f79a32c8d9387bb6c4a655061d004cd
f2c162654a83c51495ebd161f42a1d0b69caf72d
refs/heads/main
2023-05-14T11:55:28.180609
2021-06-08T01:11:54
2021-06-08T01:11:54
347,963,922
1
0
null
null
null
null
UTF-8
Python
false
false
564
py
#!/usr/bin/env pyhton # -*- coding: utf-8 -*- # # Copyright (c) 2021 , Inc. All Rights Reserved # """ Authors: jufei Date: 2021/5/27 8:04 上午 """ from typing import List class Solution: def findMin(self, nums: List[int]) -> int: """ 二分查找,注意临界条件 :param nums: :return: """ ...
[ "jufei@wecash.net" ]
jufei@wecash.net
81bd73c31e60e951fd1dee71983a7a1fb15319a6
c0392384474bd04c196aa9bc149377f45e0cd840
/pint/testsuite/test_pitheorem.py
3f5a2a10cc86ae1c53340b003f780277639cf548
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
itmeson/pint
514a1be55769da5f9c1eb648c0217bc43d5b5d2e
e215db7b28bc67e5cd126f8734cdcb8bddc2a4e0
refs/heads/master
2021-01-21T08:51:15.657397
2014-03-29T15:02:15
2014-03-29T15:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
# -*- coding: utf-8 -*- from __future__ import division, unicode_literals, print_function, absolute_import import itertools from pint import pi_theorem from pint.testsuite import TestCase class TestPiTheorem(TestCase): FORCE_NDARRAY = False def test_simple(self): # simple movement self....
[ "hernan.grecco@gmail.com" ]
hernan.grecco@gmail.com
b45cb1e3dc27ec4c23ea70afb661d64929f39f4a
ee7e24cbe6a03035fc14de5357aeb4fe00aee6a7
/listtest/gvcf/test_allele.py
3f8022d477ab45ac5a0e512ff8c29d1e85020756
[]
no_license
ak352/luhmes
31f0ea8945dbaab75fd6c98eabe4b937c4fb11e1
348b977a593d8060fc139167a227d54348b55a9b
refs/heads/master
2016-09-06T06:13:32.154657
2015-07-15T16:00:15
2015-07-15T16:00:15
39,146,300
0
0
null
null
null
null
UTF-8
Python
false
false
3,330
py
import sys from collections import Counter, defaultdict def process(buf, counter): vartype = buf[0].split("\t")[4] genotype = None has_nn = False has_ref = False if vartype in ["snp", "ins", "del"] or True: """ Check if any of the overlapping variants is a SNV """ for var in buf: ...
[ "ak@uni.fake" ]
ak@uni.fake
96656a8be38b9f57b0d47e6b3e1e758bdf89f976
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/485e06be1ae51b3a0f68fd1f4c3c27ec630340f1urls.py
485e06be1ae51b3a0f68fd1f4c3c27ec630340f1
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
933
py
from django.conf.urls import patterns, url, include from servicerating import api from tastypie.api import Api # Setting the API base name and registering the API resources using # Tastypies API function api_resources = Api(api_name='v1/servicerating') api_resources.register(api.ContactResource()) api_resources.regis...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
1e0d3292588b0adf36b6395eb245a7e4e82dbd4f
c2859beb6b0cecad198a104d23d30ceb39e83a2a
/mtaa_watch/filters.py
042c18ce0b37f0fc4c9cea3d20de2e18452d818b
[ "MIT" ]
permissive
jameskomo/neighborhood-watch
5144c141f60a1b010360c8df054ba9882004539c
89e6179ab9dcaac79986bfbfebc7a063da307092
refs/heads/master
2022-05-01T03:24:27.420596
2019-06-03T10:15:02
2019-06-03T10:15:02
189,241,655
0
0
MIT
2022-04-22T21:25:23
2019-05-29T14:27:41
Python
UTF-8
Python
false
false
503
py
from django.contrib.auth.models import User import django_filters from .models import Neighborhood, Business, Contact class ContactFilter(django_filters.FilterSet): class Meta: model = Contact fields = ['contact_name', ] class BusinessFilter(django_filters.FilterSet): class Meta: model...
[ "james.komoh@gmail.com" ]
james.komoh@gmail.com
914bf79de453162fd0f38bf6f1d3d79e057567ad
0525689d9646972e98fd68e14383873158e7c52d
/app/user/serializers.py
5674e89eb403c7c77465f5afa640bffaa871d965
[]
no_license
ashish-bisht/foood_rest_api
45beb6ed0f8e764660d4eac607daad7eb6d57949
5473f727bb9c58e2e651de874555906937d3eb6b
refs/heads/master
2020-04-15T01:57:39.389551
2019-04-07T08:31:19
2019-04-07T08:31:19
164,297,945
0
1
null
null
null
null
UTF-8
Python
false
false
1,683
py
from django.contrib.auth import get_user_model, authenticate from rest_framework import serializers from django.utils.translation import ugettext_lazy as _ class UserSerializer(serializers.ModelSerializer): """ Serializer for the users object """ class Meta: model = get_user_model() fields = ...
[ "ashishbisht723@gmail.com" ]
ashishbisht723@gmail.com
5f1bcfb2ab1d2026e171944911b7fff7cd204df3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03400/s411304845.py
da4ae93e677418bf77f97dca3a181cd314f24307
[]
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
200
py
n = int(input()) d,x = map(int,input().split()) a = [int(input()) for i in range(n)] cnt = 0 day = 1 for i in range(n): while day <= d: day += a[i] cnt += 1 x += cnt cnt = 0 day = 1 print(x)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cc1dee9da4f1e8bc3ece571946286a3006a456e6
32ddd90c9f2b2037cb7fd0a338deefcf16e5d17d
/python/tor/stem/get_descriptors_from_cache.py
6b357094b82558205bd920895a64b34c2e725938
[]
no_license
btoll/howto-algorithm
2a671779a4abb279e2a55461c8cfd7094770b42a
57ed65d97d951e3746f71190fb57813b519a1aa5
refs/heads/master
2023-02-20T17:17:38.600806
2023-02-10T05:16:22
2023-02-10T05:16:22
182,487,529
1
0
null
null
null
null
UTF-8
Python
false
false
184
py
from stem.descriptor import parse_file for desc in parse_file('/home/btoll/.tor/cached-consensus'): print('found relay %s %s %s' % (desc.nickname, desc.address, desc.fingerprint))
[ "benjam72@yahoo.com" ]
benjam72@yahoo.com
edcf661604a2259cb6eb5fb899c0987b27c43837
bfd7aac0fd279c6f6e1f30538be51e1d493ca932
/innovacioneducativa/home/migrations/0010_homepage_encabezado_pie.py
c2a7b0542f36f135e8a3a937beec76c262e59f13
[]
no_license
Raana-He/innovacion_educativa
3c12a3a9dbec1f98de31d1d371e84b9f1b83beaf
1c3320bb3f188fb39ccffa98b2e43d55a1de420e
refs/heads/master
2021-04-12T10:39:24.496686
2017-05-17T10:36:36
2017-05-17T10:36:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-04 21:53 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('home', '0009_auto_20170304_2244'), ] operations = ...
[ "morillas@gmail.com" ]
morillas@gmail.com
0a61d7545c81d1ec099fbcebbc24c8559b0c3b51
da29f1f5b4459fbfec968bb694bedb9586f87b14
/new_algs/Number+theoretic+algorithms/Shor's+algorithm/pip3-script.py
51d27a6afa92b6b3b7bc2c982483e0d4e755170b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
coolsnake/JupyterNotebook
547806a45a663f090f313dc3e70f779ad9b213c0
20d8df6172906337f81583dabb841d66b8f31857
refs/heads/master
2023-01-13T18:55:38.615312
2020-11-17T22:55:12
2020-11-17T22:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
#!C:\Users\65112\PycharmProjects\Peter_Shor_Algorithm\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ...
[ "chenqh@uci.edu" ]
chenqh@uci.edu
2256b17f0b6fb885ee775ad3bcc73bfad0851ef7
7f8d5ec70317cea7731cd489931ce14d090e0e1e
/apps/text_editor.py
97c3eba37a310bed62122a63fb3fec08f907dc84
[]
no_license
dev2033/TkinterPy
c5d51e9641be7decbd3d6244b3d4e32284206921
1432280c7d7b5e48f46283a8789239e552efc87c
refs/heads/master
2022-12-16T08:46:21.121335
2020-09-20T18:07:09
2020-09-20T18:07:09
297,123,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
import tkinter from tkinter import * from tkinter.filedialog import asksaveasfile, askopenfile from tkinter.messagebox import showerror from tkinter import messagebox FILE_NAME = tkinter.NONE def new_file(): global FILE_NAME FILE_NAME = "Untitled" text.delete('1.0', tkinter.END) def save_file(): da...
[ "dev.elop.02@mail.ru" ]
dev.elop.02@mail.ru
1d6d0433dec458a5889be975c2c67b52bab0a472
f6bba50fccc6fb0dae2f046193434cfb4b9d32d5
/others/alsing2019/A.py
7c6ba9354629107e461ca38ef498d5069b5e6a3d
[]
no_license
seven320/AtCoder
4c26723d20004fe46ce118b882faabc05066841c
45e301e330e817f1ace4be4088d3babe18588170
refs/heads/master
2021-11-22T22:57:32.290504
2021-10-24T09:15:12
2021-10-24T09:15:12
162,827,473
2
0
null
null
null
null
UTF-8
Python
false
false
110
py
#encoding:utf-8 N = int(input()) H = int(input()) W = int(input()) answer = (N-W+1)*(N-H+1) print(answer)
[ "yosyuaomenw@yahoo.co.jp" ]
yosyuaomenw@yahoo.co.jp
166aa8bf27b28b56c6477303167f6841f95ada34
4fca17a3dbc3e74ba7e46bd7869eb6d138e4c422
/_1569_Number_of_Ways_to_Reorder_Array_to_Get_Same_BST.py
e52ad2e48479fe71c0975cbcceac92be9660066d
[]
no_license
mingweihe/leetcode
a2cfee0e004627b817a3c0321bb9c74128f8c1a7
edff905f63ab95cdd40447b27a9c449c9cefec37
refs/heads/master
2021-06-19T07:46:46.897952
2021-05-02T05:13:17
2021-05-02T05:13:17
205,740,338
3
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
class Node: def __init__(self, val): self.val = val self.left = self.right = None class Solution(object): def numOfWays(self, nums): """ :type nums: List[int] :rtype: int """ root = Node(nums[0]) def insert(node, val): if node.val > va...
[ "hemingwei2017@gmail.com" ]
hemingwei2017@gmail.com
a49d161582d0b5e87896910c5f1717ae582bf285
37ff29a9a83eafbf0f54e2ce0bf2c0255b1663a1
/devel/lib/python2.7/dist-packages/move_base_msgs/msg/_MoveBaseActionGoal.py
7afa7eee3dbbeaf9a819e6c6eae4ae8233e1e072
[]
no_license
wy7727/husky
f8d9c2a05487f66efbfb58e8fc1c141efc10e177
7925bc34ae316639aef88fc3e6a8d36aba12620b
refs/heads/master
2020-04-09T12:09:41.420418
2019-12-01T09:24:24
2019-12-01T09:24:24
160,337,603
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
/home/ying/wy_ws/devel/.private/move_base_msgs/lib/python2.7/dist-packages/move_base_msgs/msg/_MoveBaseActionGoal.py
[ "wuying277727@gmail.com" ]
wuying277727@gmail.com
944ab6201b08f63177c1e2451493f8d0d6f8d591
7b1543ec496a2aec2624bb0ef04ed5ecf944675a
/UserCode/bTag/CommissioningCommonSetup/test/PASConfigs/validation_Harvest.py
4c3f6ad102a5c72598d2afb21295d86d994396a2
[]
no_license
iihe-cms-sw/VJets_TreeMaker5311
45954e62e289907384d187a76230b76f64cea62f
8c37cf7241e58ee7d83bb261ebf9c9a237080eac
refs/heads/master
2020-06-06T18:10:09.921453
2014-09-06T17:05:37
2014-09-06T17:05:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,520
py
import FWCore.ParameterSet.Config as cms from DQMOffline.RecoB.bTagCombinedSVVariables_cff import * #includes added because of block refactoring replacing simple includes by using statements from DQMOffline.RecoB.bTagTrackIPAnalysis_cff import * from DQMOffline.RecoB.bTagCombinedSVAnalysis_cff import * from DQMOffline...
[ "seva.tomislav@gmail.com" ]
seva.tomislav@gmail.com
a098ed3d48a685ab82a9658dec130a0f80edfc10
bc035331453d2f10e6179700ba74702158f28abf
/week8_1/olx_api/apps.py
5747a7430bc9e2e4ad2cc0f60f17710b0315e4cd
[]
no_license
NikolaPavlov/Hack_Bulgaria_Django
ade6813ae19d7fb7f00f74b6ec800d5927313f12
74ee14ddae885e0ea457ef89cee361b9dc34206c
refs/heads/master
2021-01-17T14:05:40.444361
2017-05-19T19:12:32
2017-05-19T19:12:32
83,479,831
2
0
null
null
null
null
UTF-8
Python
false
false
88
py
from django.apps import AppConfig class OlxApiConfig(AppConfig): name = 'olx_api'
[ "nikola.pavlov1955@gmail.com" ]
nikola.pavlov1955@gmail.com
abecbaac23fe546ec17e2937cd7fa21335f218c3
2793721e5cbfccfedac75556e34dba22999530d7
/Djikstra_Algorithm/venv/bin/pip3
c1cfdab718fc04520bca4c111049c35845c14aa0
[]
no_license
iafjayoza/Python
135e613d1d23c493b05a009843b40cbca6a1d318
aaa05b0d655c8f0a47ced0100a844d99f852b2a4
refs/heads/master
2022-12-07T07:21:46.494885
2020-09-06T09:03:27
2020-09-06T09:03:27
282,707,082
0
0
null
null
null
null
UTF-8
Python
false
false
449
#!/Users/jo049566/Desktop/Jay/Jay_Data/Study_Repo/Python/Projects/Djikstra_Algorithm/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-s...
[ "jaykumar.oza@cerner.com" ]
jaykumar.oza@cerner.com
273f8463cdb5174f841964eb737b9478ba3e7783
68adda25dff4b3650e88c495928ecd36b8c037b4
/.vscode/extensions/ms-python.python-2020.7.96456/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydev_ipython/inputhook.py
fd237fce9fa303d15c4e88f025a87c917e902904
[ "MIT" ]
permissive
jaeyholic/portfolio-v2
28614ce9ce0a7a450aaa58f36393b95ad3155464
f9cfdd250e0fbde9e91e36d46826700a7c08df62
refs/heads/master
2023-06-24T04:18:27.269996
2020-08-11T14:28:12
2020-08-11T14:28:12
228,602,441
0
0
MIT
2023-06-10T00:47:09
2019-12-17T11:32:20
JavaScript
UTF-8
Python
false
false
20,072
py
# coding: utf-8 """ Inputhook management for GUI event loop integration. """ #----------------------------------------------------------------------------- # Copyright (C) 2008-2011 The IPython Development Team # # Distributed under the terms of the BSD License. The full license is in # the file COPYING,...
[ "gabsco208309@hotmail.com" ]
gabsco208309@hotmail.com
cdfeca20de3398413d645b8e8acfc2ed87d33aa8
58f8bcab9669d02cb438379fb7d44ca72ba83e55
/main.py
4e1edc5ae047623733ca1f8291fe99514beee9fe
[]
no_license
PharrellWANG/DataStructureInPandas
ee2f324564b0f627959c5c0abf6e669e4d56c0ff
c6a87172ec4eb83f6c37d5681c0da0460026988a
refs/heads/master
2021-04-26T12:19:35.410466
2018-03-06T03:27:11
2018-03-06T03:27:11
124,010,610
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
import numpy as np import pandas as pd ################################################## # Data alignment is intrinsic. # # The link between labels and data will not # be broken unless done so explicitly by you. ################################################## # =================================== # Series # # # =...
[ "15113029g@connect.polyu.hk" ]
15113029g@connect.polyu.hk
55f653f940f85cf9e169ce726ac3ed9f08b1b441
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/3/3.longest-substring-without-repeating-characters.295186728.Accepted.leetcode.python3.py
abc6c74a72c9d91828f03477177bc42468f5a06f
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
class Solution: def lengthOfLongestSubstring(self, s: str) -> int: temp = set() max_length = 0 index = 0 for i in range(len(s)): if s[i] in temp: max_length = max(max_length, i - index) while s[index] != s[i]: temp.remov...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
98fb44cd707fed55f0ed72ce257ac67fa26fc511
2db7597686f33a0d700f7082e15fa41f830a45f0
/Python/链表/203.Remove Linked List Elements.py
c98864b35c9d3eb0e4f6a5a205de4e9d556098b8
[]
no_license
Leahxuliu/Data-Structure-And-Algorithm
04e0fc80cd3bb742348fd521a62bc2126879a70e
56047a5058c6a20b356ab20e52eacb425ad45762
refs/heads/master
2021-07-12T23:54:17.785533
2021-05-17T02:04:41
2021-05-17T02:04:41
246,514,421
2
0
null
null
null
null
UTF-8
Python
false
false
1,091
py
# !/usr/bin/python # -*- coding: utf-8 -*- # @Time : 2020/05 # @Author : XU Liu # @FileName: 203.Remove Linked List Elements.py ''' 1. 题目要求: 2. 理解: 删除链表中所有指定的值 3. 输出输入以及边界条件: input: output: corner case: 4. 解题思路 1. 先建dummy (head可能就是要删的值) 2. 快慢双指针 f遇到val,s.next = f.next f = f.next 不...
[ "58391184+Leahxuliu@users.noreply.github.com" ]
58391184+Leahxuliu@users.noreply.github.com
5782350fda65a4ffa00308ababff9ec751043d05
0b279c246179bc6a76ad17f055ad1dce3402b045
/private_production/eft/2016/crab_SM_LHE.py
38a2f909bdc24d334580c24642f01c7dcdd19cf0
[]
no_license
UniMiBAnalyses/CMSSWGeneration
a55e6ad840e4f7f9fae6b46a4bb939a288492f10
a7acf1a780eeb30e14616fef90ccf389e4367668
refs/heads/master
2023-09-01T02:01:44.746469
2022-01-31T11:01:29
2022-01-31T11:01:29
212,852,677
0
2
null
2022-06-16T15:23:25
2019-10-04T15:57:27
Python
UTF-8
Python
false
false
962
py
from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() config.General.requestName = 'VBS_SSWW_SM_LHE' config.General.workArea = 'crab_projects' config.General.transferOutputs = True config.General.transferLogs = False config.JobType.pluginName = 'PrivateMC' config.JobType.psetName = 'SMP...
[ "jiexiao@pku.edu.cn" ]
jiexiao@pku.edu.cn
50a6fa87ad6bcc26e4f89ac70599d5a5ebeafe31
3758d3ca1c7e51e3acaf70392573fde00642f1f4
/hw3/problems.py
e72ea3e61ce9b5b8ddc30357305e1bb7909166e0
[]
no_license
Tylerholland12/spd1.4
d34a14abeda80989d360bb68b0bcbc2df459d2b2
f40c7ba8a3c219e9cbc81d223eb688e1af23fb81
refs/heads/master
2021-05-23T14:49:55.443350
2020-05-15T15:45:54
2020-05-15T15:45:54
253,347,309
1
0
null
null
null
null
UTF-8
Python
false
false
338
py
def duplicate_numbers(lst, size): for index in range(0, size): if lst[abs(lst[index])] >= 0: lst[abs(lst[index])] = -lst[abs(lst[index])] else: print(abs(lst[index])) lst = [2, 4, 2, 5, 6, 7, 9, 3, 5, 1, 4] array_size = len(lst) duplicate_numbers...
[ "tyler.holland@students.makeschool.com" ]
tyler.holland@students.makeschool.com
49c56e53c007ff4e2cd2737400a336a4aab53e2d
f12043e8e535a58813767f3c6abe0c6dc67e2f94
/test-site/codersblog/codersblog/asgi.py
de9643a508c1243a73ac50b12ea454fd0b4f05dc
[ "MIT" ]
permissive
Nahid-Hassan/web-development
1817c425851739c9ba0eed12d433c6e4e572b669
14475feca86c5ca70c4532300f294ce479d3dd05
refs/heads/main
2023-05-19T05:09:58.408794
2021-06-11T02:26:51
2021-06-11T02:26:51
320,472,093
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for codersblog 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "nahid.cseru@gmail.com" ]
nahid.cseru@gmail.com
9cdd0f020dee83d3ffc31338ae8c2206d607776d
7f97814acd76ca96aee877fd70d401380f848fae
/8_training/roman_numeral.py
913620b61c05c9fed792c95116d342a6a86efb49
[]
no_license
tberhanu/all_trainings
80cc4948868928af3da16cc3c5b8a9ab18377d08
e4e83d7c71a72e64c6e55096a609cec9091b78fa
refs/heads/master
2020-04-13T12:12:21.272316
2019-03-16T04:22:20
2019-03-16T04:22:20
163,195,802
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
def roman_to_int(s): sum = 0 dict = {"I": 1, "V": 5, "X": 10, "L": 50, "C": 100, "D": 500, "M": 1000} for i in range(len(s) - 1): if dict[s[i]] < dict[s[i + 1]]: sum = sum - dict[s[i]] else: sum = sum + dict[s[i]] sum = sum + dict[s[-1]] return sum print(roma...
[ "tberhanu@berkeley.edu" ]
tberhanu@berkeley.edu
24805e804002b4e804e117fcc8b197129c3e7cdd
20c20938e201a0834ccf8b5f2eb5d570d407ad15
/abc037/abc037_d/13690057.py
005ddd6b1a997aa849b5da4767eac1a2d1e85edb
[]
no_license
kouhei-k/atcoder_submissions
8e1a1fb30c38e0d443b585a27c6d134bf1af610a
584b4fd842ccfabb16200998fe6652f018edbfc5
refs/heads/master
2021-07-02T21:20:05.379886
2021-03-01T12:52:26
2021-03-01T12:52:26
227,364,764
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
def main(): import sys sys.setrecursionlimit(10**6) input = sys.stdin.readline H, W = map(int, input().split()) a = [tuple(map(int, input().split())) for i in range(H)] g = [[0]*W for i in range(H)] mod = 10**9 + 7 def dfs(i, j): if g[i][j] > 0: return(g[i][j]) ...
[ "kouhei.k.0116@gmail.com" ]
kouhei.k.0116@gmail.com
3a2f0fd9cf2ee9b682571ce5c68fcf12c4d5f34a
bd8122aa20f4318f690f5d7686bc44b3c739fb59
/testtool/idp_test/wb/unused/wb_idp_test_flask.py
ecda0abf8153df5ef3ae553d8c4b6eb7cb066343
[ "BSD-2-Clause" ]
permissive
identinetics/saml2test2
5cda487ffa4facb38b1036cdb6db7c178b3e4b2e
0e439096c7a217a56e7c203f9001c0f9e2dedaa0
refs/heads/master
2021-01-21T04:03:23.133739
2016-11-09T22:43:15
2016-11-09T22:43:15
46,069,892
3
1
null
2016-05-31T14:20:40
2015-11-12T17:47:08
Python
UTF-8
Python
false
false
726
py
#!/usr/bin/env python3 import os from wsgiref.simple_server import make_server from werkzeug.debug import DebuggedApplication from werkzeug.wsgi import SharedDataMiddleware from saml2test.idp_test.wsgi import app as testtool testtool.app.debug = True testtool.app.secret_key = "abcdef" testtool.app.wsgi_app = Debugge...
[ "roland.hedberg@adm.umu.se" ]
roland.hedberg@adm.umu.se
3ebe8174af00cba550009ac60078c5b2ca98d694
94d269723bd12c38988f90012a5061a8c77a95b3
/training/signal-scaling/scripts/extract-signals.py
002120cff1825398289eb47e8d0b131bf73fbf54
[ "MIT" ]
permissive
hyejun18/poreplex
b62f024e83d326ad26b3bfaf93b1fd444b655515
dbb2caa94c9513018650d30796ccb01a6784837d
refs/heads/master
2022-08-06T07:19:18.509147
2020-05-24T15:05:06
2020-05-24T15:05:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,098
py
#!/usr/bin/env python3 # # Copyright (c) 2018 Hyeshik Chang # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modi...
[ "hyeshik@snu.ac.kr" ]
hyeshik@snu.ac.kr
45e32f847e7c259d5c106c6aadceb3d6fb4810c4
af4029ce15f4e091b55550effd539083d1d5ea15
/jakc_salon_mgmt/wizard/wizard_workorder_barcode.py
7048c3fdb3b56a21eafc9dbd7ecfb19198b0f242
[]
no_license
babarlhr/Project-0036
95e160025c7bc228433dd6828d74eaaf55c9dd78
7d478530d6c585fc26455f526973ee152df946a1
refs/heads/master
2021-09-24T05:41:33.208252
2018-09-26T13:12:17
2018-09-26T13:12:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
from odoo import models, fields, api, _ from odoo.exceptions import ValidationError, UserError, Warning class WizardWorkorderBarcode(models.TransientModel): _name = 'wizard.workorder.barcode' @api.onchange('barcode') def onchange_barcode(self): mrp_workorder_obj = self.env['mrp.workorder'] ...
[ "wahhid@gmail.com" ]
wahhid@gmail.com
b2539f3a444de8b39c4698a6b0d835ad0ec95faf
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/program/util/LanguageTranslatorFactory.pyi
a27e7bea542841f7fbbec5f5d439b06e21ffded9
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
3,033
pyi
import ghidra.program.model.lang import ghidra.program.util import java.lang class LanguageTranslatorFactory(object): """ LanguageTranslatorFactory manages all language translators within Ghidra. Language translators support either a version translation for a single language, or a language transitio...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
aafa5af0a0eb97b96762c8129d463952b4a9dad4
705c4d899f1faebc5b3f4c3ede980de866fea98f
/euddraft.py
ec07fb2b1c60dbae007e95477dfbe79040744c03
[ "MIT" ]
permissive
phu54321/euddraft
9b4c4d0000974cb4f2b1c8d37787c8be65367975
b870274e22a2c4dab1e6cab0cb99c69725999121
refs/heads/master
2021-01-19T03:09:36.841258
2019-09-19T09:14:00
2019-09-19T09:14:00
50,114,680
34
6
null
null
null
null
UTF-8
Python
false
false
7,074
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' Copyright (c) 2014 trgk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
[ "phu54321@naver.com" ]
phu54321@naver.com
33d0672058943dc03b6443caa3e056fa0bf74022
f60461269b988ebe12c0d3140ae2dcc1043057cb
/cast/migrations/0006_auto_20210628_1628.py
ff253507e8a1f686389e70d3a371be774f2d76ed
[ "BSD-3-Clause" ]
permissive
ephes/django-cast
f2017a791fd1d63ce6a0942f427c388badd0f952
62573d6ead9b4384cd6c51fd5e7fecdac17b22f8
refs/heads/main
2023-08-31T00:13:32.488562
2023-08-28T08:21:46
2023-08-28T08:21:46
156,191,419
29
13
NOASSERTION
2022-12-11T06:08:33
2018-11-05T09:23:34
Python
UTF-8
Python
false
false
3,332
py
# Generated by Django 3.2.4 on 2021-06-28 16:28 import django.db.models.deletion import wagtail.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("wagtailcore", "0062_comment_models_and_pagesubscription"), ("cast", "0005_auto_20201024_0613")...
[ "jochen@wersdoerfer.de" ]
jochen@wersdoerfer.de
a3a2d18b914a33665a3bd62e430cfba360062ec5
f9ef1a9f62501ead45afcf7e04c5ba1ab58c7f66
/python/intro/prime.py
c7ec4195ac4f8fd9df7f1fd88bbeeed038688296
[]
no_license
tanacchi/practice
3ad6bdac1443f2cdbff3d8aeb6480c911b9ad3ec
daa2f4ebad54303f46c15ef83dfa87bbe2a6edd2
refs/heads/master
2023-08-16T23:02:28.193937
2023-08-13T13:29:30
2023-08-13T13:29:30
64,650,426
1
2
null
2023-08-13T13:29:31
2016-08-01T08:37:47
C
UTF-8
Python
false
false
596
py
def isPrime(num): limit = int(num) for i in range(2, limit): if ((limit % i) == 0): return False return True def getListOfPrime(limit): prime_list = [] for i in range(2, limit): if (isPrime(i)): prime_list.append(i) return prime_list num = input('Plaese put a number\n>') if...
[ "q111026d@mail.kyutech.jp" ]
q111026d@mail.kyutech.jp
892b94503276daee8ff7cbb00bb9c66020b5c60d
dfcb65de02953afaac24cc926ee32fcdede1ac21
/src/pyrin/database/migration/component.py
ee414870388d65289207a27c464c07960713081b
[ "BSD-3-Clause" ]
permissive
mononobi/pyrin
031d0c38da945b76b07ea100554ffc7f8081b05e
9d4776498225de4f3d16a4600b5b19212abe8562
refs/heads/master
2023-08-31T03:56:44.700142
2023-08-20T22:20:06
2023-08-20T22:20:06
185,481,041
20
8
null
null
null
null
UTF-8
Python
false
false
491
py
# -*- coding: utf-8 -*- """ database migration component module. """ from pyrin.application.decorators import component from pyrin.database.migration import DatabaseMigrationPackage from pyrin.database.migration.manager import DatabaseMigrationManager from pyrin.application.structs import Component @component(Databa...
[ "mohamadnobakht@gmail.com" ]
mohamadnobakht@gmail.com
99c8017956fc3ac491e646f680b1871f9ca6dfe6
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_2_1_neat/16_2_1_julien1_PA.py
98495349f665f3131bffd44ce2141e9792e19563
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,990
py
input=open("A-large.in","r") output=open("PAlarge.txt","w") T = int(input.readline()) for loop in range(T): S = list(input.readline()) res = [] while S!=['\n']: while 'Z' in S: res.append(0) S.remove('Z') S.remove('E') S.remove('R'...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
e2b29a7f65efe817da50e19550dab13a6165b317
1dfaa300f45c2dbda2a7c6fd4b15380acbdd0f27
/plotmol/tests/test_plotmol.py
0ec844708c16840c55d8c5e4111062c9f813ef50
[ "MIT" ]
permissive
jthorton/plotmol
2d5c80df6e53f745f5d4eab7e274d64ff13cb086
3733529a81df8140a550b06f4a7f2dde8c6ca34c
refs/heads/main
2023-04-12T20:58:30.856901
2021-02-18T13:04:58
2021-02-18T13:04:58
353,452,949
0
0
MIT
2021-03-31T18:27:49
2021-03-31T18:27:48
null
UTF-8
Python
false
false
834
py
import pytest from bokeh.plotting import Figure from plotmol import plotmol from plotmol.plotmol import InputSizeError, default_tooltip_template @pytest.fixture() def bokeh_figure(): return Figure(tooltips=default_tooltip_template()) def test_scatter(bokeh_figure): # It's difficult to test this as it's a g...
[ "simon.boothroyd@colorado.edu" ]
simon.boothroyd@colorado.edu
237594bca06b38d326de6876e212396a726cac0e
13d8ede6d23ed0a375bbc9310d93be035fd164e9
/InterviewBits/dp/n-digit-numbers-with-digit-sum-s.py
606642a18e56bb1c3de3571c36c25ee35ac047da
[]
no_license
iamrishap/PythonBits
192d3fb7bce101485eb81da2153e5b0c82b6872a
dcbc5f087ad78110a98e78dd6e5943ed971309c2
refs/heads/master
2022-03-10T07:16:08.601170
2019-11-17T04:01:00
2019-11-17T04:01:00
206,778,724
0
0
null
null
null
null
UTF-8
Python
false
false
2,244
py
""" Find out the number of N digit numbers, whose digits on being added equals to a given number S. Note that a valid number starts from digits 1-9 except the number 0 itself. i.e. leading zeroes are not allowed. Since the answer can be large, output answer modulo 1000000007 ** N = 2, S = 4 Valid numbers are {22, 31, 1...
[ "rishap.sharma@iress.com" ]
rishap.sharma@iress.com
ad54abb34c428710b030001ade1ed9981f99b282
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03762/s610756905.py
cfb37ca2fc0b48eb88c26090639c82db63c2169f
[]
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
885
py
import sys import math from collections import defaultdict from bisect import bisect_left, bisect_right sys.setrecursionlimit(10**7) def input(): return sys.stdin.readline()[:-1] mod = 10**9 + 7 def I(): return int(input()) def LI(): return list(map(int, input().split())) def LIR(row,col): if row <= 0: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
68f78d6ff9ce197d5269b10c911b5cea7fb10dc9
4cf4ebb8edc17b803d9a59a9efd5ea8fb0a12347
/src/rockpaperscissorsalwayswin.py
db9f573ee4b2763150c8eba89c85b9afdf4e6905
[]
no_license
Ai-craftsman/PythonStdioGames
14c332f177d4dbc7a8f5902b00b423d7dfe169e0
7809c0798cca86857f3700ede99760e85d7e6b30
refs/heads/master
2020-04-30T14:00:43.608134
2019-06-23T08:19:55
2019-06-23T08:19:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
# Rock, Paper, Scissors (except you always win), by Al Sweigart al@inventwithpython.com import time, sys assert sys.version_info.major == 3, 'Run this program on Python 3.' def runGame(): wins = 0 # This variable keeps track of how many wins the player has. while True: # The main game loop. while Tr...
[ "asweigart@gmail.com" ]
asweigart@gmail.com
50a00f296a44e0b815c78119b8e8076a8fdd7249
f3baf8b850c896231b4c254a22567fd5d7a5035c
/Exercicios Modulo 2/ex5.py
0e8fb6b34a74213d22594340e8252adba64622ce
[ "MIT" ]
permissive
Katakhan/TrabalhosPython2
e1c23119ef582038ceea0004c872c00778fd326e
ab47af0ff3c00922857578e58a1a149d9e65e229
refs/heads/master
2020-09-21T02:15:04.505791
2020-03-19T13:23:41
2020-03-19T13:23:41
224,650,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
#--- Exercício 5 - Variáveis #--- Imprima os dados de 5 papéis cotados na bolsa de valores de SP #--- Cada Papel apresentado deve possuir: #--- Nome #--- Tipo #--- Cotação Atual #--- Valor Mínimo do dia #--- Valor Máximo do dia #--- Os dados dos papéis devem estar em variáveis #--- A tela deve conte...
[ "antoniorafaelgastaldi@hotmail.com" ]
antoniorafaelgastaldi@hotmail.com
5d513014bd8fcb85a989c0addaf8930e72bd79c0
238e46a903cf7fac4f83fa8681094bf3c417d22d
/VTK/vtk_7.1.1_x64_Debug/lib/python2.7/site-packages/twisted/internet/unix.py
020dfe9280b8b31d1fdca98f9beba4ecc7218114
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause" ]
permissive
baojunli/FastCAE
da1277f90e584084d461590a3699b941d8c4030b
a3f99f6402da564df87fcef30674ce5f44379962
refs/heads/master
2023-02-25T20:25:31.815729
2021-02-01T03:17:33
2021-02-01T03:17:33
268,390,180
1
0
BSD-3-Clause
2020-06-01T00:39:31
2020-06-01T00:39:31
null
UTF-8
Python
false
false
18,438
py
# -*- test-case-name: twisted.test.test_unix,twisted.internet.test.test_unix,twisted.internet.test.test_posixbase -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Various asynchronous TCP/IP classes. End users shouldn't use this module directly - use the reactor APIs instead. ...
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
47cee717666b440c5a155a7589a24f24ec1868bc
b8633652f82040dc406620342feda8bb5a2e84cb
/descarteslabs/scenes/scenecollection.py
07bddf028b700074aa7b62310804ad29ea4314b0
[ "Apache-2.0" ]
permissive
ha1rs2hi3ta4/descarteslabs-python
ea7d31dadb62e5c3be3b931c41c54f2df2a88d37
1de86b72bf3896a5851ee92255561c893f3a00e1
refs/heads/master
2020-04-02T03:45:51.835596
2018-10-19T18:57:48
2018-10-19T19:16:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,148
py
# Copyright 2018 Descartes Labs. # # 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 writi...
[ "support@descarteslabs.com" ]
support@descarteslabs.com
ed35d33a58d7f3f502e3a1ca8678047c10be6ebc
09667d2c1f3a1b009241a0dca80dc19c76c02e8c
/QR_/QR2char.py
125f257de690c847fb97a9f4c62074237ee70d9c
[]
no_license
lwzswufe/enhancement
d80d38dec52f940f15f4a2d5e531f946470429f4
ce453e9842df8f9565961576c4919a0205842c8b
refs/heads/master
2022-06-15T22:37:43.685850
2022-05-18T15:28:28
2022-05-18T15:28:28
71,648,001
4
2
null
null
null
null
UTF-8
Python
false
false
1,501
py
# author='lwz' # coding:utf-8 # !/usr/bin/env python3 from PIL import Image import numpy as np # 将图片二维码转化为文字二维码 def get_gray_img(img): gray = np.sum(np.array(img), axis=2) height, width = gray.shape sum_row = np.sum(gray, axis=1) gray = gray[sum_row < width*254*3, :] height, width = gray.shape ...
[ "lwzswufe@foxmail.com" ]
lwzswufe@foxmail.com
9c9f32eb87584238fef8ec6c59e00abe077d803e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_281/ch2_2019_04_02_13_25_01_092172.py
370c564f408dafabd3cf259ac5a7247ecdcc33e8
[]
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
103
py
def calcula_velocidade_media (distancia, horas): velocidade = distancia/horas return velocidade
[ "you@example.com" ]
you@example.com
7a76b3665c60a0ffdde55687faa043ef4210e051
578a39a4d8500b7c4f56af7cbfde0c399985282b
/237-delete-node-in-a-linked-list/delete-node-in-a-linked-list.py
c69096ac41bd2329e02a9fb41d79143a600ae4fb
[]
no_license
linkw1992/leetcode
e8825777d19a6673d6bcf431af14556ced68d508
38188306512ff6a5d23b7883fa9a00250ca2e75e
refs/heads/master
2020-03-14T03:36:53.868393
2018-04-30T06:00:27
2018-04-30T06:00:27
131,423,811
1
0
null
2018-04-28T16:01:03
2018-04-28T16:01:03
null
UTF-8
Python
false
false
723
py
# -*- coding:utf-8 -*- # # Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. # # # # Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with value 3, the linked list should become 1 -> 2 -> 4 after calling your function. # # Def...
[ "foreverbonfy@163.com" ]
foreverbonfy@163.com
738030175f0ff94efb6bd03e756d2736bfd229a4
6abebc2b72702e4282ba175ed5e536ff9b8507c2
/myTimesheet/urls.py
c3a28a86bc69a65b2e9f0872b64c9a19e14b1bba
[]
no_license
VikasNeha/timesheets
adadd8f4d0b84d39ad1c4db1774964ccdbd44dfb
e3975d7d8d689c940794982da857c6270aac33aa
refs/heads/master
2020-04-13T19:42:21.265715
2013-12-24T12:38:56
2013-12-24T12:38:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
from django.conf.urls import patterns, url from myTimesheet import views urlpatterns = patterns('', url(r'^$', views.index, name='index') )
[ "neha.nehavikas.vikas@gmail.com" ]
neha.nehavikas.vikas@gmail.com
1a38827914d01284aa998cf48e2069d26c2d795b
43ede7b8fb546c00804c0ef94501f6e48ba170d6
/Cursos Python/Python 3 Básico ao avançado - Geek University/Map.py
ff6fb7697016345d2a1b36406deea9b791e43c43
[]
no_license
bopopescu/Python-13
db407d17252473e78e705e563cfee4dbd316c6b9
c8bef500f2d3e4a63d850f96dfa219eff2ecebda
refs/heads/master
2022-11-22T16:24:08.490879
2020-06-11T14:22:24
2020-06-11T14:22:24
281,830,055
0
0
null
2020-07-23T02:26:31
2020-07-23T02:26:30
null
UTF-8
Python
false
false
925
py
""" Map com map fazemos mapeamento de valores para função. """ # import math # # # def are(r): # """Calcula a area de de um círculo 'r'""" # return math.pi * (r ** 2) # # # print(are(2)) # print(are(5.3)) # # raios = [2, 5, 9.8, 7, 2, 9] # # # forma comum # areas = [] # for r in raios: # areas.append(are(...
[ "ofc.erickson@gmail.com" ]
ofc.erickson@gmail.com
6b4bd5adcf08bd6603cb51270161f4099e166b1d
2d59a479fe2c45b30d46d2c86ebb5a9414b112f5
/pyexlatex/exc.py
c6e7a24c05a3e2131720922c04d254fac11d0c31
[ "MIT" ]
permissive
nickderobertis/py-ex-latex
24c8809784b9bdc8b74a05a57bb46cd05ec09945
66f5fadc35a0bfdce5f1ccb3c80dce8885b061b6
refs/heads/master
2023-01-07T03:25:11.640037
2021-11-10T13:42:50
2021-11-10T13:42:50
203,180,166
5
0
MIT
2022-12-26T21:51:20
2019-08-19T13:38:14
Python
UTF-8
Python
false
false
53
py
class NoPackageWithNameException(Exception): pass
[ "whoopnip@gmail.com" ]
whoopnip@gmail.com
840736871650e8b463c89e9ccfa461ce2704e366
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_skip.py
09db414cb8f250d36868744624d4767ad0ffb756
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
#calss header class _SKIP(): def __init__(self,): self.name = "SKIP" self.definitions = [u'to move lightly and quickly, making a small jump after each step: ', u'to jump lightly over a rope that is held in both your hands, or by two other people, and turned repeatedly under your legs and over your head as exerc...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
de5b00c2d337df21779eefcdccb7110a6b52bd9e
8792f3338c823af8095d33cbe09410db3a8fdea2
/tests/test_higherorder.py
1dbcb381632368db753e4d4b85cab18181a05189
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
iveyhuang/dimod
1f771d8dd158ad0c23cb6c829249296a532b3bd6
cbcea2e9809fa2016e5728cf6d170db7f02e2712
refs/heads/master
2020-04-21T13:08:46.959727
2019-02-06T01:03:44
2019-02-06T01:03:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,487
py
# Copyright 2018 D-Wave Systems 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...
[ "acondello@dwavesys.com" ]
acondello@dwavesys.com
3d1670bb37ebd67a3ec34be0ddaf5f8422d720ac
7d170c6e9139081874653b34a30257571a1f194f
/st2common/tests/unit/test_util_templating.py
4a4b7fd28d30974f9c226e45b16458d7768a7b8e
[ "Apache-2.0" ]
permissive
Bala96/st2
199afd6213bafd12d4e9571020623c97b86481f9
8ab5a834fdba4f2ee0f00c0358886b98136271f1
refs/heads/master
2020-12-25T20:54:33.528699
2016-07-14T08:14:41
2016-07-14T08:14:41
63,338,070
1
0
null
2016-07-14T13:17:48
2016-07-14T13:17:48
null
UTF-8
Python
false
false
2,728
py
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
[ "tomaz@tomaz.me" ]
tomaz@tomaz.me
29caeea8592a95a667faf919271e6abfa64654d9
0841978510393215c15f338c56d68aea100cccdb
/time_based.py
0af4b2f7a71a2dba344cd391344244b2721ec59d
[]
no_license
Marius-Juston/UWB-Mobile-Anchor-Localization
0bbcbc48cc494ea925ca7457fdf6bc5bc1f5a1b7
fa1c0a9c5df7c697323bcaee1de8d6f0043d3a84
refs/heads/master
2023-04-22T11:03:00.149211
2021-05-05T16:31:49
2021-05-05T16:31:49
350,136,467
0
0
null
null
null
null
UTF-8
Python
false
false
4,658
py
import matplotlib.pyplot as plt import numpy as np from scipy.optimize import least_squares np.random.seed(42) class Localize: def __init__(self) -> None: super().__init__() self.c1 = 2 self.c2 = np.pi self.c3 = 1 self.c4 = 2.1 self.c5 = 1 self.c6 = 3 ...
[ "Marius.juston@hotmail.fr" ]
Marius.juston@hotmail.fr
a95aa1d82f2385fb0c9978050aa0006c7914efbd
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/do/host_virtual_nic.py
ee464ec495a8fc2dcc5dc81732ee0d331e4ba836
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
1,448
py
import logging from pyvisdk.exceptions import InvalidArgumentError ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) def HostVirtualNic(vim, *args, **kwargs): '''This data object type describes a virtual ne...
[ "jmb@pexip.com" ]
jmb@pexip.com
8fd0749da345266fe442af7de0ecde525a49b370
19cec240505e27546cb9b10104ecb16cc2454702
/moin/share/moin/server/moinmodpy.py
c95c4114274c8828c540bcaa965d2a2bebe56b30
[]
no_license
imosts/flume
1a9b746c5f080c826c1f316a8008d8ea1b145a89
a17b987c5adaa13befb0fd74ac400c8edbe62ef5
refs/heads/master
2021-01-10T09:43:03.931167
2016-03-09T12:09:53
2016-03-09T12:09:53
53,101,798
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
# -*- coding: iso-8859-1 -*- """ MoinMoin - mod_python wrapper for broken mod_python versions add a .htaccess to the path below which you want to have your wiki instance: <Files wiki> SetHandler python-program PythonPath "['/path/to/moin/share/moin/cgi-bin'] + sys.path" PythonHandler...
[ "imosts" ]
imosts
9cb739aafa7159a8e412768cfd8b9397042f2bb3
20674c17d815214bf66b75be686bb8a45c0f5914
/version1/837_New_21_Game.py
098d34157be08177eb587ba52c9372e866662684
[]
no_license
moontree/leetcode
e7b670969fe20785b15aae82996875fd66de1b08
f2bf9b13508cd01c8f383789569e55a438f77202
refs/heads/master
2021-05-20T20:36:45.615420
2020-04-02T09:15:26
2020-04-02T09:15:26
252,408,563
1
0
null
null
null
null
UTF-8
Python
false
false
2,495
py
""" Alice plays the following game, loosely based on the card game "21". Alice starts with 0 points, and draws numbers while she has less than K points. During each draw, she gains an integer number of points randomly from the range [1, W], where W is an integer. Each draw is independent and the outcomes have equal pr...
[ "zhangchao@zhangchaodeMacBook-Pro.local" ]
zhangchao@zhangchaodeMacBook-Pro.local
2593e8854d55653471c6b7c306bc63b7ca517dac
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/cymon/komand_cymon/actions/domain_blacklist/schema.py
80b4361cc0aae91457eb4d37a16abe2a5447971e
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
2,086
py
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Retrieve Blacklisted Domains" class Input: DAYS = "days" LIMIT = "limit" TAG = "tag" class Output: ADDR = "addr" COUNT = "count" URL = "url" class DomainBlacklistInput(komand.Inp...
[ "noreply@github.com" ]
OSSSP.noreply@github.com
df3e5bdce0a97cdcdd654be1a12301968db2034e
e0ede722874d222a789411070f76b50026bbe3d8
/practice/solution/0094_binary_tree_inorder_traversal.py
0770a3af3f1847d48453065f582bbfde01eb9693
[]
no_license
kesarb/leetcode-summary-python
cd67456cb57bdff7ee227dab3930aaf9c2a6ad00
dc45210cb2cc50bfefd8c21c865e6ee2163a022a
refs/heads/master
2023-05-26T06:07:25.943854
2021-06-06T20:02:13
2021-06-06T20:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def inorderTraversal(self, root): """ :type root: TreeNode :rtype: List[int] """ ...
[ "weikunhan@g.ucla.edu" ]
weikunhan@g.ucla.edu
5431afa52391c182e12a67c7c54126c7d4af8f92
a4191cc76c1d733c58bbb6692a75b0885bb74e13
/Localization-master/ros_package/artiv_mission_navi/setup.py
d14d209f0f60119fa66eef00b9d3895549ae9b23
[]
no_license
js7850/sonjunseong
69173d67e34ce2085d2e0617fbefa02cbc6676b5
0d8bb7c87fac07634abd4b002f1111108b42e939
refs/heads/main
2023-07-16T15:28:00.459349
2021-08-28T13:08:19
2021-08-28T13:08:19
400,545,944
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
from setuptools import setup import os from glob import glob package_name = 'artiv_mission_navi' setup( name=package_name, version='2.1.0', packages=[package_name], data_files=[ ('share/ament_index/resource_index/packages', ['resource/' + package_name]), ('share/' + package...
[ "noreply@github.com" ]
js7850.noreply@github.com
6ed9f74b9e7aef2912958980c4267ca2df7959a7
14b8cf0b67104b53534678b8c0e9525ace4714ff
/codeeval/permutations_and_order.py
95d98804fd28f18493b8af4e883fde21a0839d84
[]
no_license
bhfwg/py_learn
bb11898fd81f653643fc61949f43df751d317fcb
eca9da748bada67357961d1581d8ec890a3385f8
refs/heads/master
2020-03-27T15:01:25.881792
2018-06-05T01:36:26
2018-06-05T01:36:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
from sys import argv import itertools import string digits_upper_lower_letters = (string.digits + string.uppercase + string.lowercase) def order(one): temp = [digits_upper_lower_letters.index(i) for i in one] temp.sort() temp = [digits_upper_lower_letters[i] for i in temp] ...
[ "metathinkerk@gmail.com" ]
metathinkerk@gmail.com
cfd5716792bc0a83511c33e79041b0110c810050
7d096568677660790479d87c22b47aae838ef96b
/stubs/System/Diagnostics/__init___parts/TraceEventType.pyi
c15dfe7ece7212d38b1a064416b8e8c94bff9c81
[ "MIT" ]
permissive
NISystemsEngineering/rfmx-pythonnet
30adbdd5660b0d755957f35b68a4c2f60065800c
cd4f90a88a37ed043df880972cb55dfe18883bb7
refs/heads/master
2023-02-04T00:39:41.107043
2023-02-01T21:58:50
2023-02-01T21:58:50
191,603,578
7
5
MIT
2023-02-01T21:58:52
2019-06-12T16:02:32
Python
UTF-8
Python
false
false
1,184
pyi
class TraceEventType(Enum,IComparable,IFormattable,IConvertible): """ Identifies the type of event that has caused the trace. enum TraceEventType,values: Critical (1),Error (2),Information (8),Resume (2048),Start (256),Stop (512),Suspend (1024),Transfer (4096),Verbose (16),Warning (4) """ def __eq__(se...
[ "sean.moore@ni.com" ]
sean.moore@ni.com
58b13c4841623f6054d71a7ced8f2b2b6fe7df57
c028ce0ba5650b317cf5a8c07940fec09709ed0c
/PythonGuanabara/exers/listaEx/Mundo1/ex005.py
39cf4a4dc3ca2e1e9fa04189064425c611ea572f
[]
no_license
cairoas99/Projetos
c351da1ac3689da656e00cad4748ad31ff03737b
d402982f01d342fc317a4bb694b05924c28566f2
refs/heads/master
2020-03-20T01:50:06.211378
2018-08-06T13:49:08
2018-08-06T13:49:08
137,090,194
0
0
null
2018-06-21T16:38:42
2018-06-12T15:15:34
Python
UTF-8
Python
false
false
138
py
n = int(input('Digite um numero: ')) print('Analisando o numero {}, o seu antecessor é: {} e seu suscessor é: {}!'.format(n, n-1, n+1))
[ "cairo.a.santos@gmail.com" ]
cairo.a.santos@gmail.com
aeb1ddc15766e6596422a10ccc41f3fff5de977f
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/firmware/rtfirmware.py
a472df18a43db96cb95432247f3605940a6fca5d
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
4,531
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
777a0856437b1229b6d8fdfde6aa92e987886a8b
798b3b63df5a1eea8c4fc3ca1386ebd2721a4c6e
/readthedocs/search/signals.py
2d13655bd0db08d343fe5945293d30d0df7983dd
[ "MIT" ]
permissive
d0ugal/readthedocs.org
b5c6a9c956fccb5e13b7fe439c81625f83e99dd2
7d4d2eb9de40c2593a3933b33413e95c2eadb345
refs/heads/master
2023-04-10T17:10:23.907493
2015-06-24T11:22:46
2015-06-24T11:24:35
28,004,553
1
0
MIT
2023-04-04T00:25:48
2014-12-14T19:05:02
Python
UTF-8
Python
false
false
165
py
import django.dispatch before_project_search = django.dispatch.Signal(providing_args=["body"]) before_file_search = django.dispatch.Signal(providing_args=["body"])
[ "eric@ericholscher.com" ]
eric@ericholscher.com
96e9e6f6c515d8aacba2d4d61888fcc184efeb29
d305e9667f18127e4a1d4d65e5370cf60df30102
/model_zoo/official/cv/unet/train.py
dedc94899e3efb31a123523fd69c25e996cbd03f
[ "Apache-2.0", "MIT", "Libpng", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "IJG", "Zlib", "MPL-1.1", "BSD-3-Clause", "BSD-3-Clause-Open-MPI", "MPL-1.0", "GPL-2.0-only", "MPL-2.0", "BSL-1.0", "LicenseRef-scancode-unknow...
permissive
imyzx2017/mindspore_pcl
d8e5bd1f80458538d07ef0a8fc447b552bd87420
f548c9dae106879d1a83377dd06b10d96427fd2d
refs/heads/master
2023-01-13T22:28:42.064535
2020-11-18T11:15:41
2020-11-18T11:15:41
313,906,414
6
1
Apache-2.0
2020-11-18T11:25:08
2020-11-18T10:57:26
null
UTF-8
Python
false
false
4,500
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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 # # less required by applicable law or agreed to i...
[ "513344092@qq.com" ]
513344092@qq.com
e680bbee31179cb1018184d02eb1a44ae29b8876
1a14eaf4ced1717a75469f6c345a238aa8337809
/docs/conf.py
1d5707779e1ee0b343d3c95589cea4a76503b81c
[]
no_license
totalgood/guten
b78e5f496e667a4bf647591066e52697a5d73125
23b54870d0cc7d5ef8e89304a06d0a57beba8c27
refs/heads/master
2021-01-10T01:57:21.757916
2016-03-24T03:34:55
2016-03-24T03:34:55
52,243,010
0
0
null
null
null
null
UTF-8
Python
false
false
7,987
py
# -*- coding: utf-8 -*- # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import sys imp...
[ "hobsonlane@gmail.com" ]
hobsonlane@gmail.com
532259c5616fa1851ea0bd8d64c9a85e5b0ce049
e2c6f262bb4ea12e3adb4534b3d7e3451c416dc4
/slarson/pywikipedia/disambredir.py
45c0dd5621ae811119d496805d31e152e897179a
[ "MIT", "Python-2.0", "LicenseRef-scancode-mit-old-style" ]
permissive
slarson/ncmir-semantic-sandbox
c48e8c9dd5a6f5769d4422c80ca58c370786bfab
d6a02a5cf4415796f25d191d541ebaccaab53e7f
refs/heads/master
2016-09-06T04:10:21.136714
2009-03-31T09:49:59
2009-03-31T09:49:59
32,129,001
0
0
null
null
null
null
UTF-8
Python
false
false
6,019
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Goes through the disambiguation pages, checks their links, and asks for each link that goes to a redirect page whether it should be replaced. """ # # (C) André Engels, 2006 # # Distributed under the terms of the MIT license. # __version__='$Id: disambredir.py 5226 2008-04-...
[ "stephen.larson@933566eb-c141-0410-b91b-f3a7fcfc7766" ]
stephen.larson@933566eb-c141-0410-b91b-f3a7fcfc7766
9f58ba4ca3aec22aeee6a3cc2954c4099dce5c85
10717fe6f68c4ee9bcf27ee62e89581f4a030b8e
/extractor/expressen.py
64590e6a135bc56f4ee655ee7293cf8e85293275
[]
no_license
HagerHosny199/Testing_Project
ff7f9a54b7a213c9d9ade0c5192845c2a29adc8b
9bc170263e239cc24ccfb2aa33b9913ff799ffe9
refs/heads/master
2020-05-17T20:57:01.750640
2019-05-08T22:13:06
2019-05-08T22:13:06
183,954,736
0
0
null
null
null
null
UTF-8
Python
false
false
3,606
py
# coding: utf-8 from __future__ import unicode_literals import re from .common import InfoExtractor from utils import ( determine_ext, int_or_none, unescapeHTML, unified_timestamp, ) class ExpressenIE(InfoExtractor): _VALID_URL = r'''(?x) https?:// (?:...
[ "hagarhosny19@gmail.com" ]
hagarhosny19@gmail.com
6616ca20ad214198980ce7f49a4335544657ee91
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/KCB_YCHF/KCB_YCHF_MM/OMS/YCHF_KCBYCHF_OMS_207.py
98b8c676abbd544b5f8384dc9ba99bf537ec8b9f
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,491
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test//xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test//service") from ServiceConfig import * from ARmainservice import * from QueryStkPriceQty import * from log import * sys.path.append...
[ "418033945@qq.com" ]
418033945@qq.com
fe8876c5f2cddc4b126b020223fbc5f850d24229
be5a7fdfbe96e39b85d3fad6fcf1cc355ccb6d40
/maya-tools/alembic/alembicconvert.py
56f54240772f273cd76262f964ffbf930ee1896c
[]
no_license
byu-animation/papa-tools
275f82036cd5616810cc02dc2ba5a02b86cae89f
6f03867babdbd2a57b49f7ce53253a3a9389c17c
refs/heads/master
2016-09-05T23:09:03.772718
2015-11-10T17:31:31
2015-11-10T17:31:31
29,163,983
1
14
null
2015-11-10T17:31:31
2015-01-13T00:17:55
Mathematica
UTF-8
Python
false
false
1,673
py
from pymel.core import * import sys, os src_path = sys.argv[1] dest_path = sys.argv[2] print src_path print dest_path openFile(src_path, force=True) def exportTo(): parent = os.path.dir def get_root_nodes(): root_nodes = ls(assemblies=True) ignoreables = ["persp", "top", "front", "side"] returnables...
[ "jmoborn@yahoo.com" ]
jmoborn@yahoo.com
d52be445813cb1437d497191b3c9b7101216080c
e68a40e90c782edae9d8f89b827038cdc69933c4
/res_bw/scripts/common/lib/plat-irix5/cdplayer.py
1ee328c17e4008a29ef2876609e697752bd0abc6
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,869
py
# 2016.10.11 22:21:32 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-irix5/cdplayer.py from warnings import warnpy3k warnpy3k('the cdplayer module has been removed in Python 3.0', stacklevel=2) del warnpy3k cdplayerrc = '.cdplayerrc' class Cdplayer: def __init__(self, tracklist): ...
[ "info@webium.sk" ]
info@webium.sk
c596ad8c440f3d02e2fcec1ec50489e018a8d1e2
a3e33ab047fd3d928c74f363cb893f91b51687dd
/sh_t/__init__.py
4f26fcb4e4ee576338edbeb1137d7173cf6210e9
[]
no_license
faircloth-lab/sh_t
152624dd43958d113351ee7262c92f1ca2a153fc
bbac59f2209c3b89aa2d2c4e51fc74e8287de47e
refs/heads/master
2020-06-05T00:53:47.051376
2014-06-23T18:55:33
2014-06-23T18:55:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
#!/usr/bin/env python # encoding: utf-8 from __future__ import absolute_import import os import subprocess #import pdb # get a dynamic version number, if possible. if not running from git # should default to static version cwd = os.getcwd() try: location = os.path.split(os.path.abspath(__file__))[0] os.chd...
[ "brant@faircloth-lab.org" ]
brant@faircloth-lab.org
1c8a4b822a4fd03fdf85cff84cc33150bdeff895
afbb80ea3865142c0f6adcd49c8c7bbb2ac00592
/Exercise18.py
0785c66c1a3fa570511632150fd0d5b9910a2ff8
[]
no_license
ErenBtrk/PythonFunctionExercises
bdfa0ff026605b864bafe204d5d1aeeda6c25293
612458ae1bd6a7ac61edd33079bfe3d9e7bdfdd6
refs/heads/master
2023-04-28T17:18:40.538263
2021-05-24T23:38:08
2021-05-24T23:38:08
370,331,129
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
''' 18. Write a Python program to execute a string containing Python code. ''' mycode = 'print("hello world")' code = """ def mutiply(x,y): return x*y print('Multiply of 2 and 3 is: ',mutiply(2,3)) """ exec(mycode) exec(code)
[ "=" ]
=
b8579240332d315ed8e920f71858b18b155ff6a0
51d602577affebc8d91ffe234f926469d389dc75
/lis/exim/lab_import_lis/migrations/0004_auto__add_field_lisimporthistorymodel_revision__add_field_lisimporterr.py
196494158e7e92eb9dd897cf4a04af694b3ecc58
[]
no_license
botswana-harvard/lis
5ac491373f74eaf3855f173580b000539d7f4740
48dc601ae05e420e8f3ebb5ea398f44f02b2e5e7
refs/heads/master
2020-12-29T01:31:07.821681
2018-06-24T06:06:57
2018-06-24T06:06:57
35,820,860
0
0
null
null
null
null
UTF-8
Python
false
false
5,851
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'LisImportHistoryModel.revision' db.add_column(u'lab_import_lis_lisimporthistorymodel', 'revi...
[ "ckgathi@gmail.com" ]
ckgathi@gmail.com
f59e131cfed4a51a550c0f152f87c63bf4fed19e
699b72354843b308e8853bada86b40ebe2265e73
/sphotometry.py
8d989920802776b1bc5df4ce9a5578f9314cf931
[]
no_license
michaelJwilson/LBGSIMBA
42cb8b6772e3f58690cc559616aa774f1ad3893d
0a3a70d593484c42773bb55e0ca286e3c50e030f
refs/heads/master
2020-06-26T02:26:51.256420
2020-04-21T22:32:14
2020-04-21T22:32:14
199,497,148
0
0
null
null
null
null
UTF-8
Python
false
false
2,703
py
# Reads in the photometry files output by Loser (https://bitbucket.org/romeeld/closer/src/default/) # These are ASCII files, with suffix .app for apparent mags, .abs for absolute mags. import matplotlib; matplotlib.use('PDF') import sys import os import pandas as pd import pylab as plt import n...
[ "mjwilson@lbl.gov" ]
mjwilson@lbl.gov
555d4ad24b8b434ba84fb936b9c54fb7427fac04
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetcodePythonProject_with_solution/leetcode_0501_0550/LeetCode502_IPO.py
1694317c89e3ec64ad81b3f7928020b39f10f17e
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
701
py
''' Created on May 10, 2017 @author: MT ''' c_ Solution(o.. ___ findMaximizedCapital k, W, Profits, Capital """ :type k: int :type W: int :type Profits: List[int] :type Capital: List[int] :rtype: int """ _______ h__ heapCap # list ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
d567d36c030a98bbf8e774f252068dbad3ddf6f0
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/AJGqpNL2yAyhbdpvB_3.py
31d0383df958559fe83e6a68afaae19ee2cfa065
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
def adc(value): if value == 0: return 0 elif value == 500: return 2.44 elif value == 400: return 1.96 elif value == 850: return 4.15 elif value == 1023: return 5
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
24982aebc644459d7bdc8365055dc50d3e66462b
6ab3d02c6b5426cd122b3d3c7b31faee7ea917d4
/min_element_stack.py
95108df2dd00c7ba5aa2a98971b50ad498bd1a73
[]
no_license
AishwaryalakshmiSureshKumar/DS-Algo
e54967ed24c641059fe15b286359f1b71141eeff
a624b29182c92b5fa8017aae597eb4ad2475deae
refs/heads/main
2023-04-21T17:17:10.342833
2021-04-18T18:03:57
2021-04-18T18:03:57
356,888,335
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
class Stack: def __init__(self): self.stack = [] def push(self, dataVal): self.stack.append(dataVal) def pop(self): if len(self.stack)>0: return self.stack.pop() print('-1', end=' ') def getMin(self): if len(self.stack)==0: ...
[ "noreply@github.com" ]
AishwaryalakshmiSureshKumar.noreply@github.com
0c14fdf117d15df51f9505dbb5cac1ec109c970a
b8fb00ee277478c368f5b7512bfd265f3ecea356
/python/method_overloading/venv/Scripts/easy_install-script.py
f8e3fd0eb0d625d509bc39549e92a3390ba226c7
[]
no_license
DharmilShahJBSPL/DharmilShah
574477c38a8b76616618130f3b0679a23a9c1af8
0d197189c8dcf794d38145e8f1edba6766b02df9
refs/heads/master
2021-07-07T11:47:03.770219
2019-01-19T13:13:38
2019-01-19T13:13:38
152,415,037
0
1
null
2020-07-20T10:44:20
2018-10-10T11:48:36
Python
UTF-8
Python
false
false
453
py
#!E:\dharmil\python_task\method_overloading\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?...
[ "dharmil@jbspl.com" ]
dharmil@jbspl.com
1c45e364230a924bf8fb24ab8817230703120875
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/__OLD_CODE_STORAGE/machinelearningfromsentdex/ml18-k_nearest_neighbors.py
4ab6ddd49847474e307940c7b5373e0bb28ad111
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
1,883
py
from math import sqrt import numpy as np import warnings from collections import Counter import pandas as pd import random def k_nearest_neighbors(data, predict, k=3): if len(data) >= k: warnings.warn('K is set to value less than total voting groups!') distances = [] for group in data:...
[ "geemguang@gmail.com" ]
geemguang@gmail.com
1a3033ee517e1add3c40890d3fa11630b836f88b
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/E/elisabettaferrari87gmailcom/stopg8.py
e72444074fc3080495163eb6c8d450e8b1b793ca
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,496
py
################################################################################### # Twitter API scraper - designed to be forked and used for more interesting things ################################################################################### import scraperwiki import simplejson import urllib2 # Get results f...
[ "pallih@kaninka.net" ]
pallih@kaninka.net