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
63579a88721e0d3e200a379d5e13ea6f5c821b4d
27
py
Python
mp_sort/virtenv/lib/python3.6/site-packages/transcrypt/development/automated_tests/transcrypt/div_issues/issue55/sub1.py
ang-jason/fip_powerx_mini_projects-foxtrot
37e3671969b516369e2d1c7cab5890b75c489f56
[ "MIT" ]
2,200
2016-10-12T16:47:13.000Z
2022-03-30T16:40:35.000Z
mp_sort/virtenv/lib/python3.6/site-packages/transcrypt/development/automated_tests/transcrypt/div_issues/issue55/sub1.py
ang-jason/fip_powerx_mini_projects-foxtrot
37e3671969b516369e2d1c7cab5890b75c489f56
[ "MIT" ]
672
2016-10-12T16:36:48.000Z
2022-03-25T00:57:04.000Z
mp_sort/virtenv/lib/python3.6/site-packages/transcrypt/development/automated_tests/transcrypt/div_issues/issue55/sub1.py
ang-jason/fip_powerx_mini_projects-foxtrot
37e3671969b516369e2d1c7cab5890b75c489f56
[ "MIT" ]
230
2016-10-20T14:31:40.000Z
2022-03-16T15:57:15.000Z
p = 'p' q = 'q' r = 'r'
6.75
8
0.222222
6
27
1
0.5
0
0
0
0
0
0
0
0
0
0
0
0.444444
27
3
9
9
0.4
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
6358b098420866d24c9e82073283db2a21735a5a
666
py
Python
database/sql_server/create_table.py
miguelgfierro/pybase
de8e4f11ed5c655e748178e65195c7e70a9c98af
[ "BSD-3-Clause" ]
14
2020-02-07T21:36:39.000Z
2022-03-12T22:37:04.000Z
database/sql_server/create_table.py
miguelgfierro/pybase
de8e4f11ed5c655e748178e65195c7e70a9c98af
[ "BSD-3-Clause" ]
19
2019-05-18T23:58:30.000Z
2022-01-09T16:45:35.000Z
database/sql_server/create_table.py
miguelgfierro/pybase
de8e4f11ed5c655e748178e65195c7e70a9c98af
[ "BSD-3-Clause" ]
5
2020-10-06T06:10:27.000Z
2021-07-08T12:58:46.000Z
import pyodbc def create_table(table_name, cursor): """Create a table and drop it if it exists. Args: table_name (str): Table name. cursor (object): pyobdc cursor. **Examples** .. code-block:: python conn = pyodbc.connect(connection_string) cur = conn.curso...
23.785714
97
0.588589
83
666
4.590361
0.506024
0.141732
0.110236
0.104987
0
0
0
0
0
0
0
0.004237
0.291291
666
27
98
24.666667
0.802966
0.388889
0
0
0
0.111111
0.385269
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
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
0
0
1
0
6358b66597519efb625eaca18ac93b55e3628738
9,050
py
Python
parser/fase2/team07/Tytus_SQLPARSER_G8/Instrucciones/plpgsql/condicional_case.py
Josue-Zea/tytus
f9e4be9a8c03eb698fade7a748972e4f52d46685
[ "MIT" ]
35
2020-12-07T03:11:43.000Z
2021-04-15T17:38:16.000Z
parser/fase2/team07/Tytus_SQLPARSER_G8/Instrucciones/plpgsql/condicional_case.py
Josue-Zea/tytus
f9e4be9a8c03eb698fade7a748972e4f52d46685
[ "MIT" ]
47
2020-12-09T01:29:09.000Z
2021-01-13T05:37:50.000Z
parser/fase2/team07/Tytus_SQLPARSER_G8/Instrucciones/plpgsql/condicional_case.py
Josue-Zea/tytus
f9e4be9a8c03eb698fade7a748972e4f52d46685
[ "MIT" ]
556
2020-12-07T03:13:31.000Z
2021-06-17T17:41:10.000Z
from Instrucciones.TablaSimbolos.Instruccion import Instruccion from Instrucciones.TablaSimbolos.Tipo import Tipo_Dato from Instrucciones.Excepcion import Excepcion from Instrucciones.Expresiones import Relacional class Case(Instruccion): ''' La clase Case, recibe una lista de condiciones y cada una de ellas t...
40.765766
121
0.631713
927
9,050
6.039914
0.122977
0.039293
0.030005
0.024647
0.800321
0.790677
0.77496
0.774067
0.774067
0.774067
0
0.002171
0.287514
9,050
222
122
40.765766
0.86616
0.173481
0
0.739437
0
0
0.028987
0
0
0
0
0
0
1
0.126761
false
0.042254
0.028169
0
0.316901
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
635b340138a681c68148582d1c62f125d6b4f774
10,896
py
Python
vbox/src/VBox/ValidationKit/testmanager/core/useraccount.py
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/ValidationKit/testmanager/core/useraccount.py
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/ValidationKit/testmanager/core/useraccount.py
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # $Id: useraccount.py 69111 2017-10-17 14:26:02Z vboxsync $ """ Test Manager - User DB records management. """ __copyright__ = \ """ Copyright (C) 2012-2017 Oracle Corporation This file is part of VirtualBox Open Source Edition (OSE), as available from http://www.virtualbox.org. This file is ...
37.187713
127
0.55112
1,072
10,896
5.518657
0.282649
0.035497
0.024341
0.018932
0.255747
0.189317
0.137255
0.127113
0.102772
0.092123
0
0.008262
0.355727
10,896
292
128
37.315068
0.834473
0.122797
0
0.21118
0
0
0.140929
0.024927
0
0
0
0
0
1
0.093168
false
0
0.018634
0
0.291925
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
0
0
1
0
635c4ec1c60bd1d815137a50f68717285f1fe57d
11,129
py
Python
Bip39Generator.py
crc32/AlphaSeed
10089f7324cde8b52c9bc02c7c85421f82888d4f
[ "MIT" ]
3
2022-01-04T02:21:37.000Z
2022-01-22T23:49:06.000Z
Bip39Generator.py
crc32/AlphaSeed
10089f7324cde8b52c9bc02c7c85421f82888d4f
[ "MIT" ]
null
null
null
Bip39Generator.py
crc32/AlphaSeed
10089f7324cde8b52c9bc02c7c85421f82888d4f
[ "MIT" ]
1
2022-01-09T16:50:42.000Z
2022-01-09T16:50:42.000Z
#!/usr/bin/env python # entropy generating geigercounter # Modified from https://apollo.open-resource.org/mission:log:2014:06:13:generating-entropy-from-radioactive-decay-with-pigi import geiger import time import datetime import textwrap import binascii # for conversion between Hexa and bytes import qrcode import i...
35.218354
123
0.538952
1,332
11,129
4.354354
0.243994
0.047414
0.024138
0.017241
0.17
0.153966
0.106034
0.096724
0.055517
0.055517
0
0.051405
0.344505
11,129
315
124
35.330159
0.74366
0.152574
0
0.168182
0
0.009091
0.089495
0
0
0
0
0
0
1
0.040909
false
0.004545
0.063636
0
0.109091
0.054545
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
0
1
0
635d54351361f86080532efa30b9a8d9dcf38427
3,908
py
Python
crawto/classification_visualization.py
crawftv/CRAwTO
8c6fdb93ed963cbddfe967b041e8beb578d1e94d
[ "BSD-3-Clause" ]
1
2020-04-03T12:43:27.000Z
2020-04-03T12:43:27.000Z
crawto/classification_visualization.py
crawftv/CRAwTO
8c6fdb93ed963cbddfe967b041e8beb578d1e94d
[ "BSD-3-Clause" ]
21
2020-02-14T04:29:03.000Z
2020-07-14T02:19:37.000Z
crawto/classification_visualization.py
crawftv/CRAwTO
8c6fdb93ed963cbddfe967b041e8beb578d1e94d
[ "BSD-3-Clause" ]
1
2019-10-25T01:06:58.000Z
2019-10-25T01:06:58.000Z
import matplotlib.pyplot as plt import pandas as pd import numpy as np import seaborn as sns import sklearn from sklearn import metrics from sklearn.metrics import ( auc, average_precision_score, classification_report, confusion_matrix, precision_recall_curve, roc_auc_score, roc_curve, ) f...
30.771654
109
0.64739
577
3,908
4.242634
0.317158
0.036765
0.034314
0.05719
0.400327
0.348856
0.348856
0.309641
0.291667
0.291667
0
0.022222
0.216991
3,908
126
110
31.015873
0.777778
0.073439
0
0.442105
0
0
0.110612
0
0
0
0
0
0
1
0.042105
false
0
0.084211
0
0.136842
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
0
0
1
0
6361883ccbeef4311c362908b9ce22b95ef0ef47
4,308
py
Python
pyspedas/themis/tests/tests.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
75
2019-02-22T12:59:33.000Z
2022-02-26T15:33:20.000Z
pyspedas/themis/tests/tests.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
40
2019-07-02T07:46:34.000Z
2022-02-23T21:48:50.000Z
pyspedas/themis/tests/tests.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
43
2019-02-22T13:03:41.000Z
2022-01-24T19:26:59.000Z
"""Test gmag and themis load functions.""" import os import unittest from pyspedas.utilities.data_exists import data_exists import pyspedas class GmagTestCases(unittest.TestCase): """Test GMAG functions.""" def test_get_group(self): """Get gmag stations of a group.""" from pyspedas.themis.gr...
34.190476
79
0.612581
539
4,308
4.604824
0.189239
0.118453
0.066479
0.145044
0.275987
0.224013
0.083803
0
0
0
0
0.019512
0.238626
4,308
125
80
34.464
0.737195
0.084958
0
0
0
0
0.129378
0
0
0
0
0
0.28
1
0.266667
false
0
0.106667
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6361be6747f74fe445a4fb5c773189efbc6d790b
6,673
py
Python
tests/test_subscription_service.py
rukzuk/paymill-python
637cdb2a56e75e2c062611907982d786fb258bb5
[ "MIT" ]
null
null
null
tests/test_subscription_service.py
rukzuk/paymill-python
637cdb2a56e75e2c062611907982d786fb258bb5
[ "MIT" ]
null
null
null
tests/test_subscription_service.py
rukzuk/paymill-python
637cdb2a56e75e2c062611907982d786fb258bb5
[ "MIT" ]
null
null
null
__author__ = 'yalnazov' try: import unittest2 as unittest except ImportError: import unittest from paymill.paymill_context import PaymillContext from paymill.models.subscription import Subscription import test_config class TestSubscriptionService(unittest.TestCase): currency = 'EUR' interval = '2 DA...
50.172932
114
0.528848
592
6,673
5.717905
0.195946
0.020679
0.026883
0.047563
0.452585
0.376662
0.338257
0.316396
0.286854
0.237814
0
0.052037
0.38948
6,673
132
115
50.55303
0.778841
0
0
0.310345
0
0
0.112543
0.028473
0
0
0
0
0.094828
1
0.103448
false
0
0.051724
0
0.198276
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
0
0
1
0
6362b82e328d27e85d3822efc006649be370c499
123
py
Python
basic_syntax_conditional_statements_and_loops/lab/number_between_1_and_100.py
PetkoAndreev/Python-fundamentals
dcf2ecb65d7a82a6688a7529a14eb8a331a83256
[ "MIT" ]
null
null
null
basic_syntax_conditional_statements_and_loops/lab/number_between_1_and_100.py
PetkoAndreev/Python-fundamentals
dcf2ecb65d7a82a6688a7529a14eb8a331a83256
[ "MIT" ]
null
null
null
basic_syntax_conditional_statements_and_loops/lab/number_between_1_and_100.py
PetkoAndreev/Python-fundamentals
dcf2ecb65d7a82a6688a7529a14eb8a331a83256
[ "MIT" ]
null
null
null
num = float(input()) while num < 1 or num > 100: num = float(input()) print(f'The number {num} is between 1 and 100')
20.5
47
0.626016
22
123
3.5
0.636364
0.207792
0.337662
0
0
0
0
0
0
0
0
0.083333
0.219512
123
6
47
20.5
0.71875
0
0
0.5
0
0
0.298387
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
1
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
4
6363782e48bd5eaedc0c8edeecafa798bb0dc04d
94
py
Python
heronpy/connectors/textfiles/__init__.py
ajorgensen/heron
6430c51a4a6030e93018e0ed40e5936a64317636
[ "Apache-2.0" ]
2
2016-07-04T07:10:31.000Z
2018-03-28T16:59:02.000Z
heronpy/connectors/textfiles/__init__.py
ajorgensen/heron
6430c51a4a6030e93018e0ed40e5936a64317636
[ "Apache-2.0" ]
null
null
null
heronpy/connectors/textfiles/__init__.py
ajorgensen/heron
6430c51a4a6030e93018e0ed40e5936a64317636
[ "Apache-2.0" ]
1
2017-06-05T17:55:45.000Z
2017-06-05T17:55:45.000Z
'''module for textfiles connectors''' __import__('pkg_resources').declare_namespace(__name__)
31.333333
55
0.808511
10
94
6.6
1
0
0
0
0
0
0
0
0
0
0
0
0.053191
94
2
56
47
0.741573
0.329787
0
0
0
0
0.22807
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
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
1
0
1
0
1
0
0
5
6363c6bbeaa5d8ba27ac83c8c4a9925fa4151cdf
1,824
py
Python
examples/animate/recamanSeq.py
beidongjiedeguang/manim-express
e9c89b74da3692db3ea9b568727e78d5cbcef503
[ "MIT" ]
12
2021-06-14T07:28:29.000Z
2022-02-25T02:49:49.000Z
examples/animate/recamanSeq.py
beidongjiedeguang/manim-kunyuan
e9c89b74da3692db3ea9b568727e78d5cbcef503
[ "MIT" ]
1
2022-02-01T12:30:14.000Z
2022-02-01T12:30:14.000Z
examples/animate/recamanSeq.py
beidongjiedeguang/manim-express
e9c89b74da3692db3ea9b568727e78d5cbcef503
[ "MIT" ]
2
2021-05-13T13:24:15.000Z
2021-05-18T02:56:22.000Z
from examples.example_imports import * VIOLET = "#EE82EE" INDIGO = "#4B0082" VIBGYOR = [VIOLET, INDIGO, BLUE, GREEN, YELLOW, ORANGE, RED] class RecamanSequence(EagerModeScene): CONFIG = { "n": 100, # number of iterations } def clip1(self): self.count = 0 visited = [0] + [None] *...
27.223881
76
0.533443
220
1,824
4.345455
0.440909
0.075314
0.043933
0.037657
0.048117
0
0
0
0
0
0
0.025597
0.357456
1,824
66
77
27.636364
0.790102
0.108553
0
0
0
0
0.014215
0
0
0
0
0
0
1
0.023256
false
0
0.046512
0
0.116279
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
0
0
1
0
636542941608f361eff45699a289086724f66554
95
py
Python
pygfs/utils.py
eWaterCycle/pyGFS
3d2c533b7781c4ae94ac393877d91d4325e0c0cb
[ "Apache-2.0" ]
1
2021-05-19T05:42:28.000Z
2021-05-19T05:42:28.000Z
pygfs/utils.py
eWaterCycle/pyGFS
3d2c533b7781c4ae94ac393877d91d4325e0c0cb
[ "Apache-2.0" ]
null
null
null
pygfs/utils.py
eWaterCycle/pyGFS
3d2c533b7781c4ae94ac393877d91d4325e0c0cb
[ "Apache-2.0" ]
null
null
null
def check_gribfile(f): ''' check if file is a grib file and readeable ''' pass
15.833333
46
0.589474
14
95
3.928571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.315789
95
5
47
19
0.846154
0.442105
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
1
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
1
0
1
0
0
0
0
0
4
6365ef6932b09a9ca176a69f9f72ff21e3cd604b
5,182
py
Python
validator/txnserver/web_pages/prevalidation_page.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
1
2019-03-18T13:31:11.000Z
2019-03-18T13:31:11.000Z
validator/txnserver/web_pages/prevalidation_page.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
null
null
null
validator/txnserver/web_pages/prevalidation_page.py
gabykyei/GC_BlockChain_T_Rec
b72cb483064852d0a60286943ff55233462fea08
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Intel 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 law or agreed to in wri...
37.014286
80
0.604979
540
5,182
5.67037
0.344444
0.035271
0.047028
0.02776
0.162312
0.05356
0.03919
0.03919
0.03919
0.03919
0
0.003615
0.306059
5,182
139
81
37.280576
0.847887
0.147626
0
0.168539
0
0
0.135907
0.005482
0
0
0
0
0
1
0.044944
false
0
0.11236
0
0.269663
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
0
0
1
0
6368cb3cf505c5009517da98c8fe412698d9997a
2,052
py
Python
additional_models/model2.py
srikanth311/CarND-Behavioral-Cloning-P3
2d6f7f73f646b5d83d283d33a84770ea6fae11d0
[ "MIT" ]
null
null
null
additional_models/model2.py
srikanth311/CarND-Behavioral-Cloning-P3
2d6f7f73f646b5d83d283d33a84770ea6fae11d0
[ "MIT" ]
null
null
null
additional_models/model2.py
srikanth311/CarND-Behavioral-Cloning-P3
2d6f7f73f646b5d83d283d33a84770ea6fae11d0
[ "MIT" ]
null
null
null
# https://stackoverflow.com/questions/34518656/how-to-interpret-loss-and-accuracy-for-a-machine-learning-model from additional_models.data2 import read_csv_data, get_samples from keras.models import Sequential from keras.layers.core import Dense, Dropout, Flatten, Lambda from keras.layers.convolutional import Conv2D f...
34.779661
110
0.694444
286
2,052
4.800699
0.356643
0.081573
0.069192
0.080117
0.413693
0.276766
0.276766
0.247633
0.247633
0.247633
0
0.049296
0.169591
2,052
59
111
34.779661
0.756455
0.10575
0
0.075
0
0
0.116749
0.075286
0
0
0
0
0
1
0
false
0
0.175
0
0.175
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
0
0
0
0
0
0
0
0
0
0
1
0
636b12312c9285edfa8c85a571b4320d339a5502
4,254
py
Python
networks/recognition/models.py
FaceID-Dongguk-Univ/FaceID
61147b11e70b1c172cbbff618d10f7e518c2c801
[ "MIT" ]
null
null
null
networks/recognition/models.py
FaceID-Dongguk-Univ/FaceID
61147b11e70b1c172cbbff618d10f7e518c2c801
[ "MIT" ]
null
null
null
networks/recognition/models.py
FaceID-Dongguk-Univ/FaceID
61147b11e70b1c172cbbff618d10f7e518c2c801
[ "MIT" ]
2
2021-09-30T14:02:04.000Z
2021-10-08T07:44:20.000Z
""" MIT License Copyright (c) 2019 Kuan-Yu Huang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
35.45
79
0.666432
572
4,254
4.816434
0.312937
0.015245
0.017423
0.016334
0.19637
0.160799
0.120508
0.120508
0.120508
0.120508
0
0.014751
0.235073
4,254
119
80
35.747899
0.831899
0.265867
0
0.146667
0
0
0.042718
0
0
0
0
0
0.013333
1
0.133333
false
0
0.066667
0.013333
0.36
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
0
0
1
0
636c08dd9863e232a0e141c5bf49a4049685e262
6,693
py
Python
magnum/tests/unit/db/test_x509keypair.py
mjbrewer/testIndex
420dc071d4240a89b6f266e8d2575cedb39bfea0
[ "Apache-2.0" ]
null
null
null
magnum/tests/unit/db/test_x509keypair.py
mjbrewer/testIndex
420dc071d4240a89b6f266e8d2575cedb39bfea0
[ "Apache-2.0" ]
null
null
null
magnum/tests/unit/db/test_x509keypair.py
mjbrewer/testIndex
420dc071d4240a89b6f266e8d2575cedb39bfea0
[ "Apache-2.0" ]
1
2020-09-09T14:35:08.000Z
2020-09-09T14:35:08.000Z
# Copyright 2015 NEC Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
42.903846
79
0.659346
785
6,693
5.391083
0.185987
0.082703
0.048204
0.092391
0.692344
0.613422
0.516304
0.500236
0.491257
0.475662
0
0.073647
0.249365
6,693
155
80
43.180645
0.76871
0.097415
0
0.405172
0
0
0.034706
0.011956
0
0
0
0
0.189655
1
0.12069
false
0
0.051724
0
0.181034
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
0
0
1
0
636f486add13f8c9416be0f98507743cabd74049
2,769
py
Python
src/rysia/core/tensorflow/helper.py
vdeuschle/rysia
c8c5adc2c770424b3a328a936f23a80a38c9f0f2
[ "Apache-2.0" ]
2
2020-08-17T15:46:30.000Z
2020-08-20T19:20:57.000Z
src/rysia/core/tensorflow/helper.py
vdeuschle/rysia
c8c5adc2c770424b3a328a936f23a80a38c9f0f2
[ "Apache-2.0" ]
null
null
null
src/rysia/core/tensorflow/helper.py
vdeuschle/rysia
c8c5adc2c770424b3a328a936f23a80a38c9f0f2
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Vincent Deuschle. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license" file accompanyin...
48.578947
119
0.653666
400
2,769
4.3725
0.355
0.046312
0.017153
0.024014
0.081189
0.081189
0.081189
0.081189
0.053745
0.053745
0
0.025795
0.215962
2,769
57
120
48.578947
0.779825
0.234742
0
0.054054
0
0
0.025641
0
0
0
0
0
0
1
0.081081
false
0
0.027027
0
0.216216
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
0
0
1
0
637294b6bbc4dcbace3b74bbe577dbb797c776c8
1,670
py
Python
examples/stdicons.py
diegomvh/pyqt
435756fab9751eab2e30f5f3351d7fc43589533f
[ "MIT" ]
1
2022-03-07T20:20:51.000Z
2022-03-07T20:20:51.000Z
examples/stdicons.py
diegomvh/pyqt
435756fab9751eab2e30f5f3351d7fc43589533f
[ "MIT" ]
null
null
null
examples/stdicons.py
diegomvh/pyqt
435756fab9751eab2e30f5f3351d7fc43589533f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from PyQt4 import QtCore, QtGui def get_std_icon(name): if not name.startswith('SP_'): name = 'SP_' + name standardIconName = getattr(QtGui.QStyle, name, None) if standardIconName is not None: return QtGui.QWidget().style().standardIcon( standa...
31.509434
82
0.578443
178
1,670
5.191011
0.432584
0.025974
0.04329
0
0
0
0
0
0
0
0
0.010381
0.307784
1,670
53
83
31.509434
0.788927
0.057485
0
0.051282
0
0
0.042774
0
0
0
0
0
0
1
0.076923
false
0
0.051282
0
0.179487
0.025641
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
0
1
0
6372c851f000a2f462e3b75cd28ab4a885253034
3,616
py
Python
examples/run_homographs.py
vinnamkim/GEM
cac74b711ef1547e5bc68b85fdf7f7437933b325
[ "BSD-3-Clause" ]
null
null
null
examples/run_homographs.py
vinnamkim/GEM
cac74b711ef1547e5bc68b85fdf7f7437933b325
[ "BSD-3-Clause" ]
null
null
null
examples/run_homographs.py
vinnamkim/GEM
cac74b711ef1547e5bc68b85fdf7f7437933b325
[ "BSD-3-Clause" ]
null
null
null
''' Run the graph embedding methods on Karate graph and evaluate them on graph reconstruction and visualization. Please copy the gem/data/karate.edgelist to the working directory ''' import matplotlib.pyplot as plt from time import time from gem.utils import graph_util, plot_util from gem.evaluation import visualize...
39.304348
145
0.601217
443
3,616
4.778781
0.419865
0.029759
0.045347
0.019839
0.062825
0.040151
0.028342
0
0
0
0
0.030786
0.254425
3,616
91
146
39.736264
0.754451
0.144082
0
0
0
0
0.100662
0.010596
0
0
0
0
0
1
0
false
0
0.253968
0
0.253968
0.047619
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
0
1
0
6372eab4ac944c27e2845406a864b91ae6b8f10c
256
py
Python
src/ScientificProgrammingPrimer/ch_01/gaussian.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
src/ScientificProgrammingPrimer/ch_01/gaussian.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
src/ScientificProgrammingPrimer/ch_01/gaussian.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt mu = 0 sigma = 2 def f(x): return 1/ ( np.sqrt( 2*np.pi ) * sigma ) * np.exp( -.5 * ( ( x - mu ) / sigma ) **2 ) x = np.arange( -4.0, 4.0, 0.1 ) plt.plot( x, f(x) ) plt.show()
18.285714
86
0.574219
51
256
2.882353
0.490196
0.217687
0
0
0
0
0
0
0
0
0
0.061224
0.234375
256
14
87
18.285714
0.688776
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.3
0.1
0.5
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
6372ee8c2eee6d970a09c164123669b1173e689f
120
py
Python
easy_transformers/constants.py
ManoharSai2000/easy-transformers
9f10bcf469ff30093e3af763eaca066740fb1795
[ "Apache-2.0" ]
null
null
null
easy_transformers/constants.py
ManoharSai2000/easy-transformers
9f10bcf469ff30093e3af763eaca066740fb1795
[ "Apache-2.0" ]
null
null
null
easy_transformers/constants.py
ManoharSai2000/easy-transformers
9f10bcf469ff30093e3af763eaca066740fb1795
[ "Apache-2.0" ]
null
null
null
DEFAULT_MAX_LENGTH = 512 DEFAULT_EASY_TRANSFORMERS_CACHE_SIZE = 1 DEFAULT_EASY_TRANSFORMERS_TEXT_EMB_CACHE_SIZE = 10000
30
53
0.9
18
120
5.333333
0.666667
0.229167
0.479167
0
0
0
0
0
0
0
0
0.081081
0.075
120
3
54
40
0.783784
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
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
4
63735a38a8d7214835bb46850a5181ef1c373ff8
1,981
py
Python
tests/test_color.py
cowo78/pynextion
40215761bc8abbd7cc53fefa68e8b78a67b73aed
[ "Apache-2.0" ]
null
null
null
tests/test_color.py
cowo78/pynextion
40215761bc8abbd7cc53fefa68e8b78a67b73aed
[ "Apache-2.0" ]
1
2019-02-24T14:40:42.000Z
2019-02-24T14:40:42.000Z
tests/test_color.py
cowo78/pynextion
40215761bc8abbd7cc53fefa68e8b78a67b73aed
[ "Apache-2.0" ]
null
null
null
from pynextion.color import ( NamedColor, Color ) def test_named_color(): assert NamedColor.BLACK.value == 0 assert NamedColor.WHITE.value == 65535 assert NamedColor.RED.value == 63488 assert NamedColor.GREEN.value == 2016 assert NamedColor.BLUE.value == 31 assert NamedColor.GRAY.value...
27.136986
67
0.540636
326
1,981
3.217791
0.138037
0.041945
0.062917
0.085796
0.500477
0.433746
0.35367
0.336511
0.198284
0.181125
0
0.121443
0.27259
1,981
72
68
27.513889
0.606523
0.057547
0
0.226415
0
0
0.00162
0
0
0
0
0
0.45283
1
0.09434
false
0
0.018868
0
0.113208
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
63748db7a5ced0b64fd8d94829c93ed18e0dccd7
1,149
py
Python
src/Classes/MSDS400/Module 2/gas_mix.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
src/Classes/MSDS400/Module 2/gas_mix.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
src/Classes/MSDS400/Module 2/gas_mix.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
# A company is developing a new additive for gasoline. # The additive is a mixture of three liquid​ ingredients, I,​ II, and III. # For proper​ performance, the total amount of additive must be at least 7 oz per gal of gasoline.​ # However, for safety​ reasons, the amount of additive should not exceed 19 oz per gal ...
33.794118
170
0.684073
197
1,149
3.93401
0.42132
0.085161
0.030968
0.023226
0.167742
0.090323
0.090323
0.090323
0
0
0
0.052632
0.18973
1,149
34
171
33.794118
0.779807
0.51436
0
0
0
0
0.092559
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.125
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
0
1
0
6375bb306a93b9eec7919581139fd4a68e0b853c
3,994
py
Python
sankey_chart.py
fwd1990man/PythonSankeyChart
ee97570587fda84fb52798132b46f68c1775623a
[ "MIT" ]
1
2021-05-19T00:09:24.000Z
2021-05-19T00:09:24.000Z
sankey_chart.py
vladhj38/PythonSankeyChart
ee97570587fda84fb52798132b46f68c1775623a
[ "MIT" ]
null
null
null
sankey_chart.py
vladhj38/PythonSankeyChart
ee97570587fda84fb52798132b46f68c1775623a
[ "MIT" ]
null
null
null
import drawSvg as draw import pandas as pd from PIL import Image df = pd.DataFrame([[15.7, 11.9, 3.8]], index=[1], columns=['Comp', 'Traffic', 'Ticket']) # df = pd.DataFrame([[9.0, -2.0, 11.1]], index=[1], columns=['Comp', 'Traffic', 'Ticket']) comp_val = df.at[1, 'Comp'] traffic_val = df.at[1, 'Traffic'] ticket_val...
21.589189
90
0.525538
679
3,994
2.986745
0.134021
0.097633
0.070513
0.034517
0.734714
0.678501
0.591223
0.540434
0.540434
0.525641
0
0.10052
0.277667
3,994
184
91
21.706522
0.602426
0.102904
0
0.715385
0
0
0.050955
0
0
0
0
0
0
1
0
false
0
0.023077
0
0.023077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6376ae7819f9e26b72824b9b1885ad2420eb93b4
3,135
py
Python
SndClass.py
fit087/scientific_python
17b128c064e49581043ef3c1cf84e61c25287065
[ "MIT" ]
1
2020-02-28T22:57:54.000Z
2020-02-28T22:57:54.000Z
SndClass.py
fit087/scientific_python
17b128c064e49581043ef3c1cf84e61c25287065
[ "MIT" ]
null
null
null
SndClass.py
fit087/scientific_python
17b128c064e49581043ef3c1cf84e61c25287065
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Feb 11 13:07:06 2020 @author: Adolfo Correa Professor: Dr. Iuri Segtovich """ import numpy as np print('\nExercise 1\n') # Exercise 1 # ============================================= x = [1, 346432, 68, 1223, 5, 47, 678] max_val = x[0] for elem in x: if e...
19.233129
109
0.482616
512
3,135
2.898438
0.277344
0.032345
0.016173
0.02965
0.178571
0.105121
0.063342
0.051213
0.051213
0.051213
0
0.057652
0.247528
3,135
162
110
19.351852
0.571429
0.326954
0
0.1
0
0
0.108193
0
0
0
0
0
0
1
0.0625
false
0
0.0375
0.025
0.1625
0.2375
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
0
1
0
6377a7cfc960f1b8f02d09cde803ef13fad43a69
4,495
py
Python
backups/button.py
lsjsg/People_counting_raspberry_pi
5b2b8c4807e72bc1a0f86b0afeb5abf58fe07ed4
[ "MIT" ]
2
2019-05-19T20:09:47.000Z
2019-08-27T15:45:10.000Z
backups/button.py
roskeys/People_counting_raspberry_pi
5b2b8c4807e72bc1a0f86b0afeb5abf58fe07ed4
[ "MIT" ]
null
null
null
backups/button.py
roskeys/People_counting_raspberry_pi
5b2b8c4807e72bc1a0f86b0afeb5abf58fe07ed4
[ "MIT" ]
1
2020-03-21T15:08:10.000Z
2020-03-21T15:08:10.000Z
from time import sleep import pyrebase import RPi.GPIO as GPIO url = 'https://dw-1d-kivy.firebaseio.com' # URL to Firebase database apikey = '"AIzaSyADs22Rdhef_5w28Y4oOvx0Aat1NiKCl5U"' # unique token used for authentication config = {"apiKey": apikey, "databaseURL": url, } # Create a firebase object by specifying ...
30.371622
117
0.606007
697
4,495
3.888092
0.213773
0.092989
0.04428
0.057565
0.342804
0.17417
0.149816
0.063469
0.042804
0.02214
0
0.067126
0.224472
4,495
147
118
30.578231
0.71027
0.200667
0
0
0
0
0.079775
0.011517
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
0.111111
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
0
1
0
63786d836006075a18bb63e6fb9cab3c649282bd
6,526
py
Python
project/app/api/rental_pred_viz.py
labs26-citrics/Labs26-Citrics-DS-TeamB
980ff695f49be7bcb3ffdda38dba56049ef1e988
[ "MIT" ]
1
2021-01-04T19:32:50.000Z
2021-01-04T19:32:50.000Z
project/app/api/rental_pred_viz.py
labs26-citrics/Labs26-Citrics-DS-TeamB
980ff695f49be7bcb3ffdda38dba56049ef1e988
[ "MIT" ]
3
2020-09-08T22:27:35.000Z
2020-10-01T22:19:13.000Z
project/app/api/rental_pred_viz.py
labs26-citrics/Labs26-Citrics-DS-TeamB
980ff695f49be7bcb3ffdda38dba56049ef1e988
[ "MIT" ]
4
2020-10-13T21:56:42.000Z
2021-03-03T01:59:37.000Z
from fastapi import APIRouter, HTTPException import numpy as np import pandas as pd import plotly.graph_objects as go import plotly.express as px import os router = APIRouter() DATA_FILEPATH = os.path.join(os.path.dirname(__file__), "..", "..","data", "rental_all.csv") @router.get('/predict_rental/{city_id}') async ...
21.973064
96
0.596843
977
6,526
3.763562
0.141249
0.058744
0.035355
0.039162
0.796029
0.749796
0.709546
0.703563
0.672559
0.606745
0
0.045307
0.245786
6,526
296
97
22.047297
0.701747
0.176371
0
0.639241
0
0
0.14716
0.013544
0
0
0
0
0
1
0.031646
false
0
0.037975
0
0.107595
0
0
0
0
null
0
0
0
0
1
1
1
0
1
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
4
63787af43ccc0aea55b2d299610f4773a1860ff2
2,185
py
Python
release/scripts/addons/oscurart_tools/object/search_and_select.py
simileV/blenderStereo29
09b993449aaca671a9eb2a6a22327246936eb3db
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-07-20T15:41:58.000Z
2020-07-20T15:41:58.000Z
release/scripts/addons/oscurart_tools/object/search_and_select.py
ringsce/Rings3D
8059d1e2460fc8d6f101eff8e695f68a99f6671d
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
release/scripts/addons/oscurart_tools/object/search_and_select.py
ringsce/Rings3D
8059d1e2460fc8d6f101eff8e695f68a99f6671d
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
# ##### BEGIN GPL LICENSE BLOCK ##### # # 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; either version 2 # of the License, or (at your option) any later version. # # This program is distrib...
36.416667
74
0.652632
276
2,185
5.123188
0.456522
0.02546
0.042433
0.040311
0.160537
0.14215
0.102546
0.070721
0.070721
0
0
0.007813
0.238444
2,185
59
75
37.033898
0.841947
0.393593
0
0.16129
0
0
0.08587
0.021858
0
0
0
0
0
1
0.064516
false
0
0.129032
0
0.516129
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
0
0
1
0
637a49b80162d3c9d3ede67a0b42de3e48ef8458
6,605
py
Python
find_facilities.py
tayuny/the-wandering-chicago
d861f0de4ce0ebc23d246768e45690fbda055be6
[ "Unlicense" ]
null
null
null
find_facilities.py
tayuny/the-wandering-chicago
d861f0de4ce0ebc23d246768e45690fbda055be6
[ "Unlicense" ]
null
null
null
find_facilities.py
tayuny/the-wandering-chicago
d861f0de4ce0ebc23d246768e45690fbda055be6
[ "Unlicense" ]
null
null
null
''' Main code for finding the nearest target spots and export an webpage ''' import os import webbrowser import pandas as pd import util import gmplot COLOR_MAP = {'family support (children services)': '#FFFACD', 'family support (senior services)':'#FFFACD', 'family support (domestic violenc...
39.550898
94
0.640575
811
6,605
5.060419
0.305795
0.045565
0.027778
0.026316
0.283626
0.247563
0.188109
0.178363
0.178363
0.123782
0
0.011421
0.24436
6,605
166
95
39.789157
0.81086
0.242544
0
0.041667
0
0
0.242696
0.008139
0
0
0
0
0.010417
1
0.052083
false
0
0.052083
0
0.135417
0.010417
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
0
1
0
637a981be4eccfd221f02a9a564f08b97ca045a8
765
py
Python
tests/run_tests.py
lbanawa/photo_filters
a9729d96929770599ddca2715026b69d8837168f
[ "MIT" ]
null
null
null
tests/run_tests.py
lbanawa/photo_filters
a9729d96929770599ddca2715026b69d8837168f
[ "MIT" ]
7
2020-03-02T01:48:58.000Z
2022-01-13T02:21:10.000Z
tests/run_tests.py
lbanawa/photo_filters
a9729d96929770599ddca2715026b69d8837168f
[ "MIT" ]
null
null
null
import inspect import os import sys import unittest __author__ = "David Juboor" __version__ = "1.0" # Can't use __file__ because when running with coverage via command line, ___file__ is not the full path my_location = os.path.dirname(os.path.abspath(inspect.stack()[0][1])) def test_runner_suite(): tests_source...
27.321429
104
0.745098
109
765
4.853211
0.587156
0.075614
0.045369
0.060491
0.075614
0
0
0
0
0
0
0.006144
0.14902
765
27
105
28.333333
0.806452
0.295425
0
0
0
0
0.052533
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.4
0.066667
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
0
1
0
637a9ea66b82d2beaeba55846d62607bb1b78e7b
8,500
py
Python
core/core_service.py
greatkeke/V2ray.FunPi
e58f78331f2fa19eb2af0082bccdc8e904e73217
[ "MIT" ]
576
2020-08-10T07:02:49.000Z
2022-03-21T05:21:12.000Z
core/core_service.py
raydoom/V2ray.FunPi
53d8c205e5dd260abd59f95a633d3c5062ace0e0
[ "MIT" ]
13
2020-08-14T00:55:28.000Z
2022-03-21T05:23:27.000Z
core/core_service.py
raydoom/V2ray.FunPi
53d8c205e5dd260abd59f95a633d3c5062ace0e0
[ "MIT" ]
52
2020-08-10T13:20:58.000Z
2022-03-17T08:56:34.000Z
# encoding: utf-8 """ File: core_service Author: twotrees.us@gmail.com Date: 2020年7月30日 31周星期四 10:55 Desc: """ import psutil import os import os.path from .package import jsonpickle from typing import List from apscheduler.schedulers.background import BackgroundScheduler from apscheduler.schedulers.bas...
32.442748
160
0.626588
994
8,500
5.135815
0.220322
0.054848
0.043291
0.027424
0.184525
0.138296
0.098531
0.057395
0.041724
0.041724
0
0.013014
0.276824
8,500
262
161
32.442748
0.817472
0.019882
0
0.248826
0
0
0.036534
0.008893
0
0
0
0
0
1
0.112676
false
0
0.079812
0.004695
0.286385
0.00939
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
0
1
0
637b2a10deb0627e199f297b833ffac4a9356c63
4,282
py
Python
src/dropSQL/ast/join.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
35
2017-11-27T22:24:46.000Z
2022-01-16T23:50:01.000Z
src/dropSQL/ast/join.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
null
null
null
src/dropSQL/ast/join.py
LakshyaaSoni/dropSQL
da07ad3edf2d55f0521a385ad10678fc353b4b2b
[ "MIT" ]
2
2018-02-20T06:06:12.000Z
2021-10-16T18:30:15.000Z
import abc from typing import * from dropSQL.engine.row_set import * from dropSQL.engine.types import * from dropSQL.generic import * from dropSQL.parser.streams import * from dropSQL.parser.tokens import * from .alias import AliasedTable from .ast import * from .expression import Expression if TYPE_CHECKING: fro...
26.432099
96
0.570061
511
4,282
4.626223
0.18591
0.032572
0.038494
0.035533
0.438663
0.406514
0.367174
0.320643
0.285956
0.265651
0
0
0.296123
4,282
161
97
26.596273
0.78434
0.096684
0
0.344086
0
0
0.039748
0
0
0
0
0
0
1
0.129032
false
0
0.11828
0
0.397849
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
0
0
1
0
637cb1919870ccb4eeaec9f7ea5827d1ff65b585
2,007
py
Python
raspberry/car_unlock/lib/MyMQTT.py
FrancescoConforte/Car2Smart
b14f447c55e0d82e9d00124c1494faddc94c9ed1
[ "MIT" ]
null
null
null
raspberry/car_unlock/lib/MyMQTT.py
FrancescoConforte/Car2Smart
b14f447c55e0d82e9d00124c1494faddc94c9ed1
[ "MIT" ]
null
null
null
raspberry/car_unlock/lib/MyMQTT.py
FrancescoConforte/Car2Smart
b14f447c55e0d82e9d00124c1494faddc94c9ed1
[ "MIT" ]
null
null
null
import paho.mqtt.client as PahoMQTT import json class MyMQTT: def __init__(self, clientID, broker, port, notifier=None): self.broker = broker self.port = port self.notifier = notifier self.clientID = clientID self._topic = "" self._isSubscriber = False # creat...
34.016949
74
0.63129
244
2,007
5.028689
0.319672
0.0978
0.127139
0.02282
0.167889
0.167889
0.167889
0.167889
0.167889
0.167889
0
0.001384
0.28002
2,007
58
75
34.603448
0.847751
0.171898
0
0.105263
0
0
0.050273
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.289474
0.131579
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
637d0020a33a6fdd3c4651808a9b764d4bbf5ed2
128
py
Python
member/urls.py
itssunny322/User_activity
c150b1e8e52f4cb019d6d390c6007e038fbb1688
[ "Apache-2.0" ]
null
null
null
member/urls.py
itssunny322/User_activity
c150b1e8e52f4cb019d6d390c6007e038fbb1688
[ "Apache-2.0" ]
3
2021-03-19T02:57:29.000Z
2021-09-22T18:58:45.000Z
member/urls.py
itssunny322/User_activity
c150b1e8e52f4cb019d6d390c6007e038fbb1688
[ "Apache-2.0" ]
null
null
null
from django.urls import path from .views import * urlpatterns = [ path('users', UserView.as_view(), name='user_list'), ]
14.222222
56
0.679688
17
128
5
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.171875
128
8
57
16
0.801887
0
0
0
0
0
0.110236
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
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
1
0
0
0
0
3
637ebf676d3ea3b214dcf86fafe7c2902594ff07
895
py
Python
Lib/css/stylesheets/CreditAgricole.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
null
null
null
Lib/css/stylesheets/CreditAgricole.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
2
2019-03-27T00:36:09.000Z
2019-04-09T00:39:12.000Z
Lib/css/stylesheets/CreditAgricole.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # author: Olivier Noguès # All colors are coming from the template # https://credit-agricole.ua/pdf/Credit_Agricole_AR_2016_ENG_full_17072017_.pdf import CssBase charts = ['#71bf44', '#1d99d6', '#6bcff6', '#bed630', '#00805f', '#00a96c', '#66bbaa', '#bbeeee', ...
16.574074
109
0.458101
73
895
5.520548
0.863014
0.08933
0.08933
0
0
0
0
0
0
0
0
0.198052
0.311732
895
54
110
16.574074
0.456169
0.236872
0
0.538462
0
0
0.3888
0
0
0
0
0
0
1
0
false
0
0.025641
0
0.025641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
637ff6c71153ab5cecfe30bce4a405dfd2c17978
1,960
py
Python
src/python/gwas_analysis/dask/codecs.py
tomwhite/gwas-analysis
5b219607b8311722f16f7df8a8aad09ba69dc448
[ "Apache-2.0" ]
19
2020-03-18T01:06:58.000Z
2022-02-06T19:59:30.000Z
src/python/gwas_analysis/dask/codecs.py
tomwhite/gwas-analysis
5b219607b8311722f16f7df8a8aad09ba69dc448
[ "Apache-2.0" ]
39
2020-01-20T19:50:19.000Z
2021-01-07T19:01:48.000Z
src/python/gwas_analysis/dask/codecs.py
tomwhite/gwas-analysis
5b219607b8311722f16f7df8a8aad09ba69dc448
[ "Apache-2.0" ]
5
2020-03-13T20:47:24.000Z
2022-01-13T09:43:35.000Z
from dask.distributed import WorkerPlugin from numcodecs import PackBits from numcodecs.compat import ensure_ndarray, ndarray_copy import numpy as np # See: https://github.com/zarr-developers/numcodecs/blob/master/numcodecs/packbits.py class PackGeneticBits(PackBits): """Custom Zarr plugin for encoding allele co...
30.625
113
0.654082
250
1,960
5.04
0.528
0.030952
0.02619
0
0
0
0
0
0
0
0
0.016416
0.254082
1,960
63
114
31.111111
0.845417
0.391327
0
0
0
0
0.020478
0
0
0
0
0
0
1
0.148148
false
0
0.185185
0
0.518519
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
63806501475b50be287ea81ec9eea6bfef44daae
6,363
py
Python
astromodels/core/property.py
giacomov/astromodels
bfad6993465df66d9c071c00d6e0c747266bd3a7
[ "BSD-3-Clause" ]
11
2015-12-02T17:28:57.000Z
2018-10-08T02:33:32.000Z
astromodels/core/property.py
giacomov/astromodels
bfad6993465df66d9c071c00d6e0c747266bd3a7
[ "BSD-3-Clause" ]
73
2016-05-29T10:17:30.000Z
2018-12-21T19:35:00.000Z
astromodels/core/property.py
giacomov/astromodels
bfad6993465df66d9c071c00d6e0c747266bd3a7
[ "BSD-3-Clause" ]
15
2016-06-03T21:28:10.000Z
2019-01-07T14:23:15.000Z
import collections import copy from typing import Any, Dict, List, Optional, Tuple, Union from astromodels.utils.logging import setup_logger from .tree import Node log = setup_logger(__name__) # Exception for when a parameter is out of its bounds class SettingUnknownValue(RuntimeError): pass class PropertyBas...
27.786026
115
0.54534
707
6,363
4.724187
0.267327
0.054491
0.035629
0.022455
0.108683
0.081437
0.066467
0.066467
0.066467
0.041916
0
0.000506
0.378595
6,363
228
116
27.907895
0.844208
0.200692
0
0.196078
0
0.019608
0.105627
0.017266
0
0
0
0
0
1
0.117647
false
0.019608
0.04902
0.009804
0.294118
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
0
0
1
0
6381b46ba4699339e587d7107a305cb39d4ea409
4,354
py
Python
modules/import_ships.py
sprintska/menagerie
43a92f161f4b6aba9841ef7edb6fe10e84ab1f77
[ "MIT" ]
null
null
null
modules/import_ships.py
sprintska/menagerie
43a92f161f4b6aba9841ef7edb6fe10e84ab1f77
[ "MIT" ]
null
null
null
modules/import_ships.py
sprintska/menagerie
43a92f161f4b6aba9841ef7edb6fe10e84ab1f77
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import json import logging import logging.handlers import os import pickle import requests import sqlite3 import shutil from contextlib import closing _handler = logging.handlers.WatchedFileHandler("/var/log/menagerie.log") logging.basicConfig(handlers=[_handler], level=logging.INFO) API_TARGET_U...
29.821918
101
0.426964
353
4,354
5.121813
0.365439
0.02323
0.013274
0.027655
0.242257
0.242257
0.242257
0.242257
0.201327
0.201327
0
0.004507
0.490354
4,354
146
102
29.821918
0.810275
0.043638
0
0.034483
0
0
0.477946
0.005302
0
0
0
0
0
1
0.034483
false
0
0.077586
0
0.12931
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
0
0
1
0
63821dda649cfe4db5f1c008cef5ae903f0936db
2,296
py
Python
source/custom_scripts/backfill_app_stats_ee2_reserved_cpu.py
kbase/metrics
33b134d6d9dea8cc4e9cf0ebe6b370aef1dc3486
[ "MIT" ]
1
2015-12-16T13:33:04.000Z
2015-12-16T13:33:04.000Z
source/custom_scripts/backfill_app_stats_ee2_reserved_cpu.py
kbase/metrics
33b134d6d9dea8cc4e9cf0ebe6b370aef1dc3486
[ "MIT" ]
54
2016-06-01T19:28:09.000Z
2022-03-31T00:08:38.000Z
source/custom_scripts/backfill_app_stats_ee2_reserved_cpu.py
kbase/metrics
33b134d6d9dea8cc4e9cf0ebe6b370aef1dc3486
[ "MIT" ]
8
2015-12-16T13:33:04.000Z
2020-02-07T23:30:33.000Z
import os import mysql.connector as mysql sql_host = os.environ["SQL_HOST"] query_on = os.environ["QUERY_ON"] metrics_mysql_password = os.environ["METRICS_MYSQL_PWD"] def make_lookup_dict(): cpu_file = open("custom_scripts/app_reserved_cpu_lookup_file.txt", "r") lines = cpu_file.readlines() count = 0 ...
30.613333
88
0.678571
306
2,296
4.70915
0.303922
0.167939
0.117974
0.131159
0.170715
0.108258
0.055517
0
0
0
0
0.007905
0.228659
2,296
74
89
31.027027
0.805759
0.037892
0
0
0
0
0.145322
0.044959
0
0
0
0
0
1
0.035088
false
0.035088
0.035088
0
0.105263
0.035088
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
0
1
0
6383bbf4486f5639d8906a1645240b576336ba7a
7,157
py
Python
rein_train.py
jhkim6467/input_distill
0e49e7552fa17cf72143fcc5ff84a8b25cb02232
[ "MIT" ]
null
null
null
rein_train.py
jhkim6467/input_distill
0e49e7552fa17cf72143fcc5ff84a8b25cb02232
[ "MIT" ]
null
null
null
rein_train.py
jhkim6467/input_distill
0e49e7552fa17cf72143fcc5ff84a8b25cb02232
[ "MIT" ]
null
null
null
from __future__ import division, unicode_literals import argparse import time import math import random import torch.nn as nn, torch import torch.nn.init as init import torch.optim as optim import os import numpy as np import pickle from torch.autograd import Variable from torch.utils.data import DataLoader from scip...
31.808889
144
0.619254
943
7,157
4.447508
0.230117
0.01836
0.011922
0.007153
0.086314
0.070577
0.070577
0.043395
0.043395
0.025751
0
0.019041
0.236831
7,157
224
145
31.950893
0.74881
0.016627
0
0.01875
0
0
0.022822
0.013485
0
0
0
0
0
1
0.0625
false
0
0.14375
0.01875
0.25
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
0
0
1
0
6385ed5301b4cb8b06313076f50b0982e7fb2002
2,605
py
Python
pyblas/level2/icamax.py
timleslie/pyblas
9109f2cc24e674cf59a3b39f95c2d7b8116ae884
[ "BSD-3-Clause" ]
null
null
null
pyblas/level2/icamax.py
timleslie/pyblas
9109f2cc24e674cf59a3b39f95c2d7b8116ae884
[ "BSD-3-Clause" ]
1
2020-10-10T23:23:06.000Z
2020-10-10T23:23:06.000Z
pyblas/level2/icamax.py
timleslie/pyblas
9109f2cc24e674cf59a3b39f95c2d7b8116ae884
[ "BSD-3-Clause" ]
null
null
null
# > \brief \b ICAMAX # # =========== DOCUMENTATION =========== # # Online html documentation available at # http://www.netlib.org/lapack/explore-html/ # # Definition: # =========== # # INTEGER FUNCTION ICAmax(N,CX,INCX) # # .. Scalar Arguments .. # INTEGER INCX,N # .. # .. Ar...
22.652174
84
0.471785
274
2,605
4.481752
0.408759
0.029316
0.029316
0.021173
0.179153
0.118893
0.118893
0.118893
0.081433
0
0
0.028668
0.317083
2,605
114
85
22.850877
0.661608
0.68906
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.217391
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
0
0
1
0
63872bec7ad482c58ec938d8ed3b9e283f7be51a
135
py
Python
core/__init__.py
david-wm-sanders/oeo
1ce26ddcd83d957183eefaae508c2a6800d47e94
[ "MIT" ]
1
2019-07-28T04:40:16.000Z
2019-07-28T04:40:16.000Z
core/__init__.py
david-wm-sanders/oeo
1ce26ddcd83d957183eefaae508c2a6800d47e94
[ "MIT" ]
null
null
null
core/__init__.py
david-wm-sanders/oeo
1ce26ddcd83d957183eefaae508c2a6800d47e94
[ "MIT" ]
null
null
null
from .oeo import Oeo from .element import Element from .stats import Stats from .move import Move, MoveCategory from .item import Item
22.5
36
0.8
21
135
5.142857
0.380952
0
0
0
0
0
0
0
0
0
0
0
0.155556
135
5
37
27
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
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
1
0
1
0
1
0
0
5
63872c71ea983b463c94d5253e8b2aae917c2ae9
8,708
py
Python
iepy/extraction/active_learning_core.py
silky/iepy
5967d025ce47d28e1d8725c14d5b05dda36afa3c
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2019-06-27T11:32:36.000Z
2019-06-27T11:32:36.000Z
iepy/extraction/active_learning_core.py
silky/iepy
5967d025ce47d28e1d8725c14d5b05dda36afa3c
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
iepy/extraction/active_learning_core.py
silky/iepy
5967d025ce47d28e1d8725c14d5b05dda36afa3c
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
import logging import random import sys import numpy from sklearn.cross_validation import StratifiedKFold from sklearn.metrics import precision_recall_curve from iepy import defaults from iepy.extraction.relation_extraction_classifier import RelationExtractionClassifier logger = logging.getLogger(__name__) HIPREC...
38.875
108
0.636082
1,025
8,708
5.282927
0.272195
0.075346
0.050416
0.019945
0.06759
0.015512
0.015512
0.015512
0
0
0
0.004473
0.281121
8,708
223
109
39.049327
0.860543
0.271704
0
0.066667
0
0
0.07283
0
0
0
0
0.004484
0.02963
1
0.088889
false
0.007407
0.059259
0
0.214815
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
0
0
1
0
6389f2d088c36850ddd534900c1ca48ec6be6f71
3,211
py
Python
core/src/autogluon/core/utils/mo_hbo_utils.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
4,462
2019-12-09T17:41:07.000Z
2022-03-31T22:00:41.000Z
core/src/autogluon/core/utils/mo_hbo_utils.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
1,408
2019-12-09T17:48:59.000Z
2022-03-31T20:24:12.000Z
core/src/autogluon/core/utils/mo_hbo_utils.py
zhiqiangdon/autogluon
71ee7ef0f05d8f0aad112d8c1719174aa33194d9
[ "Apache-2.0" ]
623
2019-12-10T02:04:18.000Z
2022-03-20T17:11:01.000Z
""" Methods helpful for multi-objective HPO. """ import numpy as np def retrieve_pareto_front(training_history, objectives): """Retrieves the pareto efficient points discovered during a scheduler's search process. Parameters ---------- training_history: A training history dictionary gen...
31.174757
78
0.63625
438
3,211
4.589041
0.372146
0.034826
0.019403
0.023881
0.064677
0.029851
0.029851
0.029851
0
0
0
0.006809
0.268141
3,211
102
79
31.480392
0.848511
0.476487
0
0
0
0
0.041723
0
0
0
0
0
0.025
1
0.075
false
0
0.025
0
0.175
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
0
0
1
0
638a0baf11ca5164a0488e66a941c341fef23f5f
1,191
py
Python
twinpy/interfaces/phonopy.py
kei0822kei/twinpy
14b47df1fa5b57a54f57d5c2120ed3fe9502a9bc
[ "MIT" ]
null
null
null
twinpy/interfaces/phonopy.py
kei0822kei/twinpy
14b47df1fa5b57a54f57d5c2120ed3fe9502a9bc
[ "MIT" ]
5
2021-01-19T13:08:28.000Z
2021-02-20T12:03:59.000Z
twinpy/interfaces/phonopy.py
kei0822kei/twinpy
14b47df1fa5b57a54f57d5c2120ed3fe9502a9bc
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Interfaces for Phonopy. """ from phonopy.structure.atoms import PhonopyAtoms def get_phonopy_structure(cell:tuple) -> PhonopyAtoms: """ Return phonopy structure. Args: cell: (lattice, scaled_positions, symbols). Returns: PhonopyAtoms: Phonopy structure. ...
25.891304
77
0.645676
127
1,191
5.80315
0.338583
0.119403
0.081411
0.078697
0.157395
0
0
0
0
0
0
0.003448
0.269521
1,191
45
78
26.466667
0.843678
0.320739
0
0
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.333333
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
0
0
1
0
638c0be826b6716fae5d37c58132d62b7412ca00
151
py
Python
unecorn/admin.py
anast239/unecorn
8a874f8cced013668dd29398176a8fb60cc04057
[ "MIT" ]
null
null
null
unecorn/admin.py
anast239/unecorn
8a874f8cced013668dd29398176a8fb60cc04057
[ "MIT" ]
null
null
null
unecorn/admin.py
anast239/unecorn
8a874f8cced013668dd29398176a8fb60cc04057
[ "MIT" ]
null
null
null
from django.contrib import admin from unecorn.models import * admin.site.register(Discount) admin.site.register(Category) admin.site.register(Company)
25.166667
32
0.827815
21
151
5.952381
0.571429
0.216
0.408
0
0
0
0
0
0
0
0
0
0.072848
151
6
33
25.166667
0.892857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
1
1
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
1
0
1
0
0
0
0
6
638fa7d83e983c9f58b992517e42b211927ac9d7
101
py
Python
smaland/totp.py
emilwareus/smaland
b455199b072c84bcf6d576c92fc18004e0cbe60b
[ "MIT" ]
3
2020-03-15T21:07:48.000Z
2021-03-15T20:37:39.000Z
smaland/totp.py
emilwareus/smaland
b455199b072c84bcf6d576c92fc18004e0cbe60b
[ "MIT" ]
null
null
null
smaland/totp.py
emilwareus/smaland
b455199b072c84bcf6d576c92fc18004e0cbe60b
[ "MIT" ]
1
2020-04-05T08:17:14.000Z
2020-04-05T08:17:14.000Z
import os import pyotp def totp(secret): totp = pyotp.TOTP(secret) return totp.now()
10.1
29
0.633663
14
101
4.571429
0.571429
0.3125
0
0
0
0
0
0
0
0
0
0
0.267327
101
9
30
11.222222
0.864865
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
1
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
1
0
1
0
0
5
63926d6791f595f27ac1f2b7ab67e1b7d3e158ff
1,929
py
Python
tests/test_configurations/test_validation.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
tests/test_configurations/test_validation.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
tests/test_configurations/test_validation.py
marcofavorito/agents-aea
e520f2f5d076a193514e194d94aa76c6423ac5bc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # 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 ...
37.096154
83
0.613271
247
1,929
4.651822
0.425101
0.093995
0.125326
0.180157
0.3255
0.303742
0.251523
0.163621
0.106179
0.106179
0
0.019145
0.187662
1,929
51
84
37.823529
0.714103
0.450492
0
0.375
0
0
0.188953
0
0
0
0
0
0.416667
1
0.041667
false
0
0.041667
0
0.083333
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
1
0
0
0
0
0
0
0
0
0
2
63945e496bccbd028111b476e664c3eb1a506627
149
py
Python
catfact.py
machow/catfact
d316ddc399c5832827748bfd0090c9aab328be0e
[ "MIT" ]
null
null
null
catfact.py
machow/catfact
d316ddc399c5832827748bfd0090c9aab328be0e
[ "MIT" ]
1
2020-08-17T16:39:22.000Z
2020-08-17T17:26:28.000Z
catfact.py
machow/forcats-py
d316ddc399c5832827748bfd0090c9aab328be0e
[ "MIT" ]
null
null
null
__version__ = "0.0.1" # NOTE: I am moving the forcats module from siuba to here # https://github.com/machow/siuba/blob/master/siuba/dply/forcats.py
29.8
67
0.744966
26
149
4.115385
0.846154
0
0
0
0
0
0
0
0
0
0
0.022901
0.120805
149
4
68
37.25
0.793893
0.812081
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6394a005b0b9bebb0d580dab268f093e10997fc7
958
py
Python
src/djanban/apps/boards/migrations/0007_auto_20160724_2331.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
33
2017-06-14T18:04:25.000Z
2021-06-15T07:07:56.000Z
src/djanban/apps/boards/migrations/0007_auto_20160724_2331.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
1
2017-05-10T08:45:55.000Z
2017-05-10T08:45:55.000Z
src/djanban/apps/boards/migrations/0007_auto_20160724_2331.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
8
2017-08-27T11:14:25.000Z
2021-03-03T12:11:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-24 21:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('boards', '0006_board_hourly_rates'), ] operations = [ migrations.AddField( ...
30.903226
135
0.625261
105
958
5.533333
0.552381
0.092943
0.118761
0.139415
0.449225
0.449225
0.388985
0.388985
0.185886
0.185886
0
0.036932
0.265136
958
30
136
31.933333
0.788352
0.069937
0
0.391304
1
0
0.199324
0.025901
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
6394f2f9f555e0a8608e94bc903806f7f599f382
547
py
Python
consultas/consultas/report/reporte_ars/reporte_ars.py
Lewinta/Consultas
e01ad870a2bad0eb5938d8800e3e2934402fce62
[ "MIT" ]
null
null
null
consultas/consultas/report/reporte_ars/reporte_ars.py
Lewinta/Consultas
e01ad870a2bad0eb5938d8800e3e2934402fce62
[ "MIT" ]
null
null
null
consultas/consultas/report/reporte_ars/reporte_ars.py
Lewinta/Consultas
e01ad870a2bad0eb5938d8800e3e2934402fce62
[ "MIT" ]
null
null
null
# Copyright (c) 2013, Lewin Villar and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def execute(filters=None): fields = ["paciente","ars_nombre","diferencia","reclamado","autorizado","medico"] filters = {"name":"CLS-0000001795"} result = frap...
36.466667
109
0.740402
66
547
6.030303
0.69697
0.055276
0.085427
0.135678
0
0
0
0
0
0
0
0.02863
0.106033
547
15
110
36.466667
0.785276
0.177331
0
0
0
0
0.339286
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.4
0.1
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
0
1
0
63962ee9e6bd04454a63c550017a084b6549e70a
2,014
py
Python
features/list.py
magnusstubman/mal00
e99cad410657bf0452cae02d81d89c211732a789
[ "MIT" ]
3
2021-03-29T13:28:31.000Z
2021-10-12T09:33:14.000Z
features/list.py
magnusstubman/mal00
e99cad410657bf0452cae02d81d89c211732a789
[ "MIT" ]
null
null
null
features/list.py
magnusstubman/mal00
e99cad410657bf0452cae02d81d89c211732a789
[ "MIT" ]
1
2021-04-05T10:19:34.000Z
2021-04-05T10:19:34.000Z
from features import addFeature from lib import implants from lib import globals import tableprint import timeago import sys import time global lastImplantCount lastImplantCount = 0 def delLast(num): return num += 4 ERASE_LINE = '\x1b[2K' CURSOR_UP_ONE = '\x1b[1A' CURSOR_DOWN_ONE = '\x1b[1B' print((CURS...
30.515152
134
0.626614
247
2,014
5.048583
0.352227
0.102646
0.035285
0.070569
0.253408
0.17482
0.150762
0.150762
0.150762
0.063352
0
0.008366
0.228401
2,014
65
135
30.984615
0.79408
0.283515
0
0.093023
0
0
0.084379
0
0
0
0
0
0
1
0.069767
false
0
0.162791
0.023256
0.325581
0.139535
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
0
1
0
639784db5f7b3e514273818d74c8edc0b31fcc00
2,883
py
Python
cst_toolbox/misc.py
danielberenberg/system-triangle-citizen
9b3aef8ce61c798119456f7c0febbabd15d4b054
[ "AFL-1.1" ]
null
null
null
cst_toolbox/misc.py
danielberenberg/system-triangle-citizen
9b3aef8ce61c798119456f7c0febbabd15d4b054
[ "AFL-1.1" ]
null
null
null
cst_toolbox/misc.py
danielberenberg/system-triangle-citizen
9b3aef8ce61c798119456f7c0febbabd15d4b054
[ "AFL-1.1" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import shutil import secrets from pathlib import Path class text_color: BLACK = '\033[30m' RED = '\033[31m' GREEN = '\033[32m' YELLOW = '\033[33m' BLUE = '\033[34m' MAGENTA = '\033[35m' CYAN = '\033[36m' WHITE = '\033[37m' ...
23.826446
88
0.58897
359
2,883
4.518106
0.4039
0.047472
0.020345
0.020962
0.05672
0
0
0
0
0
0
0.042295
0.286507
2,883
120
89
24.025
0.746232
0.075616
0
0.058824
0
0
0.094661
0.020825
0
0
0
0.008333
0
1
0.2
false
0.011765
0.035294
0.070588
0.623529
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
0
0
1
0
6398388ca17e95891e06f879a77203f8c6d615b1
226
py
Python
tests/xtests/view_base/apps.py
Linuxbody/Xadmin
09f588dda215c9e872d7c007622c1a8d32956265
[ "BSD-3-Clause" ]
null
null
null
tests/xtests/view_base/apps.py
Linuxbody/Xadmin
09f588dda215c9e872d7c007622c1a8d32956265
[ "BSD-3-Clause" ]
1
2021-02-08T20:51:30.000Z
2021-02-08T20:51:30.000Z
tests/xtests/view_base/apps.py
Linuxbody/Xadmin
09f588dda215c9e872d7c007622c1a8d32956265
[ "BSD-3-Clause" ]
1
2017-08-23T06:49:46.000Z
2017-08-23T06:49:46.000Z
#!/usr/bin/env python #coding:utf-8 import sys if sys.getdefaultencoding()=='ascii': reload(sys) sys.setdefaultencoding('utf-8') from django.apps import AppConfig class ViewBaseApp(AppConfig): name = "view_base"
18.833333
37
0.721239
30
226
5.4
0.766667
0.049383
0
0
0
0
0
0
0
0
0
0.010309
0.141593
226
11
38
20.545455
0.824742
0.141593
0
0
0
0
0.098958
0
0
0
0
0
0
1
0
false
0
0.285714
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
0
0
1
0
63992d2753f85baec5addc65ebdd06abc6f26af5
2,569
py
Python
equidistantpoints/cli.py
ksbg/edpoints
f0534ad7deb6ec50992dc382bf3395e7e494aace
[ "MIT" ]
5
2019-04-01T12:15:35.000Z
2021-11-23T21:56:14.000Z
equidistantpoints/cli.py
ksbg/edpoints
f0534ad7deb6ec50992dc382bf3395e7e494aace
[ "MIT" ]
null
null
null
equidistantpoints/cli.py
ksbg/edpoints
f0534ad7deb6ec50992dc382bf3395e7e494aace
[ "MIT" ]
1
2019-03-23T08:43:03.000Z
2019-03-23T08:43:03.000Z
"""Command-line usage of the package""" from argparse import ArgumentParser from . import EquidistantPoints def parse_args(): """Command-line arguments parsing""" parser = ArgumentParser() parser.add_argument( 'n_points', help='Number of points to be generated', metavar='N', ...
32.518987
96
0.609965
311
2,569
4.836013
0.305466
0.042553
0.047872
0.042553
0.307181
0.277926
0.234043
0.12633
0.087766
0.087766
0
0.010604
0.265862
2,569
78
97
32.935897
0.78685
0.035812
0
0.253968
0
0.015873
0.313694
0
0
0
0
0
0
1
0.031746
false
0
0.031746
0
0.079365
0.015873
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
0
1
0
6399347054a80cac6c21b3faa78dc0fa728a196b
406
py
Python
conda_verify/package/test_setup_files.py
soapy1/conda-verify
4941b8ea37bf4afa5ca16366ae855f756037f230
[ "BSD-3-Clause" ]
null
null
null
conda_verify/package/test_setup_files.py
soapy1/conda-verify
4941b8ea37bf4afa5ca16366ae855f756037f230
[ "BSD-3-Clause" ]
null
null
null
conda_verify/package/test_setup_files.py
soapy1/conda-verify
4941b8ea37bf4afa5ca16366ae855f756037f230
[ "BSD-3-Clause" ]
1
2020-02-03T12:43:17.000Z
2020-02-03T12:43:17.000Z
from conda_verify.conda_package_check import CondaPackageCheck def verify(path_to_package=None, verbose=True, **kwargs): package_check = CondaPackageCheck(path_to_package, verbose) package_check.no_setuptools() pedantic = kwargs.get("pedantic") if "pedantic" in kwargs.keys() else True package_check.no...
36.909091
78
0.780788
54
406
5.555556
0.518519
0.24
0.14
0
0
0
0
0
0
0
0
0
0.125616
406
10
79
40.6
0.84507
0
0
0
0
0
0.039409
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
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
639a947ce1dccf8c0d1cdff0245bd69ac98bd8c8
346
py
Python
py/kgc/csv_numbered_fields.py
bcgov/diutils
caf510c81f7f43372d4a8e18f77eaa86cdede6a5
[ "Apache-2.0" ]
3
2020-02-13T21:34:28.000Z
2021-01-11T17:24:56.000Z
py/kgc/csv_numbered_fields.py
bcgov/diputils
6a491e8f1dd9330b58083953a274544b6c0f5bea
[ "Apache-2.0" ]
14
2020-04-17T19:33:50.000Z
2021-12-12T22:03:43.000Z
py/kgc/csv_numbered_fields.py
bcgov/diutils
caf510c81f7f43372d4a8e18f77eaa86cdede6a5
[ "Apache-2.0" ]
1
2021-11-19T01:18:41.000Z
2021-11-19T01:18:41.000Z
# write new version of csv with numbered (not named) fields import os import sys args = sys.argv lines = open(args[1]).readlines() lines = [line.strip() for line in lines] hdr = lines[0].split(',') hdr = ','.join([str(i) for i in range(len(hdr))]) lines[0] = hdr open(args[1] + "_numbered_fields.csv", "wb").write(('\...
24.714286
79
0.656069
58
346
3.87931
0.586207
0.071111
0.08
0
0
0
0
0
0
0
0
0.013423
0.138728
346
13
80
26.615385
0.741611
0.16474
0
0
0
0
0.090592
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
0
0
1
0
639b89ff3173f96edbd1e584cff4ca8d08819f9f
2,532
py
Python
bike/parsing/load.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
2
2020-05-29T06:31:53.000Z
2020-12-19T21:49:25.000Z
bike/parsing/load.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
null
null
null
bike/parsing/load.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
null
null
null
from bike.globals import * import os from bike.parsing.fastparser import fastparser class Cache: def __init__(self): self.reset() def reset(self): self.srcnodecache = {} self.typecache = {} self.maskedlinescache = {} instance = None Cache.instance = Cache() class CantLoca...
26.652632
77
0.648499
234
2,532
6.92735
0.299145
0.05182
0.05182
0.040716
0.091302
0
0
0
0
0
0
0.001078
0.267378
2,532
94
78
26.93617
0.872776
0.026856
0
0.123077
0
0
0.007733
0
0
0
0
0.010638
0
1
0.2
false
0.030769
0.061538
0.107692
0.507692
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
1
1
0
0
3
639c16e6f34dd9dd30026f135c3b0b6e5f096b19
736
py
Python
tests/expander/test_expand_config_shared.py
alphatwirl/qtwirl
85cc5fa53a9932a83c3fb6115a054590bcf999a7
[ "BSD-3-Clause" ]
null
null
null
tests/expander/test_expand_config_shared.py
alphatwirl/qtwirl
85cc5fa53a9932a83c3fb6115a054590bcf999a7
[ "BSD-3-Clause" ]
null
null
null
tests/expander/test_expand_config_shared.py
alphatwirl/qtwirl
85cc5fa53a9932a83c3fb6115a054590bcf999a7
[ "BSD-3-Clause" ]
null
null
null
# Tai Sakuma <tai.sakuma@gmail.com> import pytest try: import unittest.mock as mock except ImportError: import mock from qtwirl._parser.expander import _expand_config ##__________________________________________________________________|| @pytest.fixture() def mock_expand_one_dict(monkeypatch): def ret(cf...
26.285714
70
0.766304
81
736
5.111111
0.469136
0.065217
0.094203
0.082126
0
0
0
0
0
0
0
0.00159
0.14538
736
27
71
27.259259
0.656598
0.22962
0
0
0
0
0.042781
0
0
0
0
0
0.055556
1
0.166667
false
0
0.333333
0
0.555556
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
639c1fc6dce0c0de8ecc27f3959b4ad5d2555fed
2,815
py
Python
molecool/visualize.py
janash/sample_python_package
367a1f446671aca81b789077adfb771385786d48
[ "BSD-3-Clause" ]
1
2020-05-01T18:43:56.000Z
2020-05-01T18:43:56.000Z
molecool/visualize.py
janash/sample_python_package
367a1f446671aca81b789077adfb771385786d48
[ "BSD-3-Clause" ]
null
null
null
molecool/visualize.py
janash/sample_python_package
367a1f446671aca81b789077adfb771385786d48
[ "BSD-3-Clause" ]
null
null
null
""" Functions for visualization of molecules """ import numpy as np import matplotlib.pyplot as plt from .atom_data import atom_colors def draw_molecule(coordinates, symbols, draw_bonds=None, save_location=None, dpi=300): """Draw a picture of a molecule. Parameters ---------- coordinates : np.ndarray...
28.72449
86
0.617052
372
2,815
4.586022
0.311828
0.056272
0.036928
0.022274
0.432591
0.383353
0.362251
0.362251
0.327081
0.327081
0
0.018821
0.282771
2,815
98
87
28.72449
0.826152
0.393606
0
0.171429
0
0
0.040947
0
0
0
0
0
0
1
0.057143
false
0
0.085714
0
0.2
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
0
0
1
0
639d17d627a197d64b7fb4116f0b3b64aa07ae6b
2,185
py
Python
interesting_info.py
jicarretero/fiware-users
cedb87550fc3a1e95b0087e3174160301fe3b80d
[ "Apache-2.0" ]
null
null
null
interesting_info.py
jicarretero/fiware-users
cedb87550fc3a1e95b0087e3174160301fe3b80d
[ "Apache-2.0" ]
null
null
null
interesting_info.py
jicarretero/fiware-users
cedb87550fc3a1e95b0087e3174160301fe3b80d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- ## # Copyright 2017 FIWARE Foundation, e.V. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apach...
28.012821
103
0.70389
313
2,185
4.71246
0.41853
0.029831
0.042712
0.022373
0.055593
0
0
0
0
0
0
0.005034
0.181693
2,185
77
104
28.376623
0.819911
0.309382
0
0
0
0
0.148621
0.014795
0
0
0
0
0
1
0
false
0
0.135135
0
0.135135
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
0
0
1
0
639ecc093e44120c4662cc5f7f988b58d3a293ce
5,365
py
Python
test/test_parity_accounts.py
ad360io/python-ethereum-client
93c111f20ea2f7297d4462edc500cfecb1f289e0
[ "Apache-2.0" ]
3
2019-03-28T18:56:44.000Z
2020-12-30T17:00:15.000Z
test/test_parity_accounts.py
thezedwards/python-ethereum-client
93c111f20ea2f7297d4462edc500cfecb1f289e0
[ "Apache-2.0" ]
null
null
null
test/test_parity_accounts.py
thezedwards/python-ethereum-client
93c111f20ea2f7297d4462edc500cfecb1f289e0
[ "Apache-2.0" ]
null
null
null
from test_base import TestBase class TestParityAccounts(TestBase): def test_parity_all_accounts_info(self): cb = lambda: self.client.parity_all_accounts_info() self.mock(cb, True) def test_parity_change_password(self): address = '0xdae1bfb92c7c0fd23396619ee1a0d643bf609c2e' ol...
39.448529
92
0.704753
603
5,365
5.960199
0.109453
0.046745
0.086811
0.1202
0.776016
0.718698
0.643851
0.565665
0.503617
0.374235
0
0.095878
0.20876
5,365
135
93
39.740741
0.750766
0
0
0.458716
0
0
0.167754
0.134203
0
0
0.134203
0
0
1
0.220183
false
0.192661
0.027523
0
0.256881
0
0
0
0
null
0
0
0
0
1
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
1
0
0
0
0
0
3
639f02b61ea216bdda84b7ae424cd5d8a516bacb
1,955
py
Python
stats/management/commands/import_historical_daily_compute_ligo.py
ARCCA/cogs3
bcfe4397e1c91607e231f97df7d05b924e6598da
[ "MIT" ]
1
2020-03-28T23:55:02.000Z
2020-03-28T23:55:02.000Z
stats/management/commands/import_historical_daily_compute_ligo.py
ARCCA/cogs3
bcfe4397e1c91607e231f97df7d05b924e6598da
[ "MIT" ]
60
2018-04-16T13:40:23.000Z
2020-06-05T18:02:01.000Z
stats/management/commands/import_historical_daily_compute_ligo.py
ARCCA/cogs3
bcfe4397e1c91607e231f97df7d05b924e6598da
[ "MIT" ]
10
2018-03-14T22:25:50.000Z
2020-01-09T21:32:22.000Z
import os from datetime import datetime from django.core.management.base import BaseCommand from . import find_date_range_of_ligo_file class Command(BaseCommand): help = 'Import historical daily compute stats for LIGO from bz2 files.' def add_arguments(self, parser): parser.add_argument...
34.298246
88
0.547315
214
1,955
4.911215
0.401869
0.053283
0.079924
0.054234
0.242626
0.242626
0.21313
0.152236
0.152236
0.152236
0
0.007229
0.363171
1,955
56
89
34.910714
0.836948
0.064962
0
0.243243
0
0
0.170538
0.014164
0
0
0
0
0
1
0.081081
false
0
0.189189
0
0.324324
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
0
0
1
0
639f2d1a51d2e5c95491eb21f78d303d6cbf9833
2,949
py
Python
xero_python/payrolluk/models/benefits.py
parasharrk/xero-python
e8416f3bd893520a343af014f5bb65acbf1f4f13
[ "MIT" ]
null
null
null
xero_python/payrolluk/models/benefits.py
parasharrk/xero-python
e8416f3bd893520a343af014f5bb65acbf1f4f13
[ "MIT" ]
null
null
null
xero_python/payrolluk/models/benefits.py
parasharrk/xero-python
e8416f3bd893520a343af014f5bb65acbf1f4f13
[ "MIT" ]
null
null
null
# coding: utf-8 """ Xero Payroll UK This is the Xero Payroll API for orgs in the UK region. # noqa: E501 OpenAPI spec version: 2.4.0 Contact: api@xero.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 from xero_python.models import BaseModel class Benefits(BaseMod...
24.172131
83
0.587657
327
2,949
5.244648
0.238532
0.055977
0.097959
0.094461
0.338776
0.245481
0.229738
0.044315
0.044315
0.044315
0
0.021425
0.31943
2,949
121
84
24.371901
0.833084
0.382503
0
0.071429
1
0
0.079425
0
0
0
0
0
0
1
0.166667
false
0
0.047619
0
0.357143
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
63a01e092685c700f3b8dba69aaebf5daf1ae324
67
py
Python
supplychainpy/reporting/blueprints/contact/templates/__init__.py
luisccalves/supplychainpy
63a10b77ffdcc5bca71e815c70667c819d8f9af0
[ "BSD-3-Clause" ]
231
2016-05-30T02:34:45.000Z
2022-03-28T17:00:29.000Z
supplychainpy/reporting/blueprints/contact/templates/__init__.py
luisccalves/supplychainpy
63a10b77ffdcc5bca71e815c70667c819d8f9af0
[ "BSD-3-Clause" ]
77
2016-03-23T16:28:34.000Z
2021-09-30T22:08:03.000Z
supplychainpy/reporting/blueprints/contact/templates/__init__.py
luisccalves/supplychainpy
63a10b77ffdcc5bca71e815c70667c819d8f9af0
[ "BSD-3-Clause" ]
103
2016-08-10T19:53:09.000Z
2022-03-16T16:34:38.000Z
from supplychainpy.reporting.blueprints.contact.views import about
33.5
66
0.880597
8
67
7.375
1
0
0
0
0
0
0
0
0
0
0
0
0.059701
67
1
67
67
0.936508
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
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
1
0
1
0
1
1
0
6
63a078f73cd02a7639b3fb8a84f7a96fd200a95a
390
py
Python
harmony/harmony_checker/migrations/0018_auto_20191230_1247.py
ecxia/harmony-checker
78b198fa091bd8175a8ad8f233053b34654c3a09
[ "MIT" ]
null
null
null
harmony/harmony_checker/migrations/0018_auto_20191230_1247.py
ecxia/harmony-checker
78b198fa091bd8175a8ad8f233053b34654c3a09
[ "MIT" ]
null
null
null
harmony/harmony_checker/migrations/0018_auto_20191230_1247.py
ecxia/harmony-checker
78b198fa091bd8175a8ad8f233053b34654c3a09
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-12-30 18:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('harmony_checker', '0017_auto_20191230_1246'), ] operations = [ migrations.AlterField( model_name='test', name='func'...
20.526316
55
0.602564
43
390
5.325581
0.837209
0
0
0
0
0
0
0
0
0
0
0.11828
0.284615
390
18
56
21.666667
0.702509
0.115385
0
0
1
0
0.134111
0.067055
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
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
63a0c556655cbddce507c8203d32acd238d0abbf
11,486
py
Python
Meters/IEC/crm_getter.py
Runamook/PyCharmProjects
1b1a063345e052451f00e3fdea82e31bdd2a0cae
[ "MIT" ]
null
null
null
Meters/IEC/crm_getter.py
Runamook/PyCharmProjects
1b1a063345e052451f00e3fdea82e31bdd2a0cae
[ "MIT" ]
null
null
null
Meters/IEC/crm_getter.py
Runamook/PyCharmProjects
1b1a063345e052451f00e3fdea82e31bdd2a0cae
[ "MIT" ]
null
null
null
import json try: from .Helpers.create_logger import create_logger except ImportError: from Helpers.create_logger import create_logger try: from .emhmeter import * except ModuleNotFoundError: from emhmeter import * from time import sleep import datetime class CRMtoRedis: url = "http://10.11.30.97:...
34.911854
141
0.562946
1,303
11,486
4.816577
0.22947
0.031867
0.023901
0.022945
0.159975
0.145315
0.1297
0.090185
0.05768
0.029318
0
0.037476
0.330925
11,486
328
142
35.018293
0.77918
0.233502
0
0.184211
0
0.005263
0.165091
0.025285
0
0
0
0
0
1
0.084211
false
0
0.042105
0
0.226316
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
0
0
1
0
63a10e3867c93ef6e2a403378b7afcbe977b5a3c
172
py
Python
panel/widgets/__init__.py
arianon/panel
634d9b65fe7973f7875b827a22ef18fc74120725
[ "MIT" ]
null
null
null
panel/widgets/__init__.py
arianon/panel
634d9b65fe7973f7875b827a22ef18fc74120725
[ "MIT" ]
null
null
null
panel/widgets/__init__.py
arianon/panel
634d9b65fe7973f7875b827a22ef18fc74120725
[ "MIT" ]
null
null
null
from ..widget import Widget from .bitcoin import bitcoin from .clock import clock, calendar from .music import music from .volume import volume from .memory import memory
21.5
34
0.802326
25
172
5.52
0.36
0
0
0
0
0
0
0
0
0
0
0
0.151163
172
7
35
24.571429
0.945205
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
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
1
0
1
0
0
0
0
4
63a1738a8546e5c03125ba171676d6c0f49767de
1,280
py
Python
custom_components/vivint/lock.py
cameroncockrell/hacs-vivint
e0d3b053a2247d7b506e8e3edfbdc4b5f6de7e0b
[ "MIT" ]
25
2021-02-08T16:13:38.000Z
2022-02-22T01:32:31.000Z
custom_components/vivint/lock.py
cameroncockrell/hacs-vivint
e0d3b053a2247d7b506e8e3edfbdc4b5f6de7e0b
[ "MIT" ]
37
2021-01-24T22:37:25.000Z
2022-03-16T03:08:09.000Z
custom_components/vivint/lock.py
cameroncockrell/hacs-vivint
e0d3b053a2247d7b506e8e3edfbdc4b5f6de7e0b
[ "MIT" ]
1
2021-09-02T18:49:06.000Z
2021-09-02T18:49:06.000Z
"""Support for Vivint door locks.""" from homeassistant.components.lock import LockEntity from vivintpy.devices.door_lock import DoorLock from .const import DOMAIN from .hub import VivintEntity async def async_setup_entry(hass, config_entry, async_add_entities): """Set up Vivint door locks using config entry."""...
27.826087
77
0.657813
162
1,280
5.080247
0.358025
0.060753
0.047388
0.038882
0.053463
0
0
0
0
0
0
0
0.234375
1,280
45
78
28.444444
0.839796
0.076563
0
0.076923
0
0
0.042095
0.042095
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.384615
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
0
0
1
0
63a25b18c73a26d39d698b2c55164a02e5eac2cc
1,482
py
Python
fastapi-master-api/app/service/adapters.py
SionAbes/fullstack-porfolio
6ca74da425a0f6e2d9b65b2aeb8d5452ff1565a9
[ "MIT" ]
1
2021-12-25T09:19:25.000Z
2021-12-25T09:19:25.000Z
fastapi-master-api/app/service/adapters.py
SionAbes/fullstack-porfolio
6ca74da425a0f6e2d9b65b2aeb8d5452ff1565a9
[ "MIT" ]
null
null
null
fastapi-master-api/app/service/adapters.py
SionAbes/fullstack-porfolio
6ca74da425a0f6e2d9b65b2aeb8d5452ff1565a9
[ "MIT" ]
null
null
null
import json from typing import List, Union from app.domain.adapter import ( Adapter, CreateVolvoCaretrackAdapter, CreateWackerNeusonKramerAdapter, ) from app.repository.database.adapters import PolymorphicAdaptersBase, adapters_repo from kafka import KafkaProducer from sqlalchemy.orm import Session class...
26.945455
83
0.662618
152
1,482
6.223684
0.361842
0.088795
0.073996
0.042283
0.05074
0
0
0
0
0
0
0.004533
0.255735
1,482
54
84
27.444444
0.853128
0
0
0.043478
0
0
0.016869
0
0
0
0
0
0
1
0.108696
false
0
0.130435
0.021739
0.326087
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
0
0
1
0
63a466972fbe138345c3a144affd2ff678d1060a
592
py
Python
gamabr.py
shalahuddin/sketch
e8c051e09d48348bab1594e9538f719940fba52e
[ "Unlicense" ]
null
null
null
gamabr.py
shalahuddin/sketch
e8c051e09d48348bab1594e9538f719940fba52e
[ "Unlicense" ]
3
2020-07-13T09:59:41.000Z
2020-07-13T10:24:34.000Z
gamabr.py
shalahuddin/sketch
e8c051e09d48348bab1594e9538f719940fba52e
[ "Unlicense" ]
null
null
null
import cv2 import sys # do instal modul opencv-python image = cv2.imread("gambar.jpg") grayImage = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) grayImageInv = 255 - grayImage grayImageInv = cv2.GaussianBlur(grayImageInv, (21, 21), 0) output = cv2.divide(grayImage, 255-grayImageInv, scale = 256.0) resizeImg = cv2.resize(ou...
31.157895
63
0.760135
79
592
5.64557
0.506329
0.071749
0.076233
0.089686
0
0
0
0
0
0
0
0.063197
0.091216
592
18
64
32.888889
0.765799
0.050676
0
0
0
0
0.109123
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
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
0
0
1
0
63a544bf153a8063e56192d1b7de1591ce27ac14
2,111
py
Python
ioe_api/user/token.py
mohsinalimat/frappe_ioe_api
d21941ac6050644c8ccbcc21a9ccc24f1a432712
[ "MIT" ]
1
2021-02-24T13:48:01.000Z
2021-02-24T13:48:01.000Z
ioe_api/user/token.py
mohsinalimat/frappe_ioe_api
d21941ac6050644c8ccbcc21a9ccc24f1a432712
[ "MIT" ]
1
2019-12-16T09:08:20.000Z
2019-12-17T08:10:50.000Z
ioe_api/user/token.py
mohsinalimat/frappe_ioe_api
d21941ac6050644c8ccbcc21a9ccc24f1a432712
[ "MIT" ]
3
2020-05-31T21:08:56.000Z
2021-12-22T10:42:21.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2019, Dirk Chang and contributors # For license information, please see license.txt # # Api for user.token # from __future__ import unicode_literals import frappe import uuid from ioe_api.helper import throw @frappe.whitelist(allow_guest=True) def test(): frappe.response.upda...
20.104762
89
0.670298
278
2,111
4.946043
0.266187
0.091636
0.130909
0.144
0.601455
0.528727
0.390545
0.346909
0.346909
0.346909
0
0.004
0.171009
2,111
104
90
20.298077
0.781714
0.064424
0
0.567901
0
0
0.210473
0.055414
0
0
0
0
0
1
0.061728
false
0
0.049383
0
0.111111
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
0
0
1
0
63a5feffe2c2078e241a498bb5eb36898788c2b3
1,608
py
Python
Lab5/RobieLavy - AICV LAB 5/Task-2.py
kubabujak48/AICV_LABS
75468410a56252de28c256f1d7a732c51a7239fb
[ "MIT" ]
null
null
null
Lab5/RobieLavy - AICV LAB 5/Task-2.py
kubabujak48/AICV_LABS
75468410a56252de28c256f1d7a732c51a7239fb
[ "MIT" ]
null
null
null
Lab5/RobieLavy - AICV LAB 5/Task-2.py
kubabujak48/AICV_LABS
75468410a56252de28c256f1d7a732c51a7239fb
[ "MIT" ]
null
null
null
import cv2 as cv import numpy as np from random import randrange def noise(img): s = salt(img) p = pepper(img) noise = cv.addWeighted(s, 0.5, p, 0.5, 0) output = cv.addWeighted(img, 0.5, noise, 0.5, 0) return output def salt(img): rows, cols = img.shape[:2] dens = (rows*cols*0.5)//2 ...
18.697674
57
0.567164
234
1,608
3.84188
0.307692
0.013348
0.013348
0.031146
0.229143
0.229143
0.229143
0.229143
0.229143
0.229143
0
0.036195
0.261194
1,608
86
58
18.697674
0.720539
0.078358
0
0.28
0
0
0.047216
0
0
0
0
0
0
1
0.1
false
0
0.06
0
0.26
0.04
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
0
1
0
63a7115e0b5bdec7a35652d52dc76e2f6f175302
726
py
Python
marner/core.py
FergusonTG/marner
2b90a8396d365244101ea17bf24964bf445599fc
[ "MIT" ]
null
null
null
marner/core.py
FergusonTG/marner
2b90a8396d365244101ea17bf24964bf445599fc
[ "MIT" ]
null
null
null
marner/core.py
FergusonTG/marner
2b90a8396d365244101ea17bf24964bf445599fc
[ "MIT" ]
null
null
null
"""Core functions to integrate the gui and the backup.""" import logging from .gui import App, tk from .backup import collect_emails, ImapRuntimeError logging.basicConfig( level=logging.INFO, ) def _do_backup(): app.disable_submit(True) dialog_values = app.as_dict() server_login = dict( ...
18.615385
57
0.677686
88
726
5.397727
0.5
0.151579
0.067368
0
0
0
0
0
0
0
0
0
0.213499
726
38
58
19.105263
0.831874
0.070248
0
0
0
0
0.056801
0
0
0
0
0
0
1
0.041667
false
0.083333
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
0
0
0
0
0
1
0
0
0
0
0
1
63a73b69fb793b77e0ad6523894415a1d427ed75
172
py
Python
any_response_redirect_middleware/tests/__init__.py
hzdg/django-any-response-redirect-middleware
1b832a35b14566b0c7aa99e17cfcdbe4835a269c
[ "MIT" ]
null
null
null
any_response_redirect_middleware/tests/__init__.py
hzdg/django-any-response-redirect-middleware
1b832a35b14566b0c7aa99e17cfcdbe4835a269c
[ "MIT" ]
null
null
null
any_response_redirect_middleware/tests/__init__.py
hzdg/django-any-response-redirect-middleware
1b832a35b14566b0c7aa99e17cfcdbe4835a269c
[ "MIT" ]
null
null
null
from .basic import BasicRedirectMiddlewareTests from .django_cms import RedirectMiddlewareTestsWithDjangoCMS from .wagtail_cms import RedirectMiddlewareTestsWithWagtailCMS
43
62
0.912791
14
172
11.071429
0.642857
0.116129
0
0
0
0
0
0
0
0
0
0
0.069767
172
3
63
57.333333
0.96875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
1
0
1
0
1
0
0
6
63a75ebd32da30f3a8d2044144db3a414d9879d2
265
py
Python
api/serializers.py
MarcelIrawan/django-template
03944f99979c303ee364b24385aa827a739cadf0
[ "MIT" ]
1
2020-11-28T12:55:56.000Z
2020-11-28T12:55:56.000Z
api/serializers.py
MarcelIrawan/django-template
03944f99979c303ee364b24385aa827a739cadf0
[ "MIT" ]
null
null
null
api/serializers.py
MarcelIrawan/django-template
03944f99979c303ee364b24385aa827a739cadf0
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import CustomUser class UserSerializer(serializers.ModelSerializer): """ Serilizer for user """ class Meta: model = CustomUser # fields = '__all__' fields = ['id','email']
22.083333
50
0.649057
25
265
6.68
0.76
0
0
0
0
0
0
0
0
0
0
0
0.256604
265
12
51
22.083333
0.847716
0.143396
0
0
0
0
0.033019
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
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
1
0
1
0
0
3
63a76f1c1a9231b2370d39956bed3335b3730a64
2,302
py
Python
natural-computing/genetic-programming/constants.py
ramongonze/ufmg-practical-assignments
d85821e330a0f089a7601168bbbf8b4aef174f27
[ "MIT" ]
null
null
null
natural-computing/genetic-programming/constants.py
ramongonze/ufmg-practical-assignments
d85821e330a0f089a7601168bbbf8b4aef174f27
[ "MIT" ]
null
null
null
natural-computing/genetic-programming/constants.py
ramongonze/ufmg-practical-assignments
d85821e330a0f089a7601168bbbf8b4aef174f27
[ "MIT" ]
null
null
null
import math import operator import random # Seed used to control the tests random.seed() # A set of nodes composes a binary tree class Node(object): def __init__(self, item, right=None, left=None, level=1): self.right = right # Right child self.left = left # Left child self.item = item self.level = level # T...
37.129032
113
0.670721
327
2,302
4.568807
0.379205
0.026774
0.01004
0.016064
0.068273
0
0
0
0
0
0
0.015377
0.152476
2,302
61
114
37.737705
0.750384
0.384014
0
0
0
0
0.014431
0
0
0
0
0
0
1
0.116279
false
0
0.069767
0.069767
0.302326
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
0
0
1
0
63a7dc72e2d08886f4dcef0209986deb895e47ef
1,290
py
Python
LeetCode/python-R1/0005-最长回文子串D/V2.py
huuuuusy/Programming-Practice-Everyday
c78b368ab0439d85b8a69f6d9c8154d708bafc9c
[ "Apache-2.0" ]
4
2019-08-27T11:28:03.000Z
2020-12-24T07:10:22.000Z
LeetCode/python-R1/0005-最长回文子串D/V2.py
huuuuusy/Programming-Practice-Everyday
c78b368ab0439d85b8a69f6d9c8154d708bafc9c
[ "Apache-2.0" ]
null
null
null
LeetCode/python-R1/0005-最长回文子串D/V2.py
huuuuusy/Programming-Practice-Everyday
c78b368ab0439d85b8a69f6d9c8154d708bafc9c
[ "Apache-2.0" ]
4
2019-09-20T09:44:01.000Z
2020-12-24T07:10:23.000Z
""" @Author: huuuuusy @GitHub: https://github.com/huuuuusy 系统: Ubuntu 18.04 IDE: VS Code 1.36 工具: python == 3.7.3 """ """ 思路: 以每个元素为中心,分别向外扩散寻找奇数回文子串和偶数回文子串 结果: 执行用时 : 868 ms, 在所有 Python3 提交中击败了82.03%的用户 内存消耗 : 13.7 MB, 在所有 Python3 提交中击败了19.28%的用户 """ class Solution: def longestPalindrome(self, s): ...
25.8
92
0.489922
164
1,290
3.804878
0.512195
0.016026
0.019231
0.012821
0
0
0
0
0
0
0
0.061174
0.37907
1,290
49
93
26.326531
0.717853
0.233333
0
0
0
0
0.016477
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0.045455
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
0
1
0
63aa61e1d8acde8bc8dcb47698d79a9564703801
210
py
Python
tuples.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
tuples.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
tuples.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
x = (1,2,3,4) y = (1,2,'abc',[1,2,3]) // Only can change data with a list, other cannot be change y[3][1] = 22 print(y) x = 1,2,3,4,5 tuple(x) // You can create a tuple this way
19.090909
90
0.509524
44
210
2.431818
0.568182
0.074766
0.084112
0.074766
0.093458
0
0
0
0
0
0
0.125
0.314286
210
10
91
21
0.618056
0
0
0
0
0
0.014286
0
0
0
0
0
0
0
null
null
0
0
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
63aafba5bd8bdfc6df640fba8aa9924fc93ada56
2,359
py
Python
Wrappers/Python/cil/optimisation/operators/DiagonalOperator.py
ClaireDelplancke/CCPi-Framework
3f0cb9dd363ac386832d3034717f022c3b2952a1
[ "Apache-2.0" ]
30
2021-05-18T08:54:01.000Z
2022-03-24T17:42:31.000Z
Wrappers/Python/cil/optimisation/operators/DiagonalOperator.py
ClaireDelplancke/CCPi-Framework
3f0cb9dd363ac386832d3034717f022c3b2952a1
[ "Apache-2.0" ]
301
2021-05-07T12:28:15.000Z
2022-03-31T17:16:26.000Z
Wrappers/Python/cil/optimisation/operators/DiagonalOperator.py
ClaireDelplancke/CCPi-Framework
3f0cb9dd363ac386832d3034717f022c3b2952a1
[ "Apache-2.0" ]
7
2021-09-05T20:45:11.000Z
2022-03-10T21:16:37.000Z
# -*- coding: utf-8 -*- # This work is part of the Core Imaging Library (CIL) developed by CCPi # (Collaborative Computational Project in Tomographic Imaging), with # substantial contributions by UKRI-STFC and University of Manchester. # Licensed under the Apache License, Version 2.0 (the "License"); # you...
38.048387
84
0.648156
304
2,359
4.993421
0.493421
0.039526
0.017128
0.02108
0.047431
0.02635
0
0
0
0
0
0.002929
0.276388
2,359
61
85
38.672131
0.88635
0.618906
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0
0.611111
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
63acb591d68fc2c9434a33512ffeb95aa93fdd10
1,284
py
Python
repos/system_upgrade/el7toel8/models/vsftpdfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
21
2018-11-20T15:58:39.000Z
2022-03-15T19:57:24.000Z
repos/system_upgrade/el7toel8/models/vsftpdfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
732
2018-11-21T18:33:26.000Z
2022-03-31T16:16:24.000Z
repos/system_upgrade/el7toel8/models/vsftpdfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
85
2018-11-20T17:55:00.000Z
2022-03-29T09:40:31.000Z
from leapp.models import Model, fields from leapp.topics import SystemInfoTopic class VsftpdConfig(Model): """ Model representing some aspects of a vsftpd configuration file. The attributes representing the state of configuration options are nullable, so that they can represent the real state of the ...
40.125
93
0.731308
184
1,284
5.048913
0.391304
0.026911
0.037675
0.051668
0.193757
0.107643
0.107643
0.107643
0.107643
0
0
0.000966
0.193925
1,284
31
94
41.419355
0.896618
0.354361
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.181818
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
0
0
0
0
1
0
0
1
63ad66c77ea48cbf7d452c7ca127eea43619e80f
426
py
Python
solutions/python/2017/makeArrayConsecutive.py
lucifer1198/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
2
2020-12-21T22:09:26.000Z
2021-01-01T15:40:01.000Z
solutions/python/2017/makeArrayConsecutive.py
nsu1210/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
null
null
null
solutions/python/2017/makeArrayConsecutive.py
nsu1210/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
1
2021-01-28T18:15:02.000Z
2021-01-28T18:15:02.000Z
""" Given an array of integers, we need to fill in the "holes" such that it contains all the integers from some range. Example For sequence = [6, 2, 3, 8], the output should be makeArrayConsecutive(sequence) = [4, 5, 7]. """ def makeArrayConsecutive(sequence): s = sorted(sequence) x = range(min(s), max(s) +...
22.421053
114
0.626761
66
426
4.045455
0.712121
0.209738
0
0
0
0
0
0
0
0
0
0.025397
0.260563
426
18
115
23.666667
0.822222
0.511737
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
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
63ae651d3be857f3edd0aaef054f1eeeb0a39829
6,141
py
Python
findy/utils/request.py
doncat99/FinanceDataCenter
1538c8347ed5bff9a99a3cca07507a7605108124
[ "MIT" ]
null
null
null
findy/utils/request.py
doncat99/FinanceDataCenter
1538c8347ed5bff9a99a3cca07507a7605108124
[ "MIT" ]
null
null
null
findy/utils/request.py
doncat99/FinanceDataCenter
1538c8347ed5bff9a99a3cca07507a7605108124
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import logging from http import client from retrying import retry import requests from aiohttp import ClientSession, ClientTimeout, TCPConnector # from aiohttp_client_cache import CachedSession, SQLiteBackend # from findy.interface import RunMode # from findy.utils.cache import hashable_lru l...
37.674847
131
0.623351
744
6,141
4.961022
0.258065
0.059604
0.030886
0.042265
0.423733
0.408561
0.326741
0.316987
0.279328
0.23625
0
0.013589
0.269012
6,141
162
132
37.907407
0.808643
0.171796
0
0.342342
0
0.009009
0.077912
0
0
0
0
0
0
1
0.108108
false
0.018018
0.045045
0.018018
0.36036
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
0
0
1
0
63aef9c2f41a87230a16543f6b852c81c6bc1313
1,290
py
Python
tools/export_weights.py
hlld/classification
327a67661ac2fc6302809dc8caab12b7a8195c64
[ "MIT" ]
7
2021-07-29T09:05:38.000Z
2021-07-29T11:01:03.000Z
tools/export_weights.py
zhaojiankuan/classification
f5e90107aadb35be7056d75b6b01d48bd1370800
[ "MIT" ]
null
null
null
tools/export_weights.py
zhaojiankuan/classification
f5e90107aadb35be7056d75b6b01d48bd1370800
[ "MIT" ]
4
2021-07-29T09:05:40.000Z
2021-07-29T10:51:50.000Z
import argparse import sys import os import torch import struct from pathlib import Path sys.path.append('../') from classification.tools import load_model def export_weights(model, wts_file): # Export model to TensorRT compatible format with open(wts_file, 'w') as fd: fd.write('{}\n'.format(len(mode...
32.25
70
0.589147
165
1,290
4.460606
0.448485
0.047554
0.048913
0.057065
0.067935
0
0
0
0
0
0
0.001045
0.25814
1,290
39
71
33.076923
0.768025
0.032558
0
0
0
0
0.11878
0
0
0
0
0
0
1
0.03125
false
0
0.21875
0
0.25
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
0
0
0
0
0
0
0
0
1
0
63b061c19fd581caa93d0fedc228b0c213f72200
1,153
py
Python
pytrivia/__helpers.py
Dnewman9/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
6
2018-01-15T15:17:56.000Z
2021-06-16T19:48:14.000Z
pytrivia/__helpers.py
MaT1g3R/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
null
null
null
pytrivia/__helpers.py
MaT1g3R/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
7
2017-05-15T23:41:43.000Z
2021-07-10T01:09:09.000Z
import binascii from base64 import b64decode from aiohttp import ClientResponseError, ClientSession from requests import get def decode_dict(d): """ Recursivly decode all strings in a dict :param d: the input dict :return: a dict with all its vals decoded """ if isinstance(d, int): re...
23.06
76
0.630529
158
1,153
4.537975
0.417722
0.061367
0.062762
0.066946
0
0
0
0
0
0
0
0.019025
0.270598
1,153
49
77
23.530612
0.833532
0.221162
0
0
0
0
0.070913
0
0
0
0
0
0
1
0.115385
false
0
0.153846
0
0.576923
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
63b125702a1b2571faf102a9e6061df6610c3d1e
1,213
py
Python
Network.py
LonglongaaaGo/CNN-python
02b0f9e0e5044796bc858b75421cbc4e2e3cc653
[ "MIT" ]
null
null
null
Network.py
LonglongaaaGo/CNN-python
02b0f9e0e5044796bc858b75421cbc4e2e3cc653
[ "MIT" ]
null
null
null
Network.py
LonglongaaaGo/CNN-python
02b0f9e0e5044796bc858b75421cbc4e2e3cc653
[ "MIT" ]
null
null
null
from Layer import * class Network(BasicLayer): def __init__(self,para={}): self.model = [] #para={ # "Conv_layer":{XX..} # } for key in para.keys(): if "Conv" in key: self.model.append(Conv_layer(para[key])) elif "Fully" in key: ...
28.209302
65
0.538335
150
1,213
4.24
0.286667
0.127358
0.070755
0.110063
0.312893
0.125786
0
0
0
0
0
0.004975
0.337181
1,213
42
66
28.880952
0.78607
0.024732
0
0.064516
0
0
0.020339
0
0
0
0
0
0
1
0.16129
false
0
0.032258
0.032258
0.290323
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
0
0
1
0
63b1840d56f09a5d5a9c20bc118d0207eadb7b11
1,882
py
Python
spyder/plugins/statusbar/container.py
ximion/spyder
50911555cefd95947c887f8a412a58ad96ff8d9e
[ "MIT" ]
1
2021-03-13T04:36:43.000Z
2021-03-13T04:36:43.000Z
spyder/plugins/statusbar/container.py
ximion/spyder
50911555cefd95947c887f8a412a58ad96ff8d9e
[ "MIT" ]
null
null
null
spyder/plugins/statusbar/container.py
ximion/spyder
50911555cefd95947c887f8a412a58ad96ff8d9e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright © Spyder Project Contributors # Licensed under the terms of the MIT License # (see spyder/__init__.py for details) """ Status bar container. """ # Third-party imports from qtpy.QtCore import Signal # Local imports from spyder.api.widgets import PluginMainContainer ...
30.354839
65
0.635494
214
1,882
5.406542
0.392523
0.046672
0.077787
0.064823
0.220398
0.082973
0
0
0
0
0
0.0094
0.265143
1,882
61
66
30.852459
0.826464
0.116897
0
0
0
0
0.149933
0
0
0
0
0
0
1
0.081081
false
0.027027
0.081081
0
0.243243
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
0
0
1
0
63b3401ea17e27ce0e9f4bb65e298c006a065ac2
589
py
Python
yaga_ga/evolutionary_algorithm/selectors/ranking.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
yaga_ga/evolutionary_algorithm/selectors/ranking.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
yaga_ga/evolutionary_algorithm/selectors/ranking.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
from typing import Iterable, Sequence, Tuple, TypeVar, Generic from yaga_ga.evolutionary_algorithm.details import Comparable from yaga_ga.evolutionary_algorithm.individuals import IndividualType ScoreType = TypeVar("ScoreType", bound=Comparable) class Ranking(Generic[IndividualType, ScoreType]): def __init__(se...
32.722222
69
0.748727
65
589
6.538462
0.507692
0.122353
0.12
0.103529
0.145882
0
0
0
0
0
0
0.002041
0.168081
589
17
70
34.647059
0.865306
0
0
0
0
0
0.01528
0
0
0
0
0
0
1
0.166667
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
0
0
0
0
0
0
0
0
0
0
1
0
63b34b23e85c1cc079fa60870ca4a94cacd21c1e
10
py
Python
venv/lib/python3.8/site-packages/spaceone/tester/conf/global_conf.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/spaceone/tester/conf/global_conf.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/spaceone/tester/conf/global_conf.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
LOG = { }
3.333333
7
0.3
1
10
3
1
0
0
0
0
0
0
0
0
0
0
0
0.4
10
2
8
5
0.5
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
63b46e49e3698a981c3b277c71021abeaf2bfdc6
957
py
Python
algorithms/show_permutations_fast.py
vadymshturkhal/algorithms
7eb6b3b0b8d389fdbbcc9ff48712d398f04c343d
[ "MIT" ]
null
null
null
algorithms/show_permutations_fast.py
vadymshturkhal/algorithms
7eb6b3b0b8d389fdbbcc9ff48712d398f04c343d
[ "MIT" ]
null
null
null
algorithms/show_permutations_fast.py
vadymshturkhal/algorithms
7eb6b3b0b8d389fdbbcc9ff48712d398f04c343d
[ "MIT" ]
null
null
null
def show_permutations_anti_lexicographic_fast(sequence=None, length=None): if sequence is None: if length is None: length = 3 sequence = [i + 1 for i in range(length)] if length is None: length = len(sequence) if length == 0: print(sequence) return e...
29
126
0.597701
116
957
4.706897
0.258621
0.115385
0.10989
0.181319
0.525641
0.322344
0.157509
0.157509
0
0
0
0.02454
0.318704
957
32
127
29.90625
0.812883
0
0
0.192308
0
0
0.008359
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0.038462
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
63b82fdab1655334ee890b5f03a53544fb79bd9a
2,774
py
Python
blog/migrations/0001_squashed_0010_auto_20180604_2248.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
3
2020-11-05T10:09:04.000Z
2021-03-13T11:27:05.000Z
blog/migrations/0001_squashed_0010_auto_20180604_2248.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
31
2015-07-26T13:53:26.000Z
2020-09-28T06:08:03.000Z
blog/migrations/0001_squashed_0010_auto_20180604_2248.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-05-25 19:40 import autoslug.fields import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): replaces = [('blog', '0001_initial'), ('blog', '0002_auto_20150802_0017'), ('blog', '0003_auto_2...
47.827586
119
0.583273
276
2,774
5.634058
0.405797
0.113183
0.02701
0.042444
0.209646
0.209646
0.209646
0.162058
0.162058
0.162058
0
0.070862
0.272531
2,774
57
120
48.666667
0.699703
0.016222
0
0.24
1
0
0.202787
0.059039
0
0
0
0
0
1
0
false
0
0.08
0
0.18
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
63b8f2381a48d0a34e089f59b031e0d0cf2ef305
5,548
py
Python
serene_schema/serene_schema/helpers/markdown.py
NICTA/serene-etl
1d446012c0d08a95b8fbbbe8237735320a2fe2a4
[ "Apache-2.0" ]
null
null
null
serene_schema/serene_schema/helpers/markdown.py
NICTA/serene-etl
1d446012c0d08a95b8fbbbe8237735320a2fe2a4
[ "Apache-2.0" ]
null
null
null
serene_schema/serene_schema/helpers/markdown.py
NICTA/serene-etl
1d446012c0d08a95b8fbbbe8237735320a2fe2a4
[ "Apache-2.0" ]
null
null
null
if __name__ == "__main__" and __package__ is None: #use the local version of schema import sys, os if os.getcwd().endswith('serene_schema'): sys.path.insert(0, os.getcwd()) elif os.getcwd().endswith('helpers'): sys.path.insert(0, os.path.join(os.getcwd(), '..', '..')) from serene_schem...
33.421687
151
0.556957
682
5,548
4.325513
0.218475
0.020339
0.020339
0.023051
0.45322
0.391525
0.384407
0.368136
0.349153
0.328136
0
0.010691
0.275054
5,548
165
152
33.624242
0.722775
0.005588
0
0.401786
0
0.026786
0.333757
0.007981
0
0
0
0
0.0625
1
0.0625
false
0
0.017857
0.008929
0.107143
0.267857
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
0
1
0
63b90808230e3a349c223887dc7145428b84feb5
640
py
Python
r2lldb/backend/trace.py
nowsecure/r2lldb
29cf97bf96f68d5a78060ea63504112b4a2fb3df
[ "MIT" ]
57
2016-07-06T18:04:19.000Z
2022-01-13T09:38:21.000Z
r2lldb/backend/trace.py
Maijin/r2lldb
5aaadba59d19a584b63735d37827ae1e5a152ade
[ "MIT" ]
4
2016-08-11T15:35:47.000Z
2019-01-25T15:39:35.000Z
r2lldb/backend/trace.py
Maijin/r2lldb
5aaadba59d19a584b63735d37827ae1e5a152ade
[ "MIT" ]
16
2016-07-14T04:07:07.000Z
2021-12-15T08:07:58.000Z
# TODO: implement tracing helpers here traces = {} def add(at,cmd): try: #at = "0x%x"%int(at, 16) print("ADD",at) print(traces[at]) if traces[at]: return False except: pass traces[at] = cmd return True def get(at): try: try: at = "0x%x"%int(at, 16) except: pass print("GET",at) return ...
14.222222
46
0.5625
109
640
3.302752
0.330275
0.033333
0.041667
0.066667
0.144444
0.144444
0.144444
0
0
0
0
0.024742
0.242188
640
44
47
14.545455
0.717526
0.092188
0
0.305556
0
0
0.060554
0
0
0
0
0.022727
0
1
0.111111
false
0.055556
0
0
0.277778
0.138889
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
1
0
0
0
0
0
2
63b9f726456ae2875c8836c2389ad5af6fa15ef2
609
py
Python
test/model/test_driver.py
Petro31/zwave-js-server-python
ed766f054d2ef2f6a6fa01fa431484da12d05eca
[ "Apache-2.0" ]
null
null
null
test/model/test_driver.py
Petro31/zwave-js-server-python
ed766f054d2ef2f6a6fa01fa431484da12d05eca
[ "Apache-2.0" ]
null
null
null
test/model/test_driver.py
Petro31/zwave-js-server-python
ed766f054d2ef2f6a6fa01fa431484da12d05eca
[ "Apache-2.0" ]
null
null
null
"""Test the driver model.""" import json from zwave_js_server.event import Event from zwave_js_server.model import driver as driver_pkg from .. import load_fixture def test_from_state(): """Test from_state method.""" ws_msgs = load_fixture("basic_dump.txt").strip().split("\n") driver = driver_pkg.Drive...
26.478261
69
0.665025
89
609
4.370787
0.460674
0.102828
0.056555
0.087404
0
0
0
0
0
0
0
0.006024
0.182266
609
22
70
27.681818
0.7751
0.075534
0
0
0
0
0.081522
0
0
0
0
0
0.153846
1
0.076923
false
0
0.307692
0
0.384615
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
63ba13266acfe77823f64100997d3843e282a41e
9,342
py
Python
features_extractions.py
AIKICo/Steganalysis-By-Frame
c2e1a20664056eb723c694949119a26f7fb6cfbc
[ "Apache-2.0" ]
1
2019-03-25T07:20:05.000Z
2019-03-25T07:20:05.000Z
features_extractions.py
MohMehrnia/Steganalysis-By-Frame
c2e1a20664056eb723c694949119a26f7fb6cfbc
[ "Apache-2.0" ]
1
2020-01-29T07:12:02.000Z
2020-01-29T07:12:02.000Z
features_extractions.py
MohMehrnia/Steganalysis-By-Frame
c2e1a20664056eb723c694949119a26f7fb6cfbc
[ "Apache-2.0" ]
null
null
null
import numpy as np import math as ma import os from pywt import wavedec from pyeeg import hfd, pfd from scipy.io import wavfile as wav from python_speech_features.sigproc import framesig from python_speech_features import mfcc, fbank, logfbank from python_speech_features.base import delta from pandas import DataFrame f...
45.130435
165
0.652644
1,104
9,342
5.384964
0.115036
0.065601
0.074012
0.094197
0.866274
0.864256
0.861733
0.861733
0.853659
0.848108
0
0.020759
0.216228
9,342
206
166
45.349515
0.791177
0
0
0.694444
0
0.083333
0.251392
0.245717
0
0
0
0
0
1
0.044444
false
0
0.061111
0
0.111111
0.072222
0
0
0
null
0
0
0
1
1
1
1
1
1
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
6
63bc2d0d047391a080297053dfaf4fe899a6e18a
252
py
Python
src/chapter10/soft.py
ManuelA1000/BCS-2021
0bdf8a165b6e9e79c33257919a44b4be3cd49a57
[ "MIT" ]
null
null
null
src/chapter10/soft.py
ManuelA1000/BCS-2021
0bdf8a165b6e9e79c33257919a44b4be3cd49a57
[ "MIT" ]
null
null
null
src/chapter10/soft.py
ManuelA1000/BCS-2021
0bdf8a165b6e9e79c33257919a44b4be3cd49a57
[ "MIT" ]
null
null
null
txt = 'but soft what light in yonder window breaks' words = txt.split () t = list () for word in words: t.append ((len (word), word)) print(t) t.sort (reverse = True) print(t) res = list () for length, word in t: res.append (word) print (res)
18
51
0.638889
43
252
3.744186
0.534884
0.086957
0
0
0
0
0
0
0
0
0
0
0.214286
252
14
52
18
0.813131
0
0
0.166667
0
0
0.16996
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
0
0
0
1
0
63bce539de4f9c34cc18cec63222346a4f46825b
3,923
py
Python
workspaces/voyage/server/src/core/rediscover.py
raychorn/svn_hp-projects
d5547906354e2759a93b8030632128e8c4bf3880
[ "CC0-1.0" ]
null
null
null
workspaces/voyage/server/src/core/rediscover.py
raychorn/svn_hp-projects
d5547906354e2759a93b8030632128e8c4bf3880
[ "CC0-1.0" ]
null
null
null
workspaces/voyage/server/src/core/rediscover.py
raychorn/svn_hp-projects
d5547906354e2759a93b8030632128e8c4bf3880
[ "CC0-1.0" ]
null
null
null
''' Created on Oct 18, 2011 @author: IslamM ''' from logging import getLogger log = getLogger(__name__) from util import catalog from util.config import config from portlets.collector import Collector, remove_collector from core.uim import UIManager from urlparse import urlparse from threading import Thr...
39.626263
158
0.567678
476
3,923
4.577731
0.218487
0.090867
0.045893
0.041303
0.308398
0.298761
0.287288
0.287288
0.287288
0.287288
0
0.005109
0.301555
3,923
99
159
39.626263
0.790146
0.017334
0
0.197531
0
0
0.0848
0
0.012346
0
0
0
0
1
0.061728
false
0
0.098765
0
0.185185
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
0
0
1
0
63bd3e2bbbdf441ba8d0ab08f9a5c6b52a9e7b44
13,798
py
Python
sem/__init__.py
YoannDupont/SEM
ff21c5dc9a8e99eda81dc266e67cfa97dec7c243
[ "MIT" ]
22
2016-11-13T21:08:58.000Z
2021-04-26T07:04:54.000Z
sem/__init__.py
Raphencoder/SEM
ff21c5dc9a8e99eda81dc266e67cfa97dec7c243
[ "MIT" ]
15
2016-11-15T10:21:07.000Z
2021-11-08T10:08:05.000Z
sem/__init__.py
Raphencoder/SEM
ff21c5dc9a8e99eda81dc266e67cfa97dec7c243
[ "MIT" ]
8
2016-11-15T10:21:41.000Z
2022-03-04T21:28:05.000Z
#-*- encoding: utf-8-*- """ file: __init__.py author: Yoann Dupont MIT License Copyright (c) 2018 Yoann Dupont Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wi...
46.302013
334
0.582983
1,656
13,798
4.798913
0.355676
0.012458
0.004404
0.005663
0.200831
0.161696
0.113879
0.059016
0.04832
0.037247
0
0.02731
0.307363
13,798
297
335
46.457912
0.804123
0.082041
0
0.142222
0
0.093333
0.578592
0.036573
0
0
0
0
0
1
0.022222
false
0
0.022222
0.013333
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
63c122508ef3b38e3a6c1356ea1d1720457824fb
77
py
Python
Set/1.Create-Define-a-aset.py
manish1822510059/Python-1000-program
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
1
2021-03-06T03:33:42.000Z
2021-03-06T03:33:42.000Z
Set/1.Create-Define-a-aset.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
Set/1.Create-Define-a-aset.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
myset ={"C","C++","Python","Shap","Ruby","Java"} print("Set Content:",myset)
38.5
49
0.584416
11
77
4.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.051948
77
2
50
38.5
0.616438
0
0
0
0
0
0.441558
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
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
1
0
3
63c2b7aa2638b5f2da8a026a57c38590a6974584
6,539
py
Python
d_parser/d_spider_29dui.py
Holovin/D_GrabDemo
6adb03fb42ae03e7896eb2eacb342cf9660feb92
[ "MIT" ]
null
null
null
d_parser/d_spider_29dui.py
Holovin/D_GrabDemo
6adb03fb42ae03e7896eb2eacb342cf9660feb92
[ "MIT" ]
2
2018-03-28T19:47:46.000Z
2021-12-13T20:56:31.000Z
d_parser/d_spider_29dui.py
Holovin/D_GrabDemo
6adb03fb42ae03e7896eb2eacb342cf9660feb92
[ "MIT" ]
null
null
null
import re from d_parser.d_spider_common import DSpiderCommon from d_parser.helpers.re_set import Ree from helpers.url_generator import UrlGenerator from d_parser.helpers.stat_counter import StatCounter as SC VERSION = 29 # Warn: Don't remove task argument even if not use it (it's break grab and spider crashed) # W...
36.327778
128
0.564765
753
6,539
4.64409
0.250996
0.061767
0.03889
0.028596
0.419788
0.359737
0.317415
0.287389
0.253932
0.235059
0
0.007427
0.320538
6,539
179
129
36.530726
0.779653
0.080899
0
0.330275
0
0
0.147201
0.071178
0
0
0
0
0
1
0.036697
false
0
0.045872
0
0.174312
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
0
0
1
0