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
c308240a78da5b79377a090d53b2e1a1d3561544
405
py
Python
tests/cpydiff/syntax_spaces.py
sebastien-riou/micropython
116c15842fd48ddb77b0bc016341d936a0756573
[ "MIT" ]
13,648
2015-01-01T01:34:51.000Z
2022-03-31T16:19:53.000Z
tests/cpydiff/syntax_spaces.py
sebastien-riou/micropython
116c15842fd48ddb77b0bc016341d936a0756573
[ "MIT" ]
7,092
2015-01-01T07:59:11.000Z
2022-03-31T23:52:18.000Z
tests/cpydiff/syntax_spaces.py
sebastien-riou/micropython
116c15842fd48ddb77b0bc016341d936a0756573
[ "MIT" ]
4,942
2015-01-02T11:48:50.000Z
2022-03-31T19:57:10.000Z
""" categories: Syntax,Spaces description: uPy requires spaces between literal numbers and keywords, CPy doesn't cause: Unknown workaround: Unknown """ try: print(eval("1and 0")) except SyntaxError: print("Should have worked") try: print(eval("1or 0")) except SyntaxError: print("Should have worked") try...
21.315789
82
0.711111
53
405
5.433962
0.566038
0.083333
0.125
0.239583
0.489583
0.489583
0.489583
0.354167
0.354167
0.354167
0
0.020772
0.167901
405
18
83
22.5
0.833828
0.353086
0
0.75
0
0
0.299213
0
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
c3171f8f7b64bc09d0c2463f4ac7d2b115640dc7
148
py
Python
cvservices/utils.py
amabdallah/ControlledVocabulariesTemplate
751e5a87da0bc036311b4e8aa8408eb69bee716b
[ "BSD-3-Clause" ]
null
null
null
cvservices/utils.py
amabdallah/ControlledVocabulariesTemplate
751e5a87da0bc036311b4e8aa8408eb69bee716b
[ "BSD-3-Clause" ]
null
null
null
cvservices/utils.py
amabdallah/ControlledVocabulariesTemplate
751e5a87da0bc036311b4e8aa8408eb69bee716b
[ "BSD-3-Clause" ]
null
null
null
import re def upper_splitted(string): return " ".join(re.findall('[A-Z][a-z]*', string)) lfirst = lambda s: s[:1].lower() + s[1:] if s else ''
24.666667
54
0.601351
26
148
3.384615
0.692308
0.045455
0
0
0
0
0
0
0
0
0
0.016129
0.162162
148
6
55
24.666667
0.693548
0
0
0
0
0
0.080537
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1
0
0
0
4
c31fd53c6cdb42af847400bb7ac4bf0f29c69d39
779
py
Python
0x04-python-more_data_structures/dev/103-tests.py
johncoleman83/bootcampschool-higher_level_programming
a83c3b7092cfe893c87e495f8d8eec9228c9b808
[ "MIT" ]
null
null
null
0x04-python-more_data_structures/dev/103-tests.py
johncoleman83/bootcampschool-higher_level_programming
a83c3b7092cfe893c87e495f8d8eec9228c9b808
[ "MIT" ]
null
null
null
0x04-python-more_data_structures/dev/103-tests.py
johncoleman83/bootcampschool-higher_level_programming
a83c3b7092cfe893c87e495f8d8eec9228c9b808
[ "MIT" ]
1
2020-09-25T17:54:36.000Z
2020-09-25T17:54:36.000Z
import ctypes lib = ctypes.CDLL('./libPython.so') lib.print_python_list.argtypes = [ctypes.py_object] lib.print_python_bytes.argtypes = [ctypes.py_object] s = b"Hello" lib.print_python_bytes(s); b = b'\xff\xf8\x00\x00\x00\x00\x00\x00'; lib.print_python_bytes(b); b = b'What does the \'b\' character do in front of a str...
24.34375
70
0.71887
152
779
3.486842
0.309211
0.211321
0.369811
0.30566
0.430189
0.249057
0.098113
0
0
0
0
0.044097
0.097561
779
31
71
25.129032
0.709815
0
0
0.333333
0
0
0.179718
0.041078
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0.466667
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
1
0
4
c3629383fd3178fc6a763b1cb630241593cd88b1
234
py
Python
qmpy/web/serializers/composition.py
tachyontraveler/qmpy
f024de3aa85d4367cd31775bd53eede30c74c083
[ "MIT" ]
103
2015-02-13T16:51:59.000Z
2022-03-24T22:08:54.000Z
qmpy/web/serializers/composition.py
tachyontraveler/qmpy
f024de3aa85d4367cd31775bd53eede30c74c083
[ "MIT" ]
59
2015-12-02T22:43:21.000Z
2022-03-28T03:54:44.000Z
qmpy/web/serializers/composition.py
tachyontraveler/qmpy
f024de3aa85d4367cd31775bd53eede30c74c083
[ "MIT" ]
62
2015-02-24T21:58:59.000Z
2022-03-21T16:49:09.000Z
from rest_framework import serializers from qmpy.materials.composition import Composition class CompositionSerializer(serializers.ModelSerializer): class Meta: model = Composition fields = ("formula", "generic")
26
57
0.75641
22
234
8
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.175214
234
8
58
29.25
0.911917
0
0
0
0
0
0.059829
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c373c955dc7a9429567a953bc6f8a1c419f2f066
193
py
Python
lib/__init__.py
Qwokka/SMBCommander
3123fe2a584a5d917f8cc25484d52ded1fac99a3
[ "Apache-2.0" ]
6
2019-03-13T08:36:32.000Z
2021-02-12T23:46:32.000Z
lib/__init__.py
Qwokka/SMBCommander
3123fe2a584a5d917f8cc25484d52ded1fac99a3
[ "Apache-2.0" ]
4
2019-01-13T20:42:21.000Z
2019-01-13T20:44:59.000Z
lib/__init__.py
Qwokka/SMBCommander
3123fe2a584a5d917f8cc25484d52ded1fac99a3
[ "Apache-2.0" ]
1
2020-08-28T05:11:52.000Z
2020-08-28T05:11:52.000Z
#!/usr/bin/env python # # Author: Jack Baker (https://github.com/qwokka/smbcommander) # # This product includes software developed by # SecureAuth Corporation (https://www.secureauth.com/)." #
24.125
61
0.735751
24
193
5.916667
0.875
0
0
0
0
0
0
0
0
0
0
0
0.108808
193
7
62
27.571429
0.825581
0.927461
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
c38004bffcd388467eb50a6a5b17185aa9a55a9b
576
py
Python
engine/browser.py
pjkostrzewski/kanonierzy
9b5cc95d5a6ddcb7fc647b16373f54f9c0bca21d
[ "MIT" ]
null
null
null
engine/browser.py
pjkostrzewski/kanonierzy
9b5cc95d5a6ddcb7fc647b16373f54f9c0bca21d
[ "MIT" ]
null
null
null
engine/browser.py
pjkostrzewski/kanonierzy
9b5cc95d5a6ddcb7fc647b16373f54f9c0bca21d
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class Browser(ABC): """ Abstract class for browser engines """ @abstractmethod def get(self, url): pass @abstractmethod def get_cookies(self): pass @abstractmethod def add_cookie(self, cookie): pass @abstractmethod def...
16.941176
54
0.626736
62
576
5.677419
0.419355
0.338068
0.357955
0.136364
0
0
0
0
0
0
0
0
0.298611
576
33
55
17.454545
0.871287
0.059028
0
0.608696
0
0
0
0
0
0
0
0
0
1
0.304348
false
0.304348
0.043478
0
0.391304
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
1
0
0
0
0
0
4
c380bf35207f5126207771a202f6a22a5b04d868
8
py
Python
Project 10/img_rc.py
ingwant/Python-Programs
3022bb3bce70fe59ccd638f407ee36b0a1c71ad9
[ "MIT" ]
null
null
null
Project 10/img_rc.py
ingwant/Python-Programs
3022bb3bce70fe59ccd638f407ee36b0a1c71ad9
[ "MIT" ]
null
null
null
Project 10/img_rc.py
ingwant/Python-Programs
3022bb3bce70fe59ccd638f407ee36b0a1c71ad9
[ "MIT" ]
null
null
null
# Qt图片资源
8
8
0.75
1
8
6
1
0
0
0
0
0
0
0
0
0
0
0
0.125
8
1
8
8
0.857143
0.75
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
4
5efb288124340bcebc5731a0c821dbfbcfe0a8d7
161
py
Python
apps/mark/forms.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
apps/mark/forms.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
apps/mark/forms.py
edilsonlonC/Data_Music
8bb814e750cd8f407653ed6e255957cb92f0f19b
[ "MIT" ]
null
null
null
from django.forms import ModelForm from apps.mark.models import Mark class form_marks (ModelForm): class Meta: model=Mark fields='__all__'
17.888889
34
0.701863
21
161
5.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.229814
161
8
35
20.125
0.870968
0
0
0
0
0
0.043478
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6f06c303003bbc68158ac009450089ae4250d32a
24,071
py
Python
pickle_vs_json.py
Arvind2222/pickle-vs-json
01b94548a1eceff965f6ec8489a7ff167cbf7da6
[ "MIT" ]
null
null
null
pickle_vs_json.py
Arvind2222/pickle-vs-json
01b94548a1eceff965f6ec8489a7ff167cbf7da6
[ "MIT" ]
null
null
null
pickle_vs_json.py
Arvind2222/pickle-vs-json
01b94548a1eceff965f6ec8489a7ff167cbf7da6
[ "MIT" ]
1
2021-08-25T11:14:23.000Z
2021-08-25T11:14:23.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ pickle vs JSON serialization. """ __author__ = "Arvind Mishra" __version__ = "1.0" __status__ = "Development" __credit__ = "https://github.com/kovshenin/pickle-vs-json" """ Feel free to use this code as you wish Discussions: https://medium.com/@mishraarvind2...
137.548571
1,160
0.782934
3,507
24,071
5.348161
0.095238
0.013809
0.007997
0.010877
0.095543
0.065046
0.063126
0.063126
0.053103
0.053103
0
0.002707
0.171326
24,071
174
1,161
138.33908
0.937585
0.027793
0
0.067416
0
0.292135
0.92174
0.011061
0
0
0
0
0
1
0.078652
false
0
0.089888
0
0.202247
0.067416
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6f0a9db7e0330d57e22fd36e1f753e215650d101
82
py
Python
Complete-Python-3-Bootcamp-master/07-Errors and Exception Handling/cap.py
davidMartinVergues/PYTHON
dd39d3aabfc43b3cb09aadb2919e51d03364117d
[ "DOC" ]
8
2020-09-02T03:59:02.000Z
2022-01-08T23:36:19.000Z
07-Errors and Exception Handling/cap.py
AkshitOstwal/Python_Bootcamp
ce810d0d9e5f9b04d7795f3b1024c8b4b1ad3bc8
[ "MIT" ]
1
2021-06-13T20:24:47.000Z
2021-06-13T20:24:47.000Z
07-Errors and Exception Handling/cap.py
AkshitOstwal/Python_Bootcamp
ce810d0d9e5f9b04d7795f3b1024c8b4b1ad3bc8
[ "MIT" ]
6
2019-11-13T13:33:30.000Z
2021-10-06T09:56:43.000Z
def cap_text(text): return text.title() # replace .capitalize() with .title()
41
62
0.682927
11
82
5
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.158537
82
2
62
41
0.797101
0.426829
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
0
0
0
4
6f17a056fcde5dfff4e48761f4013d1b4fdb72e0
2,269
py
Python
RESTProject/accounts/models.py
rzhvn1/REST-API
6bb6620eebff9fa3c53fbaf7569283e4472719c1
[ "MIT" ]
null
null
null
RESTProject/accounts/models.py
rzhvn1/REST-API
6bb6620eebff9fa3c53fbaf7569283e4472719c1
[ "MIT" ]
null
null
null
RESTProject/accounts/models.py
rzhvn1/REST-API
6bb6620eebff9fa3c53fbaf7569283e4472719c1
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.db import models #TODO order_count class RestaurantProfile(models.Model): #id full_name = models.CharField(max_length=50) age = models.PositiveIntegerField(default=0) date_start = models.DateField(auto_now_add=True) date_end = models.DateField...
34.907692
92
0.574262
224
2,269
5.705357
0.321429
0.105634
0.206573
0.212833
0.339593
0.319249
0.212833
0.087637
0.087637
0.087637
0
0.022422
0.312032
2,269
64
93
35.453125
0.796284
0.007933
0
0.155556
0
0
0.049642
0
0
0
0
0.015625
0
1
0
false
0
0.044444
0
0.688889
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
4
6f1b00505f65058ea29dc68f23694fac92651aa2
316
py
Python
tests/tests.py
nickjevershed/Reportermate-Lib
2ab2eee166b85f3e5e24dfaacf6179ecf68fdc1e
[ "MIT" ]
60
2019-02-01T04:55:15.000Z
2021-11-30T06:44:11.000Z
tests/tests.py
nickjevershed/Reportermate-Lib
2ab2eee166b85f3e5e24dfaacf6179ecf68fdc1e
[ "MIT" ]
9
2017-02-26T05:14:30.000Z
2019-09-16T03:30:23.000Z
tests/tests.py
nickjevershed/Reportermate-Lib
2ab2eee166b85f3e5e24dfaacf6179ecf68fdc1e
[ "MIT" ]
8
2019-02-07T10:19:12.000Z
2021-01-08T16:09:20.000Z
import reportermate print(reportermate.analyseAndRender('expenses.csv', 'expenses-template.txt', 'expenses-replace.json')) print(reportermate.analyseAndRender('unemployment.csv', 'unemployment-template.txt')) print(reportermate.analyseAndRender('donations.csv', 'donations-template.txt', 'donations-replace.json'))
52.666667
105
0.810127
32
316
8
0.375
0.199219
0.386719
0
0
0
0
0
0
0
0
0
0.03481
316
5
106
63.2
0.839344
0
0
0
0
0
0.481013
0.351266
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.75
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
6f48f5389c2fc0c14de5d6990a5f9d2cbf965f9e
797
py
Python
backend/api/apps/core/permissions.py
Jeffallan/timekeeper
ecad4dba84781a9f5b592cd639ad43dc35708e11
[ "Apache-2.0" ]
1
2022-02-13T21:13:10.000Z
2022-02-13T21:13:10.000Z
backend/api/apps/core/permissions.py
Jeffallan/timekeeper
ecad4dba84781a9f5b592cd639ad43dc35708e11
[ "Apache-2.0" ]
8
2021-11-14T20:00:25.000Z
2021-12-04T18:52:18.000Z
backend/api/apps/core/permissions.py
Jeffallan/timekeeper
ecad4dba84781a9f5b592cd639ad43dc35708e11
[ "Apache-2.0" ]
null
null
null
from rest_framework import permissions class IsUserOrReadOnly(permissions.BasePermission): """ Object-level permission to only allow owners of an object to edit it. """ def has_object_permission(self, request, view, obj): if request.method in permissions.SAFE_METHODS: return True...
25.709677
73
0.692597
95
797
5.726316
0.442105
0.101103
0.154412
0.183824
0.424632
0.424632
0.424632
0.424632
0.424632
0.424632
0
0.004854
0.224592
797
31
74
25.709677
0.875405
0.086575
0
0.294118
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.176471
0.882353
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
6f52e79f0e1f767cfbe1b57e960ee84bf28c346c
164
py
Python
heroku3/compat.py
simlun/heroku3.py
398e6436b2e9e90277384e97e43416c19abb32d9
[ "MIT" ]
1
2019-03-15T16:54:32.000Z
2019-03-15T16:54:32.000Z
heroku3/compat.py
fabianheredia/heroku3.py
7d6e82050c8ae35052b81b94597292d74dc4ab40
[ "MIT" ]
null
null
null
heroku3/compat.py
fabianheredia/heroku3.py
7d6e82050c8ae35052b81b94597292d74dc4ab40
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ heroku3.compat ~~~~~~~~~~~~~ Compatiblity for heroku3.py. """ try: import json except ImportError: import simplejson as json
11.714286
29
0.603659
18
164
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.022727
0.195122
164
13
30
12.615385
0.727273
0.493902
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
6f603b7e2a9689e5dea9b419717c4a587c4fc63a
276
py
Python
instagram_api/response/challenge.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
13
2019-08-07T21:24:34.000Z
2020-12-12T12:23:50.000Z
instagram_api/response/challenge.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
instagram_api/response/challenge.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
from .mapper import ApiResponse, ApiResponseInterface from .mapper.types import Timestamp, AnyType __all__ = ['ChallengeResponse'] class ChallengeResponseInterface(ApiResponseInterface): pass class ChallengeResponse(ApiResponse, ChallengeResponseInterface): pass
21.230769
65
0.818841
22
276
10.090909
0.590909
0.09009
0
0
0
0
0
0
0
0
0
0
0.119565
276
12
66
23
0.91358
0
0
0.285714
0
0
0.061594
0
0
0
0
0
0
1
0
false
0.285714
0.285714
0
0.571429
0
1
0
1
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
4
6f62a51bd53bf880f680e4f7813ef4df5890ffd1
145
py
Python
awsrek/faced/forms.py
PDahal2871/AWS_Rekognition
b83a8e4608c0976e108956caffe67240cd3e0adb
[ "MIT" ]
null
null
null
awsrek/faced/forms.py
PDahal2871/AWS_Rekognition
b83a8e4608c0976e108956caffe67240cd3e0adb
[ "MIT" ]
null
null
null
awsrek/faced/forms.py
PDahal2871/AWS_Rekognition
b83a8e4608c0976e108956caffe67240cd3e0adb
[ "MIT" ]
null
null
null
from django.forms import ModelForm from .models import * class AWSForm(ModelForm): class Meta: model=Aws fields = '__all__'
18.125
34
0.668966
17
145
5.470588
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.255172
145
7
35
20.714286
0.861111
0
0
0
0
0
0.048276
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
48ac7aa5008ecb13434865950fad6b18c235f320
72
py
Python
tools/report-converter/tests/unit/pylint_output_test_files/files/simple.py
ryankurte/codechecker
737424ee77c181304f242d5a2adef3e6d9369998
[ "Apache-2.0" ]
1,601
2015-07-22T20:01:32.000Z
2022-03-31T03:04:36.000Z
tools/report-converter/tests/unit/pylint_output_test_files/files/simple.py
ryankurte/codechecker
737424ee77c181304f242d5a2adef3e6d9369998
[ "Apache-2.0" ]
2,056
2015-07-20T09:39:25.000Z
2022-03-31T10:18:08.000Z
tools/report-converter/tests/unit/pylint_output_test_files/files/simple.py
ryankurte/codechecker
737424ee77c181304f242d5a2adef3e6d9369998
[ "Apache-2.0" ]
288
2015-07-15T18:57:18.000Z
2022-03-30T13:40:13.000Z
#!/usr/bin/env python3 import json def foo(x): return 1 foo(0)
6.545455
22
0.611111
13
72
3.384615
0.923077
0
0
0
0
0
0
0
0
0
0
0.055556
0.25
72
10
23
7.2
0.759259
0.291667
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
48c7808843e1460ed164957184546c6954407447
160
py
Python
picamera/picam_lib/__init__.py
suet-lee/mycelium
db83cd3ab00697f28b2def2cebcdef52698fdd92
[ "Apache-2.0" ]
6
2021-05-23T17:36:02.000Z
2022-01-21T20:34:17.000Z
picamera/picam_lib/__init__.py
suet-lee/mycelium
db83cd3ab00697f28b2def2cebcdef52698fdd92
[ "Apache-2.0" ]
null
null
null
picamera/picam_lib/__init__.py
suet-lee/mycelium
db83cd3ab00697f28b2def2cebcdef52698fdd92
[ "Apache-2.0" ]
1
2021-06-17T20:35:10.000Z
2021-06-17T20:35:10.000Z
from .filter import FilterPosWheel, FilterContWheel from .picam_impl import PicamImpl from .mission import FilterMissionExec, WaypointMissionExec, FilterCapture
53.333333
74
0.875
16
160
8.6875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.0875
160
3
74
53.333333
0.952055
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
0
0
4
48d438293a6c395ec043a2b3162ba0f55314ec79
601
py
Python
ugd/markov_walk/constraint_violation_check.py
bryangraham/ugd
5ea6535a2a32385232a47a0739377162f9461c77
[ "MIT" ]
1
2021-12-01T09:43:00.000Z
2021-12-01T09:43:00.000Z
ugd/markov_walk/constraint_violation_check.py
bryangraham/ugd
5ea6535a2a32385232a47a0739377162f9461c77
[ "MIT" ]
null
null
null
ugd/markov_walk/constraint_violation_check.py
bryangraham/ugd
5ea6535a2a32385232a47a0739377162f9461c77
[ "MIT" ]
3
2021-02-23T16:34:27.000Z
2021-11-29T22:14:15.000Z
import numpy as np # from ugd.markov_walk.markov_walk_util import is_feasible , set_elm_to_non_exept from itertools import combinations ''' no_violations checks whether all partition constraint are fulfilled. no_violation is a interface, which can be customized. Examples are if you are only interested in the restr...
25.041667
119
0.792013
95
601
4.873684
0.673684
0.032397
0
0
0
0
0
0
0
0
0
0.001992
0.164725
601
23
120
26.130435
0.920319
0.131448
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
48d5382fa6630e62193f68c855a3df2bdea5dd07
202,198
py
Python
chb/mips/simulation/MIPSimStubs.py
sipma/CodeHawk-Binary
3d4a0c2958266571f8f660cb48f29339b253c07f
[ "MIT" ]
null
null
null
chb/mips/simulation/MIPSimStubs.py
sipma/CodeHawk-Binary
3d4a0c2958266571f8f660cb48f29339b253c07f
[ "MIT" ]
null
null
null
chb/mips/simulation/MIPSimStubs.py
sipma/CodeHawk-Binary
3d4a0c2958266571f8f660cb48f29339b253c07f
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------------ # CodeHawk Binary Analyzer # Author: Henny Sipma # ------------------------------------------------------------------------------ # The MIT License (MIT) # # Copyright (c) 2020-2021 Henny Sipma # Copyright (c) 2021 Aarno Labs LLC # # ...
36.524205
95
0.573057
23,439
202,198
4.737617
0.038611
0.083002
0.042055
0.065874
0.795795
0.771768
0.751443
0.725247
0.641776
0.602972
0
0.022756
0.306482
202,198
5,535
96
36.530804
0.769133
0.034733
0
0.678687
0
0
0.065086
0.001922
0.000231
0
0.000252
0
0
1
0.127369
false
0.001849
0.004623
0.033981
0.26699
0.014794
0
0
0
null
0
0
0
0
1
1
1
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
4
48eb55540e3b665d75b93cdcbceaa3fd6eb83557
81
py
Python
test.py
xor2k/stream_shuffle
d4869bc5a01537ce53068902f68e6bdd3ee77609
[ "MIT" ]
null
null
null
test.py
xor2k/stream_shuffle
d4869bc5a01537ce53068902f68e6bdd3ee77609
[ "MIT" ]
null
null
null
test.py
xor2k/stream_shuffle
d4869bc5a01537ce53068902f68e6bdd3ee77609
[ "MIT" ]
null
null
null
from data_source import data_source ds = data_source() ds.enable() ds.shuffle()
13.5
35
0.765432
13
81
4.538462
0.538462
0.508475
0.40678
0
0
0
0
0
0
0
0
0
0.123457
81
6
36
13.5
0.830986
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
48ecaa5f39a24c2b5cc564f10f3356e24bae72d2
623
py
Python
reviewboard/admin/__init__.py
klpyang/reviewboard
d7dabf36e5b492f18048dd7084026bf99d6933c5
[ "MIT" ]
1
2018-08-23T09:19:02.000Z
2018-08-23T09:19:02.000Z
reviewboard/admin/__init__.py
klpyang/reviewboard
d7dabf36e5b492f18048dd7084026bf99d6933c5
[ "MIT" ]
null
null
null
reviewboard/admin/__init__.py
klpyang/reviewboard
d7dabf36e5b492f18048dd7084026bf99d6933c5
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db.models.signals import post_save, post_delete from reviewboard.admin.widgets import increment_sync_num from reviewboard.reviews.models import Group from reviewboard.scmtools.models import Repository def _delete_widget_cache(*args, **kwargs): """Clear the cac...
32.789474
65
0.833066
87
623
5.62069
0.413793
0.122699
0.173824
0.196319
0.380368
0.380368
0.339468
0
0
0
0
0
0.093098
623
18
66
34.611111
0.865487
0.088283
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
true
0
0.454545
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5b22346f5da923b910a6385290ba4f326e9d2d29
59
py
Python
containment/test_cli/__init__.py
zancas/protoenv
4f7e2c2338e0ca7c107a7b3a9913bb5e6e07245f
[ "MIT" ]
null
null
null
containment/test_cli/__init__.py
zancas/protoenv
4f7e2c2338e0ca7c107a7b3a9913bb5e6e07245f
[ "MIT" ]
3
2017-03-11T23:16:15.000Z
2017-03-11T23:24:19.000Z
containment/test_cli/__init__.py
zancas/protoenv
4f7e2c2338e0ca7c107a7b3a9913bb5e6e07245f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Top-level package for tests."""
19.666667
34
0.559322
8
59
4.125
1
0
0
0
0
0
0
0
0
0
0
0.02
0.152542
59
2
35
29.5
0.64
0.864407
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d2a5f3344df7a7dbb59dcccc23531d734128dc94
127
py
Python
pacote-download/Mundo1/ex010.py
ariadne-pereira/cev-python
b2c6bbebb5106bb0152c9127c04c83f23e9d7757
[ "MIT" ]
null
null
null
pacote-download/Mundo1/ex010.py
ariadne-pereira/cev-python
b2c6bbebb5106bb0152c9127c04c83f23e9d7757
[ "MIT" ]
null
null
null
pacote-download/Mundo1/ex010.py
ariadne-pereira/cev-python
b2c6bbebb5106bb0152c9127c04c83f23e9d7757
[ "MIT" ]
null
null
null
din = float(input('Quantos reais você tem? ')) print('Com {:.2f} reais você pode comprar {:.2f} doláres'.format(din, din/3.27))
63.5
80
0.677165
21
127
4.095238
0.761905
0.209302
0
0
0
0
0
0
0
0
0
0.044643
0.11811
127
2
80
63.5
0.723214
0
0
0
0
0
0.570313
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
4
d2c558e278cd98f4f482e55b03190ebd80a57643
146
py
Python
WeatherPy/working_code/api_keys.py
troyyoungblood/20201219Homework_TDY
e3533e63cce9d10971ed585c67f32236a8429d07
[ "MIT" ]
null
null
null
WeatherPy/working_code/api_keys.py
troyyoungblood/20201219Homework_TDY
e3533e63cce9d10971ed585c67f32236a8429d07
[ "MIT" ]
null
null
null
WeatherPy/working_code/api_keys.py
troyyoungblood/20201219Homework_TDY
e3533e63cce9d10971ed585c67f32236a8429d07
[ "MIT" ]
null
null
null
# OpenWeatherMap API Key weather_api_key = "bfabad3eec079b77cd6e28110d3ad22f" # Google API Key g_key = "AIzaSyBKZyrmnIxatibyVFhiPyCHD87TQW0ulAA"
24.333333
52
0.842466
13
146
9.230769
0.615385
0.15
0
0
0
0
0
0
0
0
0
0.137405
0.10274
146
5
53
29.2
0.778626
0.253425
0
0
0
0
0.669811
0.669811
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
961cd436d8d3b05f0a7d335bdc2df79241a3aa19
375
py
Python
examples/dagster_examples/bay_bikes/repository.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
1
2020-08-10T23:03:37.000Z
2020-08-10T23:03:37.000Z
examples/dagster_examples/bay_bikes/repository.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
null
null
null
examples/dagster_examples/bay_bikes/repository.py
JPeer264/dagster-fork
32cc87a36134be7c442fa85d6867eb1d3301aea0
[ "Apache-2.0" ]
1
2020-08-20T14:20:31.000Z
2020-08-20T14:20:31.000Z
from dagster import repository from .pipelines import daily_weather_pipeline, generate_training_set_and_train_model @repository def bay_bikes_demo(): return { 'pipelines': { 'generate_training_set_and_train_model': lambda: generate_training_set_and_train_model, 'daily_weather_pipe...
26.785714
99
0.738667
43
375
5.906977
0.465116
0.141732
0.23622
0.259843
0.377953
0.377953
0
0
0
0
0
0
0.2
375
13
100
28.846154
0.846667
0
0
0
1
0
0.181333
0.157333
0
0
0
0
0
1
0.1
true
0
0.2
0.1
0.4
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
1
0
0
0
0
0
0
4
8260aa9aec443d2c56980c07815df88bd5b3e4a3
398
py
Python
shake/skeletons/project/settings/__init__.py
lucuma/Shake
b54082c9d217059ef02317aa043c3690d2e601d7
[ "MIT" ]
4
2015-02-15T17:35:12.000Z
2016-07-21T06:35:12.000Z
shake/skeletons/project/settings/__init__.py
lucuma/Shake
b54082c9d217059ef02317aa043c3690d2e601d7
[ "MIT" ]
null
null
null
shake/skeletons/project/settings/__init__.py
lucuma/Shake
b54082c9d217059ef02317aa043c3690d2e601d7
[ "MIT" ]
null
null
null
# coding=utf-8 """ Project settings ------------------------------- """ import shake if shake.env_is('production'): import settings.production as settings elif shake.env_is('testing'): import settings.testing as settings else: import settings.development as settings # # Import local settings # ...
17.304348
43
0.645729
45
398
5.666667
0.466667
0.219608
0.078431
0
0
0
0
0
0
0
0
0.003106
0.190955
398
22
44
18.090909
0.78882
0.394472
0
0
0
0
0.077982
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
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
1
0
1
0
1
0
0
4
82741da60eba0efeb8f40fba6356c1599b91a821
244
py
Python
city_housing_index/local_auth/serializers.py
Sinope-Nanto/city_house
73589bb07c415b1deecf8a0618b79d376d5a6e88
[ "MIT" ]
null
null
null
city_housing_index/local_auth/serializers.py
Sinope-Nanto/city_house
73589bb07c415b1deecf8a0618b79d376d5a6e88
[ "MIT" ]
null
null
null
city_housing_index/local_auth/serializers.py
Sinope-Nanto/city_house
73589bb07c415b1deecf8a0618b79d376d5a6e88
[ "MIT" ]
1
2021-05-05T13:13:56.000Z
2021-05-05T13:13:56.000Z
from rest_framework import serializers from .models import UserProfile class UserProfileSerializer(serializers.ModelSerializer): class Meta: model = UserProfile fields = ['id', 'user_id', 'name', 'mobile', 'city', 'role']
27.111111
68
0.704918
25
244
6.8
0.76
0
0
0
0
0
0
0
0
0
0
0
0.184426
244
8
69
30.5
0.854271
0
0
0
0
0
0.110656
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
82bb377c23520e249c41ff86b244f8037d95efce
15,637
py
Python
kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py
icamposrivera/kubernetes_asyncio
f028cc793e3a2c519be6a52a49fb77ff0b014c9b
[ "Apache-2.0" ]
null
null
null
kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py
icamposrivera/kubernetes_asyncio
f028cc793e3a2c519be6a52a49fb77ff0b014c9b
[ "Apache-2.0" ]
null
null
null
kubernetes_asyncio/client/models/v1_certificate_signing_request_spec.py
icamposrivera/kubernetes_asyncio
f028cc793e3a2c519be6a52a49fb77ff0b014c9b
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1.19.15 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six f...
52.827703
1,945
0.675769
1,891
15,637
5.535167
0.14807
0.03363
0.098978
0.082259
0.756377
0.720455
0.710805
0.645362
0.619757
0.576001
0
0.019079
0.229072
15,637
295
1,946
53.00678
0.849191
0.628957
0
0.085938
1
0.015625
0.106873
0.028919
0
0
0
0
0
1
0.15625
false
0
0.03125
0
0.320313
0.015625
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
82be749c890892e164a6152eacaf8030caae848f
74
py
Python
python/testData/completion/percentStringDictWithDictLiteralArg.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/completion/percentStringDictWithDictLiteralArg.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/completion/percentStringDictWithDictLiteralArg.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
print("Other string %(<caret>)d" % dict({'three': 3, 'one': 1, 'two': 2}))
74
74
0.540541
12
74
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.046154
0.121622
74
1
74
74
0.569231
0
0
0
0
0
0.466667
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
4
82c5a0e0021a09b44c2ae6a502b49ca6f105ee8e
305
py
Python
Season 06 - Files in Python/Episode 11 - Python Relative Imports : Parent/Episode 11 - Python Relative Imports : Parent.py
Pythobit/Python-tutorial
b0743eaa9c237c3578131ead1b3f2c295f11b7ee
[ "MIT" ]
3
2021-02-19T18:33:00.000Z
2021-08-03T14:56:50.000Z
Season 06 - Files in Python/Episode 11 - Python Relative Imports : Parent/Episode 11 - Python Relative Imports : Parent.py
barawalojas/Python-tutorial
3f4b2b073e421888b3d62ff634658317d9abcb9b
[ "MIT" ]
1
2021-07-10T14:37:57.000Z
2021-07-20T09:51:39.000Z
Season 06 - Files in Python/Episode 11 - Python Relative Imports : Parent/Episode 11 - Python Relative Imports : Parent.py
barawalojas/Python-tutorial
3f4b2b073e421888b3d62ff634658317d9abcb9b
[ "MIT" ]
1
2021-08-02T05:39:38.000Z
2021-08-02T05:39:38.000Z
# Python relative imports : Parents """ if you want to import the parent, we need to use two dots instead of one as shown as below """ # `file_operations.py` from ..find import NotFoundError # ---^^ these two dots tells python to go the main import directory from where the project starts (i.e: utils)
27.727273
110
0.731148
50
305
4.44
0.78
0.063063
0
0
0
0
0
0
0
0
0
0
0.186885
305
10
111
30.5
0.895161
0.836066
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
82c8cfb6f9210a4aa63627b822b4e90b5749df7f
83
py
Python
run.py
SokKanaTorajd/flask-socmed-scraping
1c1c78001eced50a01601949d70ad0d9b1784f37
[ "MIT" ]
null
null
null
run.py
SokKanaTorajd/flask-socmed-scraping
1c1c78001eced50a01601949d70ad0d9b1784f37
[ "MIT" ]
null
null
null
run.py
SokKanaTorajd/flask-socmed-scraping
1c1c78001eced50a01601949d70ad0d9b1784f37
[ "MIT" ]
null
null
null
from app import app if __name__=='__main__': app.run('localhost', port='5000')
20.75
37
0.686747
12
83
4.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0.056338
0.144578
83
4
37
20.75
0.633803
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
82d6ea6b73e9d0a28163bf0f1d1a03681d423e5d
191
py
Python
tests/processdef/test_module.py
asyncee/pycamunda
f4834d224ff99fcf80874efeaedf68a8a2efa926
[ "MIT" ]
null
null
null
tests/processdef/test_module.py
asyncee/pycamunda
f4834d224ff99fcf80874efeaedf68a8a2efa926
[ "MIT" ]
null
null
null
tests/processdef/test_module.py
asyncee/pycamunda
f4834d224ff99fcf80874efeaedf68a8a2efa926
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- def test_all_contains_only_valid_names(): import pycamunda.processdef for name in pycamunda.processdef.__all__: getattr(pycamunda.processdef, name)
21.222222
45
0.717277
23
191
5.565217
0.73913
0.445313
0
0
0
0
0
0
0
0
0
0.006369
0.17801
191
8
46
23.875
0.808917
0.109948
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
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
1
0
0
0
0
0
0
0
4
82e95995186fc21444fe946377319792168dcfd2
170
py
Python
Chapter04/06_button_beep.py
PacktPublishing/MicroPython-Cookbook
ffd6aa15c303459570a89ba31b5bc734f05cb387
[ "MIT" ]
16
2019-07-01T16:24:22.000Z
2022-03-03T06:54:57.000Z
Chapter04/06_button_beep.py
ccwu0918/MicroPython-Cookbook
ffd6aa15c303459570a89ba31b5bc734f05cb387
[ "MIT" ]
null
null
null
Chapter04/06_button_beep.py
ccwu0918/MicroPython-Cookbook
ffd6aa15c303459570a89ba31b5bc734f05cb387
[ "MIT" ]
19
2019-04-17T08:30:12.000Z
2022-01-14T03:05:37.000Z
from adafruit_circuitplayground.express import cpx while True: if cpx.button_a: cpx.play_tone(500, 0.2) if cpx.button_b: cpx.play_tone(900, 0.2)
21.25
50
0.676471
28
170
3.928571
0.642857
0.090909
0.2
0
0
0
0
0
0
0
0
0.076336
0.229412
170
7
51
24.285714
0.763359
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7d67d740863bf634451ed4ca19c9d87eee39569c
137
py
Python
jetbot/apps/remotecamera.py
frank26080115/jetbot
19354e5f8b2e3e4853f7b197b5e2714502822c3d
[ "MIT" ]
null
null
null
jetbot/apps/remotecamera.py
frank26080115/jetbot
19354e5f8b2e3e4853f7b197b5e2714502822c3d
[ "MIT" ]
null
null
null
jetbot/apps/remotecamera.py
frank26080115/jetbot
19354e5f8b2e3e4853f7b197b5e2714502822c3d
[ "MIT" ]
null
null
null
import jetbot.apps.remotecontrol as remotecontrol if __name__ == '__main__': remotecontrol.run(remotecontrol=False, cameracapture=True)
34.25
59
0.824818
15
137
7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.080292
137
4
59
34.25
0.833333
0
0
0
0
0
0.057971
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
7d69bc1844b9c8dd5ea7945ef6e2323893ccd3b7
140
py
Python
reservations/apps.py
luisza/vcl_django
43d04f7951cb8805502e51f6f6360c7ec63215cc
[ "Apache-2.0" ]
null
null
null
reservations/apps.py
luisza/vcl_django
43d04f7951cb8805502e51f6f6360c7ec63215cc
[ "Apache-2.0" ]
null
null
null
reservations/apps.py
luisza/vcl_django
43d04f7951cb8805502e51f6f6360c7ec63215cc
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class ReservationsConfig(AppConfig): name = 'reservations'
17.5
39
0.807143
15
140
7.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.142857
140
7
40
20
0.9
0
0
0
0
0
0.085714
0
0
0
0
0
0
1
0
false
0
0.5
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
1
0
0
4
7d95dca6bf4f5e023729debbc9fdf7d458eac044
1,726
py
Python
project_euler/solutions/problem_8.py
cryvate/project-euler
6ed13880d7916c34554559f5f71662a863735eda
[ "MIT" ]
null
null
null
project_euler/solutions/problem_8.py
cryvate/project-euler
6ed13880d7916c34554559f5f71662a863735eda
[ "MIT" ]
9
2017-02-20T23:41:40.000Z
2017-04-16T15:36:54.000Z
project_euler/solutions/problem_8.py
cryvate/project-euler
6ed13880d7916c34554559f5f71662a863735eda
[ "MIT" ]
null
null
null
problem_string = '73167176531330624919225119674426574742355349194934'\ '96983520312774506326239578318016984801869478851843'\ '85861560789112949495459501737958331952853208805511'\ '12540698747158523863050715693290963295227443043557'\ '668966489504452445...
49.314286
70
0.685979
61
1,726
19.377049
0.655738
0.021997
0
0
0
0
0
0
0
0
0
0.787618
0.260718
1,726
34
71
50.764706
0.138715
0
0
0
0
0
0.579374
0.579374
0
0
0
0
0
1
0.034483
false
0
0
0
0.068966
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
7de4193d8bbbd38fd5ca58cc36ba0a91c62d5661
73
py
Python
src/FLANNEL/models/proposedModels/models/__init__.py
mannbiher/DeepLearningForHealthCareProject
4692031591bd88c489c9b905e7c340ac76a5366b
[ "MIT" ]
1
2021-09-15T04:59:05.000Z
2021-09-15T04:59:05.000Z
FLANNEL/FLANNEL/models/proposedModels/models/__init__.py
tlbybee/COVID-Classification
0c26a79ff1d2d79cb84b5e155dc611aef1549fe2
[ "MIT" ]
14
2021-05-10T18:00:58.000Z
2021-05-12T00:29:41.000Z
FLANNEL/FLANNEL/models/proposedModels/models/__init__.py
tlbybee/COVID-Classification
0c26a79ff1d2d79cb84b5e155dc611aef1549fe2
[ "MIT" ]
null
null
null
from __future__ import absolute_import from .ensemble_learning import *
18.25
38
0.849315
9
73
6.222222
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.123288
73
3
39
24.333333
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
0
0
4
7deb9918d619ecb68270313f484a2d49d74e88c4
260
py
Python
emu/rom.py
en0/emu
3891184a17e8f827acba48f523f270842a1dc025
[ "MIT" ]
null
null
null
emu/rom.py
en0/emu
3891184a17e8f827acba48f523f270842a1dc025
[ "MIT" ]
null
null
null
emu/rom.py
en0/emu
3891184a17e8f827acba48f523f270842a1dc025
[ "MIT" ]
null
null
null
from typing import List from emu.contract import IRom class Rom(IRom): def __init__(self, data: List[int]): self._data = data def get(self, offset) -> int: ## TODO: Deal with memory reference error return self._data[offset]
20
49
0.646154
36
260
4.5
0.638889
0.148148
0
0
0
0
0
0
0
0
0
0
0.257692
260
12
50
21.666667
0.839378
0.146154
0
0
0
0
0
0
0
0
0
0.083333
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
8150ed23810d4da1debf503e729c4f2fe85b9f0b
178
py
Python
strings_12/check_if_a_string_has_unique_characters.py
njoroge33/py_learn
6ad55f37789045bc5c03f3dd668cf1ea497f4e84
[ "MIT" ]
null
null
null
strings_12/check_if_a_string_has_unique_characters.py
njoroge33/py_learn
6ad55f37789045bc5c03f3dd668cf1ea497f4e84
[ "MIT" ]
2
2019-04-15T06:29:55.000Z
2019-04-19T17:34:32.000Z
strings_12/check_if_a_string_has_unique_characters.py
njoroge33/py_learn
6ad55f37789045bc5c03f3dd668cf1ea497f4e84
[ "MIT" ]
1
2019-11-19T04:51:18.000Z
2019-11-19T04:51:18.000Z
# Write a program to check if a string has unique characters or not (ignore case) # for more info on this quiz, go to this url: http://www.programmr.com/unique-characters-string
89
95
0.764045
32
178
4.25
0.8125
0.235294
0
0
0
0
0
0
0
0
0
0
0.157303
178
2
95
89
0.906667
0.977528
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
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
4
816e2644ad859b97c4291394ada2d8f272c4c59e
512
py
Python
snorkel/slicing/__init__.py
melonwater211/snorkel
c5d00629e087130d1946bb6a85c58827790af425
[ "Apache-2.0" ]
2,906
2016-07-12T11:11:21.000Z
2019-08-12T20:38:19.000Z
snorkel/slicing/__init__.py
melonwater211/snorkel
c5d00629e087130d1946bb6a85c58827790af425
[ "Apache-2.0" ]
1,080
2016-07-12T21:07:22.000Z
2019-08-12T19:33:54.000Z
snorkel/slicing/__init__.py
melonwater211/snorkel
c5d00629e087130d1946bb6a85c58827790af425
[ "Apache-2.0" ]
609
2016-07-13T16:03:55.000Z
2019-08-08T17:47:54.000Z
"""Programmatic data set slicing: SF creation, monitoring utilities, and representation learning for slices.""" from .apply.core import PandasSFApplier, SFApplier # noqa: F401 from .modules.slice_combiner import SliceCombinerModule # noqa: F401 from .monitor import slice_dataframe # noqa: F401 from .sf.core import ...
56.888889
111
0.806641
64
512
6.3125
0.59375
0.118812
0.148515
0
0
0
0
0
0
0
0
0.040268
0.126953
512
8
112
64
0.863535
0.335938
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
81781c836820c9d47a64d7680224f6eaa55b1ff2
2,506
py
Python
tests/numbers_test.py
uceul/arabic-tacotron-tts
289ff54f91b77b0a352313bd62b5c4418c23786d
[ "MIT" ]
92
2018-10-14T14:33:52.000Z
2022-03-04T08:54:12.000Z
tests/numbers_test.py
CODE-BR3AKER/arabic-tacotron-tts
7e0f35389ae30a6329cf659f46749483be2917e6
[ "MIT" ]
17
2019-03-04T09:05:15.000Z
2022-02-16T08:41:49.000Z
tests/numbers_test.py
CODE-BR3AKER/arabic-tacotron-tts
7e0f35389ae30a6329cf659f46749483be2917e6
[ "MIT" ]
41
2018-10-31T13:41:33.000Z
2022-03-01T14:39:48.000Z
# from text.numbers import normalize_numbers # def test_normalize_numbers(): # assert normalize_numbers('1') == 'one' # assert normalize_numbers('15') == 'fifteen' # assert normalize_numbers('24') == 'twenty-four' # assert normalize_numbers('100') == 'one hundred' # assert normalize_numbers('101') == 'one h...
48.192308
97
0.69593
301
2,506
5.641196
0.312292
0.376914
0.492344
0.106007
0.142521
0
0
0
0
0
0
0.06
0.142059
2,506
51
98
49.137255
0.729302
0.962091
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
81784e4f0bd41fecd1f51541f1434f7387ab6624
79
py
Python
app.py
davidedelpapa/pydevenv
de3524f0a3d3a62dffd54e5154f02d1d6ec3046e
[ "Unlicense" ]
null
null
null
app.py
davidedelpapa/pydevenv
de3524f0a3d3a62dffd54e5154f02d1d6ec3046e
[ "Unlicense" ]
null
null
null
app.py
davidedelpapa/pydevenv
de3524f0a3d3a62dffd54e5154f02d1d6ec3046e
[ "Unlicense" ]
null
null
null
from app import hello if __name__ == "__main__": print(hello.say_hello())
15.8
28
0.696203
11
79
4.181818
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.177215
79
4
29
19.75
0.707692
0
0
0
0
0
0.101266
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
8198641d39ad66b90f4a88788716ab2ed2e605f0
94
py
Python
codes_auto/277.find-the-celebrity.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
codes_auto/277.find-the-celebrity.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
codes_auto/277.find-the-celebrity.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
# # @lc app=leetcode.cn id=277 lang=python3 # # [277] find-the-celebrity # None # @lc code=end
13.428571
41
0.670213
16
94
3.9375
0.875
0
0
0
0
0
0
0
0
0
0
0.0875
0.148936
94
7
42
13.428571
0.7
0.819149
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
4
819a058ae7f0331c6ea996860526d280aceac964
453
py
Python
run.py
StefanoGitHub/SampleApp
333c4ea8b3ec504ea2ebefe27e7ceeab49fccf0e
[ "MIT" ]
null
null
null
run.py
StefanoGitHub/SampleApp
333c4ea8b3ec504ea2ebefe27e7ceeab49fccf0e
[ "MIT" ]
null
null
null
run.py
StefanoGitHub/SampleApp
333c4ea8b3ec504ea2ebefe27e7ceeab49fccf0e
[ "MIT" ]
null
null
null
from samplesapp import app import os app.run(debug = True) # ------------------- # to run on Heroku # - create project: # $ heroku # - install the GrapheneDB add-on: # $ heroku addons:add graphenedb:chalk # - create Procfile with "web: python run.py" # ------------------- # app.secret_key = os.urand...
25.166667
73
0.596026
63
453
4.269841
0.571429
0.022305
0.022305
0
0
0
0
0
0
0
0
0.027322
0.192053
453
17
74
26.647059
0.70765
0.810155
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
81ab2d2215bd22a35b0ad1b78fdcea9c43dd58f7
3,453
py
Python
quidel/tests/test_geo_maps.py
benjaminysmith/covidcast-indicators
b1474cd68a1497166fefe4beffd4d5ff867b9a61
[ "MIT" ]
null
null
null
quidel/tests/test_geo_maps.py
benjaminysmith/covidcast-indicators
b1474cd68a1497166fefe4beffd4d5ff867b9a61
[ "MIT" ]
null
null
null
quidel/tests/test_geo_maps.py
benjaminysmith/covidcast-indicators
b1474cd68a1497166fefe4beffd4d5ff867b9a61
[ "MIT" ]
null
null
null
import pytest from os.path import join import pandas as pd import numpy as np from delphi_quidel.geo_maps import geo_map map_df = pd.read_csv( join("../static", "fips_prop_pop.csv"), dtype={"fips": int} ) class TestGeoMap: def test_county(self): df = pd.DataFrame( { ...
36.734043
80
0.494063
442
3,453
3.753394
0.205882
0.086799
0.115732
0.144665
0.740205
0.740205
0.688366
0.620856
0.620856
0.620856
0
0.223785
0.320591
3,453
93
81
37.129032
0.483376
0
0
0.422535
0
0
0.187373
0
0
0
0
0
0.253521
1
0.056338
false
0
0.070423
0
0.140845
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
81b32038acbd8abc7d535cbcb5a8d1ee573a0145
39
py
Python
speid/commands/__init__.py
OsvaldoRino/speid
b4725bdee4abc019d4c2de4517f67a28f18c91ab
[ "MIT" ]
22
2019-08-23T03:17:42.000Z
2022-03-17T21:28:06.000Z
speid/commands/__init__.py
cuenca-mx/speid
157a6f9a81e4f7a3a93765ebff940a01adf4c93a
[ "MIT" ]
268
2018-09-24T15:13:10.000Z
2022-03-30T17:06:39.000Z
speid/commands/__init__.py
OsvaldoRino/speid
b4725bdee4abc019d4c2de4517f67a28f18c91ab
[ "MIT" ]
8
2019-09-22T03:41:11.000Z
2022-01-24T22:16:51.000Z
__all__ = ['spei'] from . import spei
9.75
18
0.641026
5
39
4.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.205128
39
3
19
13
0.677419
0
0
0
0
0
0.102564
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
81c04b1a1de1c2ae655428ad10fdeae82109511f
224
py
Python
api/urls.py
caocmai/renting-out-space-v2
6a61b48cd3514e0fc6e287fb58e0709befdf6fbe
[ "MIT" ]
1
2019-12-14T03:08:56.000Z
2019-12-14T03:08:56.000Z
api/urls.py
caocmai/renting-out-space-v2
6a61b48cd3514e0fc6e287fb58e0709befdf6fbe
[ "MIT" ]
7
2019-12-17T21:26:30.000Z
2021-06-10T17:59:56.000Z
api/urls.py
caocmai/renting-out-space-v2
6a61b48cd3514e0fc6e287fb58e0709befdf6fbe
[ "MIT" ]
null
null
null
from django.urls import path from api.views import ListingList, ListingDetail urlpatterns = [ path('', ListingList.as_view(), name='listing_list'), path('<int:pk>', ListingDetail.as_view(), name='listing_detail') ]
28
68
0.723214
28
224
5.642857
0.642857
0.075949
0.126582
0.21519
0
0
0
0
0
0
0
0
0.125
224
8
69
28
0.806122
0
0
0
0
0
0.151111
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
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
4
c4cb513e73cd403691c8937af301626a58a084c6
109
py
Python
Python-Scripts/clock3/boot.py
j1fvandenbosch/Code-WorkSpace-Storage
939fdb864fd0df497ecb726cda5c1baca69c2da1
[ "MIT" ]
null
null
null
Python-Scripts/clock3/boot.py
j1fvandenbosch/Code-WorkSpace-Storage
939fdb864fd0df497ecb726cda5c1baca69c2da1
[ "MIT" ]
null
null
null
Python-Scripts/clock3/boot.py
j1fvandenbosch/Code-WorkSpace-Storage
939fdb864fd0df497ecb726cda5c1baca69c2da1
[ "MIT" ]
null
null
null
# This file is executed on every boot (including wake-boot from deepsleep) # notify print('RUN: boot.py')
15.571429
74
0.724771
17
109
4.647059
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.174312
109
6
75
18.166667
0.877778
0.724771
0
0
0
0
0.48
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
4
c4d000b5bde40b8bd2740ae001a5e81af4a9800e
395
py
Python
nfv/nfv-vim/nfv_vim/api/controllers/v1/orchestration/sw_update/__init__.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
null
null
null
nfv/nfv-vim/nfv_vim/api/controllers/v1/orchestration/sw_update/__init__.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
null
null
null
nfv/nfv-vim/nfv_vim/api/controllers/v1/orchestration/sw_update/__init__.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2015-2020 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # from nfv_vim.api.controllers.v1.orchestration.sw_update._fw_update import FwUpdateAPI # noqa: F401 from nfv_vim.api.controllers.v1.orchestration.sw_update._sw_patch import SwPatchAPI # noqa: F401 from nfv_vim.api.controller...
43.888889
101
0.805063
59
395
5.186441
0.542373
0.068627
0.098039
0.127451
0.526144
0.526144
0.526144
0.526144
0.526144
0.372549
0
0.061625
0.096203
395
8
102
49.375
0.795518
0.296203
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
c4d7ba41de4557668a52513c0b91db663d375112
392
py
Python
prob_mbrl/models/activations.py
joshholla/prob_mbrl
f905c5440fed41b8f36e7b2f3f7c340d3f0eb47a
[ "MIT" ]
null
null
null
prob_mbrl/models/activations.py
joshholla/prob_mbrl
f905c5440fed41b8f36e7b2f3f7c340d3f0eb47a
[ "MIT" ]
null
null
null
prob_mbrl/models/activations.py
joshholla/prob_mbrl
f905c5440fed41b8f36e7b2f3f7c340d3f0eb47a
[ "MIT" ]
null
null
null
import torch class Swish(torch.nn.Module): def forward(self, x): return x*x.sigmoid() class Sin(torch.nn.Module): def forward(self, x): return x.sin() class SinLU(torch.nn.Module): def __init__(self): super(SinLU, self).__init__() self.thr = torch.nn.Threshold(0, 0) ...
18.666667
47
0.59949
58
392
3.913793
0.327586
0.123348
0.171806
0.211454
0.400881
0.30837
0.30837
0.30837
0.30837
0
0
0.006757
0.244898
392
20
48
19.6
0.760135
0
0
0.230769
0
0
0
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.230769
0.846154
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
c4f4b9c2e114b1c596fa1c525fc7bfe965973a20
76
py
Python
wikipedia/__init__.py
davidedmundson/Wikipedia
0b6c67d152e1a4a2c28d9793dda674213b0071d8
[ "MIT" ]
1
2020-05-06T08:17:23.000Z
2020-05-06T08:17:23.000Z
wikipedia/__init__.py
jhoelzl/Wikipedia
9d4459fd64ab6c0b93eb706292d827488532db0c
[ "MIT" ]
null
null
null
wikipedia/__init__.py
jhoelzl/Wikipedia
9d4459fd64ab6c0b93eb706292d827488532db0c
[ "MIT" ]
null
null
null
from .wikipedia import * from .exceptions import * __version__ = (1, 4, 1)
15.2
25
0.697368
10
76
4.9
0.7
0
0
0
0
0
0
0
0
0
0
0.048387
0.184211
76
4
26
19
0.741935
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
c4f6afe5594880aa007dbf35c572a4d620679427
88
py
Python
beacons/portal/__init__.py
rajatguptarg/beacons
cef2a135c7bb244413cf6d12d423e24ebb373741
[ "MIT" ]
1
2016-12-07T02:06:04.000Z
2016-12-07T02:06:04.000Z
beacons/portal/__init__.py
rajatguptarg/beacons
cef2a135c7bb244413cf6d12d423e24ebb373741
[ "MIT" ]
29
2015-12-15T09:10:17.000Z
2021-06-01T21:47:22.000Z
beacons/portal/__init__.py
rajatguptarg/beacons
cef2a135c7bb244413cf6d12d423e24ebb373741
[ "MIT" ]
4
2015-12-14T12:09:02.000Z
2015-12-30T09:28:18.000Z
import controller import models import view __all__ = ['controller', 'models', 'view']
14.666667
42
0.738636
10
88
6.1
0.5
0
0
0
0
0
0
0
0
0
0
0
0.136364
88
5
43
17.6
0.802632
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0.75
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
0
0
0
1
0
1
0
0
4
c4f72f80606845bdf0cdd3831f661192a30e6f6b
541
py
Python
conference/messages.py
zevaverbach/epcon
8352c030ee0d4197f559cdb58a54ee45c7a4471a
[ "BSD-2-Clause" ]
null
null
null
conference/messages.py
zevaverbach/epcon
8352c030ee0d4197f559cdb58a54ee45c7a4471a
[ "BSD-2-Clause" ]
null
null
null
conference/messages.py
zevaverbach/epcon
8352c030ee0d4197f559cdb58a54ee45c7a4471a
[ "BSD-2-Clause" ]
null
null
null
from django.contrib.messages.storage.cookie import CookieStorage from django.contrib.messages.storage.session import SessionStorage from django.contrib.messages.storage.fallback import FallbackStorage class CustomCookieStorage(CookieStorage): """ Storing messages in a different cookie to drop all preceeding m...
33.8125
75
0.802218
58
541
7.448276
0.603448
0.069444
0.118056
0.173611
0.222222
0
0
0
0
0
0
0.017094
0.134935
541
15
76
36.066667
0.905983
0.242144
0
0
0
0
0.028205
0
0
0
0
0.066667
0
1
0
false
0
0.428571
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
4
c4f8369243a28403eb502c8bab0dd7302190b846
140
py
Python
task8/SimpleDecorator.py
p0l0satik/pyprak
3f1f11bb622476e225db09e3dcc9d9ee6397b654
[ "Apache-2.0" ]
null
null
null
task8/SimpleDecorator.py
p0l0satik/pyprak
3f1f11bb622476e225db09e3dcc9d9ee6397b654
[ "Apache-2.0" ]
null
null
null
task8/SimpleDecorator.py
p0l0satik/pyprak
3f1f11bb622476e225db09e3dcc9d9ee6397b654
[ "Apache-2.0" ]
null
null
null
def nonify(func): def newAnB(*args, **arg): res = func(*args, **arg) return None if not res else res return newAnB
20
39
0.571429
20
140
4
0.6
0.175
0
0
0
0
0
0
0
0
0
0
0.307143
140
6
40
23.333333
0.824742
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.8
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
1
0
0
4
c4f9578c8b17129eb2e5ae870a17180dacf685b3
12,414
py
Python
build/ARM/python/swig/debug.py
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/swig/debug.py
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
build/ARM/python/swig/debug.py
Jakgn/gem5_test
0ba7cc5213cf513cf205af7fc995cf679ebc1a3f
[ "BSD-3-Clause" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 2.0.11 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2,6,0): def swig_import_helper(): from os.path impo...
38.433437
107
0.736185
1,527
12,414
5.56647
0.134905
0.108706
0.063529
0.053647
0.350941
0.229882
0.222588
0.188235
0.169882
0.161176
0
0.001438
0.159497
12,414
322
108
38.552795
0.813207
0.018527
0
0.1875
1
0
0.032444
0
0
0
0
0
0
1
0.363971
false
0.007353
0.033088
0.316176
0.643382
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
1
0
0
0
1
1
0
0
4
c4fdf430fc37d16fc1d3491d6f7d28f6b875a20e
73
py
Python
Week1/main.py
EricCharnesky/CIS2001-Winter2021
a633e32026726f985eea1fe7dd0da3497fff45aa
[ "MIT" ]
3
2021-02-04T22:56:48.000Z
2021-07-17T05:47:24.000Z
Week1/main.py
EricCharnesky/CIS2001-Winter2021
a633e32026726f985eea1fe7dd0da3497fff45aa
[ "MIT" ]
null
null
null
Week1/main.py
EricCharnesky/CIS2001-Winter2021
a633e32026726f985eea1fe7dd0da3497fff45aa
[ "MIT" ]
1
2021-02-07T01:40:24.000Z
2021-02-07T01:40:24.000Z
print("Hello world!") print("Happy Thursday!") print("Is it Friday yet?")
24.333333
26
0.69863
11
73
4.636364
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.09589
73
3
26
24.333333
0.772727
0
0
0
0
0
0.594595
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
4
f208dbb18a3510f0ca3284567a4ffb8d3bba06d2
1,614
py
Python
cana/datasets/bools.py
leonardogian/CANA
f070d6da5358f17f55eb80d6bc9185afaee91142
[ "MIT" ]
1
2021-01-08T22:04:05.000Z
2021-01-08T22:04:05.000Z
cana/datasets/bools.py
leonardogian/CANA
f070d6da5358f17f55eb80d6bc9185afaee91142
[ "MIT" ]
null
null
null
cana/datasets/bools.py
leonardogian/CANA
f070d6da5358f17f55eb80d6bc9185afaee91142
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Boolean Nodes ================================= Commonly used boolean node functions. """ # Copyright (C) 2017 by # Alex Gates <ajgates42@gmail.com> # Rion Brattig Correia <rionbr@gmail.com> # All rights reserved. # MIT license. from .. boolean_network import BooleanNode def AN...
13.229508
80
0.574349
252
1,614
3.611111
0.261905
0.01978
0.161538
0.207692
0.574725
0.556044
0.556044
0.556044
0.532967
0.410989
0
0.150162
0.236679
1,614
121
81
13.338843
0.588474
0.658612
0
0
0
0
0.063953
0
0
0
0
0
0
1
0.466667
true
0
0.066667
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
4
f2114994260955ffe0107915cd7295768da1e94e
95
py
Python
symkalaweb/apps.py
geoffrey-p-morgan/symkala
4127232d10797a95f21b1693c50d5875ca778112
[ "Apache-2.0" ]
null
null
null
symkalaweb/apps.py
geoffrey-p-morgan/symkala
4127232d10797a95f21b1693c50d5875ca778112
[ "Apache-2.0" ]
null
null
null
symkalaweb/apps.py
geoffrey-p-morgan/symkala
4127232d10797a95f21b1693c50d5875ca778112
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class SymkalawebConfig(AppConfig): name = 'symkalaweb'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
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
1
0
0
4
f215c08b53ffb2bfe859117ca6871a7d86290687
1,056
py
Python
openapi-python-client/test/test_task_identity_link_api.py
yanavasileva/camunda-bpm-examples
051f8f28c62845e68ce4059ab64264c5a0bdc009
[ "Apache-2.0" ]
null
null
null
openapi-python-client/test/test_task_identity_link_api.py
yanavasileva/camunda-bpm-examples
051f8f28c62845e68ce4059ab64264c5a0bdc009
[ "Apache-2.0" ]
null
null
null
openapi-python-client/test/test_task_identity_link_api.py
yanavasileva/camunda-bpm-examples
051f8f28c62845e68ce4059ab64264c5a0bdc009
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Camunda BPM REST API OpenApi Spec for Camunda BPM REST API. # noqa: E501 The version of the OpenAPI document: 7.13.0 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import openapi_client from openapi_client.api.task_iden...
20.307692
96
0.683712
130
1,056
5.261538
0.415385
0.105263
0.048246
0.065789
0.248538
0.181287
0.102339
0
0
0
0
0.017327
0.234848
1,056
51
97
20.705882
0.829208
0.347538
0
0.222222
1
0
0.012442
0
0
0
0
0
0
1
0.277778
false
0.222222
0.277778
0
0.611111
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
1
0
1
0
0
1
0
0
4
1ef1664ffd5f5f954ca8d2fd63927bce83ce2b36
114
py
Python
app/domain/user.py
yntonfon/dashboard
287e7b2d895916102236243c1051da1e5ee3756e
[ "MIT" ]
null
null
null
app/domain/user.py
yntonfon/dashboard
287e7b2d895916102236243c1051da1e5ee3756e
[ "MIT" ]
null
null
null
app/domain/user.py
yntonfon/dashboard
287e7b2d895916102236243c1051da1e5ee3756e
[ "MIT" ]
null
null
null
class UserDomain: def is_active(self, user): return user.email_confirmed user_domain = UserDomain()
16.285714
35
0.710526
14
114
5.571429
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.210526
114
6
36
19
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
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
1
0
0
0
4
1efba0c5489c4a17513fea2dfa8a71c870307295
302
py
Python
gofri/lib/http/filter.py
ThomasKenyeres/Gofri
155fef1714ea71c35cf33dd926cad819e8cee042
[ "MIT" ]
null
null
null
gofri/lib/http/filter.py
ThomasKenyeres/Gofri
155fef1714ea71c35cf33dd926cad819e8cee042
[ "MIT" ]
null
null
null
gofri/lib/http/filter.py
ThomasKenyeres/Gofri
155fef1714ea71c35cf33dd926cad819e8cee042
[ "MIT" ]
null
null
null
FILTERS = [] ENDP_COUNT = 0 class Filter(object): def __init__(self): self.urls = [] self.filter_all = False self.order = 0 def filter(self, request, response): pass def _continue(self, request, response): return {"request": request, "response": response}
23.230769
57
0.615894
35
302
5.114286
0.542857
0.251397
0.212291
0
0
0
0
0
0
0
0
0.008969
0.261589
302
13
57
23.230769
0.793722
0
0
0
0
0
0.049505
0
0
0
0
0
0
1
0.3
false
0.1
0
0.1
0.5
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
1
0
0
0
0
0
4
48325abefe6fad99d15ced9146d6dd522657ff62
468
py
Python
courses/admin.py
Aga-Ma/django-projects-e-learning-portal
b565ded17947b54e96c73d249d6f9ad7a936ec7d
[ "MIT" ]
16
2020-03-27T12:43:58.000Z
2022-01-01T23:39:46.000Z
courses/admin.py
Aga-Ma/django-projects-e-learning-portal
b565ded17947b54e96c73d249d6f9ad7a936ec7d
[ "MIT" ]
9
2020-02-02T20:49:10.000Z
2021-09-22T17:38:21.000Z
courses/admin.py
Frank-hooder/elearn-educa
451aca1676836507cd5ca71d611ce9307872b348
[ "MIT" ]
16
2020-02-27T07:36:24.000Z
2021-09-08T08:35:42.000Z
from django.contrib import admin from courses.models import Course, Section, Question, Answer class CourseAdmin(admin.ModelAdmin): pass admin.site.register(Course, CourseAdmin) class SectionAdmin(admin.ModelAdmin): pass admin.site.register(Section, SectionAdmin) class QuestionAdmin(admin.ModelAdmin):...
14.625
60
0.775641
53
468
6.849057
0.377358
0.165289
0.209366
0.264463
0.396694
0.396694
0
0
0
0
0
0
0.136752
468
31
61
15.096774
0.898515
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
true
0.285714
0.142857
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
483980be8f7f9ed04d1ac0186be767db5ed19156
10,779
py
Python
corehq/pillows/mappings/reportcase_mapping.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2017-02-10T03:14:51.000Z
2017-02-10T03:14:51.000Z
corehq/pillows/mappings/reportcase_mapping.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2022-03-12T01:03:25.000Z
2022-03-12T01:03:25.000Z
corehq/pillows/mappings/reportcase_mapping.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
REPORT_CASE_INDEX="report_cases_czei39du507m9mmpqk3y01x72a3ux4p0" REPORT_CASE_MAPPING={'_meta': {'comment': '2013-11-05 dmyung', 'created': None}, 'date_detection': False, 'date_formats': ['yyyy-MM-dd', "yyyy-MM-dd'T'HH:mm:ssZZ", "yyyy-MM-dd'T'HH:mm:ss.SSSSSS", ...
86.232
374
0.358568
1,070
10,779
3.530841
0.088785
0.101641
0.186342
0.152462
0.772102
0.741398
0.738751
0.669666
0.669666
0.669666
0
0.004149
0.463308
10,779
124
375
86.927419
0.64892
0
0
0.504065
0
0.056911
0.423787
0.224232
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
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
4
483e0d8854ea263e9f25056831763f830fcfe012
111
py
Python
Diena_1_4_thonny/enumerate2.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
8
2020-08-31T16:10:54.000Z
2021-11-24T06:37:37.000Z
Diena_1_4_thonny/enumerate2.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
8
2021-06-08T22:30:29.000Z
2022-03-12T00:48:55.000Z
Diena_1_4_thonny/enumerate2.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
12
2020-09-28T17:06:52.000Z
2022-02-17T12:12:46.000Z
# enumerate my_food = "kartupelis" for i, c in enumerate(my_food,start=1001): print(f"Char no. {i} is {c}")
27.75
42
0.666667
20
111
3.6
0.75
0.305556
0.416667
0
0
0
0
0
0
0
0
0.043011
0.162162
111
4
43
27.75
0.731183
0.081081
0
0
0
0
0.287129
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
48594f5f66274e4bd30689338227161e13bd7fc4
476
py
Python
weasyl/compat.py
sl1-1/weasyl
d4f6bf3e33b85a2289a451d95d5b90ff24f5d539
[ "Apache-2.0" ]
1
2019-02-15T04:21:48.000Z
2019-02-15T04:21:48.000Z
weasyl/compat.py
sl1-1/weasyl
d4f6bf3e33b85a2289a451d95d5b90ff24f5d539
[ "Apache-2.0" ]
254
2017-12-23T19:36:43.000Z
2020-04-14T21:46:13.000Z
weasyl/compat.py
greysteil/wzl-test
0f863b9e7c58e5861437618bd590126ca323140c
[ "Apache-2.0" ]
1
2017-12-23T18:42:16.000Z
2017-12-23T18:42:16.000Z
from __future__ import absolute_import import posixpath # TODO: Delete this. Use the real request. Need to replace 'path_for' in templates. class FakePyramidRequest(object): def resource_path(self, rsrc, *parts): if rsrc is not None: raise NotImplementedError("can't do resource_path for non-N...
31.733333
92
0.686975
65
476
4.876923
0.676923
0.066246
0
0
0
0
0
0
0
0
0
0
0.210084
476
14
93
34
0.843085
0.170168
0
0
0
0
0.117048
0
0
0
0
0.071429
0
1
0.222222
false
0
0.222222
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
4
487ce1b31f73d849d4a7f3c9f344c4bb6e389873
165
py
Python
python/blazingdb/messages/blazingdb/protocol/io/DriverType.py
HubBucket-Team/blazingdb-protocol
bf3cdc83b60d30cecb6b906f11d8a194e73119c1
[ "Apache-2.0" ]
1
2019-08-13T17:17:54.000Z
2019-08-13T17:17:54.000Z
python/blazingdb/messages/blazingdb/protocol/io/DriverType.py
VonRosenchild/blazingdb-protocol
bf3cdc83b60d30cecb6b906f11d8a194e73119c1
[ "Apache-2.0" ]
null
null
null
python/blazingdb/messages/blazingdb/protocol/io/DriverType.py
VonRosenchild/blazingdb-protocol
bf3cdc83b60d30cecb6b906f11d8a194e73119c1
[ "Apache-2.0" ]
1
2019-08-13T17:17:59.000Z
2019-08-13T17:17:59.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: io class DriverType(object): UNDEFINED = 0 LIBHDFS = 1 LIBHDFS3 = 2
16.5
68
0.70303
20
165
5.8
1
0
0
0
0
0
0
0
0
0
0
0.031746
0.236364
165
9
69
18.333333
0.888889
0.484848
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
6f85723cc93c815030e867d7ac9c1b55b95976fd
653
py
Python
frontends/pytorch/test/builder/get_registered_ops.py
cathyzhyi/mlir-npcomp
79a3f639bfb449ba1409ff6dff161badf5a11b44
[ "Apache-2.0" ]
null
null
null
frontends/pytorch/test/builder/get_registered_ops.py
cathyzhyi/mlir-npcomp
79a3f639bfb449ba1409ff6dff161badf5a11b44
[ "Apache-2.0" ]
6
2020-10-21T18:18:10.000Z
2021-04-02T20:38:28.000Z
frontends/pytorch/test/builder/get_registered_ops.py
cathyzhyi/mlir-npcomp
79a3f639bfb449ba1409ff6dff161badf5a11b44
[ "Apache-2.0" ]
null
null
null
# -*- Python -*- # This file is licensed under a pytorch-style license # See frontends/pytorch/LICENSE for license information. # RUN: %PYTHON %s | FileCheck %s import _torch_mlir # This check is just for a built-in op that is unlikely to change (and is # otherwise insignificant). # CHECK: {'name': ('aten::mul', 'Ten...
54.416667
296
0.656968
90
653
4.666667
0.6
0.071429
0.114286
0.157143
0
0
0
0
0
0
0
0
0.130168
653
11
297
59.363636
0.739437
0.834609
0
0
0
0
0.04
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
4
6fb1625fa6741440e2af98fac2a01648c2481bf0
121
py
Python
ee/clickhouse/sql/cohort.py
zegl/posthog
62846fd565e9eb6ff299bb81dd3b91f219bd0eeb
[ "MIT" ]
1
2021-11-13T15:47:23.000Z
2021-11-13T15:47:23.000Z
ee/clickhouse/sql/cohort.py
zegl/posthog
62846fd565e9eb6ff299bb81dd3b91f219bd0eeb
[ "MIT" ]
1
2022-03-20T12:09:26.000Z
2022-03-20T12:09:26.000Z
ee/clickhouse/sql/cohort.py
zegl/posthog
62846fd565e9eb6ff299bb81dd3b91f219bd0eeb
[ "MIT" ]
4
2021-02-16T20:39:01.000Z
2022-03-19T17:00:05.000Z
CALCULATE_COHORT_PEOPLE_SQL = """ SELECT distinct_id FROM person_distinct_id where {query} AND team_id = %(team_id)s """
30.25
82
0.77686
19
121
4.526316
0.736842
0.232558
0
0
0
0
0
0
0
0
0
0
0.115702
121
3
83
40.333333
0.803738
0
0
0
0
0
0.694215
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6fb1c8b7f66e85cf9656bcd1d20d4d911152960d
2,464
py
Python
Vitis-AI-Quantizer/vai_q_tensorflow/tensorflow/contrib/decent_q/__init__.py
dendisuhubdy/Vitis-AI
524f65224c52314155dafc011d488ed30e458fcb
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tools/Vitis-AI-Quantizer/vai_q_tensorflow1.x/tensorflow/contrib/decent_q/__init__.py
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tools/Vitis-AI-Quantizer/vai_q_tensorflow1.x/tensorflow/contrib/decent_q/__init__.py
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
# Copyright 2019 Xilinx Inc. # # 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 writin...
53.565217
95
0.861607
334
2,464
6.155689
0.305389
0.105545
0.224708
0.288911
0.543288
0.529669
0.496595
0.496595
0.496595
0.167315
0
0.003549
0.085227
2,464
45
96
54.755556
0.908607
0.230519
0
0.16
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.04
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
1
0
1
0
0
0
0
4
6fb89530285072d9bca592f70b226bd2298d34d1
237
py
Python
tape/task_models/FreezeWeights.py
nickbhat/tape-1
96778d1a3bb35acf966c6b32b4df1d738fa19ffd
[ "MIT" ]
42
2019-12-09T12:44:45.000Z
2022-03-13T19:46:41.000Z
tape/task_models/FreezeWeights.py
nickbhat/tape-1
96778d1a3bb35acf966c6b32b4df1d738fa19ffd
[ "MIT" ]
11
2019-12-16T08:59:56.000Z
2022-01-26T21:13:25.000Z
tape/task_models/FreezeWeights.py
nickbhat/tape-1
96778d1a3bb35acf966c6b32b4df1d738fa19ffd
[ "MIT" ]
7
2019-12-16T09:58:42.000Z
2020-12-04T06:58:19.000Z
import tensorflow.keras.backend as K from tensorflow.keras.layers import Layer class FreezeWeights(Layer): def call(self, inputs): inputs['encoder_output'] = K.stop_gradient(inputs['encoder_output']) return inputs
23.7
76
0.729958
30
237
5.666667
0.666667
0.176471
0.223529
0
0
0
0
0
0
0
0
0
0.172996
237
9
77
26.333333
0.867347
0
0
0
0
0
0.118143
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
6fc0990f2e2e83f5382a5943311e346cf6d7d709
41
py
Python
mamonsu/lib/senders/__init__.py
dan-aksenov/mamonsu
c4822b48974e870af91910515fd7f11e4b8b41b3
[ "BSD-3-Clause" ]
188
2016-01-31T09:05:59.000Z
2022-03-22T16:49:12.000Z
mamonsu/lib/senders/__init__.py
dan-aksenov/mamonsu
c4822b48974e870af91910515fd7f11e4b8b41b3
[ "BSD-3-Clause" ]
162
2016-02-02T13:49:14.000Z
2022-02-22T08:45:42.000Z
mamonsu/lib/senders/__init__.py
dan-aksenov/mamonsu
c4822b48974e870af91910515fd7f11e4b8b41b3
[ "BSD-3-Clause" ]
46
2016-01-31T21:23:37.000Z
2022-02-07T10:59:54.000Z
__all__ = ['zbx', 'log'] from . import *
13.666667
24
0.560976
5
41
3.8
1
0
0
0
0
0
0
0
0
0
0
0
0.195122
41
2
25
20.5
0.575758
0
0
0
0
0
0.146341
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
6fcdbfa698aedb39eea3d016f169db3d9d2cb349
1,454
py
Python
encuestas/views.py
Leoguzmand/crud-django
d01920182bcff4dd94d25ee708357c314d7d77d1
[ "MIT" ]
1
2021-07-19T17:55:17.000Z
2021-07-19T17:55:17.000Z
encuestas/views.py
Leoguzmand/crud-django
d01920182bcff4dd94d25ee708357c314d7d77d1
[ "MIT" ]
null
null
null
encuestas/views.py
Leoguzmand/crud-django
d01920182bcff4dd94d25ee708357c314d7d77d1
[ "MIT" ]
2
2021-07-19T02:15:21.000Z
2021-07-19T16:14:15.000Z
from django.shortcuts import render from django.http import HttpResponse from .models import User # Create your views here. def jhonathan(request): return HttpResponse("Respuesta creada por Jhonathan") def miguel(request): return HttpResponse("Respuesta creada por Miguel Royett") def gaston(request): re...
24.644068
83
0.671939
184
1,454
5.309783
0.38587
0.06653
0.102354
0.139202
0.24565
0.24565
0.069601
0.069601
0.069601
0.069601
0
0.00361
0.237964
1,454
58
84
25.068966
0.878159
0.257221
0
0.068966
0
0
0.215023
0
0
0
0
0
0
1
0.275862
false
0.068966
0.103448
0.172414
0.586207
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
6fe91ff28b7e87e8ece7e045270e88a41799863d
482
py
Python
mundo1/aula07g.py
dilsonm/CeV
8043be36b2da187065691d23ed5cb40fd65f806f
[ "MIT" ]
null
null
null
mundo1/aula07g.py
dilsonm/CeV
8043be36b2da187065691d23ed5cb40fd65f806f
[ "MIT" ]
null
null
null
mundo1/aula07g.py
dilsonm/CeV
8043be36b2da187065691d23ed5cb40fd65f806f
[ "MIT" ]
null
null
null
#Leia um numero inteiro e monte sua tabuada n1 = int(input('Digite um numero inteiro: ')) print('Tabuada do numero : '.format(n1)) print(' 1 x {} = {}'.format(n1, n1*1)) print(' 2 x {} = {}'.format(n1, n1*2)) print(' 3 x {} = {}'.format(n1, n1*3)) print(' 4 x {} = {}'.format(n1, n1*4)) print(' 5 x {} = {}'.format(n1, n...
37.076923
45
0.53112
84
482
3.047619
0.297619
0.3125
0.316406
0.386719
0
0
0
0
0
0
0
0.095238
0.172199
482
12
46
40.166667
0.546366
0.087137
0
0
0
0
0.350797
0
0
0
0
0
0
1
0
false
0
0
0
0
0.909091
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
1
0
4
6ff9ee6d419a83d363c18b4969fd89ff28852a57
123
py
Python
dispike/register/models/__init__.py
Squidtoon99/dispike
db4b1a12268afcc87a96003923e6f56139872f0e
[ "MIT" ]
null
null
null
dispike/register/models/__init__.py
Squidtoon99/dispike
db4b1a12268afcc87a96003923e6f56139872f0e
[ "MIT" ]
null
null
null
dispike/register/models/__init__.py
Squidtoon99/dispike
db4b1a12268afcc87a96003923e6f56139872f0e
[ "MIT" ]
null
null
null
from .options import ( DiscordCommand, CommandChoice, CommandOption, SubcommandOption, CommandTypes, )
15.375
22
0.691057
8
123
10.625
1
0
0
0
0
0
0
0
0
0
0
0
0.243902
123
7
23
17.571429
0.913978
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
6ffa85619dca5f4edc308180ad1b2f4f3dbd309d
2,999
py
Python
locker.py
Brayooh/password-locker
497efbab28b5d31562350a22739aaa0fc566e616
[ "MIT" ]
null
null
null
locker.py
Brayooh/password-locker
497efbab28b5d31562350a22739aaa0fc566e616
[ "MIT" ]
null
null
null
locker.py
Brayooh/password-locker
497efbab28b5d31562350a22739aaa0fc566e616
[ "MIT" ]
null
null
null
import pyperclip import random class Credential: """ Class that generates new instance of user's credentials """ credentials_list = [] def __init__(self, view_password, account, login, password): self.view_password = view_password self.account = account self.login = login...
27.018018
94
0.606202
331
2,999
5.374622
0.21148
0.05059
0.038224
0.023609
0.340641
0.263069
0.147274
0.102305
0.073075
0.073075
0
0
0.333111
2,999
110
95
27.263636
0.8895
0.36879
0
0.377778
1
0
0
0
0
0
0
0
0
1
0.222222
false
0.133333
0.044444
0
0.511111
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
1
0
1
0
0
1
0
0
4
82eaea6be91ec691e37013811c389046824f8821
65
py
Python
zerovl/core/optimizer/builder.py
zerovl/ZeroVL
b48794e74fed0f80adf5fa3010481064411c4182
[ "MIT" ]
14
2022-01-19T08:08:29.000Z
2022-03-10T05:55:36.000Z
zerovl/core/optimizer/builder.py
zerovl/ZeroVL
b48794e74fed0f80adf5fa3010481064411c4182
[ "MIT" ]
2
2022-02-25T14:35:47.000Z
2022-03-01T03:11:13.000Z
zerovl/core/optimizer/builder.py
zerovl/ZeroVL
b48794e74fed0f80adf5fa3010481064411c4182
[ "MIT" ]
3
2022-02-09T01:23:11.000Z
2022-02-15T11:45:30.000Z
from zerovl.utils import Registry LR = Registry('LR scheduler')
16.25
33
0.769231
9
65
5.555556
0.777778
0.4
0
0
0
0
0
0
0
0
0
0
0.138462
65
3
34
21.666667
0.892857
0
0
0
0
0
0.184615
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
82f26892f70ea8956090bdd5b5e1b0feaeb76d6d
48
py
Python
py200_062.py
JaeGyu/PythonEx_1
e67053db6ca7431c3dd66351c190c53229e3f141
[ "MIT" ]
null
null
null
py200_062.py
JaeGyu/PythonEx_1
e67053db6ca7431c3dd66351c190c53229e3f141
[ "MIT" ]
null
null
null
py200_062.py
JaeGyu/PythonEx_1
e67053db6ca7431c3dd66351c190c53229e3f141
[ "MIT" ]
null
null
null
a = 100 b = 3 print(a % b) print(divmod(a, b))
8
19
0.541667
11
48
2.363636
0.545455
0.153846
0
0
0
0
0
0
0
0
0
0.111111
0.25
48
5
20
9.6
0.611111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
4
d20eea55d8f06a0e5f4a4ed9581847ae1dc42f0c
20
py
Python
Copycat.py
IsratIJK/Toph-Problem-Solve
95ca634eb778b15c9fa13662ec1604de9fc3225b
[ "Apache-2.0" ]
null
null
null
Copycat.py
IsratIJK/Toph-Problem-Solve
95ca634eb778b15c9fa13662ec1604de9fc3225b
[ "Apache-2.0" ]
null
null
null
Copycat.py
IsratIJK/Toph-Problem-Solve
95ca634eb778b15c9fa13662ec1604de9fc3225b
[ "Apache-2.0" ]
null
null
null
n = input() print(n)
10
11
0.6
4
20
3
0.75
0
0
0
0
0
0
0
0
0
0
0
0.15
20
2
12
10
0.705882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
4
d21e050ae1ff4c267bc5d4e2cad30f4b817ed353
34
py
Python
nssrc/com/citrix/netscaler/nitro/resource/config/router/__init__.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
2
2020-08-24T18:04:22.000Z
2020-08-24T18:04:47.000Z
nssrc/com/citrix/netscaler/nitro/resource/config/router/__init__.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
1
2017-01-20T22:56:58.000Z
2017-01-20T22:56:58.000Z
nssrc/com/citrix/netscaler/nitro/resource/config/router/__init__.py
benfinke/ns_python
d651d7aa01d7dc63c1cd435c7b3314d7f5b26659
[ "Apache-2.0" ]
6
2015-04-21T13:14:08.000Z
2020-12-03T07:27:52.000Z
__all__ = ['routerdynamicrouting']
34
34
0.794118
2
34
11.5
1
0
0
0
0
0
0
0
0
0
0
0
0.058824
34
1
34
34
0.71875
0
0
0
0
0
0.571429
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d22090320ce0c4f87ab7b7bc1f37dd5544b62f83
100
py
Python
nomad-rpi/test/__init__.py
attackle/nomad
fa5bf289ccc983ac8a2aab5e6cecc3c202941f2d
[ "MIT" ]
null
null
null
nomad-rpi/test/__init__.py
attackle/nomad
fa5bf289ccc983ac8a2aab5e6cecc3c202941f2d
[ "MIT" ]
3
2018-03-26T22:52:24.000Z
2018-04-23T08:40:02.000Z
test/__init__.py
attackle/nomad-rpi
1099a950fe67df97bb04b513417d5b3a9bad82f1
[ "MIT" ]
5
2018-03-18T06:08:50.000Z
2018-04-09T21:46:16.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- '''\ Nomad-RPi testing modules. since: 23-APR-2018 '''
11.111111
26
0.59
14
100
4.214286
1
0
0
0
0
0
0
0
0
0
0
0.094118
0.15
100
8
27
12.5
0.6
0.86
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d23e3fc71a11a3be52a3403e567335aa6c6f9b29
141
py
Python
lesson01/xiaochong/homework/99.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
lesson01/xiaochong/homework/99.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
lesson01/xiaochong/homework/99.py
herrywen-nanj/51reboot
1130c79a360e1b548a6eaad176eb60f8bed22f40
[ "Apache-2.0" ]
null
null
null
""" 1: 打印乘法口诀 """ for i in range(1,10): for j in range(1,i+1): print("{} * {} = {}\t".format(i,j,i * j),end="") print()
10.846154
56
0.41844
24
141
2.458333
0.5
0.237288
0.271186
0
0
0
0
0
0
0
0
0.06
0.29078
141
12
57
11.75
0.53
0.06383
0
0
0
0
0.116667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
d264ea8204572b2abfdc76657539e4af0d692ab7
393
py
Python
psutils/tests/test_extensions.py
avilieber/psutils
86f56ed7c67e66de242315965ccc6ed6f5653636
[ "BSD-3-Clause" ]
null
null
null
psutils/tests/test_extensions.py
avilieber/psutils
86f56ed7c67e66de242315965ccc6ed6f5653636
[ "BSD-3-Clause" ]
null
null
null
psutils/tests/test_extensions.py
avilieber/psutils
86f56ed7c67e66de242315965ccc6ed6f5653636
[ "BSD-3-Clause" ]
null
null
null
import pytest # noqa: F401 def test_accessor_register(): # extension hasnt been imported yet, # so DataFrame should not be decorated from pyspark.sql import DataFrame assert not hasattr(DataFrame, "withColumns") # we should now be able to import the module and get all accessors import psuti...
26.2
70
0.725191
51
393
5.54902
0.745098
0.113074
0.190813
0
0
0
0
0
0
0
0
0.019481
0.216285
393
14
71
28.071429
0.899351
0.399491
0
0
0
0
0.095652
0
0
0
0
0
0.333333
1
0.166667
true
0
0.5
0
0.666667
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
1
0
0
4
963560251771e6e388d31fda94121081545eb3ad
3,278
py
Python
tests/test_multiple_configured.py
mwbutcher/flake8-pytest-mark
5dee18225d980cbc830773dc18a30b84fa2eb294
[ "Apache-2.0" ]
null
null
null
tests/test_multiple_configured.py
mwbutcher/flake8-pytest-mark
5dee18225d980cbc830773dc18a30b84fa2eb294
[ "Apache-2.0" ]
null
null
null
tests/test_multiple_configured.py
mwbutcher/flake8-pytest-mark
5dee18225d980cbc830773dc18a30b84fa2eb294
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import pytest # args to only use checks that raise an 'M' prefixed error extra_args = ['--select', 'M'] four_marks_config = """ [flake8] pytest_mark1 = name=test_id regex=[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12} autofix=uuid pytest_mar...
35.630435
189
0.682123
489
3,278
4.388548
0.231084
0.071295
0.046598
0.051258
0.776328
0.76794
0.736719
0.719478
0.648183
0.595061
0
0.055473
0.180598
3,278
91
190
36.021978
0.743485
0.028371
0
0.592105
0
0.052632
0.59547
0.141554
0
0
0
0
0.052632
1
0.052632
false
0.065789
0.013158
0
0.065789
0
0
0
0
null
0
0
0
0
1
1
1
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
4
967333f8640726c464c37cdece00442ade5732b9
257
py
Python
GmailWrapper_JE/venv/Lib/site-packages/pyasn1/type/error.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
2
2022-01-06T11:52:57.000Z
2022-01-09T01:53:56.000Z
GmailWrapper_JE/venv/Lib/site-packages/pyasn1/type/error.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
GmailWrapper_JE/venv/Lib/site-packages/pyasn1/type/error.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
# # This file is part of pyasn1 software. # # Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from pyasn1.error import PyAsn1Error class ValueConstraintError(PyAsn1Error): pass
21.416667
60
0.719844
32
257
5.78125
0.8125
0
0
0
0
0
0
0
0
0
0
0.061321
0.175097
257
11
61
23.363636
0.811321
0.560311
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
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
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
96922cb35039afc11aff4ee6047b5b91c98ac268
248
py
Python
table/coffee/forms.py
deltaGPhys/CNCCoffeeTable
412b1d788a86f78ba3ad57885143f8121508c1fb
[ "MIT" ]
null
null
null
table/coffee/forms.py
deltaGPhys/CNCCoffeeTable
412b1d788a86f78ba3ad57885143f8121508c1fb
[ "MIT" ]
null
null
null
table/coffee/forms.py
deltaGPhys/CNCCoffeeTable
412b1d788a86f78ba3ad57885143f8121508c1fb
[ "MIT" ]
null
null
null
from django import forms from .models import * from django.forms.widgets import * class PatternAddForm(forms.ModelForm): class Meta: model = Pattern fields = ('Name','Blueprint','Photo','Gcode','Duration','Description','Type')
27.555556
85
0.689516
28
248
6.107143
0.714286
0.116959
0
0
0
0
0
0
0
0
0
0
0.173387
248
8
86
31
0.834146
0
0
0
0
0
0.185484
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
96ac35073ee28ad15548bbc5cf6d8009b8c84b48
140
py
Python
Lemmatizer.py
CharlesG12/IndexCompression
ca897de6e68bd12f1e068645a1ce6b0d0c6ff309
[ "MIT" ]
null
null
null
Lemmatizer.py
CharlesG12/IndexCompression
ca897de6e68bd12f1e068645a1ce6b0d0c6ff309
[ "MIT" ]
null
null
null
Lemmatizer.py
CharlesG12/IndexCompression
ca897de6e68bd12f1e068645a1ce6b0d0c6ff309
[ "MIT" ]
null
null
null
from nltk.stem import WordNetLemmatizer def lemmatizing(word): lemmatizer = WordNetLemmatizer() return lemmatizer.lemmatize(word)
20
39
0.778571
14
140
7.785714
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.15
140
6
40
23.333333
0.915966
0
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
1
0
0
4
96b077a1469cda934625659cc43b12a05e83bd05
156
py
Python
api/serializers.py
macav/ideas-platform
bc65355b9cd5164d6b2d640bf275e55ae8dd843e
[ "MIT" ]
null
null
null
api/serializers.py
macav/ideas-platform
bc65355b9cd5164d6b2d640bf275e55ae8dd843e
[ "MIT" ]
null
null
null
api/serializers.py
macav/ideas-platform
bc65355b9cd5164d6b2d640bf275e55ae8dd843e
[ "MIT" ]
null
null
null
from api.models import Idea from rest_framework import serializers class IdeaSerializer(serializers.ModelSerializer): class Meta: model = Idea
22.285714
50
0.775641
18
156
6.666667
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.179487
156
7
51
22.285714
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
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
1
0
0
4
96b327385009578698623914c409b889b56e017b
403
py
Python
tgapi/exceptions.py
azakharau/tg_bot_api
55e7af07beee27d5dac6197a7e03c051bff41562
[ "MIT" ]
null
null
null
tgapi/exceptions.py
azakharau/tg_bot_api
55e7af07beee27d5dac6197a7e03c051bff41562
[ "MIT" ]
null
null
null
tgapi/exceptions.py
azakharau/tg_bot_api
55e7af07beee27d5dac6197a7e03c051bff41562
[ "MIT" ]
null
null
null
class FunctionNotAllowed(Exception): ... class TelegramBaseException(Exception): ... class TelegramAPIException(TelegramBaseException): ... class TelegramDataObjectException(TelegramBaseException): ... class HandlerException(TelegramBaseException): ... class HandlerCloseException(TelegramB...
14.925926
57
0.744417
21
403
14.285714
0.428571
0.346667
0
0
0
0
0
0
0
0
0
0
0.151365
403
26
58
15.5
0.877193
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0.5
0
1
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
737d6352a3ecc85e4cfef77cf098d84085e55a65
85
py
Python
backend/data/discordance/bheat/blob/2d1dd9c22663887e8b0f55ce6f547507da7d7e8f/generate/variation_seq2seq.py
zhiiker/neural_complete
9338a23aee405f2280faeca1a8ad567602257678
[ "MIT" ]
1,237
2017-04-02T01:25:04.000Z
2022-03-27T15:09:01.000Z
backend/data/discordance/bheat/blob/2d1dd9c22663887e8b0f55ce6f547507da7d7e8f/generate/variation_seq2seq.py
zhiiker/neural_complete
9338a23aee405f2280faeca1a8ad567602257678
[ "MIT" ]
6
2017-04-18T01:51:34.000Z
2021-10-09T06:06:50.000Z
backend/data/discordance/bheat/blob/2d1dd9c22663887e8b0f55ce6f547507da7d7e8f/generate/variation_seq2seq.py
zhiiker/neural_complete
9338a23aee405f2280faeca1a8ad567602257678
[ "MIT" ]
161
2017-04-04T13:52:00.000Z
2022-02-02T19:51:12.000Z
# https://github.com/codekansas/keras-language-modeling/blob/master/attention_lstm.py
85
85
0.835294
12
85
5.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.011765
85
1
85
85
0.833333
0.976471
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
737e3ce0635df52bc0e2fbdec522b30beebc345f
343
py
Python
algorithms_explained/algo_explained/apps.py
Zamy97/Algorithms_Explained
048022903da4199b3d245997e95c172cfbea508f
[ "MIT" ]
1
2020-09-22T14:29:46.000Z
2020-09-22T14:29:46.000Z
algorithms_explained/algo_explained/apps.py
Zamy97/Algorithms_Explained
048022903da4199b3d245997e95c172cfbea508f
[ "MIT" ]
null
null
null
algorithms_explained/algo_explained/apps.py
Zamy97/Algorithms_Explained
048022903da4199b3d245997e95c172cfbea508f
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AlgoExplainedConfig(AppConfig): name = 'algorithms_explained.algo_explained' verbose_name = "ALGORITHMS_EXPLAINED" def ready(self): try: # noinspection PyUnresolvedReferences from . import signals # noqa F401 except ImportE...
22.866667
49
0.661808
31
343
7.193548
0.774194
0.125561
0.206278
0
0
0
0
0
0
0
0
0.012195
0.282799
343
14
50
24.5
0.894309
0.131195
0
0
0
0
0.186441
0.118644
0
0
0
0
0
1
0.111111
false
0.111111
0.333333
0
0.777778
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
73bbce4146d9f15ba7ad1ef9132f6008059b669e
233
py
Python
pyuhoo/consts.py
csacca/pyuhoo
9b18b0beed5a3164d145c1bf35f3ffc4fa74a3de
[ "MIT" ]
1
2021-08-23T15:13:38.000Z
2021-08-23T15:13:38.000Z
pyuhoo/consts.py
csacca/pyuhoo
9b18b0beed5a3164d145c1bf35f3ffc4fa74a3de
[ "MIT" ]
41
2021-08-30T08:18:47.000Z
2022-03-31T08:25:33.000Z
pyuhoo/consts.py
csacca/pyuhoo
9b18b0beed5a3164d145c1bf35f3ffc4fa74a3de
[ "MIT" ]
1
2022-01-20T21:56:40.000Z
2022-01-20T21:56:40.000Z
USER_AGENT_PRODUCT: str = "uHoo" USER_AGENT_PRODUCT_VERSION: str = "10.3.1" USER_AGENT_SYSTEM_INFORMATION: str = "iPhone;13.3; iOS 14.7.1; Scale/3.00" APP_VERSION: int = 93 CLIENT_ID: str = "0000000000000000000|0000000000000000000"
33.285714
74
0.772532
37
233
4.594595
0.648649
0.158824
0.188235
0
0
0
0
0
0
0
0
0.258373
0.103004
233
6
75
38.833333
0.555024
0
0
0
0
0
0.360515
0.167382
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
73bc4a9244f4267618f398348750e7d631897eee
113
py
Python
commands/sweet_brown.py
dannydenenberg/Starlight
e7fc946760a41449acd10d0d092fe8a898fdb96c
[ "MIT" ]
1
2019-06-07T07:10:59.000Z
2019-06-07T07:10:59.000Z
commands/sweet_brown.py
dannydenenberg/Starlight
e7fc946760a41449acd10d0d092fe8a898fdb96c
[ "MIT" ]
null
null
null
commands/sweet_brown.py
dannydenenberg/Starlight
e7fc946760a41449acd10d0d092fe8a898fdb96c
[ "MIT" ]
null
null
null
sweet brown os.chdir('..') # Playing the converted file os.system("mpg123 sweet_brown.mp3") os.chdir('commands')
18.833333
35
0.734513
17
113
4.823529
0.705882
0.243902
0
0
0
0
0
0
0
0
0
0.039216
0.097345
113
5
36
22.6
0.764706
0.230089
0
0
0
0
0.376471
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
73c8f89438ad9a19e3a6861b48cd3065f48ebc69
96
py
Python
pyCreate2/__init__.py
USC-ACTLab/pyCreate2
5c64b8c0b04a426003beabe837455fe1d698720e
[ "MIT" ]
4
2019-08-10T01:25:00.000Z
2021-01-11T08:29:44.000Z
pyCreate2/__init__.py
USC-ACTLab/pyCreate2
5c64b8c0b04a426003beabe837455fe1d698720e
[ "MIT" ]
null
null
null
pyCreate2/__init__.py
USC-ACTLab/pyCreate2
5c64b8c0b04a426003beabe837455fe1d698720e
[ "MIT" ]
2
2017-02-16T23:22:59.000Z
2019-06-16T22:21:34.000Z
from .create2 import * from .factory import * __all__ = ["FactoryCreate", "FactorySimulation"]
19.2
48
0.739583
9
96
7.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0.012048
0.135417
96
4
49
24
0.795181
0
0
0
0
0
0.3125
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
73d0897e8e0314094ecf2304f53ef6f49ef9eaaa
31,844
py
Python
beacon/utils/db.py
crs4/beacon-2.x
649821f03e18b820c972fb427e25111e9e614c90
[ "Apache-2.0" ]
6
2020-01-30T17:29:40.000Z
2022-03-18T05:27:50.000Z
beacon/utils/db.py
crs4/beacon-2.x
649821f03e18b820c972fb427e25111e9e614c90
[ "Apache-2.0" ]
43
2019-12-05T14:28:04.000Z
2022-03-11T12:10:35.000Z
beacon/utils/db.py
crs4/beacon-2.x
649821f03e18b820c972fb427e25111e9e614c90
[ "Apache-2.0" ]
14
2020-01-14T09:51:48.000Z
2022-02-17T13:53:46.000Z
# -*- coding: utf-8 -*- """Database Connection.""" import logging from contextlib import asynccontextmanager from functools import wraps import traceback from itertools import chain # import inspect import asyncpg from .. import conf from .exceptions import BeaconServerError from .json import jsonb, json_encoder, j...
50.306477
153
0.587897
3,402
31,844
5.285126
0.104938
0.103115
0.049166
0.080089
0.765851
0.748943
0.732202
0.723081
0.685373
0.663682
0
0.007078
0.330078
31,844
632
154
50.386076
0.835747
0.153216
0
0.589862
0
0
0.103944
0.024953
0
0
0
0
0
1
0.050691
false
0.002304
0.020737
0.046083
0.152074
0
0
0
0
null
0
0
0
0
1
1
1
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
4
73e00f6413bda8ae21e75eca5fe50abd11d4725b
467
py
Python
push_tester/utils/errors.py
DBeath/push-tester
1851e28f5bdadc4d0f94ab2f88b0d39660196e02
[ "MIT" ]
null
null
null
push_tester/utils/errors.py
DBeath/push-tester
1851e28f5bdadc4d0f94ab2f88b0d39660196e02
[ "MIT" ]
null
null
null
push_tester/utils/errors.py
DBeath/push-tester
1851e28f5bdadc4d0f94ab2f88b0d39660196e02
[ "MIT" ]
null
null
null
from flask import render_template def add_errorhandlers(app): """Adds default errorhandlers to app""" @app.errorhandler(404) def not_found(e): return render_template("errors/404.html"), 404 @app.errorhandler(403) def forbidden(e): return render_template("errors/403.html"), 403 ...
24.578947
54
0.678801
60
467
5.15
0.466667
0.18123
0.126214
0.203884
0.262136
0
0
0
0
0
0
0.072581
0.203426
467
18
55
25.944444
0.758065
0.070664
0
0
0
0
0.10514
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.166667
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
73e4e080c6725b3666a23f9dec9b5a30e90748d2
171
py
Python
Lista5_02.py
neet1810/Lista5_Python
aee33c8f304a737587d28fa48b04be3c93cdafd3
[ "MIT" ]
1
2018-09-16T22:36:58.000Z
2018-09-16T22:36:58.000Z
Lista5_02.py
NormanDeveloper/Lista5_Python
eb4ef7f51a185216f97d70ef46bdf4b238ce2f75
[ "MIT" ]
null
null
null
Lista5_02.py
NormanDeveloper/Lista5_Python
eb4ef7f51a185216f97d70ef46bdf4b238ce2f75
[ "MIT" ]
1
2020-09-30T16:42:23.000Z
2020-09-30T16:42:23.000Z
def executar(n, lista): for i in range(n): lista += str(i + 1) + "\t" print(lista) lista = '' n = int(input("Digite n: ")) executar(n, lista)
21.375
36
0.497076
25
171
3.4
0.6
0.211765
0.329412
0
0
0
0
0
0
0
0
0.008547
0.315789
171
7
37
24.428571
0.717949
0
0
0
0
0
0.073171
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.142857
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
73f5eeac46dd0be37181acf08d03a98b1c034f6b
333
py
Python
src/main/contribution_stats.py
ferzerkerx/git-greenseer
5e5a054a366ac6295a0d7b977bc44f7923da7291
[ "MIT" ]
3
2015-10-02T19:37:44.000Z
2016-11-01T19:06:13.000Z
src/main/contribution_stats.py
ferzerkerx/git-greenseer
5e5a054a366ac6295a0d7b977bc44f7923da7291
[ "MIT" ]
null
null
null
src/main/contribution_stats.py
ferzerkerx/git-greenseer
5e5a054a366ac6295a0d7b977bc44f7923da7291
[ "MIT" ]
null
null
null
__author__ = 'fmontes' class ContributionStats: def __init__(self, contributor_name, line_count): self.contributor_name = contributor_name self.contributed_lines = line_count def average(self, total_lines_to_consider=1): return float(self.contributed_lines) / float(total_lines_to_con...
27.75
83
0.744745
40
333
5.675
0.525
0.198238
0.167401
0.176211
0
0
0
0
0
0
0
0.014652
0.18018
333
11
84
30.272727
0.81685
0
0
0
0
0
0.021021
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
fb6a32ae1ef5d7b5d0d5821c7c9b4244fbc7b9a7
489
py
Python
01_Data_Types_And_Variables/05_dirty_dictionaries.py
DetainedDeveloper/Pimp-My-Python
8c0749013581bebd65b3df67f92605c4ecd8e685
[ "MIT" ]
1
2021-07-01T10:54:45.000Z
2021-07-01T10:54:45.000Z
01_Data_Types_And_Variables/05_dirty_dictionaries.py
DetainedDeveloper/Pimp-My-Python
8c0749013581bebd65b3df67f92605c4ecd8e685
[ "MIT" ]
null
null
null
01_Data_Types_And_Variables/05_dirty_dictionaries.py
DetainedDeveloper/Pimp-My-Python
8c0749013581bebd65b3df67f92605c4ecd8e685
[ "MIT" ]
null
null
null
# print({"1": "one", "2": "two", "3": "three"}) # print({1: "one", 2: "two", 3: "three"}) # print({"1": "one", 2: "two", True: "three"}) # START # my_dict = {"1": "one", 2: "two", True: "three", False: "four"} # print(my_dict["1"]) # print(my_dict[2]) # print(my_dict[True]) # print(my_dict[1]) # print(my_dic...
12.868421
64
0.543967
79
489
3.202532
0.253165
0.3083
0.434783
0.126482
0.486166
0.486166
0.383399
0.201581
0.201581
0.201581
0
0.039216
0.165644
489
37
65
13.216216
0.580882
0.885481
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
fbd87a48a59d3a6d0baf4c5a02113c5586a4eb76
357
py
Python
solutions/airline_trend.py
dianequillao/timeseries
f5d91394c1944f4c03b30bf16a4c3bf3a8269c62
[ "MIT" ]
null
null
null
solutions/airline_trend.py
dianequillao/timeseries
f5d91394c1944f4c03b30bf16a4c3bf3a8269c62
[ "MIT" ]
null
null
null
solutions/airline_trend.py
dianequillao/timeseries
f5d91394c1944f4c03b30bf16a4c3bf3a8269c62
[ "MIT" ]
null
null
null
stats = airline[['Year', 'Passengers']].groupby('Year').mean() stats['Max'] = airline[['Year', 'Passengers']].groupby('Year').max() stats['Min'] = airline[['Year', 'Passengers']].groupby('Year').min() stats['Range'] = stats['Max']-stats['Min'] ax = stats.plot(y='Passengers', yerr='Range', legend=False) ax.set_ylabel(r...
39.666667
68
0.658263
46
357
5.086957
0.434783
0.141026
0.269231
0.358974
0.410256
0
0
0
0
0
0
0
0.067227
357
9
69
39.666667
0.702703
0
0
0
0
0
0.315642
0
0
0
0
0
0
1
0
false
0.714286
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
1
0
0
0
0
0
4