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
2c0300ca0658c1688971286bba3169afb2699074
1,911
py
Python
controllers/task_handler.py
MuhammadWaleedUsman/PythonTornadoDockerTraefikMySql
29d7a72c30a96f4eaf9174fdf29fd06fb48e7974
[ "Apache-2.0" ]
null
null
null
controllers/task_handler.py
MuhammadWaleedUsman/PythonTornadoDockerTraefikMySql
29d7a72c30a96f4eaf9174fdf29fd06fb48e7974
[ "Apache-2.0" ]
null
null
null
controllers/task_handler.py
MuhammadWaleedUsman/PythonTornadoDockerTraefikMySql
29d7a72c30a96f4eaf9174fdf29fd06fb48e7974
[ "Apache-2.0" ]
null
null
null
from .db_handler import cursor from tornado import concurrent import tornado.web executor = concurrent.futures.ThreadPoolExecutor(8)
29.4
80
0.55259
2c0432e1308cc8fe3207fb79660271c04e458a71
666
py
Python
Python/WordBreak.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
3
2017-10-14T19:49:28.000Z
2019-01-12T21:51:11.000Z
Python/WordBreak.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
null
null
null
Python/WordBreak.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
5
2017-02-06T19:10:23.000Z
2020-12-19T01:58:10.000Z
print Solution().wordBreak("leetcode", ["leet","code"])==True print Solution().wordBreak("leetcode", ["wowwwww","caode"])==False print Solution().wordBreak("aaaaaaa", ["aaaa","aa"])==False
31.714286
66
0.478979
2c0648d5d20facaf4eda0597999791fd836d5caa
9,523
py
Python
apps/mixins/db_admin/datatables_client.py
Eudorajab1/websaw
7c3a369789d23ac699868fa1eff6c63e3e5c1e36
[ "MIT" ]
1
2022-03-29T00:12:12.000Z
2022-03-29T00:12:12.000Z
apps/mixins/db_admin/datatables_client.py
Eudorajab1/websaw
7c3a369789d23ac699868fa1eff6c63e3e5c1e36
[ "MIT" ]
null
null
null
apps/mixins/db_admin/datatables_client.py
Eudorajab1/websaw
7c3a369789d23ac699868fa1eff6c63e3e5c1e36
[ "MIT" ]
null
null
null
from websaw.core import Fixture from yatl.helpers import INPUT, H1, A, DIV, SPAN, XML from .datatables_utils import DtGui mygui=DtGui() from pprint import pprint import json # ################################################################ # Grid object (replaced SQLFORM.grid) using Datatables # #####################...
34.132616
165
0.491967
2c09a4a2e41ca60c7d6287eab58dfe9fe3c0167c
680
py
Python
gatewayconfig/bluetooth/descriptors/utf8_format_descriptor.py
AndriiIevdoshenko/hm-config
f513d72dd8c67c040310d78071d8ac2de418d0d6
[ "MIT" ]
7
2021-07-09T16:54:39.000Z
2022-02-18T09:07:54.000Z
gatewayconfig/bluetooth/descriptors/utf8_format_descriptor.py
AndriiIevdoshenko/hm-config
f513d72dd8c67c040310d78071d8ac2de418d0d6
[ "MIT" ]
137
2021-02-05T21:53:35.000Z
2022-03-31T23:31:54.000Z
gatewayconfig/bluetooth/descriptors/utf8_format_descriptor.py
AndriiIevdoshenko/hm-config
f513d72dd8c67c040310d78071d8ac2de418d0d6
[ "MIT" ]
16
2021-02-15T11:25:37.000Z
2022-01-17T07:53:38.000Z
import dbus from lib.cputemp.service import Descriptor import gatewayconfig.constants as constants
27.2
68
0.638235
2c0a5da432ba3d41420010568b4150514d1d9b8a
4,340
py
Python
gurobiSolver.py
kursatbakis/cmpe492project
bb882ac3febada05824e407e7d573a08b4232ee8
[ "MIT" ]
null
null
null
gurobiSolver.py
kursatbakis/cmpe492project
bb882ac3febada05824e407e7d573a08b4232ee8
[ "MIT" ]
null
null
null
gurobiSolver.py
kursatbakis/cmpe492project
bb882ac3febada05824e407e7d573a08b4232ee8
[ "MIT" ]
null
null
null
import gurobipy as gp from gurobipy import GRB from scheduler.utils import * import csv W = {} days = ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"] departments = ["CMPE"]
42.135922
285
0.609677
2c0c6d4c1880f94e8964a089e665e4a8c770f8e9
616
py
Python
app/app/models/task.py
gooocho/fastapi_todo
b88177e651f1c6984a636262a4d686935b67ed6f
[ "MIT" ]
null
null
null
app/app/models/task.py
gooocho/fastapi_todo
b88177e651f1c6984a636262a4d686935b67ed6f
[ "MIT" ]
null
null
null
app/app/models/task.py
gooocho/fastapi_todo
b88177e651f1c6984a636262a4d686935b67ed6f
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String from sqlalchemy.orm import relationship from app.db.settings import Base from app.models.assignment import ModelAssignment
26.782609
54
0.709416
2c0cc4e362937d93adf7ebfce043afa65bc46a05
1,777
py
Python
ico_gateway/views.py
dacom-dark-sun/dacom-api
7efd77bf75cd28771b4a466ff36310d12b634f30
[ "MIT" ]
null
null
null
ico_gateway/views.py
dacom-dark-sun/dacom-api
7efd77bf75cd28771b4a466ff36310d12b634f30
[ "MIT" ]
null
null
null
ico_gateway/views.py
dacom-dark-sun/dacom-api
7efd77bf75cd28771b4a466ff36310d12b634f30
[ "MIT" ]
null
null
null
from rest_framework import viewsets, status from rest_framework.response import Response from account.models import Account from wallet.coin_base import coin_base from wallet.models import Wallet from ico_gateway.models import IcoWallet, IcoProject from ico_gateway.serializers import ( IcoProjectSerializer, Ic...
33.528302
76
0.694992
2c1009ce318ebb350e16fb6f622adf0a9ca64b2c
2,733
py
Python
motion/reference_model/los_reference_model/scripts/los_reference_model_node.py
vortexntnu/Manta-AUV
7966b871c56b0ea9f95bb61a48609a81f4a276d8
[ "MIT" ]
25
2020-09-20T16:25:05.000Z
2022-03-05T09:06:36.000Z
motion/reference_model/los_reference_model/scripts/los_reference_model_node.py
vortexntnu/Manta-AUV
7966b871c56b0ea9f95bb61a48609a81f4a276d8
[ "MIT" ]
187
2020-09-20T16:02:01.000Z
2022-03-26T00:14:32.000Z
motion/reference_model/los_reference_model/scripts/los_reference_model_node.py
vortexntnu/Manta-AUV
7966b871c56b0ea9f95bb61a48609a81f4a276d8
[ "MIT" ]
15
2020-09-24T20:23:51.000Z
2022-03-05T09:14:00.000Z
#!/usr/bin/env python import rospy import numpy as np import math from discrete_tustin import ReferenceModel from vortex_msgs.msg import GuidanceData if __name__ == '__main__': try: rm_los_node = LOSReferenceModelNode() rospy.spin() except rospy.ROSInterruptException: pass
24.621622
120
0.712404
2c1069139cd713638cf5bbb933fb4bfc312c6f46
2,225
py
Python
e_fun_calls.py
panamantis/gretnet_api
7b30e3ca07992c52478de90cca94e18c1a1fa9f3
[ "MIT" ]
null
null
null
e_fun_calls.py
panamantis/gretnet_api
7b30e3ca07992c52478de90cca94e18c1a1fa9f3
[ "MIT" ]
null
null
null
e_fun_calls.py
panamantis/gretnet_api
7b30e3ca07992c52478de90cca94e18c1a1fa9f3
[ "MIT" ]
null
null
null
import sys,os import time import datetime import random import re import json import requests from flask import Flask, jsonify from flasgger import Swagger # pip install flasgger from flasgger import swag_from from flask import request from api_helper import GretNet_API_Helper LOCAL_PATH = os.path.abspath(os....
11.410256
60
0.412135
2c1092a7d5dfc15f1ac47f20c842e794dad8aa14
13,051
py
Python
src/ion.py
lksrmp/paw_structure
560a0a601a90114fd80f98096aa1f0e012121c69
[ "Apache-2.0" ]
null
null
null
src/ion.py
lksrmp/paw_structure
560a0a601a90114fd80f98096aa1f0e012121c69
[ "Apache-2.0" ]
2
2022-03-22T15:27:17.000Z
2022-03-30T14:16:26.000Z
src/ion.py
lksrmp/paw_structure
560a0a601a90114fd80f98096aa1f0e012121c69
[ "Apache-2.0" ]
null
null
null
""" paw_structure.ion ----------------- Ion complex detection using geometric :ref:`algorithm<Control_ION_algorithm>`. Main routine is :func:`.ion_find_parallel`. Dependencies: :py:mod:`functools` :py:mod:`miniutils` :py:mod:`numpy` :py:mod:`pandas` :mod:`.neighbor` :mod:`.utility` :class:...
46.610714
120
0.539192
2c1242ea99a96b6aa8170526e30cefef163adf0c
720
py
Python
facilities/migrations/0002_auto_20160406_1835.py
uonafya/mfl_api
379310b9b56cde084620f1f2dbfe4c6d7c1de47b
[ "MIT" ]
null
null
null
facilities/migrations/0002_auto_20160406_1835.py
uonafya/mfl_api
379310b9b56cde084620f1f2dbfe4c6d7c1de47b
[ "MIT" ]
null
null
null
facilities/migrations/0002_auto_20160406_1835.py
uonafya/mfl_api
379310b9b56cde084620f1f2dbfe4c6d7c1de47b
[ "MIT" ]
4
2018-07-26T05:53:06.000Z
2021-07-17T14:30:09.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models
28.8
164
0.633333
2c146b5c3b1a1974b34c4daff216ed3881890272
4,547
py
Python
pysparkle/frontend/qt.py
macdems/pysparkle
7d6018e5f2010d6a79fe71bc972bd29c61a113bc
[ "MIT" ]
1
2015-12-19T19:25:15.000Z
2015-12-19T19:25:15.000Z
pysparkle/frontend/qt.py
macdems/pysparkle
7d6018e5f2010d6a79fe71bc972bd29c61a113bc
[ "MIT" ]
null
null
null
pysparkle/frontend/qt.py
macdems/pysparkle
7d6018e5f2010d6a79fe71bc972bd29c61a113bc
[ "MIT" ]
null
null
null
# Copyright (c) 2015-2016 Maciej Dems <maciej.dems@p.lodz.pl> # See LICENSE file for copyright information. import sys if 'PySide6' in sys.modules: from PySide6.QtWidgets import QMessageBox, QLabel, QTextEdit _exec_attr = 'exec' elif 'PyQt6' in sys.modules: from PyQt6.QtWidgets import QMessageBox, QLabel, ...
45.47
107
0.710798
2c14a991d87c2cf60960166a41fc56bf0090a775
11,475
py
Python
python/3D-rrt/pvtrace/Visualise.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
1
2020-12-27T21:37:35.000Z
2020-12-27T21:37:35.000Z
python/3D-rrt/pvtrace/Visualise.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
null
null
null
python/3D-rrt/pvtrace/Visualise.py
rapattack88/mcclanahoochie
6df72553ba954b52e949a6847a213b22f9e90157
[ "Apache-2.0" ]
null
null
null
# pvtrace is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # pvtrace is distributed in the hope that it will be useful, # but WITHOUT...
38.506711
218
0.573943
2c15d80e491037ea14b873717a75a66167a22e80
621
py
Python
dropme/error.py
tivaliy/dropme
3d760e1da8182cdf62ab2a6f357dea923fca3cd7
[ "Apache-2.0" ]
null
null
null
dropme/error.py
tivaliy/dropme
3d760e1da8182cdf62ab2a6f357dea923fca3cd7
[ "Apache-2.0" ]
null
null
null
dropme/error.py
tivaliy/dropme
3d760e1da8182cdf62ab2a6f357dea923fca3cd7
[ "Apache-2.0" ]
null
null
null
# # Copyright 2017 Vitalii Kulanov #
19.40625
74
0.702093
2c181e2dad47cea140e8dd9cb71766cc7851ab04
83
py
Python
sage/apps.py
one-two-four-cee-four-one-plus/sage-project
2192ef60d8d3330586147a8ca93f899ef346ed42
[ "WTFPL" ]
null
null
null
sage/apps.py
one-two-four-cee-four-one-plus/sage-project
2192ef60d8d3330586147a8ca93f899ef346ed42
[ "WTFPL" ]
null
null
null
sage/apps.py
one-two-four-cee-four-one-plus/sage-project
2192ef60d8d3330586147a8ca93f899ef346ed42
[ "WTFPL" ]
null
null
null
from django.apps import AppConfig
13.833333
33
0.73494
2c18b6e9e45bd540c1325793507b1f1e6ae3f589
11,058
py
Python
plotting.py
derEitel/explainableMS
f1ba37d5579b3e4b1a4ec8bf38f7385bb71e00a3
[ "BSD-3-Clause" ]
7
2019-04-21T03:02:31.000Z
2021-06-10T21:15:03.000Z
plotting.py
derEitel/explainableMS
f1ba37d5579b3e4b1a4ec8bf38f7385bb71e00a3
[ "BSD-3-Clause" ]
3
2021-03-07T07:01:32.000Z
2022-02-08T17:15:46.000Z
plotting.py
derEitel/explainableMS
f1ba37d5579b3e4b1a4ec8bf38f7385bb71e00a3
[ "BSD-3-Clause" ]
4
2019-04-22T07:15:26.000Z
2021-06-16T05:14:18.000Z
import numpy as np import matplotlib.pyplot as plt import pandas as pd from matplotlib.colors import LinearSegmentedColormap ms_color = [0.12156863, 0.46666667, 0.70588235, 1] hc_color = [1., 0.49803922, 0.05490196, 1] SMALL_SIZE = 12 MEDIUM_SIZE = 14 BIGGER_SIZE = 16 plt.rc('font', size=SMALL_SIZE) # contr...
32.813056
101
0.60038
2c1972ea227e28510c531045816167ae977f461e
1,670
py
Python
setup.py
lucuma/Shake
b54082c9d217059ef02317aa043c3690d2e601d7
[ "MIT" ]
4
2015-02-15T17:35:12.000Z
2016-07-21T06:35:12.000Z
setup.py
lucuma/Shake
b54082c9d217059ef02317aa043c3690d2e601d7
[ "MIT" ]
null
null
null
setup.py
lucuma/Shake
b54082c9d217059ef02317aa043c3690d2e601d7
[ "MIT" ]
null
null
null
# coding=utf-8 import io import os import re from setuptools import setup, find_packages data = read_from(get_path('shake', '__init__.py')).encode('utf8') version = str(re.search(b"__version__\s*=\s*u?'([^']+)'", data).group(1)).strip() desc = str(re.search(b'"""(.+)"""', data, re.DOTALL).group(1)).strip() setup...
30.925926
102
0.64491
2c19b4968a0e3a6289484e46f79c0a118894e2f2
3,110
py
Python
meetup2xibo/updater/phrase_mapper.py
jshprentz/meetup2xibo
236bef01305878943f27d246dac1b21cc78a521b
[ "MIT" ]
3
2019-11-29T04:32:49.000Z
2020-06-03T01:34:45.000Z
meetup2xibo/updater/phrase_mapper.py
jshprentz/meetup2xibo
236bef01305878943f27d246dac1b21cc78a521b
[ "MIT" ]
194
2020-06-01T01:42:41.000Z
2021-08-02T10:25:58.000Z
meetup2xibo/updater/phrase_mapper.py
jshprentz/meetup2xibo
236bef01305878943f27d246dac1b21cc78a521b
[ "MIT" ]
1
2019-07-31T14:59:05.000Z
2019-07-31T14:59:05.000Z
"""Map phrases to preferred phrases.""" import logging from collections import namedtuple PhraseMapping = namedtuple("PhraseMapping", "preferred_phrase phrase_length") SortableMatch = namedtuple( "SortableMatch", "start descending_phrase_length end preferred_phrase") def normalize_text(text): ...
33.44086
78
0.662058
2c19cbf8d9bb1b9d43bac56824e10f5d3f24bc92
3,092
py
Python
hw1/deco.py
Tymeade/otus-python
b5ba2ab4f9c91abc97e6417a5600e4de1bcdb95c
[ "MIT" ]
null
null
null
hw1/deco.py
Tymeade/otus-python
b5ba2ab4f9c91abc97e6417a5600e4de1bcdb95c
[ "MIT" ]
null
null
null
hw1/deco.py
Tymeade/otus-python
b5ba2ab4f9c91abc97e6417a5600e4de1bcdb95c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from functools import update_wrapper, wraps def disable(func): """ Disable a decorator by re-assigning the decorator's name to this function. For example, to turn off memoization: >>> memo = disable """ return func def decorator(decorator_func...
20.342105
110
0.554334
2c1a614bb487efce19fb64d000b2277fd8703c04
13,670
py
Python
chunair/kicad-footprint-generator-master/scripts/Connector/Connector_Molex/conn_molex_mini-fit-sr_tht_top_dual.py
speedypotato/chuni-lite
c8dda8428723f8c4f99075e7cbaa22a44cbc187d
[ "CC-BY-4.0" ]
2
2022-03-18T23:42:51.000Z
2022-03-19T15:31:34.000Z
chunair/kicad-footprint-generator-master/scripts/Connector/Connector_Molex/conn_molex_mini-fit-sr_tht_top_dual.py
speedypotato/chuni-lite
c8dda8428723f8c4f99075e7cbaa22a44cbc187d
[ "CC-BY-4.0" ]
null
null
null
chunair/kicad-footprint-generator-master/scripts/Connector/Connector_Molex/conn_molex_mini-fit-sr_tht_top_dual.py
speedypotato/chuni-lite
c8dda8428723f8c4f99075e7cbaa22a44cbc187d
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env python3 ''' kicad-footprint-generator is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. kicad-footprint-generator is distribut...
38.615819
199
0.640234
2c1a887bbd2d5ae6437d92ebd5ad09e7ede709e9
1,048
py
Python
AprendeAyudando/forum/migrations/0001_initial.py
memoriasIT/AprendeAyudando
0a32f59d3606075abb99a74ce1983a6171aa34cd
[ "CC0-1.0" ]
1
2021-09-09T09:54:04.000Z
2021-09-09T09:54:04.000Z
AprendeAyudando/forum/migrations/0001_initial.py
memoriasIT/AprendeAyudando
0a32f59d3606075abb99a74ce1983a6171aa34cd
[ "CC0-1.0" ]
null
null
null
AprendeAyudando/forum/migrations/0001_initial.py
memoriasIT/AprendeAyudando
0a32f59d3606075abb99a74ce1983a6171aa34cd
[ "CC0-1.0" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-28 23:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
33.806452
179
0.622137
2c1b704a0373251585df63bff52ef28aefddc95f
1,158
py
Python
utils/utils.py
dtiarks/pg_agents
321651a9d03c3836541c54bac4861bb576086e42
[ "MIT" ]
4
2018-05-23T05:46:10.000Z
2020-05-13T23:20:15.000Z
utils/utils.py
dtiarks/pg_agents
321651a9d03c3836541c54bac4861bb576086e42
[ "MIT" ]
1
2018-03-12T01:13:44.000Z
2018-03-12T01:13:44.000Z
utils/utils.py
dtiarks/pg_agents
321651a9d03c3836541c54bac4861bb576086e42
[ "MIT" ]
null
null
null
import numpy as np # A=[[4.,1.],[1.,3.]] # b=[1.,2.] # x_init=[2.,1.] # Ax_prod=lambda x:np.dot(A,x) # print(cg_solve(Ax_prod,b,x_init)) # shape_list=[(2,2,1),(3,3),(4,4)] # array_list=[s[0]*np.ones(s) for s in shape_list] # flat=flatten_array_list(array_list) # unflat=unflatten_array_list(flat,shape_list) #...
17.283582
54
0.547496
2c1c0560ca30de9f1d31898b330aaa3130eb4feb
804
py
Python
clay/markdown_ext/jinja.py
TuxCoder/Clay
04f15b4d742b14d09df9049dd91cfa4386cba66e
[ "MIT" ]
null
null
null
clay/markdown_ext/jinja.py
TuxCoder/Clay
04f15b4d742b14d09df9049dd91cfa4386cba66e
[ "MIT" ]
null
null
null
clay/markdown_ext/jinja.py
TuxCoder/Clay
04f15b4d742b14d09df9049dd91cfa4386cba66e
[ "MIT" ]
null
null
null
# coding=utf-8 import os import jinja2 import jinja2.ext from .render import md_to_jinja MARKDOWN_EXTENSION = '.md'
27.724138
84
0.689055
2c1c31e1395ffc1971b2b93851e2582898ff12e7
1,553
py
Python
FWCore/Modules/test/emptysource_firstLuminosityBlockForEachRun_cfg.py
trackerpro/cmssw
3e05774a180a5f4cdc70b713bd711c23f9364765
[ "Apache-2.0" ]
1
2019-03-09T19:47:49.000Z
2019-03-09T19:47:49.000Z
FWCore/Modules/test/emptysource_firstLuminosityBlockForEachRun_cfg.py
trackerpro/cmssw
3e05774a180a5f4cdc70b713bd711c23f9364765
[ "Apache-2.0" ]
null
null
null
FWCore/Modules/test/emptysource_firstLuminosityBlockForEachRun_cfg.py
trackerpro/cmssw
3e05774a180a5f4cdc70b713bd711c23f9364765
[ "Apache-2.0" ]
1
2019-03-19T13:44:54.000Z
2019-03-19T13:44:54.000Z
# Configuration file for EmptySource import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.load("FWCore.Framework.test.cmsExceptionsFatal_cff") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(8*5) ) runToLumi = ((2,1),(10,3),(20,7) ) process.source = cms.Source("Em...
29.301887
122
0.728912
2c1ca54b5401d6fe3df69b6981ac878708992788
3,666
py
Python
fewshot/models/refine_model.py
ashok-arjun/few-shot-ssl-public
f7577d80b7491e0f27234a2e9c0113782365c2e1
[ "MIT" ]
497
2018-03-02T00:50:53.000Z
2022-03-22T06:30:59.000Z
fewshot/models/refine_model.py
eleniTriantafillou/few-shot-ssl-public
3cf522031aa40b4ffb61e4693d0b48fdd5669276
[ "MIT" ]
20
2018-03-19T06:15:30.000Z
2021-11-20T07:21:38.000Z
fewshot/models/refine_model.py
eleniTriantafillou/few-shot-ssl-public
3cf522031aa40b4ffb61e4693d0b48fdd5669276
[ "MIT" ]
108
2018-03-02T06:56:13.000Z
2021-12-23T03:40:43.000Z
# Copyright (c) 2018 Mengye Ren, Eleni Triantafillou, Sachin Ravi, Jake Snell, # Kevin Swersky, Joshua B. Tenenbaum, Hugo Larochelle, Richars S. Zemel. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in th...
37.030303
80
0.707038
2c2176452024a68569a05aa63afc1709de969fb6
3,289
py
Python
src/pyPreprocessing/transform.py
Snijderfrey/pyPreprocessing
3faab0579aeb3e98b10caeeac3cccb101a48e825
[ "MIT" ]
3
2021-06-26T10:10:45.000Z
2021-11-20T14:52:38.000Z
src/pyPreprocessing/transform.py
Snijderfrey/pyPreprocessing
3faab0579aeb3e98b10caeeac3cccb101a48e825
[ "MIT" ]
null
null
null
src/pyPreprocessing/transform.py
Snijderfrey/pyPreprocessing
3faab0579aeb3e98b10caeeac3cccb101a48e825
[ "MIT" ]
1
2022-03-21T12:41:09.000Z
2022-03-21T12:41:09.000Z
# -*- coding: utf-8 -*- """ Provides functions for data transformation (currently only LLS) and normalization. """ import numpy as np def transform(raw_data, mode, direction='direct', **kwargs): """ Apply mathematical transformations to data. Parameters ---------- raw_data : ndarray 2D n...
35.365591
78
0.604743
2c21c566d2ca466187f4db034e82279f282017b2
1,183
py
Python
Hard/Trapping_Rain_Water.py
dianjiaogit/LeetCode_Python_solution
390693c839d1be8802c21ea81062443b6d5ea36f
[ "MIT" ]
null
null
null
Hard/Trapping_Rain_Water.py
dianjiaogit/LeetCode_Python_solution
390693c839d1be8802c21ea81062443b6d5ea36f
[ "MIT" ]
null
null
null
Hard/Trapping_Rain_Water.py
dianjiaogit/LeetCode_Python_solution
390693c839d1be8802c21ea81062443b6d5ea36f
[ "MIT" ]
null
null
null
# Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. # The above elevation map is represented by array [0,1,0,2,1,0,1,3,2,1,2,1]. In this case, 6 units of rain water (blue section) are being trapped. Thanks Marcos for c...
35.848485
189
0.56213
2c225109d5668fc0aa323264567d8fc0cf77c6dc
3,172
py
Python
core/common.py
shenzebang/DMTRPO
3beb528c5b5aebe35dfa873788c5be3f5977f53f
[ "MIT" ]
1
2019-11-17T11:05:26.000Z
2019-11-17T11:05:26.000Z
core/common.py
shenzebang/DMTRPO
3beb528c5b5aebe35dfa873788c5be3f5977f53f
[ "MIT" ]
null
null
null
core/common.py
shenzebang/DMTRPO
3beb528c5b5aebe35dfa873788c5be3f5977f53f
[ "MIT" ]
null
null
null
import torch from utils2.torch import to_device import numpy as np import multiprocessing as mp import math
39.160494
150
0.669294
2c22a320a2928428c08eb5053a706398b340f23f
2,235
py
Python
src/predict.py
ashishnegi2000/FinalYr_1
14fddaa7463141a19bb6c2a25003115847f63395
[ "MIT" ]
null
null
null
src/predict.py
ashishnegi2000/FinalYr_1
14fddaa7463141a19bb6c2a25003115847f63395
[ "MIT" ]
null
null
null
src/predict.py
ashishnegi2000/FinalYr_1
14fddaa7463141a19bb6c2a25003115847f63395
[ "MIT" ]
null
null
null
#Predictions performed by this module #dependencies import base64 import numpy as np import io from PIL import Image import keras from keras import backend as K from keras.models import Sequential from keras.models import load_model from keras.preprocessing.image import ImageDataGenerator, img_to_array from model imp...
27.592593
146
0.694407
2c22fe7b5968c4acadcc023580c5ccbb977f7642
11,875
py
Python
fair-data-model/scripts/rdfizer/rdfizer.py
longmanplus/beat-covid
fc5c88b191d7aa1e70cef8a055c25803b6d013a6
[ "MIT" ]
1
2021-11-09T23:26:49.000Z
2021-11-09T23:26:49.000Z
fair-data-model/scripts/rdfizer/rdfizer.py
longmanplus/beat-covid
fc5c88b191d7aa1e70cef8a055c25803b6d013a6
[ "MIT" ]
1
2021-07-08T01:25:55.000Z
2021-07-08T01:25:55.000Z
fair-data-model/scripts/rdfizer/rdfizer.py
longmanplus/beat-covid
fc5c88b191d7aa1e70cef8a055c25803b6d013a6
[ "MIT" ]
4
2020-11-16T06:31:58.000Z
2021-07-14T12:50:23.000Z
# @name: rdfizer.py # @description: Script to generate RDF data # @version: 1.0 # @date: 28-04-2021 # @author: Nria Queralt Rosinach # @email: n.queralt_rosinach@lumc.nl """Script to generate RDF data for Beat-COVID cytokine clinical measurements""" import sys, os from rdflib import Namespace, Graph, BNode, Literal f...
40.52901
120
0.655747
2c23038de9f75723e8fc2c45f00ef78866fa1bc7
793
py
Python
fastapi/app/api/api_v1/endpoints/utils.py
Kitware/adios-dashboard
a21cf290a31897f77e5bc7d2037b2bbcc97944b5
[ "BSD-3-Clause" ]
null
null
null
fastapi/app/api/api_v1/endpoints/utils.py
Kitware/adios-dashboard
a21cf290a31897f77e5bc7d2037b2bbcc97944b5
[ "BSD-3-Clause" ]
19
2019-02-25T20:40:41.000Z
2020-04-20T17:25:09.000Z
fastapi/app/api/api_v1/endpoints/utils.py
Kitware/adios-dashboard
a21cf290a31897f77e5bc7d2037b2bbcc97944b5
[ "BSD-3-Clause" ]
2
2019-06-15T11:13:45.000Z
2019-10-17T17:46:49.000Z
from typing import Any import msgpack from app.core.config import settings from girder_client import GirderClient from fastapi import HTTPException from fastapi import Response cache_settings = { "directory": "/tmp/cache", "eviction_policy": "least-frequently-used", "size_limit": 2**20, # 1g } _gc = No...
20.868421
88
0.722573
2c241102162d05e25463bf9c3e17c6e7e04a0fc0
8,838
py
Python
src/data/preprocess/git_data_preparation.py
SpirinEgor/gnn_pretraining
116017cfad3548a1f36d1c2ffd1e1881c99d4768
[ "MIT" ]
2
2021-06-11T09:22:18.000Z
2021-07-14T03:16:54.000Z
src/data/preprocess/git_data_preparation.py
SpirinEgor/gnn_pretraining
116017cfad3548a1f36d1c2ffd1e1881c99d4768
[ "MIT" ]
null
null
null
src/data/preprocess/git_data_preparation.py
SpirinEgor/gnn_pretraining
116017cfad3548a1f36d1c2ffd1e1881c99d4768
[ "MIT" ]
1
2021-07-30T04:02:55.000Z
2021-07-30T04:02:55.000Z
import collections import glob import json import os import random import re from typing import Tuple, Iterator, List, Dict, Optional from src.data.preprocess.example import Example _DEFAULT_STATS_BOUNDARIES = { "Python": {"max_line_len": (37, 741), "content_len": (111, 42476)}, "Java": {"max_line_len": (56, ...
40.541284
113
0.581014
2c268ab3d2dfe53839294a3c79fe0f16232d5339
4,021
py
Python
src/docs.py
techouse/alfred-nova-docs
6874eff74f68661de9707391bf00e9c0a037edfb
[ "MIT" ]
4
2019-01-15T12:10:40.000Z
2021-01-17T22:11:14.000Z
src/docs.py
techouse/alfred-nova-docs
6874eff74f68661de9707391bf00e9c0a037edfb
[ "MIT" ]
1
2020-03-31T23:46:00.000Z
2020-04-01T12:51:18.000Z
src/docs.py
techouse/alfred-nova-docs
6874eff74f68661de9707391bf00e9c0a037edfb
[ "MIT" ]
1
2019-07-04T03:49:59.000Z
2019-07-04T03:49:59.000Z
#!/usr/bin/python # encoding: utf-8 from __future__ import print_function, unicode_literals, absolute_import import functools import re import sys from textwrap import wrap from urllib import quote_plus from algoliasearch.search_client import SearchClient from config import Config from workflow import Workflow3, ICO...
25.289308
89
0.573489
2c277cfbbfaebb1229ffb7154b1e6cc7851d5fad
317
py
Python
lambdataeedwardsa/example_module.py
EEdwardsA/lambdata
11267522408266b5556d5607a7c875f237aea348
[ "MIT" ]
null
null
null
lambdataeedwardsa/example_module.py
EEdwardsA/lambdata
11267522408266b5556d5607a7c875f237aea348
[ "MIT" ]
null
null
null
lambdataeedwardsa/example_module.py
EEdwardsA/lambdata
11267522408266b5556d5607a7c875f237aea348
[ "MIT" ]
1
2020-10-27T22:08:51.000Z
2020-10-27T22:08:51.000Z
"""Lambdata - a collection of Data Science helper functions""" # import pandas as pd import numpy as np fav_numbers = [7,22,4.14] colors = ['purple','cyan','dark blue','crimson'] def df_cleaner(df): """Cleans a dataframe""" # TODO - implement df_cleaner pass
15.85
62
0.646688
2c2a539bab202c4d327932ae0ff14bcd68090a01
3,335
py
Python
nlptk/topicmodeling/utils.py
GarryGaller/nlp_toolkit
df98ee25f8a1f4379e751fdd4fd9f5389ffbfd1b
[ "MIT" ]
null
null
null
nlptk/topicmodeling/utils.py
GarryGaller/nlp_toolkit
df98ee25f8a1f4379e751fdd4fd9f5389ffbfd1b
[ "MIT" ]
null
null
null
nlptk/topicmodeling/utils.py
GarryGaller/nlp_toolkit
df98ee25f8a1f4379e751fdd4fd9f5389ffbfd1b
[ "MIT" ]
null
null
null
import glob,os,sys
24.703704
70
0.508246
2c2b2054f72388db3047d42a5a6ed152993d2b96
1,188
py
Python
opbank/test_opbank.py
Meeshkan/meeshkan-examples
b5a179d380f60ba72b06144c05b232accccc74bd
[ "MIT" ]
1
2020-03-26T11:22:37.000Z
2020-03-26T11:22:37.000Z
opbank/test_opbank.py
Meeshkan/meeshkan-examples
b5a179d380f60ba72b06144c05b232accccc74bd
[ "MIT" ]
3
2020-03-09T09:30:43.000Z
2020-05-04T14:42:02.000Z
opbank/test_opbank.py
Meeshkan/meeshkan-examples
b5a179d380f60ba72b06144c05b232accccc74bd
[ "MIT" ]
1
2020-09-17T11:53:16.000Z
2020-09-17T11:53:16.000Z
import requests from opbank.opbank_client import OPBankClient
29.7
81
0.707912
2c2c960a6de32452ffb7ccc18e589bd83c133e7c
12,816
py
Python
probnmn/trainers/_trainer.py
kdexd/probnmn-clevr
9c1b2286cf30e9fb045370153c9242a39760e02e
[ "MIT" ]
69
2019-05-14T06:34:25.000Z
2022-03-07T17:19:40.000Z
probnmn/trainers/_trainer.py
kdexd/probnmn-clevr
9c1b2286cf30e9fb045370153c9242a39760e02e
[ "MIT" ]
5
2019-07-21T23:00:55.000Z
2020-11-16T12:38:04.000Z
probnmn/trainers/_trainer.py
kdexd/probnmn-clevr
9c1b2286cf30e9fb045370153c9242a39760e02e
[ "MIT" ]
11
2019-05-28T03:03:26.000Z
2021-01-30T12:04:58.000Z
from typing import Any, Dict, Generator, List, Optional import torch from torch import nn, optim from torch.utils.data import DataLoader from tensorboardX import SummaryWriter from probnmn.config import Config from probnmn.utils.checkpointing import CheckpointManager
43.297297
98
0.650983
2c2cbc36c0799379271e1626bb734e2b62052e7b
3,334
py
Python
testplan/common/utils/exceptions.py
dobragab/testplan
407ac1dfd33d19753e41235a1f576aeb06118840
[ "Apache-2.0" ]
null
null
null
testplan/common/utils/exceptions.py
dobragab/testplan
407ac1dfd33d19753e41235a1f576aeb06118840
[ "Apache-2.0" ]
64
2019-04-15T20:56:40.000Z
2021-03-23T01:00:30.000Z
testplan/common/utils/exceptions.py
dobragab/testplan
407ac1dfd33d19753e41235a1f576aeb06118840
[ "Apache-2.0" ]
1
2019-09-11T09:13:18.000Z
2019-09-11T09:13:18.000Z
"""Utilities for exception handling.""" import logging import functools import inspect LOGGER = logging.getLogger(__name__) def should_raise(exception, item, args=None, kwargs=None, pattern=None): """ "Utility that validates callable should raise specific exception. :param exception: Exception should b...
28.741379
77
0.586383
2c2e48e936899f7a8f86e2d400517f71ba883959
941
py
Python
models.py
jarbaugh5/laundry_stats
39e79854728e1c8012b2876bb3e3f93f48b42e04
[ "Apache-2.0" ]
null
null
null
models.py
jarbaugh5/laundry_stats
39e79854728e1c8012b2876bb3e3f93f48b42e04
[ "Apache-2.0" ]
null
null
null
models.py
jarbaugh5/laundry_stats
39e79854728e1c8012b2876bb3e3f93f48b42e04
[ "Apache-2.0" ]
null
null
null
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String, ForeignKey from sqlalchemy.types import DateTime Base = declarative_base()
26.885714
58
0.724761
2c2e65f16dfdb4e288612747e4ae2bfab58d0f33
1,093
py
Python
35_search_insert_position.py
sreedharg/leetcode
28c162c0f6923e4feaa0d6279c00dfe8237c726d
[ "MIT" ]
null
null
null
35_search_insert_position.py
sreedharg/leetcode
28c162c0f6923e4feaa0d6279c00dfe8237c726d
[ "MIT" ]
null
null
null
35_search_insert_position.py
sreedharg/leetcode
28c162c0f6923e4feaa0d6279c00dfe8237c726d
[ "MIT" ]
null
null
null
#Given a sorted array and a target value, return the index if the target is found. If not, return the index #where it would be if it were inserted in order. #You may assume no duplicates in the array. sol = Solution() res = sol.searchInsert([1,3], 0) print(res)
28.025641
108
0.52882
2c2e6d621114acc6ba86ff17d3529ddf9840b59d
104,760
py
Python
Examples/ApiExamples/ex_document.py
alex-dudin/Aspose.Words-for-Python-via-.NET
02b257df8da9892fcce671c473c2ef27b68b5087
[ "MIT" ]
3
2021-12-04T22:17:28.000Z
2022-02-22T03:30:01.000Z
Examples/ApiExamples/ex_document.py
alex-dudin/Aspose.Words-for-Python-via-.NET
02b257df8da9892fcce671c473c2ef27b68b5087
[ "MIT" ]
4
2021-11-26T10:01:06.000Z
2021-12-14T15:01:11.000Z
Examples/ApiExamples/ex_document.py
alex-dudin/Aspose.Words-for-Python-via-.NET
02b257df8da9892fcce671c473c2ef27b68b5087
[ "MIT" ]
2
2021-10-20T18:06:22.000Z
2021-10-29T20:59:18.000Z
# Copyright (c) 2001-2022 Aspose Pty Ltd. All Rights Reserved. # # This file is part of Aspose.Words. The source code in this file # is only intended as a supplement to the documentation, and is provided # "as is", without warranty of any kind, either expressed or implied. import unittest import io import os import gl...
43.979849
525
0.682379
2c2f817fd0220fe68a499dd03c634d8f2853d57a
2,865
py
Python
code/tests/functional/tests/test_refer.py
CiscoSecurity/tr-05-serverless-pulsedive
00d25695ad5d904a30390151e7c695ac5e64476c
[ "MIT" ]
3
2020-03-08T20:30:55.000Z
2021-11-30T06:01:15.000Z
code/tests/functional/tests/test_refer.py
CiscoSecurity/tr-05-serverless-pulsedive
00d25695ad5d904a30390151e7c695ac5e64476c
[ "MIT" ]
6
2020-04-02T16:11:42.000Z
2020-12-17T11:06:06.000Z
code/tests/functional/tests/test_refer.py
CiscoSecurity/tr-05-serverless-pulsedive
00d25695ad5d904a30390151e7c695ac5e64476c
[ "MIT" ]
1
2020-10-12T18:10:36.000Z
2020-10-12T18:10:36.000Z
import pytest from ctrlibrary.core.utils import get_observables from ctrlibrary.threatresponse.enrich import enrich_refer_observables from tests.functional.tests.constants import ( MODULE_NAME, PULSEDIVE_URL, OBSERVABLE_HUMAN_READABLE_NAME ) from urllib.parse import quote
37.207792
79
0.6363
2c2f9b90ebf5604014575bad5dad0fa9a8c11c47
857
py
Python
dsvfile/Models/FactorySystem/AssemblerComponent.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
2
2021-03-01T19:57:20.000Z
2021-08-02T20:54:48.000Z
dsvfile/Models/FactorySystem/AssemblerComponent.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
null
null
null
dsvfile/Models/FactorySystem/AssemblerComponent.py
phoenixx-666/dsvread
8a073c12343b2f0d34f9b728282dfefe10999f24
[ "MIT" ]
null
null
null
from ...Fields import BoolField, ConditionalBlockStart from ...Fields.Enums import ERecipe, ERecipeType from ...Func import g from . import Model, Int32Field, ArrayField
31.740741
87
0.719953
2c31499cb4bfcf205bb5c15d2566ed72e48c35b6
13,612
py
Python
src/functions.py
kkFlashK1/Redis-Clone
e2754a4367d6f78421ab8bc32277eec7306ccdbc
[ "MIT" ]
null
null
null
src/functions.py
kkFlashK1/Redis-Clone
e2754a4367d6f78421ab8bc32277eec7306ccdbc
[ "MIT" ]
null
null
null
src/functions.py
kkFlashK1/Redis-Clone
e2754a4367d6f78421ab8bc32277eec7306ccdbc
[ "MIT" ]
4
2020-04-20T06:33:05.000Z
2020-05-04T06:18:50.000Z
import time from sortedcontainers import SortedSet from .exception import * import traceback import random
36.010582
128
0.475169
2c31a024dccd00a7e17a289a6b5ec9699ad4bb7a
4,749
py
Python
code/gamescene.py
prake71/blackandwhite
2f23f4b3dc57080d230a4c423332000fe02b8024
[ "MIT" ]
null
null
null
code/gamescene.py
prake71/blackandwhite
2f23f4b3dc57080d230a4c423332000fe02b8024
[ "MIT" ]
null
null
null
code/gamescene.py
prake71/blackandwhite
2f23f4b3dc57080d230a4c423332000fe02b8024
[ "MIT" ]
null
null
null
import pygame import constants from player import * from scene import * from level01 import * from level03 import * from level02 import * from customscene import * import titlescene
35.706767
76
0.549379
2c31b0fdfb0fd6536f8cea2947f69df4b6872d46
2,336
py
Python
migrations/versions/6245d75fa12_exceptions_table.py
boladmin/security_monkey
c28592ffd518fa399527d26262683fc860c30eef
[ "Apache-2.0" ]
4,258
2015-01-04T22:06:10.000Z
2022-03-31T23:40:27.000Z
migrations/versions/6245d75fa12_exceptions_table.py
boladmin/security_monkey
c28592ffd518fa399527d26262683fc860c30eef
[ "Apache-2.0" ]
1,013
2015-01-12T02:31:03.000Z
2021-09-16T19:09:03.000Z
migrations/versions/6245d75fa12_exceptions_table.py
boladmin/security_monkey
c28592ffd518fa399527d26262683fc860c30eef
[ "Apache-2.0" ]
965
2015-01-11T21:06:07.000Z
2022-03-17T16:53:57.000Z
"""Exceptions Table Revision ID: 6245d75fa12 Revises: e0a6af364a3f Create Date: 2016-08-16 11:35:38.575026 """ # revision identifiers, used by Alembic. revision = '6245d75fa12' down_revision = 'e0a6af364a3f' from alembic import op import sqlalchemy as sa
42.472727
91
0.704623
2c32d82c9a78a282495fbc7831ecf41937c490f8
4,422
py
Python
DigitalBiomarkers-Preprocessing/Signal-Alignment/sdtw/test.py
jessilyn/DBDP-1
49308994853d36fa8b24066222851133f6bbf4c7
[ "Apache-2.0" ]
20
2020-01-27T16:32:25.000Z
2021-05-27T15:06:29.000Z
DigitalBiomarkers-Preprocessing/Signal-Alignment/sdtw/test.py
chopeter27/DBDP
99357dac197ceeb8c240ead804dd2c8bd3e3fc93
[ "Apache-2.0" ]
11
2020-01-27T16:22:09.000Z
2020-07-29T20:11:22.000Z
DigitalBiomarkers-Preprocessing/Signal-Alignment/sdtw/test.py
chopeter27/DBDP
99357dac197ceeb8c240ead804dd2c8bd3e3fc93
[ "Apache-2.0" ]
16
2019-04-05T15:01:46.000Z
2021-07-07T05:42:27.000Z
import pandas as pd import math import linecache import numpy as np from scipy import stats from parameter_cal import cf from dtw import dtw from scipy.misc import * from sdtw.config import sub_len, nBlocks from sdtw.utils import cal_descriptor, samplingSequences, norm, get_link_graph from parameter_cal.utils...
39.482143
120
0.688602
2574c91dd0017e03291fbe071a3fc02152437d2a
193
py
Python
base_model/admin.py
kriwil/django-base-model
e6e989fce282200df3f6d114af27cfa4a618203f
[ "0BSD" ]
null
null
null
base_model/admin.py
kriwil/django-base-model
e6e989fce282200df3f6d114af27cfa4a618203f
[ "0BSD" ]
null
null
null
base_model/admin.py
kriwil/django-base-model
e6e989fce282200df3f6d114af27cfa4a618203f
[ "0BSD" ]
null
null
null
from django.contrib import admin
16.083333
39
0.601036
257570ef08bf6f96adf3ca076eab3e37b42bac17
6,083
py
Python
results/migrations/0001_initial.py
lilbex/bitcom
c0d09155b655de3ebe84851f24e5c07ef60da611
[ "MIT" ]
null
null
null
results/migrations/0001_initial.py
lilbex/bitcom
c0d09155b655de3ebe84851f24e5c07ef60da611
[ "MIT" ]
null
null
null
results/migrations/0001_initial.py
lilbex/bitcom
c0d09155b655de3ebe84851f24e5c07ef60da611
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-24 18:31 from django.db import migrations, models
45.736842
114
0.554661
2575c1d96c57160a201fba4b65403230c9c3cfc4
12,137
py
Python
quantization/Quantizelayer.py
fengxiaoshuai/CNN_model_optimizer
4c48420989ffe31a4075d36a5133fee0d999466a
[ "Apache-2.0" ]
null
null
null
quantization/Quantizelayer.py
fengxiaoshuai/CNN_model_optimizer
4c48420989ffe31a4075d36a5133fee0d999466a
[ "Apache-2.0" ]
1
2021-01-05T10:41:24.000Z
2021-01-05T10:41:24.000Z
quantization/Quantizelayer.py
fengxiaoshuai/CNN_model_optimizer
4c48420989ffe31a4075d36a5133fee0d999466a
[ "Apache-2.0" ]
1
2020-08-07T02:56:20.000Z
2020-08-07T02:56:20.000Z
from __future__ import division from __future__ import print_function import numpy as np import copy from scipy import stats data = np.random.randn(10000,) print(data) layer = QuantizeLayer(name="con_1") layer.initial_histograms(data) print("min:", layer.min) print("max:", layer.max) print("edge:", layer.edge) print("...
37.928125
110
0.596853
2576626ceba771ec76431abf1f815e63a7c7ef75
5,484
py
Python
SRFlow_seungjae/code/test.py
scey26/srdualglow
23dbd0ce94f12abc6885c9a3ed3b7ca6f6f15170
[ "MIT" ]
1
2021-06-29T06:39:42.000Z
2021-06-29T06:39:42.000Z
SRFlow_seungjae/code/test.py
scey26/srdualglow
23dbd0ce94f12abc6885c9a3ed3b7ca6f6f15170
[ "MIT" ]
null
null
null
SRFlow_seungjae/code/test.py
scey26/srdualglow
23dbd0ce94f12abc6885c9a3ed3b7ca6f6f15170
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Huawei Technologies Co., Ltd. # Licensed under CC BY-NC-SA 4.0 (Attribution-NonCommercial-ShareAlike 4.0 International) (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://creativecommons.org/licenses/by-nc-sa...
29.967213
119
0.654632
25774050e4ebc5c3ab6263fbb98ab241ce4786a3
2,620
py
Python
wit/dep/triplet-learning.py
bkj/what-is-this
49c6e4f9809623d8580433baf00e507faacb04f0
[ "Apache-2.0" ]
21
2016-01-12T05:20:29.000Z
2022-01-05T18:14:40.000Z
wit/dep/triplet-learning.py
bkj/what-is-this
49c6e4f9809623d8580433baf00e507faacb04f0
[ "Apache-2.0" ]
null
null
null
wit/dep/triplet-learning.py
bkj/what-is-this
49c6e4f9809623d8580433baf00e507faacb04f0
[ "Apache-2.0" ]
38
2016-11-08T04:49:17.000Z
2019-01-10T04:47:52.000Z
import keras import pandas as pd import urllib2 from bs4 import BeautifulSoup from pprint import pprint from matplotlib import pyplot as plt import sys sys.path.append('/Users/BenJohnson/projects/what-is-this/wit/') from wit import * pd.set_option('display.max_rows', 50) pd.set_option('display.max_columns', 500) pd....
22.782609
90
0.684351
257953b2686a30760d1c8853c684474288fcc931
3,826
py
Python
selfdrive/dragonpilot/gpxd.py
lijunhao731/dragonpilot
460890bc2149fb0f344943683052278afd359f2d
[ "MIT" ]
8
2020-11-07T17:01:27.000Z
2022-01-08T04:54:08.000Z
selfdrive/dragonpilot/gpxd.py
lijunhao731/dragonpilot
460890bc2149fb0f344943683052278afd359f2d
[ "MIT" ]
2
2021-03-21T10:24:12.000Z
2021-07-26T11:50:56.000Z
selfdrive/dragonpilot/gpxd.py
lijunhao731/dragonpilot
460890bc2149fb0f344943683052278afd359f2d
[ "MIT" ]
5
2020-10-16T11:29:20.000Z
2021-09-22T04:23:54.000Z
#!/usr/bin/env python3 import cereal.messaging as messaging import os import datetime import signal import threading from common.realtime import Ratekeeper # customisable values GPX_LOG_PATH = '/data/media/0/gpx_logs/' LOG_HERTZ = 10 # 10 hz = 0.1 sec, higher for higher accuracy, 10hz seems fine LOG_LENGTH = 10 # mins...
32.982759
314
0.646106
25796623b047f49a864e729351b380a30f77c0c5
26
py
Python
Unlock_webapp/libs/grpc/_grpcio_metadata.py
maxathon2020/Enk
1bcf9c788e8b0ab5d21821b694292a3c110eb526
[ "MIT" ]
1
2021-01-15T18:00:01.000Z
2021-01-15T18:00:01.000Z
Unlock_webapp/libs/grpc/_grpcio_metadata.py
maxathon2020/Enk
1bcf9c788e8b0ab5d21821b694292a3c110eb526
[ "MIT" ]
null
null
null
Unlock_webapp/libs/grpc/_grpcio_metadata.py
maxathon2020/Enk
1bcf9c788e8b0ab5d21821b694292a3c110eb526
[ "MIT" ]
null
null
null
__version__ = """1.32.0"""
26
26
0.576923
2579c36b1d400b2989548b5ef20920bc5aa3d5ac
17,767
py
Python
ASV/ASV/nodes/averager.py
Southampton-Maritime-Robotics/Autonomous-Ship-and-Wavebuoys
bea27ac87b0e2991096da7f1b1c2197f1d620a51
[ "MIT" ]
4
2017-11-09T12:05:14.000Z
2021-06-25T05:59:15.000Z
ASV/ASV/nodes/averager.py
Southampton-Maritime-Robotics/Autonomous-Ship-and-Wavebuoys
bea27ac87b0e2991096da7f1b1c2197f1d620a51
[ "MIT" ]
null
null
null
ASV/ASV/nodes/averager.py
Southampton-Maritime-Robotics/Autonomous-Ship-and-Wavebuoys
bea27ac87b0e2991096da7f1b1c2197f1d620a51
[ "MIT" ]
1
2021-05-08T20:09:50.000Z
2021-05-08T20:09:50.000Z
#!/usr/bin/python ############################################################################## #averager.py # #This code has been created by Enrico Anderlini (ea3g09@soton.ac.uk) for #averaging the main readings required during the QinetiQ tests. These values #averaged over one minute will be published to an externa...
39.394678
139
0.585017
257a8339f2250ee65e5f7d0aa4d5a83f1b6f928b
12,827
py
Python
joulescope_ui/oscilloscope/marker.py
Axel-Jacobsen/pyjoulescope_ui
7d296b1ead0d36c6524dc399372f7888a340e9fa
[ "Apache-2.0" ]
1
2019-08-08T21:10:26.000Z
2019-08-08T21:10:26.000Z
joulescope_ui/oscilloscope/marker.py
Axel-Jacobsen/pyjoulescope_ui
7d296b1ead0d36c6524dc399372f7888a340e9fa
[ "Apache-2.0" ]
null
null
null
joulescope_ui/oscilloscope/marker.py
Axel-Jacobsen/pyjoulescope_ui
7d296b1ead0d36c6524dc399372f7888a340e9fa
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Jetperch LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
33.23057
97
0.580416
257b5ca1436a1b26014145a5d43f0c4a06c06313
2,267
py
Python
usb-camera-gst.py
jetsonhacks/USB-Camera
53d34b974428bfc15469cd52c92ceac60feb60fe
[ "MIT" ]
14
2022-01-21T23:56:58.000Z
2022-03-10T02:46:10.000Z
usb-camera-gst.py
JetsonHacksNano/USB-Camera
53d34b974428bfc15469cd52c92ceac60feb60fe
[ "MIT" ]
null
null
null
usb-camera-gst.py
JetsonHacksNano/USB-Camera
53d34b974428bfc15469cd52c92ceac60feb60fe
[ "MIT" ]
4
2022-01-28T18:52:31.000Z
2022-03-05T20:03:55.000Z
#!/usr/bin/env python3 # # USB Camera - Simple # # Copyright (C) 2021-22 JetsonHacks (info@jetsonhacks.com) # # MIT License # import sys import cv2 window_title = "USB Camera" # ASSIGN CAMERA ADRESS to DEVICE HERE! pipeline = " ! ".join(["v4l2src device=/dev/video0", "video/x-raw, width=64...
33.338235
123
0.538597
257c7887bbadadf7ad524f6cc017c11ec7078dfe
219
py
Python
louis/webdev/myblog/blog/admin.py
GadinganJayHarley06/intern-blog
b442c6f307da63d8687773df7bcbf28ceab3e6a9
[ "MIT" ]
null
null
null
louis/webdev/myblog/blog/admin.py
GadinganJayHarley06/intern-blog
b442c6f307da63d8687773df7bcbf28ceab3e6a9
[ "MIT" ]
null
null
null
louis/webdev/myblog/blog/admin.py
GadinganJayHarley06/intern-blog
b442c6f307da63d8687773df7bcbf28ceab3e6a9
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Index, Tag, Category, Post # Register your models here. admin.site.register(Index) admin.site.register(Tag) admin.site.register(Category) admin.site.register(Post)
21.9
46
0.794521
257cae7ff7dac86cc983c3e6d70faff1d9548ba3
588
py
Python
035.py
canis/euler-py
56e500fcaebd06dc59c85e2b70d095fc9f268ce0
[ "MIT" ]
null
null
null
035.py
canis/euler-py
56e500fcaebd06dc59c85e2b70d095fc9f268ce0
[ "MIT" ]
null
null
null
035.py
canis/euler-py
56e500fcaebd06dc59c85e2b70d095fc9f268ce0
[ "MIT" ]
null
null
null
from utils.math import primes p = primes(100) print (p) r = set() for num in p: rot = rotate(num) if rot: r.add(rot) s = len(r) for fs in r: print(fs) for num in fs: print(num) if num not in p: print ('---brk') s -= 1 break print(s)
15.473684
56
0.440476
257e3291467a365d825dce2ce9baa7043728edeb
10,227
py
Python
results.py
MariusWirtz/optimus-py
09378f6daf759ee0ff8a0e83d614ffba1720b956
[ "MIT" ]
1
2020-07-03T22:15:45.000Z
2020-07-03T22:15:45.000Z
results.py
MariusWirtz/tm1-optipyzer
09378f6daf759ee0ff8a0e83d614ffba1720b956
[ "MIT" ]
3
2020-02-17T23:28:47.000Z
2020-05-06T20:21:56.000Z
results.py
MariusWirtz/optimus-py
09378f6daf759ee0ff8a0e83d614ffba1720b956
[ "MIT" ]
null
null
null
import itertools import logging import os import statistics from pathlib import WindowsPath from typing import List, Union import seaborn as sns sns.set_theme() import matplotlib.pyplot as plt import pandas as pd SEPARATOR = "," HEADER = ["ID", "Mode", "Is Best", "Mean Query Time", "Query Ratio", "Mean Process Time"...
39.183908
113
0.641048
257fa21be7c52550321debef98c5629ed602cf83
3,412
py
Python
model.py
shivam13verma/han-chainer
ca1e34b1dcd8ecfdf55690de62b89c59c3699f82
[ "MIT" ]
null
null
null
model.py
shivam13verma/han-chainer
ca1e34b1dcd8ecfdf55690de62b89c59c3699f82
[ "MIT" ]
null
null
null
model.py
shivam13verma/han-chainer
ca1e34b1dcd8ecfdf55690de62b89c59c3699f82
[ "MIT" ]
null
null
null
from keras.models import Sequential from keras.layers import Dense, Activation model = Sequential() model.add(Embedding(vocabulary_size, embedding_dim, input_shape=(90582, 517))) model.add(GRU(512, return_sequences=True)) model.add(Dropout(0.2)) model.add(GRU(512, return_sequences=True)) model.add(Dropout(0.2)) mode...
37.086957
105
0.681125
2581eb1b55c042ee77c302c7a30814d99058fc85
2,901
py
Python
chaospy/distributions/collection/gamma.py
lblonk/chaospy
1759a4307c6134b74ce63ff44973195f1e185f94
[ "MIT" ]
1
2020-04-29T20:53:25.000Z
2020-04-29T20:53:25.000Z
chaospy/distributions/collection/gamma.py
agonzs11/Polinomio-del-caos
5a415ece07e6535488174bac69a6c0fcc2ca272d
[ "MIT" ]
null
null
null
chaospy/distributions/collection/gamma.py
agonzs11/Polinomio-del-caos
5a415ece07e6535488174bac69a6c0fcc2ca272d
[ "MIT" ]
null
null
null
"""Gamma distribution.""" import numpy from scipy import special from ..baseclass import Dist from ..operators.addition import Add
27.367925
69
0.536711
258221159670850092053b3b46e03afa8f767d41
7,449
py
Python
simplivity/resources/external_stores.py
HewlettPackard/simplivity-python-sdk
03d8e92a02fe66e878ed22b37944e5a6ce991ef1
[ "Apache-2.0" ]
7
2020-02-28T09:03:09.000Z
2022-03-28T15:52:23.000Z
simplivity/resources/external_stores.py
HewlettPackard/simplivity-python-sdk
03d8e92a02fe66e878ed22b37944e5a6ce991ef1
[ "Apache-2.0" ]
47
2020-01-16T20:32:19.000Z
2020-08-27T04:43:00.000Z
simplivity/resources/external_stores.py
HewlettPackard/simplivity-python-sdk
03d8e92a02fe66e878ed22b37944e5a6ce991ef1
[ "Apache-2.0" ]
16
2020-01-10T14:15:17.000Z
2021-04-06T13:31:01.000Z
### # (C) Copyright [2019-2020] Hewlett Packard Enterprise Development LP # # 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 ...
44.873494
130
0.638475
25823a8b6363471624240c48f9dff5e83c6d7d22
12,775
py
Python
items/migrations/0001_initial.py
LluisoCP/BooksAndFilms
a972091e920cb94313ab1f005a01bd72df538891
[ "MIT" ]
null
null
null
items/migrations/0001_initial.py
LluisoCP/BooksAndFilms
a972091e920cb94313ab1f005a01bd72df538891
[ "MIT" ]
null
null
null
items/migrations/0001_initial.py
LluisoCP/BooksAndFilms
a972091e920cb94313ab1f005a01bd72df538891
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-09-17 12:09 from django.db import migrations, models import django.db.models.deletion import items.models
112.061404
3,170
0.56955
25825cd19c25741651ec1092171b226484d87889
2,039
py
Python
init.py
lanvstn/workshops-api
e52461f78b7032cd5377aa5d5a05246d1b827bdd
[ "MIT" ]
null
null
null
init.py
lanvstn/workshops-api
e52461f78b7032cd5377aa5d5a05246d1b827bdd
[ "MIT" ]
1
2019-10-15T18:52:45.000Z
2019-10-15T18:52:45.000Z
init.py
lanvstn/workshops-api
e52461f78b7032cd5377aa5d5a05246d1b827bdd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import sqlalchemy.exc from workshops_api.app import app from workshops_api.database import db from workshops_api.auth import ACCESS_LEVELS from workshops_api.models.user import UserModel from workshops_api.config import config if __name__ == "__main__": parser = argparse....
30.893939
87
0.557626
25858779947cdd6eff807639ff98f34b7425aeeb
1,285
py
Python
setup.py
bentettmar/nertivia4py
a9b758000632e40306bc610a6966cb8d0a643c20
[ "MIT" ]
3
2022-01-24T16:31:20.000Z
2022-02-03T22:44:51.000Z
setup.py
bentettmar/nertivia4py
a9b758000632e40306bc610a6966cb8d0a643c20
[ "MIT" ]
9
2022-03-05T19:01:48.000Z
2022-03-06T11:38:53.000Z
setup.py
bentettmar/nertivia4py
a9b758000632e40306bc610a6966cb8d0a643c20
[ "MIT" ]
null
null
null
from distutils.core import setup readme = """ # Nertivia4PY A Python wrapper for the Nertivia API. Support Nertivia server : https://nertivia.net/i/nertivia4py > ### Install > ``` > pip install nertivia4py > ``` > ### Example > ```python > import nertivia4py > > token = "TOKEN_HERE" > prefix = "...
25.196078
98
0.633463
258642582e345c59fc75a59b993ff30a2400aec6
3,030
py
Python
generative/stylclip/operators.py
armaank/archlectures
ec4caec6efa1bf419dec24ad850e38ad6c123905
[ "BSD-3-Clause" ]
1
2021-04-09T16:10:55.000Z
2021-04-09T16:10:55.000Z
generative/stylclip/operators.py
armaank/archlectures
ec4caec6efa1bf419dec24ad850e38ad6c123905
[ "BSD-3-Clause" ]
null
null
null
generative/stylclip/operators.py
armaank/archlectures
ec4caec6efa1bf419dec24ad850e38ad6c123905
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import torch from scipy.stats import truncnorm from pymoo.factory import get_sampling, get_crossover, get_mutation from pymoo.operators.mixed_variable_operator import MixedVariableSampling, MixedVariableMutation, MixedVariableCrossover from pymoo.model.sampling import Sampling def get_operators(co...
33.666667
120
0.628053
2586cc665c211863710efc72964860d0e8a2e6e2
723
py
Python
setup.py
VENULLLC/Monoclock
e393d94f89b39f9613c63167d4c911ab4c9d21a9
[ "MIT" ]
2
2015-11-04T19:16:00.000Z
2016-03-03T20:51:32.000Z
setup.py
VENULLLC/Monoclock
e393d94f89b39f9613c63167d4c911ab4c9d21a9
[ "MIT" ]
1
2017-08-08T16:56:35.000Z
2017-08-08T16:56:35.000Z
setup.py
VENULLLC/Monoclock
e393d94f89b39f9613c63167d4c911ab4c9d21a9
[ "MIT" ]
2
2020-12-28T20:13:38.000Z
2021-07-26T16:39:31.000Z
#!/usr/bin/env python import sys from distutils.core import setup from distutils.extension import Extension if sys.platform == 'darwin': monoclock_libraries = [] else: monoclock_libraries = ['rt'] setup( name='Monoclock', version='14.4.18', description="Monotonic clock access for Python", url="https://github.c...
24.1
73
0.706777
25873fb3ea0c2524e1adfd5dff21649fc4c13e56
9,844
py
Python
mrobpy/examples/vis_utils.py
miloserdova-l/mrob
48bef772ba3158d2122991069196d6efd4a39f8c
[ "Apache-2.0" ]
12
2020-09-22T15:33:48.000Z
2022-03-02T17:27:39.000Z
mrobpy/examples/vis_utils.py
MobileRoboticsSkoltech/mrob
7668a3ee35345c4878aa86fff082cc017992d205
[ "Apache-2.0" ]
46
2020-09-22T15:47:08.000Z
2022-01-22T10:56:44.000Z
mrobpy/examples/vis_utils.py
MobileRoboticsSkoltech/mrob
7668a3ee35345c4878aa86fff082cc017992d205
[ "Apache-2.0" ]
9
2020-09-22T15:59:33.000Z
2021-12-20T20:15:16.000Z
import numpy as np import pandas as pd import mrob from test_utils import get_mc from sys import platform import matplotlib if platform == "darwin": matplotlib.use('PS') import matplotlib.pyplot as plt # Here the Cholesky decomposition for singular covariance matrix is implemented
29.650602
109
0.548151
2589eb77b53e81f30f42249e4a59f220a70d8f3e
573
py
Python
api/tf_auth/migrations/0009_populate_username.py
prattl/teamfinder-web
85ded666879c2ee4b51cb59ffdedc2dedbfd9c7e
[ "Apache-2.0" ]
9
2017-04-10T09:40:01.000Z
2020-01-31T17:15:41.000Z
api/tf_auth/migrations/0009_populate_username.py
prattl/teamfinder-web
85ded666879c2ee4b51cb59ffdedc2dedbfd9c7e
[ "Apache-2.0" ]
19
2017-02-22T16:26:02.000Z
2020-02-04T16:08:16.000Z
api/tf_auth/migrations/0009_populate_username.py
prattl/teamfinder-web
85ded666879c2ee4b51cb59ffdedc2dedbfd9c7e
[ "Apache-2.0" ]
3
2017-04-17T06:37:58.000Z
2021-04-09T18:16:28.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2017-04-17 00:30 from __future__ import unicode_literals from django.db import migrations
21.222222
65
0.649215
258dfd4cf3f12a84a78632665686b4481a1602df
1,947
py
Python
emotion_detection/f_emotion_detection.py
juan-csv/Architecture-for-real-time-video-streaming-analytics
bf4f03553fa856aa5f704ea25666d163b90cd5e9
[ "MIT" ]
16
2020-09-14T07:46:45.000Z
2022-03-29T02:53:40.000Z
emotion_detection/f_emotion_detection.py
juan-csv/Architecture-for-real-time-video-streaming-analytics
bf4f03553fa856aa5f704ea25666d163b90cd5e9
[ "MIT" ]
null
null
null
emotion_detection/f_emotion_detection.py
juan-csv/Architecture-for-real-time-video-streaming-analytics
bf4f03553fa856aa5f704ea25666d163b90cd5e9
[ "MIT" ]
4
2020-09-16T02:23:14.000Z
2022-01-12T06:49:43.000Z
import config as cfg import cv2 import numpy as np from keras.models import load_model from keras.preprocessing.image import img_to_array from keras import backend as K import tensorflow as tf import keras ''' esto es necesario para que no haya errores a la hora de exponer el servicio con flask info --> https://github...
31.918033
85
0.625578
259148bec81d808f337cab94d5e80017025d5d2d
455
py
Python
src/gui/migrations/0014_feedback_childprotection.py
digitalfabrik/ish-goalkeeper
a500c7a628ef66897941dadc0addb0be01658e02
[ "MIT" ]
12
2021-10-30T12:57:26.000Z
2021-10-31T11:33:20.000Z
src/gui/migrations/0014_feedback_childprotection.py
digitalfabrik/ish-goalkeeper
a500c7a628ef66897941dadc0addb0be01658e02
[ "MIT" ]
53
2019-07-31T12:44:44.000Z
2021-10-21T12:40:29.000Z
src/gui/migrations/0014_feedback_childprotection.py
digitalfabrik/ish-goalkeeper
a500c7a628ef66897941dadc0addb0be01658e02
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2020-03-10 18:24 from django.db import migrations, models
23.947368
114
0.63956
2592664d08f4a0c9eb9bf2b57177c0908bfc0dd1
45,764
py
Python
assignment/assignment2/test/ASTGenSuite.py
khoidohpc/ppl-course
3bcff3eeeeebc24f0fc9e3f844779f439aa97544
[ "MIT" ]
2
2020-10-21T13:04:18.000Z
2022-01-12T11:06:31.000Z
assignment/assignment2/test/ASTGenSuite.py
khoidohpc/ppl-course
3bcff3eeeeebc24f0fc9e3f844779f439aa97544
[ "MIT" ]
null
null
null
assignment/assignment2/test/ASTGenSuite.py
khoidohpc/ppl-course
3bcff3eeeeebc24f0fc9e3f844779f439aa97544
[ "MIT" ]
1
2022-01-12T11:06:45.000Z
2022-01-12T11:06:45.000Z
import unittest from TestUtils import TestAST from AST import *
59.126615
991
0.558976
259322df87478be7b4ebcda05e307a4d2631a759
7,966
py
Python
lib/reinteract/notebook_window.py
rschroll/reinteract
d74b679fed00c9eb43a1cd167bb6abd9e389da1a
[ "BSD-2-Clause" ]
1
2015-11-05T06:50:03.000Z
2015-11-05T06:50:03.000Z
lib/reinteract/notebook_window.py
rschroll/reinteract
d74b679fed00c9eb43a1cd167bb6abd9e389da1a
[ "BSD-2-Clause" ]
null
null
null
lib/reinteract/notebook_window.py
rschroll/reinteract
d74b679fed00c9eb43a1cd167bb6abd9e389da1a
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2008-2009 Owen Taylor # # This file is part of Reinteract and distributed under the terms # of the BSD license. See the file COPYING in the Reinteract # distribution for full details. # ######################################################################## import gtk import os from base_notebook_window ...
36.709677
95
0.614863
2594fb6de6dffcce3372d066529fcf8255ec3b49
573
py
Python
regulation/settings.py
cfpb/regulations-xml-parser
e3bcbd9025f6fb6fa9ef2671fb8ed061c8de3e88
[ "CC0-1.0" ]
4
2016-01-02T21:04:42.000Z
2019-08-17T06:30:36.000Z
regulation/settings.py
DalavanCloud/regulations-xml-parser
e3bcbd9025f6fb6fa9ef2671fb8ed061c8de3e88
[ "CC0-1.0" ]
49
2016-01-25T15:19:04.000Z
2017-12-06T20:02:09.000Z
regulation/settings.py
DalavanCloud/regulations-xml-parser
e3bcbd9025f6fb6fa9ef2671fb8ed061c8de3e88
[ "CC0-1.0" ]
9
2016-01-21T19:25:30.000Z
2021-02-20T10:53:47.000Z
#!/usr/bin/env python from __future__ import print_function from __future__ import unicode_literals import importlib import os import sys # Try to load the settings module try: local_settings = importlib.import_module( os.environ.get('REGML_SETTINGS_FILE', 'settings')) globals().update(local_setti...
27.285714
64
0.722513
2596f72f06a517f88b80e5187a646537bcd3ae06
16,968
py
Python
src/ui/ui_send_payout_dlg.py
muteio/ghostnode-tool
c42868ed6c009c47482d23ebac0d101adbd8c103
[ "MIT" ]
1
2019-11-02T01:39:52.000Z
2019-11-02T01:39:52.000Z
src/ui/ui_send_payout_dlg.py
NixPlatform/ghostnode-tool
c42868ed6c009c47482d23ebac0d101adbd8c103
[ "MIT" ]
null
null
null
src/ui/ui_send_payout_dlg.py
NixPlatform/ghostnode-tool
c42868ed6c009c47482d23ebac0d101adbd8c103
[ "MIT" ]
1
2019-09-21T15:08:36.000Z
2019-09-21T15:08:36.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_send_payout_dlg.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets if __name__ == "__main__": import sys app = QtWidgets.QApplic...
61.701818
116
0.753713
25976939b96e834c2bfbe96de1759d0543a5294c
254
py
Python
server/src/models/embedded_models/method_step_embedded_model.py
minhman727/miao-nutrition-assistant
c0f999756ae1a03371975be03ec7b7470f4b39e2
[ "MIT" ]
null
null
null
server/src/models/embedded_models/method_step_embedded_model.py
minhman727/miao-nutrition-assistant
c0f999756ae1a03371975be03ec7b7470f4b39e2
[ "MIT" ]
null
null
null
server/src/models/embedded_models/method_step_embedded_model.py
minhman727/miao-nutrition-assistant
c0f999756ae1a03371975be03ec7b7470f4b39e2
[ "MIT" ]
null
null
null
from mongoengine import *
25.4
62
0.661417
25978d1f7d69811ce75ba04968a1787f942af8b3
1,579
py
Python
silot/experiments/moving_mnist/silot_run.py
e2crawfo/silot
d49a41dde74db62d62bdd9ba5d35ff54c07fd9bc
[ "MIT" ]
16
2019-11-27T18:25:55.000Z
2021-05-28T06:15:13.000Z
silot/experiments/moving_mnist/silot_run.py
e2crawfo/silot
d49a41dde74db62d62bdd9ba5d35ff54c07fd9bc
[ "MIT" ]
5
2020-08-03T16:17:53.000Z
2022-02-09T23:38:55.000Z
silot/experiments/moving_mnist/silot_run.py
e2crawfo/silot
d49a41dde74db62d62bdd9ba5d35ff54c07fd9bc
[ "MIT" ]
1
2020-11-20T10:37:57.000Z
2020-11-20T10:37:57.000Z
from dps.hyper import run_experiment from dps.utils import copy_update from dps.tf.updater import DummyUpdater from silot.run import basic_config, alg_configs, env_configs import argparse parser = argparse.ArgumentParser() parser.add_argument('--max-digits', type=int, choices=[6, 12], required=True) args, _ = parser.p...
34.326087
124
0.718809
2597942237584a092a777b8ebc52564660ff2499
251
py
Python
evo_mwc/__init__.py
mrazomej/evo_mwc
b69c800c5518d906cd2c65334c6feffdbab5acf1
[ "MIT" ]
null
null
null
evo_mwc/__init__.py
mrazomej/evo_mwc
b69c800c5518d906cd2c65334c6feffdbab5acf1
[ "MIT" ]
2
2020-06-01T22:36:08.000Z
2020-07-01T23:32:06.000Z
evo_mwc/__init__.py
mrazomej/evo_mwc
b69c800c5518d906cd2c65334c6feffdbab5acf1
[ "MIT" ]
1
2019-07-09T21:18:52.000Z
2019-07-09T21:18:52.000Z
# -*- coding: utf-8 -*- """Top level package for evo_utils utilities""" from . import viz from . import fitderiv from . import model __author__ = """Manuel Razo""" __email__ = """mrazomej {at} caltech.edu""" __version__ = '0.0.1' name = 'evo_mwc'
17.928571
47
0.661355
2597d104fd536046cfa0f78ca2aa1bd236dccb01
112
py
Python
arclet/alconna/__main__.py
SocialSisterYi/Alconna
3e1d986ca5486dfd3c7bd80118a75364ab6831b8
[ "MIT" ]
null
null
null
arclet/alconna/__main__.py
SocialSisterYi/Alconna
3e1d986ca5486dfd3c7bd80118a75364ab6831b8
[ "MIT" ]
null
null
null
arclet/alconna/__main__.py
SocialSisterYi/Alconna
3e1d986ca5486dfd3c7bd80118a75364ab6831b8
[ "MIT" ]
null
null
null
"""Alconna """ from arclet.alconna.builtin.commandline import main if __name__ == "__main__": main()
16
51
0.705357
2597ff84931dd28d221994ec4d847762df2128d6
2,427
py
Python
profiles/viewsets.py
Hacksbr/resume
2568bb1f4a75af9d72ed6f3013c9112b93001b43
[ "MIT" ]
null
null
null
profiles/viewsets.py
Hacksbr/resume
2568bb1f4a75af9d72ed6f3013c9112b93001b43
[ "MIT" ]
11
2020-10-25T04:11:08.000Z
2021-10-03T05:38:11.000Z
profiles/viewsets.py
Hacksbr/resume-api
2568bb1f4a75af9d72ed6f3013c9112b93001b43
[ "MIT" ]
1
2020-10-30T16:55:08.000Z
2020-10-30T16:55:08.000Z
from django.contrib.auth import get_user_model from rest_framework import viewsets, status, permissions from rest_framework.response import Response from profiles.models import Profile from profiles.permissions import IsUserProfileOrAdmin from profiles import serializers User = get_user_model()
32.36
116
0.677379
259eedab428d052f5de5cef2f33e8a5144b57d54
1,180
py
Python
setup.py
transientlunatic/gravitic
3f818b5b52dafd8db0cef8f7da930996c84125be
[ "BSD-3-Clause" ]
2
2021-04-12T10:38:58.000Z
2021-04-12T13:53:16.000Z
setup.py
transientlunatic/gravitic
3f818b5b52dafd8db0cef8f7da930996c84125be
[ "BSD-3-Clause" ]
null
null
null
setup.py
transientlunatic/gravitic
3f818b5b52dafd8db0cef8f7da930996c84125be
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup # with open('README.rst') as readme_file: # readme = readme_file.read() # with open('HISTORY.rst') as history_file: # history = history_file.read() with open("requirements.txt") as requires_file: requirements = requires_file.read().split("\n") requirements = [requirement for...
28.780488
88
0.683051
25a0391cf57456757d52425e8939034685150c52
6,278
py
Python
hal/vanille_hal.py
ThotAlion/vanille
b5b43fce39110b44f11f128e123611c988ac7bfc
[ "MIT" ]
1
2021-04-03T09:36:40.000Z
2021-04-03T09:36:40.000Z
hal/vanille_hal.py
ThotAlion/vanille_hal
b5b43fce39110b44f11f128e123611c988ac7bfc
[ "MIT" ]
null
null
null
hal/vanille_hal.py
ThotAlion/vanille_hal
b5b43fce39110b44f11f128e123611c988ac7bfc
[ "MIT" ]
null
null
null
import rclpy import json,numpy from numpy import clip from rclpy.node import Node from std_msgs.msg import Float64MultiArray from sensor_msgs.msg import JointState from diagnostic_msgs.msg import DiagnosticStatus, KeyValue import can from tinymovr import Tinymovr from tinymovr.iface.can import CAN from tinymovr.units...
41.03268
123
0.600988
25a13c41bb4dc3ac0459cd775b2eec9b971b28e3
383
py
Python
pretrained-model/speaker-embedding/vggvox/constants.py
dtx525942103/malaya-speech
212c4e890d0cbcbbca0037c89a698b68b05db393
[ "MIT" ]
null
null
null
pretrained-model/speaker-embedding/vggvox/constants.py
dtx525942103/malaya-speech
212c4e890d0cbcbbca0037c89a698b68b05db393
[ "MIT" ]
null
null
null
pretrained-model/speaker-embedding/vggvox/constants.py
dtx525942103/malaya-speech
212c4e890d0cbcbbca0037c89a698b68b05db393
[ "MIT" ]
1
2021-08-19T02:34:41.000Z
2021-08-19T02:34:41.000Z
# Signal processing SAMPLE_RATE = 16000 PREEMPHASIS_ALPHA = 0.97 FRAME_LEN = 0.025 FRAME_STEP = 0.01 NUM_FFT = 512 BUCKET_STEP = 1 MAX_SEC = 10 # Model WEIGHTS_FILE = "data/model/weights.h5" COST_METRIC = "cosine" # euclidean or cosine INPUT_SHAPE=(NUM_FFT,None,1) # IO ENROLL_LIST_FILE = "cfg/enroll_list.csv" TEST_L...
20.157895
45
0.754569
25a3cd2e397d3a4fa1405f0e90b2284ec1f6c787
6,351
py
Python
pyramid/tests/test_scripts/test_proutes.py
danielpronych/pyramid-doxygen
ad95a8c151c2c4e029e03aed2feda2993380f36f
[ "BSD-2-Clause" ]
null
null
null
pyramid/tests/test_scripts/test_proutes.py
danielpronych/pyramid-doxygen
ad95a8c151c2c4e029e03aed2feda2993380f36f
[ "BSD-2-Clause" ]
null
null
null
pyramid/tests/test_scripts/test_proutes.py
danielpronych/pyramid-doxygen
ad95a8c151c2c4e029e03aed2feda2993380f36f
[ "BSD-2-Clause" ]
null
null
null
import unittest from pyramid.tests.test_scripts import dummy
36.5
72
0.600063
25a4112bd4c2cf802cc07a430e00d86257820ce8
2,120
py
Python
pystatreduce/doc/plot/plot_quadratic-distribution_overlay.py
OptimalDesignLab/pyStatReduce
9ea128409b91dd582e574e2e1cc153572b6c60a4
[ "MIT" ]
null
null
null
pystatreduce/doc/plot/plot_quadratic-distribution_overlay.py
OptimalDesignLab/pyStatReduce
9ea128409b91dd582e574e2e1cc153572b6c60a4
[ "MIT" ]
null
null
null
pystatreduce/doc/plot/plot_quadratic-distribution_overlay.py
OptimalDesignLab/pyStatReduce
9ea128409b91dd582e574e2e1cc153572b6c60a4
[ "MIT" ]
null
null
null
# plot normal quadratic distribution overlay # Plots the effects of theta in the 2D quadratic by showing the normal # distribution on top of the regular quadratic import numpy as np from mpl_toolkits import mplot3d import matplotlib import matplotlib.pyplot as plt import os import sys import errno sys.path.insert(0, ...
31.176471
104
0.718868
25a41d20123f1a8a57294e429d62e5549539156f
518
py
Python
utils/sqlite.py
ztytotoro/python-scripts
a337abd6c2705483d3167f611d671a2b7ee517f7
[ "MIT" ]
null
null
null
utils/sqlite.py
ztytotoro/python-scripts
a337abd6c2705483d3167f611d671a2b7ee517f7
[ "MIT" ]
null
null
null
utils/sqlite.py
ztytotoro/python-scripts
a337abd6c2705483d3167f611d671a2b7ee517f7
[ "MIT" ]
null
null
null
# : from sqlalchemy import Column, String, create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base # : Base = declarative_base() # Project: # : engine = create_engine( 'mysql+mysqlconnector://root:password@localhost:3306/test') # DBSession: DBSession = sess...
21.583333
63
0.737452
25a44b7c5e0019b3e4d2a53a51bc6e03d4f6513c
4,753
py
Python
cracking-the-coding-interview/1-chapter3.py
tranquan/coding-dojo
538a1bdab2bae2df2a68ca2b4fb4ad11070c6049
[ "MIT" ]
1
2019-02-24T18:51:25.000Z
2019-02-24T18:51:25.000Z
cracking-the-coding-interview/1-chapter3.py
tranquan/coding-dojo
538a1bdab2bae2df2a68ca2b4fb4ad11070c6049
[ "MIT" ]
null
null
null
cracking-the-coding-interview/1-chapter3.py
tranquan/coding-dojo
538a1bdab2bae2df2a68ca2b4fb4ad11070c6049
[ "MIT" ]
1
2020-07-02T13:50:21.000Z
2020-07-02T13:50:21.000Z
import os import sys import math # 3.1 using single array to implement 3 stacks # 1) - using 3 indexes to for each stack pointers, and 3 size to set maximum of stack # 2) - using 3 indexes, 1 begin at the first index and increase, 1 begin at the bottom and decrease, 1 at the bottom and re-balanced every time # Test ...
21.903226
143
0.627814
25a7128988ab4fbad08c8732aefc9716accd10af
531
py
Python
Network-communicator-client.py
TomFang1/Network-Communicator
8036c210412621ec3b253a446238ba6bf5601a9b
[ "MIT" ]
null
null
null
Network-communicator-client.py
TomFang1/Network-Communicator
8036c210412621ec3b253a446238ba6bf5601a9b
[ "MIT" ]
null
null
null
Network-communicator-client.py
TomFang1/Network-Communicator
8036c210412621ec3b253a446238ba6bf5601a9b
[ "MIT" ]
null
null
null
import socket HOST = "" PORT = "" address()
22.125
71
0.574388
25a949c22437a642b924c26eebc537b68bb644d1
1,789
py
Python
pipelines/head-pose-dataset-pipeline/data-chunk-spliter/main.py
tonouchi510/kfp-project
67b78ae53cc3de594b8254999a4f553a8d5cec27
[ "MIT" ]
null
null
null
pipelines/head-pose-dataset-pipeline/data-chunk-spliter/main.py
tonouchi510/kfp-project
67b78ae53cc3de594b8254999a4f553a8d5cec27
[ "MIT" ]
null
null
null
pipelines/head-pose-dataset-pipeline/data-chunk-spliter/main.py
tonouchi510/kfp-project
67b78ae53cc3de594b8254999a4f553a8d5cec27
[ "MIT" ]
null
null
null
import json import hashlib from absl import app from absl import flags from google.cloud import storage FLAGS = flags.FLAGS flags.DEFINE_string( "pipeline", None, "Name of pipeline") flags.DEFINE_string( "job_id", "test", "ID for job management.") flags.DEFINE_string( "bucket_name", "", "GCS ...
24.847222
75
0.608161
25ab42f8ae212d4baa50016ccf09ca3732826f64
10,236
py
Python
book_parser_alternate_approach.py
shankze/python_book_parser
66a93466c0978f707276b088721b3e65ae5c863c
[ "MIT" ]
null
null
null
book_parser_alternate_approach.py
shankze/python_book_parser
66a93466c0978f707276b088721b3e65ae5c863c
[ "MIT" ]
null
null
null
book_parser_alternate_approach.py
shankze/python_book_parser
66a93466c0978f707276b088721b3e65ae5c863c
[ "MIT" ]
null
null
null
import re import _pickle as cPickle import logging import argparse #This script is not dependant on table of contents. It detects books and chapters based their titles # Dictionary containing key and regex pattern to match the keys pattern_dict = { 'blank_line': re.compile(r'^\s*$'), 'book_number': re.compile...
45.493333
127
0.57288
25aeac09d273a2e17e46546268aae95b302c15ff
4,819
py
Python
src/audio/extract_audio.py
usc-sail/tiles-2019-dataset
c91c2da3a282757f67981c5e10aa93faab7b414b
[ "MIT" ]
null
null
null
src/audio/extract_audio.py
usc-sail/tiles-2019-dataset
c91c2da3a282757f67981c5e10aa93faab7b414b
[ "MIT" ]
null
null
null
src/audio/extract_audio.py
usc-sail/tiles-2019-dataset
c91c2da3a282757f67981c5e10aa93faab7b414b
[ "MIT" ]
null
null
null
from __future__ import print_function from fileinput import filename import os import pandas as pd import pdb from datetime import timedelta import datetime import shutil date_time_format = '%Y-%m-%dT%H:%M:%S.%f' date_format = '%Y-%m-%d' if __name__ == '__main__': # Read data root path root_dir = ...
45.037383
155
0.646192
25afe3c2688bb5a8a98ef07920c42001d054b61e
6,737
py
Python
Python_files/extract_tmc_links.py
jingzbu/InverseVITraffic
c0d33d91bdd3c014147d58866c1a2b99fb8a9608
[ "MIT" ]
null
null
null
Python_files/extract_tmc_links.py
jingzbu/InverseVITraffic
c0d33d91bdd3c014147d58866c1a2b99fb8a9608
[ "MIT" ]
null
null
null
Python_files/extract_tmc_links.py
jingzbu/InverseVITraffic
c0d33d91bdd3c014147d58866c1a2b99fb8a9608
[ "MIT" ]
null
null
null
from util_data_storage_and_load import * import openpyxl data_folder = '/home/jzh/Dropbox/Research/\ Data-driven_estimation_inverse_optimization/INRIX/Raw_data/' ########## extract tmc info for link_1 # load attribute table link_1 data wb_link_1 = openpyxl.load_workbook(data_folder + 'filtered_INRIX_attribute_table...
34.372449
96
0.77824
25b0b90b288bd6174770a4217e3b26a9e55a4cbb
26,777
py
Python
python/analysis/fp_fit/fp_file.py
ACTCollaboration/moby2
b0f6bd6add7170999eb964d18f16d795520426e9
[ "BSD-2-Clause" ]
3
2020-06-23T15:59:37.000Z
2022-03-29T16:04:35.000Z
python/analysis/fp_fit/fp_file.py
ACTCollaboration/moby2
b0f6bd6add7170999eb964d18f16d795520426e9
[ "BSD-2-Clause" ]
1
2020-04-08T15:10:46.000Z
2020-04-08T15:10:46.000Z
python/analysis/fp_fit/fp_file.py
ACTCollaboration/moby2
b0f6bd6add7170999eb964d18f16d795520426e9
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python from __future__ import print_function from __future__ import absolute_import from past.builtins import basestring import sys import numpy as np import moby2 trace = moby2.util.log.logger.trace # transitional... _fp_formats = { 'det_uid': '%4d', 'ok': '%1d', 'x0': '%9.6f', 'x0_err':...
36.283198
137
0.51182
25b1a19eb6d8e239df7d680bb083dcaf01ffaddb
2,864
py
Python
apps/exporter/models.py
mjj55409/cpq-exporter
ae46c1580a1c7d228a352a88a61164d9b3c2490c
[ "MIT" ]
null
null
null
apps/exporter/models.py
mjj55409/cpq-exporter
ae46c1580a1c7d228a352a88a61164d9b3c2490c
[ "MIT" ]
null
null
null
apps/exporter/models.py
mjj55409/cpq-exporter
ae46c1580a1c7d228a352a88a61164d9b3c2490c
[ "MIT" ]
null
null
null
from django.conf import settings from django.db import models # from django.template.defaultfilters import slugify from django.utils.translation import ugettext_lazy as _
30.795699
95
0.706355
25b1ffdcb5ac20b95e9d2af8defd2ffc485591b9
43
py
Python
export_as_bookmark/migrations/__init__.py
10sr/webtools
8dd7fecf5d3df9094f32d044f11e983ab3095287
[ "Apache-2.0" ]
null
null
null
export_as_bookmark/migrations/__init__.py
10sr/webtools
8dd7fecf5d3df9094f32d044f11e983ab3095287
[ "Apache-2.0" ]
111
2019-05-15T05:20:49.000Z
2021-10-16T14:43:34.000Z
export_as_bookmark/migrations/__init__.py
10sr/webtools
8dd7fecf5d3df9094f32d044f11e983ab3095287
[ "Apache-2.0" ]
null
null
null
"""export_as_bookmark migration script."""
21.5
42
0.767442
25b338ff4a0aea87eb7ecc2cc0784ffa15f6582b
1,915
py
Python
management/utils.py
jonathanverner/brython-jinja2
cec6e16de1750203a858d0acf590f230fc3bf848
[ "BSD-3-Clause" ]
2
2020-09-13T17:51:55.000Z
2020-11-25T18:47:12.000Z
management/utils.py
jonathanverner/brython-jinja2
cec6e16de1750203a858d0acf590f230fc3bf848
[ "BSD-3-Clause" ]
2
2020-11-25T19:18:15.000Z
2021-06-01T21:48:12.000Z
management/utils.py
jonathanverner/brython-jinja2
cec6e16de1750203a858d0acf590f230fc3bf848
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 from plumbum import cli
32.457627
74
0.461097
25b3746fa875224a25a61f388c3fd0485d927148
4,523
py
Python
ml/gan_test.py
Ryoich/python_zero
fe4a5fd8b11c8c059d82b797cd1668f96d54e541
[ "CC-BY-4.0" ]
203
2018-12-14T10:16:33.000Z
2022-03-10T07:23:34.000Z
ml/gan_test.py
Ryoich/python_zero
fe4a5fd8b11c8c059d82b797cd1668f96d54e541
[ "CC-BY-4.0" ]
39
2019-06-21T12:28:03.000Z
2022-01-17T10:41:53.000Z
ml/gan_test.py
Ryoich/python_zero
fe4a5fd8b11c8c059d82b797cd1668f96d54e541
[ "CC-BY-4.0" ]
29
2018-12-30T06:48:59.000Z
2022-03-10T07:43:42.000Z
import matplotlib.pyplot as plt import numpy as np import tensorflow as tf tf.logging.set_verbosity(tf.logging.ERROR) #filename = "mnist.tfrecord" #filename = "hiragana.tfrecord" # run_gan(filename)
37.07377
79
0.666372
25b3918a371821cdc9c995f47c968bb1c9ab06ab
6,312
py
Python
src/forms.py
Afsharov/observer-frontend
bd93fd1d7fa1a63ca650640995e1f10b0c99df44
[ "BSD-3-Clause" ]
null
null
null
src/forms.py
Afsharov/observer-frontend
bd93fd1d7fa1a63ca650640995e1f10b0c99df44
[ "BSD-3-Clause" ]
null
null
null
src/forms.py
Afsharov/observer-frontend
bd93fd1d7fa1a63ca650640995e1f10b0c99df44
[ "BSD-3-Clause" ]
1
2021-04-23T08:25:55.000Z
2021-04-23T08:25:55.000Z
"""This module contains all forms used by the Observer-Hive frontend. """ import os import json import logging from bcrypt import checkpw from flask_wtf import FlaskForm from flask_login import current_user from wtforms import StringField, PasswordField from wtforms.validators import InputRequired, EqualTo, Length lo...
35.460674
106
0.53628
25b3c69e50bea2e1fc0a8c23aa497075c8c18426
7,151
py
Python
lido/validate_keys.py
lidofinance/lido-python
6cf74b17c47e54cfead891d445c6071c25d0478d
[ "MIT" ]
3
2021-02-04T11:35:48.000Z
2021-09-12T22:19:13.000Z
lido/validate_keys.py
lidofinance/lido-python
6cf74b17c47e54cfead891d445c6071c25d0478d
[ "MIT" ]
2
2021-08-30T08:35:04.000Z
2021-09-02T17:17:08.000Z
lido/validate_keys.py
lidofinance/lido-python
6cf74b17c47e54cfead891d445c6071c25d0478d
[ "MIT" ]
3
2021-05-24T19:08:06.000Z
2021-09-12T22:19:20.000Z
import typing as t from py_ecc.bls import G2ProofOfPossession as bls from lido.eth2deposit.utils.ssz import ( DepositMessage, compute_deposit_domain, compute_signing_root, ) from lido.eth2deposit.settings import get_chain_setting from lido.constants.chains import get_chain_name, get_eth2_chain_name from li...
35.577114
102
0.669277