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
14809c9848d7f7ec711ad0cdf393e25afbdac27d
403
py
Python
dacbench/envs/__init__.py
goktug97/DACBench
953bc8efacdb993889b223110e25f7e453c86b2d
[ "Apache-2.0" ]
null
null
null
dacbench/envs/__init__.py
goktug97/DACBench
953bc8efacdb993889b223110e25f7e453c86b2d
[ "Apache-2.0" ]
null
null
null
dacbench/envs/__init__.py
goktug97/DACBench
953bc8efacdb993889b223110e25f7e453c86b2d
[ "Apache-2.0" ]
null
null
null
from dacbench.envs.luby import LubyEnv, luby_gen from dacbench.envs.sigmoid import SigmoidEnv from dacbench.envs.fast_downward import FastDownwardEnv from dacbench.envs.cma_es import CMAESEnv from dacbench.envs.modea import ModeaEnv from dacbench.envs.sgd import SGDEnv __all__ = [ "LubyEnv", "luby_gen", "S...
23.705882
55
0.746898
49
403
5.979592
0.408163
0.245734
0.327645
0
0
0
0
0
0
0
0
0
0.16129
403
16
56
25.1875
0.866864
0
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
1
0
0
0
0
3
14b069401c9fe0d53e609afa5115434d1cac932c
9,885
py
Python
planar_graph_generator.py
petrovp/networkx-related
ebe7053e032b527ebaa9565f96ba91145de3fd50
[ "BSD-3-Clause" ]
null
null
null
planar_graph_generator.py
petrovp/networkx-related
ebe7053e032b527ebaa9565f96ba91145de3fd50
[ "BSD-3-Clause" ]
null
null
null
planar_graph_generator.py
petrovp/networkx-related
ebe7053e032b527ebaa9565f96ba91145de3fd50
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2018 by # Marta Grobelna <marta.grobelna@rwth-aachen.de> # Petre Petrov <petrepp4@gmail.com> # Rudi Floren <rudi.floren@gmail.com> # Tobias Winkler <tobias.winkler1@rwth-aachen.de> # All rights reserved. # BSD license. # # Authors: Marta Grobelna <marta.grob...
40.182927
116
0.655134
1,237
9,885
4.975748
0.173808
0.087571
0.05459
0.044354
0.771568
0.700406
0.700406
0.683509
0.680585
0.680585
0
0.011335
0.277086
9,885
245
117
40.346939
0.849986
0.309358
0
0.526316
0
0
0.02965
0
0
0
0
0
0
1
0.052632
false
0
0.078947
0
0.184211
0.026316
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
14b8c88d19e8747642537e125ccd11dae3286414
2,832
py
Python
Kinect Science Fair/LineOfBestFit.py
JBPrew/Konnect
02c0990aa7eb861b01c879e89d57f35c7b1db7c6
[ "MIT" ]
4
2020-11-09T20:01:27.000Z
2021-04-04T20:49:05.000Z
Kinect Science Fair/LineOfBestFit.py
JBPrew/Konnect
02c0990aa7eb861b01c879e89d57f35c7b1db7c6
[ "MIT" ]
1
2021-03-03T20:01:52.000Z
2021-04-11T19:19:43.000Z
Kinect Science Fair/LineOfBestFit.py
JBPrew/Konnect
02c0990aa7eb861b01c879e89d57f35c7b1db7c6
[ "MIT" ]
null
null
null
import csv # solve for a and b def best_fit(X, Y): xbar = sum(X)/len(X) ybar = sum(Y)/len(Y) n = len(X) # or len(Y) numer = sum([xi*yi for xi,yi in zip(X, Y)]) - n * xbar * ybar denum = sum([xi**2 for xi in X]) - n * xbar**2 b = numer / denum a = ybar - b * xbar print('best fit line...
83.294118
1,827
0.653602
632
2,832
2.925633
0.85443
0.004327
0.008653
0.014062
0.016225
0.016225
0
0
0
0
0
0.533069
0.108404
2,832
34
1,828
83.294118
0.199208
0.018715
0
0
0
0
0.061622
0.020901
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.125
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
14c0d48325e69282b92e41cd3e3444cf64b47c40
775
py
Python
test.py
AlexBrou/Helenas-Triangles-Solver
0897146e3f8a3357a2fa1d8cb53b6a837337aace
[ "MIT" ]
null
null
null
test.py
AlexBrou/Helenas-Triangles-Solver
0897146e3f8a3357a2fa1d8cb53b6a837337aace
[ "MIT" ]
null
null
null
test.py
AlexBrou/Helenas-Triangles-Solver
0897146e3f8a3357a2fa1d8cb53b6a837337aace
[ "MIT" ]
null
null
null
from helenas_triangles import helenas_triangles_solver def test_top_is_2(): top_nodes = 2 for bottom_nodes in range(3, 11): assert ( len(helenas_triangles_solver(top_nodes, bottom_nodes)["triangles"]) == bottom_nodes - 1 ) def test_top_is_1(): top_nodes = 1 fo...
26.724138
83
0.605161
100
775
4.32
0.23
0.229167
0.203704
0.083333
0.650463
0.601852
0.601852
0.601852
0.601852
0.601852
0
0.035185
0.303226
775
28
84
27.678571
0.764815
0
0
0.363636
0
0
0.034839
0
0
0
0
0
0.136364
1
0.136364
false
0
0.045455
0
0.181818
0
0
0
0
null
1
1
0
0
0
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
1ad1ddc924dd2183fa839547ce89684263624e23
176
py
Python
Clases/Lab01/Ejercicio3.py
PaulAlexander19/LabADAGrupoB
dd984381e336961501384d712705680a78182fc4
[ "BSD-3-Clause" ]
null
null
null
Clases/Lab01/Ejercicio3.py
PaulAlexander19/LabADAGrupoB
dd984381e336961501384d712705680a78182fc4
[ "BSD-3-Clause" ]
null
null
null
Clases/Lab01/Ejercicio3.py
PaulAlexander19/LabADAGrupoB
dd984381e336961501384d712705680a78182fc4
[ "BSD-3-Clause" ]
null
null
null
valores = [1, 2, 3, 4, 5, 6, 7, 8, 9] pares = list(filter(lambda x : x % 2 == 0, valores)) impares = list(filter(lambda x : x % 2 != 0, valores)) print(pares) print(impares)
22
54
0.590909
32
176
3.25
0.5625
0.192308
0.307692
0.326923
0.519231
0.519231
0.519231
0.519231
0
0
0
0.093525
0.210227
176
7
55
25.142857
0.654676
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1adef4759ca994085c8269934019897891f2e17a
407
py
Python
manifest/__init__.py
ozgurgunes/django-manifest
6b0a16cae67fe7d874cfde82495e402e59b0c29d
[ "MIT" ]
null
null
null
manifest/__init__.py
ozgurgunes/django-manifest
6b0a16cae67fe7d874cfde82495e402e59b0c29d
[ "MIT" ]
null
null
null
manifest/__init__.py
ozgurgunes/django-manifest
6b0a16cae67fe7d874cfde82495e402e59b0c29d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Manifest App Information Some codes used in this project is collected from several open source projects, such as; Django: https://github.com/django/django django-rest-framework: https://github.com/encode/django-rest-framework django-rest-auth: https://github.com/Tivix/django-rest-auth djang...
33.916667
73
0.759214
61
407
5.065574
0.557377
0.142395
0.18123
0.12945
0
0
0
0
0
0
0
0.002695
0.088452
407
11
74
37
0.830189
0.97543
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1ae985bf74370734ab7675533ea8007cb0ed6893
59
py
Python
infinite_selection/__init__.py
dunnkers/infinite-selection
6c9db1d5fe1b12bc34eb2af5893a4f3ca385aaff
[ "MIT" ]
2
2021-12-02T02:55:39.000Z
2022-01-15T08:03:10.000Z
infinite_selection/__init__.py
dunnkers/infinite-selection
6c9db1d5fe1b12bc34eb2af5893a4f3ca385aaff
[ "MIT" ]
null
null
null
infinite_selection/__init__.py
dunnkers/infinite-selection
6c9db1d5fe1b12bc34eb2af5893a4f3ca385aaff
[ "MIT" ]
null
null
null
from .infinite_selection import InfFS __all__ = ["InfFS"]
14.75
37
0.762712
7
59
5.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.135593
59
3
38
19.666667
0.784314
0
0
0
0
0
0.084746
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
1af23931f77ec5490eb360c929a79c34567f8263
1,512
py
Python
src/metod_alg/objective_functions/__init__.py
Megscammell/METOD-Algorithm
7518145ec100599bddc880f5f52d28f9a3959108
[ "MIT" ]
null
null
null
src/metod_alg/objective_functions/__init__.py
Megscammell/METOD-Algorithm
7518145ec100599bddc880f5f52d28f9a3959108
[ "MIT" ]
1
2021-11-17T09:03:17.000Z
2021-11-17T09:03:17.000Z
src/metod_alg/objective_functions/__init__.py
Megscammell/METOD-Algorithm
7518145ec100599bddc880f5f52d28f9a3959108
[ "MIT" ]
null
null
null
from .rotation import calculate_rotation_matrix from .several_quad import several_quad_function from .several_quad import several_quad_gradient from .single_quad import single_quad_function from .single_quad import single_quad_gradient from .function_parameters_several_quad import function_parameters_several_quad from ...
44.470588
78
0.890873
215
1,512
5.87907
0.153488
0.123418
0.080696
0.071203
0.251582
0.158228
0
0
0
0
0
0.005797
0.087302
1,512
33
79
45.818182
0.910145
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1af6826b7773158c3785385732bbe33cce4528ed
196
py
Python
examples/protected_downloads/download/urls.py
sean0x42/django-sendfile2
acf67b9585f62639116c9d1d8aab9b52e0cc02ab
[ "BSD-3-Clause" ]
null
null
null
examples/protected_downloads/download/urls.py
sean0x42/django-sendfile2
acf67b9585f62639116c9d1d8aab9b52e0cc02ab
[ "BSD-3-Clause" ]
null
null
null
examples/protected_downloads/download/urls.py
sean0x42/django-sendfile2
acf67b9585f62639116c9d1d8aab9b52e0cc02ab
[ "BSD-3-Clause" ]
null
null
null
from django.conf import urls from .views import download, download_list urlpatterns = [ urls.url(r'^$', download_list), urls.url(r'(?P<download_id>\d+)/$', download, name='download'), ]
21.777778
67
0.678571
27
196
4.814815
0.555556
0.184615
0.123077
0
0
0
0
0
0
0
0
0
0.142857
196
8
68
24.5
0.77381
0
0
0
0
0
0.163265
0.112245
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
21096c5ff5cfdce5a2b008088fd1693c61c0d89a
9,245
py
Python
Scripts/actions.py
guillecarc/MPMD-Pal-a-FAQ-Chatbot
5c417b5796f3cba6860dff65ae165d88c16ee81e
[ "MIT" ]
1
2020-01-18T17:05:51.000Z
2020-01-18T17:05:51.000Z
Scripts/actions.py
guillecarc/MPMD-Pal-a-FAQ-Chatbot
5c417b5796f3cba6860dff65ae165d88c16ee81e
[ "MIT" ]
null
null
null
Scripts/actions.py
guillecarc/MPMD-Pal-a-FAQ-Chatbot
5c417b5796f3cba6860dff65ae165d88c16ee81e
[ "MIT" ]
1
2020-09-09T12:04:02.000Z
2020-09-09T12:04:02.000Z
# FAQ actions to exclude the questions from the tracker and force a follow up action to "action_listen" from rasa_sdk import Action, Tracker from rasa_sdk.executor import CollectingDispatcher from rasa_sdk.events import * # ============================================================================= # bye # ========...
37.128514
103
0.510114
671
9,245
6.737705
0.09538
0.069675
0.106835
0.13006
0.728379
0.716656
0.6691
0.386419
0.286441
0.286441
0
0
0.105462
9,245
248
104
37.278226
0.546675
0.371336
0
0.467213
0
0
0.214447
0.145692
0
0
0
0
0
1
0.311475
false
0
0.02459
0.155738
0.803279
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
2115b64b28a9473783e9fd03d4ed22cbb50a21d4
264
py
Python
passbook/api/urls.py
fossabot/passbook
cba17f6659404445ac3025f11657d89368cc8b4f
[ "MIT" ]
null
null
null
passbook/api/urls.py
fossabot/passbook
cba17f6659404445ac3025f11657d89368cc8b4f
[ "MIT" ]
null
null
null
passbook/api/urls.py
fossabot/passbook
cba17f6659404445ac3025f11657d89368cc8b4f
[ "MIT" ]
null
null
null
"""passbook api urls""" from django.urls import include, path from passbook.api.v1.urls import urlpatterns as v1_urls from passbook.api.v2.urls import urlpatterns as v2_urls urlpatterns = [ path("v1/", include(v1_urls)), path("v2/", include(v2_urls)), ]
24
55
0.723485
40
264
4.675
0.3
0.176471
0.160428
0.245989
0
0
0
0
0
0
0
0.035398
0.143939
264
10
56
26.4
0.792035
0.064394
0
0
0
0
0.024896
0
0
0
0
0
0
1
0
false
0.285714
0.428571
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
0
1
1
0
0
0
0
3
211f77a7006c17a1d01e493fe9b0087f117e57fb
241
py
Python
HHGMonitor/setup.py
thomasbarillot/DAQ
20126655f74194757d25380680af9429ff27784e
[ "MIT" ]
1
2017-04-25T10:56:01.000Z
2017-04-25T10:56:01.000Z
HHGMonitor/setup.py
thomasbarillot/DAQ
20126655f74194757d25380680af9429ff27784e
[ "MIT" ]
null
null
null
HHGMonitor/setup.py
thomasbarillot/DAQ
20126655f74194757d25380680af9429ff27784e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Jul 10 13:45:40 2017 @author: Thomas Barillot Setup file for standalone python acq program """ from distutils.core import setup import py2exe setup(console=['TOFAcqDigitizerGUI_withStream.py'])
17.214286
51
0.738589
34
241
5.205882
0.911765
0
0
0
0
0
0
0
0
0
0
0.067961
0.145228
241
13
52
18.538462
0.791262
0.539419
0
0
0
0
0.313725
0.313725
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
214072e0382ed32830f95f521c76f02b53922ec7
813
py
Python
tests/test_pitch.py
otienonick/Pitches
2476557281014d8ab38f10b0db7bb66c3f037ac1
[ "MIT" ]
null
null
null
tests/test_pitch.py
otienonick/Pitches
2476557281014d8ab38f10b0db7bb66c3f037ac1
[ "MIT" ]
null
null
null
tests/test_pitch.py
otienonick/Pitches
2476557281014d8ab38f10b0db7bb66c3f037ac1
[ "MIT" ]
null
null
null
import unittest from app.models import User,Pitch from app import db class TestPitch(unittest.TestCase): def setUp(self): self.user_James = User(username = 'James',password = 'potato', email = 'james@ms.com') self.new_pitch = Pitch( pitch = 'life is a mess',category = 'education',name = 'nick',au...
31.269231
121
0.687577
107
813
5.102804
0.383178
0.076923
0.131868
0.168498
0.272894
0.076923
0
0
0
0
0
0
0.190652
813
25
122
32.52
0.829787
0
0
0
0
0
0.094828
0
0
0
0
0
0.294118
1
0.235294
false
0.058824
0.176471
0
0.470588
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
2147a36c2026ce840346706adf49b65ac7593995
959
py
Python
slothql/fields/tests/resolver.py
karol-gruszczyk/sloth-gql
7972adb761b60f14409c2f734473c0a04b8db63c
[ "MIT" ]
2
2018-01-07T08:51:27.000Z
2018-01-23T16:25:56.000Z
slothql/fields/tests/resolver.py
karol-gruszczyk/sloth-gql
7972adb761b60f14409c2f734473c0a04b8db63c
[ "MIT" ]
3
2018-01-28T03:41:33.000Z
2018-01-28T03:55:00.000Z
slothql/fields/tests/resolver.py
karol-gruszczyk/slothql
7972adb761b60f14409c2f734473c0a04b8db63c
[ "MIT" ]
null
null
null
import pytest from ..resolver import Resolver class A: def method1(self): return 'foo' def method2(self, obj): return 'foo' def method3(self, obj, info): return 'foo' @staticmethod def static1(): return 'foo' @staticmethod def static2(obj): retu...
16.824561
57
0.533889
108
959
4.731481
0.314815
0.158513
0.07045
0.093933
0
0
0
0
0
0
0
0.028662
0.345151
959
56
58
17.125
0.785032
0
0
0.348837
0
0
0.044838
0
0
0
0
0
0.023256
1
0.232558
false
0
0.046512
0.209302
0.511628
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
dcc2b2fb66c9d61fa6819dd2ef6c6c97f8130121
78,350
py
Python
minot/model_phys.py
renlliang3/minot
5f0e64135ff67409fe6782e44967a9ad1f60f702
[ "BSD-3-Clause" ]
1
2021-03-13T19:50:20.000Z
2021-03-13T19:50:20.000Z
minot/model_phys.py
jstvdk/minot
059a94aa7ceafb029d57175bdd538a91ba4d0632
[ "BSD-3-Clause" ]
null
null
null
minot/model_phys.py
jstvdk/minot
059a94aa7ceafb029d57175bdd538a91ba4d0632
[ "BSD-3-Clause" ]
1
2020-11-21T12:53:19.000Z
2020-11-21T12:53:19.000Z
""" This file contain a subclass of the model.py module and Cluster class. It is dedicated to the computing of the physical properties of clusters. """ #================================================== # Requested imports #================================================== import numpy as np import copy from scipy...
40.659056
115
0.552138
9,870
78,350
4.22077
0.067173
0.020884
0.021124
0.022036
0.761996
0.733047
0.718212
0.694064
0.674956
0.66089
0
0.021759
0.29963
78,350
1,926
116
40.680166
0.737417
0.413159
0
0.562903
0
0
0.042011
0.002667
0
0
0
0
0
1
0.072581
false
0
0.029032
0.004839
0.166129
0.006452
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
dcea0a1ba0d68da6d944c24c1cf5faed61fd3c7b
80
py
Python
src/data/__init__.py
ay-ka/WordCloud
557193bc1b69f63b1f22e8acb6c77add0a01e009
[ "MIT" ]
null
null
null
src/data/__init__.py
ay-ka/WordCloud
557193bc1b69f63b1f22e8acb6c77add0a01e009
[ "MIT" ]
1
2021-12-31T19:05:29.000Z
2021-12-31T19:05:29.000Z
src/data/__init__.py
ay-ka/WordCloud
557193bc1b69f63b1f22e8acb6c77add0a01e009
[ "MIT" ]
null
null
null
from pathlib import Path import pdb DATA_DIR = Path(__file__).resolve().parent
16
42
0.7875
12
80
4.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.125
80
5
42
16
0.828571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0d2e49f7696958e6d02efb00e6cf631de10d088b
306
py
Python
src/data_science/tests/tools/test_transformations.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
src/data_science/tests/tools/test_transformations.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
src/data_science/tests/tools/test_transformations.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
import unittest from data_science.tools.transformations import per_hour_to_per_second class TransformationsTest(unittest.TestCase): """Test that the functions in transformations work as expected""" def test_per_hour_to_per_second(self): self.assertEqual(per_hour_to_per_second(3600), 1)
30.6
69
0.800654
43
306
5.372093
0.627907
0.090909
0.116883
0.155844
0.233766
0
0
0
0
0
0
0.018797
0.130719
306
9
70
34
0.849624
0.19281
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0d2e8d96654fd495ac04ed3c6f58017293f6079c
539
py
Python
statick_tool/reporting_plugin.py
axydes/statick
fe34232a0e4a84bc1255cd1e3b855e119afe4fb3
[ "CC0-1.0" ]
1
2018-08-29T01:07:55.000Z
2018-08-29T01:07:55.000Z
statick_tool/reporting_plugin.py
axydes/statick
fe34232a0e4a84bc1255cd1e3b855e119afe4fb3
[ "CC0-1.0" ]
3
2018-09-01T17:33:56.000Z
2019-02-15T15:05:43.000Z
statick_tool/reporting_plugin.py
axydes/statick
fe34232a0e4a84bc1255cd1e3b855e119afe4fb3
[ "CC0-1.0" ]
null
null
null
"""Result reporting plugin.""" from yapsy.IPlugin import IPlugin class ReportingPlugin(IPlugin): """Default implementation of reporting plugin.""" plugin_context = None def get_name(self): """Get name of reporting plugin.""" def gather_args(self, args): """Gather arguments.""" ...
24.5
53
0.658627
61
539
5.672131
0.508197
0.225434
0.098266
0.132948
0.17341
0
0
0
0
0
0
0
0.218924
539
21
54
25.666667
0.821853
0.313544
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0.125
0
0.875
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
0d4a4720861f15da5644b21812b94d8f2879106f
1,371
py
Python
Event.py
rslawik/mgr-simulation
7da914cbaae2883662da5ef518a5b1458c629b4c
[ "MIT" ]
1
2018-02-07T20:51:51.000Z
2018-02-07T20:51:51.000Z
Event.py
rslawik/mgr-simulation
7da914cbaae2883662da5ef518a5b1458c629b4c
[ "MIT" ]
null
null
null
Event.py
rslawik/mgr-simulation
7da914cbaae2883662da5ef518a5b1458c629b4c
[ "MIT" ]
null
null
null
class Event: def __init__(self, time): self.time = time def __lt__(self, other): return self.time < other.time def __le__(self, other): return self < other or self.time == other.time class InjectEvent(Event): def __init__(self, time, packet): super(InjectEvent, self).__init__(time) self.packet = packet...
25.867925
96
0.720642
179
1,371
5.139665
0.189944
0.121739
0.059783
0.081522
0.348913
0.086957
0
0
0
0
0
0
0.142232
1,371
52
97
26.365385
0.782313
0
0
0.25641
0
0
0.034282
0
0
0
0
0
0
1
0.333333
false
0.025641
0
0.153846
0.717949
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
b4a10c10843d2484d93919f27602c019588317ca
794
py
Python
src/example/manage.py
svetlyak40wt/django-vcs-watch
fa341c488b8a863812dd2b25cb0bda6d9beffdc9
[ "BSD-3-Clause" ]
1
2016-05-08T13:45:53.000Z
2016-05-08T13:45:53.000Z
src/example/manage.py
svetlyak40wt/django-vcs-watch
fa341c488b8a863812dd2b25cb0bda6d9beffdc9
[ "BSD-3-Clause" ]
null
null
null
src/example/manage.py
svetlyak40wt/django-vcs-watch
fa341c488b8a863812dd2b25cb0bda6d9beffdc9
[ "BSD-3-Clause" ]
1
2019-06-10T16:49:02.000Z
2019-06-10T16:49:02.000Z
#!/usr/bin/env python import sys import os import logging logging.basicConfig( filename=os.path.join(os.path.dirname(__file__), 'example.log'), level=logging.DEBUG, format='%(asctime)s %(levelname)s %(name)s %(pathname)s:%(lineno)d %(message)s', ) try: import settings # Assumed to be in the same d...
36.090909
299
0.725441
120
794
4.65
0.65
0.032258
0.053763
0.060932
0
0
0
0
0
0
0
0.001493
0.156171
794
21
300
37.809524
0.831343
0.071788
0
0.117647
0
0.117647
0.480272
0.031293
0
0
0
0
0
1
0
true
0.058824
0.470588
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
b4a79dd136f6c6303ac81d90c9e6b828f254ab40
1,544
py
Python
tests/custom_mocks.py
s-weigand/work-tracker
fe5e2c8c292ae4e040abc96897b16fcd1ffc5508
[ "Apache-2.0" ]
null
null
null
tests/custom_mocks.py
s-weigand/work-tracker
fe5e2c8c292ae4e040abc96897b16fcd1ffc5508
[ "Apache-2.0" ]
124
2019-12-24T16:24:11.000Z
2022-03-31T04:02:05.000Z
tests/custom_mocks.py
s-weigand/work-tracker
fe5e2c8c292ae4e040abc96897b16fcd1ffc5508
[ "Apache-2.0" ]
null
null
null
""" @file: test_update_work_db.py @author: Sebastian Weigand """ from datetime import datetime, timedelta import pandas as pd from work_tracker.functions.helpfer_functions import str_datetime def mock_time_short_break(*args): return pd.to_datetime("2017-08-08 18:29:33.0") # 5min def mock_time_long_break(*ar...
21.150685
96
0.660622
228
1,544
4.29386
0.368421
0.071502
0.114402
0.098059
0.328907
0.302349
0.275792
0.206333
0.200204
0.136874
0
0.106436
0.215026
1,544
72
97
21.444444
0.70132
0.051813
0
0
0
0
0.174691
0
0
0
0
0
0
1
0.325
false
0.025
0.075
0.2
0.775
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
b4c7b7be50ebf1b66b502aea3fe3d18f9eb2d36e
191
py
Python
sharp/function.py
revalo/sharp
bc09bbd1aacae6e1bb9ff8e1858ae9e47654fa17
[ "MIT" ]
101
2020-07-27T23:05:00.000Z
2021-09-15T01:08:45.000Z
sharp/function.py
revalo/sharp
bc09bbd1aacae6e1bb9ff8e1858ae9e47654fa17
[ "MIT" ]
2
2020-08-15T20:32:45.000Z
2020-08-20T09:56:31.000Z
sharp/function.py
revalo/sharp
bc09bbd1aacae6e1bb9ff8e1858ae9e47654fa17
[ "MIT" ]
4
2020-08-07T20:25:14.000Z
2020-08-16T18:00:28.000Z
class Function(object): """Data-class to hold meta information about a registered back-end function. """ def __init__(self, rule, f): self.rule = rule self.f = f
23.875
80
0.617801
26
191
4.384615
0.692308
0.140351
0
0
0
0
0
0
0
0
0
0
0.272251
191
7
81
27.285714
0.820144
0.382199
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
b4cf31a8b36edaf6b2ee633b3580123b7f520780
2,965
py
Python
app/models.py
eadium/mutate_cpp
fc184289602e6741d8c8759f1e275643a73a5f82
[ "MIT" ]
133
2017-07-18T17:57:08.000Z
2022-03-22T14:20:53.000Z
app/models.py
eadium/mutate_cpp
fc184289602e6741d8c8759f1e275643a73a5f82
[ "MIT" ]
18
2017-11-27T11:39:44.000Z
2022-02-13T12:40:59.000Z
app/models.py
eadium/mutate_cpp
fc184289602e6741d8c8759f1e275643a73a5f82
[ "MIT" ]
26
2017-06-02T10:51:26.000Z
2022-03-20T12:06:29.000Z
# coding=utf-8 from app import db from sqlalchemy.sql import func class Project(db.Model): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.Text) workdir = db.Column(db.Text) build_command = db.Column(db.Text) quickcheck_command = db.Column(db.Text, nullable=True) quickcheck_t...
34.476744
118
0.669815
413
2,965
4.707022
0.22276
0.144033
0.180041
0.108025
0.525206
0.417181
0.390432
0.289609
0.180041
0.180041
0
0.001232
0.178415
2,965
85
119
34.882353
0.796798
0.02597
0
0.230769
0
0
0.066644
0
0
0
0
0
0
1
0.123077
false
0
0.030769
0.107692
0.938462
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
b4faa56ea490e8e964d281ff956432ba0d7626ef
736
py
Python
antipodalpy/__init__.py
rfverbruggen/antipodalpy
b420376c9fe6a8c7ac847c420463fe546865619b
[ "MIT" ]
null
null
null
antipodalpy/__init__.py
rfverbruggen/antipodalpy
b420376c9fe6a8c7ac847c420463fe546865619b
[ "MIT" ]
null
null
null
antipodalpy/__init__.py
rfverbruggen/antipodalpy
b420376c9fe6a8c7ac847c420463fe546865619b
[ "MIT" ]
null
null
null
class Location(object): """docstring for Location""" def __init__(self, lat=0, lon=0): self._lat = lat self._lon = lon def __str__(self): return "Location(%s,%s)" % (self._lat, self._lon) def __unicode__(self): return u"Location(%s,%s)" % (self._lat, self._lon) @property def lat(self): return self._l...
19.368421
52
0.668478
111
736
4.144144
0.207207
0.136957
0.065217
0.06087
0.104348
0.104348
0.104348
0
0
0
0
0.011494
0.172554
736
38
53
19.368421
0.743842
0.0625
0
0.068966
0
0
0.044118
0
0
0
0
0
0
1
0.344828
false
0
0
0.137931
0.551724
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
370c637dbfa50d28f7cfd9ac7bc12cf50fe7c21c
126
py
Python
test/input/053.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
test/input/053.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
test/input/053.py
EliRibble/pyfmt
e84a5531a7c06703eddd9dbc2072b0c8deae8c57
[ "MIT" ]
null
null
null
A_COMMA = "," A_QUOTE = "'" DOUBLE_QUOTES = '"' A_TAB = " " AN_ESCAPED_TAB = "\t" NEWLINE = """ """ AN_ESCAPED_NEWLINE = "\n"
14
25
0.579365
17
126
3.823529
0.647059
0.276923
0
0
0
0
0
0
0
0
0
0
0.18254
126
8
26
15.75
0.631068
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
370fadb53ceaf16e03a00d683cc6514a159d4769
922
py
Python
lectures/approximation/approximation_auxiliary.py
CasualDan/ose-course-scientific-computing
28c9595aabf47d98406c05dd9519245aa58fac05
[ "MIT" ]
null
null
null
lectures/approximation/approximation_auxiliary.py
CasualDan/ose-course-scientific-computing
28c9595aabf47d98406c05dd9519245aa58fac05
[ "MIT" ]
null
null
null
lectures/approximation/approximation_auxiliary.py
CasualDan/ose-course-scientific-computing
28c9595aabf47d98406c05dd9519245aa58fac05
[ "MIT" ]
null
null
null
"""Auxiliary functions for approximation lecture.""" import numpy as np def spline_basis(x, degree, h, a): """Return spline.""" nu = a + (degree - 1) * h if np.abs(x - nu) <= h: return 1 - (np.abs(x - nu)) / h else: return 0.0 return nu def get_uniform_nodes(n, a=-1, b=1): ...
23.05
88
0.588937
146
922
3.650685
0.349315
0.150094
0.187617
0.030019
0.187617
0.153846
0.060038
0
0
0
0
0.02695
0.235358
922
39
89
23.641026
0.729078
0.204989
0
0
0
0
0.007123
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0
0.684211
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
3716d516de78b092e81304f606d78e82841c6066
93
py
Python
qrmethods/apps.py
Jumas-Cola/qrlesson
b75f776f113616670ede99a6172891f57089f0df
[ "MIT" ]
null
null
null
qrmethods/apps.py
Jumas-Cola/qrlesson
b75f776f113616670ede99a6172891f57089f0df
[ "MIT" ]
8
2020-06-06T00:04:04.000Z
2022-02-10T10:34:02.000Z
qrmethods/apps.py
Jumas-Cola/qrlesson
b75f776f113616670ede99a6172891f57089f0df
[ "MIT" ]
null
null
null
from django.apps import AppConfig class QrmethodsConfig(AppConfig): name = 'qrmethods'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
37241c5e2f4109ed338372ce66972ffdfd242cc0
124
py
Python
apogee/server/__init__.py
markdouthwaite/apogee
2e8f58809b2af76137793215f4e7853b047d9183
[ "MIT" ]
4
2019-01-02T06:08:28.000Z
2019-11-11T08:58:01.000Z
apogee/server/__init__.py
markdouthwaite/Apogee
2e8f58809b2af76137793215f4e7853b047d9183
[ "MIT" ]
3
2019-10-17T11:56:53.000Z
2020-05-17T16:04:45.000Z
apogee/server/__init__.py
markdouthwaite/apogee
2e8f58809b2af76137793215f4e7853b047d9183
[ "MIT" ]
null
null
null
""" The MIT License Copyright (c) 2017-2020 Mark Douthwaite """ from .app import ApogeeServer __all__ = ["ApogeeServer"]
12.4
39
0.717742
15
124
5.666667
0.933333
0
0
0
0
0
0
0
0
0
0
0.076923
0.16129
124
9
40
13.777778
0.740385
0.451613
0
0
0
0
0.2
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
2eac11db1e35d648738a66843fe4ae7c9c57839b
204
py
Python
src/recastatlas/exceptions.py
matthewfeickert/recast-atlas
c5c852de297ecd85ff0fe3e2562752fccd0793d2
[ "Apache-2.0" ]
null
null
null
src/recastatlas/exceptions.py
matthewfeickert/recast-atlas
c5c852de297ecd85ff0fe3e2562752fccd0793d2
[ "Apache-2.0" ]
null
null
null
src/recastatlas/exceptions.py
matthewfeickert/recast-atlas
c5c852de297ecd85ff0fe3e2562752fccd0793d2
[ "Apache-2.0" ]
null
null
null
class FailedRunException(Exception): """ raised when an a run has not succeeded """ class BackendNotAvailableException(Exception): """ raise when a Backend is ill-configured """
18.545455
46
0.671569
21
204
6.52381
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.235294
204
10
47
20.4
0.878205
0.377451
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
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
1
0
0
0
1
0
0
3
2eaeeb3f9f1b1f1dc51b3d05d25a19bf0657613c
65
py
Python
sara/__init__.py
cmagnobarbosa/sara_public-1
878eceffd4e27cc901eb20e7fbb9af98926abb58
[ "MIT" ]
null
null
null
sara/__init__.py
cmagnobarbosa/sara_public-1
878eceffd4e27cc901eb20e7fbb9af98926abb58
[ "MIT" ]
17
2020-06-27T02:29:49.000Z
2021-11-21T23:51:30.000Z
sara/__init__.py
cmagnobarbosa/sara_public-1
878eceffd4e27cc901eb20e7fbb9af98926abb58
[ "MIT" ]
3
2020-05-06T18:27:36.000Z
2021-12-18T01:22:18.000Z
"""sara init module.""" __version__ = '0.0.3' import sara.core
10.833333
23
0.646154
10
65
3.8
0.8
0
0
0
0
0
0
0
0
0
0
0.054545
0.153846
65
5
24
13
0.636364
0.261538
0
0
0
0
0.119048
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
2ec09dc3fe54ecf09bc33b94b1e27766826602c5
448
py
Python
confbusterplusplus/aligner.py
e-dang/Macrocycle-Conformer-Generator
2de751f409ffdb791d8b04fd4b3d08645beebaa6
[ "MIT" ]
3
2020-10-22T22:15:46.000Z
2022-01-06T19:39:44.000Z
confbusterplusplus/aligner.py
e-dang/Macrocycle-Conformer-Generator
2de751f409ffdb791d8b04fd4b3d08645beebaa6
[ "MIT" ]
null
null
null
confbusterplusplus/aligner.py
e-dang/Macrocycle-Conformer-Generator
2de751f409ffdb791d8b04fd4b3d08645beebaa6
[ "MIT" ]
2
2020-09-18T20:10:53.000Z
2022-01-06T19:39:46.000Z
from rdkit.Chem import AllChem class MolAligner: def __init__(self, max_iters): self.max_iters = max_iters def align_global(self, mol): rmsd = [] AllChem.AlignMolConformers(mol, maxIters=self.max_iters, RMSlist=rmsd) return rmsd def align_atoms(self, mol, atoms): ...
21.333333
93
0.658482
54
448
5.259259
0.407407
0.140845
0.169014
0.225352
0.366197
0.366197
0.366197
0.366197
0
0
0
0
0.25
448
20
94
22.4
0.845238
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2ef5aadce83f467680ab318e28d77381c7661d5d
605
py
Python
tests/kyu_6_tests/test_single_word_pig_latin.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_6_tests/test_single_word_pig_latin.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_6_tests/test_single_word_pig_latin.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_6.single_word_pig_latin import pig_latin class PigLatinTestCase(unittest.TestCase): def test_equal_1(self): self.assertEqual(pig_latin('map'), 'apmay') def test_equal_2(self): self.assertEqual(pig_latin('egg'), 'eggway') def test_equal_3(self): sel...
25.208333
63
0.680992
81
605
4.777778
0.407407
0.165375
0.124031
0.22739
0.423773
0
0
0
0
0
0
0.014141
0.181818
605
23
64
26.304348
0.767677
0
0
0
0
0
0.08595
0
0
0
0
0
0.4
1
0.4
false
0
0.133333
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2ef8f5972e52731fc9902658216d1f25095a04f9
119
py
Python
Curso de Cisco/Actividades/Funcion saludar con nombre.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
Curso de Cisco/Actividades/Funcion saludar con nombre.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
Curso de Cisco/Actividades/Funcion saludar con nombre.py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
def HolaaTodos(myList): for nombre in myList: print("Hola,", nombre) HolaaTodos(["Adam", "John", "Lucy"])
23.8
36
0.613445
15
119
4.933333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.193277
119
5
36
23.8
0.760417
0
0
0
0
0
0.142857
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
2c0642efaf0d6fc5fb03ecbea233f4974a0ec24e
62
py
Python
download-deveres/para-aulas-do-curso-em-video/aula9a.py
Hugo-Oliveira-RDO11/meus-deveres
b5e41015e2cb95946262678e82197e5f47d56271
[ "MIT" ]
null
null
null
download-deveres/para-aulas-do-curso-em-video/aula9a.py
Hugo-Oliveira-RDO11/meus-deveres
b5e41015e2cb95946262678e82197e5f47d56271
[ "MIT" ]
null
null
null
download-deveres/para-aulas-do-curso-em-video/aula9a.py
Hugo-Oliveira-RDO11/meus-deveres
b5e41015e2cb95946262678e82197e5f47d56271
[ "MIT" ]
null
null
null
frase = 'curso em video python' #variaveu = print(len(frase))
15.5
31
0.709677
9
62
4.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.145161
62
3
32
20.666667
0.830189
0.16129
0
0
0
0
0.411765
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
2c21edc9a912d9dd04bad8283948c846e10cfad3
3,075
py
Python
harmoni_dialogues/harmoni_bot/test/unittest_lex.py
interaction-lab/HARMONI
9c88019601a983a1739744919a95247a997d3bb1
[ "MIT" ]
7
2020-09-02T06:31:21.000Z
2022-02-18T21:16:44.000Z
harmoni_dialogues/harmoni_bot/test/unittest_lex.py
micolspitale93/HARMONI
cf6a13fb85e3efb4e421dbfd4555359c0a04acaa
[ "MIT" ]
61
2020-05-15T16:46:32.000Z
2021-07-28T17:44:49.000Z
harmoni_dialogues/harmoni_bot/test/unittest_lex.py
micolspitale93/HARMONI
cf6a13fb85e3efb4e421dbfd4555359c0a04acaa
[ "MIT" ]
3
2020-10-05T23:01:29.000Z
2022-03-02T11:53:34.000Z
#!/usr/bin/env python3 PKG = 'test_harmoni_bot' # Common Imports import unittest, rospy, roslib, sys #from unittest.mock import Mock, patch # Specific Imports from actionlib_msgs.msg import GoalStatus from harmoni_common_lib.constants import State from harmoni_common_msgs.msg import harmoniAction, harmoniFeedback, ha...
59.134615
1,340
0.709593
398
3,075
5.38191
0.474874
0.018674
0.03268
0.023343
0.110177
0.091503
0.053221
0.028011
0.028011
0
0
0.047709
0.141138
3,075
51
1,341
60.294118
0.763347
0.546667
0
0
0
0
0.181227
0
0
0
0
0.019608
0.030303
1
0.121212
false
0
0.30303
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
25847b3ff9ea07699df203326535b8c3f040d3a9
442
py
Python
backend/mainContent/models.py
mariaeid/Examensarbete
3b04d404f399ecd5e9e0011bbbe81e715d45fa62
[ "MIT" ]
null
null
null
backend/mainContent/models.py
mariaeid/Examensarbete
3b04d404f399ecd5e9e0011bbbe81e715d45fa62
[ "MIT" ]
14
2020-06-06T00:21:31.000Z
2022-03-12T00:10:08.000Z
backend/mainContent/models.py
mariaeid/Examensarbete
3b04d404f399ecd5e9e0011bbbe81e715d45fa62
[ "MIT" ]
null
null
null
from django.db import models class MainContent(models.Model): siteTitle = models.CharField(max_length=120) titlePart1 = models.CharField(max_length=120) textPart1 = models.TextField(null=True) titlePart2 = models.CharField(max_length=120) textPart2 = models.TextField(null=True) titlePart3 = mod...
31.571429
49
0.735294
54
442
5.907407
0.5
0.188088
0.225705
0.30094
0.338558
0
0
0
0
0
0
0.04878
0.165158
442
13
50
34
0.815718
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2585bb11557ba0225ddcd3a77a31a15631114318
434
py
Python
api/wsgi/src/manage.py
easyCZ/SLIP-A-2015
ad386df9c438d93ec89f68c63d3deda12d27d1ed
[ "MIT" ]
2
2020-06-08T19:17:10.000Z
2020-06-08T20:45:07.000Z
api/wsgi/src/manage.py
easyCZ/SLIP-A-2015
ad386df9c438d93ec89f68c63d3deda12d27d1ed
[ "MIT" ]
14
2015-10-07T09:31:50.000Z
2022-02-23T07:34:10.000Z
api/wsgi/src/manage.py
easyCZ/SLIP-A-2015
ad386df9c438d93ec89f68c63d3deda12d27d1ed
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys if __name__ == "__main__": # Use local config if not on openshift server if os.environ.get('SLIP_ENV') == 'local': os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.local") else: os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.setti...
27.125
75
0.721198
58
434
5.068966
0.568966
0.091837
0.129252
0.170068
0.312925
0.312925
0.312925
0
0
0
0
0
0.168203
434
15
76
28.933333
0.814404
0.147465
0
0
0
0
0.255435
0.119565
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
258982a810c02903f219cfb4b4ae292e46411918
321
py
Python
pymontecarlo_gui/options/model/ionization_potential.py
pymontecarlo/pymontecarlo-gui
1b3c37d4b634a85c63f23d27ea8bd79bf5a43a2f
[ "Apache-2.0" ]
null
null
null
pymontecarlo_gui/options/model/ionization_potential.py
pymontecarlo/pymontecarlo-gui
1b3c37d4b634a85c63f23d27ea8bd79bf5a43a2f
[ "Apache-2.0" ]
2
2016-05-16T10:19:56.000Z
2021-12-29T15:16:20.000Z
pymontecarlo_gui/options/model/ionization_potential.py
pymontecarlo/pymontecarlo-gui
1b3c37d4b634a85c63f23d27ea8bd79bf5a43a2f
[ "Apache-2.0" ]
null
null
null
""" Ionization potential models. """ # Standard library modules. # Third party modules. # Local modules. from pymontecarlo_gui.options.model.base import ModelFieldBase # Globals and constants variables. class IonizationPotentialModelField(ModelFieldBase): def title(self): return "Ionization potential"...
17.833333
62
0.76324
32
321
7.625
0.84375
0.155738
0
0
0
0
0
0
0
0
0
0
0.155763
321
17
63
18.882353
0.900369
0.386293
0
0
0
0
0.107527
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
258cea4a43e115246b964474755eb7bca5679938
32,903
py
Python
notebooks/joaocarabetta-descriptive_stats_proceso.py
alan-turing-institute/DSSG19-DNCP-PUBLIC
1f8b037dd2fd79c9729ece970ba23a7b615acb74
[ "MIT" ]
1
2021-06-07T18:16:10.000Z
2021-06-07T18:16:10.000Z
notebooks/joaocarabetta-descriptive_stats_proceso.py
alan-turing-institute/DSSG19-DNCP-PUBLIC
1f8b037dd2fd79c9729ece970ba23a7b615acb74
[ "MIT" ]
null
null
null
notebooks/joaocarabetta-descriptive_stats_proceso.py
alan-turing-institute/DSSG19-DNCP-PUBLIC
1f8b037dd2fd79c9729ece970ba23a7b615acb74
[ "MIT" ]
2
2020-01-30T14:32:16.000Z
2020-04-19T12:17:34.000Z
# --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.1.7 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # + # Import Scripts # %r...
27.64958
324
0.69717
4,489
32,903
4.93963
0.105146
0.035718
0.035176
0.028006
0.733246
0.700415
0.679174
0.661315
0.642239
0.630198
0
0.016916
0.162751
32,903
1,189
325
27.672834
0.788006
0.164666
0
0.675
0
0
0.351294
0.142421
0
0
0
0
0
0
null
null
0
0.01875
null
null
0.00625
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
258e21635242ac8757d4591b90d21a416cde5dcf
207
py
Python
setup.py
metataro/DirectFeedbackAlignment
7e2cbc3f001ac2290a15440628bb2b97d4ec52ab
[ "MIT" ]
5
2020-04-30T11:36:46.000Z
2021-09-09T06:08:34.000Z
setup.py
metataro/DirectFeedbackAlignment
7e2cbc3f001ac2290a15440628bb2b97d4ec52ab
[ "MIT" ]
null
null
null
setup.py
metataro/DirectFeedbackAlignment
7e2cbc3f001ac2290a15440628bb2b97d4ec52ab
[ "MIT" ]
1
2021-01-07T03:10:32.000Z
2021-01-07T03:10:32.000Z
from distutils.core import setup from Cython.Build import cythonize import numpy as np setup( name='im2col', ext_modules=cythonize("network/utils/im2col_cython.pyx"), include_dirs=[np.get_include()] )
23
59
0.777778
30
207
5.233333
0.7
0
0
0
0
0
0
0
0
0
0
0.01087
0.111111
207
9
60
23
0.842391
0
0
0
0
0
0.177885
0.149038
0
0
0
0
0
1
0
true
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
25a8100d9566b632349993341d32a00039992821
22
py
Python
aliyun-python-sdk-slb/aliyunsdkslb/__init__.py
sdk-team/aliyun-openapi-python-sdk
384730d707e6720d1676ccb8f552e6a7b330ec86
[ "Apache-2.0" ]
null
null
null
aliyun-python-sdk-slb/aliyunsdkslb/__init__.py
sdk-team/aliyun-openapi-python-sdk
384730d707e6720d1676ccb8f552e6a7b330ec86
[ "Apache-2.0" ]
null
null
null
aliyun-python-sdk-slb/aliyunsdkslb/__init__.py
sdk-team/aliyun-openapi-python-sdk
384730d707e6720d1676ccb8f552e6a7b330ec86
[ "Apache-2.0" ]
null
null
null
__version__ = 'sdfasd'
22
22
0.772727
2
22
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
22
1
22
22
0.65
0
0
0
0
0
0.26087
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
25b3e19c285a901332b51ec60fae90575c472469
581
py
Python
code/pyseg/spatial/processes.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
12
2020-01-08T01:33:02.000Z
2022-03-16T00:25:34.000Z
code/pyorg/spatial/processes.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
8
2019-12-19T19:34:56.000Z
2022-03-10T10:11:28.000Z
code/pyorg/spatial/processes.py
anmartinezs/pyseg_system
5bb07c7901062452a34b73f376057cabc15a13c3
[ "Apache-2.0" ]
2
2022-03-30T13:12:22.000Z
2022-03-30T18:12:10.000Z
""" Set of processes for being in mult-processor mode within spatial package # Author: Antonio Martinez-Sanchez (Max Planck Institute for Biochemistry) # Date: 11.01.17 """ __author__ = 'martinez' ####### HELPING FUNCTIONS ####### PROCESSES # Radial Averaged Fourier Transform alone process # points: array with poi...
25.26087
74
0.738382
76
581
5.565789
0.776316
0.052009
0
0
0
0
0
0
0
0
0
0.012371
0.165232
581
22
75
26.409091
0.859794
0.781411
0
0
0
0
0.080808
0
0
0
0
0.045455
0
1
0.333333
false
0.333333
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
25b6c687d1bc86a5d5f562f25078763536bcb6a3
35,214
py
Python
appengine/components/components/auth/proto/replication_pb2.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
1
2017-10-30T15:08:10.000Z
2017-10-30T15:08:10.000Z
appengine/components/components/auth/proto/replication_pb2.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
null
null
null
appengine/components/components/auth/proto/replication_pb2.py
stefb965/luci-py
e0a8a5640c4104e5c90781d833168aa8a8d1f24d
[ "Apache-2.0" ]
1
2020-07-05T19:54:40.000Z
2020-07-05T19:54:40.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: replication.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _r...
42.477684
3,493
0.748992
4,345
35,214
5.809206
0.067204
0.054198
0.063983
0.101026
0.74894
0.708728
0.695099
0.621845
0.583178
0.56436
0
0.039263
0.124127
35,214
828
3,494
42.528986
0.779107
0.032487
0
0.697128
1
0.001305
0.260704
0.217302
0
0
0
0
0
1
0
false
0
0.007833
0
0.007833
0
0
0
0
null
0
0
0
0
1
0
0
0
0
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
25dae9a6718f9f6b8b292655ef3eafd30f80f79f
3,969
py
Python
_pycharm_skeletons/renderdoc/TextureDescription.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
_pycharm_skeletons/renderdoc/TextureDescription.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
_pycharm_skeletons/renderdoc/TextureDescription.py
Lex-DRL/renderdoc-py-stubs
75d280e4f500ded506f3315a49fc432b37ab4fa6
[ "MIT" ]
null
null
null
# encoding: utf-8 # module renderdoc # from P:\1-Scripts\_Python\Py-Autocomplete\renderdoc.pyd # by generator 1.146 # no doc # imports import enum as __enum from .SwigPyObject import SwigPyObject class TextureDescription(SwigPyObject): """ A description of a texture resource. """ def __eq__(self, *args, **k...
39.29703
103
0.646762
520
3,969
4.846154
0.246154
0.190476
0.114286
0.152381
0.636111
0.624206
0.610714
0.594841
0.537698
0.537698
0
0.004883
0.226002
3,969
100
104
39.69
0.81543
0.190476
0
0.230769
0
0
0
0
0
0
0
0
0
1
0.230769
false
0.230769
0.051282
0
0.74359
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
25dee56393f448646f2ba7291c590ea33a55c100
335
py
Python
src/data/filter_data.py
PLombao/TidyML
dd86732e6ef8aec9a3a9fe7948ac15f7ad260a1a
[ "MIT" ]
null
null
null
src/data/filter_data.py
PLombao/TidyML
dd86732e6ef8aec9a3a9fe7948ac15f7ad260a1a
[ "MIT" ]
null
null
null
src/data/filter_data.py
PLombao/TidyML
dd86732e6ef8aec9a3a9fe7948ac15f7ad260a1a
[ "MIT" ]
null
null
null
def filter_data(data): """ Front function to filter data to perform a train Args: data (pd.DataFrame): a pandas dataframe with the non-filtered data Returns: filtered_data (pd.DataFrame): a pandas dataframe with the filtered data """ filtered_data = data.copy() ...
22.333333
79
0.632836
43
335
4.860465
0.465116
0.229665
0.143541
0.15311
0.363636
0.363636
0.363636
0.363636
0
0
0
0
0.295522
335
15
80
22.333333
0.885593
0.647761
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
25f5f0df42d68a0bb11a393619edc80c2c3752b0
149
py
Python
test_resources/version_with_dataclasses.py
ahmetkucuk/jsons
77f3c5ebb2349a0afadb0d9fcc5ae1fb6b609278
[ "MIT" ]
null
null
null
test_resources/version_with_dataclasses.py
ahmetkucuk/jsons
77f3c5ebb2349a0afadb0d9fcc5ae1fb6b609278
[ "MIT" ]
null
null
null
test_resources/version_with_dataclasses.py
ahmetkucuk/jsons
77f3c5ebb2349a0afadb0d9fcc5ae1fb6b609278
[ "MIT" ]
null
null
null
import uuid from dataclasses import dataclass @dataclass class Person: name: str @dataclass class User: user_id: uuid.UUID name: str
10.642857
33
0.718121
20
149
5.3
0.55
0.264151
0
0
0
0
0
0
0
0
0
0
0.228188
149
13
34
11.461538
0.921739
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.777778
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d303163c0bd8f593a0f381f2291c76edfdabea1e
1,986
py
Python
lclpy/evaluation/abstract_evaluation_function.py
nobody1570/lspy
1cf6efbafbbf8ddb54ba7a875e82c562f010edd1
[ "MIT" ]
3
2021-11-27T22:11:38.000Z
2022-02-10T11:42:06.000Z
lclpy/evaluation/abstract_evaluation_function.py
nobody1570/lspy
1cf6efbafbbf8ddb54ba7a875e82c562f010edd1
[ "MIT" ]
null
null
null
lclpy/evaluation/abstract_evaluation_function.py
nobody1570/lspy
1cf6efbafbbf8ddb54ba7a875e82c562f010edd1
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class AbstractEvaluationFunction(ABC): """A template to create evaluation functions. Evaluationfunctions are used to determine the quality of a problem. """ def __init__(self): super().__init__() def get_problem_type(self): """Returns the pro...
26.837838
79
0.621349
214
1,986
5.663551
0.397196
0.054455
0.061881
0.066832
0.259901
0.212046
0.179868
0.179868
0.179868
0.179868
0
0
0.322759
1,986
73
80
27.205479
0.901115
0.642497
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.363636
false
0.090909
0.090909
0
0.545455
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
d30669007e52f1e719484f96b0bc039269ad060d
227
py
Python
src/task/urls.py
triump0870/django_heroku_todo
d96d3bf51573039f413841eea7465e14224a82b7
[ "MIT" ]
null
null
null
src/task/urls.py
triump0870/django_heroku_todo
d96d3bf51573039f413841eea7465e14224a82b7
[ "MIT" ]
null
null
null
src/task/urls.py
triump0870/django_heroku_todo
d96d3bf51573039f413841eea7465e14224a82b7
[ "MIT" ]
null
null
null
from django.conf.urls import url from .views import TaskListView, TaskDetailView urlpatterns = [ url(r'^$', TaskListView.as_view(), name='list'), url(r'^(?P<slug>[-\w]+)/$', TaskDetailView.as_view(), name='detail'), ]
28.375
73
0.665198
29
227
5.137931
0.655172
0.053691
0.134228
0
0
0
0
0
0
0
0
0
0.123348
227
7
74
32.428571
0.748744
0
0
0
0
0
0.136564
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
d30bee83d7b7c1f8c063ebf1b7207cd0189186e8
134
py
Python
flask_perm/core.py
darelight/flask-perm
f8c1f48d7bb376e1bca83afecd973c4cdf923753
[ "MIT" ]
8
2016-09-11T14:40:44.000Z
2022-03-01T16:55:33.000Z
flask_perm/core.py
darelight/flask-perm
f8c1f48d7bb376e1bca83afecd973c4cdf923753
[ "MIT" ]
1
2021-07-28T14:25:02.000Z
2021-07-29T07:17:25.000Z
flask_perm/core.py
darelight/flask-perm
f8c1f48d7bb376e1bca83afecd973c4cdf923753
[ "MIT" ]
7
2016-08-10T07:56:26.000Z
2022-01-11T09:14:00.000Z
# -*- coding: utf-8 -*- from flask_sqlalchemy import SQLAlchemy from flask_bcrypt import Bcrypt db = SQLAlchemy() bcrypt = Bcrypt()
16.75
39
0.731343
17
134
5.647059
0.529412
0.1875
0
0
0
0
0
0
0
0
0
0.00885
0.156716
134
7
40
19.142857
0.840708
0.156716
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
d315ed486841b1798326efca6f8d54992b5db825
121
py
Python
blogs/urls.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
911
2015-01-03T22:16:06.000Z
2022-03-31T23:56:22.000Z
blogs/urls.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
1,342
2015-01-02T16:14:45.000Z
2022-03-28T08:01:20.000Z
blogs/urls.py
Manny27nyc/pythondotorg
257c96d3a94755451a5a5cdcd2abad1e27ea299b
[ "Apache-2.0" ]
551
2015-01-04T02:17:31.000Z
2022-03-23T11:59:25.000Z
from . import views from django.urls import path urlpatterns = [ path('', views.BlogHome.as_view(), name='blog'), ]
17.285714
52
0.677686
16
121
5.0625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.165289
121
6
53
20.166667
0.80198
0
0
0
0
0
0.033058
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
d31d2e209c83523ff8f9dc8dcc47ca7ffb9d63fd
1,254
py
Python
Bloomberg/codeb/clientpy3.py
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
Bloomberg/codeb/clientpy3.py
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
Bloomberg/codeb/clientpy3.py
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
import socket import sys def run(user, password, *commands): HOST, PORT = "codebb.cloudapp.net", 17429 data=user + " " + password + "\n" + "\n".join(commands) + "\nCLOSE_CONNECTION\n" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: sock.connect((HOST, PORT)) ...
26.680851
85
0.573365
148
1,254
4.763514
0.358108
0.102128
0.102128
0.093617
0.686525
0.686525
0.686525
0.686525
0.686525
0.621277
0
0.01978
0.274322
1,254
46
86
27.26087
0.754945
0
0
0.558824
0
0
0.126023
0
0
0
0
0
0
0
null
null
0.176471
0.058824
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
d32c8926759a0e0603eaf270b61fabb803cf7790
2,057
py
Python
pubnub/models/consumer/objects_v2/channel_members.py
natekspencer/pubnub-python
453ba34104b4067077546d5d9ba3b206559494d1
[ "MIT" ]
146
2015-01-05T03:14:53.000Z
2022-03-16T16:51:52.000Z
pubnub/models/consumer/objects_v2/channel_members.py
natekspencer/pubnub-python
453ba34104b4067077546d5d9ba3b206559494d1
[ "MIT" ]
48
2015-01-15T15:27:41.000Z
2022-03-21T14:17:05.000Z
pubnub/models/consumer/objects_v2/channel_members.py
natekspencer/pubnub-python
453ba34104b4067077546d5d9ba3b206559494d1
[ "MIT" ]
128
2015-01-05T03:40:59.000Z
2022-03-02T20:50:58.000Z
from abc import abstractmethod, ABCMeta from pubnub.models.consumer.objects_v2.page import PNPageable class PNUUID: __metaclass__ = ABCMeta def __init__(self, uuid): self._uuid = uuid @staticmethod def uuid(uuid): return JustUUID(uuid) @staticmethod def uuid_with_custom(uui...
23.918605
65
0.621293
215
2,057
5.581395
0.213953
0.073333
0.093333
0.07
0.569167
0.569167
0.520833
0.428333
0.428333
0.428333
0
0.00067
0.274186
2,057
85
66
24.2
0.803081
0
0
0.508197
0
0
0.095284
0
0
0
0
0
0
1
0.245902
false
0
0.032787
0.147541
0.557377
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
d3379261633ead7209a8fc695e0f357238a8542e
914
py
Python
classifier/utils/datasets.py
rohanwinsor/transformers_scripts
5d69862661cb05d8bdf6145f90fae6a07a4188bb
[ "MIT" ]
null
null
null
classifier/utils/datasets.py
rohanwinsor/transformers_scripts
5d69862661cb05d8bdf6145f90fae6a07a4188bb
[ "MIT" ]
null
null
null
classifier/utils/datasets.py
rohanwinsor/transformers_scripts
5d69862661cb05d8bdf6145f90fae6a07a4188bb
[ "MIT" ]
null
null
null
import torch import numpy as np class Dataset(torch.utils.data.Dataset): def __init__(self, tokenizer, texts, labels): self.labels = [labels] if isinstance(labels, int) else labels self.texts = [ tokenizer( text, padding="max_length", ...
24.052632
70
0.550328
104
914
4.576923
0.375
0.084034
0.054622
0
0
0
0
0
0
0
0
0.005164
0.364333
914
37
71
24.702703
0.814114
0
0
0
0
0
0.013683
0
0
0
0
0
0
1
0.222222
false
0
0.074074
0.148148
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d348d89e03fa2a85246232b9c251538face2be97
3,878
py
Python
sforce/composite/spy.py
cybojenix/python-sforce
eb2ab1a7030797c1dcb1449f663bcd6abfefb213
[ "MIT" ]
null
null
null
sforce/composite/spy.py
cybojenix/python-sforce
eb2ab1a7030797c1dcb1449f663bcd6abfefb213
[ "MIT" ]
null
null
null
sforce/composite/spy.py
cybojenix/python-sforce
eb2ab1a7030797c1dcb1449f663bcd6abfefb213
[ "MIT" ]
null
null
null
class RefBuilderBackend: def __init__(self, ref_name): self.ref_name = ref_name def resolve_attr(self, attr): return getattr(RefBuilder(self.ref_name), attr) def resolve_item(self, item): return RefBuilder(self.ref_name)[item] class DataBackend: def __init__(self, data):...
25.181818
87
0.583806
387
3,878
5.604651
0.237726
0.022591
0.051637
0.012909
0.260028
0.193638
0.147533
0.147533
0.147533
0.109728
0
0.028686
0.28984
3,878
153
88
25.346405
0.758896
0
0
0.275
0
0
0.057981
0.01956
0
0
0
0
0
1
0.25
false
0
0
0.125
0.525
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
d3619cd087a2722d0161447c50049eae460de318
79
py
Python
NBprocessing/src/__init__.py
nirbarazida/NBprocessing
3b020829e9c2ec0ef67b881a69637ac14e635e75
[ "MIT" ]
19
2020-11-29T17:27:38.000Z
2021-06-01T17:16:00.000Z
NBprocessing/src/__init__.py
nirbarazida/NBprocessing
3b020829e9c2ec0ef67b881a69637ac14e635e75
[ "MIT" ]
11
2020-08-10T21:03:06.000Z
2020-10-07T11:13:43.000Z
NBprocessing/src/__init__.py
nirbarazida/NBprocessing
3b020829e9c2ec0ef67b881a69637ac14e635e75
[ "MIT" ]
9
2020-12-26T11:18:15.000Z
2022-01-20T03:47:58.000Z
from NBprocessing.src._constance_class import Const constance_object = Const()
26.333333
51
0.848101
10
79
6.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.088608
79
3
52
26.333333
0.888889
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
d37c6413ba5a1eb2b88c78e881f84f768b01faee
185
py
Python
util/logging.py
arcana261/python-grpc-boilerplate
dd20767ad5540a49e1db802ce578c7b8e416ccbb
[ "Unlicense" ]
null
null
null
util/logging.py
arcana261/python-grpc-boilerplate
dd20767ad5540a49e1db802ce578c7b8e416ccbb
[ "Unlicense" ]
null
null
null
util/logging.py
arcana261/python-grpc-boilerplate
dd20767ad5540a49e1db802ce578c7b8e416ccbb
[ "Unlicense" ]
null
null
null
import logging logging.basicConfig(format='%(asctime)-15s %(message)s') def getLogger(name): result = logging.getLogger(name) result.setLevel(logging.INFO) return result
18.5
56
0.724324
22
185
6.090909
0.681818
0.19403
0.283582
0
0
0
0
0
0
0
0
0.012658
0.145946
185
9
57
20.555556
0.835443
0
0
0
0
0
0.140541
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d39207241274dca05f3ba09074096953685006c5
1,052
py
Python
drivetracker/drives/migrations/0011_rename_foreign_keys_new_models.py
rohankapoorcom/drivetracker
f9af767503420165c7ac2cf109d0ad20914e186b
[ "MIT" ]
1
2016-04-23T22:31:54.000Z
2016-04-23T22:31:54.000Z
drivetracker/drives/migrations/0011_rename_foreign_keys_new_models.py
rohankapoorcom/drivetracker
f9af767503420165c7ac2cf109d0ad20914e186b
[ "MIT" ]
15
2016-03-10T18:41:26.000Z
2021-06-10T18:37:02.000Z
drivetracker/drives/migrations/0011_rename_foreign_keys_new_models.py
rohankapoorcom/drivetracker
f9af767503420165c7ac2cf109d0ad20914e186b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-09 19:21 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('drives', '0010_linking_up_new_foreignkeys'), ] operations = [ migrations.RemoveField...
24.465116
54
0.546578
94
1,052
5.861702
0.425532
0.098004
0.196007
0.163339
0.484574
0.484574
0.250454
0
0
0
0
0.029112
0.346958
1,052
42
55
25.047619
0.772926
0.063688
0
0.514286
1
0
0.169043
0.031568
0
0
0
0
0
1
0
false
0
0.057143
0
0.142857
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
d394a93aac47dd86ead2e73d6d868dc0c6672177
98
py
Python
aulas/.resps/fibo.py
achiaver/introducaopython
10c192e680732fd1a244d30822f8e227a2b118dc
[ "MIT" ]
7
2019-03-18T19:38:19.000Z
2021-01-25T20:36:43.000Z
aulas/.resps/fibo.py
achiaver/introducaopython
10c192e680732fd1a244d30822f8e227a2b118dc
[ "MIT" ]
null
null
null
aulas/.resps/fibo.py
achiaver/introducaopython
10c192e680732fd1a244d30822f8e227a2b118dc
[ "MIT" ]
2
2020-03-08T14:23:43.000Z
2020-08-26T14:36:18.000Z
a, b, i = 0, 1, 2 fibo = [a, b] while i < 100: i = i + 1 a, b = b, a+b fibo.append(b)
14
18
0.408163
23
98
1.73913
0.434783
0.2
0
0
0
0
0
0
0
0
0
0.116667
0.387755
98
6
19
16.333333
0.55
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6c92da79e5caaddc1cdcfd62cc94c8642868583a
835
py
Python
sources/rnt/webui/migrations/0004_auto_20171129_1645.py
bryan-brancotte/rank-aggregation-with-ties
15fffb0b1bee3d6cef7090486a7c910e5f51195d
[ "Apache-2.0" ]
null
null
null
sources/rnt/webui/migrations/0004_auto_20171129_1645.py
bryan-brancotte/rank-aggregation-with-ties
15fffb0b1bee3d6cef7090486a7c910e5f51195d
[ "Apache-2.0" ]
11
2018-04-04T08:24:30.000Z
2021-03-19T21:45:04.000Z
sources/rnt/webui/migrations/0004_auto_20171129_1645.py
bryan-brancotte/rank-aggregation-with-ties
15fffb0b1bee3d6cef7090486a7c910e5f51195d
[ "Apache-2.0" ]
1
2018-10-25T09:13:41.000Z
2018-10-25T09:13:41.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-29 16:45 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('webui', '0003_auto_20171128_2219'), ] operations = [ migrations.RemoveField( ...
21.973684
48
0.523353
73
835
5.808219
0.547945
0.198113
0.245283
0.283019
0.495283
0.363208
0
0
0
0
0
0.061682
0.359281
835
37
49
22.567568
0.730841
0.081437
0
0.533333
1
0
0.108639
0.030105
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
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
6c9d7310186337fb17409994fe29d7d421aa5618
5,241
py
Python
plugins/module_utils/oci_cloud_guard_custom_helpers.py
A7rMtWE57x/oci-ansible-collection
80548243a085cd53fd5dddaa8135b5cb43612c66
[ "Apache-2.0" ]
null
null
null
plugins/module_utils/oci_cloud_guard_custom_helpers.py
A7rMtWE57x/oci-ansible-collection
80548243a085cd53fd5dddaa8135b5cb43612c66
[ "Apache-2.0" ]
null
null
null
plugins/module_utils/oci_cloud_guard_custom_helpers.py
A7rMtWE57x/oci-ansible-collection
80548243a085cd53fd5dddaa8135b5cb43612c66
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for details. from __future__...
44.415254
107
0.704255
650
5,241
5.34
0.204615
0.055315
0.055315
0.050706
0.784212
0.784212
0.746183
0.678191
0.665514
0.648804
0
0.003527
0.242702
5,241
117
108
44.794872
0.871
0.343064
0
0.492754
0
0
0.194794
0.139514
0
0
0
0
0
1
0.086957
false
0
0.028986
0.014493
0.231884
0.014493
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
6ca63af1b32e740a95d7a4e98866c5cef928183d
319
py
Python
settings.py
fiatjaf/jekmentions
b0073b69ee7599819b36aca1b8a5f2d464f612ca
[ "MIT" ]
14
2015-05-19T11:01:36.000Z
2021-07-14T13:34:10.000Z
settings.py
fiatjaf/jekmentions
b0073b69ee7599819b36aca1b8a5f2d464f612ca
[ "MIT" ]
4
2015-07-12T12:56:53.000Z
2016-02-19T06:41:44.000Z
settings.py
fiatjaf/jekmentions
b0073b69ee7599819b36aca1b8a5f2d464f612ca
[ "MIT" ]
null
null
null
import os DEBUG = os.getenv('DEBUG') in ['True', 'true', '1', 'yes'] SECRET_KEY = os.getenv('SECRET_KEY') or 'asdbaskdb' GITHUB_APP_ID = os.getenv('GITHUB_APP_ID') GITHUB_APP_SECRET = os.getenv('GITHUB_APP_SECRET') GITHUB_APP_STATE = os.getenv('GITHUB_APP_STATE') or 'banana' REDIS_URL = os.getenv('REDISCLOUD_URL')
29
60
0.733542
51
319
4.27451
0.392157
0.220183
0.192661
0.233945
0
0
0
0
0
0
0
0.003484
0.100313
319
10
61
31.9
0.756098
0
0
0
0
0
0.319749
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
6cb26f6831e381e59a24a8478f32946e876a548c
372
py
Python
nonbonded/backend/api/dev/api.py
SimonBoothroyd/nonbonded
3efbb7d943d936b47248975f9ad0d8a006ea8684
[ "MIT" ]
5
2020-05-11T18:25:00.000Z
2022-01-27T10:55:09.000Z
nonbonded/backend/api/dev/api.py
SimonBoothroyd/nonbonded
3efbb7d943d936b47248975f9ad0d8a006ea8684
[ "MIT" ]
88
2020-06-02T14:40:05.000Z
2022-03-02T09:20:39.000Z
nonbonded/backend/api/dev/api.py
SimonBoothroyd/nonbonded
3efbb7d943d936b47248975f9ad0d8a006ea8684
[ "MIT" ]
null
null
null
from fastapi import APIRouter from nonbonded.backend.api.dev.endpoints import datasets, plotly, projects api_router = APIRouter() api_router.include_router(projects.router, prefix="/projects", tags=["projects"]) api_router.include_router(datasets.router, prefix="/datasets", tags=["datasets"]) api_router.include_route...
41.333333
81
0.790323
47
372
6.106383
0.340426
0.125436
0.167247
0.229965
0
0
0
0
0
0
0
0
0.064516
372
8
82
46.5
0.824713
0
0
0
0
0
0.126344
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6cb3bdc3e7ea575347722c33b4f2fb409311e3cf
232
py
Python
class2/p22_ce.py
anlei2014/ML-code
4f501720ee94abc27534cf0aa7c30a8ecbf62398
[ "MIT" ]
null
null
null
class2/p22_ce.py
anlei2014/ML-code
4f501720ee94abc27534cf0aa7c30a8ecbf62398
[ "MIT" ]
null
null
null
class2/p22_ce.py
anlei2014/ML-code
4f501720ee94abc27534cf0aa7c30a8ecbf62398
[ "MIT" ]
null
null
null
import tensorflow as tf loss_ce1 = tf.losses.categorical_crossentropy([1, 0], [0.6, 0.4]) loss_ce2 = tf.losses.categorical_crossentropy([1, 0], [0.8, 0.2]) print("loss_ce1:", loss_ce1) print("loss_ce2:", loss_ce2) # 交叉熵损失函数
29
66
0.693966
39
232
3.923077
0.461538
0.137255
0.248366
0.405229
0.444444
0.444444
0.444444
0
0
0
0
0.089109
0.12931
232
8
67
29
0.668317
0.030172
0
0
0
0
0.082949
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6cb7136e2c0a5eb2d505e1d1a308226df7fe6104
161
py
Python
comments/urls.py
deniszgonjanin/docker12factor
e1de13a2c1e97e2e5b9aaa46f0c9c005fa1daa7d
[ "MIT" ]
2
2015-11-19T02:11:07.000Z
2020-05-24T18:35:38.000Z
comments/urls.py
deniszgonjanin/docker12factor
e1de13a2c1e97e2e5b9aaa46f0c9c005fa1daa7d
[ "MIT" ]
null
null
null
comments/urls.py
deniszgonjanin/docker12factor
e1de13a2c1e97e2e5b9aaa46f0c9c005fa1daa7d
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^/post/', views.post, name='post'), ]
20.125
45
0.627329
23
161
4.391304
0.521739
0.079208
0
0
0
0
0
0
0
0
0
0
0.167702
161
8
46
20.125
0.753731
0
0
0
0
0
0.111111
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
6cd08a2740ae7a239d29e4651d7a6ded9218c2c5
414
py
Python
construct/tests/test_text.py
MostAwesomeDude/construct
dad8ecaf5ce75c7a66cd995bfc137d1ad368e290
[ "MIT" ]
89
2015-01-01T03:27:45.000Z
2022-02-22T11:18:20.000Z
construct/tests/test_text.py
jesseward/construct
88536c57b5de4c94c7f6cf6b8355ab1a16755ed4
[ "MIT" ]
8
2016-08-23T13:06:25.000Z
2021-08-03T13:47:52.000Z
construct/tests/test_text.py
jesseward/construct
88536c57b5de4c94c7f6cf6b8355ab1a16755ed4
[ "MIT" ]
17
2015-03-17T16:24:18.000Z
2021-09-11T16:32:02.000Z
import unittest from construct.text import Whitespace from construct import RangeError class TestWhitespace(unittest.TestCase): def test_parse(self): self.assertEqual(Whitespace().parse(" \t\t "), None) def test_parse_required(self): self.assertRaises(RangeError, Whitespace(optional=False).p...
25.875
76
0.714976
48
414
6.083333
0.479167
0.071918
0.082192
0.19863
0
0
0
0
0
0
0
0
0.166667
414
15
77
27.6
0.846377
0
0
0
0
0
0.019324
0
0
0
0
0
0.3
1
0.3
false
0
0.3
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
6cfb305dc63bf71a8bd58f1c8a54d6f20e5b7d70
240
py
Python
tvdordrecht/swimtest/templatetags/to_unix_timestamp.py
allcaps/tvdordrecht.nl
a2ff1b5ade88378f1a72a7ab36d51965b06509b9
[ "MIT" ]
null
null
null
tvdordrecht/swimtest/templatetags/to_unix_timestamp.py
allcaps/tvdordrecht.nl
a2ff1b5ade88378f1a72a7ab36d51965b06509b9
[ "MIT" ]
1
2022-01-13T00:48:55.000Z
2022-01-13T00:48:55.000Z
tvdordrecht/swimtest/templatetags/to_unix_timestamp.py
allcaps/tvdordrecht.nl
a2ff1b5ade88378f1a72a7ab36d51965b06509b9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from datetime import datetime from django import template register = template.Library() @register.filter def to_unix_timestamp(value): return 10 #datetime.combine(datetime(1970, 1, 1), value).total_seconds()
20
76
0.7375
32
240
5.4375
0.71875
0
0
0
0
0
0
0
0
0
0
0.043478
0.1375
240
11
77
21.818182
0.797101
0.341667
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
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
0
0
0
1
1
1
0
0
3
9f081f33fd7922ca3ce9e99c9b3efd8fc89f17ae
194
py
Python
meiduo_mall/meiduo_mall/apps/oauth/urls.py
TanJianjun/meiduo_mall
635e1318b02c660999e7260c2d27b36dab5b28a2
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/oauth/urls.py
TanJianjun/meiduo_mall
635e1318b02c660999e7260c2d27b36dab5b28a2
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/oauth/urls.py
TanJianjun/meiduo_mall
635e1318b02c660999e7260c2d27b36dab5b28a2
[ "MIT" ]
1
2022-01-01T06:34:23.000Z
2022-01-01T06:34:23.000Z
from django.conf.urls import url from . import views urlpatterns = [ url(r'^qq/authorization/$', views.OAuthQQURLView.as_view()), url(r'^qq/user/$', views.OAuthQQUserView.as_view()), ]
24.25
64
0.695876
26
194
5.115385
0.615385
0.06015
0.090226
0
0
0
0
0
0
0
0
0
0.128866
194
8
65
24.25
0.786982
0
0
0
0
0
0.148718
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
9f234e6fc0b32d014f16f134d4b879827ddaf527
69
py
Python
hseling-api-cat-and-kittens/main.py
hseling/hseling-repo-cat-and-kittens
df15bb4860ee9508a0a8434b1ad838ff0aef7f2d
[ "MIT" ]
null
null
null
hseling-api-cat-and-kittens/main.py
hseling/hseling-repo-cat-and-kittens
df15bb4860ee9508a0a8434b1ad838ff0aef7f2d
[ "MIT" ]
null
null
null
hseling-api-cat-and-kittens/main.py
hseling/hseling-repo-cat-and-kittens
df15bb4860ee9508a0a8434b1ad838ff0aef7f2d
[ "MIT" ]
1
2021-02-27T18:51:56.000Z
2021-02-27T18:51:56.000Z
from hseling_api_cat_and_kittens.main import ( app, celery )
13.8
46
0.724638
10
69
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.217391
69
4
47
17.25
0.851852
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
9f6ea1ceff724e0000ea58e8bf1f42ac460cc9aa
108
py
Python
hokusai/version.py
izakp/hokusai
a54778755c4b0db43a1e5773677c3e40b2ac0578
[ "MIT" ]
85
2017-01-05T11:50:37.000Z
2022-02-05T13:22:50.000Z
hokusai/version.py
izakp/hokusai
a54778755c4b0db43a1e5773677c3e40b2ac0578
[ "MIT" ]
192
2017-01-26T18:06:55.000Z
2022-03-29T16:28:36.000Z
hokusai/version.py
izakp/hokusai
a54778755c4b0db43a1e5773677c3e40b2ac0578
[ "MIT" ]
23
2016-11-29T17:18:02.000Z
2021-08-23T16:51:31.000Z
import os with open(os.path.join(os.path.dirname(__file__), "VERSION")) as f: VERSION = f.read().strip()
21.6
67
0.685185
18
108
3.888889
0.722222
0.171429
0
0
0
0
0
0
0
0
0
0
0.12037
108
4
68
27
0.736842
0
0
0
0
0
0.064815
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
9f737515e62c40db7c151d3f4cff6a4553b86a06
157
py
Python
rest/restapp/urls.py
piwnk/ecb-currencies-fetch
77a8630d0a54854d2b475ac05580ebb9ec4406c3
[ "MIT" ]
null
null
null
rest/restapp/urls.py
piwnk/ecb-currencies-fetch
77a8630d0a54854d2b475ac05580ebb9ec4406c3
[ "MIT" ]
null
null
null
rest/restapp/urls.py
piwnk/ecb-currencies-fetch
77a8630d0a54854d2b475ac05580ebb9ec4406c3
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path from restapp import views urlpatterns = [ path('api/currencies', views.get_currencies) ]
17.444444
48
0.770701
21
157
5.714286
0.619048
0.166667
0
0
0
0
0
0
0
0
0
0
0.152866
157
8
49
19.625
0.902256
0
0
0
0
0
0.089172
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
9f822d0d1d30b93a69e80e4cdd8037d51335e67d
695
py
Python
Python/empire/fs/mimes.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
Python/empire/fs/mimes.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
Python/empire/fs/mimes.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
from empire.core import * import magic from empire.system.os_util import OSUtil class Mimes: @staticmethod def get_mime_from_file(file: str) -> str: return Mimes._get_magic().from_file(file) @staticmethod def get_file_contents_type(file: str) -> str: return magic.from_fi...
26.730769
87
0.646043
90
695
4.755556
0.344444
0.084112
0.168224
0.102804
0.455607
0.264019
0.163551
0
0
0
0
0.003854
0.253237
695
25
88
27.8
0.820809
0
0
0.210526
0
0
0.043284
0.043284
0
0
0
0
0
1
0.210526
false
0
0.157895
0.157895
0.684211
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
9f828e29628842f1fdc84777f180f5e38d13126b
228
py
Python
components/espcoredump/corefile/soc_headers/esp32c3.py
iPlon-org/esp-idf
a5227db2a75102ca1a17860188c3c352a529a01b
[ "Apache-2.0" ]
8,747
2016-08-18T14:58:24.000Z
2022-03-31T20:58:55.000Z
components/espcoredump/corefile/soc_headers/esp32c3.py
iPlon-org/esp-idf
a5227db2a75102ca1a17860188c3c352a529a01b
[ "Apache-2.0" ]
8,603
2016-08-20T08:55:56.000Z
2022-03-31T23:04:01.000Z
components/espcoredump/corefile/soc_headers/esp32c3.py
iPlon-org/esp-idf
a5227db2a75102ca1a17860188c3c352a529a01b
[ "Apache-2.0" ]
6,380
2016-08-18T18:17:00.000Z
2022-03-31T22:25:57.000Z
SOC_IRAM_LOW = 0x4037c000 SOC_IRAM_HIGH = 0x403e0000 SOC_DRAM_LOW = 0x3fc80000 SOC_DRAM_HIGH = 0x3fce0000 SOC_RTC_DRAM_LOW = 0x50000000 SOC_RTC_DRAM_HIGH = 0x50002000 SOC_RTC_DATA_LOW = 0x50000000 SOC_RTC_DATA_HIGH = 0x50002000
25.333333
30
0.859649
36
228
4.888889
0.361111
0.136364
0.113636
0.215909
0
0
0
0
0
0
0
0.318627
0.105263
228
8
31
28.5
0.544118
0
0
0
0
0
0
0
0
0
0.350877
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
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
9fa5c6dfe738963a4b64e78da5889457c0ae972b
438
py
Python
qlib/utils/exceptions.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
1
2021-12-14T13:48:38.000Z
2021-12-14T13:48:38.000Z
qlib/utils/exceptions.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
null
null
null
qlib/utils/exceptions.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
1
2022-03-22T06:37:38.000Z
2022-03-22T06:37:38.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # Base exception class class QlibException(Exception): pass class RecorderInitializationError(QlibException): """Error type for re-initialization when starting an experiment""" class LoadObjectError(QlibException): """Error type ...
21.9
70
0.757991
46
438
7.217391
0.717391
0.108434
0.13253
0.150602
0
0
0
0
0
0
0
0
0.155251
438
19
71
23.052632
0.897297
0.515982
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
9fc9e94ff2bc32c77eb9b7c4153def1c2dfc646d
510
py
Python
controlwhitespaces.py
serhii73/PyTricks
cae22a0960a7bf9a39c7fb3227e283c3b86bd05b
[ "MIT" ]
3,271
2015-03-19T11:27:39.000Z
2022-03-19T03:00:37.000Z
controlwhitespaces.py
serhii73/PyTricks
cae22a0960a7bf9a39c7fb3227e283c3b86bd05b
[ "MIT" ]
78
2015-03-19T09:45:09.000Z
2020-12-24T08:47:15.000Z
controlwhitespaces.py
serhii73/PyTricks
cae22a0960a7bf9a39c7fb3227e283c3b86bd05b
[ "MIT" ]
531
2015-03-19T11:12:52.000Z
2022-03-23T15:07:07.000Z
#! /usr/bin/env python3 """control the whitespaces in string""" s = 'The Little Price' # justify string to be at least width wide # by adding whitespaces width = 20 s1 = s.ljust(width) s2 = s.rjust(width) s3 = s.center(width) print(s1) # 'The Little Price ' print(s2) # ' The Little Price' print(s3) # ' T...
25.5
42
0.658824
78
510
4.307692
0.448718
0.1875
0.291667
0.22619
0.1875
0
0
0
0
0
0
0.02963
0.205882
510
19
43
26.842105
0.8
0.568627
0
0
0
0
0.078049
0
0
0
0
0
0
1
0
false
0
0
0
0
0.545455
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
4c9c942e19f27ee4ae3f01bddb329c79d466443f
453
py
Python
fixtures/uri.py
fredbi/uri
3dcfdacbaaf3aeab42eefc96820857792fb55a1f
[ "MIT" ]
null
null
null
fixtures/uri.py
fredbi/uri
3dcfdacbaaf3aeab42eefc96820857792fb55a1f
[ "MIT" ]
2
2018-12-27T13:11:28.000Z
2021-01-17T23:14:59.000Z
fixtures/uri.py
fredbi/uri
3dcfdacbaaf3aeab42eefc96820857792fb55a1f
[ "MIT" ]
null
null
null
#! /usr/bin/python from rfc3986 import urlparse, uri_reference #uri = urlparse('oasis:names:specification:docbook:dtd:xml:4.1.2') #uri = urlparse('http://httpbin.org/get?utf8=\xe2\x98\x83') #uri = urlparse('mailto:user@domain.com') uri = urlparse('mailto://user@domain.com/abc#a?b') print uri uri = uri_reference('//abc#...
28.3125
66
0.719647
73
453
4.39726
0.506849
0.149533
0.137072
0.174455
0.504673
0.361371
0.174455
0.174455
0
0
0
0.031553
0.090508
453
15
67
30.2
0.747573
0.397351
0
0.454545
0
0
0.208178
0.118959
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.454545
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
4ca0b015b120b3e9b031fd70dbc34b94c32b0a57
305
py
Python
scripts/quest/q32632s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/quest/q32632s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/quest/q32632s.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# [Grand Athenaeum] sm.removeEscapeButton() sm.flipDialoguePlayerAsSpeaker() sm.sendNext("Supposedly the White Mage was last seen in Ellin Forest. If that's true, there must be evidence.") sm.sendSay("Ephenia the Fairy Queen's dwelling is nearby. I'll see if she knows anything.") sm.startQuest(parentID)
43.571429
111
0.783607
46
305
5.195652
0.847826
0
0
0
0
0
0
0
0
0
0
0
0.118033
305
7
112
43.571429
0.888476
0.055738
0
0
0
0.2
0.602787
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4cb85e33bbbd94bef3f9a0adc8aec972d563ee4a
1,578
py
Python
utils/reference.py
KayTwenty/9Ball-Discord-Bot
b616ba9d6ce19c91f926bbbd3ae4bef08216db8b
[ "MIT" ]
null
null
null
utils/reference.py
KayTwenty/9Ball-Discord-Bot
b616ba9d6ce19c91f926bbbd3ae4bef08216db8b
[ "MIT" ]
null
null
null
utils/reference.py
KayTwenty/9Ball-Discord-Bot
b616ba9d6ce19c91f926bbbd3ae4bef08216db8b
[ "MIT" ]
null
null
null
# reference.py # This script is for image references cookieurl = ["https://media1.tenor.com/images/45fe45f75ec523c2abf4e75ca2ac2fe2/tenor.gif?itemid=11797931", "https://media1.tenor.com/images/de6a49b999216fbda779cd27a24919c3/tenor.gif?itemid=19073253"] cookiesurl = ["https://media1.tenor.com/images/30c8c...
65.75
143
0.787072
159
1,578
7.811321
0.352201
0.115137
0.167472
0.198873
0.261675
0
0
0
0
0
0
0.266438
0.074778
1,578
24
144
65.75
0.584247
0.030418
0
0
0
0.071429
0.84555
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
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
4ccf88e0d8d3de53d0bbe3317334c6d153b113f1
2,256
py
Python
analisetexto.py
AleTavares/pyAnaliseTexto
0d815a398a85ebae707dcbc8ecaf30b9392afd12
[ "Apache-2.0" ]
null
null
null
analisetexto.py
AleTavares/pyAnaliseTexto
0d815a398a85ebae707dcbc8ecaf30b9392afd12
[ "Apache-2.0" ]
1
2020-12-15T22:11:32.000Z
2020-12-15T22:11:32.000Z
analisetexto.py
AleTavares/pyAnaliseTexto
0d815a398a85ebae707dcbc8ecaf30b9392afd12
[ "Apache-2.0" ]
1
2021-06-19T14:36:28.000Z
2021-06-19T14:36:28.000Z
# -*- coding: utf-8 -*- """analiseTexto.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1ZAjXXhVXIFhXu3ni0M_rj5aIMyrCqxR4 # Analise de Texto ---- **Importando Biliotecas** """ import requests import string """**Importando Texto para tratamento...
23.747368
105
0.727394
289
2,256
5.643599
0.519031
0.030656
0.04905
0.023299
0.109136
0.071122
0.071122
0.071122
0.071122
0.071122
0
0.017215
0.124557
2,256
94
106
24
0.807595
0.009309
0
0
1
0
0.081157
0
0
0
0
0.010638
0
0
null
null
0
0.2
null
null
0.075
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
1
0
1
0
0
0
0
0
0
0
0
3
4cda4fc639252b0b8992b64b6f94c1f43d3fb33d
556
py
Python
environment/environment_template.py
Tony-Tan/Reinforcement_Leanring_An_Introduction
285b93b0108bb3401623149129fad4ec863db0d5
[ "MIT" ]
5
2020-11-09T11:40:10.000Z
2021-06-10T12:06:12.000Z
environment/environment_template.py
Tony-Tan/Reinforcement_Leanring_An_Introduction
285b93b0108bb3401623149129fad4ec863db0d5
[ "MIT" ]
1
2020-11-10T02:38:06.000Z
2020-11-10T10:49:44.000Z
environment/environment_template.py
Tony-Tan/Reinforcement_Leanring_An_Introduction
285b93b0108bb3401623149129fad4ec863db0d5
[ "MIT" ]
null
null
null
# this module is the template of all environment in this project # some basic and common features are listed in this class class ENVError(Exception): def __init__(self, value_): self.__value = value_ def __str__(self): print('Environment error occur: ' + self.__value) class ENV: def __ini...
27.8
80
0.68705
75
556
4.853333
0.52
0.074176
0.06044
0.10989
0.181319
0.181319
0.181319
0
0
0
0
0
0.241007
556
19
81
29.263158
0.862559
0.21223
0
0
0
0
0.303448
0
0
0
0
0
0
1
0.416667
false
0.083333
0
0
0.583333
0.083333
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
4cdc062ad97730fa522747787ba3a792aad830e0
146
py
Python
PythonExercicios/ex051.py
marcoantonio97/Curso-de-Python
b99c6c75e2b845086203b84a71a4013c0658dc44
[ "MIT" ]
null
null
null
PythonExercicios/ex051.py
marcoantonio97/Curso-de-Python
b99c6c75e2b845086203b84a71a4013c0658dc44
[ "MIT" ]
null
null
null
PythonExercicios/ex051.py
marcoantonio97/Curso-de-Python
b99c6c75e2b845086203b84a71a4013c0658dc44
[ "MIT" ]
null
null
null
p = int(input('Primeiro termo: ')) r = int(input('Razão: ')) d = p + (10 - 1) * r for c in range(p, d + r, r): print('{} '.format(c), end='')
24.333333
34
0.493151
26
146
2.769231
0.653846
0.222222
0
0
0
0
0
0
0
0
0
0.026549
0.226027
146
5
35
29.2
0.610619
0
0
0
0
0
0.178082
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4cf5536c3536f7f9d167ef294ba854f0bd86fe7b
1,392
py
Python
park/spaces/powerset.py
utkarsh5k/park
e7eba74f532204564df42a8e82a65ed025ce3b30
[ "MIT" ]
180
2019-04-30T05:50:32.000Z
2022-03-28T01:32:07.000Z
park/spaces/powerset.py
utkarsh5k/park
e7eba74f532204564df42a8e82a65ed025ce3b30
[ "MIT" ]
21
2019-05-03T17:42:54.000Z
2022-01-25T19:31:42.000Z
park/spaces/powerset.py
utkarsh5k/park
e7eba74f532204564df42a8e82a65ed025ce3b30
[ "MIT" ]
42
2019-05-01T15:15:19.000Z
2021-11-19T05:27:09.000Z
import numpy as np from park import core from park.spaces.rng import np_random class PowerSet(core.Space): """ The element of this space is an element in the power set of the given set. The space can change its size during execution (e.g., a node being added into the graph, an edge being deleted from a...
30.26087
78
0.594828
211
1,392
3.838863
0.417062
0.069136
0.02716
0.034568
0.051852
0.051852
0
0
0
0
0
0.001059
0.321839
1,392
45
79
30.933333
0.856992
0.308908
0
0.074074
0
0
0.003315
0
0
0
0
0.022222
0
1
0.222222
false
0
0.111111
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
98060dfc456c6d0afe00fb081fb70b46376f0acd
178
py
Python
bviewer/api/common.py
b7w/bviewer
59d5baeeeffd43d69587228ebc5cce1811dc9f63
[ "MIT" ]
null
null
null
bviewer/api/common.py
b7w/bviewer
59d5baeeeffd43d69587228ebc5cce1811dc9f63
[ "MIT" ]
3
2019-11-20T19:22:55.000Z
2019-11-20T19:22:55.000Z
bviewer/api/common.py
b7w/bviewer
59d5baeeeffd43d69587228ebc5cce1811dc9f63
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from rest_framework.pagination import PageNumberPagination class StandardPagination(PageNumberPagination): page_size = 256 max_page_size = 2048
22.25
58
0.764045
19
178
6.947368
0.842105
0.121212
0
0
0
0
0
0
0
0
0
0.05298
0.151685
178
7
59
25.428571
0.821192
0.117978
0
0
0
0
0
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
e258534c6a96aea9068f5835b6ab697587bc32c7
11,292
py
Python
coh-metrix_2/sihyou_soukan.py
Lee-guccii/ExtensiveReading_YL_Estimation
89e3d4aacdc6e7d812b8cedc24f37e1f173087bc
[ "MIT" ]
null
null
null
coh-metrix_2/sihyou_soukan.py
Lee-guccii/ExtensiveReading_YL_Estimation
89e3d4aacdc6e7d812b8cedc24f37e1f173087bc
[ "MIT" ]
null
null
null
coh-metrix_2/sihyou_soukan.py
Lee-guccii/ExtensiveReading_YL_Estimation
89e3d4aacdc6e7d812b8cedc24f37e1f173087bc
[ "MIT" ]
null
null
null
import nltk import numpy as np import re import copy from scipy import stats from scipy.stats import spearmanr #テキストの使いやすさ主成分レベル tukaiyasusa = [-0.5236145389792606, -0.4655359338060707, -0.5934661265244124, -0.5325752208797596, -0.544835027673452, -0.473649285483764, -0.4855252715282002, -0.5332567216259921, -0.5...
93.322314
1,370
0.793482
1,185
11,292
7.512236
0.514768
0.010784
0.007863
0.003145
0.029881
0.018647
0.01348
0.01348
0.01348
0.01348
0
0.734248
0.096263
11,292
121
1,371
93.322314
0.137874
0.029667
0
0.107143
0
0
0.019845
0
0
0
0
0
0
1
0
false
0
0.107143
0
0.107143
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e25c8d67c59d5faff0ebd420464955bffe2261b5
369
py
Python
mowgli_etl/loader/json/json_path_loader.py
tetherless-world/mowgli
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
4
2021-01-15T15:36:23.000Z
2021-09-01T06:52:05.000Z
mowgli_etl/loader/json/json_path_loader.py
tetherless-world/mowgli
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
63
2020-05-04T13:48:04.000Z
2020-06-06T02:32:58.000Z
mowgli_etl/loader/json/json_path_loader.py
tetherless-world/mowgli-etl
28c19eba41e03e053ae4addff56a313d926e18d7
[ "MIT" ]
null
null
null
from mowgli_etl.loader._kg_node_loader import _KgNodeLoader from mowgli_etl.loader._kg_path_loader import _KgPathLoader from mowgli_etl.loader.json._json_loader import _JsonLoader class JsonPathLoader(_KgPathLoader, _JsonLoader): _JSON_FILE_NAME = "paths.json" close = _JsonLoader.close load_kg_path = _Js...
30.75
59
0.818428
48
369
5.75
0.4375
0.108696
0.141304
0.206522
0.152174
0
0
0
0
0
0
0
0.124661
369
11
60
33.545455
0.854489
0
0
0
0
0
0.0271
0
0
0
0
0
0
1
0
false
0
0.375
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e278bbb784466f587c6d7815d11f709e31aad087
50
py
Python
binder/binder/__init__.py
jtompkins/kermes
c59fe890759e0ce67bcf127870a43c57b477c695
[ "MIT" ]
null
null
null
binder/binder/__init__.py
jtompkins/kermes
c59fe890759e0ce67bcf127870a43c57b477c695
[ "MIT" ]
null
null
null
binder/binder/__init__.py
jtompkins/kermes
c59fe890759e0ce67bcf127870a43c57b477c695
[ "MIT" ]
null
null
null
from .binder import Binder __version__ = '0.1.0'
12.5
26
0.72
8
50
4
0.75
0
0
0
0
0
0
0
0
0
0
0.071429
0.16
50
3
27
16.666667
0.690476
0
0
0
0
0
0.1
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
e2b694c8849f27ad000ace6e00a88eddd1c495be
71
py
Python
annxious-callback/annxious_callback/__init__.py
vlizanae/annxious-bot
5ba4b02fb2dc6f51d355cc7ff6e1f37cb0934f28
[ "MIT" ]
1
2018-10-26T03:07:33.000Z
2018-10-26T03:07:33.000Z
annxious-callback/annxious_callback/__init__.py
vlizanae/annxious-bot
5ba4b02fb2dc6f51d355cc7ff6e1f37cb0934f28
[ "MIT" ]
null
null
null
annxious-callback/annxious_callback/__init__.py
vlizanae/annxious-bot
5ba4b02fb2dc6f51d355cc7ff6e1f37cb0934f28
[ "MIT" ]
null
null
null
name = 'annxious-callback' from .callback import ANNxiousRemoteMonitor
23.666667
43
0.830986
7
71
8.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.098592
71
3
43
23.666667
0.921875
0
0
0
0
0
0.236111
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
2c38c065f448a4bd8d6621d7ed96b739b5e57fad
251
py
Python
V2RaycSpider1225/src/services/cluster/nest/__init__.py
winkxx/V2RayCloudSpider
de1c87a0d823ba4c9a905c5ff4fdf70911b05332
[ "MIT" ]
1
2021-12-10T14:27:44.000Z
2021-12-10T14:27:44.000Z
V2RaycSpider1225/src/services/cluster/nest/__init__.py
kaimrdzt/V2RayCloudSpider
de1c87a0d823ba4c9a905c5ff4fdf70911b05332
[ "MIT" ]
null
null
null
V2RaycSpider1225/src/services/cluster/nest/__init__.py
kaimrdzt/V2RayCloudSpider
de1c87a0d823ba4c9a905c5ff4fdf70911b05332
[ "MIT" ]
1
2021-12-10T14:27:48.000Z
2021-12-10T14:27:48.000Z
# -*- coding: utf-8 -*- # Time : 2021/12/28 18:56 # Author : QIN2DIM # Github : https://github.com/QIN2DIM # Description: from .sspanel import LionCubOfCintra from .v2board import LaraDorren __all__ = ['LionCubOfCintra', 'LaraDorren']
22.818182
43
0.669323
28
251
5.857143
0.785714
0
0
0
0
0
0
0
0
0
0
0.078818
0.191235
251
10
44
25.1
0.729064
0.498008
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2c6cd0eaabbf5da63113d7088a06f4125208ae1d
14,953
py
Python
utils.py
GastonLab/ddb-mongodb
8997d0267053823f8f7b0af106d4ce97c6202e04
[ "MIT" ]
null
null
null
utils.py
GastonLab/ddb-mongodb
8997d0267053823f8f7b0af106d4ce97c6202e04
[ "MIT" ]
null
null
null
utils.py
GastonLab/ddb-mongodb
8997d0267053823f8f7b0af106d4ce97c6202e04
[ "MIT" ]
null
null
null
import sys import geneimpacts from pybedtools import BedTool def get_effects(variant, annotation_keys): effects = [] effects += [geneimpacts.SnpEff(e, annotation_keys) for e in variant.INFO.get("ANN").split(",")] return effects def get_top_impact(effects): top_impact = geneimpacts.Effect.top_severi...
43.594752
118
0.535745
1,676
14,953
4.607399
0.101432
0.071225
0.06993
0.09324
0.724165
0.717301
0.702279
0.681689
0.676768
0.672624
0
0.000101
0.340266
14,953
342
119
43.722222
0.782666
0.005149
0
0.691406
0
0.058594
0.205876
0.113293
0
0
0
0
0
1
0.042969
false
0
0.011719
0
0.082031
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2c88a78228fb651b8082c10d9ac728a1bd501530
118
py
Python
tests/test_oops.py
sommersoft/physaCI-web
74122dd0f0efed95217af1a306497fa6fdb8dd12
[ "MIT" ]
null
null
null
tests/test_oops.py
sommersoft/physaCI-web
74122dd0f0efed95217af1a306497fa6fdb8dd12
[ "MIT" ]
1
2020-06-16T03:19:07.000Z
2020-06-16T03:19:07.000Z
tests/test_oops.py
sommersoft/physaCI-web
74122dd0f0efed95217af1a306497fa6fdb8dd12
[ "MIT" ]
1
2020-05-18T04:56:56.000Z
2020-05-18T04:56:56.000Z
def test_oops(client): url = f'/fake-path' response = client.get(url) assert response.status_code == 404
19.666667
38
0.661017
17
118
4.470588
0.823529
0
0
0
0
0
0
0
0
0
0
0.032258
0.211864
118
6
38
19.666667
0.784946
0
0
0
0
0
0.084034
0
0
0
0
0
0.25
1
0.25
false
0
0
0
0.25
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
2c8caa2785128f7707dc41dd2df1c164b2b8aaed
224
py
Python
examples/file_stream.py
Hugo-ffl/pyais
32b1addfef558c899c9fa58031b0f9ebc822b62f
[ "MIT" ]
51
2019-10-07T11:26:56.000Z
2022-03-16T10:45:15.000Z
examples/file_stream.py
KingKongOne/pyais
ddee5cc4eb8f01f494c82f7b14bdd55aa393af47
[ "MIT" ]
57
2019-10-14T07:50:00.000Z
2022-03-28T06:52:27.000Z
examples/file_stream.py
KingKongOne/pyais
ddee5cc4eb8f01f494c82f7b14bdd55aa393af47
[ "MIT" ]
31
2019-10-13T17:17:56.000Z
2022-03-26T16:46:54.000Z
from pyais.stream import FileReaderStream filename = "sample.ais" for msg in FileReaderStream(filename): decoded_message = msg.decode() ais_content = decoded_message.content # Do something with the ais message
24.888889
41
0.763393
28
224
6
0.678571
0.285714
0
0
0
0
0
0
0
0
0
0
0.169643
224
8
42
28
0.903226
0.147321
0
0
0
0
0.05291
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2ca458140a34c68446a4208be507884cf3a26b87
5,891
py
Python
pystrafe/tests/test_damage.py
Matherunner/pystrafe
102533e7f011c1d6167990bb86653c18a5ae80b0
[ "MIT" ]
2
2020-08-03T15:21:42.000Z
2022-02-13T15:35:28.000Z
pystrafe/tests/test_damage.py
Matherunner/pystrafe
102533e7f011c1d6167990bb86653c18a5ae80b0
[ "MIT" ]
null
null
null
pystrafe/tests/test_damage.py
Matherunner/pystrafe
102533e7f011c1d6167990bb86653c18a5ae80b0
[ "MIT" ]
null
null
null
import math import itertools import numpy as np from pytest import approx, raises from pystrafe import damage def test_hpap_damage(): assert damage.hpap_damage(100, 100, 100) == (80, 60) assert damage.hpap_damage(100, 100, 300) == (0, 0) assert damage.hpap_damage(100, 0, 0.99999) == (100, 0) assert dam...
43.962687
92
0.581905
957
5,891
3.411703
0.107628
0.205819
0.138132
0.171822
0.743032
0.691577
0.472894
0.28147
0.200613
0.183461
0
0.134548
0.226617
5,891
133
93
44.293233
0.58209
0
0
0.101695
0
0
0.012731
0
0
0
0
0
0.584746
1
0.118644
false
0
0.042373
0
0.161017
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
2ca84efd33409f8938854172fb79aeda8c734881
349
py
Python
chapter_3/mystack.py
frbaroni/ctci
ff2f308aae76ab0e3dde09c7f88f37b86073cb38
[ "MIT" ]
null
null
null
chapter_3/mystack.py
frbaroni/ctci
ff2f308aae76ab0e3dde09c7f88f37b86073cb38
[ "MIT" ]
null
null
null
chapter_3/mystack.py
frbaroni/ctci
ff2f308aae76ab0e3dde09c7f88f37b86073cb38
[ "MIT" ]
null
null
null
class Stack: def __init__(self): self.data = [] def push(self, value): self.data.append(value) def pop(self): return self.data.pop() def peek(self): if len(self.data) > 0: return self.data[-1:][0] else: return None def size(self): ...
18.368421
36
0.510029
45
349
3.866667
0.422222
0.275862
0.16092
0
0
0
0
0
0
0
0
0.013453
0.361032
349
18
37
19.388889
0.766816
0
0
0
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0
0.142857
0.714286
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
1
0
0
0
3
2cb1350f9262ed0e128e7d34354411c4508a47e3
258
py
Python
dags/libs/github/test.py
shanchenqi/airflow-jobs
5fa4a578edd595610306ff58ebc4c31a99782f9d
[ "Apache-2.0" ]
null
null
null
dags/libs/github/test.py
shanchenqi/airflow-jobs
5fa4a578edd595610306ff58ebc4c31a99782f9d
[ "Apache-2.0" ]
null
null
null
dags/libs/github/test.py
shanchenqi/airflow-jobs
5fa4a578edd595610306ff58ebc4c31a99782f9d
[ "Apache-2.0" ]
null
null
null
import itertools import requests import time from opensearchpy import OpenSearch from ..util.base import github_headers from ..util.log import logger def test_github_headers(): logger.warning(github_headers) return "End load_github_profile-return"
21.5
43
0.810078
35
258
5.8
0.571429
0.192118
0
0
0
0
0
0
0
0
0
0
0.131783
258
11
44
23.454545
0.90625
0
0
0
0
0
0.116279
0.100775
0
0
0
0
0
1
0.111111
true
0
0.666667
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
2cbd95011d9c7a38886b52e8985f8139e32ae88a
511
py
Python
lambda-function-2/app.py
aveek22/aws-lambda-layer-test
e301bddedfc210a74d31de9faa3191563d1fa6c2
[ "MIT" ]
null
null
null
lambda-function-2/app.py
aveek22/aws-lambda-layer-test
e301bddedfc210a74d31de9faa3191563d1fa6c2
[ "MIT" ]
null
null
null
lambda-function-2/app.py
aveek22/aws-lambda-layer-test
e301bddedfc210a74d31de9faa3191563d1fa6c2
[ "MIT" ]
null
null
null
""" This is an AWS Lambda function to demonstrate the import of Lambda Layers """ # from lambdalayer import lambdalayer def main(event, context): """Handler method for the AWS Lambda Function.""" print(f"*** Lambda 2: Execution of AWS Lambda function starts. ***") print(f"*** Lambda 2: Trying to invoke ...
31.9375
77
0.669276
69
511
4.942029
0.449275
0.105572
0.199413
0.152493
0.307918
0.240469
0.240469
0.240469
0.240469
0
0
0.009709
0.193738
511
16
78
31.9375
0.817961
0.354207
0
0
0
0
0.671924
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.8
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
2cbe89f22b382b7b38d2c6beb71ebf193c2f2218
860
py
Python
angrysql/connections.py
angrysoft/angrySQL
d6a90656faeed6f2ac8d513cb1c9416bd782ead8
[ "Apache-2.0" ]
null
null
null
angrysql/connections.py
angrysoft/angrySQL
d6a90656faeed6f2ac8d513cb1c9416bd782ead8
[ "Apache-2.0" ]
null
null
null
angrysql/connections.py
angrysoft/angrySQL
d6a90656faeed6f2ac8d513cb1c9416bd782ead8
[ "Apache-2.0" ]
null
null
null
from urllib.parse import urlparse class Connection: def __new__(cls, url, echo=False): info = urlparse(url) if info.scheme == 'sqlite': path = info.path if info.hostname: path = info.hostname + info.path from .sqlite import SqliteConnection ...
28.666667
143
0.568605
91
860
5.32967
0.43956
0.049485
0
0
0
0
0
0
0
0
0
0
0.326744
860
30
144
28.666667
0.837651
0.023256
0
0.190476
0
0
0.015758
0
0
0
0
0
0
1
0.238095
false
0.238095
0.142857
0
0.52381
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
2cbeba299a427a51365f3112d14bcd00a822e37d
3,799
py
Python
tests/test_dict_generation.py
zeburek/cattrs
c1aea4cf3a74cc42c90bf4e8a1e79390a323d774
[ "MIT" ]
3
2019-12-13T23:54:38.000Z
2021-06-08T18:29:51.000Z
tests/test_dict_generation.py
zeburek/cattrs
c1aea4cf3a74cc42c90bf4e8a1e79390a323d774
[ "MIT" ]
null
null
null
tests/test_dict_generation.py
zeburek/cattrs
c1aea4cf3a74cc42c90bf4e8a1e79390a323d774
[ "MIT" ]
null
null
null
"""Tests for generated dict functions.""" from dataclasses import MISSING from hypothesis import assume, given from convclasses import Converter from convclasses.gen import make_dict_unstructure_fn, override from . import nested_classes, simple_classes @given(nested_classes | simple_classes()) def test_unmodified_...
26.943262
76
0.624638
480
3,799
4.708333
0.147917
0.058407
0.061947
0.04646
0.786726
0.780089
0.711062
0.637168
0.626991
0.584071
0
0
0.294814
3,799
140
77
27.135714
0.843598
0.0587
0
0.683168
1
0
0
0
0
0
0
0
0.108911
1
0.039604
false
0
0.049505
0
0.089109
0
0
0
0
null
0
0
0
0
1
1
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
2ccc39ab19f8c671652e0de4c711b917a8293955
737
py
Python
tests/beta_tests/test_endless_string.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/beta_tests/test_endless_string.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/beta_tests/test_endless_string.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.beta.endless_string import endlessString class EndlessStringTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(endlessString('xyz', -23, 6), 'yzxyzx') def test_equals_2(self): self.assertEqual(endlessString('xyz', 0, 4), 'xyzx') def test_equa...
32.043478
78
0.668928
73
737
6.616438
0.465753
0.072464
0.134576
0.331263
0.289855
0
0
0
0
0
0
0.129088
0.211669
737
22
79
33.5
0.702238
0
0
0
0
0
0.184532
0.135685
0
0
0
0
0.333333
1
0.333333
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e2c21fb95dd870724fa9eea8d89a2d23924f2ab6
381
py
Python
pypif_sdk/accessor.py
CitrineInformatics/pypif-sdk
2637b6bf4dec226df41bda640331cad741aa49f4
[ "Apache-2.0" ]
1
2020-05-01T23:57:31.000Z
2020-05-01T23:57:31.000Z
pypif_sdk/accessor.py
CitrineInformatics/pypif-sdk
2637b6bf4dec226df41bda640331cad741aa49f4
[ "Apache-2.0" ]
8
2017-09-12T20:36:05.000Z
2019-02-27T18:51:43.000Z
pypif_sdk/accessor.py
CitrineInformatics/pypif-sdk
2637b6bf4dec226df41bda640331cad741aa49f4
[ "Apache-2.0" ]
3
2017-09-12T20:34:31.000Z
2018-05-01T16:34:44.000Z
from warnings import warn def get_propety_by_name(pif, name): """Get a property by name""" warn("This method has been deprecated in favor of get_property_by_name") return next((x for x in pif.properties if x.name == name), None) def get_property_by_name(pif, name): """Get a property by name""" ret...
38.1
76
0.700787
67
381
3.850746
0.402985
0.116279
0.217054
0.100775
0.643411
0.643411
0.643411
0.643411
0.643411
0.457364
0
0
0.188976
381
10
77
38.1
0.834951
0.11811
0
0.333333
0
0
0.196319
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.833333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e2d9e0d90e40191b7a4515d7700b4b53f70973ac
750
py
Python
Projects/Languages/Python/Labs/Unit 01/Stars & Stripes/StarsAmdStripes.py
mikozera/Computer-Science
52d2a317d95e2df2a82f54e837e43b6e6873a400
[ "MIT" ]
null
null
null
Projects/Languages/Python/Labs/Unit 01/Stars & Stripes/StarsAmdStripes.py
mikozera/Computer-Science
52d2a317d95e2df2a82f54e837e43b6e6873a400
[ "MIT" ]
3
2020-05-01T01:36:59.000Z
2020-05-05T05:38:33.000Z
Projects/Languages/Python/Labs/Unit 01/Stars & Stripes/StarsAmdStripes.py
mikozera/Computer-Science
52d2a317d95e2df2a82f54e837e43b6e6873a400
[ "MIT" ]
1
2019-11-26T09:02:51.000Z
2019-11-26T09:02:51.000Z
class StarsAndStripes: def __init__(self): print("StarsAndStripes") def printTwentyStars(self): print("********************") def printTwentyDashes(self): print("--------------------\n") def printTwoBlankLines(self): print("\n\n") def printASmallBox(self): self.printTwentyDashes() self...
16.666667
35
0.685333
61
750
8.360656
0.262295
0.070588
0.147059
0.241176
0.282353
0.282353
0.282353
0.282353
0.282353
0.282353
0
0
0.150667
750
44
36
17.045455
0.800628
0.037333
0
0.423077
0
0
0.08484
0.030598
0
0
0
0
0
0
null
null
0
0
null
null
0.846154
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
e2ea1f46882cadf85c0bbdeb38d3c488e3a9714d
138
py
Python
nablapps/core/urls.py
pettaroni/nablaweb
5e610698a276884b9cd779a718dfdee641713636
[ "MIT" ]
null
null
null
nablapps/core/urls.py
pettaroni/nablaweb
5e610698a276884b9cd779a718dfdee641713636
[ "MIT" ]
null
null
null
nablapps/core/urls.py
pettaroni/nablaweb
5e610698a276884b9cd779a718dfdee641713636
[ "MIT" ]
null
null
null
from django.conf.urls import url from .views import AboutView urlpatterns = [ url(r'^$', AboutView.as_view(), name='om-nabla'), ]
17.25
53
0.673913
19
138
4.842105
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.166667
138
7
54
19.714286
0.8
0
0
0
0
0
0.072993
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