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
7d25c938d89ade8a2e06fce2a90af85a9a45d626
77
gyp
Python
binding.gyp
indutny/uv_ssl_t
4b6421fb74fba35cfe18905f703941ab72f4d036
[ "Unlicense", "MIT" ]
59
2016-05-26T22:26:37.000Z
2021-07-03T08:31:15.000Z
binding.gyp
gypkg/openssl
6c57dc205d877b0045065beabcfd905ef7b9cd71
[ "OpenSSL", "Unlicense" ]
23
2018-03-16T14:52:33.000Z
2018-08-13T08:09:54.000Z
binding.gyp
gypkg/openssl
6c57dc205d877b0045065beabcfd905ef7b9cd71
[ "OpenSSL", "Unlicense" ]
9
2016-06-02T00:16:39.000Z
2020-06-19T08:34:59.000Z
# Just for npm { "targets": [{"target_name":"nop","type":"<(library)"}], }
15.4
57
0.545455
9
77
4.555556
1
0
0
0
0
0
0
0
0
0
0
0
0.12987
77
4
58
19.25
0.61194
0.155844
0
0
0
0
0.555556
0
0
0
0
0
0
1
0
true
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7d2866577189c7e335fe6c99571a13dff68f389c
52
py
Python
tvpdownloader/__init__.py
patkub/tvpdownloader
1abe7a6486ac3bc40d37c52314eebe9fa9aa43a9
[ "MIT" ]
1
2020-09-07T22:02:44.000Z
2020-09-07T22:02:44.000Z
tvpdownloader/__init__.py
patkub/tvpdownloader
1abe7a6486ac3bc40d37c52314eebe9fa9aa43a9
[ "MIT" ]
null
null
null
tvpdownloader/__init__.py
patkub/tvpdownloader
1abe7a6486ac3bc40d37c52314eebe9fa9aa43a9
[ "MIT" ]
null
null
null
name = "tvpdownloader" from .tvpdownloader import *
17.333333
28
0.769231
5
52
8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.134615
52
2
29
26
0.888889
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
0
1
0
0
0
0
3
7d414bc12d0cabea2128c6e8b78ae5b6086e84e3
440
py
Python
harmony/util.py
Droggelbecher/harmony
2b08b98341aab9ea72654f0fa33527ef96added2
[ "MIT" ]
null
null
null
harmony/util.py
Droggelbecher/harmony
2b08b98341aab9ea72654f0fa33527ef96added2
[ "MIT" ]
null
null
null
harmony/util.py
Droggelbecher/harmony
2b08b98341aab9ea72654f0fa33527ef96added2
[ "MIT" ]
null
null
null
# Not available in py3 #import dateutil # This is not exactly ISO 8601, but close. # Unfortunately datetime can't parse its own .isoformat() output # (d'oh!) DATETIME_FORMAT = '%Y-%m-%dT%H:%M:%S.%f' def datetime_to_iso(d): #return d.isoformat() return d.strftime(DATETIME_FORMAT) def iso_to_datetime(s): ...
20.952381
64
0.702273
71
440
4.211268
0.577465
0.140468
0.113712
0
0
0
0
0
0
0
0
0.019074
0.165909
440
20
65
22
0.79564
0.45
0
0
0
0
0.086207
0
0
0
0
0
0
1
0.428571
false
0
0
0.428571
0.857143
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
1
1
0
0
3
7d4e3fbe03216f4faad540449746ffbb30b3d351
1,599
py
Python
test/test_import_py2.py
ggaaooppeenngg/klab-kernel
b6c3c89bdfc9b44869bb92ffbe4474d38eb87329
[ "Apache-2.0" ]
18
2018-05-09T04:05:58.000Z
2021-04-12T13:34:06.000Z
test/test_import_py2.py
ggaaooppeenngg/klab-kernel
b6c3c89bdfc9b44869bb92ffbe4474d38eb87329
[ "Apache-2.0" ]
63
2018-05-09T15:42:05.000Z
2019-10-24T15:18:56.000Z
test/test_import_py2.py
ggaaooppeenngg/klab-kernel
b6c3c89bdfc9b44869bb92ffbe4474d38eb87329
[ "Apache-2.0" ]
6
2018-05-09T14:42:16.000Z
2019-02-23T05:30:14.000Z
#import paddle.v2.dataset.uci_housing as uci_housing #import paddle.v2 as paddle #paddle.init(use_gpu=False, trainer_count=1) #x = paddle.layer.data(name='xx', type=paddle.data_type.dense_vector(13)) #y_predict = paddle.layer.fc(input=x, # size=1, # act=padd...
30.75
77
0.651032
216
1,599
4.657407
0.388889
0.047714
0.027833
0.037773
0.057654
0.057654
0
0
0
0
0
0.016317
0.195122
1,599
51
78
31.352941
0.765346
0.822389
0
0
0
0
0.135246
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
adbabf713614fc3636c08966b475fa63fb2f2eb9
1,452
py
Python
front/examples/pos_key_args.py
sylvainbonnot/front
641f930279683c0cabdd79e22b6424e19845847c
[ "Apache-2.0" ]
3
2021-12-21T05:43:26.000Z
2022-02-23T11:45:24.000Z
front/examples/pos_key_args.py
sylvainbonnot/front
641f930279683c0cabdd79e22b6424e19845847c
[ "Apache-2.0" ]
18
2021-06-10T22:44:10.000Z
2022-03-10T20:03:30.000Z
streamlitfront/examples/pos_key_args.py
i2mint/streamlitfront
6fbc03a42cdb7436dcda3da00fb9b42965bbb582
[ "Apache-2.0" ]
1
2022-02-22T16:14:56.000Z
2022-02-22T16:14:56.000Z
import os from typing import Dict, Iterable import pandas as pd def add_ints(*nums_to_add: Iterable[int]): return sum(nums_to_add) def add_floats(*nums_to_add: Iterable[float]): return sum(nums_to_add) def add_strs(*strs_to_add: Iterable[str]): return ' '.join(strs_to_add) def add_bools(*bools_to_ad...
23.419355
88
0.727273
230
1,452
4.173913
0.243478
0.041667
0.083333
0.1
0.460417
0.271875
0.271875
0.221875
0.221875
0.221875
0
0
0.156336
1,452
61
89
23.803279
0.783673
0
0
0.205128
0
0
0.039945
0
0
0
0
0
0
1
0.205128
false
0
0.128205
0.205128
0.538462
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
1
0
0
0
1
1
0
0
3
adcea08899bc71f26bee492da282d9deabbaa0b4
211
py
Python
scarlette/constants.py
frankhart2018/scarlette
de472fbd03f27ebc9056bd40b2d818fbef493ee6
[ "MIT" ]
null
null
null
scarlette/constants.py
frankhart2018/scarlette
de472fbd03f27ebc9056bd40b2d818fbef493ee6
[ "MIT" ]
null
null
null
scarlette/constants.py
frankhart2018/scarlette
de472fbd03f27ebc9056bd40b2d818fbef493ee6
[ "MIT" ]
null
null
null
from pathlib import Path import os INSTALLATION_DIR: str = os.path.join(str(Path.home()), ".scarlette") GITHUB_CREDS_FILE: str = os.path.join(INSTALLATION_DIR, "github") OPTIONS = """1. Github Repo Creator"""
26.375
68
0.734597
31
211
4.870968
0.580645
0.198676
0.119205
0.172185
0
0
0
0
0
0
0
0.005348
0.113744
211
8
69
26.375
0.802139
0
0
0
0
0
0.179245
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
1
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
add0f6a1a84c74b2062ca7af6cf6750e296222bc
122
py
Python
tests/unit/test_nothing.py
MartinXPN/SpellNN
e3226fbff359ef60360e63bf7b80a7e1c909e7d8
[ "MIT" ]
null
null
null
tests/unit/test_nothing.py
MartinXPN/SpellNN
e3226fbff359ef60360e63bf7b80a7e1c909e7d8
[ "MIT" ]
null
null
null
tests/unit/test_nothing.py
MartinXPN/SpellNN
e3226fbff359ef60360e63bf7b80a7e1c909e7d8
[ "MIT" ]
null
null
null
from unittest import TestCase class TestDummySetup(TestCase): def test_nothing(self): self.assertTrue(True)
17.428571
31
0.737705
14
122
6.357143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.188525
122
6
32
20.333333
0.89899
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.75
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
0
0
0
0
0
0
3
add453b41ccf48a4d49922baacb55fe2148ba69e
39,181
py
Python
src/characterization/cohort_summary_statistics.py
iurteaga/menstrual_cycle_analysis
799c7cb59d759e0c3929164bccdc5c7ce80324d0
[ "MIT" ]
5
2020-03-05T23:30:26.000Z
2022-02-27T18:16:23.000Z
src/characterization/cohort_summary_statistics.py
iurteaga/menstrual_cycle_analysis
799c7cb59d759e0c3929164bccdc5c7ce80324d0
[ "MIT" ]
null
null
null
src/characterization/cohort_summary_statistics.py
iurteaga/menstrual_cycle_analysis
799c7cb59d759e0c3929164bccdc5c7ce80324d0
[ "MIT" ]
2
2021-03-26T19:56:51.000Z
2021-12-22T02:26:14.000Z
#!/usr/bin/python # Imports import sys, os, re, time import argparse import pdb import pickle from itertools import * # Science import numpy as np import scipy.stats as stats import pandas as pd # Plotting import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from matplotlib import colors ##########...
70.091234
224
0.660856
5,560
39,181
4.283813
0.052158
0.099924
0.07171
0.080569
0.836846
0.783231
0.7373
0.685826
0.605299
0.500336
0
0.018241
0.156275
39,181
558
225
70.216846
0.702251
0.065746
0
0.217822
0
0.081683
0.243765
0.036245
0
0
0
0
0.002475
1
0.002475
false
0
0.027228
0
0.029703
0.148515
0
0
0
null
0
0
0
1
1
1
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
3
ade49b3957e09f11aaf294666c15d9316e8890e5
105
py
Python
tests/admin_custom_urls/urls.py
ni-ning/django
2e7ba6057cfc82a15a22b6021cd60cf307152e2d
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
61,676
2015-01-01T00:05:13.000Z
2022-03-31T20:37:54.000Z
tests/admin_custom_urls/urls.py
ni-ning/django
2e7ba6057cfc82a15a22b6021cd60cf307152e2d
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
8,884
2015-01-01T00:12:05.000Z
2022-03-31T19:53:11.000Z
tests/admin_custom_urls/urls.py
mustafa0x/django
d7394cfa13a4d1a02356e3a83e10ec100fbb9948
[ "BSD-3-Clause", "0BSD" ]
33,143
2015-01-01T02:04:52.000Z
2022-03-31T19:42:46.000Z
from django.urls import path from .models import site urlpatterns = [ path('admin/', site.urls), ]
13.125
30
0.685714
14
105
5.142857
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.190476
105
7
31
15
0.847059
0
0
0
0
0
0.057143
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
ade8001275c2c9dc69f1afdf38357b5d98904dbe
382
py
Python
azext_script/compilers/__init__.py
yorek/adl
d9da1b7d46c71415e38a6efe5b1c8d45b02b3704
[ "MIT" ]
null
null
null
azext_script/compilers/__init__.py
yorek/adl
d9da1b7d46c71415e38a6efe5b1c8d45b02b3704
[ "MIT" ]
1
2018-10-15T05:51:38.000Z
2018-10-15T05:51:38.000Z
azext_script/compilers/__init__.py
yorek/adl
d9da1b7d46c71415e38a6efe5b1c8d45b02b3704
[ "MIT" ]
1
2018-10-18T18:41:02.000Z
2018-10-18T18:41:02.000Z
from azext_script.compilers.Handler import * from azext_script.compilers.HandlerManager import * from azext_script.compilers.Compiler import * import pkgutil __path__ = pkgutil.extend_path(__path__, __name__) for importer, modname, ispkg in pkgutil.walk_packages(path=__path__): #print('azext_script.compilers.' +...
34.727273
69
0.798429
46
382
6.043478
0.434783
0.197842
0.359712
0.258993
0.215827
0
0
0
0
0
0
0
0.10733
382
10
70
38.2
0.815249
0.109948
0
0
0
0
0.067847
0.067847
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
0
0
0
null
0
1
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
1
0
0
0
0
3
adee5db874b4f4f5f4b4862c1668bdae1f596de2
823
py
Python
Pics/migrations/0026_auto_20191015_0954.py
IreneMercy/Instapic
98e3f48bffbc7c182cecb5460972872865f6e336
[ "MIT" ]
null
null
null
Pics/migrations/0026_auto_20191015_0954.py
IreneMercy/Instapic
98e3f48bffbc7c182cecb5460972872865f6e336
[ "MIT" ]
8
2019-12-05T00:36:46.000Z
2022-02-10T10:32:41.000Z
Pics/migrations/0026_auto_20191015_0954.py
IreneMercy/Instapic
98e3f48bffbc7c182cecb5460972872865f6e336
[ "MIT" ]
1
2020-07-05T19:24:28.000Z
2020-07-05T19:24:28.000Z
# Generated by Django 2.2 on 2019-10-15 06:54 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Pics', '0025_remove_post_author'), ] operations = [ migrations.AlterModelOptions( name='post', options={}, ), ...
21.657895
45
0.500608
67
823
6.029851
0.537313
0.118812
0.257426
0.29703
0.376238
0.376238
0
0
0
0
0
0.035573
0.385176
823
37
46
22.243243
0.762846
0.052248
0
0.516129
1
0
0.102828
0.029563
0
0
0
0
0
1
0
false
0
0.032258
0
0.129032
0
0
0
0
null
0
1
1
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
3
70d380532f0641dde42435aa594383c64a335fb6
1,875
py
Python
exercises/linked-list/linked_list_test.py
haithamk/python-exercism
8166a98ba771e0d527efdda421d3d9e741f0459b
[ "MIT" ]
1
2019-01-06T18:39:14.000Z
2019-01-06T18:39:14.000Z
exercises/linked-list/linked_list_test.py
toroad/python
ce085c81a82ae5fb460fe166323dbbaa5a2588c5
[ "MIT" ]
null
null
null
exercises/linked-list/linked_list_test.py
toroad/python
ce085c81a82ae5fb460fe166323dbbaa5a2588c5
[ "MIT" ]
2
2018-03-03T08:32:12.000Z
2019-08-22T11:55:53.000Z
import unittest from linked_list import LinkedList class LinkedListTests(unittest.TestCase): def setUp(self): self.list = LinkedList() def test_push_pop(self): self.list.push(10) self.list.push(20) self.assertEqual(self.list.pop(), 20) self.assertEqual(self.list.pop()...
27.985075
47
0.610133
246
1,875
4.569106
0.154472
0.263345
0.219751
0.266014
0.674377
0.595196
0.435943
0.341637
0.341637
0.313167
0
0.04735
0.245333
1,875
66
48
28.409091
0.746996
0
0
0.481481
0
0
0.017067
0
0
0
0
0
0.333333
1
0.148148
false
0
0.037037
0
0.203704
0
0
0
0
null
1
1
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
3
70e51c0767350c71a8b01d36871db82358ee3dad
416
py
Python
app/tasks.py
dmitrypol/dlm
768bfe8c79f023822ca391e5ee5210fb40417332
[ "MIT" ]
null
null
null
app/tasks.py
dmitrypol/dlm
768bfe8c79f023822ca391e5ee5210fb40417332
[ "MIT" ]
null
null
null
app/tasks.py
dmitrypol/dlm
768bfe8c79f023822ca391e5ee5210fb40417332
[ "MIT" ]
null
null
null
''' tasks ''' # pylint: disable = missing-function-docstring, subprocess-run-check, unused-import # import subprocess import click from . import APP, scheduler # @APP.cli.command() # def test(): # subprocess.run('APP_ENV=test pytest tests/* --cov=app && coverage html', shell=True) # click.echo(click.style('te...
24.470588
90
0.6875
55
416
5.163636
0.618182
0.091549
0.091549
0.112676
0
0
0
0
0
0
0
0
0.139423
416
16
91
26
0.793296
0.685096
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
70eda0472095bb779cf4b98c6eadd3d5ef1dd5c3
13,052
py
Python
scripts/addons/uvpackmaster2/labels.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
2
2020-04-16T22:12:40.000Z
2022-01-22T17:18:45.000Z
scripts/addons/uvpackmaster2/labels.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
null
null
null
scripts/addons/uvpackmaster2/labels.py
Tilapiatsu/blender-custom_conf
05592fedf74e4b7075a6228b8448a5cda10f7753
[ "MIT" ]
2
2019-05-16T04:01:09.000Z
2020-08-25T11:42:26.000Z
# ##### 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...
65.919192
582
0.787925
2,069
13,052
4.806187
0.22378
0.022124
0.009151
0.008447
0.110217
0.078942
0.068081
0.052293
0.025543
0
0
0.002947
0.168173
13,052
197
583
66.253807
0.912959
0.057769
0
0
0
0.201681
0.705091
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
70f6551e9426bd9db89a9f6c356116081ca41376
383
py
Python
tests/python-reference/modules/test_basic.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
25
2015-04-16T04:31:49.000Z
2022-03-10T15:53:28.000Z
tests/python-reference/modules/test_basic.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
1
2018-11-21T22:40:02.000Z
2018-11-26T17:53:11.000Z
tests/python-reference/modules/test_basic.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
1
2021-03-26T03:36:19.000Z
2021-03-26T03:36:19.000Z
# should be able to import sys module # and it should be present in sys.modules import sys ___assertIn("sys", sys.modules) import sys as sys2 ___assertIs(sys, sys2) ___assertIs(sys.path, sys2.path) from sys import path from sys import path as path2 ___assertIs(path, sys.path) ___assertIs(path2, sys.path) ___assertE...
21.277778
41
0.772846
59
383
4.525424
0.355932
0.101124
0.11985
0.142322
0.142322
0
0
0
0
0
0
0.018018
0.130548
383
17
42
22.529412
0.783784
0.195822
0
0
0
0
0.029508
0
0
0
0
0
0.636364
1
0
true
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
1
0
0
0
0
3
70f70a06200d0e63cda378e143cec5d8904971b5
124
py
Python
paper2remarkable/__init__.py
remailable/paper2remarkable
c4dcfcb38b5fa6a0b638cf788e78036bfdfe5ca5
[ "MIT" ]
234
2019-10-25T12:00:23.000Z
2022-03-13T00:04:21.000Z
paper2remarkable/__init__.py
remailable/paper2remarkable
c4dcfcb38b5fa6a0b638cf788e78036bfdfe5ca5
[ "MIT" ]
53
2019-10-25T18:58:04.000Z
2022-03-07T23:01:23.000Z
paper2remarkable/__init__.py
remailable/paper2remarkable
c4dcfcb38b5fa6a0b638cf788e78036bfdfe5ca5
[ "MIT" ]
19
2019-11-09T23:06:03.000Z
2022-03-16T03:27:37.000Z
# -*- coding: utf-8 -*- from .__version__ import __version__ GITHUB_URL = "https://github.com/GjjvdBurg/paper2remarkable"
20.666667
60
0.733871
14
124
5.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.018182
0.112903
124
5
61
24.8
0.727273
0.169355
0
0
0
0
0.445545
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
0
1
0
0
0
0
3
cb09c75591e49447b54af6351be5764411f65dd1
277
py
Python
exercises/en/exc_05_22.py
Lavendulaa/programming-in-python-for-data-science
bc41da8afacf4c180ae0ff9c6dc26a7e6292252f
[ "MIT" ]
1
2020-06-26T20:15:44.000Z
2020-06-26T20:15:44.000Z
exercises/en/exc_05_22.py
Lavendulaa/programming-in-python-for-data-science
bc41da8afacf4c180ae0ff9c6dc26a7e6292252f
[ "MIT" ]
20
2020-06-15T23:05:20.000Z
2020-09-01T22:07:45.000Z
exercises/en/exc_05_22.py
UBC-MDS/MCL-programming-in-python
22836d9013d3e3d1b1074678ba7dc3ee2e66f398
[ "MIT" ]
1
2020-05-09T03:49:02.000Z
2020-05-09T03:49:02.000Z
# Make a function that takes in the arguments height and weight and returns BMI ____ ____ # Use the function to calculate the BMI of a person with height 62 inches and a weight of 105 lbs # Save this in an object name bmi_calc # ____ = ____ # Display the BMI # ____
18.466667
101
0.732852
45
277
4.044444
0.666667
0.065934
0
0
0
0
0
0
0
0
0
0.02381
0.241877
277
14
102
19.785714
0.842857
0.891697
0
1
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cb26c9c7a2c7ad607c7e07d3dca089a7ea42f06a
736
py
Python
0931-Minimum-Falling-Path-Sum.py
Sax-Ted/Practicing-with-Leetcode
51701e128d8233d2df7fcbce34eff1b1435133e6
[ "MIT" ]
null
null
null
0931-Minimum-Falling-Path-Sum.py
Sax-Ted/Practicing-with-Leetcode
51701e128d8233d2df7fcbce34eff1b1435133e6
[ "MIT" ]
null
null
null
0931-Minimum-Falling-Path-Sum.py
Sax-Ted/Practicing-with-Leetcode
51701e128d8233d2df7fcbce34eff1b1435133e6
[ "MIT" ]
null
null
null
class Solution: def minFallingPathSum(self, matrix: List[List[int]]) -> int: output = 0 index = matrix[0].index(min(matrix[0])) temp = [] for i in range(0, len(matrix), 1): if matrix[i].index(min(matrix[i])) == index or matrix[i].index(min(matrix[i])) == index + 1 or matr...
43.294118
152
0.474185
97
736
3.597938
0.257732
0.22063
0.275072
0.17192
0.409742
0.312321
0.249284
0.17192
0.17192
0
0
0.023555
0.365489
736
16
153
46
0.723769
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.1875
0
0
0
0
null
1
1
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
3
cb3b18c74432c40274e842f080adbb95e840ec0a
165
py
Python
employee_portal/vacation_schedule/apps.py
Dmitriy200123/employee_portal
e06c2cfc03a5d046d5846186249c2140e7ba7814
[ "MIT" ]
null
null
null
employee_portal/vacation_schedule/apps.py
Dmitriy200123/employee_portal
e06c2cfc03a5d046d5846186249c2140e7ba7814
[ "MIT" ]
null
null
null
employee_portal/vacation_schedule/apps.py
Dmitriy200123/employee_portal
e06c2cfc03a5d046d5846186249c2140e7ba7814
[ "MIT" ]
1
2021-07-28T14:48:40.000Z
2021-07-28T14:48:40.000Z
from django.apps import AppConfig class VacationScheduleConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'vacation_schedule'
23.571429
56
0.787879
18
165
7.055556
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.133333
165
6
57
27.5
0.888112
0
0
0
0
0
0.278788
0.175758
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
1
0
0
3
cb76c1896c1ea332b38a287116ddecb547136613
1,370
py
Python
phonetic_matcher/metaphone.py
JarbasAl/phonetic_matcher
82c3bd808e40e75086716bf12bf7a719b741e817
[ "Apache-2.0" ]
2
2020-12-29T02:38:25.000Z
2021-01-15T05:48:56.000Z
phonetic_matcher/metaphone.py
JarbasAl/phonetic_matcher
82c3bd808e40e75086716bf12bf7a719b741e817
[ "Apache-2.0" ]
null
null
null
phonetic_matcher/metaphone.py
JarbasAl/phonetic_matcher
82c3bd808e40e75086716bf12bf7a719b741e817
[ "Apache-2.0" ]
1
2021-04-27T16:44:33.000Z
2021-04-27T16:44:33.000Z
import phonetics from phonetic_matcher.string_matching import fuzzy_match, MatchStrategy, match_all def metaphone_fuzzy_match(x, against, strategy=MatchStrategy.PARTIAL_TOKEN_SORT_RATIO): return fuzzy_match(phonetics.metaphone(x), phonetics.metaphone(against), strategy) def metaphone_best_match(query, choices, ...
33.414634
91
0.729927
178
1,370
5.382022
0.224719
0.100209
0.175365
0.206681
0.553236
0.51357
0.453027
0.446764
0.446764
0.446764
0
0.011649
0.185401
1,370
40
92
34.25
0.846774
0.013869
0
0.071429
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.178571
0.535714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
cbe3449ae9c91925e5bec626e0cfd161e6ae096f
116
py
Python
feffery_antd_components/_imports_.py
nodelab-aps/feffery-antd-components
84c66389fa9e1129879ae95e4ca9f24385b6e5d3
[ "MIT" ]
null
null
null
feffery_antd_components/_imports_.py
nodelab-aps/feffery-antd-components
84c66389fa9e1129879ae95e4ca9f24385b6e5d3
[ "MIT" ]
null
null
null
feffery_antd_components/_imports_.py
nodelab-aps/feffery-antd-components
84c66389fa9e1129879ae95e4ca9f24385b6e5d3
[ "MIT" ]
null
null
null
from .AntdTabPane import AntdTabPane from .AntdTabs import AntdTabs __all__ = [ "AntdTabPane", "AntdTabs" ]
16.571429
36
0.724138
11
116
7.272727
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.189655
116
7
37
16.571429
0.851064
0
0
0
0
0
0.162393
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1db15949bf5259824db24478f94a95f537830cfb
2,952
py
Python
calchas_transformations/simplify_sum.py
marc-chevalier/calchas
13472f837605eff26010a28af9981ba8750e9af9
[ "Apache-2.0" ]
null
null
null
calchas_transformations/simplify_sum.py
marc-chevalier/calchas
13472f837605eff26010a28af9981ba8750e9af9
[ "Apache-2.0" ]
2
2017-06-01T14:14:09.000Z
2017-06-20T10:01:13.000Z
calchas_transformations/simplify_sum.py
s-i-newton/calchas
13472f837605eff26010a28af9981ba8750e9af9
[ "Apache-2.0" ]
null
null
null
from calchas_datamodel.visitor import AbstractVisitor from calchas_datamodel import AbstractExpression from calchas_datamodel import IdExpression as Id from calchas_datamodel import FunctionCallExpression as Call from calchas_datamodel import FunctionExpression as Fun from calchas_datamodel import IntegerLiteralCalchas...
37.367089
107
0.660569
345
2,952
5.492754
0.217391
0.063852
0.116095
0.123483
0.125594
0.075989
0
0
0
0
0
0.001361
0.253388
2,952
78
108
37.846154
0.858439
0
0
0.09375
0
0
0.006775
0
0
0
0
0
0
1
0.203125
false
0
0.203125
0.125
0.65625
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
1
1
0
0
3
1db1a37617edc77b969996c36dfb1b4762da2f4b
543
py
Python
tests/test_process_manager.py
LaudateCorpus1/MoP
ee869ccb6c2c2bfd3b074d8be14d2083b331b6a0
[ "Apache-2.0" ]
75
2019-08-09T19:24:04.000Z
2022-03-22T21:35:27.000Z
tests/test_process_manager.py
LaudateCorpus1/MoP
ee869ccb6c2c2bfd3b074d8be14d2083b331b6a0
[ "Apache-2.0" ]
3
2020-04-28T08:39:53.000Z
2022-01-13T01:30:17.000Z
tests/test_process_manager.py
LaudateCorpus1/MoP
ee869ccb6c2c2bfd3b074d8be14d2083b331b6a0
[ "Apache-2.0" ]
18
2019-08-15T11:15:06.000Z
2022-03-22T21:35:36.000Z
#!/usr/bin/env python3 import unittest import stage_props.process_manager class TestProcessManager(unittest.TestCase): def test_pslist(self): self.assertIn('explorer.exe', [proc.name.lower() for proc in stage_props.process_manager.pslist()]) def test_process_by_name(self): self.assertTrue(le...
31.941176
107
0.736648
74
543
5.148649
0.459459
0.104987
0.178478
0.251969
0.173228
0.173228
0
0
0
0
0
0.006452
0.143646
543
16
108
33.9375
0.812903
0.038674
0
0
0
0
0.055662
0
0
0
0
0
0.3
1
0.3
false
0
0.2
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1dbb3871363f75f699e1a7e180e09f1d45e3f927
264
py
Python
boundlexx/api/permissions.py
AngellusMortis/boundlexx
407f5e38e8e0f067cbcb358787fc9af6a9be9b2a
[ "MIT" ]
1
2021-04-23T11:49:50.000Z
2021-04-23T11:49:50.000Z
boundlexx/api/permissions.py
AngellusMortis/boundlexx
407f5e38e8e0f067cbcb358787fc9af6a9be9b2a
[ "MIT" ]
1
2021-04-17T18:17:12.000Z
2021-04-17T18:17:12.000Z
boundlexx/api/permissions.py
AngellusMortis/boundlexx
407f5e38e8e0f067cbcb358787fc9af6a9be9b2a
[ "MIT" ]
null
null
null
from rest_framework import permissions class IsWorldTrusted(permissions.BasePermission): """ Global permission check for blocked IPs. """ def has_permission(self, request, view): return request.user.has_perm("boundless.is_trusted_user")
24
65
0.734848
30
264
6.3
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.17803
264
10
66
26.4
0.870968
0.151515
0
0
0
0
0.120192
0.120192
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1
0
0
0
1
1
0
0
3
1dd703640ab4a25c3972335a94170c4df5a5e2ad
68
py
Python
ableualign/__init__.py
orcjun/ABLEUAlign
2ec87f42dc028735006cda399f02af29eed4e6f3
[ "MIT" ]
5
2019-02-19T05:08:22.000Z
2022-03-29T09:02:34.000Z
ableualign/__init__.py
orcjun/ABLEUAlign
2ec87f42dc028735006cda399f02af29eed4e6f3
[ "MIT" ]
null
null
null
ableualign/__init__.py
orcjun/ABLEUAlign
2ec87f42dc028735006cda399f02af29eed4e6f3
[ "MIT" ]
3
2020-04-17T00:37:19.000Z
2021-11-16T05:57:22.000Z
from .align import align __all__ = ['align'] __version__ = '0.1.1'
13.6
24
0.676471
10
68
3.8
0.7
0
0
0
0
0
0
0
0
0
0
0.052632
0.161765
68
4
25
17
0.614035
0
0
0
0
0
0.147059
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1de717e5408027522086c65a8c761348f34cd11e
13,711
py
Python
linuxOperation/app/maintain/wechat_views.py
zhouli121018/core
f9700204349ecb22d45e700e9e27e79412829199
[ "MIT" ]
null
null
null
linuxOperation/app/maintain/wechat_views.py
zhouli121018/core
f9700204349ecb22d45e700e9e27e79412829199
[ "MIT" ]
1
2021-06-10T20:45:55.000Z
2021-06-10T20:45:55.000Z
linuxOperation/app/maintain/wechat_views.py
zhouli121018/core
f9700204349ecb22d45e700e9e27e79412829199
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import re import json import time import datetime from django.shortcuts import render, get_object_or_404, redirect, get_list_or_404 from django.contrib import messages from django.template.response import TemplateResponse from django.core.paginator import Paginator, EmptyPage, InvalidPage from d...
36.176781
121
0.617898
1,637
13,711
5.022602
0.113012
0.022987
0.02919
0.040136
0.763804
0.70287
0.670761
0.64145
0.612503
0.60326
0
0.006901
0.239078
13,711
379
122
36.176781
0.781175
0.017723
0
0.730061
0
0
0.12395
0.032474
0
0
0
0
0
1
0.046012
false
0.01227
0.04908
0.006135
0.165644
0
0
0
0
null
0
0
0
0
1
0
0
0
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
3
3804c488f3770b3b31bd6fa09787cb0d2fb5b471
184
py
Python
SumK.py
harshitkhare13/Guvi
03f6713a3b9bd744348453ab95ac8dc59bf1f1b0
[ "MIT" ]
null
null
null
SumK.py
harshitkhare13/Guvi
03f6713a3b9bd744348453ab95ac8dc59bf1f1b0
[ "MIT" ]
null
null
null
SumK.py
harshitkhare13/Guvi
03f6713a3b9bd744348453ab95ac8dc59bf1f1b0
[ "MIT" ]
null
null
null
num = list(map(int, input('Enter N & K: ').split())) arr = list(map(int, input('Enter numbers: ').split())) sum1 = 0 for i in range(num[1]): sum1 += arr[i] print(sum1)
23
55
0.554348
30
184
3.4
0.633333
0.137255
0.196078
0.294118
0.392157
0
0
0
0
0
0
0.034965
0.222826
184
7
56
26.285714
0.678322
0
0
0
0
0
0.158192
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
1
1
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
381785c103a475dc7d42fd4288616c07a2072d80
505
py
Python
bin/scp.py
pelavarre/pybashish
03f74356fb0a2a0ef7106f09c059fd9b375ce89a
[ "CNRI-Python" ]
4
2020-07-10T20:16:13.000Z
2022-02-16T02:11:20.000Z
bin/scp.py
pelavarre/pybashish
03f74356fb0a2a0ef7106f09c059fd9b375ce89a
[ "CNRI-Python" ]
null
null
null
bin/scp.py
pelavarre/pybashish
03f74356fb0a2a0ef7106f09c059fd9b375ce89a
[ "CNRI-Python" ]
2
2020-06-24T20:37:36.000Z
2020-07-10T20:16:17.000Z
#!/usr/bin/env python3 """ usage: scp.py [-h] [-p] [-q] [-r] [FROM [TO]] copy files between hosts positional arguments: FROM a local path, else HOSTNAME:PATH, else USER@HOSTNAME:PATH options: -h, --help show this help message and exit dreams: clear error messages for TO already exists, vs has no Dir,...
21.041667
78
0.683168
80
505
4.35
0.775
0.045977
0
0
0
0
0
0
0
0
0
0.002457
0.194059
505
23
79
21.956522
0.845209
0.966337
0
null
0
null
0
0
null
0
0
0.043478
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
381f21eeddb51212b73c236c46d7eb5a725ae3d4
181
py
Python
project/starter_app/urls.py
seitti/django_pylvax
e843e6e323d61ba8b2edb808e8c92d01bb0c93a8
[ "MIT" ]
null
null
null
project/starter_app/urls.py
seitti/django_pylvax
e843e6e323d61ba8b2edb808e8c92d01bb0c93a8
[ "MIT" ]
null
null
null
project/starter_app/urls.py
seitti/django_pylvax
e843e6e323d61ba8b2edb808e8c92d01bb0c93a8
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.home, name='home'), url(r'^posts/(?P<slug>[\w-]+)/$', views.post, name='post'), ]
22.625
63
0.585635
26
181
4.076923
0.615385
0.075472
0
0
0
0
0
0
0
0
0
0
0.171271
181
7
64
25.857143
0.706667
0
0
0
0
0
0.19337
0.138122
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
3833741e8076dbac776a383f8e05ce8cafaac92e
1,062
py
Python
sacrebleu/__main__.py
jhcross/sacrebleu
90127b05897b72871eb2af6f7ba9ce9ca438addd
[ "Apache-2.0" ]
373
2020-03-28T21:37:15.000Z
2022-03-30T16:22:13.000Z
sacrebleu/__main__.py
jhcross/sacrebleu
90127b05897b72871eb2af6f7ba9ce9ca438addd
[ "Apache-2.0" ]
124
2020-03-28T16:11:44.000Z
2022-03-31T07:56:11.000Z
sacrebleu/__main__.py
jhcross/sacrebleu
90127b05897b72871eb2af6f7ba9ce9ca438addd
[ "Apache-2.0" ]
70
2020-04-04T09:30:16.000Z
2022-03-31T06:25:49.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2017--2018 Amazon.com, Inc. or its affiliates. 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://aws....
37.928571
115
0.750471
161
1,062
4.900621
0.695652
0.076046
0
0
0
0
0
0
0
0
0
0.015766
0.163842
1,062
27
116
39.333333
0.872748
0.90113
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
true
0
0.333333
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
384acca1d917011630e2f879ac4ba16e87520ee7
1,690
py
Python
bcftbx/test/cli/test_reorder_fasta.py
fls-bioinformatics-core/genomics
1cd012faf69fff284f8f68ede050ffe30ac3327d
[ "AFL-3.0" ]
49
2015-01-03T17:09:10.000Z
2022-03-17T19:28:08.000Z
bcftbx/test/cli/test_reorder_fasta.py
fls-bioinformatics-core/genomics
1cd012faf69fff284f8f68ede050ffe30ac3327d
[ "AFL-3.0" ]
59
2015-04-16T14:21:04.000Z
2022-03-15T11:56:33.000Z
bcftbx/test/cli/test_reorder_fasta.py
fls-bioinformatics-core/genomics
1cd012faf69fff284f8f68ede050ffe30ac3327d
[ "AFL-3.0" ]
29
2015-01-29T08:50:44.000Z
2021-08-19T02:15:44.000Z
####################################################################### # Unit tests ####################################################################### import unittest from bcftbx.cli.reorder_fasta import split_chrom_name from bcftbx.cli.reorder_fasta import cmp_chrom_names class TestSplitChromName(unittest.Test...
48.285714
71
0.55858
173
1,690
5.104046
0.225434
0.11778
0.191393
0.224236
0.736127
0.582106
0.460929
0.265006
0.265006
0.180068
0
0.076923
0.253846
1,690
34
72
49.705882
0.623315
0.005917
0
0.178571
0
0
0.149089
0.095703
0
0
0
0
0.464286
1
0.142857
false
0
0.107143
0
0.321429
0
0
0
0
null
0
1
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
3
384bdf6d96851a3dd816caa832d9147dd4418cf6
243
py
Python
meiduo_mall/meiduo_mall/apps/goods/urls.py
depaeu-nbu/mmc
aa8993a4790066beef436e63baa055b7329f5810
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/goods/urls.py
depaeu-nbu/mmc
aa8993a4790066beef436e63baa055b7329f5810
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/goods/urls.py
depaeu-nbu/mmc
aa8993a4790066beef436e63baa055b7329f5810
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ # 面包屑 url(r'categories/(?P<pk>\d+)/$', views.CategoryView.as_view()), # 商品列表页 url(r'categories/(?P<category_id>\d+)/skus/$', views.SKUListView.as_view()), ]
24.3
80
0.646091
34
243
4.529412
0.647059
0.051948
0.181818
0.194805
0
0
0
0
0
0
0
0
0.152263
243
10
81
24.3
0.747573
0.037037
0
0
0
0
0.267241
0.267241
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
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
1
0
0
0
0
3
698f44d2f74fca51cc4a1fbb1876b1f254b0873e
6,273
py
Python
server/accounts/migrations/0001_initial.py
webclinic017/trading-bot-1
c567b1d865a88aa025e589b8c403cc7749ab52ad
[ "MIT" ]
1
2021-08-29T03:34:30.000Z
2021-08-29T03:34:30.000Z
server/accounts/migrations/0001_initial.py
webclinic017/trading-bot-1
c567b1d865a88aa025e589b8c403cc7749ab52ad
[ "MIT" ]
null
null
null
server/accounts/migrations/0001_initial.py
webclinic017/trading-bot-1
c567b1d865a88aa025e589b8c403cc7749ab52ad
[ "MIT" ]
1
2021-08-16T22:33:24.000Z
2021-08-16T22:33:24.000Z
# Generated by Django 3.1.3 on 2020-12-20 06:10 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
35.845714
86
0.374303
379
6,273
5.963061
0.298153
0.097345
0.143805
0.178319
0.4
0.380531
0.380531
0.373009
0.373009
0.373009
0
0.021883
0.541049
6,273
174
87
36.051724
0.763112
0.007174
0
0.449102
1
0
0.132348
0.011083
0
0
0
0
0
1
0
false
0
0.017964
0
0.041916
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
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
3
69c9f848c5283e0b121b2026932201c63896efab
419
py
Python
corehq/apps/smsbillables/migrations/0021_infobip_gateway_fee_amount_null.py
dankohn/commcare-hq
42c40ad5881485d5192aab3dea5696942ee40810
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/smsbillables/migrations/0021_infobip_gateway_fee_amount_null.py
dankohn/commcare-hq
42c40ad5881485d5192aab3dea5696942ee40810
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/smsbillables/migrations/0021_infobip_gateway_fee_amount_null.py
dankohn/commcare-hq
42c40ad5881485d5192aab3dea5696942ee40810
[ "BSD-3-Clause" ]
null
null
null
from django.db import migrations from corehq.apps.smsbillables.models import add_infobip_gateway_fee def add_infobip_gateway_fee_for_migration(apps, schema_editor): add_infobip_gateway_fee(apps) class Migration(migrations.Migration): dependencies = [ ('smsbillables', '0020_update_sislog_fees'), ...
22.052632
68
0.761337
49
419
6.102041
0.530612
0.133779
0.227425
0.267559
0.214047
0.214047
0
0
0
0
0
0.011396
0.162291
419
18
69
23.277778
0.840456
0
0
0
0
0
0.083532
0.054893
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.545455
0
0
0
0
null
0
1
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
1
0
0
3
69e9eddffc4eec48cb845314affbaed20ef8619d
740
py
Python
examples/lxcexamples/lxcexamples.py
Jumpscale/jumpscale_examples7
7d7be2401489a0c5465950c66bbdbb266fe57fe7
[ "Apache-2.0" ]
1
2015-10-26T10:38:37.000Z
2015-10-26T10:38:37.000Z
examples/lxcexamples/lxcexamples.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
examples/lxcexamples/lxcexamples.py
Jumpscale/jumpscale6_core
0502ddc1abab3c37ed982c142d21ea3955d471d3
[ "BSD-2-Clause" ]
null
null
null
from JumpScale import j from JumpScale import j j.application.start("lxcexamples") import JumpScale.lib.lxc import JumpScale.baselib.netconfig reset=True if reset: #DANGEROUS, will reset all your local netconfig of your system j.system.platform.lxc.resetNetworkConfigHostSystemDhcpSimple() s name="test3" j...
24.666667
116
0.771622
109
740
5.238532
0.449541
0.085814
0.183888
0.220666
0.070053
0
0
0
0
0
0
0.058737
0.07973
740
30
117
24.666667
0.779736
0.108108
0
0.111111
0
0
0.094082
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.055556
0
0
0
null
0
1
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
1
0
0
0
0
0
0
0
0
3
69ee959d8640d74d920880d57807c29e36323c66
341
py
Python
solutions/python3/170.py
sm2774us/amazon_interview_prep_2021
f580080e4a6b712b0b295bb429bf676eb15668de
[ "MIT" ]
42
2020-08-02T07:03:49.000Z
2022-03-26T07:50:15.000Z
solutions/python3/170.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
null
null
null
solutions/python3/170.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
40
2020-02-08T02:50:24.000Z
2022-03-26T15:38:10.000Z
class TwoSum: def __init__(self): self.nums = {} def add(self, number): self.nums[number] = self.nums.get(number, 0) + 1 def find(self, value): for num in self.nums: if value - num in self.nums and (num != value - num or self.nums[num] > 1): return True...
26.230769
87
0.539589
48
341
3.75
0.458333
0.266667
0.155556
0.144444
0
0
0
0
0
0
0
0.013393
0.343109
341
13
88
26.230769
0.790179
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0
0.6
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
1
0
0
0
0
1
0
0
3
0e0cc96f33d2f4a649f02f00a815a30296b578dc
284
py
Python
lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_waf.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
null
null
null
lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_waf.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
null
null
null
lib/oeqa/runtime/cases/rubygems_rubygems_aws_sdk_waf.py
tuxable-ltd/meta-rubygems
e80630e79b64e1be8339e1add0ab07644ec99425
[ "BSD-2-Clause" ]
null
null
null
from rubygems_utils import RubyGemsTestUtils class RubyGemsTestrubygems_aws_sdk_waf(RubyGemsTestUtils): def test_gem_list_rubygems_aws_sdk_waf(self): self.gem_is_installed("aws-sdk-waf") def test_load_aws_sdk_waf(self): self.gem_is_loadable("aws-sdk-waf")
25.818182
58
0.778169
41
284
4.95122
0.463415
0.147783
0.221675
0.128079
0.216749
0.216749
0.216749
0
0
0
0
0
0.140845
284
10
59
28.4
0.831967
0
0
0
0
0
0.077739
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0e12f024d16451d7e48648b175482903b4d310ce
2,268
py
Python
maps/__init__.py
pcattori/namedmaps
bccd827e1a7ed946a28c9098e53d732b4d85fdbd
[ "MIT" ]
12
2017-01-22T18:22:18.000Z
2019-07-05T08:15:21.000Z
maps/__init__.py
pcattori/maps
bccd827e1a7ed946a28c9098e53d732b4d85fdbd
[ "MIT" ]
42
2017-01-20T03:24:26.000Z
2020-05-02T12:42:59.000Z
maps/__init__.py
pcattori/namedmaps
bccd827e1a7ed946a28c9098e53d732b4d85fdbd
[ "MIT" ]
2
2017-05-18T08:48:56.000Z
2017-11-06T15:07:28.000Z
from maps.fixedkeymap import FixedKeyMap from maps.frozenmap import FrozenMap from maps.nameddict import NamedDict from maps.namedfixedkeymap import NamedFixedKeyMapMeta from maps.namedfrozenmap import NamedFrozenMapMeta def namedfrozen(typename, fields, defaults={}): '''Creates a new class that inherits from :cla...
37.8
103
0.671076
288
2,268
5.229167
0.322917
0.01992
0.058433
0.038513
0.564409
0.564409
0.564409
0.564409
0.564409
0.564409
0
0.010789
0.223545
2,268
59
104
38.440678
0.844407
0.72575
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.555556
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
1
0
0
1
0
1
0
0
3
38540a645b669dd6326fa86d7dee1a75a14ff4b6
4,121
py
Python
neural_compressor/model/engine_model.py
kevinintel/neural-compressor
b57645566aeff8d3c18dc49d2739a583c072f940
[ "Apache-2.0" ]
100
2020-12-01T02:40:12.000Z
2021-09-09T08:14:22.000Z
neural_compressor/model/engine_model.py
kevinintel/neural-compressor
b57645566aeff8d3c18dc49d2739a583c072f940
[ "Apache-2.0" ]
25
2021-01-05T00:16:17.000Z
2021-09-10T03:24:01.000Z
neural_compressor/model/engine_model.py
kevinintel/neural-compressor
b57645566aeff8d3c18dc49d2739a583c072f940
[ "Apache-2.0" ]
25
2020-12-01T19:07:08.000Z
2021-08-30T14:20:07.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2021 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 # # Unl...
32.195313
86
0.651056
549
4,121
4.688525
0.291439
0.073427
0.064103
0.027972
0.107226
0.0777
0.0777
0.056721
0.030303
0
0
0.003273
0.258675
4,121
127
87
32.448819
0.83928
0.162825
0
0.081395
0
0
0.018643
0
0
0
0
0
0.011628
1
0.255814
false
0
0.104651
0.139535
0.534884
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
1
1
0
0
3
386f3418cde3af6100711244772abd1d7f4d098a
1,660
py
Python
python_modules/libraries/lakehouse/lakehouse/asset.py
dbatten5/dagster
d76e50295054ffe5a72f9b292ef57febae499528
[ "Apache-2.0" ]
1
2021-07-03T09:05:58.000Z
2021-07-03T09:05:58.000Z
python_modules/libraries/lakehouse/lakehouse/asset.py
dbatten5/dagster
d76e50295054ffe5a72f9b292ef57febae499528
[ "Apache-2.0" ]
1
2021-06-21T18:30:02.000Z
2021-06-25T21:18:39.000Z
python_modules/libraries/lakehouse/lakehouse/asset.py
dbatten5/dagster
d76e50295054ffe5a72f9b292ef57febae499528
[ "Apache-2.0" ]
1
2021-11-30T21:40:46.000Z
2021-11-30T21:40:46.000Z
from abc import ABC from typing import List, Tuple, Union from dagster import AssetKey, DagsterType, check from .computation import Computation class Asset(ABC): def __init__(self, storage_key, path, computation): self._storage_key = check.str_param(storage_key, "storage_key") self._path = canon...
30.181818
99
0.68012
221
1,660
4.941176
0.312217
0.082418
0.051282
0.052198
0.099817
0.099817
0.051282
0
0
0
0
0
0.218072
1,660
54
100
30.740741
0.841294
0.095181
0
0.131579
0
0
0.074647
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0.131579
0.578947
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
1
1
0
0
3
38761528e484ad21d3781593e3fe75e1fb0cf2f6
505
py
Python
src/pkg_2.py
josephsv96/crate_classifier
02a0b55d5714f1e40923b007526c25ffd0c4e098
[ "MIT" ]
1
2020-11-18T11:30:42.000Z
2020-11-18T11:30:42.000Z
src/pkg_2.py
josephsv96/crate_classifier
02a0b55d5714f1e40923b007526c25ffd0c4e098
[ "MIT" ]
7
2021-04-30T21:39:14.000Z
2022-01-13T03:32:59.000Z
src/pkg_2.py
josephsv96/crate_classifier
02a0b55d5714f1e40923b007526c25ffd0c4e098
[ "MIT" ]
null
null
null
from utils import get_custom_cmap import numpy as np import tensorflow as tf import matplotlib.pyplot as plt import cv2 # Local Modules from src.data_loader import load_json, load_npy from src.preprocessing import img_preprocess, ann_preprocess from src.preprocessing import resize_arr, split_data, stack_exp from src.p...
28.055556
63
0.839604
85
505
4.694118
0.458824
0.087719
0.150376
0.195489
0
0
0
0
0
0
0
0.015695
0.116832
505
17
64
29.705882
0.878924
0.059406
0
0
0
0
0.036017
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
388c6707148307e29f85d42c49f047c9243358e4
326
py
Python
sql_gen/__main__.py
vecin2/em-dev-tools
b34e7a7d8dc8df301cfce2aced8ac38121cf5d56
[ "MIT" ]
null
null
null
sql_gen/__main__.py
vecin2/em-dev-tools
b34e7a7d8dc8df301cfce2aced8ac38121cf5d56
[ "MIT" ]
null
null
null
sql_gen/__main__.py
vecin2/em-dev-tools
b34e7a7d8dc8df301cfce2aced8ac38121cf5d56
[ "MIT" ]
null
null
null
from jinja2 import Environment, FileSystemLoader, select_autoescape, meta, Template from sql_gen.template_source import TemplateSource from sql_gen.prompter import Prompter from sql_gen.filter_loader import load_filters from sql_gen_app import run_app ##main def main(): run_app() if __name__ == '__main__': m...
25.076923
83
0.800613
46
326
5.26087
0.521739
0.115702
0.165289
0
0
0
0
0
0
0
0
0.003546
0.134969
326
12
84
27.166667
0.85461
0.01227
0
0
0
0
0.025
0
0
0
0
0
0
1
0.111111
true
0
0.555556
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
38a5187405afd7ce519238470f87519016d1b440
21
py
Python
sldghmmr4nut/img/__init__.py
ihgazni2/sledgehammer4nut
397ace55fc0113bcb2e8375ede055b469b5ef029
[ "MIT" ]
null
null
null
sldghmmr4nut/img/__init__.py
ihgazni2/sledgehammer4nut
397ace55fc0113bcb2e8375ede055b469b5ef029
[ "MIT" ]
null
null
null
sldghmmr4nut/img/__init__.py
ihgazni2/sledgehammer4nut
397ace55fc0113bcb2e8375ede055b469b5ef029
[ "MIT" ]
null
null
null
__all__ =["convert"]
10.5
20
0.666667
2
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.095238
21
1
21
21
0.526316
0
0
0
0
0
0.333333
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
38af9fa176d9eb0f115480343f0f595b73b69ee8
1,326
py
Python
mollie/api/objects/shipment.py
bryanwills/mollie-api-python
8122569ae83f07ad07893f3dd56e9a60bcccae05
[ "BSD-2-Clause" ]
95
2015-02-22T23:32:13.000Z
2022-02-17T21:28:19.000Z
mollie/api/objects/shipment.py
bryanwills/mollie-api-python
8122569ae83f07ad07893f3dd56e9a60bcccae05
[ "BSD-2-Clause" ]
108
2015-02-26T08:51:35.000Z
2021-10-10T12:57:55.000Z
mollie/api/objects/shipment.py
bryanwills/mollie-api-python
8122569ae83f07ad07893f3dd56e9a60bcccae05
[ "BSD-2-Clause" ]
70
2015-01-17T17:47:56.000Z
2022-01-18T17:31:12.000Z
from .base import ObjectBase from .list import ObjectList from .order_line import OrderLine class Shipment(ObjectBase): @property def resource(self): return self._get_property("resource") @property def id(self): return self._get_property("id") @property def order_id(self): ...
24.109091
72
0.617647
155
1,326
5.129032
0.283871
0.125786
0.140881
0.106918
0.225157
0.067925
0
0
0
0
0
0
0.277526
1,326
54
73
24.555556
0.829854
0.071644
0
0.205128
0
0
0.052459
0
0
0
0
0
0
1
0.25641
false
0
0.076923
0.205128
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
38c535d09443df0fc630029f71537ffe78222a18
106
py
Python
arcli/triggers/__init__.py
guiscaranse/arcli
6ca8158111ab1694f2e1900dde723e3e4d86cfe8
[ "Apache-2.0" ]
2
2019-08-07T22:33:26.000Z
2020-01-14T00:44:01.000Z
arcli/triggers/__init__.py
guiscaranse/arcli
6ca8158111ab1694f2e1900dde723e3e4d86cfe8
[ "Apache-2.0" ]
1
2019-11-16T22:17:08.000Z
2019-11-16T22:17:08.000Z
arcli/triggers/__init__.py
guiscaranse/arcli
6ca8158111ab1694f2e1900dde723e3e4d86cfe8
[ "Apache-2.0" ]
null
null
null
from .always import Always from .git import GitDiff triggers = ["Always", "GitDiff"] __all__ = triggers
15.142857
32
0.735849
13
106
5.692308
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.160377
106
6
33
17.666667
0.831461
0
0
0
0
0
0.122642
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
0
1
0
0
0
0
3
c7fd6b3af513be89ada22ef752b6d13b606fefe2
977
py
Python
xlevel_filling_station/config/xlevel_filling_station.py
CloudERPng/x_level_filling_station
47ef2757c40527dad27c26a00eed180fde20b3d9
[ "MIT" ]
null
null
null
xlevel_filling_station/config/xlevel_filling_station.py
CloudERPng/x_level_filling_station
47ef2757c40527dad27c26a00eed180fde20b3d9
[ "MIT" ]
null
null
null
xlevel_filling_station/config/xlevel_filling_station.py
CloudERPng/x_level_filling_station
47ef2757c40527dad27c26a00eed180fde20b3d9
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "label": _("Filling Station"), "items": [ { "type": "doctype", "name": "Meter Reading", "options": "Meter Reading" }, ...
22.72093
44
0.32651
57
977
5.438596
0.438596
0.177419
0.241935
0.129032
0
0
0
0
0
0
0
0
0.536336
977
42
45
23.261905
0.684327
0
0
0.225
0
0
0.262027
0
0
0
0
0
0
1
0.025
true
0
0.05
0.025
0.1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2a090084c944f908acb8cd775b0a68a1ba251ebb
49,277
py
Python
DecisionTree/CartTree_regression_xrh.py
Xinrihui/Statistical-Learning-Method
2e1c107bed8a21307596fbe0f8f1daed638657c5
[ "Apache-2.0" ]
2
2021-06-25T06:42:14.000Z
2021-11-07T13:44:29.000Z
DecisionTree/CartTree_regression_xrh.py
Xinrihui/Statistical-Learning-Method
2e1c107bed8a21307596fbe0f8f1daed638657c5
[ "Apache-2.0" ]
null
null
null
DecisionTree/CartTree_regression_xrh.py
Xinrihui/Statistical-Learning-Method
2e1c107bed8a21307596fbe0f8f1daed638657c5
[ "Apache-2.0" ]
null
null
null
import numpy as np import time from sklearn.datasets import load_boston from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeRegressor from sklearn.metrics import mean_squared_error # 树节点 class Node: def __init__(self, label=None, feature=None, feature_split=None, prev_fe...
29.20984
171
0.522191
5,685
49,277
4.287247
0.100792
0.040619
0.036926
0.023797
0.772125
0.740409
0.712346
0.694662
0.678989
0.663152
0
0.021037
0.378757
49,277
1,686
172
29.227165
0.775128
0.231
0
0.638643
0
0
0.024635
0.008572
0
0
0
0.002966
0
1
0.069322
false
0
0.00885
0
0.147493
0.070796
0
0
0
null
0
0
0
0
1
1
0
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
3
2a24452b74fb0a8beeffa2a6893af4fe9a8a73c4
1,590
py
Python
vas/VFabricAdministrationServerError.py
appsuite/vas-python-api
c5df2b784d2d175034384eca368d78827fa8846b
[ "Apache-2.0" ]
1
2020-05-26T23:49:47.000Z
2020-05-26T23:49:47.000Z
vas/VFabricAdministrationServerError.py
appsuite/vas-python-api
c5df2b784d2d175034384eca368d78827fa8846b
[ "Apache-2.0" ]
null
null
null
vas/VFabricAdministrationServerError.py
appsuite/vas-python-api
c5df2b784d2d175034384eca368d78827fa8846b
[ "Apache-2.0" ]
1
2019-03-12T02:33:51.000Z
2019-03-12T02:33:51.000Z
# vFabric Administration Server API # Copyright (c) 2012 VMware, Inc. 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 # # https://www.apache.org/licenses/LICENSE-2.0...
33.829787
115
0.679874
205
1,590
5.126829
0.526829
0.079924
0.05138
0.030447
0
0
0
0
0
0
0
0.006483
0.223899
1,590
46
116
34.565217
0.845219
0.537107
0
0.105263
0
0
0.036932
0
0
0
0
0
0
1
0.263158
false
0
0
0.210526
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2a36fc0e14f8d2c469c30310a2a3d6bd8741b283
74
py
Python
wepay/__init__.py
kevinjqiu/Python-SDK
d7a56538e8ffc65c119a538d752354ec76445369
[ "MIT" ]
null
null
null
wepay/__init__.py
kevinjqiu/Python-SDK
d7a56538e8ffc65c119a538d752354ec76445369
[ "MIT" ]
null
null
null
wepay/__init__.py
kevinjqiu/Python-SDK
d7a56538e8ffc65c119a538d752354ec76445369
[ "MIT" ]
null
null
null
from wepay.api import WePay # Major, minor, revision VERSION = (0, 3, 0)
14.8
27
0.689189
12
74
4.25
0.833333
0
0
0
0
0
0
0
0
0
0
0.05
0.189189
74
4
28
18.5
0.8
0.297297
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
0
1
0
0
0
0
3
2a3d72520c37b8ddce28c07df25c8fc779e1fd90
61
py
Python
netbox_proxbox/proxbox_api/updates/__init__.py
MesoSource/netbox-proxbox
7af9ea7f6bed5302260181033fc12d56a70b35fc
[ "Apache-2.0" ]
41
2021-05-04T17:16:03.000Z
2022-03-18T14:11:58.000Z
netbox_proxbox/proxbox_api/updates/__init__.py
MesoSource/netbox-proxbox
7af9ea7f6bed5302260181033fc12d56a70b35fc
[ "Apache-2.0" ]
15
2021-05-05T00:06:08.000Z
2022-03-31T16:43:03.000Z
netbox_proxbox/proxbox_api/updates/__init__.py
MesoSource/netbox-proxbox
7af9ea7f6bed5302260181033fc12d56a70b35fc
[ "Apache-2.0" ]
13
2021-05-04T12:50:54.000Z
2022-03-22T13:04:28.000Z
from . import ( node, virtual_machine, extras, )
10.166667
20
0.57377
6
61
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.327869
61
5
21
12.2
0.829268
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
0
0
0
0
0
3
2a4b74aa54ad0b267f0818b10a5bf59b52dec872
490
py
Python
2014-1-bcc-ip-L3-DanilloMoraesLimadosSantos/E14.py
DanilloMLS/lista_de_exercicios
4eb9ecfafec6804472218c9020d2a3715760a5a5
[ "MIT" ]
null
null
null
2014-1-bcc-ip-L3-DanilloMoraesLimadosSantos/E14.py
DanilloMLS/lista_de_exercicios
4eb9ecfafec6804472218c9020d2a3715760a5a5
[ "MIT" ]
null
null
null
2014-1-bcc-ip-L3-DanilloMoraesLimadosSantos/E14.py
DanilloMLS/lista_de_exercicios
4eb9ecfafec6804472218c9020d2a3715760a5a5
[ "MIT" ]
null
null
null
frase = raw_input("Digite uma frase: ") traduz = [['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','v','x','y','z'], ['4','8','[','|)','3','|=','6','#','1','_/','|<','|_','//.','//','0','|^','9','|2','5','7','(_)','V','vv','><','`/','2']] frase_traduzida="" for...
37.692308
131
0.4
74
490
2.540541
0.689189
0.297872
0
0
0
0
0
0
0
0
0
0.033735
0.153061
490
12
132
40.833333
0.419277
0
0
0
0
0
0.179916
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
3
2a5e73f296ea366abc2b5c827ca25f7ee414d453
3,712
py
Python
app/models.py
waweru12/Pitch-project
23f3b888728f23c81c1b0c47acf790201e62ded8
[ "Unlicense" ]
null
null
null
app/models.py
waweru12/Pitch-project
23f3b888728f23c81c1b0c47acf790201e62ded8
[ "Unlicense" ]
null
null
null
app/models.py
waweru12/Pitch-project
23f3b888728f23c81c1b0c47acf790201e62ded8
[ "Unlicense" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from . import login_manager from datetime import datetime @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin,db.Model): __...
27.909774
81
0.663793
481
3,712
4.950104
0.205821
0.087358
0.109198
0.065519
0.409912
0.346073
0.320874
0.294834
0.239395
0.172197
0
0.008183
0.20986
3,712
133
82
27.909774
0.803614
0.043912
0
0.253012
1
0
0.066439
0
0
0
0
0
0
1
0.144578
false
0.096386
0.060241
0.036145
0.771084
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
1
0
0
1
0
0
3
2a6e88e3beb2f8731e7d4e5bd07dfcd35a54d142
402
py
Python
src/zhinst/toolkit/control/drivers/base/__init__.py
abdurakhimov/zhinst-toolkit
a09a58bd0bfb473800136306989691329e77e90f
[ "MIT" ]
14
2020-07-09T09:14:39.000Z
2022-03-23T05:15:40.000Z
src/zhinst/toolkit/control/drivers/base/__init__.py
abdurakhimov/zhinst-toolkit
a09a58bd0bfb473800136306989691329e77e90f
[ "MIT" ]
104
2020-08-07T09:38:40.000Z
2022-03-29T11:42:32.000Z
src/zhinst/toolkit/control/drivers/base/__init__.py
abdurakhimov/zhinst-toolkit
a09a58bd0bfb473800136306989691329e77e90f
[ "MIT" ]
16
2020-07-09T09:17:36.000Z
2022-01-18T14:16:08.000Z
from .awg import AWGCore from .scope import Scope from .shf_qachannel import SHFQAChannel from .shf_generator import SHFGenerator from .shf_readout import SHFReadout from .shf_integration import SHFIntegration from .shf_scope import SHFScope from .shf_sweeper import SHFSweeper from .daq import DAQModule from .sweeper i...
30.923077
43
0.850746
54
402
6.222222
0.444444
0.125
0
0
0
0
0
0
0
0
0
0
0.119403
402
12
44
33.5
0.949153
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
aa532cd2529e732f6c191ee13d7b6a0896873cd4
454
py
Python
pythonwarrior/abilities/pivot.py
kuvaszkah/python_warrior
2e95285dd628832a916510345fd2b2b8232adcec
[ "MIT" ]
46
2015-02-02T19:32:05.000Z
2022-03-16T16:24:14.000Z
pythonwarrior/abilities/pivot.py
kuvaszkah/python_warrior
2e95285dd628832a916510345fd2b2b8232adcec
[ "MIT" ]
5
2015-07-06T15:26:43.000Z
2020-04-21T08:12:04.000Z
pythonwarrior/abilities/pivot.py
kuvaszkah/python_warrior
2e95285dd628832a916510345fd2b2b8232adcec
[ "MIT" ]
10
2015-02-10T02:56:22.000Z
2021-05-15T22:37:38.000Z
from pythonwarrior.abilities.base import AbilityBase class Pivot(AbilityBase): ROTATION_DIRECTIONS = ['forward', 'right', 'backward', 'left'] def description(self): return "Rotate 'left', 'right', or 'backward' (default)" def perform(self, direction='backward'): self.verify_direction(dir...
32.428571
77
0.693833
49
454
6.326531
0.612245
0.116129
0.109677
0
0
0
0
0
0
0
0
0
0.171806
454
13
78
34.923077
0.824468
0
0
0
0
0
0.193833
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.666667
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
1
1
0
0
3
aa70626f7188463ac8a7ebc68fae26353dbfd1ca
11,481
py
Python
testscripts/RDKB/component/TAD/TS_TAD_SetFanMaxOverride.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
testscripts/RDKB/component/TAD/TS_TAD_SetFanMaxOverride.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
testscripts/RDKB/component/TAD/TS_TAD_SetFanMaxOverride.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2020 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use th...
46.670732
149
0.642975
1,397
11,481
5.228346
0.219757
0.034502
0.03724
0.046002
0.488089
0.483023
0.479737
0.468373
0.459748
0.426205
0
0.010505
0.237174
11,481
245
150
46.861224
0.823476
0.085533
0
0.72
0
0.008
0.456806
0.057545
0
0
0
0
0
0
null
null
0
0.032
null
null
0.504
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
1
0
0
0
0
0
0
1
0
3
aa7b0d47e54ff3b02364e96265b115ad72fab49b
269
py
Python
src/fetch/comma_separated_values.py
adityabharti/fawkes
c1b298ea1f4b96c208e12448ddefe44259bc2316
[ "MIT" ]
null
null
null
src/fetch/comma_separated_values.py
adityabharti/fawkes
c1b298ea1f4b96c208e12448ddefe44259bc2316
[ "MIT" ]
null
null
null
src/fetch/comma_separated_values.py
adityabharti/fawkes
c1b298ea1f4b96c208e12448ddefe44259bc2316
[ "MIT" ]
null
null
null
from shutil import copyfile import src.utils.utils as utils import src.constants as constants def fetch_csv(review_channel): """ Reads a CSV file and returns the string """ with open (review_channel.file_name) as file: return file.read() return ""
26.9
51
0.72119
40
269
4.75
0.625
0.094737
0
0
0
0
0
0
0
0
0
0
0.200743
269
9
52
29.888889
0.883721
0.144981
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
aa7ee5e490f138157aafff9a45ce5644f72ccbfe
1,540
py
Python
pyplot_eps/dft.py
marvinlenk/subsystem_entropy_epsplots
77de6a8e6c196abf745cc15c4f05fd0c177bd54b
[ "BSD-2-Clause" ]
null
null
null
pyplot_eps/dft.py
marvinlenk/subsystem_entropy_epsplots
77de6a8e6c196abf745cc15c4f05fd0c177bd54b
[ "BSD-2-Clause" ]
null
null
null
pyplot_eps/dft.py
marvinlenk/subsystem_entropy_epsplots
77de6a8e6c196abf745cc15c4f05fd0c177bd54b
[ "BSD-2-Clause" ]
null
null
null
import numpy as np def dft_factor(k, n, n_tot): return np.exp(2j * np.pi * k * n / n_tot) def dft_matrix(n_tot): ret_mat = np.zeros((n_tot, n_tot), dtype=np.complex128) for k in range(0, n_tot): for n in range(0, n_tot): ret_mat[k, n] = dft_factor(k, n, n_tot) return ret_mat de...
33.478261
109
0.637662
275
1,540
3.327273
0.189091
0.104918
0.078689
0.02623
0.605464
0.559563
0.559563
0.507104
0.279781
0.225137
0
0.028854
0.212338
1,540
45
110
34.222222
0.725474
0.027273
0
0.275862
0
0
0
0
0
0
0
0
0
1
0.275862
false
0
0.034483
0.172414
0.586207
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
1
1
0
0
3
aa8892e2960c42d671d07f8d99ec5d213d84e75b
534
py
Python
template_dynamicloader/forms.py
lesspointless/Shakal-NG
eee491af94527228735c2bca7644605effd74b37
[ "MIT" ]
null
null
null
template_dynamicloader/forms.py
lesspointless/Shakal-NG
eee491af94527228735c2bca7644605effd74b37
[ "MIT" ]
null
null
null
template_dynamicloader/forms.py
lesspointless/Shakal-NG
eee491af94527228735c2bca7644605effd74b37
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django import forms class ChangeTemplateForm(forms.Form): template = forms.CharField(required=False) css = forms.CharField(required=False) settings = forms.CharField(required=False) next = forms.CharField(required=False) class ChangeTemplateH...
28.105263
65
0.76779
61
534
6.508197
0.540984
0.141058
0.221662
0.27204
0
0
0
0
0
0
0
0.00211
0.11236
534
18
66
29.666667
0.835443
0.039326
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.75
0
0
0
0
null
0
1
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
1
0
0
3
aaa1cb2695b70c1e1b2a9753537a187f5d8e921b
2,613
py
Python
tests/misc/test_cowsay.py
mrshu/stash
773d15b8fb3853a65c15fe160bf5584c99437170
[ "MIT" ]
1,822
2015-01-10T21:46:31.000Z
2022-03-28T13:07:15.000Z
tests/misc/test_cowsay.py
geoffrey777/stash
2cbe1d494e62af1d98cd4f1fcaca20e894b249d0
[ "MIT" ]
362
2015-01-01T11:06:17.000Z
2022-03-29T14:54:13.000Z
tests/misc/test_cowsay.py
geoffrey777/stash
2cbe1d494e62af1d98cd4f1fcaca20e894b249d0
[ "MIT" ]
261
2015-01-10T21:45:17.000Z
2022-03-28T11:27:21.000Z
# -*- coding: utf-8 -*- from stash.tests.stashtest import StashTestCase class CowsayTests(StashTestCase): """tests for cowsay""" def test_help(self): """test help output""" output = self.run_command("cowsay --help", exitcode=0) self.assertIn("cowsay", output) self.assertIn("--...
39.590909
107
0.615767
293
2,613
5.423208
0.170648
0.169918
0.132159
0.088106
0.787917
0.71932
0.699182
0.660164
0.660164
0.660164
0
0.009425
0.228473
2,613
65
108
40.2
0.77877
0.143896
0
0.553191
0
0
0.149954
0.025524
0
0
0
0
0.659574
1
0.148936
false
0
0.021277
0
0.191489
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
3
aad7bca64ffc42888fa1cfdc7cbda52683791017
1,049
py
Python
test/test_merge.py
mayusGomez/algorithms
10d0597cb83de1d7453000d9b035aa747b7561b4
[ "MIT" ]
null
null
null
test/test_merge.py
mayusGomez/algorithms
10d0597cb83de1d7453000d9b035aa747b7561b4
[ "MIT" ]
null
null
null
test/test_merge.py
mayusGomez/algorithms
10d0597cb83de1d7453000d9b035aa747b7561b4
[ "MIT" ]
null
null
null
from DivAndConq.mergesort import merge def test_1_mergesort(): initial = [3] ordered = [3] sorted = merge(initial) assert sorted == ordered def test_2_mergesort(): initial = [63, 26] ordered = [26, 63] sorted = merge(initial) assert sorted == ordered def test_15_mergesort(): in...
32.78125
120
0.543375
189
1,049
2.973545
0.322751
0.049822
0.128114
0.170819
0.307829
0.307829
0.307829
0.234875
0
0
0
0.344371
0.280267
1,049
31
121
33.83871
0.4
0
0
0.347826
0
0
0
0
0
0
0
0
0.173913
1
0.173913
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
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
3
2aa66543bc59bb5fb5f6e8bc3b9a538154a8eaa6
167
py
Python
Darlington/phase1/python Basic 1/day 3 solution/qtn5.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Darlington/phase1/python Basic 1/day 3 solution/qtn5.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Darlington/phase1/python Basic 1/day 3 solution/qtn5.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#program volume of sphere import math radius = float(input('Enter the radius\n')) volume = float(4*(math.pi*radius**3)/3) print(f'The volume of sphere = {volume}')
18.555556
43
0.700599
28
167
4.178571
0.607143
0.136752
0.239316
0
0
0
0
0
0
0
0
0.020833
0.137725
167
8
44
20.875
0.791667
0.143713
0
0
0
0
0.35
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
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
3
2aa7701fb2c87aff8c4a392f065b6c8dfff340c5
97
py
Python
main.py
jwaclawski-iron/jbw_testrepo
3646cc2b5e62836998efcfcc99cdb3e4befae6fb
[ "MIT" ]
null
null
null
main.py
jwaclawski-iron/jbw_testrepo
3646cc2b5e62836998efcfcc99cdb3e4befae6fb
[ "MIT" ]
null
null
null
main.py
jwaclawski-iron/jbw_testrepo
3646cc2b5e62836998efcfcc99cdb3e4befae6fb
[ "MIT" ]
null
null
null
import ipaddress VAR = ipaddress.ip_address('192.0.2.1') print("This is my IP: {}".format(VAR))
19.4
39
0.690722
17
97
3.882353
0.823529
0
0
0
0
0
0
0
0
0
0
0.069767
0.113402
97
5
40
19.4
0.697674
0
0
0
0
0
0.265306
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
2aa79cd17e2c8441ca7c5ba894640a97227110aa
434
py
Python
jupyter_conf/__init__.py
farisachugthai/dynamic_ipython
7572a01f09998812830379644c45af4df67a3e45
[ "MIT" ]
5
2019-04-03T02:00:13.000Z
2020-11-15T13:06:47.000Z
jupyter_conf/__init__.py
farisachugthai/dynamic_ipython
7572a01f09998812830379644c45af4df67a3e45
[ "MIT" ]
23
2019-09-20T07:36:41.000Z
2021-06-25T15:26:01.000Z
jupyter_conf/__init__.py
farisachugthai/dynamic_ipython
7572a01f09998812830379644c45af4df67a3e45
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from . import ( jupyter_console_config, jupyter_contrib_nbextension_config, jupyter_labextension_config, jupyter_qtconsole_config, jupyter_serverextension_config, ) from .jupyter_notebook_config import NonGraphicalEnvironmentError from . import jupyter_n...
25.529412
65
0.801843
50
434
6.66
0.54
0.156156
0.102102
0.162162
0
0
0
0
0
0
0
0.002632
0.124424
434
16
66
27.125
0.873684
0.096774
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.461538
0
0.461538
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2aaac91c6f7eb82707c3b0bd9fd6a9c578e31472
287
py
Python
api/chirpchirp_api/apis/__init__.py
LAdaKid/chirpchirp
ceb08a3a93f31413cc5f50970d9eb1fef9f81fe8
[ "Apache-2.0" ]
null
null
null
api/chirpchirp_api/apis/__init__.py
LAdaKid/chirpchirp
ceb08a3a93f31413cc5f50970d9eb1fef9f81fe8
[ "Apache-2.0" ]
null
null
null
api/chirpchirp_api/apis/__init__.py
LAdaKid/chirpchirp
ceb08a3a93f31413cc5f50970d9eb1fef9f81fe8
[ "Apache-2.0" ]
null
null
null
from flask import Blueprint from flask_restx import Api # Initialize api with blueprint blueprint = Blueprint("api", __name__, url_prefix="/api/v1") api = Api( blueprint, version="1.0", title="chirpchirp api", description="REST API backend for chirpchirp twitter analytics platform")
31.888889
74
0.773519
39
287
5.538462
0.615385
0.083333
0
0
0
0
0
0
0
0
0
0.011952
0.125436
287
9
74
31.888889
0.848606
0.101045
0
0
0
0
0.330739
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
2ab3dc88cf331ccc2bbcd8e835e7ef65d4a166a4
9,626
py
Python
source/rttov_test/profile-datasets-py/div52_zen30deg/002.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
source/rttov_test/profile-datasets-py/div52_zen30deg/002.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
1
2022-03-12T12:19:59.000Z
2022-03-12T12:19:59.000Z
source/rttov_test/profile-datasets-py/div52_zen30deg/002.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
""" Profile ../profile-datasets-py/div52_zen30deg/002.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div52_zen30deg/002.py" self["Q"] = numpy.array([ 1.60776800e+00, 3.57700700e+00, 5.25388800e+00, 6.60521100e+00, 5.98130300e+00, 6.68717500e+0...
53.776536
92
0.580615
1,493
9,626
3.740121
0.405894
0.015043
0.008596
0.008596
0.031519
0.02346
0.02346
0.005372
0
0
0
0.660341
0.250052
9,626
178
93
54.078652
0.113174
0.010804
0
0
0
0
0.026299
0.004629
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2ae49d03b47ad25e31c5b45e43bf6fee4c396076
247
py
Python
instance/config.py
ay1man4/catalog
afb46679f71f686d37f6922da18a9f1d18cc271f
[ "Unlicense" ]
null
null
null
instance/config.py
ay1man4/catalog
afb46679f71f686d37f6922da18a9f1d18cc271f
[ "Unlicense" ]
1
2021-04-30T20:42:30.000Z
2021-04-30T20:42:30.000Z
instance/config.py
ay1man4/CatalogApp
afb46679f71f686d37f6922da18a9f1d18cc271f
[ "Unlicense" ]
null
null
null
# Production SECRET_KEY = b'\xfe=Hzo\xd1\x9bY_hW1\n\x07\xc6\xff' SQLALCHEMY_DATABASE_URI = 'postgresql://ayman:ayman@localhost:5432/catalog' # Testing the connection # psql –-host=localhost --port=5432 --username=ayman --password --dbname=catalog
41.166667
80
0.769231
36
247
5.194444
0.861111
0
0
0
0
0
0
0
0
0
0
0.061404
0.076923
247
6
80
41.166667
0.754386
0.453441
0
0
0
0
0.621212
0.621212
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2af9ad08689973dc01ff041f1fd48ff90143d1d2
127
py
Python
testapp/wagtail_wordpress_processor/apps.py
nickmoreton/wagtail_wordpress_importer
fbe6b60ae624edac3f42a62ce30af4a0c548b4ed
[ "MIT" ]
null
null
null
testapp/wagtail_wordpress_processor/apps.py
nickmoreton/wagtail_wordpress_importer
fbe6b60ae624edac3f42a62ce30af4a0c548b4ed
[ "MIT" ]
null
null
null
testapp/wagtail_wordpress_processor/apps.py
nickmoreton/wagtail_wordpress_importer
fbe6b60ae624edac3f42a62ce30af4a0c548b4ed
[ "MIT" ]
null
null
null
from django.apps import AppConfig class WagtailWordpressProcessorConfig(AppConfig): name = 'wagtail_wordpress_processor'
21.166667
49
0.826772
12
127
8.583333
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.11811
127
5
50
25.4
0.919643
0
0
0
0
0
0.212598
0.212598
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
0
0
0
3
2afa4a0083922faf027f0c6e40480dd63b7df832
348
py
Python
doc/sphinx-ext.py
synman/groundsdk-android
d232ab1910009d84091929f72dc41490c31a3958
[ "BSD-3-Clause" ]
2
2020-03-30T00:06:43.000Z
2021-07-18T18:07:15.000Z
doc/sphinx-ext.py
synman/groundsdk-android
d232ab1910009d84091929f72dc41490c31a3958
[ "BSD-3-Clause" ]
null
null
null
doc/sphinx-ext.py
synman/groundsdk-android
d232ab1910009d84091929f72dc41490c31a3958
[ "BSD-3-Clause" ]
null
null
null
def _setup_codeblock_substitutions(app): for ext in [ 'sphinx-prompt', 'sphinx_substitution_extensions', ]: app.setup_extension(ext) # list of interpretable substitutions app.config.substitutions = [ ('|version|', app.config.version), ] def setup(app): _setup_co...
21.75
42
0.655172
35
348
6.257143
0.514286
0.219178
0.246575
0.273973
0
0
0
0
0
0
0
0
0.238506
348
15
43
23.2
0.826415
0.100575
0
0
0
0
0.167742
0.096774
0
0
0
0
0
1
0.181818
false
0
0
0
0.181818
0
0
0
0
null
1
1
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
3
2afc0571a0f82b1696a35a38efc1634e6ff026dd
368
py
Python
app/preprocessor/mixins/comparebydict.py
Wordseer/wordseer
a45102c1848c93360d3815187783756dc5e16156
[ "Unlicense" ]
38
2015-02-26T02:21:04.000Z
2022-02-03T16:29:00.000Z
app/preprocessor/mixins/comparebydict.py
Wordseer/wordseer
a45102c1848c93360d3815187783756dc5e16156
[ "Unlicense" ]
106
2015-03-06T20:23:32.000Z
2016-10-04T21:46:51.000Z
app/preprocessor/mixins/comparebydict.py
Wordseer/wordseer
a45102c1848c93360d3815187783756dc5e16156
[ "Unlicense" ]
18
2015-08-17T02:29:57.000Z
2022-02-03T16:29:30.000Z
""" A mixin for classes all compared the same way. """ class CompareByDict(object): """A mixin for classes that should be compared by their attribute/value pairs. Useful for the Document classes. """ def __eq__(self, other): return self.__dict__ == other.__dict__ def __neq__(self, other):...
24.533333
75
0.67663
48
368
4.6875
0.604167
0.053333
0.08
0.142222
0.284444
0.284444
0.284444
0
0
0
0
0
0.228261
368
14
76
26.285714
0.792254
0.421196
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.4
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
1
0
0
0
1
1
0
0
3
630ec2d3aaee56eddb28b66bbca695166fb12004
550
py
Python
tests/conftest.py
tobiasraabe/otree_virtual_machine_manager
72c2e384f599e400720cad14d0cd28d515214563
[ "MIT" ]
2
2017-03-22T05:38:10.000Z
2017-10-17T13:15:35.000Z
tests/conftest.py
tobiasraabe/otree_virtual_machine_manager
72c2e384f599e400720cad14d0cd28d515214563
[ "MIT" ]
53
2017-01-22T09:39:03.000Z
2017-10-20T08:13:43.000Z
tests/conftest.py
tobiasraabe/otree_virtual_machine_manager
72c2e384f599e400720cad14d0cd28d515214563
[ "MIT" ]
null
null
null
"""This is the configuration file for the tests.""" import os # Environmental variables os.environ['OVMM_PSQL_CONN'] = ( "{'dbname': 'postgres', 'user': 'postgres', 'host': 'localhost'}") os.environ['OVMM_PSQL_TABLE'] = 'user_table' os.environ['OVMM_DAPHNE_RANGE'] = str([i for i in range(8001, 8021)]) os.environ[...
36.666667
70
0.687273
88
550
4.125
0.454545
0.173554
0.250689
0.132231
0.220386
0.220386
0.220386
0
0
0
0
0.057971
0.121818
550
14
71
39.285714
0.693582
0.127273
0
0
0
0
0.390295
0
0
0
0
0
0
1
0
true
0.111111
0.111111
0
0.111111
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
6314c8db2d935485a96a9e71c80dd50f17b7386f
96
py
Python
2020/examples-in-class-2020-10-08/string_indexing_reverse2.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2021-02-04T16:59:11.000Z
2021-02-04T16:59:11.000Z
2020/examples-in-class-2020-10-08/string_indexing_reverse2.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
null
null
null
2020/examples-in-class-2020-10-08/string_indexing_reverse2.py
ati-ozgur/course-python
38237d120043c07230658b56dc3aeb01c3364933
[ "Apache-2.0" ]
1
2019-10-30T14:37:48.000Z
2019-10-30T14:37:48.000Z
uni = "Jacobs" #012345 #654321 Negative reverse_uni = uni[::-1] print(reverse_uni)
16
23
0.625
12
96
4.833333
0.666667
0.344828
0
0
0
0
0
0
0
0
0
0.178082
0.239583
96
6
24
16
0.616438
0.21875
0
0
0
0
0.082192
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
3
631f207deee553bba5cca93376c3e2e5b230b66d
183
py
Python
src/sim2x/typing.py
trhallam/sim2x
7304abdb4e38049425ef58bc73047d9553612efa
[ "MIT" ]
null
null
null
src/sim2x/typing.py
trhallam/sim2x
7304abdb4e38049425ef58bc73047d9553612efa
[ "MIT" ]
null
null
null
src/sim2x/typing.py
trhallam/sim2x
7304abdb4e38049425ef58bc73047d9553612efa
[ "MIT" ]
null
null
null
from typing import Union, Dict from numpy import ndarray import pathlib NDArrayOrFloat = Union[ndarray, float] NDArrayOrInt = Union[ndarray, int] Pathlike = Union[str, pathlib.Path]
22.875
38
0.79235
24
183
6.041667
0.625
0.165517
0
0
0
0
0
0
0
0
0
0
0.131148
183
7
39
26.142857
0.91195
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
0
1
0
0
0
0
3
6322b6df68200a411d98ffc3568cedf9dd0133df
19,913
py
Python
common/xrd-ui-tests-qautomate/tests/xroad_keys_and_certs.py
ria-ee/XTM
6103f3f5bbba387b8b59b050c0c4f1fb2180fc37
[ "MIT" ]
3
2018-03-15T14:22:50.000Z
2021-11-08T10:30:35.000Z
common/xrd-ui-tests-qautomate/tests/xroad_keys_and_certs.py
ria-ee/XTM
6103f3f5bbba387b8b59b050c0c4f1fb2180fc37
[ "MIT" ]
11
2017-04-06T09:25:41.000Z
2018-06-04T09:08:48.000Z
common/xrd-ui-tests-qautomate/tests/xroad_keys_and_certs.py
ria-ee/XTM
6103f3f5bbba387b8b59b050c0c4f1fb2180fc37
[ "MIT" ]
20
2017-03-14T07:21:58.000Z
2019-05-21T09:26:30.000Z
# -*- coding: utf-8 -*- from variables import strings from webframework import TESTDATA from webframework.extension.base.setupTest import SetupTest from webframework.extension.parsers.parameter_parser import get_all_parameters from webframework.extension.util.common_utils import * from time import sleep from common_lib...
57.221264
179
0.73339
2,838
19,913
4.646582
0.070825
0.066884
0.070979
0.049291
0.853795
0.780541
0.70706
0.66831
0.62554
0.569121
0
0.010522
0.1839
19,913
347
180
57.386167
0.800935
0.438307
0
0.261628
0
0
0.025215
0.010262
0
0
0
0
0
1
0.046512
false
0.011628
0.238372
0
0.459302
0.011628
0
0
0
null
0
0
0
1
1
1
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
3
6323d917d6ee3484b8f32ff88fe8f900b7fc309a
286
py
Python
bot/settings/utils.py
hqrrylyu/ob-eshop-telegram-bot
201547cbe309b7302fc2f4c94128d4621064f967
[ "MIT" ]
null
null
null
bot/settings/utils.py
hqrrylyu/ob-eshop-telegram-bot
201547cbe309b7302fc2f4c94128d4621064f967
[ "MIT" ]
6
2019-10-04T14:00:06.000Z
2019-11-13T18:53:55.000Z
bot/settings/utils.py
hqrrylyu/ob-eshop-telegram-bot
201547cbe309b7302fc2f4c94128d4621064f967
[ "MIT" ]
null
null
null
from typing import NamedTuple, Optional, Tuple class FilterSettings(NamedTuple): title: str label_fields: Tuple[str] api_endpoint: Optional[str] = None depends_on: Optional[str] = None query_name: Optional[str] = None choices_keyboard_width: Optional[int] = 4
26
46
0.723776
36
286
5.583333
0.666667
0.164179
0.223881
0
0
0
0
0
0
0
0
0.00431
0.188811
286
10
47
28.6
0.862069
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
2d4c3970b10d3886dae7e71d2e128c8f2cf61ec3
78
py
Python
.history/ClassFiles/PythonModulesPackages/DirFunction_20210107121443.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/PythonModulesPackages/DirFunction_20210107121443.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
.history/ClassFiles/PythonModulesPackages/DirFunction_20210107121443.py
minefarmer/Comprehensive-Python
f97b9b83ec328fc4e4815607e6a65de90bb8de66
[ "Unlicense" ]
null
null
null
""" Python dir() function This is a build """
7.090909
46
0.371795
7
78
4.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.525641
78
11
47
7.090909
0.783784
0
0
null
0
null
0
0
null
0
0
0
null
0
null
null
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2d6fd1425307bba82b71cfe812c7cd73311a10d9
639
py
Python
lake/attributes/range_group.py
StanfordAHA/Lake
34df001db107e1a0824b7fdb05b9f2145bf49a3e
[ "BSD-3-Clause" ]
11
2019-10-14T02:05:38.000Z
2022-03-10T14:10:22.000Z
lake/attributes/range_group.py
StanfordAHA/Lake
34df001db107e1a0824b7fdb05b9f2145bf49a3e
[ "BSD-3-Clause" ]
29
2019-09-02T05:49:40.000Z
2022-02-26T00:57:54.000Z
lake/attributes/range_group.py
StanfordAHA/Lake
34df001db107e1a0824b7fdb05b9f2145bf49a3e
[ "BSD-3-Clause" ]
1
2021-04-16T20:26:13.000Z
2021-04-16T20:26:13.000Z
import kratos as kts from enum import Enum class RangeGroupAttr(kts.Attribute): def __init__(self, group_num, group_name, doc_string=""): super().__init__() self.value = "range_group" self.group_num = group_num self.group_name = gr...
23.666667
41
0.622848
76
639
4.881579
0.328947
0.121294
0.097035
0.091644
0
0
0
0
0
0
0
0
0.305164
639
26
42
24.576923
0.835586
0
0
0
0
0
0.017214
0
0
0
0
0
0
1
0.25
false
0
0.1
0.15
0.55
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
1
1
0
0
3
2d88e448b1dc0fc3779d574aa528899ab6955ff2
7,365
py
Python
src/sima/simo/soilpenetration.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/soilpenetration.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/soilpenetration.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# This an autogenerated file # # Generated with SoilPenetration from typing import Dict,Sequence,List from dmt.entity import Entity from dmt.blueprint import Blueprint from .blueprints.soilpenetration import SoilPenetrationBlueprint from typing import Dict from sima.sima.moao import MOAO from sima.sima.scriptablevalue...
29.939024
243
0.635709
769
7,365
5.979194
0.161248
0.04067
0.055676
0.029578
0.222923
0.19639
0.168117
0.168117
0.148978
0.125489
0
0.005887
0.261914
7,365
245
244
30.061224
0.839956
0.266938
0
0.166667
1
0
0.015538
0
0
0
0
0
0
1
0.246377
false
0
0.130435
0
0.507246
0.028986
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
1
0
0
0
0
1
0
0
3
2da0d86770442cd5ec5364acf94a1e70615c2931
348
py
Python
tests/executors/encoders/nlp/test_flair.py
xubiuit/jina
4ab91693c2d51a35eca3cf6c187034e0568b0ac9
[ "Apache-2.0" ]
null
null
null
tests/executors/encoders/nlp/test_flair.py
xubiuit/jina
4ab91693c2d51a35eca3cf6c187034e0568b0ac9
[ "Apache-2.0" ]
null
null
null
tests/executors/encoders/nlp/test_flair.py
xubiuit/jina
4ab91693c2d51a35eca3cf6c187034e0568b0ac9
[ "Apache-2.0" ]
null
null
null
import unittest from jina.executors.encoders.nlp.flair import FlairTextEncoder from tests.executors.encoders.nlp import NlpTestCase class MyTestCase(NlpTestCase): def _get_encoder(self, metas): return FlairTextEncoder(embeddings=('word:glove',), pooling_strategy='mean', metas=metas) if __name__ == '__m...
24.857143
97
0.764368
40
348
6.375
0.7
0.133333
0.156863
0
0
0
0
0
0
0
0
0
0.12931
348
13
98
26.769231
0.841584
0
0
0
0
0
0.063218
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
2db82ce906b1d633d1b5dbfea980d6b22ac3cdad
264
py
Python
unittests/test_cli/test_methods/test_get_method.py
ga4gh/ga4gh-drs-client
07fd7c79d318bfb55de663f2def623d1c6a8d6ac
[ "MIT" ]
4
2019-10-21T13:56:10.000Z
2021-04-25T23:31:57.000Z
unittests/test_cli/test_methods/test_get_method.py
ga4gh/ga4gh-drs-client
07fd7c79d318bfb55de663f2def623d1c6a8d6ac
[ "MIT" ]
1
2021-06-02T00:21:25.000Z
2021-06-02T00:21:25.000Z
unittests/test_cli/test_methods/test_get_method.py
ga4gh/ga4gh-drs-client
07fd7c79d318bfb55de663f2def623d1c6a8d6ac
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Module unittests.test_parsing.test_get.py Unit tests for get cli parsing """ from click.testing import CliRunner from ga4gh.drs.cli.methods.get import get from unittests.cli_kwargs import CLI_KWARGS_0 def test_get_parsing(): pass
20.307692
45
0.761364
42
264
4.619048
0.595238
0.072165
0
0
0
0
0
0
0
0
0
0.013158
0.136364
264
12
46
22
0.837719
0.359848
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0.2
0.6
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
2dc0d8196c20d653ef371763cb31c8c956de27b1
240
py
Python
withoutrestm/testApp/admin.py
Ajitkumar1995/Django_REST_API
e7e3b0912602f4478415337fda4a851171e967ee
[ "MIT" ]
null
null
null
withoutrestm/testApp/admin.py
Ajitkumar1995/Django_REST_API
e7e3b0912602f4478415337fda4a851171e967ee
[ "MIT" ]
null
null
null
withoutrestm/testApp/admin.py
Ajitkumar1995/Django_REST_API
e7e3b0912602f4478415337fda4a851171e967ee
[ "MIT" ]
null
null
null
from django.contrib import admin from testApp.models import Employee # Register your models here. class EmployeeAdmin(admin.ModelAdmin): list_display=['id','eno','ename','esal','eaddr'] admin.site.register(Employee,EmployeeAdmin)
34.285714
53
0.7625
30
240
6.066667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.1125
240
7
54
34.285714
0.85446
0.108333
0
0
0
0
0.091787
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2dec7b95facaceee3ba91c01e0a4fee238c026d8
151
py
Python
chat/routing.py
iesteban/bitcoin_bazaar_backend
2aa7c61d8727dae3a9be4b19c4b2aa49ec7ecaa0
[ "MIT" ]
null
null
null
chat/routing.py
iesteban/bitcoin_bazaar_backend
2aa7c61d8727dae3a9be4b19c4b2aa49ec7ecaa0
[ "MIT" ]
null
null
null
chat/routing.py
iesteban/bitcoin_bazaar_backend
2aa7c61d8727dae3a9be4b19c4b2aa49ec7ecaa0
[ "MIT" ]
null
null
null
from channels.routing import route from .consumers import ws_message channel_routing = [ route("websocket.receive", ws_message, path=r"^/chat/$"), ]
21.571429
58
0.754967
20
151
5.55
0.7
0.162162
0
0
0
0
0
0
0
0
0
0
0.112583
151
6
59
25.166667
0.828358
0
0
0
0
0
0.165563
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
930e00097928ed2b37fcd659e4c6ff5f06d7b0a6
21
py
Python
petrarch2/test_word2vec.py
openeventdata/political-actor-recommendation
da3246bb5ba9068c01831a3d3d1d61fa75206641
[ "MIT" ]
6
2016-11-29T18:03:04.000Z
2020-11-20T02:05:25.000Z
petrarch2/test_word2vec.py
openeventdata/political-actor-recommendation
da3246bb5ba9068c01831a3d3d1d61fa75206641
[ "MIT" ]
2
2016-10-23T15:52:46.000Z
2017-10-13T04:35:29.000Z
petrarch2/test_word2vec.py
openeventdata/political-actor-recommendation
da3246bb5ba9068c01831a3d3d1d61fa75206641
[ "MIT" ]
null
null
null
__author__ = 'root'
7
19
0.666667
2
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
2
20
10.5
0.588235
0
0
0
0
0
0.2
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
932f1f1d1836864ea57c72957057935388a84f93
1,279
py
Python
dome9/exceptions.py
Dome9/dome9-sdk-python
8ddf39a5291eb005f284654091eee9c4c65c1fa1
[ "BSD-3-Clause" ]
null
null
null
dome9/exceptions.py
Dome9/dome9-sdk-python
8ddf39a5291eb005f284654091eee9c4c65c1fa1
[ "BSD-3-Clause" ]
2
2020-08-06T11:23:20.000Z
2022-03-25T23:20:03.000Z
dome9/exceptions.py
Dome9/dome9-sdk-python
8ddf39a5291eb005f284654091eee9c4c65c1fa1
[ "BSD-3-Clause" ]
2
2020-11-25T10:08:12.000Z
2021-12-09T14:54:48.000Z
from typing import Optional class Dome9APIException(Exception): def __init__(self, message: str, code: Optional[int] = None, content: Optional[str] = None): """d9 custom exception. Args: message (str): custom exception message. code (int): custom exception code content (str): custom exception content....
16.828947
93
0.790461
115
1,279
8.686957
0.321739
0.182182
0.234234
0
0
0
0
0
0
0
0
0.003594
0.129789
1,279
75
94
17.053333
0.89398
0.130571
0
0.388889
0
0
0.037634
0
0
0
0
0
0
1
0.055556
false
0.388889
0.027778
0.027778
0.527778
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
9334bb45a7c7d7e707592160e526da377cb7d00e
594
py
Python
example/urls.py
jonobrien/EVE_Monitor
24f978cb7de774b87de482594d682c112afd072c
[ "MIT" ]
3
2016-04-30T06:55:07.000Z
2017-10-22T13:43:19.000Z
example/urls.py
jonobrien/EVE_Monitor
24f978cb7de774b87de482594d682c112afd072c
[ "MIT" ]
5
2016-06-28T20:15:18.000Z
2019-03-12T17:53:19.000Z
example/urls.py
jonobrien/EVE_Monitor
24f978cb7de774b87de482594d682c112afd072c
[ "MIT" ]
1
2017-08-04T17:23:30.000Z
2017-08-04T17:23:30.000Z
from django.conf.urls import patterns, include, url from django.contrib.auth.decorators import login_required from example.crest_app.views.home import HomeView from example.crest_app.views.home import login from example.crest_app.views.home import logout from example.crest_app.views.home import login import social.app...
37.125
77
0.760943
87
594
5.057471
0.367816
0.1
0.145455
0.172727
0.331818
0.331818
0.331818
0.177273
0
0
0
0
0.107744
594
15
78
39.6
0.830189
0
0
0.153846
0
0
0.077441
0
0
0
0
0
0
1
0
false
0
0.538462
0
0.538462
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
93355a16854d528be34f1fb17c26cb92fa1e34ea
719
py
Python
fewshot/formatters/bao.py
armancohan/flex
2a005fd18f522d2667421f170568df1164a73c3a
[ "Apache-2.0" ]
63
2021-07-01T23:40:55.000Z
2022-03-15T21:56:57.000Z
fewshot/formatters/bao.py
armancohan/flex
2a005fd18f522d2667421f170568df1164a73c3a
[ "Apache-2.0" ]
1
2022-03-04T11:15:55.000Z
2022-03-28T09:33:54.000Z
fewshot/formatters/bao.py
armancohan/flex
2a005fd18f522d2667421f170568df1164a73c3a
[ "Apache-2.0" ]
3
2021-07-31T05:06:14.000Z
2022-02-28T12:45:06.000Z
from typing import List from .utils import annotate_spans def _get_annotated_tokens(d: dict) -> List[str]: tokens = d['tokens'] for head_tokens in d['head']['indices']: tokens = annotate_spans(tokens, head_tokens, delimiter='*') for tail_tokens in d['tail']['indices']: tokens = annotate_sp...
19.432432
67
0.621697
95
719
4.568421
0.336842
0.080645
0.126728
0.16129
0.304147
0.087558
0
0
0
0
0
0
0.196106
719
36
68
19.972222
0.750865
0
0
0.083333
0
0
0.13491
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.208333
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
9352eef5a4c7f70eef606cbe803ce2d6dfc6eb11
9,872
py
Python
tests/tests.py
blackb0x3/Edward
fae35c2bad13a19c7bfb2f0d5d9810762169a086
[ "MIT" ]
2
2019-01-08T00:32:10.000Z
2019-06-24T14:29:24.000Z
tests/tests.py
lukebarker3/Edward
fae35c2bad13a19c7bfb2f0d5d9810762169a086
[ "MIT" ]
5
2021-03-09T01:31:15.000Z
2022-02-17T20:41:27.000Z
tests/tests.py
lukebarker3/Edward
fae35c2bad13a19c7bfb2f0d5d9810762169a086
[ "MIT" ]
null
null
null
import requests, unittest from http import HTTPStatus BASE_URL = "http://localhost:5000" # when writing tests, assert the structure of the responses, rather than actual data class AlgorithmListControllerTests(unittest.TestCase): def test_get(self): # given no parameters # when performing a GET t...
43.10917
111
0.684968
1,239
9,872
5.215496
0.11138
0.109564
0.146085
0.081244
0.789848
0.753946
0.707057
0.679975
0.668214
0.635871
0
0.008167
0.218598
9,872
228
112
43.298246
0.829531
0.254457
0
0.537815
0
0
0.128184
0.086552
0
0
0
0
0.327731
1
0.151261
false
0.02521
0.016807
0
0.193277
0
0
0
0
null
0
0
0
0
1
1
0
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
3
fa746e924988360220dbd118f44c1b0eb92ec60a
2,623
py
Python
tests/Auto.py
perfidia/regexpgen
a7139219b69127c488efffb588e7ef4177a8ec89
[ "MIT" ]
2
2017-02-02T06:04:28.000Z
2019-04-23T07:14:58.000Z
tests/Auto.py
perfidia/regexpgen
a7139219b69127c488efffb588e7ef4177a8ec89
[ "MIT" ]
null
null
null
tests/Auto.py
perfidia/regexpgen
a7139219b69127c488efffb588e7ef4177a8ec89
[ "MIT" ]
null
null
null
''' Created on Mar 16, 2012 @authors: Joanna Binczewska, Dawid Kowalski ''' import unittest import regexpgen import re import random import math class Test(unittest.TestCase): def testForInteger(self): regexp = regexpgen.auto("%0d") self.assertTrue(re.match(regexp, "-2345")) ...
34.064935
81
0.596645
317
2,623
4.911672
0.233438
0.1079
0.200385
0.16185
0.685292
0.555556
0.423892
0.382787
0.319846
0.188825
0
0.077916
0.231796
2,623
76
82
34.513158
0.694789
0.042699
0
0.12963
0
0
0.086527
0
0
0
0
0
0.537037
1
0.092593
false
0
0.092593
0
0.203704
0
0
0
0
null
0
1
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
3
fa7ace7e6e4b71ac3866f50b1c10059aea45f65a
131
py
Python
programming_skills/1.py
MiracleWong/aming_python
88a8199a0a5e0db2c555e12c5add5dc4e230bd09
[ "MIT" ]
null
null
null
programming_skills/1.py
MiracleWong/aming_python
88a8199a0a5e0db2c555e12c5add5dc4e230bd09
[ "MIT" ]
null
null
null
programming_skills/1.py
MiracleWong/aming_python
88a8199a0a5e0db2c555e12c5add5dc4e230bd09
[ "MIT" ]
null
null
null
#!/usr/bin/python #-*- coding:utf-8 -*- import sys input = sys.stdin data = input.read() sys.stdout.write (data + "\n") print "你好"
16.375
30
0.633588
21
131
3.952381
0.809524
0
0
0
0
0
0
0
0
0
0
0.00885
0.137405
131
8
31
16.375
0.725664
0.274809
0
0
0
0
0.042553
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
1
0
0
0
0
0
0
0
0
3
fa87d5c87619d3eb5c459662f98512239c3e5aaf
191
py
Python
tests/baklava.py
walidsa3d/baklava
98de03bb28f846153b41d4abf801014c5791ff54
[ "MIT" ]
2
2015-12-01T14:07:03.000Z
2016-04-23T22:34:59.000Z
tests/baklava.py
walidsa3d/baklava
98de03bb28f846153b41d4abf801014c5791ff54
[ "MIT" ]
1
2021-08-09T21:02:00.000Z
2021-08-09T21:02:00.000Z
tests/baklava.py
walidsa3d/baklava
98de03bb28f846153b41d4abf801014c5791ff54
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from providers import SearchFactory sf = SearchFactory('strike') for item in sf.search('scorpion', max=8).sortBy('size').get(): print item
21.222222
62
0.675393
27
191
4.777778
0.851852
0
0
0
0
0
0
0
0
0
0
0.012195
0.141361
191
8
63
23.875
0.77439
0.219895
0
0
0
0
0.122449
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
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
1
0
0
0
0
0
0
0
0
3
faaaca2df172f580e47b18611616bb42c43961fd
1,091
py
Python
NAAL-pynq/NAAL_pynq/id_driver.py
neurom-iot/naal
2644cd289c16fec283443f2d33c8f7173f3e455c
[ "MIT" ]
12
2019-03-15T17:21:06.000Z
2021-12-29T07:00:53.000Z
NAAL-pynq/NAAL_pynq/id_driver.py
neurom-iot/naal
2644cd289c16fec283443f2d33c8f7173f3e455c
[ "MIT" ]
1
2019-03-15T16:05:17.000Z
2019-09-06T04:57:04.000Z
NAAL-pynq/NAAL_pynq/id_driver.py
neurom-iot/naal
2644cd289c16fec283443f2d33c8f7173f3e455c
[ "MIT" ]
4
2019-03-15T17:24:56.000Z
2020-05-29T00:42:02.000Z
import os from pynq import Overlay, DefaultIP from utils.paths import lib_path class DNAMemoryMap(DefaultIP): def __init__(self, description): super().__init__(description) bindto = ['ABR:user:zynq_AXI_DNA:1.0'] # found in ip_dict above as 'type' # Creating 'getter' for mmio registers ...
22.265306
73
0.630614
149
1,091
4.416107
0.503356
0.066869
0.085106
0.109422
0.039514
0
0
0
0
0
0
0.038509
0.262145
1,091
48
74
22.729167
0.778882
0.144821
0
0.142857
0
0
0.055016
0.026969
0
0
0.01726
0
0
1
0.214286
false
0
0.107143
0.142857
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
1
0
0
0
1
1
0
0
3
fad2c1cb17bd99e5bd50bb7135b4aa2b94d19490
150
py
Python
weatherworld/weather/urls.py
aniruddha2000/django-weather-app
f15d9a1d75939e6fc6b9cdb114e266563840e9c1
[ "Apache-2.0" ]
null
null
null
weatherworld/weather/urls.py
aniruddha2000/django-weather-app
f15d9a1d75939e6fc6b9cdb114e266563840e9c1
[ "Apache-2.0" ]
4
2019-04-27T19:45:06.000Z
2021-06-10T21:08:49.000Z
weatherworld/weather/urls.py
aniruddha2000/django-weather-app
f15d9a1d75939e6fc6b9cdb114e266563840e9c1
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from .views import * app_name = 'weatherApp' urlpatterns = [ url(r'^$', WeatherIndex.as_view(), name='index'), ]
21.428571
53
0.686667
20
150
5.05
0.8
0
0
0
0
0
0
0
0
0
0
0
0.146667
150
7
54
21.428571
0.789063
0
0
0
0
0
0.112583
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
fafcda9b9e8db991659be10170e357a0a66cbca0
6,939
py
Python
milvus_db/test_build_index.py
Vuong02011996/data_base_test
a57940970ce52a25e10f2262fb94530b1ae2681c
[ "MIT" ]
null
null
null
milvus_db/test_build_index.py
Vuong02011996/data_base_test
a57940970ce52a25e10f2262fb94530b1ae2681c
[ "MIT" ]
null
null
null
milvus_db/test_build_index.py
Vuong02011996/data_base_test
a57940970ce52a25e10f2262fb94530b1ae2681c
[ "MIT" ]
null
null
null
from app.setting import * import pymongo from milvus import Milvus, DataType from pprint import pprint import numpy as np from app.milvus_db import milvus_utils as mv import time # host = '14.241.120.239' # port = '11037' host = "localhost" port = "19530" milvus_client = Milvus(host, port) username = os.getenv("MO...
31.976959
119
0.603257
792
6,939
4.977273
0.164141
0.136986
0.036276
0.038813
0.758245
0.730086
0.702182
0.67377
0.654997
0.620751
0
0.042365
0.268627
6,939
217
120
31.976959
0.734384
0.084594
0
0.598726
0
0
0.138042
0.008989
0
0
0
0
0
1
0.031847
false
0.012739
0.044586
0
0.076433
0.133758
0
0
0
null
0
0
0
0
1
1
0
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
3
4f0b06d3443cb28d0e89cc473702c7510af5c1a1
21
py
Python
autocode/management/commands/__init__.py
lorne-luo/django-autocode
9e90e574212934641f16ea30276410609f5b7318
[ "MIT" ]
null
null
null
autocode/management/commands/__init__.py
lorne-luo/django-autocode
9e90e574212934641f16ea30276410609f5b7318
[ "MIT" ]
null
null
null
autocode/management/commands/__init__.py
lorne-luo/django-autocode
9e90e574212934641f16ea30276410609f5b7318
[ "MIT" ]
null
null
null
__author__ = 'Lorne'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
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
4f0c9039650ece4891fb1b759017a7c76b14871e
281
py
Python
pactsdk/__init__.py
pactfi/pact-py-sdk
139ad7016b852cf971cb3af555a5229b5f373298
[ "MIT" ]
6
2022-02-21T11:58:35.000Z
2022-02-24T08:03:58.000Z
pactsdk/__init__.py
pactfi/pact-py-sdk
139ad7016b852cf971cb3af555a5229b5f373298
[ "MIT" ]
1
2022-02-22T10:46:35.000Z
2022-02-22T11:13:00.000Z
pactsdk/__init__.py
pactfi/pact-py-sdk
139ad7016b852cf971cb3af555a5229b5f373298
[ "MIT" ]
null
null
null
__version__ = "0.1.0" from .asset import Asset # noqa from .client import PactClient # noqa from .exceptions import PactSdkError # noqa from .pool import Pool, PoolState # noqa from .swap import Swap, SwapEffect # noqa from .transaction_group import TransactionGroup # noqa
31.222222
55
0.761566
37
281
5.648649
0.486486
0.191388
0
0
0
0
0
0
0
0
0
0.012876
0.170819
281
8
56
35.125
0.88412
0.103203
0
0
0
0
0.020408
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8787b778e3e5567b90ddf3957db66b68543c6689
371
py
Python
backend/events/tasks.py
picsadotcom/maguire
555549580aa532eb333295bc5ea30adb69c45afa
[ "BSD-3-Clause" ]
2
2018-05-31T20:03:17.000Z
2018-11-14T23:03:14.000Z
backend/events/tasks.py
picsadotcom/maguire
555549580aa532eb333295bc5ea30adb69c45afa
[ "BSD-3-Clause" ]
2
2018-02-13T08:48:49.000Z
2020-04-30T07:47:40.000Z
backend/events/tasks.py
picsadotcom/maguire
555549580aa532eb333295bc5ea30adb69c45afa
[ "BSD-3-Clause" ]
1
2017-11-11T06:02:36.000Z
2017-11-11T06:02:36.000Z
from celery.task import Task from celery.utils.log import get_task_logger class DebitBatchCompleted(Task): """ """ name = "maguire.events.tasks.debit_batch_completed" l = get_task_logger(__name__) def run(self, event_id, **kwargs): # trigger hook return "debit_batch_completed fire...
21.823529
55
0.714286
45
371
5.555556
0.622222
0.12
0.228
0
0
0
0
0
0
0
0
0
0.19407
371
16
56
23.1875
0.83612
0.032345
0
0
0
0
0.199422
0.182081
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.875
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
8788c508ee1e12ff15e3ef62c46edbade862e8e8
973
py
Python
necklace/cuda/ncclwrp.py
lancelee82/necklace
7a7cfbc05284c1a7ae0a923c8b9a3efdd0037579
[ "MIT" ]
1
2022-02-12T15:34:14.000Z
2022-02-12T15:34:14.000Z
necklace/cuda/ncclwrp.py
lancelee82/necklace
7a7cfbc05284c1a7ae0a923c8b9a3efdd0037579
[ "MIT" ]
null
null
null
necklace/cuda/ncclwrp.py
lancelee82/necklace
7a7cfbc05284c1a7ae0a923c8b9a3efdd0037579
[ "MIT" ]
null
null
null
import os import sys import time import numpy as np # TODO: the following environments should be set out of here #os.environ['NUMBAPRO_CUDALIB'] = '/usr/local/cuda/lib64/' #os.environ['NUMBAPRO_NVVM'] = '/usr/local/cuda/nvvm/lib64/libnvvm.so' #os.environ['NUMBAPRO_LIBDEVICE'] = '/usr/local/cuda/nvvm/libdevice/' fro...
27.027778
70
0.735868
154
973
4.519481
0.454545
0.12931
0.068966
0.060345
0.08477
0.060345
0
0
0
0
0
0.015222
0.122302
973
35
71
27.8
0.799766
0.606372
0
0
0
0
0.206522
0.070652
0
0
0
0.028571
0
1
0
true
0
0.666667
0
0.666667
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
1
0
1
0
0
0
0
3
87d4726c7c04133a70cbb19279182a77b358103d
62
py
Python
credentials.py
jsrimr/KoBERT-nsmc
53628dc96c96bff8e9043a0371603a35f0088074
[ "Apache-2.0" ]
null
null
null
credentials.py
jsrimr/KoBERT-nsmc
53628dc96c96bff8e9043a0371603a35f0088074
[ "Apache-2.0" ]
null
null
null
credentials.py
jsrimr/KoBERT-nsmc
53628dc96c96bff8e9043a0371603a35f0088074
[ "Apache-2.0" ]
null
null
null
project=[YOUR_NEPTUNE_PROJECT_NAME] api_token=[YOUR_API_TOKEN]
31
35
0.887097
10
62
4.9
0.6
0.326531
0
0
0
0
0
0
0
0
0
0
0.016129
62
2
36
31
0.803279
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
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
e21251641a6c4c6e88041163803f45913d00417d
1,203
py
Python
PyOpenGL-3.0.2/OpenGL/raw/GL/APPLE/fence.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/APPLE/fence.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/APPLE/fence.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
'''Autogenerated by get_gl_extensions script, do not edit!''' from OpenGL import platform as _p, constants as _cs, arrays from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_APPLE_fence' def _f( function ): return _p.createFunction( function,_p.GL,'GL_APPLE_fence',False) _p.unpack_constants( """GL_DRAW_P...
30.075
71
0.777224
171
1,203
5.181287
0.374269
0.018059
0.063205
0.086907
0.312641
0.306998
0.28781
0.28781
0.176072
0.085779
0
0.005556
0.102244
1,203
39
72
30.846154
0.814815
0.097257
0
0.4
1
0
0.071628
0
0
0
0.011163
0
0
1
0.285714
false
0.228571
0.114286
0.028571
0.457143
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
1
0
1
0
0
0
0
0
3
354f49d5a65d18b883a436e27774850aada8ad98
232
py
Python
python_10_test/employee.py
lexiaoyuan/PythonCrashCourse
9d1c59012d3ae9fdbfc468bbf401f567ce88681b
[ "MIT" ]
null
null
null
python_10_test/employee.py
lexiaoyuan/PythonCrashCourse
9d1c59012d3ae9fdbfc468bbf401f567ce88681b
[ "MIT" ]
null
null
null
python_10_test/employee.py
lexiaoyuan/PythonCrashCourse
9d1c59012d3ae9fdbfc468bbf401f567ce88681b
[ "MIT" ]
null
null
null
class Employee(): def __init__(self, last, first, money): self.last = last self.first = first self.money = money def give_raise(self, raises=5000): self.raises = raises return raises
23.2
43
0.590517
28
232
4.714286
0.464286
0.121212
0
0
0
0
0
0
0
0
0
0.025157
0.314655
232
9
44
25.777778
0.805031
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
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
0
0
0
0
0
0
3
35887d87b8b5f73a7aa30cfb53c1225e8afb931f
111
py
Python
study/w3resource/exercises/python-basic/031 - 060/python-basic - 050.py
gustavomarquezinho/python
e36779aa5c4bfaf88c587f05db5bd447fd41e4a2
[ "MIT" ]
null
null
null
study/w3resource/exercises/python-basic/031 - 060/python-basic - 050.py
gustavomarquezinho/python
e36779aa5c4bfaf88c587f05db5bd447fd41e4a2
[ "MIT" ]
null
null
null
study/w3resource/exercises/python-basic/031 - 060/python-basic - 050.py
gustavomarquezinho/python
e36779aa5c4bfaf88c587f05db5bd447fd41e4a2
[ "MIT" ]
null
null
null
# 050 - Write a Python program to print without newline or space. for i in range(10): print('*', end = '')
27.75
65
0.63964
18
111
3.944444
0.944444
0
0
0
0
0
0
0
0
0
0
0.05814
0.225225
111
4
66
27.75
0.767442
0.567568
0
0
0
0
0.021277
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