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
c70e2b25b17ec5f884c078d79a779073914e5b62
12,881
py
Python
tests/commands/pkg/test_update.py
ufo2011/platformio-core
0ceae62701731f8b32c34d7993a34dea34aea59c
[ "Apache-2.0" ]
null
null
null
tests/commands/pkg/test_update.py
ufo2011/platformio-core
0ceae62701731f8b32c34d7993a34dea34aea59c
[ "Apache-2.0" ]
null
null
null
tests/commands/pkg/test_update.py
ufo2011/platformio-core
0ceae62701731f8b32c34d7993a34dea34aea59c
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2014-present PlatformIO <contact@platformio.org> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
36.081232
88
0.64172
1,386
12,881
5.790043
0.136364
0.05296
0.065421
0.087227
0.795016
0.763863
0.725358
0.673022
0.65296
0.60648
0
0.021658
0.22933
12,881
356
89
36.182584
0.786743
0.07841
0
0.566553
0
0
0.210206
0.109581
0
0
0
0
0.156997
1
0.020478
false
0
0.03413
0.003413
0.05802
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
c72fe31d331174c20fdbcc15c8f0431ac75e71d4
225
py
Python
src/scrapers/base_scraper.py
Ukraine-Relief-Efforts/scraper
e0f7431390afd7d26d6065e85edc571c5e1f557b
[ "MIT" ]
16
2022-02-25T18:00:00.000Z
2022-03-01T12:18:46.000Z
src/scrapers/base_scraper.py
Ukraine-Relief-Efforts/scraper
e0f7431390afd7d26d6065e85edc571c5e1f557b
[ "MIT" ]
59
2022-02-25T17:19:46.000Z
2022-03-31T15:37:06.000Z
src/scrapers/base_scraper.py
Ukraine-Relief-Efforts/scraper
e0f7431390afd7d26d6065e85edc571c5e1f557b
[ "MIT" ]
5
2022-02-25T18:53:38.000Z
2022-02-28T15:33:57.000Z
"""Scraper base class""" from abc import ABC, abstractmethod class BaseScraper(ABC): """An abstract base class for scrapers""" @abstractmethod def scrape(self): """The abstract method.""" pass
17.307692
45
0.635556
25
225
5.72
0.72
0.125874
0
0
0
0
0
0
0
0
0
0
0.244444
225
12
46
18.75
0.841176
0.333333
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
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
c748f7e203ace5e6202b980ccd81b1de6973dda0
1,255
py
Python
mlops_client/feature_store/feature_key.py
elemeno-ai/mlops-python-client
a5f3e3e6b8e732ff45a635e61c88eca78b443c38
[ "Apache-2.0" ]
1
2022-03-08T14:57:23.000Z
2022-03-08T14:57:23.000Z
mlops_client/feature_store/feature_key.py
elemeno-ai/mlops-python-client
a5f3e3e6b8e732ff45a635e61c88eca78b443c38
[ "Apache-2.0" ]
null
null
null
mlops_client/feature_store/feature_key.py
elemeno-ai/mlops-python-client
a5f3e3e6b8e732ff45a635e61c88eca78b443c38
[ "Apache-2.0" ]
null
null
null
from mlops_client.feature_store.feature_value_type import FeatureValueType from mlops_client.model.missing_field import MissingFieldError class FeatureKey: """ This class is used to build a feature key. Object building functions: - with_key_name (str): The name of the feature key. - with_key_valu...
28.522727
82
0.704382
169
1,255
4.923077
0.248521
0.129808
0.158654
0.096154
0.216346
0.127404
0.067308
0
0
0
0
0
0.211155
1,255
44
83
28.522727
0.840404
0.231076
0
0.192308
0
0
0.105832
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.115385
0.576923
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
c74de41c3f38b3ad0707e6dd710968cc55ab8c09
738
py
Python
src/BadCode/leapyear_antipattern1_01.py
raulgarciamsft/TestSimple
7c17ebaa074017c2ddbbfd978927d555853c7c0d
[ "MIT" ]
null
null
null
src/BadCode/leapyear_antipattern1_01.py
raulgarciamsft/TestSimple
7c17ebaa074017c2ddbbfd978927d555853c7c0d
[ "MIT" ]
null
null
null
src/BadCode/leapyear_antipattern1_01.py
raulgarciamsft/TestSimple
7c17ebaa074017c2ddbbfd978927d555853c7c0d
[ "MIT" ]
null
null
null
from datetime import date def add_years_tp1(d, years): return d.replace(year = d.year + years) def create_date_tp1(d): return date(d.year + 1, d.month, d.day) def is_leap_year_1(year): if (year % 4) == 0: if (year % 100) == 0: if (year % 400) == 0: return True ...
24.6
68
0.542005
115
738
3.347826
0.278261
0.064935
0.109091
0.14026
0.348052
0.218182
0.218182
0
0
0
0
0.0625
0.327913
738
29
69
25.448276
0.71371
0
0
0.434783
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0.130435
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c77ebb8a8f1a1d17350d8d106f4a961b300a87fb
236
py
Python
LeetCode/0290. Word Pattern/solution.py
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
19
2018-08-26T03:10:58.000Z
2022-03-07T18:12:52.000Z
LeetCode/0290. Word Pattern/solution.py
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/0290. Word Pattern/solution.py
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
6
2020-03-16T23:00:06.000Z
2022-01-13T07:02:08.000Z
""" 36 / 36 test cases passed. Status: Accepted Runtime: 44 ms """ class Solution: def wordPattern(self, pattern: str, s: str) -> bool: s = s.split() return list(map(pattern.index, pattern)) == list(map(s.index, s))
23.6
73
0.618644
34
236
4.294118
0.676471
0.09589
0
0
0
0
0
0
0
0
0
0.032609
0.220339
236
9
74
26.222222
0.76087
0.245763
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c79aa19f20c41d13de73d1fd8c3dde77a8f9cd08
3,191
py
Python
tests/test_csv_to_json.py
fhightower/csv-to-json
e4ef00999b406055d5fd57d45bc2ce95c078b68b
[ "MIT" ]
null
null
null
tests/test_csv_to_json.py
fhightower/csv-to-json
e4ef00999b406055d5fd57d45bc2ce95c078b68b
[ "MIT" ]
null
null
null
tests/test_csv_to_json.py
fhightower/csv-to-json
e4ef00999b406055d5fd57d45bc2ce95c078b68b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `csv_to_json` module.""" import os from csv_to_json import csv_to_json def _get_csv_data(file_path='./data/test.csv'): with open(os.path.abspath(os.path.join(os.path.dirname(__file__), file_path)), 'r') as f: file_text = f.read() return file...
34.684783
97
0.670323
480
3,191
4.220833
0.270833
0.256663
0.253208
0.138203
0.496545
0.401283
0.36772
0.346002
0.288253
0.240375
0
0.042783
0.157631
3,191
91
98
35.065934
0.710938
0.069571
0
0.078125
0
0
0.227365
0.056081
0
0
0
0
0.53125
1
0.109375
false
0
0.03125
0
0.15625
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
1
0
0
0
0
0
0
0
0
0
3
c7a6134b645d3ea516a331d64e2886feefb6f51e
679
py
Python
CVhome/migrations/0003_auto_20210409_1139.py
siavashMehran/Portfolio
a592ec51122d96e8e336365fd3cd039a7f223221
[ "MIT" ]
null
null
null
CVhome/migrations/0003_auto_20210409_1139.py
siavashMehran/Portfolio
a592ec51122d96e8e336365fd3cd039a7f223221
[ "MIT" ]
null
null
null
CVhome/migrations/0003_auto_20210409_1139.py
siavashMehran/Portfolio
a592ec51122d96e8e336365fd3cd039a7f223221
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-04-09 07:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('CVhome', '0002_auto_20210326_0257'), ] operations = [ migrations.AlterField( model_name='home', name='p1', ...
23.413793
51
0.55081
68
679
5.367647
0.573529
0.164384
0.205479
0.238356
0.479452
0.479452
0.378082
0.378082
0.378082
0.378082
0
0.092511
0.33137
679
28
52
24.25
0.711454
0.066274
0
0.5
1
0
0.079114
0.036392
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
c7aa10837bcadb40c6390a3d7cf933fb16d279ff
1,880
py
Python
com_blacktensor/resources/fre.py
Jelly6489/Stock-Proj
3e7b1ad5cddc5b142f0069e024199fe969c7c7e8
[ "MIT" ]
null
null
null
com_blacktensor/resources/fre.py
Jelly6489/Stock-Proj
3e7b1ad5cddc5b142f0069e024199fe969c7c7e8
[ "MIT" ]
null
null
null
com_blacktensor/resources/fre.py
Jelly6489/Stock-Proj
3e7b1ad5cddc5b142f0069e024199fe969c7c7e8
[ "MIT" ]
2
2020-11-13T08:11:04.000Z
2020-11-14T05:32:09.000Z
from konlpy.tag import Okt from collections import Counter from wordcloud import WordCloud import matplotlib.pyplot as plt import pandas as pd from flask_restful import Resource from com_blackTensor.util.file_hander import FileHandler as handler # ============================================================ # ======...
40
67
0.265957
66
1,880
7.530303
0.621212
0.060362
0
0
0
0
0
0
0
0
0
0
0.18883
1,880
47
68
40
0.325902
0.698404
0
0.315789
0
0
0
0
0
0
0
0
0
1
0
true
0
0.368421
0
0.684211
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
c7d8e8095b4feb19bba6b3829f48e32f3179c882
5,095
py
Python
knx_plugin/trigger/dpt_value_lux/__init__.py
majamassarini/automate-knx-plugin
478cd8c00c36b0cb8d5a7363985c05a45afae2d5
[ "MIT" ]
null
null
null
knx_plugin/trigger/dpt_value_lux/__init__.py
majamassarini/automate-knx-plugin
478cd8c00c36b0cb8d5a7363985c05a45afae2d5
[ "MIT" ]
1
2022-02-12T19:06:23.000Z
2022-02-12T19:06:23.000Z
knx_plugin/trigger/dpt_value_lux/__init__.py
majamassarini/automate-knx-plugin
478cd8c00c36b0cb8d5a7363985c05a45afae2d5
[ "MIT" ]
null
null
null
from typing import List import home from knx_plugin.trigger import Always as Parent from knx_plugin.trigger import mean class Always(Parent): DPT = { "type": "knx", "name": "DPT_Value_Lux", "addresses": [], "fields": {"decoded_value": 0}, } class Brightness(Always): ""...
27.994505
93
0.599607
531
5,095
5.46516
0.180791
0.093039
0.041695
0.041351
0.780841
0.75672
0.728808
0.687457
0.687457
0.687457
0
0.021265
0.261629
5,095
181
94
28.149171
0.750133
0.443376
0
0.523256
0
0
0.09232
0.011637
0
0
0
0
0
1
0.046512
false
0
0.05814
0
0.302326
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
c7deca35835acdd9aff03e220fda524b78e7f76a
286
py
Python
LinkedList/linked_list.test.py
WesleyMoy/ICS_X460.37
4ce7c72623cbab39d0524c7d0306eaa910d67052
[ "MIT" ]
null
null
null
LinkedList/linked_list.test.py
WesleyMoy/ICS_X460.37
4ce7c72623cbab39d0524c7d0306eaa910d67052
[ "MIT" ]
null
null
null
LinkedList/linked_list.test.py
WesleyMoy/ICS_X460.37
4ce7c72623cbab39d0524c7d0306eaa910d67052
[ "MIT" ]
null
null
null
from linked_list import * def main(): appendTest() def appendTest(): print('Container Insert Test \n') append_test = LinkedList() for count in range(20): append_test.append(count) print('Container Insert Test Passed \n') if __name__ == '__main__': main()
20.428571
44
0.660839
36
286
4.944444
0.611111
0.157303
0.224719
0.269663
0
0
0
0
0
0
0
0.008929
0.216783
286
14
45
20.428571
0.785714
0
0
0
0
0
0.219512
0
0
0
0
0
0
1
0.181818
false
0.090909
0.090909
0
0.272727
0.181818
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1be65dd74416b3e40a8cb668d1c685db798b09f1
1,086
py
Python
sympy/mpmath/tests/extratest_zeta.py
matthew-brett/sympy
7b87b62144c28f2e734e9106897c72806b99d181
[ "BSD-3-Clause" ]
1
2016-07-13T04:30:25.000Z
2016-07-13T04:30:25.000Z
sympy/mpmath/tests/extratest_zeta.py
jegerjensen/sympy
3a43310f1957a21a6f095fe2801cc05b5268a2c7
[ "BSD-3-Clause" ]
null
null
null
sympy/mpmath/tests/extratest_zeta.py
jegerjensen/sympy
3a43310f1957a21a6f095fe2801cc05b5268a2c7
[ "BSD-3-Clause" ]
null
null
null
from mpmath import zetazero from timeit import default_timer as clock def test_zetazero(): cases = [\ (399999999, 156762524.6750591511), (241389216, 97490234.2276711795), (526196239, 202950727.691229534), (542964976, 209039046.578535272), (1048449112, 388858885.231056486), (1048449113, 3888...
30.166667
75
0.642726
122
1,086
5.631148
0.614754
0.02329
0.043668
0.048035
0.069869
0
0
0
0
0
0
0.413381
0.229282
1,086
35
76
31.028571
0.407407
0
0
0.060606
0
0
0.104972
0.021179
0
0
0
0
0
0
null
null
0.030303
0.121212
null
null
0.181818
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
1
0
0
0
0
0
0
0
0
3
1bf39ad2a5eb05a3dbd3cf140e1ea82afdb09049
1,844
py
Python
quiz/migrations/0001_initial.py
nitinkushwaha17/Arcane2
826562dc8b9857c3c08c86adee8b182bb4905823
[ "BSD-2-Clause" ]
null
null
null
quiz/migrations/0001_initial.py
nitinkushwaha17/Arcane2
826562dc8b9857c3c08c86adee8b182bb4905823
[ "BSD-2-Clause" ]
2
2022-01-02T10:47:59.000Z
2022-01-02T10:49:32.000Z
quiz/migrations/0001_initial.py
nitinkushwaha17/Arcane2
826562dc8b9857c3c08c86adee8b182bb4905823
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-18 19:24 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Stage_1', fields=[ ('id', models.BigAutoFie...
46.1
215
0.603037
204
1,844
5.367647
0.352941
0.090411
0.109589
0.131507
0.811872
0.723288
0.666667
0.666667
0.513242
0.513242
0
0.025279
0.270607
1,844
39
216
47.282051
0.788848
0.024403
0
0.6875
1
0.0625
0.220924
0
0
0
0
0
0
1
0
false
0
0.03125
0
0.15625
0
0
0
0
null
0
0
0
1
1
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
1bff43a368666a1ea07195dc0c3c4cb6e566401d
616
py
Python
apps/exceptions.py
nowindxdw/flask_base
44963513a3945ebf6cd7c4dcd7fbd67d6d8c5641
[ "MIT" ]
null
null
null
apps/exceptions.py
nowindxdw/flask_base
44963513a3945ebf6cd7c4dcd7fbd67d6d8c5641
[ "MIT" ]
2
2020-04-22T11:26:13.000Z
2020-04-22T11:26:20.000Z
apps/exceptions.py
nowindxdw/flask_base
44963513a3945ebf6cd7c4dcd7fbd67d6d8c5641
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding:utf-8 -*- # # __author__ = 'QeeYou' # __file__ = 'exceptions.py' # __date__ = '2017/7/10 22:03' class BaseException(Exception): """ 自定义异常类基类 """ def __init__(self, msg): self._msg = str(msg) def __str__(self): return repr(self._msg) class Memca...
20.533333
49
0.61526
66
616
5.045455
0.530303
0.105105
0.099099
0.126126
0.234234
0.234234
0.234234
0.234234
0.234234
0.234234
0
0.02537
0.232143
616
30
50
20.533333
0.678647
0.25974
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.363636
false
0.090909
0
0.090909
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
400660c68940dc33b438dd9845f496d98a48cecc
187
py
Python
Employee_list/employee/router.py
Thanduxol/employee_list
e5ad3b47d1a89836d9b5e2f14521a40da31562fc
[ "MIT" ]
null
null
null
Employee_list/employee/router.py
Thanduxol/employee_list
e5ad3b47d1a89836d9b5e2f14521a40da31562fc
[ "MIT" ]
null
null
null
Employee_list/employee/router.py
Thanduxol/employee_list
e5ad3b47d1a89836d9b5e2f14521a40da31562fc
[ "MIT" ]
null
null
null
from rest_framework import routers from employee.api.viewsets import EmployeeAPIView router = routers.DefaultRouter() router.register('employee', EmployeeAPIView, base_name='employee')
26.714286
66
0.828877
21
187
7.285714
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.085562
187
6
67
31.166667
0.894737
0
0
0
0
0
0.085562
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
401006cf258f4480060c23f78ee56d774be03f2b
2,278
py
Python
authentication/Generic_authentication_module.py
androdev4u/XFLTReaT
17d4ec857dd1b98d8f57fec2edc540fce7087b21
[ "MIT" ]
315
2017-08-25T04:17:56.000Z
2022-03-03T14:28:46.000Z
authentication/Generic_authentication_module.py
FDlucifer/XFLTReaT
17d4ec857dd1b98d8f57fec2edc540fce7087b21
[ "MIT" ]
8
2017-09-10T21:03:06.000Z
2020-01-24T15:48:58.000Z
authentication/Generic_authentication_module.py
FDlucifer/XFLTReaT
17d4ec857dd1b98d8f57fec2edc540fce7087b21
[ "MIT" ]
71
2017-08-25T06:01:43.000Z
2022-03-24T15:35:53.000Z
# MIT License # Copyright (c) 2018 Balazs Bucsay # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, ...
34
80
0.777436
344
2,278
5.014535
0.462209
0.051014
0.030145
0.062609
0.092174
0.042899
0
0
0
0
0
0.005238
0.161984
2,278
66
81
34.515152
0.898376
0.61633
0
0.076923
0
0
0.113074
0.037691
0
0
0
0
0
1
0.307692
false
0
0.076923
0.269231
0.730769
0.038462
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
40144e9339f01a34bf5354a1d4a19d7e21cfcc52
169
py
Python
numpy_1-D_iterator.py
Kalpavrikshika/python_modules
9f338ab006dd5653fd7f65ff253bc50e0fd61fc6
[ "Apache-2.0" ]
1
2018-07-02T03:37:03.000Z
2018-07-02T03:37:03.000Z
numpy_1-D_iterator.py
Kalpavrikshika/python_modules
9f338ab006dd5653fd7f65ff253bc50e0fd61fc6
[ "Apache-2.0" ]
null
null
null
numpy_1-D_iterator.py
Kalpavrikshika/python_modules
9f338ab006dd5653fd7f65ff253bc50e0fd61fc6
[ "Apache-2.0" ]
null
null
null
import numpy as numpy a = numpy.arange(8).reshape(2,4) print ('The original array') print (a) print ('\n') print ('After applying the flat function:') print (a.flat[5])
21.125
43
0.692308
29
169
4.034483
0.655172
0.102564
0
0
0
0
0
0
0
0
0
0.027397
0.136095
169
8
44
21.125
0.773973
0
0
0
0
0
0.311765
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.714286
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
401c6a8c2af8929ae49cc3f508c7047601356adb
339
bzl
Python
common/dependencies.bzl
ChrisCummins/bazel-distribution
6865042c2dcfb0e877adb9ba999c9dfa855e4613
[ "Apache-2.0" ]
null
null
null
common/dependencies.bzl
ChrisCummins/bazel-distribution
6865042c2dcfb0e877adb9ba999c9dfa855e4613
[ "Apache-2.0" ]
null
null
null
common/dependencies.bzl
ChrisCummins/bazel-distribution
6865042c2dcfb0e877adb9ba999c9dfa855e4613
[ "Apache-2.0" ]
null
null
null
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def bazelbuild_rules_pkg(): http_archive( name = "rules_pkg", url = "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.2/rules_pkg-0.2.2.tar.gz", sha256 = "02de387c5ef874379e784ac968bf6efffe5285a168cab5a3169e08...
37.666667
103
0.716814
41
339
5.707317
0.634146
0.136752
0.153846
0
0
0
0
0
0
0
0
0.161512
0.141593
339
8
104
42.375
0.642612
0
0
0
0
0.142857
0.634218
0.318584
0
0
0
0
0
1
0.142857
true
0
0
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
403d23821a8e73f3e1e4a1781b9d0e5c58a9109b
184
py
Python
ramda/sort.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
1
2022-03-14T07:35:13.000Z
2022-03-14T07:35:13.000Z
ramda/sort.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
3
2022-03-24T02:30:18.000Z
2022-03-31T07:46:04.000Z
ramda/sort.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
null
null
null
from functools import cmp_to_key from .private._curry2 import _curry2 def inner_sort(comparator, arr): return sorted(arr, key=cmp_to_key(comparator)) sort = _curry2(inner_sort)
16.727273
48
0.788043
28
184
4.857143
0.535714
0.073529
0.117647
0
0
0
0
0
0
0
0
0.01875
0.130435
184
10
49
18.4
0.83125
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
404938829b9fdb3e4f46bdbab2a365d583d7493f
43
py
Python
busup/__init__.py
konoufo/nimbus
9d07534e2658d590eaaf51784dcd17580c2a3725
[ "MIT" ]
1
2019-01-10T16:43:38.000Z
2019-01-10T16:43:38.000Z
busup/__init__.py
konoufo/nimbus
9d07534e2658d590eaaf51784dcd17580c2a3725
[ "MIT" ]
null
null
null
busup/__init__.py
konoufo/nimbus
9d07534e2658d590eaaf51784dcd17580c2a3725
[ "MIT" ]
null
null
null
default_app_config = 'busup.apps.AppConfig'
43
43
0.837209
6
43
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.046512
43
1
43
43
0.829268
0
0
0
0
0
0.454545
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
4049fb1d4433849241236f4b0d510da1b334b379
240
py
Python
Pay.py
mcjohnchristopher/Python_Samples
738f3b7d9baa7f4e396647f380118eba66ea645c
[ "CC0-1.0" ]
null
null
null
Pay.py
mcjohnchristopher/Python_Samples
738f3b7d9baa7f4e396647f380118eba66ea645c
[ "CC0-1.0" ]
null
null
null
Pay.py
mcjohnchristopher/Python_Samples
738f3b7d9baa7f4e396647f380118eba66ea645c
[ "CC0-1.0" ]
null
null
null
hrs = input("Enter your work hour:") rate = 10 extra_pay = 15 if hours < 40: pay = float(hrs) * float(rate) elif: extra = float(hrs) - 40 pay = (float(hrs) * float(rate)) + (float(extra_pay) * extra) print ('Salary paid:',pay)xrange
26.666667
62
0.6375
38
240
3.973684
0.526316
0.15894
0.13245
0.172185
0.291391
0.291391
0
0
0
0
0
0.041237
0.191667
240
9
63
26.666667
0.737113
0
0
0
0
0
0.141631
0
0
0
0
0
0
0
null
null
0
0
null
null
0.111111
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
1
0
0
0
0
0
0
0
0
3
404e09135726be819ee93948e52ed8fa1fefd8ee
16,758
py
Python
release/stubs/System/Windows/Documents/DocumentStructures.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs/System/Windows/Documents/DocumentStructures.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs/System/Windows/Documents/DocumentStructures.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
# encoding: utf-8 # module System.Windows.Documents.DocumentStructures calls itself DocumentStructures # from PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 # by generator 1.145 """ NamespaceTracker represent a CLS namespace. """ # no imports # no functions # classes ...
28.070352
221
0.609082
1,723
16,758
5.506094
0.096344
0.033941
0.067882
0.087277
0.626858
0.601033
0.56024
0.52904
0.52261
0.52261
0
0.001662
0.281776
16,758
596
222
28.11745
0.786557
0.496121
0
0.77381
0
0
0
0
0
0
0
0
0
1
0.339286
false
0.339286
0
0
0.470238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
40701fe153f0866e72abf8b90ef9567189427a52
224
py
Python
nonWebCode/crawlBBS/analytics.py
jennyyuejin/projectFox
ef0da07f70313bd904dd79634e7feba0076a6817
[ "Unlicense" ]
null
null
null
nonWebCode/crawlBBS/analytics.py
jennyyuejin/projectFox
ef0da07f70313bd904dd79634e7feba0076a6817
[ "Unlicense" ]
null
null
null
nonWebCode/crawlBBS/analytics.py
jennyyuejin/projectFox
ef0da07f70313bd904dd79634e7feba0076a6817
[ "Unlicense" ]
null
null
null
__author__ = 'jennyyuejin' import json import pprint borrows = json.load(open('./output/borrow/crawlResults.json', 'r')) buys = json.load(open('./output/buy/crawlResults.json', 'r')) set(borrows.keys()) & set(buys.keys())
24.888889
67
0.705357
30
224
5.133333
0.533333
0.103896
0.155844
0.233766
0
0
0
0
0
0
0
0
0.089286
224
9
68
24.888889
0.754902
0
0
0
0
0
0.337778
0.28
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
40d21d05c4d30e44768c64c1ece348b951872803
365
py
Python
Easy/replace_all_digits_with_characters.py
BrynjarGeir/LeetCode
dbd57e645c5398dec538b6466215b61491c8d1d9
[ "MIT" ]
null
null
null
Easy/replace_all_digits_with_characters.py
BrynjarGeir/LeetCode
dbd57e645c5398dec538b6466215b61491c8d1d9
[ "MIT" ]
null
null
null
Easy/replace_all_digits_with_characters.py
BrynjarGeir/LeetCode
dbd57e645c5398dec538b6466215b61491c8d1d9
[ "MIT" ]
null
null
null
from string import ascii_lowercase class Solution: def replaceDigits(self, s: str) -> str: s = list(s) for i in range(1, len(s), 2): s[i] = self.shift(s, s[i-1], int(s[i])) return ''.join(s) def shift(self, s, c, d): index = ascii_lowercase.index...
30.416667
51
0.528767
54
365
3.518519
0.5
0.221053
0.2
0
0
0
0
0
0
0
0
0.012295
0.331507
365
12
52
30.416667
0.766393
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.6
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
40d24c273af618e0dce2fdeb0892453d10f97dc3
817
py
Python
netpyne/specs/__init__.py
tusharmanekar/netpyne
8f26e8202205ab59ae1d59e4938cc555e925cb40
[ "MIT" ]
null
null
null
netpyne/specs/__init__.py
tusharmanekar/netpyne
8f26e8202205ab59ae1d59e4938cc555e925cb40
[ "MIT" ]
null
null
null
netpyne/specs/__init__.py
tusharmanekar/netpyne
8f26e8202205ab59ae1d59e4938cc555e925cb40
[ "MIT" ]
null
null
null
""" Package of classes to define high-level model specifications """ from __future__ import unicode_literals #Importing unicode_literals from __future__ from __future__ import print_function #Importing print_function from __future__ from __future__ import division #Importing division...
51.0625
96
0.755202
89
817
6.460674
0.325843
0.173913
0.13913
0.13913
0.18087
0
0
0
0
0
0
0
0.210526
817
15
97
54.466667
0.891473
0.4541
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.888889
0
0.888889
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
40db86b6daaa678277942a69dc7b0fadfcf361e6
155
py
Python
accordJP/__init__.py
2waybene/accordJP
39b7b6426f3447aec862e7ce22d0e50a07793848
[ "BSD-3-Clause" ]
null
null
null
accordJP/__init__.py
2waybene/accordJP
39b7b6426f3447aec862e7ce22d0e50a07793848
[ "BSD-3-Clause" ]
null
null
null
accordJP/__init__.py
2waybene/accordJP
39b7b6426f3447aec862e7ce22d0e50a07793848
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Top-level package for myAccordJP.""" __author__ = """Jianying Li""" __email__ = 'jianying.li@gmail.com' __version__ = '0.0.1'
19.375
39
0.63871
20
155
4.35
0.85
0.229885
0
0
0
0
0
0
0
0
0
0.029851
0.135484
155
7
40
22.142857
0.619403
0.36129
0
0
0
0
0.397849
0.225806
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
40ed772cf955e7d290530c33d9dd30b44e5761ec
1,942
py
Python
lintcode/724.2.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
1
2021-01-08T06:57:49.000Z
2021-01-08T06:57:49.000Z
lintcode/724.2.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
null
null
null
lintcode/724.2.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
1
2021-01-08T06:57:52.000Z
2021-01-08T06:57:52.000Z
""" 724. Minimum Partition https://www.lintcode.com/problem/minimum-partition/description 01背包 算法班2020 C27 01背包变形 第二种dp定义 dp[i][j]: considering previous i items, whether it is possible to fill sum j dp[i][j] = dp[i - 1][j] or dp[i - 1][j - nums[i - 1]] if j >= nums[i - 1] dp[0][0] = True dp[i][0] = False answer ma...
37.346154
823
0.609166
385
1,942
3.062338
0.65974
0.022901
0.013571
0.016964
0.087362
0.055131
0.039016
0.016964
0
0
0
0.412179
0.196704
1,942
52
824
37.346154
0.34359
0.23172
0
0
0
0
0
0
0
0
0
0.019231
0
1
0.05
false
0
0
0
0.2
0.05
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
1
0
0
0
0
0
0
0
0
0
0
3
40f8e09b3e2ff172e1d14a537391bfc32c14d11a
100
py
Python
backend/api/apps/services/apps.py
Jeffallan/timekeeper
ecad4dba84781a9f5b592cd639ad43dc35708e11
[ "Apache-2.0" ]
1
2022-02-13T21:13:10.000Z
2022-02-13T21:13:10.000Z
backend/api/apps/services/apps.py
Jeffallan/timekeeper
ecad4dba84781a9f5b592cd639ad43dc35708e11
[ "Apache-2.0" ]
8
2021-11-14T20:00:25.000Z
2021-12-04T18:52:18.000Z
backend/api/apps/services/apps.py
Jeffallan/timekeeper
ecad4dba84781a9f5b592cd639ad43dc35708e11
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class ServicesConfig(AppConfig): name = 'api.apps.services'
16.666667
33
0.76
12
100
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.15
100
5
34
20
0.894118
0
0
0
0
0
0.17
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
dc134385402b9d320902e885cb273136c2366e05
184
py
Python
test/unit/test_constants.py
priyanka-amzn/chime-ice-breaker
8e232ce0ddc963303431181f9d4697cf3dd73199
[ "MIT" ]
9
2019-02-18T22:02:07.000Z
2022-02-27T00:09:35.000Z
test/unit/test_constants.py
jlhood/slack-ice-breaker
2f7b4ff1270fe029054273794b4bd956a890e65a
[ "MIT" ]
2
2020-07-28T16:56:08.000Z
2022-01-24T23:31:08.000Z
test/unit/test_constants.py
jlhood/slack-ice-breaker
2f7b4ff1270fe029054273794b4bd956a890e65a
[ "MIT" ]
6
2019-06-26T07:22:56.000Z
2021-11-26T07:08:27.000Z
"""Constants used for unit tests. This can be used to define values for environment variables so unit tests can use these to assert on expected values. """ TABLE_NAME = 'MyTableName'
30.666667
117
0.771739
29
184
4.862069
0.758621
0.12766
0
0
0
0
0
0
0
0
0
0
0.168478
184
6
118
30.666667
0.921569
0.809783
0
0
0
0
0.37931
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
905b7ff897195d9170c5082eaf917a4319811b52
1,658
py
Python
blog/migrations/0006_auto_20211020_2241.py
aaronh1986/SOUND-STORE-milestone-4
287714bfcbe441afb17a28c55bef9ba47a62fd89
[ "CNRI-Python" ]
null
null
null
blog/migrations/0006_auto_20211020_2241.py
aaronh1986/SOUND-STORE-milestone-4
287714bfcbe441afb17a28c55bef9ba47a62fd89
[ "CNRI-Python" ]
null
null
null
blog/migrations/0006_auto_20211020_2241.py
aaronh1986/SOUND-STORE-milestone-4
287714bfcbe441afb17a28c55bef9ba47a62fd89
[ "CNRI-Python" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-20 22:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0005_alter_blogpost_author'), ] operations = [ migrations.AlterModelOptions( name='blogpost', options={'ordering': (...
26.31746
53
0.516888
146
1,658
5.582192
0.280822
0.147239
0.287117
0.331288
0.536196
0.536196
0.536196
0.260123
0.137423
0
0
0.018147
0.368516
1,658
62
54
26.741935
0.760267
0.027141
0
0.5
1
0
0.173805
0.016139
0
0
0
0
0
1
0
false
0
0.017857
0
0.071429
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
905bfc541681e5b6ea67d880cef9e0cdc4ae675c
228
py
Python
sprint_challenge/testing.py
npgeorge/DS-Unit-3-Sprint-3-Productization-and-Cloud
646b0e4694ad2098905a570305e640d1072cc108
[ "MIT" ]
null
null
null
sprint_challenge/testing.py
npgeorge/DS-Unit-3-Sprint-3-Productization-and-Cloud
646b0e4694ad2098905a570305e640d1072cc108
[ "MIT" ]
null
null
null
sprint_challenge/testing.py
npgeorge/DS-Unit-3-Sprint-3-Productization-and-Cloud
646b0e4694ad2098905a570305e640d1072cc108
[ "MIT" ]
null
null
null
import openaq import requests api = openaq.OpenAQ() #status, body = api.measurements(city='Los Angeles', parameter='pm25') r = requests.get('https://api.openaq.org/v1/measurements', auth=('user', 'pass')) print(r.status_code)
25.333333
81
0.723684
32
228
5.125
0.6875
0.109756
0
0
0
0
0
0
0
0
0
0.014493
0.092105
228
9
82
25.333333
0.777778
0.302632
0
0
0
0
0.289308
0
0
0
0
0
0
1
0
false
0.2
0.4
0
0.4
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
1
1
0
0
0
0
3
905d49997247d09c6524b3ef56018b24867012ce
532
py
Python
src/pyobo/registries/__init__.py
ddomingof/pyobo
057a76e729fe063d8cb58ddb38076e19c4336725
[ "MIT" ]
null
null
null
src/pyobo/registries/__init__.py
ddomingof/pyobo
057a76e729fe063d8cb58ddb38076e19c4336725
[ "MIT" ]
null
null
null
src/pyobo/registries/__init__.py
ddomingof/pyobo
057a76e729fe063d8cb58ddb38076e19c4336725
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Extract registry information.""" from .metaregistry import ( # noqa: F401 CURATED_REGISTRY, CURATED_URLS, NOT_AVAILABLE_AS_OBO, OBSOLETE, PREFIX_TO_MIRIAM_PREFIX, REMAPPINGS_PREFIX, XREF_BLACKLIST, XREF_PREFIX_BLACKLIST, XREF_SUFFIX_BLACKLIST, get_curated_registry, ) from .miriam i...
40.923077
111
0.781955
69
532
5.710145
0.463768
0.101523
0.091371
0
0
0
0
0
0
0
0
0.034707
0.133459
532
12
112
44.333333
0.819957
0.201128
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.625
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
9062cc96a87f0d15fe9b336ad1eea62d2a57f252
641
py
Python
sdks/bkpaas-auth/bkpaas_auth/core/utils.py
piglei/bkpaas-python-sdk
3dfea8be5702ccea1228691c6c1c3e87a27238d2
[ "MIT" ]
1
2022-03-03T02:23:00.000Z
2022-03-03T02:23:00.000Z
sdks/bkpaas-auth/bkpaas_auth/core/utils.py
piglei/bkpaas-python-sdk
3dfea8be5702ccea1228691c6c1c3e87a27238d2
[ "MIT" ]
null
null
null
sdks/bkpaas-auth/bkpaas_auth/core/utils.py
piglei/bkpaas-python-sdk
3dfea8be5702ccea1228691c6c1c3e87a27238d2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import random import string DFT_RANDOM_CHARACTER_SET = string.ascii_lowercase + string.digits def generate_random_token(length=30, chars=DFT_RANDOM_CHARACTER_SET): """Generates a non-guessable OAuth token OAuth (1 and 2) does not specify the format of tokens except that they shou...
35.611111
76
0.75039
93
641
5.075269
0.645161
0.038136
0.076271
0.088983
0
0
0
0
0
0
0
0.009488
0.177847
641
17
77
37.705882
0.886148
0.539782
0
0
1
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
90a8b5e769995a3f09df6ae7c9b291273f9c32df
727
py
Python
ble2mqtt/devices/__init__.py
snickerjp/ble2mqtt
e45ca8ac20ec592f05cc035b5abc2b12ca8b0fb7
[ "MIT" ]
33
2020-11-10T07:04:12.000Z
2022-01-29T16:19:46.000Z
ble2mqtt/devices/__init__.py
snickerjp/ble2mqtt
e45ca8ac20ec592f05cc035b5abc2b12ca8b0fb7
[ "MIT" ]
27
2020-12-27T08:51:24.000Z
2022-03-21T11:06:24.000Z
ble2mqtt/devices/__init__.py
snickerjp/ble2mqtt
e45ca8ac20ec592f05cc035b5abc2b12ca8b0fb7
[ "MIT" ]
12
2021-01-06T08:13:14.000Z
2022-03-21T16:38:01.000Z
from .atom_fast import AtomFast # noqa: F401 from .base import registered_device_types # noqa: F401 from .bulb_avea import AveaBulb # noqa: F401 from .cooker_redmond import RedmondCooker # noqa: F401 from .cover_am43 import AM43Cover # noqa: F401 from .cover_soma import SomaCover # noqa: F401 from .kettle_redmond...
51.928571
79
0.803301
93
727
6.11828
0.397849
0.182777
0.253076
0.094903
0.087873
0
0
0
0
0
0
0.089888
0.143054
727
13
80
55.923077
0.823435
0.195323
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
90cbdb427c60220a996d4574c307aeb502aa193b
211
py
Python
sqs-lambda-eb-cdk-python/app.py
jeremycare/serverless-patterns
572507b40dcda3e23f75e7605ce55d29a096735e
[ "MIT-0" ]
883
2021-03-17T20:45:34.000Z
2022-03-30T03:21:48.000Z
sqs-lambda-eb-cdk-python/app.py
jeremycare/serverless-patterns
572507b40dcda3e23f75e7605ce55d29a096735e
[ "MIT-0" ]
318
2021-03-31T16:47:35.000Z
2022-03-31T12:55:12.000Z
sqs-lambda-eb-cdk-python/app.py
jeremycare/serverless-patterns
572507b40dcda3e23f75e7605ce55d29a096735e
[ "MIT-0" ]
218
2021-03-31T20:38:22.000Z
2022-03-31T08:56:28.000Z
#!/usr/bin/env python3 import os import aws_cdk as cdk from sqs_lambda_eb_cdk.sqs_lambda_eb_cdk_stack import SqsLambdaEbCdkStack app = cdk.App() SqsLambdaEbCdkStack(app, "SqsLambdaEbCdkStack",) app.synth()
16.230769
73
0.800948
31
211
5.193548
0.548387
0.409938
0.136646
0.173913
0
0
0
0
0
0
0
0.005319
0.109005
211
12
74
17.583333
0.851064
0.099526
0
0
0
0
0.100529
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
90d344677e4a4648778cbd1b65fce54378fc64a6
1,253
py
Python
Platforms/Web/Processing/Api/Admin/Users/main.py
HeapUnderfl0w/Phaazebot
54e637bd4bc213b8efdaf23d5f331f2569e96843
[ "MIT" ]
null
null
null
Platforms/Web/Processing/Api/Admin/Users/main.py
HeapUnderfl0w/Phaazebot
54e637bd4bc213b8efdaf23d5f331f2569e96843
[ "MIT" ]
null
null
null
Platforms/Web/Processing/Api/Admin/Users/main.py
HeapUnderfl0w/Phaazebot
54e637bd4bc213b8efdaf23d5f331f2569e96843
[ "MIT" ]
null
null
null
from typing import TYPE_CHECKING if TYPE_CHECKING: from Platforms.Web.index import WebIndex from aiohttp.web import Response, Request from .get import apiAdminUsersGet from .edit import apiAdminUsersEdit from .create import apiAdminUsersCreate from .delete import apiAdminUsersDelete from Utils.Classes.webuserinfo imp...
34.805556
125
0.786113
146
1,253
6.726027
0.39726
0.078411
0.069246
0.093686
0.09165
0
0
0
0
0
0
0
0.119713
1,253
35
126
35.8
0.890299
0
0
0
0
0
0.083265
0
0
0
0
0
0
1
0
true
0
0.375
0
0.541667
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
90f005ea8e23ae047951779a423e3078e8d61585
4,886
py
Python
ebclick/eventbrite.py
duffj/eventbrite-click
4b82863c38713b88aa109dd0e14eef14f482b22c
[ "Apache-2.0" ]
1
2016-08-12T15:32:55.000Z
2016-08-12T15:32:55.000Z
ebclick/eventbrite.py
duffj/eventbrite-click
4b82863c38713b88aa109dd0e14eef14f482b22c
[ "Apache-2.0" ]
null
null
null
ebclick/eventbrite.py
duffj/eventbrite-click
4b82863c38713b88aa109dd0e14eef14f482b22c
[ "Apache-2.0" ]
null
null
null
# Eventbrite API client import http import http_multi import logging import pickle import time def write_responses_data(data): """ Write a list of HTTP response data to disk using pickle, for the purpose of automated testing and offline development. """ filename = 'data_{}.requests.models.Response...
33.696552
97
0.609497
623
4,886
4.566613
0.215088
0.034798
0.019332
0.016872
0.183831
0.12232
0.087873
0.056239
0.056239
0.029525
0
0.005046
0.269955
4,886
144
98
33.930556
0.792543
0.29431
0
0.051282
0
0
0.097921
0.043688
0
0
0
0.020833
0
1
0.205128
false
0
0.064103
0.064103
0.589744
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
90f776b07dd43c3015651a3c76967948c5dbfd5f
184
py
Python
demo/graph/animated_bar.py
imai-laboratory/utility
d0b3154ec91df65333a22b76838c6c5d5a95092a
[ "MIT" ]
4
2018-02-02T01:17:42.000Z
2018-08-03T07:45:58.000Z
demo/graph/animated_bar.py
imai-laboratory/utility
d0b3154ec91df65333a22b76838c6c5d5a95092a
[ "MIT" ]
2
2017-09-15T04:01:36.000Z
2018-04-17T07:15:33.000Z
demo/graph/animated_bar.py
imai-laboratory/utility
d0b3154ec91df65333a22b76838c6c5d5a95092a
[ "MIT" ]
null
null
null
import numpy as np from lightsaber.graph.anim import AnimatedBarGraph bar = AnimatedBarGraph(3, 6) for i in range(1000): data = np.random.rand(3, 6) bar.update(data.tolist())
23
50
0.722826
29
184
4.586207
0.758621
0.030075
0
0
0
0
0
0
0
0
0
0.051948
0.163043
184
7
51
26.285714
0.811688
0
0
0
0
0
0
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
90f8c87f82ea6923d78b636dfc95fd369fab6dda
171
py
Python
settings/Oasis_DL_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
null
null
null
settings/Oasis_DL_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
1
2019-10-22T21:28:31.000Z
2019-10-22T21:39:12.000Z
settings/Oasis_DL_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
2
2019-06-06T15:06:46.000Z
2020-07-20T02:03:22.000Z
start set temperature = 4.0 period, s (how often to measure) = 5.0 circular buffer size = (2, 17280) broadcast_period, s (how often to measure) = 5.0 broadcast flag = True
34.2
48
0.725146
30
171
4.1
0.666667
0.113821
0.162602
0.243902
0.422764
0.422764
0.422764
0.422764
0
0
0
0.085106
0.175439
171
5
49
34.2
0.787234
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
90fbb18d2a9a0f66792d3703e539120f18545466
237
py
Python
utilities/main_generic.py
flashypepo/myMicropython-Examples
b2b63df865b5ad471b351ca5f279135025859f5d
[ "MIT" ]
3
2017-09-03T17:17:44.000Z
2017-12-10T12:26:46.000Z
utilities/main_generic.py
flashypepo/myMicropython-Examples
b2b63df865b5ad471b351ca5f279135025859f5d
[ "MIT" ]
null
null
null
utilities/main_generic.py
flashypepo/myMicropython-Examples
b2b63df865b5ad471b351ca5f279135025859f5d
[ "MIT" ]
2
2017-10-01T01:10:55.000Z
2018-07-15T19:49:29.000Z
# main - select which programma should startup # 2017-0904 generic main print('processing main...') import sys print(sys.implementation) # MP version import gc gc.collect() #cleanup print('free memory:', gc.mem_free())
21.545455
48
0.691983
31
237
5.258065
0.709677
0
0
0
0
0
0
0
0
0
0
0.041667
0.189873
237
10
49
23.7
0.807292
0.35865
0
0
0
0
0.220588
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
3
291e29bfe34b958f0f8bf34046538b79f9ccb4df
443
py
Python
mine/utils.py
tiagoCuervo/MINE
1389f5a820bb37499bc02af1bfac64205eea29a1
[ "MIT" ]
4
2020-07-05T06:06:44.000Z
2021-09-17T08:35:35.000Z
mine/utils.py
tiagoCuervo/MINE
1389f5a820bb37499bc02af1bfac64205eea29a1
[ "MIT" ]
1
2020-07-06T10:26:06.000Z
2020-12-22T09:28:52.000Z
mine/utils.py
tiagoCuervo/MINE
1389f5a820bb37499bc02af1bfac64205eea29a1
[ "MIT" ]
2
2020-07-05T13:32:19.000Z
2021-09-30T10:31:11.000Z
import torch from torch.utils.data import Dataset def logSumExp(x, axis=None): xMax = torch.max(x, axis)[0] y = torch.log((torch.exp(x - xMax)).sum(axis)) + xMax return y class RegressionDataset(Dataset): def __init__(self, xTensor, yTensor): self.x = xTensor self.y = yTensor de...
21.095238
57
0.632054
63
443
4.253968
0.444444
0.05597
0
0
0
0
0
0
0
0
0
0.002967
0.239278
443
20
58
22.15
0.792285
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
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
291edec700cc44f7c8f1aaedca80e791b07a977f
4,023
py
Python
commerce/commerce/settings.py
ruadh/CSCI-E-33a_Project2
d9a2c4a22a99bf5ca87d6489a86c13220bdc75d2
[ "MIT" ]
null
null
null
commerce/commerce/settings.py
ruadh/CSCI-E-33a_Project2
d9a2c4a22a99bf5ca87d6489a86c13220bdc75d2
[ "MIT" ]
null
null
null
commerce/commerce/settings.py
ruadh/CSCI-E-33a_Project2
d9a2c4a22a99bf5ca87d6489a86c13220bdc75d2
[ "MIT" ]
null
null
null
""" Django settings for commerce project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
27.554795
125
0.716132
476
4,023
5.936975
0.455882
0.069002
0.054494
0.061925
0.207006
0.183652
0.09448
0.09448
0.042463
0
0
0.014218
0.160825
4,023
146
126
27.554795
0.822867
0.415859
0
0
1
0
0.541613
0.456231
0
0
0
0
0
1
0
false
0.069444
0.013889
0
0.013889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
2925c5d139798744e1b242c6a3d8d2f1c3fc56ff
252
py
Python
icpc/2019-8-5/B-gen.py
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
icpc/2019-8-5/B-gen.py
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
icpc/2019-8-5/B-gen.py
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#!/usr/bin/pypy from sys import * from random import * T, n = map(int, argv[1:]) print T for i in xrange(T): print n print ' '.join(str(randrange(0, 2**30)) for j in xrange(n)) print ' '.join(str(randrange(0, 2**30)) for j in xrange(n))
19.384615
63
0.607143
48
252
3.1875
0.520833
0.156863
0.130719
0.169935
0.503268
0.503268
0.503268
0.503268
0.503268
0.503268
0
0.045226
0.210317
252
12
64
21
0.723618
0.055556
0
0.25
0
0
0.008439
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
29297366e0d583e8d18519b15a01d50280c23e11
2,569
py
Python
src/core/classes/position.py
javgomzar/chess
e40f784af4b8fb11e29c9c60b75ebd5800c7f643
[ "MIT" ]
null
null
null
src/core/classes/position.py
javgomzar/chess
e40f784af4b8fb11e29c9c60b75ebd5800c7f643
[ "MIT" ]
null
null
null
src/core/classes/position.py
javgomzar/chess
e40f784af4b8fb11e29c9c60b75ebd5800c7f643
[ "MIT" ]
null
null
null
from dataclasses import dataclass from string import ascii_lowercase from .error_classes.errors import PositionError, VectorError from src.utils import sign @dataclass class Vector: col : int row: int def __init__(self, col: int, row: int): if -7 <= min(col,row) and max(col,row) <= 7: ...
29.528736
160
0.590891
346
2,569
4.130058
0.219653
0.088174
0.062981
0.039188
0.376487
0.314206
0.314206
0.314206
0.258223
0.216235
0
0.009259
0.285325
2,569
86
161
29.872093
0.769063
0
0
0.30303
0
0.030303
0.143246
0.020241
0
0
0
0
0
1
0.257576
false
0
0.060606
0.181818
0.621212
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
292e706f24db7a2814d093fb984f02bc0bf543af
244
py
Python
com/alipay/ams/api/model/grant_type.py
simkemc/global-open-sdk-python
408d19f6b9673cade967e167a686e25406a6c7d4
[ "MIT" ]
3
2021-07-09T07:40:13.000Z
2022-03-16T09:13:27.000Z
com/alipay/ams/api/model/grant_type.py
simkemc/global-open-sdk-python
408d19f6b9673cade967e167a686e25406a6c7d4
[ "MIT" ]
null
null
null
com/alipay/ams/api/model/grant_type.py
simkemc/global-open-sdk-python
408d19f6b9673cade967e167a686e25406a6c7d4
[ "MIT" ]
3
2020-06-18T03:12:35.000Z
2022-01-25T08:55:23.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from enum import Enum, unique @unique class GrantType(Enum): AUTHORIZATION_CODE = "AUTHORIZATION_CODE" REFRESH_TOKEN = "REFRESH_TOKEN" def to_ams_dict(self): return self.name
18.769231
45
0.684426
32
244
5.03125
0.75
0.21118
0
0
0
0
0
0
0
0
0
0.005102
0.196721
244
12
46
20.333333
0.816327
0.172131
0
0
0
0
0.155
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.857143
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
2944ca5b7621721585bc8d821f8cc2f3080be590
328
py
Python
test_package/conanfile.py
bincrafters/conan-wayland-protocols
c114e97c7c5d11a9be47e1e524681296fce5f7d6
[ "MIT" ]
null
null
null
test_package/conanfile.py
bincrafters/conan-wayland-protocols
c114e97c7c5d11a9be47e1e524681296fce5f7d6
[ "MIT" ]
null
null
null
test_package/conanfile.py
bincrafters/conan-wayland-protocols
c114e97c7c5d11a9be47e1e524681296fce5f7d6
[ "MIT" ]
null
null
null
from conans import ConanFile import os class TestPackageConan(ConanFile): def test(self): self.run('wayland-scanner client-header --strict %s /dev/null' % os.path.join(self.deps_cpp_info['wayland-protocols'].rootpath, "share", "wayland-protocols", "stable", "viewporter", "viewporter.xml"), run_environmen...
36.444444
230
0.734756
42
328
5.666667
0.761905
0.134454
0
0
0
0
0
0
0
0
0
0
0.115854
328
8
231
41
0.82069
0
0
0
0
0
0.365854
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2949c00eca9eedf3dc0c04b645cf586593a0a6e7
1,106
py
Python
orator/orm/relations/wrapper.py
wjzero/orator
5c8ac93755a446f5509788e78b90373bf8b5825b
[ "MIT" ]
1,484
2015-05-24T19:34:02.000Z
2022-03-29T07:17:05.000Z
orator/orm/relations/wrapper.py
wjzero/orator
5c8ac93755a446f5509788e78b90373bf8b5825b
[ "MIT" ]
359
2015-05-25T14:59:20.000Z
2022-03-21T07:54:28.000Z
orator/orm/relations/wrapper.py
wjzero/orator
5c8ac93755a446f5509788e78b90373bf8b5825b
[ "MIT" ]
221
2015-06-10T12:38:38.000Z
2022-03-12T23:22:36.000Z
# -*- coding: utf-8 -*- from lazy_object_proxy import Proxy from functools import wraps def wrapped(func): @wraps(func) def _wrapper(*args, **kwargs): return Wrapper(func(*args, **kwargs)) return _wrapper class Wrapper(Proxy): """ Wrapper around a relation which provide dynamic pro...
20.867925
71
0.642857
121
1,106
5.528926
0.380165
0.125561
0.071749
0.068759
0
0
0
0
0
0
0
0.001209
0.25226
1,106
52
72
21.269231
0.807739
0.153707
0
0.08
0
0
0
0
0
0
0
0
0
1
0.32
false
0
0.08
0.16
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
294c52b68dfd197875c863880c97b841f50e4691
128
py
Python
version.py
p1ndsvin/uncertainty-wizard
92a7a9bcb411e512cf6ad54e7ba226a3c66d3583
[ "MIT" ]
33
2020-12-21T20:21:21.000Z
2022-03-25T17:51:36.000Z
version.py
p1ndsvin/uncertainty-wizard
92a7a9bcb411e512cf6ad54e7ba226a3c66d3583
[ "MIT" ]
83
2020-12-18T18:18:28.000Z
2022-03-28T21:17:29.000Z
version.py
p1ndsvin/uncertainty-wizard
92a7a9bcb411e512cf6ad54e7ba226a3c66d3583
[ "MIT" ]
5
2021-02-13T13:27:48.000Z
2021-12-25T16:45:19.000Z
VERSION = "0.1.3" # RELEASE = VERSION + "-alpha2" # RELEASE = VERSION + "-beta1" # RELEASE = VERSION + "-rc1" RELEASE = VERSION
21.333333
31
0.625
15
128
5.333333
0.533333
0.7
0
0
0
0
0
0
0
0
0
0.057692
0.1875
128
5
32
25.6
0.711538
0.664063
0
0
0
0
0.128205
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
294c70f22e2182409de1cd5514d2f856011cb66f
2,902
py
Python
ARCHIVE/github-submodules-generate-readme.py
nodiscc/toolbox
84c0a917369fc2d0efd471c8606725ac407c2c9f
[ "Unlicense", "MIT" ]
10
2017-05-27T16:59:00.000Z
2022-03-28T02:30:55.000Z
ARCHIVE/github-submodules-generate-readme.py
nodiscc/toolbox
84c0a917369fc2d0efd471c8606725ac407c2c9f
[ "Unlicense", "MIT" ]
null
null
null
ARCHIVE/github-submodules-generate-readme.py
nodiscc/toolbox
84c0a917369fc2d0efd471c8606725ac407c2c9f
[ "Unlicense", "MIT" ]
2
2018-03-03T18:40:25.000Z
2018-03-05T06:09:47.000Z
#!/usr/bin/env python """ #Description: Generate README.md file with links to each submodule URL. #For Github repositories, append the repository description to the link. """ import os import requests import subprocess import json import time readme_contents = "" #TODO: login or hit the API limit #TODO: merge with m...
44.646154
251
0.641282
393
2,902
4.692112
0.389313
0.022777
0.039046
0.013015
0.158351
0.158351
0.106291
0.106291
0.106291
0.106291
0
0.004029
0.230186
2,902
65
252
44.646154
0.821397
0.268436
0
0.152174
1
0.043478
0.247444
0
0
0
0
0.015385
0
0
null
null
0.021739
0.108696
null
null
0.26087
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
294ff8da2f1527a2ccc9c7bf7875d8d61f8c58cf
703
py
Python
third_party/webrtc/src/chromium/src/tools/perf/benchmarks/scheduler.py
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
20
2015-08-26T06:46:00.000Z
2019-02-27T09:05:58.000Z
third_party/webrtc/src/chromium/src/tools/perf/benchmarks/scheduler.py
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
1
2021-05-05T11:11:31.000Z
2021-05-05T11:11:31.000Z
third_party/webrtc/src/chromium/src/tools/perf/benchmarks/scheduler.py
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
# Copyright 2014 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. from core import perf_benchmark from measurements import smoothness import page_sets class SchedulerToughSchedulingCases(perf_benchmark.PerfBenchmark): ...
30.565217
73
0.802276
87
703
6.390805
0.816092
0.046763
0
0
0
0
0
0
0
0
0
0.024752
0.13798
703
22
74
31.954545
0.892739
0.520626
0
0
0
0
0.099379
0.099379
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
29738dfdf04fa03c39e4b86381770fc744e932fa
11,829
py
Python
tests/migrations/test_graph.py
dwightgunning/django
9e399e15fbf03507fa54e4bb20ed6f1b0d817b83
[ "PSF-2.0", "BSD-3-Clause" ]
2
2019-08-25T07:54:26.000Z
2020-08-27T09:29:05.000Z
tests/migrations/test_graph.py
dwightgunning/django
9e399e15fbf03507fa54e4bb20ed6f1b0d817b83
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/migrations/test_graph.py
dwightgunning/django
9e399e15fbf03507fa54e4bb20ed6f1b0d817b83
[ "PSF-2.0", "BSD-3-Clause" ]
1
2019-02-20T07:44:22.000Z
2019-02-20T07:44:22.000Z
import warnings from django.db.migrations.exceptions import ( CircularDependencyError, NodeNotFoundError, ) from django.db.migrations.graph import RECURSION_DEPTH_WARNING, MigrationGraph from django.test import SimpleTestCase from django.utils.encoding import force_text class GraphTests(SimpleTestCase): """ ...
39.828283
108
0.536647
1,414
11,829
4.245403
0.079915
0.071964
0.07996
0.082459
0.82742
0.784774
0.701316
0.637848
0.586873
0.577378
0
0.106027
0.277623
11,829
296
109
39.962838
0.596489
0.08606
0
0.592417
0
0
0.196103
0.002281
0
0
0
0
0.146919
1
0.052133
false
0
0.023697
0
0.080569
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
297608af54791a1c7da86d5e1063e21735c33fc3
310
py
Python
day6/d6p4.py
Akankshasharmaa/100DaysOfCode
395bd8bd063495af7d04ec7b2f819923f502059f
[ "MIT" ]
2
2021-12-22T07:43:14.000Z
2021-12-24T12:07:33.000Z
day6/d6p4.py
Akankshasharmaa/100DaysOfCode
395bd8bd063495af7d04ec7b2f819923f502059f
[ "MIT" ]
null
null
null
day6/d6p4.py
Akankshasharmaa/100DaysOfCode
395bd8bd063495af7d04ec7b2f819923f502059f
[ "MIT" ]
1
2021-12-22T07:43:26.000Z
2021-12-22T07:43:26.000Z
def common_end(arr1, arr2): if arr1[0] == arr2[0] or arr1[len(arr1)-1] == arr2[len(arr2)-1]: return True else: return False result = common_end([1, 2, 3], [7, 3]) print(result) result = common_end([1, 2, 3], [7, 3, 2]) print(result) result = common_end([1, 2, 3], [1, 3]) print(result)
25.833333
68
0.583871
55
310
3.218182
0.345455
0.20339
0.254237
0.271186
0.451977
0.451977
0.451977
0.451977
0
0
0
0.114286
0.209677
310
12
69
25.833333
0.608163
0
0
0.272727
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0.272727
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
2983d474b121b14d8ae50613485c9194a3614b7c
703
py
Python
forum/forms.py
LinuxOSsk/Shakal-NG
c4091c7972cffd86f64aa9f9a058d2907a56e5eb
[ "MIT" ]
10
2016-02-06T15:40:30.000Z
2018-09-27T15:15:13.000Z
forum/forms.py
LinuxOSsk/Shakal-NG
c4091c7972cffd86f64aa9f9a058d2907a56e5eb
[ "MIT" ]
94
2016-02-04T18:39:36.000Z
2022-01-20T05:25:00.000Z
forum/forms.py
LinuxOSsk/Shakal-NG
c4091c7972cffd86f64aa9f9a058d2907a56e5eb
[ "MIT" ]
8
2016-05-10T20:29:53.000Z
2021-02-07T00:50:31.000Z
# -*- coding: utf-8 -*- from django import forms from django.conf import settings from .models import Topic from antispam.forms import AntispamFormMixin from attachment.forms import AttachmentFormMixin from common_utils.forms import AuthorsNameFormMixin from common_utils.widgets import DescriptionRadioSelect COMMENT...
27.038462
95
0.788051
79
703
6.886076
0.544304
0.060662
0.055147
0
0
0
0
0
0
0
0
0.008117
0.123755
703
25
96
28.12
0.875
0.029872
0
0
0
0
0.091176
0
0
0
0
0
0
1
0.117647
false
0
0.411765
0.117647
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
0
0
0
1
1
1
0
0
3
46211d2d2b285a72fae6f0d8ae585d2b0068f2a1
193
py
Python
stoqcompiler/hamiltonian/__init__.py
rmshaffer/stoq-compiler
798fb83ef20dff7bdf1cd704e36ba49242703829
[ "MIT" ]
2
2021-01-15T14:12:49.000Z
2021-03-04T03:47:40.000Z
stoqcompiler/hamiltonian/__init__.py
rmshaffer/stoq-compiler
798fb83ef20dff7bdf1cd704e36ba49242703829
[ "MIT" ]
null
null
null
stoqcompiler/hamiltonian/__init__.py
rmshaffer/stoq-compiler
798fb83ef20dff7bdf1cd704e36ba49242703829
[ "MIT" ]
null
null
null
''' Provides classes for defining Hamiltonians. ''' from .hamiltonian import Hamiltonian from .hamiltonian_term import HamiltonianTerm __all__ = [ "Hamiltonian", "HamiltonianTerm", ]
16.083333
45
0.746114
17
193
8.176471
0.647059
0.215827
0
0
0
0
0
0
0
0
0
0
0.160622
193
11
46
17.545455
0.858025
0.222798
0
0
0
0
0.183099
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
462397e5ed3f4e0b82c269b1e643cf916239ca86
6,272
py
Python
assignment1/rpg_queries_abw.py
ekselan/DS-Unit-3-Sprint-2-SQL-and-Databases
cde39e22d82362f4ebb771677ab838946c89bb52
[ "MIT" ]
null
null
null
assignment1/rpg_queries_abw.py
ekselan/DS-Unit-3-Sprint-2-SQL-and-Databases
cde39e22d82362f4ebb771677ab838946c89bb52
[ "MIT" ]
null
null
null
assignment1/rpg_queries_abw.py
ekselan/DS-Unit-3-Sprint-2-SQL-and-Databases
cde39e22d82362f4ebb771677ab838946c89bb52
[ "MIT" ]
null
null
null
import sqlite3 import os DATABASE_FILEPATH = os.path.join( os.path.dirname(__file__), "..", "data", "rpg_db.sqlite3") connection = sqlite3.connect(DATABASE_FILEPATH) connection.row_factory = sqlite3.Row cursor = connection.cursor() # ***** CHARACTERS ***** print('-----BEGIN-----') query1 = "SELECT co...
58.074074
576
0.787628
780
6,272
6.097436
0.133333
0.268082
0.12868
0.136249
0.71005
0.70164
0.628469
0.608705
0.594828
0.576745
0
0.017102
0.114318
6,272
107
577
58.616822
0.839064
0.006378
0
0.215909
0
0.113636
0.701236
0.370846
0
0
0
0
0
1
0
false
0
0.022727
0
0.022727
0.352273
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
46314e83403f610f97629745ef3770c767e3a8b7
1,830
py
Python
pmca/usb/usbshell/parser.py
kratz00/Sony-PMCA-RE
d646defa2b4755b4006e3def648272b0e22569cd
[ "MIT" ]
1,313
2015-05-13T22:31:44.000Z
2022-03-31T07:34:01.000Z
pmca/usb/usbshell/parser.py
kratz00/Sony-PMCA-RE
d646defa2b4755b4006e3def648272b0e22569cd
[ "MIT" ]
289
2015-05-30T17:31:49.000Z
2022-03-31T09:33:48.000Z
pmca/usb/usbshell/parser.py
kratz00/Sony-PMCA-RE
d646defa2b4755b4006e3def648272b0e22569cd
[ "MIT" ]
176
2015-07-08T06:30:28.000Z
2022-03-27T20:15:22.000Z
import re class ArgParser: def __init__(self, str): self.str = str self._consumeWhitespace() def _match(self, r): return re.match(r, self.str) def _consume(self, r): m = self._match(r) if m: self.str = self.str[len(m.group(0)):] return m def _consumeWhitespace(self): m = self._consume('\s+') ...
24.72973
101
0.651366
241
1,830
4.829876
0.261411
0.04811
0.024055
0.024055
0.143471
0
0
0
0
0
0
0.005941
0.172131
1,830
73
102
25.068493
0.762376
0
0
0.12069
0
0
0.069399
0.013115
0
0
0
0
0
1
0.258621
false
0
0.017241
0.12069
0.534483
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
463520d6ccf0a1ae7f95841fc086eebb575afe76
210
py
Python
code/04_exception/01_exception_types.py
archeranimesh/intermediate_python
fd209145dd8e22f85ace0b3ccb393d3e358055c6
[ "MIT" ]
null
null
null
code/04_exception/01_exception_types.py
archeranimesh/intermediate_python
fd209145dd8e22f85ace0b3ccb393d3e358055c6
[ "MIT" ]
null
null
null
code/04_exception/01_exception_types.py
archeranimesh/intermediate_python
fd209145dd8e22f85ace0b3ccb393d3e358055c6
[ "MIT" ]
null
null
null
# Unhandled exceptions are error in code. # We should handle these. # BaseException is the base class, we should never catch this exception. # Exception is the sub class of BaseException which we should catch.
42
72
0.785714
32
210
5.15625
0.6875
0.145455
0
0
0
0
0
0
0
0
0
0
0.171429
210
4
73
52.5
0.948276
0.957143
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
46457780d3e036f23c6bbec5e67c913c4a3d96ef
287
py
Python
mitoc_const/membership.py
DavidCain/mitoc-constants
0848221872e9bda6bec141aa687de5ff6adaecad
[ "MIT" ]
null
null
null
mitoc_const/membership.py
DavidCain/mitoc-constants
0848221872e9bda6bec141aa687de5ff6adaecad
[ "MIT" ]
9
2020-02-26T05:07:28.000Z
2020-06-06T04:50:43.000Z
mitoc_const/membership.py
DavidCain/mitoc-constants
0848221872e9bda6bec141aa687de5ff6adaecad
[ "MIT" ]
1
2019-01-15T14:17:12.000Z
2019-01-15T14:17:12.000Z
""" Constants pertaining to MITOC membership. """ # Memberships are valid for a full calendar year. # We let members renew shortly before their membership is due to expire # This defines the maximum number of days that renewals may be processed RENEWAL_ALLOWED_WITH_DAYS_LEFT: int = 40
41
72
0.790941
44
287
5.068182
0.931818
0
0
0
0
0
0
0
0
0
0
0.008333
0.163763
287
6
73
47.833333
0.920833
0.808362
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
464ef1e1f1f09a9032f1b5da02b926c66cd144c0
196
py
Python
Grokking Algorithms/max-dc.py
danielfsousa/algorithms-solutions
038c0c0bf6d89ffb1ecea596e7d4bb9bd4154ff1
[ "MIT" ]
1
2020-03-17T23:54:32.000Z
2020-03-17T23:54:32.000Z
Grokking Algorithms/max-dc.py
danielfsousa/algorithms-solutions
038c0c0bf6d89ffb1ecea596e7d4bb9bd4154ff1
[ "MIT" ]
null
null
null
Grokking Algorithms/max-dc.py
danielfsousa/algorithms-solutions
038c0c0bf6d89ffb1ecea596e7d4bb9bd4154ff1
[ "MIT" ]
null
null
null
def max(arr): if len(arr) == 2: return arr[0] if arr[0] > arr[1] else arr[1] sub_max = max(arr[1:]) return arr[0] if list[0] > sub_max else sub_max print([1, 2, 3, 4, 5, 6])
21.777778
52
0.540816
41
196
2.512195
0.414634
0.116505
0.194175
0.23301
0
0
0
0
0
0
0
0.097902
0.270408
196
8
53
24.5
0.622378
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0.166667
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
46568cf8535c6b6b1c28730c33d8acfdb70dd9c1
628
py
Python
app/my_test.py
xuqinghan/IS18
b8699eaf0255c3560e74e376cb65c6bd9ca00b36
[ "BSD-3-Clause" ]
null
null
null
app/my_test.py
xuqinghan/IS18
b8699eaf0255c3560e74e376cb65c6bd9ca00b36
[ "BSD-3-Clause" ]
null
null
null
app/my_test.py
xuqinghan/IS18
b8699eaf0255c3560e74e376cb65c6bd9ca00b36
[ "BSD-3-Clause" ]
null
null
null
# Standard modules used through the notebook import numpy as np #import matplotlib.pyplot as plt # Tools specific for this tutorial # They are in the .py files accompaining this notebook import vistools # display tools import utils # IO tools import srtm4 # SRTM tools import rectification # rect...
33.052632
66
0.761146
80
628
5.95
0.625
0.115546
0
0
0
0
0
0
0
0
0
0.009901
0.19586
628
19
67
33.052632
0.932673
0.66242
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.125
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
4667519904db6b884a8e9a773b8bc2b496a3c6f7
41
py
Python
one.py
Vedhharale/Mail_Automatin
1af7f6484f95244171a99afef60f20d5dfc2cafc
[ "MIT" ]
null
null
null
one.py
Vedhharale/Mail_Automatin
1af7f6484f95244171a99afef60f20d5dfc2cafc
[ "MIT" ]
null
null
null
one.py
Vedhharale/Mail_Automatin
1af7f6484f95244171a99afef60f20d5dfc2cafc
[ "MIT" ]
null
null
null
a="vrdh" b="madhu" c="dhari" print(a+b+c)
10.25
12
0.609756
10
41
2.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0.073171
41
4
12
10.25
0.657895
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
466cfeed5198e82cb8d4ae63c36c953c98113cc6
11,188
py
Python
week-7/prove/test_chemistry_1.py
andredosreis/BYU-Programming-with-fuctions
bfdeb410bc7f0f4ccff16db3667df578c23139ce
[ "MIT" ]
1
2021-11-17T11:26:54.000Z
2021-11-17T11:26:54.000Z
week-7/prove/test_chemistry_1.py
andredosreis/BYU-Programming-with-fuctions
bfdeb410bc7f0f4ccff16db3667df578c23139ce
[ "MIT" ]
null
null
null
week-7/prove/test_chemistry_1.py
andredosreis/BYU-Programming-with-fuctions
bfdeb410bc7f0f4ccff16db3667df578c23139ce
[ "MIT" ]
null
null
null
# test_chemistry_1.py # Copyright 2020, Brigham Young University - Idaho. All rights reserved. from chemistry import make_periodic_table from pytest import approx import pytest # These are the indexes of the # elements in the periodic table. SYMBOL_INDEX = 0 NAME_INDEX = 1 ATOMIC_MASS_INDEX = 2 def test_make_perio...
38.712803
89
0.634787
1,622
11,188
4.128853
0.311344
0.254293
0.307152
0.440496
0.579812
0.567717
0.563237
0.563237
0.051964
0
0
0.081976
0.187701
11,188
288
90
38.847222
0.65493
0.054076
0
0.451737
0
0
0.12943
0
0
0
0
0
0.011583
1
0.007722
false
0
0.011583
0
0.019305
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
467722de734575572a2eb90871271f3ec93ace0c
190
py
Python
pyworkshop/2_intermediate_python/chapter4/exercise_part4_custom_exceptions.py
profread/python
0ac98fa29ed9854959b03ef6237c2ed5f5825428
[ "MIT" ]
389
2019-02-18T05:29:30.000Z
2022-02-09T11:40:55.000Z
pyworkshop/2_intermediate_python/chapter4/exercise_part4_custom_exceptions.py
profread/python
0ac98fa29ed9854959b03ef6237c2ed5f5825428
[ "MIT" ]
45
2019-04-16T17:29:23.000Z
2020-10-13T01:20:40.000Z
pyworkshop/2_intermediate_python/chapter4/exercise_part4_custom_exceptions.py
profread/python
0ac98fa29ed9854959b03ef6237c2ed5f5825428
[ "MIT" ]
257
2019-03-19T14:42:31.000Z
2022-03-19T07:28:35.000Z
class MyException(Exception): def __init__(self, message): new_message = f"!!!ERROR!!! {message}" super().__init__(new_message) raise MyException("Something went wrong!")
31.666667
45
0.678947
21
190
5.666667
0.714286
0.168067
0
0
0
0
0
0
0
0
0
0
0.173684
190
6
46
31.666667
0.757962
0
0
0
0
0
0.219895
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
467b778a2da05bd7a076ee59f56671ff48a5cda3
135
py
Python
src/mailup/__init__.py
nephila/pymailup
cfa8f316ba10857f3f3064606b976304e421cfe9
[ "BSD-2-Clause" ]
3
2016-04-17T08:00:25.000Z
2018-03-09T16:33:56.000Z
src/mailup/__init__.py
nephila/pymailup
cfa8f316ba10857f3f3064606b976304e421cfe9
[ "BSD-2-Clause" ]
1
2018-03-09T10:42:50.000Z
2018-03-09T10:42:50.000Z
src/mailup/__init__.py
nephila/pymailup
cfa8f316ba10857f3f3064606b976304e421cfe9
[ "BSD-2-Clause" ]
3
2018-03-09T10:44:52.000Z
2021-07-08T07:15:19.000Z
# module import import clients import components import logger import exceptions import providers import utils __version__ = "0.3.0"
12.272727
21
0.807407
18
135
5.833333
0.611111
0
0
0
0
0
0
0
0
0
0
0.026087
0.148148
135
10
22
13.5
0.886957
0.096296
0
0
0
0
0.042017
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
469c4b26e1fc82c3c75d828fe5614375f0049508
437
py
Python
dashboard/internet_nl_dashboard/signals.py
bslavin/Internet.nl-dashboard
5fd6d8fe8edb5f181727ddd1729697d9fc586c29
[ "Apache-2.0" ]
null
null
null
dashboard/internet_nl_dashboard/signals.py
bslavin/Internet.nl-dashboard
5fd6d8fe8edb5f181727ddd1729697d9fc586c29
[ "Apache-2.0" ]
null
null
null
dashboard/internet_nl_dashboard/signals.py
bslavin/Internet.nl-dashboard
5fd6d8fe8edb5f181727ddd1729697d9fc586c29
[ "Apache-2.0" ]
null
null
null
from actstream import action from django.contrib.auth.signals import user_logged_in, user_logged_out from django.dispatch import receiver @receiver(user_logged_in) def stream_login(sender, **kwargs): # sender = user action.send(kwargs['user'], verb='logged in', public=False) @receiver(user_logged_out) def s...
27.3125
71
0.748284
61
437
5.196721
0.393443
0.126183
0.07571
0.138801
0.328076
0.328076
0.328076
0.328076
0.328076
0.328076
0
0
0.130435
437
15
72
29.133333
0.834211
0.061785
0
0
0
0
0.066339
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
46a257279da5c62a22e5092a7a3509f97697d97c
50,686
py
Python
picbackend/views/cps/consumer_views/tools/create_update_delete.py
bbcawodu/careadvisors-backend
5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838
[ "MIT" ]
null
null
null
picbackend/views/cps/consumer_views/tools/create_update_delete.py
bbcawodu/careadvisors-backend
5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838
[ "MIT" ]
null
null
null
picbackend/views/cps/consumer_views/tools/create_update_delete.py
bbcawodu/careadvisors-backend
5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838
[ "MIT" ]
null
null
null
""" Defines utility functions and classes for consumer views """ import datetime import json from picbackend.views.utils import clean_string_value_from_dict_object from picbackend.views.utils import clean_int_value_from_dict_object from picbackend.views.utils import clean_float_value_from_dict_object from picbackend.v...
60.125741
259
0.574892
5,299
50,686
4.985658
0.042083
0.051478
0.054128
0.07911
0.829441
0.77713
0.703471
0.6649
0.607479
0.53787
0
0.003613
0.371976
50,686
842
260
60.19715
0.826338
0.016099
0
0.535151
0
0.005739
0.134388
0.02215
0
0
0
0
0
1
0.014347
false
0
0.018651
0
0.047346
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
46ac1bd61cb400f9eeddff1fe7d4f53bc50d71c9
1,769
py
Python
project/myuser/models.py
kanshao/bbmd_web_ehp
7612bf86003917bbaa9670d09f4745273f4c0c9b
[ "Apache-2.0" ]
null
null
null
project/myuser/models.py
kanshao/bbmd_web_ehp
7612bf86003917bbaa9670d09f4745273f4c0c9b
[ "Apache-2.0" ]
null
null
null
project/myuser/models.py
kanshao/bbmd_web_ehp
7612bf86003917bbaa9670d09f4745273f4c0c9b
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth import models as authModels from django.contrib.auth.models import PermissionsMixin from django.utils import timezone class UserManager(authModels.BaseUserManager): use_in_migrations = True def create_user(self, email, password=None, **extra): re...
30.5
77
0.684002
216
1,769
5.37963
0.305556
0.046472
0.04389
0.049053
0.258176
0.185886
0.065404
0
0
0
0
0
0.222725
1,769
57
78
31.035088
0.845091
0
0
0.069767
0
0
0.010175
0
0
0
0
0
0
1
0.186047
false
0.139535
0.093023
0.162791
0.72093
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
d3b8328b7960ec0677654e50c63b5f2b5e723a9f
5,871
py
Python
test/test_melgan.py
reuben/ParallelWaveGAN
a22018e6e6be1f9381b003496cc285bdd5a4a284
[ "MIT" ]
null
null
null
test/test_melgan.py
reuben/ParallelWaveGAN
a22018e6e6be1f9381b003496cc285bdd5a4a284
[ "MIT" ]
null
null
null
test/test_melgan.py
reuben/ParallelWaveGAN
a22018e6e6be1f9381b003496cc285bdd5a4a284
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2019 Tomoki Hayashi # MIT License (https://opensource.org/licenses/MIT) import logging import numpy as np import pytest import torch import torch.nn.functional as F from parallel_wavegan.losses import MultiResolutionSTFTLoss from parallel_wavegan.models im...
36.924528
99
0.630557
784
5,871
4.389031
0.177296
0.027899
0.005231
0.015693
0.75356
0.726533
0.706771
0.685266
0.685266
0.685266
0
0.023181
0.206438
5,871
158
100
37.158228
0.71539
0.042242
0
0.69697
0
0.007576
0.122216
0.024051
0
0
0
0
0
1
0.022727
false
0
0.098485
0
0.128788
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
d3c51b680befefa71a327b7f67829376150e17de
97
py
Python
api/hyperledger/apps.py
kushalshit27/django-rest-api
4969dd25e6ecf64c6a431279ce812284b1b764dc
[ "MIT" ]
null
null
null
api/hyperledger/apps.py
kushalshit27/django-rest-api
4969dd25e6ecf64c6a431279ce812284b1b764dc
[ "MIT" ]
null
null
null
api/hyperledger/apps.py
kushalshit27/django-rest-api
4969dd25e6ecf64c6a431279ce812284b1b764dc
[ "MIT" ]
null
null
null
from django.apps import AppConfig class HyperledgerConfig(AppConfig): name = 'hyperledger'
16.166667
35
0.773196
10
97
7.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
5
36
19.4
0.914634
0
0
0
0
0
0.113402
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d3e82d6f71165d3e5b424fe15341f8091393e7d0
99
py
Python
chapter6/exercises/EG6-14 Code Analysis 3.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
chapter6/exercises/EG6-14 Code Analysis 3.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
chapter6/exercises/EG6-14 Code Analysis 3.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
# EG6-14 Code Analysis 3 for count in range(1,13): count=13 print(count) print('Finished')
16.5
25
0.666667
17
99
3.882353
0.764706
0
0
0
0
0
0
0
0
0
0
0.113924
0.20202
99
5
26
19.8
0.721519
0.222222
0
0
0
0
0.106667
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
d3f0c111bafe3e8cf2e4e33bb7d845b6838f14af
105
py
Python
circle_core/core/base.py
glucoseinc/CircleCore
577f814ce2944efb6e5997f3d7838c71ce9aea6a
[ "MIT" ]
3
2019-01-11T04:30:18.000Z
2019-01-11T04:31:18.000Z
circle_core/core/base.py
glucoseinc/CircleCore
577f814ce2944efb6e5997f3d7838c71ce9aea6a
[ "MIT" ]
16
2018-11-21T11:47:18.000Z
2021-09-01T03:52:35.000Z
circle_core/core/base.py
glucoseinc/CircleCore
577f814ce2944efb6e5997f3d7838c71ce9aea6a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """CircleCore Core Base.""" import logging logger = logging.getLogger(__name__)
17.5
36
0.67619
12
105
5.583333
0.916667
0
0
0
0
0
0
0
0
0
0
0.010989
0.133333
105
5
37
21
0.725275
0.419048
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
312c0b47bb4d43089ac71cfdacbfc5776c40fcf3
141
py
Python
app/config.py
duncanmfield/finance-tool
6c145c8f966cafe435d8676fdd7f22900d6825f6
[ "MIT" ]
1
2020-07-26T08:09:48.000Z
2020-07-26T08:09:48.000Z
app/config.py
duncanmfield/finance-tool
6c145c8f966cafe435d8676fdd7f22900d6825f6
[ "MIT" ]
22
2020-06-07T17:31:02.000Z
2021-06-10T20:19:12.000Z
app/config.py
duncanmfield/finance-tool
6c145c8f966cafe435d8676fdd7f22900d6825f6
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CustomAppConfig(AppConfig): name = 'app' def ready(self): print('Ready...')
17.625
34
0.617021
15
141
5.8
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.262411
141
8
35
17.625
0.836538
0
0
0
0
0
0.081481
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3143a186482548cfb9f892d1347a4c939226a35e
7,372
py
Python
setup.py
krisleonard-mcafee/opendxl-console
a86810534e8088658cee23955e484031683b2e97
[ "Apache-2.0" ]
1
2020-03-03T18:27:01.000Z
2020-03-03T18:27:01.000Z
setup.py
krisleonard-mcafee/opendxl-console
a86810534e8088658cee23955e484031683b2e97
[ "Apache-2.0" ]
null
null
null
setup.py
krisleonard-mcafee/opendxl-console
a86810534e8088658cee23955e484031683b2e97
[ "Apache-2.0" ]
null
null
null
# pylint: disable=no-member, no-name-in-module, import-error from __future__ import absolute_import import glob import os import distutils.command.sdist import distutils.log import subprocess from setuptools import Command, setup import setuptools.command.sdist # Patch setuptools' sdist behaviour with distutils' sdis...
37.612245
74
0.66115
766
7,372
6.308094
0.261097
0.166805
0.280836
0.28394
0.480339
0.45178
0.143833
0.032699
0.032699
0.032699
0
0.005107
0.203201
7,372
195
75
37.805128
0.817501
0.053852
0
0.098039
0
0.006536
0.598124
0.468398
0
0
0
0
0
1
0.039216
false
0.026144
0.052288
0
0.130719
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3148db25a0395fc0f0e2bef717b025bb0a676d5b
510
py
Python
cleo/loaders/command_loader.py
Ivoz/cleo
8dc694ed5ed350403966f93d330654ecb447801b
[ "MIT" ]
859
2015-02-04T02:33:22.000Z
2022-03-31T10:41:06.000Z
cleo/loaders/command_loader.py
Ivoz/cleo
8dc694ed5ed350403966f93d330654ecb447801b
[ "MIT" ]
66
2015-01-04T19:43:48.000Z
2022-03-30T02:33:13.000Z
cleo/loaders/command_loader.py
Ivoz/cleo
8dc694ed5ed350403966f93d330654ecb447801b
[ "MIT" ]
64
2015-01-18T08:32:43.000Z
2022-03-02T10:43:58.000Z
from typing import List from cleo.commands.command import Command class CommandLoader: @property def names(self) -> List[str]: """ All registered command names. """ raise NotImplementedError() def get(self, name: str) -> Command: """ Loads a command. ...
20.4
47
0.564706
50
510
5.76
0.58
0.25
0.1875
0
0
0
0
0
0
0
0
0
0.333333
510
24
48
21.25
0.847059
0.168627
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.2
0
0.6
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
1
0
0
0
0
0
0
0
3
3165eb36414b353a50db2472db3018db30c176b6
277
py
Python
python2.7/site-packages/twisted/protocols/irc.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
4
2020-10-31T19:52:05.000Z
2021-09-22T11:39:27.000Z
python2.7/site-packages/twisted/protocols/irc.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
null
null
null
python2.7/site-packages/twisted/protocols/irc.py
84KaliPleXon3/sslstrip-hsts-openwrt
f875ded48078a3ed84bffef1e69dcbeaf2e77ae3
[ "MIT" ]
2
2020-02-27T08:28:35.000Z
2020-09-13T12:39:26.000Z
from twisted.python import util util.moduleMovedForSplit('twisted.protocols.irc', 'twisted.words.protocols.irc', 'IRC protocol support', 'Words', 'http://twistedmatrix.com/projects/words', globals())
34.625
80
0.563177
24
277
6.5
0.666667
0.153846
0
0
0
0
0
0
0
0
0
0
0.3213
277
7
81
39.571429
0.829787
0
0
0
0
0
0.405797
0.173913
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3182a8b8b2a60e6a87302a894d01eecf846544ae
1,230
py
Python
django_migration_linter/operations.py
Tesorio/django-migration-linter
832c1e2dd9b116592a7e291e4288f24621d11528
[ "Apache-2.0" ]
null
null
null
django_migration_linter/operations.py
Tesorio/django-migration-linter
832c1e2dd9b116592a7e291e4288f24621d11528
[ "Apache-2.0" ]
3
2019-07-02T14:41:55.000Z
2019-07-02T14:42:32.000Z
django_migration_linter/operations.py
TwistoPayments/django-migration-linter
32383434b3caeb31c93196764a39dc27043e4509
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 3YOURMIND GmbH # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, soft...
32.368421
81
0.742276
175
1,230
5.137143
0.611429
0.066741
0.040044
0.035595
0.104561
0.104561
0.104561
0.104561
0.104561
0.104561
0
0.009091
0.195122
1,230
37
82
33.243243
0.89899
0.558537
0
0.25
0
0
0.105058
0
0
0
0
0
0
1
0.333333
false
0.25
0.083333
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
318591ace1397820e5b07ce64c44598ca7d0f1e3
278
py
Python
url/com_linuxidc.py
dingjingmaster/blog_spider
7a0885bf886166eac0caca4471ee9f6424be2225
[ "MIT" ]
null
null
null
url/com_linuxidc.py
dingjingmaster/blog_spider
7a0885bf886166eac0caca4471ee9f6424be2225
[ "MIT" ]
null
null
null
url/com_linuxidc.py
dingjingmaster/blog_spider
7a0885bf886166eac0caca4471ee9f6424be2225
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 blog_linuxidc = [ ('https://www.linuxidc.com/it/indexp', 2, 991, '.htm'), # 新闻 ('https://www.linuxidc.com/Linuxit/indexp', 2, 826, '.htm'), # 教程 ('https://www.linuxidc.com/MySql/indexp', 2, 493, '.htm') # 数据库 ]
30.888889
73
0.557554
39
278
3.948718
0.615385
0.155844
0.311688
0.37013
0
0
0
0
0
0
0
0.058559
0.201439
278
8
74
34.75
0.635135
0.154676
0
0
0
0
0.530435
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
31974412e271f6b2b0b702ce79146489cf5acdfc
428
py
Python
tests/basic.py
Dinaamagdy/jumpscale_core
dec5d42e368ab2b5b2e40837b71d27a59cb501ab
[ "Apache-2.0" ]
null
null
null
tests/basic.py
Dinaamagdy/jumpscale_core
dec5d42e368ab2b5b2e40837b71d27a59cb501ab
[ "Apache-2.0" ]
162
2018-07-31T14:40:33.000Z
2019-04-03T06:31:20.000Z
tests/basic.py
Dinaamagdy/jumpscale_core
dec5d42e368ab2b5b2e40837b71d27a59cb501ab
[ "Apache-2.0" ]
2
2018-07-31T12:42:02.000Z
2018-11-21T09:40:22.000Z
#!/usr/bin/python3 import os import time import subprocess from jumpscale import j STANDARD_CONFIG_DIR = '/opt/code/local/stdorg/config' j.sal.fs.createDir(STANDARD_CONFIG_DIR) path = STANDARD_CONFIG_DIR if not j.sal.fs.exists("%s/.git" % STANDARD_CONFIG_DIR): j.tools.prefab.local.core.run("cd %s && git init ." %...
28.533333
84
0.742991
74
428
4.135135
0.527027
0.228758
0.277778
0.117647
0.267974
0.267974
0.267974
0.267974
0.267974
0
0
0.002625
0.109813
428
14
85
30.571429
0.800525
0.03972
0
0
0
0
0.241463
0.070732
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
31b3f0502ca38ac547742baa73e83c430643aa0e
4,634
py
Python
telegram_ecommerce/templates/buttons.py
dbeis/telegram_ecommerce
eda4b6e88d63935773590f8adb3d21a3953c090b
[ "MIT" ]
null
null
null
telegram_ecommerce/templates/buttons.py
dbeis/telegram_ecommerce
eda4b6e88d63935773590f8adb3d21a3953c090b
[ "MIT" ]
null
null
null
telegram_ecommerce/templates/buttons.py
dbeis/telegram_ecommerce
eda4b6e88d63935773590f8adb3d21a3953c090b
[ "MIT" ]
null
null
null
from telegram import ( KeyboardButton as Button, ReplyKeyboardMarkup, InlineKeyboardButton as InlineButton, InlineKeyboardMarkup) from ..utils.consts import BAD_RATING, REGULAR_RATING, GOOD_RATING from ..language import get_text from ..database.query import ( get_name_of_all_locations) def boolea...
34.842105
80
0.622141
428
4,634
6.357477
0.17757
0.206174
0.181551
0.277104
0.687982
0.492466
0.374862
0.350606
0.350606
0.289599
0
0.00749
0.279672
4,634
132
81
35.106061
0.807669
0
0
0.301724
0
0
0.090693
0.019434
0
0
0
0
0
1
0.060345
false
0.008621
0.034483
0.051724
0.155172
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
31c0c0dae9c51a7877e786e672a7f92603fdf7fe
272
py
Python
blog/sitemaps.py
freetechcode/blog-django3
bd9aba68a5bf24dee5067256ed5f21b27b0b4de4
[ "MIT" ]
null
null
null
blog/sitemaps.py
freetechcode/blog-django3
bd9aba68a5bf24dee5067256ed5f21b27b0b4de4
[ "MIT" ]
null
null
null
blog/sitemaps.py
freetechcode/blog-django3
bd9aba68a5bf24dee5067256ed5f21b27b0b4de4
[ "MIT" ]
null
null
null
from django.contrib.sitemaps import Sitemap from blog.models import Article class ArticleSitemap(Sitemap): changefreq = 'weekly' priority = 0.9 def items(self): return Article.published.all() def lastmod(self, obj): return obj.updated
18.133333
43
0.6875
33
272
5.666667
0.757576
0
0
0
0
0
0
0
0
0
0
0.009524
0.227941
272
14
44
19.428571
0.880952
0
0
0
0
0
0.022059
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
31c43ac5f706b2dbdd24ac2b6b1ea780d17f90d7
873
py
Python
app/data/database_history_viewer.py
redforge/Flask_Signin
b9fe05e0a9af07603622c22d8eba060c2d696d52
[ "Unlicense" ]
2
2018-08-08T20:26:16.000Z
2020-06-03T01:06:27.000Z
app/data/database_history_viewer.py
redforge/Flask_Signin
b9fe05e0a9af07603622c22d8eba060c2d696d52
[ "Unlicense" ]
2
2018-08-08T23:26:19.000Z
2018-08-08T23:41:33.000Z
app/data/database_history_viewer.py
threethan/Parts-and-Crafts-Sign-In
b9fe05e0a9af07603622c22d8eba060c2d696d52
[ "Unlicense" ]
null
null
null
from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.ext.declarative import declarative_base from werkzeug.local import LocalProxy class HistoryViewer(object): def __init__(self, path): from app.data.database import db_directory engine = crea...
34.92
99
0.744559
107
873
5.841122
0.392523
0.0672
0.08
0
0
0
0
0
0
0
0
0
0.163803
873
24
100
36.375
0.856164
0.197022
0
0
0
0
0.014409
0
0
0
0
0
0
1
0.2
false
0
0.333333
0.133333
0.733333
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
31d96a8ed3605cd354fa0759a82e023b53749a39
133
py
Python
slm_lab/env/__init__.py
jmribeiro/SLM-Lab
7cf7a10e56c9558764544e7683023945c72a42a7
[ "MIT" ]
1,074
2017-11-10T02:20:09.000Z
2022-03-31T18:14:02.000Z
slm_lab/env/__init__.py
jmribeiro/SLM-Lab
7cf7a10e56c9558764544e7683023945c72a42a7
[ "MIT" ]
98
2017-11-04T22:00:01.000Z
2022-03-31T14:13:45.000Z
slm_lab/env/__init__.py
jmribeiro/SLM-Lab
7cf7a10e56c9558764544e7683023945c72a42a7
[ "MIT" ]
229
2018-01-07T22:39:09.000Z
2022-03-20T12:04:31.000Z
# the environment module def make_env(spec): from slm_lab.env.openai import OpenAIEnv env = OpenAIEnv(spec) return env
16.625
44
0.714286
19
133
4.894737
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.218045
133
7
45
19
0.894231
0.165414
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
31debe4c82d9f425b3352563b6e04961c6eb2292
799
py
Python
hoopster/euroleague.py
skoudoro/pyeuroleague
daac9c81b978bfc29cfd216cef02080780199a11
[ "BSD-3-Clause" ]
null
null
null
hoopster/euroleague.py
skoudoro/pyeuroleague
daac9c81b978bfc29cfd216cef02080780199a11
[ "BSD-3-Clause" ]
null
null
null
hoopster/euroleague.py
skoudoro/pyeuroleague
daac9c81b978bfc29cfd216cef02080780199a11
[ "BSD-3-Clause" ]
null
null
null
""" """ from functools import partial, update_wrapper import hoopster.elb as elb competition_name = "EuroLeague" competition_code = "E" season_records = partial(elb.season_records, competition_code=competition_code) update_wrapper(season_records, elb.season_records) game_records = partial(elb.game_records, competiti...
34.73913
79
0.847309
105
799
6.085714
0.219048
0.258216
0.203443
0.234742
0.550861
0.550861
0.416275
0.338028
0.338028
0.338028
0
0
0.070088
799
23
80
34.73913
0.860027
0
0
0.266667
0
0
0.013871
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
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
31e79e166de1a27f1d18b7a91fbe39019f366c0c
141
py
Python
test/progs/34_noreturn_KO.py
LeGmask/MrPython
e4712590c52653d97f512e05133459870c12d7fa
[ "PSF-2.0" ]
26
2018-09-09T17:09:56.000Z
2021-10-01T12:51:15.000Z
test/progs/34_noreturn_KO.py
LeGmask/MrPython
e4712590c52653d97f512e05133459870c12d7fa
[ "PSF-2.0" ]
85
2018-02-14T10:28:19.000Z
2021-12-16T17:38:47.000Z
test/progs/34_noreturn_KO.py
LeGmask/MrPython
e4712590c52653d97f512e05133459870c12d7fa
[ "PSF-2.0" ]
26
2018-02-08T11:17:51.000Z
2021-12-16T17:43:19.000Z
##!FAIL: CallNotNoneWarning@6:4 def sablier(x0 : float, y0 : float) -> None: """ """ draw_triangle(x0, y0, x0+1, y0+1, x0+1, y0)
15.666667
47
0.567376
22
141
3.590909
0.590909
0.075949
0.126582
0
0
0
0
0
0
0
0
0.118182
0.219858
141
8
48
17.625
0.6
0.205674
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9ec68c35470453c120f08bcd5fe13d3711408435
325
py
Python
site_scons/site_tools/xcode.py
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
72
2020-06-12T06:33:41.000Z
2021-03-22T03:15:56.000Z
site_scons/site_tools/xcode.py
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
9
2020-07-02T09:36:49.000Z
2021-03-25T23:54:00.000Z
site_scons/site_tools/xcode.py
danx0r/mongo
70d4944c235bcdf7fbbc63971099563d2af72956
[ "Apache-2.0" ]
14
2020-06-12T03:08:03.000Z
2021-02-03T11:43:09.000Z
import os def exists(env): return env.Detect('xcrun') def generate(env): if not exists(env): return if 'DEVELOPER_DIR' in os.environ: env['ENV']['DEVELOPER_DIR'] = os.environ['DEVELOPER_DIR'] print "NOTE: Xcode detected; propagating DEVELOPER_DIR from shell environment to subcomma...
25
101
0.676923
43
325
5.023256
0.581395
0.222222
0.138889
0
0
0
0
0
0
0
0
0
0.212308
325
12
102
27.083333
0.84375
0
0
0
1
0
0.406154
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
9edbd233a35fedc4dfe8a473895605938376e7a1
78
py
Python
r4a_nao_nlp/__init__.py
orestisfl/r4a-nao-nlp
0d87076f5f182933c56676b06be43b36fcd5b48c
[ "Apache-2.0" ]
1
2019-07-04T22:13:53.000Z
2019-07-04T22:13:53.000Z
r4a_nao_nlp/__init__.py
orestisfl/r4a-nao-nlp
0d87076f5f182933c56676b06be43b36fcd5b48c
[ "Apache-2.0" ]
null
null
null
r4a_nao_nlp/__init__.py
orestisfl/r4a-nao-nlp
0d87076f5f182933c56676b06be43b36fcd5b48c
[ "Apache-2.0" ]
2
2020-04-16T18:03:41.000Z
2020-11-14T14:38:26.000Z
# TODO: docstring name = "r4a-nao nlp" # vim:ts=4:sw=4:expandtab:fo-=t:tw=88
15.6
37
0.653846
16
78
3.1875
0.9375
0
0
0
0
0
0
0
0
0
0
0.073529
0.128205
78
4
38
19.5
0.676471
0.653846
0
0
0
0
0.458333
0
0
0
0
0.25
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
9ef19fa92dc36f2b98ec625714a28587011351ca
486
py
Python
TimerProcess.py
n4gava/camera-notifications
eced19cc897c33367f6e57401ec1255e08a87789
[ "MIT" ]
null
null
null
TimerProcess.py
n4gava/camera-notifications
eced19cc897c33367f6e57401ec1255e08a87789
[ "MIT" ]
null
null
null
TimerProcess.py
n4gava/camera-notifications
eced19cc897c33367f6e57401ec1255e08a87789
[ "MIT" ]
1
2021-08-19T12:13:38.000Z
2021-08-19T12:13:38.000Z
import time class TimerProcess: def __init__(self, intervalInSeconds): self.intervalInSeconds = intervalInSeconds self.startTime = time.time() self.data = [] def isOpened(self): seconds = time.time() - self.startTime return seconds <= self.intervalInSeconds ...
23.142857
50
0.623457
50
486
5.98
0.36
0.107023
0.080268
0
0
0
0
0
0
0
0
0
0.281893
486
20
51
24.3
0.856734
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.066667
0.133333
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
734594f0b9359c47a823b3ea246d24ac9eb701a9
235
py
Python
tests/context.py
bopo/okex
55107b4b6e02b0aa0d24003d095e118f7fc51f4b
[ "BSD-2-Clause" ]
10
2017-12-14T15:28:33.000Z
2021-07-04T13:00:14.000Z
tests/context.py
bopo/okex
55107b4b6e02b0aa0d24003d095e118f7fc51f4b
[ "BSD-2-Clause" ]
1
2018-05-26T11:20:40.000Z
2018-06-11T07:11:34.000Z
tests/context.py
bopo/okex
55107b4b6e02b0aa0d24003d095e118f7fc51f4b
[ "BSD-2-Clause" ]
5
2018-01-29T03:44:31.000Z
2018-11-15T10:08:33.000Z
# -*- coding: utf-8 -*- try: import sys import os from okex.context import * from okex.core import OKExAPI except ImportError: pass APIKEY = os.environ.get('APIKEY', None) SECRET = os.environ.get('SECRET', None)
16.785714
39
0.651064
32
235
4.78125
0.625
0.104575
0.156863
0
0
0
0
0
0
0
0
0.005464
0.221277
235
13
40
18.076923
0.830601
0.089362
0
0
0
0
0.056604
0
0
0
0
0
0
1
0
false
0.111111
0.555556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
734716440571e8b2bfd6980ab2c336ea18555424
66
py
Python
tdameritrade/__init__.py
PrestonYadegar/tdameritrade
f8462eb535d078125fa34c91217d02d2d71068c1
[ "Apache-2.0" ]
1
2020-05-23T15:38:40.000Z
2020-05-23T15:38:40.000Z
tdameritrade/__init__.py
PrestonYadegar/tdameritrade
f8462eb535d078125fa34c91217d02d2d71068c1
[ "Apache-2.0" ]
null
null
null
tdameritrade/__init__.py
PrestonYadegar/tdameritrade
f8462eb535d078125fa34c91217d02d2d71068c1
[ "Apache-2.0" ]
null
null
null
from .client import TDClient # noqa: F401 __version__ = '0.0.4'
16.5
42
0.69697
10
66
4.2
0.9
0
0
0
0
0
0
0
0
0
0
0.111111
0.181818
66
3
43
22
0.666667
0.151515
0
0
0
0
0.092593
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
7347c0613d3f6886f44b5ce46dae360aadfb9072
184
py
Python
scripts/sleep.py
suchak1/scarlett
c73eda3d5bc7712e60057eb6904fa988eadcbc33
[ "MIT" ]
5
2020-06-17T05:08:05.000Z
2020-10-21T03:46:07.000Z
scripts/sleep.py
suchak1/scarlett
c73eda3d5bc7712e60057eb6904fa988eadcbc33
[ "MIT" ]
22
2020-06-12T06:26:40.000Z
2020-10-15T08:34:26.000Z
scripts/sleep.py
suchak1/scarlett
c73eda3d5bc7712e60057eb6904fa988eadcbc33
[ "MIT" ]
1
2020-08-15T00:22:09.000Z
2020-08-15T00:22:09.000Z
import sys sys.path.append('hyperdrive') from TimeMachine import TimeTraveller # noqa autopep8 time = sys.argv[1] or "00:00" traveller = TimeTraveller() traveller.sleep_until(time)
20.444444
54
0.771739
25
184
5.64
0.72
0
0
0
0
0
0
0
0
0
0
0.037037
0.119565
184
8
55
23
0.833333
0.070652
0
0
0
0
0.088757
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
7352c8492fec37365a6f16501f35aad82f6b37d1
764
py
Python
src/async_spotify/authentification/__init__.py
wackazong/AsyncSpotify
2789331bac471327738a4fec13e3d106c1da0ea1
[ "MIT" ]
26
2020-04-01T14:16:28.000Z
2022-02-23T18:28:23.000Z
src/async_spotify/authentification/__init__.py
wackazong/AsyncSpotify
2789331bac471327738a4fec13e3d106c1da0ea1
[ "MIT" ]
18
2020-05-11T09:55:18.000Z
2022-03-15T15:58:51.000Z
src/async_spotify/authentification/__init__.py
wackazong/AsyncSpotify
2789331bac471327738a4fec13e3d106c1da0ea1
[ "MIT" ]
10
2020-04-02T13:11:55.000Z
2022-02-16T14:34:36.000Z
# ################################################################################################## # Copyright (c) 2020. HuiiBuh # # This file (__init__.py) is part of AsyncSpotify which is released under MIT. # # You are not al...
54.571429
100
0.397906
53
764
5.603774
0.830189
0.053872
0
0
0
0
0
0
0
0
0
0.007605
0.311518
764
13
101
58.769231
0.557034
0.479058
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
7356a8bdeb504c6f7d81ba6006811dca6f416b7d
263
py
Python
maru/pymorphy/grammeme/number.py
chomechome/maru
dae41e250a64a8b6f6ab9647fd60221d5ede8ab6
[ "MIT" ]
47
2018-09-25T05:17:13.000Z
2022-03-31T09:27:15.000Z
maru/pymorphy/grammeme/number.py
ojomio/maru
7a44be7f974c0962f3023f5d064a391d2b4f20b1
[ "MIT" ]
2
2019-11-26T08:48:54.000Z
2020-09-10T10:00:39.000Z
maru/pymorphy/grammeme/number.py
ojomio/maru
7a44be7f974c0962f3023f5d064a391d2b4f20b1
[ "MIT" ]
5
2019-01-05T17:36:23.000Z
2021-06-29T08:55:24.000Z
from typing import Optional import pymorphy2 from maru.grammeme import Number _NUMBER = { 'sing': Number.SINGULAR, 'plur': Number.PLURAL, } def get_number(parse: pymorphy2.analyzer.Parse) -> Optional[Number]: return _NUMBER.get(parse.tag.number)
17.533333
68
0.730038
33
263
5.727273
0.545455
0
0
0
0
0
0
0
0
0
0
0.00905
0.159696
263
14
69
18.785714
0.846154
0
0
0
0
0
0.030418
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
735b3c581733cbe6f78f33d2235f93e8a38f44de
199
py
Python
cornac/eval_methods/__init__.py
Andrew-DungLe/cornac
199ab9181f8b6387cc8748ccf8ee3e5c9df087fb
[ "Apache-2.0" ]
null
null
null
cornac/eval_methods/__init__.py
Andrew-DungLe/cornac
199ab9181f8b6387cc8748ccf8ee3e5c9df087fb
[ "Apache-2.0" ]
null
null
null
cornac/eval_methods/__init__.py
Andrew-DungLe/cornac
199ab9181f8b6387cc8748ccf8ee3e5c9df087fb
[ "Apache-2.0" ]
null
null
null
from .base_method import BaseMethod from .ratio_split import RatioSplit from .cross_validation import CrossValidation __all__ = ['BaseMethod', 'RatioSplit', 'CrossValidation']
24.875
45
0.728643
19
199
7.263158
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.201005
199
7
46
28.428571
0.867925
0
0
0
0
0
0.175879
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
b44f4c82f0d73714e1450755ef58ce73dc4ffd94
218
py
Python
client/wx/task_cs.py
eonuallain/dcomp
49e65b8576ef663b8566566000b24f634ddf33aa
[ "MIT" ]
null
null
null
client/wx/task_cs.py
eonuallain/dcomp
49e65b8576ef663b8566566000b24f634ddf33aa
[ "MIT" ]
null
null
null
client/wx/task_cs.py
eonuallain/dcomp
49e65b8576ef663b8566566000b24f634ddf33aa
[ "MIT" ]
null
null
null
import datetime from task_base import TaskBase # Cohen-Sutherland implementation class TaskCS(TaskBase): def run(self, task): print(self) print(task) print(datetime.datetime.now(), flush=True)
21.8
50
0.706422
27
218
5.666667
0.666667
0.117647
0
0
0
0
0
0
0
0
0
0
0.197248
218
10
50
21.8
0.874286
0.142202
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
0
3
b45490472ab4d631bcc9408fd811bf258c859b66
748
py
Python
coldtype/img/skiaimage.py
rohernandezz/coldtype
724234fce454699a469d17b6c78ae50fa8138169
[ "Apache-2.0" ]
142
2020-06-12T17:01:58.000Z
2022-03-16T23:21:37.000Z
coldtype/img/skiaimage.py
rohernandezz/coldtype
724234fce454699a469d17b6c78ae50fa8138169
[ "Apache-2.0" ]
35
2020-04-15T15:34:54.000Z
2022-03-19T20:26:47.000Z
coldtype/img/skiaimage.py
rohernandezz/coldtype
724234fce454699a469d17b6c78ae50fa8138169
[ "Apache-2.0" ]
14
2020-06-23T18:56:46.000Z
2022-03-31T15:54:56.000Z
from coldtype.img.datimage import DATImage from coldtype.fx.skia import precompose from coldtype.geometry import Rect from coldtype.pens.datpen import DATPen, DATPens import skia class SkiaImage(DATImage): def load_image(self, src): return skia.Image.MakeFromEncoded(skia.Data.MakeFromFileName(str(src))...
27.703704
79
0.648396
96
748
4.9375
0.364583
0.103376
0.059072
0.07173
0
0
0
0
0
0
0
0
0.244652
748
27
80
27.703704
0.838938
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.238095
0.190476
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
0
0
1
1
0
0
3
b47baa909f2e0ffb077cb6d0d3d76942eab174a6
139
py
Python
src/test2.py
lobzison/auto-hashtag
117bb3754f16ff15658aa7274b5aae325956a9c1
[ "MIT" ]
null
null
null
src/test2.py
lobzison/auto-hashtag
117bb3754f16ff15658aa7274b5aae325956a9c1
[ "MIT" ]
3
2021-06-08T19:04:54.000Z
2022-01-13T00:45:16.000Z
src/test2.py
lobzison/auto-hashtag
117bb3754f16ff15658aa7274b5aae325956a9c1
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt from PIL import Image im = Image.open("test_images\image1.jpg") plt.imshow(im, cmap=plt.cm.gray) plt.show()
27.8
41
0.769784
25
139
4.24
0.76
0
0
0
0
0
0
0
0
0
0
0.007937
0.093525
139
5
42
27.8
0.833333
0
0
0
0
0
0.157143
0.157143
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
b482aeb322cca77d669c5904e4abdf4841248b3a
644
py
Python
dace/codegen/exceptions.py
tobiasholenstein/dace
38fb56d12b59aa8dfe8bb1ff0068e29c5c75efc9
[ "BSD-3-Clause" ]
null
null
null
dace/codegen/exceptions.py
tobiasholenstein/dace
38fb56d12b59aa8dfe8bb1ff0068e29c5c75efc9
[ "BSD-3-Clause" ]
null
null
null
dace/codegen/exceptions.py
tobiasholenstein/dace
38fb56d12b59aa8dfe8bb1ff0068e29c5c75efc9
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2019-2020 ETH Zurich and the DaCe authors. All rights reserved. """ Specialized exception classes for code generator. """ class DuplicateDLLError(Exception): """ An exception that is raised whenever a library is loaded twice. """ pass class CompilerConfigurationError(Exception): """ An excep...
26.833333
77
0.720497
75
644
6.186667
0.56
0.094828
0.172414
0.206897
0.331897
0.331897
0.262931
0.176724
0
0
0
0.015534
0.200311
644
23
78
28
0.885437
0.608696
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
81e8e97f1acf8e3bff39ebcfb6fcc317a36cb792
786
py
Python
msg/exceptions.py
edwinhern/TrashOut
cbfb26860a7033d54e8f400864b669e42e5d0178
[ "MIT" ]
1
2021-12-27T22:23:56.000Z
2021-12-27T22:23:56.000Z
msg/exceptions.py
edwinhern/TrashOut
cbfb26860a7033d54e8f400864b669e42e5d0178
[ "MIT" ]
null
null
null
msg/exceptions.py
edwinhern/TrashOut
cbfb26860a7033d54e8f400864b669e42e5d0178
[ "MIT" ]
null
null
null
from providers import PROVIDERS class ProviderNotFoundException(Exception): def __init__(self, provider: str): self.provider = provider def __str__(self): return ( f"{self.provider} not found. The valid provider options are\n" f"{', '.join(PROVIDERS.keys())}" )...
24.5625
74
0.622137
88
786
5.284091
0.431818
0.154839
0.103226
0.129032
0.389247
0.389247
0.344086
0.344086
0.344086
0.344086
0
0.003534
0.279898
786
31
75
25.354839
0.818021
0
0
0.409091
0
0
0.259542
0.031807
0
0
0
0
0
1
0.272727
false
0
0.045455
0.136364
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
0
0
1
0
0
0
1
1
0
0
3
81ff5f607734a3f2549ed7c2184eff9609c1212f
1,046
py
Python
Other Examples - Functions etc/FunWithFunctions.py
pranjal-teaching/CP1890
e3f238de65c0b67df229a9e04fc8b271ef7fe795
[ "MIT" ]
null
null
null
Other Examples - Functions etc/FunWithFunctions.py
pranjal-teaching/CP1890
e3f238de65c0b67df229a9e04fc8b271ef7fe795
[ "MIT" ]
null
null
null
Other Examples - Functions etc/FunWithFunctions.py
pranjal-teaching/CP1890
e3f238de65c0b67df229a9e04fc8b271ef7fe795
[ "MIT" ]
null
null
null
#1 #Functions are first-class objects - they can be passed around and used as arguments def say_hello(name): return f"Hello {name}" def be_awesome(name): return f"Yo {name}, together we are the awesomest!" def greet_bob(greeter_func): return greeter_func("Bob") #print(greet_bob(say_hello)) #print(greet_b...
20.509804
84
0.675908
148
1,046
4.628378
0.385135
0.116788
0.09927
0.116788
0.162044
0.125547
0.125547
0.125547
0.125547
0
0
0.006083
0.214149
1,046
51
85
20.509804
0.827251
0.243786
0
0.192308
0
0
0.310742
0
0
0
0
0
0
1
0.384615
false
0
0
0.192308
0.653846
0.192308
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
c3011bd39dc74d9bb605d1085f73eaccf72b6270
5,643
py
Python
continuous/utils.py
Daffan/APPLR
ceb394cd337b4b4ccb3915d05d1f42fd317c5c8e
[ "MIT" ]
2
2020-11-14T22:08:08.000Z
2021-04-24T19:45:40.000Z
continuous/utils.py
Daffan/APPLR
ceb394cd337b4b4ccb3915d05d1f42fd317c5c8e
[ "MIT" ]
null
null
null
continuous/utils.py
Daffan/APPLR
ceb394cd337b4b4ccb3915d05d1f42fd317c5c8e
[ "MIT" ]
2
2020-10-16T20:58:13.000Z
2020-11-14T22:08:13.000Z
import csv # import pandas as pd import numpy as np import json from os import path from os.path import join, dirname, abspath import sys sys.path.append(dirname(dirname(abspath(__file__)))) Benchmarking_train = [54, 94, 156, 68, 52, 101, 40, 135, 51, 42, 75, 67, 18, 53, 87, 36, 28, 61, 233, 25, 35, 20, 34, 79, 108, 4...
45.144
1,179
0.577352
1,039
5,643
3.019249
0.384986
0.019127
0.015301
0.014026
0.309531
0.269366
0.221549
0.208798
0.201148
0.201148
0
0.271002
0.234273
5,643
124
1,180
45.508065
0.454987
0.090555
0
0.201923
0
0.038462
0.120313
0.071875
0
0
0
0
0
1
0.067308
false
0
0.057692
0
0.211538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c301f578e612c000cef9e6ae32a540e3b62e8069
2,170
py
Python
tests/test_divide.py
hawkfish/textform
d2859f799291739d3289d323102a0eb6a70fd8fd
[ "MIT" ]
4
2021-07-19T18:14:35.000Z
2021-09-17T07:31:50.000Z
tests/test_divide.py
hawkfish/textform
d2859f799291739d3289d323102a0eb6a70fd8fd
[ "MIT" ]
11
2021-04-14T16:12:23.000Z
2021-09-08T18:33:13.000Z
tests/test_divide.py
hawkfish/textform
d2859f799291739d3289d323102a0eb6a70fd8fd
[ "MIT" ]
null
null
null
import unittest from context import * class TestDivide(unittest.TestCase): def assert_divide(self, pattern, expected): input = 'Target' left = 'Pass' right = 'Fail' s = txf.Sequence(None, input, 1000) s = txf.Limit(s, 100) s = txf.Cast(s, input, str) t = tx...
33.90625
110
0.601382
274
2,170
4.69708
0.237226
0.11655
0.04662
0.172494
0.432012
0.356643
0.278166
0.278166
0.278166
0.278166
0
0.021583
0.231336
2,170
63
111
34.444444
0.75
0
0
0.042553
0
0
0.090323
0
0
0
0
0
0.468085
1
0.191489
false
0.12766
0.042553
0
0.276596
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
1
0
0
0
1
0
0
0
0
0
3