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
4eeadf2681fe23b87f5bea131bf7f76a9bfba3aa
155
py
Python
azure_monitor/src/azure_monitor/sdk/__init__.py
hectorhdzg/opentelemetry-azure-monitor-python
f57679d80f259181486a1124f0d6b71012d4826b
[ "MIT" ]
13
2020-04-03T17:17:45.000Z
2021-06-08T15:23:03.000Z
azure_monitor/src/azure_monitor/sdk/__init__.py
hectorhdzg/opentelemetry-azure-monitor-python
f57679d80f259181486a1124f0d6b71012d4826b
[ "MIT" ]
72
2020-03-24T10:42:06.000Z
2021-01-28T23:39:42.000Z
azure_monitor/src/azure_monitor/sdk/__init__.py
hectorhdzg/opentelemetry-azure-monitor-python
f57679d80f259181486a1124f0d6b71012d4826b
[ "MIT" ]
11
2020-04-27T20:01:31.000Z
2021-11-02T14:54:14.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from . import auto_collection __all__ = ["auto_collection"]
25.833333
59
0.774194
19
155
6
0.842105
0.245614
0
0
0
0
0
0
0
0
0
0
0.141935
155
5
60
31
0.857143
0.574194
0
0
0
0
0.238095
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
f609c1834b83563ef3b500f8caf8053df708068f
24
py
Python
data/studio21_generated/interview/1645/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1645/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1645/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def sum_of_squares(n):
12
22
0.75
5
24
3.2
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
2
23
12
0.761905
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
f62f9e1b0743016f0f7e389f124a6f4f3eddcbe8
91
py
Python
run.py
PISK12/UI_download_novel
fb14bb37315526baa2f3cca03d825543d08e7ed6
[ "MIT" ]
null
null
null
run.py
PISK12/UI_download_novel
fb14bb37315526baa2f3cca03d825543d08e7ed6
[ "MIT" ]
1
2018-07-11T19:49:38.000Z
2018-07-11T19:49:38.000Z
run.py
PISK12/UI_download_novel
fb14bb37315526baa2f3cca03d825543d08e7ed6
[ "MIT" ]
1
2018-01-24T19:11:42.000Z
2018-01-24T19:11:42.000Z
from Wuxii.front_app import MainWindow if __name__ == '__main__': MainWindow().play()
18.2
38
0.725275
11
91
5.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.153846
91
4
39
22.75
0.74026
0
0
0
0
0
0.087912
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
f63f1b6ff95bf1ca89a9467e7e125219815f54d5
691
py
Python
red_squirrel_api/serializers.py
Feasoron/red-squirrel
54eef4ba34a7942ea915089eef7b74c1de004037
[ "Apache-2.0" ]
null
null
null
red_squirrel_api/serializers.py
Feasoron/red-squirrel
54eef4ba34a7942ea915089eef7b74c1de004037
[ "Apache-2.0" ]
null
null
null
red_squirrel_api/serializers.py
Feasoron/red-squirrel
54eef4ba34a7942ea915089eef7b74c1de004037
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from red_squirrel.models import Food, Category, Unit, StorageLocation class LocationSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = StorageLocation fields = ('url', 'name') class UnitSerializer(serializers.HyperlinkedModelSerializer): ...
30.043478
69
0.696093
60
691
7.983333
0.4
0.308977
0.350731
0.384134
0.425887
0
0
0
0
0
0
0
0.208394
691
22
70
31.409091
0.875686
0
0
0.388889
0
0
0.063676
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.555556
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
f65f7c7f18d58d50880a0acc1d499f9e6ab59fc7
145
py
Python
my_utils/dicts/set_config_default_item.py
fgitmichael/SelfSupevisedSkillDiscovery
60eee11cfd67046190dd2784bf40e97bdbed9d40
[ "MIT" ]
null
null
null
my_utils/dicts/set_config_default_item.py
fgitmichael/SelfSupevisedSkillDiscovery
60eee11cfd67046190dd2784bf40e97bdbed9d40
[ "MIT" ]
6
2021-02-02T23:00:02.000Z
2022-01-13T03:13:51.000Z
my_utils/dicts/set_config_default_item.py
fgitmichael/SelfSupevisedSkillDiscovery
60eee11cfd67046190dd2784bf40e97bdbed9d40
[ "MIT" ]
null
null
null
def set_config_default_item(config: dict, key, default) -> dict: if not key in config.keys(): config[key] = default return config
36.25
64
0.675862
21
145
4.52381
0.571429
0.210526
0
0
0
0
0
0
0
0
0
0
0.22069
145
4
65
36.25
0.840708
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
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
9caef60c2a59957b4e786116106a5eea2e873e9d
2,807
py
Python
examples/vulnserver.py
the-robot/buff
5fd68935e40543f6df8f134bc48b8f428ad7af55
[ "WTFPL" ]
4
2021-12-13T00:52:10.000Z
2022-03-06T17:11:02.000Z
examples/vulnserver.py
the-robot/buff
5fd68935e40543f6df8f134bc48b8f428ad7af55
[ "WTFPL" ]
null
null
null
examples/vulnserver.py
the-robot/buff
5fd68935e40543f6df8f134bc48b8f428ad7af55
[ "WTFPL" ]
null
null
null
import buff target = ("10.10.39.66", 9999) # From Spiking I learnt what the prefix is runner = buff.Buff(target = target, prefix = "TRUN /.:/") """ FIRST CREATE WOKRING DIRECTORY!!! !mona config -set workingfolder c:\mona\%p """ # ----- 1. FUZZING ----- # Crashed at 2000 # runner.fuzz() # ----- 2. Send Uniqu...
28.353535
96
0.67011
515
2,807
3.634951
0.565049
0.021368
0
0
0
0
0
0
0
0
0
0.201603
0.111151
2,807
98
97
28.642857
0.548697
0.161382
0
0
0
0.621622
0.73582
0.717425
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9cc4c301494852172d23081bb82eaf0cce1919e9
70
py
Python
stocks/__init__.py
xBlynd/FlameCogs
c3ebf7a52999cb84c5a038264e3a2e36977cd273
[ "MIT" ]
null
null
null
stocks/__init__.py
xBlynd/FlameCogs
c3ebf7a52999cb84c5a038264e3a2e36977cd273
[ "MIT" ]
null
null
null
stocks/__init__.py
xBlynd/FlameCogs
c3ebf7a52999cb84c5a038264e3a2e36977cd273
[ "MIT" ]
null
null
null
from .stocks import Stocks def setup(bot): bot.add_cog(Stocks(bot))
14
26
0.742857
12
70
4.25
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.128571
70
4
27
17.5
0.836066
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
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
1
0
0
1
0
0
0
0
4
9cc64e3afebc0349d94cb201565b9ae6c2381e89
268
py
Python
OnlineMessage/views.py
KennardWang/OnlineMessage
861d93a4d3da2f7e2e92006b71bc8200d9c32916
[ "MIT" ]
5
2020-06-21T07:31:50.000Z
2020-11-13T03:42:07.000Z
OnlineMessage/views.py
KennardWang/OnlineMessage
861d93a4d3da2f7e2e92006b71bc8200d9c32916
[ "MIT" ]
3
2020-06-24T02:42:33.000Z
2021-04-08T21:11:28.000Z
OnlineMessage/views.py
KennardWang/OnlineMessage
861d93a4d3da2f7e2e92006b71bc8200d9c32916
[ "MIT" ]
null
null
null
from django.http import HttpResponse from django.shortcuts import render def messageBlock(request): return render(request, 'form.html') def test(request): context = {} context['hi'] = 'Hello' return render(request, 'error.html', context)
22.333333
50
0.679104
31
268
5.870968
0.580645
0.10989
0.208791
0
0
0
0
0
0
0
0
0
0.205224
268
11
51
24.363636
0.85446
0
0
0
0
0
0.101563
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
9cfb8d60743b39288aa37e3cae93831b18a174da
137
py
Python
py_tdlib/constructors/input_message_location.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/input_message_location.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/input_message_location.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Type class inputMessageLocation(Type): location = None # type: "location" live_period = None # type: "int32"
19.571429
36
0.715328
16
137
6.0625
0.6875
0.247423
0
0
0
0
0
0
0
0
0
0.017699
0.175182
137
6
37
22.833333
0.840708
0.218978
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
9cff7743e215e9b2eeb21ec7bc8c22ea5925bf2f
31
py
Python
mtgjson4/provider/__init__.py
Trzypi/mtgjsonv4
af0b8bcc372534f1a33a6e181aaff6c231ed517a
[ "MIT" ]
null
null
null
mtgjson4/provider/__init__.py
Trzypi/mtgjsonv4
af0b8bcc372534f1a33a6e181aaff6c231ed517a
[ "MIT" ]
null
null
null
mtgjson4/provider/__init__.py
Trzypi/mtgjsonv4
af0b8bcc372534f1a33a6e181aaff6c231ed517a
[ "MIT" ]
null
null
null
"""Upstream data providers."""
15.5
30
0.677419
3
31
7
1
0
0
0
0
0
0
0
0
0
0
0
0.096774
31
1
31
31
0.75
0.774194
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
14175f6749480b9d1e8a823a455aa2ed1a320017
124
py
Python
utils/time.py
jakub-tomczak/ror-gui
a4b6c8dd081fd845e255063d4bafe086e738e63f
[ "MIT" ]
null
null
null
utils/time.py
jakub-tomczak/ror-gui
a4b6c8dd081fd845e255063d4bafe086e738e63f
[ "MIT" ]
null
null
null
utils/time.py
jakub-tomczak/ror-gui
a4b6c8dd081fd845e255063d4bafe086e738e63f
[ "MIT" ]
null
null
null
import datetime def get_log_time() -> str: now = datetime.datetime.now() return now.strftime("%d-%m-%Y %H:%M:%S")
17.714286
44
0.620968
20
124
3.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.177419
124
6
45
20.666667
0.735294
0
0
0
0
0
0.137097
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
14286e1bf41331c2dba3a05edef35d70f54e999b
37
py
Python
menus.py
MxFxM/Bullet_Like
3387cc8bec8f67bd2016f114599234b918475da0
[ "MIT" ]
null
null
null
menus.py
MxFxM/Bullet_Like
3387cc8bec8f67bd2016f114599234b918475da0
[ "MIT" ]
null
null
null
menus.py
MxFxM/Bullet_Like
3387cc8bec8f67bd2016f114599234b918475da0
[ "MIT" ]
null
null
null
""" Main menu and in game menu?! """
9.25
28
0.567568
6
37
3.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.216216
37
3
29
12.333333
0.724138
0.756757
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
1451600e9c00411a50f3abd1ce9592c7e46fa868
96
py
Python
group/a21/python helper/LevelDataGenerationHelper.py
wDANDANw/wDANDANw.github.io
acd271e2085eea915a206c671671492286181421
[ "MIT" ]
null
null
null
group/a21/python helper/LevelDataGenerationHelper.py
wDANDANw/wDANDANw.github.io
acd271e2085eea915a206c671671492286181421
[ "MIT" ]
null
null
null
group/a21/python helper/LevelDataGenerationHelper.py
wDANDANw/wDANDANw.github.io
acd271e2085eea915a206c671671492286181421
[ "MIT" ]
null
null
null
array = [] for i in range (16): # array.append([i,0]) array.append([i,5]) print(array)
13.714286
25
0.5625
16
96
3.375
0.625
0.407407
0.444444
0
0
0
0
0
0
0
0
0.053333
0.21875
96
7
26
13.714286
0.666667
0.197917
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
147503db098f4cc22438f35462333c05088e9e4c
1,130
py
Python
accelbyte_py_sdk/api/dsm_controller/wrappers/_public.py
encyphered/accelbyte-python-sdk
09c1e989d7251de308150fdcd3119d662ca2d205
[ "MIT" ]
null
null
null
accelbyte_py_sdk/api/dsm_controller/wrappers/_public.py
encyphered/accelbyte-python-sdk
09c1e989d7251de308150fdcd3119d662ca2d205
[ "MIT" ]
null
null
null
accelbyte_py_sdk/api/dsm_controller/wrappers/_public.py
encyphered/accelbyte-python-sdk
09c1e989d7251de308150fdcd3119d662ca2d205
[ "MIT" ]
null
null
null
# pylint: disable=duplicate-code # pylint: disable=line-too-long # pylint: disable=missing-function-docstring # pylint: disable=missing-function-docstring # pylint: disable=missing-module-docstring # pylint: disable=too-many-arguments # pylint: disable=too-many-branches # pylint: disable=too-many-instance-attributes # ...
29.736842
60
0.790265
143
1,130
6.13986
0.356643
0.207289
0.145786
0.182232
0.173121
0.107062
0.107062
0.107062
0
0
0
0
0.10354
1,130
37
61
30.540541
0.866732
0.453982
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.466667
0
0.733333
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
149a282fbaf551782d04234abbb51005f4d4ba00
504
py
Python
yepes/utils/minifier/pipeline.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
yepes/utils/minifier/pipeline.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
yepes/utils/minifier/pipeline.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
# -*- coding:utf-8 -*- from __future__ import absolute_import, unicode_literals from pipeline.compressors import CompressorBase from yepes.utils.minifier import minify_css, minify_js class Minifier(CompressorBase): """ A compressor that utilizes ``yepes.utils.minifier.minify_css()`` for CSS files and `...
24
76
0.710317
66
504
5.212121
0.454545
0.087209
0.156977
0.139535
0
0
0
0
0
0
0
0.002427
0.18254
504
20
77
25.2
0.832524
0.30754
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.375
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
1ad880c046e9856f8c75e1613ba7a5e330a3dab3
42
py
Python
_tests/_func_props_used_func_itself.py
deuteronomy-works/Jeremiah
f72b45284ebde9493a87d16072520b8717152aeb
[ "MIT" ]
1
2019-11-26T14:50:59.000Z
2019-11-26T14:50:59.000Z
_tests/_func_props_used_func_itself.py
deuteronomy-works/Jeremiah
f72b45284ebde9493a87d16072520b8717152aeb
[ "MIT" ]
32
2019-11-26T13:24:56.000Z
2019-12-06T20:19:45.000Z
_tests/_func_props_used_func_itself.py
deuteronomy-works/Jeremiah
f72b45284ebde9493a87d16072520b8717152aeb
[ "MIT" ]
null
null
null
def love(): lover = 'sure' lover
8.4
18
0.5
5
42
4.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.357143
42
4
19
10.5
0.777778
0
0
0
0
0
0.097561
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
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
1
0
0
0
0
0
0
0
4
1ae81a4062a63721e6960b3fb52641393d0073fc
37
py
Python
test/integration/expected_out_single_line/percent_dict.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
487
2019-06-10T17:44:56.000Z
2022-03-26T01:28:19.000Z
test/integration/expected_out_single_line/percent_dict.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
118
2019-07-03T12:26:39.000Z
2022-03-06T22:40:17.000Z
test/integration/expected_out_single_line/percent_dict.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
25
2019-07-10T08:39:58.000Z
2022-03-03T14:44:15.000Z
a = 2 b = "wuga" print(f'{a:f} {b}')
9.25
19
0.432432
9
37
1.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0.034483
0.216216
37
3
20
12.333333
0.517241
0
0
0
0
0
0.351351
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
1aefa2884623c98af5a2cc277146aad83a8e7e99
197
py
Python
atlas/providers/__init__.py
citruspi/Atlas
ae9d47e7410e7bb50b8891e6cbe1803620f46588
[ "Unlicense" ]
null
null
null
atlas/providers/__init__.py
citruspi/Atlas
ae9d47e7410e7bb50b8891e6cbe1803620f46588
[ "Unlicense" ]
null
null
null
atlas/providers/__init__.py
citruspi/Atlas
ae9d47e7410e7bb50b8891e6cbe1803620f46588
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from atlas.providers.ec2 import ec2_instances from atlas.providers.env import env providers = { 'ec2_instances': ec2_instances, 'env': env }
17.909091
45
0.690355
27
197
4.925926
0.481481
0.270677
0.270677
0
0
0
0
0
0
0
0
0.030488
0.167513
197
10
46
19.7
0.780488
0.213198
0
0
0
0
0.104575
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
210a01da40249fc0e0c550d5d644ed5c27cc600e
164
py
Python
src/membership/urls.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
2
2016-07-18T02:11:37.000Z
2017-08-27T17:28:25.000Z
src/membership/urls.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
66
2016-06-18T04:00:01.000Z
2018-02-03T17:42:17.000Z
src/membership/urls.py
gatortechuf/gatortechuf.com
8d0ad5f0772a42113c41bf454e96c2fa2c22d1f3
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'membership' urlpatterns = [ path('', views.MembershipView.as_view(), name='membership_index'), ]
18.222222
70
0.719512
20
164
5.75
0.7
0.243478
0
0
0
0
0
0
0
0
0
0
0.146341
164
8
71
20.5
0.821429
0
0
0
0
0
0.158537
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
21221c5f4fc8f72d4c18645c3ee3b8ac0ae7250e
734
py
Python
script.py
BotTechMK40/Auto-Filter-Bot-V2
1275dfdc551bf612c76841ae7919345c16301fc1
[ "MIT" ]
null
null
null
script.py
BotTechMK40/Auto-Filter-Bot-V2
1275dfdc551bf612c76841ae7919345c16301fc1
[ "MIT" ]
null
null
null
script.py
BotTechMK40/Auto-Filter-Bot-V2
1275dfdc551bf612c76841ae7919345c16301fc1
[ "MIT" ]
null
null
null
class script(object): START_MSG = """ <b> ഹലോ {} സുഹൃത്തേ എന്നെ നിന്റെ ഗ്രൂപ്പിലേക്ക് കൊണ്ടുപോകാൻ ആണെങ്കിൽ ഉദ്ദേശം അതു നടക്കില്ല കേട്ടോ എന്റെ മുതലാളിയുടെ അനുവാദമില്ലാതെ എന്നെ എവിടേക്കും കൊണ്ടുവാൻ പറ്റില്ല നിന്റെ ഉദ്ദേശം അതാണെങ്കിൽ വാങ്ങി വെച്ചേക്ക് <i>help</i></b>""" HELP_MSG = """<b>How to use the b...
21.588235
68
0.489101
392
734
1.346939
0.211735
0.060606
0.056818
0.030303
0.376894
0.346591
0.242424
0.208333
0.17803
0.17803
0
0.003295
0.173025
734
33
69
22.242424
0.579901
0
0
0
0
0.5
0.737057
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
2132d65a0053b5821964f2ea7e5097c9772dfab7
28
py
Python
custom_components/kweather_air365/__init__.py
KuddLim/KWeatherAir365
1f0adf3e909e9eb40124c5d938c18af63fa91833
[ "MIT" ]
null
null
null
custom_components/kweather_air365/__init__.py
KuddLim/KWeatherAir365
1f0adf3e909e9eb40124c5d938c18af63fa91833
[ "MIT" ]
null
null
null
custom_components/kweather_air365/__init__.py
KuddLim/KWeatherAir365
1f0adf3e909e9eb40124c5d938c18af63fa91833
[ "MIT" ]
null
null
null
"""KWeather Air365 Sensor"""
28
28
0.714286
3
28
6.666667
1
0
0
0
0
0
0
0
0
0
0
0.115385
0.071429
28
1
28
28
0.653846
0.785714
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
2143653a073a38884d75304805b3d37f787e301a
114
py
Python
text/_cascade/_form/math.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_cascade/_form/math.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_cascade/_form/math.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
from typing import Callable class Calc: """ Calculate function. """ calc_: Callable pass
8.769231
27
0.587719
11
114
6
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.333333
114
12
28
9.5
0.868421
0.166667
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.25
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
1
0
0
1
0
0
4
215a712e2e1850d1e796bbf6631be5cec2600404
181
py
Python
apps/vendor/admin.py
gurnitha/2022-django-multi-vendor-ytb-codewithstein
e8efdc9adb4b75e5abe06006c5a097389920dc1f
[ "Unlicense" ]
null
null
null
apps/vendor/admin.py
gurnitha/2022-django-multi-vendor-ytb-codewithstein
e8efdc9adb4b75e5abe06006c5a097389920dc1f
[ "Unlicense" ]
null
null
null
apps/vendor/admin.py
gurnitha/2022-django-multi-vendor-ytb-codewithstein
e8efdc9adb4b75e5abe06006c5a097389920dc1f
[ "Unlicense" ]
null
null
null
# apps/vendor/admin.py # Django modules from django.contrib import admin # Locals from apps.vendor.models import Vendor # Register your models here. admin.site.register(Vendor)
15.083333
37
0.779006
26
181
5.423077
0.576923
0.141844
0
0
0
0
0
0
0
0
0
0
0.138122
181
12
38
15.083333
0.903846
0.381215
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
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
215cc6fa76e0ab1d9b2f19bb41d183eb2da367aa
80
py
Python
recipes/word-swap-wordnet/transformation.py
StatNLP/discretezoo
565552b894a5c9632ac7b949d61a6f71123031e4
[ "MIT" ]
null
null
null
recipes/word-swap-wordnet/transformation.py
StatNLP/discretezoo
565552b894a5c9632ac7b949d61a6f71123031e4
[ "MIT" ]
null
null
null
recipes/word-swap-wordnet/transformation.py
StatNLP/discretezoo
565552b894a5c9632ac7b949d61a6f71123031e4
[ "MIT" ]
1
2022-03-25T16:45:12.000Z
2022-03-25T16:45:12.000Z
import textattack TRANSFORMATION = textattack.transformations.WordSwapWordNet()
26.666667
61
0.875
6
80
11.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.0625
80
2
62
40
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
0
0
1
0
0
0
0
4
dcc1f13dd1fdbcf60112ab0a77c1f48193ec02af
5,099
py
Python
dynophores/tests/viz/test_plot_static.py
nadja-mansurov/dynophores
7d030170ab1af908730f960f3884048c36d8ef7a
[ "MIT" ]
null
null
null
dynophores/tests/viz/test_plot_static.py
nadja-mansurov/dynophores
7d030170ab1af908730f960f3884048c36d8ef7a
[ "MIT" ]
null
null
null
dynophores/tests/viz/test_plot_static.py
nadja-mansurov/dynophores
7d030170ab1af908730f960f3884048c36d8ef7a
[ "MIT" ]
null
null
null
""" Unit tests for dynophore.viz.plot.static. Will only test if static plotting raises errors. """ import pytest import matplotlib from dynophores.viz import plot @pytest.mark.parametrize( "superfeature_ids", [ ("all"), # Default (("all",)), ("AR[4605,4607,4603,4606,4604]"), ...
32.685897
95
0.68386
633
5,099
5.327014
0.127962
0.088968
0.044484
0.062278
0.890569
0.85083
0.762456
0.722123
0.644721
0.596382
0
0.125797
0.169053
5,099
155
96
32.896774
0.67005
0.021377
0
0.345133
0
0
0.206585
0.141739
0
0
0
0
0.115044
1
0.088496
false
0
0.026549
0
0.115044
0.00885
0
0
0
null
0
0
0
1
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
0
0
0
0
0
0
4
dccc0792249a33aef4452f328527a47b05a1f39f
10,881
py
Python
experiments/torch_topics_display_bn.py
VKCOM/TopicsDataset
149919321ba61a8f17b22f62f60f4aedec43d72b
[ "MIT" ]
1
2021-11-04T12:39:48.000Z
2021-11-04T12:39:48.000Z
experiments/torch_topics_display_bn.py
VKCOM/TopicsDataset
149919321ba61a8f17b22f62f60f4aedec43d72b
[ "MIT" ]
null
null
null
experiments/torch_topics_display_bn.py
VKCOM/TopicsDataset
149919321ba61a8f17b22f62f60f4aedec43d72b
[ "MIT" ]
null
null
null
import pickle import matplotlib.pyplot as plt from visualization.plots import plot_conf_int passive_e1_accs = [] # passive_e5_accs = [] # passive_e10_accs = [] # # passive_ae_e1_accs = [] # passive_ae_es01_t1_accs = [] # passive_ae_es01_t2_accs = [] # ll_1_accs = [] ll_2_accs = [] ll_3_accs = [] # # ll2_margin_1_accs...
53.338235
158
0.745612
1,690
10,881
4.352071
0.072781
0.036982
0.05085
0.085248
0.887695
0.812101
0.728892
0.665126
0.609109
0.550374
0
0.096661
0.10817
10,881
203
159
53.600985
0.661274
0.634409
0
0
0
0
0.323773
0.223514
0
0
0
0
0
1
0
false
0.065574
0.04918
0
0.04918
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
b49e1762017ea413c6e70cecf030706feadd2465
155
py
Python
component/io/dmp_io.py
12rambau/damage_proxy_map
6796e5e4885378e3b634877610df9e6d94123de3
[ "MIT" ]
null
null
null
component/io/dmp_io.py
12rambau/damage_proxy_map
6796e5e4885378e3b634877610df9e6d94123de3
[ "MIT" ]
null
null
null
component/io/dmp_io.py
12rambau/damage_proxy_map
6796e5e4885378e3b634877610df9e6d94123de3
[ "MIT" ]
null
null
null
class DmpIo(): def __init__(self): # inputs self.event = None self.username = None self.password = None
19.375
28
0.490323
15
155
4.8
0.666667
0.222222
0
0
0
0
0
0
0
0
0
0
0.425806
155
8
29
19.375
0.808989
0.03871
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0
0
0.4
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
1
0
0
0
0
0
4
b4a4a4eac1f0ef34f4c6d6387fb34a8f15dca546
40
py
Python
eds/openmtc-gevent/futile/src/futile/multiprocess/__init__.py
piyush82/elastest-device-emulator-service
b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7
[ "Apache-2.0" ]
null
null
null
eds/openmtc-gevent/futile/src/futile/multiprocess/__init__.py
piyush82/elastest-device-emulator-service
b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7
[ "Apache-2.0" ]
null
null
null
eds/openmtc-gevent/futile/src/futile/multiprocess/__init__.py
piyush82/elastest-device-emulator-service
b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7
[ "Apache-2.0" ]
null
null
null
from RWLock import RWLock Lock = RWLock
13.333333
25
0.8
6
40
5.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.175
40
3
26
13.333333
0.969697
0
0
0
0
0
0
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
b4c4e3a67e634ee2c635c7578544a7b077c2e4b1
152
py
Python
env3/bin/django-admin.py
SAVE-UP/djsite
72cdddae011979f4b7e30b8bfea20bc22bdf7dbe
[ "MIT" ]
1
2021-05-06T02:32:21.000Z
2021-05-06T02:32:21.000Z
env3/bin/django-admin.py
SAVE-UP/djsite
72cdddae011979f4b7e30b8bfea20bc22bdf7dbe
[ "MIT" ]
null
null
null
env3/bin/django-admin.py
SAVE-UP/djsite
72cdddae011979f4b7e30b8bfea20bc22bdf7dbe
[ "MIT" ]
null
null
null
#!/Users/cpieri/42/portfolio/env3/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
25.333333
45
0.782895
20
152
5.4
0.9
0
0
0
0
0
0
0
0
0
0
0.029197
0.098684
152
5
46
30.4
0.759124
0.289474
0
0
0
0
0.074766
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
b4dd81893040334cf8f2c0d74d176982200da227
179
py
Python
cloud-v2.0/verify/gol.py
13242084001/api
71f57b485d685caae94a84b625d64be832cf8910
[ "Apache-2.0" ]
null
null
null
cloud-v2.0/verify/gol.py
13242084001/api
71f57b485d685caae94a84b625d64be832cf8910
[ "Apache-2.0" ]
1
2021-03-25T23:58:32.000Z
2021-03-25T23:58:32.000Z
cloud-v2.0/verify/gol.py
13242084001/api
71f57b485d685caae94a84b625d64be832cf8910
[ "Apache-2.0" ]
null
null
null
def _init(): global _global_dict _global_dict = {} def set_value(key, value): _global_dict[key] = value def get_value(key): return _global_dict.get(key) _init()
16.272727
32
0.681564
26
179
4.230769
0.346154
0.363636
0
0
0
0
0
0
0
0
0
0
0.201117
179
11
33
16.272727
0.769231
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0.125
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
b4df714ff7d0c04040c2ecf9c8ba4f2bbf178ee2
144
py
Python
MyRepo/services/order_service_interface.py
aryanj723/psychic-disco
025656a2d30dab7bdaa488926742d6c868137906
[ "Apache-2.0" ]
null
null
null
MyRepo/services/order_service_interface.py
aryanj723/psychic-disco
025656a2d30dab7bdaa488926742d6c868137906
[ "Apache-2.0" ]
null
null
null
MyRepo/services/order_service_interface.py
aryanj723/psychic-disco
025656a2d30dab7bdaa488926742d6c868137906
[ "Apache-2.0" ]
null
null
null
import abc class OrderServiceInterface(metaclass=abc.ABCMeta): @abc.abstractmethod def addOrder(self, order_id, meals, distance): pass
20.571429
51
0.770833
17
144
6.470588
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.138889
144
6
52
24
0.887097
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
370cc96f8e3f3ab53fa75c3f58f28416bc97abb3
129
py
Python
dataformat.py
gockie/tentacles
358cc4e46d924aa10b22cb44f5d5fd2fab6f348e
[ "Unlicense" ]
21
2016-05-26T19:35:55.000Z
2022-02-16T18:58:11.000Z
dataformat.py
gockie/tentacles
358cc4e46d924aa10b22cb44f5d5fd2fab6f348e
[ "Unlicense" ]
9
2016-05-27T10:42:44.000Z
2016-10-19T00:41:22.000Z
dataformat.py
gockie/tentacles
358cc4e46d924aa10b22cb44f5d5fd2fab6f348e
[ "Unlicense" ]
14
2016-05-27T03:22:51.000Z
2020-10-23T09:39:44.000Z
import json def formatListData(data): #format data as a JSON string dataString = json.dumps(data) return dataString
18.428571
33
0.72093
17
129
5.470588
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.217054
129
6
34
21.5
0.920792
0.217054
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
3711165468a11925cd889f465710d511245b6733
87
py
Python
CARDREADER/LivCam/apps.py
monacotime/Live_card_reader_django
759945610701d7c630f6503f5adfcbb084d7060e
[ "MIT" ]
null
null
null
CARDREADER/LivCam/apps.py
monacotime/Live_card_reader_django
759945610701d7c630f6503f5adfcbb084d7060e
[ "MIT" ]
null
null
null
CARDREADER/LivCam/apps.py
monacotime/Live_card_reader_django
759945610701d7c630f6503f5adfcbb084d7060e
[ "MIT" ]
null
null
null
from django.apps import AppConfig class LivcamConfig(AppConfig): name = 'LivCam'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
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
3718c281ffd402719340a7b65a216fb4604d5506
180
py
Python
todoapp/projects/apps.py
deepakbansal08/Deepak-Bansal-django-drf-tutorial
7dd9d8456f89faa8248ea8e1b2c6f894de92aedc
[ "MIT" ]
null
null
null
todoapp/projects/apps.py
deepakbansal08/Deepak-Bansal-django-drf-tutorial
7dd9d8456f89faa8248ea8e1b2c6f894de92aedc
[ "MIT" ]
null
null
null
todoapp/projects/apps.py
deepakbansal08/Deepak-Bansal-django-drf-tutorial
7dd9d8456f89faa8248ea8e1b2c6f894de92aedc
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class ProjectConfig(AppConfig): name = 'projects' verbose_name = 'Projects sample application'
20
48
0.783333
20
180
6.75
0.75
0.177778
0
0
0
0
0
0
0
0
0
0
0.161111
180
8
49
22.5
0.89404
0
0
0
0
0
0.194444
0
0
0
0
0
0
1
0
false
0
0.4
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
2ea2f78c6dd17d217ccb100f8ff1041a600dcd0c
160
py
Python
misc/jupyter_notebook/utils.py
eric-yyjau/eric-yyjau.github.io
af3832330635e48b4320dde801fc309c48f99e6f
[ "CC-BY-3.0" ]
null
null
null
misc/jupyter_notebook/utils.py
eric-yyjau/eric-yyjau.github.io
af3832330635e48b4320dde801fc309c48f99e6f
[ "CC-BY-3.0" ]
null
null
null
misc/jupyter_notebook/utils.py
eric-yyjau/eric-yyjau.github.io
af3832330635e48b4320dde801fc309c48f99e6f
[ "CC-BY-3.0" ]
null
null
null
import numpy as np def print_words(words): for e in list(words): print(e, ': ', words[e]) def get_rand_img(H, W): return np.random.randn(H, W)
20
32
0.61875
29
160
3.310345
0.655172
0.041667
0
0
0
0
0
0
0
0
0
0
0.23125
160
8
33
20
0.780488
0
0
0
0
0
0.012422
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.666667
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
1
0
0
0
1
0
0
0
4
2ec5c9bc9f41bdc123a61879bd57cae0ff765aca
170
py
Python
summit/benchmarks/__init__.py
dswigh/summit
a1cecdd41df8119005173b46ac45fb22472628d6
[ "MIT" ]
60
2020-09-10T00:00:03.000Z
2022-03-08T10:45:02.000Z
summit/benchmarks/__init__.py
dswigh/summit
a1cecdd41df8119005173b46ac45fb22472628d6
[ "MIT" ]
57
2020-09-07T11:06:15.000Z
2022-02-16T16:30:48.000Z
summit/benchmarks/__init__.py
dswigh/summit
a1cecdd41df8119005173b46ac45fb22472628d6
[ "MIT" ]
12
2020-09-07T12:43:19.000Z
2022-02-26T09:58:01.000Z
from .snar import SnarBenchmark from .test_functions import Himmelblau, Hartmann3D, ThreeHumpCamel, DTLZ2, VLMOP2 from .experimental_emulator import * from .MIT import *
34
81
0.823529
20
170
6.9
0.7
0
0
0
0
0
0
0
0
0
0
0.02
0.117647
170
4
82
42.5
0.9
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
2ee37dfc585af0f14e3fb69f4369232a457f93a0
66
py
Python
src/modules/FileManager.py
Nevexo/reddit-dl
2b9c8a0cb567502ce26a0f280b0aaee621e26252
[ "MIT" ]
null
null
null
src/modules/FileManager.py
Nevexo/reddit-dl
2b9c8a0cb567502ce26a0f280b0aaee621e26252
[ "MIT" ]
null
null
null
src/modules/FileManager.py
Nevexo/reddit-dl
2b9c8a0cb567502ce26a0f280b0aaee621e26252
[ "MIT" ]
null
null
null
# reddit-dl Module: File Manager # By Nevexo (github.com/nevexo)
16.5
32
0.727273
10
66
4.8
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
66
3
33
22
0.857143
0.909091
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
2efb2156bbd3d02afab802ea7de4ac2ab433eac9
1,272
py
Python
pymt/bmi/bmi.py
mwtoews/pymt
81a8469b0d0d115d21186ec1d1c9575690d51850
[ "MIT" ]
null
null
null
pymt/bmi/bmi.py
mwtoews/pymt
81a8469b0d0d115d21186ec1d1c9575690d51850
[ "MIT" ]
null
null
null
pymt/bmi/bmi.py
mwtoews/pymt
81a8469b0d0d115d21186ec1d1c9575690d51850
[ "MIT" ]
null
null
null
class Error(Exception): """Base class for BMI exceptions""" pass class VarNameError(Error): """Exception to indicate a bad input/output variable name""" def __init__(self, name): self.name = name def __str__(self): return self.name class BMI(object): def initialize(self, f...
16.519481
64
0.599057
177
1,272
3.99435
0.265537
0.188119
0.240453
0.158416
0.473833
0.397454
0.305516
0
0
0
0
0
0.318396
1,272
76
65
16.736842
0.815456
0.066038
0
0.4375
0
0
0
0
0
0
0
0
0
1
0.458333
false
0.4375
0
0.020833
0.541667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
4
2c0466476e7d7ec347c45ceefa97d54148a2f868
400
py
Python
pypartpicker/regex.py
lukadd16/pypartpicker
2fadced708ef1b6201a7cd4dbc7747b950c7e5c1
[ "MIT" ]
null
null
null
pypartpicker/regex.py
lukadd16/pypartpicker
2fadced708ef1b6201a7cd4dbc7747b950c7e5c1
[ "MIT" ]
null
null
null
pypartpicker/regex.py
lukadd16/pypartpicker
2fadced708ef1b6201a7cd4dbc7747b950c7e5c1
[ "MIT" ]
null
null
null
import re def get_list_links(string): list_regex = re.compile("((?:http|https)://(?:[a-z]{2}.pcpartpicker|pcpartpicker).com/list/(?:[a-zA-Z0-9]{6}))") return re.findall(list_regex, string) def get_product_links(string): product_regex = re.compile("((?:http|https)://(?:[a-z]{2}.pcpartpicker|pcpartpicker)...
33.333333
122
0.665
60
400
4.3
0.383333
0.046512
0.108527
0.139535
0.581395
0.581395
0.581395
0.581395
0.410853
0.410853
0
0.022099
0.095
400
11
123
36.363636
0.690608
0
0
0
0
0.285714
0.4325
0.4325
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
2c0e81dab027b6f50339383dc267099506c12386
51
py
Python
custom_addons/sale_extend/models/__init__.py
wanbowen001/custom-addons
aceab2740520035cc36648702c72158d1c03550c
[ "MIT" ]
null
null
null
custom_addons/sale_extend/models/__init__.py
wanbowen001/custom-addons
aceab2740520035cc36648702c72158d1c03550c
[ "MIT" ]
null
null
null
custom_addons/sale_extend/models/__init__.py
wanbowen001/custom-addons
aceab2740520035cc36648702c72158d1c03550c
[ "MIT" ]
null
null
null
from . import pricelist, invoice, product_evaluate
25.5
50
0.823529
6
51
6.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
51
1
51
51
0.911111
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
2c16f638e8f6521b39e8a6d2ea203385338d382a
106
py
Python
ziptest.py
Dikaeinstein/Abyteofpython_exercises
93d78a7d2e82c10092d7e149f0a9a1e804dfd601
[ "MIT" ]
null
null
null
ziptest.py
Dikaeinstein/Abyteofpython_exercises
93d78a7d2e82c10092d7e149f0a9a1e804dfd601
[ "MIT" ]
null
null
null
ziptest.py
Dikaeinstein/Abyteofpython_exercises
93d78a7d2e82c10092d7e149f0a9a1e804dfd601
[ "MIT" ]
null
null
null
import cwd from zipfile import ZipFile with ZipFile("test.zip", "r") as myzip: myzip.printdir()
15.142857
39
0.679245
15
106
4.8
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.207547
106
6
40
17.666667
0.857143
0
0
0
0
0
0.084906
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
257d05f4ed3f1841a3377912af04c7c06490a22c
3,508
py
Python
caesar.py
Vl-tech-565/my_pet_projects
910ffca4b03b5beb2f3ed9626a95d7daef91da5d
[ "Unlicense" ]
1
2021-08-07T18:03:13.000Z
2021-08-07T18:03:13.000Z
caesar.py
Vl-tech-565/my_pet_projects
910ffca4b03b5beb2f3ed9626a95d7daef91da5d
[ "Unlicense" ]
null
null
null
caesar.py
Vl-tech-565/my_pet_projects
910ffca4b03b5beb2f3ed9626a95d7daef91da5d
[ "Unlicense" ]
null
null
null
""" this module provides encryption and decryption of strings """ _eng_alphabet = [chr(i) for i in range(97, 123)] + [chr(i) for i in range(65, 91)] _rus_alphabet = [chr(i) for i in range(1072, 1104)] + [chr(i) for i in range(1040, 1072)] _alphabets = {'en': _eng_alphabet, 'rus': _rus_alphabet} def _add_encrypted_...
32.481481
99
0.673033
502
3,508
4.535857
0.141434
0.087835
0.052701
0.066755
0.825209
0.816864
0.758454
0.725077
0.6491
0.519982
0
0.011847
0.230046
3,508
108
100
32.481481
0.831174
0.3187
0
0.518519
0
0
0.007411
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.314815
0
0
0
0
null
0
0
0
1
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
0
0
0
0
0
0
4
257e6baf56bef5461f8e4df940e6b7be60cbbcd4
28,474
py
Python
Contextual-Query-Document-Summarization.py
liamca/simple_query_based_document_summarization
0df02e1b83bdfd826b4c9c631381d13875e4b1a8
[ "MIT" ]
1
2021-12-02T17:48:32.000Z
2021-12-02T17:48:32.000Z
Contextual-Query-Document-Summarization.py
liamca/simple_query_based_document_summarization
0df02e1b83bdfd826b4c9c631381d13875e4b1a8
[ "MIT" ]
null
null
null
Contextual-Query-Document-Summarization.py
liamca/simple_query_based_document_summarization
0df02e1b83bdfd826b4c9c631381d13875e4b1a8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # https://www.sbert.net/docs/pretrained_models.html # Sample Text from https://doi.org/10.1186/s13052-021-00974-0;%20https://www.ncbi.nlm.nih.gov/pubmed/33514404/ from sentence_transformers import SentenceTransformer, util model = SentenceTransformer('nq-distilbert-base-...
558.313725
27,051
0.804383
4,366
28,474
5.241182
0.283784
0.005463
0.004545
0.004894
0.065201
0.036271
0.02456
0.016781
0.012761
0.00437
0
0.03473
0.153614
28,474
50
27,052
569.48
0.914772
0.006778
0
0
0
0.032258
0.961946
0.003366
0
0
0
0
0
1
0.096774
false
0.419355
0.064516
0
0.258065
0.129032
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
2583228c221a102f03eba47cb9d43c5c55b053f1
63
py
Python
src/helpers.py
andysnell/project-euler
43d92e59d247dfc319c6fe4c22ecc7962e2283ca
[ "FTL" ]
null
null
null
src/helpers.py
andysnell/project-euler
43d92e59d247dfc319c6fe4c22ecc7962e2283ca
[ "FTL" ]
null
null
null
src/helpers.py
andysnell/project-euler
43d92e59d247dfc319c6fe4c22ecc7962e2283ca
[ "FTL" ]
null
null
null
def solution(value): print("Solution: {}".format(value))
12.6
39
0.634921
7
63
5.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.15873
63
4
40
15.75
0.754717
0
0
0
0
0
0.196721
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
4
2593fd5963a1c86d4f68648406939a7ee63102df
2,165
py
Python
ophyd/tests/test_timestamps.py
DominicOram/ophyd
df60483867e521dcda83648756cab8fc7b80dd17
[ "BSD-3-Clause" ]
16
2015-05-20T20:48:25.000Z
2019-04-24T21:12:59.000Z
ophyd/tests/test_timestamps.py
DominicOram/ophyd
df60483867e521dcda83648756cab8fc7b80dd17
[ "BSD-3-Clause" ]
594
2015-01-05T21:55:21.000Z
2019-05-10T02:05:24.000Z
ophyd/tests/test_timestamps.py
DominicOram/ophyd
df60483867e521dcda83648756cab8fc7b80dd17
[ "BSD-3-Clause" ]
37
2019-07-06T18:17:07.000Z
2022-03-09T22:26:18.000Z
import time import logging import pytest from ophyd import (EpicsSignal, EpicsSignalRO) from numpy.testing import assert_almost_equal logger = logging.getLogger(__name__) @pytest.mark.motorsim def test_read_pv_timestamp_no_monitor(motor): motor.set(0, wait=True) sp = EpicsSignal(motor.user_setpoint.pvname,...
24.602273
70
0.666051
325
2,165
4.252308
0.150769
0.02026
0.035456
0.043415
0.815485
0.775687
0.767004
0.742402
0.617945
0.552822
0
0.041056
0.212471
2,165
87
71
24.885057
0.769501
0
0
0.578125
0
0
0.011085
0
0
0
0
0
0.15625
1
0.0625
false
0
0.078125
0
0.140625
0
0
0
0
null
0
0
0
1
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
0
0
0
0
0
0
4
25959f1c476aaba34165267724e75d38b777c557
281
py
Python
Apps/Usuario/tests/unit_tests/test_forms.py
cadubrito/Agenda
1429d8333f8367034c8a902c739ccc69f833dba1
[ "MIT" ]
null
null
null
Apps/Usuario/tests/unit_tests/test_forms.py
cadubrito/Agenda
1429d8333f8367034c8a902c739ccc69f833dba1
[ "MIT" ]
null
null
null
Apps/Usuario/tests/unit_tests/test_forms.py
cadubrito/Agenda
1429d8333f8367034c8a902c739ccc69f833dba1
[ "MIT" ]
null
null
null
from Apps.Usuario.forms import UserAutenticationForm from django.test import TestCase class UsuarioFormTestCase(TestCase): def test_when_user_informs_only_username_and_empty_pass(self): form = UserAutenticationForm(data={}) self.assertFalse(form.is_valid())
28.1
66
0.786477
33
281
6.424242
0.787879
0
0
0
0
0
0
0
0
0
0
0
0.13879
281
9
67
31.222222
0.876033
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0.166667
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
25c4a5d52683ac1bcd6aafd872dc38d724bc83d9
134
py
Python
examples/kill.py
minghancmh/pyparrot
aea5f26b322e4d46b2e16562c6413c585464146a
[ "MIT" ]
null
null
null
examples/kill.py
minghancmh/pyparrot
aea5f26b322e4d46b2e16562c6413c585464146a
[ "MIT" ]
null
null
null
examples/kill.py
minghancmh/pyparrot
aea5f26b322e4d46b2e16562c6413c585464146a
[ "MIT" ]
null
null
null
from pyparrot.Bebop import Bebop import math bebop = Bebop() bebop.emergency_land() print("DONE - disconnecting") bebop.disconnect()
16.75
32
0.776119
17
134
6.058824
0.647059
0.213592
0
0
0
0
0
0
0
0
0
0
0.11194
134
8
33
16.75
0.865546
0
0
0
0
0
0.148148
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
d301b048278f780326ce014348b0dba72f5bcf93
168
py
Python
py_tdlib/constructors/get_groups_in_common.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/get_groups_in_common.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/get_groups_in_common.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Method class getGroupsInCommon(Method): user_id = None # type: "int32" offset_chat_id = None # type: "int53" limit = None # type: "int32"
21
39
0.690476
22
168
5.136364
0.681818
0.212389
0.176991
0
0
0
0
0
0
0
0
0.044118
0.190476
168
7
40
24
0.786765
0.244048
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
d3044bab10866126d025e5cdf5ec65738c7092c0
172
py
Python
scripts/item/consume_2433197.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/item/consume_2433197.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/item/consume_2433197.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
# Damage Skin - Violetta success = sm.addDamageSkin(2433197) if success: sm.chat("The Damage Skin - Violetta has been added to your account's damage skin collection.")
34.4
98
0.75
25
172
5.16
0.72
0.232558
0.27907
0
0
0
0
0
0
0
0
0.048611
0.162791
172
4
99
43
0.847222
0.127907
0
0
0
0
0.560811
0
0
0
0
0
0
1
0
false
0
0
0
0
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
d30ffea315f250f9912b82e9a9cdd819f1843403
59
py
Python
zang/inboundxml/elements/constants.py
vlastikczech/zang-python
980f5243071404d6838554500a6955ff7bc2a0c7
[ "MIT" ]
1
2019-02-18T21:51:58.000Z
2019-02-18T21:51:58.000Z
zang/inboundxml/elements/constants.py
vlastikczech/zang-python
980f5243071404d6838554500a6955ff7bc2a0c7
[ "MIT" ]
6
2019-06-26T13:56:22.000Z
2022-02-17T16:40:48.000Z
zang/inboundxml/elements/constants.py
vlastikczech/zang-python
980f5243071404d6838554500a6955ff7bc2a0c7
[ "MIT" ]
6
2017-10-17T12:44:32.000Z
2020-02-07T20:45:00.000Z
XML_DECLARATION = '<?xml version="1.0" encoding="UTF-8"?>'
29.5
58
0.661017
9
59
4.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0.055556
0.084746
59
1
59
59
0.648148
0
1
0
0
0
0.644068
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d321c385515d58973518fee1f54b1f14924828a1
449
py
Python
peregrinearb/__init__.py
kecheon/peregrine
3d308ff3134bc00900421b248f9f93d7ad31ddb6
[ "MIT" ]
954
2018-02-19T23:20:08.000Z
2022-03-28T16:37:43.000Z
peregrinearb/__init__.py
edouardkombo/peregrine
a3346e937d417acd91468884ee1fc14586cf317d
[ "MIT" ]
55
2018-02-17T00:12:03.000Z
2021-11-09T03:57:34.000Z
peregrinearb/__init__.py
edouardkombo/peregrine
a3346e937d417acd91468884ee1fc14586cf317d
[ "MIT" ]
307
2018-02-24T06:00:13.000Z
2022-03-30T01:28:32.000Z
from .async_find_opportunities import * from .async_build_markets import * from .bellman_multi_graph import bellman_ford_multi, NegativeWeightFinderMulti from .bellmannx import bellman_ford, calculate_profit_ratio_for_path, NegativeWeightFinder, NegativeWeightDepthFinder, \ find_opportunities_on_exchange, get_start...
44.9
120
0.857461
54
449
6.722222
0.555556
0.137741
0.093664
0
0
0
0
0
0
0
0
0
0.095768
449
9
121
49.888889
0.894089
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.888889
0
0.888889
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
d33c517e903d4299dcc756db5c8e54c394d2ba3f
56
py
Python
goodmorning.py
patelkishan9286/Open-contributions
7c106acf84449246ff2bfb95537b95489287b660
[ "MIT" ]
61
2020-09-10T05:16:19.000Z
2021-11-07T00:22:46.000Z
goodmorning.py
vivek-pratap/Open-contributions
46011948225cb194e1185507086f33f873a8103b
[ "MIT" ]
72
2020-09-12T09:34:19.000Z
2021-08-01T17:48:46.000Z
goodmorning.py
vivek-pratap/Open-contributions
46011948225cb194e1185507086f33f873a8103b
[ "MIT" ]
571
2020-09-10T01:52:56.000Z
2022-03-26T17:26:23.000Z
def goodmorningmsg(name): print("Good Morning,"+name)
28
29
0.732143
7
56
5.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.107143
56
2
29
28
0.82
0
0
0
0
0
0.232143
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
4
d34bfac2c68b5bc667218c09d881c93232dd22a8
296
py
Python
MusicMaze/view/MusicTextView.py
RegaledSeer/MusicMaze
5a60fb23694583cfbfde3d19a0aec5292c5aa9cc
[ "MIT" ]
3
2020-02-04T17:32:08.000Z
2020-03-25T13:52:29.000Z
MusicMaze/view/MusicTextView.py
RegaledSeer/MusicMaze
5a60fb23694583cfbfde3d19a0aec5292c5aa9cc
[ "MIT" ]
24
2018-11-09T16:58:13.000Z
2018-12-30T18:44:51.000Z
MusicMaze/view/MusicTextView.py
CookieComputing/MusicMaze
5a60fb23694583cfbfde3d19a0aec5292c5aa9cc
[ "MIT" ]
null
null
null
class MusicTextView: """This class represents one instance of a view for the music maze. The purpose of this class is to represent the maze through text and also to create a basis on the methods needed to cover all of the view's expected features for sanity checking purposes."""
49.333333
76
0.75
49
296
4.530612
0.693878
0.081081
0
0
0
0
0
0
0
0
0
0
0.216216
296
5
77
59.2
0.956897
0.851351
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
d35e5632eaed82bd9c90818b3bb99927f47ec345
31
py
Python
macOS/Lock to Delete.py
ahornby/autokey-macos
10a7442c1d00363ade52e8fc9371565e0e36d23d
[ "MIT" ]
null
null
null
macOS/Lock to Delete.py
ahornby/autokey-macos
10a7442c1d00363ade52e8fc9371565e0e36d23d
[ "MIT" ]
null
null
null
macOS/Lock to Delete.py
ahornby/autokey-macos
10a7442c1d00363ade52e8fc9371565e0e36d23d
[ "MIT" ]
null
null
null
keyboard.send_keys("<delete>")
15.5
30
0.741935
4
31
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.032258
31
1
31
31
0.733333
0
0
0
0
0
0.258065
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
d37a8c4afe249b053873ffd431ee5ad68eca608c
408
py
Python
tests/undocumented_exception/test_undocumented_exception.py
Bakhtiyar-Garashov/flake8-fastapi
81e774defcae377e77c1986ca780a922b27d2757
[ "MIT" ]
20
2021-06-01T20:53:46.000Z
2022-01-29T21:35:46.000Z
tests/undocumented_exception/test_undocumented_exception.py
Bakhtiyar-Garashov/flake8-fastapi
81e774defcae377e77c1986ca780a922b27d2757
[ "MIT" ]
13
2021-06-02T15:26:22.000Z
2021-07-25T13:27:59.000Z
tests/undocumented_exception/test_undocumented_exception.py
Bakhtiyar-Garashov/flake8-fastapi
81e774defcae377e77c1986ca780a922b27d2757
[ "MIT" ]
3
2021-06-01T21:16:58.000Z
2022-01-29T21:39:29.000Z
from flake8_plugin_utils import assert_error, assert_not_error from flake8_fastapi.errors import UndocumentedHTTPExceptionError from flake8_fastapi.visitors import UndocumentedHTTPException def test_code_with_error(code: str): assert_error(UndocumentedHTTPException, code, UndocumentedHTTPExceptionError) def te...
31.384615
81
0.865196
46
408
7.326087
0.413043
0.089021
0.083086
0.106825
0
0
0
0
0
0
0
0.008086
0.090686
408
12
82
34
0.90027
0
0
0
0
0
0
0
0
0
0
0
0.428571
1
0.285714
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
1
0
1
0
0
4
d3898d08968497a476957a8f48a651e422e97f11
140
py
Python
libdouya/utilities/tml/__init__.py
xmyeen/douya
d2f7c15ca2e049a8dad9d4deaeba73401c883860
[ "MIT" ]
null
null
null
libdouya/utilities/tml/__init__.py
xmyeen/douya
d2f7c15ca2e049a8dad9d4deaeba73401c883860
[ "MIT" ]
null
null
null
libdouya/utilities/tml/__init__.py
xmyeen/douya
d2f7c15ca2e049a8dad9d4deaeba73401c883860
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- #!/usr/bin/env Python from .text_markup_language_utility import TmlUtl,TmlDefs __all__ = ["TmlUtl", "TmlDefs"]
23.333333
57
0.685714
18
140
4.944444
0.888889
0.292135
0
0
0
0
0
0
0
0
0
0.008333
0.142857
140
6
58
23.333333
0.733333
0.285714
0
0
0
0
0.139785
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
d38d50f8b393e6ce416e7a39039cace046ad8b98
73
py
Python
smartPlugOFF.py
fernangit/ras_py_smartPlugControl
0611ba9a23065ed385db12714e91fc1ad95cbe5d
[ "Apache-2.0" ]
null
null
null
smartPlugOFF.py
fernangit/ras_py_smartPlugControl
0611ba9a23065ed385db12714e91fc1ad95cbe5d
[ "Apache-2.0" ]
null
null
null
smartPlugOFF.py
fernangit/ras_py_smartPlugControl
0611ba9a23065ed385db12714e91fc1ad95cbe5d
[ "Apache-2.0" ]
null
null
null
import tplink_smartplug_py3 as plug plug.control('192.168.0.106', 'off')
24.333333
36
0.767123
13
73
4.153846
0.923077
0
0
0
0
0
0
0
0
0
0
0.164179
0.082192
73
2
37
36.5
0.641791
0
0
0
0
0
0.219178
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
d396f299dbb490cc82d30fe2a52ad68998184b54
258
py
Python
labelio/Readers/DataReaderFactory.py
farmerTheodor/labelio
fc9846467a88e07ffb14863e1db409fb11d036b2
[ "MIT" ]
null
null
null
labelio/Readers/DataReaderFactory.py
farmerTheodor/labelio
fc9846467a88e07ffb14863e1db409fb11d036b2
[ "MIT" ]
null
null
null
labelio/Readers/DataReaderFactory.py
farmerTheodor/labelio
fc9846467a88e07ffb14863e1db409fb11d036b2
[ "MIT" ]
null
null
null
from labelio.Readers.DataReaderBase import DataReaderBase from labelio.Readers.PascalVocDataReader import PascalVocDataReader def GetDataReader(source) -> DataReaderBase: if ".xml" in source: return PascalVocDataReader(source) return None
25.8
67
0.790698
25
258
8.16
0.56
0.107843
0.176471
0
0
0
0
0
0
0
0
0
0.151163
258
9
68
28.666667
0.931507
0
0
0
0
0
0.015504
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
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
6cb6a915b32b04316ccf37537bdf1d4786016e06
6,915
py
Python
NASA SPACEAPPS CHALLENGE/Solution/Software part/Astronomical Data and Python Libraries/Astropy/astropy-1.1.2/astropy/units/format/ogip_parsetab.py
sahirsharma/Martian
062e9b47849512863c16713811f347ad7e121b56
[ "MIT" ]
null
null
null
NASA SPACEAPPS CHALLENGE/Solution/Software part/Astronomical Data and Python Libraries/Astropy/astropy-1.1.2/astropy/units/format/ogip_parsetab.py
sahirsharma/Martian
062e9b47849512863c16713811f347ad7e121b56
[ "MIT" ]
null
null
null
NASA SPACEAPPS CHALLENGE/Solution/Software part/Astronomical Data and Python Libraries/Astropy/astropy-1.1.2/astropy/units/format/ogip_parsetab.py
sahirsharma/Martian
062e9b47849512863c16713811f347ad7e121b56
[ "MIT" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import (absolute_import, division, print_function, unicode_literals) # This file is automatically generated. Do not edit. _tabversion = '3.5' _lr_method = 'LALR' _lr_signature = '6AD6E7286443B59D7DF329E6378BFC6B' _lr_action_items =...
94.726027
1,876
0.654085
1,350
6,915
3.166667
0.137778
0.057544
0.052398
0.011228
0.470643
0.414269
0.304795
0.293099
0.213801
0.15462
0
0.207431
0.058134
6,915
72
1,877
96.041667
0.448948
0.016197
0
0.032258
1
0
0.438088
0.007794
0
0
0
0
0
1
0
false
0
0.016129
0
0.016129
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6cc25fb038c79062c110c0e9bb22618927a8e29e
914
py
Python
experiments/BA_20spin/train_and_test_eco.py
davidzyx/eco-dqn
eb417d06d6e0533cfe8d02ce1860312ac905684c
[ "MIT" ]
57
2019-09-16T15:59:54.000Z
2022-02-14T07:14:16.000Z
experiments/BA_20spin/train_and_test_eco.py
davidzyx/eco-dqn
eb417d06d6e0533cfe8d02ce1860312ac905684c
[ "MIT" ]
6
2020-07-01T21:19:45.000Z
2021-11-17T20:52:31.000Z
experiments/BA_20spin/train_and_test_eco.py
davidzyx/eco-dqn
eb417d06d6e0533cfe8d02ce1860312ac905684c
[ "MIT" ]
19
2019-12-09T04:26:12.000Z
2022-03-02T20:20:09.000Z
""" Trains and tests ECO-DQN on 20 spin BA graphs. """ import experiments.BA_20spin.test.test_eco as test import experiments.BA_20spin.train.train_eco as train save_loc="BA_20spin/eco" train.run(save_loc) test.run(save_loc, graph_save_loc="_graphs/validation/BA_20spin_m4_100graphs.pkl", batched=True, max_batch_size=...
53.764706
118
0.832604
157
914
4.458599
0.235669
0.14
0.1
0.12
0.717143
0.717143
0.717143
0.717143
0.611429
0.611429
0
0.057737
0.052516
914
16
119
57.125
0.750577
0.050328
0
0
0
0
0.332558
0.317442
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
6cd3ca3509174bf76a7cfec30d3f3f923cfd8a36
3,362
py
Python
guilanche/pedido/migrations/0004_rename_l10_preco_pocao_pedido_l10_preco_porcao_and_more.py
evton/Emissor-pedidos-lanchonete
87869c3eb6860ba4486d069ffc4759648f044783
[ "MIT" ]
null
null
null
guilanche/pedido/migrations/0004_rename_l10_preco_pocao_pedido_l10_preco_porcao_and_more.py
evton/Emissor-pedidos-lanchonete
87869c3eb6860ba4486d069ffc4759648f044783
[ "MIT" ]
null
null
null
guilanche/pedido/migrations/0004_rename_l10_preco_pocao_pedido_l10_preco_porcao_and_more.py
evton/Emissor-pedidos-lanchonete
87869c3eb6860ba4486d069ffc4759648f044783
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2022-01-04 21:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pedido', '0003_pedido_l10_preco_acai_pedido_l10_preco_bebida_and_more'), ] operations = [ migrations.RenameField( model_name='pedido', ...
29.491228
82
0.542832
334
3,362
5.01497
0.131737
0.250746
0.310448
0.358209
0.663284
0.663284
0.663284
0.663284
0.63403
0
0
0.030429
0.354848
3,362
113
83
29.752212
0.741817
0.01279
0
0.560748
1
0
0.231836
0.017787
0
0
0
0
0
1
0
false
0
0.009346
0
0.037383
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9f2b070bdf21d305ac4ca3c2694f08d464941acb
250
py
Python
dbstorage/admin.py
JoshData/django-database-storage-backend
34fc8cb692edcb6c12f7072cd8f9b9bc339e4f18
[ "CC0-1.0" ]
1
2017-07-22T09:00:04.000Z
2017-07-22T09:00:04.000Z
dbstorage/admin.py
if-then-fund/django-database-storage
34fc8cb692edcb6c12f7072cd8f9b9bc339e4f18
[ "CC0-1.0" ]
null
null
null
dbstorage/admin.py
if-then-fund/django-database-storage
34fc8cb692edcb6c12f7072cd8f9b9bc339e4f18
[ "CC0-1.0" ]
null
null
null
from django.contrib import admin from .models import StoredFile class StoredFileAdmin(admin.ModelAdmin): list_display = ['path', 'mime_type', 'size', 'created', 'updated'] search_fields = ['path'] admin.site.register(StoredFile, StoredFileAdmin)
27.777778
67
0.764
29
250
6.482759
0.758621
0
0
0
0
0
0
0
0
0
0
0
0.104
250
8
68
31.25
0.839286
0
0
0
0
0
0.14
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
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
9f5a615761da87145c8fffaa308457ae0d8e42b8
2,489
py
Python
dao/utilisateur.py
nschrader/project_whiskey
a251cc73127e8d92e4295e67d5d2987341bc1dab
[ "MIT" ]
2
2018-04-30T13:31:48.000Z
2018-10-01T14:03:28.000Z
dao/utilisateur.py
nschrader/project_whiskey
a251cc73127e8d92e4295e67d5d2987341bc1dab
[ "MIT" ]
null
null
null
dao/utilisateur.py
nschrader/project_whiskey
a251cc73127e8d92e4295e67d5d2987341bc1dab
[ "MIT" ]
null
null
null
from werkzeug.security import generate_password_hash, check_password_hash from overrides import overrides from flask_login import UserMixin from uuid import uuid4 as uuid from datetime import datetime from mongoengine import * import config import dao.voeu class Utilisateur(UserMixin, Document): nom = StringField...
27.655556
90
0.604259
265
2,489
5.539623
0.384906
0.027248
0.047003
0.029973
0.044959
0.044959
0
0
0
0
0
0.009714
0.296906
2,489
89
91
27.966292
0.829143
0.01366
0
0.058824
1
0
0.027302
0
0
0
0
0.011236
0
1
0.117647
false
0.088235
0.117647
0.073529
0.588235
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
1
0
0
0
0
1
0
0
1
0
0
4
9f6a3498a3d33cc50ef6dc65b5f53bf34533b737
12,702
py
Python
quark/tests/plugin_modules/test_ip_policies.py
jkoelker/quark
522d800cfb8fef2627baf3bceb7389604bd2d4ce
[ "Apache-2.0" ]
null
null
null
quark/tests/plugin_modules/test_ip_policies.py
jkoelker/quark
522d800cfb8fef2627baf3bceb7389604bd2d4ce
[ "Apache-2.0" ]
11
2015-09-10T21:20:04.000Z
2015-09-10T21:20:05.000Z
quark/tests/plugin_modules/test_ip_policies.py
jkoelker/quark
522d800cfb8fef2627baf3bceb7389604bd2d4ce
[ "Apache-2.0" ]
null
null
null
# Copyright 2013 Openstack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
42.912162
75
0.595339
1,538
12,702
4.673602
0.102081
0.130217
0.038397
0.052866
0.80384
0.764051
0.741653
0.702421
0.639121
0.589872
0
0.021085
0.290584
12,702
295
76
43.057627
0.776606
0.045583
0
0.606426
0
0
0.043525
0
0
0
0
0
0.208835
1
0.100402
false
0
0.024096
0
0.140562
0
0
0
0
null
0
0
0
1
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
0
0
0
0
0
0
4
9fa69114a19ce29692fd584e641c4dcd2cb8ce1c
107
py
Python
projects/Alleria/alleria/data/__init__.py
sm047/detectron2
1036cce320ce0f2adbce7f143566462d3222bd5a
[ "Apache-2.0" ]
5
2020-06-16T11:31:22.000Z
2021-11-08T03:07:47.000Z
projects/Alleria/alleria/data/__init__.py
fangchengji/detectron2
1036cce320ce0f2adbce7f143566462d3222bd5a
[ "Apache-2.0" ]
null
null
null
projects/Alleria/alleria/data/__init__.py
fangchengji/detectron2
1036cce320ce0f2adbce7f143566462d3222bd5a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # @Time : 31/5/20 3:32 PM # @Author : fangcheng.ji # @FileName: __init__.py.py
17.833333
28
0.626168
18
107
3.5
0.944444
0
0
0
0
0
0
0
0
0
0
0.103448
0.186916
107
5
29
21.4
0.62069
0.915888
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
4c843d7a1c6b3e93485bb0c4280c884637b12c86
163
py
Python
problem0313.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0313.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0313.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #313 Sliding game - Project Euler # https://projecteuler.net/problem=313 # # Code by Kevin Marciniak # ###########################
18.111111
38
0.466258
14
163
5.428571
0.928571
0
0
0
0
0
0
0
0
0
0
0.041667
0.116564
163
8
39
20.375
0.486111
0.570552
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
4ca77d17570326bf4e5d3e401f45fe0e0e45c332
264
py
Python
src/covid_model_seiir_pipeline/pipeline/diagnostics/__init__.py
yukgu/covid-model-seiir-pipeline
3433034d3f089938e7993b6321d570365bdf62db
[ "BSD-3-Clause" ]
23
2020-05-25T00:20:32.000Z
2022-01-18T10:32:09.000Z
src/covid_model_seiir_pipeline/pipeline/diagnostics/__init__.py
yukgu/covid-model-seiir-pipeline
3433034d3f089938e7993b6321d570365bdf62db
[ "BSD-3-Clause" ]
15
2020-06-15T16:34:22.000Z
2021-08-15T22:11:37.000Z
src/covid_model_seiir_pipeline/pipeline/diagnostics/__init__.py
yukgu/covid-model-seiir-pipeline
3433034d3f089938e7993b6321d570365bdf62db
[ "BSD-3-Clause" ]
11
2020-05-24T21:57:29.000Z
2021-09-07T18:21:15.000Z
from covid_model_seiir_pipeline.pipeline.diagnostics.specification import ( DIAGNOSTICS_JOBS, DiagnosticsSpecification, ) from covid_model_seiir_pipeline.pipeline.diagnostics.task import ( cumulative_deaths_compare_csv, grid_plots, scatters, )
26.4
75
0.810606
28
264
7.25
0.642857
0.08867
0.137931
0.187192
0.453202
0.453202
0.453202
0
0
0
0
0
0.132576
264
9
76
29.333333
0.886463
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
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
1
0
0
0
0
0
0
4
4caf97a5f6604b46b27e3acb7e9033b584f6a09e
209
py
Python
app/core/apps.py
clicktravel-rob/tk-django-exercise
e71c28b85a760680328c1640fa0dc47d892626dc
[ "MIT" ]
null
null
null
app/core/apps.py
clicktravel-rob/tk-django-exercise
e71c28b85a760680328c1640fa0dc47d892626dc
[ "MIT" ]
1
2021-09-02T15:10:30.000Z
2021-09-03T13:24:07.000Z
app/core/apps.py
clicktravel-rob/tk-django-exercise
e71c28b85a760680328c1640fa0dc47d892626dc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class RecipeConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'recipe'
20.9
56
0.741627
25
209
5.92
0.84
0
0
0
0
0
0
0
0
0
0
0.00565
0.15311
209
9
57
23.222222
0.830508
0.100478
0
0
0
0
0.188172
0.155914
0
0
0
0
0
1
0
false
0
0.4
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
4cd347d48f0b3dc073bcb81ce883857016007bf2
221
py
Python
tensorflow_model.py
Haoyu-R/P1_Facial_Keypoints-master
32cc8e4d5b01b9e5ad039b19bedf10b5450a361a
[ "MIT" ]
null
null
null
tensorflow_model.py
Haoyu-R/P1_Facial_Keypoints-master
32cc8e4d5b01b9e5ad039b19bedf10b5450a361a
[ "MIT" ]
4
2021-06-08T22:40:36.000Z
2022-03-12T00:27:45.000Z
tensorflow_model.py
Haoyu-R/P1_Facial_Keypoints-master
32cc8e4d5b01b9e5ad039b19bedf10b5450a361a
[ "MIT" ]
null
null
null
import tensorflow as tf from keras.layers import Conv2D, Flatten, MaxPooling2D, Dense, BatchNormalization, Dropout from keras.models import Sequential import numpy as np model = Sequential([ Conv2D(128, (5, 5), ) ])
24.555556
90
0.760181
29
221
5.793103
0.689655
0.107143
0
0
0
0
0
0
0
0
0
0.042781
0.153846
221
9
91
24.555556
0.855615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
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
4cded4ad2353fcdea765920d4e01e280ac485807
238
py
Python
backend/user_management/urls.py
Extramus-Dev/theatre-platform
8b027542f3b151fe9b62ff1ddad7cea8a41829ea
[ "MIT" ]
null
null
null
backend/user_management/urls.py
Extramus-Dev/theatre-platform
8b027542f3b151fe9b62ff1ddad7cea8a41829ea
[ "MIT" ]
9
2021-11-12T12:49:28.000Z
2021-11-15T15:18:34.000Z
backend/user_management/urls.py
Extramus-Dev/theatre-platform
8b027542f3b151fe9b62ff1ddad7cea8a41829ea
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('signup/viewer', views.SignUPViewer.as_view(), name='signup_viewer'), path('signup/contentcreator', views.SignUPContentCreator.as_view(), name='signup_cc'), ]
29.75
90
0.739496
29
238
5.931034
0.551724
0.116279
0.116279
0.186047
0
0
0
0
0
0
0
0
0.113445
238
8
91
29.75
0.815166
0
0
0
0
0
0.23431
0.087866
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
4ceadb82813e07db86aa098c57f9b9c64ca4b872
19
py
Python
rsds/process_args.py
darrenzimire/RNASeqDesigner
1fc5323b13bed0cb62a7ba522cb7e89b23eb3515
[ "MIT" ]
null
null
null
rsds/process_args.py
darrenzimire/RNASeqDesigner
1fc5323b13bed0cb62a7ba522cb7e89b23eb3515
[ "MIT" ]
null
null
null
rsds/process_args.py
darrenzimire/RNASeqDesigner
1fc5323b13bed0cb62a7ba522cb7e89b23eb3515
[ "MIT" ]
null
null
null
# encoding =UTF-8
6.333333
17
0.631579
3
19
4
1
0
0
0
0
0
0
0
0
0
0
0.066667
0.210526
19
2
18
9.5
0.733333
0.789474
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
980ab668b495d245976f06c73a3b13b10c93cdc7
53
py
Python
distwin/__init__.py
ClericPy/distribute-python-on-windows
9926e222933e715f51d93bc1ed3c47fb816f2145
[ "MIT" ]
2
2020-01-19T01:20:02.000Z
2020-04-17T04:11:47.000Z
distwin/__init__.py
ClericPy/distribute-python-on-windows
9926e222933e715f51d93bc1ed3c47fb816f2145
[ "MIT" ]
1
2019-10-27T09:50:02.000Z
2019-10-27T09:50:02.000Z
distwin/__init__.py
ClericPy/distribute-python-on-windows
9926e222933e715f51d93bc1ed3c47fb816f2145
[ "MIT" ]
null
null
null
from ._controller import ShivUtils, __version__, cli
26.5
52
0.830189
6
53
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.113208
53
1
53
53
0.829787
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
e27667342b1ad7974f44e0b78e71a28008262f28
154
py
Python
deui/html/view/dl_element.py
urushiyama/DeUI
14530d2dae7d96a3dee30759f85e02239fb433c5
[ "MIT" ]
1
2021-10-17T01:54:18.000Z
2021-10-17T01:54:18.000Z
deui/html/view/dl_element.py
urushiyama/DeUI
14530d2dae7d96a3dee30759f85e02239fb433c5
[ "MIT" ]
null
null
null
deui/html/view/dl_element.py
urushiyama/DeUI
14530d2dae7d96a3dee30759f85e02239fb433c5
[ "MIT" ]
null
null
null
from .element import Element class DefinitionList(Element): """ Represents definition list. """ def __str__(self): return "dl"
14
31
0.623377
15
154
6.133333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.272727
154
10
32
15.4
0.821429
0.175325
0
0
0
0
0.018018
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
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
2c38507952dc77a5101db7c3ea78af7a0e90df77
927
py
Python
swagger_server/models/__init__.py
Adtrac/swagger_cms
4889b5986808555933a1e3db4742fe542bdf2a72
[ "MIT" ]
null
null
null
swagger_server/models/__init__.py
Adtrac/swagger_cms
4889b5986808555933a1e3db4742fe542bdf2a72
[ "MIT" ]
null
null
null
swagger_server/models/__init__.py
Adtrac/swagger_cms
4889b5986808555933a1e3db4742fe542bdf2a72
[ "MIT" ]
null
null
null
# coding: utf-8 # flake8: noqa from __future__ import absolute_import # import models into model package from swagger_server.models.asset import Asset from swagger_server.models.assets import Assets from swagger_server.models.assets_body import AssetsBody from swagger_server.models.opening_hour import OpeningHour from...
46.35
82
0.884574
126
927
6.253968
0.325397
0.195431
0.30203
0.408629
0.436548
0.215736
0
0
0
0
0
0.002342
0.078749
927
19
83
48.789474
0.920375
0.063646
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
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
2c7d6abdff653d2941ad4009919b272e10e8f787
726
py
Python
RecoBTag/SecondaryVertex/python/candidateNegativeCombinedSecondaryVertexV2Computer_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
RecoBTag/SecondaryVertex/python/candidateNegativeCombinedSecondaryVertexV2Computer_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
RecoBTag/SecondaryVertex/python/candidateNegativeCombinedSecondaryVertexV2Computer_cfi.py
SWuchterl/cmssw
769b4a7ef81796579af7d626da6039dfa0347b8e
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms from RecoBTag.SecondaryVertex.candidateCombinedSecondaryVertexV2Computer_cfi import * candidateNegativeCombinedSecondaryVertexV2Computer = candidateCombinedSecondaryVertexV2Computer.clone() candidateNegativeCombinedSecondaryVertexV2Computer.vertexFlip = True candidateNegativeC...
60.5
103
0.917355
39
726
17.051282
0.641026
0.315789
0.186466
0.246617
0
0
0
0
0
0
0
0.033094
0.0427
726
11
104
66
0.923741
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
1
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2ccadd7ba80f38630cf624bef2ae56985513ceed
276
py
Python
universa/utils.py
amyodov/universa
3df21517b078c0f926132f920d5d7fece432bc52
[ "MIT" ]
null
null
null
universa/utils.py
amyodov/universa
3df21517b078c0f926132f920d5d7fece432bc52
[ "MIT" ]
null
null
null
universa/utils.py
amyodov/universa
3df21517b078c0f926132f920d5d7fece432bc52
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import calendar from datetime import datetime def ut(date_time): return calendar.timegm(date_time.timetuple()) def dt(unix_time): return datetime.utcfromtimestamp(float(unix_time))
18.4
56
0.764493
36
276
5.583333
0.611111
0.079602
0
0
0
0
0
0
0
0
0
0.004202
0.137681
276
14
57
19.714286
0.840336
0.076087
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.428571
0.285714
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
e2e0d1ba8178e43791bc4fdccfab6e5114a332ee
194
py
Python
kite-python/kite_pkgexploration/kite/__init__.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
17
2022-01-10T11:01:50.000Z
2022-03-25T03:21:08.000Z
kite-python/kite_common/kite/__init__.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
1
2022-01-13T14:28:47.000Z
2022-01-13T14:28:47.000Z
kite-python/kite_common/kite/__init__.py
kiteco/kiteco-public
74aaf5b9b0592153b92f7ed982d65e15eea885e3
[ "BSD-3-Clause" ]
7
2022-01-07T03:58:10.000Z
2022-03-24T07:38:20.000Z
# this is a namespace package, allowing us to separate out e.g. # `kite.pkgexploration` into a separate installable distribution __path__ = __import__('pkgutil').extend_path(__path__, __name__)
48.5
64
0.793814
26
194
5.269231
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.118557
194
3
65
64.666667
0.80117
0.639175
0
0
0
0
0.104478
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
0
0
4
391d4b6540c85432846aeec1b69cff23e62eeaed
186
py
Python
marley/worlds/blackjack/__init__.py
cool-RR/grid_royale
26e2614eb9b986e9bee180e85edfa9a955b6cc8f
[ "MIT" ]
255
2020-10-11T08:36:17.000Z
2021-04-18T16:10:38.000Z
marley/worlds/blackjack/__init__.py
cool-RR/marley
fcc39de8964eaf1a28872173538c17ea246591b3
[ "MIT" ]
24
2020-10-11T08:38:21.000Z
2021-01-23T16:33:41.000Z
marley/worlds/blackjack/__init__.py
cool-RR/marley
fcc39de8964eaf1a28872173538c17ea246591b3
[ "MIT" ]
29
2020-10-11T10:55:30.000Z
2021-09-21T16:44:20.000Z
# Copyright 2020 Ram Rachum and collaborators. # This program is distributed under the MIT license. from .core import * from .sharknadoing import * from .commanding import command_group
31
52
0.801075
25
186
5.92
0.84
0.135135
0
0
0
0
0
0
0
0
0
0.025316
0.150538
186
6
53
31
0.911392
0.510753
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
1a2f5942ee004989816d672fa57d7dab25fe65a7
5,322
py
Python
solver/runners.py
bicycleman15/pytorch-classification
01e480dad9ea1e9bbf0810b35c1103dd76e06510
[ "MIT" ]
null
null
null
solver/runners.py
bicycleman15/pytorch-classification
01e480dad9ea1e9bbf0810b35c1103dd76e06510
[ "MIT" ]
null
null
null
solver/runners.py
bicycleman15/pytorch-classification
01e480dad9ea1e9bbf0810b35c1103dd76e06510
[ "MIT" ]
null
null
null
import torch from tqdm import tqdm from utils import Logger, AverageMeter, accuracy import numpy as np def train(trainloader, model, criterion, optimizer): # switch to train mode model.train() losses = AverageMeter() top1 = AverageMeter() top3 = AverageMeter() top5 = AverageMeter() crit...
28.010526
131
0.59038
613
5,322
5.027732
0.164763
0.038936
0.040883
0.043803
0.771577
0.762492
0.717067
0.67878
0.657365
0.634004
0
0.024151
0.291995
5,322
190
132
28.010526
0.79379
0.06708
0
0.743802
0
0.016529
0.040016
0
0
0
0
0
0
1
0.041322
false
0
0.033058
0
0.115702
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1a501837b7c05445b682794d6cee99572713d9ff
417
py
Python
code/mlaipack01/MLAIPractical01.py
HaoZeke/ictIITK-AI
36abd5464d06d0a05c2a8fd4fa2187f68bbed0ac
[ "MIT" ]
null
null
null
code/mlaipack01/MLAIPractical01.py
HaoZeke/ictIITK-AI
36abd5464d06d0a05c2a8fd4fa2187f68bbed0ac
[ "MIT" ]
null
null
null
code/mlaipack01/MLAIPractical01.py
HaoZeke/ictIITK-AI
36abd5464d06d0a05c2a8fd4fa2187f68bbed0ac
[ "MIT" ]
null
null
null
#!/usr/bin/env /home/haozeke/.venvs/ictAI/bin/python import seaborn print( 'seaborn:', seaborn.__version__ ) import scipy print( 'scipy:', scipy.__version__ ) import sklearn print( 'sklearn:', sklearn.__version__ ) import pandas print( 'pandas:', pandas.__version__ ) import matplotlib print( 'matplotlib:', matplot...
24.529412
52
0.745803
48
417
5.979167
0.395833
0.226481
0
0
0
0
0
0
0
0
0
0
0.115108
417
16
53
26.0625
0.777778
0.122302
0
0
0
0
0.169863
0
0
0
0
0
0
1
0
true
0
0.461538
0
0.461538
0.538462
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
0
1
0
4
1a54bd833cda9c0601bc7647082b20f1dcbb408c
93
py
Python
pychemia/population/orbitaldftu/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
67
2015-01-31T07:44:55.000Z
2022-03-21T21:43:34.000Z
pychemia/population/orbitaldftu/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
13
2016-06-03T19:07:51.000Z
2022-03-31T04:20:40.000Z
pychemia/population/orbitaldftu/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
37
2015-01-22T15:37:23.000Z
2022-03-21T15:38:10.000Z
from ._population import OrbitalDFTU, dmatpawu2params, params2dmatpawu, get_final_abinit_out
46.5
92
0.88172
10
93
7.8
1
0
0
0
0
0
0
0
0
0
0
0.023256
0.075269
93
1
93
93
0.883721
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
1a5df851de77ca62774ed07a1db9889e68916381
190
py
Python
src/hpi/sys.py
fvutils/py-dpi
7916298bd8c078bb34e405c25b0b02b366abc0de
[ "Apache-2.0" ]
9
2019-06-09T12:23:07.000Z
2022-01-06T09:47:09.000Z
src/hpi/sys.py
fvutils/py-dpi
7916298bd8c078bb34e405c25b0b02b366abc0de
[ "Apache-2.0" ]
null
null
null
src/hpi/sys.py
fvutils/py-dpi
7916298bd8c078bb34e405c25b0b02b366abc0de
[ "Apache-2.0" ]
4
2020-12-16T15:43:13.000Z
2021-12-22T17:41:48.000Z
''' Created on May 19, 2019 @author: ballance ''' # TODO: implement simulation-access methods # - yield # - get sim time # - ... # # The launcher will ultimately implement these methods #
13.571429
54
0.678947
23
190
5.608696
0.913043
0
0
0
0
0
0
0
0
0
0
0.039216
0.194737
190
13
55
14.615385
0.803922
0.878947
0
null
0
null
0
0
null
0
0
0.076923
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
4
1a7a0f64816073644a87e81f4bd26ca13b4fa285
3,569
py
Python
tests/fast_tests/test_common.py
alt113/h-baselines
67786876d7ee760477d5c5ccb0591fa90f6b7550
[ "MIT" ]
null
null
null
tests/fast_tests/test_common.py
alt113/h-baselines
67786876d7ee760477d5c5ccb0591fa90f6b7550
[ "MIT" ]
null
null
null
tests/fast_tests/test_common.py
alt113/h-baselines
67786876d7ee760477d5c5ccb0591fa90f6b7550
[ "MIT" ]
null
null
null
"""Contains tests for the model abstractions and different models.""" import unittest from hbaselines.common.train import parse_options, get_hyperparameters from hbaselines.common.train import DEFAULT_TD3_HP class TestTrain(unittest.TestCase): """A simple test to get Travis running.""" def test_parse_options...
37.177083
79
0.609414
420
3,569
4.916667
0.221429
0.268765
0.202421
0.030508
0.247942
0.101695
0.101695
0.101695
0.101695
0.101695
0
0.023481
0.248249
3,569
95
80
37.568421
0.74618
0.050434
0
0.076923
0
0
0.165184
0.013642
0
0
0
0
0.474359
1
0.064103
false
0.051282
0.038462
0
0.128205
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
4
1a8d71ca435c39276b608adb17402b48d8827182
274
py
Python
mjcbsn22/equal_sides_of_an_array.py
richcontext/katas
bd14bba0814307bb91cb994966edb423bd13d64f
[ "MIT" ]
null
null
null
mjcbsn22/equal_sides_of_an_array.py
richcontext/katas
bd14bba0814307bb91cb994966edb423bd13d64f
[ "MIT" ]
null
null
null
mjcbsn22/equal_sides_of_an_array.py
richcontext/katas
bd14bba0814307bb91cb994966edb423bd13d64f
[ "MIT" ]
null
null
null
def find_even_index(arr): for index, int in enumerate(arr): left = sum_range(arr, 0, index) right = sum_range(arr, index, len(arr)) if left == right: return index return -1 def sum_range(arr, a, b): return sum(arr[a:b + 1])
22.833333
47
0.572993
43
274
3.534884
0.465116
0.157895
0.217105
0
0
0
0
0
0
0
0
0.015707
0.30292
274
11
48
24.909091
0.780105
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.555556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
1aa75fae12ea584a3ced5a54824248594779c508
2,608
py
Python
tinyipam/model/custom_types/ip.py
marcsello/tinyipam
6a8dff9609015a7c5138ee3985d5a5aa163474bc
[ "MIT" ]
null
null
null
tinyipam/model/custom_types/ip.py
marcsello/tinyipam
6a8dff9609015a7c5138ee3985d5a5aa163474bc
[ "MIT" ]
null
null
null
tinyipam/model/custom_types/ip.py
marcsello/tinyipam
6a8dff9609015a7c5138ee3985d5a5aa163474bc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from sqlalchemy import types from sqlalchemy.types import TypeDecorator from ipaddress import IPv4Network, IPv6Network, IPv4Address, IPv6Address # TODO: Use postgres native types if available class DBIPv4SubnetStr(TypeDecorator): impl = types.Unicode(18) def __init__(self, *args, **kw...
28.659341
72
0.692868
331
2,608
5.265861
0.154079
0.068847
0.110155
0.151463
0.768216
0.722318
0.662651
0.662651
0.575445
0.575445
0
0.016098
0.213957
2,608
90
73
28.977778
0.834146
0.025307
0
0.610169
0
0
0
0
0
0
0
0.011111
0
1
0.338983
false
0
0.050847
0.271186
0.79661
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
4
46de7a219f85c0ef5348926c9b4d6cce1458dccb
241
py
Python
aiomatrix/types/responses/content_repository.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
2
2021-10-29T18:07:08.000Z
2021-11-19T00:25:43.000Z
aiomatrix/types/responses/content_repository.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
1
2022-03-06T11:17:43.000Z
2022-03-06T11:17:43.000Z
aiomatrix/types/responses/content_repository.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
null
null
null
from typing import Optional from pydantic import BaseModel, Field class ContentRepositoryConfig(BaseModel): upload_size: Optional[int] = Field(None, alias='m.upload.size') class UploadedFileResponse(BaseModel): content_uri: str
20.083333
67
0.780083
28
241
6.642857
0.678571
0.107527
0
0
0
0
0
0
0
0
0
0
0.136929
241
11
68
21.909091
0.894231
0
0
0
0
0
0.053942
0
0
0
0
0
0
1
0
true
0
0.333333
0
1
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
46e61c281bf59a1695273c93f2d15f47e4004dc4
61
py
Python
backend/urls.py
Takenori-Kusaka/Vuetify_FastAPI_Base
2ceb4f9ecd659e2a3d1ef483e15a45f438c51d41
[ "MIT" ]
null
null
null
backend/urls.py
Takenori-Kusaka/Vuetify_FastAPI_Base
2ceb4f9ecd659e2a3d1ef483e15a45f438c51d41
[ "MIT" ]
null
null
null
backend/urls.py
Takenori-Kusaka/Vuetify_FastAPI_Base
2ceb4f9ecd659e2a3d1ef483e15a45f438c51d41
[ "MIT" ]
1
2021-04-19T03:01:33.000Z
2021-04-19T03:01:33.000Z
from index import * # URL app.add_api_route('/', index)
12.2
30
0.639344
9
61
4.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.213115
61
4
31
15.25
0.770833
0.04918
0
0
0
0
0.019231
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
46eec5846ef3604bf69a96ba7cbd8a23c44fcc72
993
py
Python
demo/part_1.py
eric6239/HeartsEnv
8b8c438f4e0add9a9e956b85ba3cad82af45fbcb
[ "MIT" ]
6
2018-08-12T00:27:10.000Z
2019-05-09T09:41:08.000Z
demo/part_1.py
eric6239/HeartsEnv
8b8c438f4e0add9a9e956b85ba3cad82af45fbcb
[ "MIT" ]
8
2018-08-15T08:46:39.000Z
2021-06-01T22:29:39.000Z
demo/part_1.py
roth1002/HeartsEnv
4d987978b4a5ea2fd2dbbaeb2a87eca08e1cbfc2
[ "MIT" ]
3
2018-08-14T09:27:37.000Z
2018-08-29T06:31:12.000Z
from gym import spaces table_space = spaces.Tuple([ spaces.Discrete(13), # n_round spaces.Discrete(4), # start_pos spaces.Discrete(4), # cur_pos spaces.Discrete(1), # exchanged spaces.Discrete(1), # heart_occured spaces.Discrete(100), # n_games spaces.Tuple([ # board spaces.MultiDisc...
23.642857
41
0.567976
113
993
4.911504
0.300885
0.218018
0.264865
0.277477
0.479279
0.425225
0.425225
0.425225
0.425225
0.425225
0
0.066116
0.268882
993
41
42
24.219512
0.698347
0.115811
0
0.763158
0
0
0
0
0
0
0
0
0
1
0
false
0
0.026316
0
0.026316
0
0
0
0
null
1
1
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
0
0
0
0
0
0
0
4
2003056b00e78b08b3ceae8a7f8b039c284c2fa1
4,683
py
Python
4_v_vrsto_streznik.py
miharadez/4-v-vrsto
d1048e77787de94a9283038670c03f95ce689b0c
[ "MIT" ]
null
null
null
4_v_vrsto_streznik.py
miharadez/4-v-vrsto
d1048e77787de94a9283038670c03f95ce689b0c
[ "MIT" ]
null
null
null
4_v_vrsto_streznik.py
miharadez/4-v-vrsto
d1048e77787de94a9283038670c03f95ce689b0c
[ "MIT" ]
null
null
null
import bottle import pathlib import os from cela_igra import * pot = os.path.join(pathlib.Path(__file__).parent.absolute(), "views") d = Igra((7, 6), 0, [], [], prosti=[0 for i in range(7)], kam=(0, 0)) @bottle.get("/") def predstavi(): return bottle.template(os.path.join(pot, "poimenuj.tpl")) @bottle.post("...
30.809211
77
0.474269
614
4,683
3.602606
0.144951
0.065099
0.05425
0.109403
0.768987
0.735081
0.735081
0.658228
0.658228
0.658228
0
0.070455
0.342302
4,683
152
78
30.809211
0.647727
0.017297
0
0.702479
0
0
0.128534
0.081557
0
0
0
0
0
1
0.049587
false
0
0.033058
0.024793
0.173554
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
20078cffa699e56cc802e1e4d1c71b16ab810b04
55
py
Python
deliravision/torch/models/gans/munit/__init__.py
delira-dev/vision_torch
d944aa67d319bd63a2add5cb89e8308413943de6
[ "BSD-2-Clause" ]
4
2019-08-03T09:56:50.000Z
2019-09-05T09:32:06.000Z
deliravision/torch/models/gans/munit/__init__.py
delira-dev/vision_torch
d944aa67d319bd63a2add5cb89e8308413943de6
[ "BSD-2-Clause" ]
23
2019-08-03T14:16:47.000Z
2019-10-22T10:15:10.000Z
deliravision/torch/models/gans/munit/__init__.py
delira-dev/vision_torch
d944aa67d319bd63a2add5cb89e8308413943de6
[ "BSD-2-Clause" ]
null
null
null
from deliravision.models.gans.munit.munit import MUNIT
27.5
54
0.854545
8
55
5.875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.072727
55
1
55
55
0.921569
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
2010207d45b27d7b50766714a96e169c4be8fc70
174
py
Python
sandbox/apps/app.py
django-oscar/django-oscar-gocardless
d22b01541cad9a20728769978550977a95689d8f
[ "BSD-3-Clause" ]
3
2015-06-22T11:00:57.000Z
2021-05-12T07:30:41.000Z
sandbox/apps/app.py
django-oscar/django-oscar-gocardless
d22b01541cad9a20728769978550977a95689d8f
[ "BSD-3-Clause" ]
null
null
null
sandbox/apps/app.py
django-oscar/django-oscar-gocardless
d22b01541cad9a20728769978550977a95689d8f
[ "BSD-3-Clause" ]
7
2015-06-25T11:34:43.000Z
2018-10-15T00:47:21.000Z
from oscar.app import Shop from apps.checkout.app import application as checkout_app class GoCardlessShop(Shop): checkout_app = checkout_app shop = GoCardlessShop()
17.4
58
0.787356
23
174
5.826087
0.478261
0.328358
0
0
0
0
0
0
0
0
0
0
0.155172
174
9
59
19.333333
0.911565
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
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
2016eb2764699564661acb717df48599d8daf049
270
py
Python
0x0A-python-inheritance/6-base_geometry.py
Trice254/alx-higher_level_programming
b49b7adaf2c3faa290b3652ad703914f8013c67c
[ "MIT" ]
null
null
null
0x0A-python-inheritance/6-base_geometry.py
Trice254/alx-higher_level_programming
b49b7adaf2c3faa290b3652ad703914f8013c67c
[ "MIT" ]
null
null
null
0x0A-python-inheritance/6-base_geometry.py
Trice254/alx-higher_level_programming
b49b7adaf2c3faa290b3652ad703914f8013c67c
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ Contains empty class BaseGeometry with public instance method area """ class BaseGeometry: """ Methods: area(self) """ def area(self): """not implemented""" raise Exception("area() is not implemented")
18
52
0.6
28
270
5.785714
0.714286
0.209877
0
0
0
0
0
0
0
0
0
0.005051
0.266667
270
14
53
19.285714
0.813131
0.459259
0
0
0
0
0.219298
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
204f77d29d2d9c3da30816d2f3f9786cc2f18ab8
83
py
Python
nugu/apps.py
tmddusgood/NUGU_movie_recommendation-1
0c87638963d4681583f94def038dcd980270cb14
[ "MIT" ]
null
null
null
nugu/apps.py
tmddusgood/NUGU_movie_recommendation-1
0c87638963d4681583f94def038dcd980270cb14
[ "MIT" ]
null
null
null
nugu/apps.py
tmddusgood/NUGU_movie_recommendation-1
0c87638963d4681583f94def038dcd980270cb14
[ "MIT" ]
3
2020-03-23T02:53:49.000Z
2021-01-02T20:15:09.000Z
from django.apps import AppConfig class NuguConfig(AppConfig): name = 'nugu'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
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
64978091119bc050b3694579954c4d781a7f2b03
293
py
Python
exercises/list-ops/list_ops.py
kishankj/python
82042de746128127502e109111e6c4e8ab002af6
[ "MIT" ]
1,177
2017-06-21T20:24:06.000Z
2022-03-29T02:30:55.000Z
exercises/list-ops/list_ops.py
kishankj/python
82042de746128127502e109111e6c4e8ab002af6
[ "MIT" ]
1,890
2017-06-18T20:06:10.000Z
2022-03-31T18:35:51.000Z
exercises/list-ops/list_ops.py
kishankj/python
82042de746128127502e109111e6c4e8ab002af6
[ "MIT" ]
1,095
2017-06-26T23:06:19.000Z
2022-03-29T03:25:38.000Z
def append(list1, list2): pass def concat(lists): pass def filter(function, list): pass def length(list): pass def map(function, list): pass def foldl(function, list, initial): pass def foldr(function, list, initial): pass def reverse(list): pass
9.451613
35
0.631399
39
293
4.74359
0.410256
0.264865
0.178378
0.205405
0.281081
0
0
0
0
0
0
0.009259
0.262799
293
30
36
9.766667
0.847222
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
64a033e14a76469ac570dae12f85a26317bb6c5a
236
py
Python
config.py
lubupang/resume_flask1
1ea18e88c0b667e92710096f57973a77d19e8fc6
[ "MIT" ]
null
null
null
config.py
lubupang/resume_flask1
1ea18e88c0b667e92710096f57973a77d19e8fc6
[ "MIT" ]
null
null
null
config.py
lubupang/resume_flask1
1ea18e88c0b667e92710096f57973a77d19e8fc6
[ "MIT" ]
null
null
null
import os # 是否开启debug模式 DEBUG = True # 读取数据库环境变量 username = os.environ.get("MYSQL_USERNAME", r'root') password = os.environ.get("MYSQL_PASSWORD", r'lubupangAdmin123!!!') db_address =os.environ.get("MYSQL_ADDRESS", r'10.0.224.8:3306')
23.6
67
0.737288
35
236
4.857143
0.6
0.158824
0.211765
0.3
0
0
0
0
0
0
0
0.065421
0.09322
236
9
68
26.222222
0.728972
0.088983
0
0
0
0
0.372642
0
0
0
0
0
0
1
0
false
0.2
0.2
0
0.2
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
64cb58f42a61635f66e7a69c8d7784c16c2202ae
8,853
py
Python
SafeGraph/1.POIs.py
yeabinmoon/economics
53bfc51f2227755948ac937c3e763b747d3aedec
[ "MIT" ]
null
null
null
SafeGraph/1.POIs.py
yeabinmoon/economics
53bfc51f2227755948ac937c3e763b747d3aedec
[ "MIT" ]
null
null
null
SafeGraph/1.POIs.py
yeabinmoon/economics
53bfc51f2227755948ac937c3e763b747d3aedec
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Feb 27 23:57:54 2021 @author: yeabinmoon """ import pandas as pd import time file_lists = ['core_poi-part1.csv.gz', 'core_poi-part2.csv.gz', 'core_poi-part3.csv.gz', 'core_poi-part4.csv.gz', 'core_poi-part5.csv.gz'] months...
44.044776
100
0.626341
1,278
8,853
4.190923
0.118936
0.038088
0.04705
0.060493
0.792196
0.776139
0.751307
0.731889
0.696602
0.657207
0
0.058374
0.187281
8,853
200
101
44.265
0.686032
0.016153
0
0.565789
0
0.125
0.312414
0.207931
0
0
0
0
0
1
0
false
0
0.013158
0
0.013158
0.039474
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
b381c8c90bf6cc50f55fba4563ec39264b370f7c
34,710
py
Python
mpBuild/ESP32_BPI_bit/lib/microbit.py
devshop2019/mixlyTest
bb92771aca2d5d801510658a70a13f4b548a43aa
[ "Apache-2.0" ]
1
2019-09-08T08:43:35.000Z
2019-09-08T08:43:35.000Z
mpBuild/ESP32_BPI_bit/lib/microbit.py
devshop2019/mixlyTest
bb92771aca2d5d801510658a70a13f4b548a43aa
[ "Apache-2.0" ]
null
null
null
mpBuild/ESP32_BPI_bit/lib/microbit.py
devshop2019/mixlyTest
bb92771aca2d5d801510658a70a13f4b548a43aa
[ "Apache-2.0" ]
null
null
null
from time import time, sleep_ms from utime import sleep_ms as sleep from machine import Pin, ADC, DAC from neopixel import NeoPixel def PixelPower(bool): Pin(2, Pin.OUT).value(bool) class Pixel(NeoPixel): def __init__(self): self.Min, self.Max, self.Sum = 0, 5, 25 NeoPixel.__init__(self, Pin(...
37.443366
148
0.433218
6,504
34,710
2.259379
0.084102
0.206737
0.218646
0.204968
0.510922
0.430282
0.40769
0.351684
0.317455
0.298877
0
0.198607
0.35883
34,710
927
149
37.443366
0.461694
0.027024
0
0.259563
0
0.002732
0.038785
0.000801
0
0
0
0
0
1
0.103825
false
0.015027
0.023224
0.01776
0.244536
0.015027
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b388a7a58ad9555d505c54a4211f65dedbadf0b8
963
py
Python
pyaz/staticwebapp/secrets/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/staticwebapp/secrets/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/staticwebapp/secrets/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' Manage deployment token for the static app ''' from ... pyaz_utils import _call_az def list(name, resource_group=None): ''' List the deployment token for the static app. Required Parameters: - name -- Name of the static site Optional Parameters: - resource_group -- Name of resource group....
30.09375
128
0.699896
132
963
4.992424
0.348485
0.118361
0.081942
0.095599
0.713202
0.713202
0.667678
0.667678
0.667678
0.667678
0
0
0.208723
963
31
129
31.064516
0.864829
0.63136
0
0
0
0
0.232143
0
0
0
0
0
0
1
0.4
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
b39d8638835e602eaecf0c2066b021cf3ec720e5
139
py
Python
wrapi/entities/ediscovery_search.py
dtitkin/wrapi
d26f327abebb55ca6d2e099d2c76c75af9def888
[ "MIT" ]
7
2020-12-25T14:59:26.000Z
2021-02-16T15:50:50.000Z
wrapi/entities/ediscovery_search.py
dtitkin/wrapi
d26f327abebb55ca6d2e099d2c76c75af9def888
[ "MIT" ]
7
2020-12-25T15:29:05.000Z
2020-12-25T15:38:26.000Z
wrapi/entities/ediscovery_search.py
dtitkin/wrapi
d26f327abebb55ca6d2e099d2c76c75af9def888
[ "MIT" ]
1
2021-02-24T06:50:56.000Z
2021-02-24T06:50:56.000Z
from __future__ import annotations from ..types_.entity import BaseEntity class EDiscoverySearch(BaseEntity): type: str id: str
15.444444
38
0.76259
16
139
6.3125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.179856
139
8
39
17.375
0.885965
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
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
b3a105a622a29c0f93d81988289ef6326718c207
3,805
py
Python
src/Lib/long_int1/__init__.py
JamesHutchison/brython
3beb92bb6125a3e2e96b3e25e8fdac5f73a58871
[ "BSD-3-Clause" ]
null
null
null
src/Lib/long_int1/__init__.py
JamesHutchison/brython
3beb92bb6125a3e2e96b3e25e8fdac5f73a58871
[ "BSD-3-Clause" ]
null
null
null
src/Lib/long_int1/__init__.py
JamesHutchison/brython
3beb92bb6125a3e2e96b3e25e8fdac5f73a58871
[ "BSD-3-Clause" ]
null
null
null
from browser import html, document, window import javascript #memorize/cache? def _get_value(other): if isinstance(other, LongInt): return other.value return other class BigInt: def __init__(self): pass def __abs__(self): return LongInt(self.value.abs()) def __add__(self, other): ...
26.061644
77
0.676741
518
3,805
4.604247
0.208494
0.109434
0.087212
0.110692
0.453249
0.399581
0.215514
0.202096
0.189937
0.130818
0
0.009699
0.187122
3,805
145
78
26.241379
0.761397
0.095138
0
0.172043
0
0
0.023601
0
0
0
0
0
0
1
0.333333
false
0.053763
0.021505
0.172043
0.677419
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4