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
cb0bc9f2854b972d3ac51ddc408fcda99967f2e1
8,982
py
Python
tests/test_main.py
M0r13n/price_picker
aaa4e79496753bc3b61afbde6324868ee5c46aa5
[ "MIT" ]
3
2019-08-03T16:52:36.000Z
2020-04-13T10:06:38.000Z
tests/test_main.py
M0r13n/price_picker
aaa4e79496753bc3b61afbde6324868ee5c46aa5
[ "MIT" ]
null
null
null
tests/test_main.py
M0r13n/price_picker
aaa4e79496753bc3b61afbde6324868ee5c46aa5
[ "MIT" ]
1
2021-01-02T11:31:25.000Z
2021-01-02T11:31:25.000Z
import unittest from tests.base import BaseTestCase from price_picker.models import Manufacturer, Device, Preferences, Enquiry from price_picker import db class TestMainBlueprint(BaseTestCase): def test_404(self): # Ensure 404 error is handled. response = self.client.get("/404") self.asse...
44.029412
139
0.626253
1,073
8,982
5.160298
0.145387
0.099693
0.081271
0.146289
0.753838
0.735055
0.690988
0.646198
0.614954
0.614954
0
0.025266
0.224449
8,982
203
140
44.246305
0.769595
0.031841
0
0.467949
0
0
0.165783
0.029263
0
0
0
0
0.5
1
0.044872
false
0
0.025641
0
0.083333
0.00641
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
cb14311fa28c29df5a32856bc6db4848248b1b8a
15,540
py
Python
Add-on code/akamai-api-integration/bin/input_module_prolexic_events.py
garis/Akamai-Splunk-API-integration
141117cbe5f6d63f6a98fc274e35235dfa20d598
[ "Unlicense" ]
1
2021-07-21T16:34:07.000Z
2021-07-21T16:34:07.000Z
Add-on code/akamai-api-integration/bin/input_module_prolexic_events.py
garis/Akamai-Splunk-API-integration
141117cbe5f6d63f6a98fc274e35235dfa20d598
[ "Unlicense" ]
null
null
null
Add-on code/akamai-api-integration/bin/input_module_prolexic_events.py
garis/Akamai-Splunk-API-integration
141117cbe5f6d63f6a98fc274e35235dfa20d598
[ "Unlicense" ]
null
null
null
# encoding = utf-8 import os import sys import time import datetime import requests import hashlib import json from akamai.edgegrid import EdgeGridAuth # from https://github.com/akamai/AkamaiOPEN-edgegrid-python ''' IMPORTANT Edit only the validate_input and collect_events functions. Do not edit any oth...
51.627907
226
0.58462
1,669
15,540
5.298382
0.153984
0.025444
0.031663
0.019337
0.735497
0.719665
0.703494
0.670474
0.670474
0.640054
0
0.004348
0.334041
15,540
301
227
51.627907
0.85013
0.217696
0
0.531429
0
0
0.125756
0.015677
0
0
0
0
0
1
0.022857
false
0.017143
0.045714
0
0.085714
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb28480889588ba5058d3015fdc1a18bad0fba96
525
py
Python
pages/basket_page.py
DedMazzai/stepic_test_project
f5dc9e71c9f18b48edf017cbfde86ada888482e2
[ "Apache-2.0" ]
null
null
null
pages/basket_page.py
DedMazzai/stepic_test_project
f5dc9e71c9f18b48edf017cbfde86ada888482e2
[ "Apache-2.0" ]
null
null
null
pages/basket_page.py
DedMazzai/stepic_test_project
f5dc9e71c9f18b48edf017cbfde86ada888482e2
[ "Apache-2.0" ]
null
null
null
from .base_page import BasePage from .locators import BasketPageLocators class BasketPage(BasePage): def should_not_be_product_in_basket(self): assert self.is_not_element_present(*BasketPageLocators.BASKET_SUMMARY), "Basket is not empty" def should_be_text_about_empty_basket(self): message_ab...
43.75
115
0.8
71
525
5.577465
0.422535
0.138889
0.161616
0.174242
0
0
0
0
0
0
0
0
0.137143
525
11
116
47.727273
0.874172
0
0
0
0
0
0.158095
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cb2971cc14c357349e731fd76f67a031a2ef4b3e
67
py
Python
octopus/modules/epmc/settings.py
tuub/magnificent-octopus
62722fbb9eecd0f6727b4d9cc0ef3b732b4702d9
[ "Apache-2.0" ]
null
null
null
octopus/modules/epmc/settings.py
tuub/magnificent-octopus
62722fbb9eecd0f6727b4d9cc0ef3b732b4702d9
[ "Apache-2.0" ]
null
null
null
octopus/modules/epmc/settings.py
tuub/magnificent-octopus
62722fbb9eecd0f6727b4d9cc0ef3b732b4702d9
[ "Apache-2.0" ]
2
2019-12-17T14:55:17.000Z
2020-02-03T12:35:24.000Z
EPMC_REST_API = "http://www.ebi.ac.uk/europepmc/webservices/rest/"
33.5
66
0.761194
11
67
4.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.044776
67
2
66
33.5
0.765625
0
0
0
0
0
0.716418
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb3ed1511c53eb4335c3a54f02f67803e4dd9d30
8,360
py
Python
test/tie/hth_quilici.py
SzieberthAdam/pysportsscheduling
256fb2505fb93f795226ae58513c0ce8c31d722e
[ "MIT" ]
null
null
null
test/tie/hth_quilici.py
SzieberthAdam/pysportsscheduling
256fb2505fb93f795226ae58513c0ce8c31d722e
[ "MIT" ]
null
null
null
test/tie/hth_quilici.py
SzieberthAdam/pysportsscheduling
256fb2505fb93f795226ae58513c0ce8c31d722e
[ "MIT" ]
null
null
null
import unittest import pytourney class TestQuiliciHTHQuilici(unittest.TestCase): test_cases = { 1: { "results": [ {"A": 0}, {"B": 0}, ], "hth": {"A": 0, "B": 0}, }, 2: { "results": [ {"A": 3, "B": 0}, ], "hth": {"A...
23.222222
61
0.227273
970
8,360
1.884536
0.078351
0.071116
0.08698
0.101751
0.762035
0.714442
0.65919
0.591904
0.52407
0.409737
0
0.101675
0.485885
8,360
359
62
23.286908
0.323639
0.005263
0
0.641834
0
0
0.098629
0.005292
0
0
0
0
0.005731
1
0
false
0
0.005731
0
0.017192
0
0
0
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb632dfe2a19ceea350c1c79c6c5292d195952ba
1,389
py
Python
cli/src/pcluster/api/typing_utils.py
bollig/aws-parallelcluster
a57bf511a3b8f9fdb4b190ce33d525fabef48d5c
[ "Apache-2.0" ]
null
null
null
cli/src/pcluster/api/typing_utils.py
bollig/aws-parallelcluster
a57bf511a3b8f9fdb4b190ce33d525fabef48d5c
[ "Apache-2.0" ]
108
2021-04-01T13:22:25.000Z
2022-03-28T13:27:55.000Z
cli/src/pcluster/api/typing_utils.py
yuleiwan/aws-parallelcluster
aad2a3019ef4ad08d702f5acf41b152b3f7a0b46
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance # with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ # or in the "LICENSE.txt" file accompanyin...
33.071429
119
0.682505
193
1,389
4.772021
0.455959
0.065147
0.136808
0.169381
0.366992
0.366992
0.366992
0.366992
0.366992
0.366992
0
0.009276
0.223902
1,389
41
120
33.878049
0.845083
0.581713
0
0.375
0
0
0.018416
0
0
0
0
0
0
1
0.375
false
0
0.125
0
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cb708986fafa23f1f1eb4216cd733e69be623dae
235
py
Python
algorithms/single_number/single_number.py
jskway/coding-challenges
820004354c3e6c3c28a32714b6b8e912fa002d31
[ "MIT" ]
null
null
null
algorithms/single_number/single_number.py
jskway/coding-challenges
820004354c3e6c3c28a32714b6b8e912fa002d31
[ "MIT" ]
null
null
null
algorithms/single_number/single_number.py
jskway/coding-challenges
820004354c3e6c3c28a32714b6b8e912fa002d31
[ "MIT" ]
null
null
null
def single_number(arr): arr.sort() idx = 0 while idx < len(arr): try: if arr[idx] != arr[idx + 1]: return arr[idx] except IndexError: return arr[idx] idx += 2
21.363636
40
0.451064
29
235
3.62069
0.551724
0.228571
0.228571
0
0
0
0
0
0
0
0
0.022556
0.434043
235
10
41
23.5
0.766917
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb7970b52776636af76c675fd9842e3d159bb2e8
70
py
Python
options_process/__init__.py
bao76998/vietnamese-abstractive-summarization
7dcd4d9a6811536b5e498ef7698df331d308726b
[ "BSD-3-Clause" ]
39
2019-11-23T07:48:43.000Z
2021-11-06T16:17:58.000Z
options_process/__init__.py
bao76998/vietnamese-abstractive-summarization
7dcd4d9a6811536b5e498ef7698df331d308726b
[ "BSD-3-Clause" ]
9
2019-12-11T10:23:39.000Z
2021-02-23T19:28:04.000Z
options_process/__init__.py
bao76998/vietnamese-abstractive-summarization
7dcd4d9a6811536b5e498ef7698df331d308726b
[ "BSD-3-Clause" ]
9
2019-12-11T10:28:58.000Z
2020-12-31T16:38:03.000Z
from .optionsLoader import optionsLoader __all__ = ["optionsLoader"]
17.5
40
0.8
6
70
8.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.114286
70
3
41
23.333333
0.83871
0
0
0
0
0
0.185714
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cb7baf1ac712f856361c4b8cd769b307ef7daf15
262
py
Python
wabbit/interp.py
scottidler/dabaez-compiler
b8744eb1e0e9e00dfa28cdaee95a29166acf660a
[ "MIT" ]
null
null
null
wabbit/interp.py
scottidler/dabaez-compiler
b8744eb1e0e9e00dfa28cdaee95a29166acf660a
[ "MIT" ]
null
null
null
wabbit/interp.py
scottidler/dabaez-compiler
b8744eb1e0e9e00dfa28cdaee95a29166acf660a
[ "MIT" ]
null
null
null
# interp.py ''' Interpreter Project =================== This is an interpreter than can run wabbit programs directly from the generated IR code. To run a program use:: bash % python3 -m wabbit.interp someprogram.wb '''
11.391304
69
0.580153
31
262
4.903226
0.870968
0
0
0
0
0
0
0
0
0
0
0.005376
0.290076
262
22
70
11.909091
0.811828
0.832061
0
null
1
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
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cb8f4ca3beb37225ec8bca400e181812e69b6ca3
557
py
Python
shylock/backends/__init__.py
Refty/shylock
30a80674066c3d2eedca6a4a279ca8a4c8118b68
[ "BSD-3-Clause" ]
3
2021-02-03T15:57:37.000Z
2022-02-11T20:42:52.000Z
shylock/backends/__init__.py
Refty/shylock
30a80674066c3d2eedca6a4a279ca8a4c8118b68
[ "BSD-3-Clause" ]
5
2020-02-29T11:28:01.000Z
2021-12-13T17:48:16.000Z
shylock/backends/__init__.py
Refty/shylock
30a80674066c3d2eedca6a4a279ca8a4c8118b68
[ "BSD-3-Clause" ]
4
2020-03-15T08:25:59.000Z
2021-12-13T17:26:17.000Z
class ShylockAsyncBackend: @staticmethod def _check(): raise NotImplementedError() async def acquire(self, name: str, block: bool = True): raise NotImplementedError() async def release(self, name: str): raise NotImplementedError() class ShylockSyncBackend: @s...
24.217391
60
0.633752
50
557
7.02
0.34
0.410256
0.125356
0.14245
0.837607
0.586895
0.586895
0.330484
0.330484
0.330484
0
0
0.280072
557
22
61
25.318182
0.875312
0
0
0.625
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.375
0
0
0
0
null
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
cbaffa473f9fa6a8f0bf6eb0fafa5fc55d5ecaf5
138
py
Python
lab1/venv/test5.py
david-p-burton/MLLabs
1c3a4d5570ebb9444d43186d6b1f00017eb950f7
[ "MIT" ]
null
null
null
lab1/venv/test5.py
david-p-burton/MLLabs
1c3a4d5570ebb9444d43186d6b1f00017eb950f7
[ "MIT" ]
null
null
null
lab1/venv/test5.py
david-p-burton/MLLabs
1c3a4d5570ebb9444d43186d6b1f00017eb950f7
[ "MIT" ]
null
null
null
foo = [25, 68, 'bar', 89.45, 789, 'spam', 0, 'last item'] print(foo[:3]) # difference? print(foo[0:3]) print(foo[2:]) print(foo[1:-1])
13.8
57
0.565217
26
138
3
0.615385
0.410256
0
0
0
0
0
0
0
0
0
0.152542
0.144928
138
10
58
13.8
0.508475
0.07971
0
0
0
0
0.126984
0
0
0
0
0
0
1
0
false
0
0
0
0
0.8
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
1
0
3
cbb966356f5fa07b4de4d02e791ac0eaab44f0bd
132
py
Python
app.py
mtrsk/PUGMA-bot
7f774c02fd0d01442fd589266075dbf457d8e2f9
[ "MIT" ]
9
2018-05-18T18:50:54.000Z
2022-01-16T22:33:56.000Z
app.py
mtrsk/PUGMA-bot
7f774c02fd0d01442fd589266075dbf457d8e2f9
[ "MIT" ]
17
2018-05-20T00:08:11.000Z
2019-09-29T02:49:24.000Z
app.py
mtrsk/PUGMA-bot
7f774c02fd0d01442fd589266075dbf457d8e2f9
[ "MIT" ]
7
2018-05-18T18:50:59.000Z
2019-05-24T23:51:17.000Z
from bot import Bot, settings if __name__ == "__main__": Bot.start(bot_token=settings.token) Bot.run_until_disconnected()
18.857143
39
0.734848
18
132
4.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.159091
132
6
40
22
0.774775
0
0
0
0
0
0.060606
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
cbbcbd2274d6431e635c204b65067a04e6bf2108
105
py
Python
ffcv/__init__.py
neuroailab/ffcv
43d249762d32ce873678a9b8d7983ae653ad6f84
[ "Apache-2.0" ]
1
2022-01-25T05:04:34.000Z
2022-01-25T05:04:34.000Z
ffcv/__init__.py
neuroailab/ffcv
43d249762d32ce873678a9b8d7983ae653ad6f84
[ "Apache-2.0" ]
null
null
null
ffcv/__init__.py
neuroailab/ffcv
43d249762d32ce873678a9b8d7983ae653ad6f84
[ "Apache-2.0" ]
1
2022-02-25T15:58:42.000Z
2022-02-25T15:58:42.000Z
from .loader import Loader from .writer import DatasetWriter __version__ = '0.0.2' __all__ = ['Loader']
17.5
33
0.742857
14
105
5
0.642857
0
0
0
0
0
0
0
0
0
0
0.033333
0.142857
105
5
34
21
0.744444
0
0
0
0
0
0.104762
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cbe21eaa45968158d81048251f2758a991eb024f
367
py
Python
tests/func.py
Vipul-Cariappa/py-utility
665ec5aeceeb7b56d2558da026a52fdd04659e6e
[ "MIT" ]
1
2020-12-05T14:04:12.000Z
2020-12-05T14:04:12.000Z
tests/func.py
Vipul-Cariappa/py-utility
665ec5aeceeb7b56d2558da026a52fdd04659e6e
[ "MIT" ]
4
2020-12-03T08:29:58.000Z
2021-01-14T14:36:54.000Z
tests/func.py
Vipul-Cariappa/py-utility
665ec5aeceeb7b56d2558da026a52fdd04659e6e
[ "MIT" ]
1
2020-12-05T07:08:57.000Z
2020-12-05T07:08:57.000Z
def memory(x): x = [i for i in range(x)] return -1 def time(x): # recursive function to find xth fibonacci number if x < 3: return 1 return time(x-1) + time(x-2) def error(x=None): # error function return "a" / 2 def return_check(*args, **kwagrs): # args and kwargs function...
17.47619
53
0.59673
58
367
3.758621
0.517241
0.068807
0
0
0
0
0
0
0
0
0
0.022642
0.277929
367
20
54
18.35
0.8
0.237057
0
0
0
0
0.003623
0
0
0
0
0
0
1
0.363636
false
0
0
0.181818
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1db1f3673dc27ad6ea8b5363c2cb1a3550b523cd
68
py
Python
actfw_jetson/logger.py
Idein/actfw-jetson
d4e7538e8ca96c53050de8969558b6e4c766551f
[ "MIT" ]
null
null
null
actfw_jetson/logger.py
Idein/actfw-jetson
d4e7538e8ca96c53050de8969558b6e4c766551f
[ "MIT" ]
8
2021-03-25T03:04:45.000Z
2022-01-27T08:06:17.000Z
actfw_jetson/logger.py
Idein/actfw-jetson
d4e7538e8ca96c53050de8969558b6e4c766551f
[ "MIT" ]
null
null
null
from logging import getLogger DEFAULT_LOGGER = getLogger(__name__)
17
36
0.838235
8
68
6.5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.117647
68
3
37
22.666667
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1db57a8af9af684a79959526f5d69607ef9f52d8
314
py
Python
server/lib/Logger.py
HumaneWolf/tbanekart
2fe76cea843935ca378dd00d2b02b34e66ad617f
[ "MIT" ]
1
2020-01-25T02:38:34.000Z
2020-01-25T02:38:34.000Z
server/lib/Logger.py
HumaneWolf/tbanekart
2fe76cea843935ca378dd00d2b02b34e66ad617f
[ "MIT" ]
null
null
null
server/lib/Logger.py
HumaneWolf/tbanekart
2fe76cea843935ca378dd00d2b02b34e66ad617f
[ "MIT" ]
null
null
null
from datetime import datetime def info(text): printWithTime('INFO: ' + text) def warn(text): printWithTime('WARN: ' + text) def error(text): printWithTime('ERR : ' + text) def printWithTime(text): now = datetime.now().time().isoformat(timespec='seconds') print('[' + now + '] ' + text)
16.526316
61
0.624204
35
314
5.6
0.457143
0.260204
0
0
0
0
0
0
0
0
0
0
0.203822
314
18
62
17.444444
0.784
0
0
0
0
0
0.089172
0
0
0
0
0
0
1
0.4
false
0
0.1
0
0.5
0.5
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
3
1dbd66e67c5e39a82c00d35ed1ec2309dac8c8a5
1,044
py
Python
setup.py
eriktews/gensafeprime
689178c76a8c5fcd21b349db7deb2184f9ebc025
[ "MIT" ]
6
2015-08-11T19:18:19.000Z
2021-12-09T14:19:18.000Z
setup.py
eriktews/gensafeprime
689178c76a8c5fcd21b349db7deb2184f9ebc025
[ "MIT" ]
4
2015-01-11T03:58:36.000Z
2015-08-11T00:45:09.000Z
setup.py
eriktews/gensafeprime
689178c76a8c5fcd21b349db7deb2184f9ebc025
[ "MIT" ]
5
2015-01-11T20:28:01.000Z
2021-09-27T21:42:29.000Z
from distutils.core import setup, Extension setup ( name = 'gensafeprime', version = '1.6', description = 'Generate safe primes using OpenSSL (a prime p = 2*q+1, and q is prime too)', long_description = open('README.txt').read(), author = 'Erik Tews', author_email = 'erik@datenzone.de', url = 'https://github...
38.666667
104
0.666667
116
1,044
5.974138
0.741379
0.064935
0.07215
0
0
0
0
0
0
0
0
0.007946
0.15613
1,044
26
105
40.153846
0.778661
0
0
0
1
0.04
0.606322
0.021073
0
0
0
0
0
1
0
true
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1dc27a258c9ba8e7fdb3f8d7bb8f76403002903b
831
py
Python
supabase_py/lib/supabase_storage_client.py
azvaska/supabase-py
59c1f7ed5e2417fbc16df28ab66cd59d6b697d74
[ "MIT" ]
null
null
null
supabase_py/lib/supabase_storage_client.py
azvaska/supabase-py
59c1f7ed5e2417fbc16df28ab66cd59d6b697d74
[ "MIT" ]
null
null
null
supabase_py/lib/supabase_storage_client.py
azvaska/supabase-py
59c1f7ed5e2417fbc16df28ab66cd59d6b697d74
[ "MIT" ]
null
null
null
from supabase_py.lib.storage.storage_bucket_api import StorageBucketApi from supabase_py.lib.storage.storage_file_api import StorageFileApi class SupabaseStorageClient(StorageBucketApi): """ Manage the storage bucket and files Examples -------- >>> url = storage_file.create_signed_url("poll3o/tes...
36.130435
94
0.720818
102
831
5.568627
0.441176
0.096831
0.073944
0.059859
0.21831
0.21831
0
0
0
0
0
0.011348
0.151625
831
22
95
37.772727
0.794326
0.478941
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1dceda5f9a370922e83fd737fa452ed8f1c81122
1,961
py
Python
django_test_toolkit/mixins/blueking.py
TencentBlueKing/django-test-toolkit
88e941283c8f34a6ade5b1eef0b3b1c70777f6ea
[ "MIT" ]
1
2022-03-30T07:36:45.000Z
2022-03-30T07:36:45.000Z
django_test_toolkit/mixins/blueking.py
TencentBlueKing/django-test-toolkit
88e941283c8f34a6ade5b1eef0b3b1c70777f6ea
[ "MIT" ]
null
null
null
django_test_toolkit/mixins/blueking.py
TencentBlueKing/django-test-toolkit
88e941283c8f34a6ade5b1eef0b3b1c70777f6ea
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
37.711538
120
0.738909
235
1,961
6.068085
0.570213
0.042076
0.042076
0.064516
0.128331
0.109397
0.109397
0
0
0
0
0.010462
0.171341
1,961
51
121
38.45098
0.867077
0.407445
0
0.090909
0
0
0.08805
0.058401
0
0
0
0
0.454545
1
0.227273
false
0
0.181818
0
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
1
0
0
3
1dd5373539f70f5f9355ef024f5c4c2854d7b249
401
bzl
Python
source/bazel/rules/unilang/transfer_unilang_java.bzl
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/bazel/rules/unilang/transfer_unilang_java.bzl
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/bazel/rules/unilang/transfer_unilang_java.bzl
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
load("//bazel/rules/cpp:main.bzl", "cpp_main") load("//bazel/rules/unilang:unilang_to_java.bzl", "unilang_to_java") load("//bazel/rules/code:code_to_java.bzl", "code_to_java") load("//bazel/rules/move_file:move_file.bzl", "move_file") load("//bazel/rules/move_file:move_file_java.bzl", "move_java_file") def transfer_un...
40.1
68
0.753117
67
401
4.164179
0.238806
0.16129
0.250896
0.107527
0.308244
0.215054
0.215054
0
0
0
0
0
0.062344
401
9
69
44.555556
0.742021
0
0
0
0
0
0.59601
0.451372
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1df64c7ca874e6cc9127bac514bdb1e58d95f907
83
py
Python
mmhuman3d/models/discriminators/__init__.py
ykk648/mmhuman3d
26af92bcf6abbe1855e1a8a48308621410f9c047
[ "Apache-2.0" ]
472
2021-12-03T03:12:55.000Z
2022-03-31T01:33:13.000Z
mmhuman3d/models/discriminators/__init__.py
ykk648/mmhuman3d
26af92bcf6abbe1855e1a8a48308621410f9c047
[ "Apache-2.0" ]
127
2021-12-03T05:00:14.000Z
2022-03-31T13:47:33.000Z
mmhuman3d/models/discriminators/__init__.py
ykk648/mmhuman3d
26af92bcf6abbe1855e1a8a48308621410f9c047
[ "Apache-2.0" ]
37
2021-12-03T03:23:22.000Z
2022-03-31T08:41:58.000Z
from .pose_discriminator import SMPLDiscriminator __all__ = ['SMPLDiscriminator']
20.75
49
0.831325
7
83
9.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.096386
83
3
50
27.666667
0.853333
0
0
0
0
0
0.204819
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1df9b298bc5b4cfa194b7b03314818fea90554fd
17
py
Python
common/version.py
pythings/PythingsOS
276b41a32af7fa0d5395b2bb308e611f784f9711
[ "Apache-2.0" ]
11
2020-01-15T14:25:48.000Z
2021-11-25T04:21:18.000Z
common/version.py
Pythings/PythingsOS
276b41a32af7fa0d5395b2bb308e611f784f9711
[ "Apache-2.0" ]
8
2021-02-04T16:41:57.000Z
2022-03-29T21:57:15.000Z
common/version.py
pythings/PythingsOS
276b41a32af7fa0d5395b2bb308e611f784f9711
[ "Apache-2.0" ]
null
null
null
version='v1.1.0'
8.5
16
0.647059
4
17
2.75
1
0
0
0
0
0
0
0
0
0
0
0.1875
0.058824
17
1
17
17
0.5
0
0
0
0
0
0.352941
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1dfa8d9db8040c40702093623f3fb071a41ddad4
219
py
Python
Problems/User/task.py
gabrielizalo/jetbrains-academy-python-coffee-machine
e22cb502f7998855ef4afbc4ef7ecb8226418225
[ "MIT" ]
null
null
null
Problems/User/task.py
gabrielizalo/jetbrains-academy-python-coffee-machine
e22cb502f7998855ef4afbc4ef7ecb8226418225
[ "MIT" ]
null
null
null
Problems/User/task.py
gabrielizalo/jetbrains-academy-python-coffee-machine
e22cb502f7998855ef4afbc4ef7ecb8226418225
[ "MIT" ]
null
null
null
class User: # create the class attributes n_active = 0 users = [] # create the __init__ method def __init__(self, active, user_name): self.active = active self.user_name = user_name
21.9
42
0.630137
28
219
4.5
0.5
0.190476
0
0
0
0
0
0
0
0
0
0.006494
0.296804
219
9
43
24.333333
0.811688
0.246575
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
380bfbebf68fadb131e314112739a9d819f1e112
652
py
Python
lilspider/processors/zh.py
pipizhang/lilspider
17d3d5e5986272bef0978113d8d97604c6aeb74e
[ "MIT" ]
null
null
null
lilspider/processors/zh.py
pipizhang/lilspider
17d3d5e5986272bef0978113d8d97604c6aeb74e
[ "MIT" ]
null
null
null
lilspider/processors/zh.py
pipizhang/lilspider
17d3d5e5986272bef0978113d8d97604c6aeb74e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import re from ..utils import * from ..purifier.base import TextSpaceProcessor from ..purifier.html import HtmlRawPurifier from .base import PurifierProcessor from ..checker.zh import TitleTextChecker from ..exceptions import CheckerError class ArticleTitle(PurifierProcessor): def __init__...
25.076923
49
0.653374
68
652
6.147059
0.558824
0.057416
0
0
0
0
0
0
0
0
0
0.006061
0.240798
652
25
50
26.08
0.838384
0.032209
0
0
0
0
0.011147
0
0
0
0
0
0
1
0.105263
false
0.052632
0.368421
0
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
3819346bdaf7b39a27c18dbb900128602c378258
653
py
Python
zoom/__init__.py
sean-hayes/zoom
eda69c64ceb69dd87d2f7a5dfdaeea52ef65c581
[ "MIT" ]
1
2017-05-11T17:24:49.000Z
2017-05-11T17:24:49.000Z
zoom/__init__.py
sean-hayes/zoom
eda69c64ceb69dd87d2f7a5dfdaeea52ef65c581
[ "MIT" ]
null
null
null
zoom/__init__.py
sean-hayes/zoom
eda69c64ceb69dd87d2f7a5dfdaeea52ef65c581
[ "MIT" ]
1
2020-07-20T00:33:27.000Z
2020-07-20T00:33:27.000Z
# -*- coding: utf-8 -*- # ____ # / _ _ _ _ # / / \ / \ | \_/ | # /___ \ _ / \ _ / | | """ Zoom Web Framework """ import zoom.alerts import zoom.collect import zoom.database import zoom.queues import zoom.records import zoom.services import zoom.store import zoom.users from .a...
20.40625
38
0.684533
82
653
5.256098
0.463415
0.185615
0
0
0
0
0
0
0
0
0
0.001976
0.225115
653
31
39
21.064516
0.849802
0.200613
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
38236f72f58a1ba31bad6004a355703c3e4fde40
2,218
py
Python
mdjango/mova/models.py
Nove-Scrope/mova_project
7382bda6f61ad0c8e4293ac31b0e7c72f49962d2
[ "MIT" ]
null
null
null
mdjango/mova/models.py
Nove-Scrope/mova_project
7382bda6f61ad0c8e4293ac31b0e7c72f49962d2
[ "MIT" ]
null
null
null
mdjango/mova/models.py
Nove-Scrope/mova_project
7382bda6f61ad0c8e4293ac31b0e7c72f49962d2
[ "MIT" ]
1
2018-12-28T05:54:00.000Z
2018-12-28T05:54:00.000Z
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` line...
39.607143
105
0.686655
307
2,218
4.912052
0.273616
0.113395
0.163793
0.169098
0.647878
0.647878
0.60809
0.559019
0.559019
0.559019
0
0
0.21596
2,218
55
106
40.327273
0.867165
0.267358
0
0.416667
1
0
0.013487
0
0
0
0
0
0
1
0
false
0
0.027778
0
0.777778
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
1
0
0
3
382ef9e4c8e57bb57af7c1e8a1813ebaabca8d66
5,871
py
Python
utils/preprocess.py
hubutui/PNS-Net
58ce373ca1849b5f59b90da3af0e035f6a27b60d
[ "Apache-2.0" ]
55
2021-06-18T11:17:23.000Z
2022-03-28T19:41:26.000Z
utils/preprocess.py
hubutui/PNS-Net
58ce373ca1849b5f59b90da3af0e035f6a27b60d
[ "Apache-2.0" ]
8
2021-07-05T11:53:42.000Z
2022-03-11T14:30:03.000Z
utils/preprocess.py
hubutui/PNS-Net
58ce373ca1849b5f59b90da3af0e035f6a27b60d
[ "Apache-2.0" ]
25
2021-06-18T14:31:19.000Z
2022-03-19T11:48:16.000Z
from PIL import Image import random from torchvision.transforms import ToTensor as torchtotensor ################################iamge################################ class Compose_imglabel(object): def __init__(self, transforms): self.transforms = transforms def __call__(self, img, label): f...
31.228723
91
0.577244
736
5,871
4.388587
0.099185
0.081734
0.037461
0.034675
0.808359
0.741176
0.679257
0.652632
0.627245
0.566563
0
0.004786
0.288196
5,871
188
92
31.228723
0.768126
0.048714
0
0.738462
0
0
0.022005
0
0
0
0
0
0.038462
1
0.2
false
0
0.023077
0.015385
0.438462
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
697e5d78264912eee1d7558dc10e72206d055296
53
py
Python
LoopStructural/modelling/__init__.py
wgorczyk/LoopStructural
bedc7abd4c1868fdbd6ed659c8d72ef19f793875
[ "MIT" ]
null
null
null
LoopStructural/modelling/__init__.py
wgorczyk/LoopStructural
bedc7abd4c1868fdbd6ed659c8d72ef19f793875
[ "MIT" ]
null
null
null
LoopStructural/modelling/__init__.py
wgorczyk/LoopStructural
bedc7abd4c1868fdbd6ed659c8d72ef19f793875
[ "MIT" ]
null
null
null
""" Geological modelling classes and functions """
8.833333
42
0.716981
5
53
7.6
1
0
0
0
0
0
0
0
0
0
0
0
0.169811
53
5
43
10.6
0.863636
0.792453
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
699b7696fa32fa7e978b590e91a497a5c0e1f03c
178
py
Python
test_equivalence.py
airMeng/sparsednn
fd8f5b2df7a0b42b9ac4c2f2a0f54650d30793fe
[ "Apache-2.0" ]
36
2021-07-07T20:29:52.000Z
2022-03-14T06:25:28.000Z
test_equivalence.py
airMeng/sparsednn
fd8f5b2df7a0b42b9ac4c2f2a0f54650d30793fe
[ "Apache-2.0" ]
4
2021-09-27T02:15:30.000Z
2021-12-02T09:00:30.000Z
test_equivalence.py
airMeng/sparsednn
fd8f5b2df7a0b42b9ac4c2f2a0f54650d30793fe
[ "Apache-2.0" ]
3
2021-07-09T22:38:09.000Z
2021-12-22T03:08:48.000Z
import numpy as np import sys a = np.load(sys.argv[1]) b = np.load(sys.argv[2]) print("Difference: ",np.sum(np.abs(a.squeeze()-b.squeeze()))) print(np.where(np.abs(a-b) > 0.01))
25.428571
61
0.657303
37
178
3.162162
0.513514
0.102564
0.153846
0.222222
0
0
0
0
0
0
0
0.031056
0.095506
178
6
62
29.666667
0.695652
0
0
0
0
0
0.067416
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
69a02931517a36c25ccbf11b19e348b604b265da
198
py
Python
programming/leetcode/arraysAndStrings/SquaresOfASortedArray.py
vamsitallapudi/Coderefer-Python-Projects
a7acc682251661e296c64533f4a85d47e6eedda2
[ "Apache-2.0" ]
1
2021-01-03T06:42:58.000Z
2021-01-03T06:42:58.000Z
programming/leetcode/arraysAndStrings/SquaresOfASortedArray.py
vamsitallapudi/Coderefer-Python-Projects
a7acc682251661e296c64533f4a85d47e6eedda2
[ "Apache-2.0" ]
null
null
null
programming/leetcode/arraysAndStrings/SquaresOfASortedArray.py
vamsitallapudi/Coderefer-Python-Projects
a7acc682251661e296c64533f4a85d47e6eedda2
[ "Apache-2.0" ]
null
null
null
from typing import List class Solution: def sortedSquares(self, A: List[int]) -> List[int]: return sorted(list(i ** 2 for i in A)) print(Solution().sortedSquares([-3, -1, 0, 2, 3]))
19.8
55
0.626263
31
198
4
0.677419
0.112903
0
0
0
0
0
0
0
0
0
0.038217
0.207071
198
9
56
22
0.751592
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.8
0.2
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
1
0
0
3
69b03e6d23342f06568b1e399383b7064b5b78db
60
py
Python
supervised/__init__.py
vtisza/mljar-supervised
3a2114bab33cb27a1e98b6e3d79b5f79afdf5917
[ "MIT" ]
null
null
null
supervised/__init__.py
vtisza/mljar-supervised
3a2114bab33cb27a1e98b6e3d79b5f79afdf5917
[ "MIT" ]
null
null
null
supervised/__init__.py
vtisza/mljar-supervised
3a2114bab33cb27a1e98b6e3d79b5f79afdf5917
[ "MIT" ]
null
null
null
__version__ = "0.9.0" from supervised.automl import AutoML
15
36
0.766667
9
60
4.666667
0.777778
0
0
0
0
0
0
0
0
0
0
0.057692
0.133333
60
3
37
20
0.75
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
69bb5445144876255421ca4834e27f714f989c1d
112
py
Python
Python/Exercicios/ex0024.py
Gabysx/CursoEmVideo
f5c966742c3da8f0c79a3266d1b0d0b22b5d2af5
[ "MIT" ]
null
null
null
Python/Exercicios/ex0024.py
Gabysx/CursoEmVideo
f5c966742c3da8f0c79a3266d1b0d0b22b5d2af5
[ "MIT" ]
null
null
null
Python/Exercicios/ex0024.py
Gabysx/CursoEmVideo
f5c966742c3da8f0c79a3266d1b0d0b22b5d2af5
[ "MIT" ]
null
null
null
cidade = input('Qua é a sua cidade? ') cidade.count('Santo', 0, 4) print('Sua cidade começa com Santo', cidade)
28
44
0.6875
19
112
4.052632
0.684211
0.233766
0
0
0
0
0
0
0
0
0
0.021053
0.151786
112
3
45
37.333333
0.789474
0
0
0
0
0
0.464286
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
69c6750277e19190a7034c2f13f5adcfef4ce621
459
py
Python
utils/dbutils.py
ThinkmanWang/NotesServer
86a1f7f56b30f94aaccd3d70941e3873cc1713e2
[ "Apache-2.0" ]
null
null
null
utils/dbutils.py
ThinkmanWang/NotesServer
86a1f7f56b30f94aaccd3d70941e3873cc1713e2
[ "Apache-2.0" ]
1
2021-06-01T21:40:51.000Z
2021-06-01T21:40:51.000Z
utils/dbutils.py
ThinkmanWang/NotesServer
86a1f7f56b30f94aaccd3d70941e3873cc1713e2
[ "Apache-2.0" ]
null
null
null
import sys import os sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'models')) #print(sys.path) from mysql_python import MysqlPython from models.User import User from models.Customer import Customer import MySQLdb from DBUtils.PooledDB import PooledDB import hashlib import time g_dbPool ...
28.6875
147
0.740741
65
459
5.107692
0.569231
0.042169
0
0
0
0
0
0
0
0
0
0.017677
0.137255
459
15
148
30.6
0.820707
0.03268
0
0
0
0
0.095794
0
0
0
0
0
0
1
0
false
0.090909
0.818182
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
69d3f6d0ca7e5e21c9041e12ab6ba495a936f5fc
646
py
Python
resources/lib/mockito/mockito/matchers.py
bopopescu/ServerStatus
a883598248ad6f5273eb3be498e3b04a1fab6510
[ "MIT" ]
null
null
null
resources/lib/mockito/mockito/matchers.py
bopopescu/ServerStatus
a883598248ad6f5273eb3be498e3b04a1fab6510
[ "MIT" ]
1
2015-04-21T22:05:02.000Z
2015-04-22T22:27:15.000Z
resources/lib/mockito/mockito/matchers.py
GetSomeBlocks/Score_Soccer
a883598248ad6f5273eb3be498e3b04a1fab6510
[ "MIT" ]
2
2015-09-29T16:31:43.000Z
2020-07-26T03:41:10.000Z
class Matcher: def matches(self, arg): pass class Any(Matcher): def __init__(self, wanted_type=None): self.wanted_type = wanted_type def matches(self, arg): if self.wanted_type: return isinstance(arg, self.wanted_type) else: return True def __repr__(self): re...
23.071429
69
0.616099
89
646
4.224719
0.314607
0.159574
0.18617
0.135638
0.101064
0
0
0
0
0
0
0.004184
0.260062
646
28
70
23.071429
0.782427
0
0
0.227273
0
0
0.044822
0
0
0
0
0
0
1
0.318182
false
0.045455
0
0.090909
0.681818
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
69e482fcef42af370a0d9645fd21c7b7dc22afee
149
py
Python
005/ex005.py
lucaspdroz/Relembrando-Python-com-Curso-Em-Video
ee9205c232abd2f3ef01a4fcbf0256efd38505e9
[ "MIT" ]
null
null
null
005/ex005.py
lucaspdroz/Relembrando-Python-com-Curso-Em-Video
ee9205c232abd2f3ef01a4fcbf0256efd38505e9
[ "MIT" ]
null
null
null
005/ex005.py
lucaspdroz/Relembrando-Python-com-Curso-Em-Video
ee9205c232abd2f3ef01a4fcbf0256efd38505e9
[ "MIT" ]
null
null
null
number = int(input('digite um número:')) print(' Você digitou {}, seu antecessor é {} e seu sucessor é {}'.format(number, number-1, number+1))
29.8
102
0.651007
22
149
4.409091
0.727273
0.14433
0
0
0
0
0
0
0
0
0
0.01626
0.174497
149
4
103
37.25
0.772358
0
0
0
0
0
0.510345
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
69e7137715ea3269fd3979d8a9569e7ffa3813c6
66
py
Python
code/if_test.py
Delaunay/lython
b4cd21714893beb5b14ccbeb17b2b1af074118bc
[ "BSD-3-Clause" ]
1
2016-11-23T14:39:11.000Z
2016-11-23T14:39:11.000Z
code/if_test.py
Delaunay/lython
b4cd21714893beb5b14ccbeb17b2b1af074118bc
[ "BSD-3-Clause" ]
9
2020-02-25T01:48:27.000Z
2021-12-31T02:56:28.000Z
code/if_test.py
Delaunay/lython
b4cd21714893beb5b14ccbeb17b2b1af074118bc
[ "BSD-3-Clause" ]
1
2015-12-18T12:17:01.000Z
2015-12-18T12:17:01.000Z
def baz(x): if x < 0: baz(x) else: baz(x)
11
14
0.348485
11
66
2.090909
0.545455
0.521739
0
0
0
0
0
0
0
0
0
0.030303
0.5
66
5
15
13.2
0.666667
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
69ea09ba44a6849831907f6b876aaa277428136c
702
py
Python
pydfs/src/dfs/util.py
nirdslab/streaminghub
a0d9f5f8be0ee6f090bd2b48b9f596695497c2bf
[ "MIT" ]
null
null
null
pydfs/src/dfs/util.py
nirdslab/streaminghub
a0d9f5f8be0ee6f090bd2b48b9f596695497c2bf
[ "MIT" ]
null
null
null
pydfs/src/dfs/util.py
nirdslab/streaminghub
a0d9f5f8be0ee6f090bd2b48b9f596695497c2bf
[ "MIT" ]
1
2020-01-22T15:35:29.000Z
2020-01-22T15:35:29.000Z
import os import random def get_datasource_dir(): return get_meta_dir('datasources') def get_dataset_dir(): return get_meta_dir('datasets') def get_analytic_dir(): return get_meta_dir('analytics') def get_meta_dir(sub_folder: str = None): base_dir = os.getenv('STREAMINGHUB_META_DIR') if sub_folder is ...
18.972973
71
0.725071
111
702
4.27027
0.342342
0.118143
0.084388
0.101266
0.449367
0.21519
0.21519
0.21519
0.21519
0.21519
0
0.020443
0.163818
702
36
72
19.5
0.787053
0
0
0.333333
0
0
0.11396
0.059829
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
69f928f74c858ec48b120fd1d7949be1b5f7b1f8
872
py
Python
examples/unionjack.py
druck13/blinkt
4370a64cbd4cf7d6177967b902f16793a4c5fa60
[ "MIT" ]
null
null
null
examples/unionjack.py
druck13/blinkt
4370a64cbd4cf7d6177967b902f16793a4c5fa60
[ "MIT" ]
null
null
null
examples/unionjack.py
druck13/blinkt
4370a64cbd4cf7d6177967b902f16793a4c5fa60
[ "MIT" ]
null
null
null
#!/usr/bin/env python import time import blinkt RED__ = (255, 0, 0) WHITE = (127, 127, 127) BLUE_ = (0, 0, 255) pattern = [ [RED__, BLUE_, WHITE, RED__, RED__, WHITE, BLUE_, RED__], [BLUE_, RED__, WHITE, RED__, RED__, WHITE, RED__, BLUE_], [WHITE, WHITE, WHITE, RED__, RED__, WHITE, WHITE, WHITE], [RE...
28.129032
61
0.616972
124
872
3.629032
0.266129
0.28
0.28
0.346667
0.533333
0.533333
0.533333
0.533333
0.106667
0.106667
0
0.037313
0.231651
872
30
62
29.066667
0.634328
0.022936
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0e12ec7a0e29889bba847c94b652565a742eff49
9,972
py
Python
stor/tests/test_settings.py
anujkumar93/stor
dd51ea53784f30b12c4d43fefe646cda13246084
[ "MIT" ]
null
null
null
stor/tests/test_settings.py
anujkumar93/stor
dd51ea53784f30b12c4d43fefe646cda13246084
[ "MIT" ]
6
2018-09-11T18:04:42.000Z
2018-12-04T01:30:57.000Z
stor/tests/test_settings.py
anujkumar93/stor
dd51ea53784f30b12c4d43fefe646cda13246084
[ "MIT" ]
null
null
null
import copy import mock import os from stor import settings import threading import time import unittest test_settings = { 'swift:download': { 'container_threads': 10, 'object_threads': 10, 'shuffle': True, 'skip_identical': True }, 'swift:upload': { 'changed': False...
34.989474
83
0.512736
901
9,972
5.413984
0.144284
0.04797
0.108241
0.073801
0.775113
0.731857
0.701312
0.682862
0.673842
0.658262
0
0.028438
0.358203
9,972
284
84
35.112676
0.73375
0
0
0.629213
0
0
0.212996
0.025271
0
0
0
0
0.116105
1
0.048689
false
0.014981
0.026217
0
0.078652
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
384e4f9aa4ccb2155669a98ab010c43f25f2b63a
747
py
Python
WebServer/possible/Context/Server.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
1
2019-12-16T07:55:55.000Z
2019-12-16T07:55:55.000Z
WebServer/possible/Context/Server.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
null
null
null
WebServer/possible/Context/Server.py
yvanlvA/Possible_Web_Server_Frame
2992e2cf512d34efac8bd976b67fbbd46aa8a996
[ "MIT" ]
null
null
null
#_*_ coding:utf-8 _*_ import os.path import urllib.parse class Server(object): def __init__(self): pass def RelPath(self, path): '''绝对路径转相对路径''' return os.path.relpath(path) def MapPath(self, path): '''获取文件的绝对路径,相对路径转绝对路径''' return os.path.abspath(path) def Ht...
19.153846
43
0.56091
86
747
4.686047
0.44186
0.029777
0.059553
0
0
0
0
0
0
0
0
0.00565
0.289157
747
38
44
19.657895
0.753296
0.093708
0
0.095238
0
0
0.027864
0
0
0
0
0
0
1
0.380952
false
0.095238
0.095238
0
0.809524
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
38aa6406a2d91b1d2a040d619fbc736bac93fdff
943
py
Python
autograd/differential_operators.py
mattjj/autograd_tutorial
c32947fbd7f130d791ab1e277a0feed05cb3da5f
[ "MIT" ]
704
2018-01-30T16:41:47.000Z
2022-03-23T02:03:08.000Z
autograd/differential_operators.py
mattjj/autograd_tutorial
c32947fbd7f130d791ab1e277a0feed05cb3da5f
[ "MIT" ]
6
2018-01-30T20:43:49.000Z
2020-04-27T13:27:08.000Z
autograd/differential_operators.py
mattjj/autograd_tutorial
c32947fbd7f130d791ab1e277a0feed05cb3da5f
[ "MIT" ]
88
2018-02-03T16:36:54.000Z
2022-02-09T04:21:30.000Z
"""Convenience functions built on top of `make_vjp`.""" import numpy as np from .core import make_vjp from .util import subval def grad(fun, argnum=0): """Constructs gradient function. Given a function fun(x), returns a function fun'(x) that returns the gradient of fun(x) wrt x. Args: fun: si...
30.419355
79
0.661718
132
943
4.681818
0.462121
0.033981
0.038835
0.042071
0
0
0
0
0
0
0
0.001397
0.240721
943
30
80
31.433333
0.861732
0.579003
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
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
1
0
1
0
0
3
38abff082f219e2fb9c63dc34c28a045e1ebae94
2,866
py
Python
src/stars/controller.py
kevintmcdonnell/stars
ce0df570c546a8490ef4f9ceeb84c8e1132b2791
[ "MIT" ]
4
2020-11-02T19:22:44.000Z
2020-11-04T17:18:14.000Z
src/stars/controller.py
kevintmcdonnell/stars
ce0df570c546a8490ef4f9ceeb84c8e1132b2791
[ "MIT" ]
3
2020-11-04T00:58:08.000Z
2020-11-04T19:01:53.000Z
src/stars/controller.py
kevintmcdonnell/stars
ce0df570c546a8490ef4f9ceeb84c8e1132b2791
[ "MIT" ]
null
null
null
from typing import List from interpreter.debugger import Debug from interpreter.interpreter import Interpreter import settings ''' https://github.com/sbustars/STARS Copyright 2020 Kevin McDonnell, Jihu Mun, and Ian Peitzsch Developed by Kevin McDonnell (ktm@cs.stonybrook.edu), Jihu Mun (jihu1011@gmail.com), and Ian...
38.213333
460
0.710398
403
2,866
5
0.406948
0.074442
0.039702
0.037717
0.112159
0.090323
0.090323
0.057568
0.057568
0.057568
0
0.00353
0.209351
2,866
74
461
38.72973
0.885702
0
0
0.190476
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.095238
0.142857
0.595238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
38c0a55369fd1a109f4ff247e249eae94867e14e
5,334
py
Python
pioreactor/tests/test_pumps.py
CamDavidsonPilon/morbidostat
c6b0f397faf88144087d97047e6f6da90d8d1068
[ "MIT" ]
1
2020-11-02T14:34:59.000Z
2020-11-02T14:34:59.000Z
pioreactor/tests/test_pumps.py
CamDavidsonPilon/morbidostat
c6b0f397faf88144087d97047e6f6da90d8d1068
[ "MIT" ]
1
2020-11-21T01:35:02.000Z
2020-11-21T01:35:02.000Z
pioreactor/tests/test_pumps.py
CamDavidsonPilon/morbidostat
c6b0f397faf88144087d97047e6f6da90d8d1068
[ "MIT" ]
1
2020-11-12T04:02:24.000Z
2020-11-12T04:02:24.000Z
# -*- coding: utf-8 -*- from __future__ import annotations import json import threading import time import pytest from pioreactor.actions.pump import add_alt_media from pioreactor.actions.pump import add_media from pioreactor.actions.pump import remove_waste from pioreactor.exc import CalibrationError from pioreacto...
30.83237
90
0.680727
699
5,334
4.925608
0.160229
0.044148
0.099332
0.115887
0.833285
0.781586
0.725821
0.68603
0.560558
0.486204
0
0.018037
0.199663
5,334
172
91
31.011628
0.788475
0.003937
0
0.420635
0
0
0.130672
0.077387
0
0
0
0
0.150794
1
0.119048
false
0
0.103175
0
0.253968
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
38cce809f514390343e3ecce2c8cf5b3ca7b8d85
1,501
py
Python
polling_stations/apps/councils/tests/factories.py
smsmith97/UK-Polling-Stations
ecbd98cb99e89e97354da3960b0063aa36181b11
[ "BSD-3-Clause" ]
29
2015-03-10T08:41:34.000Z
2022-01-12T08:51:38.000Z
polling_stations/apps/councils/tests/factories.py
smsmith97/UK-Polling-Stations
ecbd98cb99e89e97354da3960b0063aa36181b11
[ "BSD-3-Clause" ]
4,112
2015-04-01T21:27:38.000Z
2022-03-31T19:22:11.000Z
polling_stations/apps/councils/tests/factories.py
smsmith97/UK-Polling-Stations
ecbd98cb99e89e97354da3960b0063aa36181b11
[ "BSD-3-Clause" ]
31
2015-03-18T14:52:50.000Z
2022-02-24T10:31:07.000Z
import itertools import string import factory from councils.models import Council, CouncilGeography class CouncilGeographyFactory(factory.django.DjangoModelFactory): class Meta: model = CouncilGeography class CouncilFactory(factory.django.DjangoModelFactory): class Meta: model = Council ...
57.730769
836
0.744171
198
1,501
5.616162
0.520202
0.03777
0.055755
0.064748
0.080935
0.080935
0
0
0
0
0
0.46148
0.126582
1,501
25
837
60.04
0.386728
0.002665
0
0.111111
0
0.055556
0.550502
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.611111
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
1
0
0
3
38cdb8d6ce5d468514ae0ce32c46581b2c361787
45,928
py
Python
market_clearing/market_clearing_main.py
akylasstrat/prescriptive_trees_power_apps
7aab7b7fca7234bcb7a33665ee9d25339c69c099
[ "Apache-2.0" ]
1
2021-11-20T04:59:00.000Z
2021-11-20T04:59:00.000Z
market_clearing/market_clearing_main.py
akylasstrat/prescriptive_trees_power_apps
7aab7b7fca7234bcb7a33665ee9d25339c69c099
[ "Apache-2.0" ]
null
null
null
market_clearing/market_clearing_main.py
akylasstrat/prescriptive_trees_power_apps
7aab7b7fca7234bcb7a33665ee9d25339c69c099
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Economic dispatch with two-stage stochastic optimization example Uncertainty only on demand/ no wind in this example. @author: akyla.stratigakos@mines-paristech.fr """ import numpy as np import matplotlib.pyplot as plt import pandas as pd import os, sys import pickle import cvxpy as cp fr...
48.549683
177
0.58239
6,199
45,928
4.103726
0.075335
0.009434
0.031919
0.034199
0.743779
0.726208
0.699752
0.672157
0.651362
0.63556
0
0.014613
0.260974
45,928
945
178
48.601058
0.734871
0.088595
0
0.557377
0
0
0.107283
0.009128
0
0
0
0
0
0
null
null
0
0.02459
null
null
0.037705
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
38d52a48aa7d5d0a578abf1f06ad0b2f34598f37
242
py
Python
navio/meta_gitlab.py
navio-online/navio-gitlab
b68ea13e03e54b81b6a1dc5554b3c8907c391a8a
[ "Apache-2.0", "MIT" ]
null
null
null
navio/meta_gitlab.py
navio-online/navio-gitlab
b68ea13e03e54b81b6a1dc5554b3c8907c391a8a
[ "Apache-2.0", "MIT" ]
null
null
null
navio/meta_gitlab.py
navio-online/navio-gitlab
b68ea13e03e54b81b6a1dc5554b3c8907c391a8a
[ "Apache-2.0", "MIT" ]
null
null
null
__version__ = "0.1.9" __license__ = "Apache 2.0 license" __website__ = "https://oss.navio.online/navio-gitlab/" __download_url__ = ('https://github.com/navio-online/navio-gitlab/archive' '/{}.tar.gz'.format(__version__)),
40.333333
74
0.669421
30
242
4.7
0.7
0.156028
0.22695
0.312057
0
0
0
0
0
0
0
0.024155
0.144628
242
5
75
48.4
0.657005
0
0
0
0
0
0.508264
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2a167d3839b05c280306fb03f3f4d976a7a1a0c9
467
py
Python
students/K33402/Krivoshapkina_Aitalina/LR_3/hospital_app/migrations/0003_remove_scheduleofcabinet_status_and_more.py
aytakr/ITMO_ICT_WebDevelopment_2021-2022
57c0eef5e1f413c7f031ee001d59e5122f990f26
[ "MIT" ]
null
null
null
students/K33402/Krivoshapkina_Aitalina/LR_3/hospital_app/migrations/0003_remove_scheduleofcabinet_status_and_more.py
aytakr/ITMO_ICT_WebDevelopment_2021-2022
57c0eef5e1f413c7f031ee001d59e5122f990f26
[ "MIT" ]
null
null
null
students/K33402/Krivoshapkina_Aitalina/LR_3/hospital_app/migrations/0003_remove_scheduleofcabinet_status_and_more.py
aytakr/ITMO_ICT_WebDevelopment_2021-2022
57c0eef5e1f413c7f031ee001d59e5122f990f26
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-01-24 19:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hospital_app', '0002_alter_scheduleofcabinet_status'), ] operations = [ migrations.RemoveField( model_name='scheduleofcabinet', ...
21.227273
64
0.595289
42
467
6.47619
0.690476
0.154412
0.191176
0.220588
0
0
0
0
0
0
0
0.055215
0.301927
467
21
65
22.238095
0.779141
0.092077
0
0.4
1
0
0.218009
0.082938
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2a33a19a5a6c499db6c4c5ca9168a18891a56d61
252
py
Python
tests/models.py
Apkawa/easy-thumbnails-admin
9d7a38f215cdac53a663b00f1d4ff3a3c2a54eb4
[ "MIT" ]
null
null
null
tests/models.py
Apkawa/easy-thumbnails-admin
9d7a38f215cdac53a663b00f1d4ff3a3c2a54eb4
[ "MIT" ]
null
null
null
tests/models.py
Apkawa/easy-thumbnails-admin
9d7a38f215cdac53a663b00f1d4ff3a3c2a54eb4
[ "MIT" ]
null
null
null
from django.db import models from easy_thumbnails.fields import ThumbnailerImageField def upload_to(instance, filename): return 'example/{}'.format(filename) class Example(models.Model): image = ThumbnailerImageField(upload_to=upload_to)
19.384615
56
0.785714
30
252
6.466667
0.666667
0.123711
0
0
0
0
0
0
0
0
0
0
0.126984
252
12
57
21
0.881818
0
0
0
0
0
0.039841
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
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
1
1
0
0
3
2a760f119b4a0a2450127cfb54d760cbca1889a7
177
py
Python
17_process_thread/06_autocreate_currentThread.py
hemuke/python
bc99f2b5aee997083ae31f59a2b33db48c8255f3
[ "Apache-2.0" ]
null
null
null
17_process_thread/06_autocreate_currentThread.py
hemuke/python
bc99f2b5aee997083ae31f59a2b33db48c8255f3
[ "Apache-2.0" ]
null
null
null
17_process_thread/06_autocreate_currentThread.py
hemuke/python
bc99f2b5aee997083ae31f59a2b33db48c8255f3
[ "Apache-2.0" ]
null
null
null
#! /root/anaconda3/bin/python import time import threading """ 任何一个进程都回自动创建并启动了一个线程 """ print('自动创建并启动了父(主)线程:{}'.format(threading.current_thread().getName())) time.sleep(20)
16.090909
71
0.740113
21
177
6.190476
0.857143
0
0
0
0
0
0
0
0
0
0
0.018293
0.073446
177
10
72
17.7
0.77439
0.158192
0
0
0
0
0.141667
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2a7f7f7439323ab51b9705f8ac6def86daefc1ef
10,185
py
Python
content/test/gpu/unexpected_passes/data_types.py
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
content/test/gpu/unexpected_passes/data_types.py
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
content/test/gpu/unexpected_passes/data_types.py
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
# Copyright 2020 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. """Various custom data types for use throughout the unexpected pass finder.""" from __future__ import print_function import fnmatch import six class Expe...
31.532508
80
0.691114
1,331
10,185
5.105184
0.226897
0.019868
0.015453
0.011773
0.238705
0.223547
0.167035
0.126711
0.11582
0.091685
0
0.003904
0.220422
10,185
322
81
31.630435
0.851889
0.404026
0
0.294118
0
0
0.005049
0
0
0
0
0
0.091503
1
0.228758
false
0.137255
0.019608
0.111111
0.444444
0.006536
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
2a801b53733fbe523659dd2146f967ff4490c250
192
py
Python
src/tests/test_verify_ch2.py
swordysrepo/youtube_discord_bot
b81df8c8998d4a18d41b19e154e9b3b47a791843
[ "MIT" ]
1
2021-06-22T23:44:01.000Z
2021-06-22T23:44:01.000Z
src/tests/test_verify_ch2.py
swordysrepo/youtube_discord_bot
b81df8c8998d4a18d41b19e154e9b3b47a791843
[ "MIT" ]
13
2021-06-24T01:38:12.000Z
2021-06-28T12:02:28.000Z
src/tests/test_verify_ch2.py
swordysrepo/youtube_discord_bot
b81df8c8998d4a18d41b19e154e9b3b47a791843
[ "MIT" ]
null
null
null
from src.youtube_api.verify_ch import verify def test_response(): ''' the response returned should be the channel searched ''' query = "summit1g" verify.match(query)
21.333333
56
0.671875
24
192
5.25
0.791667
0
0
0
0
0
0
0
0
0
0
0.006849
0.239583
192
9
57
21.333333
0.856164
0.270833
0
0
0
0
0.064516
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
aa4ef12d379cfe784eefa2b396061e5a75b1ea84
34
py
Python
key.py
bye-nary/Packt-Tracer
1a479f9c1a512d8a36ca14eaf441035de4869747
[ "MIT" ]
null
null
null
key.py
bye-nary/Packt-Tracer
1a479f9c1a512d8a36ca14eaf441035de4869747
[ "MIT" ]
null
null
null
key.py
bye-nary/Packt-Tracer
1a479f9c1a512d8a36ca14eaf441035de4869747
[ "MIT" ]
null
null
null
token = '' ## insert your keys ##
11.333333
22
0.558824
4
34
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.235294
34
2
23
17
0.730769
0.470588
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aa6056650aaa3a858703e7a76b51041e64407e80
29,478
py
Python
billforward/models/refund.py
billforward/bf-python
d2b812329ca3ed1fd94364d7f46f69ad74665596
[ "Apache-2.0" ]
2
2016-11-23T17:32:37.000Z
2022-02-24T05:13:20.000Z
billforward/models/refund.py
billforward/bf-python
d2b812329ca3ed1fd94364d7f46f69ad74665596
[ "Apache-2.0" ]
null
null
null
billforward/models/refund.py
billforward/bf-python
d2b812329ca3ed1fd94364d7f46f69ad74665596
[ "Apache-2.0" ]
1
2016-12-30T20:02:48.000Z
2016-12-30T20:02:48.000Z
# coding: utf-8 """ BillForward REST API OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git 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...
34.885207
1,015
0.598209
3,345
29,478
5.066667
0.082212
0.067265
0.079301
0.070569
0.694064
0.611636
0.570805
0.493156
0.41527
0.358685
0
0.001179
0.280413
29,478
844
1,016
34.92654
0.797803
0.464312
0
0.289902
1
0
0.119819
0.020806
0
0
0
0
0
1
0.201954
false
0
0.009772
0
0.322476
0.003257
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
1
0
0
0
0
0
0
0
3
aa616ba209e38dca87cfca370013e0cebfbcf079
2,261
py
Python
ConfigReader.py
hiddenshadow/pythonProject
88a490a447de610f884a94956fd1bbd6ccca8baf
[ "BSD-2-Clause" ]
null
null
null
ConfigReader.py
hiddenshadow/pythonProject
88a490a447de610f884a94956fd1bbd6ccca8baf
[ "BSD-2-Clause" ]
null
null
null
ConfigReader.py
hiddenshadow/pythonProject
88a490a447de610f884a94956fd1bbd6ccca8baf
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python import ConfigParser from allocator.Config import Config from utils.LogUtils import timeit def getValue(section, property, configParser): value = configParser.get(section, property) # print 'section: '+section+', property: '+property+', value: '+value return value def getIntValue(section, proper...
31.402778
87
0.744803
241
2,261
6.958506
0.3361
0.035778
0.048301
0.041741
0
0
0
0
0
0
0
0.001029
0.140646
2,261
71
88
31.84507
0.862069
0.065015
0
0.075472
0
0
0.155524
0
0
0
0
0.014085
0
0
null
null
0.056604
0.056604
null
null
0.037736
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
aa61ed46e245da4bf834e938ca4baa5517575210
257
py
Python
Aniyom Ebenezer/Phase 2/STRINGS/Day_30_Challenge_Solution/Question 10 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Aniyom Ebenezer/Phase 2/STRINGS/Day_30_Challenge_Solution/Question 10 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Aniyom Ebenezer/Phase 2/STRINGS/Day_30_Challenge_Solution/Question 10 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
""" Write a Python function to reverses a string if it's length is a multiple of 4. """ def reverse_string(str1): if len(str1) % 4 == 0: return "".join(reversed(str1)) return str1 print(reverse_string("Python")) print(reverse_string("abcd"))
28.555556
79
0.677043
40
257
4.275
0.625
0.22807
0.210526
0
0
0
0
0
0
0
0
0.033333
0.182879
257
9
80
28.555556
0.780952
0.307393
0
0
0
0
0.05848
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0.333333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aa684a72b53aebaa4a14c34171994ec17978fc81
51
py
Python
src/brands/__init__.py
jhernandez18p/backend-lmp
853e274f37fe8b3c6f811a4ccd8f33bf020015d2
[ "MIT" ]
14
2019-10-03T19:37:30.000Z
2019-10-16T02:12:32.000Z
src/brands/__init__.py
jhernandez18p/backend-lmp
853e274f37fe8b3c6f811a4ccd8f33bf020015d2
[ "MIT" ]
6
2020-02-11T23:20:46.000Z
2022-03-11T23:32:23.000Z
src/brands/__init__.py
jhernandez18p/backend-lmp
853e274f37fe8b3c6f811a4ccd8f33bf020015d2
[ "MIT" ]
null
null
null
default_app_config = 'src.brands.apps.BrandsConfig'
51
51
0.843137
7
51
5.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.039216
51
1
51
51
0.836735
0
0
0
0
0
0.538462
0.538462
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aa7291f1e1e3b4052bd9dd92cb6a13323a2111a0
3,858
py
Python
dsbofg.py
limitedeternity/dostackbufferoverflowgood
ad020643208504a4ef4b2956b1244a4adbe75fda
[ "Apache-2.0" ]
2
2021-01-17T00:02:48.000Z
2021-12-07T14:21:06.000Z
dsbofg.py
limitedeternity/dostackbufferoverflowgood
ad020643208504a4ef4b2956b1244a4adbe75fda
[ "Apache-2.0" ]
null
null
null
dsbofg.py
limitedeternity/dostackbufferoverflowgood
ad020643208504a4ef4b2956b1244a4adbe75fda
[ "Apache-2.0" ]
null
null
null
import socket RHOST = "10.211.55.6" RPORT = 31337 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((RHOST, RPORT)) # STAGE 0: cyclic pattern search buffer_size = 152 # STAGE 0.5: gadget search (should not include bad chars, obviously) # !mona j -r esp jmp_esp = "\xa3\x14\x04\x08" # STAGE 1: badchar ...
37.823529
160
0.698808
691
3,858
3.868307
0.499276
0.026936
0.042649
0.043023
0.093528
0.022447
0
0
0
0
0
0.162858
0.10394
3,858
101
161
38.19802
0.610356
0.356402
0
0
0
0.693878
0.632075
0.613618
0
0
0
0
0
1
0
false
0
0.020408
0
0.020408
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aa738bc476f745cc89e07333be20aae287297309
346
py
Python
grader_e2e/fixtures/binary/while_true_tests.py
HackSoftware/HackGraderTests
7bddb1a3c44a1a92c7ac387da7d43dcbc3d4befd
[ "MIT" ]
null
null
null
grader_e2e/fixtures/binary/while_true_tests.py
HackSoftware/HackGraderTests
7bddb1a3c44a1a92c7ac387da7d43dcbc3d4befd
[ "MIT" ]
2
2020-06-05T17:54:26.000Z
2021-06-01T22:17:14.000Z
grader_e2e/fixtures/binary/while_true_tests.py
HackSoftware/HackGraderTests
7bddb1a3c44a1a92c7ac387da7d43dcbc3d4befd
[ "MIT" ]
null
null
null
import unittest from solution import fact class TestFactorial(unittest.TestCase): def test_fact_of_zero(self): self.assertEqual(fact(0), 1) def test_fact_of_one(self): self.assertEqual(fact(1), 1) def test_fact_of_five(self): self.assertEqual(fact(5), 120) if __name__ == '__mai...
19.222222
39
0.682081
48
346
4.5625
0.479167
0.09589
0.150685
0.178082
0.127854
0
0
0
0
0
0
0.029091
0.205202
346
17
40
20.352941
0.767273
0
0
0
0
0
0.023121
0
0
0
0
0
0.272727
1
0.272727
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
aa89e3654dcb956ac2591b37ea9d7cfba7da20d6
4,180
py
Python
xodb/search.py
idealist/xodb
6593ff02f8418acb9c5ef1990f1dc7c92db355ed
[ "MIT" ]
4
2015-03-04T03:26:07.000Z
2020-09-04T19:52:45.000Z
xodb/search.py
idealist/xodb
6593ff02f8418acb9c5ef1990f1dc7c92db355ed
[ "MIT" ]
null
null
null
xodb/search.py
idealist/xodb
6593ff02f8418acb9c5ef1990f1dc7c92db355ed
[ "MIT" ]
2
2015-03-04T03:29:24.000Z
2015-04-24T06:11:12.000Z
from operator import attrgetter from itertools import imap from xapian import Query def phrase(db, terms, window=10, **kwargs): return Search(db, Query(Query.OP_PHRASE, terms, window), **kwargs) def near(db, terms, window=10, **kwargs): return Search(db, Query(Query.OP_NEAR, terms, window), **kwargs) def el...
30.735294
73
0.616029
504
4,180
4.992063
0.194444
0.071542
0.057234
0.04531
0.344197
0.297297
0.244833
0.197138
0.150636
0.056041
0
0.006601
0.27512
4,180
135
74
30.962963
0.823762
0.072249
0
0.043478
0
0
0.000783
0
0
0
0
0
0
1
0.293478
false
0
0.032609
0.217391
0.597826
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
aa8a79878abdb8ad99eabe82daf7b20f88800729
146
py
Python
main.py
peter-jim/offchain-algorithm
c148fd1e3dffca9a42a4206c516533aae51d1ae1
[ "Apache-2.0" ]
null
null
null
main.py
peter-jim/offchain-algorithm
c148fd1e3dffca9a42a4206c516533aae51d1ae1
[ "Apache-2.0" ]
null
null
null
main.py
peter-jim/offchain-algorithm
c148fd1e3dffca9a42a4206c516533aae51d1ae1
[ "Apache-2.0" ]
1
2021-04-17T06:34:32.000Z
2021-04-17T06:34:32.000Z
''' 每一个模块的代码 需要放在moldule文件下面,每一个文件应当具备一个完整的功能 ''' import module from demo import demo if __name__ == '__main__': #测试demo程序 demo()
8.588235
41
0.678082
14
146
6.5
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.219178
146
16
42
9.125
0.798246
0.342466
0
0
0
0
0.096386
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
aa963d48e034424665bab832f21d53298bc3b0a7
24
py
Python
ironic_inventory/tests/db/__init__.py
softlayer/ironic-inventory-integrator
1c7650bb2479939da6af910a80689103d32c75e3
[ "Apache-2.0" ]
1
2016-04-28T19:13:58.000Z
2016-04-28T19:13:58.000Z
ironic_inventory/tests/db/__init__.py
softlayer/ironic-inventory-integrator
1c7650bb2479939da6af910a80689103d32c75e3
[ "Apache-2.0" ]
null
null
null
ironic_inventory/tests/db/__init__.py
softlayer/ironic-inventory-integrator
1c7650bb2479939da6af910a80689103d32c75e3
[ "Apache-2.0" ]
1
2016-03-13T07:40:36.000Z
2016-03-13T07:40:36.000Z
__author__ = 'chaustin'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aab1408a844ed9df119f87b4d09751a0782a46b1
493
py
Python
gcn_package/features/connectome_estimate.py
htwangtw/gcn_package
48cfa7849b660374700ec036278e1e9892ae33eb
[ "MIT" ]
null
null
null
gcn_package/features/connectome_estimate.py
htwangtw/gcn_package
48cfa7849b660374700ec036278e1e9892ae33eb
[ "MIT" ]
9
2022-01-18T20:56:56.000Z
2022-03-09T21:50:22.000Z
gcn_package/features/connectome_estimate.py
htwangtw/gcn_package
48cfa7849b660374700ec036278e1e9892ae33eb
[ "MIT" ]
2
2021-07-05T20:14:00.000Z
2021-09-01T18:23:32.000Z
#TODO: estimate the connectome from a list of data # 1. from atlas, with difumo # 2. Check if user want to denoise confounds --confound # a. if --confound-path: check if exists and use it # b. else: use confound associated with current subject # 3. for each file, run masker.fit_transform # a. check co...
49.3
105
0.740365
74
493
4.918919
0.689189
0.065934
0.115385
0.159341
0
0
0
0
0
0
0
0.01995
0.186613
493
10
105
49.3
0.887781
0.922921
0
null
0
null
0
0
null
0
0
0.1
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
1
0
0
0
1
0
0
0
0
0
0
3
aab98f244133a702320e04029247744b2860b48e
327
py
Python
instagram_api/response/model/video_upload_url.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
13
2019-08-07T21:24:34.000Z
2020-12-12T12:23:50.000Z
instagram_api/response/model/video_upload_url.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
instagram_api/response/model/video_upload_url.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
from ..mapper import PropertyMapper, ApiInterfaceBase from ..mapper.types import Timestamp, AnyType __all__ = ['VideoUploadUrl', 'VideoUploadUrlInterface'] class VideoUploadUrlInterface(ApiInterfaceBase): url: str job: str expires: float class VideoUploadUrl(PropertyMapper, VideoUploadUrlInterface): ...
21.8
62
0.779817
28
327
8.964286
0.642857
0.079681
0
0
0
0
0
0
0
0
0
0
0.143731
327
14
63
23.357143
0.896429
0
0
0
0
0
0.11315
0.070336
0
0
0
0
0
1
0
false
0.111111
0.222222
0
0.777778
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
1
0
0
1
0
0
3
aabf7a766146878a697058153475568a25e9a5fb
14,284
py
Python
pangu_alpha_train.py
Keith-Hon/pangu-alpha
6678adb77c918ddad0edaef897436aef798ad7f7
[ "Apache-2.0" ]
null
null
null
pangu_alpha_train.py
Keith-Hon/pangu-alpha
6678adb77c918ddad0edaef897436aef798ad7f7
[ "Apache-2.0" ]
null
null
null
pangu_alpha_train.py
Keith-Hon/pangu-alpha
6678adb77c918ddad0edaef897436aef798ad7f7
[ "Apache-2.0" ]
null
null
null
""" PanGu train script """ import os import math from pathlib2 import Path from mindspore import context from mindspore.train.model import Model import mindspore.communication.management as D from mindspore.context import ParallelMode import mindspore.nn as nn from mindspore.train.callback import TimeMonitor, ModelCh...
41.766082
128
0.662489
1,776
14,284
4.95214
0.148086
0.047754
0.019102
0.016373
0.73303
0.70324
0.692894
0.692894
0.672882
0.672882
0
0.007573
0.25119
14,284
341
129
41.888563
0.814697
0.013442
0
0.701987
0
0
0.047714
0.004914
0.006623
0
0
0
0
1
0.016556
false
0
0.062914
0
0.082781
0.033113
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aac027ef23b229a3730ba1618fd92f2a5b023ce9
283
py
Python
django/user/views.py
reallinfo/lifelog
0862555fc863003d6e347e38ffd44f48de73d31c
[ "Apache-2.0" ]
null
null
null
django/user/views.py
reallinfo/lifelog
0862555fc863003d6e347e38ffd44f48de73d31c
[ "Apache-2.0" ]
1
2018-10-11T17:06:01.000Z
2018-10-14T00:39:07.000Z
django/user/views.py
reallinfo/lifelog
0862555fc863003d6e347e38ffd44f48de73d31c
[ "Apache-2.0" ]
1
2018-10-13T21:43:35.000Z
2018-10-13T21:43:35.000Z
from django.views.generic import CreateView from django.urls import reverse from .forms import RegisterForm class RegisterView(CreateView): template_name = 'user/register.html' form_class = RegisterForm def get_success_url(self): return reverse('user:login')
21.769231
43
0.756184
35
283
6
0.714286
0.095238
0
0
0
0
0
0
0
0
0
0
0.169611
283
12
44
23.583333
0.893617
0
0
0
0
0
0.09894
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
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
1
1
0
0
3
2aa94e9efd3b514407dec181ee52f6716e22cefb
124
py
Python
app/quotes/urls.py
agile-fan430/RestAPI_Django_AlphaVantage
a6129f9124f22d9e1034f6507106fe9355466e4a
[ "MIT" ]
null
null
null
app/quotes/urls.py
agile-fan430/RestAPI_Django_AlphaVantage
a6129f9124f22d9e1034f6507106fe9355466e4a
[ "MIT" ]
null
null
null
app/quotes/urls.py
agile-fan430/RestAPI_Django_AlphaVantage
a6129f9124f22d9e1034f6507106fe9355466e4a
[ "MIT" ]
null
null
null
from django.urls import path, include from . import views urlpatterns = [ path('quotes/', views.GetPrice().as_view()), ]
24.8
48
0.701613
16
124
5.375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.145161
124
5
49
24.8
0.811321
0
0
0
0
0
0.056
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2ab27670cc27b8922e13cab3d60878add2669a9f
794
py
Python
smartdoc/search/models.py
udbhavdave/major-project-django
98ba1aab91ceef0c0ea03d90d9d834083115f1f6
[ "MIT" ]
null
null
null
smartdoc/search/models.py
udbhavdave/major-project-django
98ba1aab91ceef0c0ea03d90d9d834083115f1f6
[ "MIT" ]
null
null
null
smartdoc/search/models.py
udbhavdave/major-project-django
98ba1aab91ceef0c0ea03d90d9d834083115f1f6
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Image(models.Model): title= models.CharField("title", max_length=100, blank=True, default="title") image_file = models.ImageField("image_file", upload_to="uploads/images") text = models.TextField("text", blank=True, default="") ...
29.407407
82
0.644836
101
794
4.891089
0.366337
0.072874
0.129555
0.089069
0.631579
0.631579
0.631579
0.631579
0.631579
0.631579
0
0.009569
0.210327
794
27
83
29.407407
0.778309
0.030227
0
0.588235
0
0
0.17362
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0.117647
0.882353
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
2ab3b47b940c269bc9dda2b2719f193b140e2cb1
5,508
py
Python
test/test_npu/test_network_ops/test_index_put.py
Ascend/pytorch
39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc
[ "BSD-3-Clause" ]
1
2021-12-02T03:07:35.000Z
2021-12-02T03:07:35.000Z
test/test_npu/test_network_ops/test_index_put.py
Ascend/pytorch
39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc
[ "BSD-3-Clause" ]
1
2021-11-12T07:23:03.000Z
2021-11-12T08:28:13.000Z
test/test_npu/test_network_ops/test_index_put.py
Ascend/pytorch
39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2020, Huawei Technologies.All rights reserved. # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law...
40.8
77
0.628722
749
5,508
4.325768
0.169559
0.038889
0.072222
0.081481
0.747222
0.747222
0.679012
0.679012
0.67037
0.67037
0
0.034326
0.280683
5,508
134
78
41.104478
0.783443
0.104212
0
0.728972
0
0
0.003455
0
0
0
0
0
0.037383
1
0.093458
false
0
0.046729
0
0.186916
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2ab9bc52131864a1e8fa7e5a47cb9e8afe4a4024
166
py
Python
dtc/enums/encoding_enum.py
jseparovic/python-ws-dtc-client
fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f
[ "Apache-2.0" ]
15
2020-04-26T05:25:53.000Z
2022-02-11T19:38:42.000Z
dtc/enums/encoding_enum.py
jseparovic/python-ws-dtc-client
fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f
[ "Apache-2.0" ]
2
2021-01-08T19:58:08.000Z
2021-11-29T06:08:48.000Z
dtc/enums/encoding_enum.py
jseparovic/python-ws-dtc-client
fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f
[ "Apache-2.0" ]
4
2020-11-23T13:38:01.000Z
2021-12-27T13:21:06.000Z
class EncodingEnum: BINARY_ENCODING = 0 BINARY_WITH_VARIABLE_LENGTH_STRINGS = 1 JSON_ENCODING = 2 JSON_COMPACT_ENCODING = 3 PROTOCOL_BUFFERS = 4
20.75
43
0.73494
21
166
5.380952
0.809524
0
0
0
0
0
0
0
0
0
0
0.039063
0.228916
166
7
44
23.714286
0.84375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2abc41255f493274f000cf53a08da4e579993c3b
1,594
py
Python
node/core/utils/cryptography.py
thenewboston-developers/Node
e71a405f4867786a54dd17ddd97595dd3a630018
[ "MIT" ]
18
2021-11-30T04:02:13.000Z
2022-03-24T12:33:57.000Z
node/core/utils/cryptography.py
thenewboston-developers/Node
e71a405f4867786a54dd17ddd97595dd3a630018
[ "MIT" ]
1
2022-02-04T17:07:38.000Z
2022-02-04T17:07:38.000Z
node/core/utils/cryptography.py
thenewboston-developers/Node
e71a405f4867786a54dd17ddd97595dd3a630018
[ "MIT" ]
5
2022-01-31T05:28:13.000Z
2022-03-08T17:25:31.000Z
import json from hashlib import sha3_256 from django.conf import settings from nacl.exceptions import CryptoError from nacl.signing import SigningKey as NaClSigningKey from nacl.signing import VerifyKey from node.blockchain.types import AccountNumber, Hash, KeyPair, Signature, SigningKey from .misc import bytes_to_h...
28.464286
96
0.76537
211
1,594
5.488152
0.28436
0.086356
0.043178
0.036269
0.093264
0.058722
0
0
0
0
0
0.006598
0.144291
1,594
55
97
28.981818
0.842375
0
0
0.117647
0
0
0.004391
0
0
0
0
0
0
1
0.235294
false
0
0.235294
0.176471
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2ac028bd2d44a2210305766747c443b80c6c6bb3
256
py
Python
keyrecovery/tesss.py
tonitick/CacheZoom
37e8d4b10b93f6d114f4140c47c9348ea5df1a11
[ "MIT" ]
13
2017-07-07T02:48:57.000Z
2021-12-09T06:32:47.000Z
keyrecovery/tesss.py
tonitick/CacheZoom
37e8d4b10b93f6d114f4140c47c9348ea5df1a11
[ "MIT" ]
null
null
null
keyrecovery/tesss.py
tonitick/CacheZoom
37e8d4b10b93f6d114f4140c47c9348ea5df1a11
[ "MIT" ]
6
2017-10-15T19:23:15.000Z
2022-01-27T08:33:41.000Z
#!/usr/bin/env python import sys x = [ ''.join([chr(5), chr(10), chr(15), chr(4), chr(5), chr(10), chr(15), chr(4), chr(10), chr(15), chr(4)]), "\x40\x41\x42\x43\x40\x41\x42\x43\x40\x41\x42\x43" ] x = set(x) print x print sys.getsizeof(list(x)[0])
21.333333
106
0.582031
53
256
2.811321
0.415094
0.100671
0.161074
0.201342
0.577181
0.577181
0.503356
0.503356
0.261745
0
0
0.190045
0.136719
256
11
107
23.272727
0.484163
0.078125
0
0
0
0.125
0.204255
0.204255
0
0
0
0
0
0
null
null
0
0.125
null
null
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2acb2c6edc93672b12ea13ef03dbe2ebe8fce660
1,258
py
Python
back-end/sistema_ng/pruebas/migrations/0004_auto_20191024_1805.py
BonifacioJZ/sistema-ng
a0d9c5125528a75d723cded454546a815a18f0a7
[ "MIT" ]
null
null
null
back-end/sistema_ng/pruebas/migrations/0004_auto_20191024_1805.py
BonifacioJZ/sistema-ng
a0d9c5125528a75d723cded454546a815a18f0a7
[ "MIT" ]
9
2021-03-19T02:05:56.000Z
2022-02-26T18:15:35.000Z
back-end/sistema_ng/pruebas/migrations/0004_auto_20191024_1805.py
BonifacioJZ/sistema-ng
a0d9c5125528a75d723cded454546a815a18f0a7
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-24 18:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pruebas', '0003_paciente'), ] operations = [ migrations.AddField( model_name='paciente', name='birthday', ...
28.590909
74
0.554849
123
1,258
5.585366
0.349594
0.157205
0.200873
0.235808
0.659389
0.659389
0.60262
0.547307
0.547307
0.547307
0
0.035211
0.322735
1,258
43
75
29.255814
0.771127
0.035771
0
0.567568
1
0
0.088357
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2ad4bc931bd8adc359a1f55e6cc456a202702855
205
py
Python
CursoEmVideo/curso em video/ex64b.py
elisio-ricardo/ExerciciosPythonCursoEmVideo
47a10b2118a76f4f95a762876ef9ab90e92f4fd3
[ "MIT" ]
null
null
null
CursoEmVideo/curso em video/ex64b.py
elisio-ricardo/ExerciciosPythonCursoEmVideo
47a10b2118a76f4f95a762876ef9ab90e92f4fd3
[ "MIT" ]
null
null
null
CursoEmVideo/curso em video/ex64b.py
elisio-ricardo/ExerciciosPythonCursoEmVideo
47a10b2118a76f4f95a762876ef9ab90e92f4fd3
[ "MIT" ]
null
null
null
num = int(input('Digite um numero [999 para parar]: ')) soma = 0 tot = 0 while num != 999: soma += num tot += 1 num = int(input('Digite um numero [999 para parar] : ')) print(f'{soma} e {tot}')
25.625
60
0.580488
34
205
3.5
0.5
0.10084
0.184874
0.285714
0.621849
0.621849
0.621849
0.621849
0.621849
0
0
0.076923
0.239024
205
8
61
25.625
0.685897
0
0
0.25
0
0
0.412621
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63109ef5a105af078257fd39bdaa77a888c0d9b9
7,813
py
Python
transwarp/cache.py
wuzhongdehua/SinaWeibo-Emotion-Classification
f336fc104abd68b0ec4180fe2ed80fafe49cb790
[ "MIT" ]
137
2015-03-14T06:16:37.000Z
2022-03-27T08:32:38.000Z
transwarp/cache.py
zh-h/macro-blog
2bea15f3d298688bac2095e5c5ddcaf3933893a8
[ "MIT" ]
null
null
null
transwarp/cache.py
zh-h/macro-blog
2bea15f3d298688bac2095e5c5ddcaf3933893a8
[ "MIT" ]
57
2015-01-06T14:18:27.000Z
2021-12-26T09:37:30.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Michael Liao' ''' A simple cache interface. ''' import os, time, datetime, functools, logging class DummyClient(object): def set(self, key, value, expires=0): pass def get(self, key, default=None): return default def gets(sel...
24.114198
76
0.477537
923
7,813
3.986999
0.136511
0.030978
0.032337
0.042391
0.71087
0.659239
0.638859
0.614402
0.568478
0.54538
0
0.0336
0.375272
7,813
323
77
24.188854
0.720344
0.464866
0
0.455696
0
0
0.019011
0
0
0
0
0
0
1
0.265823
false
0.050633
0.050633
0.025316
0.531646
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6315c47a1dc9c2a51527e79f4dbde349462a3416
110
py
Python
neuroelf/io/__init__.py
neuroelf/neuroelf-python
a502c0f13142bcd90b0eb50425a11dd8d43f7dcc
[ "BSD-3-Clause" ]
null
null
null
neuroelf/io/__init__.py
neuroelf/neuroelf-python
a502c0f13142bcd90b0eb50425a11dd8d43f7dcc
[ "BSD-3-Clause" ]
null
null
null
neuroelf/io/__init__.py
neuroelf/neuroelf-python
a502c0f13142bcd90b0eb50425a11dd8d43f7dcc
[ "BSD-3-Clause" ]
null
null
null
from .bffparse import bffparse from .tfgparse import tfgparse __all__ = [ 'bffparse', 'tfgparse', ]
12.222222
30
0.681818
11
110
6.454545
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.218182
110
8
31
13.75
0.825581
0
0
0
0
0
0.146789
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2d497f575edc0eecdfea04da71f9212695b67308
452
py
Python
src/visualization/visualize.py
duritaJonsdottir/MNIST
5c45f5bbdc7726e62ef719eab9d4b8c8b5b25f57
[ "MIT" ]
null
null
null
src/visualization/visualize.py
duritaJonsdottir/MNIST
5c45f5bbdc7726e62ef719eab9d4b8c8b5b25f57
[ "MIT" ]
null
null
null
src/visualization/visualize.py
duritaJonsdottir/MNIST
5c45f5bbdc7726e62ef719eab9d4b8c8b5b25f57
[ "MIT" ]
null
null
null
""" Fill out the file src/visualization/visualize.py with this (as minimum, feel free to add more vizualizations) loads a pre-trained network, extracts some intermediate representation of the data (your training set) from your cnn. This could be the features just before the final classification layer Visualize feature...
50.222222
158
0.800885
72
452
5.027778
0.763889
0
0
0
0
0
0
0
0
0
0
0.002618
0.154867
452
8
159
56.5
0.945026
0.975664
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2d517dae80c9d6d7c2445d10feaaf0a9ce0e8bbd
88
py
Python
mass_flask_scheduling/tasks/__init__.py
mass-project/mass_server
a785629ec9e74edfc039fa33727cc094cc1b7763
[ "MIT" ]
8
2017-03-15T20:04:23.000Z
2021-02-11T02:57:58.000Z
mass_flask_scheduling/tasks/__init__.py
mass-project/mass_server
a785629ec9e74edfc039fa33727cc094cc1b7763
[ "MIT" ]
100
2016-09-20T14:02:22.000Z
2019-10-23T00:49:38.000Z
mass_flask_scheduling/tasks/__init__.py
mass-project/mass_server
a785629ec9e74edfc039fa33727cc094cc1b7763
[ "MIT" ]
3
2018-01-19T12:57:46.000Z
2018-12-28T00:53:46.000Z
from .schedule_analyses import schedule_analyses __all__ = [ 'schedule_analyses' ]
14.666667
48
0.772727
9
88
6.777778
0.555556
0.786885
0
0
0
0
0
0
0
0
0
0
0.159091
88
5
49
17.6
0.824324
0
0
0
0
0
0.193182
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2d6e856e9512a16a4525d781e26de84a15fe99b6
252
py
Python
test/helpers.py
Time1ess/torchtools
1c48591188827f8a7403162728f86229203354c5
[ "BSD-3-Clause" ]
16
2017-08-15T14:01:13.000Z
2020-12-21T11:23:31.000Z
test/helpers.py
Time1ess/torchtools
1c48591188827f8a7403162728f86229203354c5
[ "BSD-3-Clause" ]
null
null
null
test/helpers.py
Time1ess/torchtools
1c48591188827f8a7403162728f86229203354c5
[ "BSD-3-Clause" ]
2
2017-12-28T14:09:09.000Z
2020-07-14T14:29:30.000Z
# coding: UTF-8 import torch.nn as nn class Net(nn.Module): def __init__(self): super(Net, self).__init__() self.l1 = nn.Linear(2, 2) self.l2 = nn.Linear(2, 2) def forward(self, x): return self.l2(self.l1(x))
19.384615
35
0.571429
41
252
3.317073
0.512195
0.117647
0.132353
0.147059
0
0
0
0
0
0
0
0.04918
0.27381
252
12
36
21
0.693989
0.051587
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2dc0dada825fee8698abf83b3b1efc275948b933
161
py
Python
tests/unit/status/base_status/test_get_latest_backup.py
akuzminsky/twindb-mysql-backup
35755f18efb372dd05f856ca4732fba796de2549
[ "Apache-2.0" ]
1
2019-03-22T00:04:40.000Z
2019-03-22T00:04:40.000Z
tests/unit/status/base_status/test_get_latest_backup.py
akuzminsky/twindb-mysql-backup
35755f18efb372dd05f856ca4732fba796de2549
[ "Apache-2.0" ]
null
null
null
tests/unit/status/base_status/test_get_latest_backup.py
akuzminsky/twindb-mysql-backup
35755f18efb372dd05f856ca4732fba796de2549
[ "Apache-2.0" ]
1
2019-03-21T16:03:11.000Z
2019-03-21T16:03:11.000Z
from twindb_backup.status.base_status import BaseStatus def test_latest_status_none(): status = BaseStatus() assert status.get_latest_backup() is None
23
55
0.78882
22
161
5.454545
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.142857
161
6
56
26.833333
0.869565
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2dde1d890e69eb4025333ba3700542145a34e781
335
py
Python
src/bundle/settings.py
gravitationalwavedc/gwlandscape_compas
a9478f9d7b8dc5123dead18d7611c64572162557
[ "MIT" ]
null
null
null
src/bundle/settings.py
gravitationalwavedc/gwlandscape_compas
a9478f9d7b8dc5123dead18d7611c64572162557
[ "MIT" ]
null
null
null
src/bundle/settings.py
gravitationalwavedc/gwlandscape_compas
a9478f9d7b8dc5123dead18d7611c64572162557
[ "MIT" ]
null
null
null
# The directory where jobs are stored job_directory = "/fred/oz988/gwcloud/jobs/" # Format submission script for specified scheduler. scheduler = "slurm" # Environment scheduler sources during runtime scheduler_env = "/fred/oz988/gwcloud/gwcloud_job_client/bundles/unpacked/fbc9f7c0815f1a83b0de36f957351c93797b2049/ven...
41.875
132
0.826866
39
335
7
0.74359
0.065934
0.117216
0
0
0
0
0
0
0
0
0.108197
0.089552
335
8
132
41.875
0.786885
0.38806
0
0
0
0
0.712871
0.688119
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
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2dee129899739b81e786ca5a9a263141e3fce04a
279
py
Python
investing_algorithm_framework/core/order_executors/__init__.py
coding-kitties/investing-algorithm-framework
1156acf903345ec5e6787ee8767c68e24c4daffd
[ "Apache-2.0" ]
9
2020-09-14T13:46:32.000Z
2022-02-01T15:40:12.000Z
investing_algorithm_framework/core/order_executors/__init__.py
coding-kitties/investing-algorithm-framework
1156acf903345ec5e6787ee8767c68e24c4daffd
[ "Apache-2.0" ]
44
2020-12-28T16:22:20.000Z
2022-03-23T22:11:26.000Z
investing_algorithm_framework/core/order_executors/__init__.py
coding-kitties/investing-algorithm-framework
1156acf903345ec5e6787ee8767c68e24c4daffd
[ "Apache-2.0" ]
2
2020-12-25T06:14:39.000Z
2022-01-19T19:00:20.000Z
from .order_executor import OrderExecutor from .binance import BinanceOrderExecutor from investing_algorithm_framework.core.order_executors.factory import \ DefaultOrderExecutorFactory __all__ = [ "OrderExecutor", "BinanceOrderExecutor", "DefaultOrderExecutorFactory" ]
31
74
0.835125
23
279
9.782609
0.652174
0
0
0
0
0
0
0
0
0
0
0
0.103943
279
8
75
34.875
0.9
0
0
0
0
0
0.215054
0.096774
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2dee2cb37bb23aa32381bf06c253bf63be93116b
122
py
Python
Tuple/5.Access-an-item-using-Index.py
manish1822510059/Python-1000-program
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
1
2021-03-06T03:33:42.000Z
2021-03-06T03:33:42.000Z
Tuple/5.Access-an-item-using-Index.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
Tuple/5.Access-an-item-using-Index.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
mytuple = ("iphone",'mi','vivo','apple') print("Traverse elements Using loop:") print('Items at index 3 is ',mytuple[3])
40.666667
41
0.672131
18
122
4.555556
0.833333
0
0
0
0
0
0
0
0
0
0
0.018519
0.114754
122
3
42
40.666667
0.740741
0
0
0
0
0
0.545455
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9302b435bc1e741a9cf4ad466feea2dc3b8476ed
610
py
Python
glycan_profiling/database/prebuilt/utils.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
4
2019-04-26T15:47:57.000Z
2021-04-20T22:53:58.000Z
glycan_profiling/database/prebuilt/utils.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
8
2017-11-22T19:20:20.000Z
2022-02-14T01:49:58.000Z
glycan_profiling/database/prebuilt/utils.py
mstim/glycresoft
1d305c42c7e6cba60326d8246e4a485596a53513
[ "Apache-2.0" ]
3
2017-11-21T18:05:28.000Z
2021-09-23T18:38:33.000Z
from glycan_profiling.structure import KeyTransformingDecoratorDict def key_transform(name): return str(name).lower().replace(" ", '-') hypothesis_register = KeyTransformingDecoratorDict(key_transform) class BuildBase(object): def get_hypothesis_metadata(self): raise NotImplementedError() @pr...
25.416667
67
0.737705
60
610
7.233333
0.5
0.124424
0.165899
0.129032
0
0
0
0
0
0
0
0
0.167213
610
23
68
26.521739
0.854331
0
0
0.142857
0
0
0.003279
0
0
0
0
0
0
1
0.357143
false
0
0.071429
0.214286
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
1
1
0
0
3
930befb425ec7f141fb99b5650e9c64b960ad62c
401
py
Python
report-score.py
tcinbis/acme
2dae3e766563dfa49a5234972c6679ba40e3f073
[ "MIT" ]
1
2020-11-15T11:45:45.000Z
2020-11-15T11:45:45.000Z
report-score.py
tcinbis/acme
2dae3e766563dfa49a5234972c6679ba40e3f073
[ "MIT" ]
null
null
null
report-score.py
tcinbis/acme
2dae3e766563dfa49a5234972c6679ba40e3f073
[ "MIT" ]
null
null
null
import json from pathlib import Path with (Path("test-results") / Path("final_result.json")).open() as f: results = json.loads(f.read()) score = results["overall-result"]["score"] max_score = results["overall-result"]["max_score"] if score != max_score: print(f"Did not receive max score. {score}/{max_score}"...
26.733333
68
0.668329
61
401
4.295082
0.459016
0.21374
0.198473
0.19084
0.19084
0.19084
0
0
0
0
0
0.005865
0.149626
401
15
69
26.733333
0.762463
0
0
0
0
0
0.375622
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9350d6b695f81de848046dd0bfd2100419f13b57
193
py
Python
material/curso_em_video/ex032.py
sergiodealencar/courses
c9d86b27b0185cc82624b01ed76653dbc12554a3
[ "MIT" ]
null
null
null
material/curso_em_video/ex032.py
sergiodealencar/courses
c9d86b27b0185cc82624b01ed76653dbc12554a3
[ "MIT" ]
null
null
null
material/curso_em_video/ex032.py
sergiodealencar/courses
c9d86b27b0185cc82624b01ed76653dbc12554a3
[ "MIT" ]
null
null
null
ano = int(input('Diga um ano: ')) if ano % 4 == 0 and ano % 100 != 0 or ano % 400 == 0: print('Esse é um ano bissexto!') else: print('Esse não é um ano bissexto!') print('--- FIM ---')
27.571429
53
0.554404
34
193
3.147059
0.558824
0.140187
0.11215
0.261682
0
0
0
0
0
0
0
0.068493
0.243523
193
6
54
32.166667
0.664384
0
0
0
0
0
0.38342
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
935d2f66b1177d383421483b807e13d5e1e7e872
952
py
Python
w3r-regex-08.py
WLi-syd/python
e8bd743535a1eca3493ea7f74a7475d1fb49de98
[ "CNRI-Python" ]
null
null
null
w3r-regex-08.py
WLi-syd/python
e8bd743535a1eca3493ea7f74a7475d1fb49de98
[ "CNRI-Python" ]
null
null
null
w3r-regex-08.py
WLi-syd/python
e8bd743535a1eca3493ea7f74a7475d1fb49de98
[ "CNRI-Python" ]
null
null
null
# 8. Write a Python program to find the sequences of one upper case letter followed by lower case letters. # Question: # Input: # Output: # Solution: https://www.w3resource.com/python-exercises/re/python-re-exercise-8.php # Ideas: """ """ # Steps: """ 1. """ # Notes: """ 1. (Maybe) best practice to using regex ...
23.219512
106
0.726891
121
952
5.661157
0.595041
0.306569
0.306569
0.179562
0.230657
0.230657
0.230657
0.230657
0.230657
0.230657
0
0.006068
0.134454
952
41
107
23.219512
0.825243
0.262605
0
0
0
0
0.146789
0
0
0
0
0
0
1
0.0625
false
0
0.125
0
0.3125
0.375
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
93609de33a4da7327b6eab39936e0e59e4ee6241
1,428
py
Python
tests/model/horizon/test_trade_aggregation.py
MartinThoma/stellar-model
a21969f3d1aac1e95cb32747d54b72a30e21dda9
[ "Apache-2.0" ]
8
2021-04-25T09:58:39.000Z
2022-01-22T05:01:37.000Z
tests/model/horizon/test_trade_aggregation.py
MartinThoma/stellar-model
a21969f3d1aac1e95cb32747d54b72a30e21dda9
[ "Apache-2.0" ]
8
2021-06-02T12:46:21.000Z
2021-11-29T01:23:42.000Z
tests/model/horizon/test_trade_aggregation.py
MartinThoma/stellar-model
a21969f3d1aac1e95cb32747d54b72a30e21dda9
[ "Apache-2.0" ]
3
2021-07-21T03:58:05.000Z
2021-08-01T00:03:11.000Z
import unittest from decimal import Decimal from stellar_model.model.horizon.trade_aggregation import TradeAggregation from tests.model.horizon import load_horizon_file class TestTradeAggregation(unittest.TestCase): def test_valid(self): raw_data = load_horizon_file("trade_aggregation.json") par...
42
74
0.728992
186
1,428
5.33871
0.27957
0.181269
0.359517
0.427996
0.466264
0.454179
0.424975
0.08862
0
0
0
0.085071
0.160364
1,428
33
75
43.272727
0.743119
0
0
0
0
0
0.065126
0.015406
0
0
0
0
0.62963
1
0.037037
false
0
0.148148
0
0.222222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
9365477b61ceae45735cd7f64494053a3563ed2c
77
py
Python
tests/test_code/py/two_file_simple/file_a.py
FreddyZeng/code2flow
37e45ca4340289f8ceec79b3fe5131c401387c58
[ "MIT" ]
2,248
2015-01-13T21:44:22.000Z
2022-03-31T07:55:22.000Z
tests/test_code/py/two_file_simple/file_a.py
FreddyZeng/code2flow
37e45ca4340289f8ceec79b3fe5131c401387c58
[ "MIT" ]
44
2015-04-09T18:37:01.000Z
2022-03-25T19:56:11.000Z
tests/test_code/py/two_file_simple/file_a.py
FreddyZeng/code2flow
37e45ca4340289f8ceec79b3fe5131c401387c58
[ "MIT" ]
220
2015-02-02T06:35:09.000Z
2022-03-31T09:21:09.000Z
from file_b import b def a(): b() if __name__ == '__main__': a()
7.7
26
0.532468
12
77
2.666667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.311688
77
9
27
8.555556
0.603774
0
0
0
0
0
0.103896
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
93717d7b395dcbcb8773563446bc56b775fb517a
295
py
Python
Exercices/Secao04/exercicio32.py
Guilt-tech/PythonExercices
e59bffae997a1974d3e3cdcfff7700afbed65e6e
[ "MIT" ]
null
null
null
Exercices/Secao04/exercicio32.py
Guilt-tech/PythonExercices
e59bffae997a1974d3e3cdcfff7700afbed65e6e
[ "MIT" ]
null
null
null
Exercices/Secao04/exercicio32.py
Guilt-tech/PythonExercices
e59bffae997a1974d3e3cdcfff7700afbed65e6e
[ "MIT" ]
null
null
null
print('Digite um número inteiro, que irá aparecer a soma do sucessor de seu triplo com o antecessor de seu dobto') num = int(input('Número: ')) s = num * 3 a = num * 2 soma = s + a print(f'A soma do sucessor de seu triplo com o antecessor de seu dobto é: {soma} e o número escolhido foi: {num}')
49.166667
114
0.701695
57
295
3.631579
0.526316
0.096618
0.067633
0.144928
0.483092
0.483092
0.483092
0.483092
0.483092
0.483092
0
0.008475
0.2
295
6
115
49.166667
0.868644
0
0
0
0
0.333333
0.733108
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
937ad177e38202e158e8d167960523aae81b44ea
795
py
Python
FLASK/Basics/app.py
NightShadow1/HarvardX-CS50
86a427d7222a80c4a92bd27ec394c47b9b028eb8
[ "MIT" ]
null
null
null
FLASK/Basics/app.py
NightShadow1/HarvardX-CS50
86a427d7222a80c4a92bd27ec394c47b9b028eb8
[ "MIT" ]
null
null
null
FLASK/Basics/app.py
NightShadow1/HarvardX-CS50
86a427d7222a80c4a92bd27ec394c47b9b028eb8
[ "MIT" ]
null
null
null
# BASIC FLASK from flask import Flask # Import the class `Flask` from the `flask` module, written by someone else. app = Flask(__name__) # Instantiate a new web application called `app`, with `__name__` representing the current file @app.route("/") # A decorator; when the user goes to the route `/`, exceute the func...
44.166667
117
0.70566
127
795
4.338583
0.566929
0.043557
0.047187
0
0
0
0
0
0
0
0
0.019878
0.177358
795
18
118
44.166667
0.82263
0.618868
0
0
0
0
0.255102
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9380c3f3c1d4b6d0af8376642d0aba61b360a7f0
87
py
Python
bugtests/test357.py
jeff5/jython-whinchat
65d8e5268189f8197295ff2d91be3decb1ee0081
[ "CNRI-Jython" ]
577
2020-06-04T16:34:44.000Z
2022-03-31T11:46:07.000Z
bugtests/test357.py
jeff5/jython-whinchat
65d8e5268189f8197295ff2d91be3decb1ee0081
[ "CNRI-Jython" ]
174
2015-01-08T20:37:09.000Z
2020-06-03T16:48:59.000Z
bugtests/test357.py
jeff5/jython-whinchat
65d8e5268189f8197295ff2d91be3decb1ee0081
[ "CNRI-Jython" ]
162
2015-02-07T02:14:38.000Z
2020-05-30T16:42:03.000Z
""" [ 517237 ] Binary ops with int and long fail """ import support 5&7L 5|7L 5^7L
7.909091
44
0.632184
16
87
3.4375
0.75
0.163636
0.145455
0.218182
0
0
0
0
0
0
0
0.181818
0.241379
87
10
45
8.7
0.651515
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0
1
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
3
fa80e2c2b1032adc839b69242b88f02c456e2c50
1,032
py
Python
risk_maker/risk/models.py
mashrikt/risk-maker
fc16bb491a28af1d6b7b464057f080d09301a777
[ "MIT" ]
null
null
null
risk_maker/risk/models.py
mashrikt/risk-maker
fc16bb491a28af1d6b7b464057f080d09301a777
[ "MIT" ]
5
2020-06-06T01:49:52.000Z
2022-02-10T13:07:01.000Z
risk_maker/risk/models.py
mashrikt/risk-maker
fc16bb491a28af1d6b7b464057f080d09301a777
[ "MIT" ]
null
null
null
from django.contrib.postgres.fields import JSONField, ArrayField from django.db import models from risk_maker.risk.config import FieldType class RiskType(models.Model): name = models.CharField(max_length=50, unique=True) def __str__(self): return f'{self.name}' class RiskField(models.Model): r...
31.272727
97
0.737403
135
1,032
5.42963
0.362963
0.102319
0.122783
0.163711
0.473397
0.473397
0.391542
0.357435
0.174625
0.174625
0
0.011403
0.150194
1,032
32
98
32.25
0.824401
0
0
0.318182
0
0
0.059109
0.027132
0
0
0
0
0
1
0.136364
false
0
0.136364
0.136364
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
faa5e1cccd6c78e9abbd234d6bcdc281dceb8daf
1,090
py
Python
setup.py
akaihola/pre-commit-hooks-markup
54db9d2ed7d626fabb237c86c4f12b67a254ae97
[ "MIT" ]
null
null
null
setup.py
akaihola/pre-commit-hooks-markup
54db9d2ed7d626fabb237c86c4f12b67a254ae97
[ "MIT" ]
null
null
null
setup.py
akaihola/pre-commit-hooks-markup
54db9d2ed7d626fabb237c86c4f12b67a254ae97
[ "MIT" ]
null
null
null
from setuptools import find_packages from setuptools import setup setup( name='pre-commit-hooks-markup', description='Hooks for pre-commit that validate Markdown / RST files', url='https://github.com/Lucas-C/pre-commit-hooks-markup', version='1.0.0', author='Lucas Cimon', author_email='lucas.c...
30.277778
74
0.611927
114
1,090
5.754386
0.526316
0.231707
0.304878
0.118902
0.082317
0
0
0
0
0
0
0.015796
0.244954
1,090
35
75
31.142857
0.781288
0
0
0.096774
0
0
0.570642
0.074312
0
0
0
0
0
1
0
true
0
0.064516
0
0.064516
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
1
0
0
0
0
0
0
3
fab6d234be79ff542a0e209350daabd0930865d6
605
py
Python
tests/test_ui.py
anarcat/cartman
072bce4f605e564136417dc87fd6d524181aa414
[ "ISC" ]
10
2015-06-30T06:38:25.000Z
2020-04-16T17:40:48.000Z
tests/test_ui.py
anarcat/cartman
072bce4f605e564136417dc87fd6d524181aa414
[ "ISC" ]
24
2015-11-06T11:27:48.000Z
2020-03-26T17:58:25.000Z
tests/test_ui.py
anarcat/cartman
072bce4f605e564136417dc87fd6d524181aa414
[ "ISC" ]
7
2015-03-18T16:29:53.000Z
2020-05-27T23:44:36.000Z
import unittest from cartman import ui class UiUnitTest(unittest.TestCase): def test_underline_empty(self): self.assertEquals(ui.underline(""), "") def test_underline_one(self): self.assertEquals(ui.underline("a"), "-") def test_underline_with_space(self): self.assertEquals(ui....
24.2
60
0.639669
77
605
4.844156
0.272727
0.112601
0.321716
0.353887
0.568365
0.369973
0
0
0
0
0
0
0.191736
605
24
61
25.208333
0.762781
0
0
0
0
0
0.056198
0
0
0
0
0
0.4
1
0.4
false
0
0.133333
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
fac0e0a6f5f7c158cb02bde6aad3ac2618079fe2
112
py
Python
src/core/version.py
dynaryu/vaws
f6ed9b75408f7ce6100ed59b7754f745e59be152
[ "BSD-3-Clause" ]
null
null
null
src/core/version.py
dynaryu/vaws
f6ed9b75408f7ce6100ed59b7754f745e59be152
[ "BSD-3-Clause" ]
null
null
null
src/core/version.py
dynaryu/vaws
f6ed9b75408f7ce6100ed59b7754f745e59be152
[ "BSD-3-Clause" ]
null
null
null
''' Single point of truth for version information ''' VERSION_NO = '1.1.7' VERSION_DESC = 'VAWS' + VERSION_NO
16
46
0.696429
17
112
4.411765
0.705882
0.24
0
0
0
0
0
0
0
0
0
0.032258
0.169643
112
6
47
18.666667
0.774194
0.401786
0
0
0
0
0.155172
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
facb76938b3e6e7a2c3b52ab8531fee900bfdcdc
563
py
Python
timeline/utils.py
vstasn/django-shop-schedule
e48ae78454d0e0687b96c07e4877ffacf466a8fd
[ "MIT" ]
null
null
null
timeline/utils.py
vstasn/django-shop-schedule
e48ae78454d0e0687b96c07e4877ffacf466a8fd
[ "MIT" ]
null
null
null
timeline/utils.py
vstasn/django-shop-schedule
e48ae78454d0e0687b96c07e4877ffacf466a8fd
[ "MIT" ]
null
null
null
import datetime def format_time(day_of_week, time): return "{}{:02d}{:02d}".format(day_of_week, time.hour, time.minute) def timetostring(rtime): full_date = datetime.datetime.strptime(str(rtime).zfill(5), "%w%H%M") return "{:02d}.{:02d}".format(full_date.hour, full_date.minute) def subminutes(time1, m...
28.15
75
0.714032
86
563
4.476744
0.418605
0.064935
0.116883
0.067532
0
0
0
0
0
0
0
0.034836
0.133215
563
19
76
29.631579
0.754098
0
0
0
0
0
0.058615
0
0
0
0
0
0
1
0.363636
false
0
0.090909
0.181818
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
faf0d94ad5fcab2596b9c8bc116b5d39fac24236
160
py
Python
challenges/6.1.Conditionals/main.py
pradeepsaiu/python-coding-challenges
b435ab650d85de267eeaa31a55ff77ef5dbff86b
[ "BSD-3-Clause" ]
141
2017-05-07T00:38:22.000Z
2022-03-25T10:14:25.000Z
challenges/6.1.Conditionals/main.py
pradeepsaiu/python-coding-challenges
b435ab650d85de267eeaa31a55ff77ef5dbff86b
[ "BSD-3-Clause" ]
23
2017-05-06T23:57:37.000Z
2018-03-23T19:07:32.000Z
challenges/6.1.Conditionals/main.py
pradeepsaiu/python-coding-challenges
b435ab650d85de267eeaa31a55ff77ef5dbff86b
[ "BSD-3-Clause" ]
143
2017-05-07T09:33:35.000Z
2022-03-12T21:04:13.000Z
value = 'some' #modify this line if value == 'Y' or value == 'y': print('yes') elif value == 'N' or value == 'n': print('no') else: print('error')
17.777778
34
0.5375
24
160
3.583333
0.625
0.139535
0
0
0
0
0
0
0
0
0
0
0.24375
160
8
35
20
0.710744
0.1
0
0
0
0
0.125874
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
4f0ce04e5bbb445f075c1fa72c6b2d0b38e8dcb0
15,534
py
Python
wtpy/apps/WtCCLoader.py
systemtrader/wtpy
5654662618b7281d12eedc4a782251838e7a9048
[ "MIT" ]
1
2022-03-17T00:44:50.000Z
2022-03-17T00:44:50.000Z
wtpy/apps/WtCCLoader.py
sunnyruin/wtpy
f9cc1a6248fd33e1f42f0aa4a1c96cf5357bf3b2
[ "MIT" ]
null
null
null
wtpy/apps/WtCCLoader.py
sunnyruin/wtpy
f9cc1a6248fd33e1f42f0aa4a1c96cf5357bf3b2
[ "MIT" ]
null
null
null
import urllib.request import io import gzip import json def httpGet(url, encoding:str='utf-8', proxy:str = None, headers:dict = {}) -> str: headers['Accept-encoding'] = 'gzip' headers['User-Agent'] = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)' handler = N...
36.723404
120
0.496653
1,405
15,534
5.464057
0.164413
0.015761
0.00521
0.007816
0.716035
0.70327
0.700143
0.696496
0.678911
0.665494
0
0.018519
0.367323
15,534
422
121
36.810427
0.762617
0.059289
0
0.686154
0
0.003077
0.20879
0.006642
0
0
0
0
0
1
0.021538
false
0
0.012308
0
0.092308
0.021538
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8790753999aceb507315b95bcdf9721d6170c4cb
217
py
Python
main_store.py
GilGald/FlaskTryout
f4cd4761680babdeaeb062f5de086aca8d1554ac
[ "MIT" ]
null
null
null
main_store.py
GilGald/FlaskTryout
f4cd4761680babdeaeb062f5de086aca8d1554ac
[ "MIT" ]
null
null
null
main_store.py
GilGald/FlaskTryout
f4cd4761680babdeaeb062f5de086aca8d1554ac
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'Hello and welcome to my shop!' @app.route('/item/<int:item_idd>') def hello(item_idd): return 'Hello, World' + str(item_idd)
21.7
42
0.677419
34
217
4.117647
0.588235
0.15
0
0
0
0
0
0
0
0
0
0
0.156682
217
10
43
21.7
0.765027
0
0
0
0
0
0.284404
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
87ba387bbebf3543d4f3c0204fca4271ac43a2ed
1,829
py
Python
src/scs_dev/cmd/cmd_disk_usage.py
south-coast-science/scs_dev
b746adda020498b911cb92f28d4f07b14df996a2
[ "MIT" ]
2
2017-04-24T14:58:28.000Z
2020-05-27T08:53:46.000Z
src/scs_dev/cmd/cmd_disk_usage.py
south-coast-science/scs_dev
b746adda020498b911cb92f28d4f07b14df996a2
[ "MIT" ]
1
2020-07-13T14:33:59.000Z
2021-03-27T08:52:04.000Z
src/scs_dev/cmd/cmd_disk_usage.py
south-coast-science/scs_dev
b746adda020498b911cb92f28d4f07b14df996a2
[ "MIT" ]
1
2018-08-24T09:55:01.000Z
2018-08-24T09:55:01.000Z
""" Created on 20 May 2018 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ import optparse # -------------------------------------------------------------------------------------------------------------------- class CmdDiskUsage(object): """unix command line handler""" def __init__(self): ...
28.138462
118
0.43193
161
1,829
4.658385
0.440994
0.066667
0.056
0.050667
0
0
0
0
0
0
0
0.006969
0.215418
1,829
64
119
28.578125
0.515679
0.322034
0
0.115385
0
0
0.155
0.0175
0
0
0
0
0
1
0.269231
false
0
0.038462
0.153846
0.576923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3