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
8dd6a32e4ca88d6bab0df8f1fd32541faef46719
206
py
Python
src/router.py
atnanasi/depression
2271c2fe4f386f760b094e2d816427db91713185
[ "MIT" ]
null
null
null
src/router.py
atnanasi/depression
2271c2fe4f386f760b094e2d816427db91713185
[ "MIT" ]
null
null
null
src/router.py
atnanasi/depression
2271c2fe4f386f760b094e2d816427db91713185
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, redirect, url_for app = Flask("depression") @app.route('/') def index(): return render_template('index.html') def run(): app.run(host='0.0.0.0')
20.6
68
0.684466
31
206
4.451613
0.612903
0.043478
0.043478
0
0
0
0
0
0
0
0
0.022599
0.140777
206
10
69
20.6
0.757062
0
0
0
0
0
0.135266
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
8deaef168523c2d4d964ee170407215214338d7a
348
py
Python
tinifycli/function_call_trace.py
aheadlead/tinify-cli
37d1008d306d3f6459e4f6d72297c335a942cc1b
[ "MIT" ]
8
2016-12-07T01:56:03.000Z
2021-01-04T16:14:54.000Z
tinifycli/function_call_trace.py
aheadlead/tinify-cli
37d1008d306d3f6459e4f6d72297c335a942cc1b
[ "MIT" ]
null
null
null
tinifycli/function_call_trace.py
aheadlead/tinify-cli
37d1008d306d3f6459e4f6d72297c335a942cc1b
[ "MIT" ]
3
2016-03-25T15:07:38.000Z
2020-01-30T19:39:06.000Z
# coding=utf-8 import logging LOGGER = logging.getLogger('tinify-cli') def tracecall(func): ''' 在日志上打出函数呼叫和返回的情况 ''' def new_func(*args, **kwargs): ''' 待返回的函数 ''' LOGGER.debug(u'进入 ' + func.__name__) ret = func(*args, **kwargs) LOGGER.debug(u'离开 ' + func.__name__) retu...
20.470588
44
0.58908
41
348
4.756098
0.585366
0.071795
0.14359
0
0
0
0
0
0
0
0
0.003876
0.258621
348
16
45
21.75
0.751938
0.112069
0
0
0
0
0.054237
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8dfa8859a51a4de20dcd90321d772e72693bb123
60
py
Python
python/mpl_defaults.py
willettk/rgz-analysis
11c34b1b2d0eb8b9c1c71757e6e2f771c169e993
[ "MIT" ]
3
2016-02-23T01:24:38.000Z
2017-07-09T03:34:29.000Z
python/mpl_defaults.py
willettk/rgz-analysis
11c34b1b2d0eb8b9c1c71757e6e2f771c169e993
[ "MIT" ]
30
2015-02-24T03:05:54.000Z
2016-06-27T19:36:36.000Z
python/mpl_defaults.py
willettk/rgz-analysis
11c34b1b2d0eb8b9c1c71757e6e2f771c169e993
[ "MIT" ]
3
2016-03-02T02:45:51.000Z
2021-02-23T02:01:34.000Z
# Colors blue = '#377EB8' red = '#E41A1C' green = '#4DAF4A'
12
17
0.6
7
60
5.142857
1
0
0
0
0
0
0
0
0
0
0
0.183673
0.183333
60
4
18
15
0.55102
0.1
0
0
0
0
0.403846
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8dfc4eaebc9268bc03ee0eddaba2d84aa241fb39
449
py
Python
experiments/skipping_scheduling.py
probablytom/bpi_13_python
ef042674d3d40857237511af1fbca59ede97e75e
[ "MIT" ]
null
null
null
experiments/skipping_scheduling.py
probablytom/bpi_13_python
ef042674d3d40857237511af1fbca59ede97e75e
[ "MIT" ]
null
null
null
experiments/skipping_scheduling.py
probablytom/bpi_13_python
ef042674d3d40857237511af1fbca59ede97e75e
[ "MIT" ]
null
null
null
from run_model import run_model from domain_model import set_skip_log as skip_current_action class SkipLogAdvice(object): def should_skip(self, attr): ''' Skip all scheduling actions. :return: Bool indicating whether to activate. ''' return 'schedule' in attr.func_name ...
24.944444
60
0.67706
57
449
5.087719
0.596491
0.082759
0.117241
0
0
0
0
0
0
0
0
0
0.249443
449
17
61
26.411765
0.860534
0.167038
0
0
0
0
0.023392
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
1
0
0
0
0
1
0
0
2
5c06a766369a9b4593eba13da25ccdd1a477a841
286
py
Python
src/models/arch2/train.py
josh-gree/poly2poly
174dc02c57b66bb8fad8918206d3dfd4eca4c2bc
[ "MIT" ]
null
null
null
src/models/arch2/train.py
josh-gree/poly2poly
174dc02c57b66bb8fad8918206d3dfd4eca4c2bc
[ "MIT" ]
null
null
null
src/models/arch2/train.py
josh-gree/poly2poly
174dc02c57b66bb8fad8918206d3dfd4eca4c2bc
[ "MIT" ]
null
null
null
import tensorflow as tf import numpy as np from model import poly2poly sess = tf.Session() model = poly2poly(sess, 'archpoly2poly', '../../../data/processed/train/', '../../../data/processed/test/', '../../../data/processed/val/') model.train(10)
23.833333
74
0.58042
31
286
5.354839
0.580645
0.23494
0
0
0
0
0
0
0
0
0
0.022321
0.216783
286
11
75
26
0.71875
0
0
0
0
0
0.34965
0.304196
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5c0f62b897a10ee36da406f7f8b1e3f0ed2bfb94
1,220
py
Python
configuration.py
Berdugo1994/Tweeter-Search-Engine
ff80707d64b792288b877814d79e39c5b5ceb7ad
[ "MIT" ]
null
null
null
configuration.py
Berdugo1994/Tweeter-Search-Engine
ff80707d64b792288b877814d79e39c5b5ceb7ad
[ "MIT" ]
null
null
null
configuration.py
Berdugo1994/Tweeter-Search-Engine
ff80707d64b792288b877814d79e39c5b5ceb7ad
[ "MIT" ]
null
null
null
class ConfigClass: def __init__(self): # link to a zip file in google drive with your pretrained model self._model_url = "https://drive.google.com/file/d/14VduVhV12k1mgLJMJ0WMhtRlFqwqMKtN/view?usp=sharing" # False/True flag indicating whether the testing system will download # ...
42.068966
111
0.672131
143
1,220
5.601399
0.531469
0.03995
0.052434
0
0
0
0
0
0
0
0
0.006682
0.263934
1,220
28
112
43.571429
0.885301
0.358197
0
0
0
0
0.1834
0
0
0
0
0
0
1
0.25
false
0
0
0.1875
0.5
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
0
1
0
0
0
1
0
0
0
2
5c1fa4a08fb70af9f3ab28162fed8ed3ef080492
968
py
Python
SmartImplicitHub/Blocks/ValueMapping.py
destman0/Smart-Implicit-Hub
ff95d9e297602b71338654f726590e56b70c55a2
[ "BSD-3-Clause" ]
2
2020-02-04T08:58:25.000Z
2020-02-04T08:58:27.000Z
SmartImplicitHub/Blocks/ValueMapping.py
agentff6600/Smart-Implicit-Hub
54af115cba391b6341a43194bc3fc7720010a4a8
[ "BSD-3-Clause" ]
1
2019-12-11T08:15:35.000Z
2019-12-11T08:15:35.000Z
SmartImplicitHub/Blocks/ValueMapping.py
agentff6600/Smart-Implicit-Hub
54af115cba391b6341a43194bc3fc7720010a4a8
[ "BSD-3-Clause" ]
2
2019-12-07T14:17:38.000Z
2019-12-25T12:53:38.000Z
__copyright__ = "Copyright 2019, RISE Research Institutes of Sweden" __author__ = "Naveed Anwar Bhatti and Martina Brachmann" def maprange(a, b, s): ''' Maps an input value to an ouput value depending on a sensors' and actuators's range Parameters ---------- a : tupel (float, float) the s...
24.2
87
0.595041
143
968
3.895105
0.398601
0.025135
0.032316
0.048474
0.211849
0.136445
0.136445
0
0
0
0
0.024355
0.278926
968
40
88
24.2
0.773639
0.336777
0
0
0
0
0.156089
0
0
0
0
0
0
1
0.25
false
0.0625
0
0.0625
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
5c2f60231e7ea47b2e273713c720d4f68643d075
2,450
py
Python
Python/Card Game(Blackjack)/Card.py
bajwa10/Projects-Assignments
4f57dbb8d31765488e0c6689bcb343192aa7bf85
[ "Apache-2.0" ]
null
null
null
Python/Card Game(Blackjack)/Card.py
bajwa10/Projects-Assignments
4f57dbb8d31765488e0c6689bcb343192aa7bf85
[ "Apache-2.0" ]
null
null
null
Python/Card Game(Blackjack)/Card.py
bajwa10/Projects-Assignments
4f57dbb8d31765488e0c6689bcb343192aa7bf85
[ "Apache-2.0" ]
null
null
null
class Card: def __init__(self,rank,suit): # instance recevies two parameters rank and suit self.rank = rank self.suit = suit self.rank_list = ['2', '3', '4', '5', '6', '7', '8', '9', 'T', 'J', 'Q', 'K', 'A'] # a list contains all ranks self.suit_list = ['H', 'C', 'D', 'S'] # a list c...
53.26087
182
0.62898
387
2,450
3.875969
0.235142
0.117333
0.096
0.046667
0.559333
0.549333
0.516
0.48
0.445333
0.445333
0
0.006275
0.28449
2,450
45
183
54.444444
0.849401
0.42898
0
0.361111
0
0
0.029732
0
0
0
0
0
0.055556
1
0.25
false
0
0
0.138889
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
1
0
0
0
2
5c3fb60345aa61b3393bc0f38716bb6c34f8243f
140
py
Python
Inclass Program/6310545566_phawit_week5_ex1_hw.py
HelloYeew/helloyeew-lab-computer-programming-i
60b05072f32f23bab4a336b506ba7f66e52c045d
[ "MIT" ]
null
null
null
Inclass Program/6310545566_phawit_week5_ex1_hw.py
HelloYeew/helloyeew-lab-computer-programming-i
60b05072f32f23bab4a336b506ba7f66e52c045d
[ "MIT" ]
null
null
null
Inclass Program/6310545566_phawit_week5_ex1_hw.py
HelloYeew/helloyeew-lab-computer-programming-i
60b05072f32f23bab4a336b506ba7f66e52c045d
[ "MIT" ]
null
null
null
n = 1 while True: num = int(input(f"Enter value{n}: ")) if num == -99: break n += 1 print(f"You entered {n-1} numbers.")
20
41
0.521429
24
140
3.041667
0.708333
0.082192
0
0
0
0
0
0
0
0
0
0.050505
0.292857
140
7
42
20
0.686869
0
0
0
0
0
0.297872
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3082ba9fb5400dbc64c596504c5c24909a6d41c8
1,357
py
Python
run.py
Reself-C/-
ceea2b39d7da990bc1d4dd9fa39ff559d0738cac
[ "MIT" ]
2
2021-11-12T14:36:55.000Z
2022-01-19T16:40:35.000Z
run.py
Reself-C/ZJUI-ZJE-xingce
ceea2b39d7da990bc1d4dd9fa39ff559d0738cac
[ "MIT" ]
null
null
null
run.py
Reself-C/ZJUI-ZJE-xingce
ceea2b39d7da990bc1d4dd9fa39ff559d0738cac
[ "MIT" ]
null
null
null
from selenium import webdriver from configs import parse_args import time from datetime import datetime def run(args): driver = webdriver.Chrome() driver.get(args.url) time.sleep(1) # 姓名 driver.find_element_by_id('q1').clear() driver.find_element_by_id('q1').send_keys(args.name) #...
27.14
58
0.624908
195
1,357
4.051282
0.328205
0.164557
0.279747
0.312658
0.394937
0.368354
0
0
0
0
0
0.035407
0.229919
1,357
50
59
27.14
0.720574
0.011054
0
0
0
0
0.059088
0
0
0
0
0
0
1
0.027027
false
0
0.108108
0
0.135135
0.027027
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
30882cc81c498dc571777faaf424632c5e28545a
283
py
Python
code/speedlimit.py
kkirigaya/Kattis
29b7180aef70f51ea5b4d064204f70fc6d29d312
[ "MIT" ]
1
2021-06-05T20:52:43.000Z
2021-06-05T20:52:43.000Z
code/speedlimit.py
kkirigaya/Kattis
29b7180aef70f51ea5b4d064204f70fc6d29d312
[ "MIT" ]
null
null
null
code/speedlimit.py
kkirigaya/Kattis
29b7180aef70f51ea5b4d064204f70fc6d29d312
[ "MIT" ]
null
null
null
while True: n = int(input()) if n == -1: break last_elapsed = 0 distance = 0 for _ in range(n): s, t = map(int, input().split()) _t = t - last_elapsed distance += s * _t last_elapsed = t print(distance, "miles")
17.6875
40
0.480565
37
283
3.513514
0.567568
0.253846
0.184615
0
0
0
0
0
0
0
0
0.017442
0.392226
283
15
41
18.866667
0.738372
0
0
0
0
0
0.017668
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
308eeb834b8bc915f2770e0739c00aeca7e5e5fa
1,726
py
Python
orchestrator/tests/PythonTestDriver.py
spacebel/MAJA
3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e
[ "Apache-2.0" ]
57
2020-09-30T08:51:22.000Z
2021-12-19T20:28:30.000Z
orchestrator/tests/PythonTestDriver.py
spacebel/MAJA
3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e
[ "Apache-2.0" ]
34
2020-09-29T21:27:22.000Z
2022-02-03T09:56:45.000Z
orchestrator/tests/PythonTestDriver.py
spacebel/MAJA
3e5d20bc9c744c610e608cfcf1f4c5c738d4de9e
[ "Apache-2.0" ]
14
2020-10-11T13:17:59.000Z
2022-03-09T15:58:19.000Z
# -*- coding: utf-8 -*- # # Copyright (C) 2020 Centre National d'Etudes Spatiales (CNES) # # 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 # # ...
35.958333
99
0.497683
199
1,726
4.18593
0.507538
0.072029
0.090036
0.110444
0.176471
0.176471
0.176471
0.176471
0.176471
0.176471
0
0.011933
0.271727
1,726
47
100
36.723404
0.650756
0.8708
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
3091f6e5bea6d41446cd759bfbe8ab5d96ecdc2d
2,775
py
Python
Turnauswertung-py3/common/models.py
naechtner/turn-events
2c71f8ceb5d6f8280c6c19a6467922a834ae0b02
[ "MIT" ]
null
null
null
Turnauswertung-py3/common/models.py
naechtner/turn-events
2c71f8ceb5d6f8280c6c19a6467922a834ae0b02
[ "MIT" ]
11
2015-06-20T11:51:10.000Z
2017-01-09T07:09:04.000Z
Turnauswertung-py3/common/models.py
naechtner/turn-events
2c71f8ceb5d6f8280c6c19a6467922a834ae0b02
[ "MIT" ]
null
null
null
from django.core.urlresolvers import reverse from django.db import models from django.utils.text import slugify from django.utils.translation import ugettext_lazy class Performance(models.Model): value = models.DecimalField( ugettext_lazy('Value'), null=False, max_digits=5, decimal_places=3, de...
34.259259
98
0.677117
349
2,775
5.237822
0.272206
0.085339
0.088074
0.103392
0.212254
0.071116
0.044858
0
0
0
0
0.016747
0.182342
2,775
80
99
34.6875
0.788894
0.02991
0
0.090909
0
0
0.107515
0
0
0
0
0
0
1
0.145455
false
0
0.072727
0.127273
0.763636
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
1
0
0
2
30935f77f4084126748eae6b81917428fab915f0
24,066
py
Python
Bioinf_functions_original.py
maepz/Bioinformatic_algorithms_coding_challenges
779291a024f34ec7f6b701a04beb92bc48d55726
[ "MIT" ]
null
null
null
Bioinf_functions_original.py
maepz/Bioinformatic_algorithms_coding_challenges
779291a024f34ec7f6b701a04beb92bc48d55726
[ "MIT" ]
null
null
null
Bioinf_functions_original.py
maepz/Bioinformatic_algorithms_coding_challenges
779291a024f34ec7f6b701a04beb92bc48d55726
[ "MIT" ]
null
null
null
# coding: utf-8 # In[1]: '''PatternCount(Text, Pattern) Count the frequency on a pattern(word) in a text(sequence)''' def PatternCount(Text, Pattern): count=0 for n in range(0,(len(Text)-len(Pattern)+1)): if Text[n:n+len(Pattern)]== Pattern: count += 1 print(count) ...
26.504405
113
0.585058
3,334
24,066
4.182663
0.105579
0.034134
0.026533
0.024453
0.563786
0.545572
0.539333
0.528935
0.52664
0.516673
0
0.018576
0.255132
24,066
907
114
26.533627
0.75873
0.093701
0
0.708819
0
0
0.005929
0
0
0
0
0
0
0
null
null
0
0.008319
null
null
0.006656
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
1
0
0
0
0
0
0
0
0
2
309df072b2697876ca53234ff588a68e49d6b19e
9,195
py
Python
sdk/python/pulumi_proxmox/permission/user.py
meyskens/pulumi-proxmox
bf48570690350be68fa554e1cec376212eb449ab
[ "ECL-2.0", "Apache-2.0" ]
16
2021-01-11T11:26:19.000Z
2022-01-23T02:32:34.000Z
sdk/python/pulumi_proxmox/permission/user.py
meyskens/pulumi-proxmox
bf48570690350be68fa554e1cec376212eb449ab
[ "ECL-2.0", "Apache-2.0" ]
2
2021-01-29T08:15:46.000Z
2021-10-17T16:33:19.000Z
sdk/python/pulumi_proxmox/permission/user.py
meyskens/pulumi-proxmox
bf48570690350be68fa554e1cec376212eb449ab
[ "ECL-2.0", "Apache-2.0" ]
4
2021-04-06T00:36:05.000Z
2021-12-16T14:25:07.000Z
# 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 from .. import _utilitie...
39.463519
134
0.613486
1,066
9,195
5.066604
0.136023
0.10998
0.0985
0.059989
0.617108
0.557675
0.529532
0.501018
0.475468
0.461026
0
0.00015
0.27689
9,195
232
135
39.633621
0.812152
0.25503
0
0.302158
1
0
0.107544
0.004428
0
0
0
0
0
1
0.107914
false
0.064748
0.05036
0.014388
0.266187
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
30b1e0908004387605a880b3d3e65a30296f4db0
4,789
py
Python
FluentPython/sequence_hacking_hashing_slicing/vector.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
FluentPython/sequence_hacking_hashing_slicing/vector.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
FluentPython/sequence_hacking_hashing_slicing/vector.py
xu6148152/Binea_Python_Project
d943eb5f4685d08f080b372dcf1a7cbd5d63efed
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- encoding: utf-8 -*- import numbers import operator from array import array import reprlib import math import functools import itertools class Vector: typecode = 'd' def __init__(self, components): self._components = array(self.typecode, components) def __iter__(self)...
25.886486
87
0.577365
593
4,789
4.409781
0.252951
0.048184
0.022945
0.006883
0.131549
0.08413
0.049713
0.033652
0.033652
0
0
0.010798
0.303821
4,789
184
88
26.027174
0.773545
0.009397
0
0.147059
0
0
0.041122
0
0
0
0
0
0
1
0.220588
false
0
0.051471
0.080882
0.514706
0.058824
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
1
0
0
2
30b698a04928c9d0d6a7acb52ec5c668e5d79774
221
py
Python
tools/yaml_config.py
brahim17/bud
0cf3b37ca9e8e37c865c170d3b621ae6e0763672
[ "Apache-2.0" ]
null
null
null
tools/yaml_config.py
brahim17/bud
0cf3b37ca9e8e37c865c170d3b621ae6e0763672
[ "Apache-2.0" ]
null
null
null
tools/yaml_config.py
brahim17/bud
0cf3b37ca9e8e37c865c170d3b621ae6e0763672
[ "Apache-2.0" ]
null
null
null
import confuse as cf def configure(): config = cf.Configuration('bud', __name__) config.set_file('./config.yaml') return config def get_path(): cfg = configure() return str(cfg["directory_path"])
15.785714
46
0.660633
28
221
4.964286
0.678571
0
0
0
0
0
0
0
0
0
0
0
0.20362
221
13
47
17
0.789773
0
0
0
0
0
0.135747
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
30b774c404d4aa647c6f34fe917bdd0a3aba75cc
151
py
Python
supersql/constants/pg.py
rayattack/supersql
0a592e7f303ac18b8df7bebac226b26f38f6d192
[ "MIT" ]
2
2019-11-04T00:19:30.000Z
2020-10-04T01:24:04.000Z
supersql/constants/pg.py
tersoo/supersql
4d20bd72a9de50e485ce79285c355a1a7ac04b55
[ "MIT" ]
2
2021-03-31T14:07:04.000Z
2021-03-31T14:07:20.000Z
supersql/constants/pg.py
tersoo/supersql
4d20bd72a9de50e485ce79285c355a1a7ac04b55
[ "MIT" ]
2
2021-03-30T21:40:14.000Z
2022-03-17T20:52:25.000Z
POSTGRES_DATA_TYPES = { "int2": "smallint", "integer": "integer", "uuid": "uuid", "string": "varchar", "timestamp": "timestamp", }
18.875
29
0.556291
13
151
6.307692
0.769231
0
0
0
0
0
0
0
0
0
0
0.008547
0.225166
151
7
30
21.571429
0.692308
0
0
0
0
0
0.430464
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
30ba7e16134a362402987db1362849a2eef289bd
448
py
Python
server/data/sql/services.py
Neoteroi/Torino
9bac21735ed4e6bdaed6e8b20e2c6b33d76f938c
[ "MIT" ]
7
2021-12-12T09:14:50.000Z
2022-02-06T15:59:57.000Z
server/data/sql/services.py
Neoteroi/Torino
9bac21735ed4e6bdaed6e8b20e2c6b33d76f938c
[ "MIT" ]
5
2021-12-13T20:27:13.000Z
2021-12-14T08:31:11.000Z
server/data/sql/services.py
Neoteroi/Torino
9bac21735ed4e6bdaed6e8b20e2c6b33d76f938c
[ "MIT" ]
1
2021-12-31T18:52:41.000Z
2021-12-31T18:52:41.000Z
from rodi import Container from domain.albums import AlbumsDataProvider from domain.vfs import FileSystemDataProvider from .albums import SQLAlbumsDataProvider from .vfs import SQLFileSystemDataProvider def register_sql_services(container: Container) -> None: # services **MUST** be scoped here! container.ad...
32
75
0.832589
44
448
8.386364
0.477273
0.054201
0.097561
0
0
0
0
0
0
0
0
0
0.113839
448
13
76
34.461538
0.929471
0.073661
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.625
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
1
0
1
0
0
2
30c4748f07e9270f04e320147d7d57f812021cf1
1,545
py
Python
diabetes.py
aryanjalla/diebetesPredictor
28539051f62eff8a3799392d0f35aa6794f8c4f6
[ "MIT" ]
null
null
null
diabetes.py
aryanjalla/diebetesPredictor
28539051f62eff8a3799392d0f35aa6794f8c4f6
[ "MIT" ]
null
null
null
diabetes.py
aryanjalla/diebetesPredictor
28539051f62eff8a3799392d0f35aa6794f8c4f6
[ "MIT" ]
null
null
null
#lmaoo import matplotlib.pyplot as plt import pandas as pd import pylab as pl import numpy as np import quandl af = pd.read_csv('C://Users//Aryan Jalla//OneDrive//Documents//diabetes_csv.csv') af.replace('tested_negative',0) af.replace('tested_positive',1) # af = pd.read_csv("C://Users//Aryan Jalla//OneDri...
30.294118
90
0.664725
208
1,545
4.865385
0.471154
0.075099
0.01581
0.021739
0.315217
0.152174
0.086957
0.086957
0.086957
0.086957
0
0.009834
0.144337
1,545
51
91
30.294118
0.755673
0.744337
0
0
0
0
0.292605
0.141479
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
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
0
0
0
0
1
0
1
0
0
2
30de6e562d96339a760e009e813fc707bb59b762
382
py
Python
Computer science/Programming languages/Python/Basics/Builtins/Any and all/Heads or Tails/exercise.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
Computer science/Programming languages/Python/Basics/Builtins/Any and all/Heads or Tails/exercise.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
Computer science/Programming languages/Python/Basics/Builtins/Any and all/Heads or Tails/exercise.py
chanchanchong/PYTHON-TRACK-IN-HYPERSKILL
462fe08ff4a2b183fd45a0235ab1ec7a788bd54c
[ "MIT" ]
null
null
null
# We have tossed a coin a 6 times and saved the results in a list # called heads_or_tails. The values are integers: 1 stands for a # head, while 0 denotes a tail. # Add some code to find out whether the list has any heads. Do # not print the variable check, just store the result in it. # Fingers crossed check = any(h...
42.444444
75
0.759162
74
382
3.837838
0.662162
0.073944
0.126761
0
0
0
0
0
0
0
0
0.009772
0.196335
382
9
75
42.444444
0.915309
0.887435
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
30e08cea449ab7acbd15ba544931ff2a1f5c9838
2,564
py
Python
games/spiders/weaver.py
winkelmantanner/mmai20-dumbsophomores
bd2c88ea34cf9be83e2efd59abf2adf9a1a056fa
[ "MIT" ]
null
null
null
games/spiders/weaver.py
winkelmantanner/mmai20-dumbsophomores
bd2c88ea34cf9be83e2efd59abf2adf9a1a056fa
[ "MIT" ]
null
null
null
games/spiders/weaver.py
winkelmantanner/mmai20-dumbsophomores
bd2c88ea34cf9be83e2efd59abf2adf9a1a056fa
[ "MIT" ]
null
null
null
# Weaver: A Spiderling that can alter existing Webs by weaving to add or remove silk from the Webs, thus altering its strength. # DO NOT MODIFY THIS FILE # Never try to directly create an instance of this class, or modify its member variables. # Instead, you should only be reading its variables and calling its functio...
37.705882
135
0.673557
355
2,564
4.797183
0.346479
0.023488
0.028186
0.021139
0.472108
0.472108
0.472108
0.472108
0.438051
0.438051
0
0
0.25351
2,564
67
136
38.268657
0.88976
0.687988
0
0.125
0
0
0.025316
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
30eca20c9860c8c3a629db7ba642e1fd4d6af148
1,342
py
Python
2015/python/day25/chal49.py
astonshane/AdventOfCode
25c7380e73eede3f79287de6a9dedc8314ab7965
[ "MIT" ]
null
null
null
2015/python/day25/chal49.py
astonshane/AdventOfCode
25c7380e73eede3f79287de6a9dedc8314ab7965
[ "MIT" ]
null
null
null
2015/python/day25/chal49.py
astonshane/AdventOfCode
25c7380e73eede3f79287de6a9dedc8314ab7965
[ "MIT" ]
null
null
null
import sys import re ''' The voice on the other end of the phone continues with how the codes are actually generated. The first code is 20151125. After that, each code is generated by taking the previous one, multiplying it by 252533, and then keeping the remainder from dividing that value by 33554393. ''' def increm...
26.84
278
0.631893
208
1,342
4.028846
0.427885
0.064439
0.042959
0.033413
0
0
0
0
0
0
0
0.056311
0.232489
1,342
49
279
27.387755
0.757282
0.012668
0
0
1
0.028571
0.127345
0
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.171429
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
1
0
0
0
0
0
0
0
0
2
30ed384d61ee1505b9dd584522cdaf7c6c1cf1ad
671
py
Python
tools/lib-alert-tree/metalk8s/__init__.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
255
2018-08-03T17:32:53.000Z
2022-03-25T21:51:00.000Z
tools/lib-alert-tree/metalk8s/__init__.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
3,259
2018-08-03T00:25:56.000Z
2022-03-31T15:23:11.000Z
tools/lib-alert-tree/metalk8s/__init__.py
SaintLoong/metalk8s
06fa3a731f35ab0f9ad8d3443fd8f8c4e7037432
[ "Apache-2.0" ]
43
2018-08-08T01:47:22.000Z
2022-03-12T17:49:41.000Z
"""MetalK8s hierarchy of alerts.""" from lib_alert_tree.models import Relationship, severity_pair from lib_alert_tree.prometheus import PrometheusRule from .network import NETWORK_WARNING from .nodes import NODE_WARNING, NODE_CRITICAL from .platform import PLATFORM_WARNING, PLATFORM_CRITICAL from .volumes import VOLU...
35.315789
87
0.813711
81
671
6.432099
0.382716
0.026871
0.046065
0.06142
0
0
0
0
0
0
0
0.003361
0.113264
671
18
88
37.277778
0.872269
0.043219
0
0
0
0
0.031447
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
30ff2fcf277abf68844c22c82923de4130bde4b7
11,978
py
Python
a10sdk/core/vpn/vpn_ipsec.py
deepfield/a10sdk-python
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
[ "Apache-2.0" ]
16
2015-05-20T07:26:30.000Z
2021-01-23T11:56:57.000Z
a10sdk/core/vpn/vpn_ipsec.py
deepfield/a10sdk-python
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
[ "Apache-2.0" ]
6
2015-03-24T22:07:11.000Z
2017-03-28T21:31:18.000Z
a10sdk/core/vpn/vpn_ipsec.py
deepfield/a10sdk-python
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
[ "Apache-2.0" ]
23
2015-03-29T15:43:01.000Z
2021-06-02T17:12:01.000Z
from a10sdk.common.A10BaseClass import A10BaseClass class Bind(A10BaseClass): """This class does not support CRUD Operations please use parent. :param tunnel: {"description": "Tunnel interface index", "format": "number", "maximum": 128, "minimum": 1, "type": "number", "$ref": "/axapi/v3/interface/tunnel...
63.042105
1,430
0.646519
1,449
11,978
5.295376
0.139406
0.054737
0.035579
0.019549
0.698423
0.671706
0.671706
0.671706
0.667405
0.667405
0
0.028675
0.173151
11,978
189
1,431
63.375661
0.746062
0.768826
0
0.405405
0
0
0.032635
0.010475
0
0
0
0
0
1
0.081081
false
0
0.013514
0
0.175676
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a50344fb7ee14256b74c2a6d8f9183e4ffb0b760
5,954
py
Python
commons_static.py
d7d4af8/2047
bd6781b9502c6fdbd4745be5084977f679fa3fc5
[ "MIT" ]
35
2020-09-01T00:34:50.000Z
2022-03-29T13:14:15.000Z
commons_static.py
d7d4af8/2047
bd6781b9502c6fdbd4745be5084977f679fa3fc5
[ "MIT" ]
3
2020-08-19T20:47:19.000Z
2021-09-06T23:55:49.000Z
commons_static.py
d7d4af8/2047
bd6781b9502c6fdbd4745be5084977f679fa3fc5
[ "MIT" ]
10
2020-08-07T02:20:09.000Z
2022-01-30T06:43:45.000Z
import os, hashlib, binascii as ba import base64, re import time, math from colors import * # from functools import lru_cache from numba import jit from cachetools.func import * from cachy import * def iif(a,b,c):return b if a else c import json def obj2json(obj): return json.dumps(obj, ensure_ascii=False, sort_...
23.440945
80
0.624958
852
5,954
4.221831
0.308685
0.033361
0.031971
0.015569
0.183764
0.122046
0.116208
0.086183
0.086183
0.066166
0
0.022522
0.239335
5,954
253
81
23.533597
0.771694
0.115721
0
0.215909
0
0.005682
0.07945
0.017189
0
0
0
0
0
1
0.204545
false
0.011364
0.073864
0.107955
0.477273
0.051136
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
eb4e59d1e7d292a293ad5cb2f9ad4a937399a8be
377
py
Python
masq/cms/api/player.py
tehdiplomat/hidden-role-games
e6fdc132700db8d12fd57f08200a499cdc5bef7d
[ "MIT" ]
null
null
null
masq/cms/api/player.py
tehdiplomat/hidden-role-games
e6fdc132700db8d12fd57f08200a499cdc5bef7d
[ "MIT" ]
null
null
null
masq/cms/api/player.py
tehdiplomat/hidden-role-games
e6fdc132700db8d12fd57f08200a499cdc5bef7d
[ "MIT" ]
null
null
null
from rest_framework import generics from rest_framework import permissions from cms.models.Player import Player, PlayerSerializer class PlayerList(generics.ListCreateAPIView): queryset = Player.objects.all() serializer_class = PlayerSerializer class PlayerDetail(generics.RetrieveUpdateDestroyAPIView): queryset = ...
31.416667
58
0.846154
39
377
8.076923
0.487179
0.050794
0.107937
0.146032
0.349206
0.349206
0.349206
0
0
0
0
0
0.092838
377
12
59
31.416667
0.921053
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
eb692e4110e4ef0e669c0d2da4924f938f9a1bf7
131
py
Python
Meus_dessafios/Exercicios2021/ex049.py
DiegoSilvaHoffmann/Curso-de-Python
62824bbd3ed42b256fda77acd49536ec7cf23b29
[ "MIT" ]
null
null
null
Meus_dessafios/Exercicios2021/ex049.py
DiegoSilvaHoffmann/Curso-de-Python
62824bbd3ed42b256fda77acd49536ec7cf23b29
[ "MIT" ]
null
null
null
Meus_dessafios/Exercicios2021/ex049.py
DiegoSilvaHoffmann/Curso-de-Python
62824bbd3ed42b256fda77acd49536ec7cf23b29
[ "MIT" ]
null
null
null
n = int(input('Qual numero voce quer saber a tabuada? ')) for t in range(1, 11): print('{} X {:2} = {}'.format(n, t, (n * t)))
32.75
57
0.541985
24
131
2.958333
0.833333
0.056338
0
0
0
0
0
0
0
0
0
0.038835
0.21374
131
3
58
43.666667
0.650485
0
0
0
0
0
0.40458
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eb79b40becdf00ebe271dc98a573c69abffc8026
946
py
Python
katana/compound.py
eugene-eeo/katana
a95499786c39b93edbcc1987340bcf4b9069b100
[ "MIT" ]
null
null
null
katana/compound.py
eugene-eeo/katana
a95499786c39b93edbcc1987340bcf4b9069b100
[ "MIT" ]
null
null
null
katana/compound.py
eugene-eeo/katana
a95499786c39b93edbcc1987340bcf4b9069b100
[ "MIT" ]
null
null
null
from katana.utils import Node, Pair, prepare from katana.term import null def sequence(*terms): def fn(pair): for each in terms: pair = each(pair) return pair return fn def group(expr): def fn(pair): # we use an empty pair to 'capture' the nodes # produced by ...
19.708333
53
0.530655
117
946
4.290598
0.393162
0.039841
0.071713
0.047809
0.083665
0
0
0
0
0
0
0.010381
0.389006
946
47
54
20.12766
0.858131
0.078224
0
0.4
0
0
0
0
0
0
0
0
0
1
0.257143
false
0.028571
0.057143
0.028571
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
eb7ce3c241bbd8d84f52fc55688d7c71cbb1bc35
1,074
py
Python
Day 4/Puzzle 2.py
rookuu/AdventOfCode-2015
b94e98f5711d0901412b22342395457a8185bc10
[ "MIT" ]
null
null
null
Day 4/Puzzle 2.py
rookuu/AdventOfCode-2015
b94e98f5711d0901412b22342395457a8185bc10
[ "MIT" ]
null
null
null
Day 4/Puzzle 2.py
rookuu/AdventOfCode-2015
b94e98f5711d0901412b22342395457a8185bc10
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Solution to Day 4 - Puzzle 2 of the Advent Of Code 2015 series of challenges. --- Day 4: The Ideal Stocking Stuffer --- Solution must generate sequences of MD5 Hashes in Hex, using the conjugation of a secret key (given in the puzzle) and a number. The goal is to find the lowest number than...
25.571429
118
0.659218
159
1,074
4.45283
0.641509
0.011299
0.042373
0.050847
0
0
0
0
0
0
0
0.027446
0.219739
1,074
41
119
26.195122
0.817422
0.212291
0
0
1
0
0.259053
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
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
1
0
0
0
0
0
0
0
0
2
eb8e025e5893358354a8291dfa1959b4b35d1f72
1,055
py
Python
tests/test_password_requirements.py
gitter-badger/passwd
4dc3be61ae578a0ddab22744784c30bbaf4a69d9
[ "MIT" ]
null
null
null
tests/test_password_requirements.py
gitter-badger/passwd
4dc3be61ae578a0ddab22744784c30bbaf4a69d9
[ "MIT" ]
null
null
null
tests/test_password_requirements.py
gitter-badger/passwd
4dc3be61ae578a0ddab22744784c30bbaf4a69d9
[ "MIT" ]
null
null
null
from passwd import PasswordRequirements def test_min_length(): length_8 = PasswordRequirements(min_length=8) assert length_8.check("abcd1234") assert not length_8.check("abc123") # No minimum characters requirement if not specified assert PasswordRequirements().check("abc123") def test_min_dig...
25.731707
72
0.734597
145
1,055
5.068966
0.227586
0.097959
0.088435
0.095238
0.321088
0.238095
0.2
0.085714
0.085714
0
0
0.064117
0.157346
1,055
40
73
26.375
0.762655
0.047393
0
0
0
0
0.079761
0
0
0
0
0
0.625
1
0.166667
false
0.25
0.041667
0
0.208333
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
1
0
0
0
0
0
2
eb93180d23d186f1e37210d412a68f4ac775f24a
252
py
Python
apps/follow_system/admin.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
48
2018-04-13T13:00:10.000Z
2020-03-17T23:35:23.000Z
apps/follow_system/admin.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
77
2018-03-25T13:17:12.000Z
2020-08-11T08:24:49.000Z
apps/follow_system/admin.py
coogger/coogger
9e5e3ca172d8a14272948284a6822000b119119c
[ "MIT" ]
35
2018-03-30T21:43:21.000Z
2020-08-11T05:51:46.000Z
from django.contrib.admin import ModelAdmin, site from .models import Follow class FollowAdmin(ModelAdmin): list_display = ["user"] list_display_links = list_display filter_horizontal = ["following"] site.register(Follow, FollowAdmin)
19.384615
49
0.757937
29
252
6.413793
0.655172
0.177419
0
0
0
0
0
0
0
0
0
0
0.154762
252
12
50
21
0.873239
0
0
0
0
0
0.051587
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
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
1
0
0
2
eb95f1ab87d04cd0574e1b11b3c44d0c9592d55b
2,069
py
Python
pycspr/factory/state.py
MrKrautee/casper-python-sdk
13e9da83de8892583da7ada91e4231e6f85e5e13
[ "Apache-2.0" ]
2
2021-10-05T07:50:20.000Z
2021-10-06T09:58:19.000Z
pycspr/factory/state.py
MrKrautee/casper-python-sdk
13e9da83de8892583da7ada91e4231e6f85e5e13
[ "Apache-2.0" ]
null
null
null
pycspr/factory/state.py
MrKrautee/casper-python-sdk
13e9da83de8892583da7ada91e4231e6f85e5e13
[ "Apache-2.0" ]
null
null
null
from pycspr.types import CLAccessRights from pycspr.types import UnforgeableReference from pycspr.types import DictionaryIdentifier_AccountNamedKey from pycspr.types import DictionaryIdentifier_ContractNamedKey from pycspr.types import DictionaryIdentifier_SeedURef from pycspr.types import DictionaryIdentifier_UniqueK...
32.328125
72
0.754954
233
2,069
6.424893
0.240343
0.069472
0.06012
0.084168
0.511022
0.356045
0.334001
0.183033
0.153641
0.085504
0
0
0.17448
2,069
63
73
32.84127
0.876464
0.351861
0
0.133333
0
0
0.000794
0
0
0
0
0.063492
0
1
0.166667
false
0.066667
0.2
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
eb9aca23cd9eb9a3adbe7efbdbb4b5a0a2537075
290
py
Python
zeekscript/error.py
zeek/zeekscript
9f48f8912c7f157e082d3d0ddfd9d749d9bb7592
[ "BSD-3-Clause" ]
null
null
null
zeekscript/error.py
zeek/zeekscript
9f48f8912c7f157e082d3d0ddfd9d749d9bb7592
[ "BSD-3-Clause" ]
8
2022-03-15T00:45:03.000Z
2022-03-29T02:54:25.000Z
zeekscript/error.py
ckreibich/zeekscript
66eabd9b92cdfac5b615d4b1983392d184ed546b
[ "BSD-3-Clause" ]
1
2022-03-15T00:24:03.000Z
2022-03-15T00:24:03.000Z
"""Exception hierarchy for the zeekscript package.""" class Error(Exception): """Base class for all zeekscript errors.""" class FileError(Error): """System errors while processing script files""" class ParserError(Error): """A hard parsing error, producing no parse tree."""
26.363636
56
0.710345
35
290
5.885714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.162069
290
10
57
29
0.847737
0.606897
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
eb9aeaeca3acf0901c1cf5d2512bfa72c4037e8b
500
py
Python
tests/r/test_slid.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
tests/r/test_slid.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
tests/r/test_slid.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.slid import slid def test_slid(): """Test module slid.py by downloading slid.csv and testing shape of extracted data has 7425 rows and 5 c...
20.833333
45
0.746
72
500
4.902778
0.569444
0.084986
0.135977
0
0
0
0
0
0
0
0
0.02457
0.186
500
23
46
21.73913
0.842752
0.214
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.466667
0
0.533333
0.066667
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
1
0
0
2
eba4ffa534e8ee8eae94ebf37eecba0c4e4ecfe1
422
py
Python
core/utils/network/sms.py
vsilent/smarty-bot
963cba05433be14494ba339343c9903ccab3c37d
[ "MIT" ]
1
2016-10-08T09:01:05.000Z
2016-10-08T09:01:05.000Z
core/utils/network/sms.py
vsilent/smarty-bot
963cba05433be14494ba339343c9903ccab3c37d
[ "MIT" ]
1
2019-09-24T09:56:52.000Z
2019-09-24T09:56:52.000Z
core/utils/network/sms.py
vsilent/smarty-bot
963cba05433be14494ba339343c9903ccab3c37d
[ "MIT" ]
null
null
null
from twilio.rest import TwilioRestClient # Your Account Sid and Auth Token from twilio.com/user/account account_sid = "AC32a3c49700934481addd5ce1659f04d2" auth_token = "" client = TwilioRestClient(account_sid, auth_token) message = client.sms.messages.create(body="Jenny please?! I love you <3", to="+14159352345", # Rep...
42.2
73
0.793839
56
422
5.892857
0.607143
0.090909
0.090909
0
0
0
0
0
0
0
0
0.12
0.111374
422
9
74
46.888889
0.76
0.291469
0
0
0
0
0.291525
0.115254
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
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
1
0
0
0
0
0
0
0
0
2
ebc9a9ceb1bf20236162ada1c475138e3710be43
1,031
py
Python
users/tests/factories/user.py
gafderks/dbase
4089cf220740afd7fcc0ae68fcd6185829a60eae
[ "Apache-2.0" ]
null
null
null
users/tests/factories/user.py
gafderks/dbase
4089cf220740afd7fcc0ae68fcd6185829a60eae
[ "Apache-2.0" ]
281
2020-04-03T15:22:46.000Z
2022-03-31T20:53:28.000Z
users/tests/factories/user.py
gafderks/dbase
4089cf220740afd7fcc0ae68fcd6185829a60eae
[ "Apache-2.0" ]
null
null
null
import factory from django.contrib.auth import get_user_model from django.contrib.auth.hashers import make_password from users.tests.factories import GroupFactory class UserFactory(factory.django.DjangoModelFactory): class Meta: model = get_user_model() class Params: email_base = factory.Fak...
27.131579
80
0.71387
118
1,031
6.084746
0.474576
0.050139
0.047354
0.058496
0
0
0
0
0
0
0
0.0012
0.192047
1,031
37
81
27.864865
0.860744
0.00388
0
0
0
0
0.08878
0.032195
0
0
0
0
0
1
0.04
false
0.2
0.16
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
1
0
0
1
0
0
2
ebcd3ef6ba7bb0afb95e3a6a661f9340950f81a5
2,502
py
Python
src/edrn/bmdb/descreport.py
EDRN/edrn.bmdb
e8cf66d45ded0ef6aacbf7c92468bbf3c9d3d6dc
[ "Apache-2.0" ]
null
null
null
src/edrn/bmdb/descreport.py
EDRN/edrn.bmdb
e8cf66d45ded0ef6aacbf7c92468bbf3c9d3d6dc
[ "Apache-2.0" ]
5
2020-08-05T21:21:21.000Z
2021-12-14T22:55:49.000Z
src/edrn/bmdb/descreport.py
EDRN/edrn.bmdb
e8cf66d45ded0ef6aacbf7c92468bbf3c9d3d6dc
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 import argparse, getpass, pymysql, sys, csv def generateDescriptionReport(connection): cursor = connection.cursor() cursor.execute("SET CHARACTER_SET_RESULTS='latin1'") cursor.execute('''SELECT biomarkers.id, biomarkers.name, biomarkers.description FROM biomarkers''') with open('res...
42.40678
114
0.593125
258
2,502
5.674419
0.352713
0.086066
0.046448
0.043033
0.266393
0.266393
0.153005
0.153005
0.153005
0.153005
0
0.006118
0.281375
2,502
58
115
43.137931
0.80812
0.013189
0
0.361702
1
0
0.426369
0.073834
0
0
0
0
0
1
0.042553
false
0.085106
0.021277
0
0.06383
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
ebcde5c471d2e047658950f119e82a4bf8ac5818
32,598
py
Python
pysnmp-with-texts/ENTERASYS-POWER-ETHERNET-EXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ENTERASYS-POWER-ETHERNET-EXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ENTERASYS-POWER-ETHERNET-EXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ENTERASYS-POWER-ETHERNET-EXT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ENTERASYS-POWER-ETHERNET-EXT-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:04:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Pyt...
181.1
3,354
0.805111
3,591
32,598
7.3066
0.133389
0.037046
0.06483
0.008385
0.422022
0.298879
0.276507
0.262977
0.243692
0.218614
0
0.046967
0.088196
32,598
179
3,355
182.111732
0.835784
0.010982
0
0.059524
0
0.136905
0.404641
0.113493
0
0
0
0
0
1
0
false
0
0.059524
0
0.059524
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ebd755c6ab61a8ec21cb3e0460b0b018fae6b04c
4,787
py
Python
mysite/settings.py
davidefabbrico/Progetto_School
e32e345d154764725b96e2d22b441a17fae67ade
[ "MIT" ]
1
2021-09-04T08:56:32.000Z
2021-09-04T08:56:32.000Z
mysite/settings.py
davidefabbrico/Progetto_School
e32e345d154764725b96e2d22b441a17fae67ade
[ "MIT" ]
null
null
null
mysite/settings.py
davidefabbrico/Progetto_School
e32e345d154764725b96e2d22b441a17fae67ade
[ "MIT" ]
null
null
null
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os from ...
25.736559
91
0.714644
570
4,787
5.821053
0.377193
0.062688
0.035865
0.045208
0.175105
0.155214
0.100663
0.091923
0.047619
0
0
0.009704
0.160435
4,787
185
92
25.875676
0.815875
0.301233
0
0.019802
1
0
0.474433
0.339486
0
0
0
0
0
1
0
false
0.069307
0.019802
0
0.019802
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
ebe0126738d573de80b9e875199a6e91681b5d67
744
py
Python
hackerrank/Algorithms/Grid Challenge/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Algorithms/Grid Challenge/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Algorithms/Grid Challenge/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): self.assertEqual(solution.gridChallenge([ 'eabcd', 'fghij', 'olkmn', 'trpqs', 'xywuv', ]), 'YES') def test_case_1(self): self.assertEqual...
20.108108
49
0.447581
58
744
5.534483
0.568966
0.186916
0.286604
0.448598
0.380062
0
0
0
0
0
0
0.004545
0.408602
744
36
50
20.666667
0.725
0
0
0.3
0
0
0.103495
0
0
0
0
0
0.133333
1
0.066667
false
0
0.066667
0
0.166667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ebe4cd298b9e6dc16822359cf4915866e785000a
6,653
py
Python
test_python.py
lv43apo91/taxonomy
4d79b0e07a95699ad5501eeb6e4339aaade05857
[ "MIT" ]
22
2019-04-30T23:56:11.000Z
2021-12-16T09:39:25.000Z
test_python.py
lv43apo91/taxonomy
4d79b0e07a95699ad5501eeb6e4339aaade05857
[ "MIT" ]
26
2019-05-22T15:10:21.000Z
2021-10-20T16:16:10.000Z
test_python.py
lv43apo91/taxonomy
4d79b0e07a95699ad5501eeb6e4339aaade05857
[ "MIT" ]
4
2019-11-13T03:29:23.000Z
2021-09-08T13:40:49.000Z
import unittest from taxonomy import Taxonomy, TaxonomyError class NewickTestCase(unittest.TestCase): def _create_tax(self): # https://en.wikipedia.org/wiki/Newick_format#Examples return Taxonomy.from_newick("(A:0.1,B:0.2,(C:0.3,D:0.4)E:0.5)F;") def setUp(self) -> None: self.tax = se...
31.530806
113
0.610852
864
6,653
4.570602
0.125
0.197518
0.081793
0.034439
0.794378
0.641935
0.544442
0.513041
0.423905
0.399595
0
0.04
0.240944
6,653
210
114
31.680952
0.74198
0.03427
0
0.471698
0
0.006289
0.066085
0.016521
0
0
0
0
0.446541
1
0.201258
false
0
0.012579
0.012579
0.238994
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
cce2a7d65eea02cad9dc11c2836ca48eb1917f3b
498
py
Python
Implementations/DivideAndConquerRunner.py
joakiti/Benchmark-SubsetSums
a875b5adf7f800d26b73516452904031c73ec29d
[ "MIT" ]
null
null
null
Implementations/DivideAndConquerRunner.py
joakiti/Benchmark-SubsetSums
a875b5adf7f800d26b73516452904031c73ec29d
[ "MIT" ]
null
null
null
Implementations/DivideAndConquerRunner.py
joakiti/Benchmark-SubsetSums
a875b5adf7f800d26b73516452904031c73ec29d
[ "MIT" ]
null
null
null
import math from Implementations.Interfaces.IDeterministicAlgorithm import IDeterministicAlgorithm from Implementations.helpers import Helper from Implementations.helpers.Helper import ListToPolynomial, toNumbers, sumSet class DivideAndConquerRunner(IDeterministicAlgorithm): def __init__(self, label, benchmarkM...
31.125
86
0.797189
46
498
8.543478
0.543478
0.145038
0.132316
0
0
0
0
0
0
0
0
0
0.144578
498
15
87
33.2
0.922535
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
ccf238b87463d35c2dcd19af35e3b5a6ca0b523a
287
py
Python
core/faces/typing.py
weima/pytorch-study-notes
dd01f70a617042842483bc8ff1ea12aa3c46f197
[ "MIT" ]
null
null
null
core/faces/typing.py
weima/pytorch-study-notes
dd01f70a617042842483bc8ff1ea12aa3c46f197
[ "MIT" ]
null
null
null
core/faces/typing.py
weima/pytorch-study-notes
dd01f70a617042842483bc8ff1ea12aa3c46f197
[ "MIT" ]
null
null
null
import dataclasses from dataclasses import dataclass from typing import List import numpy as np @dataclass class Sample: image: np.ndarray landmarks: np.ndarray def samples_to_dicts(samples: List[Sample]): for sample in samples: yield dataclasses.asdict(sample)
16.882353
44
0.752613
38
287
5.631579
0.578947
0.084112
0
0
0
0
0
0
0
0
0
0
0.191638
287
16
45
17.9375
0.922414
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.727273
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
1
0
0
2
69008a5fb11a2198868599f384214b25973a3737
3,130
py
Python
comcenter/comcenter/model/coredb.py
tongpa/bantak_program
66edfe225e8018f65c9c5a6cd7745c17ba557bd5
[ "Apache-2.0" ]
null
null
null
comcenter/comcenter/model/coredb.py
tongpa/bantak_program
66edfe225e8018f65c9c5a6cd7745c17ba557bd5
[ "Apache-2.0" ]
null
null
null
comcenter/comcenter/model/coredb.py
tongpa/bantak_program
66edfe225e8018f65c9c5a6cd7745c17ba557bd5
[ "Apache-2.0" ]
null
null
null
import os from datetime import datetime import sys try: from hashlib import sha1 except ImportError: sys.exit('ImportError: No module named hashlib\n' 'If you are on python2.4 this library is not part of python. ' 'Please install it. Example: easy_install hashlib') from sqlalchemy imp...
29.809524
110
0.632588
339
3,130
5.710914
0.265487
0.100723
0.072314
0.083161
0.579545
0.579545
0.579545
0.579545
0.579545
0.553719
0
0.005159
0.256869
3,130
105
111
29.809524
0.827171
0
0
0.674699
0
0
0.073778
0
0
0
0
0
0
1
0.228916
false
0
0.120482
0.084337
0.60241
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
1
0
0
2
6901d087c7e0ea1d3bce4ceca77ba5dcd9b32b28
1,182
py
Python
fizzbuzz.py
mariusavram91/python_collection
eade5a79e1b0d28d2f90411092f9fbaa5e633d57
[ "MIT" ]
null
null
null
fizzbuzz.py
mariusavram91/python_collection
eade5a79e1b0d28d2f90411092f9fbaa5e633d57
[ "MIT" ]
null
null
null
fizzbuzz.py
mariusavram91/python_collection
eade5a79e1b0d28d2f90411092f9fbaa5e633d57
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import unittest ''' Write a program that: for multiples of three returns “Fizz” instead of the number and for the multiples of five returns “Buzz”. For numbers which are multiples of both three and five returns “FizzBuzz”. For the rest it returns the number. ''' def fizzbuzz(number): if numbe...
24.625
74
0.667513
163
1,182
4.625767
0.325153
0.102122
0.119363
0.143236
0.343501
0.124668
0.087533
0.087533
0
0
0
0.026144
0.22335
1,182
47
75
25.148936
0.795207
0.014382
0
0
0
0
0.053377
0
0
0
0
0
0.222222
1
0.296296
false
0.037037
0.037037
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6906a89ef2dede9ab5512f5f08d32397ad287749
365
py
Python
python/testData/paramInfo/DataclassesReplace/a.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/paramInfo/DataclassesReplace/a.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/paramInfo/DataclassesReplace/a.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
from dataclasses import dataclass, field, InitVar, replace @dataclass class A: a: int b: str = "str" replace(A(1), <arg1>) @dataclass class B: a: int b: str = field(default="str", init=False) replace(B(1), <arg2>) @dataclass class C: a: int b: InitVar[str] = "str" replace(C(1), <arg3...
10.428571
58
0.591781
54
365
4
0.425926
0.194444
0.069444
0.074074
0
0
0
0
0
0
0
0.025362
0.243836
365
35
59
10.428571
0.757246
0
0
0.315789
0
0
0.02459
0
0
0
0
0
0
0
null
null
0.052632
0.052632
null
null
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
1
0
0
1
0
0
0
0
0
2
690dee641fb6a26f62680062e50b11e5a270ddf6
263
py
Python
make/__main__.py
rolandgeider/OpenSlides
331141c17cb23da26e377d4285efdb4a50753a59
[ "MIT" ]
null
null
null
make/__main__.py
rolandgeider/OpenSlides
331141c17cb23da26e377d4285efdb4a50753a59
[ "MIT" ]
null
null
null
make/__main__.py
rolandgeider/OpenSlides
331141c17cb23da26e377d4285efdb4a50753a59
[ "MIT" ]
null
null
null
import sys import commands # noqa from parser import parser if len(sys.argv) < 2: args = parser.parse_args(['--help']) else: args = parser.parse_args() # Runs the command end exits the script with the return-code of the command exit(args.func(args))
18.785714
75
0.707224
42
263
4.380952
0.619048
0.108696
0.163043
0.206522
0
0
0
0
0
0
0
0.004673
0.186312
263
13
76
20.230769
0.85514
0.296578
0
0
0
0
0.032967
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
6948849c021d860114868e9675882e3bbf15fe42
6,283
py
Python
configs/config.py
Droliven/MSRGCN
5d8d8e3365d3b23ca2ac734ace7e84135a6e3a9e
[ "MIT" ]
28
2021-08-21T12:02:12.000Z
2022-03-07T03:54:55.000Z
configs/config.py
Droliven/MSRGCN
5d8d8e3365d3b23ca2ac734ace7e84135a6e3a9e
[ "MIT" ]
6
2021-09-07T03:05:51.000Z
2022-02-24T03:00:04.000Z
configs/config.py
Droliven/MSRGCN
5d8d8e3365d3b23ca2ac734ace7e84135a6e3a9e
[ "MIT" ]
6
2021-08-21T12:02:16.000Z
2021-11-22T14:22:57.000Z
#!/usr/bin/env python # encoding: utf-8 ''' @project : MSRGCN @file : config.py @author : Droliven @contact : droliven@163.com @ide : PyCharm @time : 2021-07-27 16:56 ''' import os import getpass import torch import numpy as np class Config(): def __init__(self, exp_name="h36m", input_n=10, output_n=10...
45.201439
171
0.464746
1,155
6,283
2.432035
0.148918
0.04628
0.052332
0.052688
0.61659
0.604842
0.550374
0.504094
0.481666
0.48131
0
0.256973
0.332325
6,283
138
172
45.528986
0.412634
0.031036
0
0.237624
0
0
0.036872
0.01893
0
0
0
0
0.009901
1
0.009901
false
0.019802
0.039604
0
0.059406
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
696fe869b2a3e6bf203dc4bdbaa1342bd17b746c
286
py
Python
tinyurl_ga/main.py
tinyurl-ga/tinyurl-ga.py
3fd49c59b58abeb449fe549b5b6a566d2edbd7ef
[ "MIT" ]
null
null
null
tinyurl_ga/main.py
tinyurl-ga/tinyurl-ga.py
3fd49c59b58abeb449fe549b5b6a566d2edbd7ef
[ "MIT" ]
null
null
null
tinyurl_ga/main.py
tinyurl-ga/tinyurl-ga.py
3fd49c59b58abeb449fe549b5b6a566d2edbd7ef
[ "MIT" ]
null
null
null
import requests def create(url): r = requests.post("https://tinyurl.ga/api", json = {"url": url}) return result(r.json()) class result: def __init__(self, data): self.data = data @property def url(self) -> str: return self.data["url"]
20.428571
68
0.56993
37
286
4.297297
0.540541
0.150943
0
0
0
0
0
0
0
0
0
0
0.276224
286
13
69
22
0.768116
0
0
0
0
0
0.097902
0
0
0
0
0
0
1
0.3
false
0
0.1
0.1
0.7
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
1
0
0
2
15db193eb5c1ac77701395d869f59f2883a41a43
411
py
Python
Task1F.py
GODWINGZZ/IA-floodrisk-system-project
cc57b4148eabc25c4d0756d0bcb2260b236f72e3
[ "MIT" ]
null
null
null
Task1F.py
GODWINGZZ/IA-floodrisk-system-project
cc57b4148eabc25c4d0756d0bcb2260b236f72e3
[ "MIT" ]
null
null
null
Task1F.py
GODWINGZZ/IA-floodrisk-system-project
cc57b4148eabc25c4d0756d0bcb2260b236f72e3
[ "MIT" ]
null
null
null
from floodsystem.station import inconsistent_typical_range_stations from floodsystem.stationdata import build_station_list def run(): temp=inconsistent_typical_range_stations(build_station_list()) x=[] for i in range(len(temp)): x.append(temp[i].name) x.sort() print(x) if __name__...
21.631579
67
0.686131
54
411
4.888889
0.611111
0.113636
0.181818
0.242424
0
0
0
0
0
0
0
0.00304
0.199513
411
18
68
22.833333
0.799392
0
0
0
0
0
0.141463
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.25
0.166667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
15ef60595795d41ff43b512f6c61622ff5aa9a68
346
py
Python
vvs_data/pimpNumbers.py
acmngmbh/metaEFA
9f0b448647571808f0982f1b1fd364bb8d1997a0
[ "MIT" ]
27
2015-06-07T15:27:36.000Z
2021-02-09T09:12:30.000Z
vvs_data/pimpNumbers.py
acmngmbh/metaEFA
9f0b448647571808f0982f1b1fd364bb8d1997a0
[ "MIT" ]
17
2015-06-06T23:06:52.000Z
2020-10-13T12:47:56.000Z
vvs_data/pimpNumbers.py
acmngmbh/metaEFA
9f0b448647571808f0982f1b1fd364bb8d1997a0
[ "MIT" ]
12
2015-09-22T16:45:04.000Z
2022-01-08T16:06:19.000Z
f = open("HaltestellenVVS_simplified_utf8.csv", "r") r = open("HaltestellenVVS_simplified_utf8_stationID.csv", "w") r.write(f.readline()) lines = f.readlines() for line in lines: stationID = line.split(",")[0] newStationID = int(stationID)+5000000 outLine = str(newStationID) + line[len(stationID):] r.write(outL...
21.625
62
0.713873
47
346
5.148936
0.531915
0.157025
0.239669
0.272727
0
0
0
0
0
0
0
0.032573
0.112717
346
15
63
23.066667
0.7557
0
0
0
0
0
0.239884
0.231214
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
15fecc775b5dd5739ce5cd955e567720f0753cb0
1,659
py
Python
lib/extensions/add_sidebar/script.py
neurodiverseEsoteric/nimbus
a79a37d6001d84116831c9f3f99f5d9acfa7fd19
[ "CC-BY-3.0" ]
3
2015-11-04T10:48:12.000Z
2020-07-12T06:46:27.000Z
lib/extensions/add_sidebar/script.py
esotericDisciple/nimbus
a79a37d6001d84116831c9f3f99f5d9acfa7fd19
[ "CC-BY-3.0" ]
null
null
null
lib/extensions/add_sidebar/script.py
esotericDisciple/nimbus
a79a37d6001d84116831c9f3f99f5d9acfa7fd19
[ "CC-BY-3.0" ]
1
2021-05-05T13:56:49.000Z
2021-05-05T13:56:49.000Z
name = QInputDialog.getText(self, "Name", "Enter the name of your sidebar here:") if name[1]: name = name[0] url = QInputDialog.getText(self, "URL", "Enter the URL of your sidebar here:") if url[1]: url = url[0] common.sidebar_maker_path = os.path.join(settings.extensions_folder, name.lower(...
51.84375
182
0.677517
235
1,659
4.646809
0.365957
0.130952
0.181319
0.120879
0.384615
0.205128
0.142857
0
0
0
0
0.019579
0.168776
1,659
31
183
53.516129
0.772299
0
0
0.129032
0
0.064516
0.398433
0.131404
0
0
0
0
0
1
0
false
0.064516
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
c60c6adc315bdabfe47f6496bd55d19acfacb60b
228
py
Python
scripts/NavPy/wgs84.py
AuraUAS/aura-core
4711521074db72ba9089213e14455d89dc5306c0
[ "MIT", "BSD-2-Clause-FreeBSD" ]
8
2016-08-03T19:35:03.000Z
2019-12-15T06:25:05.000Z
scripts/NavPy/wgs84.py
jarilq/aura-core
7880ed265396bf8c89b783835853328e6d7d1589
[ "MIT", "BSD-2-Clause-FreeBSD" ]
4
2018-09-27T15:48:56.000Z
2018-11-05T12:38:10.000Z
scripts/NavPy/wgs84.py
jarilq/aura-core
7880ed265396bf8c89b783835853328e6d7d1589
[ "MIT", "BSD-2-Clause-FreeBSD" ]
5
2017-06-28T19:15:36.000Z
2020-02-19T19:31:24.000Z
""" WGS84 constants Reference: Paul Groves http://www.oosa.unvienna.org/pdf/icg/2012/template/WGS_84.pdf """ R0 = 6378137.0 f = 298.257223563 omega_E = 7.2921151467e-5 GM = 3.986005e14 ecc = 0.0818191908425 Rp = 6356752.314245
16.285714
61
0.741228
37
228
4.513514
0.945946
0
0
0
0
0
0
0
0
0
0
0.383085
0.118421
228
14
62
16.285714
0.447761
0.438596
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c61050d700c49239f732a45d165297820f507473
252
py
Python
eetfestijn/urls.py
thaliawww/eetFestijn
6da04cb626f66b3aef55dbea6ca690ced674dd8f
[ "CC0-1.0" ]
1
2018-10-11T16:46:40.000Z
2018-10-11T16:46:40.000Z
eetfestijn/urls.py
thaliawww/eetFestijn
6da04cb626f66b3aef55dbea6ca690ced674dd8f
[ "CC0-1.0" ]
47
2018-06-11T13:55:41.000Z
2019-10-23T19:29:37.000Z
eetfestijn/urls.py
thaliawww/eetFestijn
6da04cb626f66b3aef55dbea6ca690ced674dd8f
[ "CC0-1.0" ]
null
null
null
from django.conf.urls import include from django.contrib import admin from django.urls import path urlpatterns = [ path('admin/', admin.site.urls), path('wiebetaaltwat/', include('wiebetaaltwat.urls')), path('', include('orders.urls')), ]
25.2
58
0.706349
31
252
5.741935
0.419355
0.168539
0
0
0
0
0
0
0
0
0
0
0.138889
252
9
59
28
0.820277
0
0
0
0
0
0.194444
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
c6123110a11c361c9b8b888f57e546575e2ba621
1,190
py
Python
tests/python/interface_spec_parser.py
tblink-rpc/tblink-rpc-core
4daac39138930a726014914952047708162c3451
[ "Apache-2.0" ]
1
2022-03-30T11:58:00.000Z
2022-03-30T11:58:00.000Z
tests/python/interface_spec_parser.py
tblink-rpc/tblink-rpc-core
4daac39138930a726014914952047708162c3451
[ "Apache-2.0" ]
null
null
null
tests/python/interface_spec_parser.py
tblink-rpc/tblink-rpc-core
4daac39138930a726014914952047708162c3451
[ "Apache-2.0" ]
null
null
null
''' Created on Oct 16, 2021 @author: mballance ''' import yaml from unittest.case import TestCase from _io import StringIO from tblink_rpc.yaml_idl_parser import YamlIDLParser class InterfaceSpecParser(TestCase): def test_smoke(self): spec = """ interface-types: - my_if1: ...
25.319149
52
0.37563
89
1,190
4.921348
0.550562
0.073059
0.127854
0.073059
0.315068
0.315068
0.315068
0.187215
0.187215
0
0
0.030829
0.563866
1,190
47
53
25.319149
0.813102
0.036134
0
0.470588
0
0
0.69386
0
0
0
0
0
0
1
0.029412
false
0.029412
0.117647
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
2
c613462b79d1e9e0120f79d43ba863f0e76dca92
2,081
py
Python
tests/test_queryable_intersect.py
dlshriver/Queryable
0975f2687213958121ea4ac7efbaee9030193917
[ "MIT" ]
5
2016-04-04T16:49:11.000Z
2020-10-12T13:00:06.000Z
tests/test_queryable_intersect.py
dlshriver/Queryable
0975f2687213958121ea4ac7efbaee9030193917
[ "MIT" ]
3
2016-04-08T16:13:54.000Z
2022-02-03T15:23:48.000Z
tests/test_queryable_intersect.py
dlshriver/pinq
0975f2687213958121ea4ac7efbaee9030193917
[ "MIT" ]
null
null
null
import unittest import pinq class queryable_intersect_tests(unittest.TestCase): def setUp(self): self.queryable1 = pinq.as_queryable(range(1, 11)) self.queryable2 = pinq.as_queryable(range(3, 8, 2)) self.queryable3 = pinq.as_queryable(range(100, 110)) self.queryable4 = pinq.as_que...
37.836364
89
0.654012
256
2,081
5.164063
0.175781
0.11649
0.158094
0.191377
0.723147
0.697428
0.645991
0.59531
0.461422
0.172466
0
0.050462
0.219125
2,081
54
90
38.537037
0.763077
0
0
0.261905
0
0
0
0
0
0
0
0
0.309524
1
0.238095
false
0
0.047619
0
0.309524
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
c616226388b3b622add402bfb1b5729dae3ebae0
8,546
py
Python
gjobs/bjobs_fields.py
vvolhejn/gjobs
e24270ed06ee4a57d72d7fc474b92b460d85caa3
[ "MIT" ]
null
null
null
gjobs/bjobs_fields.py
vvolhejn/gjobs
e24270ed06ee4a57d72d7fc474b92b460d85caa3
[ "MIT" ]
3
2022-03-29T11:54:31.000Z
2022-03-29T11:54:59.000Z
gjobs/bjobs_fields.py
vvolhejn/gjobs
e24270ed06ee4a57d72d7fc474b92b460d85caa3
[ "MIT" ]
null
null
null
# Parsed from https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=options-o bjobs_fields = [ {"name": "jobid", "width": 7, "aliases": "id", "unit": None}, {"name": "jobindex", "width": 8, "aliases": None, "unit": None}, {"name": "stat", "width": 5, "aliases": None, "unit": None}, {"name": "user", "wid...
62.379562
88
0.554294
1,009
8,546
4.576809
0.179386
0.136856
0.202685
0.222174
0.601343
0.530966
0.490689
0.2356
0.132092
0.056518
0
0.029533
0.175872
8,546
136
89
62.838235
0.626154
0.008776
0
0.059259
0
0
0.453655
0.008856
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c6205be2cfa6b29fe60a594c75286d9d4a14ee43
534
py
Python
catalogo/views/empleado_view.py
lp2-20172/polleria-serve
5383f4d1db46e4d41789b5773ee5383005687b45
[ "MIT" ]
null
null
null
catalogo/views/empleado_view.py
lp2-20172/polleria-serve
5383f4d1db46e4d41789b5773ee5383005687b45
[ "MIT" ]
2
2020-02-12T00:19:17.000Z
2020-06-05T18:06:26.000Z
catalogo/views/empleado_view.py
Chapi69/Server
d726a2ca04b792bf54457da1e591afcb4ed63a2f
[ "MIT" ]
null
null
null
from ..models_raiz import Empleado from rest_framework import serializers, viewsets from rest_framework import permissions from django.db.models import Q from operator import __or__ as OR from functools import reduce class EmpleadoSerializer(serializers.ModelSerializer): class Meta: model = Empleado ...
25.428571
57
0.745318
59
534
6.525424
0.59322
0.041558
0.088312
0.119481
0
0
0
0
0
0
0
0
0.181648
534
20
58
26.7
0.881007
0.089888
0
0
0
0
0.014433
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.846154
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
1
0
0
2
c62c40b4b8384326bc3d93d07755839014c02a9e
14,534
py
Python
src/hedera_proto/custom_fees_pb2.py
HbarStudio/hedera-protobufs-python
f8a503d2c4c5b7c441ddf48607f7ee563b3f931a
[ "Apache-2.0" ]
null
null
null
src/hedera_proto/custom_fees_pb2.py
HbarStudio/hedera-protobufs-python
f8a503d2c4c5b7c441ddf48607f7ee563b3f931a
[ "Apache-2.0" ]
null
null
null
src/hedera_proto/custom_fees_pb2.py
HbarStudio/hedera-protobufs-python
f8a503d2c4c5b7c441ddf48607f7ee563b3f931a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: custom_fees.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.pro...
43.255952
1,364
0.769093
1,868
14,534
5.605996
0.103319
0.041253
0.061688
0.059301
0.700344
0.643908
0.600076
0.59788
0.567513
0.554908
0
0.037422
0.111944
14,534
335
1,365
43.385075
0.773921
0.033852
0
0.635452
1
0.003344
0.211735
0.154416
0
0
0
0
0
1
0
false
0
0.016722
0
0.016722
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c63b6d0ba024409240dd7fb35b97a9201a619ff8
457
py
Python
zoonado/recipes/data_watcher.py
hulu316/zoonado
cb06102f95e7da9c0e418bb9e327045e012a1497
[ "Apache-2.0" ]
12
2016-04-14T09:55:38.000Z
2018-01-07T13:12:47.000Z
zoonado/recipes/data_watcher.py
hulu316/zoonado
cb06102f95e7da9c0e418bb9e327045e012a1497
[ "Apache-2.0" ]
16
2016-07-21T09:45:38.000Z
2017-09-22T19:06:14.000Z
zoonado/recipes/data_watcher.py
hulu316/zoonado
cb06102f95e7da9c0e418bb9e327045e012a1497
[ "Apache-2.0" ]
8
2016-07-21T09:06:37.000Z
2019-07-26T05:48:00.000Z
from __future__ import unicode_literals import logging from tornado import gen from zoonado import WatchEvent from .base_watcher import BaseWatcher log = logging.getLogger(__name__) class DataWatcher(BaseWatcher): watched_event = WatchEvent.DATA_CHANGED @gen.coroutine def fetch(self, path): ...
19.869565
64
0.73523
59
457
5.474576
0.644068
0
0
0
0
0
0
0
0
0
0
0
0.190372
457
22
65
20.772727
0.872973
0
0
0
0
0
0.043764
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c63e015822304a9a3216ed85f6d9d0fa8cb6f285
219
py
Python
hackerrank/Algorithms/Simple Array Sum/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
4
2020-07-24T01:59:50.000Z
2021-07-24T15:14:08.000Z
hackerrank/Algorithms/Simple Array Sum/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
hackerrank/Algorithms/Simple Array Sum/test.py
ATrain951/01.python-com_Qproject
c164dd093954d006538020bdf2e59e716b24d67c
[ "MIT" ]
null
null
null
import unittest import solution class TestQ(unittest.TestCase): def test_case_0(self): self.assertEqual(solution.simpleArraySum([1, 2, 3, 4, 10, 11]), 31) if __name__ == '__main__': unittest.main()
16.846154
75
0.680365
29
219
4.793103
0.793103
0
0
0
0
0
0
0
0
0
0
0.061798
0.187215
219
12
76
18.25
0.719101
0
0
0
0
0
0.03653
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
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
1
0
0
2
c641a151c12f271332bb48dd1ad7c962ba022947
369
py
Python
func.py
AI0702/Among-Us-clone
e75a1410c8bc9e82b41f2ab51deec373c8486e29
[ "Unlicense" ]
null
null
null
func.py
AI0702/Among-Us-clone
e75a1410c8bc9e82b41f2ab51deec373c8486e29
[ "Unlicense" ]
null
null
null
func.py
AI0702/Among-Us-clone
e75a1410c8bc9e82b41f2ab51deec373c8486e29
[ "Unlicense" ]
null
null
null
def my_func(): print("Foo") my_other_func = lambda: print("Bar") my_arr = [my_func, my_other_func] for i in range (0, 2): my_arr[i]() # Bots Position BOT_POS = [(5401, 1530),(3686, 1857),(3733, 2626),(2325, 1814), (1718, 1282),(1288, 2418),(1249, 506),(2513,1286) ] prin...
19.421053
64
0.542005
58
369
3.275862
0.655172
0.063158
0.115789
0
0
0
0
0
0
0
0
0.238971
0.262873
369
18
65
20.5
0.459559
0.03523
0
0
0
0
0.02381
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.083333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c646aa1ca48a5bb4215bc89581b1b1a6564c1162
165
py
Python
narcy/nlp/tenses.py
sztal/narcy
18bfdcfb691c3505384f452479dee5fb6c93321e
[ "MIT" ]
13
2019-04-17T13:44:33.000Z
2021-03-17T23:23:15.000Z
narcy/nlp/tenses.py
sztal/narcy
18bfdcfb691c3505384f452479dee5fb6c93321e
[ "MIT" ]
1
2019-03-17T16:29:14.000Z
2019-03-17T16:29:14.000Z
narcy/nlp/tenses.py
sztal/narcy
18bfdcfb691c3505384f452479dee5fb6c93321e
[ "MIT" ]
1
2020-01-08T11:35:03.000Z
2020-01-08T11:35:03.000Z
"""Tense analysis and detection related utilities.""" # pylint: disable=E0611 PRESENT = 'PRESENT' PAST = 'PAST' FUTURE = 'FUTURE' MODAL = 'MODAL' NORMAL = 'NORMAL'
18.333333
53
0.69697
19
165
6.052632
0.736842
0
0
0
0
0
0
0
0
0
0
0.028571
0.151515
165
8
54
20.625
0.792857
0.424242
0
0
0
0
0.314607
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c6571ded22006db289757c86ac6e6239df66a71c
4,007
py
Python
samples/openapi3/client/petstore/python-experimental/tests_manual/test_combine_schemas.py
chanjarster/openapi-generator
f92f8f1e58c59a429295509d8c5df32b100cde22
[ "Apache-2.0" ]
1
2022-01-11T15:49:34.000Z
2022-01-11T15:49:34.000Z
samples/openapi3/client/petstore/python-experimental/tests_manual/test_combine_schemas.py
chanjarster/openapi-generator
f92f8f1e58c59a429295509d8c5df32b100cde22
[ "Apache-2.0" ]
9
2021-11-01T08:59:31.000Z
2022-03-31T08:31:57.000Z
samples/openapi3/client/petstore/python-experimental/tests_manual/test_combine_schemas.py
chanjarster/openapi-generator
f92f8f1e58c59a429295509d8c5df32b100cde22
[ "Apache-2.0" ]
1
2022-03-20T14:46:48.000Z
2022-03-20T14:46:48.000Z
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ ...
38.161905
174
0.724233
483
4,007
5.747412
0.26294
0.084294
0.054035
0.064842
0.501801
0.436599
0.342219
0.342219
0.339337
0.310519
0
0.012743
0.216621
4,007
104
175
38.528846
0.871615
0.19441
0
0.327869
0
0
0.021323
0
0
0
0
0
0.42623
1
0.032787
false
0.065574
0.213115
0
0.327869
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
1
0
0
0
0
0
2
d65dc8217315ef0721ac201a7040b03d51c328f4
15,399
py
Python
ProjectApplication/grant_management/models.py
Swiss-Polar-Institute/project-application
2fdc12378ca3d974bd4ac20cf9f56ff544058524
[ "MIT" ]
5
2020-07-29T10:00:11.000Z
2022-02-19T11:00:34.000Z
ProjectApplication/grant_management/models.py
Swiss-Polar-Institute/project-application
2fdc12378ca3d974bd4ac20cf9f56ff544058524
[ "MIT" ]
471
2019-09-20T14:37:28.000Z
2022-03-25T14:16:34.000Z
ProjectApplication/grant_management/models.py
Swiss-Polar-Institute/project-application
2fdc12378ca3d974bd4ac20cf9f56ff544058524
[ "MIT" ]
5
2020-03-15T12:42:47.000Z
2022-02-15T18:06:52.000Z
from django.contrib.auth.models import User from django.db import models, transaction # Create your models here. # add dates of review, signed date, who signed, grant agreement - need flexibilty in types of dates that are added from django.db.models import Sum from django.utils.datetime_safe import datetime from simple...
42.89415
134
0.676018
1,837
15,399
5.497006
0.170931
0.042781
0.030897
0.040404
0.530897
0.478313
0.401664
0.335611
0.264706
0.195187
0
0.007264
0.231119
15,399
358
135
43.013966
0.845608
0.030716
0
0.32
0
0.004
0.19516
0.032784
0
0
0
0.002793
0
1
0.164
false
0.008
0.044
0.132
0.744
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
1
0
0
2
d66ef50afcf876c59e6d1ed563e416208b94d1da
744
py
Python
tests/test_subscribe_http_handler.py
svilborg/samsungtv
007d8cbf4326ae13d74ab138eb77798d11aae108
[ "Apache-2.0" ]
12
2018-05-07T10:27:15.000Z
2021-01-03T23:39:41.000Z
tests/test_subscribe_http_handler.py
svilborg/samsungtv
007d8cbf4326ae13d74ab138eb77798d11aae108
[ "Apache-2.0" ]
1
2020-07-12T20:51:51.000Z
2020-07-12T20:51:51.000Z
tests/test_subscribe_http_handler.py
svilborg/samsungtv
007d8cbf4326ae13d74ab138eb77798d11aae108
[ "Apache-2.0" ]
2
2019-08-20T00:48:10.000Z
2020-09-20T10:09:17.000Z
import sys from BaseHTTPServer import HTTPServer from unittest import TestCase from samsungtv.httpd.subscribe_handler import SubscribeHttpRequestHandler class TestSubscribeHttpRequestHandler(TestCase): def test__log(self): self.skipTest("Todo") # def test_real(self): # host = "" # po...
25.655172
75
0.586022
69
744
6.231884
0.666667
0.032558
0
0
0
0
0
0
0
0
0
0.013487
0.302419
744
28
76
26.571429
0.815029
0.509409
0
0
0
0
0.011561
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d676906a67ffc851fd1e178620a853fede08b4a4
873
py
Python
snippets/views.py
kblicharski/django-rest-tutorial
51c35a5510102d5efb8949759e66a7842a5672cb
[ "MIT" ]
null
null
null
snippets/views.py
kblicharski/django-rest-tutorial
51c35a5510102d5efb8949759e66a7842a5672cb
[ "MIT" ]
null
null
null
snippets/views.py
kblicharski/django-rest-tutorial
51c35a5510102d5efb8949759e66a7842a5672cb
[ "MIT" ]
null
null
null
from django.http import HttpResponse, JsonResponse from django.views.decorators.csrf import csrf_exempt from rest_framework.parsers import JSONParser from rest_framework.renderers import JSONRenderer from .models import Snippet from .serializers import SnippetSerializer @csrf_exempt def snippet_list(request): ""...
34.92
60
0.727377
98
873
6.418367
0.510204
0.085851
0.133545
0.101749
0.120827
0
0
0
0
0
0
0.01273
0.190149
873
24
61
36.375
0.876945
0.053837
0
0
0
0
0.008537
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.526316
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
1
0
0
2
d68032f9f6c78cdac75e39104c638a7fddf06cff
2,830
py
Python
contract_api/handlers/service_handlers.py
vinthedark/snet-marketplace-service
66ed9d093b00f09d3e28ef4d86c4e4c125037d06
[ "MIT" ]
null
null
null
contract_api/handlers/service_handlers.py
vinthedark/snet-marketplace-service
66ed9d093b00f09d3e28ef4d86c4e4c125037d06
[ "MIT" ]
null
null
null
contract_api/handlers/service_handlers.py
vinthedark/snet-marketplace-service
66ed9d093b00f09d3e28ef4d86c4e4c125037d06
[ "MIT" ]
null
null
null
import json from contract_api.config import NETWORKS, NETWORK_ID, SLACK_HOOK from common.repository import Repository from common.utils import Utils, generate_lambda_response from contract_api.registry import Registry from common.utils import handle_exception_with_slack_notification from common.logger import get_logge...
42.238806
102
0.777385
390
2,830
5.238462
0.184615
0.052863
0.041116
0.052863
0.721488
0.683309
0.683309
0.683309
0.683309
0.683309
0
0.006031
0.121201
2,830
66
103
42.878788
0.81544
0
0
0.528302
1
0
0.086572
0.00742
0
0
0
0
0
1
0.09434
false
0
0.150943
0
0.339623
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d69d2ab3416fa57067cdd88719980f6249a69de7
351
py
Python
baekjoon/not-classified/1630/1630.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
2
2019-02-08T01:23:07.000Z
2020-11-19T12:23:52.000Z
baekjoon/not-classified/1630/1630.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
baekjoon/not-classified/1630/1630.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
n = input() def gcd(m, n): while True: m %= n if m == 0: return n n %= m if n == 0: return m def lcm(m, n): g = gcd(m ,n) return m * n / g def omin(n): r = n for i in range(2, n): if r % i != 0: r = lcm(r,...
15.26087
34
0.350427
58
351
2.12069
0.344828
0.081301
0.081301
0
0
0
0
0
0
0
0
0.023669
0.518519
351
23
35
15.26087
0.704142
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
d6c7df267dadd81c3a7d8388d0591ed9627f775f
319
py
Python
python/lists/list3.py
readingbat/readingbat-python-content
437648be8e15ce3ce21d5f256f91d71658bbb889
[ "Apache-2.0" ]
null
null
null
python/lists/list3.py
readingbat/readingbat-python-content
437648be8e15ce3ce21d5f256f91d71658bbb889
[ "Apache-2.0" ]
null
null
null
python/lists/list3.py
readingbat/readingbat-python-content
437648be8e15ce3ce21d5f256f91d71658bbb889
[ "Apache-2.0" ]
null
null
null
def list3(str): result = 0 for i in str: if i == 'a': result += 1 return result def main(): print(list3(['Hello', 'world', 'a'])) print(list3(['a', 'a'])) print(list3(['Computational', 'thinking'])) print(list3(['a', 'A', 'A'])) if __name__ == '__main__': main()
17.722222
47
0.489028
40
319
3.7
0.475
0.27027
0.148649
0.162162
0
0
0
0
0
0
0
0.030702
0.285266
319
17
48
18.764706
0.618421
0
0
0
0
0
0.144201
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.230769
0.307692
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d6d5e539107b36d6dd7a8cf69a035a5a809a4249
54
py
Python
bitmerchantx/wallet/__init__.py
dalijolijo/bitmerchant-btx
c34f5a242d24ea37c5563a3d29bf521b21e70245
[ "MIT" ]
72
2015-01-28T03:50:03.000Z
2021-06-21T11:20:15.000Z
bitmerchantx/wallet/__init__.py
dalijolijo/bitmerchant-btx
c34f5a242d24ea37c5563a3d29bf521b21e70245
[ "MIT" ]
19
2015-01-01T11:45:00.000Z
2021-12-23T13:03:46.000Z
bitmerchantx/wallet/__init__.py
dalijolijo/bitmerchant-btx
c34f5a242d24ea37c5563a3d29bf521b21e70245
[ "MIT" ]
27
2015-01-01T11:39:48.000Z
2022-03-31T20:15:28.000Z
from .bip32 import Wallet __all__ = [ 'Wallet' ]
9
25
0.62963
6
54
5
0.833333
0
0
0
0
0
0
0
0
0
0
0.05
0.259259
54
5
26
10.8
0.7
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d6dbd17e21eed640dcdf714d13b67e7ac4942957
220
py
Python
test_basic.py
thomasgruebl/mount-usb-in-sandbox
2204e59ef71102419e593c6655783b7db24a04e8
[ "MIT" ]
5
2021-11-20T10:56:18.000Z
2021-12-25T23:59:03.000Z
test_basic.py
thomasgruebl/mount-usb-in-sandbox
2204e59ef71102419e593c6655783b7db24a04e8
[ "MIT" ]
null
null
null
test_basic.py
thomasgruebl/mount-usb-in-sandbox
2204e59ef71102419e593c6655783b7db24a04e8
[ "MIT" ]
null
null
null
import unittest import helpers class BasicTest(unittest.TestCase): def test_network_interfaces(self): self.assertIsNotNone(helpers.get_network_interfaces()) if __name__ == '__main__': unittest.main()
18.333333
62
0.75
24
220
6.375
0.666667
0.222222
0
0
0
0
0
0
0
0
0
0
0.154545
220
11
63
20
0.822581
0
0
0
0
0
0.036364
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d6e89d1e01f608eab7fd6b14337eb4341926d5e3
2,529
py
Python
vm_network_migration/errors.py
googleinterns/vm-network-migration
1132e44d696ab9da4d1079ebc3d32ed4382cdc28
[ "Apache-2.0" ]
1
2020-05-27T00:30:47.000Z
2020-05-27T00:30:47.000Z
vm_network_migration/errors.py
yueMaHello/vm-network-migration
4a6bdbb2952fb8ee8022b5c0452159329a79e953
[ "Apache-2.0" ]
1
2020-06-03T15:51:20.000Z
2020-06-03T15:51:20.000Z
vm_network_migration/errors.py
yueMaHello/vm-network-migration
4a6bdbb2952fb8ee8022b5c0452159329a79e953
[ "Apache-2.0" ]
3
2020-06-03T15:17:00.000Z
2020-06-20T08:39:50.000Z
# 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
25.039604
78
0.727956
315
2,529
5.844444
0.460317
0.083107
0.022814
0.029332
0.086366
0
0
0
0
0
0
0.003893
0.187426
2,529
101
79
25.039604
0.891971
0.55516
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
1
0
0
0
0
0
2
d6eaa4ca6144fcb381dba9eeac969018e52ca0f4
2,444
py
Python
src/card_region.py
AdonisHan/postcorona_DA
576d54c4f4ab53357535f23f3399cc4558bc3ccb
[ "Apache-2.0" ]
null
null
null
src/card_region.py
AdonisHan/postcorona_DA
576d54c4f4ab53357535f23f3399cc4558bc3ccb
[ "Apache-2.0" ]
null
null
null
src/card_region.py
AdonisHan/postcorona_DA
576d54c4f4ab53357535f23f3399cc4558bc3ccb
[ "Apache-2.0" ]
null
null
null
%matplotlib inline import ipywidgets as widgets from ipywidgets import interact, interact_manual import plotly.graph_objects as go import plotly.express as px import plotly.figure_factory as ff import plotly.io as pio pio.renderers.default = 'notebook_connected' import datetime as dt import pandas as pd import numpy a...
29.804878
94
0.67635
371
2,444
4.374663
0.409704
0.049291
0.027726
0.024646
0.081331
0.02711
0
0
0
0
0
0.028797
0.119067
2,444
81
95
30.17284
0.725035
0.00982
0
0
0
0
0.163561
0.021532
0
0
0
0
0
0
null
null
0
0.310345
null
null
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
1
0
0
0
1
0
0
0
0
2
d6eabc87a08d1d481966ecf70aabc4d6e017d1b5
2,760
py
Python
telemetry/telemetry/internal/results/artifact_compatibility_wrapper.py
alekzonder/catapult
f1017f0c7bd2b766674888d5e88d42fcc61d632c
[ "BSD-3-Clause" ]
null
null
null
telemetry/telemetry/internal/results/artifact_compatibility_wrapper.py
alekzonder/catapult
f1017f0c7bd2b766674888d5e88d42fcc61d632c
[ "BSD-3-Clause" ]
6
2020-07-19T21:51:44.000Z
2022-02-13T08:22:58.000Z
telemetry/telemetry/internal/results/artifact_compatibility_wrapper.py
alekzonder/catapult
f1017f0c7bd2b766674888d5e88d42fcc61d632c
[ "BSD-3-Clause" ]
1
2020-07-24T18:22:03.000Z
2020-07-24T18:22:03.000Z
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Compatibility layer for using different artifact implementations through a # single API. # TODO(https://crbug.com/1023458): Remove this once artifact imple...
36.315789
80
0.75942
335
2,760
6.137313
0.453731
0.070039
0.031128
0.048638
0.094358
0.033074
0
0
0
0
0
0.008696
0.166667
2,760
75
81
36.8
0.885217
0.357609
0
0.114286
0
0
0.122079
0
0
0
0
0.013333
0
1
0.2
false
0
0.114286
0
0.514286
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
1
0
0
2
d6eed2b6b29ec80a8158c1ec3b0a24da72dc3f7e
2,498
py
Python
lintcode/Design/1786. Pub Sub Pattern.py
yanshengjia/algorithm
0608d286be9c93d51768d47f21e569c6b0be9cda
[ "MIT" ]
23
2019-08-02T12:02:47.000Z
2022-03-09T15:24:16.000Z
lintcode/Design/1786. Pub Sub Pattern.py
yanshengjia/algorithm
0608d286be9c93d51768d47f21e569c6b0be9cda
[ "MIT" ]
null
null
null
lintcode/Design/1786. Pub Sub Pattern.py
yanshengjia/algorithm
0608d286be9c93d51768d47f21e569c6b0be9cda
[ "MIT" ]
21
2019-12-22T04:47:32.000Z
2021-09-12T14:29:35.000Z
""" Pub/Sub pattern is a wide used pattern in system design. In this problem, you need to implement a pub/sub pattern to support user subscribes on a specific channel and get notification messages from subscribed channels. There are 3 methods you need to implement: subscribe(channel, user_id): Subscribe the given use...
32.025641
223
0.680945
367
2,498
4.583106
0.294278
0.053508
0.042806
0.033888
0.262188
0.1956
0.171819
0.171819
0.147444
0.147444
0
0.011856
0.223379
2,498
77
224
32.441558
0.855155
0.572858
0
0
0
0
0
0
0
0
0
0.038961
0
1
0.285714
false
0
0
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
d6fa2c43d6c59ec3cdf013dcdd92c79d01ee9b72
312
py
Python
binary_tree/tree_node.py
ahcode0919/python-ds-algorithms
0d617b78c50b6c18da40d9fa101438749bfc82e1
[ "MIT" ]
null
null
null
binary_tree/tree_node.py
ahcode0919/python-ds-algorithms
0d617b78c50b6c18da40d9fa101438749bfc82e1
[ "MIT" ]
null
null
null
binary_tree/tree_node.py
ahcode0919/python-ds-algorithms
0d617b78c50b6c18da40d9fa101438749bfc82e1
[ "MIT" ]
3
2020-10-07T20:24:45.000Z
2020-12-16T04:53:19.000Z
from typing import Generic, Optional, TypeVar T = TypeVar('T') class TreeNode(Generic[T]): def __init__(self, val: T, left: Optional['TreeNode'] = None, right: Optional['TreeNode'] = None): self.val = val self.left: Optional[TreeNode] = left self.right: Optional[TreeNode] = right
28.363636
102
0.653846
39
312
5.128205
0.410256
0.32
0.2
0
0
0
0
0
0
0
0
0
0.208333
312
10
103
31.2
0.809717
0
0
0
0
0
0.054487
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ba30e8e927704574df74f6ca9909d3346f8f4924
279
py
Python
Source/Backend/core/brand/models.py
csgn/Price-Tracker
67507b85dac9b0b9c8c975342678ebec3be2b7c0
[ "MIT" ]
null
null
null
Source/Backend/core/brand/models.py
csgn/Price-Tracker
67507b85dac9b0b9c8c975342678ebec3be2b7c0
[ "MIT" ]
4
2021-12-12T10:31:23.000Z
2021-12-12T10:33:46.000Z
Source/Backend/core/brand/models.py
csgn/Price-Tracker
67507b85dac9b0b9c8c975342678ebec3be2b7c0
[ "MIT" ]
null
null
null
from django.db import models class Brand(models.Model): brandid = models.AutoField(primary_key=True) name = models.CharField(max_length=255) url = models.URLField() def __str__(self) -> str: return self.name class Meta: db_table = "brand"
19.928571
48
0.659498
36
279
4.916667
0.722222
0
0
0
0
0
0
0
0
0
0
0.014085
0.236559
279
13
49
21.461538
0.816901
0
0
0
0
0
0.017921
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
ba39ad8f966c582e5538fec775f70acc648227b4
2,515
py
Python
vaccination/models.py
MarioScappini/vaccination-system
ab17ab6e40c7109ac001a8bce5e0de74c4129041
[ "Apache-2.0" ]
null
null
null
vaccination/models.py
MarioScappini/vaccination-system
ab17ab6e40c7109ac001a8bce5e0de74c4129041
[ "Apache-2.0" ]
null
null
null
vaccination/models.py
MarioScappini/vaccination-system
ab17ab6e40c7109ac001a8bce5e0de74c4129041
[ "Apache-2.0" ]
null
null
null
from django.db import models class Person(models.Model): person_ssn = models.IntegerField(primary_key=True,unique=True) person_fname = models.CharField(max_length=20) person_lname = models.CharField(max_length=50) person_email = models.CharField(max_length=70) person_phone = models.CharField(max_le...
40.564516
94
0.741948
333
2,515
5.339339
0.186186
0.126547
0.151856
0.202475
0.561305
0.489314
0.23847
0.156355
0.056243
0.056243
0
0.016854
0.150696
2,515
61
95
41.229508
0.815543
0
0
0.12
0
0
0.00159
0
0
0
0
0
0
1
0.08
false
0
0.02
0.04
0.96
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
1
0
0
2
ba3b34526bdea107f31b357b63727eb97f92df00
681
py
Python
Phase-3/Python Challenge/Day-98.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
11
2020-05-11T08:41:21.000Z
2022-02-27T08:21:37.000Z
Phase-3/Python Challenge/Day-98.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
9
2020-05-12T10:46:06.000Z
2020-05-28T17:37:19.000Z
Phase-3/Python Challenge/Day-98.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
44
2020-05-10T20:53:32.000Z
2021-04-25T18:47:08.000Z
''' 1. Write a Python program to find the first triangle number to have over n(given) divisors. From Wikipedia: A triangular number is a number that is the sum of all of the natural numbers up to a certain number. For example, 10 is a triangular number because 1 + 2 + 3 + 4 = 10. The first 25 triangular numbers are: 1...
45.4
335
0.693098
140
681
3.371429
0.5
0.067797
0.108051
0.09322
0.135593
0.135593
0.135593
0
0
0
0
0.182495
0.211454
681
14
336
48.642857
0.696462
0.983847
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
ba412491512590d4b2b56392a3de0dc24ed00c0c
409
py
Python
zstacklib/zstacklib/utils/sqlite.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
55
2017-02-10T07:55:21.000Z
2021-09-01T00:59:36.000Z
zstacklib/zstacklib/utils/sqlite.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
106
2017-02-13T09:58:27.000Z
2022-02-15T09:51:48.000Z
zstacklib/zstacklib/utils/sqlite.py
qianfei11/zstack-utility
e791bc6b6ae3a74e202f6fce84bde498c715aee8
[ "Apache-2.0" ]
68
2017-02-13T11:02:01.000Z
2021-12-16T11:02:01.000Z
import sqlite3 class Sqlite(object): def __init__(self, db_path): self.db_path = db_path def __enter__(self): self.connect = sqlite3.connect(self.db_path) return self def __exit__(self, exc_type, exc_val, exc_tb): self.connect.close() def execute(self, *args, **kwarg...
21.526316
56
0.628362
53
409
4.490566
0.433962
0.10084
0.12605
0
0
0
0
0
0
0
0
0.006601
0.259169
409
18
57
22.722222
0.778878
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.083333
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
1
0
0
0
0
1
0
0
2
ba460ad90cc96679d1642b49c4c05abc44c6e39e
137
py
Python
0263.Ugly Number/test.py
zhlinh/leetcode
6dfa0a4df9ec07b2c746a13c8257780880ea04af
[ "Apache-2.0" ]
null
null
null
0263.Ugly Number/test.py
zhlinh/leetcode
6dfa0a4df9ec07b2c746a13c8257780880ea04af
[ "Apache-2.0" ]
null
null
null
0263.Ugly Number/test.py
zhlinh/leetcode
6dfa0a4df9ec07b2c746a13c8257780880ea04af
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from solution import Solution num = 14 sol = Solution() res = sol.isUgly(num) print(res)
13.7
29
0.656934
21
137
4.285714
0.761905
0
0
0
0
0
0
0
0
0
0
0.026316
0.167883
137
9
30
15.222222
0.763158
0.306569
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ba700811c1154629a20195064a5d8762f07b7209
567
py
Python
rl_games/games/q_learner/tests/nac_play_many.py
RacingTadpole/rl-games
209fb1bf4007529cb05d0070075df83a04125672
[ "MIT" ]
null
null
null
rl_games/games/q_learner/tests/nac_play_many.py
RacingTadpole/rl-games
209fb1bf4007529cb05d0070075df83a04125672
[ "MIT" ]
null
null
null
rl_games/games/q_learner/tests/nac_play_many.py
RacingTadpole/rl-games
209fb1bf4007529cb05d0070075df83a04125672
[ "MIT" ]
null
null
null
from typing import Sequence, Dict, Any from rl_games.q_learner.player import Player from rl_games.core.play import play_many from rl_games.games.nac import Nac def nac_play_many( players: Sequence[Player], *args: Any, **kwargs: Any ) -> Dict[str, float]: """ >>> import random >>> from rl_game...
24.652174
53
0.626102
84
567
4.083333
0.404762
0.069971
0.12828
0.069971
0.180758
0.180758
0.180758
0
0
0
0
0.024554
0.209877
567
22
54
25.772727
0.741071
0.328042
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
ba75cb232d5cd41181826e2e825d7b6550ae5246
411
py
Python
contests/2020_spring/1.py
clarkchen/leetcode_python
4d26c1ddc9fc827ba12df9f4b4e768da11d7b9bd
[ "Apache-2.0" ]
null
null
null
contests/2020_spring/1.py
clarkchen/leetcode_python
4d26c1ddc9fc827ba12df9f4b4e768da11d7b9bd
[ "Apache-2.0" ]
null
null
null
contests/2020_spring/1.py
clarkchen/leetcode_python
4d26c1ddc9fc827ba12df9f4b4e768da11d7b9bd
[ "Apache-2.0" ]
null
null
null
from typing import List class Solution: def minCount(self, coins: List[int]) -> int: res = [] for x in coins: res.append(x//2+x%2) return sum(res) if __name__ == '__main__': s = Solution() ans = s.minCount([4,2,1]) print(ans) ans = s.minCount([2,3,10]) pri...
18.681818
48
0.530414
60
411
3.5
0.483333
0.07619
0.228571
0.171429
0.304762
0.209524
0.209524
0
0
0
0
0.038596
0.306569
411
22
49
18.681818
0.698246
0
0
0.235294
0
0
0.019417
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.235294
0.235294
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ba7f15f1ec2fec62e15b56bd5cf33ccdafd4addf
557
py
Python
cogs/welcome.py
nihaals/DabbitPrimeBot
a7c0e906a9065e3de7665a5f050c43e2cc11259d
[ "MIT" ]
null
null
null
cogs/welcome.py
nihaals/DabbitPrimeBot
a7c0e906a9065e3de7665a5f050c43e2cc11259d
[ "MIT" ]
null
null
null
cogs/welcome.py
nihaals/DabbitPrimeBot
a7c0e906a9065e3de7665a5f050c43e2cc11259d
[ "MIT" ]
1
2019-12-19T04:14:22.000Z
2019-12-19T04:14:22.000Z
from discord.ext import commands import discord class Welcome(): def __init__(self, bot): self.bot = bot # welcome = False # # @commands.command() # async def welcome(self, ctx, welcome): # welcome = not welcome # await ctx.send(self.bot.blank + "Welcome is set to {}".forma...
27.85
104
0.62298
73
557
4.630137
0.520548
0.06213
0
0
0
0
0
0
0
0
0
0.004762
0.245961
557
20
105
27.85
0.8
0.594255
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ba8a24471d327c96d6edddc78b96f71b779f0847
329
py
Python
{{cookiecutter.project_name}}/wsgi.py
Anyesh/cookiecutter-flask-all-in-one
6ae0a423e8cab23c23756f1ef610643c85b71f32
[ "MIT" ]
35
2020-11-27T09:06:44.000Z
2022-01-31T17:08:41.000Z
{{cookiecutter.project_name}}/wsgi.py
Anyesh/cookiecutter-flask-all-in-one
6ae0a423e8cab23c23756f1ef610643c85b71f32
[ "MIT" ]
1
2021-05-15T17:34:47.000Z
2021-06-04T20:12:59.000Z
{{cookiecutter.project_name}}/wsgi.py
Anyesh/cookiecutter-flask-all-in-one
6ae0a423e8cab23c23756f1ef610643c85b71f32
[ "MIT" ]
2
2020-12-03T13:55:11.000Z
2020-12-08T10:42:03.000Z
"""App entry point.""" from {{cookiecutter.app_name}} import create_app, db, models from {{cookiecutter.app_name}}.manage import cli app = create_app() @app.shell_context_processor def make_shell_context(): return {'db': db, "models": models} if __name__ == "__main__": app.run(host="0.0.0.0", port=5000, deb...
23.5
60
0.702128
49
329
4.387755
0.55102
0.027907
0.176744
0.213953
0
0
0
0
0
0
0
0.027972
0.130699
329
13
61
25.307692
0.723776
0
0
0
0
0
0.074919
0
0
0
0
0
0
0
null
null
0
0.25
null
null
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
1
0
0
0
0
0
0
0
0
2
ba8d1d6e20cb328b8ac8f400b1f860ed4788e4be
740
py
Python
backend/api/migrations/0002_auto_20201229_1654.py
MeRichard123/family-tree-app
472f4aebe99811130fd1288d7cec62ac1a9f10b2
[ "MIT" ]
1
2021-11-24T04:41:47.000Z
2021-11-24T04:41:47.000Z
backend/api/migrations/0002_auto_20201229_1654.py
MeRichard123/family-tree-app
472f4aebe99811130fd1288d7cec62ac1a9f10b2
[ "MIT" ]
5
2021-01-07T21:11:45.000Z
2021-03-14T10:59:51.000Z
backend/api/migrations/0002_auto_20201229_1654.py
MeRichard123/family-tree-app
472f4aebe99811130fd1288d7cec62ac1a9f10b2
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-29 16:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0001_initial'), ] operations = [ migrations.AddField( model_name='aunt', name='spouse', field=mod...
25.517241
74
0.563514
78
740
5.25641
0.5
0.131707
0.168293
0.197561
0.563415
0.563415
0.563415
0.563415
0.563415
0.563415
0
0.05501
0.312162
740
28
75
26.428571
0.750491
0.060811
0
0.545455
1
0
0.069264
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ba90ff316fd938f7888e365fc228063397dcc539
921
py
Python
algorithms/recursion/find_uppercase.py
cakmakaf/python_coding_interview_question
9bca1bff43b03ea747e96ad51b32040da7072aef
[ "MIT" ]
null
null
null
algorithms/recursion/find_uppercase.py
cakmakaf/python_coding_interview_question
9bca1bff43b03ea747e96ad51b32040da7072aef
[ "MIT" ]
null
null
null
algorithms/recursion/find_uppercase.py
cakmakaf/python_coding_interview_question
9bca1bff43b03ea747e96ad51b32040da7072aef
[ "MIT" ]
null
null
null
# Given a string, find the first uppercase character. # Solve using both an iterative and recursive solution. input_str_1 = "lucidProgramming" input_str_2 = "LucidProgramming" input_str_3 = "lucidprogramming" def find_uppercase_iterative(input_str): for i in range(len(input_str)): if input_str[i].isupper...
27.088235
55
0.764387
133
921
4.954887
0.270677
0.218513
0.163885
0.204856
0.566009
0.426404
0.109256
0
0
0
0
0.015287
0.147666
921
33
56
27.909091
0.824204
0.114007
0
0.1
0
0
0.128237
0
0
0
0
0
0
1
0.1
false
0
0
0
0.35
0.3
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ba9fb8a4da40b2e207e6aac7065730689508d65b
301
py
Python
core/models.py
LeonardoCruzx/ListaTarefasBackend
81f6bf5f2c64973fa703a3f96bb8cfb491c8b41b
[ "MIT" ]
1
2020-08-26T23:55:33.000Z
2020-08-26T23:55:33.000Z
core/models.py
LeonardoCruzx/ListaTarefasBackend
81f6bf5f2c64973fa703a3f96bb8cfb491c8b41b
[ "MIT" ]
null
null
null
core/models.py
LeonardoCruzx/ListaTarefasBackend
81f6bf5f2c64973fa703a3f96bb8cfb491c8b41b
[ "MIT" ]
null
null
null
from django.db import models class Category(models.Model): name = models.CharField( max_length=30, null=False, unique=True ) icon = models.CharField( max_length=50, null=False, unique=True ) class Meta: ordering = ["-name"]
18.8125
29
0.561462
33
301
5.060606
0.636364
0.179641
0.215569
0.287425
0
0
0
0
0
0
0
0.020101
0.33887
301
16
30
18.8125
0.819095
0
0
0.285714
0
0
0.016556
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.357143
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
baa8f7c752ca08985bb68e5d9981c4d3125698b1
159
py
Python
easy/even_numbers.py
Amin-Abouee/code_eval
8f0d53d2af128d7b57dd3fc8ff16616252f18a52
[ "MIT" ]
null
null
null
easy/even_numbers.py
Amin-Abouee/code_eval
8f0d53d2af128d7b57dd3fc8ff16616252f18a52
[ "MIT" ]
null
null
null
easy/even_numbers.py
Amin-Abouee/code_eval
8f0d53d2af128d7b57dd3fc8ff16616252f18a52
[ "MIT" ]
null
null
null
import sys with open(sys.argv[1],'r') as test_cases: for test in test_cases: test = test.rstrip() if int(test[-1]) % 2 == 0: print 1 else: print 0
19.875
41
0.622642
30
159
3.233333
0.633333
0.185567
0
0
0
0
0
0
0
0
0
0.04878
0.226415
159
8
42
19.875
0.739837
0
0
0
0
0
0.00625
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.25
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
1
0
0
0
0
0
0
0
0
2
bac019df242c71d7cde4fc5acb6134972fe22464
146
py
Python
pages/components/affix/_simple.py
AnnMarieW/dmc-docs
5db1790b61e85209b85adb75ccf6e7462d93f231
[ "MIT" ]
6
2022-01-28T17:12:58.000Z
2022-03-16T01:29:18.000Z
pages/components/affix/_simple.py
AnnMarieW/dmc-docs
5db1790b61e85209b85adb75ccf6e7462d93f231
[ "MIT" ]
1
2022-01-07T21:21:07.000Z
2022-01-22T12:07:28.000Z
pages/components/affix/_simple.py
AnnMarieW/dmc-docs
5db1790b61e85209b85adb75ccf6e7462d93f231
[ "MIT" ]
1
2022-02-05T18:00:36.000Z
2022-02-05T18:00:36.000Z
import dash_mantine_components as dmc component = dmc.Affix( dmc.Button("I'm in an Affix Component"), position={"bottom": 20, "right": 20} )
24.333333
81
0.705479
22
146
4.590909
0.772727
0
0
0
0
0
0
0
0
0
0
0.032258
0.150685
146
5
82
29.2
0.782258
0
0
0
0
0
0.246575
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bac3098f4d54f2ca5a807259d083483cfa92d751
149
py
Python
helita/__init__.py
jumasy/helita
8f27cb1b7a0165a10028c11f43224a7e5b3dcc40
[ "BSD-3-Clause" ]
null
null
null
helita/__init__.py
jumasy/helita
8f27cb1b7a0165a10028c11f43224a7e5b3dcc40
[ "BSD-3-Clause" ]
null
null
null
helita/__init__.py
jumasy/helita
8f27cb1b7a0165a10028c11f43224a7e5b3dcc40
[ "BSD-3-Clause" ]
null
null
null
""" Helita python library """ __all__ = ["io", "obs", "sim", "utils"] #from . import io #from . import obs #from . import sim #from . import utils
13.545455
39
0.61745
20
149
4.4
0.5
0.454545
0
0
0
0
0
0
0
0
0
0
0.194631
149
10
40
14.9
0.733333
0.610738
0
0
0
0
0.276596
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
2
bad4454cde9c84e9a297ac6f69c2ad754dde7729
1,012
py
Python
migrations/versions/b823ccfc2d9b_.py
karenc/houston
4eaaaf11d61394035e34b55bb847ea7eb4099c61
[ "Apache-2.0" ]
6
2021-04-06T19:50:52.000Z
2022-01-19T17:42:33.000Z
migrations/versions/b823ccfc2d9b_.py
WildMeOrg/houston
8102229421388e44234c07ee6cb73bf705b6fba0
[ "Apache-2.0" ]
491
2021-01-20T01:10:00.000Z
2022-03-31T19:30:48.000Z
migrations/versions/b823ccfc2d9b_.py
karenc/houston
4eaaaf11d61394035e34b55bb847ea7eb4099c61
[ "Apache-2.0" ]
2
2021-03-12T02:33:55.000Z
2021-03-16T20:18:43.000Z
"""empty message Revision ID: b823ccfc2d9b Revises: 2a02d5f72c3b Create Date: 2021-08-10 05:37:19.652762 """ # revision identifiers, used by Alembic. revision = 'b823ccfc2d9b' down_revision = '2a02d5f72c3b' from alembic import op import sqlalchemy as sa import sqlalchemy_utils import app import app.extensions d...
23
106
0.690711
120
1,012
5.725
0.508333
0.040757
0.069869
0.101892
0.41048
0.41048
0.41048
0.41048
0.41048
0.41048
0
0.056581
0.19664
1,012
43
107
23.534884
0.788438
0.406126
0
0.153846
0
0
0.114068
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0
0.538462
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
1
0
0
2
bad9fcbb774a307e2f2f29f4b18913a49ea23702
1,278
py
Python
one_time_scripts/alter_2018-10-20.py
nilfoer/mangadb
860d7de310002735631ea26810b4df5b6bc08d7b
[ "MIT" ]
3
2021-01-14T16:22:41.000Z
2022-02-21T03:31:22.000Z
one_time_scripts/alter_2018-10-20.py
nilfoer/mangadb
860d7de310002735631ea26810b4df5b6bc08d7b
[ "MIT" ]
13
2021-01-14T10:34:19.000Z
2021-05-20T08:47:54.000Z
one_time_scripts/alter_2018-10-20.py
nilfoer/mangadb
860d7de310002735631ea26810b4df5b6bc08d7b
[ "MIT" ]
1
2022-02-24T03:10:04.000Z
2022-02-24T03:10:04.000Z
import sqlite3 db_con = sqlite3.connect("./manga_db.sqlite", detect_types=sqlite3.PARSE_DECLTYPES) db_con.row_factory = sqlite3.Row with db_con: c = db_con.executescript(""" PRAGMA foreign_keys=off; BEGIN TRANSACTION; DROP INDEX IF EXISTS id_onpage_on_site; ...
42.6
91
0.634585
167
1,278
4.622754
0.317365
0.090674
0.11658
0.186529
0.382124
0.357513
0.357513
0.317358
0
0
0
0.004582
0.316901
1,278
29
92
44.068966
0.879725
0
0
0
0
0
0.869327
0.040689
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bae10c8fc1289fb8fb67ea46991675a0983cce20
77
py
Python
protos/__init__.py
oktoshi/OpenBazaar-Server
605644c628db0d472e85380c4f16fafc13631991
[ "MIT" ]
723
2015-08-19T08:43:06.000Z
2022-01-25T10:34:27.000Z
protos/__init__.py
oktoshi/OpenBazaar-Server
605644c628db0d472e85380c4f16fafc13631991
[ "MIT" ]
470
2015-08-18T21:18:46.000Z
2018-07-03T21:36:03.000Z
protos/__init__.py
mrudtf/OpenBazaar-Server
a3964b8337a2eb0815c29145d67782c5de1ada73
[ "MIT" ]
250
2015-08-19T03:01:02.000Z
2022-01-23T21:05:25.000Z
__author__ = 'chris' """ Package for holding all of our protobuf classes """
15.4
47
0.714286
10
77
5.1
1
0
0
0
0
0
0
0
0
0
0
0
0.168831
77
4
48
19.25
0.796875
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bae4690386f4d9932794ad10275725784ea3dd63
356
py
Python
api/helper.py
vvatelot/ecoindex_api
03ffe03c3e3d4e296b91e2396e90020a9ff2b33a
[ "MIT" ]
null
null
null
api/helper.py
vvatelot/ecoindex_api
03ffe03c3e3d4e296b91e2396e90020a9ff2b33a
[ "MIT" ]
null
null
null
api/helper.py
vvatelot/ecoindex_api
03ffe03c3e3d4e296b91e2396e90020a9ff2b33a
[ "MIT" ]
null
null
null
from api.models.responses import ExceptionResponse def format_exception_response(exception: Exception) -> ExceptionResponse: return ExceptionResponse( exception=type(exception).__name__, args=[arg for arg in exception.args if arg] if exception.args else [], message=exception.msg if hasattr...
35.6
78
0.733146
41
356
6.219512
0.560976
0.101961
0
0
0
0
0
0
0
0
0
0
0.179775
356
9
79
39.555556
0.873288
0
0
0
0
0
0.008427
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
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
1
0
0
0
2
baed839ee27f857c852b45297668c2d66d6970ae
163
py
Python
Driver.py
LeChosenOne/ClassifierToolkit
c601c212d98b949bd96f4badd08a27daeb0d283b
[ "MIT" ]
null
null
null
Driver.py
LeChosenOne/ClassifierToolkit
c601c212d98b949bd96f4badd08a27daeb0d283b
[ "MIT" ]
null
null
null
Driver.py
LeChosenOne/ClassifierToolkit
c601c212d98b949bd96f4badd08a27daeb0d283b
[ "MIT" ]
null
null
null
from ClassifierToolkit import NeuralNet classifier = NeuralNet() data = [[0,1], [1,1], [12,12], [10,10]] labels = [1,2,3,4] classifier.train(data, labels, (2,2))
23.285714
39
0.662577
26
163
4.153846
0.576923
0.037037
0
0
0
0
0
0
0
0
0
0.125874
0.122699
163
6
40
27.166667
0.629371
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
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
2
24087838c39f6708ba17e72353be93ed95c7cbca
111
py
Python
pynger/types.py
DottD/pynger
9a24b43a2170234e5059a54ed20329e036260b0a
[ "MIT" ]
1
2021-11-10T16:37:28.000Z
2021-11-10T16:37:28.000Z
pynger/types.py
DottD/pynger
9a24b43a2170234e5059a54ed20329e036260b0a
[ "MIT" ]
null
null
null
pynger/types.py
DottD/pynger
9a24b43a2170234e5059a54ed20329e036260b0a
[ "MIT" ]
null
null
null
from typing import * Field = NewType('Field', Any) Image = NewType('Image', Any) Mask = NewType('Mask', Any)
15.857143
29
0.666667
15
111
4.933333
0.533333
0
0
0
0
0
0
0
0
0
0
0
0.162162
111
6
30
18.5
0.795699
0
0
0
0
0
0.126126
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
24099237d47bb52d216dc44074d5358af13639ba
1,656
py
Python
setup.py
maria-thom/currencycloud-python
ad02b72adc6ff46c31fadedb6575090e7c6eece6
[ "MIT" ]
null
null
null
setup.py
maria-thom/currencycloud-python
ad02b72adc6ff46c31fadedb6575090e7c6eece6
[ "MIT" ]
null
null
null
setup.py
maria-thom/currencycloud-python
ad02b72adc6ff46c31fadedb6575090e7c6eece6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- from glob import glob from os.path import basename from os.path import splitext from setuptools import find_packages from setuptools import setup setup( name='currency_cloud', version='4.6.0', license='MIT', description="Python SDK for the Currencycloud...
31.846154
75
0.628623
174
1,656
5.913793
0.5
0.184645
0.242954
0.151604
0.052478
0
0
0
0
0
0
0.015516
0.221618
1,656
51
76
32.470588
0.782777
0.02657
0
0.047619
0
0
0.51118
0.013043
0
0
0
0
0
1
0
true
0
0.119048
0
0.119048
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2