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
15c18fef636a066d62eb7184120a8ddc0f51a3e9
3,514
py
Python
mywork/dataDownload/plotFuturesIndexComponentsFromSina.py
linbian/tqsdk-python
9333d69dd86228772febd6e4860006c665c092a9
[ "Apache-2.0" ]
null
null
null
mywork/dataDownload/plotFuturesIndexComponentsFromSina.py
linbian/tqsdk-python
9333d69dd86228772febd6e4860006c665c092a9
[ "Apache-2.0" ]
null
null
null
mywork/dataDownload/plotFuturesIndexComponentsFromSina.py
linbian/tqsdk-python
9333d69dd86228772febd6e4860006c665c092a9
[ "Apache-2.0" ]
null
null
null
from datetime import datetime, timedelta import time import requests import json from matplotlib.pylab import date2num from matplotlib import pyplot as plt import mpl_finance as mpf from pandas import DataFrame import talib as ta import numpy as np import sys sys.path.append('..') import DictCode as dc plt.rcParams['...
41.833333
152
0.672453
15c4d04be6113ffda003dea95045a81a193100f0
3,541
py
Python
code.py
aj02/olympic-hero
cb1d88fc73520baf58127c6d122ff287ca4c1844
[ "MIT" ]
null
null
null
code.py
aj02/olympic-hero
cb1d88fc73520baf58127c6d122ff287ca4c1844
[ "MIT" ]
null
null
null
code.py
aj02/olympic-hero
cb1d88fc73520baf58127c6d122ff287ca4c1844
[ "MIT" ]
null
null
null
# -------------- #Importing header files import pandas as pd import numpy as np import matplotlib.pyplot as plt #Path of the file path #Code starts here data = pd.read_csv(path) data.rename(columns={'Total' : 'Total_Medals'}, inplace=True) print(data.head()) # -------------- #Code starts here data['...
26.62406
107
0.718441
15c5be7435097cb443a12f4aaa227778b4a2c9ad
524
py
Python
server.py
ToadyMcFrogFace/fullstack-assessment
a2ac217bb4c325c79adce46c5587bef8e9539e4d
[ "MIT" ]
null
null
null
server.py
ToadyMcFrogFace/fullstack-assessment
a2ac217bb4c325c79adce46c5587bef8e9539e4d
[ "MIT" ]
null
null
null
server.py
ToadyMcFrogFace/fullstack-assessment
a2ac217bb4c325c79adce46c5587bef8e9539e4d
[ "MIT" ]
null
null
null
from tornado import httpserver from tornado import gen from tornado.ioloop import IOLoop import tornado.web def main(): app = Application() app.listen(80) IOLoop.instance().start() if __name__ == '__main__': main()
22.782609
56
0.662214
15c70e99203b632a1adad36569ea9843d15c6327
3,851
py
Python
src/numkit/tests/test_fitting.py
Becksteinlab/numkit
0a734642f63a9cd985d07446c5711fb1b239ea22
[ "BSD-3-Clause" ]
2
2017-05-03T22:58:21.000Z
2021-07-20T19:30:37.000Z
src/numkit/tests/test_fitting.py
Becksteinlab/numkit
0a734642f63a9cd985d07446c5711fb1b239ea22
[ "BSD-3-Clause" ]
23
2017-03-28T08:14:37.000Z
2021-09-01T23:56:43.000Z
src/numkit/tests/test_fitting.py
Becksteinlab/numkit
0a734642f63a9cd985d07446c5711fb1b239ea22
[ "BSD-3-Clause" ]
1
2019-02-12T16:56:54.000Z
2019-02-12T16:56:54.000Z
# -*- coding: utf-8 -*- # numkit.integration test cases # Part of GromacsWrapper # Copyright (c) Oliver Beckstein <orbeckst@gmail.com> # Published under the Modified BSD Licence. """ =================================== Test cases for numkit.fitting ==================================== """ import numkit.fitting impo...
29.852713
77
0.654635
15ca83d38898cb5f942ea39040025053294ed0e6
89,464
py
Python
S4/S4 Library/simulation/careers/career_tuning.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/careers/career_tuning.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/careers/career_tuning.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
from protocolbuffers.DistributorOps_pb2 import Operation import protocolbuffers from audio.primitive import TunablePlayAudio from away_actions.away_actions import AwayAction from buffs.tunable import TunableBuffReference from caches import cached from careers import career_ops from careers.career_enums import CareerCat...
194.486957
28,174
0.680072
15cb6cdc200ecaa363035e1021fc2e62415ec376
10,677
py
Python
run-wlnn-mnist.py
jrieke/evolution-learning
fe72c7123200847e5de384d0340c2fa198a94326
[ "MIT" ]
5
2020-07-19T01:26:07.000Z
2022-02-24T18:01:54.000Z
run-wlnn-mnist.py
jrieke/evolution-learning
fe72c7123200847e5de384d0340c2fa198a94326
[ "MIT" ]
null
null
null
run-wlnn-mnist.py
jrieke/evolution-learning
fe72c7123200847e5de384d0340c2fa198a94326
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Evolve network architecture on a classification dataset, while at the same time training the weights with one of several learning algorithms. """ import joblib import time import torch.utils.data import logging import numpy as np import copy import os import pickle from networks import Weigh...
48.531818
102
0.668353
15ce0be79bed3abf0dae31bdcec96b21cba4ea89
1,621
py
Python
Utilities/CPUmining.py
C3ald/Token-Project
278938978d3d198c28502d7cfde5b18c3479ed27
[ "MIT" ]
1
2022-01-19T14:46:58.000Z
2022-01-19T14:46:58.000Z
Utilities/CPUmining.py
C3ald/Token-Project
278938978d3d198c28502d7cfde5b18c3479ed27
[ "MIT" ]
6
2022-01-19T15:14:55.000Z
2022-03-18T22:51:15.000Z
Utilities/CPUmining.py
C3ald/Token-Project
278938978d3d198c28502d7cfde5b18c3479ed27
[ "MIT" ]
null
null
null
import time as t import hashlib # def random_question() if __name__ == '__main__': mining = Minging() print(len('000000000000000000')) print(mining.run(10))
21.051948
80
0.675509
15ce533fbe73c6678aa437ad3be6859922a5ef65
23,147
py
Python
Assignment 1/problem1/route.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
null
null
null
Assignment 1/problem1/route.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
null
null
null
Assignment 1/problem1/route.py
Chirag-Galani/B551-Elements-Of-Artificial-Intelligence
6e6d04bf17522768c176145e86ccc31e8ea903b4
[ "MIT" ]
2
2021-12-01T20:38:02.000Z
2021-12-01T22:42:38.000Z
#!/usr/bin/env python #Assignment 1 ; Question1 #Team: Apurva Gupta, Anshul Jain, Chirag Gilani #To find good driving directions between pair of cities given by the user using four algorithms. #We have included our observations in readme file of question1. import sys import Queue import pandas import numpy import mat...
33.497829
225
0.669763
15ce7eaecdadd9355a7e39ea636fa17b817ebd0d
2,421
py
Python
lib/aquilon/worker/formats/service_map.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
7
2015-07-31T05:57:30.000Z
2021-09-07T15:18:56.000Z
lib/aquilon/worker/formats/service_map.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
115
2015-03-03T13:11:46.000Z
2021-09-20T12:42:24.000Z
lib/aquilon/worker/formats/service_map.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
13
2015-03-03T11:17:59.000Z
2021-09-09T09:16:41.000Z
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2008,2009,2010,2011,2012,2013,2014,2015,2016 Contributor # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You ma...
41.741379
78
0.655514
15d00fa129c4282e14c16ce724fb76ebc7d8c435
2,665
py
Python
utils/graph_utils.py
MarcoFavorito/knowledge-based-telegram-bot
a6369856f9d40e288cccf99ac8ee62ff382a8fd3
[ "MIT" ]
null
null
null
utils/graph_utils.py
MarcoFavorito/knowledge-based-telegram-bot
a6369856f9d40e288cccf99ac8ee62ff382a8fd3
[ "MIT" ]
null
null
null
utils/graph_utils.py
MarcoFavorito/knowledge-based-telegram-bot
a6369856f9d40e288cccf99ac8ee62ff382a8fd3
[ "MIT" ]
null
null
null
""" This module use the networkx package to deal with graphs. """ from networkx import Graph, shortest_path from networkx.algorithms.shortest_paths.unweighted import all_pairs_shortest_path from networkx.algorithms.shortest_paths.unweighted import single_source_shortest_path import constants as c def build_networkXG...
30.632184
107
0.717448
15d08e1d3551a5d4a73d6b2396ffd3890c3142a5
1,363
py
Python
scripts/gen_auth_keypair.py
PowerSaucisse/QuarKEY-api-server
ba327d3a49e8ea35efbb989550cb8a1429098b15
[ "MIT" ]
5
2021-07-26T14:46:35.000Z
2021-07-26T22:50:56.000Z
scripts/gen_auth_keypair.py
PowerSaucisse/quarkey-api-server
ba327d3a49e8ea35efbb989550cb8a1429098b15
[ "MIT" ]
null
null
null
scripts/gen_auth_keypair.py
PowerSaucisse/quarkey-api-server
ba327d3a49e8ea35efbb989550cb8a1429098b15
[ "MIT" ]
null
null
null
""" import peewee, datetime, argparse from database.database import db from database.models import SQLAuthToken from utils.security.auth import gen_account_keypair """ from utils.security.auth import gen_account_keypair from database.database import PGDatabase if __name__ == "__main__": """ parser = argparse....
35.868421
163
0.693324
15d18e1c8d232bab6d30757b8fb76baf8d21a08d
3,224
py
Python
models/experiment.py
mingxuts/multi-center-fed-learning
9262ddaefb79b14ea44b61ffce200b82d31b0af1
[ "BSD-2-Clause" ]
4
2021-09-03T02:44:14.000Z
2022-03-04T03:28:09.000Z
models/experiment.py
mingxuts/multi-center-fed-learning
9262ddaefb79b14ea44b61ffce200b82d31b0af1
[ "BSD-2-Clause" ]
null
null
null
models/experiment.py
mingxuts/multi-center-fed-learning
9262ddaefb79b14ea44b61ffce200b82d31b0af1
[ "BSD-2-Clause" ]
2
2021-10-10T11:57:53.000Z
2022-02-15T20:27:10.000Z
import os import sys import numpy as np import time from utils_io import get_job_config from utils.model_utils import read_data from utils.args import parse_job_args from fedsem import Fedsem_Trainer from fedavg import Fedavg_Trainer from fedprox import Fedprox_Trainer from fedsgd import Fedsgd_Trainer from fedbaye...
36.224719
99
0.618176
15d2a24d7a5272cf6f47dd92b9754dc12ea2133b
980
py
Python
find_best_model.py
cvl-umass/bilinear-cnn
d6a05aa200774c97b38f753feed9032aa3764cce
[ "MIT" ]
9
2020-06-07T09:57:23.000Z
2021-12-27T08:02:45.000Z
find_best_model.py
cvl-umass/bilinear-cnn
d6a05aa200774c97b38f753feed9032aa3764cce
[ "MIT" ]
3
2021-06-08T21:47:36.000Z
2022-01-13T02:51:06.000Z
find_best_model.py
cvl-umass/bilinear-cnn
d6a05aa200774c97b38f753feed9032aa3764cce
[ "MIT" ]
null
null
null
import argparse import os import re if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--dataset', default='cub', type=str) args = parser.parse_args() main(args)
29.69697
80
0.573469
15d4e6fab94b2657d2d827644c3a38b4446fc28b
1,509
py
Python
setup.py
lrowe/pyramid_iap
7af4be2eca00bda2062cfde05b67ecbe963d0182
[ "BSD-2-Clause" ]
null
null
null
setup.py
lrowe/pyramid_iap
7af4be2eca00bda2062cfde05b67ecbe963d0182
[ "BSD-2-Clause" ]
null
null
null
setup.py
lrowe/pyramid_iap
7af4be2eca00bda2062cfde05b67ecbe963d0182
[ "BSD-2-Clause" ]
null
null
null
import os.path from setuptools import setup version = "0.1" install_requires = ["pyramid", "PyJWT", "cryptography", "requests", "zope.interface"] tests_require = ["pytest", "pytest-flake8", "requests-mock", "WebTest"] here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, "README.rst"))....
34.295455
86
0.660702
15d516effb6e29c1d39d2ea74f2f475a8238e3d4
42
py
Python
python/finess/__init__.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
python/finess/__init__.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
python/finess/__init__.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
"""Python library written for FINESS. """
14
37
0.690476
15d7ac839b9a07b6c3b7310a9ea3c661c0c92356
833
py
Python
mms-ent/migration/3.3.0/util.py
ronniscapaldi/mms-alfresco
1852b3e67ded4d80fa8d1cfb4ef0a7984e9fce17
[ "Apache-2.0" ]
12
2020-04-04T16:11:59.000Z
2022-02-16T20:33:28.000Z
mms-ent/migration/3.3.0/util.py
ronniscapaldi/mms-alfresco
1852b3e67ded4d80fa8d1cfb4ef0a7984e9fce17
[ "Apache-2.0" ]
9
2020-09-24T02:33:01.000Z
2021-06-09T08:49:50.000Z
mms-ent/migration/3.3.0/util.py
kannkyo/mms-alfresco
03fb1d1ad260a700473f046ae1621ba53a357551
[ "Apache-2.0" ]
9
2020-05-01T23:23:14.000Z
2022-03-24T04:09:46.000Z
import urllib2 import json global base_url global auth_key global ticket
25.242424
60
0.679472
15d86135ab3086b32c870017d6b76bf47205ec4a
84
py
Python
icevision/models/torchvision_models/mask_rcnn/lightning/__init__.py
RibenaMapleSyrup/icevision
6cbd6d103cb3f76bc21ae7651e9d958efe8c3a64
[ "Apache-2.0" ]
88
2020-05-02T12:28:02.000Z
2021-09-30T07:17:03.000Z
icevision/models/torchvision_models/mask_rcnn/lightning/__init__.py
RibenaMapleSyrup/icevision
6cbd6d103cb3f76bc21ae7651e9d958efe8c3a64
[ "Apache-2.0" ]
248
2020-05-01T18:46:31.000Z
2020-07-31T20:55:01.000Z
icevision/models/torchvision_models/mask_rcnn/lightning/__init__.py
RibenaMapleSyrup/icevision
6cbd6d103cb3f76bc21ae7651e9d958efe8c3a64
[ "Apache-2.0" ]
15
2020-06-07T15:59:56.000Z
2021-02-27T09:46:39.000Z
from icevision.models.torchvision_models.mask_rcnn.lightning.model_adapter import *
42
83
0.880952
15d9363d0780e92ab8588a5f80532260973a46c5
214
py
Python
problem/01000~09999/05073/5073.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/05073/5073.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/05073/5073.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
while True: A,B,C=map(int,input().split()) if not A: exit() if A+B+C<=max(A,B,C)*2: print('Invalid') elif A==B==C: print('Equilateral') elif True in (A==B,A==C,B==C): print('Isosceles') else: print('Scalene')
30.571429
50
0.61215
15da9a3152e56c52f76684034993ef00a4445df4
696
py
Python
cjax/continuation/methods/predictor/natural_predictor.py
harsh306/continuation-jax
c1452604558764df9cd4770130b60035eea5c5b3
[ "MIT" ]
2
2022-01-26T18:02:51.000Z
2022-02-15T01:36:39.000Z
cjax/continuation/methods/predictor/natural_predictor.py
harsh306/continuation-jax
c1452604558764df9cd4770130b60035eea5c5b3
[ "MIT" ]
null
null
null
cjax/continuation/methods/predictor/natural_predictor.py
harsh306/continuation-jax
c1452604558764df9cd4770130b60035eea5c5b3
[ "MIT" ]
1
2022-02-15T01:37:50.000Z
2022-02-15T01:37:50.000Z
from cjax.continuation.methods.predictor.base_predictor import Predictor from cjax.utils.math_trees import pytree_element_add
33.142857
81
0.715517
15dab945f67b74e42c6cdd3bcea65b524de02b00
778
py
Python
tests/mail/test_mailgun.py
MoBagel/awesome-sso
dbcd06ac3f6fbf69d07b48073a7486879ea8011e
[ "Apache-2.0" ]
8
2021-12-13T21:45:19.000Z
2022-03-24T02:28:12.000Z
tests/mail/test_mailgun.py
MoBagel/awesome-sso
dbcd06ac3f6fbf69d07b48073a7486879ea8011e
[ "Apache-2.0" ]
3
2021-11-25T08:38:13.000Z
2022-02-09T04:07:01.000Z
tests/mail/test_mailgun.py
MoBagel/awesome-sso
dbcd06ac3f6fbf69d07b48073a7486879ea8011e
[ "Apache-2.0" ]
1
2022-01-04T07:43:34.000Z
2022-01-04T07:43:34.000Z
from pydantic import EmailStr from awesome_sso.mail.mailgun import MailGun
25.933333
53
0.614396
15dad53f1edc8384054b604e1e889eb54a8a9279
3,021
py
Python
events/contrib/plugins/form_handlers/db_store/views.py
mansonul/events
4f6ca37bc600dcba3f74400d299826882d53b7d2
[ "MIT" ]
null
null
null
events/contrib/plugins/form_handlers/db_store/views.py
mansonul/events
4f6ca37bc600dcba3f74400d299826882d53b7d2
[ "MIT" ]
null
null
null
events/contrib/plugins/form_handlers/db_store/views.py
mansonul/events
4f6ca37bc600dcba3f74400d299826882d53b7d2
[ "MIT" ]
null
null
null
from django.contrib.auth.decorators import login_required from events.decorators import permissions_required, SATISFY_ALL, SATISFY_ANY from .....base import ( get_form_handler_plugin_widget, # get_form_wizard_handler_plugin_widget, ) from . import UID from .models import SavedFormDataEntry from .helpers impo...
32.836957
79
0.694141
15dc1ed3e47745e03b2917526f01c692afabd89d
2,918
py
Python
src/optimum/onnxruntime/convert_and_optimize.py
dkurt/optimum
a94954d2b891d470fde68d8c1fc635ee9cdd6413
[ "Apache-2.0" ]
1
2021-11-13T18:29:11.000Z
2021-11-13T18:29:11.000Z
src/optimum/onnxruntime/convert_and_optimize.py
adbmd/optimum
a94954d2b891d470fde68d8c1fc635ee9cdd6413
[ "Apache-2.0" ]
null
null
null
src/optimum/onnxruntime/convert_and_optimize.py
adbmd/optimum
a94954d2b891d470fde68d8c1fc635ee9cdd6413
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The HuggingFace Team. 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...
39.972603
116
0.735778
15dd810271ae61edf8a8ae08f62baf526d6b10d2
2,792
py
Python
ibm_whcs_sdk/insights_for_medical_literature/tests/integration/test_search_metadata.py
paul-felt/whcs-python-sdk
4b668a9f2d60b89c133adee644d1b5ff25b41228
[ "Apache-2.0" ]
5
2020-04-09T14:50:01.000Z
2022-01-10T23:27:33.000Z
ibm_whcs_sdk/insights_for_medical_literature/tests/integration/test_search_metadata.py
paul-felt/whcs-python-sdk
4b668a9f2d60b89c133adee644d1b5ff25b41228
[ "Apache-2.0" ]
21
2020-04-08T10:43:57.000Z
2021-12-03T21:48:29.000Z
ibm_whcs_sdk/insights_for_medical_literature/tests/integration/test_search_metadata.py
paul-felt/whcs-python-sdk
4b668a9f2d60b89c133adee644d1b5ff25b41228
[ "Apache-2.0" ]
6
2020-04-08T18:28:03.000Z
2021-04-05T16:37:45.000Z
# coding: utf-8 # Copyright 2018 IBM 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 applicabl...
36.736842
107
0.744986
15e01a878289d7ecffc99c78240ad30a0c2fade3
4,716
py
Python
plot.py
jakeybob/brexit-maps
649479d9e9a0eaf94599d73844ca0d44eee4bd75
[ "MIT" ]
5
2016-10-10T11:27:40.000Z
2019-05-28T16:54:18.000Z
plot.py
jakeybob/brexit-maps
649479d9e9a0eaf94599d73844ca0d44eee4bd75
[ "MIT" ]
null
null
null
plot.py
jakeybob/brexit-maps
649479d9e9a0eaf94599d73844ca0d44eee4bd75
[ "MIT" ]
2
2016-10-24T13:46:35.000Z
2020-06-19T21:39:41.000Z
import matplotlib.pyplot as plt import matplotlib.patches as patches import matplotlib as mpl import mapMisc as mapMisc # load data GBRpropertiesDF, NIpropertiesDF, GIBpropertiesDF, GBRdataDF, NIdataDF, GIBdataDF, GBRmp, NImp, GIBmp,\ GBRpolyCount, NIpolyCount, GIBpolyCount, bounds = mapMisc.loadData('data/allData.dat...
42.486486
141
0.713528
15e1a628015b100f880c6693b3858c224413079f
1,167
py
Python
tests/xlfunctions_vs_excel/test_logical.py
ckp95/xlcalculator
8f3f04a2a0a2ecb12c3d5837a5b13519137ae427
[ "MIT" ]
54
2020-04-26T09:18:29.000Z
2022-03-30T08:47:45.000Z
tests/xlfunctions_vs_excel/test_logical.py
st-lo/xlcalculator
19190ec90e948b7ab1eceb06448b96cc1728bc51
[ "MIT" ]
41
2020-05-04T04:12:36.000Z
2022-01-31T02:41:05.000Z
tests/xlfunctions_vs_excel/test_logical.py
st-lo/xlcalculator
19190ec90e948b7ab1eceb06448b96cc1728bc51
[ "MIT" ]
21
2020-05-21T20:49:23.000Z
2022-02-20T14:15:56.000Z
from .. import testing
27.139535
55
0.607541
15e2dc5662d58fd67bbebf0e1860fb708ce9e108
36
py
Python
survivalbox/__init__.py
JohannesTheo/SurvivalBox
e4d4c754bdc28961dc5e8fa5ce74eb1875f043e3
[ "MIT" ]
null
null
null
survivalbox/__init__.py
JohannesTheo/SurvivalBox
e4d4c754bdc28961dc5e8fa5ce74eb1875f043e3
[ "MIT" ]
null
null
null
survivalbox/__init__.py
JohannesTheo/SurvivalBox
e4d4c754bdc28961dc5e8fa5ce74eb1875f043e3
[ "MIT" ]
null
null
null
from .survivalbox import SurvivalBox
36
36
0.888889
15e8390fe55e1dca11f9815f8b5a2a58fdc83bdc
42
py
Python
ti_nbody/__init__.py
xuyanwen2012/ti_nbody
f49814b51938d262db4c6b831e5df63e4bf635fa
[ "MIT" ]
null
null
null
ti_nbody/__init__.py
xuyanwen2012/ti_nbody
f49814b51938d262db4c6b831e5df63e4bf635fa
[ "MIT" ]
null
null
null
ti_nbody/__init__.py
xuyanwen2012/ti_nbody
f49814b51938d262db4c6b831e5df63e4bf635fa
[ "MIT" ]
null
null
null
from .n_body import * from .util import *
14
21
0.714286
15e8686d5766af543463452560a9109ff4ea4229
489
py
Python
contabilidad/users/models.py
R3SWebDevelopment/CreaLibreCanacintraMembership
afab16195bbc7f74417a07cf475b5165eee472cb
[ "MIT" ]
null
null
null
contabilidad/users/models.py
R3SWebDevelopment/CreaLibreCanacintraMembership
afab16195bbc7f74417a07cf475b5165eee472cb
[ "MIT" ]
null
null
null
contabilidad/users/models.py
R3SWebDevelopment/CreaLibreCanacintraMembership
afab16195bbc7f74417a07cf475b5165eee472cb
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import ugettext as _ from django.contrib.postgres.fields import JSONField from django.conf import settings
30.5625
55
0.750511
15e87b87619b41df7d75ea8b043b7dbd742c2cb3
1,929
py
Python
api_lambda_function.py
yuyasugano/defi-test
959cded7440058e12aeaf9e8c75e06394f450332
[ "MIT" ]
3
2020-04-06T11:41:06.000Z
2021-06-04T21:45:36.000Z
api_lambda_function.py
yuyasugano/defi-test
959cded7440058e12aeaf9e8c75e06394f450332
[ "MIT" ]
null
null
null
api_lambda_function.py
yuyasugano/defi-test
959cded7440058e12aeaf9e8c75e06394f450332
[ "MIT" ]
null
null
null
#!/usr/bin/python import json import boto3 import decimal from decimal import Decimal from boto3.dynamodb.conditions import Key, Attr TABLE = 'Tokens' dynamodb = boto3.resource('dynamodb', region_name='ap-northeast-1') table = dynamodb.Table(TABLE_NAME) # Helper class to convert a DynamoDB item to JSON # Helper fun...
28.791045
71
0.585796
15e920b60b43ceeaa6830c4becdd6b1ce3a18485
4,663
py
Python
PacMan/Main.py
akshitgoyal/PacMan
bc68806169f59118ef9f62af3f14d8e82c692bfd
[ "MIT" ]
1
2020-07-21T02:17:58.000Z
2020-07-21T02:17:58.000Z
PacMan/Main.py
akshitgoyal/PacMan
bc68806169f59118ef9f62af3f14d8e82c692bfd
[ "MIT" ]
null
null
null
PacMan/Main.py
akshitgoyal/PacMan
bc68806169f59118ef9f62af3f14d8e82c692bfd
[ "MIT" ]
1
2021-07-13T21:21:46.000Z
2021-07-13T21:21:46.000Z
import pygame from pygame.locals import * from constants import * from pacman import Pacman, LifeIcon from nodes import NodeGroup from ghosts import GhostGroup from pellets import Pellets_Group from sprites import Spritesheet from maze import Maze from welcome import Welcome
32.381944
83
0.599185
15e99a37d28d45c6fa5fe4dcaf8360e68af0f497
149
py
Python
reviewboard/oauth/apps.py
pombredanne/reviewboard
15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d
[ "MIT" ]
null
null
null
reviewboard/oauth/apps.py
pombredanne/reviewboard
15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d
[ "MIT" ]
null
null
null
reviewboard/oauth/apps.py
pombredanne/reviewboard
15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d
[ "MIT" ]
null
null
null
"""The app definition for reviewboard.oauth.""" from django.apps import AppConfig
18.625
47
0.751678
15ebecce59b494429fd77551330a097af7986db9
9,944
py
Python
videoio/video_uint16.py
vguzov/videoio
04689c75528656bf4d4a8b451b0168c494e45471
[ "Apache-2.0" ]
13
2020-08-20T14:40:30.000Z
2022-03-29T11:09:55.000Z
videoio/video_uint16.py
vguzov/videoio
04689c75528656bf4d4a8b451b0168c494e45471
[ "Apache-2.0" ]
null
null
null
videoio/video_uint16.py
vguzov/videoio
04689c75528656bf4d4a8b451b0168c494e45471
[ "Apache-2.0" ]
null
null
null
import os import numpy as np import ffmpeg from typing import Tuple from .info import read_video_params, H264_PRESETS def uint16read(path: str, output_resolution: Tuple[int, int] = None, start_frame: int = 0) -> np.ndarray: """ Read 16-bit unsigned integer array encoded with uint16save function Args: ...
41.090909
114
0.609714
15ed3c737319751d6781c65bc474c7c96a12786a
12,148
py
Python
tests/broker/test_refresh_user.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
7
2015-07-31T05:57:30.000Z
2021-09-07T15:18:56.000Z
tests/broker/test_refresh_user.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
115
2015-03-03T13:11:46.000Z
2021-09-20T12:42:24.000Z
tests/broker/test_refresh_user.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
13
2015-03-03T11:17:59.000Z
2021-09-09T09:16:41.000Z
#!/usr/bin/env python # -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2014-2018 Contributor # # 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 co...
44.014493
79
0.608166
15ee2f0014be94f3258935017215164021a55cd1
3,831
py
Python
App.py
kristianmk/python-multiplication-table
a1bc6a1989159f17dc2c420a9d3af9475150fc60
[ "MIT" ]
null
null
null
App.py
kristianmk/python-multiplication-table
a1bc6a1989159f17dc2c420a9d3af9475150fc60
[ "MIT" ]
null
null
null
App.py
kristianmk/python-multiplication-table
a1bc6a1989159f17dc2c420a9d3af9475150fc60
[ "MIT" ]
null
null
null
# Written by K. M. Knausgrd 2021-09-23 import itertools import random import time import phue as hue max_number_of_exercises = 100 enable_hue = True hue_bridge_ip = '10.0.0.169' hue_light_name = 'Stue ved skyvedr hyre' # Color space conversion from phue github https://github.com/studioimaginaire/phue/blob/master/e...
36.485714
117
0.616549
15ef6cb2c548ef14058d7a173198bd8e176f9562
620
py
Python
Provinces and Gold/prov.py
rajitbanerjee/kattis
3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad
[ "CC0-1.0" ]
2
2021-04-13T12:56:30.000Z
2022-03-21T16:46:58.000Z
Provinces and Gold/prov.py
rajitbanerjee/kattis
3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad
[ "CC0-1.0" ]
null
null
null
Provinces and Gold/prov.py
rajitbanerjee/kattis
3a5dd4c84c07e21f09ef45ebd9c1bad2a0adc6ad
[ "CC0-1.0" ]
1
2021-11-14T14:06:46.000Z
2021-11-14T14:06:46.000Z
"""https://open.kattis.com/problems/provincesandgold""" from collections import OrderedDict vic, tres = OrderedDict(), OrderedDict() vic = {"Province": 8, "Duchy": 5, "Estate": 2} tres = {"Gold": 6, "Silver": 3, "Copper": 0} inp = list(map(int, input().split())) money = inp[0] * 3 + inp[1] * 2 + inp[2] options = [] ...
20.666667
55
0.585484
15f09f466f08acc7d158d1e5f5bf092afb8c1bc3
642
py
Python
temp-down/application.py
scavicchio/easyWaltonTracker
05fd5b12e9e6d9e21f7209baca3b8137c013f002
[ "MIT" ]
2
2018-05-10T04:50:11.000Z
2018-05-10T04:50:13.000Z
temp-down/application.py
scavicchio/easyWaltonTracker
05fd5b12e9e6d9e21f7209baca3b8137c013f002
[ "MIT" ]
5
2018-06-11T22:23:06.000Z
2020-02-28T02:20:52.000Z
temp-down/application.py
scavicchio/easyWaltonTracker
05fd5b12e9e6d9e21f7209baca3b8137c013f002
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, url_for, redirect application = app = Flask(__name__) # run the app. if __name__ == "__main__": # Setting debug to True enables debug output. This line should be # removed before deploying a production app. app.run(0.0.0.0,port=8080,debug=True)
30.571429
69
0.707165
15f47d838ef5ef4cb5b411f3e76a8175f319d22d
4,466
py
Python
transforms.py
Shelly-Lee/ICCV-2021-Competition-Valence-Arousal-Challenge
b3816ef4d4ba7b98c2f9ddd0dd3942d7a666777a
[ "MIT" ]
58
2019-11-21T23:35:44.000Z
2022-03-12T15:43:31.000Z
transforms.py
Shelly-Lee/ICCV-2021-Competition-Valence-Arousal-Challenge
b3816ef4d4ba7b98c2f9ddd0dd3942d7a666777a
[ "MIT" ]
17
2020-01-02T11:54:41.000Z
2021-08-06T03:03:21.000Z
transforms.py
Shelly-Lee/ICCV-2021-Competition-Valence-Arousal-Challenge
b3816ef4d4ba7b98c2f9ddd0dd3942d7a666777a
[ "MIT" ]
19
2019-11-22T05:27:59.000Z
2021-04-18T06:48:31.000Z
import torchvision import random from PIL import Image, ImageOps import numpy as np import numbers import math import torch if __name__ == "__main__": trans = torchvision.transforms.Compose([ GroupScale(256), GroupRandomCrop(224), Stack(), ToTorchFormatTensor(), Grou...
28.628205
100
0.575459
15f4d69db682093ca5736a39d9b778587d349ed4
75
py
Python
trello2toggl/__init__.py
dobarkod/trello2toggl
303c76db46932d7594f9ef19529c3992d641ec9f
[ "Unlicense" ]
1
2015-02-01T22:40:47.000Z
2015-02-01T22:40:47.000Z
trello2toggl/__init__.py
dobarkod/trello2toggl
303c76db46932d7594f9ef19529c3992d641ec9f
[ "Unlicense" ]
null
null
null
trello2toggl/__init__.py
dobarkod/trello2toggl
303c76db46932d7594f9ef19529c3992d641ec9f
[ "Unlicense" ]
1
2021-07-08T09:48:45.000Z
2021-07-08T09:48:45.000Z
from .toggl import Toggl from .trello import Trello from .sync import Sync
18.75
26
0.8
15f5866d34b5d50188b37efacae2ab46191d04ac
1,231
py
Python
services/twilio.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
null
null
null
services/twilio.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
null
null
null
services/twilio.py
sourceperl/docker.mqttwarn
9d87337f766843c8bdee34eba8d29776e7032009
[ "MIT" ]
2
2016-09-03T09:12:17.000Z
2020-03-03T11:58:40.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Jan-Piet Mens <jpmens()gmail.com>' __copyright__ = 'Copyright 2014 Jan-Piet Mens' __license__ = """Eclipse Public License - v 1.0 (http://www.eclipse.org/legal/epl-v10.html)""" HAVE_TWILIO=True try: from twilio.rest import TwilioRestClient except Im...
28.627907
98
0.62632
15f618f0c91f94b5a348c507c790492201165006
1,058
py
Python
message-extractor.py
tsusanka/telegram-extractor
b7ff242963efd376c8165318d04073046936bf9a
[ "MIT" ]
21
2017-01-20T12:55:22.000Z
2021-12-29T11:40:19.000Z
message-extractor.py
tsusanka/telegram-extractor
b7ff242963efd376c8165318d04073046936bf9a
[ "MIT" ]
null
null
null
message-extractor.py
tsusanka/telegram-extractor
b7ff242963efd376c8165318d04073046936bf9a
[ "MIT" ]
6
2018-04-23T12:30:45.000Z
2021-10-13T16:15:06.000Z
#!/bin/python # Extracts messages.data into headers and the actual message import binascii import pprint import click if __name__ == '__main__': extractMessage()
24.604651
83
0.575614
15f98b3fdf6e445a4ed4d8fc40bb23b2f95d1769
657
py
Python
Projects/project05/dequeue-shrink.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
2
2019-02-13T17:49:18.000Z
2020-09-30T04:51:53.000Z
Projects/project05/dequeue-shrink.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
null
null
null
Projects/project05/dequeue-shrink.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
null
null
null
from CircularQueue import CircularQueue if __name__ == '__main__': main()
16.02439
39
0.592085
15fba4505460aa878e1ca0ea76de89ed1e91bacc
1,062
py
Python
mygit/commands/merge.py
7Bpencil/mygit
2eda11af904442b4a460a811af75a95c0845297f
[ "WTFPL" ]
null
null
null
mygit/commands/merge.py
7Bpencil/mygit
2eda11af904442b4a460a811af75a95c0845297f
[ "WTFPL" ]
null
null
null
mygit/commands/merge.py
7Bpencil/mygit
2eda11af904442b4a460a811af75a95c0845297f
[ "WTFPL" ]
null
null
null
import argparse from textwrap import dedent from mygit.state import State from mygit.constants import Constants from mygit.command import Command from mygit.backend import merge
37.928571
93
0.661017
15fca6c5fd2b1c31eeca78893ed1a35d56d346fc
4,400
py
Python
polar.py
peterhinch/micropython-fourier
0723437e2556332f536c8a1c5f83f495f5c86634
[ "MIT" ]
60
2015-07-29T21:24:59.000Z
2022-02-09T08:30:48.000Z
polar.py
peterhinch/micropython-fourier
0723437e2556332f536c8a1c5f83f495f5c86634
[ "MIT" ]
2
2019-12-28T04:03:18.000Z
2020-01-13T05:05:32.000Z
polar.py
peterhinch/micropython-fourier
0723437e2556332f536c8a1c5f83f495f5c86634
[ "MIT" ]
7
2018-02-22T01:13:15.000Z
2022-02-26T12:05:16.000Z
# polar.py Fast floating point cartesian to polar coordinate conversion # Author: Peter Hinch # 31st Oct 2015 Updated to match latest firmware # 21st April 2015 # Now uses recently implemented FPU mnemonics # Arctan is based on the following approximation applicable to octant zero where q = x/y : # arctan(q) = q*pi/4- ...
29.530201
90
0.522273
15fd5e8d39bd9ebadddc9209f8e41e53ba9496d3
4,355
py
Python
python/test/test_pose_format_converter.py
stellarpower/vio_common
5508203cbcc166cbcd34dc0a6f7852c73e2cff55
[ "BSD-3-Clause" ]
16
2017-06-02T07:22:31.000Z
2022-03-23T02:39:39.000Z
python/test/test_pose_format_converter.py
stellarpower/vio_common
5508203cbcc166cbcd34dc0a6f7852c73e2cff55
[ "BSD-3-Clause" ]
2
2020-08-10T04:01:35.000Z
2021-01-18T08:21:17.000Z
python/test/test_pose_format_converter.py
stellarpower/vio_common
5508203cbcc166cbcd34dc0a6f7852c73e2cff55
[ "BSD-3-Clause" ]
19
2017-08-03T02:23:11.000Z
2021-09-22T02:17:46.000Z
# -*- coding: utf-8 -*- # !/usr/bin/env python ''' This module tests methods from pose_format_converter To run tests, $python -m pytest ''' from __future__ import print_function import os import numpy as np import utility_functions import convert_pose_format
46.827957
108
0.623192
c603108c7c60eb0e0f9cc519512a6749aaa8ce08
4,115
py
Python
intranet/settings.py
We-Are-One-CS/intranet
a96b566b82925fb5d9b809071f2d95a0ce687cf5
[ "MIT" ]
3
2020-02-28T21:08:22.000Z
2020-09-09T14:14:28.000Z
intranet/settings.py
We-Are-One-CS/intranet
a96b566b82925fb5d9b809071f2d95a0ce687cf5
[ "MIT" ]
28
2020-02-11T09:22:32.000Z
2020-06-05T07:05:23.000Z
intranet/settings.py
We-Are-One-CS/intranet
a96b566b82925fb5d9b809071f2d95a0ce687cf5
[ "MIT" ]
null
null
null
""" Django settings for intranet project. Generated by 'django-admin startproject' using Django 2.2.7. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
27.433333
92
0.674119
c6045bad43e4ebedcf50caee95ac7467f2df8e94
429
py
Python
renamedb.py
mochisoft/OC_Offline
058b129a8b221f46a3fcbe3fccd36e9983eac2ff
[ "MIT" ]
null
null
null
renamedb.py
mochisoft/OC_Offline
058b129a8b221f46a3fcbe3fccd36e9983eac2ff
[ "MIT" ]
null
null
null
renamedb.py
mochisoft/OC_Offline
058b129a8b221f46a3fcbe3fccd36e9983eac2ff
[ "MIT" ]
null
null
null
import glob, os rename(r'C:\Path_to_where_the_extracted_zipped_file_is_stored\extracted', r'*.backup')
35.75
89
0.717949
c60524500bee3252e9285b5a43e103c5930e7840
816
py
Python
python_oop/interface.py
tokusumi/python-oop
c2ec4ff17fa305af44cdfbefb8d569518b83eb37
[ "MIT" ]
null
null
null
python_oop/interface.py
tokusumi/python-oop
c2ec4ff17fa305af44cdfbefb8d569518b83eb37
[ "MIT" ]
null
null
null
python_oop/interface.py
tokusumi/python-oop
c2ec4ff17fa305af44cdfbefb8d569518b83eb37
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod tractor = Tractor() # => OK kar = Kar() # => TypeError # and => (mypy) error: Cannot instantiate abstract class 'Kar' with abstract attribute 'stop' truck = Truck().stop() # => NotImplementedError
17.361702
93
0.604167
c6056b27056b702b74178304069b5cd7a387640d
1,414
py
Python
loadlib.py
mit-dci/litloadtest
391d170ddf1e86841c33e1afaeff942b065cc3a4
[ "MIT" ]
null
null
null
loadlib.py
mit-dci/litloadtest
391d170ddf1e86841c33e1afaeff942b065cc3a4
[ "MIT" ]
null
null
null
loadlib.py
mit-dci/litloadtest
391d170ddf1e86841c33e1afaeff942b065cc3a4
[ "MIT" ]
null
null
null
import time import random import testlib # Makes a big grid of nodes, all connected to their neighbors.
32.883721
70
0.560113
c6087c86168356bef4767dc084184c67bb00c12a
3,503
py
Python
model_metrics.py
gbrltv/process_meta_learning
4b00bc39d15bd4b1f631bd8361a88e1f44e36cab
[ "MIT" ]
2
2021-03-11T12:10:36.000Z
2021-05-25T18:00:40.000Z
model_metrics.py
gbrltv/process_meta_learning
4b00bc39d15bd4b1f631bd8361a88e1f44e36cab
[ "MIT" ]
null
null
null
model_metrics.py
gbrltv/process_meta_learning
4b00bc39d15bd4b1f631bd8361a88e1f44e36cab
[ "MIT" ]
null
null
null
import os import time import pandas as pd from tqdm import tqdm from pm4py.objects.log.importer.xes import importer as xes_importer from pm4py.algo.discovery.inductive import algorithm as inductive_miner from pm4py.algo.discovery.heuristics import algorithm as heuristics_miner from pm4py.algo.discovery.alpha import alg...
31.276786
100
0.689409
c609af1653ba1996b5a66579c8a910d23126889e
1,966
py
Python
day06/mysql_tutorial.py
zhangyage/Python-jike
069b1e7f0d18739c19f0980d2f88f99ed14b70b6
[ "Apache-2.0" ]
null
null
null
day06/mysql_tutorial.py
zhangyage/Python-jike
069b1e7f0d18739c19f0980d2f88f99ed14b70b6
[ "Apache-2.0" ]
null
null
null
day06/mysql_tutorial.py
zhangyage/Python-jike
069b1e7f0d18739c19f0980d2f88f99ed14b70b6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' mysql 1mysql-connector 2MySQLdb 3MySQLdbtorndb ''' from __future__ import print_function sql = "insert into ipdata (startip,endip,loacl,country) values (16777123,16777324,'','')" sql_tmp = "insert into ipdata (startip,endip,loacl,country) values (%s,%s,%s,%s)" values ...
29.343284
134
0.685148
c609f49eb19b8e40539d0b553db9bd7efdfb5058
3,217
py
Python
interfaces/kr_python_interface/src/kr_python_interface/mav_example.py
fcladera/kr_mav_control
3e4a80f9af469df59628537876fb4e9a8f2fcd14
[ "BSD-3-Clause" ]
29
2021-02-08T17:04:13.000Z
2022-03-29T10:43:50.000Z
interfaces/kr_python_interface/src/kr_python_interface/mav_example.py
fcladera/kr_mav_control
3e4a80f9af469df59628537876fb4e9a8f2fcd14
[ "BSD-3-Clause" ]
6
2021-02-08T20:28:40.000Z
2021-09-29T16:51:24.000Z
interfaces/kr_python_interface/src/kr_python_interface/mav_example.py
fcladera/kr_mav_control
3e4a80f9af469df59628537876fb4e9a8f2fcd14
[ "BSD-3-Clause" ]
16
2021-02-10T09:38:10.000Z
2022-03-30T15:55:59.000Z
#! /usr/bin/env python3 import rospy import numpy as np import random from geometry_msgs.msg import Twist, Pose from nav_msgs.msg import Odometry from std_srvs.srv import SetBool, Trigger from kr_tracker_msgs.msg import TrajectoryTrackerAction, TrajectoryTrackerGoal, CircleTrackerAction, CircleTrackerGoal from kr_pyt...
27.262712
118
0.705626
c60bb52a90adbf7e80e3270d6210592264a6f15e
2,853
py
Python
test/integration/test_global_search_v2.py
nathan-hekman/platform-services-python-sdk
498c56c33bff040a77f073448563aeed550a2074
[ "Apache-2.0" ]
10
2020-04-02T15:48:33.000Z
2021-06-23T05:12:49.000Z
test/integration/test_global_search_v2.py
nathan-hekman/platform-services-python-sdk
498c56c33bff040a77f073448563aeed550a2074
[ "Apache-2.0" ]
151
2020-03-30T20:24:39.000Z
2022-03-30T16:51:22.000Z
test/integration/test_global_search_v2.py
nathan-hekman/platform-services-python-sdk
498c56c33bff040a77f073448563aeed550a2074
[ "Apache-2.0" ]
25
2020-04-16T21:03:19.000Z
2021-12-13T19:37:39.000Z
# -*- coding: utf-8 -*- # (C) Copyright IBM Corp. 2020. # # 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...
31.7
86
0.662811
c60c5562235cb288434ac7d2e66a71ef92f4ab87
11,433
py
Python
scripts/avg_bw_every_n_tasks.py
AndreyNevolin/PEF
515a418c169274b46b8aa62f7ae1d83512b07ae4
[ "Apache-2.0" ]
1
2019-01-11T15:36:06.000Z
2019-01-11T15:36:06.000Z
scripts/avg_bw_every_n_tasks.py
AndreyNevolin/pef
515a418c169274b46b8aa62f7ae1d83512b07ae4
[ "Apache-2.0" ]
1
2019-01-11T15:48:56.000Z
2019-01-11T15:48:56.000Z
scripts/avg_bw_every_n_tasks.py
AndreyNevolin/PEF
515a418c169274b46b8aa62f7ae1d83512b07ae4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ## # Copyright 2019 Andrey Nevolin, https://github.com/AndreyNevolin # Twitter: @Andrey_Nevolin # LinkedIn: https://www.linkedin.com/in/andrey-nevolin-76387328 # # This script produces bandwidth report from PEF execution report # # The script assumes that: # 1) PEF summary report contains the ...
36.880645
90
0.630018
c60cd0a5d6cd60336c81af7c3e7068df66b4f5f1
778
py
Python
visualizer/sorting/algorithms/quick.py
mensch272/sortvis
91d56acbdd575c129fc88e5ae54aaf5caae55eb0
[ "Apache-2.0" ]
3
2020-07-15T12:10:45.000Z
2020-09-25T01:32:02.000Z
visualizer/sorting/algorithms/quick.py
mensch272/sortvis
91d56acbdd575c129fc88e5ae54aaf5caae55eb0
[ "Apache-2.0" ]
1
2020-08-06T03:17:30.000Z
2020-08-06T03:17:30.000Z
visualizer/sorting/algorithms/quick.py
mHaisham/sortvis
91d56acbdd575c129fc88e5ae54aaf5caae55eb0
[ "Apache-2.0" ]
null
null
null
from .algorithm import Algorithm
22.882353
59
0.551414
c60e6d500a7f4402b2213e04baa96746a9880683
723
py
Python
gui/profile/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
97
2016-11-15T14:44:23.000Z
2022-03-13T18:09:15.000Z
gui/profile/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
334
2016-11-17T19:56:57.000Z
2022-03-18T10:45:53.000Z
gui/profile/urls.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
33
2017-01-02T16:04:13.000Z
2022-02-07T19:20:24.000Z
from django.conf.urls import patterns, url urlpatterns = patterns( 'gui.profile.views', # Profile pages, with url prefix: accounts/profile url(r'^$', 'index', name='profile'), url(r'^api_keys/$', 'apikeys', name='profile_apikeys'), url(r'^update/$', 'update', name='profile_update'), url(r'^pas...
45.1875
115
0.665284
c6109709045a46b1fdd0bdd17f88938e2af98c73
16,367
py
Python
gz-file/src/atmfjstc/lib/gz_file/__init__.py
goc9000/python-library
0a4a09278df6e84061baedda8997071e2201103f
[ "MIT" ]
null
null
null
gz-file/src/atmfjstc/lib/gz_file/__init__.py
goc9000/python-library
0a4a09278df6e84061baedda8997071e2201103f
[ "MIT" ]
null
null
null
gz-file/src/atmfjstc/lib/gz_file/__init__.py
goc9000/python-library
0a4a09278df6e84061baedda8997071e2201103f
[ "MIT" ]
null
null
null
""" This package provides an advanced interface for accessing multi-member GZip files (analogous to TarFile etc.) With respect to the built-in `gzip.GZipFile` class in Python, this interface offers: - Multi-member support (i.e. multiple ``.gz`` files concatenated in one, which is allowed by the standard) - Full extra...
37.197727
120
0.659803
c610e769cc9cd2225898c64d776cb433106344df
3,263
py
Python
tests/bacnet/test_network.py
yozora-hitagi/bacprop
6e429145a688979514c6a75c431b033e3bf91b5b
[ "MIT" ]
3
2020-03-21T12:18:37.000Z
2021-02-18T12:51:03.000Z
tests/bacnet/test_network.py
yozora-hitagi/bacprop
6e429145a688979514c6a75c431b033e3bf91b5b
[ "MIT" ]
null
null
null
tests/bacnet/test_network.py
yozora-hitagi/bacprop
6e429145a688979514c6a75c431b033e3bf91b5b
[ "MIT" ]
2
2020-05-11T00:50:04.000Z
2021-09-23T08:39:12.000Z
from bacprop.bacnet.network import VirtualSensorNetwork from bacprop.bacnet import network from bacpypes.pdu import Address from bacpypes.comm import service_map from bacprop.bacnet.sensor import Sensor from pytest_mock import MockFixture import pytest # Required for full coverage network._debug = 1
32.959596
84
0.669936
c610f31edd9e65fcca3c57ba76ef8a8a15f11d29
2,640
py
Python
python/challenges/queue_with_stacks/queue_with_stacks.py
ManarAbdelkarim/data-structures-and-algorithms
ece37d03c5931d2d6b0ce2d677635fb718944c38
[ "MIT" ]
null
null
null
python/challenges/queue_with_stacks/queue_with_stacks.py
ManarAbdelkarim/data-structures-and-algorithms
ece37d03c5931d2d6b0ce2d677635fb718944c38
[ "MIT" ]
1
2021-05-06T19:41:25.000Z
2021-05-06T19:41:25.000Z
python/challenges/queue_with_stacks/queue_with_stacks.py
ManarAbdelkarim/data-structures-and-algorithms
ece37d03c5931d2d6b0ce2d677635fb718944c38
[ "MIT" ]
2
2021-06-06T18:02:58.000Z
2021-08-15T18:56:26.000Z
pseudoQueue = PseudoQueue() pseudoQueue.enqueue(1) pseudoQueue.enqueue(2) pseudoQueue.enqueue(3) pseudoQueue.dequeue() print(pseudoQueue.peek()) print(pseudoQueue)
25.384615
99
0.604924
c611ace71f06895258980da8c2f9da8383b4b256
280
py
Python
Python/Strings/string_validators.py
isbendiyarovanezrin/HackerRankSolutions
3e66ecab82b35e718e1bdd1b0c00d0aeb3b4569f
[ "MIT" ]
2
2022-01-03T14:49:57.000Z
2022-01-16T15:37:18.000Z
Python/Strings/string_validators.py
isbendiyarovanezrin/HackerRankSolutions
3e66ecab82b35e718e1bdd1b0c00d0aeb3b4569f
[ "MIT" ]
null
null
null
Python/Strings/string_validators.py
isbendiyarovanezrin/HackerRankSolutions
3e66ecab82b35e718e1bdd1b0c00d0aeb3b4569f
[ "MIT" ]
null
null
null
# Language: Python 3 if __name__ == '__main__': s = input() n = any(i.isalnum() for i in s) a = any(i.isalpha() for i in s) d = any(i.isdigit() for i in s) l = any(i.islower() for i in s) u = any(i.isupper() for i in s) print(n, a, d, l, u, sep="\n")
25.454545
35
0.528571
c61324438776a6303838bdad6834b194f09ba4de
4,292
py
Python
examples/translation/make_context_dataset/make_context_nmt_dataset.py
yukunfeng/fairseq
55bf1040db892a7f1857a318675a5b06ce9b17a2
[ "MIT" ]
null
null
null
examples/translation/make_context_dataset/make_context_nmt_dataset.py
yukunfeng/fairseq
55bf1040db892a7f1857a318675a5b06ce9b17a2
[ "MIT" ]
null
null
null
examples/translation/make_context_dataset/make_context_nmt_dataset.py
yukunfeng/fairseq
55bf1040db892a7f1857a318675a5b06ce9b17a2
[ "MIT" ]
null
null
null
import argparse import os import jieba if __name__ == "__main__": parser = argparse.ArgumentParser( description='Make context NMT dataset', formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument('-d', '--data_prefix', required=True, type=str) parser.add_argument('-s', '--src', requ...
32.029851
76
0.609273
c6133fbfc693b7501b66dd5a702d828c04cf7851
2,489
py
Python
src/brewlog/home/views.py
zgoda/brewlog
13a930b328f81d01a2be9aca07d3b14703b80faa
[ "BSD-3-Clause" ]
3
2019-03-11T04:30:06.000Z
2020-01-26T03:21:52.000Z
src/brewlog/home/views.py
zgoda/brewlog
13a930b328f81d01a2be9aca07d3b14703b80faa
[ "BSD-3-Clause" ]
23
2019-02-06T20:37:37.000Z
2020-06-01T07:08:35.000Z
src/brewlog/home/views.py
zgoda/brewlog
13a930b328f81d01a2be9aca07d3b14703b80faa
[ "BSD-3-Clause" ]
null
null
null
from flask import current_app, render_template from flask_login import current_user from ..brew.utils import BrewUtils from ..brewery.utils import BreweryUtils from ..ext import pages from ..models import Brew, BrewerProfile, Brewery, TastingNote from ..tasting.utils import TastingUtils from ..utils.text import get_an...
36.602941
86
0.679791
c61400dabb329395629c8db07f292c3e16897f73
585
py
Python
scripts/list_to_json.py
EnzoVargasM/advancing-hero
ebf79ebe22b839c0f495e772a0058c51e2a28dc9
[ "MIT" ]
1
2021-04-12T01:27:34.000Z
2021-04-12T01:27:34.000Z
scripts/list_to_json.py
EnzoVargasM/advancing-hero
ebf79ebe22b839c0f495e772a0058c51e2a28dc9
[ "MIT" ]
null
null
null
scripts/list_to_json.py
EnzoVargasM/advancing-hero
ebf79ebe22b839c0f495e772a0058c51e2a28dc9
[ "MIT" ]
2
2021-04-01T00:13:51.000Z
2021-04-11T07:15:54.000Z
import json my_list = [ [4, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 1], [4, 2, 2, 1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 1], [4, 2, 2, 1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 1], [4, 1, 1, 2, 1, 1, 1, 1, 1, 5, 5, 1, 1, 3, 1, 1], [4, 1, 1, 2, 1, 1, 1, 1, 1, 5, 5, 1, 1, 3, 1, 1], [4, 1, 1, 1, 1, 1, 1,...
39
53
0.358974
c614e0342421e722959fff76bafa9fcbb13d8e1b
455
py
Python
tests/test_vec_log.py
LechuzaAI/touchstone
6893b199f14f34986b475c79b4a41934fcf8e7a5
[ "MIT" ]
null
null
null
tests/test_vec_log.py
LechuzaAI/touchstone
6893b199f14f34986b475c79b4a41934fcf8e7a5
[ "MIT" ]
null
null
null
tests/test_vec_log.py
LechuzaAI/touchstone
6893b199f14f34986b475c79b4a41934fcf8e7a5
[ "MIT" ]
null
null
null
import numpy as np from touchstone.environments.make import make_vec_envs NUM_ENVS = 2 if __name__ == '__main__': env = make_vec_envs("Pendulum-v0", 42, NUM_ENVS) np.random.seed(42) state = env.reset() for i in range(1000): actions = env.action_space.sample() out = env.step([actions f...
25.277778
58
0.661538
c614e8587dd436a8c02676924e1ca14eecbd8b56
1,009
py
Python
debug/deploy_zipped.py
micprog/SystemVerilog
7eca705e87f87b94478fe222fc91d54d488cc8e3
[ "Apache-2.0" ]
29
2017-09-25T20:33:29.000Z
2022-03-15T17:57:45.000Z
debug/deploy_zipped.py
micprog/SystemVerilog
7eca705e87f87b94478fe222fc91d54d488cc8e3
[ "Apache-2.0" ]
50
2019-09-26T20:58:35.000Z
2022-03-31T20:30:00.000Z
debug/deploy_zipped.py
micprog/SystemVerilog
7eca705e87f87b94478fe222fc91d54d488cc8e3
[ "Apache-2.0" ]
15
2018-11-21T11:36:18.000Z
2022-03-15T17:58:18.000Z
import util from deploy_config import PACKAGE_CONTROL_SETTINGS_FILE, SUBLIME_SETTINGS_FILE, PACKAGE_NAME, SRC, DST_ZIPPED, IGNORE_DIRS import time print('[deploy] Deployment to Installed Packages ...') util.change_settings(PACKAGE_CONTROL_SETTINGS_FILE, "auto_upgrade_ignore", PACKAGE_NAME, a...
40.36
123
0.723489
c615dec3d4cb35314e0615ab48bd8ed635983e6f
2,052
py
Python
Week-04/evorobotpy2/pybullet/showrobot/showrobot.py
mhd-medfa/BCR22
9f892928f293bb9c2c7152e82713f976d8cd0485
[ "MIT" ]
null
null
null
Week-04/evorobotpy2/pybullet/showrobot/showrobot.py
mhd-medfa/BCR22
9f892928f293bb9c2c7152e82713f976d8cd0485
[ "MIT" ]
null
null
null
Week-04/evorobotpy2/pybullet/showrobot/showrobot.py
mhd-medfa/BCR22
9f892928f293bb9c2c7152e82713f976d8cd0485
[ "MIT" ]
1
2022-03-03T17:27:47.000Z
2022-03-03T17:27:47.000Z
import pybullet as p import pybullet_data import time import sys robotfile = "" gravity = -9.8; if len(sys.argv) == 1: print("ROBOTSHOW.PY: shows a robot within the GUI") print("You can indicate the following robot names as parameters:") print(" swimmer.xml, hopper.xml, ant.xml, half_cheetah.xml, walker2...
33.096774
117
0.657895
c6173b388b9c06b1f9bc64ff08d26b4bbdf01bf2
320
py
Python
Day-06/Fir.py
parastuffs/adventofcode-2020
a5e0ba7a8ae47dd2643befb6281a05c22a79545b
[ "CC0-1.0" ]
null
null
null
Day-06/Fir.py
parastuffs/adventofcode-2020
a5e0ba7a8ae47dd2643befb6281a05c22a79545b
[ "CC0-1.0" ]
null
null
null
Day-06/Fir.py
parastuffs/adventofcode-2020
a5e0ba7a8ae47dd2643befb6281a05c22a79545b
[ "CC0-1.0" ]
null
null
null
with open("input", 'r') as f: lines = f.readlines() # lines = [x.strip("\n") for x in lines] lines.append("\n") total = 0 answers = set() for line in lines: if line == "\n": total += len(answers) answers = set() else: for letter in line.strip("\n"): answers.add(letter) print("Total: {}".format(total))
16
40
0.596875
c61b87e2437df69266558da75468672ba68d3c89
2,547
py
Python
MultirefPredict/casbased_diagnostic.py
hjkgrp/MultirefPredict
a3a5167ef8d032fd7ced5da4635cdc95a7f51803
[ "BSD-3-Clause" ]
14
2019-03-05T21:22:57.000Z
2021-12-14T16:19:30.000Z
MultirefPredict/casbased_diagnostic.py
hjkgrp/MultirefPredict
a3a5167ef8d032fd7ced5da4635cdc95a7f51803
[ "BSD-3-Clause" ]
4
2019-03-06T04:38:19.000Z
2021-09-17T18:20:03.000Z
MultirefPredict/casbased_diagnostic.py
hjkgrp/MultirefPredict
a3a5167ef8d032fd7ced5da4635cdc95a7f51803
[ "BSD-3-Clause" ]
5
2019-03-06T02:58:55.000Z
2021-02-20T16:26:29.000Z
""" casscf_based_diag.py Classes that calculate the casscf based multireference diagnostics """ from abc import abstractmethod import numpy as np import qcengine import qcelemental from MultirefPredict.diagnostic import Diagnostic from MultirefPredict.io_tools import qcres_to_json, write_diagnostics_to_json
31.060976
127
0.56066
c61cab3c865673fe6c842b370482d357d813efac
749
py
Python
scripts/deploy_esp/seo/error.py
smart-edge-open/open-developer-experience-kits
e33837157ff9b8f255be946e6c24e51bc76d8c88
[ "Apache-2.0" ]
3
2021-11-23T06:30:33.000Z
2022-02-23T08:50:55.000Z
scripts/deploy_esp/seo/error.py
smart-edge-open/open-developer-experience-kits
e33837157ff9b8f255be946e6c24e51bc76d8c88
[ "Apache-2.0" ]
7
2021-10-13T02:59:30.000Z
2022-03-14T13:06:36.000Z
scripts/deploy_esp/seo/error.py
smart-edge-open/open-developer-experience-kits
e33837157ff9b8f255be946e6c24e51bc76d8c88
[ "Apache-2.0" ]
7
2021-12-04T04:44:29.000Z
2022-03-20T02:11:33.000Z
# SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2021-2022 Intel Corporation """ Error handling related utilities """ import enum TS_REF = "See the Troubleshooting section of the Intel Smart Edge Open Provisioning Process document"
24.16129
102
0.684913
c61f06234b68f7a2d32fc3a409e25989f6e849ce
688
py
Python
playdeliver/__init__.py
Larusso/play-deliver
9de0f35376f5342720b3a90bd3ca296b1f3a3f4c
[ "MIT" ]
3
2016-03-09T13:52:21.000Z
2016-06-28T09:31:31.000Z
playdeliver/__init__.py
Larusso/play-deliver
9de0f35376f5342720b3a90bd3ca296b1f3a3f4c
[ "MIT" ]
null
null
null
playdeliver/__init__.py
Larusso/play-deliver
9de0f35376f5342720b3a90bd3ca296b1f3a3f4c
[ "MIT" ]
1
2022-03-26T18:07:57.000Z
2022-03-26T18:07:57.000Z
"""Package for playdeliver modules.""" from pkg_resources import get_distribution, DistributionNotFound import os.path try: _dist = get_distribution('playdeliver') # Normalize case for Windows systems dist_loc = os.path.normcase(_dist.location) here = os.path.normcase(__file__) if not here.startswi...
34.4
66
0.72093
c6211a0a6b5d830c804d3c7b5d6cf0a9360420f4
1,568
py
Python
test/test_v1alpha1_application_spec.py
RyanSiu1995/argocd-python-client
2e8f097fe09f247a46ac70692241a93d1acd076a
[ "MIT" ]
1
2021-11-20T13:37:43.000Z
2021-11-20T13:37:43.000Z
test/test_v1alpha1_application_spec.py
RyanSiu1995/argocd-python-client
2e8f097fe09f247a46ac70692241a93d1acd076a
[ "MIT" ]
null
null
null
test/test_v1alpha1_application_spec.py
RyanSiu1995/argocd-python-client
2e8f097fe09f247a46ac70692241a93d1acd076a
[ "MIT" ]
null
null
null
""" Consolidate Services Description of all APIs # noqa: E501 The version of the OpenAPI document: version not set Generated by: https://openapi-generator.tech """ import sys import unittest import argocd_python_client from argocd_python_client.model.v1alpha1_application_destination import V1alpha...
34.086957
109
0.803571
c621430fa518fd15ea26fa0de8c887fc723bf8d8
772
py
Python
genBook.py
lvstross/audioBible
a25714a0cb02aa5f2167f22a4364823a7b9a1857
[ "MIT" ]
null
null
null
genBook.py
lvstross/audioBible
a25714a0cb02aa5f2167f22a4364823a7b9a1857
[ "MIT" ]
null
null
null
genBook.py
lvstross/audioBible
a25714a0cb02aa5f2167f22a4364823a7b9a1857
[ "MIT" ]
null
null
null
#!bin/python3 import os import sys import time import random from datetime import datetime book = sys.argv[1] startChapter = sys.argv[2] endChapter = sys.argv[3] for it in range(int(startChapter), int(endChapter) + 1): # Get random wait time waitTime = random.randrange(2, 5) # Get current time now = d...
29.692308
82
0.67228
c621672629105291c992dcb04293d7d2adc31741
104
py
Python
Keywords/pass.py
GowthamPrasad/py_thon
302a21fcfd553bb59c0084860100efee5e2dca0e
[ "MIT" ]
null
null
null
Keywords/pass.py
GowthamPrasad/py_thon
302a21fcfd553bb59c0084860100efee5e2dca0e
[ "MIT" ]
null
null
null
Keywords/pass.py
GowthamPrasad/py_thon
302a21fcfd553bb59c0084860100efee5e2dca0e
[ "MIT" ]
null
null
null
#pass is just a placeholder which does nothing for i in [1,2,3,4,5]: pass
17.333333
47
0.615385
c6218bc9f5911456f82cbd5199c0c02e8eeef895
382
py
Python
incrowd/website/urls.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
4
2015-03-10T04:24:07.000Z
2016-09-18T16:41:12.000Z
incrowd/website/urls.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
27
2015-01-03T09:52:50.000Z
2021-06-10T20:37:08.000Z
incrowd/website/urls.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
2
2015-09-07T21:06:51.000Z
2016-03-10T11:31:57.000Z
from rest_framework import routers from website.api import UserViewSet, PostViewSet, CommentViewSet, \ CategoryViewSet, CrowdViewSet router = routers.SimpleRouter() router.register(r'users', UserViewSet) router.register(r'posts', PostViewSet) router.register(r'categories', CategoryViewSet) router.register(r'commen...
34.727273
67
0.814136
c6234c9d621054eeeabfd55bdba6a9ad031efcb5
13,570
py
Python
frgpascal/hardware/liquidhandler.py
fenning-research-group/PASCAL
c175e60ec2015ac8dce1ed3ae037619072d48cea
[ "MIT" ]
1
2022-02-11T22:31:32.000Z
2022-02-11T22:31:32.000Z
frgpascal/hardware/liquidhandler.py
fenning-research-group/PASCAL
c175e60ec2015ac8dce1ed3ae037619072d48cea
[ "MIT" ]
7
2021-05-06T16:07:51.000Z
2021-08-07T15:18:06.000Z
frgpascal/hardware/liquidhandler.py
fenning-research-group/PASCAL
c175e60ec2015ac8dce1ed3ae037619072d48cea
[ "MIT" ]
1
2021-12-11T00:42:33.000Z
2021-12-11T00:42:33.000Z
import numpy as np import asyncio import time import ntplib import json import os import yaml import websockets import threading import uuid import logging MODULE_DIR = os.path.dirname(__file__) with open(os.path.join(MODULE_DIR, "hardwareconstants.yaml"), "r") as f: constants = yaml.load(f, Loader=yaml.FullLoader...
33.341523
117
0.577966
c624adf0ba68fd7e9fe992583f3de329b309941c
15,699
py
Python
data_utils.py
kamalkraj/dlrm-jax
c7fb73a9b387777e28b82a0e0d8bb39f5df3f1f2
[ "Apache-2.0" ]
1
2021-10-30T06:05:11.000Z
2021-10-30T06:05:11.000Z
data_utils.py
kamalkraj/dlrm-jax
c7fb73a9b387777e28b82a0e0d8bb39f5df3f1f2
[ "Apache-2.0" ]
1
2021-10-21T19:11:22.000Z
2021-10-21T19:11:22.000Z
data_utils.py
kamalkraj/dlrm-jax
c7fb73a9b387777e28b82a0e0d8bb39f5df3f1f2
[ "Apache-2.0" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # # Description: generate inputs and targets for the DLRM benchmark # # Utility function(s) to download and pre-process public data sets # - Cr...
36.765808
188
0.501306
c624e476645db0e6cf50b94ea175b922b41212d1
608
py
Python
src/core/config.py
week-with-me/fastapi-graphql
faf0ab428e47f09c1d4d3939c03e98320962a45b
[ "MIT" ]
null
null
null
src/core/config.py
week-with-me/fastapi-graphql
faf0ab428e47f09c1d4d3939c03e98320962a45b
[ "MIT" ]
null
null
null
src/core/config.py
week-with-me/fastapi-graphql
faf0ab428e47f09c1d4d3939c03e98320962a45b
[ "MIT" ]
null
null
null
from functools import lru_cache from pydantic import BaseSettings, Field
21.714286
63
0.677632
c625503ef3b688d09babc8e3e35b0d9587aed806
2,053
py
Python
dataset/nl/feature_sets/family_names/__init__.py
prolody/piif
b7eba74b01fceb56b3f713436b39b520212f7fcd
[ "MIT" ]
2
2021-07-16T19:15:41.000Z
2022-01-03T04:21:22.000Z
dataset/nl/feature_sets/family_names/__init__.py
prolody/piif
b7eba74b01fceb56b3f713436b39b520212f7fcd
[ "MIT" ]
2
2021-03-01T20:30:26.000Z
2021-03-03T22:40:31.000Z
dataset/nl/feature_sets/family_names/__init__.py
prolody/piif
b7eba74b01fceb56b3f713436b39b520212f7fcd
[ "MIT" ]
null
null
null
""" family_names wordlists """ import os import csv import json from .. import word_list_counter from .. import parse_assoc from .. import dictionaries NAME = 'family_name' raw_nl_family_names_1_path = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'raw', 'DutchNameGenerator', 'MarkovDu...
27.743243
92
0.660984
c625e84f155b43efab1f1bcb95a0387eeb41df11
8,519
py
Python
.venv/lib/python3.8/site-packages/pathos/multiprocessing.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
null
null
null
.venv/lib/python3.8/site-packages/pathos/multiprocessing.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
null
null
null
.venv/lib/python3.8/site-packages/pathos/multiprocessing.py
eo1989/VectorBTanalysis
bea3deaf2ee3fc114b308146f2af3e4f35f70197
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2016 California Institute of Technology. # Copyright (c) 2016-2020 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - https://github.com/uqfoundation/pa...
38.201794
117
0.6185
c62683defad49be62b8ff124abb0d5537a0522a7
537
py
Python
src/spaceone/notification/manager/notification_manager.py
jihyungSong/plugin-megazone-sms-notification-protocol
93c12937137da6f06fd94c1fa152666792bac72b
[ "Apache-2.0" ]
1
2021-06-22T08:00:05.000Z
2021-06-22T08:00:05.000Z
src/spaceone/notification/manager/notification_manager.py
jihyungSong/plugin-megazone-sms-notification-protocol
93c12937137da6f06fd94c1fa152666792bac72b
[ "Apache-2.0" ]
1
2022-02-18T03:47:44.000Z
2022-02-28T01:54:22.000Z
src/spaceone/notification/manager/notification_manager.py
jihyungSong/plugin-megazone-sms-notification-protocol
93c12937137da6f06fd94c1fa152666792bac72b
[ "Apache-2.0" ]
1
2021-06-22T08:00:07.000Z
2021-06-22T08:00:07.000Z
from spaceone.core.manager import BaseManager from spaceone.notification.manager.megazone_sms_manager import MegazoneSMSManager
41.307692
87
0.752328
c6278f774c30a8899835942ebe6055c204249f0d
8,227
py
Python
tests/validation/test_single_field_subscriptions.py
closeio/graphql-core
28772a2f3529ac2772e616e24ccb76c085f1e87b
[ "MIT" ]
590
2015-10-06T18:22:49.000Z
2022-03-22T16:32:17.000Z
tests/validation/test_single_field_subscriptions.py
closeio/graphql-core
28772a2f3529ac2772e616e24ccb76c085f1e87b
[ "MIT" ]
300
2015-10-06T18:58:11.000Z
2022-03-22T14:01:44.000Z
tests/validation/test_single_field_subscriptions.py
closeio/graphql-core
28772a2f3529ac2772e616e24ccb76c085f1e87b
[ "MIT" ]
270
2015-10-08T19:47:38.000Z
2022-03-10T04:17:51.000Z
from functools import partial from graphql.utilities import build_schema from graphql.validation import SingleFieldSubscriptionsRule from .harness import assert_validation_errors schema = build_schema( """ type Message { body: String sender: String } type SubscriptionRoot { importa...
26.453376
83
0.436854
c627f42ed3e1bf273973cce42e035177374b5114
3,158
py
Python
ooobuild/lo/sdb/result_column.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/sdb/result_column.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/sdb/result_column.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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...
27.701754
184
0.651678
c628b43cf9b0fb37bb58af6755daabef9e05b1e2
2,636
py
Python
second/zp/config.py
zhangpur/second.pytorch
a2addd2d9f96126d4089427faf8db9607b413e17
[ "MIT" ]
null
null
null
second/zp/config.py
zhangpur/second.pytorch
a2addd2d9f96126d4089427faf8db9607b413e17
[ "MIT" ]
null
null
null
second/zp/config.py
zhangpur/second.pytorch
a2addd2d9f96126d4089427faf8db9607b413e17
[ "MIT" ]
null
null
null
from second.zp.utils_zp import * ''' g_data_root='/home/zp/data/nuscene/nuscene' g_data_name='nuscene-trainval' g_version='v1.0-trainval' ''' g_data_root='/home/zp/data/nuscene/nuscene-mini' g_data_name='nuscene-mini' g_version='v1.0-mini' g_DataPrepare_config=g_data_root + '/DataPrepare.config' g_VoxelGenerator_confi...
32.54321
89
0.665402
c628d640e4fd06ace30f86bf4dfc6b7cd4a832ef
32,199
py
Python
TAO/Firewall/BUZZDIRECTION/BUZZ_1120/LP/Scripts/Lp_UserInterface.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
46
2017-05-15T11:15:08.000Z
2018-07-02T03:32:52.000Z
TAO/Firewall/BUZZDIRECTION/BUZZ_1120/LP/Scripts/Lp_UserInterface.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
null
null
null
TAO/Firewall/BUZZDIRECTION/BUZZ_1120/LP/Scripts/Lp_UserInterface.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
24
2017-05-17T03:26:17.000Z
2018-07-09T07:00:50.000Z
import cmd import os import Lp_FrontEndFunctions import Lp_CursesDriver import Lp_XmlParser import Lp_RpcDispatcher import string import sys import socket import textwrap import time import subprocess import signal import platform import threading from datetime import datetime BLOCKER_PORT = 1340 RPC_DISPATCH_POR...
39.123937
123
0.497624
c62965de3b10e5d777c6bdb9f031808fd0d8060b
1,181
py
Python
mlsriracha/deploy.py
awcchungster/mlsriracha
63768f138d91b2b0e028a599827ff98ff2a44c8c
[ "Apache-2.0" ]
null
null
null
mlsriracha/deploy.py
awcchungster/mlsriracha
63768f138d91b2b0e028a599827ff98ff2a44c8c
[ "Apache-2.0" ]
1
2021-08-18T21:37:20.000Z
2021-08-18T21:37:20.000Z
mlsriracha/deploy.py
awcchungster/mlsriracha
63768f138d91b2b0e028a599827ff98ff2a44c8c
[ "Apache-2.0" ]
1
2021-08-16T22:28:06.000Z
2021-08-16T22:28:06.000Z
from mlsriracha.plugins.azureml.deploy import AzureMlDeploy from mlsriracha.plugins.gcpvertex.deploy import GcpVertexDeploy from mlsriracha.plugins.awssagemaker.deploy import AwsSageMakerDeploy
39.366667
69
0.662997
c629960ba54bec780ff6943bb8d0dca0df41e1b8
368
py
Python
src/structures.py
adamtpowell/mdgrep
1d9131c2a56d8755ac3d3d180880372f37037e3e
[ "MIT" ]
null
null
null
src/structures.py
adamtpowell/mdgrep
1d9131c2a56d8755ac3d3d180880372f37037e3e
[ "MIT" ]
null
null
null
src/structures.py
adamtpowell/mdgrep
1d9131c2a56d8755ac3d3d180880372f37037e3e
[ "MIT" ]
null
null
null
from typing import NamedTuple # Holds a line and its number in the original file (used for returnarea expansion)
23
82
0.720109
c62b6b1f6fc4a4593d05459cd17e5513cab47f19
2,205
py
Python
desktop/core/ext-py/chardet-3.0.4/setup.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
1,511
2015-07-01T15:29:03.000Z
2022-03-30T13:40:05.000Z
desktop/core/ext-py/chardet-3.0.4/setup.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,695
2015-07-01T16:01:35.000Z
2022-03-31T19:17:44.000Z
desktop/core/ext-py/chardet-3.0.4/setup.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
540
2015-07-01T15:08:19.000Z
2022-03-31T12:13:11.000Z
#!/usr/bin/env python import re import sys from setuptools import find_packages, setup needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv) pytest_runner = ['pytest-runner'] if needs_pytest else [] # Get version without importing, which avoids dependency issues setup(name='chardet', versio...
38.684211
78
0.56644
c62c54cc76f0fcd254fd1edb608ab1982f3b42e8
1,868
py
Python
src/radical/pilot/agent/launch_method/archive/dplace.py
eirrgang/radical.pilot
ceccd1867dd172935d602ff4c33a5ed4467e0dc8
[ "MIT" ]
1
2021-11-07T04:51:30.000Z
2021-11-07T04:51:30.000Z
src/radical/pilot/agent/launch_method/archive/dplace.py
eirrgang/radical.pilot
ceccd1867dd172935d602ff4c33a5ed4467e0dc8
[ "MIT" ]
null
null
null
src/radical/pilot/agent/launch_method/archive/dplace.py
eirrgang/radical.pilot
ceccd1867dd172935d602ff4c33a5ed4467e0dc8
[ "MIT" ]
null
null
null
__copyright__ = "Copyright 2016, http://radical.rutgers.edu" __license__ = "MIT" import radical.utils as ru from .base import LaunchMethod # ------------------------------------------------------------------------------ # # ------------------------------------------------------------------------------
31.661017
80
0.448608
c62cf81f2fd0f963538b2827e21cf63ed26ae6dd
3,338
py
Python
cliente_old.py
rafaelpleite/Algoritmos
2f02ac89b4f71dd9780b8cbf0c054db64b68b7ae
[ "MIT" ]
null
null
null
cliente_old.py
rafaelpleite/Algoritmos
2f02ac89b4f71dd9780b8cbf0c054db64b68b7ae
[ "MIT" ]
null
null
null
cliente_old.py
rafaelpleite/Algoritmos
2f02ac89b4f71dd9780b8cbf0c054db64b68b7ae
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #------------------------------------------------------------------ # LEIA E PREENCHA O CABEALHO # NO ALTERE OS NOMES DAS FUNES # NO APAGUE OS DOCSTRINGS # NO INCLUA NENHUM OUTRO import ... #------------------------------------------------------------------ ''' Nome: Rafael Prudncio Leite...
30.072072
83
0.57879
c62e0e66546d914d98f2f915f0f9cc4cb0a15ccd
4,271
py
Python
Archive Formats/fmt_davidsonassoc_res.py
TheDeverEric/noesis-scripts
0a96ccbcac304c91dc21d252e0e4c6f10e0aaa16
[ "MIT" ]
null
null
null
Archive Formats/fmt_davidsonassoc_res.py
TheDeverEric/noesis-scripts
0a96ccbcac304c91dc21d252e0e4c6f10e0aaa16
[ "MIT" ]
null
null
null
Archive Formats/fmt_davidsonassoc_res.py
TheDeverEric/noesis-scripts
0a96ccbcac304c91dc21d252e0e4c6f10e0aaa16
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Name: Davidson & Associates *.res # Purpose: Extract Archive # # Author: Eric Van Hoven # # Created: 01/09/2017 # Copyright: (c) Eric Van Hoven 2017 # Licence: <MIT License> #---------------------------...
36.194915
81
0.421213
c62ebe90410af38a0fd3d10d4dea8a8ef9dad58b
902
py
Python
psx/_dump_/28/_dump_ida_/overlay_3/set_funcs.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
15
2018-06-28T01:11:25.000Z
2021-09-27T15:57:18.000Z
psx/_dump_/28/_dump_ida_/overlay_3/set_funcs.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-29T04:08:23.000Z
2019-10-17T13:57:22.000Z
psx/_dump_/28/_dump_ida_/overlay_3/set_funcs.py
maoa3/scalpel
2e7381b516cded28996d290438acc618d00b2aa7
[ "Unlicense" ]
7
2018-06-28T01:11:34.000Z
2020-05-23T09:21:48.000Z
del_items(0x800A0E8C) SetType(0x800A0E8C, "void VID_OpenModule__Fv()") del_items(0x800A0F4C) SetType(0x800A0F4C, "void InitScreens__Fv()") del_items(0x800A103C) SetType(0x800A103C, "void MEM_SetupMem__Fv()") del_items(0x800A1068) SetType(0x800A1068, "void SetupWorkRam__Fv()") del_items(0x800A10F8) SetType(0x800A10F8, "...
33.407407
72
0.805987
c6300859579c58ba6aae893855c13c0b7edf95c2
1,649
py
Python
Code/train_model.py
ngbla/memoire_bigdata_face
dd9cf3d198f3921cd7fc183902732fd877473edf
[ "MIT" ]
null
null
null
Code/train_model.py
ngbla/memoire_bigdata_face
dd9cf3d198f3921cd7fc183902732fd877473edf
[ "MIT" ]
null
null
null
Code/train_model.py
ngbla/memoire_bigdata_face
dd9cf3d198f3921cd7fc183902732fd877473edf
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jun 23 10:06:05 2021 @author: ngbla """ import os import cv2 import numpy as np # Command: pip install pillow from PIL import Image #Initialize names and path to empty list names = [] path = [] # Get the names of all the users for users in os.list...
22.902778
73
0.712553
c636afebf8d704a7ece37703774ab4a06da2f1b2
4,516
py
Python
model/ODE/ode45-list.py
neulbo-187/Cucker-Smale-Model
e77e8d804be440999c0e410a41364a992b8fcc75
[ "MIT" ]
2
2021-03-08T11:23:58.000Z
2021-04-11T11:10:08.000Z
model/ODE/ode45-list.py
neulbo-187/Cucker-Smale-Model
e77e8d804be440999c0e410a41364a992b8fcc75
[ "MIT" ]
null
null
null
model/ODE/ode45-list.py
neulbo-187/Cucker-Smale-Model
e77e8d804be440999c0e410a41364a992b8fcc75
[ "MIT" ]
null
null
null
#%% import numpy as np from scipy import integrate import matplotlib.pyplot as plt import matplotlib as mpl import random import time import copy from matplotlib import animation, rc from IPython.display import HTML # def ode_rk(X,): if __name__ == '__main__': N=int(input("N=?")) beta=float(input("be...
21.607656
110
0.452834
c638ae35f536f4b26dca2447c5d6a323ea1ce035
95
py
Python
src/Messages/ShutdownRequest.py
M4ddinPoe/PiNetRadio
a97653d85620c9e94f216acdbc28d7be95040293
[ "MIT" ]
null
null
null
src/Messages/ShutdownRequest.py
M4ddinPoe/PiNetRadio
a97653d85620c9e94f216acdbc28d7be95040293
[ "MIT" ]
null
null
null
src/Messages/ShutdownRequest.py
M4ddinPoe/PiNetRadio
a97653d85620c9e94f216acdbc28d7be95040293
[ "MIT" ]
null
null
null
from src.Messages.MessageData import MessageData
19
48
0.821053
c63a30e0e8833ceec9af670d42a6f572965e3c25
72
py
Python
src/modules/__init__.py
Nobregaigor/FEBio-Python
1ad5578af00e44bd6def06ee17538ac5e4375a38
[ "MIT" ]
null
null
null
src/modules/__init__.py
Nobregaigor/FEBio-Python
1ad5578af00e44bd6def06ee17538ac5e4375a38
[ "MIT" ]
null
null
null
src/modules/__init__.py
Nobregaigor/FEBio-Python
1ad5578af00e44bd6def06ee17538ac5e4375a38
[ "MIT" ]
null
null
null
from .sys_functions import * from .enums import * from .classes import *
24
28
0.763889
c63b6b2ab34365be4ec1905b0f8484976290b67a
3,992
py
Python
tronn/stats/distances.py
kundajelab/tronn
59654a958f6debb5be150e383e96997f1982359d
[ "MIT" ]
5
2020-10-18T21:17:44.000Z
2021-11-30T06:25:09.000Z
tronn/stats/distances.py
kundajelab/tronn
59654a958f6debb5be150e383e96997f1982359d
[ "MIT" ]
1
2021-11-18T13:03:48.000Z
2021-11-18T13:03:48.000Z
tronn/stats/distances.py
kundajelab/tronn
59654a958f6debb5be150e383e96997f1982359d
[ "MIT" ]
null
null
null
# description: code for calculating various distances import numpy as np def generalized_jaccard_similarity(a, b): """Calculates a jaccard on real valued vectors note that for correct min/max, vectors should be normalized to be on same scale """ assert np.all(a >= 0) assert np.all(b >= 0) ...
31.1875
86
0.60496
c63c130a1c7cc9a7a02240c82dc89cfe40bd3f77
104
py
Python
venv/Lib/site-packages/notebook/prometheus/__init__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
76
2020-07-06T14:44:05.000Z
2022-02-14T15:30:21.000Z
venv/Lib/site-packages/notebook/prometheus/__init__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
24
2020-03-25T19:35:43.000Z
2022-02-10T11:46:50.000Z
venv/Lib/site-packages/notebook/prometheus/__init__.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
11
2020-06-29T08:40:24.000Z
2022-02-24T17:39:16.000Z
""" A package containing all the functionality and configuration connected to the prometheus metrics """
26
49
0.807692
c63cbc7a7f3580c129f4752ad0bd37f38f7fd932
2,044
py
Python
backend/takeout/admin/views.py
BillBillBillBill/laughing-garbanzo
27c66dcc4f0e045ae060255679a2aa68c0f744d2
[ "MIT" ]
15
2016-08-03T08:11:36.000Z
2022-03-24T03:21:06.000Z
backend/takeout/admin/views.py
BillBillBillBill/laughing-garbanzo
27c66dcc4f0e045ae060255679a2aa68c0f744d2
[ "MIT" ]
null
null
null
backend/takeout/admin/views.py
BillBillBillBill/laughing-garbanzo
27c66dcc4f0e045ae060255679a2aa68c0f744d2
[ "MIT" ]
7
2016-08-03T08:11:38.000Z
2020-12-27T08:49:10.000Z
# coding: utf-8 from rest_framework.views import APIView from models.admin import Admin from lib.utils.response import JsonResponse, JsonErrorResponse from lib.utils.misc import get_update_dict_by_list from lib.utils.token_tools import get_token
34.644068
98
0.629648
c63cf0c3064b6d41c391d6f350082e0b02f71448
2,328
py
Python
beetsplug/autofix/task/audio_conversion.py
adamjakab/BeetsPluginAutofix
72a0ddaf35b8d04bd9af082de399251b42347a1b
[ "MIT" ]
8
2020-05-11T13:07:53.000Z
2022-03-23T23:40:56.000Z
beetsplug/autofix/task/audio_conversion.py
adamjakab/BeetsPluginAutofix
72a0ddaf35b8d04bd9af082de399251b42347a1b
[ "MIT" ]
4
2020-03-28T19:49:15.000Z
2022-02-27T07:27:23.000Z
beetsplug/autofix/task/audio_conversion.py
adamjakab/BeetsPluginAutofix
72a0ddaf35b8d04bd9af082de399251b42347a1b
[ "MIT" ]
null
null
null
# Copyright: Copyright (c) 2020., Adam Jakab # # Author: Adam Jakab <adam at jakab dot pro> # Created: 24/03/2020, 16.00 # License: See LICENSE.txt import os import subprocess import tempfile from beets import util from beetsplug import convert from beetsplug.convert import ConvertPlugin from beetsplug.autofix i...
29.846154
116
0.630155
c63dca4cc6870aae54350a6bc8c273ae9777f49c
6,085
py
Python
nerblackbox/modules/datasets/formatter/sucx_formatter.py
flxst/nerblackbox
7612b95850e637be258f6bfb01274453b7372f99
[ "Apache-2.0" ]
null
null
null
nerblackbox/modules/datasets/formatter/sucx_formatter.py
flxst/nerblackbox
7612b95850e637be258f6bfb01274453b7372f99
[ "Apache-2.0" ]
null
null
null
nerblackbox/modules/datasets/formatter/sucx_formatter.py
flxst/nerblackbox
7612b95850e637be258f6bfb01274453b7372f99
[ "Apache-2.0" ]
null
null
null
from typing import List, Dict, Optional, Tuple import pandas as pd from datasets import load_dataset from os.path import join from datasets import DatasetDict from nerblackbox.modules.datasets.formatter.base_formatter import ( BaseFormatter, SENTENCES_ROWS, ) SUCX_SUBSETS = [ "original_cased", "origin...
31.692708
120
0.53788
c63e3548fc691ca9148e7127b2ce1daedbaf6a16
694
py
Python
src/web-scrapers/GetTable.py
CharlesFrankum/FF_Team_Selector
f230904faa6713dcec97e086e14eb7d841de9278
[ "Apache-2.0" ]
null
null
null
src/web-scrapers/GetTable.py
CharlesFrankum/FF_Team_Selector
f230904faa6713dcec97e086e14eb7d841de9278
[ "Apache-2.0" ]
3
2021-03-31T19:24:31.000Z
2021-12-13T20:07:43.000Z
src/web-scrapers/GetTable.py
CharlesFrankum/FF_Team_Selector
f230904faa6713dcec97e086e14eb7d841de9278
[ "Apache-2.0" ]
1
2019-08-08T06:46:13.000Z
2019-08-08T06:46:13.000Z
import os import sys sys.path.insert(1, f'{os.path.dirname(os.getcwd())}\\models\\') import pandas as pd import requests from Mapper import df_ISO3_mapper
20.411765
72
0.691643