hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
1255cd8f4e10c6adbb9a42935b7c7849e265c1ab
2,922
py
Python
Setup.py
uHappyLogic/GaiaDbConsumer
a615b689fc30a3cc9dfd0b581d279899bf7a0f8b
[ "MIT" ]
null
null
null
Setup.py
uHappyLogic/GaiaDbConsumer
a615b689fc30a3cc9dfd0b581d279899bf7a0f8b
[ "MIT" ]
null
null
null
Setup.py
uHappyLogic/GaiaDbConsumer
a615b689fc30a3cc9dfd0b581d279899bf7a0f8b
[ "MIT" ]
null
null
null
#!/usr/bin/python import argparse import multiprocessing from distutils.util import strtobool def configure_argparse(): ap = argparse.ArgumentParser() ap.add_argument("-p", "--password", required=True, type=str, help="database password") ap.add_argument("-u", "--user", required=True, t...
32.831461
107
0.469884
301
2,922
4.415282
0.325581
0.013544
0.084274
0.090293
0.281415
0.267871
0.149737
0.13243
0.090293
0
0
0.006204
0.393224
2,922
88
108
33.204545
0.743373
0.005476
0
0.298701
0
0
0.337694
0.016867
0
0
0
0
0
1
0.025974
false
0.064935
0.038961
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
125bc5ecf5acb0a84b6c7d88d2625e8761895e24
1,171
py
Python
_lib/settings.py
bjuggler/lvrobi
f7831b471058414d9ca383ab3729f3f6f26990c9
[ "MIT" ]
null
null
null
_lib/settings.py
bjuggler/lvrobi
f7831b471058414d9ca383ab3729f3f6f26990c9
[ "MIT" ]
null
null
null
_lib/settings.py
bjuggler/lvrobi
f7831b471058414d9ca383ab3729f3f6f26990c9
[ "MIT" ]
null
null
null
from pathlib import Path PROJECT_DIR = Path(__file__).resolve().parent.parent DATA_DIR = PROJECT_DIR.joinpath("data") DATA_ORIGIN_DIR = DATA_DIR.joinpath("_origin") DATA_AFTER_PREPARATION_DIR = DATA_DIR.joinpath("prepared") DATA_TRIPS_AS_HEXES_DIR = DATA_DIR.joinpath("trips_as_hexes") DATA_ORIGIN_AMIENS_DIR = DATA_O...
39.033333
70
0.676345
146
1,171
4.972603
0.369863
0.206612
0.143251
0.15427
0.242424
0.143251
0
0
0
0
0
0.008584
0.204099
1,171
30
71
39.033333
0.770386
0.020495
0
0
0
0
0.203316
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
126250776d5fa66f301a109cdcf5f21aeacb6568
3,637
py
Python
swig/python2/tests/ConcurrentHelpers/SysrepoTester.py
rastislavszabo/sysrepo
dd947fee3b606d354eb7bf50fecef020b943b523
[ "Apache-2.0" ]
null
null
null
swig/python2/tests/ConcurrentHelpers/SysrepoTester.py
rastislavszabo/sysrepo
dd947fee3b606d354eb7bf50fecef020b943b523
[ "Apache-2.0" ]
null
null
null
swig/python2/tests/ConcurrentHelpers/SysrepoTester.py
rastislavszabo/sysrepo
dd947fee3b606d354eb7bf50fecef020b943b523
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "Rastislav Szabo <raszabo@cisco.com>, Lukas Macko <lmacko@cisco.com>" __copyright__ = "Copyright 2016, Cisco Systems, Inc." __license__ = "Apache 2.0" # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compl...
33.990654
115
0.670058
457
3,637
5.210066
0.371991
0.087778
0.021
0.036959
0.275095
0.232255
0.198236
0.135657
0.029399
0
0
0.004628
0.22766
3,637
106
116
34.311321
0.843005
0.165796
0
0.271429
0
0
0.053329
0
0
0
0
0
0.085714
1
0.285714
false
0
0.042857
0
0.342857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
126f1e95442d045eb408d956eca0a3026f66efae
3,964
py
Python
mysql-utilities-1.6.0/mysql/utilities/exception.py
bopopescu/mysql-dbcompare
1e912fd87282be3b3bed48487e6beb0ecb1de339
[ "Apache-2.0" ]
2
2018-03-20T07:42:58.000Z
2018-03-20T07:43:49.000Z
mysql-utilities-1.6.0/mysql/utilities/exception.py
bopopescu/mysql-dbcompare
1e912fd87282be3b3bed48487e6beb0ecb1de339
[ "Apache-2.0" ]
null
null
null
mysql-utilities-1.6.0/mysql/utilities/exception.py
bopopescu/mysql-dbcompare
1e912fd87282be3b3bed48487e6beb0ecb1de339
[ "Apache-2.0" ]
1
2020-07-23T23:07:08.000Z
2020-07-23T23:07:08.000Z
# # Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights # reserved. # # This program 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; version 2 of the License. # # This program is distributed in ...
27.150685
78
0.686176
495
3,964
5.341414
0.347475
0.051437
0.079425
0.090772
0.366868
0.348336
0.29652
0.233737
0.219365
0.187595
0
0.009135
0.226791
3,964
145
79
27.337931
0.853507
0.456105
0
0.425926
0
0
0
0
0
0
0
0
0
1
0.185185
false
0.074074
0
0.018519
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
12704a095122fadc942cb65a97c8da4187d6b314
3,322
py
Python
TEST.py
MemoryHeroLi/testPyQt5
f4155904be626b1f1811bb89f5838c9f5a7aad49
[ "MIT" ]
null
null
null
TEST.py
MemoryHeroLi/testPyQt5
f4155904be626b1f1811bb89f5838c9f5a7aad49
[ "MIT" ]
null
null
null
TEST.py
MemoryHeroLi/testPyQt5
f4155904be626b1f1811bb89f5838c9f5a7aad49
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'TEST.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, ...
48.144928
75
0.717941
335
3,322
7.044776
0.310448
0.094915
0.066102
0.050847
0.147458
0.074576
0
0
0
0
0
0.023688
0.173992
3,322
68
76
48.852941
0.83637
0.080975
0
0
1
0
0.091297
0
0
0
0
0
0
1
0.037037
false
0
0.018519
0
0.074074
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12709adefb63994c976a043d3df1e7443e69d9f6
1,793
py
Python
tests/test_search_bodemdiepteinterval.py
DOV-Vlaanderen/dov-pydownloader
126b17f4ad870d9fae5cb2c4b868c564cf7cd1b3
[ "MIT" ]
null
null
null
tests/test_search_bodemdiepteinterval.py
DOV-Vlaanderen/dov-pydownloader
126b17f4ad870d9fae5cb2c4b868c564cf7cd1b3
[ "MIT" ]
4
2016-12-23T10:36:05.000Z
2017-01-03T11:38:39.000Z
tests/test_search_bodemdiepteinterval.py
DOV-Vlaanderen/dov-pydownloader
126b17f4ad870d9fae5cb2c4b868c564cf7cd1b3
[ "MIT" ]
null
null
null
"""Module grouping tests for the bodemdiepteinterval search module.""" import datetime from owslib.fes import PropertyIsEqualTo from pydov.search.bodemdiepteinterval import BodemdiepteintervalSearch from pydov.types.bodemdiepteinterval import Bodemdiepteinterval from pydov.util.dovutil import build_dov_url from tests...
40.75
82
0.782487
177
1,793
7.661017
0.457627
0.123894
0.061947
0.146018
0
0
0
0
0
0
0
0.00953
0.122142
1,793
43
83
41.697674
0.85197
0.035694
0
0
0
0
0.387696
0.208358
0
0
0
0
0
1
0
false
0
0.1875
0
0.53125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1273e26fea12a529cba1a7987ef758ea601ca1da
438
py
Python
setup.py
cessor/substitute
d55598e6964bb630fc7703d5d8460bc960793ab9
[ "MIT" ]
1
2020-02-26T00:10:37.000Z
2020-02-26T00:10:37.000Z
setup.py
cessor/substitute
d55598e6964bb630fc7703d5d8460bc960793ab9
[ "MIT" ]
null
null
null
setup.py
cessor/substitute
d55598e6964bb630fc7703d5d8460bc960793ab9
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name='substitute', version='1.1.1', description='A friendly substitute for python mocking frameworks', author='Johannes Hofmeister', author_email='substitute@spam.cessor.de', url='http://cessor.github.io/substitute', packages=['substitute'], k...
39.818182
121
0.687215
49
438
6.122449
0.795918
0.013333
0
0
0
0
0
0
0
0
0
0.007895
0.13242
438
11
122
39.818182
0.781579
0
0
0
0
0
0.529138
0.058275
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
89bfa647876f92e41264d07022e4066b9ff7e709
394
py
Python
infra/docker/python/accounts/forms.py
YA-androidapp/docker-django
5614f4421b5fab8bbf6b02ebd75c990c012d3db1
[ "Apache-2.0" ]
null
null
null
infra/docker/python/accounts/forms.py
YA-androidapp/docker-django
5614f4421b5fab8bbf6b02ebd75c990c012d3db1
[ "Apache-2.0" ]
null
null
null
infra/docker/python/accounts/forms.py
YA-androidapp/docker-django
5614f4421b5fab8bbf6b02ebd75c990c012d3db1
[ "Apache-2.0" ]
null
null
null
from allauth.account.forms import SignupForm from django import forms from .models import CustomUser from allauth.account.adapter import DefaultAccountAdapter class CustomSignupForm(SignupForm): age = forms.IntegerField() class Meta: model = CustomUser def signup(self, request, user): us...
23.176471
57
0.713198
45
394
6.222222
0.577778
0.078571
0.128571
0
0
0
0
0
0
0
0
0
0.213198
394
16
58
24.625
0.903226
0
0
0
0
0
0.007614
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
89c7466fa6bef7614fbace29a648ac7f92e2485b
1,935
py
Python
encapsulamiento.py
francomanca93/poo-algoritmos-python
47bc0289cf1a91e2bee93f354bd39e1b592fa774
[ "MIT" ]
null
null
null
encapsulamiento.py
francomanca93/poo-algoritmos-python
47bc0289cf1a91e2bee93f354bd39e1b592fa774
[ "MIT" ]
null
null
null
encapsulamiento.py
francomanca93/poo-algoritmos-python
47bc0289cf1a91e2bee93f354bd39e1b592fa774
[ "MIT" ]
null
null
null
class Perros(object): #Declaramos la clase principal Perros def __init__(self, nombre, peso): #Definimos los parámetros self.__nombre = nombre #Declaramos los atributos self.__peso = peso # Getter, setter y deleter de nombre @property def nombre(self): #Definimos el método para obt...
37.941176
89
0.697674
254
1,935
5.220472
0.34252
0.045249
0.031674
0.030166
0.180995
0.125189
0.125189
0
0
0
0
0.002699
0.234109
1,935
51
90
37.941176
0.892038
0.482687
0
0.222222
0
0
0.14524
0
0
0
0
0.019608
0
1
0.194444
false
0
0
0.027778
0.277778
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
89ccc2c1f8883a4c5a1c51e4feef89d87005a9b9
4,511
py
Python
DQM/SiStripMonitorClient/python/SiStripDQMSourceConfigOfflineGlobalRunCAF_cfi.py
malbouis/cmssw
16173a30d3f0c9ecc5419c474bb4d272c58b65c8
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/SiStripMonitorClient/python/SiStripDQMSourceConfigOfflineGlobalRunCAF_cfi.py
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/SiStripMonitorClient/python/SiStripDQMSourceConfigOfflineGlobalRunCAF_cfi.py
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # SiStrip DQM Source # Hardware Monitoring from DQM.SiStripMonitorHardware.siStripFEDMonitor_P5_cff import * # Condition DB Monitoring from DQM.SiStripMonitorSummary.SiStripMonitorCondData_cfi import * # DQMEventInfo DqmEventInfoSiStrip = cms.EDAnalyzer( "DQMEventInfo", ...
44.22549
200
0.835957
348
4,511
10.663793
0.218391
0.026677
0.041229
0.048504
0.44651
0.429264
0.429264
0.200485
0
0
0
0.003224
0.106185
4,511
101
201
44.663366
0.917163
0.095544
0
0.214286
0
0
0.094135
0.06555
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89d804d203431be8b125a34a72f55117f6ac54d2
611
py
Python
gen-robots-osx.py
jamesacampbell/random-robots-txt
b008bf74b1f080c82597da80ff0873bea56538cb
[ "MIT" ]
1
2017-12-01T22:06:46.000Z
2017-12-01T22:06:46.000Z
gen-robots-osx.py
jamesacampbell/random-robots-txt
b008bf74b1f080c82597da80ff0873bea56538cb
[ "MIT" ]
null
null
null
gen-robots-osx.py
jamesacampbell/random-robots-txt
b008bf74b1f080c82597da80ff0873bea56538cb
[ "MIT" ]
null
null
null
""" Author: James Campbell What: Generates a random robots.txt on OSX Notes: Only works on Python 3.6+. If gshuf doesnt work do brew install coreutils """ import subprocess # change this for the number of words you want numberofwords = 500 r = subprocess.Popen(f"gshuf -n{numberofwords} /usr/share/dict/words",stdout=...
32.157895
131
0.707038
96
611
4.5
0.729167
0.0625
0
0
0
0
0
0
0
0
0
0.01518
0.13748
611
18
132
33.944444
0.804554
0.315876
0
0
1
0
0.392683
0.112195
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89dc0192de8a0e22c6c782a2de51f56a3b78a7ae
306
py
Python
stl/load.py
karen-leung-tri/py-stl
87f764a2b8b7c756a239f200b77c3875f959cae6
[ "BSD-3-Clause" ]
null
null
null
stl/load.py
karen-leung-tri/py-stl
87f764a2b8b7c756a239f200b77c3875f959cae6
[ "BSD-3-Clause" ]
null
null
null
stl/load.py
karen-leung-tri/py-stl
87f764a2b8b7c756a239f200b77c3875f959cae6
[ "BSD-3-Clause" ]
null
null
null
from traces import Domain, TimeSeries def from_pandas(df, compact=True): '''TODO''' domain = Domain(df.index[0], df.index[-1]) data = {col: TimeSeries(df[col].T, domain=domain) for col in df.columns} if compact: for val in data.values(): val.compact() return data
25.5
76
0.620915
44
306
4.295455
0.545455
0.126984
0
0
0
0
0
0
0
0
0
0.008584
0.238562
306
11
77
27.818182
0.802575
0.013072
0
0
0
0
0
0
0
0
0
0.090909
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
89df3eb91818b947a567a6685f3e154490516860
2,477
py
Python
mod_motif.py
aniketk21/tfbs-prediction
dbb98450182f5be7a7f1ff71b8c382fcbba8666b
[ "MIT" ]
2
2017-07-07T07:22:41.000Z
2018-02-11T15:56:08.000Z
mod_motif.py
aniketk21/tfbs-prediction
dbb98450182f5be7a7f1ff71b8c382fcbba8666b
[ "MIT" ]
null
null
null
mod_motif.py
aniketk21/tfbs-prediction
dbb98450182f5be7a7f1ff71b8c382fcbba8666b
[ "MIT" ]
null
null
null
''' mod_motif.py usage: python mod_motif.py dataset.dat gff_file output.dat this will modify the motif scores, found in the `gff_file` ''' import sys mchr = open(sys.argv[1]) gff = open(sys.argv[2]) out = open(sys.argv[3], 'w') mchrl = mchr.readlines() gffl = gff.readlines() for i in range(len(mchrl)): ...
24.77
113
0.50545
375
2,477
3.232
0.269333
0.05198
0.020627
0.037129
0.221122
0.138614
0.105611
0.105611
0.057756
0
0
0.041509
0.358094
2,477
99
114
25.020202
0.720755
0.12717
0
0.102941
0
0
0.027014
0
0
0
0
0
0
0
null
null
0
0.014706
null
null
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
89f10ae8b7023ac10ece591b86c26d8921d5d1cf
8,831
py
Python
v1alpha1/swagger_client/models/detail.py
dinagraves/client-python
c4f77332b402e61a1e1700fa0c746183008d435c
[ "Apache-2.0" ]
10
2017-11-19T20:21:16.000Z
2021-04-23T06:59:33.000Z
v1alpha1/swagger_client/models/detail.py
dinagraves/client-python
c4f77332b402e61a1e1700fa0c746183008d435c
[ "Apache-2.0" ]
1
2021-06-01T21:55:48.000Z
2021-06-01T21:55:48.000Z
v1alpha1/swagger_client/models/detail.py
dinagraves/client-python
c4f77332b402e61a1e1700fa0c746183008d435c
[ "Apache-2.0" ]
1
2019-08-11T16:51:36.000Z
2019-08-11T16:51:36.000Z
# coding: utf-8 """ Grafeas API An API to insert and retrieve annotations on cloud artifacts. OpenAPI spec version: 0.1 Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in co...
31.315603
230
0.615899
1,060
8,831
4.961321
0.181132
0.096977
0.06389
0.034227
0.528047
0.459973
0.416239
0.362616
0.317171
0.285606
0
0.001642
0.310497
8,831
281
231
31.427046
0.862046
0.463594
0
0.23
1
0
0.088082
0.005489
0
0
0
0
0
1
0.2
false
0
0.03
0
0.36
0.01
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89f1d794c6606211816ae6be84f0a01fc23091fc
2,116
py
Python
flod_organisations/manage.py
Trondheim-kommune/Tilskuddsbasen
4f8ce270ef7296069f8e43bfb4bf6a570a7a35d4
[ "BSD-2-Clause-FreeBSD" ]
1
2017-10-17T12:15:28.000Z
2017-10-17T12:15:28.000Z
flod_organisations/manage.py
Trondheim-kommune/Bookingbasen
58235a5a1fd6ad291cb237e6ec9a67bfe8c463c6
[ "BSD-2-Clause-FreeBSD" ]
6
2021-03-22T17:15:52.000Z
2022-01-13T00:39:58.000Z
flod_organisations/manage.py
Trondheim-kommune/Tilskuddsbasen
4f8ce270ef7296069f8e43bfb4bf6a570a7a35d4
[ "BSD-2-Clause-FreeBSD" ]
1
2019-09-09T13:35:03.000Z
2019-09-09T13:35:03.000Z
# -*- coding: utf-8 -*- import os from flask.ext.script import Manager from run import application from domain import models from database import init_db manager = Manager(application) import json def no_map(model, mapped_models): return model def map_activity_type(model, mapped_models): if "brreg_activ...
28.594595
118
0.712665
267
2,116
5.307116
0.280899
0.100917
0.076217
0.046577
0.132675
0.046577
0.046577
0.046577
0
0
0
0.000571
0.172968
2,116
73
119
28.986301
0.809143
0.009924
0
0.041667
0
0
0.22255
0.030527
0
0
0
0
0
0
null
null
0
0.125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
89f94f54e520048aaffee6928a77cb1a6e3ef139
4,088
py
Python
src/tools/images.py
jdmonaco/grid-remapping-model
5794b0666d51be4359fd8d74da93dca8e98402bf
[ "MIT" ]
2
2019-03-31T13:56:44.000Z
2022-02-18T18:04:29.000Z
src/tools/images.py
ModelDBRepository/138951
f71d4febd29e6e09bb7370022ab85f4a8f1c81b3
[ "MIT" ]
null
null
null
src/tools/images.py
ModelDBRepository/138951
f71d4febd29e6e09bb7370022ab85f4a8f1c81b3
[ "MIT" ]
null
null
null
#encoding: utf-8 """ tools.images -- Toolbox functions for creating image output Exported namespace: image_blast, array_to_rgba, array_to_image, diffmap Written by Joe Monaco Center for Theoretical Neuroscience Copyright (c) 2007-2008 Columbia Unversity. All Rights Reserved. """ import os as _os import numpy as _N...
31.446154
78
0.611057
631
4,088
3.884311
0.337559
0.022848
0.02244
0.010608
0.041616
0.041616
0.041616
0.013056
0.013056
0.013056
0
0.014075
0.270059
4,088
129
79
31.689922
0.807306
0.012231
0
0.098592
0
0
0.043307
0
0
0
0
0
0.014085
0
null
null
0
0.084507
null
null
0.014085
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
89faf9ca5f17678fb596ebe90143d1485a301df3
1,386
py
Python
python_stock/5/Python5-18.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
1
2020-09-18T15:08:46.000Z
2020-09-18T15:08:46.000Z
python_stock/5/Python5-18.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
null
null
null
python_stock/5/Python5-18.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
2
2022-01-23T03:26:22.000Z
2022-03-28T16:21:01.000Z
#定义一个嵌套字典变量 users = {'num1': {'name': 'admin', 'passwd': 'admin888', 'sex': '1'}, 'num2': {'name': '赵杰', 'passwd': 'qd123456', 'sex': '0'}} list1 = [] #定义两个空的列表 list2 = [] for key1 ,value1 in users.items() : list1.append(value1['name']) #添加用户姓名 list2.append(value1['passwd']) #添加用户密码 prin...
43.3125
127
0.481962
138
1,386
4.84058
0.5
0.035928
0.050898
0.056886
0.056886
0.056886
0
0
0
0
0
0.04955
0.359307
1,386
31
128
44.709677
0.702703
0.135642
0
0.433333
0
0
0.15443
0
0
0
0
0
0
1
0
false
0.133333
0
0
0
0.266667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d6082e04e4d0bf99e02a55271452f4fb2a318c3c
419
py
Python
util/math.py
KAIST-HCIL/DeepFisheyeNet
ecdf9265a0f7c5048ace0636c0ce26260a39f352
[ "MIT" ]
23
2020-10-13T18:10:32.000Z
2022-03-02T04:28:42.000Z
util/math.py
KAIST-HCIL/DeepFisheyeNet
ecdf9265a0f7c5048ace0636c0ce26260a39f352
[ "MIT" ]
1
2021-07-20T02:11:54.000Z
2021-09-24T02:33:27.000Z
util/math.py
KAIST-HCIL/DeepFisheyeNet
ecdf9265a0f7c5048ace0636c0ce26260a39f352
[ "MIT" ]
null
null
null
import torch def argmax_2d(tensor): assert len(tensor.shape) == 4 N, C, H, W = tensor.shape tensor = tensor.reshape(N, C, H*W) _, idx = tensor.max(dim = -1) row, col = unravel_index(idx, H, W) return torch.stack([row, col], dim = 2) def unravel_index(idx, H, W): row = (idx / W).long() ...
20.95
43
0.594272
68
419
3.573529
0.411765
0.032922
0.115226
0.032922
0.139918
0
0
0
0
0
0
0.018987
0.245823
419
19
44
22.052632
0.75
0
0
0
0
0
0
0
0
0
0
0
0.071429
1
0.214286
false
0
0.071429
0.071429
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d60bb3f33489816451b9a463c16331528a0cc38f
353
py
Python
Bot/get_info.py
dnrhead/mensa_bot
a10b04512219115894b008d50fb7a0970d5d1a44
[ "Apache-2.0" ]
null
null
null
Bot/get_info.py
dnrhead/mensa_bot
a10b04512219115894b008d50fb7a0970d5d1a44
[ "Apache-2.0" ]
null
null
null
Bot/get_info.py
dnrhead/mensa_bot
a10b04512219115894b008d50fb7a0970d5d1a44
[ "Apache-2.0" ]
null
null
null
from db_tools import get_all_user_and_mensas, get_all_mensa_subscriptions,\ get_users users_mensas = get_all_user_and_mensas() print("unique sending messages %d" % len(users_mensas)) print("unique users %d" % len(get_users())) mensas = get_all_mensa_subscriptions() print("unique mensas %d" % len(mensas)) print("...
29.416667
75
0.767705
54
353
4.666667
0.37037
0.095238
0.142857
0.103175
0.365079
0
0
0
0
0
0
0
0.113314
353
11
76
32.090909
0.805112
0
0
0
0
0
0.206799
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.555556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d611269e7267ec4b426e96b22d2c98447876859d
3,902
py
Python
and_beyond/client/ui/accounts/create_account_menu.py
Gaming32/Pyweek32Sandbox
eb29f43f11644a9bbf756c0ff09c74d6ddc4d071
[ "MIT" ]
1
2021-09-27T11:33:37.000Z
2021-09-27T11:33:37.000Z
and_beyond/client/ui/accounts/create_account_menu.py
Gaming32/and-Beyond
eb29f43f11644a9bbf756c0ff09c74d6ddc4d071
[ "MIT" ]
null
null
null
and_beyond/client/ui/accounts/create_account_menu.py
Gaming32/and-Beyond
eb29f43f11644a9bbf756c0ff09c74d6ddc4d071
[ "MIT" ]
null
null
null
import logging from asyncio.events import AbstractEventLoop from typing import TYPE_CHECKING from and_beyond.client import globals from and_beyond.client.ui import Ui, UiButton, UiLabel, UiTextInput from and_beyond.client.ui.label_screen import LabelScreen from and_beyond.common import USERNAME_REGEX from zxcvbn impor...
41.073684
112
0.636853
453
3,902
5.245033
0.251656
0.05303
0.064394
0.050505
0.313973
0.195286
0.093434
0.093434
0.093434
0.044613
0
0.002474
0.274987
3,902
94
113
41.510638
0.837398
0
0
0.16092
0
0
0.120964
0.012301
0
0
0
0
0
1
0.034483
false
0.183908
0.103448
0
0.264368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d617cb53c1aff6113206c5e5d387df8dda280fca
8,490
py
Python
CS111_CS213/TreeGenerator/turtlegraphics.py
jawaff/CollegeCS
ab7d24bd78719842f8790cc0e6c06dd1b327e416
[ "Apache-2.0" ]
null
null
null
CS111_CS213/TreeGenerator/turtlegraphics.py
jawaff/CollegeCS
ab7d24bd78719842f8790cc0e6c06dd1b327e416
[ "Apache-2.0" ]
null
null
null
CS111_CS213/TreeGenerator/turtlegraphics.py
jawaff/CollegeCS
ab7d24bd78719842f8790cc0e6c06dd1b327e416
[ "Apache-2.0" ]
null
null
null
""" turtlegraphics.py This module supports simple Turtle Graphics. The Turtle class represents a turtle object in a graphics window. To instantiate a turtle, enter turtle = Turtle() # Default window size 200 x 200 or turtle = Turtle(width = 500, height = 500) # Window size 500 x 500 The turtl...
29.894366
76
0.596702
1,082
8,490
4.567468
0.263401
0.031566
0.002428
0.00607
0.098341
0.074059
0.032376
0.032376
0.032376
0.032376
0
0.011636
0.291402
8,490
283
77
30
0.80984
0.061131
0
0.125749
0
0
0.030184
0
0
0
0
0
0
0
null
null
0
0.041916
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d61b385ee63fb2df0ad78f9cdd0a14b2fe85c71e
367
py
Python
setup.py
nontas/trafficsignrecognition
dcf0c2657c14098842ee5f9b9a5cf72be8be7d52
[ "BSD-3-Clause" ]
null
null
null
setup.py
nontas/trafficsignrecognition
dcf0c2657c14098842ee5f9b9a5cf72be8be7d52
[ "BSD-3-Clause" ]
1
2017-03-25T10:07:28.000Z
2017-03-28T08:34:41.000Z
setup.py
nontas/trafficsignrecognition
dcf0c2657c14098842ee5f9b9a5cf72be8be7d52
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages setup( name='trafficsignrecognition', version='0.1', description="Traffic Sign Detection and Recognition", author='Epameinondas Antonakos', author_email='antonakosn@gmail.com', packages=find_packages(), install_requires=['menpofit>=0.4,<0.5', ...
26.214286
57
0.667575
41
367
5.878049
0.780488
0.099585
0
0
0
0
0
0
0
0
0
0.033898
0.196185
367
13
58
28.230769
0.783051
0
0
0
0
0
0.395095
0.119891
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d61c63b1dd316f86e8ffb3040c524a54af923622
3,549
py
Python
main/tests/test_authentication.py
Code-and-Response/ISAC-SIMO-Repo-2
5b0cb0099e128dbacfdc53bf686ef2b069a51bc6
[ "PostgreSQL", "Apache-2.0" ]
5
2021-08-16T16:32:41.000Z
2022-02-22T03:47:49.000Z
main/tests/test_authentication.py
Code-and-Response/ISAC-SIMO-Repo-2
5b0cb0099e128dbacfdc53bf686ef2b069a51bc6
[ "PostgreSQL", "Apache-2.0" ]
7
2021-04-12T14:48:48.000Z
2022-02-14T08:30:57.000Z
main/tests/test_authentication.py
Code-and-Response/ISAC-SIMO-Repo-2
5b0cb0099e128dbacfdc53bf686ef2b069a51bc6
[ "PostgreSQL", "Apache-2.0" ]
1
2021-04-28T14:28:34.000Z
2021-04-28T14:28:34.000Z
from main.authorization import is_admin, is_guest, is_user from django.contrib.messages.api import get_messages from django.test.client import Client from main.forms import LoginForm, RegisterForm from main.models import User from django.test import TestCase from django.urls import reverse class TestAuthentication(Te...
51.434783
148
0.691744
424
3,549
5.683962
0.273585
0.062241
0.052282
0.045643
0.508299
0.473029
0.473029
0.429876
0.344398
0.344398
0
0.009431
0.193294
3,549
69
148
51.434783
0.832344
0.108199
0
0.321429
0
0
0.119048
0
0
0
0
0
0.375
1
0.071429
false
0.107143
0.125
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d624ba8318c597ce97853f834699f104f42b757d
545
py
Python
server/apps/posts/models.py
arthamtrust/backend
d1981766297b1cf2888b37af927f69fde750a23e
[ "MIT" ]
null
null
null
server/apps/posts/models.py
arthamtrust/backend
d1981766297b1cf2888b37af927f69fde750a23e
[ "MIT" ]
null
null
null
server/apps/posts/models.py
arthamtrust/backend
d1981766297b1cf2888b37af927f69fde750a23e
[ "MIT" ]
null
null
null
from django.db import models class Post(models.Model): """ Model for Charity or Event Post """ POST_KINDS = [(kind, kind) for kind in ["charity", "event"]] title = models.CharField(max_length=200) content = models.TextField() published_date = models.DateField() created_date = models....
22.708333
64
0.638532
65
545
5.153846
0.6
0.053731
0.107463
0.143284
0
0
0
0
0
0
0
0.012225
0.249541
545
23
65
23.695652
0.806846
0.056881
0
0
0
0
0.054217
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0.071429
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d62529fa1e4bca329d5371d9c6d83cde2120ae8f
251
py
Python
demos/sysmon/schema/queries/__init__.py
rob-blackbourn/bareasgi-graphql
84e46f4e082630973a275b44811ef1136bbde418
[ "Apache-2.0" ]
2
2020-04-27T19:54:26.000Z
2022-03-30T10:06:29.000Z
demos/sysmon/schema/queries/__init__.py
rob-blackbourn/bareasgi-graphql
84e46f4e082630973a275b44811ef1136bbde418
[ "Apache-2.0" ]
null
null
null
demos/sysmon/schema/queries/__init__.py
rob-blackbourn/bareasgi-graphql
84e46f4e082630973a275b44811ef1136bbde418
[ "Apache-2.0" ]
null
null
null
""" GraphQL queries """ from graphql import GraphQLObjectType from .system_queries import LatestQuery # pylint: disable=invalid-name RootQueryType = GraphQLObjectType( name='Queries', fields=lambda: { 'latest': LatestQuery, } )
15.6875
39
0.705179
23
251
7.652174
0.652174
0
0
0
0
0
0
0
0
0
0
0
0.191235
251
15
40
16.733333
0.866995
0.179283
0
0
0
0
0.065657
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d62f4ad8fee791fde617fe8a8fcaa03316e1676c
894
py
Python
tests/api/conftest.py
ggardet/mr-provisioner
8a57806e702d9953a3af304fe52dec8e5de25aff
[ "ECL-2.0", "Apache-2.0" ]
25
2018-04-12T15:56:47.000Z
2021-05-17T04:31:20.000Z
tests/api/conftest.py
ggardet/mr-provisioner
8a57806e702d9953a3af304fe52dec8e5de25aff
[ "ECL-2.0", "Apache-2.0" ]
72
2017-06-21T10:59:05.000Z
2018-03-22T08:52:18.000Z
tests/api/conftest.py
ggardet/mr-provisioner
8a57806e702d9953a3af304fe52dec8e5de25aff
[ "ECL-2.0", "Apache-2.0" ]
13
2017-06-16T08:17:03.000Z
2019-10-03T09:49:46.000Z
import pytest from mr_provisioner.models import Token from werkzeug.datastructures import Headers @pytest.fixture(scope='function') def token_nonadmin(db, user_nonadmin): token = Token(user_nonadmin.id, None, 'api test token') db.session.add(token) db.session.commit() db.session.refresh(token) re...
23.526316
59
0.715884
121
894
5.165289
0.264463
0.0864
0.1152
0.1664
0.6368
0.6368
0.5744
0.4896
0.3712
0.3712
0
0
0.158837
894
37
60
24.162162
0.831117
0
0
0.592593
0
0
0.116331
0
0
0
0
0
0
1
0.148148
false
0
0.111111
0
0.407407
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d630e32828aaab8dd2ad6bfc505ea6fcac010e08
7,509
py
Python
pirate.py
bobbyluig/pirate
f9b17a652eb475c0057aa556e428e38ebe808172
[ "MIT" ]
2
2017-10-12T03:01:21.000Z
2022-02-03T01:15:20.000Z
pirate.py
bobbyluig/pirate
f9b17a652eb475c0057aa556e428e38ebe808172
[ "MIT" ]
null
null
null
pirate.py
bobbyluig/pirate
f9b17a652eb475c0057aa556e428e38ebe808172
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup import json from urllib import parse from datetime import datetime import time def construct_link(origin, destination): o = parse.urlparse(origin) if destination.startswith('http'): return destination elif destination.startswith('/'): ...
27.108303
104
0.536023
873
7,509
4.564719
0.305842
0.020075
0.009034
0.027604
0.089837
0.067252
0.049184
0.020075
0
0
0
0.012661
0.326808
7,509
277
105
27.108303
0.775668
0.08643
0
0.192513
0
0
0.189634
0.007165
0
0
0
0
0
1
0.026738
false
0.058824
0.032086
0
0.139037
0.069519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d6334e66d12b35aa3a34254a0681cdb454e2df42
928
py
Python
SPC/Files/login.py
yadavsuraj20/spc
442d88c748633d00a6f1db2a3069feb4ac3f45b7
[ "BSD-3-Clause" ]
1
2020-06-15T18:47:26.000Z
2020-06-15T18:47:26.000Z
SPC/Files/login.py
yadavsuraj20/spc
442d88c748633d00a6f1db2a3069feb4ac3f45b7
[ "BSD-3-Clause" ]
null
null
null
SPC/Files/login.py
yadavsuraj20/spc
442d88c748633d00a6f1db2a3069feb4ac3f45b7
[ "BSD-3-Clause" ]
3
2020-06-07T04:46:10.000Z
2020-07-04T12:04:22.000Z
import requests import getpass import pickle import os import sys # import webbrowser # import time home = os.path.expanduser('~/SPC') # print(home) # $ip=$_SERVER['REMOTE_ADDR'] if os.path.isfile(home+'/Pickles/url.pkl'): fp = open(home+'/Pickles/url.pkl','rb') url = pickle.load(fp) else: exit("First set the serve...
24.421053
60
0.682112
149
928
4.228188
0.52349
0.052381
0.044444
0.053968
0.057143
0
0
0
0
0
0
0.02716
0.127155
928
38
61
24.421053
0.750617
0.251078
0
0.083333
0
0
0.304094
0
0
0
0
0
0
1
0
false
0.166667
0.208333
0
0.208333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d63694f86e4ed918545d1903e9b03048a216a8c1
11,872
py
Python
notebooks/Easily_creating_MAB_problems.py
balbok0/SMPyBandits
c8ff765687989e0c20ab42c2e2e1d8440923225b
[ "MIT" ]
309
2018-03-03T22:07:59.000Z
2022-03-26T08:15:58.000Z
notebooks/Easily_creating_MAB_problems.py
balbok0/SMPyBandits
c8ff765687989e0c20ab42c2e2e1d8440923225b
[ "MIT" ]
125
2018-02-27T22:54:03.000Z
2021-11-05T10:50:15.000Z
notebooks/Easily_creating_MAB_problems.py
balbok0/SMPyBandits
c8ff765687989e0c20ab42c2e2e1d8440923225b
[ "MIT" ]
60
2018-04-30T20:54:24.000Z
2022-02-21T22:41:46.000Z
# coding: utf-8 # # Table of Contents # <p><div class="lev1 toc-item"><a href="#Easily-creating-MAB-problems" data-toc-modified-id="Easily-creating-MAB-problems-1"><span class="toc-item-num">1&nbsp;&nbsp;</span>Easily creating MAB problems</a></div><div class="lev2 toc-item"><a href="#Constant-arms" data-toc-modifie...
29.754386
2,979
0.667284
2,005
11,872
3.913217
0.192519
0.023197
0.013255
0.019883
0.440352
0.385037
0.295182
0.237828
0.208896
0.178817
0
0.046161
0.144205
11,872
398
2,980
29.829146
0.726083
0.717823
0
0.242424
0
0
0.05213
0
0
0
0
0
0
1
0.045455
false
0
0.075758
0.015152
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d63938f44216c738332a0d7aa25f8974f8dd7bb6
309
py
Python
tests/functional/en_ABBR/test_numbers.py
staticdev/human-readable
1c3328560f9b8097e1bc3ec6fceefa486c264fd5
[ "MIT" ]
5
2021-03-10T21:22:31.000Z
2022-03-23T04:38:07.000Z
tests/functional/en_ABBR/test_numbers.py
staticdev/human-readable
1c3328560f9b8097e1bc3ec6fceefa486c264fd5
[ "MIT" ]
59
2021-02-13T10:08:23.000Z
2022-03-14T19:43:55.000Z
tests/functional/en_ABBR/test_numbers.py
staticdev/human-readable
1c3328560f9b8097e1bc3ec6fceefa486c264fd5
[ "MIT" ]
null
null
null
"""Tests for ru_RU numbers humanizing.""" from pytest_mock import MockerFixture import human_readable def test_int_word(activate_en_abbr: MockerFixture) -> None: """It returns int word number.""" expected = "12.3 B" result = human_readable.int_word(12345591313) assert result == expected
22.071429
59
0.731392
41
309
5.292683
0.731707
0.096774
0
0
0
0
0
0
0
0
0
0.054688
0.171521
309
13
60
23.769231
0.792969
0.203884
0
0
0
0
0.025532
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d64364dcbe1dd315e49d5ec2ee8c732d5c9f2c9d
2,511
py
Python
src/tiden/tidenfabric.py
mshonichev/example_pkg
556a703fe8ea4a7737b8cae9c5d4d19c1397a70b
[ "Apache-2.0" ]
14
2020-06-05T09:30:42.000Z
2022-01-19T00:26:48.000Z
src/tiden/tidenfabric.py
mshonichev/example_pkg
556a703fe8ea4a7737b8cae9c5d4d19c1397a70b
[ "Apache-2.0" ]
6
2020-06-09T14:05:21.000Z
2021-03-18T13:55:15.000Z
src/tiden/tidenfabric.py
mshonichev/example_pkg
556a703fe8ea4a7737b8cae9c5d4d19c1397a70b
[ "Apache-2.0" ]
1
2020-06-09T13:53:15.000Z
2020-06-09T13:53:15.000Z
#!/usr/bin/env python3 # # Copyright 2017-2020 GridGain Systems. # # 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...
30.253012
117
0.685384
326
2,511
5.180982
0.374233
0.033156
0.039076
0.042629
0.086442
0.029603
0.029603
0
0
0
0
0.006813
0.240143
2,511
82
118
30.621951
0.878407
0.271207
0
0.115385
0
0
0.00717
0
0
0
0
0
0
1
0.173077
false
0
0.153846
0.019231
0.596154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d64a3ccc83969aa669a9917a8a8c8e9feb5b0a3c
276
py
Python
apps/core/migrations/0003_delete_stat.py
vanyakosmos/memes-reposter
7bcd1117a81777f0662bcca38690de0c0404dbfa
[ "MIT" ]
26
2019-01-19T21:07:57.000Z
2022-03-07T16:07:52.000Z
apps/core/migrations/0003_delete_stat.py
BinaryWorld0101201/memes-reposter
de2be9a07d1197100dc9204fdcc78767fe4f4b71
[ "MIT" ]
7
2020-02-11T22:59:44.000Z
2021-06-21T07:44:56.000Z
apps/core/migrations/0003_delete_stat.py
BinaryWorld0101201/memes-reposter
de2be9a07d1197100dc9204fdcc78767fe4f4b71
[ "MIT" ]
9
2018-09-21T06:38:08.000Z
2022-01-26T11:57:28.000Z
# Generated by Django 2.0.3 on 2018-07-15 11:32 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0002_stat'), ] operations = [ migrations.DeleteModel( name='Stat', ), ]
16.235294
47
0.576087
30
276
5.266667
0.833333
0
0
0
0
0
0
0
0
0
0
0.098958
0.304348
276
16
48
17.25
0.723958
0.163043
0
0
1
0
0.074236
0
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d655e83658bafc1ab331f6546dc484f06d66abeb
17,119
py
Python
bayespy/utils/tests/test_misc.py
dungvtdev/upsbayescpm
f6ee877c689046d3c57a2ac06742cfe4a0b6550e
[ "MIT" ]
622
2015-01-15T19:46:06.000Z
2022-03-22T13:40:22.000Z
bayespy/utils/tests/test_misc.py
dungvtdev/upsbayescpm
f6ee877c689046d3c57a2ac06742cfe4a0b6550e
[ "MIT" ]
118
2015-01-04T06:38:23.000Z
2021-11-05T17:28:02.000Z
bayespy/utils/tests/test_misc.py
dungvtdev/upsbayescpm
f6ee877c689046d3c57a2ac06742cfe4a0b6550e
[ "MIT" ]
160
2015-02-16T15:30:43.000Z
2022-03-14T00:52:36.000Z
################################################################################ # Copyright (C) 2013 Jaakko Luttinen # # This file is licensed under the MIT License. ################################################################################ """ Unit tests for bayespy.utils.misc module. """ import unittest im...
32.545627
80
0.356388
1,592
17,119
3.771357
0.126884
0.012991
0.071952
0.086609
0.623251
0.572618
0.523817
0.493671
0.455696
0.430546
0
0.078026
0.511128
17,119
525
81
32.607619
0.639383
0.069105
0
0.55409
0
0
0.003779
0
0
0
0
0.001905
0.205805
1
0.026385
false
0.010554
0.015831
0
0.065963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d65b3ae9db9f669f24fe5f8904d09f18ade80dc9
693
py
Python
lib/utils/folderdeleter.py
RDCEP/hybrid-dile-server
c998432756ecf3a75c6339aa25d1c4a9866aa1e7
[ "Apache-2.0" ]
null
null
null
lib/utils/folderdeleter.py
RDCEP/hybrid-dile-server
c998432756ecf3a75c6339aa25d1c4a9866aa1e7
[ "Apache-2.0" ]
null
null
null
lib/utils/folderdeleter.py
RDCEP/hybrid-dile-server
c998432756ecf3a75c6339aa25d1c4a9866aa1e7
[ "Apache-2.0" ]
null
null
null
import boto import boto.s3 from misc import printProgress, pathLeaf idkeypath = '/home/ubuntu/.s3/AWS_ACCESS_KEY_ID' secretkeypath = '/home/ubuntu/.s3/AWS_SECRET_ACCESS_KEY' bucketname = 'edu-uchicago-rdcep-diles' folder = '' with open(idkeypath) as myfile: id_access_key = myfile.read().replace('\n',...
21.65625
57
0.727273
97
693
5.030928
0.505155
0.110656
0.092213
0.061475
0.110656
0.110656
0
0
0
0
0
0.008432
0.1443
693
32
58
21.65625
0.814503
0
0
0
0
0
0.223343
0.138329
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.173913
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c38a83e6b2c88a03120a4896e9b8292e72824900
1,186
py
Python
src/pybind.py
disenone/pybind
e63a849066596e25f489bac06a77ccc7ad41827f
[ "MIT" ]
null
null
null
src/pybind.py
disenone/pybind
e63a849066596e25f489bac06a77ccc7ad41827f
[ "MIT" ]
null
null
null
src/pybind.py
disenone/pybind
e63a849066596e25f489bac06a77ccc7ad41827f
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -* import os import sys import util def GetAllHeader(folder): files = [] for dirpath, dirnames, filenames in os.walk(folder): for file in filenames: if file.endswith('.h') or file.endswith('.hpp'): files.append(os.path.join(dirpath, file)) ...
28.238095
100
0.584317
134
1,186
5.097015
0.470149
0.043924
0.038067
0.043924
0
0
0
0
0
0
0
0.001217
0.306914
1,186
42
101
28.238095
0.829684
0.024452
0
0
0
0
0.035009
0
0
0
0
0.02381
0
1
0.133333
false
0
0.1
0
0.333333
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c38d8ac60747c245aab0ce791acabf2f1970e557
2,649
py
Python
vspace_utils/views.py
visualspace/django-vspace-utils
9bf86354f8dbcf8ee8c308345836f824e2cd7a63
[ "BSD-3-Clause" ]
null
null
null
vspace_utils/views.py
visualspace/django-vspace-utils
9bf86354f8dbcf8ee8c308345836f824e2cd7a63
[ "BSD-3-Clause" ]
null
null
null
vspace_utils/views.py
visualspace/django-vspace-utils
9bf86354f8dbcf8ee8c308345836f824e2cd7a63
[ "BSD-3-Clause" ]
null
null
null
import logging logger = logging.getLogger(__name__) from django.views.generic import TemplateView from django.utils.decorators import method_decorator from django.contrib.auth.decorators import login_required from django.template import RequestContext, Context, loader from django.http import HttpResponseServerError ...
31.164706
82
0.651944
294
2,649
5.792517
0.438776
0.02936
0.011744
0.012918
0.08808
0.08808
0.08808
0.08808
0.08808
0.08808
0
0.009036
0.248018
2,649
84
83
31.535714
0.845884
0.456776
0
0
0
0
0.092116
0.023419
0
0
0
0
0
1
0.103448
false
0
0.206897
0.034483
0.517241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c38df6c81925bf5c22b6fcfcfc835d261c43fac7
896
py
Python
Tests/test_validation_all_contacts_info.py
nprockaya/python_training
fe7643f59cc899ebd806d8b1747df0775e9fcf24
[ "Apache-2.0" ]
1
2021-02-10T12:48:58.000Z
2021-02-10T12:48:58.000Z
Tests/test_validation_all_contacts_info.py
nprockaya/python_training
fe7643f59cc899ebd806d8b1747df0775e9fcf24
[ "Apache-2.0" ]
null
null
null
Tests/test_validation_all_contacts_info.py
nprockaya/python_training
fe7643f59cc899ebd806d8b1747df0775e9fcf24
[ "Apache-2.0" ]
null
null
null
from Utils.string_utils import clear_spaces as clear def test_validation_all_contacts_info(app, db): ui_contacts_list = app.contact.get_contact_list() db_contacts_list = db.get_contact_list() assert len(ui_contacts_list) == len(db_contacts_list) for ui_contact in ui_contacts_list: db_contact =...
56
117
0.767857
139
896
4.517986
0.309353
0.100318
0.103503
0.159236
0.248408
0.098726
0.098726
0
0
0
0
0
0.146205
896
15
118
59.733333
0.820915
0
0
0
0
0
0
0
0
0
0
0
0.538462
1
0.076923
false
0
0.076923
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
c3968e4ef9d804ef0d6ab726de35f89bf44cf576
917
py
Python
abstract/test1.py
Vayne-Lover/Python
79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1
[ "Apache-2.0" ]
1
2016-07-14T06:16:58.000Z
2016-07-14T06:16:58.000Z
abstract/test1.py
Vayne-Lover/Python
79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1
[ "Apache-2.0" ]
null
null
null
abstract/test1.py
Vayne-Lover/Python
79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1
[ "Apache-2.0" ]
null
null
null
#!/usr/local/bin/python #fib=[0,1] #for i in range(0,8): # fib.append(fib[-2]+fib[-1]) #print fib #def fibs(n): # fib=[0,1] # for i in range(n-2): # fib.append(fib[-2]+fib[-1]) # return fib #print fibs(5) #def square(x): # 'Calculate x*x.' # return x*x ##print square._doc_ #help(square) #def inc(x): # x[0]=x[...
14.555556
34
0.561614
195
917
2.630769
0.292308
0.011696
0.019493
0.031189
0.128655
0.128655
0.062378
0
0
0
0
0.057819
0.17012
917
62
35
14.790323
0.616294
0.703381
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.266667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c39b867276d04175f6c88ecc9593614affbf2fda
12,208
py
Python
legacy/modUtils.py
andreagalle/pigcasso
e9b60fb595ba6bd2c402a5b4b16665d4d41fa748
[ "MIT" ]
null
null
null
legacy/modUtils.py
andreagalle/pigcasso
e9b60fb595ba6bd2c402a5b4b16665d4d41fa748
[ "MIT" ]
4
2020-06-13T09:17:15.000Z
2020-06-17T16:26:03.000Z
legacy/modUtils.py
andreagalle/pigcasso
e9b60fb595ba6bd2c402a5b4b16665d4d41fa748
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @author: a.grebert """ import draft as fct import numpy as np import string import time import os, sys, shutil import matplotlib.pyplot as plt from xml.dom.minidom import parse import xml.dom.minidom def time_stat(tstart): minutes, seconds= divmod(time.time()-tstart, 60) if minute...
30.984772
114
0.593627
1,666
12,208
4.258103
0.181273
0.020299
0.023259
0.031717
0.383986
0.346208
0.322949
0.264731
0.234564
0.220609
0
0.022403
0.246805
12,208
393
115
31.063613
0.749103
0.108044
0
0.223077
0
0
0.062153
0.007954
0
0
0
0
0
0
null
null
0
0.030769
null
null
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3a5ae7192b62bac66c1b709fe6b5e22475b2e41
1,599
py
Python
backend/flask-api/src/servicos/movimento_servico.py
lucasbibianot/inova-cnj-time16
e621d7027bd462d348e233ffd6ed88648c53704b
[ "Apache-2.0" ]
null
null
null
backend/flask-api/src/servicos/movimento_servico.py
lucasbibianot/inova-cnj-time16
e621d7027bd462d348e233ffd6ed88648c53704b
[ "Apache-2.0" ]
null
null
null
backend/flask-api/src/servicos/movimento_servico.py
lucasbibianot/inova-cnj-time16
e621d7027bd462d348e233ffd6ed88648c53704b
[ "Apache-2.0" ]
2
2020-10-19T22:03:31.000Z
2020-11-29T21:22:33.000Z
import re from ..entidades.modelo_fluxo import Movimento from ..persistencia.database import db from sqlalchemy.orm import aliased, load_only, Load, exc from flask_restful import abort from flask import Response import json def incluir_movimento(parametros): movimento = Movimento(**parametros) movimento.id_mo...
28.052632
122
0.703565
198
1,599
5.525253
0.343434
0.110603
0.146252
0.063071
0.223035
0.223035
0.223035
0.157221
0.109689
0.109689
0
0.006897
0.183865
1,599
56
123
28.553571
0.831418
0
0
0.184211
0
0
0.04065
0
0
0
0
0
0
1
0.157895
false
0
0.184211
0.078947
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3abc0a68a85157f3c2c372d3a89b0bb5b081f02
352
py
Python
main.py
DHRUV-CODER/Fortnite-Bot
65217baf85169797732ec046c7a5940f46ef9cc7
[ "MIT" ]
1
2021-03-07T10:17:09.000Z
2021-03-07T10:17:09.000Z
main.py
DHRUV-CODER/Fortnite-Bot
65217baf85169797732ec046c7a5940f46ef9cc7
[ "MIT" ]
2
2021-02-05T13:42:45.000Z
2021-02-05T13:43:25.000Z
main.py
DHRUV-CODER/Fortnite-Bot
65217baf85169797732ec046c7a5940f46ef9cc7
[ "MIT" ]
null
null
null
import os import environ import keep_alive from discord.ext import commands token = os.environ.get("TOKEN") bot = commands.Bot(command_prefix="") for filename in os.listdir("./cogs"): if filename.endswith(".py") and filename != "__init__.py": bot.load_extension(f'cogs.{filename[:-3]}') keep_alive.ke...
19.555556
62
0.693182
50
352
4.7
0.58
0.114894
0
0
0
0
0
0
0
0
0
0.003367
0.15625
352
17
63
20.705882
0.787879
0
0
0
0
0
0.128205
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c3b1a662429cdada1fb29fdf45e27e026c0bbcf8
7,337
py
Python
src/dataStructures/elmtree_jtray.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
1
2018-06-15T09:42:22.000Z
2018-06-15T09:42:22.000Z
src/dataStructures/elmtree_jtray.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
null
null
null
src/dataStructures/elmtree_jtray.py
tschalch/pyTray
ab26c7d4618c16f1ef6df45f7c8bae81f08f855b
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python2.4 """ tray_data provides the data for the tray GUI. It handles the XML data and provides the neccessary interfaces. """ import tray_data import logging from util.trayErrors import PropertyNotFoundError log = logging.getLogger("xml_jtray") log.setLevel(logging.WARN) class J...
42.166667
108
0.592885
660
7,337
6.543939
0.310606
0.039361
0.031952
0.009261
0.044918
0.031952
0
0
0
0
0
0.007046
0.303666
7,337
173
109
42.410405
0.838325
0.122666
0
0.053097
0
0
0.12563
0.02049
0
0
0
0
0
0
null
null
0
0.035398
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3b3565e61fd4a1d8b267a41d981a92c6d73f542
318
py
Python
lectures/slides_tex/example_sklearn.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
38
2019-12-23T13:14:53.000Z
2022-01-25T23:59:33.000Z
lectures/slides_tex/example_sklearn.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
null
null
null
lectures/slides_tex/example_sklearn.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
18
2020-02-10T20:43:39.000Z
2022-01-21T13:45:36.000Z
model = Model(**params) # Init a model with parameters. model.get_params() # Get model parameters. model.set_params(**params) # Set model parameters model.fit(X, y) # Fit the model with a dataset model.score(X, y) # Provides the score for the dataset. model.predict(X) # Make a prediction using fitted model.
53
59
0.72327
50
318
4.56
0.42
0.197368
0.175439
0
0
0
0
0
0
0
0
0
0.169811
318
6
60
53
0.863636
0.562893
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3b8c7827cbab7f0180e68f8f0d4f4b5ef34c2d4
1,902
py
Python
addNextMonth.py
David12312341/Carmelorto
d2a7fe6522940db1d4ee186c5ff335c03e3622da
[ "MIT" ]
null
null
null
addNextMonth.py
David12312341/Carmelorto
d2a7fe6522940db1d4ee186c5ff335c03e3622da
[ "MIT" ]
null
null
null
addNextMonth.py
David12312341/Carmelorto
d2a7fe6522940db1d4ee186c5ff335c03e3622da
[ "MIT" ]
null
null
null
import psycopg2 import calendar import sys import os # TODO: add ability to either add entire year or specific month from command line # TODO: Implement argparse to add functionality to CLI def addYear(cur,year): # Add the months of the specified year into the Database monthList = [] monthNameList = cale...
30.677419
155
0.609359
268
1,902
4.272388
0.402985
0.031441
0.026201
0.034935
0
0
0
0
0
0
0
0.014768
0.252366
1,902
61
156
31.180328
0.790436
0.307045
0
0.060606
0
0
0.208589
0.016871
0
0
0
0.016393
0
1
0.090909
false
0
0.121212
0
0.212121
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3bc911a72d3ea304b521b36a90bb52a8b6a530e
10,883
py
Python
devel/lib/python2.7/dist-packages/nav2d_msgs/msg/_LocalizedScan.py
pplankton/MRSLAM
0a16489a2cbd0c2d1511b506c540446cc670bde8
[ "MIT" ]
1
2021-05-17T11:13:01.000Z
2021-05-17T11:13:01.000Z
devel/lib/python2.7/dist-packages/nav2d_msgs/msg/_LocalizedScan.py
pplankton/MRSLAM
0a16489a2cbd0c2d1511b506c540446cc670bde8
[ "MIT" ]
null
null
null
devel/lib/python2.7/dist-packages/nav2d_msgs/msg/_LocalizedScan.py
pplankton/MRSLAM
0a16489a2cbd0c2d1511b506c540446cc670bde8
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from nav2d_msgs/LocalizedScan.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg import sensor_msgs.msg class LocalizedScan(genpy.Message): _md5sum = "...
39.147482
193
0.639989
1,525
10,883
4.384262
0.184918
0.029913
0.029614
0.025426
0.556087
0.556087
0.518247
0.509572
0.490428
0.475172
0
0.018629
0.230543
10,883
277
194
39.288809
0.779795
0.115961
0
0.5625
1
0.008929
0.288959
0.029477
0
0
0.001057
0
0
1
0.040179
false
0
0.022321
0
0.120536
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3c04babb354c41a1b5bfe232b2d3bb50a6a173a
5,568
py
Python
secpy256k1/utils.py
summa-tx/riemann-secp256k1
2013618902eadfab812813b3f93c159187de7a72
[ "MIT" ]
6
2019-01-09T18:59:00.000Z
2020-07-12T09:14:08.000Z
secpy256k1/utils.py
summa-tx/riemann-secp256k1
2013618902eadfab812813b3f93c159187de7a72
[ "MIT" ]
4
2019-01-12T19:16:26.000Z
2019-03-13T19:11:37.000Z
secpy256k1/utils.py
summa-tx/secpy256k1
2013618902eadfab812813b3f93c159187de7a72
[ "MIT" ]
2
2019-01-19T21:52:33.000Z
2019-01-23T10:48:57.000Z
import hashlib from _secpy256k1 import ffi def sha256(msg: bytes) -> bytes: return hashlib.sha256(msg).digest() def validate_cdata_type(value, type_str, err_msg, null_flag=False): '''Checks that value is a valid ffi CData type. Args: value (ffi.CData): value to check type_str ...
32.184971
79
0.596983
661
5,568
4.897126
0.142209
0.024096
0.029657
0.07785
0.318814
0.283905
0.206982
0.193698
0.069818
0.069818
0
0.034722
0.327586
5,568
172
80
32.372093
0.829861
0.521552
0
0.241379
0
0
0.234531
0.063176
0
0
0
0
0
1
0.224138
false
0
0.034483
0.017241
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c3c2d5bd4cb2951c2a4329f8a2068be5bb546f68
116,610
py
Python
scripts/analytics_tests.py
rombie/contrail-test
a68c71d6f282142501a7e2e889bbb232fdd82dc3
[ "Apache-2.0" ]
null
null
null
scripts/analytics_tests.py
rombie/contrail-test
a68c71d6f282142501a7e2e889bbb232fdd82dc3
[ "Apache-2.0" ]
null
null
null
scripts/analytics_tests.py
rombie/contrail-test
a68c71d6f282142501a7e2e889bbb232fdd82dc3
[ "Apache-2.0" ]
null
null
null
# Need to import path to test/fixtures and test/scripts/ # Ex : export PYTHONPATH='$PATH:/root/test/fixtures/:/root/test/scripts/' # # To run tests, you can do 'python -m testtools.run tests'. To run specific tests, # You can do 'python -m testtools.run -l tests' # Set the env variable PARAMS_FILE to point to your ini ...
42.021622
334
0.534911
13,577
116,610
4.362451
0.053841
0.038832
0.031437
0.018572
0.711273
0.663003
0.622364
0.581117
0.53852
0.517415
0
0.012942
0.37381
116,610
2,774
335
42.03677
0.798192
0.047826
0
0.631028
0
0
0.112705
0.003774
0.002275
0
0
0
0.002275
0
null
null
0.022748
0.007734
null
null
0.014104
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3c46544743c479d3ac35edcaaac5e3250bc57a9
309
py
Python
constants.py
Ictcmn/canarytokens
a9fb97929bcec8643b02a8be34fca7d525a382b8
[ "BSD-3-Clause" ]
1
2021-01-09T16:27:23.000Z
2021-01-09T16:27:23.000Z
constants.py
Ictcmn/canarytokens
a9fb97929bcec8643b02a8be34fca7d525a382b8
[ "BSD-3-Clause" ]
null
null
null
constants.py
Ictcmn/canarytokens
a9fb97929bcec8643b02a8be34fca7d525a382b8
[ "BSD-3-Clause" ]
null
null
null
OUTPUT_CHANNEL_EMAIL = 'Email' OUTPUT_CHANNEL_WEBHOOK = 'Webhook' OUTPUT_CHANNEL_TWILIO_SMS = 'TwilioSMS' INPUT_CHANNEL_HTTP = 'HTTP' INPUT_CHANNEL_DNS = 'DNS' INPUT_CHANNEL_IMGUR = 'Imgur' INPUT_CHANNEL_LINKEDIN = 'LinkedIn' INPUT_CHANNEL_BITCOIN = 'Bitcoin' INPUT_CHANNEL_SMTP = 'SMTP'
25.75
41
0.757282
37
309
5.810811
0.378378
0.334884
0
0
0
0
0
0
0
0
0
0
0.15534
309
11
42
28.090909
0.823755
0
0
0
0
0
0.168831
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3c71ec1d1a7678bdcaa0e51dcb4f75be92aa874
555
py
Python
cartbox/cart/urls.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
cartbox/cart/urls.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
cartbox/cart/urls.py
bayersglassey/cartbox
579072eea7970ba56111e2d815aff83cea522502
[ "BSD-2-Clause" ]
null
null
null
from django.conf.urls import url, include from django.contrib.auth.decorators import login_required from . import views urlpatterns = [ url(r'^shop/$', login_required(views.ShopView.as_view()), name='shop'), url(r'^order/(?P<pk>\d+)/$', login_required(views.OrderView.as_view()), ...
27.75
57
0.630631
68
555
4.985294
0.441176
0.19174
0.212389
0
0
0
0
0
0
0
0
0
0.2
555
19
58
29.210526
0.763514
0
0
0
0
0
0.144144
0
0
0
0
0
0
1
0
false
0
0.176471
0
0.176471
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c3c8a799dcbacef22d4252dc752a00db83b2fca3
5,699
py
Python
cournot_v6.py
Lkruitwagen/Cournot
4a6defc19e18774dc61f1e2c3a6bd0baff2dc00e
[ "MIT" ]
1
2020-04-08T14:25:04.000Z
2020-04-08T14:25:04.000Z
cournot_v6.py
Lkruitwagen/Cournot
4a6defc19e18774dc61f1e2c3a6bd0baff2dc00e
[ "MIT" ]
1
2018-11-13T10:58:35.000Z
2018-11-13T10:58:35.000Z
cournot_v6.py
Lkruitwagen/Cournot
4a6defc19e18774dc61f1e2c3a6bd0baff2dc00e
[ "MIT" ]
null
null
null
from scipy import optimize,arange from math import * import sys import csv import numpy as np import matplotlib.pyplot as plt #matplotlib inline #vectorised 2P-3T cournot now using basinhopping #1. get in the data, etc. ... CHECK! #2. make arbitrary to nxm ... CHECK! #3. make investment game ... v7 #4. div;expl #vec...
30.31383
210
0.589402
1,039
5,699
3.133782
0.218479
0.013514
0.038698
0.023649
0.363022
0.344902
0.324324
0.278256
0.237715
0.234029
0
0.069134
0.208107
5,699
188
211
30.31383
0.652338
0.350061
0
0.10989
0
0
0.041804
0.009901
0
0
0
0
0
0
null
null
0
0.065934
null
null
0.175824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3d5a67f41392b8dc06d5a7cc08dc3a0e34cb81f
3,006
py
Python
apps/organizations/models.py
WeiSanJin/MxOnline
e210030a00d7837c135504be618ac3744f8e4356
[ "MIT" ]
1
2021-04-05T14:43:25.000Z
2021-04-05T14:43:25.000Z
apps/organizations/models.py
WeiSanJin/MxOnline
e210030a00d7837c135504be618ac3744f8e4356
[ "MIT" ]
null
null
null
apps/organizations/models.py
WeiSanJin/MxOnline
e210030a00d7837c135504be618ac3744f8e4356
[ "MIT" ]
null
null
null
from django.db import models from apps.users.models import BaseModel from DjangoUeditor.models import UEditorField # 城市 class City(BaseModel): name = models.CharField(max_length=20, verbose_name="城市") desc = models.CharField(max_length=200, verbose_name="描述") class Meta: verbose_name = "城市" ...
36.216867
105
0.683965
380
3,006
5.197368
0.313158
0.189367
0.054684
0.072911
0.312911
0.246582
0.195443
0.078987
0.078987
0.078987
0
0.018025
0.187957
3,006
82
106
36.658537
0.791069
0.039255
0
0.218182
0
0
0.06362
0.015817
0
0
0
0
0
1
0.109091
false
0
0.054545
0.090909
0.836364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3d61a440169344b03bc906eb1309f1deef4bcc6
3,011
py
Python
hive-watcher/simple-watcher.py
Podcastindex-org/podping.cloud
58f92aa82dfbe232a411aea9609527904d1259cb
[ "MIT" ]
24
2021-04-26T23:45:45.000Z
2022-03-14T02:00:27.000Z
hive-watcher/simple-watcher.py
Podcastindex-org/podping.cloud
58f92aa82dfbe232a411aea9609527904d1259cb
[ "MIT" ]
23
2021-04-26T22:23:05.000Z
2022-02-22T13:19:32.000Z
hive-watcher/simple-watcher.py
brianoflondon/podping.cloud
df7e5b37fb4881d1fa618accefa2b89e69dfb8fc
[ "MIT" ]
7
2021-05-06T09:17:15.000Z
2021-11-05T18:12:04.000Z
# simple-watcher.py # # Simple version of Hive Podping watcher - no options, just runs # The only external library needed is "beem" - pip install beem # Beem is the official Hive accessing library for Python. # # Version 1.1 from datetime import datetime, timedelta from typing import Set import json import beem from ...
33.455556
97
0.678512
413
3,011
4.811138
0.42615
0.020131
0.018118
0.014092
0.031203
0.031203
0
0
0
0
0
0.003918
0.237131
3,011
89
98
33.831461
0.861123
0.401528
0
0.045455
0
0
0.056883
0.012514
0
0
0
0.011236
0
1
0.090909
false
0
0.136364
0
0.318182
0.068182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3d93f125dc752ce5954d77d93adc145bfc38790
1,109
py
Python
drfpasswordless/urls.py
saazengineering/django-rest-framework-passwordless
2e8064f3576ab7cabf920fac4951c5ac9245c64a
[ "MIT" ]
null
null
null
drfpasswordless/urls.py
saazengineering/django-rest-framework-passwordless
2e8064f3576ab7cabf920fac4951c5ac9245c64a
[ "MIT" ]
null
null
null
drfpasswordless/urls.py
saazengineering/django-rest-framework-passwordless
2e8064f3576ab7cabf920fac4951c5ac9245c64a
[ "MIT" ]
null
null
null
from django.urls import path from drfpasswordless.views import ( ObtainEmailCallbackToken, ObtainMobileCallbackToken, ObtainAuthTokenFromCallbackToken, ObtainAuthTokenFromRefreshToken, VerifyAliasFromCallbackToken, ObtainEmailVerificationCallbackToken, ObtainMobileVerificationCallback...
50.409091
113
0.766456
102
1,109
8.196078
0.421569
0.050239
0.083732
0.066986
0
0
0
0
0
0
0
0
0.12083
1,109
21
114
52.809524
0.857436
0.360685
0
0
0
0
0.136364
0
0
0
0
0
0
1
0
false
0.0625
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c3dbca87e6402740e668135efd6e80f605bace9f
3,249
py
Python
mlinversion/mlinversion/bootstraptests.py
uofuseismo/YPMLRecalibration
18a4231eb12775cf808d83d38a11cc02664b3e35
[ "MIT" ]
null
null
null
mlinversion/mlinversion/bootstraptests.py
uofuseismo/YPMLRecalibration
18a4231eb12775cf808d83d38a11cc02664b3e35
[ "MIT" ]
null
null
null
mlinversion/mlinversion/bootstraptests.py
uofuseismo/YPMLRecalibration
18a4231eb12775cf808d83d38a11cc02664b3e35
[ "MIT" ]
2
2021-09-02T17:19:22.000Z
2021-12-23T00:14:51.000Z
""" Regularisation Tests This file contains a set of functions that were used to test and optimise the effects of regularisation. This file can also be imported as a module and contains the following functions: * func() Blurb about func. """ import os import numpy as np from copy import deepcopy from ty...
28.252174
100
0.564174
379
3,249
4.720317
0.358839
0.019564
0.049189
0.038569
0.178871
0.145333
0.145333
0.102851
0.083846
0.083846
0
0.006831
0.3241
3,249
114
101
28.5
0.807832
0.202524
0
0.19697
0
0
0.044269
0
0
0
0
0.035088
0
1
0.045455
false
0.015152
0.136364
0
0.242424
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3e08f45a7325555562cd081380f71ba2b964a18
1,856
py
Python
watcher/decision_engine/model/element/volume.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
64
2015-10-18T02:57:24.000Z
2022-01-13T11:27:51.000Z
watcher/decision_engine/model/element/volume.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
null
null
null
watcher/decision_engine/model/element/volume.py
ajaytikoo/watcher
6dbac1f6ae7f3e10dfdcef5721fa4af7af54e159
[ "Apache-2.0" ]
35
2015-12-25T13:53:21.000Z
2021-07-19T15:50:16.000Z
# -*- encoding: utf-8 -*- # Copyright 2017 NEC Corporation # # 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 ...
32.561404
75
0.716595
217
1,856
6.059908
0.608295
0.045627
0.019772
0.024335
0
0
0
0
0
0
0
0.006579
0.181034
1,856
56
76
33.142857
0.858553
0.346444
0
0
0
0
0.157322
0
0
0
0
0
0
1
0.032258
false
0
0.129032
0
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3e1a2988c6085b4d424ff4fea8df316b6870432
2,916
py
Python
service/plugins/sqlite/randQuery.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
1
2020-04-23T08:11:40.000Z
2020-04-23T08:11:40.000Z
service/plugins/sqlite/randQuery.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
null
null
null
service/plugins/sqlite/randQuery.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
null
null
null
# File: randQuery.py import random import string # TODO: # sqlite FTS expressions should be extended with count(*), 'order by', 'group by' etc. class Randomize: def __init__(self): self.map = {} def getRandNum(self, minRange, maxRange): return random.randint(minRange, maxRange) def getRandString(self): s...
29.16
120
0.6869
353
2,916
5.634561
0.308782
0.042232
0.064354
0.027149
0.05631
0.034188
0
0
0
0
0
0.009996
0.176612
2,916
99
121
29.454545
0.818409
0.108711
0
0.065789
0
0
0.023938
0
0
0
0
0.010101
0
1
0.157895
false
0
0.026316
0.013158
0.434211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3ee32e700e90fe20b3a4bc575d2c268c9537e30
1,190
py
Python
gui.py
gabrielmontagne/Blender_Screenwriter
224524a11bee544bd9187521930c9809eb87efad
[ "MIT" ]
null
null
null
gui.py
gabrielmontagne/Blender_Screenwriter
224524a11bee544bd9187521930c9809eb87efad
[ "MIT" ]
null
null
null
gui.py
gabrielmontagne/Blender_Screenwriter
224524a11bee544bd9187521930c9809eb87efad
[ "MIT" ]
null
null
null
import bpy class SCREENWRITER_PT_panel(bpy.types.Panel): """Preview fountain script as formatted screenplay""" bl_label = "Screenwriter" bl_space_type = 'TEXT_EDITOR' bl_region_type = 'UI' bl_category = "Text" def draw(self, context): layout = self.layout layout.use_property_sp...
31.315789
76
0.691597
146
1,190
5.369863
0.40411
0.063776
0.068878
0.045918
0.170918
0.170918
0.170918
0.170918
0.170918
0.170918
0
0
0.194958
1,190
37
77
32.162162
0.818372
0.065546
0
0.285714
0
0
0.207084
0.078111
0
0
0
0
0
1
0.107143
false
0
0.035714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c3f31e8c5d6c5dd950e94f91051ce5f31a7f7b3e
3,350
py
Python
test/dlc_tests/ec2/test_smdebug.py
Elizaaaaa/deep-learning-containers
6274ecb264645070d11b27e5c7e60d2e4110537d
[ "Apache-2.0" ]
1
2021-07-14T20:13:12.000Z
2021-07-14T20:13:12.000Z
test/dlc_tests/ec2/test_smdebug.py
Elizaaaaa/deep-learning-containers
6274ecb264645070d11b27e5c7e60d2e4110537d
[ "Apache-2.0" ]
null
null
null
test/dlc_tests/ec2/test_smdebug.py
Elizaaaaa/deep-learning-containers
6274ecb264645070d11b27e5c7e60d2e4110537d
[ "Apache-2.0" ]
null
null
null
import os import pytest from test.test_utils import CONTAINER_TESTS_PREFIX, LOGGER, is_tf2, is_tf1 from test.test_utils.ec2 import get_ec2_instance_type SMDEBUG_SCRIPT = os.path.join(CONTAINER_TESTS_PREFIX, "testSmdebug") SMDEBUG_EC2_GPU_INSTANCE_TYPE = get_ec2_instance_type(default="p3.8xlarge", processor="gpu")...
39.411765
119
0.720299
464
3,350
4.967672
0.306034
0.052061
0.032538
0.046855
0.467245
0.356616
0.327983
0.241215
0.241215
0.241215
0
0.020187
0.17194
3,350
84
120
39.880952
0.810743
0.077015
0
0.190476
0
0.015873
0.28701
0.031746
0
0
0
0.011905
0.015873
1
0.063492
false
0
0.063492
0
0.15873
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c3f6fa374d87044012bcad96f7cc39ff50d9b5cb
696
py
Python
setnw.py
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
setnw.py
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
setnw.py
drewnoakes/bold-humanoid
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import ConfigParser if len(sys.argv) < 2: print 'Give ESSID' exit(1) config = ConfigParser.RawConfigParser() config.read(r'/etc/wicd/wireless-settings.conf') sectionName = 'essid:' + sys.argv[1] print config.sections() print 'Section name: ' + sectionName if not sectionNa...
21.75
67
0.718391
95
696
5.263158
0.526316
0.084
0.032
0.064
0.112
0.112
0
0
0
0
0
0.008489
0.153736
696
31
68
22.451613
0.840407
0.145115
0
0
0
0
0.239865
0.108108
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c3fc2587fec4910ae12bfcd023ddcfd1f0a5bc93
676
py
Python
utils/validate_password.py
devanshamin/Vault-Plus
67ef8bab0278977bb5d2e9fd4e6328ef120b47c7
[ "MIT" ]
null
null
null
utils/validate_password.py
devanshamin/Vault-Plus
67ef8bab0278977bb5d2e9fd4e6328ef120b47c7
[ "MIT" ]
null
null
null
utils/validate_password.py
devanshamin/Vault-Plus
67ef8bab0278977bb5d2e9fd4e6328ef120b47c7
[ "MIT" ]
null
null
null
import re from typing import Text, Any def pvalidate(pwd: Text) -> Any: """Validate the user's password. Args: pwd: User's password. Returns: None if password is valid else the problem. """ if len(pwd) < 8: prb = "Make sure your password is at least 8 letters" elif ...
30.727273
68
0.600592
106
676
3.830189
0.424528
0.068966
0.108374
0.147783
0.41133
0.35468
0.35468
0.35468
0.35468
0.35468
0
0.008421
0.297337
676
22
69
30.727273
0.846316
0.176036
0
0
0
0
0.390892
0
0
0
0
0
0
1
0.071429
false
0.285714
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c3fe000b1019a26268d9d118eed183db105873c1
2,030
py
Python
src/art_name_generator.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
40
2021-09-10T15:36:41.000Z
2022-03-12T21:02:28.000Z
src/art_name_generator.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
1
2022-01-27T14:57:23.000Z
2022-01-27T14:57:23.000Z
src/art_name_generator.py
Temur0414/machine-psychology-python-art
ec6dfa4270e463d93976d9cd18cd57f1426d00d9
[ "MIT" ]
16
2021-10-03T19:23:57.000Z
2022-03-06T21:27:35.000Z
import openai import os def _new_example(c1: str, c2: str, name: str): return f"[{c1}, {c2}]: {name} #" def generate_name_with_retry( start_color: str, end_color: str, name_set: set = None, max_retry: int = 3 ): for _ in range(max_retry): name = generate_name(start_color, end_color, name_set=nam...
29.42029
78
0.593103
265
2,030
4.350943
0.45283
0.069384
0.041631
0.027754
0.093669
0.065915
0.065915
0.065915
0.065915
0.065915
0
0.010246
0.278818
2,030
68
79
29.852941
0.777322
0.011823
0
0.037037
1
0
0.228044
0
0
0
0
0
0
1
0.055556
false
0
0.037037
0.018519
0.203704
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f00f2f63bc7e222a107cf0dc06e3426985a2b64
486
py
Python
apps/board/migrations/0002_auto_20190112_1938.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
16
2017-11-30T09:52:57.000Z
2022-01-11T17:49:39.000Z
apps/board/migrations/0002_auto_20190112_1938.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
68
2019-01-05T08:09:18.000Z
2021-06-25T15:17:39.000Z
apps/board/migrations/0002_auto_20190112_1938.py
anonim-legivon/picoboard
801064126ccc88c13703b36e0d7c33ddb831c443
[ "MIT" ]
2
2021-10-30T23:27:39.000Z
2022-03-01T12:55:03.000Z
# Generated by Django 2.1.5 on 2019-01-12 09:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('board', '0001_squashed_0007_auto_20190112_1836'), ] operations = [ migrations.AlterField( model_name='file', name='fu...
25.578947
73
0.592593
51
486
5.470588
0.843137
0
0
0
0
0
0
0
0
0
0
0.112426
0.304527
486
18
74
27
0.713018
0.092593
0
0
1
0
0.170843
0.084282
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f1319d6d309450afe662dd106db64ec2c512851
2,279
py
Python
prototypes/harvesters/updated_mml_harvester.py
materials-data-facility/connect
9ec5b61750bf6fa579bf3ec122f31880d3c049b8
[ "Apache-2.0" ]
1
2019-09-13T18:35:56.000Z
2019-09-13T18:35:56.000Z
prototypes/harvesters/updated_mml_harvester.py
materials-data-facility/connect_server
9ec5b61750bf6fa579bf3ec122f31880d3c049b8
[ "Apache-2.0" ]
15
2018-11-01T18:08:11.000Z
2021-12-06T17:55:03.000Z
prototypes/harvesters/updated_mml_harvester.py
materials-data-facility/connect
9ec5b61750bf6fa579bf3ec122f31880d3c049b8
[ "Apache-2.0" ]
1
2020-11-30T17:02:41.000Z
2020-11-30T17:02:41.000Z
import json import os import shutil import requests def harvest(out_dir, index=None, existing_dir=0, verbose=False): """Collects available data from NIST's MML and saves to the given directory Arguments: out_dir (str): The path to the directory (which will be created) for the data files. ind...
36.174603
96
0.600263
284
2,279
4.690141
0.387324
0.063063
0.039039
0.051802
0.16967
0.09009
0.09009
0.09009
0.09009
0.09009
0
0.007472
0.295305
2,279
62
97
36.758065
0.821918
0.0509
0
0.108108
0
0
0.194319
0
0
0
0
0
0
0
null
null
0
0.108108
null
null
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f1e1e58324d965d4cfbe921e5ddeef6d3149b64
1,247
py
Python
Important/decorator_example2.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
2
2020-10-19T05:22:43.000Z
2020-10-19T06:01:28.000Z
Important/decorator_example2.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
null
null
null
Important/decorator_example2.py
jason71319jason/Interview-solved
42ca93a68475952753d185c325cb55c79e2e55e1
[ "MIT" ]
null
null
null
# decorator as a function # decorator to add functionality to func along with uneven arguments def decorator_function(original_function): def wrapper(*args, **kwargs): # adding *args **kwargs makes it take any no of arguments print "\nexecuting inside of Decorator Function: {}".format(original_function.__na...
30.414634
97
0.728148
161
1,247
5.416149
0.279503
0.146789
0.091743
0.061927
0.387615
0.31422
0.31422
0.31422
0.31422
0.31422
0
0.003872
0.171612
1,247
41
98
30.414634
0.840271
0.170008
0
0.592593
0
0
0.216505
0
0
0
0
0
0
0
null
null
0
0
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f23cd5011dad7b6cfaa8bd1a98b4bf52685a6b0
682
py
Python
templates/bind-config.py
bartv/dns-config
1c073ae83f6d3f0dccb647aefc4513c3724b6f54
[ "MIT" ]
null
null
null
templates/bind-config.py
bartv/dns-config
1c073ae83f6d3f0dccb647aefc4513c3724b6f54
[ "MIT" ]
null
null
null
templates/bind-config.py
bartv/dns-config
1c073ae83f6d3f0dccb647aefc4513c3724b6f54
[ "MIT" ]
null
null
null
# Licensed under the MIT license # Copyright 2007, Bart Vanbrabant <bart@ulyssis.org> result = "// Auto generated from ldap at %s\n" % datetime.datetime.now().strftime("%d/%m/%Y -- %H:%M") result += "// vim: ft=named\n\n" for zone in zones: name = zone.get_zonename() if (zone.is_zoneonly()): co...
31
103
0.536657
94
682
3.861702
0.553191
0.022039
0.016529
0
0
0
0
0
0
0
0
0.007782
0.246334
682
21
104
32.47619
0.698444
0.118768
0
0
1
0
0.306533
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
612ee78203b78877aafd025f59ff4c87c7df5824
2,050
py
Python
oauth2_jwtprofile.py
ReiknistofaBankanna/oauth2-jwtprofile-python
ef2f7ed3d4dce4c8b5978886264fafbca55fe70a
[ "MIT" ]
null
null
null
oauth2_jwtprofile.py
ReiknistofaBankanna/oauth2-jwtprofile-python
ef2f7ed3d4dce4c8b5978886264fafbca55fe70a
[ "MIT" ]
null
null
null
oauth2_jwtprofile.py
ReiknistofaBankanna/oauth2-jwtprofile-python
ef2f7ed3d4dce4c8b5978886264fafbca55fe70a
[ "MIT" ]
null
null
null
import sys import urllib.request import urllib.parse import json import jwt import uuid import datetime import cryptography from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.serialization import load_pem_private_key from cryptography.hazmat.primitives import serialization, has...
31.060606
206
0.691707
270
2,050
5.114815
0.403704
0.035482
0.047791
0.046343
0.060825
0.060825
0.060825
0.060825
0.060825
0.060825
0
0.0172
0.177561
2,050
66
207
31.060606
0.801898
0
0
0.074074
0
0
0.127743
0.036568
0
0
0
0
0.018519
1
0.037037
false
0.12963
0.203704
0
0.277778
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
613350459deaf4cd7dc957354999d29e93615ef0
2,400
py
Python
part4.py
sajith2019048/my-second-program
cd78c96704fd47654890900c009c172d77285392
[ "MIT" ]
null
null
null
part4.py
sajith2019048/my-second-program
cd78c96704fd47654890900c009c172d77285392
[ "MIT" ]
null
null
null
part4.py
sajith2019048/my-second-program
cd78c96704fd47654890900c009c172d77285392
[ "MIT" ]
null
null
null
#create veriable........ cr_pass=0##insert veriables defer=0##insert veriables fail=0##insert veriables choice=0#staff choice. count1=0#$$$counting "Progress" count2=0#$$$counting "Trailing" count3=0#$$$counting "Excluded" count4=0#$$$counting "Retriever" total=0#@@@@all counting values total t1=0#"Progres...
32.432432
117
0.4875
293
2,400
3.982935
0.334471
0.020566
0.041131
0.043702
0.077121
0
0
0
0
0
0
0.045797
0.28125
2,400
73
118
32.876712
0.630145
0.209167
0
0.052632
0
0
0.324791
0.093593
0
0
0
0
0
1
0
false
0.070175
0
0
0
0.22807
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
613736246f4205c16ec810c7604bde7e0bc2ad3e
1,435
py
Python
calvinextras/calvinsys/io/rfid/raspberry_pi/PIGPIORFID.py
gabrielcercel/calvin-base
c0315f100643230d65aed1745e1c22df3e7a7c2c
[ "Apache-2.0" ]
334
2015-06-04T15:14:28.000Z
2022-02-09T11:14:17.000Z
calvinextras/calvinsys/io/rfid/raspberry_pi/PIGPIORFID.py
gabrielcercel/calvin-base
c0315f100643230d65aed1745e1c22df3e7a7c2c
[ "Apache-2.0" ]
89
2015-06-13T19:15:35.000Z
2019-12-03T19:23:20.000Z
calvinextras/calvinsys/io/rfid/raspberry_pi/PIGPIORFID.py
gabrielcercel/calvin-base
c0315f100643230d65aed1745e1c22df3e7a7c2c
[ "Apache-2.0" ]
112
2015-06-06T19:16:54.000Z
2020-10-19T01:27:55.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2017 Ericsson AB # # 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 ...
28.7
74
0.705923
195
1,435
5.097436
0.579487
0.060362
0.056338
0.032193
0
0
0
0
0
0
0
0.021071
0.206272
1,435
49
75
29.285714
0.851624
0.4
0
0.181818
0
0
0.012626
0
0
0
0
0
0
0
null
null
0.045455
0.181818
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
614784716577e5dd872b37fdcf3f9913cb77fa39
242
py
Python
Hash_Encryption/learn_hash.py
KECB/learn
5b52c5c3ac640dd2a9064c33baaa9bc1885cf15f
[ "MIT" ]
2
2017-09-25T04:29:59.000Z
2018-11-04T09:53:59.000Z
Hash_Encryption/learn_hash.py
KECB/learn
5b52c5c3ac640dd2a9064c33baaa9bc1885cf15f
[ "MIT" ]
null
null
null
Hash_Encryption/learn_hash.py
KECB/learn
5b52c5c3ac640dd2a9064c33baaa9bc1885cf15f
[ "MIT" ]
null
null
null
def bkdr_hash(code): seed = 131 # 通常使用素数, 31, 131, 1313, 13131, 131313 等 hash_result = 0 for i in range(len(code)): hash_result = (hash_result * seed) + ord(code[i]) return hash_result print(bkdr_hash('JKiidalk'))
22
57
0.632231
37
242
3.972973
0.621622
0.272109
0
0
0
0
0
0
0
0
0
0.130435
0.239669
242
10
58
24.2
0.668478
0.157025
0
0
0
0
0.039801
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
616298ee15060701f29d812b70019b35885dd80a
550
py
Python
Chapter14/config_parser_read.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
6
2017-05-17T17:51:45.000Z
2021-11-08T13:10:35.000Z
Chapter14/config_parser_read.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
null
null
null
Chapter14/config_parser_read.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
14
2017-05-21T17:59:40.000Z
2021-10-02T16:58:16.000Z
#!/usr/bin/python3 import configparser if __name__ == "__main__": # initialize ConfigParser config_parser = configparser.ConfigParser() # Let's read the config file config_parser.read('raspi.cfg') device_id = config_parser.get('AppInfo', 'id') debug_switch = config_parser.get('AppInfo', 'debug_switch') senso...
26.190476
64
0.736364
75
550
5.106667
0.413333
0.156658
0.117493
0.172324
0
0
0
0
0
0
0
0.002123
0.143636
550
20
65
27.5
0.81104
0.205455
0
0
0
0
0.252315
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6169a29f451a12cc8e1ba3235f472011542270b8
6,388
py
Python
appengine/gce-backend/models.py
Swift1313/luci-py
0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4
[ "Apache-2.0" ]
null
null
null
appengine/gce-backend/models.py
Swift1313/luci-py
0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4
[ "Apache-2.0" ]
null
null
null
appengine/gce-backend/models.py
Swift1313/luci-py
0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. """Datastore model for GCE Backend.""" from google.appengine.ext import ndb from google.appengine.ext.ndb import msgprop from components.machine...
42.304636
79
0.770664
822
6,388
5.940389
0.243309
0.056523
0.083555
0.100963
0.384395
0.272578
0.164653
0.139873
0.094204
0.077002
0
0.001863
0.159518
6,388
150
80
42.586667
0.907618
0.539292
0
0.057692
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.942308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
61834390d44ad5f3b9dd369dbaaec75a4acc533c
363
py
Python
intro/part05-03_go/src/go.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part05-03_go/src/go.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part05-03_go/src/go.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
# Write your solution here def who_won(game_board: list): score1 = 0 score2 = 0 for row in game_board: for square in row: if square == 1: score1 += 1 if square == 2: score2 += 1 if score1 > score2: return 1 elif score1 <score2: ...
22.6875
30
0.490358
46
363
3.804348
0.5
0.102857
0.205714
0
0
0
0
0
0
0
0
0.084158
0.443526
363
16
31
22.6875
0.782178
0.066116
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.266667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
618ade09c95d4239170873da2e9d324707a951ba
3,115
py
Python
gym_reinmav/envs/mujoco/mujoco_quad.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
60
2019-03-08T21:14:38.000Z
2022-01-23T20:43:21.000Z
gym_reinmav/envs/mujoco/mujoco_quad.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
8
2019-03-09T09:09:38.000Z
2022-03-25T15:36:51.000Z
gym_reinmav/envs/mujoco/mujoco_quad.py
peterminh227/reinmav-gym
518122b16b86d59f744b3116e6187dafd49a3de4
[ "BSD-3-Clause" ]
22
2019-03-08T19:47:49.000Z
2022-03-29T09:14:01.000Z
# ********************************************************************** # # Copyright (c) 2019, Autonomous Systems Lab # Author: Dongho Kang <eastsky.kang@gmail.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # ...
36.647059
80
0.669342
418
3,115
4.88756
0.478469
0.019579
0.016642
0.022516
0.090064
0.066569
0.066569
0.066569
0.066569
0.066569
0
0.006486
0.208026
3,115
85
81
36.647059
0.821646
0.551204
0
0.055556
0
0
0.0211
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.083333
0.527778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
61968ddb7de4d43cb380b5c4ce7a1cead3ca1554
1,582
py
Python
tool/macvima.py
MrWhiteSoul/WannaTool
78df7eee605367d04e3e77bfa5865afda680eb4f
[ "MIT" ]
70
2020-04-10T09:50:57.000Z
2022-03-31T23:26:46.000Z
tool/macvima.py
Acc3ssGr4nt3d/WannaTool
5aba765597f35e221e619c231890fb3af9fc156e
[ "MIT" ]
1
2021-12-12T12:20:17.000Z
2021-12-12T12:22:31.000Z
tool/macvima.py
Acc3ssGr4nt3d/WannaTool
5aba765597f35e221e619c231890fb3af9fc156e
[ "MIT" ]
19
2020-04-10T06:26:56.000Z
2022-03-20T03:08:54.000Z
import os, sys R = '\x1b[1;31m' N = '\x1b[0m' Y = '\x1b[1;33m' G = '\x1b[1;37m' print '%s+---------------------------------------------------+%s' % (R, N) print '%s||[#]%s--------------%s[ VBug Maker ]%s---------------%s[#]||%s' % (Y, R, Y, R, Y, N) print '%s||%s |___________%s[ Simple Virus Maker ]%s____________|%s ||...
51.032258
132
0.487358
282
1,582
2.524823
0.205674
0.115169
0.08427
0.05618
0.564607
0.491573
0.462079
0.452247
0.384831
0.384831
0
0.01171
0.190265
1,582
30
133
52.733333
0.544106
0
0
0.366667
0
0.033333
0.53287
0.138432
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
61982cacdc8a6976367345bdb3009678a7eb11ca
704
py
Python
plynx/utils/executor.py
khaxis/plynx
20768470261fc5f29cb660c815c479b49765b2fe
[ "Apache-2.0" ]
137
2018-11-14T07:13:33.000Z
2020-02-03T12:32:35.000Z
plynx/utils/executor.py
khaxis/plynx
20768470261fc5f29cb660c815c479b49765b2fe
[ "Apache-2.0" ]
10
2019-01-11T21:51:14.000Z
2020-01-30T01:29:22.000Z
plynx/utils/executor.py
khaxis/plynx
20768470261fc5f29cb660c815c479b49765b2fe
[ "Apache-2.0" ]
11
2018-11-14T15:05:54.000Z
2019-09-09T15:45:49.000Z
"""Utils to work with executors""" from typing import Any, Dict import plynx.db.node import plynx.utils.exceptions import plynx.utils.plugin_manager def materialize_executor(node_dict: Dict[str, Any]): """ Create a Node object from a dictionary Parameters: node_dict (dict): dictionary representation...
27.076923
97
0.705966
98
704
4.94898
0.428571
0.082474
0.045361
0.094845
0
0
0
0
0
0
0
0
0.197443
704
25
98
28.16
0.858407
0.271307
0
0
0
0
0.069328
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
61a374a8f30ac135dfdea6d33f444e83e80642d0
351
py
Python
cmz/cms_news/templatetags/cms_news.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
1
2016-10-01T18:35:24.000Z
2016-10-01T18:35:24.000Z
cmz/cms_news/templatetags/cms_news.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
8
2016-09-14T21:39:09.000Z
2016-10-25T20:08:31.000Z
cmz/cms_news/templatetags/cms_news.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
null
null
null
from django import template from ..models import News register = template.Library() @register.simple_tag(takes_context=True) def cms_news_list(context, num_items=10): page = context['request'].GET.get('page', 1); page = int(page) #todo: add num pages, total items.. return News.objects.language().all()...
29.25
70
0.717949
52
351
4.711538
0.615385
0.097959
0
0
0
0
0
0
0
0
0
0.013201
0.136752
351
11
71
31.909091
0.79538
0.096866
0
0
0
0
0.03481
0
0
0
0
0.090909
0
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
61a68e456f4449af8da3440868679e66e2e5feef
6,143
py
Python
examples/math/fft/fft.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
8
2016-02-20T03:52:58.000Z
2022-01-24T15:04:14.000Z
examples/math/fft/fft.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
null
null
null
examples/math/fft/fft.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
6
2015-12-11T05:21:15.000Z
2020-12-11T10:59:15.000Z
# Copyright (c) 2006-2009 The Trustees of Indiana University. # All rights reserved. # # Redistribution and use in source and binary forms, with or without ...
27.424107
80
0.541266
930
6,143
3.508602
0.246237
0.049341
0.034324
0.033711
0.392277
0.374808
0.357953
0.35213
0.323016
0.308918
0
0.032775
0.319551
6,143
223
81
27.547085
0.747847
0.444571
0
0.441667
0
0
0.016985
0
0
0
0
0
0.016667
0
null
null
0
0.033333
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
61a8ee8668b6519e9812f7d7814d89c33330873b
2,755
py
Python
memberaudit/migrations/0005_add_character_attributes.py
buahaha/aa-memberaudit
3824fd5dec06631f7b54caa0248c2f6dcb08636a
[ "MIT" ]
null
null
null
memberaudit/migrations/0005_add_character_attributes.py
buahaha/aa-memberaudit
3824fd5dec06631f7b54caa0248c2f6dcb08636a
[ "MIT" ]
null
null
null
memberaudit/migrations/0005_add_character_attributes.py
buahaha/aa-memberaudit
3824fd5dec06631f7b54caa0248c2f6dcb08636a
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-19 15:45 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("memberaudit", "0004_wallet_transactions"), ] operations = [ migrations.CreateModel( name="Chara...
37.739726
83
0.460254
178
2,755
6.983146
0.539326
0.125503
0.022526
0.035398
0.067578
0.067578
0.067578
0
0
0
0
0.013125
0.419238
2,755
72
84
38.263889
0.76375
0.016334
0
0.121212
1
0
0.246307
0.034343
0
0
0
0
0
1
0
false
0
0.030303
0
0.075758
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61aae320c56823e1a7c2629bfb5dc35bb1362267
618
py
Python
main.py
johnpfeiffer/go-lanscan
7fde4052249f5535fe3138f8789c04c15fa57eff
[ "MIT" ]
null
null
null
main.py
johnpfeiffer/go-lanscan
7fde4052249f5535fe3138f8789c04c15fa57eff
[ "MIT" ]
null
null
null
main.py
johnpfeiffer/go-lanscan
7fde4052249f5535fe3138f8789c04c15fa57eff
[ "MIT" ]
null
null
null
#!/usr/bin/env python import webapp2 downloads_html = """<html> <body> download the latest build at: <table> <tr> <th>os</th> <th>download link</th> </tr> <tr> <td>linux amd64</td> <td><a href='https://go-lanscan.appspot.com/go-lanscan'>https://go-lanscan.appspot.com/go-lanscan</a></td> </tr> </table> Source code at <...
22.071429
120
0.694175
89
618
4.797753
0.516854
0.126464
0.046838
0.098361
0.332553
0.332553
0.154567
0
0
0
0
0.008961
0.097087
618
27
121
22.888889
0.756272
0.032362
0
0.181818
0
0.090909
0.644295
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61ab41a7638425f234e3651bbe06958031c532d2
43,906
py
Python
recordsearch_data_scraper/scrapers.py
wragge/recordsearch_tools_new
b1a8b9d8f7c68107f186cfc69d601489fb4110e1
[ "Apache-2.0" ]
null
null
null
recordsearch_data_scraper/scrapers.py
wragge/recordsearch_tools_new
b1a8b9d8f7c68107f186cfc69d601489fb4110e1
[ "Apache-2.0" ]
1
2021-04-27T01:27:38.000Z
2021-04-27T01:27:38.000Z
recordsearch_data_scraper/scrapers.py
wragge/recordsearch_tools_new
b1a8b9d8f7c68107f186cfc69d601489fb4110e1
[ "Apache-2.0" ]
1
2021-07-14T08:23:29.000Z
2021-07-14T08:23:29.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_scrapers.ipynb (unless otherwise specified). __all__ = ['make_session', 'make_browser', 's', 'browsers', 'cache_db', 'RS_URLS', 'ITEM_FORM', 'KW_OPTIONS', 'FORMATS', 'LOCATIONS', 'ACCESS', 'AGENCY_FORM', 'AGENCY_LOCATIONS', 'AGENCY_STATUS', 'SERIES_FORM', 'RSBa...
37.114117
159
0.60256
4,990
43,906
5.166533
0.124449
0.01792
0.047787
0.016291
0.444824
0.397037
0.366976
0.3361
0.313215
0.272526
0
0.006981
0.285474
43,906
1,183
160
37.114117
0.813624
0.217692
0
0.365526
1
0.002445
0.233716
0.079317
0
0
0
0
0
1
0.067237
false
0.003667
0.013447
0.00489
0.167482
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61ad32cce254b0d3a56fc49d9b2af632962590d1
1,692
py
Python
gtkeyaws.py
aissa-laribi/gtkeyaws
f40704db1dd99ce7db28b2e25c09c60bb23689f2
[ "MIT" ]
null
null
null
gtkeyaws.py
aissa-laribi/gtkeyaws
f40704db1dd99ce7db28b2e25c09c60bb23689f2
[ "MIT" ]
null
null
null
gtkeyaws.py
aissa-laribi/gtkeyaws
f40704db1dd99ce7db28b2e25c09c60bb23689f2
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.keys import Keys import time browser = webdriver.Firefox(executable_path="./drivers/geckodriver") browser.get('https://ACCOUNTNUMBER.signin.aws.amazon.com/console?region=us-east-1') browser.find_element_by_xpath('//*[@id="username"]').send_keys('USERNAME')...
52.875
273
0.757092
295
1,692
4.261017
0.338983
0.066826
0.09467
0.095465
0.409706
0.409706
0.388226
0.333333
0.333333
0.274463
0
0.019988
0.053783
1,692
32
274
52.875
0.765147
0.154846
0
0.153846
0
0.153846
0.403816
0.071542
0
0
0
0
0
1
0
false
0.076923
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
61b36588f184550168da888b49440a8f3261fd00
768
py
Python
lib/ohdevtools/default_platform.py
LukiLeu/loadify
740532324e7f94c7ad1f94f78bdce9bc2575811a
[ "MIT" ]
null
null
null
lib/ohdevtools/default_platform.py
LukiLeu/loadify
740532324e7f94c7ad1f94f78bdce9bc2575811a
[ "MIT" ]
null
null
null
lib/ohdevtools/default_platform.py
LukiLeu/loadify
740532324e7f94c7ad1f94f78bdce9bc2575811a
[ "MIT" ]
null
null
null
import platform def default_platform(): if platform.system() == 'Windows': return 'Windows-x86' if platform.system() == 'Linux' and platform.architecture()[0] == '32bit' and platform.machine()[0:3] == 'ppc': return 'Linux-ppc32' if platform.system() == 'Linux' and platform.architecture()[0]...
42.666667
115
0.632813
99
768
4.89899
0.474747
0.103093
0.164948
0.129897
0.31134
0.31134
0.31134
0.31134
0.31134
0
0
0.052189
0.226563
768
17
116
45.176471
0.76431
0.25
0
0
0
0
0.162587
0
0
0
0
0
0
1
0.076923
true
0
0.076923
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
61b783bd1f645561d692a376da45e46d014ca747
5,367
py
Python
flyingpigeon/processes/wps_pointinspection.py
tlvu/flyingpigeon
2fb3eb4f32c3d2c18ec266834d113dc710e24ffc
[ "Apache-2.0" ]
null
null
null
flyingpigeon/processes/wps_pointinspection.py
tlvu/flyingpigeon
2fb3eb4f32c3d2c18ec266834d113dc710e24ffc
[ "Apache-2.0" ]
null
null
null
flyingpigeon/processes/wps_pointinspection.py
tlvu/flyingpigeon
2fb3eb4f32c3d2c18ec266834d113dc710e24ffc
[ "Apache-2.0" ]
null
null
null
import logging from os.path import join from numpy import savetxt, column_stack from pywps import ComplexInput, ComplexOutput from pywps import Format from pywps import LiteralInput from pywps import Process from pywps.app.Common import Metadata from shapely.geometry import Point from eggshell.nc.ocg_utils import cal...
40.353383
116
0.524688
518
5,367
5.322394
0.403475
0.016322
0.021763
0.021763
0.057309
0.026841
0
0
0
0
0
0.01633
0.372461
5,367
132
117
40.659091
0.802257
0.111049
0
0.0625
0
0
0.168073
0
0
0
0
0.015152
0
1
0.020833
false
0
0.125
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
61bfbfcc852afff791e40fe0d4e3cbc4a671f54b
13,003
py
Python
record.py
mahongquan/ipy_rtf
1ac68bd531e1d0f3f12b15a2b10991eb21db0305
[ "Zlib" ]
null
null
null
record.py
mahongquan/ipy_rtf
1ac68bd531e1d0f3f12b15a2b10991eb21db0305
[ "Zlib" ]
null
null
null
record.py
mahongquan/ipy_rtf
1ac68bd531e1d0f3f12b15a2b10991eb21db0305
[ "Zlib" ]
null
null
null
# -*- coding: utf-8 -*- import clr import sys import math import getmethod import genRtf clr.AddReferenceByPartialName("IronPython") #initpath=r"d:\Program Files\NCS\CS3000" #initpath=r"C:\Program Files (x86)\NCS\ONH3000" # initpath=r"C:\CS3000备份\CS3000_1.7.0" initpath=r"C:\Program Files (x86)\NCS\CS3000" # initpath=r...
32.588972
115
0.484196
1,798
13,003
3.453838
0.156841
0.047665
0.027053
0.014171
0.583414
0.527214
0.462319
0.428986
0.402576
0.370692
0
0.075478
0.300008
13,003
398
116
32.670854
0.60668
0.130585
0
0.509434
0
0
0.094001
0.033208
0
0
0
0
0
0
null
null
0.006289
0.031447
null
null
0.13522
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
61c7a9a87067cdc2425518e9bb3374a220504301
5,164
py
Python
gstat/tests/gstat_test.py
nixon/gstat
cf3fdc8b232de380ced2519ae853b46997787eeb
[ "MIT-0" ]
null
null
null
gstat/tests/gstat_test.py
nixon/gstat
cf3fdc8b232de380ced2519ae853b46997787eeb
[ "MIT-0" ]
null
null
null
gstat/tests/gstat_test.py
nixon/gstat
cf3fdc8b232de380ced2519ae853b46997787eeb
[ "MIT-0" ]
null
null
null
#!/usr/bin/env python import os import socket import unittest from ..gstat import gstat, gstats, gstat_event, gstat_elapsed class MockSocket(object): def __init__(self, *args, **kwargs): self._sendto_msg = [] self._closed = False def sendto(self, msg, hostport): sent = {'msg': msg} ...
31.29697
72
0.625097
649
5,164
4.779661
0.231125
0.06383
0.065764
0.049001
0.263701
0.191167
0.122179
0.079304
0.061251
0.061251
0
0.013451
0.251356
5,164
164
73
31.487805
0.788929
0.094113
0
0.142857
0
0
0.097803
0.031667
0
0
0
0
0.223214
1
0.214286
false
0.017857
0.035714
0.035714
0.330357
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
61c7c024df7aed8146ffceb3d91a5193f97dce1d
1,721
py
Python
app.py
rebeccabilbro/inquire
ff47ff46add727a10f14d801ea924d4b0ece6805
[ "MIT" ]
null
null
null
app.py
rebeccabilbro/inquire
ff47ff46add727a10f14d801ea924d4b0ece6805
[ "MIT" ]
null
null
null
app.py
rebeccabilbro/inquire
ff47ff46add727a10f14d801ea924d4b0ece6805
[ "MIT" ]
1
2019-05-06T13:38:56.000Z
2019-05-06T13:38:56.000Z
from flask import Flask, render_template, request from flask_bootstrap import Bootstrap # from flask_appconfig import AppConfig from flask_wtf import Form, RecaptchaField from wtforms import TextField, HiddenField, ValidationError, RadioField, BooleanField, SubmitField from wtforms.validators import Required import ge...
31.290909
98
0.678094
195
1,721
5.830769
0.471795
0.031662
0.03518
0
0
0
0
0
0
0
0
0.0162
0.210924
1,721
54
99
31.87037
0.82106
0.244625
0
0
0
0
0.07154
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.533333
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
61ca7a2cc6d6893b83bcf58c4d2095aac6d4e176
998
py
Python
python/optparse/fib.py
xiaogy0318/coding-exercises
320205f8a14d16faa8a600439ee02c6e380449c8
[ "Unlicense" ]
null
null
null
python/optparse/fib.py
xiaogy0318/coding-exercises
320205f8a14d16faa8a600439ee02c6e380449c8
[ "Unlicense" ]
null
null
null
python/optparse/fib.py
xiaogy0318/coding-exercises
320205f8a14d16faa8a600439ee02c6e380449c8
[ "Unlicense" ]
null
null
null
import optparse def fib(n, prin): a, b = 0, 1 for i in range(n): a, b = b, a + b if prin: print a return a def Main(): parser = optparse.OptionParser('usage %prog ' + \ '-n <fib number> -o <output file> -a <print all>', version = '%prog 1.0') parser.add_option('-n', dest = 'num', type = 'int', \ help...
24.95
75
0.608216
151
998
3.927152
0.417219
0.010118
0.075885
0.074199
0.08769
0
0
0
0
0
0
0.006337
0.209419
998
40
76
24.95
0.745247
0
0
0
0
0
0.247659
0
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ee29462d01045c39bdef7c5f4256af4c465f988
655
py
Python
setup.py
mit-athena/python-moira
d765eaa608ff1b12423d65c447a27d65eec38988
[ "MIT" ]
null
null
null
setup.py
mit-athena/python-moira
d765eaa608ff1b12423d65c447a27d65eec38988
[ "MIT" ]
null
null
null
setup.py
mit-athena/python-moira
d765eaa608ff1b12423d65c447a27d65eec38988
[ "MIT" ]
null
null
null
#!/usr/bin/python from setuptools import setup from distutils.extension import Extension from Pyrex.Distutils import build_ext setup( name="PyMoira", version="4.3.2", description="PyMoira - Python bindings for the Athena Moira library", author="Evan Broder", author_email="broder@mit.edu", lice...
26.2
73
0.584733
68
655
5.514706
0.573529
0.064
0
0
0
0
0
0
0
0
0
0.008386
0.271756
655
24
74
27.291667
0.777778
0.024427
0
0
0
0
0.260188
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4ee46086988cfd5d4d1141a8637a06a6d2c42445
7,818
py
Python
distributed_social_network/api/models.py
CMPUT404F21-TEAM-PROJECT/cmput404-group-project
5fc929f6bd22d41dc73734d34b1563bcfdc87f27
[ "Apache-2.0" ]
1
2022-02-10T05:50:19.000Z
2022-02-10T05:50:19.000Z
distributed_social_network/api/models.py
CMPUT404F21-TEAM-PROJECT/cmput404-group-project
5fc929f6bd22d41dc73734d34b1563bcfdc87f27
[ "Apache-2.0" ]
43
2022-02-08T00:59:49.000Z
2022-03-14T00:10:01.000Z
distributed_social_network/api/models.py
CMPUT404F21-TEAM-PROJECT/cmput404-group-project
5fc929f6bd22d41dc73734d34b1563bcfdc87f27
[ "Apache-2.0" ]
1
2022-03-17T22:11:38.000Z
2022-03-17T22:11:38.000Z
import uuid from django.db import models from django.contrib.auth.models import AbstractUser import django.utils.timezone import environ, requests env = environ.Env() environ.Env.read_env() class AuthorManager(models.Manager): def get_queryset(self): queryset = super().get_queryset() # # TODO: Ite...
47.96319
140
0.640061
905
7,818
5.443094
0.226519
0.076127
0.08039
0.107186
0.468331
0.419407
0.316687
0.316687
0.288469
0.261876
0
0.021955
0.265925
7,818
162
141
48.259259
0.836383
0.184958
0
0.276923
0
0
0.038213
0
0
0
0
0.006173
0
1
0.023077
false
0.007692
0.038462
0
0.523077
0.007692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4ee83a8fb82e867ec3132c21b79dd40933bc94ec
2,708
py
Python
tests/conftest.py
TheCuVe/order-service
b23aaa9774bd3430b463ef872babb0e4459518da
[ "MIT" ]
null
null
null
tests/conftest.py
TheCuVe/order-service
b23aaa9774bd3430b463ef872babb0e4459518da
[ "MIT" ]
null
null
null
tests/conftest.py
TheCuVe/order-service
b23aaa9774bd3430b463ef872babb0e4459518da
[ "MIT" ]
2
2018-02-15T11:40:25.000Z
2018-02-15T11:49:25.000Z
import pytest import factory import asyncio from cuve.order_service.db import transaction, tables from cuve.order_service.db.helpers import async_create_database from cuve.order_service.app import application_factory from cuve.order_service.config import load_config, ConfigSchema def pytest_addoption(parser): pa...
27.632653
76
0.695347
315
2,708
5.828571
0.352381
0.049564
0.052288
0.043573
0.166122
0.111656
0.086057
0.057734
0.057734
0
0
0
0.200517
2,708
97
77
27.917526
0.848037
0.162851
0
0.178571
0
0
0.052869
0.012653
0
0
0
0
0
1
0.160714
false
0.071429
0.125
0
0.446429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4ef1b6b34b3007f16abb86fd81810b5f9c743ad4
5,879
py
Python
online/train/hmm_online_anomaly_detection.py
birlrobotics/bnpy
8f297d8f3e4a56088d7755134c329f63a550be9e
[ "BSD-3-Clause" ]
3
2018-07-02T03:50:23.000Z
2019-05-16T03:23:55.000Z
online/train/hmm_online_anomaly_detection.py
birlrobotics/bnpy
8f297d8f3e4a56088d7755134c329f63a550be9e
[ "BSD-3-Clause" ]
1
2021-01-07T01:33:06.000Z
2021-01-07T01:33:06.000Z
online/train/hmm_online_anomaly_detection.py
birlrobotics/bnpy
8f297d8f3e4a56088d7755134c329f63a550be9e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python def warn(*args, **kwargs): pass import warnings warnings.warn = warn import os import threading from sklearn.externals import joblib import bnpy import rospy import copy from std_msgs.msg import ( Header ) from birl_sim_examples.msg import ( Tag_MultiModal, Hmm_Log ) data_arr = ...
32.843575
124
0.621534
745
5,879
4.520805
0.236242
0.045724
0.078385
0.040083
0.29424
0.175772
0.137173
0.091449
0
0
0
0.007535
0.300221
5,879
178
125
33.02809
0.811133
0.058003
0
0.226563
0
0
0.040702
0
0
0
0
0
0
0
null
null
0.007813
0.078125
null
null
0.007813
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ef5d87643a24ee31f5dfe4a4c41d372dcfe5746
495
py
Python
tests/test_lines.py
nazcaspider/simple-3dviz
3c40007259a1f754311623f74d24b06f7b98be14
[ "MIT" ]
66
2020-03-31T14:33:20.000Z
2022-03-25T15:48:06.000Z
tests/test_lines.py
nazcaspider/simple-3dviz
3c40007259a1f754311623f74d24b06f7b98be14
[ "MIT" ]
6
2020-04-05T18:20:10.000Z
2021-12-17T19:54:54.000Z
tests/test_lines.py
nazcaspider/simple-3dviz
3c40007259a1f754311623f74d24b06f7b98be14
[ "MIT" ]
9
2020-04-03T14:31:28.000Z
2022-03-15T19:16:41.000Z
import unittest from cv2 import imwrite import numpy as np from simple_3dviz import Scene, Lines, Spherecloud from simple_3dviz.window import show class TestLines(unittest.TestCase): def test_line(self): points = np.array([[-0.5, 0.5, -0.5], [ 0.5, 0.5, 0.5]]) color...
21.521739
50
0.553535
69
495
3.811594
0.463768
0.045627
0.057034
0.076046
0.045627
0.045627
0.045627
0.045627
0.045627
0.045627
0
0.071839
0.29697
495
22
51
22.5
0.683908
0
0
0
0
0
0.016194
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4ef82bde3ffe5853de425426103656891207a980
250
py
Python
tests/test_graphical_units/test_mobjects.py
osuzdalev/manim-1
adab2430645637a5e7e73832d3a6ff9e7d390159
[ "MIT" ]
5
2019-02-22T14:10:08.000Z
2022-03-13T01:03:49.000Z
tests/test_graphical_units/test_mobjects.py
osuzdalev/manim-1
adab2430645637a5e7e73832d3a6ff9e7d390159
[ "MIT" ]
17
2021-04-10T13:47:17.000Z
2021-05-17T21:25:30.000Z
tests/test_graphical_units/test_mobjects.py
osuzdalev/manim-1
adab2430645637a5e7e73832d3a6ff9e7d390159
[ "MIT" ]
1
2021-03-31T20:46:51.000Z
2021-03-31T20:46:51.000Z
from manim import * from tests.test_graphical_units.testing.frames_comparison import frames_comparison __module_test__ = "mobjects" @frames_comparison(base_scene=ThreeDScene) def test_PointCloudDot(scene): p = PointCloudDot() scene.add(p)
22.727273
82
0.804
31
250
6.096774
0.612903
0.253968
0
0
0
0
0
0
0
0
0
0
0.116
250
10
83
25
0.855204
0
0
0
0
0
0.032
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4effb7076f666229edebecf4f4a1d44bb431565e
2,966
py
Python
pipeline/playground/kafkaStreamToSpark.py
shawntsai/insight-project
67b7ad25c51b0065f958ee499653c91213263cfc
[ "MIT" ]
3
2018-02-12T02:48:12.000Z
2018-08-01T10:17:09.000Z
pipeline/playground/kafkaStreamToSpark.py
shawntsai/insight-project
67b7ad25c51b0065f958ee499653c91213263cfc
[ "MIT" ]
null
null
null
pipeline/playground/kafkaStreamToSpark.py
shawntsai/insight-project
67b7ad25c51b0065f958ee499653c91213263cfc
[ "MIT" ]
1
2018-04-07T06:34:53.000Z
2018-04-07T06:34:53.000Z
from pyspark import SparkConf, SparkContext from pyspark.sql import Row from pyspark.sql import SparkSession from pyspark.streaming import StreamingContext from pyspark.streaming.kafka import KafkaUtils import json import sys import rethinkdb as r from generate_simulate_data import get_attributes_summary from generat...
30.265306
114
0.68004
351
2,966
5.621083
0.353276
0.027876
0.019767
0.024328
0.321338
0.272681
0.243284
0.158135
0.158135
0.0963
0
0.006636
0.187121
2,966
97
115
30.57732
0.811696
0.164869
0
0
0
0
0.076392
0.045104
0
0
0
0
0
0
null
null
0.016129
0.209677
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f600cdcf17d55dccc4d9b7062301ef2ddc2aa1fc
1,464
py
Python
julius/voice/say.py
jane-olszewska/julius
94ac7d099042c8f7dec001fe0a3b384d0c7b7710
[ "MIT" ]
null
null
null
julius/voice/say.py
jane-olszewska/julius
94ac7d099042c8f7dec001fe0a3b384d0c7b7710
[ "MIT" ]
7
2018-02-03T15:37:23.000Z
2018-02-05T23:47:17.000Z
julius/voice/say.py
jane-olszewska/julius
94ac7d099042c8f7dec001fe0a3b384d0c7b7710
[ "MIT" ]
null
null
null
import subprocess import itertools def dictate(parts): """Converts `parts` to valid input for mac os 'say' util.""" # todo: could feed it phrases one by one, to allow the user to pause input_string = " ".join(parts) subprocess.run(['say', '-v', 'Daniel'], stdout=subprocess.PIPE, ...
30.5
79
0.57582
199
1,464
4.160804
0.432161
0.07971
0.028986
0.039855
0.102657
0
0
0
0
0
0
0.03442
0.245902
1,464
47
80
31.148936
0.71558
0.543033
0
0
0
0
0.049488
0
0
0
0
0.021277
0
1
0.1875
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f60131cef6ab000250afbde867534f21183ca0ab
1,964
py
Python
pymic/util/preprocess.py
HiLab-git/PyMIC
abf5c43de43668b85f4c049c95a8f1b7cf1d9f16
[ "Apache-2.0" ]
147
2019-12-23T02:52:04.000Z
2022-03-06T16:30:43.000Z
pymic/util/preprocess.py
HiLab-git/PyMIC
abf5c43de43668b85f4c049c95a8f1b7cf1d9f16
[ "Apache-2.0" ]
4
2020-12-18T12:47:21.000Z
2021-05-21T02:18:01.000Z
pymic/util/preprocess.py
HiLab-git/PyMIC
abf5c43de43668b85f4c049c95a8f1b7cf1d9f16
[ "Apache-2.0" ]
32
2020-01-08T13:48:50.000Z
2022-03-12T06:31:13.000Z
import os import numpy as np import SimpleITK as sitk from pymic.io.image_read_write import load_image_as_nd_array from pymic.transform.trans_dict import TransformDict from pymic.util.parse_config import parse_config def get_transform_list(trans_config_file): config = parse_config(trans_config_file) transf...
37.056604
74
0.708248
257
1,964
5.116732
0.307393
0.027376
0.027376
0.029658
0.077567
0.063878
0.030418
0
0
0
0
0.003143
0.189919
1,964
52
75
37.769231
0.823382
0.066701
0
0
0
0
0.093577
0
0
0
0
0.019231
0
1
0.05
false
0
0.15
0
0.225
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f6022a0f42919a97b2c08beb7389dd3673ae9256
224
py
Python
CSCI-104/homework-resources/hw1-test/q6_input/generate_input.py
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/homework-resources/hw1-test/q6_input/generate_input.py
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/homework-resources/hw1-test/q6_input/generate_input.py
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
1
2018-03-23T04:19:24.000Z
2018-03-23T04:19:24.000Z
import random print 10000 random.seed(a=None) for i in xrange(0,10000): length = random.randint(5,20) string = "" for j in xrange(0, length): x = random.randint(ord('a'), ord('z')) string += chr(x) print string
16
40
0.647321
38
224
3.815789
0.578947
0.110345
0.124138
0
0
0
0
0
0
0
0
0.082418
0.1875
224
14
41
16
0.714286
0
0
0
0
0
0.008889
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f6038da625ddb01ad152e78f66d06a5031c2352f
660
py
Python
core/management/commands/wait_for_db.py
mrdvince/dgenie
0a901409a9c547d27212e330ad4fce31dc24de83
[ "Apache-2.0" ]
null
null
null
core/management/commands/wait_for_db.py
mrdvince/dgenie
0a901409a9c547d27212e330ad4fce31dc24de83
[ "Apache-2.0" ]
null
null
null
core/management/commands/wait_for_db.py
mrdvince/dgenie
0a901409a9c547d27212e330ad4fce31dc24de83
[ "Apache-2.0" ]
null
null
null
import time from typing import Any from django.core.management import BaseCommand from django.db import connections from django.db.utils import OperationalError class Command(BaseCommand): def handle(self, *args: Any, **options: Any) -> None: self.stdout.write("Waiting for database to be ready...") ...
28.695652
83
0.648485
76
660
5.631579
0.565789
0.070093
0.10514
0
0
0
0
0
0
0
0
0.00409
0.259091
660
22
84
30
0.871166
0
0
0
0
0
0.184848
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f6041d5b00d1215a7acd7846896aee7bd7b4137c
8,905
py
Python
park/param.py
emperorlu/park
ccbb09dca65cdc6ad7c4dd124520c97e78b411ed
[ "MIT" ]
1
2021-09-30T07:09:12.000Z
2021-09-30T07:09:12.000Z
park/param.py
emperorlu/park
ccbb09dca65cdc6ad7c4dd124520c97e78b411ed
[ "MIT" ]
null
null
null
park/param.py
emperorlu/park
ccbb09dca65cdc6ad7c4dd124520c97e78b411ed
[ "MIT" ]
null
null
null
import argparse parser = argparse.ArgumentParser(description='parameters') # -- Basic -- parser.add_argument('--seed', type=int, default=42, help='random seed (default: 42)') parser.add_argument('--eps', type=float, default=1e-6, help='epsilon (default: 1e-6)') parser.add_argum...
55.310559
104
0.640427
1,177
8,905
4.700935
0.231096
0.102476
0.193566
0.068317
0.373757
0.170793
0.1379
0.116573
0.112416
0.112416
0
0.035601
0.217743
8,905
160
105
55.65625
0.758685
0.036384
0
0.015873
0
0.007937
0.413145
0.037474
0
0
0
0.00625
0
1
0
false
0
0.007937
0
0.007937
0.015873
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f60db341e11a4c5477f8eb6e8054ce41e06f72fe
367
py
Python
create_tables.py
tomhyhan/final
4d01fed5d738ff435ffa6f28b2943cb365939a2f
[ "MIT" ]
null
null
null
create_tables.py
tomhyhan/final
4d01fed5d738ff435ffa6f28b2943cb365939a2f
[ "MIT" ]
null
null
null
create_tables.py
tomhyhan/final
4d01fed5d738ff435ffa6f28b2943cb365939a2f
[ "MIT" ]
null
null
null
import sqlite3 conn = sqlite3.connect('bookstore.sqlite') c = conn.cursor() c.execute(''' CREATE TABLE books (id INTEGER PRIMARY KEY ASC, timestamp DATETIME NOT NULL, title VARCHAR(250), author VARCHAR(250), rating INTEGER, price REAL ...
19.315789
42
0.542234
38
367
5.236842
0.789474
0.100503
0
0
0
0
0
0
0
0
0
0.033898
0.356948
367
18
43
20.388889
0.809322
0
0
0
0
0
0.705722
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1