hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
876c428595e50c778e460908d446ae09662058ca
528
py
Python
src/data/1135.py
NULLCT/LOMC
79a16474a8f21310e0fb47e536d527dd5dc6d655
[ "MIT" ]
null
null
null
src/data/1135.py
NULLCT/LOMC
79a16474a8f21310e0fb47e536d527dd5dc6d655
[ "MIT" ]
null
null
null
src/data/1135.py
NULLCT/LOMC
79a16474a8f21310e0fb47e536d527dd5dc6d655
[ "MIT" ]
null
null
null
from sys import setrecursionlimit setrecursionlimit(10**7) N, Q = [int(x) for x in input().split()] to = [[] for _ in range(N)] for _ in range(N - 1): a, b = [int(x) - 1 for x in input().split()] to[a].append(b) to[b].append(a) depth = [-1] * N dfs(0, -1, 0) for _ in range(Q): c, d = [int(x) - 1 ...
18.857143
48
0.515152
876d3c5c12899518f4cf30525e0379bbda345c36
35,248
py
Python
src/import_dbf/migrations/0001_initial.py
iplweb/django-bpp
85f183a99d8d5027ae4772efac1e4a9f21675849
[ "BSD-3-Clause" ]
1
2017-04-27T19:50:02.000Z
2017-04-27T19:50:02.000Z
src/import_dbf/migrations/0001_initial.py
mpasternak/django-bpp
434338821d5ad1aaee598f6327151aba0af66f5e
[ "BSD-3-Clause" ]
41
2019-11-07T00:07:02.000Z
2022-02-27T22:09:39.000Z
src/import_dbf/migrations/0001_initial.py
iplweb/bpp
f027415cc3faf1ca79082bf7bacd4be35b1a6fdf
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.13 on 2019-11-03 14:05 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion
47.06008
154
0.513958
876d942d72496d54026d0821b20f85c55eb1512f
1,966
py
Python
examples/ssh_to_appliance.py
grelleum/SteelConnect
5bf02814361adb3db78ad1dfdaf51dee35c01dd1
[ "MIT" ]
9
2018-03-23T13:52:16.000Z
2020-05-13T03:06:43.000Z
examples/ssh_to_appliance.py
grelleum/SteelConnect
5bf02814361adb3db78ad1dfdaf51dee35c01dd1
[ "MIT" ]
3
2018-05-31T12:45:03.000Z
2020-08-31T12:59:17.000Z
examples/ssh_to_appliance.py
grelleum/SteelConnect
5bf02814361adb3db78ad1dfdaf51dee35c01dd1
[ "MIT" ]
4
2018-11-21T14:02:04.000Z
2021-07-29T17:28:27.000Z
#!/usr/bin/env python3 # coding: utf-8 # ______ __ # / __/ /____ ___ / / # ____\ \/ __/ -_) -_) / __ _ # / _____/\__/\__/\__/_/_ ____/ /_(_)__ ___ # / /__/ _ \/ _ \/ _ \/ -_) __/ __/ / _ \/ _ \ # \___/\___/_//_/_//_/\__/\__/\__/_/\___/_//_/ # # SteelConnection # Simplify access t...
23.97561
70
0.615972
8770580ce533e32ec2aa655344a49621da5aa45b
1,620
py
Python
habittest.py
Stephenjcl/GalaxyMapGeneration
8285405eff691f43ac548af4ba114d9801804bed
[ "MIT" ]
null
null
null
habittest.py
Stephenjcl/GalaxyMapGeneration
8285405eff691f43ac548af4ba114d9801804bed
[ "MIT" ]
null
null
null
habittest.py
Stephenjcl/GalaxyMapGeneration
8285405eff691f43ac548af4ba114d9801804bed
[ "MIT" ]
null
null
null
#Viability test from garnets import generate_stellar_system, random_star from enviroment import BreathabilityPhrase breathableair = False moon = False attempts = 0 # while breathableair is False or attempts <= 35000: # try: # stellar_system = generate_stellar_system(random_star()) # for i in range...
36
164
0.654938
87718ba5182046e1eaa2f1525372eec9456c7f7d
625
py
Python
app/account/urls.py
mohit4/BucketCrab
7ff5f120e5a0e103f47c689c723702737c2df3da
[ "Apache-2.0" ]
null
null
null
app/account/urls.py
mohit4/BucketCrab
7ff5f120e5a0e103f47c689c723702737c2df3da
[ "Apache-2.0" ]
null
null
null
app/account/urls.py
mohit4/BucketCrab
7ff5f120e5a0e103f47c689c723702737c2df3da
[ "Apache-2.0" ]
null
null
null
from django.contrib.auth.views import LogoutView from django.urls import path from django.contrib.auth.views import LogoutView from .views import UserRegisterView, UserLoginView, ProfileDetailView, ProfileUpdateView app_name = 'account' urlpatterns = [ path('', UserLoginView.as_view(), name='login'), path('a...
41.666667
89
0.7408
8772fcb6548267d8d0141e21abb8c45135824111
68
py
Python
premailer/__init__.py
locationlabs/premailer
85b0a65d1e30fa8b3c816a7d65e6efabe7d0a243
[ "BSD-3-Clause" ]
null
null
null
premailer/__init__.py
locationlabs/premailer
85b0a65d1e30fa8b3c816a7d65e6efabe7d0a243
[ "BSD-3-Clause" ]
null
null
null
premailer/__init__.py
locationlabs/premailer
85b0a65d1e30fa8b3c816a7d65e6efabe7d0a243
[ "BSD-3-Clause" ]
1
2021-09-08T09:52:55.000Z
2021-09-08T09:52:55.000Z
__version__ = '1.12.1-LL' __build__ = '' # set by the build server
22.666667
41
0.661765
877483323b1e65dff5e273beb50d00ede8221e98
531
py
Python
bootstrap.py
mikesname/ocropodium
a3e379cca38dc1999349bf4e9b5608e81dc54b10
[ "Apache-2.0" ]
1
2018-04-18T20:39:02.000Z
2018-04-18T20:39:02.000Z
bootstrap.py
mikesname/ocropodium
a3e379cca38dc1999349bf4e9b5608e81dc54b10
[ "Apache-2.0" ]
null
null
null
bootstrap.py
mikesname/ocropodium
a3e379cca38dc1999349bf4e9b5608e81dc54b10
[ "Apache-2.0" ]
null
null
null
""" Virtualenv bootstrap script, borrowed from: http://www.caktusgroup.com/blog/2010/04/22/basic-django-deployment-with-virtualenv-fabric-pip-and-rsync/ """ import os import subprocess if "VIRTUAL_ENV" not in os.environ: sys.stderr.write("$VIRTUAL_ENV not found.\n\n") parser.print_usage() sys.exit(-1) virt...
33.1875
104
0.709981
87794818e80477062aaa5b45ac62822ed7360eae
10,145
py
Python
owllook/fetcher/cache.py
5665750/owllook
3bf0a3b44abde3fa7ef81375983fd2721574241a
[ "Apache-2.0" ]
1
2018-09-14T11:12:21.000Z
2018-09-14T11:12:21.000Z
owllook/fetcher/cache.py
5665750/owllook
3bf0a3b44abde3fa7ef81375983fd2721574241a
[ "Apache-2.0" ]
null
null
null
owllook/fetcher/cache.py
5665750/owllook
3bf0a3b44abde3fa7ef81375983fd2721574241a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Created by howie.hu. """ import re import aiohttp import async_timeout from bs4 import BeautifulSoup from aiocache.serializers import PickleSerializer,JsonSerializer from urllib.parse import urlparse, parse_qs, urljoin from owllook.database.mongodb import MotorBase from owllook.fetcher.de...
45.493274
166
0.530409
5e3e80878441d234675aaeb1a994f2e6b44649b7
278
py
Python
asnets/experiments/actprop_2l_h_add_pe.py
xf1590281/ASNets
5f4b29fb62a5e72004b813228442d06246c9ec33
[ "MIT" ]
21
2017-12-05T13:27:36.000Z
2021-11-16T20:32:33.000Z
asnets/experiments/actprop_2l_h_add_pe.py
xf1590281/ASNets
5f4b29fb62a5e72004b813228442d06246c9ec33
[ "MIT" ]
2
2018-07-16T12:15:46.000Z
2020-10-31T00:02:49.000Z
asnets/experiments/actprop_2l_h_add_pe.py
xf1590281/ASNets
5f4b29fb62a5e72004b813228442d06246c9ec33
[ "MIT" ]
7
2018-03-19T13:45:13.000Z
2022-03-24T07:52:20.000Z
"""A two-layer configuration for the action/proposition network w/ h-add teacher & probabilistic evaluation (hence "_pe" at end of name).""" # use defaults from actprop_2l from .actprop_2l_h_add import * # noqa F401 # stochastic evaluation! DET_EVAL = False EVAL_ROUNDS = 30
27.8
72
0.758993
5e3eb530ea0a55916e76380b1a4246e65ea40c26
4,368
py
Python
tests/conftest.py
catalystneuro/HDF5Zarr
ac96afda37e079086f264dcc0d0230b7cf9d3397
[ "MIT" ]
7
2020-06-25T16:49:52.000Z
2022-03-28T21:17:34.000Z
tests/conftest.py
catalystneuro/HDF5Zarr
ac96afda37e079086f264dcc0d0230b7cf9d3397
[ "MIT" ]
16
2020-07-09T20:58:15.000Z
2021-10-04T13:30:39.000Z
tests/conftest.py
catalystneuro/HDF5Zarr
ac96afda37e079086f264dcc0d0230b7cf9d3397
[ "MIT" ]
3
2020-06-24T18:19:37.000Z
2020-11-12T19:04:59.000Z
import pytest import os from shutil import copy from test_hdf5zarr import HDF5ZarrBase
34.944
111
0.664606
5e3f985537a9efba4ea48038ce1efeffe50b06d9
218
py
Python
ksj.py
itspuneet/itspuneet
d44f78afcff275aa56f03bba738ac3e4f2c30843
[ "bzip2-1.0.6" ]
null
null
null
ksj.py
itspuneet/itspuneet
d44f78afcff275aa56f03bba738ac3e4f2c30843
[ "bzip2-1.0.6" ]
null
null
null
ksj.py
itspuneet/itspuneet
d44f78afcff275aa56f03bba738ac3e4f2c30843
[ "bzip2-1.0.6" ]
null
null
null
a=list(input().split(',')) st,num=[],[] for i in a: s1,n=i.split(':') st.append(s1) num.append(n) print(st) print(num) for i in range(len(num)): for j in range(i): print(st[j])
16.769231
27
0.495413
5e4091a3f85cb6be76f428d3575ec7a731ef06d0
599
py
Python
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial3_Solution_a0b79725.py
NinelK/course-content
317b4cf153a89afbddbd194e7fbb15c91588b3c5
[ "CC-BY-4.0" ]
26
2020-07-01T20:38:44.000Z
2021-06-20T06:37:27.000Z
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial3_Solution_a0b79725.py
Andy-Dufrein/course-content
977f4ddaaa4f33746672930ae01d5ea592dbbba0
[ "CC-BY-4.0" ]
3
2020-06-23T03:46:36.000Z
2020-07-07T05:26:01.000Z
tutorials/W3D1_RealNeurons/solutions/W3D1_Tutorial3_Solution_a0b79725.py
Andy-Dufrein/course-content
977f4ddaaa4f33746672930ae01d5ea592dbbba0
[ "CC-BY-4.0" ]
16
2020-07-06T06:48:02.000Z
2021-07-30T08:18:52.000Z
""" Discussion: Because we have a facilitatory synapses, as the input rate increases synaptic resources released per spike also increase. Therefore, we expect that the synaptic conductance will increase with input rate. However, total synaptic resources are finite. And they recover in a finite time. Therefore, at...
49.916667
87
0.799666
5e41eafa7384a90d2c56bfa80b6e7cf49f5eed89
3,063
py
Python
Gathered CTF writeups/2018-09-01-tokyowesterns/crypto_mixed/MTRecover.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:00:41.000Z
2022-03-27T06:00:41.000Z
Gathered CTF writeups/2018-09-01-tokyowesterns/crypto_mixed/MTRecover.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
null
null
null
Gathered CTF writeups/2018-09-01-tokyowesterns/crypto_mixed/MTRecover.py
mihaid-b/CyberSakura
f60e6b6bfd6898c69b84424b080090ae98f8076c
[ "MIT" ]
1
2022-03-27T06:01:42.000Z
2022-03-27T06:01:42.000Z
import random def test_PythonMT19937Recover(): """Just a testcase to ensure correctness""" mtb = MT19937Recover() r1 = random.Random(0x31337) # just some discarded random numbers to move internal state forward [r1.getrandbits(32) for _ in range(1234)] # the actual leak of 1000 values n...
29.451923
79
0.584721
5e4237ad4f0b1188b4fa0253c5bdb69a364cb5fe
5,134
py
Python
src/oci/ocvp/models/hcx_license_summary.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/ocvp/models/hcx_license_summary.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/ocvp/models/hcx_license_summary.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
32.700637
245
0.65485
5e424c562fb15f5458ab49e2921617b64a604404
804
py
Python
nlpaug/model/audio/normalization.py
techthiyanes/nlpaug
bb2fc63349bf949f6f6047ff447a0efb16983c0a
[ "MIT" ]
3,121
2019-04-21T07:02:47.000Z
2022-03-31T22:17:36.000Z
nlpaug/model/audio/normalization.py
techthiyanes/nlpaug
bb2fc63349bf949f6f6047ff447a0efb16983c0a
[ "MIT" ]
186
2019-05-31T18:18:13.000Z
2022-03-28T10:11:05.000Z
nlpaug/model/audio/normalization.py
techthiyanes/nlpaug
bb2fc63349bf949f6f6047ff447a0efb16983c0a
[ "MIT" ]
371
2019-03-17T17:59:56.000Z
2022-03-31T01:45:15.000Z
import numpy as np from nlpaug.model.audio import Audio
25.125
57
0.696517
5e4276489a16e221d1e19c999e484afe41484509
836
py
Python
most_valuable_features.py
littlepretty/NetLearner
767874c2161a668c10f970ab63337c48ae1fac25
[ "MIT" ]
22
2018-01-25T19:17:13.000Z
2022-03-24T17:22:02.000Z
most_valuable_features.py
JinLabIIT/NetLearner
767874c2161a668c10f970ab63337c48ae1fac25
[ "MIT" ]
4
2018-05-01T20:32:57.000Z
2020-11-17T12:51:21.000Z
most_valuable_features.py
JinLabIIT/NetLearner
767874c2161a668c10f970ab63337c48ae1fac25
[ "MIT" ]
7
2018-01-25T19:17:15.000Z
2021-07-16T11:52:33.000Z
from __future__ import print_function, division import numpy as np weights = np.transpose(np.load('w0.npy')) print(weights.shape) feature_names = ["" for i in range(125)] prev = 0 prev_name = '' for line in open('feature_names.txt'): if line.startswith('#'): continue words = line.split() index = ...
24.588235
66
0.624402
5e43bc1d2c1ec7458254bf69c84dd1e4e095081a
11,570
py
Python
auscophub/geomutils.py
CopernicusAustralasia/auscophub
d7e2974898bb3ee9b262281fbd663326c1c48d05
[ "MIT" ]
4
2020-01-25T02:01:49.000Z
2021-06-21T08:38:18.000Z
auscophub/geomutils.py
CopernicusAustralasia/auscophub
d7e2974898bb3ee9b262281fbd663326c1c48d05
[ "MIT" ]
null
null
null
auscophub/geomutils.py
CopernicusAustralasia/auscophub
d7e2974898bb3ee9b262281fbd663326c1c48d05
[ "MIT" ]
null
null
null
""" Some utility functions for handling the geometries given with Sentinel files. ESA have done a fairly minimal job with their footprint geometries. The routines in this file are mostly aimed at providing a bit more support beyond that, mostly for things like crossing the International Date Line. It is assumed tha...
37.687296
114
0.651426
5e43ed9b4a92075c599548b4b2abcf77cf992e1a
780
py
Python
visualize.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
2
2017-03-09T21:42:32.000Z
2018-07-13T02:04:15.000Z
visualize.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
null
null
null
visualize.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
2
2017-03-09T21:42:35.000Z
2018-07-13T02:04:17.000Z
import os, json, matplotlib matplotlib.use('Agg') import seaborn as sns import matplotlib.pyplot as plt import numpy as np import pandas as pd READ = 'rb' directory = json.load(open('directory.json',READ)) filename = os.path.join(directory['data-prefix'],'test-similarity-matrix.npy') data = np.load(filename).a...
28.888889
80
0.732051
5e46f80a0abf6d46a670b3af094045db0fa09d23
188
py
Python
packages/mono-basic.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
packages/mono-basic.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
packages/mono-basic.py
bratsche/bockbuild
04d583550aa8e067f84dcc081be61fd1a78d71e3
[ "MIT" ]
null
null
null
GitHubTarballPackage ('mono', 'mono-basic', '3.0', 'a74642af7f72d1012c87d82d7a12ac04a17858d5', configure = './configure --prefix="%{prefix}"', override_properties = { 'make': 'make' } )
37.6
94
0.702128
5e4786a997c2fac7b6fbffb083727c67cb5b124a
628
py
Python
idadesRenovacao/main.py
felipefreitassilva/Smaller-Projects
62b28cad7bcfe71ca2e98151d650bef1bb91c8ef
[ "MIT" ]
null
null
null
idadesRenovacao/main.py
felipefreitassilva/Smaller-Projects
62b28cad7bcfe71ca2e98151d650bef1bb91c8ef
[ "MIT" ]
null
null
null
idadesRenovacao/main.py
felipefreitassilva/Smaller-Projects
62b28cad7bcfe71ca2e98151d650bef1bb91c8ef
[ "MIT" ]
null
null
null
import sys main()
22.428571
95
0.538217
5e47a8df66bb852c1c0f2a85665d80d87b1c508c
497
py
Python
volume/src/backend/db_create.py
sunokpa/st-kilda-pier
45d838a9f1dc1132bab858c58e2716028ce9abe5
[ "Apache-2.0" ]
1
2018-08-03T08:17:25.000Z
2018-08-03T08:17:25.000Z
volume/src/backend/db_create.py
sunokpa/st-kilda-pier
45d838a9f1dc1132bab858c58e2716028ce9abe5
[ "Apache-2.0" ]
null
null
null
volume/src/backend/db_create.py
sunokpa/st-kilda-pier
45d838a9f1dc1132bab858c58e2716028ce9abe5
[ "Apache-2.0" ]
null
null
null
from run import db import sqlalchemy import os, uuid, base62 DB_HOST = "mysql-skp" DB_USER = "root" DB_PW = os.environ['MYSQL_ROOT_PASSWORD'] DB_NAME = "flask_skp" DB_ENGINE_URI = "mysql://{}:{}@{}".format(DB_USER, DB_PW, DB_HOST) engine = sqlalchemy.create_engine(DB_ENGINE_URI) try: engine.execute("DROP DATABA...
24.85
84
0.716298
5e485cebfd327e1169b516d34ed55b666cfea897
2,007
py
Python
orcid_oauth/tests/views/test_user_complete_account_view.py
betagouv/euphrosyne
a67857a8716b5060cd9a2c6fa5f3d45c3fff435a
[ "MIT" ]
1
2022-02-21T19:46:20.000Z
2022-02-21T19:46:20.000Z
orcid_oauth/tests/views/test_user_complete_account_view.py
lajarre/euphrosyne
14050097774b088e7345f9488ce74b205f7bd338
[ "MIT" ]
37
2021-10-18T18:33:26.000Z
2022-03-31T12:38:38.000Z
orcid_oauth/tests/views/test_user_complete_account_view.py
lajarre/euphrosyne
14050097774b088e7345f9488ce74b205f7bd338
[ "MIT" ]
2
2022-03-03T15:41:30.000Z
2022-03-07T14:20:26.000Z
from http import HTTPStatus from unittest.mock import patch from django.test.testcases import TestCase from django.urls import reverse from euphro_auth.models import User from ...views import UserCompleteAccountView
28.671429
86
0.54858
5e48a78ac36086c3921b0385167141ef6a64eaa7
5,255
py
Python
src/conductor/task_types/base.py
geoffxy/conductor
d33c22031674f9f9e09ac34c0083f26c2daa24e5
[ "Apache-2.0" ]
null
null
null
src/conductor/task_types/base.py
geoffxy/conductor
d33c22031674f9f9e09ac34c0083f26c2daa24e5
[ "Apache-2.0" ]
19
2021-03-15T15:31:28.000Z
2022-03-11T15:33:17.000Z
src/conductor/task_types/base.py
geoffxy/conductor
d33c22031674f9f9e09ac34c0083f26c2daa24e5
[ "Apache-2.0" ]
null
null
null
import pathlib from typing import Callable, Dict, Sequence, Optional import conductor.context as c # pylint: disable=unused-import import conductor.filename as f from conductor.task_identifier import TaskIdentifier from conductor.utils.output_handler import OutputHandler # pylint: disable=unused-argument de...
32.438272
88
0.627022
5e4b8b3b427389c0e078fc9fdbbb5a626515d43d
585
py
Python
blog/migrations/0008_auto_20190107_1755.py
dkowsikpai/librolet
7148670655157ca5f1ad6853039c9ec00e37adef
[ "MIT" ]
null
null
null
blog/migrations/0008_auto_20190107_1755.py
dkowsikpai/librolet
7148670655157ca5f1ad6853039c9ec00e37adef
[ "MIT" ]
null
null
null
blog/migrations/0008_auto_20190107_1755.py
dkowsikpai/librolet
7148670655157ca5f1ad6853039c9ec00e37adef
[ "MIT" ]
null
null
null
# Generated by Django 2.1.3 on 2019-01-07 12:25 from django.db import migrations, models
22.5
82
0.558974
5e4b974cbcc50aa0a16e8a0749457faf0c6c675d
2,624
py
Python
lintcode/0521-remove-duplicate-numbers-in-array.py
runzezhang/Data-Structure-and-Algorithm-Notebook
15a94d7df2ac1d2ad081004d61433324654085e5
[ "Apache-2.0" ]
1
2020-07-24T03:37:05.000Z
2020-07-24T03:37:05.000Z
lintcode/0521-remove-duplicate-numbers-in-array.py
runzezhang/Code-NoteBook
15a94d7df2ac1d2ad081004d61433324654085e5
[ "Apache-2.0" ]
null
null
null
lintcode/0521-remove-duplicate-numbers-in-array.py
runzezhang/Code-NoteBook
15a94d7df2ac1d2ad081004d61433324654085e5
[ "Apache-2.0" ]
null
null
null
# Description # # English # Given an array of integers, remove the duplicate numbers in it. # You should: # Do it in place in the array. # Move the unique numbers to the front of the array. # Return the total number of the unique numbers. # You don't need to keep the original order of the integers. # Have you met t...
24.754717
112
0.58689
5e4d4c75d1c04f3087dc7de35d8f22acd91277a6
16,962
py
Python
GCE/data_generation.py
FloList/GCE_NN
3f6dd059fd366164a6fcda07643a9dae970a6aba
[ "MIT" ]
6
2020-11-24T01:18:01.000Z
2021-12-20T18:34:28.000Z
GCE/data_generation.py
FloList/GCE_NN
3f6dd059fd366164a6fcda07643a9dae970a6aba
[ "MIT" ]
null
null
null
GCE/data_generation.py
FloList/GCE_NN
3f6dd059fd366164a6fcda07643a9dae970a6aba
[ "MIT" ]
null
null
null
""" Generate and save maps for each template. """ import random import numpy as np from scipy import stats import healpy as hp import matplotlib.pyplot as plt import os import pickle from .data_utils import get_fermi_pdf_sampler, masked_to_full from .utils import multipage, auto_garbage_collect import ray import time i...
49.741935
120
0.578116
5e4eb52ef7b6c379dfa8984ef60db75a5c9a0675
305
py
Python
test/test_torch.py
li012589/tf_gpu_manager
ed42d74f40cdc4b2463f3b7535cfe0f43bea85ae
[ "MIT" ]
1
2021-07-15T03:13:10.000Z
2021-07-15T03:13:10.000Z
test/test_torch.py
li012589/tf_gpu_manager
ed42d74f40cdc4b2463f3b7535cfe0f43bea85ae
[ "MIT" ]
null
null
null
test/test_torch.py
li012589/tf_gpu_manager
ed42d74f40cdc4b2463f3b7535cfe0f43bea85ae
[ "MIT" ]
null
null
null
import os import sys sys.path.append(os.getcwd()) import torch from manager_torch import torchGPUmanager if __name__ == "__main__": test_tf_auto_choice()
17.941176
41
0.655738
5e50bf0d1bf0fba6774e20e98e7e1b76cebe7261
299
py
Python
100_days_challenge/days_1-5/day2_practice_bmi_calculator.py
AJP-432/python_100days_course
36546da5f25d35b02462f33d0ef1e80aedbc5a31
[ "MIT" ]
null
null
null
100_days_challenge/days_1-5/day2_practice_bmi_calculator.py
AJP-432/python_100days_course
36546da5f25d35b02462f33d0ef1e80aedbc5a31
[ "MIT" ]
null
null
null
100_days_challenge/days_1-5/day2_practice_bmi_calculator.py
AJP-432/python_100days_course
36546da5f25d35b02462f33d0ef1e80aedbc5a31
[ "MIT" ]
null
null
null
# Asking for height and weight input height = float(input("What is your height in meters: ")) weight = float(input("What is your weight in kilograms: ")) # Calculating BMI (formula is weight/height^2) bmi = str(round(weight/(height ** 2), 2)) # Printing BMI print("Your BMI is " + bmi)
27.181818
60
0.672241
5e5108f4c55483ab76fee5f283b0faab4f8f05ad
11,068
py
Python
slack-to-lake/function_ingest/main.py
data-learning-guild/slack-data-pipeline
fad9639370f6524f9891c9bf8c201df52700fd87
[ "Apache-2.0" ]
null
null
null
slack-to-lake/function_ingest/main.py
data-learning-guild/slack-data-pipeline
fad9639370f6524f9891c9bf8c201df52700fd87
[ "Apache-2.0" ]
null
null
null
slack-to-lake/function_ingest/main.py
data-learning-guild/slack-data-pipeline
fad9639370f6524f9891c9bf8c201df52700fd87
[ "Apache-2.0" ]
null
null
null
import datetime import io import json import jsonlines import logging import os import pytz import shutil import sys import tempfile from flask import Request from google.cloud import exceptions from google.cloud import storage from google.cloud import pubsub_v1 from google.api_core.exceptions import AlreadyExists from...
36.649007
131
0.641218
5e5191a2a9158007b076b13f9d3b81913eb8cd64
1,400
py
Python
posthog/settings/overrides.py
msnitish/posthog
cb86113f568e72eedcb64b5fd00c313d21e72f90
[ "MIT" ]
null
null
null
posthog/settings/overrides.py
msnitish/posthog
cb86113f568e72eedcb64b5fd00c313d21e72f90
[ "MIT" ]
null
null
null
posthog/settings/overrides.py
msnitish/posthog
cb86113f568e72eedcb64b5fd00c313d21e72f90
[ "MIT" ]
null
null
null
# Imported before anything else to overwrite env vars! import os import sys """ There are several options: 1) running in pycharm second argument is "test" 2) running pytest at the CLI first argument is the path to pytest and ends pytest 3) running pytest using the script at /bin/tests first ar...
35.897436
113
0.725
5e51a18b38b505d030b71b633915de41ef88b7b3
2,295
py
Python
BleVibrationDevice.py
Suitceyes-Project-Code/Vibration-Pattern-Player
44d8bac61eed0ee7712eb0299d0d7029f688fe24
[ "MIT" ]
null
null
null
BleVibrationDevice.py
Suitceyes-Project-Code/Vibration-Pattern-Player
44d8bac61eed0ee7712eb0299d0d7029f688fe24
[ "MIT" ]
null
null
null
BleVibrationDevice.py
Suitceyes-Project-Code/Vibration-Pattern-Player
44d8bac61eed0ee7712eb0299d0d7029f688fe24
[ "MIT" ]
1
2021-10-04T14:26:49.000Z
2021-10-04T14:26:49.000Z
from bluepy.btle import UUID, Peripheral from VestDeviceBase import VestDevice
35.859375
137
0.576035
5e51afece372e488dfa028f615b0d339a5abdfee
448
py
Python
src/maintenance/pushover.py
dragonee/maintenance
2e922eecbf1fc0f9b9350595739e4176088612b6
[ "MIT" ]
null
null
null
src/maintenance/pushover.py
dragonee/maintenance
2e922eecbf1fc0f9b9350595739e4176088612b6
[ "MIT" ]
15
2020-03-30T21:50:45.000Z
2020-04-13T16:16:46.000Z
src/maintenance/pushover.py
dragonee/maintenance
2e922eecbf1fc0f9b9350595739e4176088612b6
[ "MIT" ]
null
null
null
import requests from .config.pushover import PushoverConfigFile
18.666667
51
0.591518
5e51e805cf824cf1b86e0fa1bb98ab1249123651
10,667
py
Python
app.py
zalando-incubator/github-user-team-sync
3d62889aeb71224a01b9b5cd7206723c5a9fce7b
[ "Apache-2.0" ]
5
2017-09-22T10:19:50.000Z
2021-07-09T23:43:21.000Z
app.py
zalando-incubator/github-user-team-sync
3d62889aeb71224a01b9b5cd7206723c5a9fce7b
[ "Apache-2.0" ]
2
2017-09-21T19:16:49.000Z
2018-05-15T20:14:48.000Z
app.py
zalando-incubator/github-user-team-sync
3d62889aeb71224a01b9b5cd7206723c5a9fce7b
[ "Apache-2.0" ]
1
2021-07-09T23:43:24.000Z
2021-07-09T23:43:24.000Z
#!/usr/bin/env python3 import collections import itertools import json import logging import os import requests import time import zign.api from unittest.mock import MagicMock ALL_ORGANIZATION_MEMBERS_TEAM = 'All Organization Members' github_base_url = "https://api.github.com/" logger = logging.getLogger('app') s...
37.69258
166
0.628949
5e52602f9029d86b54653b2b0d08d501fe9bf395
9,964
py
Python
corehq/ex-submodules/casexml/apps/case/xform.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
null
null
null
corehq/ex-submodules/casexml/apps/case/xform.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
null
null
null
corehq/ex-submodules/casexml/apps/case/xform.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
null
null
null
from collections import namedtuple from itertools import groupby import itertools from django.db.models import Q from casexml.apps.case.const import UNOWNED_EXTENSION_OWNER_ID, CASE_INDEX_EXTENSION from casexml.apps.case.signals import cases_received from casexml.apps.case.util import validate_phone_datetime, prune_pr...
35.459075
107
0.659173
5e537b9860dfad50f4d8171a674eee0b9fcad51a
1,715
py
Python
src/adverts/migrations/0002_auto_20150809_2147.py
alekseyr/pyjobs
9ef6dd8edaba7eb568fcc7d7ee6723ac9c5eb0ff
[ "MIT" ]
1
2015-11-21T19:21:23.000Z
2015-11-21T19:21:23.000Z
src/adverts/migrations/0002_auto_20150809_2147.py
pyshop/pyjobs
9ef6dd8edaba7eb568fcc7d7ee6723ac9c5eb0ff
[ "MIT" ]
4
2015-08-15T19:17:16.000Z
2016-03-09T11:46:56.000Z
src/adverts/migrations/0002_auto_20150809_2147.py
pyshop/pyjobs
9ef6dd8edaba7eb568fcc7d7ee6723ac9c5eb0ff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings
34.3
140
0.601749
5e53e4790d5e3d2607bf9ed89a38c5fb7cca5a0c
1,999
py
Python
src/data_generators/pricing_generator.py
pasin30055/planning-evaluation-framework
ba5fc3b553fee0b4f5beb50076ecaa7b634dac23
[ "Apache-2.0" ]
null
null
null
src/data_generators/pricing_generator.py
pasin30055/planning-evaluation-framework
ba5fc3b553fee0b4f5beb50076ecaa7b634dac23
[ "Apache-2.0" ]
null
null
null
src/data_generators/pricing_generator.py
pasin30055/planning-evaluation-framework
ba5fc3b553fee0b4f5beb50076ecaa7b634dac23
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The Private Cardinality Estimation Framework 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 b...
39.196078
81
0.711356
5e5718c5bb0be8a5d41426bf028865f26babcb55
1,780
py
Python
flow_py_sdk/templates.py
peeksocial/flow-py-sdk
60b8e1f09ad4c28f8d78bebbe6c1480d300b1dc8
[ "MIT" ]
null
null
null
flow_py_sdk/templates.py
peeksocial/flow-py-sdk
60b8e1f09ad4c28f8d78bebbe6c1480d300b1dc8
[ "MIT" ]
null
null
null
flow_py_sdk/templates.py
peeksocial/flow-py-sdk
60b8e1f09ad4c28f8d78bebbe6c1480d300b1dc8
[ "MIT" ]
null
null
null
from typing import Annotated import flow_py_sdk.cadence as cadence from flow_py_sdk.signer import AccountKey from flow_py_sdk.tx import Tx, ProposalKey
30.689655
102
0.532022
5e58113c44f1af95b9f3e79dac6ca323cceed861
6,800
py
Python
base_python/cogment_verse/run/run_sample_producer_session.py
kharyal/cogment-verse
12bcb855bc742e3ec4ed11c40a1b475e95a32515
[ "Apache-2.0" ]
23
2021-10-01T01:33:15.000Z
2022-03-10T18:18:50.000Z
base_python/cogment_verse/run/run_sample_producer_session.py
kharyal/cogment-verse
12bcb855bc742e3ec4ed11c40a1b475e95a32515
[ "Apache-2.0" ]
35
2021-11-06T04:37:07.000Z
2022-03-18T18:05:28.000Z
base_python/cogment_verse/run/run_sample_producer_session.py
kharyal/cogment-verse
12bcb855bc742e3ec4ed11c40a1b475e95a32515
[ "Apache-2.0" ]
4
2021-12-14T15:24:50.000Z
2022-01-17T11:06:34.000Z
# Copyright 2021 AI Redefined Inc. <dev+cogment@ai-r.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
35.051546
117
0.660441
5e581b3bc442bf985032c1a6311fd1a8c9e46d12
1,125
py
Python
tests/unit/scalar/test_datetime.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
tests/unit/scalar/test_datetime.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
tests/unit/scalar/test_datetime.py
alexchamberlain/tartiflette
6904b0f47770c348553e907be5f5bdb0929fe149
[ "MIT" ]
null
null
null
import datetime import pytest
28.125
75
0.663111
5e5b885b8327be4c56993c7c455ab03ceefa4ca2
1,202
py
Python
mymail.py
metaperl/freegold-focus
49cf86be57c76b265f711e337f85d8ee2b156301
[ "MIT" ]
null
null
null
mymail.py
metaperl/freegold-focus
49cf86be57c76b265f711e337f85d8ee2b156301
[ "MIT" ]
null
null
null
mymail.py
metaperl/freegold-focus
49cf86be57c76b265f711e337f85d8ee2b156301
[ "MIT" ]
null
null
null
import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText
28.619048
80
0.683028
5e5cfeb015c77e2308db32ee9bf5063eeee0afb3
4,484
py
Python
keras_frcnn/pascal_voc_parser.py
touchylk/fgcnn
db0a2156d21480e37aa5b3b74ca2e71bf2a2d50a
[ "Apache-2.0" ]
null
null
null
keras_frcnn/pascal_voc_parser.py
touchylk/fgcnn
db0a2156d21480e37aa5b3b74ca2e71bf2a2d50a
[ "Apache-2.0" ]
null
null
null
keras_frcnn/pascal_voc_parser.py
touchylk/fgcnn
db0a2156d21480e37aa5b3b74ca2e71bf2a2d50a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import os import cv2 import xml.etree.ElementTree as ET import config import numpy as np cfg = config.Config()
30.712329
128
0.665031
5e5dc0bccba9bfb6b687c696f0803ac8924850d5
3,342
py
Python
constants.py
granthitson/8ballbot
cc0778b6ce5857b8b39203d53c5e792297ab126f
[ "MIT" ]
1
2019-05-13T00:15:41.000Z
2019-05-13T00:15:41.000Z
constants.py
granthitson/AteBallPool
cc0778b6ce5857b8b39203d53c5e792297ab126f
[ "MIT" ]
null
null
null
constants.py
granthitson/AteBallPool
cc0778b6ce5857b8b39203d53c5e792297ab126f
[ "MIT" ]
null
null
null
# IMAGES # # UI NAVIGATION # img_addFriend = "add_friend.png" img_allow = "allow.png" img_allowFlash = "enableflash_0.png" img_allowFlash1 = "enableflash_1.png" img_allowFlash2 = "enableflash_2.png" img_alreadyStarted = "alreadystarted.png" img_alreadyStarted1 = "alreadystarted1.png" img_backButton = "back_button.png...
29.575221
56
0.781269
5e5ff7d9f69e16d5c8e955d1ac93518ac90e2cc4
26
py
Python
code/pyto/analysis/test/all_catalogs/catalog_3.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
12
2020-01-08T01:33:02.000Z
2022-03-16T00:25:34.000Z
code/pyto/analysis/test/all_catalogs/catalog_3.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
8
2019-12-19T19:34:56.000Z
2022-03-10T10:11:28.000Z
code/pyto/analysis/test/all_catalogs/catalog_3.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
2
2022-03-30T13:12:22.000Z
2022-03-30T18:12:10.000Z
../catalogs_a/catalog_3.py
26
26
0.807692
5e5ffe2a9f4736427871c3d92473b21c233a6146
2,273
py
Python
tests/contracts/KT1Ki9hCRhWERgvVvXvVnFR3ruwM9sR5eLAN/test_michelson_coding_KT1Ki9.py
juztin/pytezos-1
7e608ff599d934bdcf129e47db43dbdb8fef9027
[ "MIT" ]
1
2021-05-20T16:52:08.000Z
2021-05-20T16:52:08.000Z
tests/contracts/KT1Ki9hCRhWERgvVvXvVnFR3ruwM9sR5eLAN/test_michelson_coding_KT1Ki9.py
juztin/pytezos-1
7e608ff599d934bdcf129e47db43dbdb8fef9027
[ "MIT" ]
1
2020-12-30T16:44:56.000Z
2020-12-30T16:44:56.000Z
tests/contracts/KT1Ki9hCRhWERgvVvXvVnFR3ruwM9sR5eLAN/test_michelson_coding_KT1Ki9.py
tqtezos/pytezos
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
[ "MIT" ]
1
2022-03-20T19:01:00.000Z
2022-03-20T19:01:00.000Z
from unittest import TestCase from tests import get_data from pytezos.michelson.micheline import michelson_to_micheline from pytezos.michelson.formatter import micheline_to_michelson
42.092593
87
0.736472
5e605a1900b964942423d9a5492196bf59a46197
12,671
py
Python
data_generation/chatbots/restaurant/state_ordering.py
ivanmkc/helpdesk-assistant
0697d7e2d0dca77dc4c8043ec61e62350dbd4a8a
[ "Apache-2.0" ]
null
null
null
data_generation/chatbots/restaurant/state_ordering.py
ivanmkc/helpdesk-assistant
0697d7e2d0dca77dc4c8043ec61e62350dbd4a8a
[ "Apache-2.0" ]
null
null
null
data_generation/chatbots/restaurant/state_ordering.py
ivanmkc/helpdesk-assistant
0697d7e2d0dca77dc4c8043ec61e62350dbd4a8a
[ "Apache-2.0" ]
null
null
null
from typing import List from rasa.shared.nlu.state_machine.conditions import ( IntentCondition, OnEntryCondition, SlotEqualsCondition, ) from rasa.shared.nlu.state_machine.state_machine_models import ( BooleanSlot, IntentWithExamples, TextSlot, Utterance, ActionName, ) from rasa.shared....
29.128736
148
0.518507
5e60ae8ac33efc8696666b093c802211b78a31d4
203
py
Python
day10/part1.py
mtn/advent15
b23bcf5761363596336d5361218c52db0b078793
[ "MIT" ]
null
null
null
day10/part1.py
mtn/advent15
b23bcf5761363596336d5361218c52db0b078793
[ "MIT" ]
null
null
null
day10/part1.py
mtn/advent15
b23bcf5761363596336d5361218c52db0b078793
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from itertools import groupby inp = "1113222113" for i in range(40): next_str = "".join(str(len(list(v))) + k for k, v in groupby(inp)) inp = next_str print(len(inp))
15.615385
70
0.64532
5e6129d443af9d077d5346eb960b51db01b863f1
1,947
py
Python
nuvolaris/main.py
giusdp/nuvolaris-operator
4243c00e287754436b8adcf81935e67e52e27afc
[ "Apache-2.0" ]
null
null
null
nuvolaris/main.py
giusdp/nuvolaris-operator
4243c00e287754436b8adcf81935e67e52e27afc
[ "Apache-2.0" ]
null
null
null
nuvolaris/main.py
giusdp/nuvolaris-operator
4243c00e287754436b8adcf81935e67e52e27afc
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) 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 u...
38.176471
86
0.732409
5e62135edf27d602b721a65c5cc50ec1d021b600
285
py
Python
didcomm/common/utils.py
alex-polosky/didcomm-python
955866024c9f6191df9c5a898cc77e1979781eae
[ "Apache-2.0" ]
8
2021-09-04T19:28:18.000Z
2021-12-22T16:00:18.000Z
didcomm/common/utils.py
alex-polosky/didcomm-python
955866024c9f6191df9c5a898cc77e1979781eae
[ "Apache-2.0" ]
4
2021-07-27T23:44:33.000Z
2021-10-13T13:29:39.000Z
didcomm/common/utils.py
alex-polosky/didcomm-python
955866024c9f6191df9c5a898cc77e1979781eae
[ "Apache-2.0" ]
7
2021-07-22T08:19:13.000Z
2022-01-04T14:46:38.000Z
from typing import Iterable, Callable, Optional, Any # TODO check the same helper in standard lib # TODO test
28.5
65
0.747368
5e628844bf5aecb08d12d6a5e607b840f94ea6a1
694
py
Python
derbot/names/signals.py
bdunnette/derbot
c860c3e95ee830a5b9202d8343ab64ece2e995e5
[ "MIT" ]
null
null
null
derbot/names/signals.py
bdunnette/derbot
c860c3e95ee830a5b9202d8343ab64ece2e995e5
[ "MIT" ]
2
2022-02-08T00:29:20.000Z
2022-02-08T14:01:07.000Z
derbot/names/signals.py
bdunnette/derbot
c860c3e95ee830a5b9202d8343ab64ece2e995e5
[ "MIT" ]
null
null
null
from django.db.models.signals import pre_save from django.dispatch import receiver import random import fractions import humanize # from derbot.names.tasks import generate_number from derbot.names.models import DerbyName
33.047619
80
0.708934
5e63e77aa89c53de02787efe6617b814f500375d
11,812
py
Python
letalisce_splet.py
kulan89/PyJet
08799cea227ecf7b2ea0491df93d09dd1ccc7069
[ "MIT" ]
null
null
null
letalisce_splet.py
kulan89/PyJet
08799cea227ecf7b2ea0491df93d09dd1ccc7069
[ "MIT" ]
4
2017-12-08T00:10:51.000Z
2018-02-27T12:46:13.000Z
letalisce_splet.py
kulan89/PyJet
08799cea227ecf7b2ea0491df93d09dd1ccc7069
[ "MIT" ]
null
null
null
import modeli as modeli from bottle import * from datetime import datetime from collections import defaultdict import hashlib glavniMenuAktivniGumb="" glavniMenuTemplate = '''<li><a {gumbRezervacija} href="/izbiraDestinacije" >Rezervacija leta</a></li> <li><a {gumbReferencna} href="/referencna">Informacije o r...
41.300699
136
0.62682
5e65fac983e25a40daccdf3d1d633139612934bf
2,544
py
Python
daml_dit_if/main/common.py
digital-asset/daml-dit-if
521d0cd003e6b41b32067709194c957461335018
[ "Apache-2.0" ]
1
2021-01-07T02:21:00.000Z
2021-01-07T02:21:00.000Z
daml_dit_if/main/common.py
digital-asset/daml-dit-if
521d0cd003e6b41b32067709194c957461335018
[ "Apache-2.0" ]
3
2020-11-18T12:30:18.000Z
2021-08-23T19:48:01.000Z
daml_dit_if/main/common.py
digital-asset/daml-dit-if
521d0cd003e6b41b32067709194c957461335018
[ "Apache-2.0" ]
null
null
null
import sys import collections from asyncio import wait_for from dataclasses import dataclass from datetime import datetime from functools import wraps from typing import Optional from dazl import AIOPartyClient from ..api import IntegrationResponse from .log import LOG def without_return_value(fn): return ...
24.228571
88
0.653695
5e6b2eaf03f8f827981129c1c8162857a93cd0d2
896
py
Python
setup.py
Kleinrotti/py-senertec
b5cbe4e50c72c14e507bb92477088205fb2c786f
[ "MIT" ]
null
null
null
setup.py
Kleinrotti/py-senertec
b5cbe4e50c72c14e507bb92477088205fb2c786f
[ "MIT" ]
null
null
null
setup.py
Kleinrotti/py-senertec
b5cbe4e50c72c14e507bb92477088205fb2c786f
[ "MIT" ]
null
null
null
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="py-senertec", version="0.2.2", author="Kleinrotti", author_email="", package_dir={"": "src"}, packages=setuptools.find_packages("src"), description="Senertec energy system gen2 int...
28.903226
74
0.627232
5e6b60bf7c40ec721096fa550cb1fcb5e3e145c6
1,084
py
Python
sunpy-example.py
wtbarnes/rice-hpc-examples
5559c24842fe9ca7d569514a53f287c645157f3c
[ "MIT" ]
null
null
null
sunpy-example.py
wtbarnes/rice-hpc-examples
5559c24842fe9ca7d569514a53f287c645157f3c
[ "MIT" ]
1
2019-02-12T06:29:08.000Z
2019-02-12T06:29:08.000Z
sunpy-example.py
wtbarnes/rice-hpc-examples
5559c24842fe9ca7d569514a53f287c645157f3c
[ "MIT" ]
null
null
null
""" Some simple coordinate transformations with SunPy Adapted from https://github.com/sunpy/sunpy/blob/master/examples/units_and_coordinates/AltAz_Coordinate_transform.py """ from astropy.coordinates import EarthLocation, AltAz, SkyCoord from astropy.time import Time from sunpy.coordinates import frames, get_sunearth_d...
27.1
116
0.744465
5e6d782f97c85edb12dff2726544e15db5a78e2a
2,136
py
Python
src/types/program.py
embiem/chia-blockchain
301801993ca3d4cc5bf71952af29effae507b2ea
[ "Apache-2.0" ]
2
2019-12-06T01:03:24.000Z
2020-09-27T00:46:20.000Z
src/types/program.py
yllierop/chia-blockchain
301801993ca3d4cc5bf71952af29effae507b2ea
[ "Apache-2.0" ]
null
null
null
src/types/program.py
yllierop/chia-blockchain
301801993ca3d4cc5bf71952af29effae507b2ea
[ "Apache-2.0" ]
null
null
null
import io from typing import Any, List, Set from src.types.sized_bytes import bytes32 from src.util.clvm import run_program, sexp_from_stream, sexp_to_stream from clvm import SExp from src.util.hash import std_hash from clvm_tools.curry import curry
28.48
80
0.595974
5e6d7885c0f05a895156c536633fe964a95cb1b9
3,813
py
Python
src/extract_image_features.py
Bashkeel/petfinderadoption
259b731d46ebcbe1d62b7ad069d3dd65e2b0a76f
[ "MIT" ]
null
null
null
src/extract_image_features.py
Bashkeel/petfinderadoption
259b731d46ebcbe1d62b7ad069d3dd65e2b0a76f
[ "MIT" ]
null
null
null
src/extract_image_features.py
Bashkeel/petfinderadoption
259b731d46ebcbe1d62b7ad069d3dd65e2b0a76f
[ "MIT" ]
null
null
null
import cv2 import pandas as pd import numpy as np import os from pathlib import Path from keras.applications.densenet import preprocess_input, DenseNet121 from keras.models import Model from keras.layers import GlobalAveragePooling2D, Input, Lambda, AveragePooling1D import keras.backend as K
34.663636
101
0.64385
5e6e9f7fa3a6821198e76f443afb1673950bce11
2,250
py
Python
scripts/checkPatterns.py
bbloomf/hyphen-la
68709572d6a786b95fc4c570460129945dd9e087
[ "MIT" ]
18
2016-03-19T21:08:13.000Z
2021-01-07T08:44:39.000Z
scripts/checkPatterns.py
bbloomf/hyphen-la
68709572d6a786b95fc4c570460129945dd9e087
[ "MIT" ]
98
2016-03-18T16:05:55.000Z
2020-12-05T17:34:07.000Z
scripts/checkPatterns.py
bbloomf/hyphen-la
68709572d6a786b95fc4c570460129945dd9e087
[ "MIT" ]
6
2016-03-20T09:22:07.000Z
2020-01-08T18:58:51.000Z
#!/usr/bin/env python3 """ Hyphenation file checker Copyright (C) 2016 Elie Roux 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 limit...
36.290323
169
0.687111
5e6f9cdcd570500478ff5774f1e84de657bce7fd
1,522
py
Python
python/coroutine/operatingSystem/echoServer.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
python/coroutine/operatingSystem/echoServer.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
1
2016-09-15T07:06:15.000Z
2016-09-15T07:06:15.000Z
python/coroutine/operatingSystem/echoServer.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import scheduler from systemCall import * import threading import socket, time, random def Client(address, port): s = random.randint(1, 5) print('[Client Thread = %s]' % (threading.currentThread().name), 'sleep %ss' % ( s )) time.sleep(s) serv = socket.socket(sock...
33.086957
92
0.629435
5e6ffb54b935a3bedbdb9d36bddd3349d6e52b30
2,816
py
Python
benchmarks/Python/towers.py
OvermindDL1/are-we-fast-yet
78b0560c7c3b7a90b22b90c4cb27660e56478d30
[ "BSD-3-Clause" ]
null
null
null
benchmarks/Python/towers.py
OvermindDL1/are-we-fast-yet
78b0560c7c3b7a90b22b90c4cb27660e56478d30
[ "BSD-3-Clause" ]
null
null
null
benchmarks/Python/towers.py
OvermindDL1/are-we-fast-yet
78b0560c7c3b7a90b22b90c4cb27660e56478d30
[ "BSD-3-Clause" ]
null
null
null
# This code is based on the SOM class library. # # Copyright (c) 2001-2021 see AUTHORS.md file # # 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 limitat...
35.2
79
0.675426
5e70e30d8acb4ea1ea084ee75398425bc75336ea
2,467
py
Python
src/panoramic/cli/metadata/engines/inspector.py
kubamahnert/panoramic-cli
036f45a05d39f5762088ce23dbe367b938192f79
[ "MIT" ]
5
2020-11-13T17:26:59.000Z
2021-03-19T15:11:26.000Z
src/panoramic/cli/metadata/engines/inspector.py
kubamahnert/panoramic-cli
036f45a05d39f5762088ce23dbe367b938192f79
[ "MIT" ]
5
2020-10-28T10:22:35.000Z
2021-01-27T17:33:58.000Z
src/panoramic/cli/metadata/engines/inspector.py
kubamahnert/panoramic-cli
036f45a05d39f5762088ce23dbe367b938192f79
[ "MIT" ]
3
2021-01-26T07:58:03.000Z
2021-03-11T13:28:34.000Z
from datetime import date, datetime, time from typing import cast from sqlalchemy.engine.reflection import Inspector from sqlalchemy.sql.type_api import TypeEngine from tqdm import tqdm from panoramic.cli.connection import Connection from panoramic.cli.husky.core.taxonomy.enums import ValidationType from panoramic.cl...
39.15873
117
0.63032
5e73a8a490565ce260ea75379fde0ff2412ce415
3,576
py
Python
NeoSparkAnalyzer.py
m4rok97/NeoSparkAnalyzer
eecb9761316b661341dfa8420a579ba70531c031
[ "MIT" ]
1
2021-08-10T14:23:33.000Z
2021-08-10T14:23:33.000Z
NeoSparkAnalyzer.py
m4rok97/NeoSparkAnalyzer
eecb9761316b661341dfa8420a579ba70531c031
[ "MIT" ]
null
null
null
NeoSparkAnalyzer.py
m4rok97/NeoSparkAnalyzer
eecb9761316b661341dfa8420a579ba70531c031
[ "MIT" ]
1
2021-08-10T14:23:38.000Z
2021-08-10T14:23:38.000Z
from pyspark.sql import SparkSession import pyspark.sql.functions as F from pyspark.sql.types import * from AnomalyDetection import * from NeoDatabase import * import pyspark import time as tm import numpy as np # region NeoSaprk Analyzer Class # endregion # region Main if __name__ == '__main__': analyzer = Ne...
36.121212
163
0.701342
5e73fcf644a45cb11ba83ef39dcaa16b594c1c62
2,822
py
Python
scripts/common/parse_spark_logs/taskDuration.py
SobhanOmranian/spark-dca
cd0c5ddbe433a1772442456549e37bf8838f75e3
[ "BSD-3-Clause-Open-MPI", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "MIT-0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-Clear", "PostgreSQL", "BSD-3-Clause" ]
2
2020-02-07T12:09:14.000Z
2020-03-09T21:31:40.000Z
scripts/common/parse_spark_logs/taskDuration.py
SobhanOmranian/spark-dca
cd0c5ddbe433a1772442456549e37bf8838f75e3
[ "BSD-3-Clause-Open-MPI", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "MIT-0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-Clear", "PostgreSQL", "BSD-3-Clause" ]
2
2020-05-15T21:45:35.000Z
2021-01-21T00:21:21.000Z
scripts/common/parse_spark_logs/taskDuration.py
SobhanOmranian/spark-dca
cd0c5ddbe433a1772442456549e37bf8838f75e3
[ "BSD-3-Clause-Open-MPI", "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "MIT", "MIT-0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-Clear", "PostgreSQL", "BSD-3-Clause" ]
3
2019-09-18T22:05:11.000Z
2021-07-10T16:29:09.000Z
import json from pprint import pprint from urllib.request import urlopen import csv #base_api = "http://localhost:18080/api/v1" base_api = "http://node348:18080/api/v1" base_application_api = f"{base_api}/applications" app_id = "app-20180713132544-0015" #18min numa stage = 2 #parseAndOutputCsv(app_id, stage) #parseA...
34.414634
104
0.694543
5e7990b0943dc117def320f3a1ce0bdf0bbba9d7
4,427
py
Python
heksher/api/v1/settings_metadata.py
biocatchltd/Heksher
b50b3659a606cb188437adb1f95747efb3ba7b59
[ "MIT" ]
3
2021-01-21T11:41:06.000Z
2021-10-20T06:51:53.000Z
heksher/api/v1/settings_metadata.py
biocatchltd/Heksher
b50b3659a606cb188437adb1f95747efb3ba7b59
[ "MIT" ]
18
2021-02-01T06:38:53.000Z
2022-02-14T13:46:33.000Z
heksher/api/v1/settings_metadata.py
biocatchltd/Heksher
b50b3659a606cb188437adb1f95747efb3ba7b59
[ "MIT" ]
null
null
null
from logging import getLogger from typing import Any, Dict, Optional from fastapi import APIRouter, Response from pydantic import Field from starlette import status from starlette.responses import PlainTextResponse from heksher.api.v1.util import ORJSONModel, application from heksher.api.v1.validation import Metadata...
44.27
118
0.737294
5e7a6b6af87cb5adada613cffcf3ff5831de98c2
108
py
Python
array.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
1
2021-06-16T16:42:41.000Z
2021-06-16T16:42:41.000Z
array.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
null
null
null
array.py
nkukadiya89/learn-python
d0a8c438dd77b8feeb1e0126ec379873ef4b2978
[ "MIT" ]
null
null
null
#Array In Python from array import array numbers = array("i",[1,2,3]) numbers[0] = 0 print(list(numbers))
13.5
28
0.685185
5e7cb7cc9dfdf57954cac2db60ebc59641cb2b19
344
py
Python
day19/part2.py
mtn/advent16
0df34237485ee1246532e9eda0ef643e6950d13e
[ "MIT" ]
null
null
null
day19/part2.py
mtn/advent16
0df34237485ee1246532e9eda0ef643e6950d13e
[ "MIT" ]
null
null
null
day19/part2.py
mtn/advent16
0df34237485ee1246532e9eda0ef643e6950d13e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from collections import deque inp = 3005290 l = deque() r = deque() for i in range(1, inp+1): if i <= inp // 2: l.append(i) else: r.appendleft(i) while l and r: if len(l) > len(r): l.pop() else: r.pop() r.appendleft(l.popleft()) l.appen...
13.76
29
0.523256
5e7d33ee6f25bf7e294ba72a60592d7ecbf6df93
1,479
py
Python
src/figcli/test/cli/config.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
36
2020-07-21T21:22:02.000Z
2021-10-20T06:55:47.000Z
src/figcli/test/cli/config.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
2
2020-10-29T12:49:15.000Z
2021-04-29T01:12:05.000Z
src/figcli/test/cli/config.py
figtools/figgy-cli
88f4ccb8221ef9734f95b2637acfacc6e00983e7
[ "Apache-2.0" ]
null
null
null
import os ### For PS items stored with this value, we will auto-clean them up from our audit table. Used for automated E2E testing. DELETE_ME_VALUE = 'DELETE_ME' ### <-- use this for ALL VALUES MFA_USER_ENV_KEY = 'MFA_USER' MFA_SECRET_ENV_KEY = 'MFA_SECRET' # Env vars GOOGLE_SSO_USER = 'GOOGLE_SSO_USER' GOOGLE_SSO_P...
29
121
0.772819
5e7de8519966e4f83e0e45c0dd354a0fcd275569
7,956
py
Python
SushiCat.py
Carlos-E-Souza/Pyxel_Game
aa72816446041e200ac436d442cedf7d04f7979c
[ "MIT" ]
null
null
null
SushiCat.py
Carlos-E-Souza/Pyxel_Game
aa72816446041e200ac436d442cedf7d04f7979c
[ "MIT" ]
null
null
null
SushiCat.py
Carlos-E-Souza/Pyxel_Game
aa72816446041e200ac436d442cedf7d04f7979c
[ "MIT" ]
null
null
null
from collections import deque, namedtuple from random import randint import pyxel Point = namedtuple("Point", ["x", "y"]) BACKGRD_COL = 3 WIDTH = 200 HEIGHT = 200 UP = Point(0, -3) DOWN = Point(0, 3) RIGHT = Point(3, 0) LEFT = Point(-3, 0) START = Point(125, 125) App()
31.697211
91
0.51722
5e7defce2e2ab62233e622a56872ccd1b331951a
632
py
Python
helper_functions.py
dadam1026/Homework1v2
47360f83eff0cff34498827138951afdcb0362b4
[ "MIT" ]
null
null
null
helper_functions.py
dadam1026/Homework1v2
47360f83eff0cff34498827138951afdcb0362b4
[ "MIT" ]
null
null
null
helper_functions.py
dadam1026/Homework1v2
47360f83eff0cff34498827138951afdcb0362b4
[ "MIT" ]
null
null
null
# Contains helper functions for your apps! from os import listdir, remove # If the io following files are in the current directory, remove them! # 1. 'currency_pair.txt' # 2. 'currency_pair_history.csv' # 3. 'trade_order.p'
30.095238
83
0.655063
5e7f0c2f4ced84031cd811e035656325a60735b2
884
py
Python
kinesis/serializers.py
graphyteai/async-kinesis
b4ad760e1b084f54b7e78148dbbe6abf00c44b19
[ "Apache-2.0" ]
17
2019-06-20T14:33:51.000Z
2021-12-20T14:28:39.000Z
kinesis/serializers.py
graphyteai/async-kinesis
b4ad760e1b084f54b7e78148dbbe6abf00c44b19
[ "Apache-2.0" ]
15
2020-05-27T03:50:55.000Z
2022-02-14T20:50:39.000Z
kinesis/serializers.py
graphyteai/async-kinesis
b4ad760e1b084f54b7e78148dbbe6abf00c44b19
[ "Apache-2.0" ]
12
2019-09-04T11:16:26.000Z
2022-02-14T17:06:43.000Z
try: import ujson as json except ModuleNotFoundError: # https://github.com/python/mypy/issues/1153 (mypy bug with try/except conditional imports) import json # type: ignore try: import msgpack except ModuleNotFoundError: pass
22.1
95
0.680995
5e80439d96e678547ee434575b54e563d5881594
939
py
Python
test.py
joders/logging_tqdm
7a4730e531c44872ad31afcd4d1a908e67d0276c
[ "MIT" ]
null
null
null
test.py
joders/logging_tqdm
7a4730e531c44872ad31afcd4d1a908e67d0276c
[ "MIT" ]
null
null
null
test.py
joders/logging_tqdm
7a4730e531c44872ad31afcd4d1a908e67d0276c
[ "MIT" ]
null
null
null
from logging_tqdm import tqdm import time print("Testing tqdm-logging:") for i in tqdm(range(100)): time.sleep(.02) print("\n\n\n") print("Testing tqdm-logging with exception:") try: for i in tqdm(range(100)): if i == 75: raise Exception("Some Exception") time.sleep(.02) except: ...
19.163265
73
0.656017
5e80525b9c217eb34d1d6000ccbace3dae72142f
1,448
py
Python
commontail/default_settings.py
einsfr/commontail
a7421b7aac89dead7e4f7e0da0dff317157c3fea
[ "MIT" ]
null
null
null
commontail/default_settings.py
einsfr/commontail
a7421b7aac89dead7e4f7e0da0dff317157c3fea
[ "MIT" ]
null
null
null
commontail/default_settings.py
einsfr/commontail
a7421b7aac89dead7e4f7e0da0dff317157c3fea
[ "MIT" ]
null
null
null
from typing import List, Tuple COMMONTAIL_CONTENT_STREAM_PAGE_BODY_BLOCK: str = 'commontail.blocks.ContentStreamBlock' COMMONTAIL_LINK_ICON_DOCUMENT_DEFAULT = 'far fa-file' COMMONTAIL_LINK_ICON_EXTERNAL = 'fas fa-globe' COMMONTAIL_NAMED_URL_CACHE_KEY_PREFIX: str = 'named_url_' COMMONTAIL_NAMED_URL_CACHE_LIFETIME: in...
42.588235
115
0.799033
5e81d9b31c50e8e47fe0403850ae0d0290d47815
618
py
Python
python_basics/4.arithmetic_operators/discount_challenge.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
2
2022-03-12T07:53:23.000Z
2022-03-14T16:09:06.000Z
python_basics/4.arithmetic_operators/discount_challenge.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
18
2022-03-13T19:45:48.000Z
2022-03-31T06:04:12.000Z
python_basics/4.arithmetic_operators/discount_challenge.py
edilsonmatola/Python_Master
cef88a19e641f6454944bab358841b380c64699e
[ "MIT" ]
null
null
null
""" * Problem Description *Suppose you are a university student and you need to pay 1536 dollars as a tuition fee. *The college is offering a 10% discount on the early payment. How much money do you have to pay if you make an early payment? *Task *Create a variable named fee and assign 1536 to it. *Create another ...
22.888889
125
0.744337
5e851a8b5a5d6342aed8daa70ea488ff9dec6bc6
1,888
py
Python
robogym/envs/rearrange/tests/test_object_creation.py
0xflotus/robogym
5ec2fcbda9828941fe3072792dd25fb5a915bbbb
[ "MIT" ]
288
2020-11-12T21:39:34.000Z
2022-03-19T23:27:50.000Z
robogym/envs/rearrange/tests/test_object_creation.py
0xflotus/robogym
5ec2fcbda9828941fe3072792dd25fb5a915bbbb
[ "MIT" ]
3
2020-12-12T19:19:30.000Z
2022-03-24T05:21:39.000Z
robogym/envs/rearrange/tests/test_object_creation.py
0xflotus/robogym
5ec2fcbda9828941fe3072792dd25fb5a915bbbb
[ "MIT" ]
31
2020-11-12T22:31:01.000Z
2022-02-28T20:34:48.000Z
import numpy as np from numpy.testing import assert_allclose from robogym.envs.rearrange.common.utils import ( get_mesh_bounding_box, make_block, make_blocks_and_targets, ) from robogym.envs.rearrange.simulation.composer import RandomMeshComposer from robogym.mujoco.mujoco_xml import MujocoXML
30.451613
106
0.661017
5e864ccf01f6e54ee7967475c32a472181419c97
1,910
py
Python
package/tests/base/test_grid.py
mondas-mania/cipher-py
e1dd287311ab487fd54a8becee444b3d7561b63c
[ "MIT" ]
null
null
null
package/tests/base/test_grid.py
mondas-mania/cipher-py
e1dd287311ab487fd54a8becee444b3d7561b63c
[ "MIT" ]
null
null
null
package/tests/base/test_grid.py
mondas-mania/cipher-py
e1dd287311ab487fd54a8becee444b3d7561b63c
[ "MIT" ]
null
null
null
from cipherpy.base import create_grid, playfair_digram_encode import numpy as np import pytest alphabet = "abcdefghiklmnopqrstuvwxyz" # j has been removed inv_alph = "zyxwvutsrqponmlkihgfedcba" # j has been removed grid = np.array([ ["a","b","c","d","e"], ["f","g","h","i","k"], ["l","m","n","o","p"], [...
36.730769
66
0.630366
5e8667c8bd08530e3798b28c3658e7a0a6e72243
258,420
py
Python
instances/passenger_demand/pas-20210422-1717-int1/69.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
instances/passenger_demand/pas-20210422-1717-int1/69.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
instances/passenger_demand/pas-20210422-1717-int1/69.py
LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure
bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11
[ "BSD-3-Clause" ]
null
null
null
""" PASSENGERS """ numPassengers = 19216 passenger_arriving = ( (7, 4, 4, 3, 2, 1, 4, 2, 4, 2, 0, 0, 0, 7, 5, 8, 3, 7, 1, 3, 0, 1, 2, 1, 1, 0), # 0 (4, 7, 2, 3, 3, 1, 2, 5, 2, 1, 1, 0, 0, 6, 4, 4, 3, 2, 1, 5, 1, 1, 1, 0, 1, 0), # 1 (6, 4, 5, 6, 2, 1, 2, 4, 1, 1, 0, 0, 0, 11, 3, 6, 7, 7, 0, 3, 2, 1, 2, 0, 0, 0),...
276.385027
494
0.769662
5e8766f199a76d5f61165aff99ba7d6c204fcf47
7,675
py
Python
dnppy/landsat/atsat_bright_temp.py
NASA-DEVELOP/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
65
2015-09-10T12:59:56.000Z
2022-02-27T22:09:03.000Z
dnppy/landsat/atsat_bright_temp.py
snowzm/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
40
2015-04-08T19:23:30.000Z
2015-08-04T15:53:11.000Z
dnppy/landsat/atsat_bright_temp.py
snowzm/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
45
2015-08-14T19:09:38.000Z
2022-02-15T18:53:16.000Z
#standard imports import arcpy import os from dnppy import core from landsat_metadata import landsat_metadata if arcpy.CheckExtension('Spatial')=='Available': arcpy.CheckOutExtension('Spatial') arcpy.env.overwriteOutput = True __all__=['atsat_bright_temp_8', # complete 'atsat_bright_temp_457'] ...
41.042781
107
0.658893
5e892feb5f34a5d8b8dc87bca05b023ae160a368
10,669
py
Python
Scripts/Fig 8 - Compare optimal APs.py
CardiacModelling/Gamma_0
05c7e16088656b343d3aa347df88fd3dd58cea87
[ "BSD-3-Clause" ]
null
null
null
Scripts/Fig 8 - Compare optimal APs.py
CardiacModelling/Gamma_0
05c7e16088656b343d3aa347df88fd3dd58cea87
[ "BSD-3-Clause" ]
null
null
null
Scripts/Fig 8 - Compare optimal APs.py
CardiacModelling/Gamma_0
05c7e16088656b343d3aa347df88fd3dd58cea87
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Mar 9 09:42:00 2021 @author: barraly """ import sabs_pkpd import numpy as np import matplotlib.pyplot as plt import os # Select the folder in which this repo is downloaded in the line below os.chdir('The/location/of/the/root/folder/of/this/repo') # In[Loa...
43.72541
253
0.67907
5e8965b28a68b221d66bfcaa7bdfd7e41afadc2f
3,973
py
Python
keras_sample.py
JustinFletcher/patterns
606130129406abac6d49689db131ce17619fb521
[ "MIT" ]
null
null
null
keras_sample.py
JustinFletcher/patterns
606130129406abac6d49689db131ce17619fb521
[ "MIT" ]
null
null
null
keras_sample.py
JustinFletcher/patterns
606130129406abac6d49689db131ce17619fb521
[ "MIT" ]
null
null
null
import sys import argparse import numpy as np import tensorflow as tf from tensorflow import keras if __name__ == '__main__': # Instantiates an arg parser parser = argparse.ArgumentParser() # Establishes default arguments parser.add_argument("--output_dir", type=str, ...
30.561538
79
0.625975
5e8a67301e87d6b49ee5b0aa718dbabf712a571d
245
py
Python
main.py
glhrmfrts/instr
ba08fae5149c193ada0003c0f4ca042dca84e457
[ "MIT" ]
null
null
null
main.py
glhrmfrts/instr
ba08fae5149c193ada0003c0f4ca042dca84e457
[ "MIT" ]
null
null
null
main.py
glhrmfrts/instr
ba08fae5149c193ada0003c0f4ca042dca84e457
[ "MIT" ]
null
null
null
from instr.instruments import * from instr.effects import * s = Sqr().bind(tremolo(), echo(0.4, 0.8)).loop(2, [(244, 1), (289, 1), (365, 2)]).loop(4, [(244, 0.1), (289, 0.1), (365, 0.1), (1, 0.1), (237, 0.1), (1, 0.1)]).save('tests/instr.wav')
49
183
0.555102
5e8ac33f8ff4015e8025f6ed272c2e9afe57e654
1,593
py
Python
mistral/notifiers/default_notifier.py
Abnerzhao/mistral
55c8d70536c8e9de03376b523e8dfa3c3cf7070f
[ "Apache-2.0" ]
null
null
null
mistral/notifiers/default_notifier.py
Abnerzhao/mistral
55c8d70536c8e9de03376b523e8dfa3c3cf7070f
[ "Apache-2.0" ]
null
null
null
mistral/notifiers/default_notifier.py
Abnerzhao/mistral
55c8d70536c8e9de03376b523e8dfa3c3cf7070f
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 - Extreme Networks, 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 l...
33.1875
79
0.652228
5e8ac64fbe70fe326a2767fef3d9300d1b292115
2,049
py
Python
class_4/dungeon.py
goosemanjack/python_intro_class
ca4b2390f2b0bb037d94ed4516d98848b7cf97d6
[ "MIT" ]
null
null
null
class_4/dungeon.py
goosemanjack/python_intro_class
ca4b2390f2b0bb037d94ed4516d98848b7cf97d6
[ "MIT" ]
null
null
null
class_4/dungeon.py
goosemanjack/python_intro_class
ca4b2390f2b0bb037d94ed4516d98848b7cf97d6
[ "MIT" ]
null
null
null
# Dungeon Crawler import asciiart import level1 import level2 import time # timer import hero #def test(): # print(asciiart.baby_dragon()) # print(asciiart.big_skull()) # print(asciiart.dragon()) # print(asciiart.samurai()) # print(asciiart.skull_cross()) # print(asciiart.warrior()) # print(as...
19.893204
79
0.570522
5e8c140172a68c8d661d38b28158caaeea26abc7
804
py
Python
getTotalCount.py
bdo311/chirpseq-analysis
64a5cdbb1fbac1ef8c5cca844ea743b80641287c
[ "Apache-2.0" ]
3
2016-09-19T21:30:36.000Z
2019-03-14T08:25:32.000Z
getTotalCount.py
bdo311/chirpseq-analysis
64a5cdbb1fbac1ef8c5cca844ea743b80641287c
[ "Apache-2.0" ]
2
2018-03-11T02:21:29.000Z
2021-03-03T11:18:30.000Z
getTotalCount.py
bdo311/chirpseq-analysis
64a5cdbb1fbac1ef8c5cca844ea743b80641287c
[ "Apache-2.0" ]
3
2016-10-28T09:15:16.000Z
2019-06-16T04:38:31.000Z
# getTotalCount.py # 3/1/14 # Gets total count for all ChIP-seq reads import csv, sys, fileinput csv.register_dialect("textdialect", delimiter='\t') if len(sys.argv) > 1: fn = sys.argv[1] ifile = open(fn, 'r') reader = csv.reader(ifile, 'textdialect') total = 0 counter = 0 for row in reader: ...
23.647059
62
0.603234
5e8c4416ffb84be6cff77e73bcd07204a060ba9e
4,210
py
Python
heatclient/tests/fakes.py
jasondunsmore/python-heatclient
13b4f82835fcf5dd0f206745ae13378796b4a029
[ "Apache-2.0" ]
null
null
null
heatclient/tests/fakes.py
jasondunsmore/python-heatclient
13b4f82835fcf5dd0f206745ae13378796b4a029
[ "Apache-2.0" ]
null
null
null
heatclient/tests/fakes.py
jasondunsmore/python-heatclient
13b4f82835fcf5dd0f206745ae13378796b4a029
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the...
30.507246
73
0.574822
5e8cc6bb55cb6fdfd76cfe20fa9511c12c2abab0
8,499
py
Python
mail/mail.py
Infosecurity-LLC/thehive_responders
de57723a2c958fea49bc8d2e5a3e9619f219bc2b
[ "Apache-2.0" ]
null
null
null
mail/mail.py
Infosecurity-LLC/thehive_responders
de57723a2c958fea49bc8d2e5a3e9619f219bc2b
[ "Apache-2.0" ]
null
null
null
mail/mail.py
Infosecurity-LLC/thehive_responders
de57723a2c958fea49bc8d2e5a3e9619f219bc2b
[ "Apache-2.0" ]
1
2022-02-04T10:00:10.000Z
2022-02-04T10:00:10.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from logging.handlers import TimedRotatingFileHandler from logging import Formatter, getLogger import os from socutils import mail from responder_commons.report_maker import IncidentReportMaker, logger as responder_commons_logger from responder_commons.mailreporter_clien...
50.892216
115
0.627603
5e8cf51246ce6ba4c2091b019716fd40d1fb9fc1
9,787
py
Python
open_alchemy/column_factory/column.py
codingjoe/OpenAlchemy
a899c05b11209d9d23f81c2638f501e5147c90b8
[ "Apache-2.0" ]
null
null
null
open_alchemy/column_factory/column.py
codingjoe/OpenAlchemy
a899c05b11209d9d23f81c2638f501e5147c90b8
[ "Apache-2.0" ]
null
null
null
open_alchemy/column_factory/column.py
codingjoe/OpenAlchemy
a899c05b11209d9d23f81c2638f501e5147c90b8
[ "Apache-2.0" ]
null
null
null
"""Column factory functions relating to columns.""" import typing import sqlalchemy from open_alchemy import exceptions from open_alchemy import helpers from open_alchemy import types def handle_column( *, schema: types.Schema, schemas: typing.Optional[types.Schemas] = None, required: typing.Option...
31.36859
86
0.673036
5e8def353cd8038d157012651972bf4783cd5467
77
py
Python
planar_ising/lipton_tarjan/__init__.py
ValeryTyumen/planar_ising
5a1803487e1dd59c5d5e790cc949b7234bf52ac8
[ "MIT" ]
8
2019-05-02T20:27:21.000Z
2020-11-01T20:41:38.000Z
planar_ising/lipton_tarjan/__init__.py
ValeryTyumen/planar_ising
5a1803487e1dd59c5d5e790cc949b7234bf52ac8
[ "MIT" ]
1
2019-09-03T18:15:53.000Z
2019-09-06T16:41:12.000Z
planar_ising/lipton_tarjan/__init__.py
ValeryTyumen/planar_ising
5a1803487e1dd59c5d5e790cc949b7234bf52ac8
[ "MIT" ]
3
2019-08-11T23:08:58.000Z
2022-03-19T09:09:50.000Z
from .planar_separator import PlanarSeparator from . import separation_class
25.666667
45
0.87013
5e8e88f7806e5de3d7c9a21859d1d8f279695f0c
2,593
py
Python
ecs_infra/ecs-devops-sandbox-cdk/ecs_devops_sandbox_cdk/ecs_devops_sandbox_cdk_stack.py
Covert-Operations/aws_codebuild_test
949c8468f3e35f9df3782ecd71d51aa6e1831e2c
[ "BSD-3-Clause" ]
null
null
null
ecs_infra/ecs-devops-sandbox-cdk/ecs_devops_sandbox_cdk/ecs_devops_sandbox_cdk_stack.py
Covert-Operations/aws_codebuild_test
949c8468f3e35f9df3782ecd71d51aa6e1831e2c
[ "BSD-3-Clause" ]
null
null
null
ecs_infra/ecs-devops-sandbox-cdk/ecs_devops_sandbox_cdk/ecs_devops_sandbox_cdk_stack.py
Covert-Operations/aws_codebuild_test
949c8468f3e35f9df3782ecd71d51aa6e1831e2c
[ "BSD-3-Clause" ]
null
null
null
"""AWS CDK module to create ECS infrastructure""" from aws_cdk import (core, aws_ecs as ecs, aws_ecr as ecr, aws_ec2 as ec2, aws_iam as iam)
46.303571
103
0.506363
5e8ecd87d9b6bf3e0c792cf33dd8743654d8794d
970
py
Python
binanceapi/constant.py
ramoslin02/binanceapi
0ae32229da4fb3dcbd4f2276f442d26c83ad3a39
[ "MIT" ]
4
2021-02-12T23:19:50.000Z
2021-12-21T14:45:55.000Z
binanceapi/constant.py
ramoslin02/binanceapi
0ae32229da4fb3dcbd4f2276f442d26c83ad3a39
[ "MIT" ]
null
null
null
binanceapi/constant.py
ramoslin02/binanceapi
0ae32229da4fb3dcbd4f2276f442d26c83ad3a39
[ "MIT" ]
7
2021-02-23T01:02:23.000Z
2022-03-08T12:56:59.000Z
from enum import Enum
15.396825
41
0.525773
5e91844a645304b2fe7b2b0f7bebb343f1693d42
2,780
py
Python
js_services/forms.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
js_services/forms.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
js_services/forms.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django import forms from django.conf import settings from django.contrib.admin.widgets import FilteredSelectMultiple from django.utils.text import slugify from django.utils.safestring import mark_safe try: from sortedm2m_filter_horizontal_widget.f...
40.882353
137
0.738849
5e919f500bdb61fdacf742cd30485e1fec67466a
2,439
py
Python
src/python/grpcio/grpc/experimental/aio/__init__.py
nondejus/grpc
e5e8d7dc70f97b1e52612facb3f57990b2240005
[ "Apache-2.0" ]
3
2020-10-12T15:47:01.000Z
2022-01-14T19:51:26.000Z
src/python/grpcio/grpc/experimental/aio/__init__.py
nondejus/grpc
e5e8d7dc70f97b1e52612facb3f57990b2240005
[ "Apache-2.0" ]
11
2021-04-08T22:10:50.000Z
2022-03-12T00:52:35.000Z
src/python/grpcio/grpc/experimental/aio/__init__.py
nondejus/grpc
e5e8d7dc70f97b1e52612facb3f57990b2240005
[ "Apache-2.0" ]
2
2019-11-13T05:27:48.000Z
2020-01-21T06:35:19.000Z
# Copyright 2019 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
31.269231
96
0.693727
5e924c02bab981c33ede2b50dac4e2d8e48fe849
6,634
py
Python
trainer.py
Ayush8120/PocketTanks
9498b441e4fbac007879d8963da6edf3913d02e3
[ "MIT" ]
null
null
null
trainer.py
Ayush8120/PocketTanks
9498b441e4fbac007879d8963da6edf3913d02e3
[ "MIT" ]
1
2022-02-11T21:31:03.000Z
2022-02-12T00:56:54.000Z
trainer.py
Ayush8120/PocketTanks
9498b441e4fbac007879d8963da6edf3913d02e3
[ "MIT" ]
2
2019-04-25T22:24:52.000Z
2022-02-11T21:22:27.000Z
import os import threading import time from collections import deque import numpy as np from threading import Thread from agents.dqn_agent import DqnAgent from main import App # Number of games to play from utils.logger import DataLogger n_episodes = 10000 save_period = 50 # Saves off every n episodes' model bat...
30.431193
120
0.590142
5e924cb1859e402ab872813f9e3537dccb1f09db
2,840
py
Python
tests/splinter/repeating_area/test_areas.py
jsfehler/stere
066c38b11636850ce11a0451a7b1efc8887b1015
[ "MIT" ]
17
2017-12-11T15:49:10.000Z
2021-06-16T19:29:45.000Z
tests/splinter/repeating_area/test_areas.py
jsfehler/stere
066c38b11636850ce11a0451a7b1efc8887b1015
[ "MIT" ]
328
2018-02-06T02:29:21.000Z
2022-03-30T10:47:33.000Z
tests/splinter/repeating_area/test_areas.py
jsfehler/stere
066c38b11636850ce11a0451a7b1efc8887b1015
[ "MIT" ]
3
2019-04-05T19:40:55.000Z
2021-11-04T06:50:32.000Z
import logging import pytest from selenium.webdriver.remote.remote_connection import LOGGER from stere.areas import Area, Areas LOGGER.setLevel(logging.WARNING) def test_areas_append_wrong_type(): """Ensure a TypeError is raised when non-Area objects are appended to an Areas. """ a = Areas() ...
23.666667
77
0.674648
5e94ee09424c092167e8b387cf605930cd27a367
1,388
py
Python
tests/sqlstore_tests.py
tistaharahap/oauth1-provider
c7059bce68734744d0aa3b83ecb218865a5c1341
[ "MIT" ]
1
2017-06-26T07:36:03.000Z
2017-06-26T07:36:03.000Z
tests/sqlstore_tests.py
tistaharahap/oauth1-provider
c7059bce68734744d0aa3b83ecb218865a5c1341
[ "MIT" ]
null
null
null
tests/sqlstore_tests.py
tistaharahap/oauth1-provider
c7059bce68734744d0aa3b83ecb218865a5c1341
[ "MIT" ]
null
null
null
import with_sql as sqlprovider import unittest
28.916667
110
0.683718
5e9585f59d070272ad95cdcbd7dd8d78e2818f13
765
py
Python
saph/users/views/auth.py
smallproblem/saph
eec9755ad26d5515f70604ebaa708583185649bb
[ "MIT" ]
null
null
null
saph/users/views/auth.py
smallproblem/saph
eec9755ad26d5515f70604ebaa708583185649bb
[ "MIT" ]
2
2020-09-28T03:09:06.000Z
2020-10-02T08:55:34.000Z
saph/users/views/auth.py
smallproblem/saph
eec9755ad26d5515f70604ebaa708583185649bb
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.contrib.auth.views import LoginView from django.contrib.auth.forms import AuthenticationForm from django.views.generic import CreateView from django.shortcuts import reverse, redirect from users.forms import JoinusForm
29.423077
56
0.729412
5e962450aea8934c38b6cac2187895b4964bca2f
688
py
Python
workers/portscanner.py
wotschel/Forker
06f3b4cdcc55df8cea0ce57f6f3fa0cd507e192f
[ "MIT" ]
null
null
null
workers/portscanner.py
wotschel/Forker
06f3b4cdcc55df8cea0ce57f6f3fa0cd507e192f
[ "MIT" ]
null
null
null
workers/portscanner.py
wotschel/Forker
06f3b4cdcc55df8cea0ce57f6f3fa0cd507e192f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import socket #debugon = False #forks = 3 worklist = ["localhost", "127.0.0.1"] if __name__ == "__main__": worker("127.0.0.1")
19.657143
63
0.540698
5e964e9a43d5e710febe1660966f2e83ba9afc1c
2,940
py
Python
bin/sm_mp_incd.py
pjmartel/consequent
fa0a41e056a6b240d41819a8e5c310a9057fa7e9
[ "MIT" ]
null
null
null
bin/sm_mp_incd.py
pjmartel/consequent
fa0a41e056a6b240d41819a8e5c310a9057fa7e9
[ "MIT" ]
null
null
null
bin/sm_mp_incd.py
pjmartel/consequent
fa0a41e056a6b240d41819a8e5c310a9057fa7e9
[ "MIT" ]
1
2019-10-24T18:25:59.000Z
2019-10-24T18:25:59.000Z
import numpy as np from random import sample, seed #import matplotlib.pyplot as plt from sys import argv, stdout #from scipy.stats import gumbel_r from score_matrix import readScoreMatrix, getMatrix from seqali import smithWaterman, smithFast, plotMat, plotTraceMat from multiprocessing import Process, Manager ...
26.486486
113
0.668027
5e97096c2259e87531d4203f6d5a602384f504c8
883
py
Python
Grayscale Image Denoising/noise.py
Yemen-Romanian/pattern-recognition
cb0ab31e590b071c57c2e89ec85f2383375860e3
[ "MIT" ]
null
null
null
Grayscale Image Denoising/noise.py
Yemen-Romanian/pattern-recognition
cb0ab31e590b071c57c2e89ec85f2383375860e3
[ "MIT" ]
null
null
null
Grayscale Image Denoising/noise.py
Yemen-Romanian/pattern-recognition
cb0ab31e590b071c57c2e89ec85f2383375860e3
[ "MIT" ]
null
null
null
import numpy as np
27.59375
62
0.602492
5e9a150ff611f08ec820a625c4ec922654b7d1ab
12,223
py
Python
tweet.py
Mar199605/sentiment_visual
afee54ec4b2ed33f87927d1740cb8ad6cee3ad10
[ "MIT" ]
null
null
null
tweet.py
Mar199605/sentiment_visual
afee54ec4b2ed33f87927d1740cb8ad6cee3ad10
[ "MIT" ]
null
null
null
tweet.py
Mar199605/sentiment_visual
afee54ec4b2ed33f87927d1740cb8ad6cee3ad10
[ "MIT" ]
null
null
null
import os import time import csv import json import re import twint from cleantext import clean from textblob import TextBlob from google.cloud import translate_v2 os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = r"C:\\Users\\ht_ma\\env\\service-account-file.json" # Key needed translate_client_0 = translate...
31.421594
162
0.502659
5e9b0b809eefab660e738e3c900de340f11bd12d
2,792
py
Python
hydroserver/physical_interfaces/camera_controller.py
gfvandehei/hydroponics-rpi-server
e9c0cdbb2a72f908dae299f28d00dad23d7b5bb6
[ "MIT" ]
null
null
null
hydroserver/physical_interfaces/camera_controller.py
gfvandehei/hydroponics-rpi-server
e9c0cdbb2a72f908dae299f28d00dad23d7b5bb6
[ "MIT" ]
null
null
null
hydroserver/physical_interfaces/camera_controller.py
gfvandehei/hydroponics-rpi-server
e9c0cdbb2a72f908dae299f28d00dad23d7b5bb6
[ "MIT" ]
null
null
null
import time import cv2 from threading import Thread import numpy as np from hydroserver.physical_interfaces.camera_streamer import CameraStreamer from hydroserver.physical_interfaces.camera_storage import CameraStore import hydroserver.model.model as Model
35.794872
88
0.63861
5e9b711115f13a486c2ea830660e274a63129004
478
py
Python
src/bpmn_python/graph/classes/events/intermediate_catch_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
src/bpmn_python/graph/classes/events/intermediate_catch_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
src/bpmn_python/graph/classes/events/intermediate_catch_event_type.py
ToJestKrzysio/ProcessVisualization
9a359a31816bf1be65e3684a571509e3a2c2c0ac
[ "MIT" ]
null
null
null
# coding=utf-8 """ Class used for representing tIntermediateCatchEvent of BPMN 2.0 graph """ import graph.classes.events.catch_event_type as catch_event
26.555556
74
0.715481
5e9cfe480f48cebb3ee33cedf5c2da8409e69016
71
py
Python
purestorage/__init__.py
sile16/rest-client
01604e00e8a64157e056fca614d320c3afd0f2d1
[ "BSD-2-Clause" ]
20
2018-10-26T01:33:15.000Z
2022-03-31T19:56:08.000Z
purestorage/__init__.py
sile16/rest-client
01604e00e8a64157e056fca614d320c3afd0f2d1
[ "BSD-2-Clause" ]
15
2018-08-09T20:42:21.000Z
2022-01-14T15:59:58.000Z
purestorage/__init__.py
sile16/rest-client
01604e00e8a64157e056fca614d320c3afd0f2d1
[ "BSD-2-Clause" ]
16
2018-10-22T18:31:42.000Z
2021-08-09T15:33:35.000Z
from .purestorage import FlashArray, PureError, PureHTTPError, VERSION
35.5
70
0.84507