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
16faddfb28cd38b720ab419f782fb4bb739a5d66
522
py
Python
master/Challenges-master/Challenges-master/level-1/swapCase/swap_case.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/Challenges-master/Challenges-master/level-1/swapCase/swap_case.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/Challenges-master/Challenges-master/level-1/swapCase/swap_case.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
import sys def main(input_file): with open(input_file, 'r') as data: for line in data: print swap_case(line.strip()) def swap_case(string): output = '' for char in string: if char.islower(): output += char.upper() else: output += char.lower() ...
23.727273
73
0.542146
67
522
4.044776
0.641791
0.066421
0
0
0
0
0
0
0
0
0
0.005848
0.344828
522
22
73
23.727273
0.78655
0
0
0
0
0
0.107075
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.111111
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
1
0
0
0
0
0
0
0
0
1
e502c21ecaf1a35af1220f048f0c91d74bca2465
716
py
Python
test_maximum_rate.py
saydulk/blurt
0ce647c8260fac55ddafd994fdef1bfed05553fa
[ "MIT" ]
5
2015-02-20T14:18:28.000Z
2022-03-18T13:35:20.000Z
test_maximum_rate.py
saydulk/blurt
0ce647c8260fac55ddafd994fdef1bfed05553fa
[ "MIT" ]
null
null
null
test_maximum_rate.py
saydulk/blurt
0ce647c8260fac55ddafd994fdef1bfed05553fa
[ "MIT" ]
9
2017-04-27T07:55:11.000Z
2019-04-19T10:16:03.000Z
import time rate = 0 length = 1500 input_octets = np.random.random_integers(0,255,length) output = wifi.encode(input_octets, rate) N = output.size trials = 10 t0 = time.time(); [(None, wifi.encode(input_octets, rate))[0] for i in xrange(trials)]; t1 = time.time() samples_encoded = trials * N time_elapsed_encode = t1 - ...
37.684211
104
0.76676
114
716
4.570175
0.333333
0.06142
0.099808
0.080614
0.360845
0.138196
0.138196
0.138196
0.138196
0.138196
0
0.033228
0.117318
716
18
105
39.777778
0.791139
0
0
0
0
0
0.026536
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.055556
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
1
0
0
0
0
0
0
0
0
1
e50927dcc0a07e35b56a084b8f3a7711877da2df
709
py
Python
user/managers.py
TheKiddos/StaRat
33807d73276563f636b430e1bbfcb65b645869f7
[ "MIT" ]
1
2021-05-18T16:33:10.000Z
2021-05-18T16:33:10.000Z
user/managers.py
TheKiddos/StaRat
33807d73276563f636b430e1bbfcb65b645869f7
[ "MIT" ]
3
2021-05-18T16:02:32.000Z
2021-05-21T15:20:12.000Z
user/managers.py
TheKiddos/StaRat
33807d73276563f636b430e1bbfcb65b645869f7
[ "MIT" ]
1
2021-09-12T22:56:09.000Z
2021-09-12T22:56:09.000Z
from django.contrib.auth.base_user import BaseUserManager class UserManager(BaseUserManager): def create_user(self, email, password=None, **kwargs): """Creates and saves a new user""" if not email: raise ValueError("User must have an email address") user = self.model(email=se...
27.269231
70
0.64598
88
709
5.090909
0.465909
0.053571
0.075893
0.071429
0.129464
0.129464
0.129464
0
0
0
0
0
0.255289
709
25
71
28.36
0.848485
0.081805
0
0.266667
0
0
0.048438
0
0
0
0
0
0
1
0.133333
false
0.266667
0.066667
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e51c14e745fedd0df8f350e0f7b5c53ec8f5aa86
490
py
Python
sha256cracker.py
deceptivecz/portfolio
599371316d409160dfb909eec4ab8f319cd4a857
[ "CC0-1.0" ]
null
null
null
sha256cracker.py
deceptivecz/portfolio
599371316d409160dfb909eec4ab8f319cd4a857
[ "CC0-1.0" ]
null
null
null
sha256cracker.py
deceptivecz/portfolio
599371316d409160dfb909eec4ab8f319cd4a857
[ "CC0-1.0" ]
null
null
null
import hashlib hash_input = input("Enter hash here : ").lower() wordlist = "fakeyou.txt" try: words = open(wordlist) except: print("Wordlist not found.") quit() def crack(hash_input): for word in words: hs = hashlib.sha256(word.encode('utf-8')).hexdigest() if str(hs) == hash_input: ...
21.304348
61
0.581633
60
490
4.683333
0.583333
0.128114
0.099644
0
0
0
0
0
0
0
0
0.011429
0.285714
490
23
62
21.304348
0.791429
0
0
0
0
0
0.156823
0
0
0
0
0
0
1
0.055556
false
0.055556
0.055556
0
0.222222
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e51dc72c2898645e8141b6afbd05171e8acddc82
254
py
Python
tests/conftest.py
sidhulabs/sidhulabs-py
f3b6cc6dbd12dce3179bf8b129cfc002bc366d83
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
sidhulabs/sidhulabs-py
f3b6cc6dbd12dce3179bf8b129cfc002bc366d83
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
sidhulabs/sidhulabs-py
f3b6cc6dbd12dce3179bf8b129cfc002bc366d83
[ "Apache-2.0" ]
null
null
null
import pytest from _pytest.logging import LogCaptureFixture from loguru import logger @pytest.fixture def caplog(caplog: LogCaptureFixture): handler_id = logger.add(caplog.handler, format="{message}") yield caplog logger.remove(handler_id)
23.090909
63
0.779528
31
254
6.290323
0.548387
0.092308
0
0
0
0
0
0
0
0
0
0
0.137795
254
10
64
25.4
0.890411
0
0
0
0
0
0.035433
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5
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
0
0
0
0
1
e5200286536ad84656aeba5eb97e6e15235d3ac9
266
py
Python
letras_sao_iguais.py
rodrigolins92/exercicios-diversos
c2ea729b7ea6d522d73ef228a5ab59d883ee1617
[ "Apache-2.0" ]
null
null
null
letras_sao_iguais.py
rodrigolins92/exercicios-diversos
c2ea729b7ea6d522d73ef228a5ab59d883ee1617
[ "Apache-2.0" ]
null
null
null
letras_sao_iguais.py
rodrigolins92/exercicios-diversos
c2ea729b7ea6d522d73ef228a5ab59d883ee1617
[ "Apache-2.0" ]
null
null
null
def SaoIguais(a, b, c): if (a == b) and (b == c): return print("São Iguais") else: return print("São diferentes") x1 = input("Primeira letra: ") x2 = input("Segunda letra: ") x3 = input("Terceira letra: ") resposta = SaoIguais(x1, x2, x3)
20.461538
38
0.578947
37
266
4.162162
0.594595
0.025974
0.181818
0
0
0
0
0
0
0
0
0.03
0.24812
266
12
39
22.166667
0.74
0
0
0
0
0
0.267925
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0.222222
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
0
0
0
0
1
e5208d7d2f1b0b65a1788483c086dc7e7cafd987
1,476
py
Python
core/callbacks.py
susemm/PyVin
acf0a605dc2dc04cf789451b6e5eaa06730be071
[ "Apache-2.0" ]
null
null
null
core/callbacks.py
susemm/PyVin
acf0a605dc2dc04cf789451b6e5eaa06730be071
[ "Apache-2.0" ]
null
null
null
core/callbacks.py
susemm/PyVin
acf0a605dc2dc04cf789451b6e5eaa06730be071
[ "Apache-2.0" ]
1
2018-09-19T13:36:05.000Z
2018-09-19T13:36:05.000Z
__author__ = 'vin@misday.com' class Callbacks(): def __init__(self): self.handler = {} def init(self, events): for event in events: self.handler[event] = self.callback def callback(self, *pros, **attrs): pass def bind(self, event, handler): i...
25.448276
120
0.476965
156
1,476
4.346154
0.307692
0.113569
0.094395
0.047198
0.070796
0.070796
0
0
0
0
0
0.034274
0.327913
1,476
58
121
25.448276
0.649194
0.056911
0
0.153846
0
0
0.05198
0
0
0
0
0
0
0
null
null
0.025641
0
null
null
0.153846
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
1
0
0
0
0
0
0
0
0
1
e5210ccfaeec3e50d71f79bf98707325f3ca0846
2,087
py
Python
http_requestor/core/models.py
mscam/http_requestor
53ee1728ca4b89db8b65cc5c44cb946437109f98
[ "MIT" ]
null
null
null
http_requestor/core/models.py
mscam/http_requestor
53ee1728ca4b89db8b65cc5c44cb946437109f98
[ "MIT" ]
null
null
null
http_requestor/core/models.py
mscam/http_requestor
53ee1728ca4b89db8b65cc5c44cb946437109f98
[ "MIT" ]
null
null
null
import sys from django.db import models from django.utils import timezone from django.utils.translation import ugettext_lazy as _ from django.core.exceptions import ValidationError from celery import states from celery.result import AsyncResult, allow_join_result from .fields import JSONField def validate_schedule_...
29.814286
94
0.666986
251
2,087
5.378486
0.378486
0.033333
0.04
0.020741
0.124444
0.059259
0.059259
0.059259
0.059259
0.059259
0
0.002471
0.224245
2,087
69
95
30.246377
0.831377
0
0
0.071429
0
0
0.103019
0.0115
0
0
0
0
0
1
0.071429
false
0
0.142857
0.035714
0.696429
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
0
0
1
0
0
1
e5311e28a045b6c6283968b16efc4be63f461ad5
467
py
Python
migrations/20211128_01_Mn7Ng-create-holdem-game-record-table.py
zw-g/Funny-Nation
bcb72e802e0ff46b4a409c5d51fc8b10e0987463
[ "MIT" ]
126
2022-01-15T02:29:07.000Z
2022-03-30T09:57:40.000Z
migrations/20211128_01_Mn7Ng-create-holdem-game-record-table.py
zw-g/Funny-Nation
bcb72e802e0ff46b4a409c5d51fc8b10e0987463
[ "MIT" ]
18
2022-01-11T22:24:35.000Z
2022-03-16T00:13:01.000Z
migrations/20211128_01_Mn7Ng-create-holdem-game-record-table.py
zw-g/Funny-Nation
bcb72e802e0ff46b4a409c5d51fc8b10e0987463
[ "MIT" ]
25
2022-01-22T15:06:27.000Z
2022-03-01T04:34:19.000Z
""" Create holdem game record table """ from yoyo import step __depends__ = {'20211109_01_xKblp-change-comments-on-black-jack-record'} steps = [ step("CREATE TABLE `holdemGameRecord` ( `userID` BIGINT NOT NULL , `moneyInvested` BIGINT NOT NULL , `status` INT NOT NULL COMMENT '0 represent in progress; 1 represent...
38.916667
316
0.723769
64
467
5.1875
0.71875
0.126506
0.11747
0
0
0
0
0
0
0
0
0.038265
0.1606
467
11
317
42.454545
0.808673
0.066381
0
0
0
0.2
0.836449
0.126168
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5314c7911a79dd8ef9e490454f3e0836d105f0e
4,332
py
Python
django/contrib/gis/geos/io.py
huicheese/Django-test3
ac11d2dce245b48392e52d1f4acfd5e7433b243e
[ "BSD-3-Clause" ]
2
2021-04-27T03:57:00.000Z
2021-06-18T09:39:58.000Z
django/contrib/gis/geos/io.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
null
null
null
django/contrib/gis/geos/io.py
joetyson/django
c3699190186561d5c216b2a77ecbfc487d42a734
[ "BSD-3-Clause" ]
2
2021-09-06T18:44:45.000Z
2022-02-24T04:10:10.000Z
""" Module that holds classes for performing I/O operations on GEOS geometry objects. Specifically, this has Python implementations of WKB/WKT reader and writer classes. """ from ctypes import byref, c_size_t from django.contrib.gis.geos.base import GEOSBase from django.contrib.gis.geos.error import GEOSException from...
34.935484
117
0.710757
612
4,332
4.820261
0.232026
0.037966
0.044068
0.033898
0.302034
0.172203
0.096271
0.067797
0
0
0
0.002894
0.202216
4,332
123
118
35.219512
0.850694
0.248153
0
0.075
0
0
0.127161
0
0
0
0
0
0
1
0.1875
false
0
0.075
0.0375
0.675
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
0
0
1
0
0
1
e53163569258a039c5e0befa80d490f6383c1550
1,025
py
Python
admin/urls.py
asifhaider/BookKeep
bc086ff806e7c336481aea9b2a23cd566c1f0cd7
[ "MIT" ]
1
2022-02-24T17:40:59.000Z
2022-02-24T17:40:59.000Z
admin/urls.py
asifhaider/BookKeep
bc086ff806e7c336481aea9b2a23cd566c1f0cd7
[ "MIT" ]
null
null
null
admin/urls.py
asifhaider/BookKeep
bc086ff806e7c336481aea9b2a23cd566c1f0cd7
[ "MIT" ]
null
null
null
from django.urls import path from admin import views urlpatterns = [ path('manage/', views.AdminPanel.as_view(), name = 'admin-panel'), path('manage/customer-list/', views.AdminCustomerListView.as_view(), name = 'admin-customer-list-view'), path('manage/book-list/', views.AdminBookListView.as_view(),...
60.294118
112
0.692683
129
1,025
5.426357
0.255814
0.085714
0.142857
0.192857
0
0
0
0
0
0
0
0
0.118049
1,025
16
113
64.0625
0.774336
0.049756
0
0
0
0
0.349372
0.141213
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5369d867fab9d9f67e3e0f81cb422f91072f688
406
py
Python
courses/migrations/0032_add_course_edx_key.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
32
2016-03-25T01:03:13.000Z
2022-01-15T19:35:42.000Z
courses/migrations/0032_add_course_edx_key.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
4,858
2016-03-03T13:48:30.000Z
2022-03-29T22:09:51.000Z
courses/migrations/0032_add_course_edx_key.py
umarmughal824/micromasters
ea92d3bcea9be4601150fc497302ddacc1161622
[ "BSD-3-Clause" ]
20
2016-08-18T22:07:44.000Z
2021-11-15T13:35:35.000Z
# Generated by Django 2.1.10 on 2019-08-15 18:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0031_electives_set_releated_name'), ] operations = [ migrations.AddField( model_name='course', name='edx...
21.368421
61
0.610837
46
406
5.23913
0.826087
0
0
0
0
0
0
0
0
0
0
0.07483
0.275862
406
18
62
22.555556
0.744898
0.1133
0
0
1
0
0.145251
0.089385
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e537ac56bd15a52e4657a2bf9377c24f70916f55
1,818
py
Python
tekis/board/migrations/0002_auto_20160221_1643.py
TKOaly/tkoaly-new-service
5a6ab1e44ea842923b3d7c6a86f07a0e155d4cef
[ "BSD-3-Clause" ]
null
null
null
tekis/board/migrations/0002_auto_20160221_1643.py
TKOaly/tkoaly-new-service
5a6ab1e44ea842923b3d7c6a86f07a0e155d4cef
[ "BSD-3-Clause" ]
8
2017-11-27T11:41:57.000Z
2021-09-07T23:51:11.000Z
tekis/board/migrations/0002_auto_20160221_1643.py
hylje/tekis
5dfb965dd6f199b37abf759248bc7d3e730ce241
[ "BSD-3-Clause" ]
1
2020-02-15T10:51:55.000Z
2020-02-15T10:51:55.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-02-21 14:43 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('board', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
41.318182
422
0.59571
186
1,818
5.682796
0.494624
0.083254
0.094607
0.109745
0.210028
0.166509
0
0
0
0
0
0.032
0.243674
1,818
43
423
42.27907
0.736727
0.036854
0
0.444444
1
0
0.303776
0.020595
0
0
0
0
0
1
0
false
0
0.055556
0
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e54531d0c0a74ffea7d67cf0bfa8fd82f42c4d42
395
py
Python
calliope_app/api/migrations/0010_auto_20190730_1726.py
jmorrisnrel/engage
250ecc24c0225d48363afe4e40335a89dd9b6a44
[ "BSD-3-Clause" ]
3
2021-01-25T18:13:00.000Z
2021-04-30T12:17:42.000Z
calliope_app/api/migrations/0010_auto_20190730_1726.py
jmorrisnrel/engage
250ecc24c0225d48363afe4e40335a89dd9b6a44
[ "BSD-3-Clause" ]
8
2020-12-11T22:28:17.000Z
2022-03-05T02:08:27.000Z
calliope_app/api/migrations/0010_auto_20190730_1726.py
jmorrisnrel/engage
250ecc24c0225d48363afe4e40335a89dd9b6a44
[ "BSD-3-Clause" ]
1
2021-09-15T22:15:12.000Z
2021-09-15T22:15:12.000Z
# Generated by Django 2.1.4 on 2019-07-30 17:26 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0009_auto_20190710_2235'), ] operations = [ migrations.RemoveField( model_name='carrier', name='model', ), ...
18.809524
47
0.562025
39
395
5.589744
0.769231
0.100917
0
0
0
0
0
0
0
0
0
0.116105
0.324051
395
20
48
19.75
0.700375
0.113924
0
0.142857
1
0
0.12931
0.066092
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e54ebd7b02b8c191c0a4f074db11ffa5e4b89f4c
629
py
Python
Scraper/templatetags/tags.py
FadedCoder/AnimeScraperGUI
b01ffdcb7aee81340f0e0643bffa4c9891c369d6
[ "MIT" ]
3
2017-08-13T15:28:06.000Z
2020-04-21T22:14:36.000Z
Scraper/templatetags/tags.py
FadedCoder/AnimeScraperGUI
b01ffdcb7aee81340f0e0643bffa4c9891c369d6
[ "MIT" ]
2
2017-07-24T18:30:22.000Z
2017-11-08T16:47:57.000Z
Scraper/templatetags/tags.py
FadedCoder/AnimeScraperGUI
b01ffdcb7aee81340f0e0643bffa4c9891c369d6
[ "MIT" ]
2
2017-07-22T19:29:22.000Z
2020-08-12T14:32:50.000Z
from django import template APP_NAME = "Anime Scraper" register = template.Library() @register.simple_tag def app_name(request): return APP_NAME @register.assignment_tag(takes_context=False) def user_logged_in(request): if request.user.is_authenticated: return True return False @register.sim...
20.966667
45
0.704293
81
629
5.271605
0.407407
0.180328
0.091335
0.093677
0.163934
0.163934
0
0
0
0
0
0
0.222576
629
29
46
21.689655
0.873211
0
0
0.190476
0
0
0.039746
0
0
0
0
0
0
1
0.142857
false
0
0.047619
0.047619
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
0
0
0
0
0
1
0
0
1
e550edd7b238315c96b3f3f37568a632f48b4f0d
3,106
py
Python
simple_monitor_alert/tests/base.py
Nekmo/simple-monitor-alert
dce0c674f1303f2eeec963bfdff36fbfb19c59fe
[ "MIT" ]
33
2016-04-28T08:03:31.000Z
2021-11-15T09:52:29.000Z
simple_monitor_alert/tests/base.py
Nekmo/simple-monitor-alert
dce0c674f1303f2eeec963bfdff36fbfb19c59fe
[ "MIT" ]
38
2016-05-06T23:03:31.000Z
2020-12-31T15:45:46.000Z
simple_monitor_alert/tests/base.py
Nekmo/simple-monitor-alert
dce0c674f1303f2eeec963bfdff36fbfb19c59fe
[ "MIT" ]
13
2016-04-24T15:58:32.000Z
2019-04-18T08:27:16.000Z
import os import sys from configparser import NoSectionError from simple_monitor_alert.alerts import Alerts from simple_monitor_alert.lines import Observable, ItemLine from simple_monitor_alert.monitor import Monitors from simple_monitor_alert.sma import Results, Config, MonitorsInfo from simple_monitor_alert.utils.fi...
29.865385
94
0.677399
356
3,106
5.679775
0.247191
0.059347
0.042038
0.054402
0.063304
0
0
0
0
0
0
0.00328
0.214746
3,106
104
95
29.865385
0.825748
0.004829
0
0.08
0
0
0.047896
0
0
0
0
0
0
1
0.186667
false
0.053333
0.106667
0.013333
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e57092f9c4bda5a4b9d11be717069a73251f2565
764
py
Python
pytest_cases/tests/cases/legacy/intermediate/test_shared_cases.py
chinghwayu/python-pytest-cases
a95f2a50c201a10c6a2aa2544bd1ea39aab23a47
[ "BSD-3-Clause" ]
null
null
null
pytest_cases/tests/cases/legacy/intermediate/test_shared_cases.py
chinghwayu/python-pytest-cases
a95f2a50c201a10c6a2aa2544bd1ea39aab23a47
[ "BSD-3-Clause" ]
null
null
null
pytest_cases/tests/cases/legacy/intermediate/test_shared_cases.py
chinghwayu/python-pytest-cases
a95f2a50c201a10c6a2aa2544bd1ea39aab23a47
[ "BSD-3-Clause" ]
null
null
null
from ..example_code import super_function_i_want_to_test, super_function_i_want_to_test2 from pytest_cases import test_target, case_tags try: # python 3.5+ from pytest_cases import CaseData except ImportError: pass @test_target(super_function_i_want_to_test) def case_for_function1(): # type: () -> CaseD...
23.875
88
0.709424
126
764
3.928571
0.309524
0.157576
0.169697
0.218182
0.656566
0.656566
0.648485
0.567677
0.567677
0.476768
0
0.033981
0.191099
764
31
89
24.645161
0.76699
0.096859
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.047619
0.190476
0
0.47619
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e570f555e3533a5ca227f85a57c96d520929fcc6
1,947
py
Python
jupyter_docker/kernelspec.py
mariusvniekerk/jupyter_docker_kernel
4506d2cf7a4208bf138ebcd9546fb363fa468d8d
[ "BSD-3-Clause-Clear" ]
null
null
null
jupyter_docker/kernelspec.py
mariusvniekerk/jupyter_docker_kernel
4506d2cf7a4208bf138ebcd9546fb363fa468d8d
[ "BSD-3-Clause-Clear" ]
null
null
null
jupyter_docker/kernelspec.py
mariusvniekerk/jupyter_docker_kernel
4506d2cf7a4208bf138ebcd9546fb363fa468d8d
[ "BSD-3-Clause-Clear" ]
null
null
null
"""Tools for managing kernel specs""" # Copyright (c) Marius van Niekerk # Distributed under the terms of the Modified BSD License. from jupyter_client.kernelspec import KernelSpec, KernelSpecManager from traitlets import Unicode, List, Type from traitlets.config import LoggingConfigurable import os class DockerKern...
38.176471
81
0.645609
200
1,947
6.12
0.475
0.04085
0.036765
0.04902
0.063725
0.047386
0
0
0
0
0
0
0.262969
1,947
51
82
38.176471
0.852962
0.122753
0
0
0
0
0.107647
0
0
0
0
0
0
1
0.030303
false
0
0.151515
0
0.515152
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
0
0
1
0
0
1
e574c9c1a4706aaecb032d2d1574605a675b85b7
1,239
py
Python
Utils/strings.py
furkankykc/AutomatedDocumentMailer
f5216e788f9570ed148652f83eb58d1f9a8ef5e8
[ "BSD-3-Clause" ]
null
null
null
Utils/strings.py
furkankykc/AutomatedDocumentMailer
f5216e788f9570ed148652f83eb58d1f9a8ef5e8
[ "BSD-3-Clause" ]
null
null
null
Utils/strings.py
furkankykc/AutomatedDocumentMailer
f5216e788f9570ed148652f83eb58d1f9a8ef5e8
[ "BSD-3-Clause" ]
null
null
null
errors = { 'tr': { 'error': 'Hata!', 'authError': 'Email veya sifrenizi yanlış girdiniz', 'connectError': 'Smtp ayarlarını düzgün yaptığınızdan emin olunuz', 'senderRefused': 'Bu mail adresinin email gönderim limiti dolmustur', 'serverDisconnect': 'Server ile bağlantı kesildi...
45.888889
77
0.637611
129
1,239
6.139535
0.697674
0.037879
0.015152
0
0
0
0
0
0
0
0
0
0.249395
1,239
27
78
45.888889
0.849462
0
0
0
0
0
0.704032
0
0
0
0
0
0
1
0
false
0.038462
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e57c11e15e74125e65702e796920ba25832939e3
1,329
py
Python
google/cloud/securitycenter/settings/v1beta1/securitycenter-settings-v1beta1-py/google/cloud/securitycenter/settings_v1beta1/services/security_center_settings_service/transports/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
7
2021-02-21T10:39:41.000Z
2021-12-07T07:31:28.000Z
google/cloud/securitycenter/settings/v1beta1/securitycenter-settings-v1beta1-py/google/cloud/securitycenter/settings_v1beta1/services/security_center_settings_service/transports/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
6
2021-02-02T23:46:11.000Z
2021-11-15T01:46:02.000Z
google/cloud/securitycenter/settings/v1beta1/securitycenter-settings-v1beta1-py/google/cloud/securitycenter/settings_v1beta1/services/security_center_settings_service/transports/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
4
2021-01-28T23:25:45.000Z
2021-08-30T01:55:16.000Z
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
39.088235
100
0.808879
141
1,329
7.539007
0.602837
0.056444
0.024459
0.030103
0
0
0
0
0
0
0
0.007759
0.127163
1,329
33
101
40.272727
0.908621
0.500376
0
0
0
0
0.224458
0.19969
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
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
0
0
0
0
1
e582217f637da2274294ac4ec2ebd3c3325b2266
1,250
py
Python
openmdao.gui/src/openmdao/gui/test/functional/files/model_vartree.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
openmdao.gui/src/openmdao/gui/test/functional/files/model_vartree.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
openmdao.gui/src/openmdao/gui/test/functional/files/model_vartree.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
""" This model is used by test_valueeditors to test expand/collapse on the object and parameter panes. """ from openmdao.main.api import Component, Assembly, VariableTree from openmdao.lib.datatypes.api import Float, Slot class DumbVT3(VariableTree): def __init__(self): super(DumbVT3, self).__init__() ...
27.173913
70
0.6168
161
1,250
4.559006
0.385093
0.104905
0.059946
0.087193
0.065395
0.065395
0
0
0
0
0
0.024465
0.2152
1,250
46
71
27.173913
0.723751
0.0784
0
0.129032
0
0
0.045415
0
0
0
0
0
0
1
0.16129
false
0
0.064516
0
0.516129
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
0
0
1
0
0
1
e58a9dd7a51f3e8a5696b75761f9d4d22484d5ed
21,266
py
Python
disasm/disasmz80.py
wd5gnr/8080
846d05f8487fff73ba320fbca6770afff928bc1c
[ "Apache-2.0" ]
26
2015-03-09T14:20:49.000Z
2022-01-08T01:53:14.000Z
disasm/disasmz80.py
jefftranter/8080
e9d9ee994409e2299ad2b09e37701690d17813ac
[ "Apache-2.0" ]
null
null
null
disasm/disasmz80.py
jefftranter/8080
e9d9ee994409e2299ad2b09e37701690d17813ac
[ "Apache-2.0" ]
5
2017-03-07T23:51:45.000Z
2020-07-08T17:52:54.000Z
#! /usr/bin/env python3 # # Disassembler for Zilog Z80 microprocessor. # Copyright (c) 2013 by Jeff Tranter <tranter@pobox.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www...
28.279255
147
0.313082
2,526
21,266
2.632225
0.226841
0.010829
0.008422
0.012633
0.25282
0.243495
0.217627
0.195368
0.160776
0.160776
0
0.127089
0.470893
21,266
751
148
28.316911
0.463829
0.194536
0
0.426332
0
0
0.216679
0
0
0
0.003963
0
0.001567
1
0.003135
false
0
0.00627
0
0.015674
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e58cb403819df21f641a82dc91deded173fc8980
1,688
py
Python
app/api/posts/migrations/0001_initial.py
Suhas-G/Melton-App-Server
45f569534d4fff4bfe14219eb22f615b81fcfbb4
[ "MIT" ]
5
2020-12-24T15:32:31.000Z
2021-05-18T09:41:13.000Z
app/api/posts/migrations/0001_initial.py
Suhas-G/Melton-App-Server
45f569534d4fff4bfe14219eb22f615b81fcfbb4
[ "MIT" ]
13
2020-12-24T14:57:02.000Z
2022-03-12T00:38:39.000Z
app/api/posts/migrations/0001_initial.py
Suhas-G/Melton-App-Server
45f569534d4fff4bfe14219eb22f615b81fcfbb4
[ "MIT" ]
1
2020-11-28T12:14:21.000Z
2020-11-28T12:14:21.000Z
# Generated by Django 3.0.3 on 2020-07-12 15:21 from django.db import migrations, models import markdownx.models import posts.models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Tag", fields=[ ...
29.103448
87
0.409953
119
1,688
5.705882
0.512605
0.035346
0.073638
0.067747
0.232695
0.232695
0.232695
0.232695
0.232695
0.232695
0
0.024648
0.495261
1,688
57
88
29.614035
0.7723
0.026659
0
0.54
1
0
0.057892
0
0
0
0
0
0
1
0
false
0
0.06
0
0.14
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e59ef034aa0f8aff312ca7216689038f122910a8
370
py
Python
scrapy-package/scrapy_twrh/spiders/rental591/util.py
eala/tw-rental-house-data
5f595e6bfac8cc85ddff0746b3ee6806e83dec3a
[ "MIT" ]
null
null
null
scrapy-package/scrapy_twrh/spiders/rental591/util.py
eala/tw-rental-house-data
5f595e6bfac8cc85ddff0746b3ee6806e83dec3a
[ "MIT" ]
null
null
null
scrapy-package/scrapy_twrh/spiders/rental591/util.py
eala/tw-rental-house-data
5f595e6bfac8cc85ddff0746b3ee6806e83dec3a
[ "MIT" ]
null
null
null
from collections import namedtuple SITE_URL = 'https://rent.591.com.tw' LIST_ENDPOINT = '{}/home/search/rsList?is_new_list=1&type=1&kind=0&searchtype=1'.format(SITE_URL) SESSION_ENDPOINT = '{}/?kind=0&region=6'.format(SITE_URL) ListRequestMeta = namedtuple('ListRequestMeta', ['id', 'name', 'page']) DetailRequestMeta...
37
97
0.737838
49
370
5.428571
0.673469
0.078947
0.097744
0
0
0
0
0
0
0
0
0.026239
0.072973
370
9
98
41.111111
0.749271
0
0
0
0
0.166667
0.408108
0.167568
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
1
e5abf8af124576c6b9b8c50e958ff894b785581f
1,730
py
Python
examples/docs_snippets/docs_snippets/concepts/ops_jobs_graphs/jobs.py
silentsokolov/dagster
510bf07bf6906294d5a239d60079c88211002ebf
[ "Apache-2.0" ]
null
null
null
examples/docs_snippets/docs_snippets/concepts/ops_jobs_graphs/jobs.py
silentsokolov/dagster
510bf07bf6906294d5a239d60079c88211002ebf
[ "Apache-2.0" ]
null
null
null
examples/docs_snippets/docs_snippets/concepts/ops_jobs_graphs/jobs.py
silentsokolov/dagster
510bf07bf6906294d5a239d60079c88211002ebf
[ "Apache-2.0" ]
null
null
null
# isort: skip_file # pylint: disable=unused-argument,reimported from dagster import DependencyDefinition, GraphDefinition, job, op @op def my_op(): pass # start_pipeline_example_marker @op def return_one(context): return 1 @op def add_one(context, number: int): return number + 1 @job def one_plus_...
16.320755
77
0.752601
259
1,730
4.583012
0.254826
0.055602
0.030329
0.050548
0.11289
0.082561
0
0
0
0
0
0.003351
0.137572
1,730
105
78
16.47619
0.792225
0.316763
0
0.181818
0
0
0.069828
0
0
0
0
0
0
1
0.25
false
0.022727
0.045455
0.090909
0.386364
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
0
0
0
0
1
e5b82fc7372d99a44068c3ecd6924d425af6133c
303
py
Python
PART01/21_series_to_number.py
arti1117/python-machine-learning-pandas-data-analytics
132b0f3326aeb028348bc9e07d38d18e4ec2e18e
[ "MIT" ]
1
2021-01-21T09:11:51.000Z
2021-01-21T09:11:51.000Z
PART01/21_series_to_number.py
arti1117/python-machine-learning-pandas-data-analytics
132b0f3326aeb028348bc9e07d38d18e4ec2e18e
[ "MIT" ]
null
null
null
PART01/21_series_to_number.py
arti1117/python-machine-learning-pandas-data-analytics
132b0f3326aeb028348bc9e07d38d18e4ec2e18e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 5 22:43:02 2020 @author: arti """ import pandas as pd student1 = pd.Series({'Korean':100, 'English':80, 'Math':99}) print(student1); print('--') percentage = student1 / 200 print(percentage); print('--') print(type(percentage))
17.823529
61
0.646865
43
303
4.55814
0.790698
0.153061
0
0
0
0
0
0
0
0
0
0.099617
0.138614
303
17
62
17.823529
0.651341
0.310231
0
0
0
0
0.104478
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
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
0
0
0
1
0
1
e5c49c93a0c90184f13a3584eb3005421df9d9ab
412
py
Python
aoomuki_comp/app/migrations/0011_auto_20210108_0945.py
Kamelgasmi/aoomuki_competences
e02f3546f7efb54b825dbcfab968296607775903
[ "MIT" ]
null
null
null
aoomuki_comp/app/migrations/0011_auto_20210108_0945.py
Kamelgasmi/aoomuki_competences
e02f3546f7efb54b825dbcfab968296607775903
[ "MIT" ]
null
null
null
aoomuki_comp/app/migrations/0011_auto_20210108_0945.py
Kamelgasmi/aoomuki_competences
e02f3546f7efb54b825dbcfab968296607775903
[ "MIT" ]
null
null
null
# Generated by Django 2.1 on 2021-01-08 08:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0010_auto_20210106_1426'), ] operations = [ migrations.AlterField( model_name='collaborater', name='Society', ...
21.684211
75
0.614078
44
412
5.613636
0.818182
0
0
0
0
0
0
0
0
0
0
0.11
0.271845
412
18
76
22.888889
0.713333
0.104369
0
0
1
0
0.141689
0.06267
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5c65da7b6fdac05e0bd6e94cc443ca1e64ca993
2,355
py
Python
eegpy/stats/tests/TestCluster.py
thorstenkranz/eegpy
0f9461456999874abbb774896ca832eb27740a9d
[ "BSD-2-Clause-FreeBSD" ]
10
2015-05-12T10:42:51.000Z
2021-07-20T02:08:03.000Z
eegpy/stats/tests/TestCluster.py
thorstenkranz/eegpy
0f9461456999874abbb774896ca832eb27740a9d
[ "BSD-2-Clause-FreeBSD" ]
2
2015-11-19T11:36:30.000Z
2018-03-21T05:00:09.000Z
eegpy/stats/tests/TestCluster.py
thorstenkranz/eegpy
0f9461456999874abbb774896ca832eb27740a9d
[ "BSD-2-Clause-FreeBSD" ]
2
2016-09-21T22:41:34.000Z
2019-01-28T13:55:19.000Z
import numpy as np from numpy.testing import (assert_array_almost_equal, assert_array_equal) from nose.tools import assert_true, assert_equal, assert_raises, raises from eegpy.stats.cluster import ClusterSearch1d from eegpy.filter.smoothing import smooth #Helper-methods def...
30.986842
81
0.684076
290
2,355
5.317241
0.282759
0.051881
0.071336
0.116732
0.429961
0.290532
0.245136
0.132296
0.076524
0.076524
0
0.043549
0.219958
2,355
75
82
31.4
0.795863
0.063694
0
0.208333
0
0
0
0
0
0
0
0
0.166667
1
0.208333
false
0.020833
0.104167
0
0.375
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
0
0
0
0
1
e5ce80a26504e69e75c6b625f9fada6973c7f736
1,650
py
Python
phoobe/resources.py
berendt/heat-vagrant
dc49b4ce2cdf247c92e76f775970decd28c7eead
[ "Apache-2.0" ]
null
null
null
phoobe/resources.py
berendt/heat-vagrant
dc49b4ce2cdf247c92e76f775970decd28c7eead
[ "Apache-2.0" ]
null
null
null
phoobe/resources.py
berendt/heat-vagrant
dc49b4ce2cdf247c92e76f775970decd28c7eead
[ "Apache-2.0" ]
null
null
null
# based on https://github.com/stackforge/flame/blob/master/flameclient/flame.py template_skeleton = ''' heat_template_version: 2013-05-23 description: Generated template parameters: resources: ''' class Resource(object): """Describes an OpenStack resource.""" def __init__(self, name, type, id=None, propertie...
25.78125
79
0.529697
152
1,650
5.651316
0.381579
0.055879
0.027939
0
0
0
0
0
0
0
0
0.014191
0.359394
1,650
63
80
26.190476
0.798486
0.126061
0
0.183673
1
0
0.138268
0.015363
0
0
0
0
0
1
0.102041
false
0
0
0.040816
0.204082
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5d67d9475672b116aff65e3a3fc616b52309394
8,413
py
Python
pyextmod_starter.py
WarrenWeckesser/pyextmod_starter
47649566947de7be73df4dd3122fe2597cde7acb
[ "MIT" ]
null
null
null
pyextmod_starter.py
WarrenWeckesser/pyextmod_starter
47649566947de7be73df4dd3122fe2597cde7acb
[ "MIT" ]
null
null
null
pyextmod_starter.py
WarrenWeckesser/pyextmod_starter
47649566947de7be73df4dd3122fe2597cde7acb
[ "MIT" ]
null
null
null
# Copyright © 2021 Warren Weckesser # Distributed under the MIT license. """ This module defines the function def generate_extmod(module_name, module_doc, funcs, c_filename=None, setup_filename="setup.py") It generates C code for a Python extension module, with boilerplate code for defini...
30.592727
119
0.637822
1,116
8,413
4.587814
0.22043
0.0625
0.05
0.027344
0.204297
0.163867
0.119531
0.091797
0.070313
0
0
0.002039
0.242244
8,413
274
120
30.70438
0.800941
0.204208
0
0.155556
1
0.005556
0.372121
0.095
0
0
0
0
0
1
0.044444
false
0
0.033333
0.005556
0.116667
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5d91352a33241848ff7b799a8aa2a3305c17ea7
625
py
Python
falmer/studentgroups/migrations/0004_auto_20170703_1633.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
2
2017-04-27T19:35:59.000Z
2017-06-13T16:19:33.000Z
falmer/studentgroups/migrations/0004_auto_20170703_1633.py
sussexstudent/falmer
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
975
2017-04-13T11:31:07.000Z
2022-02-10T07:46:18.000Z
falmer/studentgroups/migrations/0004_auto_20170703_1633.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
3
2018-05-09T06:42:25.000Z
2020-12-10T18:29:30.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-03 16:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('studentgroups', '0003_auto_20170703_1630'), ] operations = [ migrations.Alt...
24.038462
53
0.6
62
625
5.854839
0.741935
0.110193
0.137741
0.15978
0.264463
0.264463
0
0
0
0
0
0.080357
0.2832
625
25
54
25
0.729911
0.1088
0
0.333333
1
0
0.140794
0.041516
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5dd9de06fae65e862168b1ec541c9cfd4ef81af
298
py
Python
easy/single number/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
4
2021-06-03T22:19:13.000Z
2021-10-05T18:14:12.000Z
easy/single number/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
null
null
null
easy/single number/solution.py
ilya-sokolov/leetcode
ad421111d0d7c5ec5245f33552e94a373b6fd426
[ "MIT" ]
null
null
null
from typing import List class Solution: def singleNumber(self, nums: List[int]) -> int: result = 0 for i in nums: result ^= i return result s = Solution() print(s.singleNumber([2, 2, 1])) print(s.singleNumber([4, 1, 2, 1, 2])) print(s.singleNumber([1]))
18.625
51
0.583893
43
298
4.046512
0.511628
0.103448
0.310345
0
0
0
0
0
0
0
0
0.045872
0.268456
298
15
52
19.866667
0.752294
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.363636
0.272727
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
0
0
0
0
1
e5dda19356008a558c6c4f04e741de9019f47815
3,697
py
Python
vector_comparison/xi_squared.py
jensv/relative_canonical_helicity_tools
51dc408b5d547c3122b77b0058eab32a3fca2d4c
[ "MIT" ]
null
null
null
vector_comparison/xi_squared.py
jensv/relative_canonical_helicity_tools
51dc408b5d547c3122b77b0058eab32a3fca2d4c
[ "MIT" ]
null
null
null
vector_comparison/xi_squared.py
jensv/relative_canonical_helicity_tools
51dc408b5d547c3122b77b0058eab32a3fca2d4c
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import seaborn as sns import sys from vector_calculus import vector_calculus as vc def calc_and_plot_dists(field1, field2, field1_title=None, field2_title=None, units=None): r""" """ ...
35.209524
86
0.583446
418
3,697
4.906699
0.232057
0.080449
0.032179
0.049732
0.14237
0.128718
0.093613
0.07606
0.07606
0.07606
0
0.030172
0.309711
3,697
104
87
35.548077
0.773511
0
0
0.070588
0
0
0.047632
0
0.011765
0
0
0
0.011765
0
null
null
0
0.058824
null
null
0.011765
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
1
0
0
0
0
0
0
0
0
1
e5e349404eae7e41d1facb1e80b1338c1083adb5
468
py
Python
general/update_buildnum.py
shawnj/python
5e755feb803ec8419adb900ff3890cc5f6da41d6
[ "MIT" ]
null
null
null
general/update_buildnum.py
shawnj/python
5e755feb803ec8419adb900ff3890cc5f6da41d6
[ "MIT" ]
null
null
null
general/update_buildnum.py
shawnj/python
5e755feb803ec8419adb900ff3890cc5f6da41d6
[ "MIT" ]
null
null
null
import os import json import sys file = sys.argv[1] buildsite = sys.argv[2] buildnum = sys.argv[3] fileid = sys.argv[4] with open(file, "r") as jsonFile: data = json.load(jsonFile) if fileid is not "": data["default_attributes"]["Sites"][buildsite.upper()]["BUILD"] = str(buildnum) + "." + str(fileid) else: ...
23.4
103
0.666667
67
468
4.626866
0.477612
0.090323
0.077419
0.167742
0.36129
0.36129
0.36129
0.36129
0.36129
0
0
0.010025
0.147436
468
20
104
23.4
0.766917
0
0
0
0
0
0.1258
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e5e393797a5993606ac8d650a35f9b0580d05859
4,550
py
Python
data_analysis/audiocommons_ffont/tempo_estimation/evaluation_metrics.py
aframires/freesound-loop-annotator
a24e0c23bfc671e41e8627150e7b9fcae5c8cb13
[ "Apache-2.0" ]
18
2020-01-22T14:58:18.000Z
2022-02-21T12:07:51.000Z
data_analysis/audiocommons_ffont/tempo_estimation/evaluation_metrics.py
aframires/freesound-loop-annotator
a24e0c23bfc671e41e8627150e7b9fcae5c8cb13
[ "Apache-2.0" ]
2
2020-02-24T13:14:05.000Z
2020-09-21T13:34:53.000Z
data_analysis/audiocommons_ffont/tempo_estimation/evaluation_metrics.py
aframires/freesound-loop-annotator
a24e0c23bfc671e41e8627150e7b9fcae5c8cb13
[ "Apache-2.0" ]
1
2020-01-22T14:55:36.000Z
2020-01-22T14:55:36.000Z
from ..ac_utils.general import vfkp def accuracy1(data, method, sound_ids=None, tolerance=0.04, skip_zeroed_values=False): """ Compares estimated bpm with annotated bpm of provided data. Considers as good matches values that do not differ more than the tolerance parameter (default toleracne = 0, 0 bpm max...
47.894737
118
0.67956
637
4,550
4.737834
0.232339
0.03446
0.058317
0.023857
0.715374
0.696156
0.696156
0.696156
0.696156
0.696156
0
0.020504
0.24967
4,550
94
119
48.404255
0.863503
0.498462
0
0.66
0
0
0.024265
0
0
0
0
0
0
1
0.06
false
0
0.02
0
0.14
0
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
0
0
0
0
0
0
0
0
0
1
e5ea7b176df779fa359d427b4e3175715d7df255
9,838
py
Python
code/python-modules/kinectData.py
jvahala/lucid-robotics
c8473987d149d758369aa43bba54dcd7243fbc6b
[ "Apache-2.0" ]
2
2018-03-03T18:59:17.000Z
2018-05-31T18:02:36.000Z
code/python-modules/kinectData.py
jvahala/lucid-robotics
c8473987d149d758369aa43bba54dcd7243fbc6b
[ "Apache-2.0" ]
2
2016-06-07T13:09:30.000Z
2016-06-07T13:10:48.000Z
code/python-modules/kinectData.py
jvahala/lucid-robotics
c8473987d149d758369aa43bba54dcd7243fbc6b
[ "Apache-2.0" ]
null
null
null
''' module: kinectData.py use: contains functions and class associated with messing with storing and manipulating kinect data ''' import numpy as np import timeObject import feature_tools import utils class kinectData(object): ''' Purpose: Manipulate Kinect data files Class functions: addData(self,file...
43.149123
262
0.729112
1,491
9,838
4.668008
0.229376
0.036351
0.038793
0.016092
0.141379
0.106897
0.076437
0.06954
0.059195
0.047701
0
0.011667
0.181033
9,838
227
263
43.339207
0.852178
0.300569
0
0.140351
0
0
0.033583
0
0
0
0
0
0
0
null
null
0.008772
0.035088
null
null
0.026316
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
1
0
0
0
0
0
0
0
0
1
e5eeceec5e3cd5556b72a04ead12c29a1a755706
12,272
py
Python
important_political_entities_finder/ingest/fa_scrape.py
dberger1989/Important_Political_Entities
1218b472c3503c268e08cc8bb3246686def7d177
[ "Apache-2.0" ]
null
null
null
important_political_entities_finder/ingest/fa_scrape.py
dberger1989/Important_Political_Entities
1218b472c3503c268e08cc8bb3246686def7d177
[ "Apache-2.0" ]
null
null
null
important_political_entities_finder/ingest/fa_scrape.py
dberger1989/Important_Political_Entities
1218b472c3503c268e08cc8bb3246686def7d177
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import time import pickle from bs4 import BeautifulSoup import requests from selenium.webdriver.common.keys import Keys from selenium import webdriver from dateutil import parser import re import config class FA_scrape(object): def __init__(self): ## FA login placeh...
40.236066
120
0.607806
1,534
12,272
4.622555
0.181226
0.053589
0.065999
0.033846
0.32097
0.242561
0.215907
0.147793
0.118319
0.079255
0
0.011131
0.282595
12,272
304
121
40.368421
0.794298
0.150424
0
0.180556
0
0.020833
0.117851
0.052007
0
0
0
0
0
0
null
null
0.041667
0.076389
null
null
0.048611
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
1
0
0
0
0
0
0
0
0
1
e5f0a700dc9ea7e3f3f0d56d00411c24302efe8d
4,785
py
Python
infrastructure/gateways.py
aleksarias/ubermaton
f0afd94abe494303c435a42a314a04ba8118afd1
[ "MIT" ]
null
null
null
infrastructure/gateways.py
aleksarias/ubermaton
f0afd94abe494303c435a42a314a04ba8118afd1
[ "MIT" ]
null
null
null
infrastructure/gateways.py
aleksarias/ubermaton
f0afd94abe494303c435a42a314a04ba8118afd1
[ "MIT" ]
null
null
null
from typing import List, Union, Tuple, Dict, Set import googlemaps import networkx as nx from networkx.algorithms import shortest_paths from domain.gateways import DirectionsGateway from domain.models import Location class NetworkXGateway(DirectionsGateway): def __init__(self, graph: nx.Graph): """ ...
38.58871
119
0.674399
556
4,785
5.670863
0.285971
0.026641
0.028544
0.03679
0.211862
0.190295
0.176974
0.176974
0.176974
0.176974
0
0.001374
0.239707
4,785
123
120
38.902439
0.865311
0.263532
0
0.12069
0
0
0.026055
0
0
0
0
0.00813
0.068966
1
0.206897
false
0
0.103448
0
0.448276
0.017241
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
0
0
0
0
1
e5f44ef6521105012eb82b66ff8039bba3bd18e8
1,103
py
Python
python/p22.py
schwanberger/projectEuler
e4aa17a49cb8560378ef877b3e5543fc26ed3a70
[ "MIT" ]
null
null
null
python/p22.py
schwanberger/projectEuler
e4aa17a49cb8560378ef877b3e5543fc26ed3a70
[ "MIT" ]
null
null
null
python/p22.py
schwanberger/projectEuler
e4aa17a49cb8560378ef877b3e5543fc26ed3a70
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- # Names scores: https://projecteuler.net/problem=22 # Problem 22 Using names.txt (right click and 'Save Link/Target As...'), a 46K # text file containing over five-thousand first names, begin by sorting it into # alphabetical order. Then working out the alphabetical value for each name, # mul...
28.282051
79
0.681777
168
1,103
4.47619
0.595238
0.019947
0.055851
0
0
0
0
0
0
0
0
0.043728
0.212149
1,103
39
80
28.282051
0.820483
0.579329
0
0
0
0
0.05765
0.050998
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.055556
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
1
0
0
0
0
0
0
0
0
1
e5f9d3c5743859446313783d7181ba73932ed9d2
619
py
Python
app/core/migrations/0002_auto_20201129_1325.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
app/core/migrations/0002_auto_20201129_1325.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
app/core/migrations/0002_auto_20201129_1325.py
bondeveloper/maischool
16bf2afe99d26caa067b7912e88839639cf2191e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-29 13:25 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.AlterField( model_name='attachment', ...
24.76
82
0.605816
64
619
5.765625
0.65625
0.054201
0.135501
0.157182
0
0
0
0
0
0
0
0.042697
0.281099
619
24
83
25.791667
0.786517
0.072698
0
0.222222
1
0
0.101399
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f90562abff336b29093acecd6c90416769032197
1,736
py
Python
disk_set.py
warm-ice0x00/disk-set
83c847b0dcfbf22d3f90acf94e6ac64272411611
[ "MIT" ]
null
null
null
disk_set.py
warm-ice0x00/disk-set
83c847b0dcfbf22d3f90acf94e6ac64272411611
[ "MIT" ]
null
null
null
disk_set.py
warm-ice0x00/disk-set
83c847b0dcfbf22d3f90acf94e6ac64272411611
[ "MIT" ]
null
null
null
import hashlib import typing import sympy class DiskSet: def __init__(self, file: typing.BinaryIO, n: int, key_len: int) -> None: self.n = n self.m = sympy.nextprime(n << 1) self.key_len = key_len try: file.truncate(self.m * self.key_len) except OSError: ...
28.459016
76
0.524194
246
1,736
3.512195
0.333333
0.081019
0.081019
0.027778
0.342593
0.342593
0.247685
0.247685
0.247685
0.247685
0
0.010526
0.343318
1,736
60
77
28.933333
0.747368
0
0
0.24
0
0
0.076613
0.049539
0
0
0
0
0
1
0.12
false
0.06
0.06
0.04
0.28
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f907b3580f135fd796871bc59a96538a79711eb7
894
py
Python
src/examples/plot_costs.py
zhhengcs/sunny-side-up
0ddefdd1adf1c7ea3f48b669ffc763c0678481a3
[ "Apache-2.0" ]
581
2015-06-24T15:04:18.000Z
2022-02-19T23:22:01.000Z
src/examples/plot_costs.py
zhhengcs/sunny-side-up
0ddefdd1adf1c7ea3f48b669ffc763c0678481a3
[ "Apache-2.0" ]
32
2015-06-22T21:29:11.000Z
2020-06-26T22:16:39.000Z
src/examples/plot_costs.py
zhhengcs/sunny-side-up
0ddefdd1adf1c7ea3f48b669ffc763c0678481a3
[ "Apache-2.0" ]
168
2015-06-02T18:19:25.000Z
2020-12-28T19:25:07.000Z
#!/usr/bin/env python import os import json import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import argparse arg_parser = argparse.ArgumentParser() arg_parser.add_argument("--start", default=25, type=int) arg_parser.add_argument("cost_file", default="metrics_costs.json", narg...
28.83871
78
0.667785
127
894
4.456693
0.488189
0.063604
0.042403
0.070671
0
0
0
0
0
0
0
0.005548
0.193512
894
30
79
29.8
0.779473
0.048098
0
0
0
0
0.069575
0
0
0
0
0
0
0
null
null
0
0.26087
null
null
0.043478
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
1
0
0
0
0
0
0
0
0
1
f90caa5cc363277fa7606e295dcd8f43a5bbe847
4,639
py
Python
tests/test_integrate.py
rtsfred3/pyntegrate
f697f64d4bf3ea97af5dc1a89f09a7469f486acb
[ "Apache-2.0" ]
null
null
null
tests/test_integrate.py
rtsfred3/pyntegrate
f697f64d4bf3ea97af5dc1a89f09a7469f486acb
[ "Apache-2.0" ]
null
null
null
tests/test_integrate.py
rtsfred3/pyntegrate
f697f64d4bf3ea97af5dc1a89f09a7469f486acb
[ "Apache-2.0" ]
null
null
null
import time, unittest import pyntegrate.pyarctan as pyarctan import pyntegrate.arctan as arctan def makeArrMin(n, seed=25): return arctan.makeArrMin(n) def makeArr(n, seed=25): return makeArrMin(n, seed), makeArrMin(n, seed) class TestArctanMethods(unittest.TestCase): def test_bubblesort(self): ...
28.460123
115
0.56995
555
4,639
4.675676
0.09009
0.08632
0.010405
0.013873
0.74104
0.644316
0.522158
0.496724
0.478613
0.428902
0
0.029786
0.305238
4,639
162
116
28.635802
0.775365
0.037293
0
0.566667
0
0
0.00213
0
0
0
0
0
0.211111
1
0.255556
false
0
0.033333
0.022222
0.344444
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
0
0
0
0
1
f90caf9efdf4cf631bd74e19b87ca8c4ada6a6a3
293
py
Python
_2015/adventCoinMiner/adventCoinMiner.py
dcsparkes/adventofcode
e8bf8cef1d8757ad8981dde8dc76f8f7ec396be5
[ "Unlicense" ]
null
null
null
_2015/adventCoinMiner/adventCoinMiner.py
dcsparkes/adventofcode
e8bf8cef1d8757ad8981dde8dc76f8f7ec396be5
[ "Unlicense" ]
null
null
null
_2015/adventCoinMiner/adventCoinMiner.py
dcsparkes/adventofcode
e8bf8cef1d8757ad8981dde8dc76f8f7ec396be5
[ "Unlicense" ]
null
null
null
import hashlib import itertools class AdventCoinMiner(): def solve(self, prefix, check="00000"): for i in itertools.count(1): hash = hashlib.md5("{}{}".format(prefix, i).encode('utf-8')).hexdigest() if check == hash[:len(check)]: return i
26.636364
84
0.576792
35
293
4.828571
0.742857
0
0
0
0
0
0
0
0
0
0
0.037209
0.266212
293
10
85
29.3
0.748837
0
0
0
0
0
0.047945
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f90f774757af5609f60dde3f9dbc57027435813f
681
py
Python
Python Programs/consogram.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
2
2021-06-26T21:50:59.000Z
2021-09-18T04:55:51.000Z
Python Programs/consogram.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Python Programs/consogram.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Consogram Consograms are words or sentences that has every consonant( letters other than a,e,i,o,u) of the English alphabet occurring at least once. Write an algorithm and a subsequent Python code to check whether a string is a consogram or not. Write a function to check if a given string is a consogram. For example,”...
40.058824
371
0.659325
130
681
3.461538
0.676923
0.02
0.08
0.08
0
0
0
0
0
0
0
0.006944
0.154185
681
16
372
42.5625
0.772569
0
0
0
0
0
0.127941
0
0
0
0
0
0
0
null
null
0
0
null
null
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f91534f3293e093125e1f1ad67e939328fdb30e2
4,155
py
Python
src/doc-break.py
andreblue/doc-breaker
bf847a3b4e0a5effca718dc03c4cac418ccaed23
[ "MIT" ]
4
2019-09-01T02:51:43.000Z
2021-12-25T08:10:17.000Z
src/doc-break.py
andreblue/doc-breaker
bf847a3b4e0a5effca718dc03c4cac418ccaed23
[ "MIT" ]
null
null
null
src/doc-break.py
andreblue/doc-breaker
bf847a3b4e0a5effca718dc03c4cac418ccaed23
[ "MIT" ]
2
2020-04-06T08:02:29.000Z
2020-06-18T13:14:12.000Z
import msoffcrypto import sys, getopt import os import urllib.request def download_PasswordList(): #Grabbed from https://github.com/danielmiessler/SecLists url = 'https://raw.githubusercontent.com/danielmiessler/SecLists/master/Passwords/Common-Credentials/10-million-password-list-top-10000.txt' try: ...
34.625
144
0.55716
448
4,155
5.118304
0.3125
0.0471
0.0157
0.026167
0.174444
0.126036
0.115133
0.115133
0.087222
0
0
0.016026
0.324188
4,155
119
145
34.915966
0.80057
0.018051
0
0.356436
0
0.029703
0.277165
0.019868
0
0
0
0
0
1
0.039604
false
0.247525
0.039604
0
0.079208
0.207921
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f91bfabaaf56fadd7cacb326fe23521ce7cb89f6
494
py
Python
python/hackerrank/variables/variable creation/task.py
3keepmovingforward3/ENGR1102
b4f38a70560fc695d70706279047b1dec9f5c7f4
[ "MIT" ]
null
null
null
python/hackerrank/variables/variable creation/task.py
3keepmovingforward3/ENGR1102
b4f38a70560fc695d70706279047b1dec9f5c7f4
[ "MIT" ]
null
null
null
python/hackerrank/variables/variable creation/task.py
3keepmovingforward3/ENGR1102
b4f38a70560fc695d70706279047b1dec9f5c7f4
[ "MIT" ]
null
null
null
def variables(): f = open('test.txt', 'w') # Start your code below (tip: Make sure to indent your code) # Setup variables here # put variables in order respective of task commands f.write(______+"\n") f.write(______+"\n") f.write(______+"\n") f.write(______+"\n") f.write(______...
22.454545
64
0.607287
59
494
4.067797
0.491525
0.125
0.145833
0.133333
0.504167
0.504167
0.504167
0.504167
0.145833
0.145833
0
0
0.257085
494
21
65
23.52381
0.653951
0.366397
0
0.769231
0
0
0.061688
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0.384615
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f91d5c60d87a25371fc2cb576387041698865c0e
3,977
py
Python
app/users/tests/test_views.py
erischon/p10_try_1
895540babdcd5fda15a5abf0aa0c24dac71095aa
[ "MIT" ]
null
null
null
app/users/tests/test_views.py
erischon/p10_try_1
895540babdcd5fda15a5abf0aa0c24dac71095aa
[ "MIT" ]
null
null
null
app/users/tests/test_views.py
erischon/p10_try_1
895540babdcd5fda15a5abf0aa0c24dac71095aa
[ "MIT" ]
null
null
null
from django.test import TestCase, Client, RequestFactory from django.urls import reverse from django.contrib.auth.models import User from database.models import Product, Nutriscore class UsersTestViews(TestCase): def setUp(self): self.client = Client() self.factory = RequestFactory() se...
35.828829
122
0.667589
432
3,977
5.981481
0.194444
0.06192
0.076625
0.116099
0.547601
0.523607
0.492647
0.440789
0.440789
0.440789
0
0.018078
0.207191
3,977
110
123
36.154545
0.801459
0.012572
0
0.311688
0
0
0.128186
0.005352
0
0
0
0
0.246753
1
0.155844
false
0.064935
0.051948
0
0.220779
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f924776fdd7417ba248054a21144f4057537a8e4
453
py
Python
Lib/site-packages/django_core/admin.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
Lib/site-packages/django_core/admin.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/django_core/admin.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
from django.contrib import admin from .models import TokenAuthorization class TokenAuthorizationAdmin(admin.ModelAdmin): """Model admin for the TokenAuthorization model.""" list_display = ('id', 'reason', 'user', 'token', 'email_address', 'created_user', 'expires') readonly_fields = l...
30.2
69
0.717439
45
453
7.066667
0.644444
0.069182
0
0
0
0
0
0
0
0
0
0
0.169978
453
14
70
32.357143
0.845745
0.099338
0
0
0
0
0.156716
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f926e7c3dd227c99e8592bcb2f567132ee266a3c
2,735
py
Python
polygon/views.py
foreignbill/eoj3
8931217dc8f655ed6937b04be41ebccaa540342b
[ "MIT" ]
null
null
null
polygon/views.py
foreignbill/eoj3
8931217dc8f655ed6937b04be41ebccaa540342b
[ "MIT" ]
null
null
null
polygon/views.py
foreignbill/eoj3
8931217dc8f655ed6937b04be41ebccaa540342b
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render, redirect, get_object_or_404 from django.urls import reverse from django.views import View from django.views.generic import ListView from rest_framework import status from rest_framework.response import Response from rest_framework.views import AP...
35.519481
113
0.719561
335
2,735
5.728358
0.313433
0.045857
0.039604
0.042209
0.109953
0.093799
0.056279
0.056279
0.056279
0
0
0.00672
0.183912
2,735
76
114
35.986842
0.853047
0.024132
0
0.035088
0
0.017544
0.075019
0.008627
0
0
0
0.013158
0
1
0.140351
false
0.017544
0.245614
0.052632
0.701754
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f9281984e45e891511c0b80c18ab38b8a32f94f5
2,480
py
Python
analysis/baseline/s01_generate_features_alexnet.py
eduardojdiniz/Buzznauts
8ac242a8d5309b4090a0f0b148ec275cac762bc0
[ "MIT" ]
2
2021-08-03T15:07:04.000Z
2022-03-02T15:10:07.000Z
analysis/baseline/s01_generate_features_alexnet.py
eduardojdiniz/Buzznauts
8ac242a8d5309b4090a0f0b148ec275cac762bc0
[ "MIT" ]
8
2021-08-04T14:21:14.000Z
2021-08-16T21:07:12.000Z
analysis/baseline/s01_generate_features_alexnet.py
eduardojdiniz/Buzznauts
8ac242a8d5309b4090a0f0b148ec275cac762bc0
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 import argparse import os import os.path as op from Buzznauts.models.baseline.alexnet import load_alexnet from Buzznauts.utils import set_seed, set_device from Buzznauts.analysis.baseline import get_activations_and_save from Buzznauts.analysis.baseline import do_PCA_and_save def ...
36.470588
79
0.64879
301
2,480
5.13289
0.378738
0.036246
0.019417
0.025243
0.137217
0.064725
0.064725
0.064725
0.064725
0
0
0.006135
0.21129
2,480
67
80
37.014925
0.783742
0.13629
0
0.045455
0
0
0.243319
0.075012
0
0
0
0
0
0
null
null
0
0.159091
null
null
0.045455
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
1
0
0
0
0
0
0
0
0
1
f9295b2e5e17162272e30b6849cfddf4a25679a0
990
py
Python
wflow-py/WflowDeltashell/addwflowtoolbar.py
edwinkost/wflow
ee9291d4b556d7b61f7f13bcb972774be9a16cec
[ "MIT" ]
null
null
null
wflow-py/WflowDeltashell/addwflowtoolbar.py
edwinkost/wflow
ee9291d4b556d7b61f7f13bcb972774be9a16cec
[ "MIT" ]
null
null
null
wflow-py/WflowDeltashell/addwflowtoolbar.py
edwinkost/wflow
ee9291d4b556d7b61f7f13bcb972774be9a16cec
[ "MIT" ]
null
null
null
from WflowDeltashell.Shortcuts import * from WflowDeltashell.plotcsv import * def OpenDoc(url): import Libraries.StandardFunctions as sf from DelftTools.Utils import Url murl = Url(url,url) sf.OpenView(murl) def notimplemented(): print "Not implemented yet..." name = "Web Documentation" tabName = "Wflow-Tools"...
25.384615
109
0.769697
110
990
6.927273
0.436364
0.085302
0.131234
0.136483
0.35958
0.238845
0.238845
0.238845
0.238845
0.238845
0
0
0.10101
990
39
110
25.384615
0.85618
0.065657
0
0.24
0
0
0.229437
0
0
0
0
0
0
0
null
null
0
0.16
null
null
0.04
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
1
0
0
0
0
0
0
0
0
1
f92b2a598fdb316123a620498399132696542651
2,278
py
Python
django_personals/enums.py
sasriawesome/django_personals
c46b995a79558530e25dd5e8bd9d0e113483b584
[ "MIT" ]
2
2020-05-24T00:40:42.000Z
2021-05-31T02:27:41.000Z
django_personals/enums.py
sasriawesome/django_personals
c46b995a79558530e25dd5e8bd9d0e113483b584
[ "MIT" ]
null
null
null
django_personals/enums.py
sasriawesome/django_personals
c46b995a79558530e25dd5e8bd9d0e113483b584
[ "MIT" ]
null
null
null
import enum from django.utils.translation import ugettext_lazy as _ class MaxLength(enum.Enum): SHORT = 128 MEDIUM = 256 LONG = 512 XLONG = 1024 TEXT = 2048 RICHTEXT = 10000 class ActiveStatus(enum.Enum): ACTIVE = 'ACT' INACTIVE = 'INC' CHOICES = ( (ACTIVE, _("active").t...
20.709091
55
0.520193
208
2,278
5.552885
0.389423
0.055411
0
0
0
0
0
0
0
0
0
0.018496
0.287972
2,278
109
56
20.899083
0.693588
0
0
0.081395
0
0
0.132572
0
0
0
0
0
0
1
0
false
0
0.023256
0
0.593023
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
0
0
1
0
0
1
f92c9bc45d2bbf775be978eaebcf7e37111def42
4,437
py
Python
Main_Code.py
Sax-Ted/Eye-Timer
f681dde08dea2291a3624b226152fd503a9c72d1
[ "MIT" ]
1
2019-09-16T13:51:51.000Z
2019-09-16T13:51:51.000Z
Main_Code.py
Sax-Ted/Eye-Timer
f681dde08dea2291a3624b226152fd503a9c72d1
[ "MIT" ]
null
null
null
Main_Code.py
Sax-Ted/Eye-Timer
f681dde08dea2291a3624b226152fd503a9c72d1
[ "MIT" ]
null
null
null
#---------import modules--------- from tkinter import * import time import math import pygame #---------init the window--------- root = Tk() root.geometry("460x665") root.resizable(False, False) root.title("Computer Use Time") root.iconbitmap('icon.ico') #---------set the function to pass--------- def passs...
35.496
95
0.579446
580
4,437
4.282759
0.22069
0.048309
0.044283
0.052335
0.384461
0.35467
0.340177
0.23591
0.042673
0
0
0.042014
0.243633
4,437
124
96
35.782258
0.698153
0.101645
0
0.098039
0
0
0.131169
0
0
0
0
0
0
1
0.039216
false
0.068627
0.039216
0
0.078431
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
005b4e3e0a185a3d6e1ea8560b8c3699450a6e10
607
py
Python
setup.py
kate-melnykova/authentication
676e4b0adc6ae2fa654d8304db22e299b2935803
[ "MIT" ]
1
2020-03-29T00:26:34.000Z
2020-03-29T00:26:34.000Z
setup.py
kate-melnykova/authentication
676e4b0adc6ae2fa654d8304db22e299b2935803
[ "MIT" ]
1
2021-01-25T05:04:05.000Z
2021-01-25T05:04:05.000Z
setup.py
kate-melnykova/authentication
676e4b0adc6ae2fa654d8304db22e299b2935803
[ "MIT" ]
null
null
null
from setuptools import setup from setuptools import find_packages with open("README.md", "r+") as fh: long_description = fh.read() setup( name='authentication', version='1.1.0', packages=find_packages(), package_data={'authentication': ['templates/*']}, install_requires=['Flask >= 1.0', 'pycry...
28.904762
85
0.695222
67
607
6.134328
0.686567
0.145985
0.097324
0.145985
0
0
0
0
0
0
0
0.009728
0.153213
607
20
86
30.35
0.789883
0
0
0
0
0
0.298188
0.042834
0
0
0
0
0
1
0
false
0.055556
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
005bf9769efcdb7af0d166d9a66e32edae36babc
401
py
Python
src/clims/migrations/0012_remove_extensibletype_category.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
src/clims/migrations/0012_remove_extensibletype_category.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
99
2019-05-20T14:16:33.000Z
2021-01-19T09:25:15.000Z
src/clims/migrations/0012_remove_extensibletype_category.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2020-01-09 13:21 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('clims', '0011_auto_20191106_1509'), ] operations = [ migrations.RemoveField( ...
20.05
48
0.620948
43
401
5.581395
0.813953
0
0
0
0
0
0
0
0
0
0
0.111864
0.264339
401
19
49
21.105263
0.701695
0.169576
0
0
1
0
0.151515
0.069697
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
005da458c07c8fa15591972a292ba96040dd380e
1,038
py
Python
payplug/test/test_real_http_query.py
SOGEXIS/payplug-python
f87d823058710f19d2afd6feab1e8a22703d895a
[ "MIT" ]
null
null
null
payplug/test/test_real_http_query.py
SOGEXIS/payplug-python
f87d823058710f19d2afd6feab1e8a22703d895a
[ "MIT" ]
null
null
null
payplug/test/test_real_http_query.py
SOGEXIS/payplug-python
f87d823058710f19d2afd6feab1e8a22703d895a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import sys import pytest from payplug import routes from payplug.network import HttpClient, UrllibRequest, RequestsRequest from payplug.test import TestBase class TestRealHttpQuery(TestBase): @pytest.mark.parametrize("api_version", [None, '2019-08-06']) def test_http_query_requests(sel...
47.181818
112
0.732177
136
1,038
5.338235
0.433824
0.110193
0.057851
0.066116
0.608815
0.608815
0.608815
0.608815
0.608815
0.608815
0
0.029379
0.147399
1,038
21
113
49.428571
0.79096
0.020231
0
0.352941
0
0
0.117241
0
0
0
0
0
0.117647
1
0.117647
false
0
0.294118
0
0.470588
0
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
0
0
0
0
0
0
0
0
0
1
006020c6ab66386501a58d452d932f5ec095d73c
312
py
Python
euctr/crawl/base/test_config.py
jeekim/euctr-tracker-code
5a041bcd188ec089cfadf3e97b64013408177033
[ "MIT" ]
3
2018-09-11T11:35:48.000Z
2020-09-10T10:39:23.000Z
euctr/crawl/base/test_config.py
jeekim/euctr-tracker-code
5a041bcd188ec089cfadf3e97b64013408177033
[ "MIT" ]
61
2018-08-06T14:03:16.000Z
2022-03-17T12:30:42.000Z
euctr/crawl/base/test_config.py
jeekim/euctr-tracker-code
5a041bcd188ec089cfadf3e97b64013408177033
[ "MIT" ]
4
2018-09-11T11:35:53.000Z
2020-12-18T14:21:15.000Z
from pathlib import Path from .config import * from .config import SCRAPY_SETTINGS CACHE_SETTINGS = { 'HTTPCACHE_POLICY': 'scrapy.extensions.httpcache.DummyPolicy', 'HTTPCACHE_ENABLED': True, 'HTTPCACHE_DIR': Path(__file__).parent.parent / 'tests/fixtures' } SCRAPY_SETTINGS.update(CACHE_SETTINGS)
26
68
0.769231
36
312
6.361111
0.555556
0.087336
0.139738
0
0
0
0
0
0
0
0
0
0.125
312
11
69
28.363636
0.838828
0
0
0
0
0
0.317308
0.125
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0062270e9d444b5aed94d5e92514ef947199776d
3,427
py
Python
tests/unit/test_utils.py
shkumagai/python-ndb
b27725e788e0fe18819f1f543657610d598aa9fb
[ "Apache-2.0" ]
137
2019-02-27T05:10:16.000Z
2022-03-09T06:38:36.000Z
tests/unit/test_utils.py
shkumagai/python-ndb
b27725e788e0fe18819f1f543657610d598aa9fb
[ "Apache-2.0" ]
500
2019-02-21T18:33:51.000Z
2022-03-30T11:21:10.000Z
tests/unit/test_utils.py
shkumagai/python-ndb
b27725e788e0fe18819f1f543657610d598aa9fb
[ "Apache-2.0" ]
66
2019-02-21T14:29:42.000Z
2021-11-29T14:18:07.000Z
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
24.478571
81
0.665889
474
3,427
4.691983
0.297468
0.06295
0.079137
0.125899
0.346673
0.191547
0.11241
0.11241
0.071942
0.071942
0
0.018994
0.216516
3,427
139
82
24.654676
0.809311
0.166034
0
0.247059
0
0
0.05663
0.019698
0
0
0
0
0.188235
1
0.235294
false
0
0.070588
0.035294
0.364706
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
0
0
0
0
1
0066f278bd07f959f59396989c9e226e052f1bb2
3,941
py
Python
sdk/python/pulumi_azure/lighthouse/_inputs.py
aangelisc/pulumi-azure
71dd9c75403146e16f7480e5a60b08bc0329660e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/lighthouse/_inputs.py
aangelisc/pulumi-azure
71dd9c75403146e16f7480e5a60b08bc0329660e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/lighthouse/_inputs.py
aangelisc/pulumi-azure
71dd9c75403146e16f7480e5a60b08bc0329660e
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
46.916667
189
0.714793
494
3,941
5.48583
0.190283
0.118819
0.082657
0.095941
0.753506
0.649816
0.550923
0.387454
0.387454
0.318081
0
0.000315
0.194113
3,941
83
190
47.481928
0.85296
0.346359
0
0.081633
1
0
0.141036
0.084704
0
0
0
0
0
1
0.183673
false
0
0.102041
0
0.387755
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
006ae2dc8b2774765fd4ebafc0cddfffb15543c2
3,443
py
Python
roll.py
es3649/script-tools
3eef62dd06fc8b5d700c9df09aaa00d974be1c55
[ "Linux-OpenIB" ]
null
null
null
roll.py
es3649/script-tools
3eef62dd06fc8b5d700c9df09aaa00d974be1c55
[ "Linux-OpenIB" ]
null
null
null
roll.py
es3649/script-tools
3eef62dd06fc8b5d700c9df09aaa00d974be1c55
[ "Linux-OpenIB" ]
null
null
null
#!/usr/bin/env python3 help_str = """ roll is a tool for computing die rolls Pass any number of arguments of the form <number>d<number> The first number refers to the number of dice to roll; The second refers to the number of sides on the die. For example, to roll 5, 6-sided dice, pass '5d6'. It also computes rolls...
29.681034
92
0.616033
552
3,443
3.780797
0.28442
0.043124
0.038333
0.031624
0.192142
0.143268
0.115956
0.092956
0.040249
0.040249
0
0.020276
0.283764
3,443
115
93
29.93913
0.826034
0.318908
0
0.068966
0
0.017241
0.360036
0.015576
0
0
0
0
0
1
0.034483
false
0.051724
0.068966
0
0.137931
0.12069
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0071a60271504a8a063317d622a4258590267234
4,599
py
Python
fp/tests/test_datasets.py
ankushjain2001/FairPrep
6c87a6d07a5789208b4e060ef996f341908db49f
[ "Apache-2.0" ]
8
2020-07-01T20:44:26.000Z
2021-07-27T01:43:26.000Z
fp/tests/test_datasets.py
ankushjain2001/FairPrep
6c87a6d07a5789208b4e060ef996f341908db49f
[ "Apache-2.0" ]
12
2020-04-13T15:12:48.000Z
2022-02-10T01:22:49.000Z
fp/tests/test_datasets.py
ankushjain2001/FairPrep
6c87a6d07a5789208b4e060ef996f341908db49f
[ "Apache-2.0" ]
20
2020-04-11T06:55:27.000Z
2020-06-18T16:48:08.000Z
import unittest from fp.traindata_samplers import CompleteData from fp.missingvalue_handlers import CompleteCaseAnalysis from fp.scalers import NamedStandardScaler from fp.learners import NonTunedLogisticRegression, NonTunedDecisionTree from fp.pre_processors import NoPreProcessing from fp.post_processors impor...
45.534653
124
0.672972
313
4,599
9.594249
0.169329
0.065268
0.041958
0.048951
0.645355
0.615385
0.615385
0.615385
0.615385
0.615385
0
0.002037
0.252881
4,599
100
125
45.99
0.871944
0
0
0.622222
0
0
0.001778
0
0
0
0.009335
0
0
1
0.077778
false
0
0.111111
0
0.2
0
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
0
0
0
0
0
0
0
0
0
1
0082b9c0938cf704445277374236934c4d00b948
4,474
py
Python
tests/test_base.py
cluster311/sss-beneficiarios
bc55c916f69792b8a3518ee4ab7d734016b018bd
[ "MIT" ]
null
null
null
tests/test_base.py
cluster311/sss-beneficiarios
bc55c916f69792b8a3518ee4ab7d734016b018bd
[ "MIT" ]
1
2020-08-20T01:39:32.000Z
2020-08-20T01:39:32.000Z
tests/test_base.py
cluster311/sss-beneficiarios
bc55c916f69792b8a3518ee4ab7d734016b018bd
[ "MIT" ]
1
2020-08-18T18:40:02.000Z
2020-08-18T18:40:02.000Z
from sss_beneficiarios_hospitales.data import DataBeneficiariosSSSHospital def test_query_afiliado(): dbh = DataBeneficiariosSSSHospital(user='FAKE', password='FAKE') res = dbh.query(dni='full-afiliado') assert res['ok'] data = res['resultados'] assert data['title'] == "Superintendencia de Servici...
46.604167
136
0.589852
569
4,474
4.58348
0.235501
0.096626
0.15184
0.040261
0.690951
0.688267
0.656825
0.628451
0.578604
0.578604
0
0.039368
0.250559
4,474
95
137
47.094737
0.738443
0
0
0.506329
0
0
0.376034
0.011178
0
0
0
0
0.658228
1
0.037975
false
0.037975
0.012658
0
0.050633
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
00840e9b195198505227c796727bb2d8563846d9
4,358
py
Python
pyservices/generated/users/user_pb2.py
makkalot/eskit-example-microservice
5873ee27d1486ebb4617bf3026c2d983ff300a05
[ "BSD-2-Clause" ]
null
null
null
pyservices/generated/users/user_pb2.py
makkalot/eskit-example-microservice
5873ee27d1486ebb4617bf3026c2d983ff300a05
[ "BSD-2-Clause" ]
null
null
null
pyservices/generated/users/user_pb2.py
makkalot/eskit-example-microservice
5873ee27d1486ebb4617bf3026c2d983ff300a05
[ "BSD-2-Clause" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: users/user.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 _re...
39.981651
457
0.746214
591
4,358
5.245347
0.253807
0.049032
0.046452
0.049677
0.47
0.407419
0.351935
0.351935
0.327419
0.327419
0
0.038532
0.124598
4,358
108
458
40.351852
0.77405
0.048876
0
0.370787
1
0.011236
0.201015
0.158492
0
0
0
0
0
1
0
false
0
0.067416
0
0.067416
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
008b97a56703719200effba03d67f8ab4c7fb7dd
11,411
py
Python
start_mirt_pipeline.py
hmirin/guacamole
3b905f498f1b921c18483c4d928196f8147dd264
[ "MIT" ]
141
2015-01-13T07:29:08.000Z
2021-09-07T23:44:02.000Z
start_mirt_pipeline.py
hmirin/guacamole
3b905f498f1b921c18483c4d928196f8147dd264
[ "MIT" ]
9
2015-04-01T12:52:02.000Z
2016-10-21T22:25:32.000Z
start_mirt_pipeline.py
hmirin/guacamole
3b905f498f1b921c18483c4d928196f8147dd264
[ "MIT" ]
69
2015-02-03T00:28:19.000Z
2022-03-03T14:12:39.000Z
#!/usr/bin/env python """This file will take you all the way from a CSV of student performance on test items to trained parameters describing the difficulties of the assessment items. The parameters can be used to identify the different concepts in your assessment items, and to drive your own adaptive test. The mirt_en...
41.494545
79
0.673999
1,501
11,411
4.976682
0.237175
0.041232
0.04324
0.022892
0.172021
0.125167
0.064123
0.055556
0.047523
0.047523
0
0.002515
0.233459
11,411
274
80
41.645985
0.851492
0.059416
0
0.104972
0
0
0.269808
0.008894
0
0
0
0
0
0
null
null
0.005525
0.060773
null
null
0.071823
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
1
0
0
0
0
0
0
0
0
1
00948efefb1c084e6f2ec97eeae1a383e073b268
1,447
py
Python
2.py
envizzion/raspberrypi-sim800l
2f7781a83b0052e7c8dfa519dfc2f1c9364d45a3
[ "MIT" ]
null
null
null
2.py
envizzion/raspberrypi-sim800l
2f7781a83b0052e7c8dfa519dfc2f1c9364d45a3
[ "MIT" ]
null
null
null
2.py
envizzion/raspberrypi-sim800l
2f7781a83b0052e7c8dfa519dfc2f1c9364d45a3
[ "MIT" ]
null
null
null
# SIMSMS1.py import RPi.GPIO as GPIO import serial import time, sys import datetime P_BUTTON = 24 # Button, adapt to your wiring def setup(): GPIO.setmode(GPIO.BOARD) GPIO.setup(P_BUTTON, GPIO.IN, GPIO.PUD_UP) SERIAL_PORT = "/dev/ttyAMA0" # Raspberry Pi 2 #SERIAL_PORT = "/dev/ttyS0" # Raspberry Pi 3 se...
30.145833
62
0.58604
202
1,447
4.163366
0.425743
0.074911
0.071344
0.090369
0.206897
0.178359
0.178359
0.178359
0.097503
0.097503
0
0.032319
0.272979
1,447
48
63
30.145833
0.76711
0.111956
0
0.268293
0
0
0.186667
0.018824
0
0
0
0
0
0
null
null
0
0.097561
null
null
0.097561
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
1
0
0
0
0
0
0
0
0
1
009f0a80bf60f322d28317618d8ccf8dc3263688
1,212
py
Python
isles/api/pingdom.py
michael-ranieri/Misty
d2ed038e20ea7753401eea0c8d60bfa75f0b5a65
[ "MIT" ]
1
2017-02-13T13:22:40.000Z
2017-02-13T13:22:40.000Z
isles/api/pingdom.py
michael-ranieri/Misty
d2ed038e20ea7753401eea0c8d60bfa75f0b5a65
[ "MIT" ]
null
null
null
isles/api/pingdom.py
michael-ranieri/Misty
d2ed038e20ea7753401eea0c8d60bfa75f0b5a65
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (C) 2011 Michael Ranieri <michael.d.ranieri at gmail.com> # System imports import urllib2 import json import base64 # Misty imports import settings_local as settings def allChecks(iterable): for i in iterable: if i['status'] != 'up': return False return ...
23.307692
84
0.584983
141
1,212
4.929078
0.531915
0.064748
0.034532
0
0
0
0
0
0
0
0
0.01837
0.281353
1,212
52
85
23.307692
0.779564
0.096535
0
0
0
0
0.160256
0
0
0
0
0
0
0
null
null
0.03125
0.125
null
null
0.0625
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
1
0
0
0
0
0
0
0
0
1
00a2678e8c0c6067ca58e6b38f1ffdb00f271018
1,011
py
Python
isitpublic/app/routes.py
tmidi/flask-isitpublic
619934170e9a6a6371a00259123791c9a9c7cda3
[ "MIT" ]
null
null
null
isitpublic/app/routes.py
tmidi/flask-isitpublic
619934170e9a6a6371a00259123791c9a9c7cda3
[ "MIT" ]
1
2021-06-01T23:46:28.000Z
2021-06-01T23:46:28.000Z
isitpublic/app/routes.py
tmidi/flask-isitpublic
619934170e9a6a6371a00259123791c9a9c7cda3
[ "MIT" ]
null
null
null
from flask import render_template, request from forms import IpForm from functions import is_valid_ipv4_address, is_valid_ipv6_address, netmask from app import app @app.route('/', methods=['POST', 'GET']) def index(): form = IpForm() if request.method == "POST" and form.validate(): form = IpForm() ...
32.612903
75
0.496538
105
1,011
4.619048
0.333333
0.049485
0.164948
0.206186
0.457732
0.457732
0.457732
0.457732
0.457732
0.457732
0
0.006689
0.408506
1,011
30
76
33.7
0.804348
0
0
0.36
0
0
0.053412
0
0
0
0
0
0
1
0.04
false
0
0.16
0
0.36
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00a3b5e6d18caed0f8dd7f6a51332d38993f85b3
432
py
Python
file.py
iamchess/asdf
2311f681dc63f251770669652f15456371181fc9
[ "MIT" ]
1
2018-01-01T16:05:01.000Z
2018-01-01T16:05:01.000Z
file.py
iamchess/asdf
2311f681dc63f251770669652f15456371181fc9
[ "MIT" ]
null
null
null
file.py
iamchess/asdf
2311f681dc63f251770669652f15456371181fc9
[ "MIT" ]
null
null
null
import pprint import random chessBoard = [[0 for j in range(8)] for i in range(8)] chessBoard[0][0] = "R" pprint.pprint(chessBoard) #rook def move(): x = 0 y = 0 getPosition = [0,0] chessBoard[0][0] = 0 if random.uniform(0, 2) < 1: x = int(random.uniform(0, 7)) else: y = int(ran...
19.636364
54
0.571759
67
432
3.686567
0.38806
0.032389
0.17004
0.186235
0.145749
0
0
0
0
0
0
0.059748
0.263889
432
21
55
20.571429
0.716981
0.009259
0
0.111111
0
0
0.004684
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00a3d96d1787092063a8503a6f56bacddae4b1a7
7,909
py
Python
mailchimp_marketing_asyncio/models/inline_response2001_exports.py
john-parton/mailchimp-asyncio
3865ca0867bec8f537dc1e3256aa3a160c00f8a2
[ "Apache-2.0" ]
null
null
null
mailchimp_marketing_asyncio/models/inline_response2001_exports.py
john-parton/mailchimp-asyncio
3865ca0867bec8f537dc1e3256aa3a160c00f8a2
[ "Apache-2.0" ]
null
null
null
mailchimp_marketing_asyncio/models/inline_response2001_exports.py
john-parton/mailchimp-asyncio
3865ca0867bec8f537dc1e3256aa3a160c00f8a2
[ "Apache-2.0" ]
1
2022-03-09T14:52:22.000Z
2022-03-09T14:52:22.000Z
# coding: utf-8 """ Mailchimp Marketing API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 3.0.74 Contact: apihelp@mailchimp.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import...
30.655039
140
0.609053
924
7,909
5.062771
0.151515
0.056434
0.159042
0.134673
0.527148
0.460667
0.43245
0.311244
0.200941
0.124412
0
0.041181
0.306107
7,909
257
141
30.774319
0.811224
0.4242
0
0.073395
1
0
0.060404
0
0
0
0
0
0
1
0.165138
false
0
0.027523
0
0.330275
0.018349
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00af74f09ef8a0dbcca79694492838a33297598b
759
py
Python
PyLeap_CPB_EyeLights_LED_Glasses_Sparkle/code.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
665
2017-09-27T21:20:14.000Z
2022-03-31T09:09:25.000Z
PyLeap_CPB_EyeLights_LED_Glasses_Sparkle/code.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
641
2017-10-03T19:46:37.000Z
2022-03-30T18:28:46.000Z
PyLeap_CPB_EyeLights_LED_Glasses_Sparkle/code.py
gamblor21/Adafruit_Learning_System_Guides
f5dab4a758bc82d0bfc3c299683fe89dc093912a
[ "MIT" ]
734
2017-10-02T22:47:38.000Z
2022-03-30T14:03:51.000Z
# SPDX-FileCopyrightText: 2021 Rose Hooper # SPDX-License-Identifier: MIT import board from adafruit_led_animation.animation.sparkle import Sparkle from adafruit_led_animation.color import PURPLE from adafruit_led_animation.sequence import AnimationSequence from adafruit_is31fl3741.adafruit_ledglasses import MUST_BUF...
28.111111
76
0.832675
100
759
6.07
0.47
0.098847
0.074135
0.118616
0
0
0
0
0
0
0
0.039531
0.100132
759
26
77
29.192308
0.849195
0.090909
0
0
0
0
0
0
0
0
0.005822
0
0
1
0
false
0
0.352941
0
0.352941
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
0
0
0
0
1
00b3230fd2c97ba5f2aab49c49eddc9971d6ea2a
32,704
py
Python
ipodder/feeds.py
sgrayban/CastPodder
3f49d179c237dda722614e25439162d39328b18a
[ "Apache-2.0" ]
null
null
null
ipodder/feeds.py
sgrayban/CastPodder
3f49d179c237dda722614e25439162d39328b18a
[ "Apache-2.0" ]
null
null
null
ipodder/feeds.py
sgrayban/CastPodder
3f49d179c237dda722614e25439162d39328b18a
[ "Apache-2.0" ]
null
null
null
# # CastPodder feeds module # Copyright (c) 2005-2006 Scott Grayban and the CastPodder Team # # $Id: feeds.py 147 2006-11-07 08:17:03Z sgrayban $ """ CastPodder is Copright © 2005-2006 Scott Grayban Read the file Software_License_Agreement.txt for more info. """ __license__ = "Commercial" import os import sys impor...
36.870349
115
0.556476
3,790
32,704
4.707916
0.187335
0.010761
0.008575
0.010088
0.172561
0.123634
0.086701
0.059463
0.034467
0.027294
0
0.006931
0.347052
32,704
886
116
36.911964
0.828604
0.077238
0
0.207773
0
0.004484
0.139877
0
0
0
0
0.002257
0.004484
0
null
null
0.023916
0.035874
null
null
0.005979
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
1
0
0
0
0
0
0
0
0
1
00c592814d3a6a82ca60b4e9479a3d22c3d03586
2,228
py
Python
modelexp/models/sas/_cube.py
DomiDre/modelexp
1ec25f71e739dac27716f9a8637fa6ab067499b9
[ "MIT" ]
null
null
null
modelexp/models/sas/_cube.py
DomiDre/modelexp
1ec25f71e739dac27716f9a8637fa6ab067499b9
[ "MIT" ]
null
null
null
modelexp/models/sas/_cube.py
DomiDre/modelexp
1ec25f71e739dac27716f9a8637fa6ab067499b9
[ "MIT" ]
null
null
null
from ._saxsModel import SAXSModel from fortSAS import cube from numpy.polynomial.hermite import hermgauss from numpy.polynomial.legendre import leggauss class Cube(SAXSModel): def initParameters(self): self.params.add('a', 100, min=0) self.params.add('sldCore', 40e-6) self.params.add('sldSolvent', 10e-6)...
30.108108
74
0.641382
291
2,228
4.848797
0.202749
0.283487
0.092133
0.04961
0.587527
0.551382
0.474841
0.454996
0.454996
0.454996
0
0.017137
0.188061
2,228
73
75
30.520548
0.762852
0
0
0.467742
0
0
0.143627
0
0
0
0
0
0
1
0.064516
false
0
0.064516
0
0.145161
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00c631feae0b9d2477d32b42161c4a1e7f0db870
1,313
py
Python
kronos_executor/kronos_executor/executor_schedule.py
ecmwf/kronos
4f8c896baa634fc937f866d2bd05b438106c1663
[ "Apache-2.0" ]
4
2020-09-15T15:16:17.000Z
2021-08-17T14:02:28.000Z
kronos_executor/kronos_executor/executor_schedule.py
ecmwf/kronos
4f8c896baa634fc937f866d2bd05b438106c1663
[ "Apache-2.0" ]
4
2020-09-12T07:22:35.000Z
2020-10-13T17:08:35.000Z
kronos_executor/kronos_executor/executor_schedule.py
ecmwf/kronos
4f8c896baa634fc937f866d2bd05b438106c1663
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from kronos_executor.executor import Executor class ExecutorDepsScheduler(Executor): """ An ExecutorDepsScheduler passes a time_schedule of jobs to the real scheduler to be executed. Certain elements of the ExecutorDepsScheduler can be overridden by the user. """ def __init...
29.177778
97
0.568926
144
1,313
5.034722
0.534722
0.037241
0.046897
0.063448
0
0
0
0
0
0
0
0.00119
0.360244
1,313
44
98
29.840909
0.861905
0.272658
0
0
0
0
0
0
0
0
0
0
0
1
0.105263
false
0.052632
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
00c88f3da3a5f45f8dba7a26eba834cb63f918e6
1,376
py
Python
tutorial/snippets/views_rest_mixins.py
BennyJane/django-demo
7d697bd959e94f89cf3ea1b782143d0794efc1fb
[ "MIT" ]
null
null
null
tutorial/snippets/views_rest_mixins.py
BennyJane/django-demo
7d697bd959e94f89cf3ea1b782143d0794efc1fb
[ "MIT" ]
null
null
null
tutorial/snippets/views_rest_mixins.py
BennyJane/django-demo
7d697bd959e94f89cf3ea1b782143d0794efc1fb
[ "MIT" ]
null
null
null
from django.http import Http404 from snippets.models import Snippet from snippets.serializers import SnippetSerializer from rest_framework import status from rest_framework import generics from rest_framework import mixins from rest_framework.views import APIView from rest_framework.response import Response # 使用混入类,...
32.761905
74
0.696221
145
1,376
6.558621
0.37931
0.115668
0.178759
0.11041
0.341746
0.341746
0.243954
0.243954
0.243954
0.243954
0
0.002757
0.209302
1,376
41
75
33.560976
0.871324
0.06468
0
0.275862
0
0
0
0
0
0
0
0
0
1
0.172414
false
0
0.275862
0.172414
0.827586
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
0
1
0
0
0
1
00ca284bc990e058b793eb9bb1b0a180130f855d
3,247
py
Python
listings/syndication/migrations/0001_initial.py
wtrevino/django-listings
0b11548bb86cc2bfca0a09deedcd192c60e884fb
[ "MIT" ]
2
2015-07-28T13:19:18.000Z
2019-04-01T20:13:28.000Z
listings/syndication/migrations/0001_initial.py
wtrevino/django-listings
0b11548bb86cc2bfca0a09deedcd192c60e884fb
[ "MIT" ]
null
null
null
listings/syndication/migrations/0001_initial.py
wtrevino/django-listings
0b11548bb86cc2bfca0a09deedcd192c60e884fb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'FeedType' db.create_table('syndication_feedtype', ( ('id', self.gf('django.db.mo...
47.057971
157
0.594703
357
3,247
5.271709
0.210084
0.072264
0.119022
0.170032
0.596706
0.54729
0.482465
0.448459
0.418704
0.343783
0
0.010522
0.209732
3,247
69
158
47.057971
0.722915
0.061287
0
0.16
0
0
0.434397
0.217692
0
0
0
0
0
1
0.04
false
0
0.08
0
0.18
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00ca45f7d73ae228ec85d33f3986737a1b351c37
1,198
py
Python
0_Strings/operators.py
ChristopherDaigle/udemy_python
8bc6335251c2da4f621d506f5ac580c7c8311fcc
[ "Unlicense" ]
null
null
null
0_Strings/operators.py
ChristopherDaigle/udemy_python
8bc6335251c2da4f621d506f5ac580c7c8311fcc
[ "Unlicense" ]
null
null
null
0_Strings/operators.py
ChristopherDaigle/udemy_python
8bc6335251c2da4f621d506f5ac580c7c8311fcc
[ "Unlicense" ]
null
null
null
# Python has three numeric types: # # 1. int: -1 # Python 3 has no integer max size # # 2. float: -1.0 # Max value is: 1.7976931348623157e+308 # Min value: 2.2250738585072014e-308 # 52 digits of precision # Python 3 also has a "Decimal" data type which is more precise # # 3. complex: i ** 2 a = 12 b = 3 print(a + b) ...
27.227273
113
0.646077
203
1,198
3.79803
0.438424
0.02594
0.072633
0.020752
0.164721
0.164721
0.071336
0
0
0
0
0.084836
0.212855
1,198
43
114
27.860465
0.732768
0.63606
0
0.157895
0
0
0.090686
0
0
0
0
0
0
1
0
false
0
0
0
0
0.789474
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
0
0
0
1
0
1
00d41bfbb42c38fcaea1056a6f90ce2382db7082
453
py
Python
project_dashboard/projects/migrations/0015_auto_20180524_1531.py
KruizerChick/project-dashboard
aa1d3fa713e49049ac7184dbe44a1f915ff56906
[ "MIT" ]
null
null
null
project_dashboard/projects/migrations/0015_auto_20180524_1531.py
KruizerChick/project-dashboard
aa1d3fa713e49049ac7184dbe44a1f915ff56906
[ "MIT" ]
null
null
null
project_dashboard/projects/migrations/0015_auto_20180524_1531.py
KruizerChick/project-dashboard
aa1d3fa713e49049ac7184dbe44a1f915ff56906
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-24 20:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0014_auto_20180524_1438'), ] operations = [ migrations.AlterField( model_name='issue', name='category', ...
23.842105
115
0.629139
48
453
5.8125
0.791667
0
0
0
0
0
0
0
0
0
0
0.091176
0.249448
453
18
116
25.166667
0.729412
0.099338
0
0
1
0
0.189655
0.05665
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00d4d8d567e3388ff8019f0bb66255e44fe68424
458
py
Python
secondstring.py
dssheldon/pands-programs-sds
536e008538627d7765d538a32616ecec1fe53e23
[ "MIT" ]
null
null
null
secondstring.py
dssheldon/pands-programs-sds
536e008538627d7765d538a32616ecec1fe53e23
[ "MIT" ]
null
null
null
secondstring.py
dssheldon/pands-programs-sds
536e008538627d7765d538a32616ecec1fe53e23
[ "MIT" ]
null
null
null
# The objective of the program is to take a string from a user and # return every second character in reverse # Based on Page 32 of "A Whirlwind Tour of Python" by Jake Vanderplas mystring = input('Please input your desired text: ') # Asks users to input a string rev_mystring = mystring[::-2] # starts off on the la...
45.8
144
0.759825
77
458
4.493506
0.597403
0.060694
0.098266
0.150289
0.202312
0.202312
0
0
0
0
0
0.010753
0.187773
458
9
145
50.888889
0.919355
0.740175
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
1
00d6b5f602938142553eea0f36a6627ca801a6e5
1,495
py
Python
Latest/venv/Lib/site-packages/pyface/dock/idock_ui_provider.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-01-09T20:04:31.000Z
2022-01-09T20:04:31.000Z
Latest/venv/Lib/site-packages/pyface/dock/idock_ui_provider.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
1
2022-02-15T12:01:57.000Z
2022-03-24T19:48:47.000Z
Latest/venv/Lib/site-packages/pyface/dock/idock_ui_provider.py
adamcvj/SatelliteTracker
49a8f26804422fdad6f330a5548e9f283d84a55d
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------- # # Copyright (c) 2006, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions ...
38.333333
80
0.445485
123
1,495
5.390244
0.666667
0.049774
0.042232
0.048265
0.120664
0.120664
0.120664
0.120664
0.120664
0
0
0.009901
0.189298
1,495
38
81
39.342105
0.537129
0.779264
0
0
0
0
0.027586
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
00d825fd3b856555b492db619e4c0f9430c3ec08
3,298
py
Python
tests/test_sa_integration.py
ChowNow/elixir
3f154ee21115254923c6661f35240b0a8f86e6bf
[ "MIT" ]
null
null
null
tests/test_sa_integration.py
ChowNow/elixir
3f154ee21115254923c6661f35240b0a8f86e6bf
[ "MIT" ]
null
null
null
tests/test_sa_integration.py
ChowNow/elixir
3f154ee21115254923c6661f35240b0a8f86e6bf
[ "MIT" ]
null
null
null
""" test integrating Elixir entities with plain SQLAlchemy defined classes """ from __future__ import absolute_import from builtins import object from sqlalchemy.orm import * from sqlalchemy import * from elixir import * class TestSQLAlchemyToElixir(object): def setup(self): metadata.bind = "sqlite://" ...
21.555556
78
0.510916
391
3,298
4.196931
0.207161
0.043876
0.045704
0.063985
0.645338
0.617307
0.606947
0.606947
0.606947
0.606947
0
0.023787
0.349909
3,298
152
79
21.697368
0.741604
0.265009
0
0.64557
0
0
0.027708
0
0
0
0
0
0.037975
1
0.088608
false
0.037975
0.063291
0
0.253165
0
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
0
0
0
0
0
0
0
0
0
1
00dad6fb56ff2559790a6d6d4817f2da34572f38
1,876
py
Python
tests/test_client.py
hmarment/rested
526c2c8ab1e0cb51389af12afdcb27bf8ef92b45
[ "MIT" ]
null
null
null
tests/test_client.py
hmarment/rested
526c2c8ab1e0cb51389af12afdcb27bf8ef92b45
[ "MIT" ]
null
null
null
tests/test_client.py
hmarment/rested
526c2c8ab1e0cb51389af12afdcb27bf8ef92b45
[ "MIT" ]
null
null
null
import pytest from rested import Integration, Rested @pytest.fixture(scope='module') def setup_integrations(): """Set up a test resource.""" print('Setting up a test integrations for multiple APIs') return [Integration(name='myapi1'), Integration(name='myapi2'), Integration(name='...
34.109091
79
0.751066
217
1,876
6.211982
0.179724
0.155045
0.133531
0.222552
0.501484
0.417656
0.307122
0.143917
0.060831
0.060831
0
0.006989
0.160981
1,876
54
80
34.740741
0.849428
0.035714
0
0.166667
0
0
0.119911
0
0
0
0
0
0.194444
1
0.194444
false
0
0.055556
0
0.333333
0.083333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
00e373f1ccbc7934dd1dae8de9df708919cb7fe9
5,510
py
Python
quantumflow/transform.py
BastianZim/quantumflow-dev
319aabae7238d5a86d6c24fe5b6803a2f7e706cd
[ "Apache-2.0" ]
51
2019-07-10T18:43:11.000Z
2022-03-28T22:39:45.000Z
quantumflow/transform.py
BastianZim/quantumflow-dev
319aabae7238d5a86d6c24fe5b6803a2f7e706cd
[ "Apache-2.0" ]
10
2021-02-04T22:43:26.000Z
2021-12-07T10:42:03.000Z
quantumflow/transform.py
BastianZim/quantumflow-dev
319aabae7238d5a86d6c24fe5b6803a2f7e706cd
[ "Apache-2.0" ]
6
2021-01-25T03:16:34.000Z
2022-03-17T11:37:00.000Z
# Copyright 2019-, Gavin E. Crooks and the QuantumFlow contributors # # This source code is licensed under the Apache License, Version 2.0 found in # the LICENSE.txt file in the root directory of this source tree. """ QuantumFlow: Translate, transform, and compile circuits. """ # Note: Beta Prototype from typing im...
28.25641
77
0.656261
740
5,510
4.704054
0.217568
0.048262
0.036197
0.032749
0.255674
0.11175
0.11175
0.049124
0.049124
0.049124
0
0.017788
0.245009
5,510
194
78
28.402062
0.81899
0.189111
0
0.239669
0
0
0.000684
0
0
0
0
0.015464
0
1
0.090909
false
0
0.057851
0
0.157025
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
00eb20c43280f5fd3ad80be763f40ec5b780d4ec
172
py
Python
main.py
mftnakrsu/Comparison-of-OCR
abbb731ed83ddcae3cf0a6d95d09e849f5cdeaa7
[ "MIT" ]
10
2022-03-02T20:22:47.000Z
2022-03-20T20:40:48.000Z
main.py
mftnakrsu/Comparison-of-OCR
abbb731ed83ddcae3cf0a6d95d09e849f5cdeaa7
[ "MIT" ]
null
null
null
main.py
mftnakrsu/Comparison-of-OCR
abbb731ed83ddcae3cf0a6d95d09e849f5cdeaa7
[ "MIT" ]
null
null
null
from ocr import OCR ocr=OCR(image_folder="test/") if __name__ == "__main__": ocr.keras_ocr_works() ocr.easyocr_model_works() ocr.pytesseract_model_works()
14.333333
33
0.709302
24
172
4.458333
0.583333
0.11215
0
0
0
0
0
0
0
0
0
0
0.168605
172
11
34
15.636364
0.748252
0
0
0
0
0
0.076471
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
1
00ed289714f1e51718809347eee45bfe4fe42fb8
1,839
py
Python
pygraff/generator.py
cryptolake/Graff
b060bf455ede411cc49da11783aa9601c648e9e4
[ "MIT" ]
1
2021-01-25T22:01:58.000Z
2021-01-25T22:01:58.000Z
pygraff/generator.py
cryptolake/Graff
b060bf455ede411cc49da11783aa9601c648e9e4
[ "MIT" ]
null
null
null
pygraff/generator.py
cryptolake/Graff
b060bf455ede411cc49da11783aa9601c648e9e4
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup from pathlib import Path def gen_prevs(paths, title_tag, preview_tag, max_char, posts_dir): """generate post preview from each blog file :returns: list of post previews """ posts = [] for page in paths: linkp = str(page) posts.append([Path(page).read...
25.541667
77
0.62534
249
1,839
4.437751
0.289157
0.031674
0.0181
0.030769
0.048869
0.048869
0
0
0
0
0
0.002948
0.262099
1,839
71
78
25.901408
0.811349
0.134312
0
0
1
0
0.028791
0
0
0
0
0
0
1
0.068182
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
da9b199ada67b06efe1a6fc809fb8556b825092f
1,035
py
Python
config.py
IntershopCommunicationsAG/ish-monitoring-postgresqldb-exporter
2998e2baaed315c6f545879e03f13430c024e01e
[ "MIT" ]
1
2020-03-04T02:50:04.000Z
2020-03-04T02:50:04.000Z
config.py
IntershopCommunicationsAG/ish-monitoring-postgresqldb-exporter
2998e2baaed315c6f545879e03f13430c024e01e
[ "MIT" ]
null
null
null
config.py
IntershopCommunicationsAG/ish-monitoring-postgresqldb-exporter
2998e2baaed315c6f545879e03f13430c024e01e
[ "MIT" ]
null
null
null
""" This file stores all the possible configurations for the Flask app. Changing configurations like the secret key or the database url should be stored as environment variables and imported using the 'os' library in Python. """ import os class BaseConfig: SQLALCHEMY_TRACK_MODIFICATIONS = False SSL = os.gete...
27.236842
70
0.708213
125
1,035
5.752
0.552
0.077886
0.150209
0.069541
0
0
0
0
0
0
0
0.010702
0.18744
1,035
37
71
27.972973
0.844233
0.21256
0
0.181818
0
0
0.22057
0.034696
0
0
0
0
0
1
0
false
0.045455
0.045455
0
0.863636
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
0
0
1
0
0
1
daa0d2c13dd0120db658af34ae24d7fd24958da5
514
py
Python
pylib/tools/root_helpers.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
5
2019-10-14T01:06:57.000Z
2021-02-02T16:33:06.000Z
pylib/tools/root_helpers.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
pylib/tools/root_helpers.py
gnafit/gna
c1a58dac11783342c97a2da1b19c97b85bce0394
[ "MIT" ]
null
null
null
import ROOT as R class TFileContext(object): """A context for opening a ROOT file""" def __init__(self, filename, mode='read'): self.filename = filename self.mode = mode def __enter__(self): self.file = R.TFile(self.filename, self.mode) if self.file.IsZombie(): ...
30.235294
97
0.626459
67
514
4.597015
0.507463
0.155844
0.103896
0
0
0
0
0
0
0
0
0
0.247082
514
16
98
32.125
0.795866
0.064202
0
0
0
0
0.077895
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.5
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
0
0
0
0
1
daade877ffabd8f6610f5f3cf570095030557e41
6,926
py
Python
cocoa_folder/dealornodeal/neural/rl_trainer.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
12
2021-03-17T05:15:33.000Z
2022-01-19T06:09:21.000Z
cocoa_folder/dealornodeal/neural/rl_trainer.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
2
2021-05-25T07:28:46.000Z
2022-02-11T01:54:43.000Z
cocoa_folder/dealornodeal/neural/rl_trainer.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
4
2021-10-11T03:39:38.000Z
2022-02-01T23:58:50.000Z
import argparse import random import json import numpy as np import copy from collections import defaultdict import torch import torch.nn as nn from torch.autograd import Variable from cocoa.neural.rl_trainer import Statistics from core.controller import Controller from neural.trainer import Trainer from utterance i...
36.072917
117
0.595582
815
6,926
4.888344
0.219632
0.02259
0.017068
0.019076
0.192771
0.170683
0.108936
0.108936
0.108936
0.081325
0
0.012831
0.302339
6,926
191
118
36.26178
0.811672
0.039128
0
0.114865
0
0
0.039458
0.010693
0
0
0
0
0
0
null
null
0
0.087838
null
null
0.067568
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
1
0
0
0
0
0
0
0
0
1
dab490fe1b334111f6343e58283d69a95f8da9b7
549
py
Python
apps/home/migrations/0009_auto_20220206_1717.py
Aimene-BAHRI/ecole_de_formation
35bbd3bb782177b86ea2f4207b60d634436d4c18
[ "MIT" ]
1
2022-01-20T12:57:17.000Z
2022-01-20T12:57:17.000Z
apps/home/migrations/0009_auto_20220206_1717.py
Aimene-BAHRI/ecole_de_formation
35bbd3bb782177b86ea2f4207b60d634436d4c18
[ "MIT" ]
null
null
null
apps/home/migrations/0009_auto_20220206_1717.py
Aimene-BAHRI/ecole_de_formation
35bbd3bb782177b86ea2f4207b60d634436d4c18
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2022-02-06 17:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0008_auto_20220202_1858'), ] operations = [ migrations.RemoveField( model_name='student', name='activities',...
23.869565
105
0.590164
56
549
5.678571
0.714286
0.056604
0.100629
0.125786
0.188679
0
0
0
0
0
0
0.079284
0.287796
549
22
106
24.954545
0.734015
0.081967
0
0.375
1
0
0.155378
0.045817
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dab4d7b09b65e44e1b299fb6ff7e3f9f7e10f428
20,067
py
Python
test/test_dca.py
petbox-dev/dca
5601322d1b52f78f4cc5809b5c7b85b075900560
[ "MIT" ]
36
2020-05-25T13:13:43.000Z
2022-01-05T19:20:51.000Z
test/test_dca.py
petbox-dev/dca
5601322d1b52f78f4cc5809b5c7b85b075900560
[ "MIT" ]
5
2020-07-16T23:10:44.000Z
2021-04-18T17:40:09.000Z
test/test_dca.py
petbox-dev/dca
5601322d1b52f78f4cc5809b5c7b85b075900560
[ "MIT" ]
8
2020-05-29T23:58:47.000Z
2021-05-19T17:14:38.000Z
""" Decline Curve Models Unit Testing Copyright © 2020 David S. Fulford Author ------ David S. Fulford Derrick W. Turk Notes ----- Created on August 5, 2019 """ import sys import warnings from datetime import timedelta import pytest # type: ignore import hypothesis from hypothesis import assume, given, settings, note...
31.305772
104
0.620721
3,268
20,067
3.684517
0.082925
0.017607
0.033635
0.037788
0.759987
0.737646
0.692135
0.63126
0.586247
0.583091
0
0.052293
0.233817
20,067
640
105
31.354688
0.730797
0.116161
0
0.558621
0
0
0.002549
0
0
0
0
0.001563
0.174713
1
0.075862
false
0
0.025287
0.002299
0.124138
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
0
0
0
0
0
0
0
0
1
dab58357d3e866a214a2d6f6b248aff1d505724c
6,517
py
Python
api/server/swagger_server/controllers_impl/catalog_service_controller_impl.py
srishtipithadia/mlx
2fb61a8840696c7ede77cd600caa8922178ec8b0
[ "Apache-2.0" ]
null
null
null
api/server/swagger_server/controllers_impl/catalog_service_controller_impl.py
srishtipithadia/mlx
2fb61a8840696c7ede77cd600caa8922178ec8b0
[ "Apache-2.0" ]
1
2021-09-21T23:31:13.000Z
2021-09-21T23:31:13.000Z
api/server/swagger_server/controllers_impl/catalog_service_controller_impl.py
srishtipithadia/mlx
2fb61a8840696c7ede77cd600caa8922178ec8b0
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 IBM Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
42.875
181
0.677459
792
6,517
5.27399
0.248737
0.050036
0.044769
0.027532
0.351688
0.196074
0.154417
0.089059
0.07661
0.07661
0
0.013268
0.248274
6,517
151
182
43.15894
0.839355
0.213595
0
0.159091
0
0
0.050248
0.010526
0
0
0
0.013245
0
1
0.034091
false
0
0.159091
0
0.25
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
dabb24356b2a5da495f95443a9db22fdca1510d3
371
py
Python
simuvex/procedures/libc___so___6/recvfrom.py
praetorian-inc/simuvex
7984bc4432a1c2126e6f2eb963c935e9f6a98da5
[ "BSD-2-Clause" ]
8
2016-01-19T03:13:32.000Z
2020-11-03T09:30:05.000Z
simuvex/procedures/libc___so___6/recvfrom.py
praetorian-inc/simuvex
7984bc4432a1c2126e6f2eb963c935e9f6a98da5
[ "BSD-2-Clause" ]
null
null
null
simuvex/procedures/libc___so___6/recvfrom.py
praetorian-inc/simuvex
7984bc4432a1c2126e6f2eb963c935e9f6a98da5
[ "BSD-2-Clause" ]
3
2017-04-24T00:22:30.000Z
2020-11-03T09:30:06.000Z
import simuvex ###################################### # recvfrom ###################################### class recvfrom(simuvex.SimProcedure): #pylint:disable=arguments-differ def run(self, fd, dst, length, flags): #pylint:disable=unused-argument data = self.state.posix.read(fd, length) self.s...
26.5
74
0.54717
37
371
5.486486
0.675676
0.128079
0
0
0
0
0
0
0
0
0
0
0.15903
371
13
75
28.538462
0.650641
0.185984
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
0
0
0
1
0
0
1
dac451ef59ab7fc84f800eab2b0e8f04457ed772
285
py
Python
tests/unittests/load_functions/outside_main_code_in_main/main.py
anandagopal6/azure-functions-python-worker
e4adb351e5454c093fcefbf0fb84f200af32f386
[ "MIT" ]
277
2018-01-25T23:13:03.000Z
2022-02-22T06:12:04.000Z
tests/unittests/load_functions/outside_main_code_in_main/main.py
anandagopal6/azure-functions-python-worker
e4adb351e5454c093fcefbf0fb84f200af32f386
[ "MIT" ]
731
2018-01-18T18:54:38.000Z
2022-03-29T00:01:46.000Z
tests/unittests/load_functions/outside_main_code_in_main/main.py
YunchuWang/azure-functions-python-worker
1f23e038a506c6412e4efbf07eb471a6afab0c2a
[ "MIT" ]
109
2018-01-18T02:22:57.000Z
2022-02-15T18:59:54.000Z
# This function app is to ensure the code outside main() function # should only get loaded once in __init__.py from .count import invoke, get_invoke_count, reset_count invoke() def main(req): count = get_invoke_count() reset_count() return f'executed count = {count}'
20.357143
65
0.726316
43
285
4.581395
0.651163
0.091371
0.142132
0.192893
0.243655
0
0
0
0
0
0
0
0.192982
285
13
66
21.923077
0.856522
0.37193
0
0
0
0
0.136364
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
daca5ceec2b8c685c63a5509f450f8d0d8537a64
9,687
py
Python
src/tests/kafka_test.py
dixonwhitmire/lib-kafka
a29ec606278ad1ed8c5ada418e45593fe71dbaec
[ "Apache-2.0" ]
null
null
null
src/tests/kafka_test.py
dixonwhitmire/lib-kafka
a29ec606278ad1ed8c5ada418e45593fe71dbaec
[ "Apache-2.0" ]
6
2021-11-03T15:17:29.000Z
2021-11-05T14:10:56.000Z
src/tests/kafka_test.py
dixonwhitmire/lib-kafka
a29ec606278ad1ed8c5ada418e45593fe71dbaec
[ "Apache-2.0" ]
1
2021-11-01T12:21:11.000Z
2021-11-01T12:21:11.000Z
import importlib import os from unittest import mock from unittest.mock import MagicMock from lib_kafka import logging_codes import unittest import concurrent.futures from confluent_kafka.admin import ClusterMetadata, TopicMetadata, PartitionMetadata from confluent_kafka import KafkaError, KafkaException from tests imp...
45.693396
111
0.678332
1,166
9,687
5.333619
0.11235
0.071394
0.072037
0.042451
0.757678
0.739347
0.691429
0.656376
0.600257
0.5726
0
0.008299
0.216372
9,687
211
112
45.909953
0.81096
0.024053
0
0.637931
0
0
0.127448
0.050704
0
0
0
0
0.356322
1
0.034483
false
0
0.063218
0.005747
0.109195
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
0
0
0
0
0
0
0
0
1
dacb9aa49a3da8e84def8f26d8ef44e01bbdc938
1,135
py
Python
education/HADDOCK24/shape-small-molecule/scripts/lig2shape.py
amjjbonvin/haddocking.github.io
a31d4c6378b4046b91fc98ea10fe0dea0113583a
[ "MIT" ]
12
2015-05-22T14:55:31.000Z
2021-05-28T06:01:52.000Z
education/HADDOCK24/shape-small-molecule/scripts/lig2shape.py
amjjbonvin/haddocking.github.io
a31d4c6378b4046b91fc98ea10fe0dea0113583a
[ "MIT" ]
38
2015-02-07T19:14:28.000Z
2022-02-09T21:41:00.000Z
education/HADDOCK24/shape-small-molecule/scripts/lig2shape.py
amjjbonvin/haddocking.github.io
a31d4c6378b4046b91fc98ea10fe0dea0113583a
[ "MIT" ]
22
2015-02-03T21:02:32.000Z
2020-06-20T16:36:03.000Z
import sys def format_shape_pharm(lig): ligFile = open(lig, 'r') for line in ligFile: if 'HETATM' in line or 'ATOM' in line: resi = int(line.split( )[1]) x = float(line.split( )[6]) y = float(line.split( )[7]) z = float(line.split( )[8]) phar...
29.102564
139
0.4837
165
1,135
3.230303
0.266667
0.15197
0.183865
0.045028
0.652908
0.652908
0.652908
0.652908
0.577861
0.577861
0
0.050265
0.333921
1,135
38
140
29.868421
0.654762
0
0
0.551724
0
0.068966
0.176211
0
0
0
0
0
0
1
0.068966
false
0
0.034483
0
0.103448
0.137931
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
0
0
0
0
1
dace4bba611877e0515a9a95a67cc9b10163a7ed
1,900
py
Python
boatsandjoy_api/bookings/payment_gateways.py
bertini36/boatsandjoy-api
b22d82eb02947218d924b381160d622ded9e1d98
[ "MIT" ]
null
null
null
boatsandjoy_api/bookings/payment_gateways.py
bertini36/boatsandjoy-api
b22d82eb02947218d924b381160d622ded9e1d98
[ "MIT" ]
12
2021-04-08T21:18:37.000Z
2022-03-12T00:39:39.000Z
boatsandjoy_api/bookings/payment_gateways.py
bertini36/boatsandjoy-api
b22d82eb02947218d924b381160d622ded9e1d98
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from decimal import Decimal import stripe from django.conf import settings class PaymentGateway(ABC): @classmethod @abstractmethod def generate_checkout_session_id( cls, name: str, description: str, price: float, ) -> str: pa...
26.388889
63
0.581579
188
1,900
5.632979
0.303191
0.05949
0.045326
0.064212
0.442871
0.389991
0.336166
0.262512
0.262512
0.262512
0
0.003123
0.325789
1,900
71
64
26.760563
0.823575
0
0
0.459016
1
0
0.058947
0.017368
0
0
0
0
0
1
0.114754
false
0.04918
0.065574
0.032787
0.278689
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dad0b017e3c0a84413abfc9dc244caaf1318e0d0
2,377
py
Python
game-server/src/server/models.py
joniumGit/distributed-minesweeper
2a0211642fbb4010369373c5fb4427e0fb0a9b7e
[ "MIT" ]
null
null
null
game-server/src/server/models.py
joniumGit/distributed-minesweeper
2a0211642fbb4010369373c5fb4427e0fb0a9b7e
[ "MIT" ]
null
null
null
game-server/src/server/models.py
joniumGit/distributed-minesweeper
2a0211642fbb4010369373c5fb4427e0fb0a9b7e
[ "MIT" ]
null
null
null
import os from typing import List, Optional, Iterable from minesweeper.game import Minesweeper, Status from pydantic import BaseModel, conint, Field, root_validator, validator MAX_WIDTH = int(os.getenv('DS_MAX_WIDTH', '256')) MAX_HEIGHT = int(os.getenv('DS_MAX_HEIGHT', '256')) class Square(BaseModel): x: conint...
25.021053
101
0.624316
292
2,377
4.924658
0.328767
0.038943
0.043811
0.022949
0.198887
0.126565
0.100139
0.040334
0.040334
0
0
0.010759
0.257047
2,377
94
102
25.287234
0.803511
0.020194
0
0.183099
0
0
0.081562
0.009111
0
0
0
0
0.028169
1
0.070423
false
0
0.098592
0.014085
0.535211
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
0
0
1
0
0
1
dad7b5ac740461f72008357001ee09cbd9ae5b51
11,878
py
Python
src/sst/elements/scheduler/simulations/python_scripts_Jan_2017/emberLoad.py
feldergast/sst-elements
a7abc015aed709feb05821d269d233110569fd72
[ "BSD-3-Clause" ]
2
2019-06-10T15:32:03.000Z
2019-06-11T14:17:32.000Z
src/sst/elements/scheduler/simulations/python_scripts_Jan_2017/emberLoad.py
feldergast/sst-elements
a7abc015aed709feb05821d269d233110569fd72
[ "BSD-3-Clause" ]
39
2016-01-06T15:08:15.000Z
2020-06-03T18:12:31.000Z
src/sst/elements/scheduler/simulations/python_scripts_Jan_2017/emberLoad.py
feldergast/sst-elements
a7abc015aed709feb05821d269d233110569fd72
[ "BSD-3-Clause" ]
2
2021-05-23T02:28:02.000Z
2021-09-08T13:38:46.000Z
import sys,getopt #sys.path.insert(0, 'PATH') sys.path.insert(0, '/mnt/nokrb/fkaplan3/SST/git/sst/sst-elements/src/sst/elements/ember/test') import sst from sst.merlin import * import loadInfo from loadInfo import * import networkConfig from networkConfig import * import random import defaultParams import defau...
28.080378
104
0.651204
1,268
11,878
6.031546
0.205047
0.010983
0.024712
0.026151
0.185539
0.134676
0.116109
0.075837
0.075837
0.065115
0
0.009775
0.207611
11,878
422
105
28.146919
0.802805
0.018606
0
0.14939
0
0.006098
0.192483
0.026459
0
0
0.000876
0
0.003049
0
null
null
0
0.042683
null
null
0.045732
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
1
0
0
0
0
0
0
0
0
1
daea6120e571d295ac344eea980e55d9e73947a1
455
py
Python
account/migrations/0002_account_statut.py
Rizvane95140/Educollab
c83dc667c1fcfee10172609b000ebc252bac2dd0
[ "MIT" ]
null
null
null
account/migrations/0002_account_statut.py
Rizvane95140/Educollab
c83dc667c1fcfee10172609b000ebc252bac2dd0
[ "MIT" ]
null
null
null
account/migrations/0002_account_statut.py
Rizvane95140/Educollab
c83dc667c1fcfee10172609b000ebc252bac2dd0
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-13 19:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0001_initial'), ] operations = [ migrations.AddField( model_name='account', name='statut', fi...
23.947368
131
0.597802
47
455
5.723404
0.787234
0
0
0
0
0
0
0
0
0
0
0.061947
0.254945
455
18
132
25.277778
0.731563
0.098901
0
0
1
0
0.17402
0
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
daecdd41c161880a68f895de2cbc6281b6b5aeab
681
py
Python
src/my_project/easy_problems/from51to100/binary_tree_preorder_traversal.py
ivan1016017/LeetCodeAlgorithmProblems
f617f30201fb1cd53e32de35084fdeb88ef36023
[ "MIT" ]
null
null
null
src/my_project/easy_problems/from51to100/binary_tree_preorder_traversal.py
ivan1016017/LeetCodeAlgorithmProblems
f617f30201fb1cd53e32de35084fdeb88ef36023
[ "MIT" ]
1
2021-09-22T12:26:14.000Z
2021-09-22T12:26:14.000Z
src/my_project/easy_problems/from51to100/binary_tree_preorder_traversal.py
ivan1016017/LeetCodeAlgorithmProblems
454284b76634cc34ed41f7fa30d857403cedf1bf
[ "MIT" ]
null
null
null
from typing import List # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def __init__(self): self.temp = [] def preorderTraversal(self, root: TreeNode) -...
26.192308
61
0.643172
82
681
5.243902
0.414634
0.055814
0.051163
0
0
0
0
0
0
0
0
0.005894
0.25257
681
26
62
26.192308
0.8389
0.049927
0
0
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.421053
0.052632
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
0
0
0
0
1