hexsha
stringlengths
40
40
size
int64
3
1.03M
ext
stringclasses
10 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
972
max_stars_repo_name
stringlengths
6
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
972
max_issues_repo_name
stringlengths
6
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
972
max_forks_repo_name
stringlengths
6
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
3
1.03M
avg_line_length
float64
1.13
941k
max_line_length
int64
2
941k
alphanum_fraction
float64
0
1
4b91fe4dd175731041354e85341278b6a5b72cdf
411
py
Python
post/migrations/0014_post_video.py
VotarkSocial/votarkAPI
eea10a64ac0b255c97078b90786fccb30d0a451e
[ "MIT" ]
2
2020-06-14T08:25:29.000Z
2021-09-22T07:48:11.000Z
post/migrations/0014_post_video.py
suulcoder/votarkAPI
eea10a64ac0b255c97078b90786fccb30d0a451e
[ "MIT" ]
10
2020-06-14T08:36:42.000Z
2022-03-12T00:30:53.000Z
post/migrations/0014_post_video.py
suulcoder/votarkAPI
eea10a64ac0b255c97078b90786fccb30d0a451e
[ "MIT" ]
1
2021-09-22T07:48:17.000Z
2021-09-22T07:48:17.000Z
# Generated by Django 3.0.4 on 2020-05-21 03:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('post', '0013_remove_post_video'), ] operations = [ migrations.AddField( model_name='post', name='video', ...
21.631579
84
0.596107
fa5ce1460b924bf0b0a12b52cfeae48821cd9f44
2,433
py
Python
hecuba_py/tests/withcassandra/hfetch_tests.py
cugni/hecuba
5f4654d068dff0ef641d37d98bdac46e539fea48
[ "Apache-2.0" ]
6
2017-11-09T12:59:54.000Z
2022-02-03T14:04:29.000Z
hecuba_py/tests/withcassandra/hfetch_tests.py
cugni/hecuba
5f4654d068dff0ef641d37d98bdac46e539fea48
[ "Apache-2.0" ]
150
2017-10-18T09:24:46.000Z
2021-11-02T13:28:50.000Z
hecuba_py/tests/withcassandra/hfetch_tests.py
cugni/hecuba
5f4654d068dff0ef641d37d98bdac46e539fea48
[ "Apache-2.0" ]
3
2017-11-10T18:56:46.000Z
2021-11-02T10:35:14.000Z
import unittest import numpy as np from hecuba import config, StorageDict from hfetch import HArrayMetadata class ConcurrentDict(StorageDict): ''' @TypeSpec <<key:int>,value:int> ''' class HfetchTests(unittest.TestCase): def test_timestamped_writes(self): previous_cfg = config.timestamped_w...
31.597403
108
0.646116
3613265be69e051f091160242a66e532da487674
417
py
Python
setup.py
edersohe/bottle-resource
dd409ced21cf0c697af7b24647f647bd02018b2c
[ "MIT" ]
null
null
null
setup.py
edersohe/bottle-resource
dd409ced21cf0c697af7b24647f647bd02018b2c
[ "MIT" ]
null
null
null
setup.py
edersohe/bottle-resource
dd409ced21cf0c697af7b24647f647bd02018b2c
[ "MIT" ]
null
null
null
from setuptools import setup requirements = open('requirements.txt').readlines() setup( name='bottle-resource', version='0.0.1b', author='Eder Sosa', author_email='eder.sohe@gmail.com', description='Bottle resource help to build resource APIs', py_modules=['bottle_resource'], install_requi...
26.0625
62
0.705036
cff199c74ce3e1fb79b4241bb40259e55a05df48
619
py
Python
neutron/plugins/virtualbox/__init__.py
alexandrucoman/vbox-neutron-agent
4c6955276d9a3d534505fe2b08948a76acda3d6f
[ "Apache-2.0" ]
null
null
null
neutron/plugins/virtualbox/__init__.py
alexandrucoman/vbox-neutron-agent
4c6955276d9a3d534505fe2b08948a76acda3d6f
[ "Apache-2.0" ]
null
null
null
neutron/plugins/virtualbox/__init__.py
alexandrucoman/vbox-neutron-agent
4c6955276d9a3d534505fe2b08948a76acda3d6f
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2015 Cloudbase Solutions Srl # # 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 applicab...
44.214286
78
0.728595
905b92a91ff9aaae054d1f6e3c7b18fa7f9c731d
908
py
Python
setup.py
lucassel/bitchbetterhavemymoney
b3036b65b6e5b1e2f1fc903bde1691d7f4c8c725
[ "MIT" ]
null
null
null
setup.py
lucassel/bitchbetterhavemymoney
b3036b65b6e5b1e2f1fc903bde1691d7f4c8c725
[ "MIT" ]
null
null
null
setup.py
lucassel/bitchbetterhavemymoney
b3036b65b6e5b1e2f1fc903bde1691d7f4c8c725
[ "MIT" ]
null
null
null
from setuptools import setup def readme(): with open('README.md', encoding='utf-8') as f: README = f.read() return README setup( name="bitchbetterhavemymoney", version="0.0.0.5", description="A Python CLI tool to check your Monizze maaltijdcheques.", long_description=readme(), ...
25.942857
75
0.631057
da987703430260ca008bcc2ff5849f246490dd58
419
py
Python
acce/setup.py
ciphertechsolutions/stoq-plugins-public
95cfc1c5ef01da95e96ea9f7cbfecebd4451c88c
[ "Apache-2.0" ]
null
null
null
acce/setup.py
ciphertechsolutions/stoq-plugins-public
95cfc1c5ef01da95e96ea9f7cbfecebd4451c88c
[ "Apache-2.0" ]
null
null
null
acce/setup.py
ciphertechsolutions/stoq-plugins-public
95cfc1c5ef01da95e96ea9f7cbfecebd4451c88c
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages setup( name="acce", version="3.0.0", author="Cipher Tech Solutions (acce.support@ciphertechsolutions.com)", url="https://github.com/PUNCH-Cyber/stoq-plugins-public", license="Apache License 2.0", description="Scan payloads using ACCE (Automated Compon...
32.230769
94
0.73031
ffbc48cc7db0d1435e47fe296212a9959d31d5fd
403
py
Python
projects/migrations/0030_auto_20200722_2228.py
peppasd/LIT
80e256e7678be3cf3ad72d152005cdb7778545d5
[ "MIT" ]
2
2020-06-05T14:49:11.000Z
2021-07-19T17:50:05.000Z
projects/migrations/0030_auto_20200722_2228.py
peppasd/LIT
80e256e7678be3cf3ad72d152005cdb7778545d5
[ "MIT" ]
50
2020-05-29T11:15:33.000Z
2020-07-29T15:30:53.000Z
projects/migrations/0030_auto_20200722_2228.py
peppasd/LIT
80e256e7678be3cf3ad72d152005cdb7778545d5
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-22 20:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0029_auto_20200722_1601'), ] operations = [ migrations.AlterField( model_name='photo', name='photo', ...
21.210526
68
0.600496
efb31b3b8c6763a5c89744a61bc549f6436dfb7d
4,542
py
Python
twist_controller/twist_controller.py
ashutoshpatel2210/CarNd-Capstone-ashutosh
1aecc77bf5ed39eba121a8bd9dc0580f122753c2
[ "MIT" ]
null
null
null
twist_controller/twist_controller.py
ashutoshpatel2210/CarNd-Capstone-ashutosh
1aecc77bf5ed39eba121a8bd9dc0580f122753c2
[ "MIT" ]
10
2019-12-16T22:19:32.000Z
2022-02-10T00:47:29.000Z
twist_controller/twist_controller.py
ashutoshpatel2210/CarNd-Capstone-ashutosh
1aecc77bf5ed39eba121a8bd9dc0580f122753c2
[ "MIT" ]
null
null
null
from pid import PID from lowpass import LowPassFilter from yaw_controller import YawController import rospy GAS_DENSITY = 2.858 ONE_MPH = 0.44704 LOGGING_THROTTLE_FACTOR = 1 class Controller(object): def __init__(self, vehicle_mass,fuel_capacity, brake_deadband, decel_limit, a...
38.491525
115
0.505504
c3e173cbb7dd619a0c6f79f613e46b1d11436545
267
py
Python
scripts/Hisat.py
KoesGroup/Snakemake_hisat-DESeq
b41114f57956c5ccb2bdbe3f98a0be8865788b70
[ "MIT" ]
3
2019-04-19T03:13:49.000Z
2020-09-16T07:19:36.000Z
scripts/Hisat.py
KoesGroup/Snakemake_hisat-DESeq
b41114f57956c5ccb2bdbe3f98a0be8865788b70
[ "MIT" ]
20
2018-10-04T09:47:55.000Z
2019-11-26T10:21:28.000Z
scripts/Hisat.py
KoesGroup/Snakemake_hisat-DESeq
b41114f57956c5ccb2bdbe3f98a0be8865788b70
[ "MIT" ]
4
2019-11-14T17:22:41.000Z
2021-08-24T13:18:20.000Z
import sys import os args = sys.argv os.system("cd ../") num = len(args[2:])/3 for i in range(2,2+num): command = "hisat2 -x {} -1 {} -2 {} | samtools view -Sb -f 2 {}".format(args[1],args[i],args[i+num],args[i+2*num]) print(command) #os.system(command)
24.272727
118
0.59176
d6fe15e05472cc59c90ce9e660d5136292b4fd29
2,487
py
Python
examples/misc/suspend_pipelines.py
wilkinson/radical.entk
c73e031966f029bc401cfc23b15e1431112b6572
[ "MIT" ]
null
null
null
examples/misc/suspend_pipelines.py
wilkinson/radical.entk
c73e031966f029bc401cfc23b15e1431112b6572
[ "MIT" ]
null
null
null
examples/misc/suspend_pipelines.py
wilkinson/radical.entk
c73e031966f029bc401cfc23b15e1431112b6572
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys import time import radical.entk as re # ------------------------------------------------------------------------------ # hostname = os.environ.get('RMQ_HOSTNAME', 'localhost') port = int(os.environ.get('RMQ_PORT', 5672)) pipes = list() cnt = 0 # ------------------...
22.609091
80
0.500201
6c3545c82c8fe07d34a503ae14ad8c6861b5cfa7
8,537
py
Python
tests/build/scipy/scipy/special/tests/test_orthogonal_eval.py
crougeux/-a-i_v1.6.3_modif
b499a812e79f335d082d3f9b1070e0465ad67bab
[ "BSD-3-Clause" ]
26
2018-02-14T23:52:58.000Z
2021-08-16T13:50:03.000Z
tests/build/scipy/scipy/special/tests/test_orthogonal_eval.py
crougeux/-a-i_v1.6.3_modif
b499a812e79f335d082d3f9b1070e0465ad67bab
[ "BSD-3-Clause" ]
null
null
null
tests/build/scipy/scipy/special/tests/test_orthogonal_eval.py
crougeux/-a-i_v1.6.3_modif
b499a812e79f335d082d3f9b1070e0465ad67bab
[ "BSD-3-Clause" ]
10
2018-08-13T19:38:39.000Z
2020-04-19T03:02:00.000Z
from __future__ import division, print_function, absolute_import from distutils.version import LooseVersion import sys import numpy as np from numpy.testing import assert_, assert_allclose, dec import scipy.special.orthogonal as orth from scipy.special._testutils import FuncData # Early Numpy versions have bugs in ...
32.96139
82
0.554879
f3673f2d1e23e9414d5272cc47fcb027526cd67b
2,123
py
Python
tools/templatetool/templatetool.py
zfzackfrost/incredible_vulk
b5a6eb7072d5dc1d6e7a24d31379c1c6986f225c
[ "MIT" ]
null
null
null
tools/templatetool/templatetool.py
zfzackfrost/incredible_vulk
b5a6eb7072d5dc1d6e7a24d31379c1c6986f225c
[ "MIT" ]
null
null
null
tools/templatetool/templatetool.py
zfzackfrost/incredible_vulk
b5a6eb7072d5dc1d6e7a24d31379c1c6986f225c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Python script to process Jinja2 template files and print to STDOUT. """ import argparse import json import sys import os.path from ttool import get_env def process_args(): """Process command line arguments """ parser = argparse.ArgumentParser( prog="templatetool.py", ...
26.873418
87
0.63919
7f7c08b6e9c850f489e9427c7843eb05f5ec1f5d
1,312
py
Python
Python/fixedPoint.py
eechava6/NumericalAnalysisMethods
3eeb06bdb20d97f13a09fd0ed71bce045173ffef
[ "MIT" ]
null
null
null
Python/fixedPoint.py
eechava6/NumericalAnalysisMethods
3eeb06bdb20d97f13a09fd0ed71bce045173ffef
[ "MIT" ]
null
null
null
Python/fixedPoint.py
eechava6/NumericalAnalysisMethods
3eeb06bdb20d97f13a09fd0ed71bce045173ffef
[ "MIT" ]
null
null
null
from function import f from function import g import numpy as np import math def fixedPoint (xi,tol,max_iter): res = {} f_xi = f(xi) g_xi = g(xi) return_list = [] return_list.append({ 'iter':0, 'xi': xi, 'g(xi)':g_xi, 'f(xi)': f_xi, 'error...
23.428571
58
0.4375
1e6aad6431ee5225e3fdfc6af90dd0b922869e9b
4,403
py
Python
Route_prediction/visualizer/HTTPServer.py
ashishpatel26/machine-learning-1
8ec46055582391d71de970ebcf173d0129ac2993
[ "Apache-2.0" ]
1
2018-06-29T13:35:56.000Z
2018-06-29T13:35:56.000Z
Route_prediction/visualizer/HTTPServer.py
nav-e/machine-learning
8ec46055582391d71de970ebcf173d0129ac2993
[ "Apache-2.0" ]
null
null
null
Route_prediction/visualizer/HTTPServer.py
nav-e/machine-learning
8ec46055582391d71de970ebcf173d0129ac2993
[ "Apache-2.0" ]
2
2017-11-26T00:42:48.000Z
2021-07-09T04:29:14.000Z
#!/usr/bin/env python import os import sys import urllib import SimpleHTTPServer import SocketServer from cStringIO import StringIO import data from data.hdf5 import TaxiDataset from visualizer import Vlist, Path visualizer_path = os.path.join(data.path, 'visualizer') source_path = os.path.split(os.path.realpath(__fi...
35.224
134
0.532137
c410f49d28ff597da06c1d25f9b1aa77ed622089
1,103
py
Python
facedetection_vj.py
sgino209/FaceDetection_VJ_liveCam
ab68ecb26bf11704658e2fa6634e3daad516c155
[ "Apache-2.0" ]
1
2017-09-18T04:32:28.000Z
2017-09-18T04:32:28.000Z
facedetection_vj.py
sgino209/FaceDetection_VJ_liveCam
ab68ecb26bf11704658e2fa6634e3daad516c155
[ "Apache-2.0" ]
null
null
null
facedetection_vj.py
sgino209/FaceDetection_VJ_liveCam
ab68ecb26bf11704658e2fa6634e3daad516c155
[ "Apache-2.0" ]
null
null
null
import cv2 face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('haarcascade_eye.xml') cap = cv2.VideoCapture(0) if not cap.isOpened(): print("Error") exit(1) fps = cap.get(cv2.CAP_PROP_FPS) w = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH)) h = int(cap.get(...
29.026316
82
0.644606
a52b7b97f81a1dca19bc123677e1c25965c83222
3,646
py
Python
s07_colecoes/s07a02_tuplas.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
s07_colecoes/s07a02_tuplas.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
s07_colecoes/s07a02_tuplas.py
adeogliari/GeekUniversity_Python
1b6badc45ca1dfbaa2f42196fb2dedac417b866e
[ "MIT" ]
null
null
null
""" Tuplas (tuple) Tuplas são bastante parecidas com listas. Existem basicamente duas diferenças: 1 - As tuplas são representadas por parênteses () 2 - As tuplas são imutáveis: Isso significa que ao se criar uma tupla ela não muda. Toda operação em uma tupla gera uma nova tupla # CUIDADO 1: As tupla...
22.09697
90
0.630005
4cd2bfa749d2f3073ed9f0d6b5cc354c984b044a
69,994
py
Python
Alucard-Selfbot-src-master/Main.py
navisx/saiph
dabd68c633ee8d0758882f0c80c91734040c8bb4
[ "MIT" ]
null
null
null
Alucard-Selfbot-src-master/Main.py
navisx/saiph
dabd68c633ee8d0758882f0c80c91734040c8bb4
[ "MIT" ]
null
null
null
Alucard-Selfbot-src-master/Main.py
navisx/saiph
dabd68c633ee8d0758882f0c80c91734040c8bb4
[ "MIT" ]
null
null
null
class SELFBOT(): __linecount__ = 1933 __version__ = 3.4 # Dont just skid it, gimme some credits, thank you - coats.#1234 import discord, subprocess, sys, time, os, colorama, base64, codecs, datetime, io, random, numpy, datetime, smtplib, string, ctypes import urllib.parse, urllib.request, r...
36.761555
244
0.561934
b356bf9974e764585ccda306a861d59e349d5e11
5,834
py
Python
nova/api/auth.py
osrg/nova
14b6bc655145c832bd9c822e48f877818e0e53ff
[ "Apache-2.0" ]
null
null
null
nova/api/auth.py
osrg/nova
14b6bc655145c832bd9c822e48f877818e0e53ff
[ "Apache-2.0" ]
null
null
null
nova/api/auth.py
osrg/nova
14b6bc655145c832bd9c822e48f877818e0e53ff
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2011 OpenStack Foundation # # 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/LICE...
36.4625
79
0.621872
3fa0c7e72195424af343bd34ae1496fbd4d81586
8,445
py
Python
evennia/game_template/typeclasses/objects.py
lootcrawl/evennia
a5f736ca0ff89e4f7da7d3f89a8886f1ea3698aa
[ "BSD-3-Clause" ]
null
null
null
evennia/game_template/typeclasses/objects.py
lootcrawl/evennia
a5f736ca0ff89e4f7da7d3f89a8886f1ea3698aa
[ "BSD-3-Clause" ]
null
null
null
evennia/game_template/typeclasses/objects.py
lootcrawl/evennia
a5f736ca0ff89e4f7da7d3f89a8886f1ea3698aa
[ "BSD-3-Clause" ]
null
null
null
""" Object The Object is the "naked" base class for things in the game world. Note that the default Character, Room and Exit does not inherit from this Object, but from their respective default implementations in the evennia library. If you want to use this class as a parent to change the other types, you can do so b...
51.809816
81
0.639905
cf0c13eaf7220159354fd2d3139757ba99be5317
42,693
py
Python
tensorflow_probability/python/layers/distribution_layer_test.py
ykkawana/probability
65bfd91cf6e855674da8dd9976c067f79da46e90
[ "Apache-2.0" ]
1
2018-08-27T14:37:40.000Z
2018-08-27T14:37:40.000Z
tensorflow_probability/python/layers/distribution_layer_test.py
ykkawana/probability
65bfd91cf6e855674da8dd9976c067f79da46e90
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/python/layers/distribution_layer_test.py
ykkawana/probability
65bfd91cf6e855674da8dd9976c067f79da46e90
[ "Apache-2.0" ]
1
2018-08-27T14:37:44.000Z
2018-08-27T14:37:44.000Z
# Copyright 2018 The TensorFlow Probability 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 o...
37.45
95
0.664254
601b8d28512481cb6825f5d1bfd2db3bcb628130
5,091
py
Python
tests/test_visitors/test_ast/test_complexity/test_nested/test_nested_classes.py
Andrka/wemake-python-styleguide
0c55d4134ee0e236d5dd1b2b5ef1c74def0e804c
[ "MIT" ]
1
2020-05-21T17:58:52.000Z
2020-05-21T17:58:52.000Z
tests/test_visitors/test_ast/test_complexity/test_nested/test_nested_classes.py
RJ722/wemake-python-styleguide
bca3c673cf6802bb1ed53b1c547924a601c0bbc5
[ "MIT" ]
1
2020-07-20T14:46:02.000Z
2020-07-21T17:05:35.000Z
tests/test_visitors/test_ast/test_complexity/test_nested/test_nested_classes.py
RJ722/wemake-python-styleguide
bca3c673cf6802bb1ed53b1c547924a601c0bbc5
[ "MIT" ]
1
2021-02-14T06:00:44.000Z
2021-02-14T06:00:44.000Z
import pytest from wemake_python_styleguide.options.defaults import NESTED_CLASSES_WHITELIST from wemake_python_styleguide.violations.best_practices import ( NestedClassViolation, ) from wemake_python_styleguide.visitors.ast.complexity.nested import ( NestedComplexityVisitor, ) nested_class_in_class = """ cla...
21.849785
78
0.683559
780fbf02b26f81df8e5ab2643cd409568d776382
323
py
Python
backend/tests/utils.py
mikhailsidorov/flask-react-jwt-auth-sample
fe2ff7ad98aa4d912d5c02c8ef4fc1fe9d54bce1
[ "MIT" ]
null
null
null
backend/tests/utils.py
mikhailsidorov/flask-react-jwt-auth-sample
fe2ff7ad98aa4d912d5c02c8ef4fc1fe9d54bce1
[ "MIT" ]
1
2018-10-25T10:05:56.000Z
2018-10-25T10:05:56.000Z
backend/tests/utils.py
mikhailsidorov/flask-react-jwt-auth-sample
fe2ff7ad98aa4d912d5c02c8ef4fc1fe9d54bce1
[ "MIT" ]
null
null
null
from base64 import b64encode def make_basic_auth_headers(username, password): return { 'Authorization': 'Basic ' + b64encode(bytes("{0}:{1}".format( username, password), 'ascii')).decode('ascii')} def make_token_auth_headers(access_token): return {'Authorization': 'Bearer ' + access_toke...
26.916667
69
0.681115
e023f72a2817f963e105aa1bcb5c304d37cbcae4
4,718
py
Python
train.py
zhenming33/RAN_torch
cb419145f15b4bf3036862d85e672ba795bdd410
[ "Apache-2.0" ]
8
2019-07-16T15:31:24.000Z
2022-03-05T12:40:09.000Z
train.py
WenmuZhou/RAN_torch
cb419145f15b4bf3036862d85e672ba795bdd410
[ "Apache-2.0" ]
4
2019-07-06T07:03:31.000Z
2022-03-12T09:55:04.000Z
train.py
WenmuZhou/RAN_torch
cb419145f15b4bf3036862d85e672ba795bdd410
[ "Apache-2.0" ]
7
2019-06-10T03:08:42.000Z
2021-03-13T03:24:09.000Z
import os os.environ["CUDA_VISIBLE_DEVICES"] = "3" import torch from torch import nn import torch.optim as optim from torch.nn.utils.rnn import pack_padded_sequence from model import Model from tensorboardX import SummaryWriter import numpy as np from tqdm import tqdm from data_loader import dataset import Levenshtein ...
34.437956
127
0.67677
92a10d1e1b8f68ea355dcdec3ec276875f0648db
841
py
Python
chorus/test/test_remover.py
mojaie/chorus
63cbe4764ab2498b7b1da11a628bec01d03ca012
[ "MIT" ]
5
2018-03-23T04:56:17.000Z
2022-03-04T15:54:39.000Z
chorus/test/test_remover.py
mojaie/chorus
63cbe4764ab2498b7b1da11a628bec01d03ca012
[ "MIT" ]
4
2017-09-08T02:08:12.000Z
2018-06-12T00:55:18.000Z
chorus/test/test_remover.py
mojaie/chorus
63cbe4764ab2498b7b1da11a628bec01d03ca012
[ "MIT" ]
6
2018-01-22T22:21:20.000Z
2021-03-25T04:47:11.000Z
# # (C) 2014-2017 Seiji Matsuoka # Licensed under the MIT License (MIT) # http://opensource.org/licenses/MIT # import unittest from chorus import smilessupplier as ss from chorus import remover from chorus import v2000reader as reader from chorus.demo import MOL class TestRemover(unittest.TestCase): def test_re...
27.129032
57
0.6956
1796b428e8bcb4326274d76b741b552125ab17bc
58
py
Python
variabili_visibilita.py
pieroit/python-base
5e72854ef94e082a7c0bf757ce231a5031fd4017
[ "MIT" ]
null
null
null
variabili_visibilita.py
pieroit/python-base
5e72854ef94e082a7c0bf757ce231a5031fd4017
[ "MIT" ]
null
null
null
variabili_visibilita.py
pieroit/python-base
5e72854ef94e082a7c0bf757ce231a5031fd4017
[ "MIT" ]
null
null
null
a = 20 i = 0 while i < 10: i+=1 a = 10 print(a)
6.444444
13
0.413793
c2e4582ba40ac299fe954fa7ebeb5e0e4453b2c4
294
py
Python
app/Device.py
krishotte/env_data2
379f3bef686e5668019d11351aa4dae4eae05d37
[ "MIT" ]
null
null
null
app/Device.py
krishotte/env_data2
379f3bef686e5668019d11351aa4dae4eae05d37
[ "MIT" ]
null
null
null
app/Device.py
krishotte/env_data2
379f3bef686e5668019d11351aa4dae4eae05d37
[ "MIT" ]
null
null
null
"""Device Model.""" from config.database import Model from orator.orm import has_many class Device(Model): """Device Model.""" __fillable__ = ['name', 'description'] __timestamps__ = False @has_many def datas(self): from app.Data import Data return Data
18.375
42
0.64966
68a342636471ab0600994896836c5248a5b7539c
1,539
py
Python
tests/python/pants_test/engine/test_scheduler_integration.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
1
2020-06-13T22:01:39.000Z
2020-06-13T22:01:39.000Z
tests/python/pants_test/engine/test_scheduler_integration.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
null
null
null
tests/python/pants_test/engine/test_scheduler_integration.py
revl/pants
8ad83e4ca80c095d44efceafd8b41e575da39c65
[ "Apache-2.0" ]
3
2020-06-30T08:28:13.000Z
2021-07-28T09:35:57.000Z
# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from pathlib import Path from pants.testutil.pants_run_integration_test import PantsRunIntegrationTest, ensure_daemon from pants.util.contextutil import temporary_dir class SchedulerInt...
38.475
97
0.651722
048eed96a7e41a0216ca8b49476af346c498cb66
556
py
Python
app/blog/forms.py
RohitKochhar/Django-Website
b83d158bb11eef8b924684c44580a4fb68b2d05c
[ "Apache-2.0" ]
null
null
null
app/blog/forms.py
RohitKochhar/Django-Website
b83d158bb11eef8b924684c44580a4fb68b2d05c
[ "Apache-2.0" ]
1
2020-11-16T14:44:57.000Z
2020-11-16T14:48:33.000Z
app/blog/forms.py
RohitKochhar/Django-Website
b83d158bb11eef8b924684c44580a4fb68b2d05c
[ "Apache-2.0" ]
null
null
null
from django import forms class CommentForm(forms.Form): s_Author = forms.CharField( max_length=60, widget=forms.TextInput(attrs={ "class":"form-control", "placeholder": "Your Name" ...
32.705882
62
0.402878
92c3d6328bd4d96f49da1794f04445d75bb94df7
3,015
py
Python
DQMOffline/PFTau/python/PFMuonDQMAnalyzer_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQMOffline/PFTau/python/PFMuonDQMAnalyzer_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQMOffline/PFTau/python/PFMuonDQMAnalyzer_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms pfMuonDQMAnalyzer = cms.EDAnalyzer("PFMuonDQMAnalyzer", InputCollection = cms.InputTag('muons'), MatchCollection = cms.InputTag('gensource'), BenchmarkLabel = cms.string('PFMuonValidation/PFMuonVsGenMuon'), deltaRMax = cms.double(0.2), matchCharge = cms.boo...
35.05814
85
0.577778
45feb8108cf4060a7b531b2b7d368d3f1950adbf
2,321
py
Python
binary_search_tree.py
cheungh/python
8dff6c0cb52f85f23f6fffdb5edb4ac2849ce5ee
[ "MIT" ]
null
null
null
binary_search_tree.py
cheungh/python
8dff6c0cb52f85f23f6fffdb5edb4ac2849ce5ee
[ "MIT" ]
null
null
null
binary_search_tree.py
cheungh/python
8dff6c0cb52f85f23f6fffdb5edb4ac2849ce5ee
[ "MIT" ]
null
null
null
class Node: data = None right = None left = None parent = None def __init__(self, data, parent=None): self.data = data self.parent = parent def min(self): node = self while node.right: node = node.right return node def max(self): ...
24.177083
66
0.490737
86e89c1624a26f211bc2ec22c32d4545f49a9907
686
py
Python
test_blood_cells_v4.py
1xVinniThePuh/Comp_Visision
251afc59cd86989daca8305bc825e33d01ab37fa
[ "MIT" ]
2
2020-05-05T11:30:27.000Z
2020-05-05T11:31:42.000Z
test_blood_cells_v4.py
1xVinniThePuh/Comp_Visision
251afc59cd86989daca8305bc825e33d01ab37fa
[ "MIT" ]
null
null
null
test_blood_cells_v4.py
1xVinniThePuh/Comp_Visision
251afc59cd86989daca8305bc825e33d01ab37fa
[ "MIT" ]
1
2020-05-05T11:37:36.000Z
2020-05-05T11:37:36.000Z
import cv2 import numpy as np img = cv2.imread('eroded_10.jpg', 0) img = cv2.medianBlur(img, 5) cimg = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR) circles = cv2.HoughCircles(img, cv2.HOUGH_GRADIENT, 1, 20, param1=50, param2=30, minRadius=0, maxRadius=0) circles = np.uint16(np.around...
25.407407
76
0.609329
5d4a1e50819646fcebdbc61aa8b3ea7839dbf62a
303
py
Python
data/multilingual/Latn.TEM/Mono_12/pdf_to_json_test_Latn.TEM_Mono_12.py
antoinecarme/pdf_to_json_tests
d57a024fde862e698d916a1178f285883d7a3b2f
[ "BSD-3-Clause" ]
1
2021-09-19T19:47:35.000Z
2021-09-19T19:47:35.000Z
data/multilingual/Latn.TEM/Mono_12/pdf_to_json_test_Latn.TEM_Mono_12.py
antoinecarme/pdf_to_json_tests
d57a024fde862e698d916a1178f285883d7a3b2f
[ "BSD-3-Clause" ]
null
null
null
data/multilingual/Latn.TEM/Mono_12/pdf_to_json_test_Latn.TEM_Mono_12.py
antoinecarme/pdf_to_json_tests
d57a024fde862e698d916a1178f285883d7a3b2f
[ "BSD-3-Clause" ]
null
null
null
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.TEM/Mono_12/udhr_Latn.TEM_Mono_12.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
30.3
73
0.811881
7863858a9776e0d023da89d0bafc939f66d2f1fc
584
py
Python
install/app_store/tk-framework-desktopserver/v1.3.1/tests/fixtures/config/bundles/test_app/app.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
null
null
null
install/app_store/tk-framework-desktopserver/v1.3.1/tests/fixtures/config/bundles/test_app/app.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
null
null
null
install/app_store/tk-framework-desktopserver/v1.3.1/tests/fixtures/config/bundles/test_app/app.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
1
2020-02-15T10:42:56.000Z
2020-02-15T10:42:56.000Z
# Copyright (c) 2017 Shotgun Software Inc. # # CONFIDENTIAL AND PROPRIETARY # # This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit # Source Code License included in this distribution package. See LICENSE. # By accessing, using, copying or modifying this work you indicate your # agreement to t...
25.391304
76
0.748288
28eca14ebaee409dfd77295fd2785a337c3145b1
804
py
Python
examples/beta_bernoulli_pymc3.py
caosenqi/Edward1
85f833d307512a585b85ebc2979445e17191ed81
[ "Apache-2.0" ]
1
2016-10-22T09:56:50.000Z
2016-10-22T09:56:50.000Z
examples/beta_bernoulli_pymc3.py
caosenqi/Edward1
85f833d307512a585b85ebc2979445e17191ed81
[ "Apache-2.0" ]
null
null
null
examples/beta_bernoulli_pymc3.py
caosenqi/Edward1
85f833d307512a585b85ebc2979445e17191ed81
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ A simple coin flipping example. The model is written in PyMC3. Inspired by Stan's toy example. Probability model Prior: Beta Likelihood: Bernoulli Variational model Likelihood: Mean-field Beta """ import edward as ed import pymc3 as pm import numpy as np import theano from edward...
23.647059
62
0.677861
d0454f8bf5afad8d7c381d7e2e4a5faa61a7f182
80
py
Python
tic_toc/__init__.py
nok/tic-toc
c777fe5ce505e483815d4183cb1b0ba04a1461bc
[ "MIT" ]
1
2018-11-26T04:12:35.000Z
2018-11-26T04:12:35.000Z
tic_toc/__init__.py
nok/tic-toc
c777fe5ce505e483815d4183cb1b0ba04a1461bc
[ "MIT" ]
null
null
null
tic_toc/__init__.py
nok/tic-toc
c777fe5ce505e483815d4183cb1b0ba04a1461bc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from tic_toc.Timer import Timer __version__ = '0.1.2'
13.333333
31
0.6375
0c45e969e6fe32f17dbdeaef3658d42d0e0565cc
2,102
py
Python
TEST/BETAsite/Callout.py
takehuge/PYQUM
bfc9d9b1c2f4246c7aac3a371baaf587c99f8069
[ "MIT" ]
null
null
null
TEST/BETAsite/Callout.py
takehuge/PYQUM
bfc9d9b1c2f4246c7aac3a371baaf587c99f8069
[ "MIT" ]
null
null
null
TEST/BETAsite/Callout.py
takehuge/PYQUM
bfc9d9b1c2f4246c7aac3a371baaf587c99f8069
[ "MIT" ]
null
null
null
# This is a template for calling out other programming platforms other than Python itself # from ctypes import * # calling VI using its activeX methods & properties def Call_VI(VI_name): #None = [] import platform platinfo = platform.system() if platinfo is "Windows": import comtypes.client ...
38.218182
157
0.598002
d5de717ed60a896390d7e169af151355680f312b
2,527
py
Python
skgenome/tabio/picard.py
jeremy9959/cnvkit
b839a2b323113a7d318d216f61a0ed6657c70ed4
[ "Apache-2.0" ]
null
null
null
skgenome/tabio/picard.py
jeremy9959/cnvkit
b839a2b323113a7d318d216f61a0ed6657c70ed4
[ "Apache-2.0" ]
null
null
null
skgenome/tabio/picard.py
jeremy9959/cnvkit
b839a2b323113a7d318d216f61a0ed6657c70ed4
[ "Apache-2.0" ]
null
null
null
"""I/O for formats used by Picard tools. - Interval list (also used in GATK) - CalculateHsMetrics PER_TARGET_COVERAGE output """ from __future__ import absolute_import, division, print_function import numpy as np import pandas as pd def read_interval(infile): """GATK/Picard-compatible interval list format. ...
27.769231
81
0.556787
eeeddda3744c11de4c0cf722e13792136c17ab76
5,075
py
Python
exercises/trees/canConstruct.py
iamnicoj/pythonplay
f847038524c59a5fe658712a2cf4f904ad52401e
[ "MIT" ]
null
null
null
exercises/trees/canConstruct.py
iamnicoj/pythonplay
f847038524c59a5fe658712a2cf4f904ad52401e
[ "MIT" ]
6
2021-03-02T21:28:15.000Z
2021-03-17T23:35:44.000Z
exercises/trees/canConstruct.py
iamnicoj/pythonplay
f847038524c59a5fe658712a2cf4f904ad52401e
[ "MIT" ]
null
null
null
import copy def can_construct(target, word_bank): return _can_construct(target, "", word_bank, {}) def _can_construct(target, concatenated, word_bank, memo): if memo.get(concatenated, None) is not None: return memo[concatenated] if target is None or target == "": return False if targe...
32.954545
145
0.562759
c464044f3058ac6567a3a69662e8481bd6a4a060
9,322
py
Python
tools/intogen/runtime/pyenv/lib/python2.7/site-packages/scipy/weave/examples/vq.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
1
2021-02-05T13:19:58.000Z
2021-02-05T13:19:58.000Z
tools/intogen/runtime/pyenv/lib/python2.7/site-packages/scipy/weave/examples/vq.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
1
2018-04-15T22:59:15.000Z
2018-04-15T22:59:15.000Z
tools/intogen/runtime/pyenv/lib/python2.7/site-packages/scipy/weave/examples/vq.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
""" """ from __future__ import absolute_import, print_function # C:\home\ej\wrk\scipy\weave\examples>python vq.py # vq with 1000 observation, 10 features and 30 codes fo 100 iterations # speed in python: 0.150119999647 # [25 29] [ 2.49147266 3.83021032] # speed in standard c: 0.00710999965668 # [25 29] [ 2.49147266...
37.437751
105
0.528213
9f80cb05653257b69e22da09a62518cede6d3434
40,057
py
Python
api/v1/views/instance.py
xuhang57/atmosphere
f53fea2a74ee89ccc8852906799b1d9a7e9178b7
[ "BSD-3-Clause" ]
null
null
null
api/v1/views/instance.py
xuhang57/atmosphere
f53fea2a74ee89ccc8852906799b1d9a7e9178b7
[ "BSD-3-Clause" ]
null
null
null
api/v1/views/instance.py
xuhang57/atmosphere
f53fea2a74ee89ccc8852906799b1d9a7e9178b7
[ "BSD-3-Clause" ]
null
null
null
from django.utils import timezone from django.db.models import Q from rest_framework import status from rest_framework.response import Response from threepio import logger from core.exceptions import ProviderNotActive from core.models import AtmosphereUser as User from core.models.allocation_source import Allocation...
43.118407
156
0.614599
53b7bdbf7f0f031a9b62f8de733c1df144b98a5d
40,720
py
Python
tests/plugins/test_deepspeed_plugin.py
aleSuglia/pytorch-lightning
16213b16356f5bd97b8cc8bf1849eacd68d658c5
[ "Apache-2.0" ]
3
2021-10-04T05:08:28.000Z
2021-10-04T06:04:06.000Z
tests/plugins/test_deepspeed_plugin.py
AshleySato899/pytorch-lightning
854bdc042d12fe4b713de881c58b025de30d0c39
[ "Apache-2.0" ]
null
null
null
tests/plugins/test_deepspeed_plugin.py
AshleySato899/pytorch-lightning
854bdc042d12fe4b713de881c58b025de30d0c39
[ "Apache-2.0" ]
null
null
null
import contextlib import json import os from typing import Any, Dict, Optional from unittest import mock import pytest import torch import torch.nn.functional as F from torch import nn, Tensor from torch.optim import Optimizer from torch.utils.data import DataLoader from torchmetrics import Accuracy from pytorch_ligh...
38.966507
119
0.709062
b906bc2944db7a236c31ae9afc9c7dd21fcf60f9
300
py
Python
examples/download.py
peterdhansen/nexradaws
0658efc5ec95d113a9d87fed3feb71b35293bec4
[ "MIT" ]
28
2018-04-28T19:18:06.000Z
2021-12-01T00:19:30.000Z
examples/download.py
peterdhansen/nexradaws
0658efc5ec95d113a9d87fed3feb71b35293bec4
[ "MIT" ]
10
2017-06-30T19:33:20.000Z
2021-07-27T22:39:52.000Z
examples/download.py
peterdhansen/nexradaws
0658efc5ec95d113a9d87fed3feb71b35293bec4
[ "MIT" ]
7
2018-10-21T17:39:55.000Z
2021-02-14T01:55:18.000Z
import nexradaws import tempfile import six templocation = tempfile.mkdtemp() conn = nexradaws.NexradAwsInterface() scans = conn.get_avail_scans('2013', '05', '31', 'KTLX') localfiles = conn.download(scans[0:12],templocation) six.print_(localfiles.success) six.print_(localfiles.success[0].filepath)
30
56
0.783333
0361f75985c48303043c2b7bda78b13b9059c359
2,031
py
Python
azure-keyvault/azure/keyvault/models/key_properties_py3.py
wawon-msft/azure-sdk-for-python
8004d3ac11f4b5d7a43a955c79527d21ebd68850
[ "MIT" ]
1
2018-07-23T08:59:24.000Z
2018-07-23T08:59:24.000Z
azure-keyvault/azure/keyvault/models/key_properties_py3.py
wawon-msft/azure-sdk-for-python
8004d3ac11f4b5d7a43a955c79527d21ebd68850
[ "MIT" ]
null
null
null
azure-keyvault/azure/keyvault/models/key_properties_py3.py
wawon-msft/azure-sdk-for-python
8004d3ac11f4b5d7a43a955c79527d21ebd68850
[ "MIT" ]
null
null
null
# 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 ...
40.62
136
0.611521
1eebe8b1cee2a982e6a82539bc84ee3411c6f952
2,372
py
Python
analytical/tests/test_tag_google_analytics_gtag.py
sean-wallace/django-analytical
7e68563849c7cf6557e787b804d96a1b0617d4ef
[ "MIT" ]
null
null
null
analytical/tests/test_tag_google_analytics_gtag.py
sean-wallace/django-analytical
7e68563849c7cf6557e787b804d96a1b0617d4ef
[ "MIT" ]
null
null
null
analytical/tests/test_tag_google_analytics_gtag.py
sean-wallace/django-analytical
7e68563849c7cf6557e787b804d96a1b0617d4ef
[ "MIT" ]
null
null
null
""" Tests for the Google Analytics template tags and filters, using the new gtag.js library. """ from django.contrib.auth.models import User from django.http import HttpRequest from django.template import Context from django.test.utils import override_settings from analytical.templatetags.google_analytics_gtag import...
40.20339
99
0.692243
4b0fdfdf5ebc0373b3fdaa7c04b3a86516f6af17
18,180
py
Python
gameta/context.py
darkvariantdivine/gameta
0cc2f4cf85974ef85569c456eab4c25c37be33ce
[ "MIT" ]
6
2020-11-09T17:06:14.000Z
2021-05-12T09:09:57.000Z
gameta/context.py
darkvariantdivine/gameta
0cc2f4cf85974ef85569c456eab4c25c37be33ce
[ "MIT" ]
33
2020-10-12T16:24:42.000Z
2021-03-03T13:33:23.000Z
gameta/context.py
darkvariantdivine/gameta
0cc2f4cf85974ef85569c456eab4c25c37be33ce
[ "MIT" ]
4
2020-11-04T06:35:49.000Z
2021-01-13T15:56:38.000Z
import json import shlex from abc import abstractmethod from contextlib import contextmanager from copy import deepcopy from os import getenv, getcwd, chdir, environ from os.path import join, basename, normpath, abspath from typing import Optional, List, Generator, Dict, Tuple, Union import click from jsonschema.val...
32.063492
119
0.525468
08eaa9970f08b13d7e355b4588231a01a56ba862
1,324
py
Python
programming/back_to_school.py
sptoom/root-me
b55536d4572d048b0a22932bb447d6bd69e6fad9
[ "MIT" ]
null
null
null
programming/back_to_school.py
sptoom/root-me
b55536d4572d048b0a22932bb447d6bd69e6fad9
[ "MIT" ]
null
null
null
programming/back_to_school.py
sptoom/root-me
b55536d4572d048b0a22932bb447d6bd69e6fad9
[ "MIT" ]
null
null
null
import socket, string, time, thread, math SERVER = 'irc.root-me.org' PORT = 6667 NICKNAME = 'sptoom' CHANNEL = '#root-me_challenge' BOTNAME = 'Candy' def irc_connect(): global IRC IRC = socket.socket(socket.AF_INET, socket.SOCK_STREAM) IRC.connect((SERVER, PORT)) def irc_command(command): print(comma...
30.090909
79
0.587613
7e96e67e3743b9534f1203df196ac379f3e509a9
2,872
py
Python
src/utils/p4ast.py
Anmol-007/l2l3_ACL_cartesian_product
730f07f2c7ff4cdcd482a25491d8bd3883c835e1
[ "Apache-2.0" ]
null
null
null
src/utils/p4ast.py
Anmol-007/l2l3_ACL_cartesian_product
730f07f2c7ff4cdcd482a25491d8bd3883c835e1
[ "Apache-2.0" ]
null
null
null
src/utils/p4ast.py
Anmol-007/l2l3_ACL_cartesian_product
730f07f2c7ff4cdcd482a25491d8bd3883c835e1
[ "Apache-2.0" ]
1
2022-02-12T08:45:28.000Z
2022-02-12T08:45:28.000Z
# Copyright 2016 Eotvos Lorand University, Budapest, Hungary # # 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 appli...
68.380952
186
0.753134
30f2c3546a836c380a75c6618d1fc0c71ec30774
12,722
py
Python
tensorflow_federated/python/core/impl/executor_service_utils.py
VonRosenchild/federated
ad3986f8587a0f1dd0c6ce738db1fef436cb826f
[ "Apache-2.0" ]
1
2019-10-10T06:19:52.000Z
2019-10-10T06:19:52.000Z
tensorflow_federated/python/core/impl/executor_service_utils.py
wangcaihua/federated
c8c7fe84d20f6c16a2a9f290a05179b5422257b6
[ "Apache-2.0" ]
null
null
null
tensorflow_federated/python/core/impl/executor_service_utils.py
wangcaihua/federated
c8c7fe84d20f6c16a2a9f290a05179b5422257b6
[ "Apache-2.0" ]
2
2019-10-10T06:19:41.000Z
2021-01-28T03:06:55.000Z
# Lint as: python3 # Copyright 2019, The TensorFlow Federated 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 ...
40.645367
81
0.734319
cf39c4adaed535c2777301270dab5d949045991c
2,136
py
Python
aliyun-python-sdk-cloudapi/aliyunsdkcloudapi/request/v20160714/SetTrafficControlApisRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-cloudapi/aliyunsdkcloudapi/request/v20160714/SetTrafficControlApisRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-cloudapi/aliyunsdkcloudapi/request/v20160714/SetTrafficControlApisRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
# 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...
35.016393
91
0.769195
3119d84522ba52c069d9d3a861d66b0cb18bd5bc
57,759
py
Python
sympy/integrals/integrals.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
2
2018-12-05T02:30:43.000Z
2020-11-14T01:43:15.000Z
sympy/integrals/integrals.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
null
null
null
sympy/integrals/integrals.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
null
null
null
from __future__ import print_function, division from sympy.concrete.expr_with_limits import AddWithLimits from sympy.core.add import Add from sympy.core.basic import Basic from sympy.core.compatibility import is_sequence, range from sympy.core.containers import Tuple from sympy.core.expr import Expr from sympy.core.fu...
39.669643
89
0.537665
fd45c4025c5672cdf6268f63fedfad62afa0c7bb
369
py
Python
paster-script.py
greck2908/gamification-engine
4a74086bde4505217e4b9ba36349a427a7042b4b
[ "MIT" ]
347
2015-03-03T14:25:59.000Z
2022-03-09T07:46:31.000Z
paster-script.py
greck2908/gamification-engine
4a74086bde4505217e4b9ba36349a427a7042b4b
[ "MIT" ]
76
2015-03-05T23:37:31.000Z
2022-03-31T13:41:42.000Z
paster-script.py
greck2908/gamification-engine
4a74086bde4505217e4b9ba36349a427a7042b4b
[ "MIT" ]
115
2015-03-04T23:47:25.000Z
2021-12-24T06:24:06.000Z
#!/usr/bin/env python import os import sys try: here = __file__ except NameError: # Python 2.2 here = sys.argv[0] relative_paste = os.path.join( os.path.dirname(os.path.dirname(os.path.abspath(here))), 'paste') if os.path.exists(relative_paste): sys.path.insert(0, os.path.dirname(relative_paste))...
19.421053
69
0.707317
e0029cf6a075af75affb004cde179f82569fc8f2
387
py
Python
noxfile.py
kprussing/kprussing.github.io
50a666ba09f400f95507ae86f6ed27828f5da676
[ "BSD-2-Clause" ]
null
null
null
noxfile.py
kprussing/kprussing.github.io
50a666ba09f400f95507ae86f6ed27828f5da676
[ "BSD-2-Clause" ]
null
null
null
noxfile.py
kprussing/kprussing.github.io
50a666ba09f400f95507ae86f6ed27828f5da676
[ "BSD-2-Clause" ]
null
null
null
import pathlib import nox @nox.session def docs(session): """Build the HTML pages""" session.install("sphinx", "kpruss") root = pathlib.Path(__file__).parent session.run("sphinx-build", "-W", "-b", "html", "-d", str(root / ".doctrees"), ...
21.5
46
0.470284
174782f5a7669ba1b71b9a8c8e0c25af38d584e7
5,752
py
Python
test/integration/smoke/test_internal_lb.py
vispractice/cloudstack
d543e2aa2c05422559d866c8b2ae29c83bfd5da0
[ "Apache-2.0" ]
null
null
null
test/integration/smoke/test_internal_lb.py
vispractice/cloudstack
d543e2aa2c05422559d866c8b2ae29c83bfd5da0
[ "Apache-2.0" ]
null
null
null
test/integration/smoke/test_internal_lb.py
vispractice/cloudstack
d543e2aa2c05422559d866c8b2ae29c83bfd5da0
[ "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...
40.794326
136
0.63404
637a71c71c13e92553b21880c5824147cca02a37
3,718
py
Python
docs/jsonschema_role.py
gastonci/jsonschema
c0fd4e007227b283e3e8d363e3a991b2d34ccd9a
[ "MIT" ]
null
null
null
docs/jsonschema_role.py
gastonci/jsonschema
c0fd4e007227b283e3e8d363e3a991b2d34ccd9a
[ "MIT" ]
null
null
null
docs/jsonschema_role.py
gastonci/jsonschema
c0fd4e007227b283e3e8d363e3a991b2d34ccd9a
[ "MIT" ]
null
null
null
from datetime import datetime from docutils import nodes import errno import os try: import urllib2 as urllib except ImportError: import urllib.request as urllib import certifi from lxml import html VALIDATION_SPEC = "https://json-schema.org/draft-04/json-schema-validation.html" def setup(app): """ ...
25.121622
87
0.591447
50411591cb77b1786aabf38d6d0d48171dfd60bc
11,154
py
Python
homeassistant/components/device_tracker/asuswrt.py
mweinelt/home-assistant
cc0d0a38d7f24885e5146bd0826fa8ba3e2b39a1
[ "MIT" ]
4
2017-03-22T21:16:45.000Z
2021-06-11T05:08:14.000Z
homeassistant/components/device_tracker/asuswrt.py
mweinelt/home-assistant
cc0d0a38d7f24885e5146bd0826fa8ba3e2b39a1
[ "MIT" ]
null
null
null
homeassistant/components/device_tracker/asuswrt.py
mweinelt/home-assistant
cc0d0a38d7f24885e5146bd0826fa8ba3e2b39a1
[ "MIT" ]
4
2016-11-27T01:59:49.000Z
2018-03-11T07:17:25.000Z
""" Support for ASUSWRT routers. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/device_tracker.asuswrt/ """ import logging import re import socket import telnetlib import threading from collections import namedtuple from datetime import timedelta import...
36.097087
79
0.54393
b181edf21e0f6a8095b726474d2c27281ebbde27
146
py
Python
tests/test_resources.py
jd28/pynwn
ed0f4a44cf12238615c530cacde626f7e0d17fea
[ "MIT" ]
8
2016-01-05T16:45:41.000Z
2020-04-30T10:06:30.000Z
tests/test_resources.py
jd28/pynwn
ed0f4a44cf12238615c530cacde626f7e0d17fea
[ "MIT" ]
2
2018-03-19T22:45:56.000Z
2022-03-30T19:53:30.000Z
tests/test_resources.py
jd28/pynwn
ed0f4a44cf12238615c530cacde626f7e0d17fea
[ "MIT" ]
6
2016-01-05T16:40:01.000Z
2020-12-03T05:26:08.000Z
import pynwn def test_resource_construction(): r = pynwn.Resource("hello", pynwn.ResourceType.twoda) assert r.filename() == "hello.2da"
20.857143
57
0.712329
55e9926175d43c6f5488530d09338ab07b7a2ebd
224
py
Python
base/base_data_loader.py
junronglau/tweet-phrases-extraction
6cace59fd38d62cec212f959447f81c42dc971ea
[ "Apache-2.0" ]
null
null
null
base/base_data_loader.py
junronglau/tweet-phrases-extraction
6cace59fd38d62cec212f959447f81c42dc971ea
[ "Apache-2.0" ]
2
2021-08-25T16:05:12.000Z
2022-02-10T01:23:36.000Z
base/base_data_loader.py
junronglau/tweet-phrases-extraction
6cace59fd38d62cec212f959447f81c42dc971ea
[ "Apache-2.0" ]
null
null
null
class BaseDataLoader(object): def __init__(self, config): self.config = config def get_train_data(self): raise NotImplementedError def get_test_data(self): raise NotImplementedError
22.4
33
0.674107
da17e1281d9867df40953b88c7d4d7f6d3589a92
50,616
py
Python
Lib/test/test_threading.py
nsiregar/cpython
6467134307cf01802c9f1c0384d8acbebecbd400
[ "CNRI-Python-GPL-Compatible" ]
1
2020-03-29T21:43:55.000Z
2020-03-29T21:43:55.000Z
Lib/test/test_threading.py
lwd-temp/cpython
34a49aa3e4d023b5f9e9029f4f1ec68f1a8a8120
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Lib/test/test_threading.py
lwd-temp/cpython
34a49aa3e4d023b5f9e9029f4f1ec68f1a8a8120
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
""" Tests for the threading module. """ import test.support from test.support import verbose, import_module, cpython_only from test.support.script_helper import assert_python_ok, assert_python_failure import random import sys import _thread import threading import time import unittest import weakref import os import ...
34.859504
88
0.567172
e59ee03887e39486e764c274913d28458eeb1d02
4,284
py
Python
network/Seg_loss.py
robtu328/TextBPN
225844770e0107817be9fb86d53f873fa3eb07ae
[ "MIT" ]
49
2021-07-28T03:21:35.000Z
2022-03-31T13:19:32.000Z
network/Seg_loss.py
robtu328/TextBPN
225844770e0107817be9fb86d53f873fa3eb07ae
[ "MIT" ]
4
2021-11-15T09:32:30.000Z
2022-03-26T05:30:37.000Z
network/Seg_loss.py
robtu328/TextBPN
225844770e0107817be9fb86d53f873fa3eb07ae
[ "MIT" ]
5
2021-10-16T08:03:40.000Z
2022-01-16T17:57:25.000Z
# -*- coding: utf-8 -*- # @Time : 3/29/19 11:03 AM # @Author : zhoujun import torch from torch import nn import numpy as np class SegmentLoss(nn.Module): def __init__(self, Lambda, ratio=3, reduction='mean'): """Implement PSE Loss. """ super(SegmentLoss, self).__init__() assert...
39.666667
118
0.599907
5120104319ce0101675f0d0befdd86b523b53ebc
475
py
Python
starter_app/apps.py
reorx/django_starter_pack
5931c880d6b51159d20a060e72869d9d009091bb
[ "MIT" ]
2
2021-01-18T15:39:57.000Z
2021-01-19T01:57:27.000Z
starter_app/apps.py
reorx/django_starter_pack
5931c880d6b51159d20a060e72869d9d009091bb
[ "MIT" ]
null
null
null
starter_app/apps.py
reorx/django_starter_pack
5931c880d6b51159d20a060e72869d9d009091bb
[ "MIT" ]
2
2021-01-18T11:21:05.000Z
2021-01-18T12:38:55.000Z
from django.apps import AppConfig as BaseAppConfig from importlib import import_module SUBAPPS = [ 'contact', ] class AppConfig(BaseAppConfig): name = 'starter_app' # WARN not compatible for django < 1.11 def import_models(self): self.models = self.apps.all_models[self.label] model...
21.590909
68
0.673684
7a92930b85a4d3e6434fa45ba1f0ef0f0c294060
304
py
Python
cenv_tool/__init__.py
oozut/cenv_tool
a02977dc80a54c0045785ad97284fde0b9248aff
[ "MIT" ]
null
null
null
cenv_tool/__init__.py
oozut/cenv_tool
a02977dc80a54c0045785ad97284fde0b9248aff
[ "MIT" ]
null
null
null
cenv_tool/__init__.py
oozut/cenv_tool
a02977dc80a54c0045785ad97284fde0b9248aff
[ "MIT" ]
1
2020-10-01T22:08:17.000Z
2020-10-01T22:08:17.000Z
# -*- coding: utf-8 -*- """Conda environment creation and update from meta.yaml.""" from pkg_resources import DistributionNotFound from pkg_resources import get_distribution try: __version__ = get_distribution('cenv_tool').version except (AttributeError, DistributionNotFound): __version__ = ''
30.4
59
0.769737
055b634466c000255c418911e42392957f2433a4
4,844
py
Python
test/chemistry/test_initial_state_hartree_fock.py
gabrieleagl/qiskit-aqua
521d505a6483985c039dcfb71f7d517471cff441
[ "Apache-2.0" ]
null
null
null
test/chemistry/test_initial_state_hartree_fock.py
gabrieleagl/qiskit-aqua
521d505a6483985c039dcfb71f7d517471cff441
[ "Apache-2.0" ]
null
null
null
test/chemistry/test_initial_state_hartree_fock.py
gabrieleagl/qiskit-aqua
521d505a6483985c039dcfb71f7d517471cff441
[ "Apache-2.0" ]
null
null
null
# This code is part of Qiskit. # # (C) Copyright IBM 2018, 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
42.121739
99
0.580306
2dd20a8587668eca0a17b41cfb45026806714749
3,437
py
Python
Finance/Python/finance/lib/python2.7/site-packages/pandas_datareader/nasdaq_trader.py
pallavbakshi/datascience
10f2bb2c16e6fd593e6bee437aa36098596eec25
[ "MIT" ]
1
2018-01-11T14:11:40.000Z
2018-01-11T14:11:40.000Z
Finance/Python/finance/lib/python2.7/site-packages/pandas_datareader/nasdaq_trader.py
pallavbakshi/datascience
10f2bb2c16e6fd593e6bee437aa36098596eec25
[ "MIT" ]
null
null
null
Finance/Python/finance/lib/python2.7/site-packages/pandas_datareader/nasdaq_trader.py
pallavbakshi/datascience
10f2bb2c16e6fd593e6bee437aa36098596eec25
[ "MIT" ]
5
2018-05-19T05:08:51.000Z
2021-04-29T16:03:45.000Z
from ftplib import FTP, all_errors from pandas import read_csv from pandas_datareader._utils import RemoteDataError from pandas.compat import StringIO import time import warnings _NASDAQ_TICKER_LOC = '/SymbolDirectory/nasdaqtraded.txt' _NASDAQ_FTP_SERVER = 'ftp.nasdaqtrader.com' _TICKER_DTYPE = [('Nasdaq Traded', boo...
31.245455
78
0.586849
6ed77a59d96ded565b7124aa205d4c4b0dc94dcb
12,590
py
Python
cirq-google/cirq_google/serialization/op_deserializer.py
peterse/Cirq
31daa9410a0e1e1ac3da38109aa8ce3a15aed17b
[ "Apache-2.0" ]
3,326
2018-07-18T23:17:21.000Z
2022-03-29T22:28:24.000Z
cirq-google/cirq_google/serialization/op_deserializer.py
peterse/Cirq
31daa9410a0e1e1ac3da38109aa8ce3a15aed17b
[ "Apache-2.0" ]
3,443
2018-07-18T21:07:28.000Z
2022-03-31T20:23:21.000Z
cirq-google/cirq_google/serialization/op_deserializer.py
peterse/Cirq
31daa9410a0e1e1ac3da38109aa8ce3a15aed17b
[ "Apache-2.0" ]
865
2018-07-18T23:30:24.000Z
2022-03-30T11:43:23.000Z
# Copyright 2019 The Cirq Developers # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.501529
98
0.625894
5e25a7e54247fa0dcc7f5e9841e308bbfd071173
24,768
py
Python
bilby/core/sampler/base_sampler.py
LBJ-Wade/bilby
b1e02f1dfae03d4939cae9c95eff300c22919689
[ "MIT" ]
31
2019-02-28T00:48:23.000Z
2022-03-29T09:41:28.000Z
bilby/core/sampler/base_sampler.py
LBJ-Wade/bilby
b1e02f1dfae03d4939cae9c95eff300c22919689
[ "MIT" ]
8
2018-12-27T09:15:03.000Z
2022-03-28T19:02:10.000Z
bilby/core/sampler/base_sampler.py
LBJ-Wade/bilby
b1e02f1dfae03d4939cae9c95eff300c22919689
[ "MIT" ]
32
2018-11-30T00:58:53.000Z
2022-03-29T09:41:30.000Z
import datetime import distutils.dir_util import numpy as np import os import tempfile from pandas import DataFrame from ..utils import logger, check_directory_exists_and_if_not_mkdir, command_line_args, Counter from ..prior import Prior, PriorDict, DeltaFunction, Constraint from ..result import Result, read_in_resul...
36.157664
108
0.621003
9b57ce6683bdfe9ba6a321d0adc3afd6618447ab
4,639
py
Python
nerblackbox/modules/ner_training/logging/mlflow_client.py
af-ai-center/nerblackbox
a2b751d0b74c3f4779ccf3846e35d8575b488027
[ "Apache-2.0" ]
11
2020-09-24T12:10:52.000Z
2021-05-28T12:59:06.000Z
nerblackbox/modules/ner_training/logging/mlflow_client.py
af-ai-center/nerblackbox
a2b751d0b74c3f4779ccf3846e35d8575b488027
[ "Apache-2.0" ]
1
2020-07-03T13:13:35.000Z
2020-07-03T13:13:35.000Z
nerblackbox/modules/ner_training/logging/mlflow_client.py
af-ai-center/nerblackbox
a2b751d0b74c3f4779ccf3846e35d8575b488027
[ "Apache-2.0" ]
null
null
null
import mlflow from nerblackbox.modules.experiment_config.experiment_config import ExperimentConfig class MLflowClient: def __init__( self, experiment_name, run_name, log_dirs, logged_metrics, default_logger ): """ :param experiment_name: [str], e.g. 'Default' :param run_name: ...
37.41129
120
0.560466
be421484f04c1a5a93a1b896742b58c3d06a1745
7,143
py
Python
blood_bank/migrations/0001_initial.py
Matheus-IT/blood_bank_backend
63984132509d624ffab988d77c9382bc7a6fb493
[ "MIT" ]
null
null
null
blood_bank/migrations/0001_initial.py
Matheus-IT/blood_bank_backend
63984132509d624ffab988d77c9382bc7a6fb493
[ "MIT" ]
null
null
null
blood_bank/migrations/0001_initial.py
Matheus-IT/blood_bank_backend
63984132509d624ffab988d77c9382bc7a6fb493
[ "MIT" ]
1
2022-03-11T10:32:16.000Z
2022-03-11T10:32:16.000Z
# Generated by Django 4.0.3 on 2022-03-24 20:46 import cpf_field.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ ...
52.911111
266
0.582668
22047731f787363cd5b86c7e981c78f0b50669f6
1,197
py
Python
armada_backend/remote.py
firesoft/armada
245115fcf21d988db5da71f18b3123479de5f2c1
[ "Apache-2.0" ]
281
2015-07-08T12:52:19.000Z
2022-01-14T22:56:25.000Z
armada_backend/remote.py
firesoft/armada
245115fcf21d988db5da71f18b3123479de5f2c1
[ "Apache-2.0" ]
15
2015-08-03T14:54:30.000Z
2021-01-27T12:30:06.000Z
armada_backend/remote.py
firesoft/armada
245115fcf21d988db5da71f18b3123479de5f2c1
[ "Apache-2.0" ]
39
2015-07-13T14:43:44.000Z
2022-01-12T15:41:32.000Z
import subprocess def execute_local_command(command): p = subprocess.Popen( command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True ) out, err = p.communicate() return p.returncode, out, err def execute_remote_command(remote_address, command): import p...
30.692308
120
0.711779
e19bc924e042affb25fa695da8f1634cf360c285
266
py
Python
gameProject/gameApp/urls.py
cs-fullstack-2019-spring/django-mini-project4-carlos-clyde
78dadb69cf5ec83c0c3801f30b7853338887c542
[ "Apache-2.0" ]
null
null
null
gameProject/gameApp/urls.py
cs-fullstack-2019-spring/django-mini-project4-carlos-clyde
78dadb69cf5ec83c0c3801f30b7853338887c542
[ "Apache-2.0" ]
null
null
null
gameProject/gameApp/urls.py
cs-fullstack-2019-spring/django-mini-project4-carlos-clyde
78dadb69cf5ec83c0c3801f30b7853338887c542
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('login/', views.login, name='login'), path('createuser/', views.newuser, name='newuser'), path('addgame/',views.newgame, name='newgame') ]
20.461538
55
0.646617
5f0b338bee7d415e6e8cd6f4fb554f4bc4fa722c
2,531
py
Python
arch/blocks/electro_optics.py
bigphoton/arch
95a197d6b89bc2316b0d88b2b1345cbbb90088ec
[ "Unlicense" ]
null
null
null
arch/blocks/electro_optics.py
bigphoton/arch
95a197d6b89bc2316b0d88b2b1345cbbb90088ec
[ "Unlicense" ]
null
null
null
arch/blocks/electro_optics.py
bigphoton/arch
95a197d6b89bc2316b0d88b2b1345cbbb90088ec
[ "Unlicense" ]
null
null
null
""" Functions and objects describing electro-optic components. """ from arch.block import Block from arch.models.model import Linear, SymbolicModel from sympy import Matrix, sqrt, exp, I, pi import arch.port as port class Switch2x2(Block): """ extinction_ratio: ratio of desired signal to undesired signal from wron...
31.6375
108
0.694192
4adad49ce125817a0ee4811588e969da354c738c
397
py
Python
safergpy/code/bench/exps_config/restart_methods/gpy_mle1123.py
johncoltrane1/saferGPMLE
b86fbd329eaad0b6374a1b28cae43b2a7f81eb61
[ "BSD-3-Clause" ]
null
null
null
safergpy/code/bench/exps_config/restart_methods/gpy_mle1123.py
johncoltrane1/saferGPMLE
b86fbd329eaad0b6374a1b28cae43b2a7f81eb61
[ "BSD-3-Clause" ]
10
2021-06-25T15:10:26.000Z
2021-07-15T12:50:21.000Z
safergpy/code/bench/exps_config/restart_methods/gpy_mle1123.py
johncoltrane1/saferGPMLE
b86fbd329eaad0b6374a1b28cae43b2a7f81eb61
[ "BSD-3-Clause" ]
3
2021-06-16T07:39:05.000Z
2022-03-16T09:31:55.000Z
method_args = { "param": "log", "init": "scaled_anisotropic_init", "stopping_criterion": "strict", "do_profiling": True, "optim_scheme": [[1 + 19 * 50,...
44.111111
63
0.319899
357faa371768341f397d10bddaf919fe8e85d4ba
122
py
Python
src/astro/settings.py
jlaneve/astro
4528162c7582f3860d1d21de7af954f20c9f9a6a
[ "Apache-2.0" ]
71
2021-12-06T22:41:59.000Z
2022-03-31T21:47:16.000Z
src/astro/settings.py
jlaneve/astro
4528162c7582f3860d1d21de7af954f20c9f9a6a
[ "Apache-2.0" ]
171
2021-12-14T07:34:57.000Z
2022-03-31T21:04:15.000Z
src/astro/settings.py
jlaneve/astro
4528162c7582f3860d1d21de7af954f20c9f9a6a
[ "Apache-2.0" ]
11
2021-12-06T22:46:23.000Z
2022-03-31T18:09:46.000Z
import os from astro.constants import DEFAULT_SCHEMA SCHEMA = os.getenv("AIRFLOW__ASTRO__SQL_SCHEMA") or DEFAULT_SCHEMA
20.333333
66
0.836066
cd003e8bdfa3af1fed760fab6559d797dcddb604
4,710
py
Python
mpf/tests/test_MyPinballs.py
Wolfmarsh/mpf
ad71f381ce8a0e65f28958e51cf8a8b38a6154fb
[ "MIT" ]
null
null
null
mpf/tests/test_MyPinballs.py
Wolfmarsh/mpf
ad71f381ce8a0e65f28958e51cf8a8b38a6154fb
[ "MIT" ]
null
null
null
mpf/tests/test_MyPinballs.py
Wolfmarsh/mpf
ad71f381ce8a0e65f28958e51cf8a8b38a6154fb
[ "MIT" ]
null
null
null
"""Test MyPinballs Platform.""" import time from mpf.tests.MpfTestCase import MpfTestCase from mpf.tests.loop import MockSerial class MockMypinballsSocket(MockSerial): """Serial mock.""" def read(self, length): """Read from serial.""" del length if not self.queue: return...
31.4
110
0.606369
a3fdd844f485f87358cf4a8e68029866530b4058
246
py
Python
pypiserver/__main__.py
sposs/pypiserver
39316bb56a7960c75c81f60100a1b180f670cb73
[ "Unlicense", "MIT" ]
null
null
null
pypiserver/__main__.py
sposs/pypiserver
39316bb56a7960c75c81f60100a1b180f670cb73
[ "Unlicense", "MIT" ]
null
null
null
pypiserver/__main__.py
sposs/pypiserver
39316bb56a7960c75c81f60100a1b180f670cb73
[ "Unlicense", "MIT" ]
null
null
null
if __name__ == "__main__": if __package__ == "": # running as python pypiserver-...whl/pypiserver? import sys, os sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) from pypiserver import core core.main()
35.142857
76
0.650407
4e7dd8256c7fec06fc7e27edb6df901a3221df13
187
py
Python
examples/telegram-send/info-get-chat-id.py
relikd/botlib
d0c5072d27db1aa3fad432457c90c9e3f23f22cc
[ "MIT" ]
null
null
null
examples/telegram-send/info-get-chat-id.py
relikd/botlib
d0c5072d27db1aa3fad432457c90c9e3f23f22cc
[ "MIT" ]
null
null
null
examples/telegram-send/info-get-chat-id.py
relikd/botlib
d0c5072d27db1aa3fad432457c90c9e3f23f22cc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from botlib.tgclient import TGClient print('open a new telegram chat window with your bot and send /start') TGClient.listen_chat_info(__API_KEY__, 'my-username')
26.714286
70
0.786096
17c18d5346133caac81425008b367ea1e0dc9dfe
1,631
py
Python
pypy/interpreter/test/apptest_exceptions.py
alexmechanic/pypy
6b1511399cb6f174e408ca74e8046c49e98fcc8c
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/interpreter/test/apptest_exceptions.py
alexmechanic/pypy
6b1511399cb6f174e408ca74e8046c49e98fcc8c
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/interpreter/test/apptest_exceptions.py
alexmechanic/pypy
6b1511399cb6f174e408ca74e8046c49e98fcc8c
[ "Apache-2.0", "OpenSSL" ]
1
2022-03-30T11:42:37.000Z
2022-03-30T11:42:37.000Z
import pytest def test_yield_in_nested_try_excepts(): #Issue #25612 class MainError(Exception): pass class SubError(Exception): pass def main(): try: raise MainError() except MainError: try: yield except SubError: ...
21.460526
70
0.568976
244e54d7fb03d6cb54fbbbfcefa97357bde887ca
168,050
py
Python
venv/lib/python3.7/site-packages/cvxopt/coneprog.py
JWThacker/Airbnb_project
f804495512f0f924d3048f788ed33ab230b4e02a
[ "MIT" ]
1
2022-01-19T04:02:46.000Z
2022-01-19T04:02:46.000Z
venv/lib/python3.7/site-packages/cvxopt/coneprog.py
JWThacker/Airbnb_project
f804495512f0f924d3048f788ed33ab230b4e02a
[ "MIT" ]
1
2021-11-19T07:21:48.000Z
2021-11-19T07:21:48.000Z
venv/lib/python3.7/site-packages/cvxopt/coneprog.py
JWThacker/Airbnb_project
f804495512f0f924d3048f788ed33ab230b4e02a
[ "MIT" ]
1
2022-01-14T17:15:38.000Z
2022-01-14T17:15:38.000Z
""" Solver for linear and quadratic cone programs. """ # Copyright 2012-2021 M. Andersen and L. Vandenberghe. # Copyright 2010-2011 L. Vandenberghe. # Copyright 2004-2009 J. Dahl and L. Vandenberghe. # # This file is part of CVXOPT. # # CVXOPT is free software; you can redistribute it and/or modify # it under the term...
37.46099
121
0.490949
60499d1a9f22a82081bc4deae975fabf24aa9fc4
3,022
py
Python
lightning_transformers/task/nlp/question_answering/model.py
yuvalkirstain/lightning-transformers
7afa49ee9d298b947cf8f2a8f462f1a01fd3fe90
[ "Apache-2.0" ]
null
null
null
lightning_transformers/task/nlp/question_answering/model.py
yuvalkirstain/lightning-transformers
7afa49ee9d298b947cf8f2a8f462f1a01fd3fe90
[ "Apache-2.0" ]
null
null
null
lightning_transformers/task/nlp/question_answering/model.py
yuvalkirstain/lightning-transformers
7afa49ee9d298b947cf8f2a8f462f1a01fd3fe90
[ "Apache-2.0" ]
null
null
null
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
40.293333
109
0.723362
c3d268973d6b4d276266467aa89c44e604ad9076
366
py
Python
contests/atcoder/abc086/abc086_b/main.py
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
contests/atcoder/abc086/abc086_b/main.py
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
contests/atcoder/abc086/abc086_b/main.py
conao3/coder
2cdb610fec013da88a3470d460108e8a9b462445
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 # from typing import * # def solve(a: int, b: int) -> str: def solve(a, b): pass # TODO: edit here # generated by online-judge-template-generator v4.1.0 (https://github.com/kmyk/online-judge-template-generator) def main(): a, b = map(int, input().split()) xct = solve(a, b) prin...
22.875
111
0.631148
29e288d81e88dfd0ca2106db44344b055913fea5
1,339
py
Python
Python/Graph_Algorithms/Maximum_Shortest_Path/topological_sort.py
belikesayantan/DSA
61ff334e88dca4279d473c698d30ef3fe2e2f98f
[ "MIT" ]
1
2021-01-08T14:47:24.000Z
2021-01-08T14:47:24.000Z
Python/Graph_Algorithms/Maximum_Shortest_Path/topological_sort.py
belikesayantan/DSA
61ff334e88dca4279d473c698d30ef3fe2e2f98f
[ "MIT" ]
null
null
null
Python/Graph_Algorithms/Maximum_Shortest_Path/topological_sort.py
belikesayantan/DSA
61ff334e88dca4279d473c698d30ef3fe2e2f98f
[ "MIT" ]
null
null
null
# Topological Sort Algorithm from Graph_Algorithms.Graph import Graph, AdjacencySetGraph from typing import List from queue import Queue def topological_sort(graph: Graph) -> List[int]: """ :param graph: Graph Data Structure :return: list of nodes in topological sorted order. """ topological...
25.264151
69
0.640777
eed5c3f5896564824a860e70dd327e8d9459e731
8,218
py
Python
homeassistant/components/binary_sensor/device_condition.py
RavensburgOP/core
0ea76e848b182ca0ebb0fdb54558f7f733898ad7
[ "Apache-2.0" ]
11
2018-02-16T15:35:47.000Z
2020-01-14T15:20:00.000Z
homeassistant/components/binary_sensor/device_condition.py
RavensburgOP/core
0ea76e848b182ca0ebb0fdb54558f7f733898ad7
[ "Apache-2.0" ]
77
2020-07-16T16:43:09.000Z
2022-03-31T06:14:37.000Z
homeassistant/components/binary_sensor/device_condition.py
Vaarlion/core
f3de8b9f28de01abf72c0f5bb0b457eb1841f201
[ "Apache-2.0" ]
6
2018-02-04T03:48:55.000Z
2022-01-24T20:37:04.000Z
"""Implement device conditions for binary sensor.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation.const import CONF_IS_OFF, CONF_IS_ON from homeassistant.const import CONF_ENTITY_ID, CONF_FOR, CONF_TYPE from homeassistant.core import HomeAssistant, callba...
30.437037
88
0.721952
5b13b5f95b382d50806855ba8bf46c5793876164
9,697
py
Python
vendor-local/lib/python/celery/backends/amqp.py
Mozilla-GitHub-Standards/54c69db06ef83bda60e995a6c34ecfd168ca028994e40ce817295415bb409f0c
f80e7c0cff97a1e9b301aa04015db983c7645778
[ "BSD-3-Clause" ]
4
2015-05-08T16:58:53.000Z
2019-09-06T05:30:59.000Z
vendor-local/lib/python/celery/backends/amqp.py
Mozilla-GitHub-Standards/54c69db06ef83bda60e995a6c34ecfd168ca028994e40ce817295415bb409f0c
f80e7c0cff97a1e9b301aa04015db983c7645778
[ "BSD-3-Clause" ]
2
2019-02-17T17:44:53.000Z
2019-03-28T03:54:39.000Z
vendor-local/lib/python/celery/backends/amqp.py
Mozilla-GitHub-Standards/54c69db06ef83bda60e995a6c34ecfd168ca028994e40ce817295415bb409f0c
f80e7c0cff97a1e9b301aa04015db983c7645778
[ "BSD-3-Clause" ]
7
2015-05-21T15:38:29.000Z
2019-10-28T23:39:06.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import with_statement import socket import threading import time from itertools import count from kombu.entity import Exchange, Queue from kombu.messaging import Consumer, Producer from .. import states from ..exceptions import TimeoutEr...
38.943775
78
0.583892
64c2f9e7dcfa819a142cbc7aa01a03320823ce1e
160
py
Python
demos/__init__.py
droidadroit/nasbot
f8d5d0ba8b77c37ebaa6cd2ab148a2633ff20207
[ "MIT" ]
null
null
null
demos/__init__.py
droidadroit/nasbot
f8d5d0ba8b77c37ebaa6cd2ab148a2633ff20207
[ "MIT" ]
null
null
null
demos/__init__.py
droidadroit/nasbot
f8d5d0ba8b77c37ebaa6cd2ab148a2633ff20207
[ "MIT" ]
null
null
null
""" Library for Bayesian Optimisation of NN Architectures. Some demos for architecture search on synthetic and real problems. -- kandasamy@cs.cmu.edu """
32
68
0.75
921363bbf833f47c167f4dc774346b19052d3b4a
3,627
py
Python
packages/PIPS/pips/src/Passes/pyps/pypsex.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
51
2015-01-31T01:51:39.000Z
2022-02-18T02:01:50.000Z
packages/PIPS/pips/src/Passes/pyps/pypsex.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
7
2017-05-29T09:29:00.000Z
2019-03-11T16:01:39.000Z
packages/PIPS/pips/src/Passes/pyps/pypsex.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
12
2015-03-26T08:05:38.000Z
2022-02-18T02:01:51.000Z
# -*- coding: utf-8 -*- """ Transformation - specific methods must be placed there. For instance to enforce a property value, an activate etc before calling a pass """ from subprocess import Popen, PIPE import pyps import sys, os def dump_chains_or_dg(module,which="whole_dependence"): """dump textual module's depend...
34.216981
104
0.75131
d82f075cc5c3ab6d09796da196792d7c8fcce0ed
500
py
Python
tracking/__init__.py
mjschultz/django-tracking2
19679bd16b94e1cc4c9d5bd1abcc01e55dcac49c
[ "BSD-2-Clause" ]
null
null
null
tracking/__init__.py
mjschultz/django-tracking2
19679bd16b94e1cc4c9d5bd1abcc01e55dcac49c
[ "BSD-2-Clause" ]
null
null
null
tracking/__init__.py
mjschultz/django-tracking2
19679bd16b94e1cc4c9d5bd1abcc01e55dcac49c
[ "BSD-2-Clause" ]
null
null
null
__version_info__ = { 'major': 0, 'minor': 2, 'micro': 2, 'releaselevel': 'beta', 'serial': 1 } def get_version(short=False): assert __version_info__['releaselevel'] in ('alpha', 'beta', 'final') vers = ["%(major)i.%(minor)i.%(micro)i" % __version_info__] if __version_info__['releaseleve...
29.411765
95
0.628
3042e205e0ae2ab6624b2ab539924832d8290dff
1,268
py
Python
userbot/plugins/command_list.py
staxx1/TurhanUser
555e7e7a781104981b92e33bb9ad583b062bc14d
[ "MIT" ]
5
2020-08-17T08:05:53.000Z
2020-09-11T18:27:41.000Z
userbot/plugins/command_list.py
staxx1/TurhanUser
555e7e7a781104981b92e33bb9ad583b062bc14d
[ "MIT" ]
null
null
null
userbot/plugins/command_list.py
staxx1/TurhanUser
555e7e7a781104981b92e33bb9ad583b062bc14d
[ "MIT" ]
null
null
null
# Join @TeleBotHelp for custom plugins import asyncio import requests from telebot import CMD_HELP @telebot.on(admin_cmd(pattern="cmds", outgoing=True)) @telebot.on(sudo_cmd(pattern="cmds", allow_sudo=True)) async def install(event): if event.fwd_from: return tele = await eor(event, "`Searching for...
31.7
187
0.659306
a07ccc3bff18963555bcbce7a4ce890c41c33d7e
3,898
py
Python
tests/test_load_local.py
mhumpula/trio-mysql
a892bf128056cae7668437842aece74d9a0eb8dd
[ "MIT" ]
null
null
null
tests/test_load_local.py
mhumpula/trio-mysql
a892bf128056cae7668437842aece74d9a0eb8dd
[ "MIT" ]
null
null
null
tests/test_load_local.py
mhumpula/trio-mysql
a892bf128056cae7668437842aece74d9a0eb8dd
[ "MIT" ]
null
null
null
import pytest from trio_mysql import cursors, OperationalError, Warning from tests import base import os import warnings __all__ = ["TestLoadLocal"] class TestLoadLocal(base.TrioMySQLTestCase): @pytest.mark.trio async def test_no_file(self, set_me_up): await set_me_up(self) """Test load loc...
40.185567
83
0.568753
ca83080ce6d2d03fa1bf32afa8276321697f6b0a
6,378
py
Python
hypatia/text/ricecode.py
pfw/hypatia
407cd62e4817c85188aa6abdf204c5aaff5ab570
[ "ZPL-2.1" ]
null
null
null
hypatia/text/ricecode.py
pfw/hypatia
407cd62e4817c85188aa6abdf204c5aaff5ab570
[ "ZPL-2.1" ]
null
null
null
hypatia/text/ricecode.py
pfw/hypatia
407cd62e4817c85188aa6abdf204c5aaff5ab570
[ "ZPL-2.1" ]
null
null
null
############################################################################## # # Copyright (c) 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
28.221239
80
0.541549
669e41eb636b442629c2447231e8fe9c017a7d11
2,130
py
Python
onnx_analyzer/analyzer.py
ksang/onnx-analyzer
35f95eea570ffb6a77e45113dc0e507eb654bc12
[ "MIT" ]
null
null
null
onnx_analyzer/analyzer.py
ksang/onnx-analyzer
35f95eea570ffb6a77e45113dc0e507eb654bc12
[ "MIT" ]
null
null
null
onnx_analyzer/analyzer.py
ksang/onnx-analyzer
35f95eea570ffb6a77e45113dc0e507eb654bc12
[ "MIT" ]
null
null
null
import os import onnx import re import onnx_analyzer import pandas as pd from pandas import ExcelWriter import matplotlib.pyplot as plt def analyze_single(model_path: str, calculate_macs=False) -> list: model = onnx.load(model_path) params = onnx_analyzer.count_param(model) ops, macs = onnx_analyzer.count_...
33.809524
80
0.575587
4ad66e1a41c9fdfdcd4f172bace61b19a7bd4ed6
6,279
py
Python
Python/Buch_ATBS/Teil_2/Kapitel_11_Webscraping/09_sammle_alle_links_einer_website/09_sammle_alle_links_einer_website_versuch_2.py
Apop85/Scripts
e71e1c18539e67543e3509c424c7f2d6528da654
[ "MIT" ]
null
null
null
Python/Buch_ATBS/Teil_2/Kapitel_11_Webscraping/09_sammle_alle_links_einer_website/09_sammle_alle_links_einer_website_versuch_2.py
Apop85/Scripts
e71e1c18539e67543e3509c424c7f2d6528da654
[ "MIT" ]
6
2020-12-24T15:15:09.000Z
2022-01-13T01:58:35.000Z
Python/Buch_ATBS/Teil_2/Kapitel_11_Webscraping/09_sammle_alle_links_einer_website/09_sammle_alle_links_einer_website_versuch_2.py
Apop85/Scripts
1d8dad316c55e1f1343526eac9e4b3d0909e4873
[ "MIT" ]
null
null
null
# 09_sammle_alle_links_einer_website.py # Dieses Script soll eine beliebige Webseite nach links in allen Unterseiten der Webseite suchen # und in einem File übersichtlich speichern import requests, bs4, os, logging, re logging.basicConfig(level=logging.ERROR, format='%(asctime)s - %(levelname)s - %(message)s') os.chd...
41.309211
97
0.581781
54e927ee470a0e9950478dc7a73b1d2509c1ab5b
34,907
py
Python
venv/Lib/site-packages/sqlalchemy/orm/decl_api.py
geksogen/FastAPI_exampels
441e4ea1ebfde984958deac115f60c4d0110d5b2
[ "CC0-1.0" ]
null
null
null
venv/Lib/site-packages/sqlalchemy/orm/decl_api.py
geksogen/FastAPI_exampels
441e4ea1ebfde984958deac115f60c4d0110d5b2
[ "CC0-1.0" ]
null
null
null
venv/Lib/site-packages/sqlalchemy/orm/decl_api.py
geksogen/FastAPI_exampels
441e4ea1ebfde984958deac115f60c4d0110d5b2
[ "CC0-1.0" ]
null
null
null
# ext/declarative/api.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: https://www.opensource.org/licenses/mit-license.php """Public API functions and helpers for declarative.""" from __future__ impor...
33.435824
97
0.638267
198d1773cc21415f07df955ad0ea159d17bbf1e1
905
py
Python
KaggleTitanic/models/model_2017_09_18_04_25_37-0.8608.py
deo1/deo1
36671f12269d3bd662d746e8b9f66c22255c9df7
[ "MIT" ]
null
null
null
KaggleTitanic/models/model_2017_09_18_04_25_37-0.8608.py
deo1/deo1
36671f12269d3bd662d746e8b9f66c22255c9df7
[ "MIT" ]
null
null
null
KaggleTitanic/models/model_2017_09_18_04_25_37-0.8608.py
deo1/deo1
36671f12269d3bd662d746e8b9f66c22255c9df7
[ "MIT" ]
null
null
null
import numpy as np from sklearn.model_selection import train_test_split from sklearn.pipeline import make_pipeline from sklearn.preprocessing import MinMaxScaler, PolynomialFeatures from sklearn.svm import LinearSVC # NOTE: Make sure that the class is labeled 'class' in the data file tpot_data = np.recfromcsv('PATH/T...
41.136364
122
0.80221
b877a97805f2f2cdc1ce21de78dd56a619e6ff06
615
py
Python
blog/migrations/0012_chart.py
ndavilo/BitBlog
ec6e623b04688ec0b587f6392c4fccd09f77a481
[ "MIT" ]
null
null
null
blog/migrations/0012_chart.py
ndavilo/BitBlog
ec6e623b04688ec0b587f6392c4fccd09f77a481
[ "MIT" ]
null
null
null
blog/migrations/0012_chart.py
ndavilo/BitBlog
ec6e623b04688ec0b587f6392c4fccd09f77a481
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-02-04 11:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0011_comment'), ] operations = [ migrations.CreateModel( name='Chart', fields=[ ('id', models....
26.73913
117
0.560976
021c1ff92a1f96840957ba28f0ea9b29f07ba938
6,193
py
Python
canvas_oauth/oauth.py
suchermon/django-canvas-oauth2
a1dcb3fee7681c7c0a892a999f7dbc56acebaeb1
[ "MIT" ]
null
null
null
canvas_oauth/oauth.py
suchermon/django-canvas-oauth2
a1dcb3fee7681c7c0a892a999f7dbc56acebaeb1
[ "MIT" ]
null
null
null
canvas_oauth/oauth.py
suchermon/django-canvas-oauth2
a1dcb3fee7681c7c0a892a999f7dbc56acebaeb1
[ "MIT" ]
null
null
null
import logging from django.urls import reverse from django.http.response import HttpResponse, HttpResponseRedirect from django.shortcuts import redirect from django.template import loader from django.template.exceptions import TemplateDoesNotExist from django.utils.crypto import get_random_string from canvas_oauth im...
41.286667
88
0.731955
00478460107fcadc81f1721c53e7f4ecedc617cd
107
py
Python
nrgmodbus/ipackaccess/__init__.py
nrgpy/nrgmodbus
8932c527c30113933bba71c2f0f99e81966865ad
[ "MIT" ]
null
null
null
nrgmodbus/ipackaccess/__init__.py
nrgpy/nrgmodbus
8932c527c30113933bba71c2f0f99e81966865ad
[ "MIT" ]
null
null
null
nrgmodbus/ipackaccess/__init__.py
nrgpy/nrgmodbus
8932c527c30113933bba71c2f0f99e81966865ad
[ "MIT" ]
null
null
null
__name__ = "ipackaccess" from .ipackaccess import ipackaccess from .registers import ipackaccess_registers
26.75
44
0.850467
680892e5b3364903267316816aa253b6292a7efe
6,979
py
Python
src/properties.py
mika-f/Blender-TextMeshCreator
19367cc8f711518b9fb3df8cc19735a52458a465
[ "BlueOak-1.0.0", "Apache-2.0", "MIT" ]
null
null
null
src/properties.py
mika-f/Blender-TextMeshCreator
19367cc8f711518b9fb3df8cc19735a52458a465
[ "BlueOak-1.0.0", "Apache-2.0", "MIT" ]
null
null
null
src/properties.py
mika-f/Blender-TextMeshCreator
19367cc8f711518b9fb3df8cc19735a52458a465
[ "BlueOak-1.0.0", "Apache-2.0", "MIT" ]
null
null
null
# ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- # Copyright (c) Natsuneko. All rights reserved. # Licensed under the License Zero Parity 7.0.0 (see LICENSE-PARITY file) and MIT (...
71.214286
187
0.598796
9b83704ac17319fad3e4871cbf37f1c3d55c7684
3,679
py
Python
security_monkey/watchers/gcp/iam/serviceaccount.py
bungoume/security_monkey
90c02638a315c78535869ab71a8859d17e011a6a
[ "Apache-2.0" ]
null
null
null
security_monkey/watchers/gcp/iam/serviceaccount.py
bungoume/security_monkey
90c02638a315c78535869ab71a8859d17e011a6a
[ "Apache-2.0" ]
null
null
null
security_monkey/watchers/gcp/iam/serviceaccount.py
bungoume/security_monkey
90c02638a315c78535869ab71a8859d17e011a6a
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google, 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 ...
35.375
106
0.604784
f91da3958072fff255b3d83b8ec747d845cc01c3
62,109
py
Python
lib/googlecloudsdk/third_party/apis/runapps/v1alpha1/runapps_v1alpha1_messages.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
2
2019-11-10T09:17:07.000Z
2019-12-18T13:44:08.000Z
lib/googlecloudsdk/third_party/apis/runapps/v1alpha1/runapps_v1alpha1_messages.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
null
null
null
lib/googlecloudsdk/third_party/apis/runapps/v1alpha1/runapps_v1alpha1_messages.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
1
2020-07-25T01:40:19.000Z
2020-07-25T01:40:19.000Z
"""Generated message classes for runapps version v1alpha1. """ # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding from apitools.base.py import extra_types pack...
39.359316
93
0.740505
118d32c90ef5d04148a56b70f2b75c7b002feb9d
23,762
py
Python
cfgov/v1/migrations/0264_add_filters_help_text.py
adebisi-aden/consumerfinance.gov
8c0f5afac341823c59f73b0c6bd60592e0f5eaca
[ "CC0-1.0" ]
37
2020-08-18T19:52:39.000Z
2022-03-23T08:08:41.000Z
cfgov/v1/migrations/0264_add_filters_help_text.py
adebisi-aden/consumerfinance.gov
8c0f5afac341823c59f73b0c6bd60592e0f5eaca
[ "CC0-1.0" ]
338
2020-08-14T20:46:36.000Z
2022-03-31T20:49:32.000Z
cfgov/v1/migrations/0264_add_filters_help_text.py
adebisi-aden/consumerfinance.gov
8c0f5afac341823c59f73b0c6bd60592e0f5eaca
[ "CC0-1.0" ]
14
2020-10-21T15:27:03.000Z
2022-03-17T03:16:36.000Z
# Generated by Django 2.2.23 on 2021-07-06 21:53 from django.db import migrations import v1.atomic_elements.organisms import v1.blocks import v1.util.ref import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('v1', '026...
792.066667
13,060
0.759742
139ce121ad58718f508d95b212daaf7db592a1a4
11,165
py
Python
python/paddle/fluid/tests/unittests/test_fleet_api_input.py
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
11
2016-08-29T07:43:26.000Z
2016-08-29T07:51:24.000Z
python/paddle/fluid/tests/unittests/test_fleet_api_input.py
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
null
null
null
python/paddle/fluid/tests/unittests/test_fleet_api_input.py
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
1
2021-12-09T08:59:17.000Z
2021-12-09T08:59:17.000Z
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
41.505576
86
0.60215