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
e71481917036e608203b475c39262ba74ea1d3a0
909
py
Python
notebooks/py_scripts/06-drop-optional.py
CBroz1/workflow-calcium-imaging
ac873d942e47f4fabbaf5cc1f8d2f4e5e905a5ce
[ "MIT" ]
null
null
null
notebooks/py_scripts/06-drop-optional.py
CBroz1/workflow-calcium-imaging
ac873d942e47f4fabbaf5cc1f8d2f4e5e905a5ce
[ "MIT" ]
null
null
null
notebooks/py_scripts/06-drop-optional.py
CBroz1/workflow-calcium-imaging
ac873d942e47f4fabbaf5cc1f8d2f4e5e905a5ce
[ "MIT" ]
null
null
null
# --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.13.7 # kernelspec: # display_name: 'Python 3.7.9 64-bit (''workflow-calcium-imaging'': conda)' # name: python379jvsc74a57bd01a512f474e195e32ad84...
25.25
97
0.70407
111
909
5.684685
0.702703
0.079239
0.069731
0
0
0
0
0
0
0
0
0.087248
0.180418
909
35
98
25.971429
0.759732
0.854785
0
0
0
0
0.019417
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e763578af2825affca1d0bc75888a6376b3b27a5
233
py
Python
join.py
foamliu/Learn-PySpark
9182979ad56469a1057227d67e01720fb6de6aef
[ "Apache-2.0" ]
1
2018-11-10T09:57:39.000Z
2018-11-10T09:57:39.000Z
join.py
foamliu/Learn-PySpark
9182979ad56469a1057227d67e01720fb6de6aef
[ "Apache-2.0" ]
null
null
null
join.py
foamliu/Learn-PySpark
9182979ad56469a1057227d67e01720fb6de6aef
[ "Apache-2.0" ]
null
null
null
from pyspark import SparkContext sc=SparkContext("local", "Join app") x=sc.parallelize([("spark",1),("hadoop",4)]) y=sc.parallelize([("spark",2),("hadoop",5)]) joined=x.join(y) final=joined.collect() print "Join RDD -> %s" % (final)
29.125
44
0.67382
35
233
4.485714
0.657143
0.165605
0.229299
0
0
0
0
0
0
0
0
0.018605
0.077253
233
7
45
33.285714
0.711628
0
0
0
0
0
0.2103
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e764f9f30981c9eff2ae27c4204622e4593483e9
933
py
Python
server/agent_operator/register.py
MRtecno98/Juno
18576ad6b14000f40ddcdbe14434bc1986f7b64b
[ "MIT" ]
null
null
null
server/agent_operator/register.py
MRtecno98/Juno
18576ad6b14000f40ddcdbe14434bc1986f7b64b
[ "MIT" ]
null
null
null
server/agent_operator/register.py
MRtecno98/Juno
18576ad6b14000f40ddcdbe14434bc1986f7b64b
[ "MIT" ]
null
null
null
from .config import AgentDescriptor class AgentRegister: def __init__(self, operator): self.operator = operator self.agents = set() def register_agent(self, agent: AgentDescriptor): cancelled = self.operator.router.scheduler \ .throw_event(RegisterEvents.AGENT_REGISTERED, a...
28.272727
85
0.653805
113
933
5.247788
0.327434
0.060708
0.05059
0.05059
0.128162
0.128162
0.128162
0.128162
0.128162
0.128162
0
0.001447
0.259378
933
32
86
29.15625
0.856729
0
0
0
0
0
0.016077
0
0
0
0
0
0
1
0.26087
false
0
0.043478
0.130435
0.652174
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
e7694b4a0d2c27ceca9ad80578554ef5cc299f1d
56
py
Python
1-100/16/16.py
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
1-100/16/16.py
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
1-100/16/16.py
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
sum = 0 for n in str(2**1000): sum += int(n) print sum
11.2
22
0.589286
13
56
2.538462
0.769231
0
0
0
0
0
0
0
0
0
0
0.139535
0.232143
56
4
23
14
0.627907
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e77d2245606ff907631277fafe2975864bb8265b
1,835
py
Python
phonotactics/nucleus/nucleus.py
shlomo-Kallner/coventreiya
aa0773693220025f8d2c23644a2c5d9d884773e9
[ "Apache-2.0" ]
null
null
null
phonotactics/nucleus/nucleus.py
shlomo-Kallner/coventreiya
aa0773693220025f8d2c23644a2c5d9d884773e9
[ "Apache-2.0" ]
null
null
null
phonotactics/nucleus/nucleus.py
shlomo-Kallner/coventreiya
aa0773693220025f8d2c23644a2c5d9d884773e9
[ "Apache-2.0" ]
null
null
null
__name__ = 'nucleus' ######################################################## # # # Imports # # from coventreiya.utils.ver import ver from coventreiya.utils.ver import gen_ver from coventreiya.utils.ver import Version_Registry from coventreiya.phonotactics.abc import abc ###########################...
25.84507
84
0.548229
183
1,835
5.251366
0.31694
0.087409
0.045786
0.049948
0.320499
0.238293
0.171696
0.171696
0.141519
0.104058
0
0.009729
0.215804
1,835
70
85
26.214286
0.658096
0.105722
0
0
0
0
0.005507
0
0
0
0
0
0
1
0.266667
false
0.033333
0.133333
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e7937e8d279da5069d40a89752ef43221dbce2a2
229
py
Python
module2-oop-code-style-and-reviews/packaging/helper/display.py
llpk79/DS-Unit-3-Sprint-1-Software-Engineering
b5401ae6018ad098435ea61d95173eb87bb74b9b
[ "MIT" ]
1
2019-07-11T17:07:04.000Z
2019-07-11T17:07:04.000Z
module2-oop-code-style-and-reviews/packaging/helper/display.py
llpk79/DS-Unit-3-Sprint-1-Software-Engineering
b5401ae6018ad098435ea61d95173eb87bb74b9b
[ "MIT" ]
null
null
null
module2-oop-code-style-and-reviews/packaging/helper/display.py
llpk79/DS-Unit-3-Sprint-1-Software-Engineering
b5401ae6018ad098435ea61d95173eb87bb74b9b
[ "MIT" ]
null
null
null
import pandas as pd class DisplayOptions(object): def __init__(self, **kwargs): self.kwargs = kwargs def set_display(self): for key, val in self.kwargs: pd.set_option('display.' + key, val)
20.818182
48
0.620087
30
229
4.533333
0.6
0.220588
0
0
0
0
0
0
0
0
0
0
0.270742
229
10
49
22.9
0.814371
0
0
0
0
0
0.034935
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e7ab67aa83a4ad1e4f1aa95b9f8460725412dc44
763
py
Python
flask_unchained/_code_templates/project/unchained_config.py
briancappello/flask-unchained
bff296b5c808f5b1db10f7dddb81054600545749
[ "MIT" ]
69
2018-10-10T01:59:11.000Z
2022-03-29T17:29:30.000Z
flask_unchained/_code_templates/project/unchained_config.py
briancappello/flask-unchained
bff296b5c808f5b1db10f7dddb81054600545749
[ "MIT" ]
18
2018-11-17T12:42:02.000Z
2021-05-22T18:45:27.000Z
flask_unchained/_code_templates/project/unchained_config.py
briancappello/flask-unchained
bff296b5c808f5b1db10f7dddb81054600545749
[ "MIT" ]
7
2018-10-12T16:20:25.000Z
2021-10-06T12:18:21.000Z
BUNDLES = [ #! if api: 'flask_unchained.bundles.api', #! endif #! if mail: 'flask_unchained.bundles.mail', #! endif #! if celery: 'flask_unchained.bundles.celery', # move before mail to send emails synchronously #! endif #! if oauth: 'flask_unchained.bundles.oauth', #! e...
24.612903
86
0.606815
84
763
5.416667
0.369048
0.246154
0.369231
0.112088
0
0
0
0
0
0
0
0
0.252949
763
30
87
25.433333
0.798246
0.415465
0
0
0
0
0.575117
0.568075
0
0
0
0
0
1
0
false
0
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e7b7a5d7eb89f058a899d0d703a4c2acadc36d44
1,380
py
Python
nn/activations.py
jef5ez/jefNets
d13924068d853be8b97e01f313aab4c6f26d20e9
[ "Unlicense" ]
null
null
null
nn/activations.py
jef5ez/jefNets
d13924068d853be8b97e01f313aab4c6f26d20e9
[ "Unlicense" ]
null
null
null
nn/activations.py
jef5ez/jefNets
d13924068d853be8b97e01f313aab4c6f26d20e9
[ "Unlicense" ]
null
null
null
__author__ = 'joseph' import numpy as np class ActivationFunction(object): def activation(self, x): pass def derivative(self, x): pass class LinearActivation(ActivationFunction): def activation(self, x): return x def derivative(self, x): return np.ones(x.shape) d...
16.829268
52
0.615942
192
1,380
4.333333
0.192708
0.134615
0.132212
0.129808
0.487981
0.448317
0.105769
0
0
0
0
0.02549
0.26087
1,380
81
53
17.037037
0.790196
0
0
0.291667
0
0
0.004348
0
0
0
0
0
0
1
0.395833
false
0.041667
0.020833
0.3125
0.895833
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
99cac6910def0ea457ccc7107ba16aafab42f158
475
py
Python
api/resources/utils/selection.py
stevennooijen/stairwaytotravel-backend
39200811ce1fd89dd5f95b9ec5fe84ce10fd8516
[ "MIT" ]
2
2021-12-28T15:30:33.000Z
2022-01-06T23:15:37.000Z
api/resources/utils/selection.py
stevennooijen/stairwaytotravel-backend
39200811ce1fd89dd5f95b9ec5fe84ce10fd8516
[ "MIT" ]
null
null
null
api/resources/utils/selection.py
stevennooijen/stairwaytotravel-backend
39200811ce1fd89dd5f95b9ec5fe84ce10fd8516
[ "MIT" ]
null
null
null
N_FEATURES = 5 def filter_on_geolocation(df_in, ne_lat, ne_lng, sw_lat, sw_lng): return df_in.loc[lambda df: (df["lat"] >= sw_lat) & (df["lat"] < ne_lat)].loc[ lambda df: (df["lng"] >= sw_lng) & (df["lng"] < ne_lng) ] def select_top_features(place_id, df_in, top_x=N_FEATURES): """ Selects to...
31.666667
82
0.658947
82
475
3.536585
0.45122
0.055172
0.068966
0.089655
0
0
0
0
0
0
0
0.002577
0.183158
475
14
83
33.928571
0.744845
0.153684
0
0
0
0
0.031088
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
99d4d31705168eabdc3208ea1ffdc6e3efb9251e
472
py
Python
src/sima/riflex/stressjointloadformulation.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/stressjointloadformulation.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/stressjointloadformulation.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# Generated with StressJointLoadFormulation # from enum import Enum from enum import auto class StressJointLoadFormulation(Enum): """""" MORISON = auto() TVIV = auto() NONE = auto() def label(self): if self == StressJointLoadFormulation.MORISON: return "Morison" if sel...
26.222222
54
0.639831
43
472
7.023256
0.44186
0.059603
0.317881
0
0
0
0
0
0
0
0
0
0.273305
472
18
55
26.222222
0.880466
0.086864
0
0
1
0
0.061611
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.769231
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
99e2f9c77586ae0a373c9c0e5c591ab81955a26d
2,629
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/parameter_buffer_object2.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/parameter_buffer_object2.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/parameter_buffer_object2.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension NV.parameter_buffer_object2 This module customises the behaviour of the OpenGL.raw.GL.NV.parameter_buffer_object2 to provide a more Python-friendly API Overview (from the spec) This extension builds on the NV_parameter_buffer_object extension to provide additional flexibility in sou...
50.557692
76
0.784329
399
2,629
5.112782
0.458647
0.037745
0.058333
0.058824
0.061275
0.061275
0.061275
0.044118
0.044118
0
0
0.016122
0.174211
2,629
52
77
50.557692
0.923538
0.893496
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
820308fe75b79dfb1cd036926fd5fae46c978fd0
898
py
Python
tools_box/_stock/doctype/stationaries_request/test_stationaries_request.py
maisonarmani/Tools-Box
a2226940afdf0291f031008be1af953d2360acdf
[ "MIT" ]
4
2017-09-25T23:34:08.000Z
2020-07-17T23:52:26.000Z
tools_box/_stock/doctype/stationaries_request/test_stationaries_request.py
maisonarmani/Tools-Box
a2226940afdf0291f031008be1af953d2360acdf
[ "MIT" ]
null
null
null
tools_box/_stock/doctype/stationaries_request/test_stationaries_request.py
maisonarmani/Tools-Box
a2226940afdf0291f031008be1af953d2360acdf
[ "MIT" ]
5
2017-06-02T01:58:32.000Z
2022-02-22T16:59:01.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2017, masonarmani38@gmail.com and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest class TestStationariesRequest(unittest.TestCase): pass def manufactured(): d = frappe.db.sql( "SELECT i.name,i.item_name, i....
34.538462
146
0.673719
135
898
4.362963
0.496296
0.050934
0.03056
0.040747
0.264856
0.264856
0.264856
0.264856
0.264856
0.264856
0
0.01273
0.212695
898
25
147
35.92
0.820368
0.109131
0
0.133333
0
0.266667
0.599246
0.026382
0
0
0
0
0
0
null
null
0.066667
0.2
null
null
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
82475e2c2b2bc5c3eaad6cf96930d5f767a8222f
270
py
Python
slackblocks/__init__.py
thosieucoi/slackblocks
ec11a86408c36e16ebad733ce501ed2d4714d96a
[ "BSD-3-Clause" ]
3
2020-04-28T03:32:46.000Z
2020-06-04T06:41:35.000Z
slackblocks/__init__.py
thosieucoi/slackblocks
ec11a86408c36e16ebad733ce501ed2d4714d96a
[ "BSD-3-Clause" ]
null
null
null
slackblocks/__init__.py
thosieucoi/slackblocks
ec11a86408c36e16ebad733ce501ed2d4714d96a
[ "BSD-3-Clause" ]
null
null
null
from .attachments import Attachment, Color, Field from .blocks import ActionsBlock, ContextBlock, DividerBlock, FileBlock, ImageBlock, SectionBlock from .elements import Button, Confirm, Element, Image, Text, TextType from .messages import Message name = "slackblocks"
38.571429
97
0.811111
30
270
7.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.118519
270
6
98
45
0.920168
0
0
0
0
0
0.040741
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
41502d6b3f7a15ab60c77be641632d64417fa4cf
87
py
Python
src/modules/Storage.py
hallrizon-io/Ydoma_telegram
5ac9d562af451e7b942e3ee4f56574bfca599a1c
[ "MIT" ]
null
null
null
src/modules/Storage.py
hallrizon-io/Ydoma_telegram
5ac9d562af451e7b942e3ee4f56574bfca599a1c
[ "MIT" ]
null
null
null
src/modules/Storage.py
hallrizon-io/Ydoma_telegram
5ac9d562af451e7b942e3ee4f56574bfca599a1c
[ "MIT" ]
null
null
null
from aiogram.contrib.fsm_storage.memory import MemoryStorage storage = MemoryStorage()
29
60
0.850575
10
87
7.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.08046
87
3
61
29
0.9125
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
4151fcc18df0e8a345a0400c1d8be766e6485b14
820
py
Python
tests/test_blending_range.py
andrewvaliente/pytoshop
42f88f69906e6fe8e765ca2ebce4477ae6a203f1
[ "BSD-3-Clause" ]
106
2016-11-22T18:52:22.000Z
2022-02-22T03:01:16.000Z
tests/test_blending_range.py
andrewvaliente/pytoshop
42f88f69906e6fe8e765ca2ebce4477ae6a203f1
[ "BSD-3-Clause" ]
28
2017-05-26T00:54:59.000Z
2021-08-06T04:56:03.000Z
tests/test_blending_range.py
andrewvaliente/pytoshop
42f88f69906e6fe8e765ca2ebce4477ae6a203f1
[ "BSD-3-Clause" ]
20
2017-06-05T21:12:18.000Z
2022-01-24T18:41:37.000Z
# -*- coding: utf-8 -*- import pytest from pytoshop import blending_range def _test_default_blending_range(b): assert b.black0 == 0 assert b.black1 == 0 assert b.white0 == 0 assert b.white1 == 0 def test_default_blending_range(): b = blending_range.BlendingRange() _test_default_blending...
17.826087
45
0.662195
114
820
4.535088
0.280702
0.226306
0.220503
0.27853
0.437137
0.108317
0
0
0
0
0
0.040064
0.239024
820
45
46
18.222222
0.788462
0.02561
0
0.074074
0
0
0
0
0
0
0
0
0.296296
1
0.111111
false
0
0.074074
0
0.185185
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
4162ebbce0473ef95a5d8e102318268f8d9b3b34
265
py
Python
musicstore/musicapp/forms.py
hannahclee/recordreview
73855cdc006db5170c9fca214bf5ce6d142040b3
[ "Apache-2.0" ]
null
null
null
musicstore/musicapp/forms.py
hannahclee/recordreview
73855cdc006db5170c9fca214bf5ce6d142040b3
[ "Apache-2.0" ]
null
null
null
musicstore/musicapp/forms.py
hannahclee/recordreview
73855cdc006db5170c9fca214bf5ce6d142040b3
[ "Apache-2.0" ]
null
null
null
from django import forms from .models import Record, Review, Artist class ReviewForm(forms.ModelForm): class Meta: model=Review fields='__all__' class RecordForm(forms.ModelForm): class Meta: model=Record fields='__all__'
18.928571
42
0.675472
30
265
5.7
0.533333
0.163743
0.222222
0.269006
0.327485
0
0
0
0
0
0
0
0.245283
265
13
43
20.384615
0.855
0
0
0.4
0
0
0.05303
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4175cd61098f0cf8bf7f5feb28372f4ed4fab6fc
199
py
Python
tests/utils.py
yoyowallet/drf-integrations-framework
7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9
[ "MIT" ]
1
2020-07-09T11:39:19.000Z
2020-07-09T11:39:19.000Z
tests/utils.py
yoyowallet/drf-integrations-framework
7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9
[ "MIT" ]
5
2020-07-08T11:00:26.000Z
2021-01-13T09:33:09.000Z
tests/utils.py
yoyowallet/drf-integrations-framework
7cf5cd28e5aff80c9b1a34b461294f4bd3108fa9
[ "MIT" ]
2
2021-08-12T12:23:54.000Z
2021-09-20T06:45:38.000Z
from django.http import HttpResponse class WrapperResponse(HttpResponse): def __init__(self, request, *args, **kwargs): super().__init__(*args, **kwargs) self.request = request
24.875
49
0.688442
21
199
6.142857
0.666667
0.170543
0
0
0
0
0
0
0
0
0
0
0.190955
199
7
50
28.428571
0.801242
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4184db264b618dab8d69fec9ab3541a0f1cc935a
68
py
Python
urls.py
jolth/rastree_website
fd26b3f40b2fc52a9c2cafb2cb54f8d63928f9fd
[ "Apache-2.0" ]
null
null
null
urls.py
jolth/rastree_website
fd26b3f40b2fc52a9c2cafb2cb54f8d63928f9fd
[ "Apache-2.0" ]
null
null
null
urls.py
jolth/rastree_website
fd26b3f40b2fc52a9c2cafb2cb54f8d63928f9fd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- urls = ( "/", "Home", )
11.333333
24
0.264706
5
68
3.6
1
0
0
0
0
0
0
0
0
0
0
0.027027
0.455882
68
5
25
13.6
0.459459
0.308824
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
419a675037a11698a85d90ffc30373c0173eec15
588
py
Python
build/fbcode_builder/getdeps/errors.py
ccicconetti/mvfst
727e4d86855db2bc70a0f155bb8147fb751be237
[ "MIT" ]
7
2019-05-21T08:56:40.000Z
2022-02-24T00:04:12.000Z
build/fbcode_builder/getdeps/errors.py
ccicconetti/mvfst
727e4d86855db2bc70a0f155bb8147fb751be237
[ "MIT" ]
4
2020-02-26T01:12:16.000Z
2022-02-26T05:28:37.000Z
build/fbcode_builder/getdeps/errors.py
ccicconetti/mvfst
727e4d86855db2bc70a0f155bb8147fb751be237
[ "MIT" ]
1
2019-10-21T03:32:27.000Z
2019-10-21T03:32:27.000Z
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. from __future__ import a...
34.588235
82
0.770408
85
588
5.247059
0.729412
0.044843
0.044843
0
0
0
0
0
0
0
0
0.008316
0.181973
588
16
83
36.75
0.918919
0.72449
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
68b9e7f3a5ff1e813ae228a42c7f804da3138deb
3,453
py
Python
backend/project/settings/common.py
tipresias/tipresias
8945acb8276f22f2159c24e5a1bd411e7920a79e
[ "MIT" ]
12
2019-05-27T10:28:59.000Z
2022-02-01T23:49:50.000Z
backend/project/settings/common.py
tipresias/tipresias
8945acb8276f22f2159c24e5a1bd411e7920a79e
[ "MIT" ]
275
2019-05-27T06:46:37.000Z
2022-03-18T03:58:33.000Z
backend/project/settings/common.py
tipresias/tipresias
8945acb8276f22f2159c24e5a1bd411e7920a79e
[ "MIT" ]
6
2019-08-27T08:49:50.000Z
2021-10-04T12:28:37.000Z
""" Django settings for project project. Generated by 'django-admin startproject' using Django 2.1.1. 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 fr...
27.404762
90
0.697365
378
3,453
6.251323
0.415344
0.082522
0.05036
0.063479
0.184088
0.162505
0.096488
0.096488
0.050783
0
0
0.009993
0.159571
3,453
125
91
27.624
0.804273
0.236316
0
0
1
0
0.513947
0.412304
0
0
0
0
0
1
0
false
0.08
0.04
0
0.04
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
68d70951f5265e56981d34751c856c390aa3a557
449
py
Python
src/python/src/utils/mysql_connection_string.py
halimov-oa/scrapy-boilerplate
fe3c552fed26bedb0618c245ab923aa34a89ac9d
[ "MIT" ]
34
2019-12-13T10:31:39.000Z
2022-03-09T15:59:07.000Z
src/python/src/utils/mysql_connection_string.py
halimov-oa/scrapy-boilerplate
fe3c552fed26bedb0618c245ab923aa34a89ac9d
[ "MIT" ]
49
2020-02-25T19:41:09.000Z
2022-02-27T12:05:25.000Z
src/python/src/utils/mysql_connection_string.py
halimov-oa/scrapy-boilerplate
fe3c552fed26bedb0618c245ab923aa34a89ac9d
[ "MIT" ]
23
2019-12-23T15:19:42.000Z
2022-03-09T16:00:15.000Z
# -*- coding: utf-8 -*- from scrapy.utils.project import get_project_settings def mysql_connection_string() -> str: """Returns mysql connection string""" settings = get_project_settings() return "mysql+mysqldb://{}:{}@{}:{}/{}?charset=utf8mb4".format( settings.get("DB_USERNAME"), settings....
29.933333
67
0.63029
50
449
5.44
0.54
0.242647
0.238971
0
0
0
0
0
0
0
0
0.008264
0.191537
449
14
68
32.071429
0.741047
0.120267
0
0
0
0
0.239075
0.118252
0
0
0
0
0
1
0.1
false
0.1
0.1
0
0.3
0
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
0
0
0
1
0
0
0
0
0
3
68eabf71b3a5b66e83dd557bf0cb8959bee5b190
1,324
py
Python
2020-10-04/tete/82 meu bom.py
justinharringa/aprendendo-python
b4e472033cc31e7827190cb18bc01b2d425e2f86
[ "MIT" ]
null
null
null
2020-10-04/tete/82 meu bom.py
justinharringa/aprendendo-python
b4e472033cc31e7827190cb18bc01b2d425e2f86
[ "MIT" ]
null
null
null
2020-10-04/tete/82 meu bom.py
justinharringa/aprendendo-python
b4e472033cc31e7827190cb18bc01b2d425e2f86
[ "MIT" ]
null
null
null
vezes = int(input('quantos números vc quer digitar?: ')) todos_os_numeros = [] pares = [] impares = [] for c in range(vezes): valor = int(input('digite {}° número: '.format(c + 1))) todos_os_numeros.append(valor) print(f'valor é {valor}') if valor % 2 == 0: pares.append(valor) el...
34.842105
71
0.638973
202
1,324
3.975248
0.188119
0.191781
0.383562
0.249066
0.540473
0.484433
0.312578
0
0
0
0
0.037807
0.200906
1,324
38
72
34.842105
0.720227
0.534743
0
0
0
0
0.315412
0
0
0
0
0.026316
0
1
0
false
0
0
0
0
0.266667
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
1
0
0
0
0
0
0
0
0
0
0
3
68efbb0af7be78fadfa3b7449739050994deeaa9
110
py
Python
test/test_setup.py
UCBerkeleySETI/turboseti_stream
36aa473821ae50cf8cc16dee07c048f3903599d4
[ "MIT" ]
null
null
null
test/test_setup.py
UCBerkeleySETI/turboseti_stream
36aa473821ae50cf8cc16dee07c048f3903599d4
[ "MIT" ]
null
null
null
test/test_setup.py
UCBerkeleySETI/turboseti_stream
36aa473821ae50cf8cc16dee07c048f3903599d4
[ "MIT" ]
null
null
null
r""" Test setup.py""" def test_setup(): import os cmd = "python3 setup.py check" os.system(cmd)
13.75
34
0.6
17
110
3.823529
0.647059
0.276923
0
0
0
0
0
0
0
0
0
0.012048
0.245455
110
7
35
15.714286
0.771084
0.118182
0
0
0
0
0.244444
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
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
68f0ca3a5e3bea029692d38dc94e8763131ab41e
196
py
Python
wagtail/utils/deprecation.py
sir-sigurd/wagtail
18dd01a4cc7f7c51680400d7f39f80d661c4b1d5
[ "BSD-3-Clause" ]
1
2021-08-14T13:47:33.000Z
2021-08-14T13:47:33.000Z
wagtail/utils/deprecation.py
denza/wagtail
3939397850f2c73d3f960cea5cc9c2cfae2d005d
[ "BSD-3-Clause" ]
4
2020-06-05T17:00:01.000Z
2021-06-17T20:15:01.000Z
wagtail/utils/deprecation.py
denza/wagtail
3939397850f2c73d3f960cea5cc9c2cfae2d005d
[ "BSD-3-Clause" ]
1
2019-04-16T14:14:55.000Z
2019-04-16T14:14:55.000Z
class RemovedInWagtail21Warning(DeprecationWarning): pass removed_in_next_version_warning = RemovedInWagtail21Warning class RemovedInWagtail22Warning(PendingDeprecationWarning): pass
17.818182
59
0.852041
14
196
11.642857
0.785714
0
0
0
0
0
0
0
0
0
0
0.034483
0.112245
196
10
60
19.6
0.902299
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0.4
0
0
0.4
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ec03fd8c8315ec15366aa16303660cbcf06cd432
109
py
Python
test.py
cyskyvein/Deep-Unfolding-weighted-L1-minimization
9bd07d440e90c66d7b397206ef62a358695c9dd9
[ "MIT" ]
null
null
null
test.py
cyskyvein/Deep-Unfolding-weighted-L1-minimization
9bd07d440e90c66d7b397206ef62a358695c9dd9
[ "MIT" ]
null
null
null
test.py
cyskyvein/Deep-Unfolding-weighted-L1-minimization
9bd07d440e90c66d7b397206ef62a358695c9dd9
[ "MIT" ]
1
2021-01-13T13:36:07.000Z
2021-01-13T13:36:07.000Z
import random import torch x = torch.rand(3, 3) y = x.clamp(min=-0.1, max=0.1) print(x) print(y)
10.9
31
0.587156
22
109
2.909091
0.590909
0.0625
0
0
0
0
0
0
0
0
0
0.072289
0.238532
109
9
32
12.111111
0.698795
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ec0f2933673ee90512020c57d8760a709cfcec0c
176
py
Python
ListNode.py
trickyrat/Leetcodepy
1cb6099b9ac146a5716c4993362576c36c4cb10b
[ "MIT" ]
null
null
null
ListNode.py
trickyrat/Leetcodepy
1cb6099b9ac146a5716c4993362576c36c4cb10b
[ "MIT" ]
null
null
null
ListNode.py
trickyrat/Leetcodepy
1cb6099b9ac146a5716c4993362576c36c4cb10b
[ "MIT" ]
null
null
null
class ListNode(object): """ Definition fro singly-linked list. """ def __init__(self, val=0, next=None) -> None: self.val = val self.next = next
25.142857
49
0.573864
22
176
4.409091
0.681818
0.14433
0
0
0
0
0
0
0
0
0
0.008
0.289773
176
7
50
25.142857
0.768
0.193182
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ec37c6a1f6c0afc0137c181f26d0661d99a5df9c
1,556
py
Python
src/pretix/base/migrations/0058_auto_20170429_1020.py
pajowu/pretix
d6985123b4528f134ead71ce0a4613c9a309fd2c
[ "ECL-2.0", "Apache-2.0" ]
1,248
2015-04-24T13:32:06.000Z
2022-03-29T07:01:36.000Z
src/pretix/base/migrations/0058_auto_20170429_1020.py
pajowu/pretix
d6985123b4528f134ead71ce0a4613c9a309fd2c
[ "ECL-2.0", "Apache-2.0" ]
2,113
2015-02-18T18:58:16.000Z
2022-03-31T11:12:32.000Z
src/pretix/base/migrations/0058_auto_20170429_1020.py
pajowu/pretix
d6985123b4528f134ead71ce0a4613c9a309fd2c
[ "ECL-2.0", "Apache-2.0" ]
453
2015-05-13T09:29:06.000Z
2022-03-24T13:39:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-04-29 10:20 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pretixbase', '0052_team_teaminvite'), ] operations = [ migrations.RemoveFie...
27.785714
108
0.560411
128
1,556
6.65625
0.445313
0.084507
0.183099
0.211268
0.370892
0.370892
0
0
0
0
0
0.020115
0.329049
1,556
55
109
28.290909
0.795977
0.043702
0
0.625
1
0
0.191919
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.104167
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ec386594d0a59256fb66cfa2a2315a66eefbd0b2
25
py
Python
config.py
mrvx666/aliyun_textanalysis
e03ebd07d05e5076d721b62fa8a7de1b1efc4eb4
[ "MIT" ]
null
null
null
config.py
mrvx666/aliyun_textanalysis
e03ebd07d05e5076d721b62fa8a7de1b1efc4eb4
[ "MIT" ]
null
null
null
config.py
mrvx666/aliyun_textanalysis
e03ebd07d05e5076d721b62fa8a7de1b1efc4eb4
[ "MIT" ]
null
null
null
appcode = '' baidu_AK=''
8.333333
12
0.6
3
25
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.16
25
3
13
8.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ec3bc6594a760202d75faa905527c907bd735604
322
py
Python
database_email/models.py
fabioanderegg/django-database-email
2a9a1d888365db1d3b3564cf56c22a64a827d5d9
[ "MIT" ]
null
null
null
database_email/models.py
fabioanderegg/django-database-email
2a9a1d888365db1d3b3564cf56c22a64a827d5d9
[ "MIT" ]
null
null
null
database_email/models.py
fabioanderegg/django-database-email
2a9a1d888365db1d3b3564cf56c22a64a827d5d9
[ "MIT" ]
null
null
null
from django.db import models from django.utils.encoding import python_2_unicode_compatible @python_2_unicode_compatible class EMail(models.Model): subject = models.CharField(max_length=200) name = models.CharField(max_length=200) text = models.TextField() def __str__(self): return self.subjec...
24.769231
61
0.76087
43
322
5.418605
0.604651
0.085837
0.120172
0.206009
0.23176
0
0
0
0
0
0
0.02952
0.158385
322
12
62
26.833333
0.830258
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
0.888889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
ec3f2240cf153610f143e91654e4cd1af41b1fe6
1,508
py
Python
tests/test_util_xpub.py
rafa1239/specter-desktop
4287756f2343d39a678404d8827c9053a31ca99e
[ "MIT" ]
683
2019-08-31T02:26:21.000Z
2022-03-31T18:43:31.000Z
tests/test_util_xpub.py
rafa1239/specter-desktop
4287756f2343d39a678404d8827c9053a31ca99e
[ "MIT" ]
1,100
2019-09-26T13:00:18.000Z
2022-03-31T22:29:54.000Z
tests/test_util_xpub.py
rafa1239/specter-desktop
4287756f2343d39a678404d8827c9053a31ca99e
[ "MIT" ]
179
2019-09-03T17:10:59.000Z
2022-03-31T16:59:13.000Z
import pytest from cryptoadvance.specter.util.xpub import ( convert_xpub_prefix, get_xpub_fingerprint, ) ### Tests for xpub def test_convert_to_ypub(ghost_machine_xpub_49, ghost_machine_ypub): new_prefix = b"\x04\x9d\x7c\xb2" assert convert_xpub_prefix(ghost_machine_xpub_49, new_prefix) == ghost_mac...
34.272727
87
0.803714
236
1,508
4.639831
0.216102
0.284932
0.19726
0.071233
0.578995
0.365297
0.312329
0.10411
0.10411
0.10411
0
0.052278
0.112069
1,508
43
88
35.069767
0.765497
0.047082
0
0.08
0
0
0.072626
0
0
0
0
0
0.28
1
0.28
false
0
0.08
0
0.36
0.12
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
0
1
0
0
0
0
0
0
0
3
ec46a1a0a07cc10d688578e99ed8f62594776981
83
py
Python
cram/apps.py
mdebono/covid-risk-area-monitor
40f25d8dfb9ed0cbd5da9c3d780d3c4604885cec
[ "Apache-2.0" ]
1
2020-10-03T07:08:07.000Z
2020-10-03T07:08:07.000Z
cram/apps.py
mdebono/covid-risk-area-monitor
40f25d8dfb9ed0cbd5da9c3d780d3c4604885cec
[ "Apache-2.0" ]
null
null
null
cram/apps.py
mdebono/covid-risk-area-monitor
40f25d8dfb9ed0cbd5da9c3d780d3c4604885cec
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class CramConfig(AppConfig): name = 'cram'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
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
ec50b3ae45b879be699bf33b6a2239133d0c40c2
6,172
py
Python
deltalanguage/test/_graph_lib.py
riverlane/deltalanguage
41c3cfa88ed3f17956645c18566c2147a4bdd74c
[ "MIT" ]
16
2021-01-06T17:44:51.000Z
2022-01-06T12:07:07.000Z
deltalanguage/test/_graph_lib.py
riverlane/deltalanguage
41c3cfa88ed3f17956645c18566c2147a4bdd74c
[ "MIT" ]
null
null
null
deltalanguage/test/_graph_lib.py
riverlane/deltalanguage
41c3cfa88ed3f17956645c18566c2147a4bdd74c
[ "MIT" ]
4
2021-03-25T20:35:08.000Z
2021-09-06T13:10:58.000Z
"""Collection of graphs used in one or more unittests. """ import deltalanguage as dl from deltalanguage.test._node_lib import (add_const, add_optional, add_non_const, forward_const, ...
29.673077
73
0.573396
818
6,172
4.129584
0.144254
0.019242
0.053286
0.053286
0.743635
0.721433
0.705447
0.664594
0.64032
0.64032
0
0.014595
0.31173
6,172
207
74
29.816425
0.780603
0.132858
0
0.526316
0
0
0.043462
0
0
0
0
0
0
1
0.112782
false
0
0.015038
0
0.203008
0.045113
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
6b5630fcd4ca6f097887eba6637fd67cfcc062bf
544
py
Python
pyinspect/DocString.py
SvenHepkema/pyinspect
1015b5144c7b99e3354758496ea74cc6f8e76172
[ "MIT" ]
null
null
null
pyinspect/DocString.py
SvenHepkema/pyinspect
1015b5144c7b99e3354758496ea74cc6f8e76172
[ "MIT" ]
null
null
null
pyinspect/DocString.py
SvenHepkema/pyinspect
1015b5144c7b99e3354758496ea74cc6f8e76172
[ "MIT" ]
null
null
null
def format(string): ''' Formats the docstring. ''' # reStructuredText formatting? # Remove all \n and replace all spaces with a single space string = ' '.join(list(filter(None, string.replace('\n', ' ').split(' ')))) return string class DocString: def __init__(self, strin...
24.727273
83
0.591912
62
544
4.935484
0.5
0.098039
0.098039
0
0
0
0
0
0
0
0
0
0.286765
544
22
84
24.727273
0.78866
0.202206
0
0
0
0
0.01171
0
0
0
0
0
0
1
0.416667
false
0
0
0.25
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6b6dc48b8a20a2d72a8737f4294ac47e26855160
2,358
py
Python
app/models.py
Ronyonka/B-Log
e5a460646c73a63518b773617531b9c77222bef9
[ "Unlicense" ]
null
null
null
app/models.py
Ronyonka/B-Log
e5a460646c73a63518b773617531b9c77222bef9
[ "Unlicense" ]
4
2021-03-18T22:21:46.000Z
2022-01-13T01:04:59.000Z
app/models.py
Ronyonka/B-Log
e5a460646c73a63518b773617531b9c77222bef9
[ "Unlicense" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from . import login_manager from datetime import datetime @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin,db.Model): __tablename__ =...
25.630435
78
0.736641
342
2,358
4.903509
0.248538
0.090638
0.113298
0.085868
0.437686
0.314252
0.314252
0.227788
0.188432
0.140727
0
0.013962
0.119169
2,358
92
79
25.630435
0.793452
0.042833
0
0.233333
1
0
0.062722
0
0
0
0
0
0
1
0.15
false
0.15
0.083333
0.066667
0.816667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
6b984e1b67a15488972509de0685affaac11451a
1,942
py
Python
src/psk31/psk31decoder.py
Thomas-Stewart/RadioFrequencyInterpreter
bbb58f1d9f1b877bc063bac448b4c586c57b2a8f
[ "MIT" ]
2
2018-03-28T00:04:33.000Z
2020-01-27T23:16:25.000Z
src/psk31/psk31decoder.py
Thomas-Stewart/RadioFrequencyInterpreter
bbb58f1d9f1b877bc063bac448b4c586c57b2a8f
[ "MIT" ]
null
null
null
src/psk31/psk31decoder.py
Thomas-Stewart/RadioFrequencyInterpreter
bbb58f1d9f1b877bc063bac448b4c586c57b2a8f
[ "MIT" ]
4
2016-03-01T23:35:47.000Z
2018-03-28T00:04:37.000Z
#ifndef INCLUDED_GR_WAVFILE_SOURCE_H #define INCLUDED_GR_WAVFILE_SOURCE_H from gnuradio import gr from gnuradio import audio from gnuradio import digital #from gnuradio import analog, digital from gnuradio import blocks from gnuradio import filter class psk31_demod(gr.top_block): def __init__(self, src_file)...
28.144928
82
0.635942
261
1,942
4.536398
0.448276
0.060811
0.091216
0.058277
0.060811
0
0
0
0
0
0
0.025862
0.283213
1,942
68
83
28.558824
0.824713
0.364573
0
0
0
0
0.026337
0
0
0
0
0.014706
0
0
null
null
0.058824
0.147059
null
null
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
6bab7a7ccfe10c858a8058af1d2d1dcf10f0d95f
1,197
py
Python
quots/migrations/0015_auto_20170807_1052.py
GSByeon/openhgsenti
d7806f58c81127d32091d9875a99ac13aef94a8a
[ "Apache-2.0" ]
29
2018-05-29T06:47:34.000Z
2022-02-22T04:38:53.000Z
quots/migrations/0015_auto_20170807_1052.py
GSByeon/openhgsenti
d7806f58c81127d32091d9875a99ac13aef94a8a
[ "Apache-2.0" ]
2
2018-08-28T08:02:14.000Z
2018-11-26T08:19:16.000Z
quots/migrations/0015_auto_20170807_1052.py
drexly/openhgsenti
d7806f58c81127d32091d9875a99ac13aef94a8a
[ "Apache-2.0" ]
11
2018-06-26T00:47:52.000Z
2020-12-22T14:14:18.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-08-07 01:52 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('quots', '0014_out_type'), ] operations = [ mig...
28.5
98
0.578112
121
1,197
5.553719
0.495868
0.14881
0.186012
0.215774
0.392857
0.392857
0.127976
0.127976
0
0
0
0.035629
0.296575
1,197
41
99
29.195122
0.76247
0.056809
0
0.441176
1
0
0.072824
0
0
0
0
0
0
1
0
false
0
0.088235
0
0.176471
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6baba002b83d68fedb26316216e7fed7123ca63f
127
py
Python
life_tracker/flask_app/callbacks.py
SeanGrady/life_tracker
333b03844cb418e492421e6719e50332364f541a
[ "MIT" ]
null
null
null
life_tracker/flask_app/callbacks.py
SeanGrady/life_tracker
333b03844cb418e492421e6719e50332364f541a
[ "MIT" ]
null
null
null
life_tracker/flask_app/callbacks.py
SeanGrady/life_tracker
333b03844cb418e492421e6719e50332364f541a
[ "MIT" ]
null
null
null
from flask import current_app as app @app.teardown_appcontext def shutdown_session(exception=None): app.session.remove()
18.142857
37
0.795276
18
127
5.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.125984
127
6
38
21.166667
0.882883
0
0
0
0
0
0
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
6baf81abc9ce5d3c9c79cae25252582dfe73623a
143
py
Python
tests/test_array_functions.py
CharlieShelbourne/InterviewCake
ffe29c2f7682a5a2f08a5d26ba712a26b43b0b3a
[ "MIT" ]
null
null
null
tests/test_array_functions.py
CharlieShelbourne/InterviewCake
ffe29c2f7682a5a2f08a5d26ba712a26b43b0b3a
[ "MIT" ]
null
null
null
tests/test_array_functions.py
CharlieShelbourne/InterviewCake
ffe29c2f7682a5a2f08a5d26ba712a26b43b0b3a
[ "MIT" ]
null
null
null
import unittest class ArrayFunctionsTestSuite(unittest.TestCase): """ Basic unit tests""" if __name__ == "__main__": unittest.main()
17.875
49
0.713287
14
143
6.714286
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.160839
143
8
50
17.875
0.783333
0.111888
0
0
0
0
0.066116
0
0
0
0
0
0
1
0
true
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
0
1
0
0
0
0
0
0
3
6bc5e3c2d792e14108c432721158b39ff0f04190
55
py
Python
unicorn/apps/api/__init__.py
mkoistinen/homebridge-pi-lamp
e618e7d8073636532d87d0cffb39eda212bfca2c
[ "MIT" ]
null
null
null
unicorn/apps/api/__init__.py
mkoistinen/homebridge-pi-lamp
e618e7d8073636532d87d0cffb39eda212bfca2c
[ "MIT" ]
4
2020-06-06T00:00:02.000Z
2021-06-10T19:08:58.000Z
unicorn/apps/api/__init__.py
mkoistinen/homebridge-pi-lamp
e618e7d8073636532d87d0cffb39eda212bfca2c
[ "MIT" ]
null
null
null
default_app_config = 'unicorn.apps.api.apps.ApiConfig'
27.5
54
0.818182
8
55
5.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.054545
55
1
55
55
0.826923
0
0
0
0
0
0.563636
0.563636
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6bd410b239c382fc6b65169f20075df16f751a6c
128
py
Python
src/api/v1/contact/urls.py
Miguel-gh96/nfu_alfa
102e0bdb18b1b36a419039c6e50c95a39b4f4ed7
[ "MIT" ]
null
null
null
src/api/v1/contact/urls.py
Miguel-gh96/nfu_alfa
102e0bdb18b1b36a419039c6e50c95a39b4f4ed7
[ "MIT" ]
null
null
null
src/api/v1/contact/urls.py
Miguel-gh96/nfu_alfa
102e0bdb18b1b36a419039c6e50c95a39b4f4ed7
[ "MIT" ]
null
null
null
from django.conf.urls import url from contact import views urlpatterns = [ url(r'^api/v1/contact/$', views.sendMessage), ]
18.285714
49
0.71875
18
128
5.111111
0.722222
0
0
0
0
0
0
0
0
0
0
0.009174
0.148438
128
6
50
21.333333
0.834862
0
0
0
0
0
0.132813
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6be9ce88e2be56b624bc5b5d939d22d5c67278e7
442
py
Python
task_widgets/calculation/time_subtraction.py
athrn/kognitivo
15822338778213c09ea654ec4e06a300129f9478
[ "Apache-2.0" ]
80
2017-11-13T21:58:55.000Z
2022-01-03T20:10:42.000Z
task_widgets/calculation/time_subtraction.py
athrn/kognitivo
15822338778213c09ea654ec4e06a300129f9478
[ "Apache-2.0" ]
null
null
null
task_widgets/calculation/time_subtraction.py
athrn/kognitivo
15822338778213c09ea654ec4e06a300129f9478
[ "Apache-2.0" ]
21
2017-11-14T09:47:41.000Z
2021-11-23T06:44:31.000Z
from task_widgets.task_base.intro_hint import IntroHint from utils import import_kv from .time_calculation import TimeCalculation import_kv(__file__) class IntroHintTimeSubtraction(IntroHint): pass class TimeSubtraction(TimeCalculation): TASK_KEY = "time_subtraction" INTRO_HINT_CLASS = IntroHintTimeSub...
23.263158
55
0.791855
51
442
6.529412
0.588235
0.054054
0
0
0
0
0
0
0
0
0
0.013369
0.153846
442
18
56
24.555556
0.877005
0
0
0
0
0
0.036199
0
0
0
0
0
0
1
0.083333
false
0.083333
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
6bee987fe3cd9cbaf37ad2f812457b14f217a373
1,417
py
Python
django_project/autodidacticism/blog/migrations/0005_auto_20210107_0231.py
MatthewTe/django_postings_project
b144f10000d7aead965254562b535313203ac177
[ "MIT" ]
null
null
null
django_project/autodidacticism/blog/migrations/0005_auto_20210107_0231.py
MatthewTe/django_postings_project
b144f10000d7aead965254562b535313203ac177
[ "MIT" ]
null
null
null
django_project/autodidacticism/blog/migrations/0005_auto_20210107_0231.py
MatthewTe/django_postings_project
b144f10000d7aead965254562b535313203ac177
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2021-01-07 02:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0004_auto_20201229_0445'), ] operations = [ migrations.AlterField( model_name='articlemodel', name='article_...
32.204545
87
0.599153
137
1,417
6.014599
0.379562
0.145631
0.182039
0.211165
0.633495
0.571602
0.436893
0.131068
0.131068
0
0
0.048563
0.287932
1,417
43
88
32.953488
0.768087
0.031757
0
0.486486
1
0
0.175912
0.016788
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6bfb755e640d2b3dc1f9a181310060e73f51e0e0
261
py
Python
tests/test_cfn_macro_vpc.py
lambda-my-aws/cfn-macro-vpc
ad53bdfd715cad446f212464b62d1a9d9d5fc442
[ "Apache-2.0" ]
null
null
null
tests/test_cfn_macro_vpc.py
lambda-my-aws/cfn-macro-vpc
ad53bdfd715cad446f212464b62d1a9d9d5fc442
[ "Apache-2.0" ]
null
null
null
tests/test_cfn_macro_vpc.py
lambda-my-aws/cfn-macro-vpc
ad53bdfd715cad446f212464b62d1a9d9d5fc442
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `cfn_macro_vpc` package.""" import pytest from cfn_macro_vpc import cfn_macro_vpc import yaml values = None with open('test_input.yml', 'r') as fd: values = yaml.loads(fd.read()) print(values)
16.3125
40
0.685824
42
261
4.095238
0.714286
0.139535
0.19186
0.197674
0
0
0
0
0
0
0
0.004525
0.153257
261
15
41
17.4
0.773756
0.295019
0
0
0
0
0.084746
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
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
d45e7792e2f20f92123ed70a0cfa9fa164a8f367
1,035
py
Python
soloist/apps/projects/migrations/0002_auto_20160822_1214.py
vmogilev/soloist
6ae3309eff1e5429fd1161181487e8ee6a9f5905
[ "Apache-2.0" ]
null
null
null
soloist/apps/projects/migrations/0002_auto_20160822_1214.py
vmogilev/soloist
6ae3309eff1e5429fd1161181487e8ee6a9f5905
[ "Apache-2.0" ]
2
2020-06-05T17:53:56.000Z
2021-06-01T22:02:46.000Z
soloist/apps/projects/migrations/0002_auto_20160822_1214.py
vmogilev/soloist
6ae3309eff1e5429fd1161181487e8ee6a9f5905
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-08-22 19:14 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0001_initial'), ] operations = [ migrations.AddField( ...
27.972973
70
0.598068
97
1,035
6.175258
0.556701
0.0601
0.180301
0.207012
0.450751
0.388982
0.30384
0.30384
0.30384
0.30384
0
0.027397
0.294686
1,035
36
71
28.75
0.793151
0.064734
0
0.448276
1
0
0.135751
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.172414
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d46001ad8d97036185b3b7752af1c5a706eae157
134
py
Python
tests/test_yourproject.py
blong191/flask-adventure
22b57f00c5c1dae5727b6705018c1bb45f4a9622
[ "MIT" ]
null
null
null
tests/test_yourproject.py
blong191/flask-adventure
22b57f00c5c1dae5727b6705018c1bb45f4a9622
[ "MIT" ]
null
null
null
tests/test_yourproject.py
blong191/flask-adventure
22b57f00c5c1dae5727b6705018c1bb45f4a9622
[ "MIT" ]
null
null
null
import flaskr def test_import(): assert flaskr @pytest.fixture def app: app = create_app({ "TESTING": True }) yield app
13.4
41
0.664179
18
134
4.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.231343
134
9
42
14.888889
0.84466
0
0
0
0
0
0.052239
0
0
0
0
0
0.142857
0
null
null
0
0.285714
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2e13535528241b645e86a25cf6bf9526397516da
196
py
Python
py_aula1/py1_aula1-helloWorld.py
Lusques/python_academico
cde4f5712d70e9ed0b9b2364588199cdaef46e20
[ "MIT" ]
null
null
null
py_aula1/py1_aula1-helloWorld.py
Lusques/python_academico
cde4f5712d70e9ed0b9b2364588199cdaef46e20
[ "MIT" ]
null
null
null
py_aula1/py1_aula1-helloWorld.py
Lusques/python_academico
cde4f5712d70e9ed0b9b2364588199cdaef46e20
[ "MIT" ]
null
null
null
#Este programa tem a função de mostrar a mensagem "alo mundo na tela". """ Assim se faz um comentário em várias linhas. Pode-se usar aspas simples ou duplas! """ print("Alô mundo na tela");
28
71
0.709184
33
196
4.212121
0.848485
0.100719
0.158273
0
0
0
0
0
0
0
0
0
0.19898
196
6
72
32.666667
0.88535
0.77551
0
0
0
0
0.566667
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
0
1
0
3
2e355c22d8ec3576ee1c4d9b993652703ed31d6c
6,232
py
Python
mrjob/protocol.py
adaptivelab/mrjob
1673554dd07ac7436c6bd6c1f8c28ddd8aa01ac5
[ "Apache-2.0" ]
1
2015-11-05T21:40:37.000Z
2015-11-05T21:40:37.000Z
mrjob/protocol.py
adaptivelab/mrjob
1673554dd07ac7436c6bd6c1f8c28ddd8aa01ac5
[ "Apache-2.0" ]
null
null
null
mrjob/protocol.py
adaptivelab/mrjob
1673554dd07ac7436c6bd6c1f8c28ddd8aa01ac5
[ "Apache-2.0" ]
null
null
null
# Copyright 2009-2010 Yelp # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softwa...
29.67619
79
0.660944
863
6,232
4.70336
0.302433
0.062084
0.020695
0.020695
0.361173
0.319783
0.262134
0.216063
0.113328
0.065533
0
0.003762
0.232189
6,232
209
80
29.818182
0.844514
0.497914
0
0.517647
0
0
0.022339
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.176471
0.635294
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
2e43243a26a1970517c198dd8250982fddf21e38
125,232
py
Python
lib/flipt_pb2.py
earthpyy/flipt-grpc-python
a4851a3d611d3d2892b3db1e0448e68d598d44e5
[ "Apache-2.0" ]
6
2020-08-03T00:31:34.000Z
2021-12-29T19:20:08.000Z
lib/flipt_pb2.py
earthpyy/flipt-grpc-python
a4851a3d611d3d2892b3db1e0448e68d598d44e5
[ "Apache-2.0" ]
1
2021-02-05T06:56:41.000Z
2021-02-09T02:16:40.000Z
lib/flipt_pb2.py
earthpyy/flipt-grpc-python
a4851a3d611d3d2892b3db1e0448e68d598d44e5
[ "Apache-2.0" ]
4
2021-01-30T08:42:58.000Z
2021-03-02T11:06:35.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: flipt.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf...
45.210108
13,918
0.7588
15,749
125,232
5.72303
0.039368
0.042338
0.074413
0.065903
0.723894
0.684729
0.679359
0.669218
0.664991
0.619791
0
0.051136
0.115066
125,232
2,769
13,919
45.226436
0.762168
0.021552
0
0.681467
1
0.008494
0.211515
0.16092
0
0
0
0
0
1
0
false
0
0.003089
0
0.003089
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2e4fc3fa7b6f5a156d4343e9216514440518df90
91
py
Python
sbom_manager/version.py
anthonyharrison/sbom-manager
d3252f54edcc2a87e74191aa4bfad5a5ada2c1f3
[ "MIT" ]
null
null
null
sbom_manager/version.py
anthonyharrison/sbom-manager
d3252f54edcc2a87e74191aa4bfad5a5ada2c1f3
[ "MIT" ]
null
null
null
sbom_manager/version.py
anthonyharrison/sbom-manager
d3252f54edcc2a87e74191aa4bfad5a5ada2c1f3
[ "MIT" ]
null
null
null
# Copyright (C) 2021 Anthony Harrison # SPDX-License-Identifier: MIT VERSION: str = "0.1"
18.2
37
0.714286
13
91
5
1
0
0
0
0
0
0
0
0
0
0
0.077922
0.153846
91
4
38
22.75
0.766234
0.703297
0
0
0
0
0.125
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2e51b65e798cee5230bc8c10e377782b4896597b
69
py
Python
notebooks/_solutions/case3_bacterial_resistance_lab_experiment7.py
jorisvandenbossche/2018-Bordeaux-pandas-course
3f6b9fe6f02c2ab484c3f9744d7d39b926438dd6
[ "BSD-3-Clause" ]
3
2019-07-23T15:14:03.000Z
2020-11-10T06:12:18.000Z
notebooks/_solutions/case3_bacterial_resistance_lab_experiment7.py
jorisvandenbossche/2018-Bordeaux-pandas-course
3f6b9fe6f02c2ab484c3f9744d7d39b926438dd6
[ "BSD-3-Clause" ]
null
null
null
notebooks/_solutions/case3_bacterial_resistance_lab_experiment7.py
jorisvandenbossche/2018-Bordeaux-pandas-course
3f6b9fe6f02c2ab484c3f9744d7d39b926438dd6
[ "BSD-3-Clause" ]
3
2020-03-04T23:40:20.000Z
2021-11-04T16:41:10.000Z
tidy_experiment['optical_density'].hist(color='lightgrey', rwidth=.9)
69
69
0.797101
9
69
5.888889
1
0
0
0
0
0
0
0
0
0
0
0.014706
0.014493
69
1
69
69
0.764706
0
0
0
0
0
0.342857
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2e7f91bb82604c1889190766f1e07b4b2708716c
186
py
Python
Revitron.tab/Revitron.panel/Tags.pulldown/TagRoomBottomLeft.pushbutton/TagRoomBottomLeft_script.py
revitron/revitron-ui
167af8a2e843b83963b2bcd8cd1d009efffb83ce
[ "MIT" ]
6
2020-05-17T09:14:28.000Z
2022-02-18T04:01:45.000Z
Revitron.tab/Revitron.panel/Tags.pulldown/TagRoomBottomLeft.pushbutton/TagRoomBottomLeft_script.py
revitron/revitron-ui
167af8a2e843b83963b2bcd8cd1d009efffb83ce
[ "MIT" ]
3
2020-10-09T23:24:12.000Z
2020-11-16T12:30:17.000Z
Revitron.tab/Revitron.panel/Tags.pulldown/TagRoomBottomLeft.pushbutton/TagRoomBottomLeft_script.py
revitron/revitron-ui
167af8a2e843b83963b2bcd8cd1d009efffb83ce
[ "MIT" ]
4
2020-10-08T16:30:03.000Z
2021-12-17T10:29:37.000Z
import revitron from revitronui import RoomTags transaction = revitron.Transaction() RoomTags.add(revitron.RoomTag.bottomLeft, 'Select Room Tag Type (Bottom Left)') transaction.commit()
31
79
0.817204
22
186
6.909091
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.091398
186
6
80
31
0.899408
0
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2e7fcd390bd87596a9c4116f914262aa318425ff
2,470
py
Python
ex_reader_neo/page_analyzer.py
kkchen-dev/HandyGallery
14e34ce9cde41f049d38c1833a0aa124953d1b24
[ "MIT" ]
null
null
null
ex_reader_neo/page_analyzer.py
kkchen-dev/HandyGallery
14e34ce9cde41f049d38c1833a0aa124953d1b24
[ "MIT" ]
null
null
null
ex_reader_neo/page_analyzer.py
kkchen-dev/HandyGallery
14e34ce9cde41f049d38c1833a0aa124953d1b24
[ "MIT" ]
null
null
null
import collections import re import html from bs4 import BeautifulSoup from collections import namedtuple class PageAnalyzer: def __init__(self, page: str): """Takes in an html page string and get the key elements.""" self.soup = BeautifulSoup(page, 'html.parser') self.prev_url, self.next_u...
36.865672
157
0.657085
354
2,470
4.378531
0.225989
0.05871
0.072258
0.054839
0.341935
0.148387
0.08
0.08
0
0
0
0.003495
0.189069
2,470
66
158
37.424242
0.770344
0.031174
0
0.044444
0
0
0.063678
0
0
0
0
0
0
1
0.355556
false
0
0.111111
0.177778
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2e8bbb292c702d25841d111ba7f9e13aca19c57d
321
py
Python
loguru/_contextvars.py
ponponon/loguru
d38ced7539b888e9e9db7495f49f4499b3ee77e1
[ "MIT" ]
1
2022-03-18T14:16:44.000Z
2022-03-18T14:16:44.000Z
loguru/_contextvars.py
ponponon/loguru
d38ced7539b888e9e9db7495f49f4499b3ee77e1
[ "MIT" ]
null
null
null
loguru/_contextvars.py
ponponon/loguru
d38ced7539b888e9e9db7495f49f4499b3ee77e1
[ "MIT" ]
null
null
null
import sys def load_contextvar_class(): if sys.version_info >= (3, 7): from contextvars import ContextVar elif sys.version_info >= (3, 5, 3): from aiocontextvars import ContextVar else: from contextvars import ContextVar return ContextVar ContextVar = load_contextvar_class()...
20.0625
45
0.688474
38
321
5.657895
0.473684
0.223256
0.176744
0.139535
0
0
0
0
0
0
0
0.020576
0.242991
321
15
46
21.4
0.864198
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.4
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
cf1f42befd665609bc3afe46ed05872b78b2601c
283
py
Python
src/books/templatetags/my_tags.py
SkarioT/django
756cdaf14f946e1a724c7fafbe7d13780d23c622
[ "MIT" ]
null
null
null
src/books/templatetags/my_tags.py
SkarioT/django
756cdaf14f946e1a724c7fafbe7d13780d23c622
[ "MIT" ]
3
2020-07-28T10:00:16.000Z
2021-06-04T23:25:09.000Z
src/books/templatetags/my_tags.py
SkarioT/django
756cdaf14f946e1a724c7fafbe7d13780d23c622
[ "MIT" ]
null
null
null
from django import template register = template.Library() @register.simple_tag def my_first_tag(pk,price): return pk+price def rev_name(value): # Only one argument. """Converts a string into all lowercase""" return value[::-1] register.filter('rev_name', rev_name)
17.6875
46
0.720848
41
283
4.829268
0.682927
0.106061
0
0
0
0
0
0
0
0
0
0.004219
0.162544
283
16
47
17.6875
0.831224
0.19788
0
0
0
0
0.036036
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
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
cf3e8bbbb56b1e547446565070c1ad2d54b94bb5
2,370
py
Python
files/unitTest/test_markdown_unittest.py
axptwig/CSCI-2963--Intro-to-Open-Source
f121c159604a196de3f0277c3d74bf3db31e0f18
[ "MIT" ]
null
null
null
files/unitTest/test_markdown_unittest.py
axptwig/CSCI-2963--Intro-to-Open-Source
f121c159604a196de3f0277c3d74bf3db31e0f18
[ "MIT" ]
null
null
null
files/unitTest/test_markdown_unittest.py
axptwig/CSCI-2963--Intro-to-Open-Source
f121c159604a196de3f0277c3d74bf3db31e0f18
[ "MIT" ]
null
null
null
''' Test markdown.py with unittest To run tests: python test_markdown_unittest.py ''' import unittest from markdown_adapter import run_markdown class TestMarkdownPy(unittest.TestCase): def setUp(self): pass def test_non_marked_lines(self): ''' Non-marked lines should only get 'p'...
32.465753
94
0.570042
296
2,370
4.469595
0.219595
0.108844
0.204082
0.231293
0.598639
0.556311
0.442933
0.231293
0.231293
0.231293
0
0.011132
0.317722
2,370
72
95
32.916667
0.80705
0.239662
0
0.2
0
0
0.389467
0.014085
0
0
0
0
0.2
1
0.228571
false
0.028571
0.057143
0
0.314286
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
1
0
0
0
0
0
0
0
3
cf442d4cee9de2e99d491b6d2d5f1cbd13145b9d
1,310
py
Python
python/pyrogue/__init__.py
slaclab/rouge
2a98dd2c758b6bde04e54bdf4e91aaf9504e255e
[ "BSD-3-Clause-LBNL" ]
26
2016-11-02T15:46:29.000Z
2022-03-18T16:50:00.000Z
python/pyrogue/__init__.py
slaclab/rouge
2a98dd2c758b6bde04e54bdf4e91aaf9504e255e
[ "BSD-3-Clause-LBNL" ]
419
2017-06-07T16:06:22.000Z
2022-03-25T21:05:17.000Z
python/pyrogue/__init__.py
slaclab/rouge
2a98dd2c758b6bde04e54bdf4e91aaf9504e255e
[ "BSD-3-Clause-LBNL" ]
12
2017-07-25T22:58:08.000Z
2022-02-17T23:30:05.000Z
#----------------------------------------------------------------------------- # This file is part of the rogue software platform. It is subject to # the license terms in the LICENSE.txt file found in the top-level directory # of this distribution and at: # https://confluence.slac.stanford.edu/display/ppareg/LICENSE...
39.69697
78
0.670229
161
1,310
5.291925
0.496894
0.180751
0.25939
0.032864
0.115023
0.070423
0
0
0
0
0
0.001795
0.149618
1,310
32
79
40.9375
0.763016
0.480153
0
0
0
0
0.053651
0
0
0
0
0
0
1
0
false
0
0.789474
0
0.789474
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
cf5186424b9a9be15cce1da6d9d483371abd7d20
2,153
py
Python
taskstack/app/auth/__init__.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
2
2020-08-17T19:34:42.000Z
2021-09-28T15:05:41.000Z
taskstack/app/auth/__init__.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
1
2020-11-09T20:03:13.000Z
2020-11-09T20:03:13.000Z
taskstack/app/auth/__init__.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
null
null
null
from flask_login import LoginManager from app.db_models import User login_manager = LoginManager() @login_manager.user_loader def load_user(user_id): return User.get_by_id(user_id) class AnonymousUser: """ needs to implement the same (instance) attributes as db_models.User """ def __init__(self): ...
22.195876
79
0.667441
287
2,153
4.665505
0.310105
0.095594
0.126214
0.088872
0.37416
0.273338
0.24944
0.246453
0.106049
0
0
0.001276
0.272178
2,153
96
80
22.427083
0.853223
0.031119
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.323077
false
0.015385
0.030769
0.307692
0.676923
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
cf789f4e1a295f75d9230f362239f4ad8c4a061a
494
py
Python
docs/nb_gen_tests/conftest.py
progwriter/pybatfish
63f785daae4eff0b9b85d280ef3aa78321fad93a
[ "Apache-2.0" ]
160
2018-08-09T08:17:48.000Z
2022-03-31T13:58:33.000Z
docs/nb_gen_tests/conftest.py
progwriter/pybatfish
63f785daae4eff0b9b85d280ef3aa78321fad93a
[ "Apache-2.0" ]
795
2018-08-03T17:14:16.000Z
2022-03-30T05:46:19.000Z
docs/nb_gen_tests/conftest.py
progwriter/pybatfish
63f785daae4eff0b9b85d280ef3aa78321fad93a
[ "Apache-2.0" ]
39
2018-08-10T19:46:07.000Z
2021-12-30T03:56:47.000Z
# coding: utf-8 from os.path import abspath, dirname, realpath from pathlib import Path import pytest import yaml from pybatfish.client.session import Session _THIS_DIR: Path = Path(abspath(dirname(realpath(__file__)))) _DOC_DIR: Path = _THIS_DIR.parent _QUESTIONS_YAML: Path = _DOC_DIR / "nb_gen" / "questions.yaml" ...
21.478261
62
0.757085
68
494
5.235294
0.470588
0.109551
0.123596
0.140449
0.157303
0
0
0
0
0
0
0.002315
0.125506
494
22
63
22.454545
0.821759
0.026316
0
0.142857
0
0
0.070981
0
0
0
0
0
0
1
0.142857
true
0
0.357143
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
0
1
0
1
1
0
0
0
3
cf81dce8abfe93008f14fe6ea5cf5adfab1c583f
170
py
Python
src/tblink_rpc/rt/task_asyncio.py
tblink-rpc/pytblink-rpc
fb3a4d658942107a5882280f082c91d2e3396a35
[ "Apache-2.0" ]
2
2022-03-30T11:57:57.000Z
2022-03-30T12:31:36.000Z
src/tblink_rpc/rt/task_asyncio.py
fvutils/pytblink
7e62355927f8d9558c0b3f95e9eaaa509468131b
[ "Apache-2.0" ]
null
null
null
src/tblink_rpc/rt/task_asyncio.py
fvutils/pytblink
7e62355927f8d9558c0b3f95e9eaaa509468131b
[ "Apache-2.0" ]
null
null
null
''' Created on Dec 27, 2021 @author: mballance ''' from tblink_rpc.task import Task class TaskAsyncio(Task): def __init__(self, task): self.task = task
15.454545
32
0.658824
23
170
4.652174
0.73913
0.149533
0
0
0
0
0
0
0
0
0
0.045802
0.229412
170
11
33
15.454545
0.770992
0.252941
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
cf88d45c37b0f1e0be7615407a9635ec43c9972f
1,722
py
Python
tests/evaluation/model/test_BinaryClassificationMetrics.py
lapix-ufsc/lapixdl
1be7f28f6675dbb6c4a4816cedc498cf6cfaca42
[ "MIT" ]
7
2020-11-25T11:49:40.000Z
2022-01-04T11:07:15.000Z
tests/evaluation/model/test_BinaryClassificationMetrics.py
lapix-ufsc/lapixdl
1be7f28f6675dbb6c4a4816cedc498cf6cfaca42
[ "MIT" ]
8
2020-11-30T14:39:36.000Z
2022-02-21T13:27:10.000Z
tests/evaluation/model/test_BinaryClassificationMetrics.py
lapix-ufsc/lapixdl
1be7f28f6675dbb6c4a4816cedc498cf6cfaca42
[ "MIT" ]
1
2021-12-21T16:15:37.000Z
2021-12-21T16:15:37.000Z
import math from lapixdl.evaluation.model import BinaryClassificationMetrics def test_count(): bin_class_A = BinaryClassificationMetrics(cls=['a', 'b'], FN=1, TP=2) assert bin_class_A.count == 3 bin_class_B = BinaryClassificationMetrics(cls=['a', 'b'], FN=1, TP=2, FP=2) assert bin_class_B.count ==...
25.323529
83
0.680604
257
1,722
4.36965
0.163424
0.170971
0.331256
0.341941
0.636687
0.598397
0.555655
0.258237
0.190561
0.106857
0
0.034602
0.160859
1,722
67
84
25.701493
0.742561
0
0
0.054054
0
0
0.013937
0
0
0
0
0
0.324324
1
0.297297
false
0
0.054054
0
0.351351
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
1
0
0
0
0
0
0
0
3
d8534a5b0613e98ed9b22106de13e14ac02cfe02
88
py
Python
pyfix/FIX44/__init__.py
pkdcryptos/wannabegeek_PyFIX
b903e70ce79cefc2525200f84ee4f90c5bf4c686
[ "CC0-1.0" ]
100
2016-01-22T07:38:47.000Z
2022-02-25T20:00:46.000Z
pyfix/FIX44/__init__.py
pkdcryptos/wannabegeek_PyFIX
b903e70ce79cefc2525200f84ee4f90c5bf4c686
[ "CC0-1.0" ]
1
2017-04-13T16:27:25.000Z
2019-03-26T12:35:38.000Z
pyfix/FIX44/__init__.py
pkdcryptos/wannabegeek_PyFIX
b903e70ce79cefc2525200f84ee4f90c5bf4c686
[ "CC0-1.0" ]
53
2016-01-22T07:38:49.000Z
2022-02-22T07:08:52.000Z
from pyfix.FIX44 import msgtype, messages __author__ = 'tom' beginstring = 'FIX.4.4'
12.571429
41
0.727273
12
88
5
0.916667
0
0
0
0
0
0
0
0
0
0
0.054054
0.159091
88
6
42
14.666667
0.756757
0
0
0
0
0
0.114943
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
d853aa6ca867cd485243fc892ccd57f16313432d
4,260
py
Python
jheaps/_internals/_heaps.py
d-michail/python-jheaps
65e1f4036b125dc065dc4398bf2eac0e95726f7a
[ "Apache-2.0" ]
null
null
null
jheaps/_internals/_heaps.py
d-michail/python-jheaps
65e1f4036b125dc065dc4398bf2eac0e95726f7a
[ "Apache-2.0" ]
null
null
null
jheaps/_internals/_heaps.py
d-michail/python-jheaps
65e1f4036b125dc065dc4398bf2eac0e95726f7a
[ "Apache-2.0" ]
null
null
null
from .. import backend from ..types import ( Heap, DoubleEndedHeap, ) from ._wrappers import _HandleWrapper from ._utils import ( _inc_ref, _dec_ref_by_id, _id_to_obj, ) class _BaseHeap(_HandleWrapper, Heap): """A Heap. All operations are delegated to the backend. """ def __init__(s...
28.211921
84
0.676761
554
4,260
4.716607
0.135379
0.126292
0.084577
0.088021
0.732874
0.672407
0.597398
0.595867
0.494451
0.47876
0
0
0.218779
4,260
150
85
28.4
0.785156
0.119014
0
0.489362
0
0
0.033898
0.019639
0
0
0
0
0
1
0.351064
false
0
0.042553
0.180851
0.691489
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
d85f61176dc01f51f289b4b005c99f40797a8318
643
py
Python
src/flasktemplate/views.py
aircooledjacob/flasktemplate
b3f6904c12f22a50fbf99bcc1581599ed942582e
[ "MIT" ]
null
null
null
src/flasktemplate/views.py
aircooledjacob/flasktemplate
b3f6904c12f22a50fbf99bcc1581599ed942582e
[ "MIT" ]
null
null
null
src/flasktemplate/views.py
aircooledjacob/flasktemplate
b3f6904c12f22a50fbf99bcc1581599ed942582e
[ "MIT" ]
null
null
null
from flasktemplate import app from flask import render_template, request @app.errorhandler(404) def page_not_found(e): return render_template('404.html', url=request.url), 404 @app.route('/') def index(): return render_template('index.html') @app.route('/about') def about(): return render_template('ab...
20.741935
60
0.673406
83
643
5.120482
0.361446
0.197647
0.235294
0.08
0
0
0
0
0
0
0
0.016605
0.157076
643
30
61
21.433333
0.767528
0
0
0
0
0
0.164852
0
0
0
0
0
0
1
0.25
false
0
0.1
0.2
0.65
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
d8690f489536e5d2ee86e9476c810c50d75408a8
152
py
Python
curso/PY3/funcao/funcao1/ex2.py
smrsassa/Studying-Python
a5acbce42b85bdd6aea8058ca323fbbd12ce5c22
[ "MIT" ]
1
2019-10-21T18:19:13.000Z
2019-10-21T18:19:13.000Z
curso/PY3/funcao/funcao1/ex2.py
smrsassa/Studying-python
a5acbce42b85bdd6aea8058ca323fbbd12ce5c22
[ "MIT" ]
null
null
null
curso/PY3/funcao/funcao1/ex2.py
smrsassa/Studying-python
a5acbce42b85bdd6aea8058ca323fbbd12ce5c22
[ "MIT" ]
null
null
null
#exercicio 97 def escreva(txt): c = len(txt) print ('-'*c) print (txt) print ('-'*c) escreva (' Exercicio97 ') escreva (' resolvido ')
15.2
25
0.559211
18
152
4.722222
0.555556
0.188235
0.211765
0
0
0
0
0
0
0
0
0.035088
0.25
152
10
26
15.2
0.710526
0.078947
0
0.285714
0
0
0.185714
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.428571
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d8779077da1fd53961aad6c84543d7e77949bf2d
674
py
Python
test/unit/test_composite_deep_merge.py
BstLabs/py-composite
d839303de51000c9afd1568f63ba02e7bdebbc8c
[ "MIT" ]
4
2022-03-10T12:43:53.000Z
2022-03-11T21:22:16.000Z
test/unit/test_composite_deep_merge.py
BstLabs/py-composite
d839303de51000c9afd1568f63ba02e7bdebbc8c
[ "MIT" ]
null
null
null
test/unit/test_composite_deep_merge.py
BstLabs/py-composite
d839303de51000c9afd1568f63ba02e7bdebbc8c
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from unittest import TestCase from pycomposite import composite class Builder(ABC): @abstractmethod def awesome(self) -> dict: pass class BuilderA(Builder): def awesome(self) -> dict: return dict(a=[1, 2], b=3) class BuilderB(Builder): def aweso...
19.823529
86
0.651335
84
674
5.190476
0.392857
0.068807
0.09633
0.123853
0.165138
0.165138
0.165138
0.165138
0
0
0
0.022684
0.215134
674
33
87
20.424242
0.801512
0
0
0.238095
0
0
0.004451
0
0
0
0
0
0.047619
1
0.238095
false
0.095238
0.142857
0.095238
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d8941c628bdb27815fc9d5226ba8996811291007
223
py
Python
PyBullet_experiments/experiments/per_td3_halfchee.py
AnonymousLaBER/LaBER
af9da8ffda0654e2021de20cb162ef71dc9b9d6c
[ "MIT" ]
3
2021-10-11T22:25:02.000Z
2022-03-04T20:00:56.000Z
PyBullet_experiments/experiments/per_td3_halfchee.py
AnonymousLaBER/LaBER
af9da8ffda0654e2021de20cb162ef71dc9b9d6c
[ "MIT" ]
null
null
null
PyBullet_experiments/experiments/per_td3_halfchee.py
AnonymousLaBER/LaBER
af9da8ffda0654e2021de20cb162ef71dc9b9d6c
[ "MIT" ]
null
null
null
import pybullet_envs from stable_baselines3 import TD3_PER model = TD3_PER('MlpPolicy', 'HalfCheetahBulletEnv-v0', verbose=1, tensorboard_log="results/long_TD3_PER_HalfCheetahBullet/") model.learn(total_timesteps=3000000)
37.166667
125
0.843049
29
223
6.172414
0.793103
0.100559
0
0
0
0
0
0
0
0
0
0.062201
0.06278
223
5
126
44.6
0.794258
0
0
0
0
0
0.318386
0.278027
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
d8ae85f34bed0cdbfdd6766a4abc790d7ae4fd9a
122
py
Python
ctrack/caf/apps.py
yulqen/ctrack
b370cdda72e7fab9b85a4e737923fabef679e31d
[ "MIT" ]
null
null
null
ctrack/caf/apps.py
yulqen/ctrack
b370cdda72e7fab9b85a4e737923fabef679e31d
[ "MIT" ]
16
2020-08-13T09:18:57.000Z
2021-11-05T14:32:05.000Z
ctrack/caf/apps.py
hammerheadlemon/ctrack
b370cdda72e7fab9b85a4e737923fabef679e31d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CafConfig(AppConfig): name = 'ctrack.caf' verbose_name = "CAF Register"
17.428571
33
0.721311
15
122
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.188525
122
6
34
20.333333
0.878788
0
0
0
0
0
0.180328
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
2b2e8e7df605526ed4cd2bb7868cdf1ce68fc7f9
313
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/features/discounts/__init__.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/features/discounts/__init__.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/features/discounts/__init__.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Discounts are determined by a combination of user and course, and have a one to one relationship with the enrollment (if already enrolled) or a join table of user and course. They are determined in LMS, because all of the data for the business rules exists here. Discount rules are meant to be permanent. """
52.166667
116
0.779553
54
313
4.518519
0.703704
0.106557
0.07377
0.122951
0
0
0
0
0
0
0
0
0.178914
313
5
117
62.6
0.949416
0.971246
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
0
0
1
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
2b3b21a8eeac07ff074c95f934d13fbe1b3ee59f
2,186
py
Python
scripts/runall_heatmap.py
saketkc/pyvirchow
00a639c461cb0905ec329738d6d499e17fdc2c0f
[ "BSD-3-Clause" ]
4
2019-02-27T20:41:26.000Z
2020-09-20T02:47:05.000Z
scripts/runall_heatmap.py
saketkc/pyvirchow
00a639c461cb0905ec329738d6d499e17fdc2c0f
[ "BSD-3-Clause" ]
null
null
null
scripts/runall_heatmap.py
saketkc/pyvirchow
00a639c461cb0905ec329738d6d499e17fdc2c0f
[ "BSD-3-Clause" ]
null
null
null
import os TRAIN_TUMOR_DIR = '/Z/personal-folders/interns/saket/histopath_data/CAMELYON16/training/tumor' TRAIN_NORMAL_DIR = '/Z/personal-folders/interns/saket/histopath_data/CAMELYON16/training/normal' TRAIN_ANNOTATION_DIR = '/Z/personal-folders/interns/saket/histopath_data/CAMELYON16/training/lesion_annotations_json'...
41.245283
244
0.769899
304
2,186
5.230263
0.292763
0.073585
0.130818
0.18805
0.550943
0.550943
0.549057
0.486792
0.457233
0.418868
0
0.042415
0.083257
2,186
52
245
42.038462
0.750998
0
0
0
0
0.0625
0.613907
0.473925
0
0
0
0
0
1
0
false
0
0.020833
0
0.020833
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2b5be97298aea5679063a1431bf3dbbc7669aa8a
180
py
Python
argostrain/settings.py
argosopentech/argos-train
8cdc079fa6c69f52b6d468a0b2059818f136cf9c
[ "MIT" ]
9
2021-11-03T22:08:41.000Z
2022-03-09T02:56:52.000Z
argostrain/settings.py
argosopentech/argos-train
8cdc079fa6c69f52b6d468a0b2059818f136cf9c
[ "MIT" ]
6
2021-11-21T05:26:27.000Z
2022-03-16T09:46:14.000Z
argostrain/settings.py
argosopentech/argos-train
8cdc079fa6c69f52b6d468a0b2059818f136cf9c
[ "MIT" ]
4
2021-11-04T16:46:29.000Z
2022-02-16T13:06:36.000Z
from pathlib import Path # Only runs in project root RUN_PATH = Path("run") SOURCE_PATH = RUN_PATH / "source" TARGET_PATH = RUN_PATH / "target" CACHE_PATH = RUN_PATH / "cache"
16.363636
33
0.722222
28
180
4.392857
0.464286
0.227642
0.268293
0
0
0
0
0
0
0
0
0
0.177778
180
10
34
18
0.831081
0.138889
0
0
0
0
0.130719
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
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
0
0
0
0
0
0
0
0
0
3
2b70ec9e5a22e2ca635a518255ec13982c0c98bf
114
py
Python
thoughtworks/hr7.py
ganesh-95/python-programs
df4ee1ec1d13ea0cd1ad511827cb0a2e59f55908
[ "MIT" ]
1
2016-07-20T04:40:48.000Z
2016-07-20T04:40:48.000Z
thoughtworks/hr7.py
ganesh-95/python-programs
df4ee1ec1d13ea0cd1ad511827cb0a2e59f55908
[ "MIT" ]
null
null
null
thoughtworks/hr7.py
ganesh-95/python-programs
df4ee1ec1d13ea0cd1ad511827cb0a2e59f55908
[ "MIT" ]
null
null
null
''' replace the spaces in the string with %20 ''' N = raw_input('enter string:') print N.replace(' ', '%20')
10.363636
41
0.605263
17
114
4
0.705882
0
0
0
0
0
0
0
0
0
0
0.043956
0.201754
114
10
42
11.4
0.703297
0
0
0
0
0
0.274194
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
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
1
0
0
0
0
0
0
1
0
3
991a46554c499953f2aa9b7c3899640c67df95dd
70,266
py
Python
pysnmp-with-texts/HPN-ICF-EPON-DEVICE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/HPN-ICF-EPON-DEVICE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/HPN-ICF-EPON-DEVICE-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HPN-ICF-EPON-DEVICE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-EPON-DEVICE-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:38:33 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
229.627451
7,016
0.795349
8,643
70,266
6.465579
0.076825
0.006907
0.065764
0.006943
0.510952
0.401167
0.36935
0.349469
0.303729
0.29174
0
0.053061
0.100945
70,266
305
7,017
230.380328
0.831526
0.004839
0
0.023649
0
0.25
0.439979
0.084357
0
0
0
0
0.037162
1
0
false
0.003378
0.030405
0
0.030405
0
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
99221c8576685109ea1653014ac5adecca7dc92f
293
py
Python
src/models/__init__.py
oojo12/aavae
dd92797d34c8f0cbd4d7d0bb846f0a9f32f5e189
[ "Apache-2.0" ]
42
2021-07-27T01:02:42.000Z
2022-01-05T11:50:25.000Z
src/models/__init__.py
oojo12/aavae
dd92797d34c8f0cbd4d7d0bb846f0a9f32f5e189
[ "Apache-2.0" ]
2
2021-08-08T23:01:16.000Z
2021-08-24T06:30:56.000Z
src/models/__init__.py
oojo12/aavae
dd92797d34c8f0cbd4d7d0bb846f0a9f32f5e189
[ "Apache-2.0" ]
3
2021-12-08T02:52:27.000Z
2022-03-22T15:17:55.000Z
from src.models.projection import ProjectionHeadAE, ProjectionHeadVAE from src.models.resnet import ( resnet18, resnet34, resnet50, resnet50w2, resnet50w4, ) from src.models.decoder import ( decoder18, decoder34, decoder50, decoder50w2, decoder50w4, )
17.235294
69
0.703072
27
293
7.62963
0.703704
0.101942
0.18932
0
0
0
0
0
0
0
0
0.105727
0.225256
293
16
70
18.3125
0.801762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
992d045228948b0e2a139113dc0c5631d834cdca
122
py
Python
server/create_tables.py
KM8Oz/Tiquet
2976bbc3f323e0d2cb52b8ef4296c9059f7cb8d9
[ "MIT" ]
85
2020-10-24T03:29:24.000Z
2022-03-20T22:36:00.000Z
server/create_tables.py
FLiotta/Tiquet
2976bbc3f323e0d2cb52b8ef4296c9059f7cb8d9
[ "MIT" ]
1
2022-02-27T10:13:50.000Z
2022-02-27T10:13:50.000Z
server/create_tables.py
KM8Oz/Tiquet
2976bbc3f323e0d2cb52b8ef4296c9059f7cb8d9
[ "MIT" ]
20
2020-10-24T03:29:25.000Z
2022-02-01T14:47:43.000Z
from app import create_app from app.db import db app = create_app(log=False) with app.app_context(): db.create_all()
17.428571
27
0.745902
22
122
3.954545
0.454545
0.16092
0
0
0
0
0
0
0
0
0
0
0.155738
122
7
28
17.428571
0.84466
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9949e6beb19e7e27e116cb36b4eb0dc439da231c
802
py
Python
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/slice/AbstractGridSlice.py
mjames-upc/python-awips
e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c
[ "BSD-3-Clause" ]
null
null
null
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/slice/AbstractGridSlice.py
mjames-upc/python-awips
e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c
[ "BSD-3-Clause" ]
null
null
null
dynamicserialize/dstypes/com/raytheon/uf/common/dataplugin/gfe/slice/AbstractGridSlice.py
mjames-upc/python-awips
e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c
[ "BSD-3-Clause" ]
null
null
null
## ## import abc from six import with_metaclass class AbstractGridSlice(with_metaclass(abc.ABCMeta, object)): @abc.abstractmethod def __init__(self): self.validTime = None self.gridParmInfo = None self.gridDataHistory = None @abc.abstractmethod def getNumPyGrid(self): ...
22.914286
61
0.695761
74
802
7.459459
0.378378
0.094203
0.076087
0
0
0
0
0
0
0
0
0
0.233167
802
34
62
23.588235
0.897561
0
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.347826
false
0
0.086957
0.130435
0.608696
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
995bce424adbb60bfa738dbab82dd6889df743a6
511
py
Python
raidcal/maincal/admin.py
katajakasa/Raidcal
61d17d8ca0c58c09debb31e868afdd377a87f38d
[ "MIT" ]
null
null
null
raidcal/maincal/admin.py
katajakasa/Raidcal
61d17d8ca0c58c09debb31e868afdd377a87f38d
[ "MIT" ]
null
null
null
raidcal/maincal/admin.py
katajakasa/Raidcal
61d17d8ca0c58c09debb31e868afdd377a87f38d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib import admin from raidcal.maincal.models import Message, Event, SiteDecoration, Participation, Topic from django_summernote.admin import SummernoteModelAdmin admin.site.register(Participation) admin.site.register(Topic) @admin.register(Message) class MessageAdmin(Summern...
20.44
87
0.800391
53
511
7.698113
0.471698
0.095588
0.083333
0.181373
0
0
0
0
0
0
0
0.002198
0.109589
511
24
88
21.291667
0.894505
0.041096
0
0.214286
0
0
0
0
0
0
0
0
0
1
0
true
0.214286
0.214286
0
0.428571
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
1
0
0
0
0
0
3
9961d6bdd93a3a079b6ae39b9fc6cbb6deebf9aa
2,148
py
Python
server/service/web_services.py
Unifield/ufcheck
842cbf4bc0526db9a16ff0ccbcc7bd68368ae178
[ "MIT" ]
null
null
null
server/service/web_services.py
Unifield/ufcheck
842cbf4bc0526db9a16ff0ccbcc7bd68368ae178
[ "MIT" ]
null
null
null
server/service/web_services.py
Unifield/ufcheck
842cbf4bc0526db9a16ff0ccbcc7bd68368ae178
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
29.424658
78
0.639665
271
2,148
5
0.579336
0.024354
0.026568
0.042066
0.115129
0.073801
0.050185
0
0
0
0
0.008855
0.211359
2,148
72
79
29.833333
0.791027
0.450652
0
0.076923
0
0
0.117757
0
0
0
0
0
0
1
0.102564
false
0.102564
0.410256
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
9966c4cef03687f5cbfbcf972dfe7efe089e683b
622
py
Python
permpy/deprecated/permsetdeprecated.py
cheyneh/permpy
ceff68d7b4b3189506ef8c15d5bcc078f0cd1aa2
[ "MIT" ]
7
2015-02-24T22:05:36.000Z
2022-01-27T12:22:38.000Z
permpy/deprecated/permsetdeprecated.py
cheyneh/permpy
ceff68d7b4b3189506ef8c15d5bcc078f0cd1aa2
[ "MIT" ]
2
2019-08-19T21:28:26.000Z
2021-03-14T22:00:26.000Z
permpy/deprecated/permsetdeprecated.py
cheyneh/permpy
ceff68d7b4b3189506ef8c15d5bcc078f0cd1aa2
[ "MIT" ]
7
2015-09-20T20:08:43.000Z
2022-01-27T12:22:43.000Z
from .permdeprecated import deprecated class PermSetDeprecatedMixin: @deprecated def layer_down(self, verbose=0): """Return the PermSet of those permutations which are covered by an element of `self`.""" return self.covers(verbose=0) @deprecated def all_syms(self): return self.symmetries() @deprecated ...
23.037037
91
0.731511
91
622
4.945055
0.472527
0.144444
0.062222
0.062222
0.208889
0.208889
0.208889
0.208889
0.208889
0.208889
0
0.00759
0.152733
622
26
92
23.923077
0.8463
0.133441
0
0.294118
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0.235294
0.705882
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
996fad6085a27de1f9acf676640c14673f252c5a
204
py
Python
nibss/__init__.py
fsi-sandbox/fsi-sdk-python
6387cc5ac0fbd0a1eff5ff07b52df574c3857f28
[ "MIT" ]
1
2020-03-09T23:15:27.000Z
2020-03-09T23:15:27.000Z
nibss/__init__.py
fsi-sandbox/fsi-sdk-python
6387cc5ac0fbd0a1eff5ff07b52df574c3857f28
[ "MIT" ]
2
2020-03-09T12:18:45.000Z
2021-06-02T00:59:26.000Z
nibss/__init__.py
fsi-sandbox/fsi-sdk-python
6387cc5ac0fbd0a1eff5ff07b52df574c3857f28
[ "MIT" ]
3
2020-03-07T09:42:59.000Z
2020-03-26T21:58:46.000Z
from .utils import * from .bvnr import * from .fingerprint import * from .Nibss import * from .records import * from .tests import * __all__ = [ 'bvn', 'fingerprint', 'Nibss', 'records' ]
15.692308
26
0.637255
23
204
5.478261
0.434783
0.396825
0
0
0
0
0
0
0
0
0
0
0.235294
204
13
27
15.692308
0.807692
0
0
0
0
0
0.126829
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.166667
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
9973d5cc2258141ff69cbf03bb2c1b106c0bdc1b
3,011
py
Python
dissertation/about_text.py
SuperShinyEyes/Score-Tool
907dd9e695c9950c6f168480e591a239cdf6a826
[ "MIT" ]
2
2020-09-25T20:35:58.000Z
2020-10-10T17:24:15.000Z
dissertation/about_text.py
SuperShinyEyes/Score-Tool
907dd9e695c9950c6f168480e591a239cdf6a826
[ "MIT" ]
1
2020-10-10T17:57:02.000Z
2020-10-28T15:13:49.000Z
dissertation/about_text.py
SuperShinyEyes/Score-Tool
907dd9e695c9950c6f168480e591a239cdf6a826
[ "MIT" ]
1
2020-09-25T20:36:06.000Z
2020-09-25T20:36:06.000Z
import dash_html_components as html import base64 image_filename = './dissertation/pulkkis_sm.png' # Picture of me encoded_image2 = base64.b64encode(open(image_filename, 'rb').read()) def aboutText(): text = html.Div(children=[html.Img(src='data:image/png;base64,{}'.format(encoded_image2.decode()), ...
231.615385
721
0.798074
459
3,011
5.220044
0.572985
0.015025
0.013773
0.020033
0
0
0
0
0
0
0
0.007865
0.15543
3,011
13
722
231.615385
0.93433
0.004318
0
0
0
0.307692
0.878212
0.017684
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
99865be197aa3692a49a43236ca06d1c6109c6e8
139
py
Python
archivo.py
lcesquivel10/LauraEsquivel_ejercicio22
f26ab93a446b9a3b09d902dba9f4972a2c1f06d5
[ "MIT" ]
null
null
null
archivo.py
lcesquivel10/LauraEsquivel_ejercicio22
f26ab93a446b9a3b09d902dba9f4972a2c1f06d5
[ "MIT" ]
null
null
null
archivo.py
lcesquivel10/LauraEsquivel_ejercicio22
f26ab93a446b9a3b09d902dba9f4972a2c1f06d5
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt datos= np.genfromtxt("data.txt") plt.hist(datos,bins=100) plt.savefig("histograma.pdf")
23.166667
32
0.776978
23
139
4.695652
0.73913
0
0
0
0
0
0
0
0
0
0
0.023622
0.086331
139
6
33
23.166667
0.826772
0
0
0
0
0
0.157143
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
41e377763421cf87c3b6c35372999cd0521d958e
2,776
py
Python
streamson/extract.py
shenek/python-streamson
2b0bd041696e9c9a8c488aec3acc50dd0c56434e
[ "MIT" ]
null
null
null
streamson/extract.py
shenek/python-streamson
2b0bd041696e9c9a8c488aec3acc50dd0c56434e
[ "MIT" ]
25
2020-05-31T22:11:36.000Z
2021-04-19T22:17:10.000Z
streamson/extract.py
shenek/python-streamson
2b0bd041696e9c9a8c488aec3acc50dd0c56434e
[ "MIT" ]
null
null
null
import typing from streamson.output import PythonOutput from streamson.streamson import Extract from .handler import BaseHandler from .matcher import Matcher def extract_iter( input_gen: typing.Generator[bytes, None, None], matchers_and_handlers: typing.List[typing.Tuple[Matcher, typing.Optional[BaseHandler...
33.047619
92
0.719741
357
2,776
5.448179
0.184874
0.0509
0.087918
0.055527
0.784062
0.784062
0.767095
0.71671
0.693573
0.572751
0
0.003623
0.204611
2,776
83
93
33.445783
0.877264
0.197406
0
0.638298
0
0
0
0
0
0
0
0
0
1
0.042553
false
0
0.106383
0
0.148936
0
0
0
0
null
0
0
0
0
1
1
1
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
41f24f938e6c025ae4d7e3f7605d4b5519d08ace
1,729
py
Python
alembic/versions/a793057bbf20_insert_more_detailed_data_resource_types.py
beerockxs/qwc-config-db
7217abaf887135b9a8d5add61bdf1d45d10da9a9
[ "MIT" ]
null
null
null
alembic/versions/a793057bbf20_insert_more_detailed_data_resource_types.py
beerockxs/qwc-config-db
7217abaf887135b9a8d5add61bdf1d45d10da9a9
[ "MIT" ]
null
null
null
alembic/versions/a793057bbf20_insert_more_detailed_data_resource_types.py
beerockxs/qwc-config-db
7217abaf887135b9a8d5add61bdf1d45d10da9a9
[ "MIT" ]
4
2019-04-04T21:37:43.000Z
2020-10-26T09:11:04.000Z
"""Insert more detailed data resource types for CRUD Revision ID: a793057bbf20 Revises: 0f409f15e0b7 Create Date: 2018-12-18 16:12:42.010630 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'a793057bbf20' down_revision = '0f409f15e0b7' branch_labels = None depen...
30.333333
77
0.640833
212
1,729
5.014151
0.287736
0.158984
0.19191
0.248354
0.637818
0.637818
0.637818
0.587018
0.587018
0.417686
0
0.043648
0.257953
1,729
56
78
30.875
0.784879
0.10295
0
0.6
0
0
0.795852
0.197019
0
0
0
0
0
1
0.05
false
0
0.05
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5103dbf8ee1cb11765b1a93b6add60c44226e46c
87
py
Python
modules/2.79/bpy/types/FModifierEnvelopeControlPoint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/FModifierEnvelopeControlPoint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/FModifierEnvelopeControlPoint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
class FModifierEnvelopeControlPoint: frame = None max = None min = None
10.875
36
0.655172
8
87
7.125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.298851
87
7
37
12.428571
0.934426
0
0
0
0
0
0
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
511c2c796aede7f3c0c061bf30347288bf2b566e
2,124
py
Python
historia/test/test_economy.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
6
2016-04-26T18:39:36.000Z
2021-09-01T09:13:38.000Z
historia/test/test_economy.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
null
null
null
historia/test/test_economy.py
eranimo/historia
5e0b047d4bcdd534f48f8b9bf19d425b0b31a3fd
[ "MIT" ]
4
2016-04-10T23:47:23.000Z
2021-08-15T11:40:28.000Z
from unittest import TestCase from historia.pops.enums.pop_job import PopJob from historia.economy import Good from historia.test.mocks import mock_manager, mock_map, make_mock_country, make_mock_pop random_hex = mock_map.random_hex() country = make_mock_country(mock_manager, random_hex) province = country.provinces...
34.258065
88
0.700094
271
2,124
5.324723
0.188192
0.176715
0.174636
0.232848
0.735967
0.715177
0.652807
0.602911
0.602911
0.602911
0
0.012259
0.193503
2,124
61
89
34.819672
0.830123
0
0
0.568182
0
0
0
0
0
0
0
0
0.227273
1
0.068182
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5133f69a20a7552382af30a84450775207fa372f
2,634
py
Python
app/models/models.py
Francisco-Jean/AGENDA_DE_CONTATOS-TRABALHO-EngSoft
ca2577730afafe301b7c8cffcf26a7fdca8a4fa6
[ "MIT" ]
null
null
null
app/models/models.py
Francisco-Jean/AGENDA_DE_CONTATOS-TRABALHO-EngSoft
ca2577730afafe301b7c8cffcf26a7fdca8a4fa6
[ "MIT" ]
null
null
null
app/models/models.py
Francisco-Jean/AGENDA_DE_CONTATOS-TRABALHO-EngSoft
ca2577730afafe301b7c8cffcf26a7fdca8a4fa6
[ "MIT" ]
null
null
null
import mysql.connector as connect connection = connect.connect(host = 'localhost', database = 'db_agenda', user = 'root', password = 'jean6032') cursor = connection.cursor() class Buscador(): def getIdUser(nome, senha): try: cursor.execute('''SELECT idUSUARIO FROM u...
30.275862
244
0.604024
293
2,634
5.34471
0.232082
0.066411
0.06258
0.036398
0.306513
0.272031
0.218391
0.178799
0.178799
0.178799
0
0.003052
0.253607
2,634
86
245
30.627907
0.793489
0
0
0.229508
0
0.032787
0.276491
0
0
0
0
0
0
1
0.295082
false
0.016393
0.016393
0.114754
0.540984
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
514d45f2e572212dcf3b730b8660183a4f136761
219
py
Python
tests/fixtures/plugins/gemstones/__init__.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
tests/fixtures/plugins/gemstones/__init__.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
99
2019-05-20T14:16:33.000Z
2021-01-19T09:25:15.000Z
tests/fixtures/plugins/gemstones/__init__.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
from __future__ import absolute_import from sentry.plugins import Plugin2 class GemstonePlugin(Plugin2): """ This plugin defines various defaults for working in a gemstone lab. """ version = "1.0.0"
18.25
71
0.716895
28
219
5.428571
0.821429
0
0
0
0
0
0
0
0
0
0
0.028902
0.210046
219
11
72
19.909091
0.849711
0.305936
0
0
0
0
0.036765
0
0
0
0
0
0
1
0
false
0
0.5
0
1
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
515d703c0607a0cb2121a5066c48047117395168
1,206
py
Python
book/lists/unordered_list_test.py
Web-Dev-Collaborative/algos
d280581d74ded382094283d931a202eb55fd8369
[ "CC0-1.0" ]
153
2015-12-24T00:32:23.000Z
2022-02-24T06:00:29.000Z
book/lists/unordered_list_test.py
Web-Dev-Collaborative/algos
d280581d74ded382094283d931a202eb55fd8369
[ "CC0-1.0" ]
78
2015-11-17T11:46:15.000Z
2021-06-28T18:37:58.000Z
book/lists/unordered_list_test.py
rhivent/algo-books-python
c4fa29616ca9a8a15ba40fa12d21fd8f35096d40
[ "CC0-1.0" ]
66
2015-11-02T03:38:02.000Z
2022-03-05T17:36:26.000Z
import unittest from unordered_list import UnorderedList class CorrectnessTest(unittest.TestCase): def test_adding(self): l = UnorderedList() self.assertEqual(l.size(), 0) self.assertTrue(l.is_empty()) l.add(1) self.assertEqual(l.size(), 1) self.assertEqual(l.head....
27.409091
44
0.558872
158
1,206
4.227848
0.272152
0.179641
0.191617
0.179641
0.411677
0.086826
0.086826
0
0
0
0
0.02401
0.309287
1,206
43
45
28.046512
0.777911
0.043118
0
0.371429
0
0
0.003478
0
0
0
0
0
0.428571
1
0.085714
false
0
0.057143
0
0.171429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
5aa2fb3c4f1a9a288eb4b37177ff03e1314d18e7
22
py
Python
src/errcatalog/__init__.py
211tbc/synthesis
55b4dcb85b7a2ed5fbc46b1740c8ca0ab80248a4
[ "Unlicense" ]
null
null
null
src/errcatalog/__init__.py
211tbc/synthesis
55b4dcb85b7a2ed5fbc46b1740c8ca0ab80248a4
[ "Unlicense" ]
7
2016-08-12T15:12:43.000Z
2020-06-07T03:19:13.000Z
src/errcatalog/__init__.py
211tbc/synthesis
55b4dcb85b7a2ed5fbc46b1740c8ca0ab80248a4
[ "Unlicense" ]
null
null
null
__all__ = ['catalog']
11
21
0.636364
2
22
5
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.526316
0
0
0
0
0
0.318182
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
5aa39b104d6e7892069ef6c32edbd75b57d24d19
176
py
Python
librarian/tests/factories.py
magmax/django-librarian
f1d4401363390285a94f492c4c2c9be356db4f0d
[ "MIT" ]
4
2015-05-18T13:51:14.000Z
2015-05-18T14:47:30.000Z
librarian/tests/factories.py
magmax/django-librarian
f1d4401363390285a94f492c4c2c9be356db4f0d
[ "MIT" ]
null
null
null
librarian/tests/factories.py
magmax/django-librarian
f1d4401363390285a94f492c4c2c9be356db4f0d
[ "MIT" ]
null
null
null
import factory from librarian import models class AuthorFactory(factory.DjangoModelFactory): FACTORY_FOR = models.Author name = 'Francisco' surname = 'Quevedo'
16
48
0.744318
18
176
7.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.1875
176
10
49
17.6
0.909091
0
0
0
0
0
0.090909
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
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
5ab10ad89f7c5883de4be055bc1e9150c2fe1129
277
py
Python
easypeasyml/src/imports.py
llFireHawkll/easypeasyML
a5d662d85661eeb588b20ffb195dcb223581e708
[ "MIT" ]
null
null
null
easypeasyml/src/imports.py
llFireHawkll/easypeasyML
a5d662d85661eeb588b20ffb195dcb223581e708
[ "MIT" ]
null
null
null
easypeasyml/src/imports.py
llFireHawkll/easypeasyML
a5d662d85661eeb588b20ffb195dcb223581e708
[ "MIT" ]
null
null
null
''' File: imports.py Project: src File Created: Sunday, 28th February 2021 3:10:35 am Author: Sparsh Dutta (sparsh.dtt@gmail.com) ----- Last Modified: Sunday, 28th February 2021 3:10:35 am Modified By: Sparsh Dutta (sparsh.dtt@gmail.com>) ----- Copyright 2021 Sparsh Dutta '''
23.083333
52
0.722022
44
277
4.545455
0.545455
0.165
0.18
0.22
0.57
0.57
0.29
0.29
0
0
0
0.108333
0.133574
277
11
53
25.181818
0.725
0.967509
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5acc39e17f22cf35435d07a3bf8de4c9e145850f
609
py
Python
amime/config.py
Myudi422/ccgnime_req
a0f7596ba101204539b4120dffa08912b6560efe
[ "MIT" ]
null
null
null
amime/config.py
Myudi422/ccgnime_req
a0f7596ba101204539b4120dffa08912b6560efe
[ "MIT" ]
null
null
null
amime/config.py
Myudi422/ccgnime_req
a0f7596ba101204539b4120dffa08912b6560efe
[ "MIT" ]
null
null
null
from typing import Dict, List GROUPS: Dict = { "en": -1001519273319, "pt": -1001519273319, } CHANNELS: Dict = { "en": -1001519273319, "pt": -1001706431524, "ani01": -1001204586138, "admin": -1001559315851, } CHATS: Dict = { "backup": -1001501672138, "anireborn": -1001204586138, "cc...
23.423077
106
0.632184
55
609
6.981818
0.745455
0.03125
0.098958
0.109375
0
0
0
0
0
0
0
0.402863
0.197044
609
25
107
24.36
0.382413
0.091954
0
0.095238
0
0
0.112933
0
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
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
5ae0c79bfb1829ba1ce060b048b318b6e61deb33
45
py
Python
easier68k/core/models/__init__.py
bpas247/Easier68k
30a39883f1e73cd2bd848cf7bd356c96b8664ff4
[ "MIT" ]
16
2018-03-03T21:00:14.000Z
2021-11-04T09:16:08.000Z
easier68k/core/models/__init__.py
bpas247/Easier68k
30a39883f1e73cd2bd848cf7bd356c96b8664ff4
[ "MIT" ]
99
2018-02-27T19:02:59.000Z
2019-10-29T22:39:26.000Z
easier68k/core/models/__init__.py
bpas247/Easier68k
30a39883f1e73cd2bd848cf7bd356c96b8664ff4
[ "MIT" ]
5
2018-04-04T02:03:10.000Z
2019-11-19T17:42:42.000Z
__all__ = ['list_file', 'assembly_parameter']
45
45
0.755556
5
45
5.6
1
0
0
0
0
0
0
0
0
0
0
0
0.066667
45
1
45
45
0.666667
0
0
0
0
0
0.586957
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
5ae7d8b177b9d8cfe67d956e541711e6f3580399
2,818
py
Python
lightswitch/main/migrations/0005_auto__chg_field_member_location__del_unique_member_location__chg_field.py
all-out/lightswitch
48c71119c131d513af1a1588bcfbb0f92df011a3
[ "MIT" ]
null
null
null
lightswitch/main/migrations/0005_auto__chg_field_member_location__del_unique_member_location__chg_field.py
all-out/lightswitch
48c71119c131d513af1a1588bcfbb0f92df011a3
[ "MIT" ]
null
null
null
lightswitch/main/migrations/0005_auto__chg_field_member_location__del_unique_member_location__chg_field.py
all-out/lightswitch
48c71119c131d513af1a1588bcfbb0f92df011a3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Removing unique constraint on 'Member', fields ['ship'] db.delete_uniqu...
46.966667
161
0.60362
336
2,818
4.952381
0.184524
0.072115
0.117788
0.168269
0.79387
0.760216
0.708534
0.653245
0.603966
0.542668
0
0.004861
0.196948
2,818
60
162
46.966667
0.730446
0.132363
0
0.135135
0
0
0.438834
0.221264
0
0
0
0
0
1
0.054054
false
0
0.108108
0
0.243243
0
0
0
0
null
0
0
1
0
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
5ae950c318888e25d0c21cda45af3a6d5ad0a2e4
8,653
py
Python
leetcode_python/Design/encode-and-decode-tinyurl.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
null
null
null
leetcode_python/Design/encode-and-decode-tinyurl.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
null
null
null
leetcode_python/Design/encode-and-decode-tinyurl.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
null
null
null
""" Note: This is a companion problem to the System Design problem: Design TinyURL. TinyURL is a URL shortening service where you enter a URL such as https://leetcode.com/problems/design-tinyurl and it returns a short URL such as http://tinyurl.com/4e9iAk. Design a class to encode a URL and decode a tiny URL. There i...
29.233108
226
0.593205
1,076
8,653
4.714684
0.185874
0.009462
0.025626
0.035482
0.651291
0.622314
0.596491
0.586241
0.579736
0.579736
0
0.030005
0.283601
8,653
296
227
29.233108
0.788353
0.455911
0
0.896825
0
0
0.05481
0.011826
0.007937
0
0
0.003378
0
1
0.214286
false
0
0.031746
0.031746
0.563492
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
85058cd91816cc71a6e1e34746ed5cf2b51289e5
121
py
Python
year1/python/week3/recursion2.py
OthmanEmpire/university
3405e1463e82ca2e6f7deef05c3b1ba0ab9c1278
[ "MIT" ]
1
2016-05-21T17:23:50.000Z
2016-05-21T17:23:50.000Z
year1/python/week3/recursion2.py
OthmanEmpire/university_code
3405e1463e82ca2e6f7deef05c3b1ba0ab9c1278
[ "MIT" ]
null
null
null
year1/python/week3/recursion2.py
OthmanEmpire/university_code
3405e1463e82ca2e6f7deef05c3b1ba0ab9c1278
[ "MIT" ]
null
null
null
def func(x,y): if(y == 0): return 0 else: print(x,y) return x + func(x,y-1) func(10,10)
13.444444
30
0.438017
22
121
2.409091
0.5
0.113208
0.226415
0
0
0
0
0
0
0
0
0.094595
0.38843
121
8
31
15.125
0.621622
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
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
851017ebf8cd4841d070eb0d672a0defdc250cb0
237
py
Python
courses/interactivepython/factorial_of_a_number.py
avi3tal/knowledgebase
fd30805aa94332a6c14c9d8631c7044673fb3e2c
[ "MIT" ]
null
null
null
courses/interactivepython/factorial_of_a_number.py
avi3tal/knowledgebase
fd30805aa94332a6c14c9d8631c7044673fb3e2c
[ "MIT" ]
null
null
null
courses/interactivepython/factorial_of_a_number.py
avi3tal/knowledgebase
fd30805aa94332a6c14c9d8631c7044673fb3e2c
[ "MIT" ]
1
2021-11-19T13:45:59.000Z
2021-11-19T13:45:59.000Z
""" Factorial of a number e.g. 4! = 4*3*2*1 """ def factorial_of_number(num): if num > 0: return num * factorial_of_number(num - 1) else: return 1 if __name__ == "__main__": print(factorial_of_number(5))
13.941176
49
0.599156
37
237
3.459459
0.540541
0.34375
0.398438
0.3125
0
0
0
0
0
0
0
0.051724
0.265823
237
16
50
14.8125
0.683908
0.168776
0
0
0
0
0.042328
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
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
8521bfa7e5d5bd25eb7ba155c44226af4a171c75
41
py
Python
restflaskpyexample/models/wines/constants.py
armoredware/restflask
3e4c8e38c95a1783981774994d4e3d9d84fc70b0
[ "MIT" ]
null
null
null
restflaskpyexample/models/wines/constants.py
armoredware/restflask
3e4c8e38c95a1783981774994d4e3d9d84fc70b0
[ "MIT" ]
null
null
null
restflaskpyexample/models/wines/constants.py
armoredware/restflask
3e4c8e38c95a1783981774994d4e3d9d84fc70b0
[ "MIT" ]
null
null
null
__author__ = 'mjd' COLLECTION = 'wines'
10.25
20
0.682927
4
41
6
1
0
0
0
0
0
0
0
0
0
0
0
0.170732
41
3
21
13.666667
0.705882
0
0
0
0
0
0.195122
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
85280492b38afad7cc9b69b2d2ba4cbec452c301
3,161
py
Python
vizml/operations.py
antonmeskildsen/vizml
6449ce1beedb423554dda1b3c64eafb88c8d9abe
[ "MIT" ]
null
null
null
vizml/operations.py
antonmeskildsen/vizml
6449ce1beedb423554dda1b3c64eafb88c8d9abe
[ "MIT" ]
null
null
null
vizml/operations.py
antonmeskildsen/vizml
6449ce1beedb423554dda1b3c64eafb88c8d9abe
[ "MIT" ]
null
null
null
from typing import List from abc import ABC, abstractmethod import numpy as np from nodes import * class Operation(Node, ABC): @abstractmethod def symbol(self): ... def __init__(self, input_nodes: List[Node] = None): super().__init__(input_nodes) for node in input_nodes: ...
20.133758
85
0.587789
412
3,161
4.390777
0.167476
0.091211
0.079602
0.106136
0.556661
0.399668
0.321172
0.283582
0.283582
0.283582
0
0.005289
0.282189
3,161
156
86
20.262821
0.791979
0
0
0.33
0
0
0.005378
0
0
0
0
0
0
1
0.29
false
0
0.04
0.14
0.78
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
519796941fca48ca9c24a49b9c06471d992d0c79
19
py
Python
settings_dummy.py
EnsekiTT/labox
21b4f3a215fb3f470ac778c4b171fdb560cfbe36
[ "MIT" ]
null
null
null
settings_dummy.py
EnsekiTT/labox
21b4f3a215fb3f470ac778c4b171fdb560cfbe36
[ "MIT" ]
null
null
null
settings_dummy.py
EnsekiTT/labox
21b4f3a215fb3f470ac778c4b171fdb560cfbe36
[ "MIT" ]
null
null
null
cookie_secret = ""
9.5
18
0.684211
2
19
6
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3