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
2a7cc3a2ba45dcd79feceaaa86576ae6198b0caf
118
py
Python
Python/autori/autori.py
rvrheenen/OpenKattis
7fd59fcb54e86cdf10f56c580c218c62e584f391
[ "MIT" ]
12
2016-10-03T20:43:43.000Z
2021-06-12T17:18:42.000Z
Python/autori/autori.py
rvrheenen/OpenKattis
7fd59fcb54e86cdf10f56c580c218c62e584f391
[ "MIT" ]
null
null
null
Python/autori/autori.py
rvrheenen/OpenKattis
7fd59fcb54e86cdf10f56c580c218c62e584f391
[ "MIT" ]
10
2017-11-14T19:56:37.000Z
2021-02-02T07:39:57.000Z
line = input() abbr = line[0] for i in range(len(line)): if line[i] == "-": abbr += line[i+1] print(abbr)
16.857143
26
0.525424
20
118
3.1
0.6
0.258065
0
0
0
0
0
0
0
0
0
0.022727
0.254237
118
6
27
19.666667
0.681818
0
0
0
0
0
0.008475
0
0
0
0
0
0
1
0
false
0
0
0
0
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
2a7df1a1f3f69d0b66cc6a68a51f163e54917f1c
3,915
py
Python
covid_notebook/util/formatter.py
mtna/rds-python-examples
6cd52fe4ed1bc21acd591d575d0ea4a2dcd75d93
[ "Apache-2.0" ]
2
2020-05-15T18:11:04.000Z
2021-05-05T09:19:51.000Z
covid_notebook/util/formatter.py
mtna/rds-python-examples
6cd52fe4ed1bc21acd591d575d0ea4a2dcd75d93
[ "Apache-2.0" ]
null
null
null
covid_notebook/util/formatter.py
mtna/rds-python-examples
6cd52fe4ed1bc21acd591d575d0ea4a2dcd75d93
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed May 6 11:24:11 2020 provides formatting for COVID-19 Notebook @author: seanlucas """ def html_catalog(catalog): metadata = catalog.get_metadata() dataproduct_rows = '' for dataproduct in metadata['dataProducts']: dataproduct_rows ...
33.177966
93
0.558876
496
3,915
4.362903
0.159274
0.124769
0.194085
0.263401
0.677449
0.658503
0.658503
0.633549
0.621534
0.591959
0
0.018698
0.262324
3,915
118
94
33.177966
0.730609
0.036271
0
0.564356
0
0.19802
0.797875
0.30093
0
0
0
0
0
1
0.029703
false
0.009901
0
0
0.059406
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aa6be4e924d5f2831927b299450e4354fc451b2e
320
py
Python
krun_ext_graal_ce_hotspot.py
vext01/new_benchmarking_experiment
3c2d834b6cb555a1997bf0f0236d6947c6fa4697
[ "Apache-2.0", "MIT-0", "MIT" ]
1
2019-09-15T21:21:03.000Z
2019-09-15T21:21:03.000Z
krun_ext_graal_ce_hotspot.py
vext01/new_benchmarking_experiment
3c2d834b6cb555a1997bf0f0236d6947c6fa4697
[ "Apache-2.0", "MIT-0", "MIT" ]
9
2019-05-08T14:16:42.000Z
2019-12-09T10:56:45.000Z
krun_ext_graal_ce_hotspot.py
vext01/new_benchmarking_experiment
3c2d834b6cb555a1997bf0f0236d6947c6fa4697
[ "Apache-2.0", "MIT-0", "MIT" ]
2
2019-08-30T09:29:13.000Z
2019-11-20T20:59:09.000Z
#!/usr/bin/env python3 """ Graal CE (running the normal HotSpot compiler) script for use with Krun's ExternalSuiteVMDef. """ import sys from krun_ext_common import run, emit_process_exec_json _, benchmark, num_iters, param, instr = sys.argv emit_process_exec_json(run("graal-ce-hotspot", benchmark, int(num_iters)))
22.857143
74
0.775
49
320
4.836735
0.714286
0.059072
0.126582
0.160338
0
0
0
0
0
0
0
0.003546
0.11875
320
13
75
24.615385
0.836879
0.359375
0
0
0
0
0.081218
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
aa9d561fbe1b20f312f821da03f82c6947175010
86
py
Python
webu/auto/websocket.py
happyuc-project/webu.py
5a01124fc84d74df09a33d9dabe88b704cd5b6c6
[ "MIT" ]
null
null
null
webu/auto/websocket.py
happyuc-project/webu.py
5a01124fc84d74df09a33d9dabe88b704cd5b6c6
[ "MIT" ]
null
null
null
webu/auto/websocket.py
happyuc-project/webu.py
5a01124fc84d74df09a33d9dabe88b704cd5b6c6
[ "MIT" ]
null
null
null
from webu import ( Webu, WebsocketProvider, ) w3 = Webu(WebsocketProvider())
12.285714
30
0.674419
8
86
7.25
0.625
0.724138
0
0
0
0
0
0
0
0
0
0.014925
0.22093
86
6
31
14.333333
0.850746
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
aab648585ac526ae66daa1064ab201825f0e8da7
2,448
py
Python
chasscot/homepage/models.py
Chasscot-Doun/Chasscot
da46d29e38ef65b433a248397fd3f7ed6add3860
[ "MIT" ]
1
2021-05-10T18:37:54.000Z
2021-05-10T18:37:54.000Z
chasscot/homepage/models.py
Chasscot-Doun/Chasscot
da46d29e38ef65b433a248397fd3f7ed6add3860
[ "MIT" ]
null
null
null
chasscot/homepage/models.py
Chasscot-Doun/Chasscot
da46d29e38ef65b433a248397fd3f7ed6add3860
[ "MIT" ]
null
null
null
from django.db import models import datetime # Create your models here. class Produit(models.Model): nom_bouteille = models.CharField(max_length=40, default='') description_bouteille = models.CharField(max_length=500, default='') millésime = models.IntegerField(default=datetime.date.today().year) sais...
45.333333
83
0.751634
314
2,448
5.681529
0.283439
0.105942
0.201794
0.269058
0.67657
0.54204
0.377803
0.206278
0.206278
0.206278
0
0.027713
0.13031
2,448
54
84
45.333333
0.81024
0.035539
0
0.173913
0
0
0.016964
0
0
0
0
0
0
1
0
false
0
0.043478
0
1
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
aabef2629d07d7b18486ad3418d52659d4f00f13
153
py
Python
4.py
BarisTeksin/project-euler
38a368d66fdd3bdc1d977059ba966fb7c1dcdc39
[ "MIT" ]
4
2020-04-18T21:05:13.000Z
2020-04-26T15:39:14.000Z
4.py
BarisTeksin/project-euler
38a368d66fdd3bdc1d977059ba966fb7c1dcdc39
[ "MIT" ]
null
null
null
4.py
BarisTeksin/project-euler
38a368d66fdd3bdc1d977059ba966fb7c1dcdc39
[ "MIT" ]
null
null
null
high = 0 for x in range(100,1000): for y in range(100,1000): if str(x*y) == str(x*y)[::-1] and x*y>high: high = x*y print(high)
19.125
51
0.509804
31
153
2.516129
0.451613
0.102564
0.25641
0.358974
0
0
0
0
0
0
0
0.149533
0.300654
153
7
52
21.857143
0.579439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aad42316705611f0159a8c195377c4a50a574a93
369
py
Python
edu54book/propellerino.py
Clonexy700/edu54book
2a83f178947ddaf72ae6f94b502dfcf390ea9fe3
[ "Unlicense" ]
1
2019-12-24T08:44:32.000Z
2019-12-24T08:44:32.000Z
edu54book/propellerino.py
Clonexy700/edu54book
2a83f178947ddaf72ae6f94b502dfcf390ea9fe3
[ "Unlicense" ]
null
null
null
edu54book/propellerino.py
Clonexy700/edu54book
2a83f178947ddaf72ae6f94b502dfcf390ea9fe3
[ "Unlicense" ]
null
null
null
from tkinter import * root = Tk() c = Canvas(root, width=500, height=500, bg='white') c.pack() c.create_oval(225, 235, 275, 285, width=2) c.create_oval(200, 210, 300, 310, width=2) c.create_oval(225, 80, 275, 210, width=2) c.create_oval(225, 310, 275, 450, width=2) c.create_oval(60, 240, 200, 285, width=2) c.create_o...
26.357143
51
0.685637
72
369
3.430556
0.416667
0.17004
0.267206
0.263158
0.392713
0.323887
0
0
0
0
0
0.254658
0.127371
369
13
52
28.384615
0.512422
0
0
0
0
0
0.01355
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
2ad486eab3cc65ab2de10e2cdfe4c61e6463fcd8
1,147
py
Python
bspump/declarative/expression/value/eventexpr.py
chinese-soup/BitSwanPump
6ef71577cc1f166cff80876d28be37c791061bd2
[ "BSD-3-Clause" ]
1
2020-08-20T12:56:58.000Z
2020-08-20T12:56:58.000Z
bspump/declarative/expression/value/eventexpr.py
chinese-soup/BitSwanPump
6ef71577cc1f166cff80876d28be37c791061bd2
[ "BSD-3-Clause" ]
null
null
null
bspump/declarative/expression/value/eventexpr.py
chinese-soup/BitSwanPump
6ef71577cc1f166cff80876d28be37c791061bd2
[ "BSD-3-Clause" ]
null
null
null
from ...abc import Expression class EVENT(Expression): """ The current event. Usage: ``` !EVENT `` """ def __init__(self, app, *, value): super().__init__(app) assert(value == "") def __call__(self, context, event, *args, **kwargs): return event class KWARGS(Expression): """ The current kwargs. Usage...
15.092105
53
0.646033
140
1,147
4.864286
0.2
0.051395
0.080764
0.10279
0.64464
0.64464
0.64464
0.64464
0.599119
0.530103
0
0.001058
0.176112
1,147
75
54
15.293333
0.719577
0.135135
0
0.59375
0
0
0
0
0
0
0
0
0.125
1
0.3125
false
0
0.03125
0.15625
0.65625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2ae7f709e893ed3d1b2889a7294f6fa489eee7e1
804
py
Python
src/ci_workflow/ci_target.py
asifsmohammed/opensearch-build
f78859000d676d35c29b15e08bbf4310c4df05b9
[ "Apache-2.0" ]
1
2022-01-29T17:48:00.000Z
2022-01-29T17:48:00.000Z
src/ci_workflow/ci_target.py
asifsmohammed/opensearch-build
f78859000d676d35c29b15e08bbf4310c4df05b9
[ "Apache-2.0" ]
1
2022-02-07T23:43:53.000Z
2022-02-10T19:56:41.000Z
src/ci_workflow/ci_target.py
tianleh/opensearch-build
460ad6b978c034d1dac672766c8dff67f51e4cd7
[ "Apache-2.0" ]
null
null
null
# SPDX-License-Identifier: Apache-2.0 # # The OpenSearch Contributors require contributions made to # this file be licensed under the Apache-2.0 license or a # compatible open source license. class CiTarget: version: str name: str snapshot: bool def __init__(self, version: str, name: str, snapshot: b...
30.923077
99
0.674129
113
804
4.743363
0.477876
0.123134
0.029851
0.063433
0.205224
0.108209
0
0
0
0
0
0.019417
0.231343
804
25
100
32.16
0.847896
0.337065
0
0.142857
0
0
0.068441
0
0
0
0
0
0
1
0.214286
false
0
0
0.142857
0.642857
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
2d4b25a72de45e992d60306dcfdbf1aa7077cbcd
1,474
py
Python
models.py
YazdanRa/gifoolak
c383ad095a2207f29a2f11d56da9aa7be289b67c
[ "MIT" ]
null
null
null
models.py
YazdanRa/gifoolak
c383ad095a2207f29a2f11d56da9aa7be289b67c
[ "MIT" ]
null
null
null
models.py
YazdanRa/gifoolak
c383ad095a2207f29a2f11d56da9aa7be289b67c
[ "MIT" ]
null
null
null
from datetime import datetime from peewee import * from playhouse.sqlite_ext import JSONField database = SqliteDatabase(None) class BaseModel(Model): id = PrimaryKeyField() created_at = TimestampField(constraints=[SQL('DEFAULT CURRENT_TIMESTAMP')]) updated_at = TimestampField(constraints=[SQL('DEFAULT C...
28.346154
83
0.726594
180
1,474
5.761111
0.405556
0.12729
0.190935
0.162006
0.403086
0.298939
0.243009
0
0
0
0
0.025911
0.162144
1,474
51
84
28.901961
0.813765
0
0
0.057143
0
0
0.045455
0
0
0
0
0
0
1
0.028571
false
0
0.085714
0.028571
0.914286
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
2d5ce664099f0e8e3a8ec1030ab3679e4ebf48aa
273
py
Python
src/python/WMCore/BossAir/Oracle/DeleteJobs.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
21
2015-11-19T16:18:45.000Z
2021-12-02T18:20:39.000Z
src/python/WMCore/BossAir/Oracle/DeleteJobs.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
5,671
2015-01-06T14:38:52.000Z
2022-03-31T22:11:14.000Z
src/python/WMCore/BossAir/Oracle/DeleteJobs.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
67
2015-01-21T15:55:38.000Z
2022-02-03T19:53:13.000Z
#!/usr/bin/env python """ _DeleteJobs_ Oracle implementation for creating a deleting a job """ from WMCore.BossAir.MySQL.DeleteJobs import DeleteJobs as MySQLDeleteJobs class DeleteJobs(MySQLDeleteJobs): """ _DeleteJobs_ Delete jobs from bl_runjob """
16.058824
73
0.736264
31
273
6.322581
0.774194
0
0
0
0
0
0
0
0
0
0
0
0.179487
273
16
74
17.0625
0.875
0.465201
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
2d8070a9b85ef85dbeb373f5548431258c77a9d3
875
py
Python
solutions/python/2018/correctLineup.py
lucifer1198/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
2
2020-12-21T22:09:26.000Z
2021-01-01T15:40:01.000Z
solutions/python/2018/correctLineup.py
nsu1210/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
null
null
null
solutions/python/2018/correctLineup.py
nsu1210/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
1
2021-01-28T18:15:02.000Z
2021-01-28T18:15:02.000Z
""" For the opening ceremony of the upcoming sports event an even number of athletes were picked. They formed a correct lineup, i.e. such a lineup in which no two boys or two girls stand together. The first person in the lineup was a girl. As a part of the performance, adjacent pairs of athletes (i.e. the first one tog...
46.052632
163
0.72
164
875
3.841463
0.47561
0.079365
0.047619
0.057143
0.095238
0.095238
0.095238
0.095238
0.095238
0.095238
0
0.022792
0.197714
875
18
164
48.611111
0.874644
0.766857
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
2db9d906c0209bf146eef0099d07fffe6b41d599
65
py
Python
usbclassifier/__init__.py
t-yui/usbclassifier
72a0be8991c34381ea72c5f969ae9d838c9ac158
[ "MIT" ]
4
2019-09-02T14:16:52.000Z
2020-12-09T16:13:05.000Z
usbclassifier/__init__.py
t-yui/usbclassifier
72a0be8991c34381ea72c5f969ae9d838c9ac158
[ "MIT" ]
null
null
null
usbclassifier/__init__.py
t-yui/usbclassifier
72a0be8991c34381ea72c5f969ae9d838c9ac158
[ "MIT" ]
1
2020-03-21T10:26:10.000Z
2020-03-21T10:26:10.000Z
from .classifier import USBaggingClassifier __version__ = '0.1.1'
32.5
43
0.815385
8
65
6.125
0.875
0
0
0
0
0
0
0
0
0
0
0.050847
0.092308
65
2
44
32.5
0.779661
0
0
0
0
0
0.075758
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
2dbfdb14972de837af30ef8cd2a3801cb3e8ff95
753
py
Python
turbosms/routers.py
pmaigutyak/mp-turbosms
2b2089dbded95a49161e243e05a62fd0b568ab92
[ "0BSD" ]
7
2017-03-30T14:26:25.000Z
2021-09-25T14:31:43.000Z
turbosms/routers.py
pmaigutyak/mp-turbosms
2b2089dbded95a49161e243e05a62fd0b568ab92
[ "0BSD" ]
1
2019-04-20T15:38:13.000Z
2019-05-20T12:29:18.000Z
turbosms/routers.py
pmaigutyak/mp-turbosms
2b2089dbded95a49161e243e05a62fd0b568ab92
[ "0BSD" ]
null
null
null
class TurboSMSRouter(object): app_label = 'turbosms' db_name = 'turbosms' def db_for_read(self, model, **hints): if model._meta.app_label == self.app_label: return self.db_name return None def db_for_write(self, model, **hints): if model._meta.app_label == self...
21.514286
69
0.600266
99
753
4.30303
0.262626
0.225352
0.140845
0.176056
0.605634
0.605634
0.549296
0.539906
0.539906
0.347418
0
0.007648
0.305445
753
34
70
22.147059
0.806883
0
0
0.5
0
0
0.021277
0
0
0
0
0
0
1
0.2
false
0
0
0
0.75
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2dc3fe0ac26ca288fee13059aacf28df1b63b630
163
py
Python
paw/constants/tests.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
null
null
null
paw/constants/tests.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
2
2020-06-05T20:35:57.000Z
2021-06-10T21:24:24.000Z
paw/constants/tests.py
keeperaft/personalaltwebsite
b8ad2679c2809c316e8f746ffe1b302460f336be
[ "MIT" ]
1
2019-04-10T02:03:35.000Z
2019-04-10T02:03:35.000Z
BROWSER_IMPLICIT_WAIT_TIME = 5 MODAL_TRANSITION_WAIT_TIME = 2 BOOTSTRAP_SWITCH_TRANSITION_WAIT_TIME = 1 PAGE_LOADING_WAIT_TIME = 5 PAGE_LOADING_LONG_WAIT_TIME = 10
32.6
41
0.883436
27
163
4.703704
0.555556
0.314961
0.141732
0
0
0
0
0
0
0
0
0.040268
0.08589
163
5
42
32.6
0.812081
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2dd1a49276fc87b7f280df5bf2a91398c277b7d1
532
py
Python
MyWork/OldFiles/Intermediate/ObjectOrientatedProgramming/ClassesObjects.py
minefarmer/100-Days-Python
b80b28d299342b490082ac301a0d8b176419f8f9
[ "Unlicense" ]
null
null
null
MyWork/OldFiles/Intermediate/ObjectOrientatedProgramming/ClassesObjects.py
minefarmer/100-Days-Python
b80b28d299342b490082ac301a0d8b176419f8f9
[ "Unlicense" ]
null
null
null
MyWork/OldFiles/Intermediate/ObjectOrientatedProgramming/ClassesObjects.py
minefarmer/100-Days-Python
b80b28d299342b490082ac301a0d8b176419f8f9
[ "Unlicense" ]
null
null
null
''' Class /is holding plate = True / attributes:/ / \ / tables_responsible = [4, 5, 6] waiter (object) \ \ / def take_order(table, order) ...
29.555556
58
0.293233
32
532
4.78125
0.84375
0.091503
0
0
0
0
0
0
0
0
0
0.015464
0.635338
532
18
59
29.555556
0.773196
0.969925
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
0
0
0
0
0
0
0
0
0
1
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
2de16c3fdb67e51a9ebf4990ca8d66b97638c3b8
72
py
Python
lightVeg/main.py
afiqhatta/hattaNum
b82267b048f7985b3bee0a33007118e4a1a80585
[ "MIT" ]
null
null
null
lightVeg/main.py
afiqhatta/hattaNum
b82267b048f7985b3bee0a33007118e4a1a80585
[ "MIT" ]
null
null
null
lightVeg/main.py
afiqhatta/hattaNum
b82267b048f7985b3bee0a33007118e4a1a80585
[ "MIT" ]
null
null
null
from lightVeg.datapoints.datapoint import * d = Data([1,0,0], [2,0,0])
18
43
0.666667
13
72
3.692308
0.769231
0.083333
0
0
0
0
0
0
0
0
0
0.095238
0.125
72
3
44
24
0.666667
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
2de24c10268c8b843abe3e0daae0d27ad3a1001b
344
py
Python
scfmsp/controlflowanalysis/instructions/InstructionBic.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
1
2020-07-03T21:26:52.000Z
2020-07-03T21:26:52.000Z
scfmsp/controlflowanalysis/instructions/InstructionBic.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
null
null
null
scfmsp/controlflowanalysis/instructions/InstructionBic.py
sepidehpouyan/SCF-MSP430
1d7565bf38d9f42e775031d4ea8515ff99bef778
[ "MIT" ]
null
null
null
from scfmsp.controlflowanalysis.instructions.AbstractInstructionTwoRegisters import AbstractInstructionTwoRegisters class InstructionBic(AbstractInstructionTwoRegisters): name = 'bic' def get_execution_time(self): return self.clock def execute_judgment(self, ac): super(InstructionBic, se...
31.272727
115
0.790698
31
344
8.645161
0.677419
0.11194
0
0
0
0
0
0
0
0
0
0
0.142442
344
11
116
31.272727
0.908475
0
0
0
0
0
0.008696
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2de48398e5c4f46109ddf67f0c9c617ff7732359
713
py
Python
tests/mock_bbio/__init__.py
vt-sailbot/sailbot-20
b5d75cb82e4bc3e9c4e428a288c6ac98a4aa2c52
[ "MIT" ]
1
2019-09-26T12:05:57.000Z
2019-09-26T12:05:57.000Z
tests/mock_bbio/__init__.py
vt-sailbot/sailbot-20
b5d75cb82e4bc3e9c4e428a288c6ac98a4aa2c52
[ "MIT" ]
5
2019-08-25T21:01:18.000Z
2020-09-04T02:56:40.000Z
tests/mock_bbio/__init__.py
vt-sailbot/sailbot-20
b5d75cb82e4bc3e9c4e428a288c6ac98a4aa2c52
[ "MIT" ]
null
null
null
import sys import types module_name = 'Adafruit_BBIO' # Create a type module_name Adafruit_BBIO = types.ModuleType(module_name) Adafruit_BBIO.GPIO = types.ModuleType(module_name + '.GPIO') Adafruit_BBIO.ADC = types.ModuleType(module_name + '.ADC') Adafruit_BBIO.PWM = types.ModuleType(module_name + '.PWM') Adafruit_B...
35.65
79
0.772791
103
713
5.126214
0.252427
0.227273
0.198864
0.236742
0.287879
0
0
0
0
0
0
0
0.107994
713
19
80
37.526316
0.830189
0.14446
0
0
0
0
0.080725
0
0
0
0
0
0
1
0
false
0
0.153846
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
93027f9c513a29a2ce3a6e99bcad683f2d76346f
127
py
Python
rio_stac/__init__.py
jonas-eberle/rio-stac
f46ecbaba3f9a324ab5546e1f3a5c2f922175969
[ "MIT" ]
null
null
null
rio_stac/__init__.py
jonas-eberle/rio-stac
f46ecbaba3f9a324ab5546e1f3a5c2f922175969
[ "MIT" ]
null
null
null
rio_stac/__init__.py
jonas-eberle/rio-stac
f46ecbaba3f9a324ab5546e1f3a5c2f922175969
[ "MIT" ]
null
null
null
"""rio-stac: Create STAC items from raster file.""" from rio_stac.stac import create_stac_item # noqa __version__ = "0.3.0"
21.166667
51
0.724409
21
127
4.047619
0.619048
0.164706
0
0
0
0
0
0
0
0
0
0.027778
0.149606
127
5
52
25.4
0.759259
0.401575
0
0
0
0
0.071429
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
93030f1a4d779ad15c572ebc533d877b010fec55
413
py
Python
tests/business/mock/mock_transport_stop_service.py
public-transport-quality-grades/oevgk18-generator
e467587d3d3c600a66139756e95bd84040d58c99
[ "MIT" ]
null
null
null
tests/business/mock/mock_transport_stop_service.py
public-transport-quality-grades/oevgk18-generator
e467587d3d3c600a66139756e95bd84040d58c99
[ "MIT" ]
3
2018-04-30T06:51:33.000Z
2018-05-30T18:22:58.000Z
tests/business/mock/mock_transport_stop_service.py
public-transport-quality-grades/oevgk18-generator
e467587d3d3c600a66139756e95bd84040d58c99
[ "MIT" ]
null
null
null
from typing import List from generator.business.model.transport_stop import TransportStop from . import mock_transport_stops def get_transport_stops(db) -> List[TransportStop]: return [ mock_transport_stops.stop_8503400, mock_transport_stops.stop_8503125, mock_transport_stops.stop_8591382...
27.533333
65
0.765133
50
413
5.92
0.42
0.331081
0.364865
0.371622
0
0
0
0
0
0
0
0.10355
0.181598
413
14
66
29.5
0.772189
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0.090909
0.454545
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
934f94d34cd488990be0ab2c28fe4baafc2cbc17
90
py
Python
keyboards/inline/__init__.py
nomadroom/Media_Bot
59f70d1f1cbda254e6cc0f6a10c88dd05456f797
[ "MIT" ]
null
null
null
keyboards/inline/__init__.py
nomadroom/Media_Bot
59f70d1f1cbda254e6cc0f6a10c88dd05456f797
[ "MIT" ]
1
2021-09-12T17:38:29.000Z
2021-09-12T17:38:29.000Z
keyboards/inline/__init__.py
nomadroom/Media_Bot
59f70d1f1cbda254e6cc0f6a10c88dd05456f797
[ "MIT" ]
1
2020-12-18T08:49:41.000Z
2020-12-18T08:49:41.000Z
from aiogram.utils.callback_data import CallbackData some_callback = CallbackData("new")
22.5
52
0.833333
11
90
6.636364
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.088889
90
3
53
30
0.890244
0
0
0
0
0
0.033333
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
935128fe3e82306431c5e1b59f7086bddbf5949f
3,831
py
Python
sgpublish/exporter/base.py
vfxetc/sgpublish
f6dcdb7d727ca78bc29ce76b91f13962628bfea1
[ "BSD-3-Clause" ]
3
2018-03-19T03:58:08.000Z
2020-09-30T17:47:16.000Z
sgpublish/exporter/base.py
vfxetc/sgpublish
f6dcdb7d727ca78bc29ce76b91f13962628bfea1
[ "BSD-3-Clause" ]
null
null
null
sgpublish/exporter/base.py
vfxetc/sgpublish
f6dcdb7d727ca78bc29ce76b91f13962628bfea1
[ "BSD-3-Clause" ]
2
2017-07-04T19:29:47.000Z
2019-07-19T01:15:43.000Z
import os from sgpublish.publisher import Publisher class Exporter(object): def __init__(self, workspace=None, filename_hint=None, publish_type=None): self._workspace = workspace self._filename_hint = filename_hint self._publish_type = publish_type @property def publish_type...
33.605263
90
0.617593
457
3,831
5.059081
0.354486
0.03936
0.019464
0.019031
0.143599
0.086505
0.059689
0.059689
0.059689
0.059689
0
0
0.309319
3,831
113
91
33.902655
0.873772
0.448969
0
0.131579
0
0
0.01795
0
0
0
0
0
0
1
0.289474
false
0.052632
0.052632
0.026316
0.552632
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
9359bb5791113063725606fdee1bd52df26144cf
522
py
Python
src/app.py
RodrigoSantosRodrigues/simple-api-python-flask
508c104c6a2bf8ae50a3d72cfa640d4c7df723f7
[ "MIT" ]
null
null
null
src/app.py
RodrigoSantosRodrigues/simple-api-python-flask
508c104c6a2bf8ae50a3d72cfa640d4c7df723f7
[ "MIT" ]
null
null
null
src/app.py
RodrigoSantosRodrigues/simple-api-python-flask
508c104c6a2bf8ae50a3d72cfa640d4c7df723f7
[ "MIT" ]
null
null
null
from flask import Flask from .config import app_config from .controllers.HomeController import home_api def create_app(env_name): """ param: env_name Create app """ # app initiliazation app = Flask(__name__) app.config.from_object(app_config[env_name]) app.register_blueprint(home...
19.333333
62
0.655172
68
522
4.808824
0.441176
0.082569
0.079511
0
0
0
0
0
0
0
0
0.0025
0.233716
522
26
63
20.076923
0.815
0.091954
0
0
0
0
0.134884
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0.142857
0.642857
0.071429
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
93633b3ca263da09d1e926963fa950ced7b3a83b
152
py
Python
p37_test.py
alpatine/project-euler-python
d731d2deebff4bfb812811921f56da7b984652c0
[ "MIT" ]
null
null
null
p37_test.py
alpatine/project-euler-python
d731d2deebff4bfb812811921f56da7b984652c0
[ "MIT" ]
null
null
null
p37_test.py
alpatine/project-euler-python
d731d2deebff4bfb812811921f56da7b984652c0
[ "MIT" ]
null
null
null
from unittest import TestCase from p37 import p37 class P37_Test(TestCase): def test_correct_answer(self): self.assertEqual(p37(), 748317)
21.714286
39
0.743421
21
152
5.238095
0.619048
0
0
0
0
0
0
0
0
0
0
0.112
0.177632
152
6
40
25.333333
0.768
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
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
937cc123645591552fca47c1bb0f57ee0a24ecef
872
py
Python
src/injecta/service/argument/DictArgument.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
3
2021-09-27T12:55:00.000Z
2022-01-31T19:13:23.000Z
src/injecta/service/argument/DictArgument.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
null
null
null
src/injecta/service/argument/DictArgument.py
DataSentics/injecta
090eeac6c76c43d40be71df678222a07b0a3c783
[ "MIT" ]
1
2021-03-04T09:12:05.000Z
2021-03-04T09:12:05.000Z
from injecta.service.argument.ArgumentInterface import ArgumentInterface from injecta.service.class_.InspectedArgument import InspectedArgument class DictArgument(ArgumentInterface): def __init__(self, value: dict, name: str = None): self.__value = value self.__name = name @property def n...
32.296296
133
0.697248
99
872
5.808081
0.434343
0.062609
0.097391
0
0
0
0
0
0
0
0
0.002869
0.200688
872
26
134
33.538462
0.822095
0
0
0
0
0
0.024083
0
0
0
0
0
0
1
0.277778
false
0.055556
0.111111
0.111111
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
faa863ae21cdc714f4877ad1b7792f9b7c902577
411
py
Python
mayan/apps/sources/storages.py
darrenflexxu/Mayan-EDMS
6707365bfacd137e625ddc1b990168012246fa07
[ "Apache-2.0" ]
null
null
null
mayan/apps/sources/storages.py
darrenflexxu/Mayan-EDMS
6707365bfacd137e625ddc1b990168012246fa07
[ "Apache-2.0" ]
5
2021-03-19T22:56:45.000Z
2022-03-12T00:08:43.000Z
mayan/apps/sources/storages.py
Sumit-Kumar-Jha/mayan
5b7ddeccf080b9e41cc1074c70e27dfe447be19f
[ "Apache-2.0" ]
1
2020-07-29T21:03:27.000Z
2020-07-29T21:03:27.000Z
from __future__ import unicode_literals from mayan.apps.storage.utils import get_storage_subclass from .settings import ( setting_staging_file_image_cache_storage, setting_staging_file_image_cache_storage_arguments, ) storage_staging_file_image_cache = get_storage_subclass( dotted_path=setting_staging_fi...
31.615385
62
0.871046
55
411
5.854545
0.381818
0.170807
0.248447
0.326087
0.490683
0.490683
0.273292
0
0
0
0
0
0.085158
411
12
63
34.25
0.856383
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
faae335eeafa992b41a3b81b982e14bd079a747e
166
py
Python
lang/py/cookbook/v2/source/cb2_10_5_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_10_5_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_10_5_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
log_path = "/usr/local/nusphere/apache/logs/access_log" print "Percentage of requests that were client-cached: " + str( clientCachePercentage(log_path)) + '%'
41.5
63
0.728916
21
166
5.619048
0.857143
0.118644
0
0
0
0
0
0
0
0
0
0
0.138554
166
3
64
55.333333
0.825175
0
0
0
0
0
0.548193
0.253012
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
fad1682f1dae35be9241db14077bdd418aa01ac9
211
py
Python
apps/enquiries/admin.py
FancyKat/django-portfolio
f261f8d3a37e5771f9f48a74a769b6e9b479d49d
[ "MIT" ]
null
null
null
apps/enquiries/admin.py
FancyKat/django-portfolio
f261f8d3a37e5771f9f48a74a769b6e9b479d49d
[ "MIT" ]
9
2022-03-22T04:30:50.000Z
2022-03-22T04:49:13.000Z
apps/enquiries/admin.py
FancyKat/django-portfolio
f261f8d3a37e5771f9f48a74a769b6e9b479d49d
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Enquiry class EnquiryAdmin(admin.ModelAdmin): list_display = ["name", "email", "phone_number", "message"] admin.site.register(Enquiry, EnquiryAdmin)
19.181818
63
0.753555
25
211
6.28
0.76
0
0
0
0
0
0
0
0
0
0
0
0.127962
211
10
64
21.1
0.853261
0
0
0
0
0
0.132701
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
fad558c4f6575e6ff9099e80540fdc2055b56574
309
py
Python
state/db/db.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
148
2017-07-11T19:05:25.000Z
2022-03-16T21:31:20.000Z
state/db/db.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
561
2017-06-29T17:59:56.000Z
2022-03-09T15:47:14.000Z
state/db/db.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
378
2017-06-29T17:45:27.000Z
2022-03-26T07:27:59.000Z
from abc import abstractmethod class BaseDB: @abstractmethod def inc_refcount(self, key, value): raise NotImplementedError @abstractmethod def dec_refcount(self, key): raise NotImplementedError @abstractmethod def get(self, key): raise NotImplementedError
18.176471
39
0.692557
30
309
7.066667
0.533333
0.240566
0.141509
0.386792
0
0
0
0
0
0
0
0
0.252427
309
16
40
19.3125
0.917749
0
0
0.545455
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.454545
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
fadaf7e4d839c9ca608bd40d372cfaa3c2c5bf94
3,518
py
Python
mesos/cli/slave.py
mesosphere/mesos-cli
c65c8bcc3087a063d437698014e30dfd165a5257
[ "Apache-2.0" ]
77
2015-01-02T18:30:53.000Z
2019-06-11T06:10:06.000Z
mesos/cli/slave.py
mesosphere-backup/mesos-cli
c65c8bcc3087a063d437698014e30dfd165a5257
[ "Apache-2.0" ]
26
2015-01-31T23:23:34.000Z
2017-11-14T18:31:06.000Z
mesos/cli/slave.py
mesosphere-backup/mesos-cli
c65c8bcc3087a063d437698014e30dfd165a5257
[ "Apache-2.0" ]
24
2015-01-28T11:59:22.000Z
2019-06-11T01:55:29.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
31.132743
79
0.616543
444
3,518
4.788288
0.380631
0.032926
0.026341
0.015052
0.047977
0.026341
0.026341
0
0
0
0
0.007042
0.273451
3,518
112
80
31.410714
0.824726
0.241899
0
0.069444
0
0
0.121933
0.00906
0
0
0
0
0
1
0.208333
false
0
0.083333
0.138889
0.541667
0.013889
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
4f0003296fc304e903108cf4d0be48a1ad43b5e7
1,286
py
Python
tests/commands/test_node.py
o3seespy/o3seespy
4fdd942370df1ac8d454e361f651405717b8584c
[ "MIT", "BSD-3-Clause" ]
16
2019-10-24T17:58:46.000Z
2022-03-01T19:48:06.000Z
tests/commands/test_node.py
o3seespy/o3seespy
4fdd942370df1ac8d454e361f651405717b8584c
[ "MIT", "BSD-3-Clause" ]
5
2020-04-17T01:39:27.000Z
2020-12-18T05:07:58.000Z
tests/commands/test_node.py
o3seespy/o3seespy
4fdd942370df1ac8d454e361f651405717b8584c
[ "MIT", "BSD-3-Clause" ]
6
2020-02-20T02:13:11.000Z
2021-11-01T19:08:41.000Z
import o3seespy as o3 import numpy as np def test_build_regular_node_mesh_2dxy(): xs = [1, 2, 3] ys = [3, 4] zs = 4.5 osi = o3.OpenSeesInstance(ndm=3, ndf=3) sn = o3.node.build_regular_node_mesh(osi, xs, ys, zs) sn = np.array(sn) print(sn.shape) assert len(sn.shape) == 2 # two axes ...
26.791667
57
0.560653
245
1,286
2.865306
0.183673
0.148148
0.12963
0.14245
0.794872
0.762108
0.611111
0.611111
0.611111
0.611111
0
0.082896
0.258942
1,286
47
58
27.361702
0.653725
0.067652
0
0.552632
0
0
0.000843
0
0
0
0
0
0.447368
1
0.052632
false
0
0.052632
0
0.105263
0.026316
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
877d074d84b0c3f4892f9d47b0b0226e66ec59d7
418
py
Python
coralillo/tests/utils_test.py
categulario/norm
232d3e25dcce2a1f698b429ecdedf5f8ee33c340
[ "MIT" ]
1
2020-10-11T06:40:33.000Z
2020-10-11T06:40:33.000Z
coralillo/tests/utils_test.py
categulario/coralillo
232d3e25dcce2a1f698b429ecdedf5f8ee33c340
[ "MIT" ]
17
2017-08-22T16:52:03.000Z
2017-08-30T17:23:56.000Z
coralillo/tests/utils_test.py
categulario/norm
232d3e25dcce2a1f698b429ecdedf5f8ee33c340
[ "MIT" ]
4
2018-05-15T18:10:10.000Z
2020-09-01T08:58:55.000Z
from coralillo.utils import parse_embed def test_parse_embed(): array = ['object'] output = [['object', None]] assert parse_embed(array) == output array = ['object.field'] output = [['object', ['field']]] assert parse_embed(array) == output array = ['object.field', 'foo', 'object.var'] ...
26.125
58
0.605263
48
418
5.145833
0.333333
0.202429
0.242915
0.255061
0.45749
0.348178
0.348178
0.348178
0
0
0
0
0.200957
418
15
59
27.866667
0.739521
0
0
0.272727
0
0
0.184211
0
0
0
0
0
0.272727
1
0.090909
false
0
0.090909
0
0.181818
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8781575b880de0d2850ae80b1171e33686b73765
218
py
Python
vedastr_cstr/vedastr/models/bodies/feature_extractors/__init__.py
bsm8734/formula-image-latex-recognition
86d5070e8f907571a47967d64facaee246d92a35
[ "MIT" ]
13
2021-06-20T18:11:23.000Z
2021-12-07T18:06:42.000Z
vedastr_cstr/vedastr/models/bodies/feature_extractors/__init__.py
bsm8734/formula-image-latex-recognition
86d5070e8f907571a47967d64facaee246d92a35
[ "MIT" ]
9
2021-06-16T14:55:07.000Z
2021-06-23T14:45:36.000Z
vedastr_cstr/vedastr/models/bodies/feature_extractors/__init__.py
bsm8734/formula-image-latex-recognition
86d5070e8f907571a47967d64facaee246d92a35
[ "MIT" ]
6
2021-06-17T15:16:50.000Z
2021-07-05T20:41:26.000Z
from .builder import build_feature_extractor # noqa 401 from .decoders import build_brick, build_bricks, build_decoder # noqa 401 from .encoders import build_backbone, build_encoder, build_enhance_module # noqa 401
54.5
85
0.825688
31
218
5.516129
0.548387
0.192982
0.128655
0
0
0
0
0
0
0
0
0.047368
0.12844
218
3
86
72.666667
0.852632
0.119266
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
87868a6eb63152a36a45d79106b350f4e4a5af31
152
py
Python
exemplos/teste.py
cirino/python
6c45b5305aebeeeebb7ffef335700e41cc0b6b3b
[ "MIT" ]
1
2018-05-06T01:25:28.000Z
2018-05-06T01:25:28.000Z
exemplos/teste.py
cirino/python
6c45b5305aebeeeebb7ffef335700e41cc0b6b3b
[ "MIT" ]
1
2019-02-10T18:46:37.000Z
2019-02-12T21:17:50.000Z
exemplos/teste.py
cirino/python
6c45b5305aebeeeebb7ffef335700e41cc0b6b3b
[ "MIT" ]
null
null
null
print("Hello Word.") def nome(parameter_list): a = parameter_list.split(" ", 2) print(a) nome('dag cirino mano dev') nome('dagmar aparecido')
16.888889
36
0.664474
22
152
4.5
0.727273
0.262626
0
0
0
0
0
0
0
0
0
0.007937
0.171053
152
9
37
16.888889
0.777778
0
0
0
0
0
0.30719
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
878a1229a4362eaf45a21edcb737d339fb83908c
224
py
Python
portfolio/blog/urls.py
selvianl/resume
4a056d57953c5d31ee1699eeacdf9f9bae85e896
[ "Apache-2.0" ]
null
null
null
portfolio/blog/urls.py
selvianl/resume
4a056d57953c5d31ee1699eeacdf9f9bae85e896
[ "Apache-2.0" ]
4
2021-03-18T21:49:30.000Z
2022-01-13T00:59:54.000Z
portfolio/blog/urls.py
selvianl/resume
4a056d57953c5d31ee1699eeacdf9f9bae85e896
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from portfolio.blog.views import BlogFormView, BlogView urlpatterns = [ url(r'^add/$', BlogFormView.as_view(), name='blog_add'), url(r'^$', BlogView.as_view(), name='blog_index'), ]
28
60
0.700893
31
224
4.935484
0.580645
0.052288
0.130719
0.183007
0
0
0
0
0
0
0
0
0.125
224
8
61
28
0.780612
0
0
0
0
0
0.115556
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
87967b7fba18bbe3257b71e4b4b051dadf01ba7c
400
py
Python
app/models/Roles_Usuarios.py
pony012/PruebaServicioCucea
e28fc35beb8eefa3ed2de8b702f04a0f8ec8832f
[ "MIT" ]
null
null
null
app/models/Roles_Usuarios.py
pony012/PruebaServicioCucea
e28fc35beb8eefa3ed2de8b702f04a0f8ec8832f
[ "MIT" ]
null
null
null
app/models/Roles_Usuarios.py
pony012/PruebaServicioCucea
e28fc35beb8eefa3ed2de8b702f04a0f8ec8832f
[ "MIT" ]
null
null
null
from app.db import db_sql as db roles_usuarios = db.Table('roles_usuarios', db.Column('user_id', db.Integer(), db.ForeignKey('usuario.id')), db.Column('role_id', ...
36.363636
65
0.365
34
400
4.147059
0.5
0.085106
0.212766
0.184397
0.326241
0
0
0
0
0
0
0
0.5325
400
10
66
40
0.754011
0
0
0.25
0
0
0.11
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
87bd2b7225cc173c5b88a75455771b83cb9b77d2
98
py
Python
FaceAPIWebRole/upload/forms.py
qwergram/CortanaVisionCSA
33e2e0266dec7d7eb65d4d3f3d5470f8dc601f48
[ "MIT" ]
null
null
null
FaceAPIWebRole/upload/forms.py
qwergram/CortanaVisionCSA
33e2e0266dec7d7eb65d4d3f3d5470f8dc601f48
[ "MIT" ]
null
null
null
FaceAPIWebRole/upload/forms.py
qwergram/CortanaVisionCSA
33e2e0266dec7d7eb65d4d3f3d5470f8dc601f48
[ "MIT" ]
null
null
null
from django import forms class UploadImageForm(forms.Form): imageupload = forms.ImageField()
19.6
36
0.77551
11
98
6.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.142857
98
4
37
24.5
0.904762
0
0
0
0
0
0
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
87c6a408e82b405b862a85871751638cf79ff84e
180
py
Python
output/models/ms_data/datatypes/facets/integer/integer_total_digits002_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/datatypes/facets/integer/integer_total_digits002_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/datatypes/facets/integer/integer_total_digits002_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.datatypes.facets.integer.integer_total_digits002_xsd.integer_total_digits002 import ( FooType, Test, ) __all__ = [ "FooType", "Test", ]
18
112
0.722222
21
180
5.714286
0.714286
0.2
0.35
0
0
0
0
0
0
0
0
0.04
0.166667
180
9
113
20
0.76
0
0
0
0
0
0.061111
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
87ea7762b0a56f834137a9305f07a96cfcc0cfef
15,998
py
Python
tests/leguinncounter_tests.py
dunnesquared/sentencecow
5cd9b508043fe7b1064852ec2a6b0460944f23f7
[ "MIT" ]
1
2021-02-11T17:05:03.000Z
2021-02-11T17:05:03.000Z
tests/leguinncounter_tests.py
dunnesquared/sentencecow
5cd9b508043fe7b1064852ec2a6b0460944f23f7
[ "MIT" ]
null
null
null
tests/leguinncounter_tests.py
dunnesquared/sentencecow
5cd9b508043fe7b1064852ec2a6b0460944f23f7
[ "MIT" ]
null
null
null
from random import randint from nose.tools import * # from legsewoc import * # from legsewoc.leguincounter import LeGuinCounter # from .context import legsewoc # from legsewoc.leguincounter import LeGuinCounter from .context import leguincounter from leguincounter import LeGuinCounter def test_init(): '''Test C...
26.013008
129
0.626641
2,156
15,998
4.570965
0.097866
0.065855
0.0621
0.091324
0.81725
0.788229
0.753628
0.678539
0.610553
0.567529
0
0.018007
0.260595
15,998
614
130
26.055375
0.815115
0.464308
0
0.686695
0
0.004292
0.198418
0.002967
0
0
0
0
0.227468
1
0.030043
false
0
0.017167
0
0.04721
0
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
87f9e852ff052564749065adb94a15868dd21a22
88
py
Python
aadhaar/secure_qr/__init__.py
vishaltanwar96/aadhaar-py
7d3fe865ef1ab9e087699ddf83def332ab701eea
[ "MIT" ]
6
2021-05-12T13:57:46.000Z
2021-12-20T10:59:57.000Z
aadhaar/secure_qr/__init__.py
vishaltanwar96/aadhaar-py
7d3fe865ef1ab9e087699ddf83def332ab701eea
[ "MIT" ]
12
2021-11-27T09:50:34.000Z
2022-03-12T01:04:45.000Z
aadhaar/secure_qr/__init__.py
vishaltanwar96/aadhaar-py
7d3fe865ef1ab9e087699ddf83def332ab701eea
[ "MIT" ]
null
null
null
from aadhaar.secure_qr.extractor import extract_data __all__ = [ "extract_data", ]
14.666667
52
0.75
11
88
5.363636
0.818182
0.372881
0
0
0
0
0
0
0
0
0
0
0.159091
88
5
53
17.6
0.797297
0
0
0
0
0
0.136364
0
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
354f9d3e53c6ec25711fdb4ba643a2b11227cfcd
5,305
py
Python
vcard/settings.py
hcpthanks/vCard
cc9a301f413961c398c355426013c0cc05fbb1b7
[ "MIT" ]
null
null
null
vcard/settings.py
hcpthanks/vCard
cc9a301f413961c398c355426013c0cc05fbb1b7
[ "MIT" ]
null
null
null
vcard/settings.py
hcpthanks/vCard
cc9a301f413961c398c355426013c0cc05fbb1b7
[ "MIT" ]
null
null
null
""" Django settings for vcard project. Generated by 'django-admin startproject' using Django 2.1.2. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # B...
30.314286
279
0.69689
585
5,305
6.186325
0.466667
0.053882
0.042553
0.048356
0.151423
0.128489
0.073777
0.073777
0.033158
0
0
0.010676
0.152498
5,305
174
280
30.488506
0.794262
0.208671
0
0.028846
1
0.038462
0.631478
0.497361
0
0
0
0
0
1
0
false
0.048077
0.009615
0
0.009615
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
355d1cd2b9e3f646e7e1688cab7788f127e5575d
13,899
py
Python
src/typeclasses/migrations/0002_resave_attrs.py
reddcoin-project/ReddConnect
5c212683de6b80b81fd15ed05239c3a1b46c3afd
[ "BSD-3-Clause" ]
2
2019-02-24T00:20:47.000Z
2020-04-24T15:50:31.000Z
src/typeclasses/migrations/0002_resave_attrs.py
reddcoin-project/ReddConnect
5c212683de6b80b81fd15ed05239c3a1b46c3afd
[ "BSD-3-Clause" ]
null
null
null
src/typeclasses/migrations/0002_resave_attrs.py
reddcoin-project/ReddConnect
5c212683de6b80b81fd15ed05239c3a1b46c3afd
[ "BSD-3-Clause" ]
1
2019-01-05T15:51:37.000Z
2019-01-05T15:51:37.000Z
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import DataMigration from django.db import models try: from django.contrib.auth import get_user_model except ImportError: # django < 1.5 from django.contrib.auth.models import User else: User = get_user_model() user_orm_label = ...
70.19697
188
0.559681
1,489
13,899
5.053056
0.13499
0.093567
0.161882
0.23126
0.717172
0.709862
0.698963
0.667464
0.619086
0.550106
0
0.00992
0.216706
13,899
197
189
70.553299
0.681179
0.00849
0
0.33871
0
0
0.529361
0.275604
0
0
0
0
0
0
null
null
0.005376
0.037634
null
null
0.021505
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
3
3569ad1085aab98b521635f2be1a6368983cfa79
407
py
Python
setup.py
agronick/aiogear
9e4f2d18f05d91daea9e48de18b2d38f4811589f
[ "MIT" ]
null
null
null
setup.py
agronick/aiogear
9e4f2d18f05d91daea9e48de18b2d38f4811589f
[ "MIT" ]
null
null
null
setup.py
agronick/aiogear
9e4f2d18f05d91daea9e48de18b2d38f4811589f
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='aiogear', version='0.2.4rc1', author='Sinan Nalkaya', author_email='sardok@gmail.com', url='https://github.com/sardok/aiogear', description='Asynchronous gearman protocol based on asyncio', packages=['aiogear'], classifiers=[ 'Programmin...
25.4375
65
0.638821
45
407
5.755556
0.777778
0.146718
0.19305
0.200772
0
0
0
0
0
0
0
0.024922
0.211302
407
15
66
27.133333
0.781931
0
0
0
0
0
0.501229
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
35795d0e39c4aae272a22ceeb958dd05d3b9c8c9
43,391
py
Python
Code_for_Signal_Processing/plot_corr_mx_85_concate_time_linux_v1.6.6.py
puyaraimondii/biometric-classification-of-frequency-following-responses
f5b5dca516592be451a3133acb8fa178519bc991
[ "MIT" ]
1
2021-04-20T14:47:40.000Z
2021-04-20T14:47:40.000Z
Code_for_Signal_Processing/plot_corr_mx_85_concate_time_linux_v1.6.6.py
puyaraimondii/biometric-classification-of-frequency-following-responses
f5b5dca516592be451a3133acb8fa178519bc991
[ "MIT" ]
null
null
null
Code_for_Signal_Processing/plot_corr_mx_85_concate_time_linux_v1.6.6.py
puyaraimondii/biometric-classification-of-frequency-following-responses
f5b5dca516592be451a3133acb8fa178519bc991
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Aug 9 17:02:59 2018 @author: bruce compared with version 1.6.4 the update is from correlation coefficient """ import pandas as pd import numpy as np from scipy import fftpack from scipy import signal import matplotlib.pyplot as plt from matplotlib.co...
45.483229
151
0.711691
7,881
43,391
3.600685
0.063444
0.032421
0.03383
0.05737
0.839729
0.781689
0.72002
0.660183
0.611093
0.56796
0
0.104134
0.141527
43,391
954
152
45.483229
0.657664
0.108963
0
0.24234
0
0
0.115383
0.001543
0
0
0
0
0
1
0.027855
false
0
0.022284
0
0.061281
0
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
3579a60a21ebd74c9b69a1c76b463cbf6758ff39
224
py
Python
analyticlab/measure/__init__.py
xingrongtech/analyticlab
2827591db9b31ff38299712ed6c404ff30583f6f
[ "MIT" ]
13
2018-05-11T02:45:11.000Z
2021-07-17T22:19:04.000Z
analyticlab/measure/__init__.py
xingrongtech/analyticlab
2827591db9b31ff38299712ed6c404ff30583f6f
[ "MIT" ]
null
null
null
analyticlab/measure/__init__.py
xingrongtech/analyticlab
2827591db9b31ff38299712ed6c404ff30583f6f
[ "MIT" ]
2
2019-10-17T11:43:11.000Z
2019-11-27T10:54:28.000Z
# -*- coding: utf-8 -*- """ Created on Sun Feb 18 09:25:00 2018 @author: xingrongtech """ from . import ins, std, ACategory, BCategory from .basemeasure import BaseMeasure from .measure import Measure from .ins import Ins
18.666667
44
0.71875
32
224
5.03125
0.6875
0.111801
0
0
0
0
0
0
0
0
0
0.069519
0.165179
224
11
45
20.363636
0.791444
0.361607
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
357edbf894cb150923e3c3c0472792341b9e7b4c
208
py
Python
topCoder/srms/200s/srm277/div2/sandwich_bar.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
topCoder/srms/200s/srm277/div2/sandwich_bar.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
topCoder/srms/200s/srm277/div2/sandwich_bar.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
class SandwichBar: def whichOrder(self, available, orders): for i, o in enumerate(orders): if all(map(lambda e: e in available, o.split())): return i return -1
29.714286
61
0.5625
27
208
4.333333
0.740741
0
0
0
0
0
0
0
0
0
0
0.007246
0.336538
208
6
62
34.666667
0.84058
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
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
3580c0dd3f79543bbbc30b6fb81f79c1da8e9f30
187
py
Python
socialinsecurity.py
OmeletteDuFromageDat250/Protect-Magnus-Book
503dc78f46a33d7490383c646991edbfd690942e
[ "MIT" ]
null
null
null
socialinsecurity.py
OmeletteDuFromageDat250/Protect-Magnus-Book
503dc78f46a33d7490383c646991edbfd690942e
[ "MIT" ]
null
null
null
socialinsecurity.py
OmeletteDuFromageDat250/Protect-Magnus-Book
503dc78f46a33d7490383c646991edbfd690942e
[ "MIT" ]
1
2020-02-10T22:14:38.000Z
2020-02-10T22:14:38.000Z
# configured as the entry point of the app, simply imports app to start application, just run 'flask run' to start from app import app app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
46.75
114
0.759358
32
187
4.375
0.71875
0.1
0
0
0
0
0
0
0
0
0
0.064516
0.171123
187
4
115
46.75
0.83871
0.59893
0
0
0
0
0.243243
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
3
358c6e2e2306e328879feed2952a8562bec7ccc4
25,391
py
Python
server.py
mitmedialab/MediaCloud-Discover
5c7dd2f2bfe2b9dbb79d52fc5500987cba63e038
[ "MIT" ]
null
null
null
server.py
mitmedialab/MediaCloud-Discover
5c7dd2f2bfe2b9dbb79d52fc5500987cba63e038
[ "MIT" ]
3
2018-04-20T18:19:15.000Z
2018-04-20T18:35:51.000Z
server.py
mitmedialab/MediaCloud-Discover
5c7dd2f2bfe2b9dbb79d52fc5500987cba63e038
[ "MIT" ]
null
null
null
from flask import render_template from flask import Flask from flask_cache import Cache from flask import jsonify from os import environ import os import logging.config import datetime import mediacloud import json import random # All country entity data data = {} mc_admin = None app = Flask(__name__) api_key = enviro...
72.753582
9,247
0.542161
3,620
25,391
3.700552
0.247514
0.053747
0.019409
0.005972
0.165572
0.117722
0.100627
0.083756
0.068528
0.056285
0
0.16334
0.15151
25,391
348
9,248
72.962644
0.458457
0.087629
0
0.23348
0
0
0.210657
0.01876
0
0
0
0
0
0
null
null
0.004405
0.048458
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
359676a7bed26deb7a43c184082ef5a5ec9bc8ac
783
py
Python
ingestion/src/metadata/generated/schema/type/collectionDescriptor.py
juliarvalenti/OpenMetadata
ed4508ab2cbc53e16127b5d091bdef2156d3c412
[ "Apache-2.0" ]
null
null
null
ingestion/src/metadata/generated/schema/type/collectionDescriptor.py
juliarvalenti/OpenMetadata
ed4508ab2cbc53e16127b5d091bdef2156d3c412
[ "Apache-2.0" ]
null
null
null
ingestion/src/metadata/generated/schema/type/collectionDescriptor.py
juliarvalenti/OpenMetadata
ed4508ab2cbc53e16127b5d091bdef2156d3c412
[ "Apache-2.0" ]
null
null
null
# generated by datamodel-codegen: # filename: schema/type/collectionDescriptor.json # timestamp: 2021-09-27T15:46:37+00:00 from __future__ import annotations from typing import Optional from pydantic import AnyUrl, BaseModel, Field from . import profile class CollectionInfo(BaseModel): name: Optional[str...
27.964286
88
0.734355
86
783
6.639535
0.616279
0.047285
0.105079
0.070053
0.108581
0
0
0
0
0
0
0.027994
0.178799
783
27
89
29
0.860031
0.154534
0
0
1
0
0.196049
0
0
0
0
0
0
1
0
true
0
0.25
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
35acd8f295f6dfd95a79f459c59be91b8a56f970
299
py
Python
multi_tenant/managers.py
arineto/django-multi-tenant
713d555831b35a487f5a91494a20ee3d955a4b63
[ "MIT" ]
7
2016-07-13T12:49:26.000Z
2018-03-22T14:29:07.000Z
multi_tenant/managers.py
arineto/django-multi-tenant
713d555831b35a487f5a91494a20ee3d955a4b63
[ "MIT" ]
null
null
null
multi_tenant/managers.py
arineto/django-multi-tenant
713d555831b35a487f5a91494a20ee3d955a4b63
[ "MIT" ]
5
2016-07-20T13:09:41.000Z
2018-05-02T02:54:13.000Z
from django.db import models class TenantModelManager(models.Manager): """ This manager makes it easy to filter by tenant """ def by_tenant(self, tenant): return self.filter(tenant=tenant) def by_tenants(self, tenants): return self.filter(tenant__in=tenants)
21.357143
50
0.685619
39
299
5.153846
0.538462
0.079602
0.109453
0.218905
0
0
0
0
0
0
0
0
0.22408
299
13
51
23
0.866379
0.153846
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.333333
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
1
0
0
0
1
0
0
0
3
35e6f69b05fbe5ddf7f6a35922f57fd94ac2602e
232
py
Python
backend/web_app/tests/snapshots/snap_test_tk_graphql_requests.py
jsc-masshtab/vdi-server
3de49dec986ab26ffc6c073873fb9de5943809f9
[ "MIT" ]
2
2021-12-03T10:04:25.000Z
2022-01-12T06:26:39.000Z
backend/web_app/tests/snapshots/snap_test_tk_graphql_requests.py
jsc-masshtab/vdi-server
3de49dec986ab26ffc6c073873fb9de5943809f9
[ "MIT" ]
null
null
null
backend/web_app/tests/snapshots/snap_test_tk_graphql_requests.py
jsc-masshtab/vdi-server
3de49dec986ab26ffc6c073873fb9de5943809f9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots["test_request_thin_clients 1"] = {"thin_clients": []}
21.090909
63
0.732759
28
232
5.75
0.75
0.21118
0
0
0
0
0
0
0
0
0
0.019802
0.12931
232
10
64
23.2
0.777228
0.267241
0
0
0
0
0.233533
0.149701
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
ea1432b0f85cbc82edf8fd9f37ad2dab2828e324
134
py
Python
hcec/edwards/testdata/encodepoint.py
duwu/hcd
590966016bc42f9d043c16ad8438148ca40eff89
[ "ISC" ]
131
2018-07-19T13:01:41.000Z
2021-12-26T12:27:33.000Z
hcec/edwards/testdata/encodepoint.py
duwu/hcd
590966016bc42f9d043c16ad8438148ca40eff89
[ "ISC" ]
32
2018-07-28T17:53:34.000Z
2022-01-06T05:32:46.000Z
hcec/edwards/testdata/encodepoint.py
duwu/hcd
590966016bc42f9d043c16ad8438148ca40eff89
[ "ISC" ]
101
2018-08-22T03:31:11.000Z
2022-03-17T09:01:24.000Z
import sys from ed25519 import * P = [] x = int(sys.argv[1]) P.append(x) y = int(sys.argv[2]) P.append(y) encodepointhex(P)
13.4
22
0.61194
24
134
3.416667
0.541667
0.146341
0.243902
0
0
0
0
0
0
0
0
0.066038
0.208955
134
9
23
14.888889
0.707547
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ea3af54632833f0e21da2c2709dfe27358eb4392
156
py
Python
template.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
null
null
null
template.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
11
2020-01-09T06:53:45.000Z
2022-02-11T01:34:44.000Z
template.py
suddi/coding-challenges
f31b53790084dce1ad0be65ec1d61bf177cddb39
[ "MIT" ]
1
2017-03-18T17:19:43.000Z
2017-03-18T17:19:43.000Z
# pylint: disable-msg=empty-docstring,unused-argument def solution(a): """ """ if __name__ == '__main__': import doctest doctest.testmod()
17.333333
53
0.647436
17
156
5.470588
0.941176
0
0
0
0
0
0
0
0
0
0
0
0.198718
156
8
54
19.5
0.744
0.326923
0
0
0
0
0.086957
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ea4570a30f4803cd7a4cff196fba4f9b3401b86f
1,815
py
Python
discord_utils.py
CatTanker/cncnet-discord-bot
5c0bcbb6cda37052dfb29b6daa52770e4405f2d9
[ "MIT" ]
2
2022-01-12T20:40:37.000Z
2022-01-25T12:05:02.000Z
discord_utils.py
CatTanker/cncnet-discord-bot
5c0bcbb6cda37052dfb29b6daa52770e4405f2d9
[ "MIT" ]
11
2020-09-22T19:15:39.000Z
2020-10-12T09:16:03.000Z
discord_utils.py
CatTanker/cncnet-discord-bot
5c0bcbb6cda37052dfb29b6daa52770e4405f2d9
[ "MIT" ]
2
2021-04-12T17:15:01.000Z
2022-02-14T18:44:49.000Z
class DiscordParseException(Exception): """An exception that is thrown when parsing Discord's representation of a channel / role / user mention fails.""" def parse_discord_str(content_str: str, type_chars: str) -> int: """Parses Discord's representation of a channel / role / user mention into an ID.""" if ...
45.375
119
0.716804
265
1,815
4.728302
0.173585
0.09577
0.158021
0.172386
0.684757
0.638468
0.638468
0.595371
0.595371
0.418196
0
0.002623
0.15978
1,815
39
120
46.538462
0.819016
0.371901
0
0
0
0
0.110603
0.023766
0
0
0
0
0
1
0.421053
false
0
0
0
0.894737
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
ea564dc09567e06ddb042de2088bfdc60b3e4272
68
py
Python
Codewars/8kyu/removing-elements/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
7
2017-09-20T16:40:39.000Z
2021-08-31T18:15:08.000Z
Codewars/8kyu/removing-elements/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
Codewars/8kyu/removing-elements/Python/solution1.py
RevansChen/online-judge
ad1b07fee7bd3c49418becccda904e17505f3018
[ "MIT" ]
null
null
null
# Python - 3.6.0 remove_every_other = lambda my_list: my_list[::2]
17
49
0.705882
13
68
3.384615
0.846154
0.272727
0
0
0
0
0
0
0
0
0
0.068966
0.147059
68
3
50
22.666667
0.689655
0.205882
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ea6959f73343b9206b9c4c041bb1561a393d43b9
217
py
Python
jacquard/constants.py
peteowlett/jacquard
772fd633e521501688e0933482cba45f48c23ef9
[ "MIT" ]
null
null
null
jacquard/constants.py
peteowlett/jacquard
772fd633e521501688e0933482cba45f48c23ef9
[ "MIT" ]
null
null
null
jacquard/constants.py
peteowlett/jacquard
772fd633e521501688e0933482cba45f48c23ef9
[ "MIT" ]
null
null
null
"""Some general, project-level constants of little use outside Jacquard.""" import os import pathlib DEFAULT_CONFIG_FILE_PATH = pathlib.Path(os.environ.get( 'JACQUARD_CONFIG', '/etc/jacquard/config.cfg', ))
21.7
75
0.741935
29
217
5.413793
0.724138
0.178344
0
0
0
0
0
0
0
0
0
0
0.133641
217
9
76
24.111111
0.835106
0.317972
0
0
0
0
0.274648
0.169014
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ea6f5aa5bfecfbdff710ccbf3153d1cf7bb2a5d7
196
py
Python
app_portfolio_skills/urls.py
MichaelDoctor/Portfolio
41d9104ef6d34f8eb146230b19038b445351c713
[ "MIT" ]
null
null
null
app_portfolio_skills/urls.py
MichaelDoctor/Portfolio
41d9104ef6d34f8eb146230b19038b445351c713
[ "MIT" ]
4
2021-06-09T18:02:18.000Z
2022-01-13T03:06:24.000Z
app_portfolio_skills/urls.py
MichaelDoctor/Portfolio
41d9104ef6d34f8eb146230b19038b445351c713
[ "MIT" ]
null
null
null
from django.urls import path from .views import LanguagesView, FrameworksView urlpatterns = [ path('languages/', LanguagesView.as_view()), path('frameworks/', FrameworksView.as_view()) ]
24.5
49
0.739796
21
196
6.809524
0.619048
0.083916
0
0
0
0
0
0
0
0
0
0
0.132653
196
7
50
28
0.841176
0
0
0
0
0
0.107143
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ea90870689cd4d924ec6998b6eb531534c4268e1
145
py
Python
fileconversions/conversions/png_to_pdf_conversion.py
wilbertom/fileconversions
c48fda9b2804524fc57d1f6963d09645825b0da6
[ "MIT" ]
null
null
null
fileconversions/conversions/png_to_pdf_conversion.py
wilbertom/fileconversions
c48fda9b2804524fc57d1f6963d09645825b0da6
[ "MIT" ]
null
null
null
fileconversions/conversions/png_to_pdf_conversion.py
wilbertom/fileconversions
c48fda9b2804524fc57d1f6963d09645825b0da6
[ "MIT" ]
null
null
null
from .command_conversion import CommandConversion class PngToPdf(CommandConversion): command_name = 'convert' output_extension = 'pdf'
20.714286
49
0.77931
14
145
7.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.151724
145
6
50
24.166667
0.894309
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ea92de22f54a91a1ac1404ae55750d761929c6ed
1,372
py
Python
app/http/controllers/TestController.py
Abeautifulsnow/masonite
f0ebb5ca05f5d88f21264e1cd0934435bd0a8791
[ "MIT" ]
null
null
null
app/http/controllers/TestController.py
Abeautifulsnow/masonite
f0ebb5ca05f5d88f21264e1cd0934435bd0a8791
[ "MIT" ]
1
2020-10-26T12:33:05.000Z
2020-10-26T12:33:05.000Z
app/http/controllers/TestController.py
Abeautifulsnow/masonite
f0ebb5ca05f5d88f21264e1cd0934435bd0a8791
[ "MIT" ]
null
null
null
from app.jobs.TestJob import TestJob from src.masonite import Queue, Mail from src.masonite.request import Request from src.masonite.view import View class TestController: def __init__(self): self.test = True def show(self): return 'show' def v(self, view: View): return view.rend...
23.254237
80
0.603499
169
1,372
4.840237
0.349112
0.136919
0.08802
0.122249
0.075795
0
0
0
0
0
0
0.014911
0.266764
1,372
58
81
23.655172
0.798211
0.02551
0
0.097561
0
0
0.113109
0
0
0
0
0
0
1
0.365854
false
0
0.097561
0.195122
0.829268
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
575d7a08079287307546190b7fcbc56b378c6df1
7,462
py
Python
tests/test_grafana.py
bushelpowered/grafana-ldap-sync-script
1de90583ca4ab8cc828332b72f1f95756d099c1f
[ "Apache-2.0" ]
9
2020-07-17T06:36:23.000Z
2022-03-27T19:35:50.000Z
tests/test_grafana.py
bushelpowered/grafana-ldap-sync-script
1de90583ca4ab8cc828332b72f1f95756d099c1f
[ "Apache-2.0" ]
2
2021-08-19T13:25:32.000Z
2022-02-03T16:06:55.000Z
tests/test_grafana.py
bushelpowered/grafana-ldap-sync-script
1de90583ca4ab8cc828332b72f1f95756d099c1f
[ "Apache-2.0" ]
6
2021-01-05T18:46:36.000Z
2022-03-28T11:35:46.000Z
from unittest import TestCase from unittest.mock import patch, Mock from grafana_api.grafana_api import GrafanaClientError from script import grafana class delete_team_by_name(TestCase): @patch("script.grafana.grafana_api") @patch("script.grafana.configuration") def test_deletes_team(self, mock_config, ...
39.068063
108
0.642455
885
7,462
5.027119
0.090395
0.164082
0.179366
0.071926
0.837267
0.812093
0.739267
0.629804
0.578107
0.565745
0
0.001445
0.258108
7,462
190
109
39.273684
0.802204
0
0
0.536232
0
0
0.114313
0.071295
0
0
0
0
0.173913
1
0.101449
false
0
0.028986
0
0.188406
0
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
577674d6e6e440990896d02c1f571845c1da4ef4
272
py
Python
src/sima/simo/massunit.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/massunit.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/massunit.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# Generated with MassUnit # from enum import Enum from enum import auto class MassUnit(Enum): """""" MG = auto() KG = auto() def label(self): if self == MassUnit.MG: return "Mg" if self == MassUnit.KG: return "kg"
18.133333
31
0.536765
33
272
4.424242
0.454545
0.109589
0.191781
0
0
0
0
0
0
0
0
0
0.345588
272
15
32
18.133333
0.820225
0.084559
0
0
1
0
0.016667
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.8
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5779baa8ebd68d27991e236edfabf315ce58575d
167
py
Python
New folder/Re7.py
piyushparastiwari/python-project
5dba0ef4e77f1d2528f510327de4224b60b1d4ba
[ "Apache-2.0" ]
null
null
null
New folder/Re7.py
piyushparastiwari/python-project
5dba0ef4e77f1d2528f510327de4224b60b1d4ba
[ "Apache-2.0" ]
null
null
null
New folder/Re7.py
piyushparastiwari/python-project
5dba0ef4e77f1d2528f510327de4224b60b1d4ba
[ "Apache-2.0" ]
null
null
null
import re st="amit and amita belongs to same family" for val in re.finditer("amit",st): print(val) lis=val.span() print(lis) print(type(lis))
18.555556
43
0.616766
27
167
3.814815
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.251497
167
8
44
20.875
0.824
0
0
0
0
0
0.257862
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
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
577c83bac9d62369bb796c7a1a418dc22207d901
318
py
Python
Python/Tests/TestData/TestAdapterTestB/InheritanceDerivedTest.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
Python/Tests/TestData/TestAdapterTestB/InheritanceDerivedTest.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
Python/Tests/TestData/TestAdapterTestB/InheritanceDerivedTest.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
import unittest import InheritanceBaseTest class DerivedClassTests(InheritanceBaseTest.BaseClassTests): def test_derived_pass(self): pass def test_derived_fail(self): self.assertTrue(False, "Force a failure in derived class test.") if __name__ == '__main__': unittest.main()
24.461538
73
0.710692
34
318
6.294118
0.617647
0.065421
0.130841
0
0
0
0
0
0
0
0
0
0.210692
318
12
74
26.5
0.85259
0
0
0
0
0
0.150327
0
0
0
0
0
0.111111
1
0.222222
false
0.222222
0.222222
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
1
0
0
1
0
0
3
579297708304ce877306df0513a8afce6be83e37
12,978
py
Python
source/rttov_test/profile-datasets-py/div83/062.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
source/rttov_test/profile-datasets-py/div83/062.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
1
2022-03-12T12:19:59.000Z
2022-03-12T12:19:59.000Z
source/rttov_test/profile-datasets-py/div83/062.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
""" Profile ../profile-datasets-py/div83/062.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div83/062.py" self["Q"] = numpy.array([ 2.135165, 2.544134, 3.283269, 4.205042, 4.999855, 5.317752, 5.205453, 5.320982, ...
58.197309
92
0.548467
1,907
12,978
3.730991
0.504982
0.011947
0.009276
0.013493
0.018693
0.018693
0.011103
0.00759
0.00759
0.00759
0
0.704293
0.292803
12,978
222
93
58.459459
0.07093
0.00732
0
0
0
0
0.019352
0.00272
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
57d73df628277c009f64cbf8b7778091e214b9f2
346
py
Python
procrastinate/contrib/django/migrations/0001_baseline.py
t-eckert/procrastinate
f831565b00d67afa7a4291d734c8fe85074a360c
[ "MIT" ]
null
null
null
procrastinate/contrib/django/migrations/0001_baseline.py
t-eckert/procrastinate
f831565b00d67afa7a4291d734c8fe85074a360c
[ "MIT" ]
null
null
null
procrastinate/contrib/django/migrations/0001_baseline.py
t-eckert/procrastinate
f831565b00d67afa7a4291d734c8fe85074a360c
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-08-22 16:57 from django.db import migrations import procrastinate.contrib.django class Migration(migrations.Migration): initial = True dependencies: list = [] operations = [ procrastinate.contrib.django.RunProcrastinateFile( filename="baseline-0.5...
18.210526
58
0.66763
39
346
5.923077
0.769231
0.17316
0.225108
0
0
0
0
0
0
0
0
0.064151
0.234104
346
18
59
19.222222
0.807547
0.124277
0
0
1
0
0.059801
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
57e6f4680e3910d5aa9b8c572fe9a67674fa7993
155
py
Python
Exercício feitos pela primeira vez/ex025.py
Claayton/pythonExerciciosLinux
696cdb16983638418bd0d0d4fe44dc72662b9c97
[ "MIT" ]
1
2021-01-23T15:43:34.000Z
2021-01-23T15:43:34.000Z
Exercício feitos pela primeira vez/ex025.py
Claayton/pythonExerciciosLinux
696cdb16983638418bd0d0d4fe44dc72662b9c97
[ "MIT" ]
null
null
null
Exercício feitos pela primeira vez/ex025.py
Claayton/pythonExerciciosLinux
696cdb16983638418bd0d0d4fe44dc72662b9c97
[ "MIT" ]
null
null
null
#Exercício025 name = str(input('Qual seu nome completo?: ')).strip().upper() print('Seu nome tem a palavra SILVA?: {}'.format('SILVA'in name)) print('xD')
31
65
0.677419
23
155
4.565217
0.782609
0.133333
0
0
0
0
0
0
0
0
0
0.021739
0.109677
155
4
66
38.75
0.73913
0.077419
0
0
0
0
0.457746
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
57e84cf4f7c4b8be601c471d36c9ee834f3919ef
10,223
py
Python
tests/test_restapi_filtering.py
hafeezibbad/telegram-bot
0cbc35005ea5d076a8b3a243d794889532e69c4c
[ "Apache-2.0" ]
null
null
null
tests/test_restapi_filtering.py
hafeezibbad/telegram-bot
0cbc35005ea5d076a8b3a243d794889532e69c4c
[ "Apache-2.0" ]
2
2021-02-02T22:38:30.000Z
2021-06-02T01:27:14.000Z
tests/test_restapi_filtering.py
hafeezibbad/telegram-bot
0cbc35005ea5d076a8b3a243d794889532e69c4c
[ "Apache-2.0" ]
null
null
null
""" Module containing tests cases for testing Restapi calls for filtering and adding, removing dummy date. """ import json import string import random import unittest from datetime import datetime, timedelta from flask import url_for from botapp import create_app from botapp.models import MyBot, Message class Procedu...
41.056225
80
0.607845
1,137
10,223
5.272647
0.123131
0.090075
0.023853
0.031193
0.771309
0.740117
0.705254
0.68457
0.68457
0.66789
0
0.025511
0.267632
10,223
248
81
41.221774
0.77521
0.06456
0
0.569307
0
0
0.091491
0.026125
0
0
0
0
0.183168
1
0.064356
false
0
0.039604
0.00495
0.113861
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
17c3422fd5c753fc7b849ef8d958f4af1f54cc8e
91
py
Python
src/student1/apps.py
Ehsan-Home/drag_and_drop_in_tables
865079999e42a6f3dceb6814b69091580c1440b8
[ "MIT" ]
3
2020-03-08T09:14:38.000Z
2020-08-29T00:19:38.000Z
src/student1/apps.py
Ehsan-Home/drag_and_drop_in_tables
865079999e42a6f3dceb6814b69091580c1440b8
[ "MIT" ]
null
null
null
src/student1/apps.py
Ehsan-Home/drag_and_drop_in_tables
865079999e42a6f3dceb6814b69091580c1440b8
[ "MIT" ]
null
null
null
from django.apps import AppConfig class Student1Config(AppConfig): name = 'student1'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0.026316
0.164835
91
5
34
18.2
0.881579
0
0
0
0
0
0.087912
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
17cca09d6607d4701575eebf9f9363e242db7714
618
py
Python
object_oriented_pandas/data_unit.py
AdamWclw/object_oriented_pandas
084d8cf12d71c96dc42d5cf7ac52030b1862f9c1
[ "MIT" ]
1
2021-03-12T12:32:04.000Z
2021-03-12T12:32:04.000Z
object_oriented_pandas/data_unit.py
AdamWclw/object_oriented_pandas
084d8cf12d71c96dc42d5cf7ac52030b1862f9c1
[ "MIT" ]
null
null
null
object_oriented_pandas/data_unit.py
AdamWclw/object_oriented_pandas
084d8cf12d71c96dc42d5cf7ac52030b1862f9c1
[ "MIT" ]
null
null
null
# DATA UNIT CLASS class _Unit: def __init__(self, name, con_2_si, con_unit, si_unit): self._name = name self._con_2_si = con_2_si self._con_unit = con_unit self._si_unit = si_unit def get_name(self): return self._name def get_con_2_si(self): return self._con...
22.888889
81
0.650485
103
618
3.446602
0.203884
0.078873
0.11831
0.050704
0
0
0
0
0
0
0
0.040512
0.2411
618
26
82
23.769231
0.716418
0.042071
0
0
0
0
0.037479
0
0
0
0
0
0
1
0.3125
false
0
0
0.25
0.625
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
17cd8ac3d98e5aa1290e36e5bb8980fb910b5466
259
py
Python
HARMAN International Software Engineer 2019/missingNumber.py
sivolko/codeforce
4b00c4c012780036e56d2f0e79adb2f5db7559df
[ "MIT" ]
null
null
null
HARMAN International Software Engineer 2019/missingNumber.py
sivolko/codeforce
4b00c4c012780036e56d2f0e79adb2f5db7559df
[ "MIT" ]
null
null
null
HARMAN International Software Engineer 2019/missingNumber.py
sivolko/codeforce
4b00c4c012780036e56d2f0e79adb2f5db7559df
[ "MIT" ]
null
null
null
def missing_number(nums): arr = [0 for _ in range(len(nums))] for i in range(len(nums)): if nums[i] < len(nums): arr[nums[i]] = -1 for i in range(len(nums)): if arr[i] != -1: return i return len(nums)
21.583333
39
0.498069
41
259
3.097561
0.341463
0.275591
0.23622
0.330709
0.314961
0.314961
0.314961
0
0
0
0
0.017751
0.34749
259
12
40
21.583333
0.733728
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
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
17ebb1b0a232779c87fd66dd4cd9585253cf8344
1,196
py
Python
setup.py
whitespy/django-simple-metatags
5a085b64a3e1e8d4d1b1bd6b9a9eabcfa275912f
[ "MIT" ]
4
2017-04-09T20:29:46.000Z
2021-05-03T23:38:17.000Z
setup.py
whitespy/django-simple-metatags
5a085b64a3e1e8d4d1b1bd6b9a9eabcfa275912f
[ "MIT" ]
6
2017-04-09T20:38:40.000Z
2022-03-03T12:28:04.000Z
setup.py
whitespy/django-simple-metatags
5a085b64a3e1e8d4d1b1bd6b9a9eabcfa275912f
[ "MIT" ]
6
2016-12-05T16:00:17.000Z
2021-01-11T11:46:39.000Z
from setuptools import setup, find_packages setup( name='django-simple-metatags', version='2.0.3', description="The django application allows to add title, keywords and " "description meta tags to site's pages.", author='Andrey Butenko', author_email='whitespysoftware@gmail.com', ...
35.176471
75
0.601171
127
1,196
5.614173
0.566929
0.159888
0.210379
0.182328
0
0
0
0
0
0
0
0.027809
0.248328
1,196
33
76
36.242424
0.765295
0
0
0
0
0
0.576923
0.040134
0
0
0
0
0
1
0
true
0
0.032258
0
0.032258
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
aa124a0746565781aaf226d284979259a69cd9e9
671
py
Python
application/unused/acronymos/acronymos_source.py
Vahen/VahenWebsite
19a0f0f923874d66d8229e20e0df5b7916da5595
[ "MIT" ]
null
null
null
application/unused/acronymos/acronymos_source.py
Vahen/VahenWebsite
19a0f0f923874d66d8229e20e0df5b7916da5595
[ "MIT" ]
null
null
null
application/unused/acronymos/acronymos_source.py
Vahen/VahenWebsite
19a0f0f923874d66d8229e20e0df5b7916da5595
[ "MIT" ]
null
null
null
import random # Todo -> Terminer les corrections from typing import Set, List def create_acronyme(string: str) -> str: return ''.join([x[0] for x in string.split(" ")]) def pick_random_word_by_letter(letter: str, words: Set[str]) -> str: words_starting_by = find_list_words_starting_by(letter, words) re...
30.5
77
0.724292
105
671
4.4
0.333333
0.140693
0.162338
0.090909
0.337662
0.125541
0
0
0
0
0
0.001742
0.14456
671
21
78
31.952381
0.803136
0.04769
0
0
0
0
0.00314
0
0
0
0
0.047619
0
1
0.363636
false
0
0.181818
0.272727
0.909091
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
1
0
0
0
1
0
0
0
3
aa457df01cd3ec06e6b098b140f070c64cd8b090
183
py
Python
v1/comments/urls.py
DucPhamTV/MaiTet
44a1465a3239808f6640592ba666d9c5449c0ef4
[ "MIT" ]
null
null
null
v1/comments/urls.py
DucPhamTV/MaiTet
44a1465a3239808f6640592ba666d9c5449c0ef4
[ "MIT" ]
15
2021-02-20T12:03:33.000Z
2021-07-26T10:15:03.000Z
v1/comments/urls.py
DucPhamTV/MaiTet
44a1465a3239808f6640592ba666d9c5449c0ef4
[ "MIT" ]
null
null
null
from rest_framework.routers import SimpleRouter from v1.comments.views import CommentViewSet router = SimpleRouter(trailing_slash=False) router.register('comments', CommentViewSet)
26.142857
47
0.846995
21
183
7.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0.005952
0.081967
183
6
48
30.5
0.904762
0
0
0
0
0
0.043716
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
a4acdfd6ab541d7f88b9a599f52e9aadab5c5f4b
200
py
Python
programming-language/cases/python/examples/py.test/example1.py
wdv4758h/notes
60fa483961245ec5bb264d3f28a885fb82a1c25e
[ "Unlicense" ]
136
2015-06-15T13:26:40.000Z
2022-03-03T07:47:31.000Z
programming-language/cases/python/examples/py.test/example1.py
wdv4758h/notes
60fa483961245ec5bb264d3f28a885fb82a1c25e
[ "Unlicense" ]
82
2017-01-06T06:32:55.000Z
2020-09-03T03:34:24.000Z
programming-language/cases/python/examples/py.test/example1.py
wdv4758h/notes
60fa483961245ec5bb264d3f28a885fb82a1c25e
[ "Unlicense" ]
18
2015-12-04T04:02:44.000Z
2022-02-24T03:48:57.000Z
#!/usr/bin/env python ''' you can use this command to run specific Python code: ..code-block:: python py.test example1.py ''' def f(x): return x + 1 def test_f(): assert f(0) == 1
10.526316
53
0.6
34
200
3.5
0.705882
0
0
0
0
0
0
0
0
0
0
0.026667
0.25
200
18
54
11.111111
0.766667
0.61
0
0
0
0
0
0
0
0
0
0
0.25
1
0.5
false
0
0
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
a4b14eb6b6c945a92b4dd50e0dc46ef1f9f9807c
683
py
Python
tests/rules/test_required_if.py
mateuszz0000/Validator
80dde6dd9bcbc4e0fb5815c1415c40e7357e98bd
[ "MIT" ]
null
null
null
tests/rules/test_required_if.py
mateuszz0000/Validator
80dde6dd9bcbc4e0fb5815c1415c40e7357e98bd
[ "MIT" ]
null
null
null
tests/rules/test_required_if.py
mateuszz0000/Validator
80dde6dd9bcbc4e0fb5815c1415c40e7357e98bd
[ "MIT" ]
null
null
null
from validator.rules import RequiredIf def test_required_if_01(): rule = RequiredIf("a") value_to_check = "abc" assert rule.check(value_to_check) rule = RequiredIf("a") value_to_check = ["a", "b", "c"] assert rule.check(value_to_check) def test_required_if_02(): rule = RequiredIf("a") ...
22.766667
41
0.658858
99
683
4.242424
0.232323
0.2
0.342857
0.285714
0.8
0.8
0.657143
0.585714
0.585714
0.585714
0
0.007421
0.210835
683
29
42
23.551724
0.7718
0
0
0.571429
0
0
0.026354
0
0
0
0
0
0.285714
1
0.095238
false
0
0.047619
0
0.142857
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
351b7102ef7d184476ebafb377acce37ce069fd2
119
py
Python
Tuples.py
rashidulhasanhridoy/LANGUAGE-PROFICIENCY-Python-HackerRank
46beecbf3a2468d6c598fe62a3e65c5f0c1395c8
[ "Apache-2.0" ]
1
2020-07-21T18:01:52.000Z
2020-07-21T18:01:52.000Z
Tuples.py
rashidulhasanhridoy/LANGUAGE-PROFICIENCY-Python-HackerRank
46beecbf3a2468d6c598fe62a3e65c5f0c1395c8
[ "Apache-2.0" ]
null
null
null
Tuples.py
rashidulhasanhridoy/LANGUAGE-PROFICIENCY-Python-HackerRank
46beecbf3a2468d6c598fe62a3e65c5f0c1395c8
[ "Apache-2.0" ]
null
null
null
n = int(input()) integer_list = map(int, input().split()) integer_list = tuple(integer_list) print(hash(integer_list))
23.8
40
0.731092
18
119
4.611111
0.555556
0.53012
0
0
0
0
0
0
0
0
0
0
0.092437
119
4
41
29.75
0.768519
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
351e4169b883332b0f845dd71443900ace5793ff
627
py
Python
lego/settings/__init__.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/settings/__init__.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/settings/__init__.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
import os import sys TESTING = 'test' in sys.argv[:2] DAPHNE_SERVER = 'daphne' in sys.argv from .base import * # noqa from .lego import * # noqa from .rest_framework import * # noqa from .search import * # noqa from .logging import * # noqa if TESTING: from .test import * # noqa else: if os.environ.ge...
24.115385
82
0.634769
84
627
4.666667
0.47619
0.204082
0.142857
0
0
0
0
0
0
0
0
0.004301
0.258373
627
25
83
25.08
0.83871
0.070175
0
0.1
0
0
0.062827
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3525251f1d372db45b7ebad3ec881dff8481e8c7
444
py
Python
injectedConsole/plugin_help/__init__.py
ChenyangGao/SigilPlugin_injectedConsole
a35ee53671373db05e5ee66f0345d7ace06ddc0c
[ "BSD-3-Clause" ]
11
2021-03-04T02:19:48.000Z
2021-11-06T16:44:35.000Z
injectedConsole/plugin_help/__init__.py
fengdaokanhai/SigilPlugin_injectedConsole
a35ee53671373db05e5ee66f0345d7ace06ddc0c
[ "BSD-3-Clause" ]
1
2021-08-02T13:13:52.000Z
2021-08-02T13:13:52.000Z
injectedConsole/plugin_help/__init__.py
fengdaokanhai/SigilPlugin_injectedConsole
a35ee53671373db05e5ee66f0345d7ace06ddc0c
[ "BSD-3-Clause" ]
4
2021-03-08T07:42:17.000Z
2021-11-06T16:44:52.000Z
#!/usr/bin/env python3 # coding: utf-8 from plugin_util.console import get_current_shell, list_shells from plugin_util.run import run_file, run_path, run, load from plugin_util.usepip import execute_pip, install, uninstall, ensure_import from plugin_util.urlimport import ( install_url_meta, remove_url_meta, instal...
29.6
78
0.808559
70
444
4.8
0.5
0.119048
0.166667
0
0
0
0
0
0
0
0
0.005168
0.128378
444
14
79
31.714286
0.863049
0.078829
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
353178e9150c100aa45bb72cda027d20d79ce4d2
7,985
py
Python
lintcode/257.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
1
2021-01-08T06:57:49.000Z
2021-01-08T06:57:49.000Z
lintcode/257.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
null
null
null
lintcode/257.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
1
2021-01-08T06:57:52.000Z
2021-01-08T06:57:52.000Z
""" 257. Longest String Chain https://www.lintcode.com/problem/longest-string-chain/description?_from=contest&&fromId=93 dp[i] longest string chian ending in i dp[i] = max(dp[i], dp[j] + 1) if distance between words[j] and word[i] is 1 for j in range [0, i) max(dp[i]) dp[i] = 1 longest increasing subsequence变形 """...
133.083333
6,436
0.689167
772
7,985
7.11658
0.806995
0.003822
0.009829
0.003822
0.006735
0.005096
0.005096
0.005096
0.005096
0
0
0.004341
0.076894
7,985
60
6,437
133.083333
0.741012
0.049092
0
0.166667
0
0
0.628073
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.222222
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
35485b9479958d2d47a02d4fdf1fd0230cf334e9
284
py
Python
6 kyu/Real Password Cracker.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
6
2020-09-03T09:32:25.000Z
2020-12-07T04:10:01.000Z
6 kyu/Real Password Cracker.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
1
2021-12-13T15:30:21.000Z
2021-12-13T15:30:21.000Z
6 kyu/Real Password Cracker.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
null
null
null
from itertools import product from hashlib import sha1 def password_cracker(hash): for i in range(5): for j in product("abcdefghijklmnopqrstuvwxyz", repeat=i+1): if sha1("".join(j).encode('utf-8')).hexdigest()==hash: return "".join(j)
31.555556
67
0.612676
37
284
4.675676
0.702703
0.057803
0
0
0
0
0
0
0
0
0
0.023585
0.253521
284
9
68
31.555556
0.792453
0
0
0
0
0
0.108772
0.091228
0
0
0
0
0
1
0.142857
false
0.142857
0.285714
0
0.571429
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
1
0
0
1
0
0
3
101f3b4e80adc3534c5aa8016e5bdc4f35dfeaaa
138
py
Python
Projeto/pedebem/bar/apps.py
UFOP-CSI477/2021-02-atividades-UFOP-LucasAlmeida
07b66989c1868ef50b557c9acafcafb3f931a870
[ "MIT" ]
null
null
null
Projeto/pedebem/bar/apps.py
UFOP-CSI477/2021-02-atividades-UFOP-LucasAlmeida
07b66989c1868ef50b557c9acafcafb3f931a870
[ "MIT" ]
null
null
null
Projeto/pedebem/bar/apps.py
UFOP-CSI477/2021-02-atividades-UFOP-LucasAlmeida
07b66989c1868ef50b557c9acafcafb3f931a870
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BarConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'bar'
19.714286
56
0.746377
17
138
5.941176
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.15942
138
6
57
23
0.87069
0
0
0
0
0
0.231884
0.210145
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
101feaa476e1a0515bfd0e32c44607c3249ef6f9
1,463
py
Python
splendor_sim/test/factories/test_json_validator.py
markbrockettrobson/SplendorBots
f78fab8cccf30c9cc4351308eedfca4203e55463
[ "MIT" ]
1
2019-06-19T02:00:32.000Z
2019-06-19T02:00:32.000Z
splendor_sim/test/factories/test_json_validator.py
markbrockettrobson/SplendorBots
f78fab8cccf30c9cc4351308eedfca4203e55463
[ "MIT" ]
null
null
null
splendor_sim/test/factories/test_json_validator.py
markbrockettrobson/SplendorBots
f78fab8cccf30c9cc4351308eedfca4203e55463
[ "MIT" ]
null
null
null
import unittest import splendor_sim.src.factories.json_validator as json_validator class TestJsonValidator(unittest.TestCase): def setUp(self): self._schema = { "name": {"type": "string"}, "age": {"type": "integer", "min": 10, "required": True}, } self._json = {"n...
32.511111
72
0.650034
163
1,463
5.466258
0.239264
0.204265
0.152637
0.085297
0.73064
0.73064
0.59596
0.59596
0.59596
0.59596
0
0.007201
0.240602
1,463
44
73
33.25
0.794779
0.051265
0
0.333333
0
0
0.053818
0
0
0
0
0
0.166667
1
0.208333
false
0
0.083333
0
0.333333
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
102756becedccecab8caa6b163783ea5218405f9
123
py
Python
TorrentPython/TorrentPython/Defines.py
reignofmiracle/RM_Torrent
a3f34d1868c0aeadc9c2c3e301f798dfae4fb3ff
[ "MIT" ]
1
2020-01-02T02:05:36.000Z
2020-01-02T02:05:36.000Z
TorrentPython/TorrentPython/Defines.py
reignofmiracle/RM_Torrent
a3f34d1868c0aeadc9c2c3e301f798dfae4fb3ff
[ "MIT" ]
null
null
null
TorrentPython/TorrentPython/Defines.py
reignofmiracle/RM_Torrent
a3f34d1868c0aeadc9c2c3e301f798dfae4fb3ff
[ "MIT" ]
null
null
null
class Defines(object): PROTOCOL_ID = b'BitTorrent protocol' RM_CLIENT_ID = b'RM' RM_CLIENT_VERSION = b'0100'
17.571429
40
0.691057
18
123
4.444444
0.611111
0.075
0
0
0
0
0
0
0
0
0
0.041237
0.211382
123
6
41
20.5
0.783505
0
0
0
0
0
0.204918
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
102e541c574caf63f801d1b925046bf123411f44
61
py
Python
testes/teste_script.py
SuyKingsleigh/KitCast
12ece1fbccd252dfeb7c417bc51519d4cbe3546c
[ "MIT" ]
null
null
null
testes/teste_script.py
SuyKingsleigh/KitCast
12ece1fbccd252dfeb7c417bc51519d4cbe3546c
[ "MIT" ]
null
null
null
testes/teste_script.py
SuyKingsleigh/KitCast
12ece1fbccd252dfeb7c417bc51519d4cbe3546c
[ "MIT" ]
null
null
null
import sys for arg in sys.argv[1:]: print('arg: ' + arg)
15.25
24
0.590164
11
61
3.272727
0.727273
0
0
0
0
0
0
0
0
0
0
0.021277
0.229508
61
4
25
15.25
0.744681
0
0
0
0
0
0.080645
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
10465ab3d0634ad742495f49de255abb27420c04
593
py
Python
base/c1_monitor/monitor_frame.py
wwllong/py-design-pattern
7d4f870cf1be09c7b3b4d5329df78765b86ea451
[ "Apache-2.0" ]
1
2021-05-20T07:24:55.000Z
2021-05-20T07:24:55.000Z
base/c1_monitor/monitor_frame.py
wwllong/py-design-pattern
7d4f870cf1be09c7b3b4d5329df78765b86ea451
[ "Apache-2.0" ]
null
null
null
base/c1_monitor/monitor_frame.py
wwllong/py-design-pattern
7d4f870cf1be09c7b3b4d5329df78765b86ea451
[ "Apache-2.0" ]
null
null
null
# 监听模式-框架模型 from abc import ABCMeta, abstractmethod # 引入ABCMeta 和 abstractmethod 来定义抽象类和抽象方法 class Observer(metaclass=ABCMeta): """"观察者的基类""" @abstractmethod def update(self, observable, object): pass class Observable: """"被观察者的基类""" def __init__(self): self.__observers = [] ...
19.766667
41
0.657673
61
593
6.196721
0.52459
0.137566
0.084656
0.132275
0
0
0
0
0
0
0
0.002208
0.236088
593
29
42
20.448276
0.83223
0.111298
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.066667
0.066667
0
0.533333
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
105e3c9cfd68e3d3a94772a8e2750d96d2f760fa
93
py
Python
billsplit/apps.py
ksarthak4ever/Django-Bill_Splitting
59ee546f9e034dfd21effa30629b75e42b07da92
[ "MIT" ]
null
null
null
billsplit/apps.py
ksarthak4ever/Django-Bill_Splitting
59ee546f9e034dfd21effa30629b75e42b07da92
[ "MIT" ]
null
null
null
billsplit/apps.py
ksarthak4ever/Django-Bill_Splitting
59ee546f9e034dfd21effa30629b75e42b07da92
[ "MIT" ]
1
2021-10-07T16:17:02.000Z
2021-10-07T16:17:02.000Z
from django.apps import AppConfig class BillsplitConfig(AppConfig): name = 'billsplit'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
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
1062057a42335c1cb315386ef8ebe99938be11a0
530
py
Python
compiler/codegen/codegen.py
raccoon-lang/raccoon
2a88039f271fbb0c370d1a6b57b2d67e3e9c6c9b
[ "Apache-2.0" ]
3
2020-12-28T18:10:49.000Z
2022-01-25T20:07:07.000Z
compiler/codegen/codegen.py
Valentine-Mario/raccoon
4dda2f6e5d227b43412d20729844ba394d6386f9
[ "Apache-2.0" ]
1
2021-08-23T21:09:30.000Z
2021-08-23T21:09:30.000Z
compiler/codegen/codegen.py
Valentine-Mario/raccoon
4dda2f6e5d227b43412d20729844ba394d6386f9
[ "Apache-2.0" ]
1
2021-01-15T08:32:37.000Z
2021-01-15T08:32:37.000Z
""" """ from copy import deepcopy from platform import machine class Codegen: """ """ def __init__(self, ast, semantic_info): self.word_size = 64 if '64' in machine() else 32 self.semantic_info = semantic_info self.ast = ast def __repr__(self): fields = deepcopy(vars(...
20.384615
88
0.567925
65
530
4.446154
0.538462
0.124567
0.110727
0
0
0
0
0
0
0
0
0.016
0.292453
530
25
89
21.2
0.754667
0
0
0
0
0
0.058594
0
0
0
0
0
0
1
0.266667
false
0.066667
0.133333
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1068edd9c2cde925ca4eea48af2003a80af99ef9
678
py
Python
ridt/tests/systemtests/test_st25.py
riskaware-ltd/ridt
c0288a2f814b2749bdf73de7157f7477ca271aff
[ "MIT" ]
null
null
null
ridt/tests/systemtests/test_st25.py
riskaware-ltd/ridt
c0288a2f814b2749bdf73de7157f7477ca271aff
[ "MIT" ]
9
2020-09-18T08:22:39.000Z
2021-07-20T09:39:59.000Z
ridt/tests/systemtests/test_st25.py
riskaware-ltd/ridt
c0288a2f814b2749bdf73de7157f7477ca271aff
[ "MIT" ]
1
2021-06-22T21:53:20.000Z
2021-06-22T21:53:20.000Z
import unittest from os import listdir from os.path import join from os import remove import shutil from ridt.config import ConfigFileParser from ridt.container import Domain from ridt.container.eddydiffusionrun import EddyDiffusionRun from ridt.data import BatchDataStore from ridt.data import DataStoreReader clas...
19.371429
60
0.710914
91
678
5.197802
0.538462
0.084567
0.05074
0.07611
0
0
0
0
0
0
0
0.007663
0.230089
678
34
61
19.941176
0.898467
0.175516
0
0.157895
0
0
0.015038
0
0
0
0
0
0
1
0.157895
false
0.157895
0.526316
0
0.736842
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
107bc069d3961ebf37c18165bf8960fa751bb0a6
21
py
Python
settings.py
nelldnine/symph-fb-slack
7cbac7218fc66a24e12878bd1ad9b4e1a2781ec9
[ "Apache-2.0" ]
null
null
null
settings.py
nelldnine/symph-fb-slack
7cbac7218fc66a24e12878bd1ad9b4e1a2781ec9
[ "Apache-2.0" ]
null
null
null
settings.py
nelldnine/symph-fb-slack
7cbac7218fc66a24e12878bd1ad9b4e1a2781ec9
[ "Apache-2.0" ]
null
null
null
FACEBOOK_KEY = 'XXXX'
21
21
0.761905
3
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.095238
21
1
21
21
0.789474
0
0
0
0
0
0.181818
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
1083b7e694d8db2ab131f1b8c7874780b9245da3
666
py
Python
Geeks4Geeks/InterChangeQ.py
aparnamaleth/CodingPractice
937600b0dce20be023527cc036d1118312a140ea
[ "MIT" ]
null
null
null
Geeks4Geeks/InterChangeQ.py
aparnamaleth/CodingPractice
937600b0dce20be023527cc036d1118312a140ea
[ "MIT" ]
null
null
null
Geeks4Geeks/InterChangeQ.py
aparnamaleth/CodingPractice
937600b0dce20be023527cc036d1118312a140ea
[ "MIT" ]
null
null
null
class Queue: def __init__(self): self.input = [] self.output = [] self.size = 0 def push(self,data): self.input.append(data) self.size = self.size + 1 def pop(self): x = (self.size) for i in range(x/2): self.output.append(self.input.pop(0)) for i in range(x/2): self.input.append(self.output.pop...
20.8125
61
0.627628
118
666
3.508475
0.237288
0.23913
0.181159
0.10628
0.536232
0.536232
0.44686
0.379227
0.379227
0.379227
0
0.033582
0.195195
666
31
62
21.483871
0.738806
0
0
0.357143
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.035714
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
3
52c19cf49bc3e20ccaba6c7c3afc80ddc76a4a5a
828
py
Python
linear-regression/src/my_kappa_calculator.py
yanshengjia/nlp
43398652b2cab9b85fd042f60e6f68c7b48697bc
[ "MIT" ]
1
2018-04-12T07:48:10.000Z
2018-04-12T07:48:10.000Z
linear-regression/src/my_kappa_calculator.py
yanshengjia/nlp
43398652b2cab9b85fd042f60e6f68c7b48697bc
[ "MIT" ]
null
null
null
linear-regression/src/my_kappa_calculator.py
yanshengjia/nlp
43398652b2cab9b85fd042f60e6f68c7b48697bc
[ "MIT" ]
1
2018-05-02T06:53:29.000Z
2018-05-02T06:53:29.000Z
# !/usr/bin/python # -*- coding:utf-8 -*- # Author: Shengjia Yan # Date: 2017-10-19 # Email: i@yanshengjia.com import numpy as np from quadratic_weighted_kappa import quadratic_weighted_kappa as qwk from quadratic_weighted_kappa import linear_weighted_kappa as lwk def assert_inputs(rater_a, rater_b): assert np.is...
36
101
0.78744
136
828
4.492647
0.330882
0.08838
0.126023
0.13748
0.628478
0.523732
0.484452
0.484452
0.386252
0.238953
0
0.012228
0.111111
828
22
102
37.636364
0.817935
0.123188
0
0.166667
0
0
0.077778
0
0
0
0
0
0.416667
1
0.25
false
0
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
1
0
0
3
52d54f5fa4aaa53b074f49e11c11b9b420b21684
1,070
py
Python
registration/views.py
riggedCoinflip/mydjango
9f30effc0dccd95916f59a3b65d7e02bdd2827b5
[ "MIT" ]
null
null
null
registration/views.py
riggedCoinflip/mydjango
9f30effc0dccd95916f59a3b65d7e02bdd2827b5
[ "MIT" ]
1
2021-02-26T02:13:35.000Z
2021-02-26T02:13:35.000Z
registration/views.py
riggedCoinflip/mydjango
9f30effc0dccd95916f59a3b65d7e02bdd2827b5
[ "MIT" ]
null
null
null
from django.contrib.auth import authenticate, login from django.http import HttpResponseRedirect from django.urls import reverse_lazy from django.views import generic from activate.verifiy import send_verification_email from users.forms import CustomUserCreationForm from users.models import User class SignupView(gen...
34.516129
87
0.714953
120
1,070
6.25
0.525
0.053333
0.056
0
0
0
0
0
0
0
0
0.001178
0.206542
1,070
30
88
35.666667
0.882214
0.071963
0
0
0
0
0.073663
0.049445
0
0
0
0.033333
0
1
0.043478
false
0.043478
0.304348
0
0.695652
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
52e449c0774455cb2b78f5505b5dee811827265a
7,698
py
Python
corona_data_collector/tests/test_consistent_length.py
tkarady/avid-covider-pipelines
43944410092ebab24e821b385de3735b757f0062
[ "MIT" ]
null
null
null
corona_data_collector/tests/test_consistent_length.py
tkarady/avid-covider-pipelines
43944410092ebab24e821b385de3735b757f0062
[ "MIT" ]
20
2020-04-16T16:26:07.000Z
2020-10-08T07:52:27.000Z
corona_data_collector/tests/test_consistent_length.py
tkarady/avid-covider-pipelines
43944410092ebab24e821b385de3735b757f0062
[ "MIT" ]
5
2020-04-16T16:36:35.000Z
2020-10-03T12:48:05.000Z
from corona_data_collector.DBToFileWriter import collect_row from corona_data_collector.config import values_to_convert from corona_data_collector import load_from_db, add_gps_coordinates, export_corona_bot_answers from dataflows import Flow, load, printer from avid_covider_pipelines.utils import get_parameters_from_pi...
71.943925
3,298
0.759548
1,039
7,698
5.40616
0.583253
0.029375
0.048068
0.020474
0.249065
0.209008
0.185508
0.185508
0.166281
0.166281
0
0.427014
0.106521
7,698
106
3,299
72.622642
0.389648
0
0
0.388889
0
0
0.168117
0.077563
0
0
0
0
0.088889
1
0.055556
false
0
0.077778
0
0.133333
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5e0764b2930a571b47c8addd74be87438238db9d
3,371
py
Python
PyObjCTest/test_nsfilehandle.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsfilehandle.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
PyObjCTest/test_nsfilehandle.py
linuxfood/pyobjc-framework-Cocoa-test
3475890f165ab26a740f13d5afe4c62b4423a140
[ "MIT" ]
null
null
null
import Foundation from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSFileHandle(TestCase): def testConstants(self): self.assertIsInstance(Foundation.NSFileHandleOperationException, str) self.assertIsInstance(Foundation.NSFileHandleReadCompletionNotification, str) self.a...
48.157143
88
0.770691
265
3,371
9.6
0.233962
0.224843
0.154088
0.220126
0.402516
0.284591
0
0
0
0
0
0.013347
0.155443
3,371
69
89
48.855072
0.880225
0
0
0.071429
0
0
0.00623
0
0
0
0
0
0.607143
1
0.089286
false
0
0.035714
0
0.142857
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
5e145878ae7e135adacc19d7438d7f356863d5bc
1,171
py
Python
infoblox_netmri/api/remote/models/subnet_network_explorer_summaries_section_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/subnet_network_explorer_summaries_section_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/subnet_network_explorer_summaries_section_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
from ..remote import RemoteModel from infoblox_netmri.utils.utils import check_api_availability class SubnetNetworkExplorerSummariesSectionGridRemote(RemoteModel): """ | ``SubnetID:`` none | ``attribute type:`` string | ``SubnetCIDR:`` none | ``attribute type:`` string ...
19.847458
67
0.478224
71
1,171
7.84507
0.366197
0.210054
0.274686
0.371634
0
0
0
0
0
0
0
0
0.392827
1,171
59
68
19.847458
0.783404
0.427839
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.307692
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
5e327699c9961aa4b34d7ffaa20719c0711985bb
3,032
py
Python
simsalabim/dsp/snr.py
simklein/simsalabim
feade4cf0c95d89e9d845feda2b5c3693eceb5f0
[ "MIT" ]
null
null
null
simsalabim/dsp/snr.py
simklein/simsalabim
feade4cf0c95d89e9d845feda2b5c3693eceb5f0
[ "MIT" ]
null
null
null
simsalabim/dsp/snr.py
simklein/simsalabim
feade4cf0c95d89e9d845feda2b5c3693eceb5f0
[ "MIT" ]
null
null
null
import numpy as np def wada_snr(wav): # Direct blind estimation of the SNR of a speech signal. # # Paper on WADA SNR: # http://www.cs.cmu.edu/~robust/Papers/KimSternIS08.pdf # # This function was adapted from this matlab code: # https://labrosa.ee.columbia.edu/projects/snreval/#9 #...
57.207547
1,475
0.666887
491
3,032
4.03055
0.466395
0.042446
0.045478
0.039414
0.0571
0.012127
0
0
0
0
0
0.449434
0.184697
3,032
53
1,476
57.207547
0.351133
0.172164
0
0
0
0
0
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.103448
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
eaaa69efcceb1b8352b1342b6299549cc66b1c6a
704
py
Python
pytablewriter/writer/text/__init__.py
shawalli/pytablewriter
2e3f84cb3c5676aa67711aa3e908b6e420c934b7
[ "MIT" ]
null
null
null
pytablewriter/writer/text/__init__.py
shawalli/pytablewriter
2e3f84cb3c5676aa67711aa3e908b6e420c934b7
[ "MIT" ]
null
null
null
pytablewriter/writer/text/__init__.py
shawalli/pytablewriter
2e3f84cb3c5676aa67711aa3e908b6e420c934b7
[ "MIT" ]
null
null
null
from ._borderless import BorderlessTableWriter from ._css import CssTableWriter from ._csv import CsvTableWriter from ._html import HtmlTableWriter from ._json import JsonTableWriter from ._jsonlines import JsonLinesTableWriter from ._latex import LatexMatrixWriter, LatexTableWriter from ._ltsv import LtsvTableWriter f...
41.411765
77
0.875
68
704
8.823529
0.558824
0
0
0
0
0
0
0
0
0
0
0
0.096591
704
16
78
44
0.943396
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
eac5df3ff69b83b9f50665bb87424eda3f56cbef
1,246
py
Python
boilerplate-polygon-area-calculator/shape_calculator.py
pablohema/FreeCodeCamp-Scientific-Computing--PythonCertification
d7fb13bed510bc191d84c20e414e545f5eb0c4f3
[ "MIT" ]
null
null
null
boilerplate-polygon-area-calculator/shape_calculator.py
pablohema/FreeCodeCamp-Scientific-Computing--PythonCertification
d7fb13bed510bc191d84c20e414e545f5eb0c4f3
[ "MIT" ]
null
null
null
boilerplate-polygon-area-calculator/shape_calculator.py
pablohema/FreeCodeCamp-Scientific-Computing--PythonCertification
d7fb13bed510bc191d84c20e414e545f5eb0c4f3
[ "MIT" ]
null
null
null
class Rectangle: def __init__(self, width, height): self.width = width self.height = height def __str__(self): return "Rectangle(width=" + str(self.width) + \ ", height=" + str(self.height) + ")" def set_width(self, width): self.width = width def set_hei...
25.428571
59
0.577849
154
1,246
4.487013
0.194805
0.182344
0.065123
0.057887
0.182344
0.182344
0.109986
0.109986
0.109986
0
0
0.009185
0.300963
1,246
48
60
25.958333
0.784156
0
0
0.285714
0
0
0.049759
0
0
0
0
0
0
1
0.342857
false
0
0
0.142857
0.628571
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
eac82e41bcb43ffe9b9470edc7c59e27d7472a05
186
py
Python
setup.py
juliscrazy/Otto-Bot
6d5af7ddb7ffb318f0f78d3bf2cf27631a305b4f
[ "MIT" ]
null
null
null
setup.py
juliscrazy/Otto-Bot
6d5af7ddb7ffb318f0f78d3bf2cf27631a305b4f
[ "MIT" ]
null
null
null
setup.py
juliscrazy/Otto-Bot
6d5af7ddb7ffb318f0f78d3bf2cf27631a305b4f
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name='Otto-Bot', version='1.0', description='Python Discord Bot', author='jul', author_email='julislazy@gmail.com', )
23.25
41
0.634409
23
186
5.086957
0.869565
0
0
0
0
0
0
0
0
0
0
0.013793
0.22043
186
8
42
23.25
0.793103
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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