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
59acca522bc01e2bd0753d42ed055dc31c6aacbc
1,841
py
Python
sklearn_wrapper.py
mayi140611/utils
8ad4f4e3f7913f0119bc04f84326a8ad01bf65d1
[ "Apache-2.0" ]
1
2018-07-16T03:42:57.000Z
2018-07-16T03:42:57.000Z
sklearn_wrapper.py
mayi140611/utils
8ad4f4e3f7913f0119bc04f84326a8ad01bf65d1
[ "Apache-2.0" ]
null
null
null
sklearn_wrapper.py
mayi140611/utils
8ad4f4e3f7913f0119bc04f84326a8ad01bf65d1
[ "Apache-2.0" ]
1
2020-04-19T11:42:05.000Z
2020-04-19T11:42:05.000Z
#!/usr/bin/python # encoding: utf-8 ''' 数据分析各个阶段的wrapper * 数据探索(包含数据预处理过程) 数据编码、缺失值处理、异常值处理、字段间相关性分析、数值型字段描述性统计、 * 数据探索结果可视化 * 特征工程 * 数据集分拆 * 模型构建 * ''' from sklearn.metrics.pairwise import cosine_similarity from sklearn.metrics.pairwise import pairwise_distances from sklearn.metrics import mean_squared_error from sk...
33.472727
99
0.660511
235
1,841
4.991489
0.361702
0.068201
0.054561
0.068201
0.395567
0.341006
0.262575
0.262575
0.262575
0.262575
0
0.006452
0.24226
1,841
55
100
33.472727
0.834409
0.449756
0
0
0
0
0.025958
0
0
0
0
0
0
1
0.333333
false
0.066667
0.266667
0
0.933333
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
1
0
0
1
0
0
3
59b4de4411e353e2ec6f8bf058861b1ad598a48f
488
py
Python
scraper/scraper.py
Badger-Finance/badger-scraper
4d7e621d39d659d1a7e43079c91d9ce4b450bcf3
[ "MIT" ]
null
null
null
scraper/scraper.py
Badger-Finance/badger-scraper
4d7e621d39d659d1a7e43079c91d9ce4b450bcf3
[ "MIT" ]
null
null
null
scraper/scraper.py
Badger-Finance/badger-scraper
4d7e621d39d659d1a7e43079c91d9ce4b450bcf3
[ "MIT" ]
null
null
null
from scraper.constants import BADGER_APP_COMPARE_URL from scraper.constants import BADGER_APP_URL from scraper.constants import SCRAPE_ENDPOINTS from scraper.content_validator import validate_tags from scraper.webdriver import fetch_data def scrape(): for endpoint in SCRAPE_ENDPOINTS: data = fetch_data(ur...
37.538462
79
0.79918
69
488
5.333333
0.333333
0.149457
0.163043
0.211957
0.396739
0.309783
0
0
0
0
0
0
0.133197
488
12
80
40.666667
0.869976
0
0
0
0
0
0.122951
0.122951
0
0
0
0
0
1
0.1
false
0
0.5
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
0
0
0
1
0
1
0
0
3
59bec170edc717b7b325a3f2fff4a1575b81c754
222
py
Python
Python/_03_Strings/_12_Capitalize!/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
null
null
null
Python/_03_Strings/_12_Capitalize!/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
null
null
null
Python/_03_Strings/_12_Capitalize!/solution.py
avtomato/HackerRank
96f9cf770ac57d782bb05cccc23764a529bb27ae
[ "MIT" ]
2
2019-09-21T16:04:13.000Z
2020-03-25T09:07:47.000Z
def capitalize(string): s = [i.capitalize() for i in string.split(' ')] return ' '.join(s) if __name__ == '__main__': string = input() capitalized_string = capitalize(string) print(capitalized_string)
24.666667
51
0.653153
26
222
5.192308
0.615385
0.237037
0
0
0
0
0
0
0
0
0
0
0.202703
222
8
52
27.75
0.762712
0
0
0
0
0
0.045045
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
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
59cae0ab47e310c0415f7178a231d29f7ec1ae2b
2,950
py
Python
luigi_pipeline/tests/test_seqr_loading_tasks.py
NLSVTN/hail-elasticsearch-pipelines
8b895a2e46a33d347dd2a1024101a6d515027a03
[ "MIT" ]
15
2017-11-22T14:48:04.000Z
2020-10-05T18:22:24.000Z
luigi_pipeline/tests/test_seqr_loading_tasks.py
NLSVTN/hail-elasticsearch-pipelines
8b895a2e46a33d347dd2a1024101a6d515027a03
[ "MIT" ]
94
2020-10-21T17:37:57.000Z
2022-03-29T14:59:46.000Z
luigi_pipeline/tests/test_seqr_loading_tasks.py
NLSVTN/hail-elasticsearch-pipelines
8b895a2e46a33d347dd2a1024101a6d515027a03
[ "MIT" ]
7
2019-01-29T09:08:10.000Z
2020-02-25T16:22:57.000Z
import unittest from unittest.mock import patch from seqr_loading import SeqrVCFToMTTask, SeqrValidationError from tests.data.sample_vep import VEP_DATA, DERIVED_DATA TEST_DATA_MT_1KG = 'tests/data/1kg_30variants.vcf.bgz' class TestSeqrLoadingTasks(unittest.TestCase): def _sample_type_stats_return_value(self, ...
55.660377
127
0.760339
407
2,950
5.105651
0.167076
0.120308
0.180462
0.131376
0.741578
0.73051
0.670356
0.670356
0.670356
0.62897
0
0.015892
0.14678
2,950
52
128
56.730769
0.809694
0.06339
0
0.342857
0
0
0.160377
0.125181
0
0
0
0
0.171429
1
0.2
false
0
0.114286
0.028571
0.371429
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
0
0
0
3
59dfdf28f2c5db4b19c74a08bba1d8cb36525a9f
1,251
py
Python
setup.py
pa0lin082/typeform
baf911490ee4df7407f135bf9f72dfc7520270e9
[ "MIT" ]
null
null
null
setup.py
pa0lin082/typeform
baf911490ee4df7407f135bf9f72dfc7520270e9
[ "MIT" ]
null
null
null
setup.py
pa0lin082/typeform
baf911490ee4df7407f135bf9f72dfc7520270e9
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages with open('README.rst') as fp: long_description = fp.read() setup( name='typeform', version='0.1.2', description='HTTP API client for TypeForm', long_description=long_description, keywords=[ 'type', 'form', 'typeform', ...
31.275
61
0.609912
129
1,251
5.837209
0.542636
0.201859
0.265604
0.172643
0.071713
0
0
0
0
0
0
0.017989
0.244604
1,251
39
62
32.076923
0.778836
0.043965
0
0
0
0
0.514238
0.044389
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
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
59e14989e67a0c913de868789bbc1c5d7afc9878
1,434
py
Python
nets/ogb_molhiv_graphproppred/ginconv.py
yuehaowang/SoGCN
bd65b2d8667791b79d6174a1dd2ac13b7bd50db5
[ "MIT" ]
6
2020-07-05T15:10:39.000Z
2022-03-11T03:06:23.000Z
nets/ogb_molhiv_graphproppred/ginconv.py
yuehaowang/SoGCN
bd65b2d8667791b79d6174a1dd2ac13b7bd50db5
[ "MIT" ]
null
null
null
nets/ogb_molhiv_graphproppred/ginconv.py
yuehaowang/SoGCN
bd65b2d8667791b79d6174a1dd2ac13b7bd50db5
[ "MIT" ]
1
2020-09-16T14:59:05.000Z
2020-09-16T14:59:05.000Z
import torch from torch_geometric.nn import MessagePassing import torch.nn.functional as F from torch_geometric.nn import global_mean_pool, global_add_pool from ogb.graphproppred.mol_encoder import AtomEncoder,BondEncoder # from torch_geometric.nn import GCNConv, SAGEConv, GINConv, GCN2Conv, APPNP, ARMAConv from torch_...
38.756757
164
0.699442
207
1,434
4.623188
0.333333
0.087774
0.047022
0.062696
0.315569
0.171369
0.171369
0.15256
0.089864
0.089864
0
0.006891
0.190377
1,434
36
165
39.833333
0.817399
0.228033
0
0
0
0
0.002791
0
0
0
0
0
0
1
0.190476
false
0.095238
0.333333
0.095238
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
59e988d34a0a320990183b228b78f3a5334b110f
466
py
Python
Zad_Builder/TagFormatConverter.py
Paarzivall/Wzorce-Projektowe
aa4136f140ad02c0fc0de45709b5a01ca42b417f
[ "MIT" ]
null
null
null
Zad_Builder/TagFormatConverter.py
Paarzivall/Wzorce-Projektowe
aa4136f140ad02c0fc0de45709b5a01ca42b417f
[ "MIT" ]
null
null
null
Zad_Builder/TagFormatConverter.py
Paarzivall/Wzorce-Projektowe
aa4136f140ad02c0fc0de45709b5a01ca42b417f
[ "MIT" ]
null
null
null
from HTMLConverter import HTMLConverter import re class TagFormatConverter(HTMLConverter): def ConvertCharacter(self, character): return character def ConvertTag(self, tag): tag = str(tag) finalString = "{" finalString += re.match("<(\w)>(.+?)</(\w)>", tag).group(1)[0] ...
25.888889
70
0.570815
45
466
5.911111
0.466667
0.142857
0.180451
0.218045
0.293233
0.293233
0.293233
0.293233
0
0
0
0.011364
0.244635
466
17
71
27.411765
0.744318
0
0
0
0
0
0.083691
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0.076923
0.538462
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
ab97cd426f24328ee31c4d9e42a9b7c93311431e
3,185
py
Python
backend/migrations/0063_auto_20210620_1034.py
ad-freiburg/qlever-ui
7d6820a45895cb65c3dd6d25015f4dd5bdca453c
[ "Apache-2.0" ]
4
2021-10-09T20:36:33.000Z
2022-02-12T09:19:17.000Z
backend/migrations/0063_auto_20210620_1034.py
jbuerklin/qleverUI
7d6820a45895cb65c3dd6d25015f4dd5bdca453c
[ "Apache-2.0" ]
29
2019-09-01T08:48:12.000Z
2021-06-01T15:57:24.000Z
backend/migrations/0063_auto_20210620_1034.py
jbuerklin/qleverUI
7d6820a45895cb65c3dd6d25015f4dd5bdca453c
[ "Apache-2.0" ]
4
2019-01-04T19:44:55.000Z
2020-12-05T03:40:42.000Z
# Generated by Django 3.0.2 on 2021-06-20 08:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('backend', '0062_auto_20210606_1126'), ] operations = [ migrations.AddField( model_name='backend', name='entityNameAn...
35.786517
310
0.576138
266
3,185
6.823308
0.285714
0.07438
0.132231
0.165289
0.596143
0.596143
0.555372
0.530028
0.530028
0.530028
0
0.016079
0.297017
3,185
88
311
36.193182
0.794551
0.014129
0
0.707317
1
0.012195
0.232314
0.097196
0
0
0
0
0
1
0
false
0
0.012195
0
0.04878
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
abaa5abaa701081adce76894d1615d5d4f914f6e
1,307
py
Python
built-in/PyTorch/Official/cv/scene_text_detection/PSENet_for_PyTorch/NPU/src/util/dtype.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
12
2020-12-13T08:34:24.000Z
2022-03-20T15:17:17.000Z
built-in/PyTorch/Official/cv/scene_text_detection/PSENet_for_PyTorch/NPU/test/util/dtype.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
1
2022-01-20T03:11:05.000Z
2022-01-20T06:53:39.000Z
built-in/PyTorch/Official/cv/scene_text_detection/PSENet_for_PyTorch/NPU/src/util/dtype.py
Ascend/modelzoo
f018cfed33dbb1cc2110b9ea2e233333f71cc509
[ "Apache-2.0" ]
2
2021-07-10T12:40:46.000Z
2021-12-17T07:55:15.000Z
# coding=utf-8 ''' Created on 2016年9月27日 @author: dengdan ''' # Copyright [yyyy] [name of copyright owner] # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may ob...
20.107692
78
0.661056
189
1,307
4.550265
0.544974
0.069767
0.038372
0.04186
0
0
0
0
0
0
0
0.029175
0.23948
1,307
64
79
20.421875
0.836016
0.539403
0
0
0
0
0.050086
0
0
0
0
0
0
1
0.269231
false
0
0.038462
0.192308
0.653846
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
f9ee91d8db4c050ac19d612cd457891a4fbf3df8
289
py
Python
agregator/persCabinet/views.py
tarasen1/Django-Agregator-Site
6d873fa3e845776242bca150330754fc98f82f24
[ "Apache-2.0" ]
null
null
null
agregator/persCabinet/views.py
tarasen1/Django-Agregator-Site
6d873fa3e845776242bca150330754fc98f82f24
[ "Apache-2.0" ]
null
null
null
agregator/persCabinet/views.py
tarasen1/Django-Agregator-Site
6d873fa3e845776242bca150330754fc98f82f24
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.http.response import HttpResponse def personalCab(request): if request.user.is_authenticated(): return HttpResponse('hello') else: return HttpResponse('not hello(')
28.9
57
0.806228
36
289
6.416667
0.694444
0.12987
0
0
0
0
0
0
0
0
0
0
0.107266
289
9
58
32.111111
0.895349
0
0
0
0
0
0.051903
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
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
f9f6ad098d179c30f9e9134bef5897868f99bd3a
353
py
Python
dcli/language/asset.py
Asanio06/dcli
a35de130a8be9dc91681f003e5e4c4fcad72b0de
[ "MIT" ]
1
2019-12-13T15:48:15.000Z
2019-12-13T15:48:15.000Z
dcli/language/asset.py
Asanio06/dcli
a35de130a8be9dc91681f003e5e4c4fcad72b0de
[ "MIT" ]
1
2020-04-15T09:58:22.000Z
2020-04-15T09:58:22.000Z
dcli/language/asset.py
Asanio06/dcli
a35de130a8be9dc91681f003e5e4c4fcad72b0de
[ "MIT" ]
6
2020-02-19T15:57:33.000Z
2022-03-04T14:44:47.000Z
class Asset(): def __init__(self, path, fileName, content): self._path = path self._fileName = fileName self._content = content @property def path(self): return self._path @property def fileName(self): return self._fileName @property def content(se...
19.611111
48
0.603399
38
353
5.342105
0.263158
0.118227
0.206897
0
0
0
0
0
0
0
0
0
0.311615
353
18
49
19.611111
0.835391
0
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.214286
0.571429
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
1
0
0
0
3
e63ae7f0582e747c82057dedde1d778f5c08bf7f
380
py
Python
utils/_app_data.py
Battle-Of-Two-K/aeflot_front
83e1f77fd95f3be7b0262cc9de25adbdb568d82e
[ "MIT" ]
null
null
null
utils/_app_data.py
Battle-Of-Two-K/aeflot_front
83e1f77fd95f3be7b0262cc9de25adbdb568d82e
[ "MIT" ]
10
2021-06-26T17:29:15.000Z
2021-07-06T22:04:02.000Z
utils/_app_data.py
Battle-Of-Two-K/aeflot_front
83e1f77fd95f3be7b0262cc9de25adbdb568d82e
[ "MIT" ]
3
2021-06-25T09:15:59.000Z
2021-06-27T07:25:39.000Z
from configparser import ConfigParser from dataclasses import dataclass, field from core import Model from ._logger import Logger from .handlers import Handlers from .history import History @dataclass(repr=False) class AppData: model: Model config: ConfigParser history: History logger: Logger han...
21.111111
43
0.768421
46
380
6.304348
0.434783
0
0
0
0
0
0
0
0
0
0
0
0.181579
380
17
44
22.352941
0.932476
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.928571
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
e648dd8a96a3176a004176c7d09401fa1ea6aeb4
200
py
Python
benchmark/get.py
shouc/corbfuzz
800c7f2cb6880bd08a547e0ec1fcbf5ec6253bf5
[ "MIT" ]
1
2021-09-04T10:23:30.000Z
2021-09-04T10:23:30.000Z
benchmark/get.py
shouc/corbfuzz
800c7f2cb6880bd08a547e0ec1fcbf5ec6253bf5
[ "MIT" ]
2
2021-07-15T23:52:31.000Z
2021-07-15T23:52:36.000Z
benchmark/get.py
shouc/corbfuzz
800c7f2cb6880bd08a547e0ec1fcbf5ec6253bf5
[ "MIT" ]
2
2021-12-20T09:13:30.000Z
2022-01-20T02:05:21.000Z
import hashlib import json, uuid,os import sys for i in (json.load(open("repos.txt"))): os.system(f"git clone https://github.com/{i} {sys.argv[1]}/{hashlib.md5(i.encode('utf-8')).hexdigest()}")
25
109
0.67
35
200
3.828571
0.771429
0
0
0
0
0
0
0
0
0
0
0.01676
0.105
200
7
110
28.571429
0.731844
0
0
0
0
0.2
0.502513
0.291457
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
050496a8b7cf2b795f4197f3e14396624573e3b1
1,340
py
Python
plantHAT/plantHAT/app/dashboard/views.py
MrGnomes/plantHAT
c254b323fa283ea07d678d4812a7485e5963ff05
[ "MIT" ]
null
null
null
plantHAT/plantHAT/app/dashboard/views.py
MrGnomes/plantHAT
c254b323fa283ea07d678d4812a7485e5963ff05
[ "MIT" ]
null
null
null
plantHAT/plantHAT/app/dashboard/views.py
MrGnomes/plantHAT
c254b323fa283ea07d678d4812a7485e5963ff05
[ "MIT" ]
null
null
null
""" dashboard.views ------ This is the admin dashboard of the plantHAT. It's the main view, from where on everything regarding the plant growth/watering can be monitored and controlled. """ from flask import (Blueprint, render_template, make_response) from flask_login import login_required, current_u...
34.358974
124
0.805224
154
1,340
6.818182
0.318182
0.115238
0.07619
0.138095
0.401905
0.401905
0.401905
0.401905
0.401905
0.339048
0
0
0.087313
1,340
38
125
35.263158
0.858545
0.135821
0
0.217391
0
0
0.140459
0.060071
0
0
0
0
0
1
0.217391
false
0
0.086957
0.217391
0.521739
0.304348
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
052fcad490a17e9b3374454691274dc2f8aac8ec
396
py
Python
nlpml/source.py
johann-petrak/nlp-ml
86e1e86b8b2fa915cacd2ca8a39635ce982d9f4e
[ "Apache-2.0" ]
null
null
null
nlpml/source.py
johann-petrak/nlp-ml
86e1e86b8b2fa915cacd2ca8a39635ce982d9f4e
[ "Apache-2.0" ]
null
null
null
nlpml/source.py
johann-petrak/nlp-ml
86e1e86b8b2fa915cacd2ca8a39635ce982d9f4e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ''' Base class and examples for serial sources. Not much needed because any iterable thing can be used as a SerialSource. ''' from abc import ABC, abstractmethod class SerialSource(ABC): """ A serial source needs to be iterable and optionally implement close(). """ @abstractmeth...
18.857143
98
0.674242
52
396
5.057692
0.730769
0.060837
0
0
0
0
0
0
0
0
0
0
0.242424
396
20
99
19.8
0.876667
0.527778
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
0540d370cda220856a95f7eceb3004de7c757176
540
py
Python
lib/telegram/base.py
yosit/kinnernet_bot
3ef22fdeaf0ea9951740e9aed8c61fabfa3ead25
[ "Apache-2.0" ]
null
null
null
lib/telegram/base.py
yosit/kinnernet_bot
3ef22fdeaf0ea9951740e9aed8c61fabfa3ead25
[ "Apache-2.0" ]
null
null
null
lib/telegram/base.py
yosit/kinnernet_bot
3ef22fdeaf0ea9951740e9aed8c61fabfa3ead25
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import json from abc import ABCMeta, abstractmethod class TelegramObject(object): """Base class for most telegram object""" __metaclass__ = ABCMeta def __str__(self): return str(self.to_dict()) def __getitem__(self, item): return self.__dict__...
18.62069
46
0.622222
61
540
5.163934
0.52459
0.095238
0.063492
0
0
0
0
0
0
0
0
0
0.288889
540
28
47
19.285714
0.820313
0.103704
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.25
0.8125
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
05445f957e4b3765abae10bd169d58152ac8395a
149
py
Python
pandjango/blog/urls.py
Elmartin913/PanDjango
3b1eb52d53c87365f3d2fa5bd7ef72843ed5af32
[ "MIT" ]
null
null
null
pandjango/blog/urls.py
Elmartin913/PanDjango
3b1eb52d53c87365f3d2fa5bd7ef72843ed5af32
[ "MIT" ]
3
2020-06-05T18:05:43.000Z
2021-06-10T20:13:18.000Z
pandjango/blog/urls.py
Elmartin913/PanDjango
3b1eb52d53c87365f3d2fa5bd7ef72843ed5af32
[ "MIT" ]
null
null
null
from django.urls import path, include from .views import PostListView urlpatterns = [ path('list', PostListView.as_view(), name='post_list'), ]
21.285714
59
0.731544
19
149
5.631579
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.14094
149
7
60
21.285714
0.835938
0
0
0
0
0
0.086667
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
054751588ff1dce98b5abe3584f87713a58d80df
112
py
Python
201712/t1.py
xyFryan/python3
9c9b2e6be4e27fa7f78bb2b1c4c3146d3c174741
[ "MIT" ]
null
null
null
201712/t1.py
xyFryan/python3
9c9b2e6be4e27fa7f78bb2b1c4c3146d3c174741
[ "MIT" ]
null
null
null
201712/t1.py
xyFryan/python3
9c9b2e6be4e27fa7f78bb2b1c4c3146d3c174741
[ "MIT" ]
null
null
null
#!/usr/bin/python3 movies = ["The Holy Grail" , "the life of brain ", "The Meaning of Life" ] print(movies[0])
37.333333
76
0.651786
18
112
4.055556
0.722222
0
0
0
0
0
0
0
0
0
0
0.021505
0.169643
112
3
77
37.333333
0.763441
0.151786
0
0
0
0
0.536842
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
0567bfbb3840599a4e8d33b662d3f33b4854a122
531
py
Python
contribution-markdown-report/src/date.py
lntuition/contribution-markdown-report
e17185877abbafb53506faf2f0cb3b54390368be
[ "MIT" ]
5
2020-08-07T17:15:45.000Z
2020-08-11T02:54:43.000Z
contribution-markdown-report/src/date.py
lntuition/contribution-markdown-report
e17185877abbafb53506faf2f0cb3b54390368be
[ "MIT" ]
null
null
null
contribution-markdown-report/src/date.py
lntuition/contribution-markdown-report
e17185877abbafb53506faf2f0cb3b54390368be
[ "MIT" ]
null
null
null
from datetime import date from typing import Sequence class DateRange: def __init__(self, start: date, end: date) -> None: if end < start: raise Exception(f"{start} : Must be eariler than {end}") self.__start = start self.__end = end def __contains__(self, other: date) ->...
27.947368
68
0.638418
70
531
4.542857
0.528571
0.113208
0
0
0
0
0
0
0
0
0
0.002545
0.259887
531
18
69
29.5
0.806616
0.079096
0
0
0
0
0.073922
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.166667
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
552ce561023cabae752c0a5a73d146e6ca5769ba
16,124
py
Python
tests/allen/models/target_sentiment/atae_test.py
apmoore1/target-extraction
4139ecdc432411fcc4ed2723f4165e7dae93544d
[ "Apache-2.0" ]
5
2019-07-27T13:57:47.000Z
2021-06-16T13:17:44.000Z
tests/allen/models/target_sentiment/atae_test.py
apmoore1/target-extraction
4139ecdc432411fcc4ed2723f4165e7dae93544d
[ "Apache-2.0" ]
26
2019-05-01T11:56:35.000Z
2020-06-18T16:06:40.000Z
tests/allen/models/target_sentiment/atae_test.py
apmoore1/target-extraction
4139ecdc432411fcc4ed2723f4165e7dae93544d
[ "Apache-2.0" ]
1
2019-07-11T07:16:09.000Z
2019-07-11T07:16:09.000Z
import copy from pathlib import Path import tempfile from allennlp.common.testing import ModelTestCase from allennlp.common.params import Params from allennlp.data import Batch from allennlp.data.vocabulary import Vocabulary from allennlp.models import Model from allennlp.nn import InitializerApplicator, Initializer f...
52.865574
115
0.666398
1,997
16,124
5.098147
0.096144
0.057755
0.033003
0.049111
0.764856
0.734604
0.722621
0.685689
0.660642
0.632256
0
0.002888
0.226929
16,124
305
116
52.865574
0.813879
0.074237
0
0.577689
0
0
0.11627
0.025897
0
0
0
0
0.035857
1
0.103586
false
0.003984
0.059761
0
0.167331
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
553a296f25e677ef01dbf8ab5a5d7777d87a6302
54
py
Python
python-crash-course/chapter04/squares.py
dym0080/learn-python
2c1f34e9fa249334305350cf4f7fefb351871bda
[ "MIT" ]
null
null
null
python-crash-course/chapter04/squares.py
dym0080/learn-python
2c1f34e9fa249334305350cf4f7fefb351871bda
[ "MIT" ]
null
null
null
python-crash-course/chapter04/squares.py
dym0080/learn-python
2c1f34e9fa249334305350cf4f7fefb351871bda
[ "MIT" ]
null
null
null
squares=[val**2 for val in range(1,11)] print(squares)
27
39
0.722222
11
54
3.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0.081633
0.092593
54
2
40
27
0.714286
0
0
0
0
0
0
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
55454075e0c66031034a6017f5ba497bc527ba1e
127
py
Python
cloudfunctions/fmpfeedback_caretaker/__init__.py
lovette/FMPFeedbackGCPService
eda414ffb19b322e562a21cc2a19d41b1acef9b6
[ "MIT" ]
1
2021-03-04T23:25:55.000Z
2021-03-04T23:25:55.000Z
cloudfunctions/fmpfeedback_caretaker/__init__.py
lovette/FMPFeedbackGCPService
eda414ffb19b322e562a21cc2a19d41b1acef9b6
[ "MIT" ]
null
null
null
cloudfunctions/fmpfeedback_caretaker/__init__.py
lovette/FMPFeedbackGCPService
eda414ffb19b322e562a21cc2a19d41b1acef9b6
[ "MIT" ]
null
null
null
# Simplify importing package from .main import fmpfeedback_caretaker # noqa: F401 __all__ = ( 'fmpfeedback_caretaker', )
18.142857
53
0.748031
13
127
6.846154
0.846154
0.449438
0
0
0
0
0
0
0
0
0
0.028571
0.173228
127
6
54
21.166667
0.819048
0.291339
0
0
0
0
0.241379
0.241379
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
e95c7e5d8f391e08380395e1dede26a08a281a09
1,411
py
Python
lichess/lichess_requests.py
fredericojordan/fast-chess
132e6e0d3d1b4939e6bcff032437572f2235e217
[ "MIT" ]
25
2016-09-20T21:02:27.000Z
2022-03-09T11:50:23.000Z
lichess/lichess_requests.py
fredericojordan/fast-chess
132e6e0d3d1b4939e6bcff032437572f2235e217
[ "MIT" ]
4
2020-07-22T19:29:20.000Z
2020-08-24T13:05:05.000Z
lichess/lichess_requests.py
fredericojordan/fast-chess
132e6e0d3d1b4939e6bcff032437572f2235e217
[ "MIT" ]
9
2018-03-01T22:31:20.000Z
2022-02-12T16:24:00.000Z
import os import requests from dotenv import load_dotenv load_dotenv(verbose=True) LICHESS_TOKEN = os.getenv("LICHESS_TOKEN") AUTH_HEADER = {"Authorization": f"Bearer {LICHESS_TOKEN}"} BASE_URL = "https://lichess.org/api" def my_account(): return requests.get(f"{BASE_URL}/account", headers=AUTH_HEADER) def ...
23.516667
86
0.705882
197
1,411
4.817259
0.274112
0.105374
0.075869
0.147524
0.436249
0.371971
0.319283
0.221286
0.221286
0.221286
0
0
0.153792
1,411
59
87
23.915254
0.794807
0
0
0.108108
0
0
0.267895
0.194897
0
0
0
0
0
1
0.243243
false
0
0.081081
0.243243
0.567568
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
e964035832408a75d6ad2ad9c811056148a8bbf4
129
py
Python
src/routes/__init__.py
garlic-bot/api
a9dc82c096e62fd8757c5d55f9b30ca0d54f98d3
[ "MIT" ]
1
2022-03-22T22:06:42.000Z
2022-03-22T22:06:42.000Z
src/routes/__init__.py
garlic-bot/api
a9dc82c096e62fd8757c5d55f9b30ca0d54f98d3
[ "MIT" ]
null
null
null
src/routes/__init__.py
garlic-bot/api
a9dc82c096e62fd8757c5d55f9b30ca0d54f98d3
[ "MIT" ]
null
null
null
from fastapi import APIRouter from .auth import router as auth_router router = APIRouter() router.include_router(auth_router)
16.125
39
0.813953
18
129
5.666667
0.444444
0.196078
0
0
0
0
0
0
0
0
0
0
0.131783
129
7
40
18.428571
0.910714
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
e976ad876117564b87711b92bced8a5f13a3cc11
594
py
Python
test-config.py
cloudmesh/cloudmesh-objstorage
b85aa1d6ae7d7d146a3fd42e3475c214dba7878c
[ "Apache-2.0" ]
null
null
null
test-config.py
cloudmesh/cloudmesh-objstorage
b85aa1d6ae7d7d146a3fd42e3475c214dba7878c
[ "Apache-2.0" ]
3
2019-04-20T12:09:18.000Z
2019-04-26T17:30:35.000Z
test-config.py
cloudmesh/cloudmesh-objstorage
b85aa1d6ae7d7d146a3fd42e3475c214dba7878c
[ "Apache-2.0" ]
null
null
null
from cloudmesh.management.configuration.config import Config from pprint import pprint config = Config() pprint(config.dict()) print(config) print(type(config.data)) # cloudmesh: # objstorage: # awss3: # cm: # heading: AWS # host: aws.com # label: AWS # kind: awss3 # ...
22
66
0.614478
62
594
5.822581
0.483871
0.157895
0.199446
0.160665
0.249307
0.249307
0
0
0
0
0
0.013483
0.250842
594
27
67
22
0.797753
0.548822
0
0
0
0
0.150198
0.150198
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.625
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
0
1
0
3
e99ec3f8bbd001a98fdc668db78195efb002b2d8
593
py
Python
bravo/Classifiers/__init__.py
DanielBerns/keras-effective-adventure
d9bc8c08f769f0c07379d2a3756d040ca14239f2
[ "MIT" ]
null
null
null
bravo/Classifiers/__init__.py
DanielBerns/keras-effective-adventure
d9bc8c08f769f0c07379d2a3756d040ca14239f2
[ "MIT" ]
null
null
null
bravo/Classifiers/__init__.py
DanielBerns/keras-effective-adventure
d9bc8c08f769f0c07379d2a3756d040ca14239f2
[ "MIT" ]
null
null
null
from .driver import Classifier from .keras_datasets import KerasMNISTDataset, ReshapedKerasMNISTDataset from .keras_datasets import get_keras_cifar10 from .learning_rate_schedulers import StepDecay, PolynomialDecay from .custom_datasets import create_custom_image_dataset from .nn_LeNets import build_LeNet from .nn_Le...
37.0625
72
0.88027
82
593
6.02439
0.390244
0.097166
0.072874
0.109312
0.253036
0.11336
0
0
0
0
0
0.005587
0.094435
593
15
73
39.533333
0.914339
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
e99f871e6d07f9752442e4a42a3019ba75aa369b
3,643
py
Python
tests/test_ext_name.py
johny-b/blargh
45bb94cad8c70b0cd5b0b4f1330682107051fb9d
[ "MIT" ]
null
null
null
tests/test_ext_name.py
johny-b/blargh
45bb94cad8c70b0cd5b0b4f1330682107051fb9d
[ "MIT" ]
3
2019-07-09T08:01:36.000Z
2020-07-08T10:18:52.000Z
tests/test_ext_name.py
johny-b/blargh
45bb94cad8c70b0cd5b0b4f1330682107051fb9d
[ "MIT" ]
null
null
null
''' Test ext_name of a field ''' from example import cookies from blargh.engine import dm, world def test_ext_name_get(init_world, get_client): # 1. Init init_world(cookies.dm) client = get_client() # 2. Set an ext_name dm().object('cookie').field('type').ext_name = 'Cookie Type' # 3...
25.124138
84
0.592094
494
3,643
4.238866
0.131579
0.070201
0.113658
0.153773
0.790353
0.776027
0.75788
0.656638
0.620821
0.620821
0
0.02984
0.264068
3,643
144
85
25.298611
0.751212
0.1916
0
0.590164
0
0
0.140035
0
0
0
0
0
0.311475
1
0.098361
false
0
0.032787
0
0.131148
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
e9a66b7d9cd7affd178c49784baa0a858b7bb1bf
168
py
Python
core/layout/row.py
mensch272/sudoku
a8ae68e27a2ac98e9087a332a7093f903f0bb1a3
[ "Apache-2.0" ]
5
2020-01-18T00:55:21.000Z
2020-01-21T11:14:53.000Z
core/layout/row.py
mHaisham/sudoku
a8ae68e27a2ac98e9087a332a7093f903f0bb1a3
[ "Apache-2.0" ]
null
null
null
core/layout/row.py
mHaisham/sudoku
a8ae68e27a2ac98e9087a332a7093f903f0bb1a3
[ "Apache-2.0" ]
4
2020-01-18T04:52:57.000Z
2020-01-21T12:09:18.000Z
from kivy.uix.gridlayout import GridLayout class Row(GridLayout): def __init__(self, **kwargs): super(Row, self).__init__(**kwargs) self.rows = 1
21
43
0.660714
21
168
4.904762
0.666667
0
0
0
0
0
0
0
0
0
0
0.007576
0.214286
168
8
44
21
0.772727
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
e9a67b10e6acace31f6fdfe683e21469009e7315
22
py
Python
topawards/__init__.py
joeycmlam/topawards-services
0877807e48a8f15d0376591c1b205587d9d184d0
[ "MIT" ]
null
null
null
topawards/__init__.py
joeycmlam/topawards-services
0877807e48a8f15d0376591c1b205587d9d184d0
[ "MIT" ]
null
null
null
topawards/__init__.py
joeycmlam/topawards-services
0877807e48a8f15d0376591c1b205587d9d184d0
[ "MIT" ]
null
null
null
name = "topawards_pkg"
22
22
0.772727
3
22
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
22
1
22
22
0.8
0
0
0
0
0
0.565217
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
e9b85984ce1ef0d4a5b7c7ecc309618dc4846c38
339
py
Python
geometric/GNN/__init__.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
2
2021-12-05T07:11:04.000Z
2021-12-15T07:53:48.000Z
geometric/GNN/__init__.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
null
null
null
geometric/GNN/__init__.py
sj1104/Het
81b7e9f0f593108db969fc46a1af3df74b825230
[ "Apache-2.0" ]
3
2021-04-01T22:39:13.000Z
2021-04-21T11:51:57.000Z
def __handle_import(): import sys import os cur_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) lib_path = os.path.join(cur_path, '../../build/lib/') sys.path.append(lib_path) proto_path = os.path.join(cur_path, '../../build/protobuf_python/') sys.path.append(proto_path...
37.666667
77
0.690265
50
339
4.32
0.36
0.138889
0.138889
0.12963
0.240741
0.240741
0.240741
0
0
0
0
0
0.138643
339
9
78
37.666667
0.739726
0
0
0
0
0
0.129412
0.082353
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.555556
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
7564c269b222b75a35e094da4ea8d95e6512a129
307
py
Python
GDLC/tests/test_make_entry_idx.py
ptoche/Gran-Diccionari-de-la-llengua-catalana-Kindle-Edition-
a31412d2a6f05a6c1a9bd9854cdd6fee8abd65f4
[ "BSD-3-Clause" ]
1
2022-02-01T16:08:03.000Z
2022-02-01T16:08:03.000Z
GDLC/tests/test_make_entry_idx.py
ptoche/Gran-Diccionari-de-la-llengua-catalana-Kindle-Edition-
a31412d2a6f05a6c1a9bd9854cdd6fee8abd65f4
[ "BSD-3-Clause" ]
null
null
null
GDLC/tests/test_make_entry_idx.py
ptoche/Gran-Diccionari-de-la-llengua-catalana-Kindle-Edition-
a31412d2a6f05a6c1a9bd9854cdd6fee8abd65f4
[ "BSD-3-Clause" ]
null
null
null
""" Make an idx entry for an epub/mobi dictionary. >>> from GDLC.GDLC import * >>> print(make_entry_idx()) <idx:entry name="Catalan" scriptable="yes" spell="yes"> >>> print(make_entry_idx(name="Singlish", scriptable="nope", spell="nein")) <idx:entry name="Singlish" scriptable="nope" spell="nein"> """
23.615385
75
0.687296
43
307
4.813953
0.465116
0.115942
0.135266
0.164251
0.338164
0.338164
0
0
0
0
0
0
0.110749
307
12
76
25.583333
0.758242
0.960912
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
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
0
0
0
0
0
3
757da41e57167b24549bf7682a8e0d684a924174
205
py
Python
Programs/Programs-Beg/user-input.py
ParkerBalbach/Python-try
4fa0e92b182802d30eef717e69e01c2f214ad90a
[ "MIT" ]
null
null
null
Programs/Programs-Beg/user-input.py
ParkerBalbach/Python-try
4fa0e92b182802d30eef717e69e01c2f214ad90a
[ "MIT" ]
null
null
null
Programs/Programs-Beg/user-input.py
ParkerBalbach/Python-try
4fa0e92b182802d30eef717e69e01c2f214ad90a
[ "MIT" ]
null
null
null
def greet(name,name2): print(f"Hello {name}") print(f"How do you do {name2}") name = input("Please enter your name: ") name2 = input("Please enter your mothers name: ") greet(name, name2)
17.083333
49
0.639024
31
205
4.225806
0.483871
0.206107
0.21374
0.305344
0
0
0
0
0
0
0
0.024691
0.209756
205
12
50
17.083333
0.783951
0
0
0
0
0
0.436275
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.333333
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
757f382d647027f63b0a98ef4ee5b09b9ac18d46
7,390
py
Python
tests/regressiontests/forms/localflavor/br.py
huicheese/Django-test3
ac11d2dce245b48392e52d1f4acfd5e7433b243e
[ "BSD-3-Clause" ]
23
2015-01-26T12:16:59.000Z
2022-02-10T10:58:40.000Z
tests/regressiontests/forms/localflavor/br.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
1
2015-11-25T10:57:23.000Z
2017-02-25T07:54:03.000Z
tests/regressiontests/forms/localflavor/br.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
30
2015-03-25T19:40:07.000Z
2021-05-28T22:59:26.000Z
# -*- coding: utf-8 -*- # Tests for the contrib/localflavor/ BR form fields. tests = r""" # BRZipCodeField ############################################################ >>> from django.contrib.localflavor.br.forms import BRZipCodeField >>> f = BRZipCodeField() >>> f.clean('12345-123') u'12345-123' >>> f.clean('12345_12...
33.438914
1,153
0.649662
1,080
7,390
4.442593
0.187037
0.075031
0.1188
0.14381
0.679658
0.648604
0.635473
0.56857
0.563568
0.550646
0
0.099352
0.102436
7,390
220
1,154
33.590909
0.624001
0.009743
0
0.708738
0
0.019417
0.997403
0.305263
0
0
0
0
0
1
0
false
0
0.029126
0
0.029126
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
758148f225a12021f3b57db2d2c67b3391cfa397
398
py
Python
src/tools/telemetry/telemetry/core/chrome/trace_event_importer.py
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
src/tools/telemetry/telemetry/core/chrome/trace_event_importer.py
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
null
null
null
src/tools/telemetry/telemetry/core/chrome/trace_event_importer.py
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import json from telemetry.core.chrome import timeline_model def Import(data): trace = json.loads(data) # pylint: disable=W0612 model = timeline_mo...
24.875
72
0.753769
59
398
5.050847
0.813559
0.087248
0
0
0
0
0
0
0
0
0
0.024242
0.170854
398
15
73
26.533333
0.878788
0.547739
0
0
0
0
0
0
0
0
0
0.066667
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
75b354473e0b39ba627c38a9d7c5ca3e9c6d8e43
152
py
Python
hapic/type.py
raphj/hapic
b169ee901005bbe535e27ec878a051c2c1226e43
[ "MIT" ]
20
2017-10-13T11:23:33.000Z
2021-12-09T12:42:06.000Z
hapic/type.py
raphj/hapic
b169ee901005bbe535e27ec878a051c2c1226e43
[ "MIT" ]
130
2017-10-10T15:09:13.000Z
2021-12-30T10:36:08.000Z
hapic/type.py
raphj/hapic
b169ee901005bbe535e27ec878a051c2c1226e43
[ "MIT" ]
7
2017-10-17T07:24:42.000Z
2021-09-16T14:33:17.000Z
# coding: utf-8 import typing # Note: Schema can be anything. This is the Processor # responsability to be able deal with it. TYPE_SCHEMA = typing.Any
21.714286
53
0.756579
25
152
4.56
0.88
0
0
0
0
0
0
0
0
0
0
0.008
0.177632
152
6
54
25.333333
0.904
0.690789
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
75c951eaec12adaeceb4302f814b5bd28ee97147
860
py
Python
tests/test_saltpad_setup.py
mitodl/master-formula
02e7c897ac5222de380e909d410f3701bab90671
[ "BSD-3-Clause" ]
3
2016-11-22T23:56:00.000Z
2022-03-13T17:34:13.000Z
tests/test_saltpad_setup.py
mitodl/master-formula
02e7c897ac5222de380e909d410f3701bab90671
[ "BSD-3-Clause" ]
5
2016-03-14T16:14:20.000Z
2019-11-15T18:30:40.000Z
tests/test_saltpad_setup.py
mitodl/master-formula
02e7c897ac5222de380e909d410f3701bab90671
[ "BSD-3-Clause" ]
null
null
null
import pytest @pytest.mark.saltpad def test_nginx_installed(Service, Package): assert Package('nginx').is_installed assert Service('nginx').is_running assert Service('nginx').is_enabled @pytest.mark.saltpad def test_saltpad_files_present(File): assert File('/var/www/saltpad').is_directory assert...
26.060606
58
0.738372
125
860
4.912
0.304
0.019544
0.138436
0.162866
0.509772
0.392508
0.061889
0
0
0
0
0.023499
0.109302
860
32
59
26.875
0.778068
0
0
0.227273
0
0
0.209302
0.10814
0
0
0
0
0.5
1
0.227273
false
0
0.045455
0
0.272727
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
75ebd724b4b0ff5a55c677f9b1db3d49051508e6
490
py
Python
birthday_v4.py
ISE2012/ch7
6c6444b6b44adb6f45a9123f6a33bda388241fad
[ "MIT" ]
null
null
null
birthday_v4.py
ISE2012/ch7
6c6444b6b44adb6f45a9123f6a33bda388241fad
[ "MIT" ]
null
null
null
birthday_v4.py
ISE2012/ch7
6c6444b6b44adb6f45a9123f6a33bda388241fad
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Oct 28 05:43:42 2020 @author: ucobiz """ def happy(): print("Happy Bday to you!") def singFred(): happy() happy() print("Happy Bday, Fred") happy() def singLucy(): happy() happy() print("Happy Bday, Lucy") happy()...
15.3125
45
0.538776
60
490
4.4
0.533333
0.113636
0.170455
0.215909
0.181818
0
0
0
0
0
0
0.039039
0.320408
490
31
46
15.806452
0.753754
0.322449
0
0.352941
0
0
0.174216
0
0
0
0
0
0
1
0.235294
true
0
0
0
0.235294
0.235294
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
1
0
0
0
0
0
0
3
75ef80d92e42f77d2559183a41fe70ebe2848099
50,678
py
Python
rule.py
yejunzhou/billing_rule
fada5373948426c3b51a3cd01f90e5462c2e09ba
[ "Apache-2.0" ]
null
null
null
rule.py
yejunzhou/billing_rule
fada5373948426c3b51a3cd01f90e5462c2e09ba
[ "Apache-2.0" ]
null
null
null
rule.py
yejunzhou/billing_rule
fada5373948426c3b51a3cd01f90e5462c2e09ba
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env /mnt/nfs/local/python2.5/bin/python # -*- coding: utf-8 -*- from bisect import bisect import os import sys import time import json import datetime import string import binascii from xml.etree.ElementTree import ElementTree # from models import ecoupon, payrecord, plusconf, cards, schedules, tmprecords ...
45.127337
239
0.56196
6,064
50,678
4.37533
0.045679
0.042402
0.037992
0.026911
0.768129
0.731532
0.683778
0.658036
0.620722
0.607116
0
0.016761
0.330124
50,678
1,122
240
45.167558
0.764787
0.044615
0
0.632432
0
0
0.084252
0.003164
0
0
0
0
0
0
null
null
0.004324
0.00973
null
null
0.050811
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
0
1
0
0
0
0
0
0
0
0
3
75f86f17a11a54de8e8d6fd492a17a3ba6da5809
476
py
Python
tests/test_notification.py
MoustaphaLo/CryptocurrencyArbitrageBot
1eb9db17aed4fc83c89137bbd3da62adf802a2d9
[ "MIT" ]
212
2018-10-14T15:03:19.000Z
2022-03-27T08:37:21.000Z
tests/test_notification.py
MoustaphaLo/CryptocurrencyArbitrageBot
1eb9db17aed4fc83c89137bbd3da62adf802a2d9
[ "MIT" ]
3
2019-10-21T19:07:38.000Z
2021-11-29T07:15:02.000Z
tests/test_notification.py
MoustaphaLo/CryptocurrencyArbitrageBot
1eb9db17aed4fc83c89137bbd3da62adf802a2d9
[ "MIT" ]
40
2018-10-14T19:57:50.000Z
2022-03-13T15:26:08.000Z
from datetime import datetime, timedelta from bitcoin_arbitrage.monitor import settings # NOQA from bitcoin_arbitrage.monitor.update.notification.stdout import StdoutNotification def test_should_notify(): notification = StdoutNotification() assert notification._should_notify(5) is True assert notificati...
36.615385
83
0.806723
56
476
6.642857
0.446429
0.129032
0.193548
0.241935
0.287634
0.287634
0.198925
0
0
0
0
0.009639
0.128151
476
12
84
39.666667
0.886747
0.008403
0
0.222222
0
0
0
0
0
0
0
0
0.333333
1
0.111111
false
0
0.333333
0
0.444444
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
75fd406dda823c7315f7de07f699ed091d9aae86
347
py
Python
backend/services/ezq_query_api/ezq_query_api/routes/helpers/json_serialize.py
Pro-YY/ezouqi
acc6b46fd3a8ae0ca2aacebc790053727f71b985
[ "MIT" ]
1
2018-03-13T15:54:34.000Z
2018-03-13T15:54:34.000Z
backend/services/ezq_query_api/ezq_query_api/routes/helpers/json_serialize.py
Pro-YY/ezouqi
acc6b46fd3a8ae0ca2aacebc790053727f71b985
[ "MIT" ]
null
null
null
backend/services/ezq_query_api/ezq_query_api/routes/helpers/json_serialize.py
Pro-YY/ezouqi
acc6b46fd3a8ae0ca2aacebc790053727f71b985
[ "MIT" ]
null
null
null
from datetime import datetime from uuid import UUID from functools import singledispatch @singledispatch def serialize(val): return str(val) @serialize.register(UUID) def _uuid_to_str(val): return str(val) @serialize.register(datetime) def _datetime_to_str(val): return val.isoformat() + 'Z' # val.strftim...
21.6875
72
0.73487
51
347
4.882353
0.431373
0.096386
0.096386
0.120482
0.257028
0.257028
0
0
0
0
0
0
0.132565
347
15
73
23.133333
0.827243
0.106628
0
0.166667
0
0
0.003247
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1
0
0
0
1
1
0
0
3
75fde686c3d6da5f3ae3ea814d0cd9856a6318e0
93
py
Python
python-core/src/reduceSum.py
NSnietol/python-core-and-advanced
85d03894d5430bcdd62b0ae35371356f26d9374a
[ "MIT" ]
2
2019-04-13T14:10:38.000Z
2021-01-17T00:57:51.000Z
python-core/src/reduceSum.py
NSnietol/python-core-and-advanced
85d03894d5430bcdd62b0ae35371356f26d9374a
[ "MIT" ]
null
null
null
python-core/src/reduceSum.py
NSnietol/python-core-and-advanced
85d03894d5430bcdd62b0ae35371356f26d9374a
[ "MIT" ]
1
2020-02-20T15:44:36.000Z
2020-02-20T15:44:36.000Z
from functools import reduce lst = [1,2,3,4,5,6,7] print(reduce(lambda x,y : x+y, lst))
11.625
36
0.634409
20
93
2.95
0.8
0.067797
0
0
0
0
0
0
0
0
0
0.092105
0.182796
93
7
37
13.285714
0.684211
0
0
0
0
0
0
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
f932576c3adee2a8cacf8085bb95062ed6ae8458
1,368
py
Python
synth_firmware/bl/bin2syx.py
zbanks/birb
9f87b1a1806480937f7fabd773678e00c7c3302c
[ "MIT" ]
1
2020-11-22T20:08:58.000Z
2020-11-22T20:08:58.000Z
synth_firmware/bl/bin2syx.py
zbanks/birb
9f87b1a1806480937f7fabd773678e00c7c3302c
[ "MIT" ]
null
null
null
synth_firmware/bl/bin2syx.py
zbanks/birb
9f87b1a1806480937f7fabd773678e00c7c3302c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys def encode_4bytes(b): assert len(b) <= 4 b = b + b"\xFF" * (4 - len(b)) return bytes([b[0] & 0x7F, ((b[0] >> 7) | (b[1] << 1)) & 0x7F, ((b[1] >> 6) | (b[2] << 2)) & 0x7F, ((b[2] >> 5) | (b[3] << 3)) & 0x7F, b[3] >> 4]) def encode_addr(a): return bytes([(a >> 8) & 0x7...
29.73913
150
0.579678
251
1,368
3.063745
0.314741
0.031209
0.03381
0.028609
0.041612
0.041612
0.041612
0
0
0
0
0.084871
0.207602
1,368
45
151
30.4
0.624539
0.070175
0
0
0
0
0.097715
0
0
0
0.023641
0
0.096774
1
0.258065
false
0
0.032258
0.16129
0.548387
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f938935c18834f41c9c5c07cf90d39e371a1b7d4
123
py
Python
3. Comando Condicional/Lista 01/programa 04.py
enosteteo/Introducao-a-Programacao-P1
bd8f90c96fd16c88e7dc7136942fe29a828f86fa
[ "MIT" ]
null
null
null
3. Comando Condicional/Lista 01/programa 04.py
enosteteo/Introducao-a-Programacao-P1
bd8f90c96fd16c88e7dc7136942fe29a828f86fa
[ "MIT" ]
null
null
null
3. Comando Condicional/Lista 01/programa 04.py
enosteteo/Introducao-a-Programacao-P1
bd8f90c96fd16c88e7dc7136942fe29a828f86fa
[ "MIT" ]
null
null
null
# Programa 04 a = 8 b = a + 3 c = b - 1 if (c > 4): a = a + c else: a = a + b b = (2 * c) - a c = a - c a = c / b
9.461538
15
0.341463
30
123
1.4
0.4
0.190476
0.214286
0.190476
0.166667
0
0
0
0
0
0
0.106061
0.463415
123
12
16
10.25
0.530303
0.089431
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
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
0
0
0
3
f9616a39a9463f539da467b62be9d63c648e0b6a
16
py
Python
spader/__init__.py
wongherlung/spader
7369cbb7eceeccec0cf2134e0f042f9c43b1dcb0
[ "MIT" ]
1
2020-08-07T13:27:41.000Z
2020-08-07T13:27:41.000Z
spader/__init__.py
wongherlung/spader
7369cbb7eceeccec0cf2134e0f042f9c43b1dcb0
[ "MIT" ]
null
null
null
spader/__init__.py
wongherlung/spader
7369cbb7eceeccec0cf2134e0f042f9c43b1dcb0
[ "MIT" ]
1
2020-08-07T13:27:43.000Z
2020-08-07T13:27:43.000Z
name = "spader"
8
15
0.625
2
16
5
1
0
0
0
0
0
0
0
0
0
0
0
0.1875
16
1
16
16
0.769231
0
0
0
0
0
0.375
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
f9779d0b34fab0657f9215d88f3eca6cff9c7f05
451
py
Python
pypipet/core/model/customer.py
pypipet/pypipet
8c489e4a7992281fbb68b12e2627decf24f2facb
[ "MIT" ]
null
null
null
pypipet/core/model/customer.py
pypipet/pypipet
8c489e4a7992281fbb68b12e2627decf24f2facb
[ "MIT" ]
null
null
null
pypipet/core/model/customer.py
pypipet/pypipet
8c489e4a7992281fbb68b12e2627decf24f2facb
[ "MIT" ]
1
2021-12-10T22:36:34.000Z
2021-12-10T22:36:34.000Z
from .base_object import BaseObject class Customer(BaseObject): __table_name__ = 'customer' def __init__(self, attrs: dict = None): super().__init__(attrs) def set_customer(self, table_objs, attrs: dict): self.set_attrs_by_table_class(table_objs.get(self.__table_name__), ...
22.55
75
0.5898
51
451
4.666667
0.45098
0.07563
0.117647
0
0
0
0
0
0
0
0
0
0.325942
451
19
76
23.736842
0.782895
0
0
0.166667
0
0
0.017738
0
0
0
0
0
0
1
0.333333
false
0.166667
0.083333
0
0.583333
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
1
0
0
1
0
0
3
f99483e6cd59b1a91cd201e20c2ba3b8b04d4ba2
493
py
Python
utils/webmercator.py
taivu1998/Income-Distribution-ML
33fd9d79c9412ac82f6c877f8cdb0c73274f8900
[ "MIT" ]
1
2020-01-06T18:24:49.000Z
2020-01-06T18:24:49.000Z
utils/webmercator.py
taivu1998/Income-Distribution-ML
33fd9d79c9412ac82f6c877f8cdb0c73274f8900
[ "MIT" ]
null
null
null
utils/webmercator.py
taivu1998/Income-Distribution-ML
33fd9d79c9412ac82f6c877f8cdb0c73274f8900
[ "MIT" ]
null
null
null
import numpy as np def x(lon, z): return 1/360 * 2 ** z * (lon + 180) def y(lat, z): rads = lat * (2 * np.pi) / 360 return 2 ** z * (np.pi - np.log(np.tan(np.pi / 4 + rads / 2))) / (2 * np.pi) def xy(lat, lon, z): return x(lon, z), y(lat, z) def lon(x, z): return 360 * x / 2 ** z - 180 def lat(...
21.434783
80
0.488844
103
493
2.339806
0.23301
0.13278
0.082988
0.049793
0
0
0
0
0
0
0
0.088571
0.290061
493
22
81
22.409091
0.6
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.066667
0.266667
0.866667
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
f99774730164b07df12675c23dc3e1a145728239
938
py
Python
cosmoprimo/__init__.py
adematti/cosmoprimo
b5dde7d6f4932c2cd5beb9f6b9ede3488c1ad522
[ "BSD-3-Clause" ]
3
2021-05-05T16:34:00.000Z
2021-11-24T08:38:11.000Z
cosmoprimo/__init__.py
cosmodesi/cosmoprimo
a0d466418f6f5af80d446627109ce11bfb46f8b5
[ "BSD-3-Clause" ]
1
2021-11-15T16:30:16.000Z
2021-11-15T16:30:16.000Z
cosmoprimo/__init__.py
cosmodesi/cosmoprimo
a0d466418f6f5af80d446627109ce11bfb46f8b5
[ "BSD-3-Clause" ]
null
null
null
from ._version import __version__ from .cosmology import Cosmology, Background, Thermodynamics, Primordial, Transfer, Harmonic, Fourier, CosmologyError from .interpolator import PowerSpectrumInterpolator1D, PowerSpectrumInterpolator2D, CorrelationFunctionInterpolator1D, CorrelationFunctionInterpolator2D from .fftlog im...
72.153846
152
0.83049
62
938
12.145161
0.419355
0.050465
0.087649
0.11421
0.212483
0.212483
0.212483
0.212483
0
0
0
0.009195
0.072495
938
12
153
78.166667
0.856322
0
0
0
0
0
0.334755
0.181237
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f9ab0675e1cfbb13b1a51834926d83cae54cf8c8
798
py
Python
python/django_v2_0/produtos/items/views.py
WilliamDeveloper/udemy_cursos
f592bafbe3d2a5d631458f8c42151c880aadef17
[ "MIT" ]
null
null
null
python/django_v2_0/produtos/items/views.py
WilliamDeveloper/udemy_cursos
f592bafbe3d2a5d631458f8c42151c880aadef17
[ "MIT" ]
null
null
null
python/django_v2_0/produtos/items/views.py
WilliamDeveloper/udemy_cursos
f592bafbe3d2a5d631458f8c42151c880aadef17
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from .models import Produto from .forms import ProdutoForm # Create your views here. def home(request): mensagem = 'oi' produtos = Produto.objects.all() # select * from produtos return render(request,"items/index.html",{"mensagem": me...
26.6
90
0.700501
100
798
5.56
0.46
0.035971
0.068345
0.086331
0.118705
0.118705
0
0
0
0
0
0.006107
0.179198
798
30
91
26.6
0.842748
0.119048
0
0
0
0
0.16166
0.035765
0
0
0
0
0
1
0.210526
false
0
0.210526
0.105263
0.631579
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
f9bd3c1fdfc23e19012d2bd9f0037172a8fd3d8a
1,066
py
Python
test_envfile.py
lrowe/envfile
8596f70af84d0bbe3befd41ade6a4c8a9597d21c
[ "MIT" ]
null
null
null
test_envfile.py
lrowe/envfile
8596f70af84d0bbe3befd41ade6a4c8a9597d21c
[ "MIT" ]
null
null
null
test_envfile.py
lrowe/envfile
8596f70af84d0bbe3befd41ade6a4c8a9597d21c
[ "MIT" ]
null
null
null
import pytest import subprocess def test_printenv(): output = subprocess.check_output( ['envfile', '--clear', 'printenv']) assert output.decode().strip() == 'test=printenv' def test_printenv_upper(): output = subprocess.check_output( ['envfile', '--clear', '--upper', 'printenv']) ass...
27.333333
65
0.621951
108
1,066
6
0.25
0.064815
0.194444
0.259259
0.685185
0.611111
0.376543
0.376543
0.376543
0
0
0
0.189493
1,066
38
66
28.052632
0.75
0
0
0.307692
0
0
0.202627
0
0
0
0
0
0.153846
1
0.230769
false
0
0.076923
0
0.307692
0.346154
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
1
0
0
0
0
0
0
0
3
f9e91a398588898b36b25a209500f6e728d1c099
191
py
Python
scenarios/conversation-update/bots/__init__.py
Shiftersky/botbuilder-python
e00ea990d5cb5b05d545d87c51249dfa8f183581
[ "MIT" ]
1
2020-02-19T15:50:10.000Z
2020-02-19T15:50:10.000Z
scenarios/conversation-update/bots/__init__.py
Fortune-Adekogbe/botbuilder-python
4e48c874c32a2a7fe7f27a7a1f825e2aa39466c4
[ "MIT" ]
null
null
null
scenarios/conversation-update/bots/__init__.py
Fortune-Adekogbe/botbuilder-python
4e48c874c32a2a7fe7f27a7a1f825e2aa39466c4
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from .conversation_update_bot import ConversationUpdateBot __all__ = ["ConversationUpdateBot"]
27.285714
59
0.811518
20
191
7.45
0.9
0
0
0
0
0
0
0
0
0
0
0
0.120419
191
6
60
31.833333
0.886905
0.465969
0
0
0
0
0.212121
0.212121
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
dda9ba4d930f0301f268248b4f7f2bbbf92d9576
112
py
Python
MidTerm/09.py
hjeonp/2018_Algorithm
eac3403f1d92d26b6b839a275fd250d324231139
[ "MIT" ]
null
null
null
MidTerm/09.py
hjeonp/2018_Algorithm
eac3403f1d92d26b6b839a275fd250d324231139
[ "MIT" ]
null
null
null
MidTerm/09.py
hjeonp/2018_Algorithm
eac3403f1d92d26b6b839a275fd250d324231139
[ "MIT" ]
null
null
null
def B(str, n): if(n == len(str)): return else: print(str[len(str)-n-1], end='') B(str, n+1) B('abcde', 0)
16
34
0.526786
24
112
2.458333
0.541667
0.20339
0.169492
0
0
0
0
0
0
0
0
0.032609
0.178571
112
7
35
16
0.608696
0
0
0
0
0
0.044248
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.166667
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
ddc5fd34d2246d849508dcd904fa831ed203cd0a
69
py
Python
autokey/.config/autokey/data/TouchCursor/04 ZXCVBN/01 - Z Undo.py
zdog234/touchcursor-x11
4d5cb6417c6bb6a2e10976ac5f9579a98ce96421
[ "MIT" ]
8
2017-09-27T21:12:52.000Z
2021-06-16T14:08:43.000Z
autokey/.config/autokey/data/TouchCursor/04 ZXCVBN/01 - Z Undo.py
zdog234/touchcursor-x11
4d5cb6417c6bb6a2e10976ac5f9579a98ce96421
[ "MIT" ]
null
null
null
autokey/.config/autokey/data/TouchCursor/04 ZXCVBN/01 - Z Undo.py
zdog234/touchcursor-x11
4d5cb6417c6bb6a2e10976ac5f9579a98ce96421
[ "MIT" ]
1
2018-02-19T19:00:18.000Z
2018-02-19T19:00:18.000Z
engine.run_script('init-touchcursor') keyboard.send_keys('<ctrl>+z')
23
37
0.768116
10
69
5.1
1
0
0
0
0
0
0
0
0
0
0
0
0.028986
69
2
38
34.5
0.761194
0
0
0
0
0
0.347826
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
ddd6b18e43504a994320aab79893b8a7eddcaa9a
251
py
Python
setup.py
SebGoliot/oc_p3-macgyver
5d300478a4e432900c7cef4260a8cbb5bc3a4099
[ "Apache-2.0" ]
null
null
null
setup.py
SebGoliot/oc_p3-macgyver
5d300478a4e432900c7cef4260a8cbb5bc3a4099
[ "Apache-2.0" ]
null
null
null
setup.py
SebGoliot/oc_p3-macgyver
5d300478a4e432900c7cef4260a8cbb5bc3a4099
[ "Apache-2.0" ]
null
null
null
from cx_Freeze import setup, Executable setup( name = "macgyver", version = "0.1", description = "Help MacGyver !", options = {"build_exe": {"include_files": ['img', 'level.txt', 'font']}}, executables = [Executable("run.py")], )
25.1
77
0.609562
28
251
5.357143
0.892857
0
0
0
0
0
0
0
0
0
0
0.009901
0.195219
251
9
78
27.888889
0.732673
0
0
0
0
0
0.278884
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
fb0538ec8d867ac3b67f1f19b79e5da502379939
107
py
Python
lectures/code/unit_primes1.py
naskoch/python_course
84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3
[ "MIT" ]
4
2015-08-10T17:46:55.000Z
2020-04-18T21:09:03.000Z
lectures/code/unit_primes1.py
naskoch/python_course
84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3
[ "MIT" ]
null
null
null
lectures/code/unit_primes1.py
naskoch/python_course
84adfd3f8d48ca3ad5837f7acc59d2fa051e95d3
[ "MIT" ]
2
2019-04-24T03:31:02.000Z
2019-05-13T07:36:06.000Z
def is_prime(x): for i in xrange(2, x): if x % i == 0: return False return True
21.4
26
0.485981
18
107
2.833333
0.777778
0
0
0
0
0
0
0
0
0
0
0.031746
0.411215
107
5
27
21.4
0.777778
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
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
fb0d88c335a86578c66adca200395f8b9266ed11
137
py
Python
Python/PythonFundamentals/7-python-fundamentals-m06-exceptions-exercise-files/demos/process_file2.py
Mujtaba-Biyabani/Research
211f57812786a151ce8c3b1c3ed379fd1ba4e2f9
[ "Unlicense" ]
52
2017-12-06T10:44:05.000Z
2021-11-24T10:44:16.000Z
Python/PythonFundamentals/7-python-fundamentals-m06-exceptions-exercise-files/demos/process_file2.py
Mujtaba-Biyabani/Research
211f57812786a151ce8c3b1c3ed379fd1ba4e2f9
[ "Unlicense" ]
8
2018-01-29T08:32:34.000Z
2019-01-02T05:56:51.000Z
Python/PythonFundamentals/7-python-fundamentals-m06-exceptions-exercise-files/demos/process_file2.py
Mujtaba-Biyabani/Research
211f57812786a151ce8c3b1c3ed379fd1ba4e2f9
[ "Unlicense" ]
125
2018-11-20T07:56:22.000Z
2022-03-16T06:32:42.000Z
p = '/path/to/datafile.dat' try: process_file(f) except OSError as e: print('Could not process file because {}'.format(str(e)))
19.571429
61
0.664234
22
137
4.090909
0.863636
0.244444
0
0
0
0
0
0
0
0
0
0
0.175182
137
6
62
22.833333
0.79646
0
0
0
0
0
0.394161
0.153285
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
fb103b29eb6b4f2497a93be27cb3bb559a0f2ff1
1,224
py
Python
farnswiki/hooks.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
farnswiki/hooks.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
farnswiki/hooks.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
""" XXX: This module is deprecated and marked for replacement. """ from wiki.hooks import WikiDefaultHookset from managers.models import Manager from utils.variables import ANONYMOUS_USERNAME class ProjectWikiHookset(WikiDefaultHookset): def _perm_check(self, wiki, user): return user.is_authenticated() a...
28.465116
76
0.674837
159
1,224
4.968553
0.320755
0.075949
0.050633
0.072152
0.274684
0.246835
0.136709
0.136709
0.136709
0.136709
0
0.001065
0.232843
1,224
42
77
29.142857
0.840256
0.047386
0
0.142857
0
0
0.006045
0
0
0
0
0
0
1
0.285714
false
0
0.107143
0.285714
0.714286
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
3485bf8e3ddb943912c5c77f166b9dc6d2bdc7d3
105
py
Python
main.py
Nemestos/aoc-etna
8344dd85f49ce63f25e5359c5bcde00c8ddd26d0
[ "MIT" ]
null
null
null
main.py
Nemestos/aoc-etna
8344dd85f49ce63f25e5359c5bcde00c8ddd26d0
[ "MIT" ]
null
null
null
main.py
Nemestos/aoc-etna
8344dd85f49ce63f25e5359c5bcde00c8ddd26d0
[ "MIT" ]
null
null
null
from day_runner import AOC runner = AOC() runner.show_days(10) day = runner.input_day() runner.run(day)
15
26
0.752381
18
105
4.222222
0.555556
0.355263
0
0
0
0
0
0
0
0
0
0.021739
0.12381
105
6
27
17.5
0.804348
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
34f0ea707e0e5fd51123a4056d9b7f9848b615ec
76
py
Python
setup.py
MatheusTF7/BiSTeca
ee5b648b6fd94eb6b00a33d9ca025bb1c45ea864
[ "MIT" ]
null
null
null
setup.py
MatheusTF7/BiSTeca
ee5b648b6fd94eb6b00a33d9ca025bb1c45ea864
[ "MIT" ]
null
null
null
setup.py
MatheusTF7/BiSTeca
ee5b648b6fd94eb6b00a33d9ca025bb1c45ea864
[ "MIT" ]
null
null
null
from BisApp import db, models db.drop_all() db.create_all() print('done.')
12.666667
29
0.723684
13
76
4.076923
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.118421
76
5
30
15.2
0.791045
0
0
0
0
0
0.065789
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
0
0
1
0
0
0
0
0
0
3
34f7782f71fbc446bd247243a63b282b814bb8d9
579
py
Python
TheSpider/TheSpider/items.py
rakibulislam01/web-scraping
eddb44fd28dad8dbe6bdee8d10e2d4228e4b1839
[ "MIT" ]
2
2020-01-04T04:22:44.000Z
2021-05-12T07:16:38.000Z
TheSpider/TheSpider/items.py
rakibulislam01/web-scraping
eddb44fd28dad8dbe6bdee8d10e2d4228e4b1839
[ "MIT" ]
3
2021-03-31T19:30:59.000Z
2022-02-11T03:43:38.000Z
TheSpider/TheSpider/items.py
rakibulislam01/web-scraping
eddb44fd28dad8dbe6bdee8d10e2d4228e4b1839
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class ThespiderItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass class QuoteItem(scrapy.Item)...
20.678571
53
0.683938
74
579
5.297297
0.527027
0.22449
0.137755
0
0
0
0
0
0
0
0
0.002141
0.193437
579
27
54
21.444444
0.837259
0.355786
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.916667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
34fa9714fb174244d2b49996e27fdafdc7b621d4
393
py
Python
shopyo/modules/box__default/auth/global.py
krishnasoyjaudah/ShopCube
6f0fe47bf091b2d89f9f56cdc4cc5434424fcae3
[ "MIT" ]
23
2021-02-21T07:04:10.000Z
2022-01-24T10:33:29.000Z
shopyo/modules/box__default/auth/global.py
krishnasoyjaudah/ShopCube
6f0fe47bf091b2d89f9f56cdc4cc5434424fcae3
[ "MIT" ]
15
2021-10-06T04:16:47.000Z
2022-03-15T20:02:28.000Z
shopyo/modules/box__default/auth/global.py
krishnasoyjaudah/ShopCube
6f0fe47bf091b2d89f9f56cdc4cc5434424fcae3
[ "MIT" ]
14
2021-05-07T17:23:04.000Z
2022-03-27T20:01:05.000Z
from modules.box__default.auth.forms import LoginForm from modules.box__default.auth.forms import RegisterCustomerForm def get_auth_login_form(): return LoginForm() def get_auth_register_customer_form(): return RegisterCustomerForm() available_everywhere = { "get_auth_login_form": get_auth_login_form, ...
24.5625
70
0.819338
51
393
5.803922
0.352941
0.141892
0.121622
0.162162
0.625
0.533784
0.243243
0
0
0
0
0
0.114504
393
15
71
26.2
0.850575
0
0
0
0
0
0.127226
0.07888
0
0
0
0
0
1
0.2
false
0
0.2
0.2
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
0
0
0
0
1
1
0
0
3
34fd8829deddf860e023eb042117e276d24e71b2
249
py
Python
python-exercises-for-beginners/024.py
pgThiago/Learning-Python
53544c5f7f36f858c00c67470cf12daf0227b726
[ "MIT" ]
2
2020-06-08T07:50:23.000Z
2020-06-12T09:24:21.000Z
python-exercises-for-beginners/024.py
pgThiago/Learning-Python
53544c5f7f36f858c00c67470cf12daf0227b726
[ "MIT" ]
null
null
null
python-exercises-for-beginners/024.py
pgThiago/Learning-Python
53544c5f7f36f858c00c67470cf12daf0227b726
[ "MIT" ]
null
null
null
# Faça um programa que leia o nome de uma cidade e diga se ela começa ou não com nome "SANTO". cidade = str(input("Qual o nome da sua cidade? ")).upper().strip().split() print(f"A sua cidade começa com a palavra 'SANTO'? {'SANTO' in cidade[0:5]}")
49.8
94
0.690763
47
249
3.659574
0.723404
0.05814
0
0
0
0
0
0
0
0
0
0.009662
0.168675
249
4
95
62.25
0.821256
0.369478
0
0
0
0
0.606452
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5502129dc950c381066018893bce28ead4691487
457
py
Python
main.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
null
null
null
main.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
1
2020-04-25T05:48:45.000Z
2020-04-27T00:23:46.000Z
main.py
jonny21099/path-find
b409905e0c8c0d1615d00e22188d056dd696ba8b
[ "Apache-2.0" ]
null
null
null
# Using 0 to represent empty spaces, 1 to represent the starting marker, # 2 to represent the end marker and 3 to represent any obstacles from src.process_input import driver test_array = [[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0], [0, 1, 0, 3, 0, 2, 0], [0, 0, 0, 3, 0, ...
22.85
73
0.533917
90
457
2.588889
0.311111
0.274678
0.321888
0.309013
0.188841
0.188841
0.188841
0.188841
0.188841
0.171674
0
0.162577
0.286652
457
20
74
22.85
0.552147
0.293217
0
0.307692
0
0
0.024922
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.153846
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
55086134a31ca590623086629457dd771d5ca3d3
197
py
Python
mongoset/__init__.py
InnovativeInventor/mongoset
fcba40b6f3532cbd04296955fd893f56be5af6ab
[ "MIT" ]
1
2020-08-15T00:22:28.000Z
2020-08-15T00:22:28.000Z
mongoset/__init__.py
InnovativeInventor/mongoset
fcba40b6f3532cbd04296955fd893f56be5af6ab
[ "MIT" ]
null
null
null
mongoset/__init__.py
InnovativeInventor/mongoset
fcba40b6f3532cbd04296955fd893f56be5af6ab
[ "MIT" ]
2
2020-07-25T17:36:58.000Z
2022-01-21T19:41:30.000Z
from mongoset.database import Database __version__ = "0.1.0" def connect( uri: str = "mongodb://127.0.0.1:27017/", db_name: str = "database" ) -> Database: return Database(uri, db_name)
19.7
70
0.670051
29
197
4.344828
0.586207
0.031746
0
0
0
0
0
0
0
0
0
0.08589
0.172589
197
9
71
21.888889
0.687117
0
0
0
0
0
0.19797
0.13198
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
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
0
1
0
0
0
3
5521f673be35c3e4c0b36f0efed76f480c720949
514
py
Python
openwatch/blog/feeds.py
Miserlou/OpenWatch
874b03b0f2f7be58bbd35e1515f53a24d6a68116
[ "Apache-2.0" ]
2
2015-03-01T18:33:30.000Z
2015-11-08T16:10:13.000Z
openwatch/blog/feeds.py
Miserlou/OpenWatch
874b03b0f2f7be58bbd35e1515f53a24d6a68116
[ "Apache-2.0" ]
null
null
null
openwatch/blog/feeds.py
Miserlou/OpenWatch
874b03b0f2f7be58bbd35e1515f53a24d6a68116
[ "Apache-2.0" ]
null
null
null
from django.contrib.syndication.views import Feed from openwatch.blog.models import Post from openwatch.recordings.models import Recording, RecordingForm, RecordingNoCaptchaForm class LatestEntriesFeed(Feed): title = "OpenWatch Blog" link = "/blog/" description = "News and Reports from OpenWatch.net" ...
27.052632
88
0.717899
62
514
5.903226
0.564516
0.106557
0.076503
0.098361
0
0
0
0
0
0
0
0
0.190661
514
18
89
28.555556
0.879808
0
0
0
0
0
0.116732
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.230769
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
9b4432fb9945963b60a373bef28a0f58e7e04036
85
py
Python
ppdds/apps.py
banillie/project_tracker
1076b04a8ca6cb0205d8775a7b1e15e225b62a92
[ "MIT" ]
null
null
null
ppdds/apps.py
banillie/project_tracker
1076b04a8ca6cb0205d8775a7b1e15e225b62a92
[ "MIT" ]
35
2021-09-24T15:02:21.000Z
2022-03-28T14:00:26.000Z
ppdds/apps.py
banillie/project_tracker
1076b04a8ca6cb0205d8775a7b1e15e225b62a92
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PpddsConfig(AppConfig): name = 'ppdds'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
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
9b48307e57909c8052469f817445ab629dc7bba5
328
py
Python
ypologismos_katathesis_stin_trapeza.py
bilakos26/Python-Test-Projects
54f79bac08dd6a7f49485444c1944ba8de6376e2
[ "Apache-2.0" ]
null
null
null
ypologismos_katathesis_stin_trapeza.py
bilakos26/Python-Test-Projects
54f79bac08dd6a7f49485444c1944ba8de6376e2
[ "Apache-2.0" ]
null
null
null
ypologismos_katathesis_stin_trapeza.py
bilakos26/Python-Test-Projects
54f79bac08dd6a7f49485444c1944ba8de6376e2
[ "Apache-2.0" ]
null
null
null
F = float(input("Δώσε το επιθυμητό μελλοντικό ποσό:")) r = float(input("Δώσε το ετήσιο επιτόκιο:")) n = float(input("""Δώσε το πλήθος των ετών που θα παραμείνουν τα χρήματα στον λογαριασμό σου:""")) p = float(F / ((1+r)**n)) print("Αυτό είναι το ποσό που πρέπει να κατατεθεί σήμερα: €", format(p, ",.2f"), s...
41
78
0.643293
52
328
4.076923
0.692308
0.141509
0.198113
0.226415
0
0
0
0
0
0
0
0.007463
0.182927
328
7
79
46.857143
0.779851
0
0
0
0
0
0.588785
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
9b5fbce0f2af409fb97385fbf3a450d5d0c2733b
660
py
Python
examples/load_and_verify.py
arturo182/pypicotool
d7db7eb1f9f0971998074c2d1fd8e0db5e88051c
[ "MIT" ]
1
2021-06-07T09:54:26.000Z
2021-06-07T09:54:26.000Z
examples/load_and_verify.py
arturo182/pypicotool
d7db7eb1f9f0971998074c2d1fd8e0db5e88051c
[ "MIT" ]
null
null
null
examples/load_and_verify.py
arturo182/pypicotool
d7db7eb1f9f0971998074c2d1fd8e0db5e88051c
[ "MIT" ]
null
null
null
from picotool import load, verify # you can just load a file: print(load('/home/your/path/here.uf2')) # or you can load and verify: print(load('/home/your/path/here.elf', verify=True)) # you can also have a progress callback: def progress_callback(progress, is_verify): print('%s Progress: %d%%' % ('Verify' if i...
31.428571
125
0.716667
107
660
4.373832
0.429907
0.08547
0.128205
0.17094
0.267094
0.226496
0.119658
0
0
0
0
0.03259
0.116667
660
20
126
33
0.770154
0
0
0
0
0
0.307241
0.234834
0
0
0.019569
0
0
0
null
null
0
0.125
null
null
0.75
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
1
0
0
0
0
0
0
1
0
3
9b6d06b4437e82815581839fef22a6d40dca7aa8
30
py
Python
scripts/processing/__init__.py
Rfam/rfam-production
36f3963380da2a08e9cf73c951691c4e95738ac4
[ "Apache-2.0" ]
7
2016-06-17T09:21:11.000Z
2021-10-13T20:25:06.000Z
scripts/processing/__init__.py
mb1069/rfam-production
10c76e249dc22d30862b3a873fd54f390e859ad8
[ "Apache-2.0" ]
82
2016-04-08T10:51:32.000Z
2022-03-11T13:49:18.000Z
scripts/processing/__init__.py
mb1069/rfam-production
10c76e249dc22d30862b3a873fd54f390e859ad8
[ "Apache-2.0" ]
3
2019-09-01T09:46:35.000Z
2021-11-29T08:01:58.000Z
__all__ = ['clan_competition']
30
30
0.766667
3
30
6
1
0
0
0
0
0
0
0
0
0
0
0
0.066667
30
1
30
30
0.642857
0
0
0
0
0
0.516129
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
9b71fef09ec31c15febda285515b6d7c29bf5093
252
py
Python
src/cogs/admin.py
Zawaken/zawoke
5b718fd5f36747cec43bd7eecbf23760d54cdf7f
[ "MIT" ]
null
null
null
src/cogs/admin.py
Zawaken/zawoke
5b718fd5f36747cec43bd7eecbf23760d54cdf7f
[ "MIT" ]
null
null
null
src/cogs/admin.py
Zawaken/zawoke
5b718fd5f36747cec43bd7eecbf23760d54cdf7f
[ "MIT" ]
null
null
null
import asyncio import config as c import discord from discord.ext import commands class AdminCog(commands.Cog, name="admin"): """ Commands """ def __init__(self, bot): self.bot = bot def setup(bot): bot.add_cog(AdminCog(bot))
14.823529
43
0.674603
35
252
4.714286
0.571429
0.084848
0
0
0
0
0
0
0
0
0
0
0.210317
252
16
44
15.75
0.829146
0.031746
0
0
0
0
0.021186
0
0
0
0
0
0
1
0.222222
false
0
0.444444
0
0.777778
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
9b8644e6766efb89ca4276558453dab0ed14ad7e
380
py
Python
method_of_moments/discrete/__init__.py
AlbertFarkhutdinov/method_of_moments
0a69c63197d7f88a3b57356620b4d84e76543177
[ "MIT" ]
null
null
null
method_of_moments/discrete/__init__.py
AlbertFarkhutdinov/method_of_moments
0a69c63197d7f88a3b57356620b4d84e76543177
[ "MIT" ]
null
null
null
method_of_moments/discrete/__init__.py
AlbertFarkhutdinov/method_of_moments
0a69c63197d7f88a3b57356620b4d84e76543177
[ "MIT" ]
null
null
null
""" This package contains description of classes for discrete probability distributions initialized with mean and variance. """ from .bernoulli import Bernoulli from .generalized_poisson import GPD from .hypergeometric import HGD from .negative_binomial import NBD from .poisson import Poisson from .quasigeometric im...
25.333333
74
0.836842
48
380
6.520833
0.645833
0.083067
0.140575
0
0
0
0
0
0
0
0
0
0.126316
380
14
75
27.142857
0.942771
0.313158
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
9ba272f90a6876cd9892e52ae95395a2c9207f15
1,944
py
Python
backend/myapi/serializers.py
boshanxiang/bernoulli_backend
d446a33014d7bd9b5232a921edfd377d05fe0121
[ "MIT" ]
null
null
null
backend/myapi/serializers.py
boshanxiang/bernoulli_backend
d446a33014d7bd9b5232a921edfd377d05fe0121
[ "MIT" ]
null
null
null
backend/myapi/serializers.py
boshanxiang/bernoulli_backend
d446a33014d7bd9b5232a921edfd377d05fe0121
[ "MIT" ]
null
null
null
#serializers.py from rest_framework import serializers from .models import NaturalPerson, LegalEntity, EquityClass, EquityToken, EmploymentRelation, OfficerRelation, DirectorRelation class NaturalPersonSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = NaturalPerson fields = ...
47.414634
167
0.740741
175
1,944
7.982857
0.377143
0.185397
0.210451
0.230494
0.474588
0.15247
0.120258
0.068719
0
0
0
0
0.144033
1,944
40
168
48.6
0.839543
0.007202
0
0.233333
0
0
0.304303
0.045101
0
0
0
0
0
1
0
false
0
0.066667
0
0.533333
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
9bad603ddc92b0b45121cc744ef5c32e60312d32
620
py
Python
src/domain/Submittion/usecase/submittion_interactor.py
fossabot/daizu-online-judge-backend
34e8ad4fe99374056046cf400d038423db12549c
[ "MIT" ]
null
null
null
src/domain/Submittion/usecase/submittion_interactor.py
fossabot/daizu-online-judge-backend
34e8ad4fe99374056046cf400d038423db12549c
[ "MIT" ]
null
null
null
src/domain/Submittion/usecase/submittion_interactor.py
fossabot/daizu-online-judge-backend
34e8ad4fe99374056046cf400d038423db12549c
[ "MIT" ]
null
null
null
from typing import List from domain.Submittion.usecase.submittion_repository import SubmittionRepository from domain.Submittion.submittion import Submittion class SubmittionInteractor: def __init__(self, repository: SubmittionRepository): self.repository = repository def submit(self, submittion: Sub...
32.631579
80
0.762903
69
620
6.681159
0.362319
0.151844
0.130152
0.130152
0.147505
0
0
0
0
0
0
0
0.159677
620
18
81
34.444444
0.884837
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.25
0.25
0.916667
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
9bbe9c09ed6c36c48eba68b9b8e9a80b95463cbb
278
py
Python
idioms_examples/staticmethod/staticmethodDec.py
jjmerchante/Pythonic-webserver
b57fe35975b60d7fe8d04d63094068e54d9e3ee8
[ "Apache-2.0" ]
3
2017-11-06T14:00:30.000Z
2018-04-07T08:02:40.000Z
idioms_examples/staticmethod/staticmethodDec.py
jjmerchante/Pythonic-webserver
b57fe35975b60d7fe8d04d63094068e54d9e3ee8
[ "Apache-2.0" ]
null
null
null
idioms_examples/staticmethod/staticmethodDec.py
jjmerchante/Pythonic-webserver
b57fe35975b60d7fe8d04d63094068e54d9e3ee8
[ "Apache-2.0" ]
null
null
null
class A(object): def foo(self): return "I am a method of A's instance :)" @staticmethod def static_foo(): return "I am a static_method, I don't know about the class :)" print(A.static_foo()) # I am a static_method, I don't know about the class :)
25.272727
77
0.629496
48
278
3.5625
0.4375
0.052632
0.070175
0.116959
0.444444
0.444444
0.444444
0.444444
0.444444
0.444444
0
0
0.258993
278
10
78
27.8
0.830097
0.190647
0
0
0
0
0.381166
0
0
0
0
0
0
1
0.285714
false
0
0
0.285714
0.714286
0.142857
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
9bc01601b42b2c94fe5768c1975b351daedaad13
6,145
py
Python
tests/test_stream_xep_0405.py
anirudhrata/slixmpp
1fcee0e80a212eeb274d2f560e69099d8a61bf7f
[ "BSD-3-Clause" ]
86
2016-07-04T13:26:02.000Z
2022-02-19T10:26:21.000Z
tests/test_stream_xep_0405.py
anirudhrata/slixmpp
1fcee0e80a212eeb274d2f560e69099d8a61bf7f
[ "BSD-3-Clause" ]
10
2016-09-30T18:55:41.000Z
2020-05-01T14:22:47.000Z
tests/test_stream_xep_0405.py
anirudhrata/slixmpp
1fcee0e80a212eeb274d2f560e69099d8a61bf7f
[ "BSD-3-Clause" ]
45
2016-09-30T18:48:41.000Z
2022-03-18T21:39:33.000Z
import unittest from slixmpp.test import SlixTest from slixmpp import JID class TestMIXPAM(SlixTest): def setUp(self): self.stream_start(plugins=['xep_0405']) def tearDown(self): self.stream_close() def testGetRosterEmpty(self): """Test requesting an empty annotated roster""" ...
33.763736
73
0.485761
627
6,145
4.727273
0.1563
0.063765
0.091093
0.075911
0.710864
0.683536
0.663968
0.663968
0.653846
0.653846
0
0.020097
0.360293
6,145
181
74
33.950276
0.73391
0.027665
0
0.732026
0
0
0.686166
0.270802
0
0
0
0
0.065359
1
0.045752
false
0
0.019608
0
0.071895
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
32e63d97298a55bd14069587c2f328937d083e83
2,838
py
Python
me_toolbox/fasteners/test_bolt.py
OmriStein/me-toolbox
254b11538fbf0243f36d5dd7dac28867f213797b
[ "MIT" ]
null
null
null
me_toolbox/fasteners/test_bolt.py
OmriStein/me-toolbox
254b11538fbf0243f36d5dd7dac28867f213797b
[ "MIT" ]
null
null
null
me_toolbox/fasteners/test_bolt.py
OmriStein/me-toolbox
254b11538fbf0243f36d5dd7dac28867f213797b
[ "MIT" ]
null
null
null
from unittest import TestCase from math import pi, sqrt from me_toolbox.fasteners import MetricBolt, UNBolt class TestThreadedFastener(TestCase): def setUp(self): self.metric_bolt = MetricBolt(10, 1.5, 20, '8.8') self.un_bolt = UNBolt(3 / 8, 24, True, 3, True, 1, '1') def test_height(self):...
46.52459
97
0.662438
362
2,838
4.961326
0.151934
0.122494
0.171492
0.16147
0.671492
0.496659
0.355234
0.086303
0.086303
0.057906
0
0.052632
0.236786
2,838
60
98
47.3
0.776547
0
0
0
0
0
0.001409
0
0
0
0
0
0.434783
1
0.23913
false
0
0.065217
0
0.326087
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
fd3fb0434aff6ae384efd174c65c85950aaa9391
2,544
py
Python
file/board.py
guisolski/checkersGame
c69cb761994ab5a9275cd02cf65f1c90e1341f9d
[ "MIT" ]
2
2020-04-17T22:32:15.000Z
2020-06-28T13:06:46.000Z
file/board.py
guisolski/checkersGame
c69cb761994ab5a9275cd02cf65f1c90e1341f9d
[ "MIT" ]
null
null
null
file/board.py
guisolski/checkersGame
c69cb761994ab5a9275cd02cf65f1c90e1341f9d
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- #Class define one board #------------------------------------------------------------------------------- class Board(): #--------------------------------------------------------------------------- #Contructor of class #--------...
48.923077
94
0.294418
191
2,544
3.717277
0.39267
0.114085
0.06338
0.022535
0.078873
0.047887
0
0
0
0
0
0.003925
0.198899
2,544
52
95
48.923077
0.344455
0.514937
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0
0.136364
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
fd58a175d094560922b79ae525a3061b0d238083
336
py
Python
pyperf/tests/mult_list_bench.py
brandtbucher/pyperf
f6f16066dd07c3980a44aae6db020ac27890f995
[ "MIT" ]
225
2020-05-07T23:06:35.000Z
2022-03-29T02:52:07.000Z
pyperf/tests/mult_list_bench.py
brandtbucher/pyperf
f6f16066dd07c3980a44aae6db020ac27890f995
[ "MIT" ]
43
2020-05-07T21:28:01.000Z
2022-03-18T10:43:35.000Z
pyperf/tests/mult_list_bench.py
brandtbucher/pyperf
f6f16066dd07c3980a44aae6db020ac27890f995
[ "MIT" ]
25
2020-05-07T21:06:59.000Z
2022-03-15T22:04:53.000Z
#!/usr/bin/env python3 import pyperf runner = pyperf.Runner() runner.timeit("[1]*1000", stmt="[1]*1000", duplicate=1024) runner.timeit("[1,2]*1000", stmt="[1,2]*1000", duplicate=1024) runner.timeit("[1,2,3]*1000", stmt="[1,2,3]*1000", ...
24
34
0.502976
42
336
4.02381
0.357143
0.047337
0.230769
0.272189
0.366864
0.366864
0.366864
0
0
0
0
0.208511
0.300595
336
13
35
25.846154
0.510638
0.0625
0
0.272727
0
0
0.191083
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
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
b5c73c171a500d0d284de10ddc1eec09b9fea3d7
1,505
py
Python
mamphi-admin/admin/data.py
ngninbo/mamphi-administration
8b6e16f6e054e4ed7d9ac7bd99ae413cdd7a007a
[ "Apache-2.0" ]
null
null
null
mamphi-admin/admin/data.py
ngninbo/mamphi-administration
8b6e16f6e054e4ed7d9ac7bd99ae413cdd7a007a
[ "Apache-2.0" ]
null
null
null
mamphi-admin/admin/data.py
ngninbo/mamphi-administration
8b6e16f6e054e4ed7d9ac7bd99ae413cdd7a007a
[ "Apache-2.0" ]
null
null
null
import argparse from admin.mamphi import Mamphi def populate_data(path_to_center_sheet, path_to_consent_sheet, path_to_rand_w1_sheet, path_to_rand_w2_sheet, db_filename): mamphi = Mamphi(path_to_center_sheet=path_to_center_sheet, path_to_consent_sheet=path_to_consent_sheet, ...
37.625
109
0.768106
229
1,505
4.41048
0.144105
0.190099
0.217822
0.178218
0.775248
0.710891
0.607921
0.517822
0.449505
0.414851
0
0.014241
0.160133
1,505
39
110
38.589744
0.78481
0
0
0.137931
0
0
0.074419
0.060465
0
0
0
0
0
1
0.068966
false
0
0.068966
0
0.137931
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5cbd103d3d1278ea7f5a0e3d003389d44bdcbdd
116
py
Python
__main__.py
jirehbak/subway-place
0f77b74febe56cc3a17800f5aea410e5e6178b2d
[ "MIT" ]
null
null
null
__main__.py
jirehbak/subway-place
0f77b74febe56cc3a17800f5aea410e5e6178b2d
[ "MIT" ]
null
null
null
__main__.py
jirehbak/subway-place
0f77b74febe56cc3a17800f5aea410e5e6178b2d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Apr 19 11:06:35 2020 @author: jireh.park """ ##
11.6
35
0.586207
19
116
3.578947
1
0
0
0
0
0
0
0
0
0
0
0.147368
0.181034
116
10
36
11.6
0.568421
0.862069
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
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
0
0
0
0
0
3
b5e02160739a6d355796a7ca9dd814d5c0ea4dab
407
py
Python
pros/serializer.py
DK-denno/awwards
af20f2da2bccf066a4da3fb4aa67ad839bae2af9
[ "MIT" ]
null
null
null
pros/serializer.py
DK-denno/awwards
af20f2da2bccf066a4da3fb4aa67ad839bae2af9
[ "MIT" ]
null
null
null
pros/serializer.py
DK-denno/awwards
af20f2da2bccf066a4da3fb4aa67ad839bae2af9
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Posts,Profile class PostsSerializer(serializers.ModelSerializer): class Meta: model = Posts fields = ['id','user','name','link','image1','image2','image3','video','postedon'] class ProfileSerializer(serializers.ModelSerializer): class...
31.307692
90
0.68059
43
407
6.395349
0.651163
0.189091
0.225455
0.254545
0.290909
0
0
0
0
0
0
0.008902
0.17199
407
13
91
31.307692
0.807122
0
0
0.2
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
b5f0076b0e88e5efc8bc2096f87f5c45c05d5fd5
13,670
py
Python
perf_dashboard/benchmarks/views.py
douglas-reid/tools
f482d88407f263426fcb8bac7d412e3b9545b97a
[ "Apache-2.0" ]
null
null
null
perf_dashboard/benchmarks/views.py
douglas-reid/tools
f482d88407f263426fcb8bac7d412e3b9545b97a
[ "Apache-2.0" ]
null
null
null
perf_dashboard/benchmarks/views.py
douglas-reid/tools
f482d88407f263426fcb8bac7d412e3b9545b97a
[ "Apache-2.0" ]
null
null
null
# Copyright Istio Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
56.255144
107
0.735406
1,874
13,670
4.796692
0.091782
0.068528
0.073089
0.081322
0.866504
0.81978
0.778507
0.632662
0.560129
0.473801
0
0.041681
0.176884
13,670
242
108
56.487603
0.757199
0.057352
0
0.108247
0
0
0.276353
0.15213
0
0
0
0
0
1
0.041237
false
0
0.015464
0.010309
0.092784
0.020619
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
b5f395a9fc25a5c4374220e2dfbdda2166289d28
207
py
Python
.vscode/GYRO_TEST.py
botechat/Robocup-Line-Follower
9149426c8590c00e447bcd9e89b8e6e1585f522a
[ "MIT" ]
null
null
null
.vscode/GYRO_TEST.py
botechat/Robocup-Line-Follower
9149426c8590c00e447bcd9e89b8e6e1585f522a
[ "MIT" ]
null
null
null
.vscode/GYRO_TEST.py
botechat/Robocup-Line-Follower
9149426c8590c00e447bcd9e89b8e6e1585f522a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # coding: utf-8 import ev3dev.ev3 as ev3 #from multiprocessing import Process from time import sleep from time import time gyro = ev3.GyroSensor('in1','GYRO-ANG') print(gyro.value())
20.7
39
0.753623
33
207
4.727273
0.666667
0.102564
0.179487
0
0
0
0
0
0
0
0
0.038674
0.125604
207
9
40
23
0.823204
0.338164
0
0
0
0
0.08209
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0.2
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
b5f92ccbed2f22f04a49d4ba88ddaef5a0e4591c
2,205
py
Python
capybara/tests/session/test_has_none_of_selectors.py
dwt/capybara.py
eafd9ac50d02e8b57ef90d767493c8fa2be0739a
[ "MIT" ]
null
null
null
capybara/tests/session/test_has_none_of_selectors.py
dwt/capybara.py
eafd9ac50d02e8b57ef90d767493c8fa2be0739a
[ "MIT" ]
null
null
null
capybara/tests/session/test_has_none_of_selectors.py
dwt/capybara.py
eafd9ac50d02e8b57ef90d767493c8fa2be0739a
[ "MIT" ]
null
null
null
import pytest import re import capybara class TestHaveNoneOfSelectors: @pytest.fixture(autouse=True) def setup_session(self, session): session.visit("/with_html") def test_is_false_if_any_of_the_given_locators_are_on_the_page(self, session): assert session.has_none_of_selectors("xpath", ...
45
97
0.699773
324
2,205
4.398148
0.290123
0.067368
0.094737
0.189474
0.553684
0.46807
0.46807
0.378947
0.309474
0.215439
0
0.001624
0.162358
2,205
48
98
45.9375
0.769897
0
0
0
0
0
0.134694
0
0
0
0
0
0.405405
1
0.243243
false
0
0.081081
0
0.351351
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
bd0540f25251ce38c1df3fcedc820933983debe5
199
py
Python
bangumi/items/bangumi_id.py
DaivdYuan/bangumi-spider
de59cfe4eca7789644ce5eb591f1b57c01543aee
[ "MIT" ]
null
null
null
bangumi/items/bangumi_id.py
DaivdYuan/bangumi-spider
de59cfe4eca7789644ce5eb591f1b57c01543aee
[ "MIT" ]
null
null
null
bangumi/items/bangumi_id.py
DaivdYuan/bangumi-spider
de59cfe4eca7789644ce5eb591f1b57c01543aee
[ "MIT" ]
null
null
null
import scrapy class BangumiIDItem(scrapy.Item): # subject id sid = scrapy.Field() # type of subject type = scrapy.Field() # 原名 name = scrapy.Field() # 中文名 (没有就是原名) name_cn = scrapy.Field()
15.307692
33
0.678392
27
199
4.962963
0.592593
0.328358
0
0
0
0
0
0
0
0
0
0
0.190955
199
12
34
16.583333
0.832298
0.211055
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
bd1e78c44a1aa2cda60771479c41283dbe678e92
220
py
Python
proy_debugtoolbar/almacen/urls.py
wzorroman/django_toolbar
163e6b2d2051784b2ee6effbb073922493981c54
[ "CC0-1.0" ]
null
null
null
proy_debugtoolbar/almacen/urls.py
wzorroman/django_toolbar
163e6b2d2051784b2ee6effbb073922493981c54
[ "CC0-1.0" ]
6
2021-03-19T02:32:52.000Z
2021-09-22T18:57:14.000Z
proy_debugtoolbar/almacen/urls.py
wzorroman/django_toolbar
163e6b2d2051784b2ee6effbb073922493981c54
[ "CC0-1.0" ]
null
null
null
from django.urls import path from . import views from almacen import views as view_almacen urlpatterns = [ path('', view_almacen.index, name='index'), path('prueba/', view_almacen.EjemploView.as_view()), ]
22
56
0.709091
29
220
5.241379
0.482759
0.217105
0
0
0
0
0
0
0
0
0
0
0.168182
220
10
57
22
0.830601
0
0
0
0
0
0.054299
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bd2c5dc744eaee68ab5884990620e84b97634cd3
716
py
Python
repositories/models.py
MaryCaroline/repositoriesfeed
164621c1008a29c966f5435ad2b01ca126011b46
[ "MIT" ]
null
null
null
repositories/models.py
MaryCaroline/repositoriesfeed
164621c1008a29c966f5435ad2b01ca126011b46
[ "MIT" ]
2
2020-06-05T20:20:55.000Z
2021-06-10T21:17:47.000Z
repositories/models.py
MaryCaroline/repositoriesfeed
164621c1008a29c966f5435ad2b01ca126011b46
[ "MIT" ]
null
null
null
from django.db import models from users.models import User # Create your models here. class Repository(models.Model): name = models.CharField(max_length=100) description = models.CharField(blank=True, null=True, max_length=255) owner = models.CharField(max_length=50) user = models.ForeignKey(User, on...
27.538462
73
0.727654
93
716
5.430108
0.419355
0.178218
0.178218
0.237624
0.233663
0
0
0
0
0
0
0.025295
0.171788
716
25
74
28.64
0.826307
0.03352
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0.117647
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
bd3f1ec6d06a94111acb98a09be43bc90feaddcc
42,343
py
Python
tests/asp/weakConstraints/adf.8.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/asp/weakConstraints/adf.8.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/asp/weakConstraints/adf.8.gringo.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ 1 2 0 0 1 3 0 0 1 4 0 0 1 5 0 0 1 6 0 0 1 7 0 0 1 8 0 0 1 9 0 0 1 10 0 0 1 11 0 0 1 12 0 0 1 13 0 0 1 14 0 0 1 15 0 0 1 16 0 0 1 17 0 0 1 18 0 0 1 19 0 0 1 20 0 0 1 21 0 0 1 22 0 0 1 23 0 0 1 24 0 0 1 25 0 0 1 26 0 0 1 27 0 0 1 28 0 0 1 29 0 0 1 30 0 0 1 31 0 0 1 32 0 0 1 33 0 0 1 34 0 0 1 35 0 0 1 36 0 0 1...
17.843658
61
0.649978
12,855
42,343
2.140957
0.079813
0.054575
0.027251
0.020347
0.26328
0.159618
0.135928
0.116307
0.071797
0.046617
0
0.587546
0.227806
42,343
2,372
62
17.85118
0.254182
0
0
0.000843
0
0.033305
0.999268
0.196372
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
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd4db9351afac90342fcb7492cc7ee3a0f7dc006
747
gyp
Python
binding.gyp
searene/my-vocabulary
3ffbd2aab8b754f8ca2544933f185db22a93e75d
[ "MIT" ]
null
null
null
binding.gyp
searene/my-vocabulary
3ffbd2aab8b754f8ca2544933f185db22a93e75d
[ "MIT" ]
10
2020-09-20T10:48:48.000Z
2022-03-25T19:09:07.000Z
binding.gyp
searene/my-vocabulary
3ffbd2aab8b754f8ca2544933f185db22a93e75d
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "DictParser", "sources": [ "src/cpp/DictParser.cpp" ], "link_settings": { "libraries": [ "-L/home/searene/CLionProjects/DictParser/build", "-Wl,-rpath=/home/searene/CLionProjects/DictParser/build" ] }, "libraries":...
27.666667
75
0.546185
63
747
6.396825
0.603175
0.136476
0.297767
0.421836
0.416873
0
0
0
0
0
0
0.009208
0.273092
747
27
76
27.666667
0.732965
0
0
0.185185
0
0
0.593583
0.395722
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
0
0
3
bd4f1773ba4c9ec73e84fa83bb4f8b5f56e12a45
898
py
Python
house/helpers.py
shlior7/Xpense
143cd517fb01bbbe44a95b5889ca4be739281e8c
[ "MIT" ]
7
2022-03-02T15:25:08.000Z
2022-03-24T09:45:40.000Z
house/helpers.py
shlior7/Xpense
143cd517fb01bbbe44a95b5889ca4be739281e8c
[ "MIT" ]
40
2022-03-01T22:28:30.000Z
2022-03-31T14:24:14.000Z
house/helpers.py
shlior7/Xpense
143cd517fb01bbbe44a95b5889ca4be739281e8c
[ "MIT" ]
9
2022-03-01T21:28:44.000Z
2022-03-26T14:40:09.000Z
from django.db.models import QuerySet, Q from house.models import House def _filter_houses_by_form(form_data: dict, filtered_houses: QuerySet[House]) -> QuerySet[House]: filtered_houses = filtered_houses.filter(public=True) for key, value in form_data.items(): if value is not None and value != '': ...
47.263158
117
0.680401
112
898
5.151786
0.357143
0.291161
0.190641
0.242634
0.336222
0.159445
0.159445
0
0
0
0
0.005747
0.224944
898
18
118
49.888889
0.823276
0
0
0
0
0
0.083519
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.266667
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
1fb6b68a4311abbb1e8bdda8cee08a6eb5f3e6c9
211
py
Python
Dataset/Leetcode/valid/136/307.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/136/307.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/136/307.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def singleNumber(self, nums: List[int]) -> int: nums.sort() while len(nums) > 1 and nums[0] == nums[1]: nums = nums[2:] else: return nums[0]
23.444444
51
0.492891
27
211
3.851852
0.62963
0.096154
0
0
0
0
0
0
0
0
0
0.037313
0.364929
211
8
52
26.375
0.738806
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
1fde378eac2a53cbf7f8bb6c292bc0361cfd78a8
205
py
Python
sardine/cli/commands/stack_specific.py
JavierLuna/sardine
5f1348752ac7db601eb2ddc6ff6106bcf9d6d0ec
[ "MIT" ]
null
null
null
sardine/cli/commands/stack_specific.py
JavierLuna/sardine
5f1348752ac7db601eb2ddc6ff6106bcf9d6d0ec
[ "MIT" ]
null
null
null
sardine/cli/commands/stack_specific.py
JavierLuna/sardine
5f1348752ac7db601eb2ddc6ff6106bcf9d6d0ec
[ "MIT" ]
null
null
null
from sardine.cli.commands.base import BaseCommand class StackSpecificCommand(BaseCommand): @classmethod def attach_args(cls, arggroup): arggroup.add_argument("stack", help="Target stack")
29.285714
59
0.756098
23
205
6.652174
0.869565
0
0
0
0
0
0
0
0
0
0
0
0.146341
205
6
60
34.166667
0.874286
0
0
0
0
0
0.082927
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
1fe07c20db223b545ef9d2b555865427f3323a55
87
py
Python
HeadFirstPython/code/chapter4/setup.py
BlossomRain/Read
76332eac192b856090fac930cb0e8e8bd34d64c6
[ "Apache-2.0" ]
null
null
null
HeadFirstPython/code/chapter4/setup.py
BlossomRain/Read
76332eac192b856090fac930cb0e8e8bd34d64c6
[ "Apache-2.0" ]
null
null
null
HeadFirstPython/code/chapter4/setup.py
BlossomRain/Read
76332eac192b856090fac930cb0e8e8bd34d64c6
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name="funcTest", py_modules=["funcTest"] )
14.5
28
0.689655
10
87
5.9
0.8
0
0
0
0
0
0
0
0
0
0
0
0.183908
87
6
29
14.5
0.830986
0
0
0
0
0
0.181818
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
1fe60c0a8f918174e0b06749ceacf0faf176f68a
7,578
py
Python
bluebottle/bb_accounts/serializers.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
bluebottle/bb_accounts/serializers.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
bluebottle/bb_accounts/serializers.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
from django.conf import settings from django import forms from django.contrib.auth import get_user_model from rest_framework import serializers from bluebottle.bluebottle_drf2.serializers import ( SorlImageField, ImageSerializer, TaggableSerializerMixin, TagSerializer) from bluebottle.utils.serializers import URL...
43.302857
118
0.704276
900
7,578
5.743333
0.287778
0.015477
0.023215
0.028052
0.269298
0.231573
0.172954
0.166957
0.147611
0.147611
0
0.006084
0.197414
7,578
174
119
43.551724
0.843801
0.231328
0
0.247423
0
0
0.134497
0.003878
0
0
0
0.017241
0
1
0.072165
false
0.268041
0.072165
0
0.659794
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
1fe776ed8b7c4a6647587da08f3c0f673d585df9
21
py
Python
test/__init__.py
jzila/tsp
c34c573067bdc47563ba9d84b500521a64f44934
[ "Apache-2.0" ]
null
null
null
test/__init__.py
jzila/tsp
c34c573067bdc47563ba9d84b500521a64f44934
[ "Apache-2.0" ]
null
null
null
test/__init__.py
jzila/tsp
c34c573067bdc47563ba9d84b500521a64f44934
[ "Apache-2.0" ]
null
null
null
__author__ = 'jzila'
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
1ffb4f8ecd88b3182352407c49aab807df2d1359
211
py
Python
setup.py
hansfordj/MarkdownEmojiExtension
cda80016e9d4342c9b9aeed34a5a9caa3dec7fde
[ "MIT" ]
3
2018-06-20T19:47:13.000Z
2018-12-23T18:00:56.000Z
setup.py
hansfordj/MarkdownEmojiExtension
cda80016e9d4342c9b9aeed34a5a9caa3dec7fde
[ "MIT" ]
1
2018-06-22T18:15:41.000Z
2018-06-25T20:40:46.000Z
setup.py
hansfordj/MarkdownEmojiExtension
cda80016e9d4342c9b9aeed34a5a9caa3dec7fde
[ "MIT" ]
3
2019-11-29T16:18:21.000Z
2022-01-15T19:57:25.000Z
from setuptools import setup setup( name='emojiextension', description='Extension for displaying Emojis', version='1.1', py_modules=['emojiextension'], install_requires = ['markdown>=2.5'] )
23.444444
50
0.691943
23
211
6.26087
0.869565
0
0
0
0
0
0
0
0
0
0
0.022857
0.170616
211
9
51
23.444444
0.8
0
0
0
0
0
0.353774
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
1ffe772f6e39594b20e7fb74706f2aa5cc551841
260
py
Python
wedding_site/rsvp/admin.py
JeffBain/wedding-website
5af05376f76addc69e677fac41fb82946ae0a6cd
[ "MIT" ]
1
2016-04-01T07:25:42.000Z
2016-04-01T07:25:42.000Z
wedding_site/rsvp/admin.py
JeffBain/wedding-website
5af05376f76addc69e677fac41fb82946ae0a6cd
[ "MIT" ]
1
2018-12-07T19:50:48.000Z
2018-12-07T19:50:48.000Z
wedding_site/rsvp/admin.py
JeffBain/wedding-website
5af05376f76addc69e677fac41fb82946ae0a6cd
[ "MIT" ]
null
null
null
from django.contrib import admin from rsvp.models import Guest, Invitation, Meal class GuestAdmin(admin.ModelAdmin): list_display = ['__str__', 'attending'] admin.site.register(Guest, GuestAdmin) admin.site.register(Invitation) admin.site.register(Meal)
26
47
0.788462
33
260
6.060606
0.575758
0.135
0.255
0
0
0
0
0
0
0
0
0
0.1
260
9
48
28.888889
0.854701
0
0
0
0
0
0.061538
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
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
1
0
0
3
1fffb93c550817635ab0b939bcd675f996f96e0b
280
py
Python
charbon/constants/constants.py
GninninwokyOuattara/open-pharma
9d83f784558a7cd6ed5dc6d75454c9f655a79bd3
[ "MIT" ]
1
2022-02-27T17:03:47.000Z
2022-02-27T17:03:47.000Z
charbon/constants/constants.py
GninninwokyOuattara/open-pharma
9d83f784558a7cd6ed5dc6d75454c9f655a79bd3
[ "MIT" ]
null
null
null
charbon/constants/constants.py
GninninwokyOuattara/open-pharma
9d83f784558a7cd6ed5dc6d75454c9f655a79bd3
[ "MIT" ]
null
null
null
PHARMACIES_LIST_FILE_PATH = "./pharmacies_list.txt" PHARMACIES_DATAS_FILE_PATH = "./pharmacies_datas.json" FIREBASE_PHARMACIES_LIST = "pharmacies_list" FIREBASE_OPEN_PHARMACIES_ONLY = "open_pharmacies_only" FIREBASE_OPEN_PHARMA_PHARMACIES_STATES = "open_pharma_pharmacies_states"
46.666667
72
0.871429
35
280
6.314286
0.342857
0.253394
0.162896
0.235294
0
0
0
0
0
0
0
0
0.053571
280
6
72
46.666667
0.833962
0
0
0
0
0
0.384342
0.259786
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
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
0
0
0
0
0
3
951f4f01e0942e955a4b4cb3b8a0cae38a59195f
799
py
Python
venv/lib/python3.8/site-packages/PyInstaller/hooks/hook-numpy._pytesttester.py
avrumnoor/NewsSummarizer
a963497ef9bc62d2148aa28e624ea32955992f57
[ "MIT" ]
10
2021-09-15T16:29:59.000Z
2022-01-15T11:51:56.000Z
venv/lib/python3.8/site-packages/PyInstaller/hooks/hook-numpy._pytesttester.py
avrumnoor/NewsSummarizer
a963497ef9bc62d2148aa28e624ea32955992f57
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
venv/lib/python3.8/site-packages/PyInstaller/hooks/hook-numpy._pytesttester.py
avrumnoor/NewsSummarizer
a963497ef9bc62d2148aa28e624ea32955992f57
[ "MIT" ]
4
2018-06-04T20:40:37.000Z
2020-10-13T22:38:40.000Z
# ----------------------------------------------------------------------------- # Copyright (c) 2013-2021, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License (version 2 # or later) with exception for distributing the bootloader. # # The full license is in the file COPYING.tx...
44.388889
79
0.619524
91
799
5.417582
0.736264
0.028398
0.044625
0
0
0
0
0
0
0
0
0.026912
0.116395
799
17
80
47
0.671388
0.924906
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
952b72c6de89d184ec898b17bf13632477e8a2f3
310
py
Python
tests/test_metadata.py
GabrielNicolasAvellaneda/airflow-declarative
f026d7c591087e1d57e2dd49aeae4eed22c20596
[ "Apache-2.0" ]
126
2017-07-27T16:19:56.000Z
2021-11-26T22:10:49.000Z
tests/test_metadata.py
GabrielNicolasAvellaneda/airflow-declarative
f026d7c591087e1d57e2dd49aeae4eed22c20596
[ "Apache-2.0" ]
26
2017-07-30T11:38:40.000Z
2021-09-11T15:24:04.000Z
tests/test_metadata.py
GabrielNicolasAvellaneda/airflow-declarative
f026d7c591087e1d57e2dd49aeae4eed22c20596
[ "Apache-2.0" ]
9
2018-04-03T22:07:35.000Z
2020-04-30T18:21:32.000Z
from pkg_resources import get_distribution def test_metadata(): metadata_name = "airflow-declarative" pkg = get_distribution(metadata_name) assert pkg.version assert pkg.project_name == metadata_name def test_package_import(): import airflow_declarative assert airflow_declarative
20.666667
44
0.774194
37
310
6.162162
0.432432
0.157895
0
0
0
0
0
0
0
0
0
0
0.170968
310
14
45
22.142857
0.88716
0
0
0
0
0
0.06129
0
0
0
0
0
0.333333
1
0.222222
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
20f95653f4dd320494685727a928a9f4242f887c
230
py
Python
scrapy_option/middlewares/spider_middlewares.py
xiangzaizi/option_project
2f3b2ead0861ee5afdb5cdeb4bb0aafa5d511af3
[ "MIT" ]
1
2018-08-14T11:53:11.000Z
2018-08-14T11:53:11.000Z
scrapy_option/middlewares/spider_middlewares.py
xiangzaizi/option_project
2f3b2ead0861ee5afdb5cdeb4bb0aafa5d511af3
[ "MIT" ]
null
null
null
scrapy_option/middlewares/spider_middlewares.py
xiangzaizi/option_project
2f3b2ead0861ee5afdb5cdeb4bb0aafa5d511af3
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- class SpiderMiddlewares(object): def process_request(self, request): print("在爬虫中间件中处理") return request def process_item(self, item): print("在爬虫中间件处理") return item
17.692308
39
0.608696
24
230
5.75
0.625
0.144928
0
0
0
0
0
0
0
0
0
0.005952
0.269565
230
12
40
19.166667
0.815476
0.086957
0
0
0
0
0.081731
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.714286
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3