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
51a1ba9e097790f067851ef1df675cc8c5d53fdf
354
py
Python
saien/forms.py
B46qqq/saien
c49ebf0182460df3aabb0de707708efc4df3bdfe
[ "MIT" ]
null
null
null
saien/forms.py
B46qqq/saien
c49ebf0182460df3aabb0de707708efc4df3bdfe
[ "MIT" ]
null
null
null
saien/forms.py
B46qqq/saien
c49ebf0182460df3aabb0de707708efc4df3bdfe
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField from wtfroms.validators import DataRequired class LoginForm(FlaskForm): username = StringField('Username', validators=[DataRequired()]) password = PasswordField('Password', validators[DataRequired()]) submit ...
32.181818
69
0.748588
33
354
8
0.575758
0.166667
0
0
0
0
0
0
0
0
0
0
0.161017
354
10
70
35.4
0.888889
0
0
0
0
0
0.06686
0
0
0
0
0
0
1
0
false
0.285714
0.428571
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
1
1
0
1
0
0
3
51c7036a80b2a23cbb0b10859cd5b6339415ff41
1,475
py
Python
tests_contract/test_contract.py
werbk/task-3.8
6f63e495714400c63ed7714798cd9be083a425a2
[ "Apache-2.0" ]
null
null
null
tests_contract/test_contract.py
werbk/task-3.8
6f63e495714400c63ed7714798cd9be083a425a2
[ "Apache-2.0" ]
null
null
null
tests_contract/test_contract.py
werbk/task-3.8
6f63e495714400c63ed7714798cd9be083a425a2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from fixture.variables import Profinity from contract_lib import Contract, connection def test_of_add_new_valid_contact(app): """ Validation of add correct new contact with full data """ app.contact.create(Contract(first_name=Profinity.correct_data, last_name=Profinity.correct...
46.09375
120
0.697627
170
1,475
5.758824
0.288235
0.359551
0.306435
0.196118
0.488253
0.488253
0.488253
0.363636
0.283963
0.283963
0
0.00349
0.223051
1,475
31
121
47.580645
0.850785
0.090169
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.235294
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
51eb08383c7393d23512bd15ef026737319ed9cc
214
py
Python
securitycentralplatform/base/constants.py
SecurityCentral/cli-mockup
38582bf78746567eb23d32345740dfebfe0821c0
[ "BSD-3-Clause" ]
null
null
null
securitycentralplatform/base/constants.py
SecurityCentral/cli-mockup
38582bf78746567eb23d32345740dfebfe0821c0
[ "BSD-3-Clause" ]
null
null
null
securitycentralplatform/base/constants.py
SecurityCentral/cli-mockup
38582bf78746567eb23d32345740dfebfe0821c0
[ "BSD-3-Clause" ]
null
null
null
# # Copyright (C) 2018 SecurityCentral Contributors see LICENSE for license # ''' This base platform module exports platform dependant constants. ''' class SecurityCentralPlatformBaseConstants(object): pass
17.833333
73
0.780374
21
214
7.952381
0.904762
0
0
0
0
0
0
0
0
0
0
0.021978
0.149533
214
11
74
19.454545
0.895604
0.635514
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
51ec4e7471cab3cbeb7c9c47a0886e2ac1eaaac2
220
py
Python
Bot/middleware/__init__.py
L3h4/NAUTelegramBot
5eea900469964cee6131447a38b994659f33ea7b
[ "MIT" ]
null
null
null
Bot/middleware/__init__.py
L3h4/NAUTelegramBot
5eea900469964cee6131447a38b994659f33ea7b
[ "MIT" ]
null
null
null
Bot/middleware/__init__.py
L3h4/NAUTelegramBot
5eea900469964cee6131447a38b994659f33ea7b
[ "MIT" ]
null
null
null
import telebot from loader import bot, logger @bot.middleware_handler(update_types=['message']) def middleware(bot_instance, message): logger.info(f"{message.chat.id} : {message.text}") message.session = "session"
24.444444
52
0.754545
29
220
5.62069
0.655172
0
0
0
0
0
0
0
0
0
0
0
0.104545
220
8
53
27.5
0.827411
0
0
0
0
0
0.219178
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cf940306d9ce282f87aa19e2aac1732aa356ff3a
1,226
py
Python
data.py
OthmaneBlial/EIGRP-configuration-using-Netmiko
16f0dcb22af85fe5af3aa4be963d3b04f45b893e
[ "MIT" ]
3
2017-09-11T14:28:00.000Z
2020-03-06T20:12:57.000Z
data.py
OthmaneBlial/EIGRP-configuration-using-Netmiko
16f0dcb22af85fe5af3aa4be963d3b04f45b893e
[ "MIT" ]
null
null
null
data.py
OthmaneBlial/EIGRP-configuration-using-Netmiko
16f0dcb22af85fe5af3aa4be963d3b04f45b893e
[ "MIT" ]
null
null
null
R1_info = { 'device_type': 'cisco_ios', 'ip': '192.168.1.1', 'username': 'user', 'password': 'pass', } R2_info = { 'device_type': 'cisco_ios', 'ip': '192.168.1.2', 'username': 'user', 'password': 'pass', } R3_info = { 'device_type': 'cisco_ios', 'ip': '1...
16.131579
32
0.451876
158
1,226
3.316456
0.170886
0.09542
0.133588
0.181298
0.295802
0.295802
0.295802
0.295802
0.295802
0
0
0.132785
0.305873
1,226
76
33
16.131579
0.482961
0
0
0.245902
0
0
0.31684
0
0
0
0
0
0
1
0
false
0.081967
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
cfcffd44a6931c5210e2bd44de33ff025c1eff85
207
py
Python
website/view.py
WANGPeisheng1997/Brain-Add-Service
fb62689099a7a26447a2a9681674a43e58a08c27
[ "Apache-2.0" ]
1
2018-07-24T07:37:22.000Z
2018-07-24T07:37:22.000Z
website/view.py
WANGPeisheng1997/Brain-Add-Service
fb62689099a7a26447a2a9681674a43e58a08c27
[ "Apache-2.0" ]
null
null
null
website/view.py
WANGPeisheng1997/Brain-Add-Service
fb62689099a7a26447a2a9681674a43e58a08c27
[ "Apache-2.0" ]
1
2018-07-24T07:37:24.000Z
2018-07-24T07:37:24.000Z
import os import cv2 as cv from utils import predict from app import photos def predict_image(image_name) gray = cv.imread(image_name, 0) out = predict(gray) cv.imwrite('images/output.png', out)
23
40
0.7343
34
207
4.382353
0.617647
0.120805
0
0
0
0
0
0
0
0
0
0.011765
0.178744
207
9
40
23
0.864706
0
0
0
0
0
0.081731
0
0
0
0
0
0
0
null
null
0
0.5
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
1
0
0
0
0
3
cfd9c310cb420eb68971969cbb3b2f24e67b5940
258
py
Python
config.py
itineraries/flask-demo
28ce47a503e5e9efb8dff26bbfb98576542090c2
[ "MIT" ]
null
null
null
config.py
itineraries/flask-demo
28ce47a503e5e9efb8dff26bbfb98576542090c2
[ "MIT" ]
null
null
null
config.py
itineraries/flask-demo
28ce47a503e5e9efb8dff26bbfb98576542090c2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import keyring, os class Secrets: google_maps_api_key = \ os.environ.get("GMAPS_CLIENT_SIDE_KEY") or \ keyring.get_password("google_maps", "client_side") or \ keyring.get_password("google_maps", "default")
28.666667
63
0.686047
35
258
4.742857
0.6
0.180723
0.144578
0.240964
0.361446
0.361446
0
0
0
0
0
0.004762
0.186047
258
8
64
32.25
0.785714
0.081395
0
0
0
0
0.258475
0.088983
0
0
0
0
0
1
0
false
0.333333
0.166667
0
0.5
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
1
0
0
0
0
0
3
cfe181e85bfed7756c0c7b19b0c86e92c73ca132
194
py
Python
examples/syntax_union.py
prostomarkeloff/vbml
d13ebc8ae6122e7305b6717a6a5e38a040c0f76a
[ "MIT" ]
30
2020-08-18T14:37:30.000Z
2022-01-27T13:26:59.000Z
examples/syntax_union.py
prostomarkeloff/vbml
d13ebc8ae6122e7305b6717a6a5e38a040c0f76a
[ "MIT" ]
1
2021-12-02T19:48:42.000Z
2021-12-02T19:48:42.000Z
examples/syntax_union.py
FeeeeK/vbml
87c7d3b3c5a61eeee69628cd5bbf1a55d0d5bda4
[ "MIT" ]
6
2020-08-18T14:38:55.000Z
2021-12-18T00:50:32.000Z
from vbml import Pattern pattern = Pattern("i love <(, )*items>") result = pattern.parse("i love icecream, watermelon, you") print("Match succeed", result) print("Match data", pattern.dict())
24.25
58
0.706186
26
194
5.269231
0.653846
0.20438
0
0
0
0
0
0
0
0
0
0
0.128866
194
7
59
27.714286
0.810651
0
0
0
0
0
0.381443
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cfe5c824954764b18eb5e197aa3451dd6d366697
1,081
py
Python
scripts/generate_mapped_file.py
abhim00/pileup.js
a5c970efd4c2e47b524322d59b55df71f05d5cb9
[ "Apache-2.0" ]
281
2015-02-24T15:26:19.000Z
2022-03-04T13:23:33.000Z
scripts/generate_mapped_file.py
abhim00/pileup.js
a5c970efd4c2e47b524322d59b55df71f05d5cb9
[ "Apache-2.0" ]
509
2015-02-20T15:08:28.000Z
2021-05-06T13:02:59.000Z
scripts/generate_mapped_file.py
abhim00/pileup.js
a5c970efd4c2e47b524322d59b55df71f05d5cb9
[ "Apache-2.0" ]
69
2015-02-26T09:03:04.000Z
2021-11-22T11:54:12.000Z
#!/usr/bin/env python ''' This script generates mapped files for use with test/MappedRemotedFile.js. Usage: $ cat <END http://path/to/file.txt [[0, 1234], [5678, 6789]] END ... Wrote file.mapped.txt Use with: new MappedRemoteFile('file.mapped.txt', [ [0, 1234], [5678, 6789]...
21.196078
74
0.631822
153
1,081
4.437909
0.509804
0.030928
0.023564
0.035346
0.047128
0
0
0
0
0
0
0.042403
0.214616
1,081
50
75
21.62
0.757362
0.056429
0
0
1
0
0.130127
0.031117
0
0
0
0.02
0.043478
0
null
null
0
0.26087
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
cff80eaa74c114dea8be12406587266f190143b3
572
py
Python
seleniumwire/thirdparty/mitmproxy/net/http/http1/__init__.py
KozminMoci/selenium-wire
063c44ab42ac5e53e28c8a8c49c9ae7036bd878b
[ "MIT" ]
975
2018-06-23T10:50:42.000Z
2022-03-31T00:56:03.000Z
seleniumwire/thirdparty/mitmproxy/net/http/http1/__init__.py
KozminMoci/selenium-wire
063c44ab42ac5e53e28c8a8c49c9ae7036bd878b
[ "MIT" ]
492
2018-07-30T12:49:51.000Z
2022-03-31T12:46:56.000Z
seleniumwire/thirdparty/mitmproxy/net/http/http1/__init__.py
KozminMoci/selenium-wire
063c44ab42ac5e53e28c8a8c49c9ae7036bd878b
[ "MIT" ]
149
2018-08-29T06:53:12.000Z
2022-03-31T09:23:56.000Z
from .assemble import assemble_body, assemble_request, assemble_request_head, assemble_response, assemble_response_head from .read import (connection_close, expected_http_body_size, read_body, read_request, read_request_head, read_response, read_response_head) __all__ = [ "read_request", "read_r...
38.133333
119
0.756993
67
572
5.865672
0.208955
0.152672
0.117048
0.152672
0.80916
0.80916
0.631043
0.631043
0.631043
0.631043
0
0
0.15035
572
14
120
40.857143
0.808642
0
0
0
0
0
0.344406
0.115385
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
1
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
3
3218693b1e07475fb62088a8cf9c00c20a69a9c1
316
py
Python
Projects/ProTwo/AppTwo/models.py
EimantasZilis/Django-online-course
a3a6a2d4e16bc45801d881b569d7fef1d4b9ff32
[ "MIT" ]
1
2020-01-16T09:08:55.000Z
2020-01-16T09:08:55.000Z
Projects/ProTwo/AppTwo/models.py
EimantasZilis/Django-online-course
a3a6a2d4e16bc45801d881b569d7fef1d4b9ff32
[ "MIT" ]
null
null
null
Projects/ProTwo/AppTwo/models.py
EimantasZilis/Django-online-course
a3a6a2d4e16bc45801d881b569d7fef1d4b9ff32
[ "MIT" ]
null
null
null
from django.db import models class Users(models.Model): uid = models.IntegerField(unique=True) first_name = models.CharField(max_length=40) last_name = models.CharField(max_length=40) email = models.EmailField() def __str__(self): return "{} {}".format(self.first_name, self.last_name)
28.727273
62
0.705696
42
316
5.071429
0.619048
0.084507
0.178404
0.206573
0.28169
0.28169
0
0
0
0
0
0.015267
0.170886
316
10
63
31.6
0.79771
0
0
0
0
0
0.015823
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
5c67eaa6bf1f0b575533263e4a93d3f6078b8b4c
1,159
py
Python
file_name.py
gzweigle/PianoDiagnostics
25145c598aac12d756fafb17cd71fbb2d6f5e29e
[ "MIT" ]
null
null
null
file_name.py
gzweigle/PianoDiagnostics
25145c598aac12d756fafb17cd71fbb2d6f5e29e
[ "MIT" ]
null
null
null
file_name.py
gzweigle/PianoDiagnostics
25145c598aac12d756fafb17cd71fbb2d6f5e29e
[ "MIT" ]
null
null
null
# Gregary C. Zweigle # 2020 MAX_PIANO_NOTE = 88 # TODO - Should this move elsewhere? class FileName: def __init__(self): self.note_number = 0 self.file_name_l = 'EMPTY_L' self.file_name_r = 'EMPTY_R' def initialize_file_name(self, record_start_note): self.note_n...
32.194444
68
0.630716
166
1,159
4.090361
0.373494
0.162003
0.206186
0.076583
0.273932
0.232695
0.232695
0.232695
0.232695
0.232695
0
0.009501
0.273512
1,159
36
69
32.194444
0.796912
0.150129
0
0.173913
0
0
0.05291
0
0
0
0
0.027778
0
1
0.26087
false
0
0
0.086957
0.478261
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
5c71373c7ff51f18fdd4b7207865dd57ebdd12b2
471
py
Python
download_merge.py
nawedx/freight-register-automation
e8dde15e53f750a87e348340fdbf62d896892667
[ "MIT" ]
null
null
null
download_merge.py
nawedx/freight-register-automation
e8dde15e53f750a87e348340fdbf62d896892667
[ "MIT" ]
null
null
null
download_merge.py
nawedx/freight-register-automation
e8dde15e53f750a87e348340fdbf62d896892667
[ "MIT" ]
null
null
null
#Script to Download and Merge the Freight Register(TMS Queries) and Traffic Earnings(RMS Queries) #Written by Nawed Imroze (nawedx) from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException import time import os import pandas as pd from...
26.166667
97
0.842887
66
471
5.924242
0.606061
0.092072
0
0
0
0
0
0
0
0
0
0.007194
0.11465
471
17
98
27.705882
0.930456
0.271762
0
0
0
0
0.055718
0
0
0
0
0
0
1
0
true
0
0.909091
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
5c772c41409ceb5a1b8c20f4daf4d72d6fa89912
586
py
Python
qcloudsdkredis/DescribeRedisProductRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkredis/DescribeRedisProductRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkredis/DescribeRedisProductRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DescribeRedisProductRequest(Request): def __init__(self): super(DescribeRedisProductRequest, self).__init__( 'redis', 'qcloudcliV1', 'DescribeRedisProduct', 'redis.api.qcloud.com') def get_typeId(self): retur...
26.636364
83
0.668942
65
586
5.784615
0.415385
0.079787
0.074468
0.090426
0.138298
0.138298
0
0
0
0
0
0.004255
0.197952
586
21
84
27.904762
0.795745
0.035836
0
0
0
0
0.145648
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5c917554a1ca4a34d8798f59cceee99e920f2296
1,502
py
Python
pywinrt/winsdk/windows/media/dialprotocol/__init__.py
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
3
2022-02-14T14:53:08.000Z
2022-03-29T20:48:54.000Z
pywinrt/winsdk/windows/media/dialprotocol/__init__.py
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
4
2022-01-28T02:53:52.000Z
2022-02-26T18:10:05.000Z
pywinrt/winsdk/windows/media/dialprotocol/__init__.py
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
null
null
null
# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.4 import enum import winsdk _ns_module = winsdk._import_ns_module("Windows.Media.DialProtocol") try: import winsdk.windows.devices.enumeration except Exception: pass try: import winsdk.windows.foundation except Excepti...
22.088235
86
0.765646
168
1,502
6.666667
0.446429
0.071429
0.066964
0.098214
0.220536
0.164286
0.164286
0.091071
0
0
0
0.017728
0.173768
1,502
67
87
22.41791
0.88477
0.055925
0
0.339623
1
0
0.018362
0.018362
0
0
0
0
0
1
0
false
0.09434
0.150943
0
0.566038
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
1
0
0
3
5cbe42b2db36beb7ea3f1ad7f57d9400b32314bd
622
py
Python
utils/cache_handler.py
makikaka/covid19
d0b028ef12b9da13d78490bacf4771d557148111
[ "WTFPL" ]
null
null
null
utils/cache_handler.py
makikaka/covid19
d0b028ef12b9da13d78490bacf4771d557148111
[ "WTFPL" ]
null
null
null
utils/cache_handler.py
makikaka/covid19
d0b028ef12b9da13d78490bacf4771d557148111
[ "WTFPL" ]
null
null
null
import memcache from utils.constants import LOCAL_SERVER_IP, STATS_KEY, STATS_DB_KEY, DATE_KEY from datetime import datetime CACHE = memcache.Client(LOCAL_SERVER_IP) def set_date_to_cache(date=datetime.now()): CACHE.set(DATE_KEY, date) def set_stats_to_cache(content): CACHE.set(STATS_KEY, content) def s...
20.064516
78
0.776527
103
622
4.359223
0.271845
0.080178
0.093541
0
0
0
0
0
0
0
0
0
0.133441
622
30
79
20.733333
0.833024
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.1875
0.1875
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5cd2372f098f9fe25643def5c37d91b00575e343
23,438
py
Python
czsc/signals.py
xyztimi/czsc
5f52b3eb622413ecdf3637ca6f2fd2563f8682bb
[ "MIT" ]
null
null
null
czsc/signals.py
xyztimi/czsc
5f52b3eb622413ecdf3637ca6f2fd2563f8682bb
[ "MIT" ]
null
null
null
czsc/signals.py
xyztimi/czsc
5f52b3eb622413ecdf3637ca6f2fd2563f8682bb
[ "MIT" ]
null
null
null
# coding: utf-8 import warnings from collections import OrderedDict from typing import List from .objects import Direction, BI from .enum import FdThree, FdFive, FdSeven, FdNine def signals_long_short(): """信号值的多空经验分析""" ls = { "第N笔方向": { Direction.Down.value: "多头信号", Direction...
36.169753
106
0.499104
2,865
23,438
4.065271
0.080628
0.102773
0.074697
0.009273
0.793938
0.749721
0.73461
0.6697
0.644372
0.617412
0
0.069772
0.363427
23,438
647
107
36.225657
0.710858
0.038143
0
0.612546
0
0
0.066518
0
0
0
0
0
0
1
0.009225
false
0
0.009225
0
0.04059
0.001845
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5ce0643740ae7a3214b9dac2f91414bcb1cd1778
600
py
Python
src/slpcc/examples/example5.py
paulmanns/slpcc
1642a41f7d0529ab4d1cdf50217253d8f7517ed5
[ "BSD-3-Clause" ]
1
2021-12-03T16:17:30.000Z
2021-12-03T16:17:30.000Z
src/slpcc/examples/example5.py
paulmanns/slpcc
1642a41f7d0529ab4d1cdf50217253d8f7517ed5
[ "BSD-3-Clause" ]
null
null
null
src/slpcc/examples/example5.py
paulmanns/slpcc
1642a41f7d0529ab4d1cdf50217253d8f7517ed5
[ "BSD-3-Clause" ]
null
null
null
import numpy as np class Example5: def __init__(self): self.l = np.array([-2., np.NINF]) self.u = np.array([ 1., np.Inf]) self.x_init = np.array([-2., 5.]) self.n0 = 0 self.n12 = 1 self.opt_x = np.array([-1., 0.]) self.opt_f = self.fun(self.opt_x) def f...
27.272727
73
0.458333
116
600
2.301724
0.293103
0.052434
0.089888
0.067416
0.134831
0
0
0
0
0
0
0.121495
0.286667
600
21
74
28.571429
0.502336
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.1875
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7a21d7a37c4d8bfea9e670169f3418715b87e993
1,685
py
Python
svd/utils/progress.py
CPJKU/veracity
1a251f07240ef2b214b34d4d24db14ceee72bc3e
[ "MIT" ]
2
2021-11-09T11:07:30.000Z
2021-11-19T10:34:30.000Z
svd/utils/progress.py
CPJKU/veracity
1a251f07240ef2b214b34d4d24db14ceee72bc3e
[ "MIT" ]
null
null
null
svd/utils/progress.py
CPJKU/veracity
1a251f07240ef2b214b34d4d24db14ceee72bc3e
[ "MIT" ]
1
2021-08-01T13:48:09.000Z
2021-08-01T13:48:09.000Z
import sys import time def progress(items, desc='', total=None, min_delay=0.1): """ Progress indicator for iterator; taken from https://github.com/f0k/ismir2015/blob/master/experiments/progress.py. """ total = total or len(items) t_start = time.time() t_last = 0 for n, item in enumerate(it...
35.851064
95
0.512166
254
1,685
3.244094
0.240157
0.038835
0.043689
0.038835
0.720874
0.720874
0.720874
0.67233
0.67233
0.67233
0
0.046369
0.321662
1,685
46
96
36.630435
0.674541
0.093175
0
0.666667
0
0
0.092961
0
0
0
0
0
0
1
0.051282
false
0
0.051282
0
0.102564
0.153846
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7a2f54f6ce43a6771ea6334401cf677a868f8871
627
py
Python
explainaboard/utils/logging.py
hwidjaja/ExplainaBoard
0e670ad2df9326eb6b4ad99ba435fd7b6806557a
[ "MIT" ]
null
null
null
explainaboard/utils/logging.py
hwidjaja/ExplainaBoard
0e670ad2df9326eb6b4ad99ba435fd7b6806557a
[ "MIT" ]
null
null
null
explainaboard/utils/logging.py
hwidjaja/ExplainaBoard
0e670ad2df9326eb6b4ad99ba435fd7b6806557a
[ "MIT" ]
null
null
null
import logging import os from typing import Optional from tqdm import tqdm hide_progress = 'EXPLAINABOARD_HIDE_PROGRESS' in os.environ def progress(gen, desc: str = None): return gen if hide_progress else tqdm(gen, desc=desc) def _get_library_name() -> str: return __name__.split(".")[0] def get_logger(n...
24.115385
61
0.709729
92
627
4.630435
0.478261
0.075117
0.065728
0
0
0
0
0
0
0
0
0.00198
0.194577
627
25
62
25.08
0.841584
0.1563
0
0
0
0
0.089494
0.052529
0
0
0
0
0
1
0.214286
false
0
0.285714
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7a56de1a541272ba81ef826c264225170dc71147
282
py
Python
exercicios-Python/ex027.py
pedrosimoes-programmer/exercicios-python
150de037496d63d76086678d87425a8ccfc74573
[ "MIT" ]
null
null
null
exercicios-Python/ex027.py
pedrosimoes-programmer/exercicios-python
150de037496d63d76086678d87425a8ccfc74573
[ "MIT" ]
null
null
null
exercicios-Python/ex027.py
pedrosimoes-programmer/exercicios-python
150de037496d63d76086678d87425a8ccfc74573
[ "MIT" ]
null
null
null
nomeCompleto = input('Digite seu nome completo: ').strip().split() print('O seu primeiro nome é: {}'.format(nomeCompleto[0])) #forma 1 print('O seu último nome é: {}'.format(nomeCompleto[-1])) #forma 2 #print('O seu último nome é: {}'.format((nomeCompleto[len(nomeCompleto)-1])))
31.333333
77
0.687943
41
282
4.731707
0.463415
0.092784
0.139175
0.35567
0.391753
0.391753
0.391753
0.391753
0
0
0
0.01992
0.109929
282
8
78
35.25
0.752988
0.319149
0
0
0
0
0.393617
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7a58e88adfcaf861d5cf231e35f26e2bad45cd18
257
py
Python
demo/demo/articles/urls.py
kfullen/django-registrationwall
d05c5473cadcf31caf5f8baee2e825005f72d8e0
[ "BSD-3-Clause" ]
9
2017-04-14T15:02:02.000Z
2019-09-19T10:04:00.000Z
demo/demo/articles/urls.py
kfullen/django-registrationwall
d05c5473cadcf31caf5f8baee2e825005f72d8e0
[ "BSD-3-Clause" ]
1
2019-10-31T01:51:41.000Z
2019-10-31T01:51:41.000Z
demo/demo/articles/urls.py
kfullen/django-registrationwall
d05c5473cadcf31caf5f8baee2e825005f72d8e0
[ "BSD-3-Clause" ]
2
2020-11-16T22:44:57.000Z
2020-11-16T22:45:09.000Z
from django.conf.urls import url from .views import ArticleDetailView, ArticleListView urlpatterns = [ url(r'^(?P<slug>[-\w]+)/$', ArticleDetailView.as_view(), name='article_detail'), url(r'^$', ArticleListView.as_view(), name='article_list'), ]
25.7
84
0.696498
31
257
5.645161
0.645161
0.045714
0.114286
0.194286
0
0
0
0
0
0
0
0
0.116732
257
9
85
28.555556
0.770925
0
0
0
0
0
0.182879
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
7a5eb38fe5dd8c3d2bd9420777d11692fe2bbd5d
465
py
Python
aiobotocore_types/__init__.py
galavasteg/aiobotocore-stubs
38797a9ec5be30a13f8c1bd7add55ca089740ba9
[ "BSD-3-Clause" ]
null
null
null
aiobotocore_types/__init__.py
galavasteg/aiobotocore-stubs
38797a9ec5be30a13f8c1bd7add55ca089740ba9
[ "BSD-3-Clause" ]
1
2021-01-27T22:44:48.000Z
2021-01-27T22:44:48.000Z
aiobotocore_types/__init__.py
galavasteg/aiobotocore-stubs
38797a9ec5be30a13f8c1bd7add55ca089740ba9
[ "BSD-3-Clause" ]
null
null
null
"""Base types of x5-aios3-ext library.""" from .s3_meta_types import S3ObjectsInBulkDelete, UploadDetailsInCompleteMultipart from .s3_responses import ( AbortMultipartUploadResponse, CompleteMultipartUploadResponse, CreateBucketResponse, CreateMultipartUploadResponse, DeleteObjectResponse, Delet...
29.0625
82
0.795699
29
465
12.655172
0.862069
0.032698
0
0
0
0
0
0
0
0
0
0.017722
0.150538
465
15
83
31
0.911392
0.075269
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7a7b6f91614d3f3c3156649ce238711cb74b935f
228
py
Python
tests/test_loyalty_programme_account.py
duffelhq/duffel-api-python
583703f34e345ac8fa185ca26441f9168d1b0dac
[ "MIT" ]
2
2022-02-26T22:14:48.000Z
2022-03-10T10:04:11.000Z
tests/test_loyalty_programme_account.py
duffelhq/duffel-api-python
583703f34e345ac8fa185ca26441f9168d1b0dac
[ "MIT" ]
29
2022-01-04T12:40:54.000Z
2022-03-31T23:26:54.000Z
tests/test_loyalty_programme_account.py
duffelhq/duffel-api-python
583703f34e345ac8fa185ca26441f9168d1b0dac
[ "MIT" ]
null
null
null
from duffel_api.models import LoyaltyProgrammeAccount def test_loyalty_programme_account_model_parsing(): json = {"airline_iata_code": "BA", "account_number": "12901014"} assert LoyaltyProgrammeAccount.from_json(json)
32.571429
68
0.802632
26
228
6.653846
0.807692
0
0
0
0
0
0
0
0
0
0
0.039216
0.105263
228
6
69
38
0.808824
0
0
0
0
0
0.179825
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
7a7e38067fec41397a63547957172fe88dbd109e
2,634
py
Python
app/resource/schedule_modal.py
LuisMSoares/Sacsis-Api
c32ef44ddc9956e01f30276002059e898ba3985a
[ "Apache-2.0" ]
4
2019-09-10T02:40:53.000Z
2019-09-30T04:51:21.000Z
app/resource/schedule_modal.py
LuisMSoares/Sacsis-Api
c32ef44ddc9956e01f30276002059e898ba3985a
[ "Apache-2.0" ]
null
null
null
app/resource/schedule_modal.py
LuisMSoares/Sacsis-Api
c32ef44ddc9956e01f30276002059e898ba3985a
[ "Apache-2.0" ]
null
null
null
from flask_restful import Resource, request, fields, marshal, url_for from app.resource import message from app.db import db, ScheduleModel course_schedule_modal_field = { 'tipo': fields.Integer(default='minicurso'), 'avatar': fields.String( attribute=lambda obj: url_for('get_image', img_id=obj.course...
50.653846
116
0.727031
320
2,634
5.86875
0.21875
0.127796
0.201278
0.258786
0.739084
0.739084
0.669862
0.588924
0.497338
0.142705
0
0.0053
0.140471
2,634
51
117
51.647059
0.824205
0
0
0.044444
0
0
0.091875
0
0
0
0
0
0
1
0.022222
false
0
0.066667
0
0.2
0
0
0
0
null
0
1
1
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
3
7a86d4c1e6e2400e3ff1f2d03544603aa02dcf86
645
py
Python
基础教程/A2-神经网络基本原理/第5步 - 非线性分类/src/ch10-NonLinearBinaryClassification/HelperClass2/ClassifierFunction_2_0.py
microsoft/ai-edu
2f59fa4d3cf19f14e0b291e907d89664bcdc8df3
[ "Apache-2.0" ]
11,094
2019-05-07T02:48:50.000Z
2022-03-31T08:49:42.000Z
基础教程/A2-神经网络基本原理/第5步 - 非线性分类/src/ch11-NonLinearMultipleClassification/HelperClass2/ClassifierFunction_2_0.py
microsoft/ai-edu
2f59fa4d3cf19f14e0b291e907d89664bcdc8df3
[ "Apache-2.0" ]
157
2019-05-13T15:07:19.000Z
2022-03-23T08:52:32.000Z
基础教程/A2-神经网络基本原理/第5步 - 非线性分类/src/ch12-MultipleLayerNetwork/HelperClass2/ClassifierFunction_2_0.py
microsoft/ai-edu
2f59fa4d3cf19f14e0b291e907d89664bcdc8df3
[ "Apache-2.0" ]
2,412
2019-05-07T02:55:15.000Z
2022-03-30T06:56:52.000Z
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. """ Version 2.0 """ import numpy as np class CClassifier(object): def forward(self, z): pass # equal to sigmoid but it is used as classification function c...
23.888889
100
0.64186
100
645
4.09
0.55
0.03912
0.102689
0.110024
0.215159
0
0
0
0
0
0
0.016529
0.249612
645
26
101
24.807692
0.828512
0.334884
0
0.357143
0
0
0
0
0
0
0
0
0
1
0.214286
false
0.071429
0.071429
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
1
0
0
1
0
0
3
7a900f7f5758e82ddb797ae2f87193c33f80cb89
417
py
Python
ecsopera/raiseexception.py
Pashbee/ecsopera
a7ed4507436cd7460060278369b4a197f54a63e6
[ "MIT" ]
4
2018-07-18T15:33:11.000Z
2020-05-18T01:00:38.000Z
ecsopera/raiseexception.py
Pashbee/ecsopera
a7ed4507436cd7460060278369b4a197f54a63e6
[ "MIT" ]
null
null
null
ecsopera/raiseexception.py
Pashbee/ecsopera
a7ed4507436cd7460060278369b4a197f54a63e6
[ "MIT" ]
1
2018-07-18T20:00:17.000Z
2018-07-18T20:00:17.000Z
# pylint: disable=C0111,C0103,W0511,W1201 import logging # TODO: More logic around boto handling errors etc def exception_handler(errors=(Exception,)): def decorator(f): def wrapper(*args, **kwargs): try: return f(*args, **kwargs) except errors as e: ...
26.0625
50
0.57554
46
417
5.195652
0.673913
0.083682
0
0
0
0
0
0
0
0
0
0.056738
0.323741
417
15
51
27.8
0.79078
0.211031
0
0
0
0
0.006135
0
0
0
0
0.066667
0
1
0.272727
false
0
0.090909
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
7ab2c53b0bf0a846e72908345a1fcd4c78034dd1
74
py
Python
src/lib/pickletools.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
10
2015-11-13T17:02:40.000Z
2021-02-09T23:21:05.000Z
src/lib/pickletools.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
43
2015-06-03T17:59:23.000Z
2021-09-17T10:45:21.000Z
src/lib/pickletools.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
13
2017-07-02T03:16:46.000Z
2021-07-05T14:53:56.000Z
raise NotImplementedError("pickletools is not yet implemented in Skulpt")
37
73
0.837838
9
74
6.888889
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
74
1
74
74
0.939394
0
0
0
0
0
0.594595
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7ab2e3c6aa855d7b6ac519353fdfc06847c01302
3,109
py
Python
qiushaoyi/programs/django_second_models_db/b_blog/models.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
2
2018-03-29T08:26:17.000Z
2019-06-17T10:56:19.000Z
qiushaoyi/programs/django_second_models_db/b_blog/models.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
1
2022-03-22T20:26:08.000Z
2022-03-22T20:26:08.000Z
qiushaoyi/programs/django_second_models_db/b_blog/models.py
qsyPython/Python_play_now
278b6d5d30082f8f93b26902c854737c4919405a
[ "MIT" ]
1
2019-02-18T10:44:20.000Z
2019-02-18T10:44:20.000Z
#========= # QuerySet基础使用 ========= # from django.db import models # class Blog(models.Model): # name = models.CharField(max_length=100) # tagline = models.TextField() # # def __str__(self): # return self.name # # # class Author(models.Model): # name = models.CharField(max_length=50) # ema...
27.034783
77
0.629463
346
3,109
5.447977
0.309249
0.046684
0.066844
0.089125
0.384615
0.314589
0.206366
0.124668
0.102918
0.055172
0
0.014571
0.227404
3,109
114
78
27.27193
0.770192
0.822773
0
0
0
0
0.027027
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
7ab8b736782f62b7bb4993820ac9518f1729c439
239
py
Python
script/scaffold/templates/integration/integration/__init__.py
petewill/home-assistant
5859dba4344f05fb8774aa1207e47ac28f627a67
[ "Apache-2.0" ]
3
2019-10-15T16:55:31.000Z
2020-02-18T21:10:31.000Z
script/scaffold/templates/integration/integration/__init__.py
petewill/home-assistant
5859dba4344f05fb8774aa1207e47ac28f627a67
[ "Apache-2.0" ]
3
2018-01-23T20:41:55.000Z
2018-01-23T20:42:12.000Z
script/scaffold/templates/integration/integration/__init__.py
petewill/home-assistant
5859dba4344f05fb8774aa1207e47ac28f627a67
[ "Apache-2.0" ]
4
2019-10-15T21:03:53.000Z
2020-05-27T19:53:20.000Z
"""The NEW_NAME integration.""" import voluptuous as vol from .const import DOMAIN CONFIG_SCHEMA = vol.Schema({vol.Optional(DOMAIN): {}}) async def async_setup(hass, config): """Set up the NEW_NAME integration.""" return True
18.384615
54
0.707113
33
239
5
0.666667
0.072727
0.121212
0.254545
0
0
0
0
0
0
0
0
0.16318
239
12
55
19.916667
0.825
0.104603
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
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
1
0
1
0
0
3
7abb8fa78feac919985eee2c2fed7d7c0a6a5c0d
360
py
Python
login.py
jnovosad/New-Word-Twitterbot
7f22bfd28bcab6469013925fcb4d80b966b1aa17
[ "MIT" ]
null
null
null
login.py
jnovosad/New-Word-Twitterbot
7f22bfd28bcab6469013925fcb4d80b966b1aa17
[ "MIT" ]
null
null
null
login.py
jnovosad/New-Word-Twitterbot
7f22bfd28bcab6469013925fcb4d80b966b1aa17
[ "MIT" ]
null
null
null
import tweepy def twitter_login(): consumer_key = 'CONSUMER_KEY' consumer_secret = 'CONSUMER_SECRET' access_token = 'ACCESS_TOKEN' access_token_secret = 'ACCESS_TOKEN_SECRET' auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_secret) ...
24
61
0.747222
45
360
5.577778
0.333333
0.306773
0.270916
0.350598
0.310757
0.310757
0.310757
0
0
0
0
0
0.175
360
14
62
25.714286
0.845118
0
0
0
0
0
0.161111
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8fa0ce14196ca4e85dae65cb15c85cfd15ff2e45
124
py
Python
CodeWars/7 Kyu/Array Array Array.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
CodeWars/7 Kyu/Array Array Array.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
CodeWars/7 Kyu/Array Array Array.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
def explode(arr): numbers = [n for n in arr if type(n) == int] return [arr] * sum(numbers) if numbers else "Void!"
41.333333
55
0.612903
21
124
3.619048
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.241935
124
3
55
41.333333
0.808511
0
0
0
0
0
0.04
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
8fafbf7d52ac87e7afeb58b6e7880979abfc48f9
906
py
Python
fiddle/absl_flags/example/tags.py
saeta/fiddle
70ad1af00957327929e0ab15ae4599e3913f2398
[ "Apache-2.0" ]
8
2022-03-26T17:31:52.000Z
2022-03-31T23:00:21.000Z
fiddle/absl_flags/example/tags.py
saeta/fiddle
70ad1af00957327929e0ab15ae4599e3913f2398
[ "Apache-2.0" ]
null
null
null
fiddle/absl_flags/example/tags.py
saeta/fiddle
70ad1af00957327929e0ab15ae4599e3913f2398
[ "Apache-2.0" ]
1
2022-03-26T18:45:30.000Z
2022-03-26T18:45:30.000Z
# coding=utf-8 # Copyright 2022 The Fiddle-Config Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
33.555556
80
0.762693
140
906
4.935714
0.657143
0.086831
0.037627
0.04631
0
0
0
0
0
0
0
0.011952
0.168874
906
26
81
34.846154
0.90571
0.889625
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
8fb2859aeaa5071a60907998a1781170b46b32d5
570
py
Python
Lab2/models/Position.py
yzghurovskyi/RelationalDBsLabs
13eed8c027f9b721e61edfc92d9ab2f38dcca7b2
[ "MIT" ]
null
null
null
Lab2/models/Position.py
yzghurovskyi/RelationalDBsLabs
13eed8c027f9b721e61edfc92d9ab2f38dcca7b2
[ "MIT" ]
null
null
null
Lab2/models/Position.py
yzghurovskyi/RelationalDBsLabs
13eed8c027f9b721e61edfc92d9ab2f38dcca7b2
[ "MIT" ]
2
2018-12-25T11:30:41.000Z
2019-11-19T21:58:04.000Z
from sqlalchemy import Column, Integer, String, Sequence from sqlalchemy.orm.session import Session from models.Base import Base class Position(Base): __tablename__ = 'positions' id = Column('position_id', Integer, Sequence('position_id_seq'), primary_key=True) name = Column(String(80), nullable=False) ...
28.5
86
0.687719
71
570
5.352113
0.464789
0.078947
0
0
0
0
0
0
0
0
0
0.00431
0.185965
570
19
87
30
0.814655
0
0
0
0
0
0.114035
0
0
0
0
0
0
1
0.214286
false
0
0.214286
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8fb5518406b9c62d6954d986e0c44f216845ccd8
233
py
Python
src/hexagonal/domain/hexagonal_error.py
rfrezino/hexagonal-sanity-check
78c8711d9be6ec173abead4ab344f7ac57d5d4ac
[ "MIT" ]
1
2022-03-14T10:17:38.000Z
2022-03-14T10:17:38.000Z
src/hexagonal/domain/hexagonal_error.py
rfrezino/hexagonal-sanity-check
78c8711d9be6ec173abead4ab344f7ac57d5d4ac
[ "MIT" ]
null
null
null
src/hexagonal/domain/hexagonal_error.py
rfrezino/hexagonal-sanity-check
78c8711d9be6ec173abead4ab344f7ac57d5d4ac
[ "MIT" ]
2
2021-12-14T10:35:24.000Z
2022-01-31T14:17:36.000Z
from dataclasses import dataclass @dataclass class HexagonalError: message: str outer_layer_name: str inner_layer_name: str python_file_problem: str imported_module_problem: str group_inter_dependency: bool
19.416667
33
0.772532
29
233
5.862069
0.724138
0.105882
0.141176
0
0
0
0
0
0
0
0
0
0.193133
233
11
34
21.181818
0.904255
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
8fb8e46da4a3d510995bb65cf3cba83924fe22d0
1,232
py
Python
Allura/allura/tests/unit/controllers/test_auth.py
shalithasuranga/allura
4f7fba13415954d07f602a051ec697329dd3706b
[ "Apache-2.0" ]
1
2017-07-31T23:13:58.000Z
2017-07-31T23:13:58.000Z
Allura/allura/tests/unit/controllers/test_auth.py
DalavanCloud/allura
a25329caed9e6d136a1004c33372e0632a16e352
[ "Apache-2.0" ]
null
null
null
Allura/allura/tests/unit/controllers/test_auth.py
DalavanCloud/allura
a25329caed9e6d136a1004c33372e0632a16e352
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (t...
38.5
72
0.712662
161
1,232
5.403727
0.559006
0.068966
0.029885
0.036782
0
0
0
0
0
0
0
0.004175
0.222403
1,232
31
73
39.741935
0.903967
0.673701
0
0
0
0
0.195251
0.163588
0
0
0
0
0.111111
1
0.222222
false
0
0.222222
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8fe3ea06c9f22266caf76420b7730c281d3b78bf
557
py
Python
web_frameworks/resources/migrations/0004_auto_20201110_1730.py
Minkov/python-web-frameworks-2020-11
5857bb626792a9efe1f2d06677fa3779f5e2cc1d
[ "MIT" ]
4
2020-11-21T20:06:39.000Z
2020-12-15T13:30:23.000Z
web_frameworks/resources/migrations/0004_auto_20201110_1730.py
Minkov/python-web-frameworks-2020-11
5857bb626792a9efe1f2d06677fa3779f5e2cc1d
[ "MIT" ]
null
null
null
web_frameworks/resources/migrations/0004_auto_20201110_1730.py
Minkov/python-web-frameworks-2020-11
5857bb626792a9efe1f2d06677fa3779f5e2cc1d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-10 17:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('resources', '0003_pet_passport'), ] operations = [ migrations.AlterField( model_name='pet', name='image', ...
23.208333
66
0.576302
56
557
5.625
0.660714
0.126984
0.15873
0.184127
0.228571
0.228571
0
0
0
0
0
0.048843
0.301616
557
23
67
24.217391
0.760925
0.08079
0
0.352941
1
0
0.143137
0
0
0
0
0
0
1
0
false
0.117647
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
1
0
0
0
0
0
3
8907d0b371a1b474e4b09e1e896fc5730cd1521d
352
py
Python
tango/integrations/torch/exceptions.py
allenai/tango
80c90caefae4ad1c3f8472718ddada912cd8fcf9
[ "Apache-2.0" ]
52
2021-09-24T17:52:34.000Z
2022-03-29T22:55:02.000Z
tango/integrations/torch/exceptions.py
keppy/tango
fbb78935a1c8a88c049e5ace0a2d0c7eeb4c8893
[ "Apache-2.0" ]
90
2021-09-29T04:23:29.000Z
2022-03-31T21:23:02.000Z
tango/integrations/torch/exceptions.py
keppy/tango
fbb78935a1c8a88c049e5ace0a2d0c7eeb4c8893
[ "Apache-2.0" ]
8
2021-11-13T01:56:22.000Z
2022-02-27T03:29:42.000Z
from tango.common.exceptions import TangoError class StopEarly(TangoError): """ Callbacks can raise this exception to stop training early without crashing. .. important:: During distributed training all workers must raise this exception at the same point in the training loop, otherwise th...
29.333333
91
0.724432
44
352
5.795455
0.840909
0.070588
0.141176
0
0
0
0
0
0
0
0
0
0.224432
352
11
92
32
0.934066
0.684659
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
891b3aed98c875366f66770e36237c8b2f50c6ad
1,087
py
Python
patronage/models.py
phildini/django-patronage
b6262a359251a188809f977a3733f1663cb400b3
[ "Apache-2.0" ]
6
2018-08-21T04:03:25.000Z
2021-01-29T05:51:13.000Z
patronage/models.py
phildini/django-patronage
b6262a359251a188809f977a3733f1663cb400b3
[ "Apache-2.0" ]
1
2021-06-01T22:40:57.000Z
2021-06-01T22:40:57.000Z
patronage/models.py
phildini/django-patronage
b6262a359251a188809f977a3733f1663cb400b3
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class RemoteBenefit(models.Model): remote_id = models.CharField(max_length=100, null=True) title = models.CharField(max_length=100, null=True) url = models.URLField(null=True) def __str__(self): return self.title clas...
30.194444
84
0.718491
143
1,087
5.251748
0.293706
0.08522
0.143808
0.191744
0.303595
0.26498
0.26498
0.26498
0
0
0
0.019694
0.159154
1,087
35
85
31.057143
0.801969
0
0
0.130435
0
0
0.020239
0
0
0
0
0
0
1
0.130435
false
0
0.086957
0.130435
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
64ff980099a16fc51ff4e1c83e203561d71c5ad2
8,504
py
Python
utils/load_data/data_loader_instances.py
sajadn/Exemplar-VAE
4dbd0913d315db6ef9e3b5a689fae4140add2323
[ "MIT" ]
60
2020-11-13T14:16:30.000Z
2022-02-02T17:12:40.000Z
utils/load_data/data_loader_instances.py
Tubbz-alt/Exemplar-VAE
4dbd0913d315db6ef9e3b5a689fae4140add2323
[ "MIT" ]
3
2020-05-31T06:22:05.000Z
2020-12-22T05:09:00.000Z
utils/load_data/data_loader_instances.py
Tubbz-alt/Exemplar-VAE
4dbd0913d315db6ef9e3b5a689fae4140add2323
[ "MIT" ]
6
2020-12-11T02:38:04.000Z
2021-11-16T01:53:03.000Z
import os from torchvision import datasets import numpy as np from scipy.io import loadmat from .base_load_data import base_load_data import wget class dynamic_mnist_loader(base_load_data): def __init__(self, args, use_fixed_validation=False, no_binarization=False): super(dynamic_mnist_loader, self).__init...
45.967568
120
0.687559
1,178
8,504
4.643464
0.10781
0.063985
0.052102
0.056307
0.758318
0.727057
0.709506
0.665082
0.662523
0.625229
0
0.01602
0.199906
8,504
184
121
46.217391
0.787919
0
0
0.417219
0
0.006623
0.065381
0.009055
0
0
0
0
0
1
0.139073
false
0
0.039735
0.02649
0.317881
0.02649
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8f043de6592039d4bffc9c53ed4b3d492a8fe491
174
py
Python
main.py
lamazavr/gpio
c60c44157442e1af0a713f9f9b9ead627eed7567
[ "MIT" ]
null
null
null
main.py
lamazavr/gpio
c60c44157442e1af0a713f9f9b9ead627eed7567
[ "MIT" ]
null
null
null
main.py
lamazavr/gpio
c60c44157442e1af0a713f9f9b9ead627eed7567
[ "MIT" ]
null
null
null
from gpio import Gpio from time import sleep from wh1602 import Wh1602 if __name__ == "__main__": wh = Wh1602() wh.init_lcd() #r = input() wh.lcd_write_string(b'hello')
17.4
30
0.718391
28
174
4.071429
0.642857
0
0
0
0
0
0
0
0
0
0
0.082759
0.166667
174
9
31
19.333333
0.703448
0.063218
0
0
0
0
0.080247
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8f08dc5f3b07bbdb0a566466a30243a2ef5d7bcc
266
py
Python
ceres.py
fabrickit-fablib/graphite
6ea7af17cad94f49b7d67c5265a715edd625f7a4
[ "MIT" ]
null
null
null
ceres.py
fabrickit-fablib/graphite
6ea7af17cad94f49b7d67c5265a715edd625f7a4
[ "MIT" ]
null
null
null
ceres.py
fabrickit-fablib/graphite
6ea7af17cad94f49b7d67c5265a715edd625f7a4
[ "MIT" ]
null
null
null
# coding: utf-8 from fablib import python class Ceres(): def __init__(self): return def setup(self): python.setup() python.install_from_git('ceres', 'https://github.com/graphite-project/ceres.git')
19
80
0.56391
30
266
4.8
0.7
0
0
0
0
0
0
0
0
0
0
0.005525
0.319549
266
13
81
20.461538
0.790055
0.048872
0
0
0
0
0.199203
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8f3249cf271e3541c7b7fe3ff97079e68d411008
231
py
Python
pyutilib/component/app/tests/app1a.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
24
2016-04-02T10:00:02.000Z
2021-03-02T16:40:18.000Z
pyutilib/component/app/tests/app1a.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
105
2015-10-29T03:29:58.000Z
2021-12-30T22:00:45.000Z
pyutilib/component/app/tests/app1a.py
PyUtilib/PyUtilib
d99406f2af1fb62268c34453a2fbe6bd4a7348f0
[ "BSD-3-Clause" ]
22
2016-01-21T15:35:25.000Z
2021-05-15T20:17:44.000Z
import pyutilib.component.app import os import sys currdir = sys.argv[-1] + os.sep app = pyutilib.component.app.SimpleApplication("foo") app._env_config.options.path = "DEFAULT PATH HERE" app.config.save(currdir + "config1.out")
23.1
53
0.761905
34
231
5.117647
0.617647
0.195402
0.229885
0
0
0
0
0
0
0
0
0.009662
0.103896
231
9
54
25.666667
0.830918
0
0
0
0
0
0.134199
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8f36256239bde5a985608d4c54bfc4dfa7ce5227
1,652
py
Python
mebo/stream/auth.py
Bayoslav/python-mebo
1d10d2088337819488af5e44af4e5c2865e05dd2
[ "MIT" ]
null
null
null
mebo/stream/auth.py
Bayoslav/python-mebo
1d10d2088337819488af5e44af4e5c2865e05dd2
[ "MIT" ]
null
null
null
mebo/stream/auth.py
Bayoslav/python-mebo
1d10d2088337819488af5e44af4e5c2865e05dd2
[ "MIT" ]
null
null
null
import os from hashlib import md5 def _hash(s): return md5(s).hexdigest() def _combine(*args, encoding='utf-8'): return ':'.join(args).encode('utf-8') def ha1(username, realm, password=None): if password is None: password = os.getenv('STREAM_PASSWORD') if not password: raise Excep...
34.416667
96
0.70339
201
1,652
5.706468
0.437811
0.05667
0.073235
0.041848
0.111595
0.050567
0
0
0
0
0
0.059657
0.188257
1,652
47
97
35.148936
0.795675
0.559927
0
0
0
0
0.073282
0
0
0
0
0
0
1
0.277778
false
0.444444
0.111111
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
8f40fff619228d5426abdc9eaf59bc77b101b328
99
py
Python
ode_modeler/__init__.py
cjmathy/ode_model
d577a448ffbe565700ffea517e72cecc88ab707b
[ "Apache-2.0" ]
null
null
null
ode_modeler/__init__.py
cjmathy/ode_model
d577a448ffbe565700ffea517e72cecc88ab707b
[ "Apache-2.0" ]
null
null
null
ode_modeler/__init__.py
cjmathy/ode_model
d577a448ffbe565700ffea517e72cecc88ab707b
[ "Apache-2.0" ]
null
null
null
name = 'ode_modeler' import logging logging.getLogger(__name__).addHandler(logging.NullHandler())
19.8
61
0.808081
11
99
6.818182
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.070707
99
4
62
24.75
0.815217
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8f5109a1d68b9d100c68fc405ecaece1974617f3
5,356
py
Python
src/pyoffers/models/offer.py
Stranger6667/py-offers
73ef00e7b02ddfa5adc6df282009aea7670e465f
[ "MIT" ]
17
2016-08-26T10:50:44.000Z
2021-07-08T17:39:34.000Z
src/pyoffers/models/offer.py
Stranger6667/py-offers
73ef00e7b02ddfa5adc6df282009aea7670e465f
[ "MIT" ]
80
2016-08-26T08:45:20.000Z
2020-08-31T15:47:10.000Z
src/pyoffers/models/offer.py
Stranger6667/py-offers
73ef00e7b02ddfa5adc6df282009aea7670e465f
[ "MIT" ]
7
2017-04-03T08:19:06.000Z
2020-10-16T19:02:21.000Z
from pyoffers.utils import Filter from .conversion import ConversionManager from .core import ApplicationManager, Model, ModelManager from .offer_file import OfferFileManager class Offer(Model): """An Offer.""" generic_methods = ("update",) related_object_name = "offer_id" display_attribute = "name"...
33.898734
114
0.694735
647
5,356
5.434312
0.159196
0.088168
0.08504
0.05802
0.612912
0.548635
0.380262
0.187144
0.118316
0.065415
0
0.00047
0.206311
5,356
157
115
34.11465
0.826629
0.004668
0
0.142857
0
0
0.079699
0.028195
0
0
0
0
0
1
0.276786
false
0
0.035714
0.258929
0.696429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8f56266eda7eac8ed9e35115d15d0f9e09e24ecb
688
py
Python
recipes/Python/546526_Page_through_iterable_N_items_at/recipe-546526.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/546526_Page_through_iterable_N_items_at/recipe-546526.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/546526_Page_through_iterable_N_items_at/recipe-546526.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
class groupcount(object): """Accept a (possibly infinite) iterable and yield a succession of sub-iterators from it, each of which will yield N values. >>> gc = groupcount('abcdefghij', 3) >>> for subgroup in gc: ... for item in subgroup: ... print item, ... print ......
22.193548
67
0.540698
93
688
3.892473
0.526882
0.049724
0.077348
0
0
0
0
0
0
0
0
0.008869
0.344477
688
30
68
22.933333
0.793792
0.405523
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8f5deec415ff66b4f06feea25c7cc5a2464921a6
3,588
py
Python
pyunsplash/src/users.py
mmangione/pyunsplash
c79aff3b0800c71b921b2090dac275247d0c88fc
[ "MIT" ]
40
2018-05-22T15:50:10.000Z
2022-01-31T10:39:05.000Z
pyunsplash/src/users.py
mmangione/pyunsplash
c79aff3b0800c71b921b2090dac275247d0c88fc
[ "MIT" ]
13
2017-09-13T03:37:42.000Z
2020-10-20T16:04:08.000Z
pyunsplash/src/users.py
mmangione/pyunsplash
c79aff3b0800c71b921b2090dac275247d0c88fc
[ "MIT" ]
17
2017-01-31T17:30:19.000Z
2022-02-09T21:59:41.000Z
############################################################################### # Copyright (c) 2016 Salvatore Ventura <salvoventura@gmail.com> # # File: users.py # # Author: Salvatore Ventura <salvoventura@gmail.com> # Date: 08 Dec 2016 # Purpose: Handles Users, and User # # Revision: 1 # Comment:...
32.324324
115
0.622352
433
3,588
4.997691
0.235566
0.063771
0.046211
0.042052
0.479205
0.368299
0.347967
0.312384
0.27634
0.262015
0
0.004289
0.220178
3,588
110
116
32.618182
0.769121
0.183946
0
0.234375
0
0
0.045952
0
0
0
0
0.009091
0
1
0.28125
false
0
0.0625
0.125
0.609375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8f6d67d8297abb058935a539340f5a6e35156ed8
1,571
py
Python
mtrh_dev/mtrh_dev/funsoft_bridge.py
Moi-Teaching-Referral-Hospital/mtrh_dev
367af3922d0fe0c19e35b0edd999dfc42f9a225b
[ "MIT" ]
null
null
null
mtrh_dev/mtrh_dev/funsoft_bridge.py
Moi-Teaching-Referral-Hospital/mtrh_dev
367af3922d0fe0c19e35b0edd999dfc42f9a225b
[ "MIT" ]
1
2021-01-09T20:00:38.000Z
2021-01-09T20:00:38.000Z
mtrh_dev/mtrh_dev/funsoft_bridge.py
Moi-Teaching-Referral-Hospital/mtrh_dev
367af3922d0fe0c19e35b0edd999dfc42f9a225b
[ "MIT" ]
null
null
null
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt # ERPNext - web based ERP (http://erpnext.com) # For license information, please see license.txt from __future__ import unicode_literals import frappe, json from frappe import _ from frappe.m...
34.911111
130
0.768937
240
1,571
4.891667
0.529167
0.059625
0.03833
0.030664
0.015332
0
0
0
0
0
0
0.013206
0.1324
1,571
45
131
34.911111
0.848129
0.18014
0
0.058824
0
0.058824
0.233411
0.020297
0
0
0
0
0
1
0.088235
false
0.088235
0.411765
0
0.558824
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
56b4ccd1d2f1287d8d82d8f64fc5e164489c602f
646
py
Python
gltflib/models/attributes.py
Onboard-Team/gltflib
1aef8e5edcd6336b170226b0666bf78f92f02ee9
[ "MIT" ]
56
2019-06-17T10:46:25.000Z
2022-03-30T14:48:36.000Z
gltflib/models/attributes.py
Onboard-Team/gltflib
1aef8e5edcd6336b170226b0666bf78f92f02ee9
[ "MIT" ]
198
2019-11-15T03:33:25.000Z
2022-03-30T07:02:21.000Z
gltflib/models/attributes.py
Onboard-Team/gltflib
1aef8e5edcd6336b170226b0666bf78f92f02ee9
[ "MIT" ]
11
2019-10-15T01:37:05.000Z
2022-03-24T12:11:12.000Z
from dataclasses import dataclass from dataclasses_json import dataclass_json from typing import Optional @dataclass_json @dataclass class Attributes: """ Helper type for describing the attributes of a primitive. Each property corresponds to mesh attribute semantic and each value is the index of the acces...
30.761905
118
0.732198
86
646
5.406977
0.5
0.189247
0.258065
0.137634
0
0
0
0
0
0
0
0.009671
0.19969
646
20
119
32.3
0.889749
0.289474
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.214286
0
0.857143
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
56d750bce3383d78346931b17664394a612054f9
6,122
py
Python
test/test_log_wrap_shared.py
python-useful-helpers/logwrap
22ac1c1212137c2af1585b6ef82cd947cf087c37
[ "Apache-2.0" ]
8
2018-03-23T23:35:58.000Z
2020-09-15T18:07:38.000Z
test/test_log_wrap_shared.py
python-useful-helpers/logwrap
22ac1c1212137c2af1585b6ef82cd947cf087c37
[ "Apache-2.0" ]
61
2018-03-28T13:50:31.000Z
2019-04-30T09:46:21.000Z
test/test_log_wrap_shared.py
penguinolog/logwrap
939bf68d8df16eff6bae17a2076f4a46061cf82b
[ "Apache-2.0" ]
4
2018-03-28T13:34:30.000Z
2019-04-10T18:29:42.000Z
# Copyright 2018 - 2021 Alexey Stepanov aka penguinolog # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
43.112676
89
0.700915
848
6,122
4.801887
0.17217
0.243124
0.154715
0.104371
0.712917
0.701375
0.645138
0.615914
0.60609
0.575147
0
0.03661
0.192421
6,122
141
90
43.41844
0.787015
0.133616
0
0.5
0
0
0.034104
0
0
0
0
0
0.683673
1
0.061224
false
0.010204
0.030612
0
0.102041
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
1
0
0
0
0
0
0
0
0
0
3
56dacf670832d0289487f9f15238530900a43377
327
py
Python
cell.py
akankshaghatole/assignment-cleaner-project
ea9448b0e2e0e5042cd7c45533ba23396bf724a3
[ "MIT" ]
null
null
null
cell.py
akankshaghatole/assignment-cleaner-project
ea9448b0e2e0e5042cd7c45533ba23396bf724a3
[ "MIT" ]
null
null
null
cell.py
akankshaghatole/assignment-cleaner-project
ea9448b0e2e0e5042cd7c45533ba23396bf724a3
[ "MIT" ]
null
null
null
class Cell(object): def __init__(self, x, y): self.x = x self.y = y def __lt__(self, other): if (self.x < other.x): return True elif (self.x > other.x): return False elif (self.x == other.x): return (self.y < other.y) ...
25.153846
38
0.437309
42
327
3.214286
0.357143
0.185185
0.222222
0.244444
0.437037
0.311111
0
0
0
0
0
0
0.440367
327
13
39
25.153846
0.737705
0
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
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
56dbe6fa643f9ada964f0d1a7df7bdeca61394eb
350
py
Python
src/test/unit_tests/test_cell.py
ambertide/SASVM
ee699ec9b585ad0fccb0b70e11dde1b225ac56c1
[ "MIT" ]
null
null
null
src/test/unit_tests/test_cell.py
ambertide/SASVM
ee699ec9b585ad0fccb0b70e11dde1b225ac56c1
[ "MIT" ]
7
2019-12-27T20:59:12.000Z
2020-01-08T22:53:42.000Z
src/test/unit_tests/test_cell.py
ambertide/SASVM
ee699ec9b585ad0fccb0b70e11dde1b225ac56c1
[ "MIT" ]
null
null
null
from unittest import TestCase from spacecat.common_utils import Cell class TestCell(TestCase): def setUp(self) -> None: self.cell = Cell() self.cell.value = 16 def test_binary_value(self): self.assertEqual("00010000", self.cell.binary_value) def test_value(self): self.ass...
23.333333
60
0.68
46
350
5.065217
0.434783
0.137339
0.111588
0.206009
0
0
0
0
0
0
0
0.043796
0.217143
350
14
61
25
0.806569
0
0
0
0
0
0.022857
0
0
0
0
0
0.2
1
0.3
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
1
0
0
0
0
1
0
0
3
7112c42d744ab64be6b208bde1bacddd7ac8be53
510
py
Python
qcloudsdkcvm/2017-03-12/DescribeInstanceInternetBandwidthConfigsRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkcvm/2017-03-12/DescribeInstanceInternetBandwidthConfigsRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkcvm/2017-03-12/DescribeInstanceInternetBandwidthConfigsRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DescribeInstanceInternetBandwidthConfigsRequest(Request): def __init__(self): super(DescribeInstanceInternetBandwidthConfigsRequest, self).__init__( 'cvm', 'qcloudcliV1', 'DescribeInstanceInternetBandwidthConfigs', 'cvm.a...
31.875
99
0.729412
45
510
8
0.577778
0.116667
0
0
0
0
0
0
0
0
0
0.004662
0.158824
510
15
100
34
0.834499
0.041176
0
0
0
0
0.188912
0.082136
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
712ba6331ad0f0b36c821082bd62f4f3ce58b960
345
py
Python
src/python/tests/test_model.py
metee1996/ds-example-project
8d43b8786711a69779adb7fd6a830fe63fe30909
[ "Apache-2.0" ]
4
2018-02-22T14:15:50.000Z
2019-04-04T20:12:51.000Z
src/python/tests/test_model.py
metee1996/ds-example-project
8d43b8786711a69779adb7fd6a830fe63fe30909
[ "Apache-2.0" ]
null
null
null
src/python/tests/test_model.py
metee1996/ds-example-project
8d43b8786711a69779adb7fd6a830fe63fe30909
[ "Apache-2.0" ]
11
2018-02-23T00:26:44.000Z
2020-04-08T11:32:31.000Z
import unittest from project import model class DummyTest(unittest.TestCase): def test_number_no_list(self): self.assertEqual(model.power(2), 4) def test_number_one(self): self.assertEqual(model.power([2]), [4]) def test_number_multiple(self): self.assertEqual(model.power([1, 2, ...
24.642857
68
0.672464
49
345
4.591837
0.489796
0.093333
0.173333
0.32
0.52
0.391111
0.391111
0.391111
0.391111
0.391111
0
0.035587
0.185507
345
13
69
26.538462
0.765125
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
7133fd9262f4c8a3796e8e109a9624466af5dca5
82
py
Python
out/production/Hacktoberfest1/Python/oddeven.py
bluey-crypto/Hacktoberfest
c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba
[ "MIT" ]
4
2019-10-12T13:54:20.000Z
2021-07-06T22:41:12.000Z
out/production/Hacktoberfest1/Python/oddeven.py
bluey-crypto/Hacktoberfest
c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba
[ "MIT" ]
1
2020-10-13T06:01:45.000Z
2020-10-13T06:01:45.000Z
out/production/Hacktoberfest1/Python/oddeven.py
bluey-crypto/Hacktoberfest
c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba
[ "MIT" ]
8
2019-10-14T17:20:09.000Z
2020-10-03T17:27:49.000Z
g = int(input()) if g%2 == 0: print("no. even") else: print("no. is odd")
13.666667
23
0.5
15
82
2.733333
0.8
0.341463
0
0
0
0
0
0
0
0
0
0.032787
0.256098
82
5
24
16.4
0.639344
0
0
0
0
0
0.219512
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
852e7506ccb9aa1c5b27efe321ed6a4d2c5d8b15
157
py
Python
USP_Curso/Semana8/Exercicio2.py
IagoAntunes/Python__learning
cb96a1ae902c290270479c7a7f4e97b56c538297
[ "MIT" ]
null
null
null
USP_Curso/Semana8/Exercicio2.py
IagoAntunes/Python__learning
cb96a1ae902c290270479c7a7f4e97b56c538297
[ "MIT" ]
null
null
null
USP_Curso/Semana8/Exercicio2.py
IagoAntunes/Python__learning
cb96a1ae902c290270479c7a7f4e97b56c538297
[ "MIT" ]
null
null
null
def soma_elementos(lista): soma = 0 for i in lista: soma = soma + i return soma lista = [1,2,3,4,5,6] print(soma_elementos(lista))
11.214286
28
0.585987
26
157
3.461538
0.615385
0.288889
0.4
0
0
0
0
0
0
0
0
0.063063
0.292994
157
13
29
12.076923
0.747748
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
853f405086ff289b7be78b4fe9e6f7f361d0a610
242
py
Python
setup.py
jeiva2000/jeiutils
de4f0fb4c92b6086cc5224ec48c3e66a34b0245f
[ "MIT" ]
null
null
null
setup.py
jeiva2000/jeiutils
de4f0fb4c92b6086cc5224ec48c3e66a34b0245f
[ "MIT" ]
null
null
null
setup.py
jeiva2000/jeiutils
de4f0fb4c92b6086cc5224ec48c3e66a34b0245f
[ "MIT" ]
null
null
null
from setuptools import setup setup(name="jeiutils", version="0.3", description="This is code with harry package", long_description = "This is a very very long description", author="sergio", packages=['jeiutils'], install_requires=[])
26.888889
59
0.735537
32
242
5.5
0.75
0.170455
0.193182
0
0
0
0
0
0
0
0
0.009524
0.132231
242
9
60
26.888889
0.828571
0
0
0
0
0
0.393162
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
854c3e3571aaa2fa4dbcbc1db2138b2ddd6bb453
339
py
Python
python/file/tell_seek.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
python/file/tell_seek.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
1
2016-09-15T07:06:15.000Z
2016-09-15T07:06:15.000Z
python/file/tell_seek.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
#!/usr/bin/python35 fp = open('hello.txt') print('fp.tell = %s' % (fp.tell())) fp.seek(10, SEEK_SET) print('fp.seek(10), fp.tell() = %s' % (fp.tell())) # only do zero cur-relative seeks fp.seek(0, SEEK_CUR) print('fp.seek(0, 1), fp.tell() = %s' % (fp.tell())) fp.seek(0, SEEK_END) print('fp.seek(0, 2), fp.tell() = ...
21.1875
52
0.578171
63
339
3.063492
0.365079
0.248705
0.145078
0.186529
0.331606
0.196891
0.196891
0
0
0
0
0.040956
0.135693
339
15
53
22.6
0.617747
0.147493
0
0
0
0
0.369338
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
85657e9c09f18f4f869b1e2904d87ac089ef0bd7
2,559
py
Python
pygw2/api/__init__.py
Natsku123/pygw2
c8e579c07f4d33c7afadc8dee510be0a5e71d16e
[ "MIT" ]
1
2020-01-19T21:27:53.000Z
2020-01-19T21:27:53.000Z
pygw2/api/__init__.py
Natsku123/pygw2
c8e579c07f4d33c7afadc8dee510be0a5e71d16e
[ "MIT" ]
1
2021-12-09T21:18:13.000Z
2021-12-09T21:18:13.000Z
pygw2/api/__init__.py
Natsku123/pygw2
c8e579c07f4d33c7afadc8dee510be0a5e71d16e
[ "MIT" ]
null
null
null
from typing import Optional from .account import AccountApi from .achievements import AchievementsApi from .items import ItemsApi from .daily import DailyApi from .mechanics import MechanicsApi from .guild import GuildApi from .home import HomeApi from .mapinfo import MapInfoApi from .misc import MiscellaneousApi from...
26.65625
75
0.667448
307
2,559
5.312704
0.179153
0.121398
0.079706
0.088289
0.107909
0
0
0
0
0
0
0
0.242282
2,559
95
76
26.936842
0.841155
0.009769
0
0.164384
0
0
0
0
0
0
0
0
0
1
0.205479
false
0
0.191781
0.178082
0.616438
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8571274de41a7b4577122158408d71cb0825ec1f
36,051
py
Python
pyfos/pyfos_brocade_fru.py
madhavinaiduprathap/pyfosbrocade
ec100e77c441761c3e688f1d8e5d18ad38cc83f4
[ "Apache-2.0" ]
null
null
null
pyfos/pyfos_brocade_fru.py
madhavinaiduprathap/pyfosbrocade
ec100e77c441761c3e688f1d8e5d18ad38cc83f4
[ "Apache-2.0" ]
null
null
null
pyfos/pyfos_brocade_fru.py
madhavinaiduprathap/pyfosbrocade
ec100e77c441761c3e688f1d8e5d18ad38cc83f4
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Brocade Communications Systems LLC. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may also obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
51.871942
134
0.431555
3,068
36,051
4.810626
0.075619
0.06159
0.088963
0.115184
0.815502
0.763466
0.687716
0.631479
0.588183
0.539806
0
0.002016
0.325955
36,051
694
135
51.946686
0.60535
0.712186
0
0.774566
0
0
0.082124
0.016271
0
0
0
0
0
1
0.017341
false
0
0.017341
0
0.052023
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
85a22208eb415d98698850cf25de47744b6350e0
1,561
py
Python
automatewithpython/.practiceprojects/printtable.py
Coalemus/Python-Projects
4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c
[ "MIT" ]
null
null
null
automatewithpython/.practiceprojects/printtable.py
Coalemus/Python-Projects
4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c
[ "MIT" ]
null
null
null
automatewithpython/.practiceprojects/printtable.py
Coalemus/Python-Projects
4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c
[ "MIT" ]
null
null
null
#!/bin/zsh ''' Table Printer Write a function named printTable() that takes a list of lists of strings and displays it in a well-organized table with each column right-justified. Assume that all the inner lists will contain the same number of strings. For example, the value could look like this: tableData = [['ap...
30.019231
85
0.682255
232
1,561
4.590517
0.443966
0.014085
0.04507
0.050704
0.191549
0.191549
0.191549
0.191549
0.191549
0.191549
0
0.004967
0.226137
1,561
51
86
30.607843
0.876656
0.847534
0
0
0
0
0.277533
0
0
0
0
0.019608
0
1
0.142857
false
0.142857
0
0
0.142857
0.142857
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
1
0
0
0
0
0
3
85b7161cbe7fe2df12859e14ae7d38a9d5d5e0c9
136
py
Python
wiggum_app/__init__.py
carolinesadlerr/wiggum
e9b80fcdb8d50c6dd8ee3f75b9054e07b15a6163
[ "MIT" ]
5
2020-04-04T23:00:15.000Z
2021-09-05T21:47:43.000Z
wiggum_app/__init__.py
carolinesadlerr/wiggum
e9b80fcdb8d50c6dd8ee3f75b9054e07b15a6163
[ "MIT" ]
62
2019-12-02T19:08:35.000Z
2022-03-30T21:30:42.000Z
wiggum_app/__init__.py
carolinesadlerr/wiggum
e9b80fcdb8d50c6dd8ee3f75b9054e07b15a6163
[ "MIT" ]
3
2021-02-19T16:06:29.000Z
2022-03-06T22:25:58.000Z
from flask import Flask, render_template app = Flask(__name__) app.config.from_pyfile("config.py") from wiggum_app import controller
17
40
0.801471
20
136
5.1
0.6
0
0
0
0
0
0
0
0
0
0
0
0.117647
136
7
41
19.428571
0.85
0
0
0
0
0
0.066176
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a4259dabcfc81e9904cb8f64c4d333f9650f38ca
3,685
py
Python
python/dsaam/time.py
crey0/dsaam
e88ef21cd793518b776f2d66a523ba5515fbd9cd
[ "BSD-2-Clause" ]
null
null
null
python/dsaam/time.py
crey0/dsaam
e88ef21cd793518b776f2d66a523ba5515fbd9cd
[ "BSD-2-Clause" ]
null
null
null
python/dsaam/time.py
crey0/dsaam
e88ef21cd793518b776f2d66a523ba5515fbd9cd
[ "BSD-2-Clause" ]
null
null
null
# Copyright © 2018 CNRS # All rights reserved. # @author Christophe Reymann # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this l...
40.054348
97
0.683311
509
3,685
4.667976
0.298625
0.03367
0.084175
0.113636
0.396044
0.287037
0.267256
0.267256
0.267256
0.242003
0
0.006331
0.228494
3,685
91
98
40.494505
0.829054
0.360923
0
0
0
0
0.081046
0
0
0
0
0
0.06383
1
0.297872
false
0
0.021277
0.191489
0.595745
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a430908f3fd59682fac5c23bda76d0e097acd5c7
175
py
Python
Chapter 09/Windows/webserver.py
PacktPublishing/Python-Geospatial-Development-Third-Edition
e1e1f52da8509876e8576e081de9d5f251a21f77
[ "MIT" ]
44
2016-06-14T05:36:10.000Z
2022-01-30T18:29:44.000Z
Chapter 10/Windows/Example Web Service/webserver.py
KonstantinKlepikov/Python-Geospatial-Development-Third-Edition
ca3545dbab75dac63080582538de40d4d1c15dab
[ "MIT" ]
null
null
null
Chapter 10/Windows/Example Web Service/webserver.py
KonstantinKlepikov/Python-Geospatial-Development-Third-Edition
ca3545dbab75dac63080582538de40d4d1c15dab
[ "MIT" ]
48
2016-12-11T08:53:46.000Z
2022-02-10T12:10:34.000Z
# webserver.py import http.server address = ('', 8000) handler = http.server.CGIHTTPRequestHandler server = http.server.HTTPServer(address, handler) server.serve_forever()
17.5
49
0.771429
20
175
6.7
0.6
0.223881
0
0
0
0
0
0
0
0
0
0.025641
0.108571
175
9
50
19.444444
0.833333
0.068571
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a44fbf8da5dee0736ecdab016d6b6e147674fa59
1,759
py
Python
src/fastshelf/RocksDB.py
ligonliu/fastshelf
1d4250cbaaa062207090c0bd5e8237b271f96496
[ "MIT" ]
null
null
null
src/fastshelf/RocksDB.py
ligonliu/fastshelf
1d4250cbaaa062207090c0bd5e8237b271f96496
[ "MIT" ]
null
null
null
src/fastshelf/RocksDB.py
ligonliu/fastshelf
1d4250cbaaa062207090c0bd5e8237b271f96496
[ "MIT" ]
null
null
null
import collections.abc, rocksdb, shutil class RocksDB(collections.abc.MutableMapping): """ RocksDB map interface, both key and value are bytes object """ def __init__(self, db_path:str, sync=False): self.db_path = db_path self.sync = sync self._db: rocksdb.DB = rocksdb.DB(self....
25.867647
96
0.604321
240
1,759
4.166667
0.333333
0.102
0.05
0.045
0.21
0.156
0.156
0.108
0.108
0.108
0
0.001576
0.278567
1,759
68
97
25.867647
0.786446
0.071632
0
0.133333
0
0
0.003092
0
0
0
0
0
0
1
0.311111
false
0
0.022222
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a455f39d1d776445cad489b3c0be07c5d08b2fd0
1,044
py
Python
bripipetools/submission/__init__.py
BenaroyaResearch/bripipetools
7840adb030a00a5e8c5484f4105176c7d7ea8c5c
[ "MIT" ]
3
2017-07-13T05:40:01.000Z
2018-09-06T23:43:45.000Z
bripipetools/submission/__init__.py
BenaroyaResearch/bripipetools
7840adb030a00a5e8c5484f4105176c7d7ea8c5c
[ "MIT" ]
32
2016-11-02T22:45:21.000Z
2021-11-04T15:58:13.000Z
bripipetools/submission/__init__.py
BenaroyaResearch/bripipetools
7840adb030a00a5e8c5484f4105176c7d7ea8c5c
[ "MIT" ]
null
null
null
""" Prepares data for batch submission through Globus Galaxy, typically starting from unaligned samples (libraries) from a flowcell run. The ``submission.batchcreate`` and ``submission.batchparameterize`` modules handle most of the work: the first takes a list of sample paths (or folders containing sample paths) and a ...
54.947368
70
0.823755
139
1,044
6.18705
0.597122
0.018605
0.030233
0.037209
0
0
0
0
0
0
0
0
0.131226
1,044
19
71
54.947368
0.948181
0.808429
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a46d8d8c9c5f54fdb3f4399bf5ba24416fb5e7ef
2,574
py
Python
navio/gps.py
adrienemery/auv-control-pi
633fe89b652b07eb6ebe03c0550daa211b122297
[ "MIT" ]
9
2016-10-02T06:59:37.000Z
2020-09-24T15:36:10.000Z
navio/gps.py
adrienemery/auv-control-pi
633fe89b652b07eb6ebe03c0550daa211b122297
[ "MIT" ]
null
null
null
navio/gps.py
adrienemery/auv-control-pi
633fe89b652b07eb6ebe03c0550daa211b122297
[ "MIT" ]
4
2019-01-12T23:09:34.000Z
2020-11-05T14:52:42.000Z
from . import ublox class GPS: def __init__(self): self.ubl = ublox.UBlox("spi:0.0", baudrate=5000000, timeout=2) self.ubl.configure_poll_port() self.ubl.configure_poll(ublox.CLASS_CFG, ublox.MSG_CFG_USB) # self.ubl.configure_poll(ublox.CLASS_MON, ublox.MSG_MON_HW) self...
45.964286
82
0.705517
386
2,574
4.388601
0.173575
0.128099
0.255018
0.217237
0.733766
0.714876
0.665289
0.542503
0.542503
0.490555
0
0.02036
0.179487
2,574
55
83
46.8
0.781723
0.050505
0
0.097561
0
0
0.01188
0
0
0
0
0
0
1
0.04878
false
0
0.02439
0
0.121951
0
0
0
0
null
0
1
1
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
3
a49e174c11c8077dc6fd3fa2cba50efa2ecf9cc6
273
py
Python
assets/distribute_lessons.py
larsiusprime/HaxePloverLearn
1f85f31e037abb3e5f7c4d6ab3ffe74b2b48fecf
[ "MIT" ]
5
2016-01-04T00:58:04.000Z
2021-03-08T01:21:41.000Z
assets/distribute_lessons.py
larsiusprime/HaxePloverLearn
1f85f31e037abb3e5f7c4d6ab3ffe74b2b48fecf
[ "MIT" ]
2
2015-12-12T01:06:11.000Z
2019-01-16T09:45:27.000Z
assets/distribute_lessons.py
larsiusprime/HaxePloverLearn
1f85f31e037abb3e5f7c4d6ab3ffe74b2b48fecf
[ "MIT" ]
2
2015-11-04T07:33:28.000Z
2016-01-22T01:48:08.000Z
import shutil import os # Take index.html and copy it to each of the lesson folders. index.html itself is only a template. for fileName in os.listdir('.'): if os.path.isdir(fileName): print fileName shutil.copy2('index.html', fileName + '/index.html')
30.333333
98
0.692308
42
273
4.5
0.690476
0.190476
0
0
0
0
0
0
0
0
0
0.004587
0.201465
273
9
99
30.333333
0.862385
0.351648
0
0
0
0
0.125
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.166667
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
1
0
0
0
0
3
a4a340e33fdebc12959e599de0e44b13cb900b3d
558
py
Python
src/alumnos/models.py
ElDwarf/django-examples
94b6115d518af34dc65d57d5b066cfcebc1d1da1
[ "MIT" ]
null
null
null
src/alumnos/models.py
ElDwarf/django-examples
94b6115d518af34dc65d57d5b066cfcebc1d1da1
[ "MIT" ]
null
null
null
src/alumnos/models.py
ElDwarf/django-examples
94b6115d518af34dc65d57d5b066cfcebc1d1da1
[ "MIT" ]
1
2021-12-23T21:15:14.000Z
2021-12-23T21:15:14.000Z
from django.db import models class Curso(models.Model): name = models.CharField(max_length=30) def __str__(self): return f'{self.name.title()}' class Alumno(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30) curso = models.ForeignKey(...
29.368421
69
0.666667
73
558
4.876712
0.424658
0.08427
0.160112
0.185393
0.370787
0.370787
0
0
0
0
0
0.013544
0.206093
558
19
69
29.368421
0.790068
0
0
0.153846
0
0
0.125224
0.089445
0
0
0
0
0
1
0.153846
false
0
0.076923
0.153846
0.923077
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
f104d3be50d1b0a82f22ae2c1c86176d667c7e46
152
py
Python
URI/1-Beginner/1132.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
URI/1-Beginner/1132.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
URI/1-Beginner/1132.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- x, y = [int(raw_input()) for x in range(2)] if x > y: x, y = y, x print sum([x for x in range(x, y + 1) if x % 13 != 0])
16.888889
54
0.480263
34
152
2.117647
0.529412
0.111111
0.166667
0.305556
0
0
0
0
0
0
0
0.055556
0.289474
152
8
55
19
0.611111
0.138158
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f1388a621c780d5c4ea98e0225206353b0df8717
403
py
Python
MessTrek/Game/klingon.py
AgileInstitute/labs-python-unittest
e137df287c57d71cfa139c342acc597c5b38dd40
[ "MIT" ]
1
2018-08-16T05:48:41.000Z
2018-08-16T05:48:41.000Z
MessTrek/Game/klingon.py
AgileInstitute/labs-python-unittest
e137df287c57d71cfa139c342acc597c5b38dd40
[ "MIT" ]
null
null
null
MessTrek/Game/klingon.py
AgileInstitute/labs-python-unittest
e137df287c57d71cfa139c342acc597c5b38dd40
[ "MIT" ]
1
2019-10-14T00:02:42.000Z
2019-10-14T00:02:42.000Z
from MessTrek.Game.game import Game class Klingon(object): def __init__(self): self.distance = 100 + Game.Rnd(4000) self.energy = 1000 + Game.Rnd(2000) def Distance(self): return self.distance def GetEnergy(self): return self.energy def SetEnergy(self, value): ...
18.318182
44
0.62531
48
403
5.166667
0.5
0.120968
0.112903
0
0
0
0
0
0
0
0
0.051546
0.277916
403
21
45
19.190476
0.800687
0
0
0
0
0
0
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f13dcca765cd2f185f7c3ac2f33d8925d2f9400e
235
py
Python
model.py
JackyWang2001/COGS118B
49033c1c225073307d61846c52d3bd4df4fb1b87
[ "Apache-2.0" ]
2
2021-01-17T09:52:16.000Z
2021-03-03T01:23:16.000Z
model.py
JackyWang2001/AnimeSegmentation
49033c1c225073307d61846c52d3bd4df4fb1b87
[ "Apache-2.0" ]
null
null
null
model.py
JackyWang2001/AnimeSegmentation
49033c1c225073307d61846c52d3bd4df4fb1b87
[ "Apache-2.0" ]
null
null
null
import torch import torchvision import torch.nn.functional as F from torch import nn from torch.autograd import Variable def init_deeplab(num_classes=21): return torchvision.models.segmentation.deeplabv3_resnet50(pretrained=True)
19.583333
75
0.838298
33
235
5.878788
0.69697
0.113402
0
0
0
0
0
0
0
0
0
0.02381
0.106383
235
11
76
21.363636
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.714286
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
f14328c8e53e1895b2d0569c86d5021dd9b6abce
131
py
Python
dkc_api/v1/const.py
Blackgard/dkc-api
9c221f4fdb862aacc404010d7708637b1a84b800
[ "MIT" ]
1
2022-03-09T06:09:59.000Z
2022-03-09T06:09:59.000Z
dkc_api/v1/const.py
Blackgard/dkc-api
9c221f4fdb862aacc404010d7708637b1a84b800
[ "MIT" ]
null
null
null
dkc_api/v1/const.py
Blackgard/dkc-api
9c221f4fdb862aacc404010d7708637b1a84b800
[ "MIT" ]
null
null
null
DOMAIN = 'api.dkc.ru' VERSION_API = 'v1' URL_DOMAIN = f"https://{DOMAIN}/{VERSION_API}" DEFAULT_HEADERS = { "Accept": "*/*", }
18.714286
46
0.618321
17
131
4.529412
0.705882
0.25974
0
0
0
0
0
0
0
0
0
0.008929
0.145038
131
7
47
18.714286
0.678571
0
0
0
0
0
0.386364
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f14a345017404ac556af75f8e0e0eb5d9ad6d6c8
1,983
py
Python
src/networks/base.py
contimatteo/Flatland-Challenge
9472c2e5713a7b522fa60a1d6b7d1fe5ddec10e6
[ "MIT" ]
1
2022-01-17T07:21:15.000Z
2022-01-17T07:21:15.000Z
src/networks/base.py
contimatteo/Flatland-DMM
9472c2e5713a7b522fa60a1d6b7d1fe5ddec10e6
[ "MIT" ]
null
null
null
src/networks/base.py
contimatteo/Flatland-DMM
9472c2e5713a7b522fa60a1d6b7d1fe5ddec10e6
[ "MIT" ]
null
null
null
from typing import Tuple import abc from tensorflow.keras.layers import Dense from tensorflow.keras.layers import Flatten from tensorflow.keras import Sequential from utils.storage import Storage ### class BaseNetwork(abc.ABC): def __init__(self, observations_shape: Tuple, n_actions: int) -> None: self...
26.44
85
0.680282
239
1,983
5.372385
0.246862
0.068536
0.081776
0.03972
0.355919
0.163551
0.115265
0.051402
0
0
0
0.004516
0.218356
1,983
74
86
26.797297
0.823871
0
0
0.163265
0
0
0.062848
0
0
0
0
0
0
1
0.265306
false
0
0.122449
0.142857
0.632653
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f1522ecaa10643e94ce026b79f7709b988eb52ff
231
py
Python
Update Objects/delete cube.py
DJHig/TM1py-samples
da4050380447472a02e2a107a2c5be79ac284d0a
[ "MIT" ]
1
2019-05-30T10:10:20.000Z
2019-05-30T10:10:20.000Z
Update Objects/delete cube.py
DJHig/TM1py-samples
da4050380447472a02e2a107a2c5be79ac284d0a
[ "MIT" ]
null
null
null
Update Objects/delete cube.py
DJHig/TM1py-samples
da4050380447472a02e2a107a2c5be79ac284d0a
[ "MIT" ]
1
2017-09-01T03:35:18.000Z
2017-09-01T03:35:18.000Z
""" Delete a cube """ import configparser config = configparser.ConfigParser() config.read('..\config.ini') from TM1py.Services import TM1Service with TM1Service(**config['tm1srv01']) as tm1: tm1.cubes.delete('Rubiks Cube')
19.25
45
0.727273
28
231
6
0.642857
0.214286
0
0
0
0
0
0
0
0
0
0.039409
0.121212
231
11
46
21
0.788177
0.056277
0
0
0
0
0.15311
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f15480ef942da052a56b65f7cdcc961ef1afff85
27
py
Python
resources/model/__init__.py
diegohideky/climatempoworkshop
edb50eec386d6db5ede9b28192520922ed85c55e
[ "MIT" ]
null
null
null
resources/model/__init__.py
diegohideky/climatempoworkshop
edb50eec386d6db5ede9b28192520922ed85c55e
[ "MIT" ]
null
null
null
resources/model/__init__.py
diegohideky/climatempoworkshop
edb50eec386d6db5ede9b28192520922ed85c55e
[ "MIT" ]
null
null
null
__author__ = 'diegohideky'
13.5
26
0.777778
2
27
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.708333
0
0
0
0
0
0.407407
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f1660681413d79a13395c553bd3fb6d0a24b0f6b
237
py
Python
authentication/repo.py
leonolan2020/phoenix
b5956a7003e548f01255cbd5d0d76cfd0ac77a81
[ "MIT" ]
1
2020-09-19T21:56:40.000Z
2020-09-19T21:56:40.000Z
authentication/repo.py
leonolan2020/phoenix
b5956a7003e548f01255cbd5d0d76cfd0ac77a81
[ "MIT" ]
null
null
null
authentication/repo.py
leonolan2020/phoenix
b5956a7003e548f01255cbd5d0d76cfd0ac77a81
[ "MIT" ]
5
2020-09-18T18:53:03.000Z
2020-10-21T14:42:00.000Z
from market.models import Customer,Supplier from django.contrib.auth import authenticate def CreateProfiles(profile): Customer(profile=profile).save() # Supplier(profile=profile,region_id=profile.region_id).save() return True
39.5
66
0.793249
30
237
6.2
0.6
0.150538
0.16129
0
0
0
0
0
0
0
0
0
0.109705
237
6
67
39.5
0.881517
0.253165
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f1821327683c3bf0cf49829fb63789c5fce5edbf
247
py
Python
classifieds/views/contact.py
hpunnoose01/finaltry
f5430486bccbb170392de192a265e67ffad78f39
[ "BSD-3-Clause" ]
21
2015-04-16T15:37:02.000Z
2022-03-16T12:37:25.000Z
classifieds/views/contact.py
hpunnoose01/finaltry
f5430486bccbb170392de192a265e67ffad78f39
[ "BSD-3-Clause" ]
3
2020-06-06T00:45:19.000Z
2021-06-10T22:37:36.000Z
classifieds/views/contact.py
hpunnoose01/finaltry
f5430486bccbb170392de192a265e67ffad78f39
[ "BSD-3-Clause" ]
15
2015-02-27T07:20:48.000Z
2021-08-21T03:54:50.000Z
from django.shortcuts import render_to_response, get_object_or_404 from django.template import RequestContext from classifieds.models import Ad def contact_seller(request, pk): ad = get_object_or_404(Ad, pk=pk) # TODO contact form here
24.7
66
0.797571
38
247
4.947368
0.631579
0.106383
0.117021
0.148936
0
0
0
0
0
0
0
0.028436
0.145749
247
9
67
27.444444
0.862559
0.089069
0
0
0
0
0
0
0
0
0
0.111111
0
1
0.2
false
0
0.6
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
74b278c82632346ac1241153d1f230915da39554
5,044
py
Python
tests/service/test_trade_service.py
hsstock/hsstock
f8841331022e8844537a5c5b08d047e2cc328856
[ "Apache-2.0" ]
2
2018-10-04T08:04:24.000Z
2021-01-21T06:58:30.000Z
tests/service/test_trade_service.py
hsstock/hsstock
f8841331022e8844537a5c5b08d047e2cc328856
[ "Apache-2.0" ]
null
null
null
tests/service/test_trade_service.py
hsstock/hsstock
f8841331022e8844537a5c5b08d047e2cc328856
[ "Apache-2.0" ]
1
2018-10-20T09:39:50.000Z
2018-10-20T09:39:50.000Z
import unittest import time import hsstock.futuquant as ft from hsstock.futuquant import * from hsstock.utils.app_config import AppConfig from hsstock.service.trade_service import * class TradeServiceTestCase(unittest.TestCase): @classmethod def setUpClass(cls): config = AppConfig.get_config() ...
39.100775
150
0.70004
665
5,044
5.007519
0.159399
0.077778
0.111111
0.07988
0.750751
0.723123
0.723123
0.683183
0.622222
0.603604
0
0.028417
0.190722
5,044
129
151
39.100775
0.787359
0.090603
0
0.314607
0
0
0.060302
0
0
0
0
0.007752
0.179775
1
0.179775
false
0.022472
0.067416
0
0.258427
0.05618
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
74d1c40547a8f0e2211cfc2b1a0f48a5038bdf5c
948
py
Python
league_history_collector/utils/__init__.py
lynshi/league-history-collector
9bf21b6e3c879f8eb6a4dfd76a1bf5b377c32eb1
[ "MIT" ]
null
null
null
league_history_collector/utils/__init__.py
lynshi/league-history-collector
9bf21b6e3c879f8eb6a4dfd76a1bf5b377c32eb1
[ "MIT" ]
3
2020-11-27T21:09:05.000Z
2020-12-07T00:57:29.000Z
league_history_collector/utils/__init__.py
lynshi/league-history-collector
9bf21b6e3c879f8eb6a4dfd76a1bf5b377c32eb1
[ "MIT" ]
null
null
null
"""Utility objects and functions.""" from dataclasses import dataclass from typing import ClassVar, Dict from dataclasses_json.api import DataClassJsonMixin, LetterCase from dataclasses_json.cfg import config as dataclasses_json_config from stringcase import camelcase # Use camelcase when providing `letter_case` to...
33.857143
86
0.800633
112
948
6.651786
0.508929
0.14094
0.051007
0
0
0
0
0
0
0
0
0.030377
0.131857
948
27
87
35.111111
0.874848
0.470464
0
0
0
0
0.033058
0
0
0
0
0
0.090909
1
0
true
0
0.454545
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
74544d8aef2d03d33492ffc7557d32e7f1c9b946
375
py
Python
modules/character.py
caua-santavicca/AP-5
983b3cdfcedda60b2b59c304828bb74a70242cd6
[ "MIT" ]
null
null
null
modules/character.py
caua-santavicca/AP-5
983b3cdfcedda60b2b59c304828bb74a70242cd6
[ "MIT" ]
null
null
null
modules/character.py
caua-santavicca/AP-5
983b3cdfcedda60b2b59c304828bb74a70242cd6
[ "MIT" ]
null
null
null
class Character: def __init__(self, gear: int, name: str, relic: int = 0) -> None: self.__gear: int = gear self.__relic = relic self.__name: str = name @property def gear(self) -> int: return self.__gear @property def relic(self): return self.__relic @p...
20.833333
69
0.576
46
375
4.347826
0.304348
0.12
0.11
0
0
0
0
0
0
0
0
0.003937
0.322667
375
17
70
22.058824
0.783465
0
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.214286
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7477c34b18b27e8060f761274bbf98908d05475a
60
py
Python
tests/conftest.py
sa-bpelakh/sparql-endpoint-fixture
b88d1fd5189da4a8652fcd0dc1bfad65c1a4a6a6
[ "BSD-3-Clause" ]
null
null
null
tests/conftest.py
sa-bpelakh/sparql-endpoint-fixture
b88d1fd5189da4a8652fcd0dc1bfad65c1a4a6a6
[ "BSD-3-Clause" ]
null
null
null
tests/conftest.py
sa-bpelakh/sparql-endpoint-fixture
b88d1fd5189da4a8652fcd0dc1bfad65c1a4a6a6
[ "BSD-3-Clause" ]
null
null
null
pytest_plugins = [ "sparql_endpoint_fixture.endpoint" ]
15
38
0.75
6
60
7
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.15
60
3
39
20
0.823529
0
0
0
0
0
0.533333
0.533333
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7480ee4a5439c512b215383b9cdfff6cfa75c1af
1,001
py
Python
djapi/djapi/recommender/serializers.py
Build-Week-Med-Cabinet/Data-Science
d040b1c8865ecfe65c6205e72edbb1e829a0119f
[ "MIT" ]
null
null
null
djapi/djapi/recommender/serializers.py
Build-Week-Med-Cabinet/Data-Science
d040b1c8865ecfe65c6205e72edbb1e829a0119f
[ "MIT" ]
7
2019-09-24T03:21:03.000Z
2022-02-10T08:37:37.000Z
djapi/djapi/recommender/serializers.py
Build-Week-Med-Cabinet/Data-Science
d040b1c8865ecfe65c6205e72edbb1e829a0119f
[ "MIT" ]
8
2019-09-23T16:25:39.000Z
2020-02-29T02:49:36.000Z
from django.contrib.auth.models import User, Group from rest_framework import serializers from .models import UserRating, Strain class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = User fields = ['url', 'username', 'email', 'groups'] class GroupSerializer(serializer...
28.6
79
0.643357
87
1,001
7.241379
0.413793
0.234921
0.266667
0.292063
0.32381
0
0
0
0
0
0
0
0.257742
1,001
35
80
28.6
0.847914
0.064935
0
0.230769
0
0
0.151872
0
0
0
0
0
0
1
0
false
0
0.115385
0
0.423077
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
748216172c691710450d18f2ec874fdbee428884
137
py
Python
cpg-core/src/test/resources/python/function.py
peterkong1024/cpg
0014dbf37c1b699b71d1ce2777e5017d5b61f619
[ "Apache-2.0" ]
96
2019-12-06T19:05:41.000Z
2022-03-29T16:35:06.000Z
cpg-core/src/test/resources/python/function.py
peterkong1024/cpg
0014dbf37c1b699b71d1ce2777e5017d5b61f619
[ "Apache-2.0" ]
660
2019-12-11T13:33:43.000Z
2022-03-31T07:06:10.000Z
cpg-core/src/test/resources/python/function.py
peterkong1024/cpg
0014dbf37c1b699b71d1ce2777e5017d5b61f619
[ "Apache-2.0" ]
34
2019-12-12T14:34:05.000Z
2022-03-24T12:46:47.000Z
def foo(): bar("some string", s2="another_string") def bar(s: str, s2: str): print("bar(s) here: ", s) a = 1 + 2 return
17.125
43
0.532847
23
137
3.130435
0.652174
0.111111
0
0
0
0
0
0
0
0
0
0.04
0.270073
137
7
44
19.571429
0.68
0
0
0
0
0
0.277372
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
778a67903071ab993b47cca0ad56ad7f6ee6c51f
108
py
Python
CadVlan/constants.py
marcusgc/GloboNetworkAPI-WebUI
1172f14028f9c116d71df7489eda770446b131d2
[ "Apache-2.0" ]
17
2015-05-19T20:03:45.000Z
2022-03-24T06:19:47.000Z
CadVlan/constants.py
marcusgc/GloboNetworkAPI-WebUI
1172f14028f9c116d71df7489eda770446b131d2
[ "Apache-2.0" ]
41
2015-01-27T18:36:07.000Z
2021-06-10T20:34:03.000Z
CadVlan/constants.py
marcusgc/GloboNetworkAPI-WebUI
1172f14028f9c116d71df7489eda770446b131d2
[ "Apache-2.0" ]
19
2016-09-12T07:35:42.000Z
2022-01-28T23:46:11.000Z
# OBJECT_TYPES VIPREQUEST_OBJ_TYPE = 'VipRequest' SERVERPOOL_OBJ_TYPE = 'ServerPool' VLAN_OBJ_TYPE = 'Vlan'
21.6
34
0.805556
14
108
5.714286
0.5
0.2625
0
0
0
0
0
0
0
0
0
0
0.101852
108
4
35
27
0.824742
0.111111
0
0
0
0
0.255319
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
778dcbc250306586baa6f87b4806ee6edfa84e51
415
py
Python
course_contents/7_oop/astuces_heritage.py
maganoegi/python_course_autumn_2021
0b297040f4e1eba654f125ee60ac4fa8e06b093b
[ "MIT" ]
null
null
null
course_contents/7_oop/astuces_heritage.py
maganoegi/python_course_autumn_2021
0b297040f4e1eba654f125ee60ac4fa8e06b093b
[ "MIT" ]
null
null
null
course_contents/7_oop/astuces_heritage.py
maganoegi/python_course_autumn_2021
0b297040f4e1eba654f125ee60ac4fa8e06b093b
[ "MIT" ]
1
2021-12-07T07:15:19.000Z
2021-12-07T07:15:19.000Z
# Quand une classe hétite d'une # autre, elle reprend ces caracteristiques... class Parent: def __init__(self): self.role = "parent" class Child( Parent ): def __init__(self): self.role = "child" >>> p = Parent() >>> c = Child() >>> p.role "parent" >>> c.role "child" # Observer ceci... class...
15.961538
45
0.6
52
415
4.557692
0.423077
0.113924
0.164557
0.21519
0.518987
0.518987
0.438819
0.438819
0.438819
0.438819
0
0
0.245783
415
25
46
16.6
0.757189
0.216867
0
0.529412
0
0
0.0875
0
0
0
0
0
0
0
null
null
0.058824
0
null
null
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
1
0
0
1
0
0
0
0
0
3
77ae3eccbe9b8edc7ce69a74c567737b2b02e6f7
883
py
Python
handover/controller/handover_message_wrapper.py
CN-UPB/sharp
fdf8691ca6efe70c47a16b74abfc4bd82e55915e
[ "Apache-2.0" ]
2
2018-11-15T08:10:00.000Z
2019-01-14T17:08:57.000Z
handover/controller/handover_message_wrapper.py
CN-UPB/sharp
fdf8691ca6efe70c47a16b74abfc4bd82e55915e
[ "Apache-2.0" ]
null
null
null
handover/controller/handover_message_wrapper.py
CN-UPB/sharp
fdf8691ca6efe70c47a16b74abfc4bd82e55915e
[ "Apache-2.0" ]
2
2018-11-15T08:10:05.000Z
2019-02-06T05:51:05.000Z
from ryu.lib.packet.packet_base import PacketBase from handover.common.handover_message import HandoverMessage class HandoverMessageWrapper(HandoverMessage, PacketBase): """ A wrapper around the HandoverMessage used for parsing and serializing control messages. Combines HandoverMessage with Ryu PacketBas...
35.32
91
0.738392
99
883
6.454545
0.484848
0.046948
0.040689
0.053208
0
0
0
0
0
0
0
0
0.180068
883
25
92
35.32
0.882597
0.19479
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
77b9f147081bd56c1a07f3491523ac14a7217d8e
275
py
Python
iotbx/command_line/xplor.map.show_summary.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
iotbx/command_line/xplor.map.show_summary.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
iotbx/command_line/xplor.map.show_summary.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division import iotbx.xplor.map import sys def run(args): for file_name in args: print "file name:", file_name iotbx.xplor.map.reader(file_name=file_name).show_summary(prefix=" ") print if (__name__ == "__main__"): run(sys.argv[1:])
21.153846
73
0.709091
42
275
4.238095
0.571429
0.224719
0.146067
0.179775
0
0
0
0
0
0
0
0.004348
0.163636
275
12
74
22.916667
0.769565
0
0
0
0
0
0.072727
0
0
0
0
0
0
0
null
null
0
0.3
null
null
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
1
0
0
0
0
0
0
0
0
3
77cfc103aa30c38e9932100377ec0254a11b22f6
1,017
py
Python
constants.py
brookstaylor/digg-it
382c4224c21a92ef1ccfea8095bf9084987f5dcd
[ "MIT" ]
null
null
null
constants.py
brookstaylor/digg-it
382c4224c21a92ef1ccfea8095bf9084987f5dcd
[ "MIT" ]
null
null
null
constants.py
brookstaylor/digg-it
382c4224c21a92ef1ccfea8095bf9084987f5dcd
[ "MIT" ]
null
null
null
import os # rebase delta address is the contract that logs the supply change, digg contract logs new supply REBASE_TRIGGER_ADDRESS = "0xbd5d9451e004fc495f105ceab40d6c955e4192ba" REBASE_DELTA_ADDRESS = "0x327a78d13ea74145cc0c63e6133d516ad3e974c3" BDIGG_ADDRESS = "0x7e7e112a68d8d2e221e11047a72ffc1065c38e1a" BDIGG_DECIMA...
44.217391
97
0.864307
105
1,017
8.019048
0.571429
0.026128
0.042755
0.035629
0
0
0
0
0
0
0
0.276596
0.075713
1,017
22
98
46.227273
0.619149
0.093412
0
0
0
0
0.511957
0.41087
0
0
0.41087
0
0
1
0
false
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
77d1afec666c8c446e0be9c51b32b1c1f78afc07
97
py
Python
AtCoder/ABC/162/B.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
AtCoder/ABC/162/B.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
AtCoder/ABC/162/B.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
n = int(input()) s = 0 for i in range(1,n+1): if i%3 !=0 and i%5 !=0: s += i print(s)
16.166667
27
0.453608
24
97
1.833333
0.625
0
0
0
0
0
0
0
0
0
0
0.106061
0.319588
97
6
28
16.166667
0.560606
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
77de4a3f767434acaebc469c989f080bcacd6e5c
696
py
Python
fieldWidgetClassworkProject/fieldWidgetClassworkApp/migrations/0003_auto_20190307_1907.py
cs-fullstack-2019-spring/django-fields-widgets-cw-bettyjware11
26ff2e3da84d618f30d27e4cf145d287f59ad48f
[ "Apache-2.0" ]
null
null
null
fieldWidgetClassworkProject/fieldWidgetClassworkApp/migrations/0003_auto_20190307_1907.py
cs-fullstack-2019-spring/django-fields-widgets-cw-bettyjware11
26ff2e3da84d618f30d27e4cf145d287f59ad48f
[ "Apache-2.0" ]
null
null
null
fieldWidgetClassworkProject/fieldWidgetClassworkApp/migrations/0003_auto_20190307_1907.py
cs-fullstack-2019-spring/django-fields-widgets-cw-bettyjware11
26ff2e3da84d618f30d27e4cf145d287f59ad48f
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.6 on 2019-03-07 19:07 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('fieldWidgetClassworkApp', '0002_auto_20190307_1839'), ] operations = [ migrations.RenameField( model_name='superhero', old_n...
24
63
0.573276
61
696
6.344262
0.590164
0.162791
0.20155
0.232558
0.356589
0.356589
0.356589
0
0
0
0
0.067797
0.321839
696
28
64
24.857143
0.752119
0.064655
0
0.409091
1
0
0.217257
0.070878
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
77fc04c8b0a6ef19115407455e6f5e4bd25df891
1,305
py
Python
recipe_scrapers/kingarthur.py
mathiazom/recipe-scrapers
7052bb5725e2a53d3770396a40c133ca6a56af64
[ "MIT" ]
811
2017-11-05T02:15:47.000Z
2022-03-31T08:01:19.000Z
recipe_scrapers/kingarthur.py
mathiazom/recipe-scrapers
7052bb5725e2a53d3770396a40c133ca6a56af64
[ "MIT" ]
409
2018-01-21T02:08:21.000Z
2022-03-30T08:44:02.000Z
recipe_scrapers/kingarthur.py
mathiazom/recipe-scrapers
7052bb5725e2a53d3770396a40c133ca6a56af64
[ "MIT" ]
298
2017-11-07T17:55:33.000Z
2022-03-31T18:43:11.000Z
from bs4 import BeautifulSoup from ._abstract import AbstractScraper from ._utils import normalize_string class KingArthur(AbstractScraper): @classmethod def host(cls): return "kingarthurbaking.com" def title(self): return self.schema.title() def total_time(self): return sel...
29.659091
119
0.661303
149
1,305
5.704698
0.469799
0.082353
0.098824
0.141176
0
0
0
0
0
0
0
0.001031
0.256705
1,305
43
120
30.348837
0.875258
0.218391
0
0
0
0
0.034694
0
0
0
0
0
0
1
0.285714
false
0
0.107143
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7ac7e321dca11d5bada3e4c782e4333e2ccfcd66
13,131
py
Python
fcis/functions/psroi_pooling_2d.py
knorth55/chainer-fcis
a3dcebf5c31395dbd4b596509707bc9fe91a06e0
[ "MIT" ]
45
2017-10-06T12:24:17.000Z
2021-11-10T05:28:31.000Z
fcis/functions/psroi_pooling_2d.py
knorth55/chainer-fcis
a3dcebf5c31395dbd4b596509707bc9fe91a06e0
[ "MIT" ]
14
2017-10-13T11:03:54.000Z
2018-12-12T04:48:35.000Z
fcis/functions/psroi_pooling_2d.py
knorth55/chainer-fcis
a3dcebf5c31395dbd4b596509707bc9fe91a06e0
[ "MIT" ]
10
2017-10-13T09:24:15.000Z
2020-07-12T09:05:47.000Z
# Cuda Kernel Original work by Haozhi Qi (@Oh233) # https://github.com/msracver/FCIS # Modified by Shingo Kitagawa (@knorth55) import numpy as np import six from chainer.backends import cuda from chainer import function from chainer.utils import type_check if cuda.available: import cupy as cp def _roi_pooling...
42.771987
79
0.543142
1,642
13,131
4.105359
0.105968
0.041537
0.053405
0.017802
0.788459
0.762053
0.712802
0.682836
0.615339
0.615339
0
0.019659
0.353058
13,131
306
80
42.911765
0.773867
0.009139
0
0.528169
0
0
0.010912
0
0
0
0
0
0
1
0.056338
false
0
0.042254
0.007042
0.147887
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7ada95cbe66c08772f0e66912b9e485a23612e25
254
py
Python
ex053.py
RodrigoMoro3736/Python
14ae88b81c252c1235ac0f904d0f77a8db870078
[ "MIT" ]
null
null
null
ex053.py
RodrigoMoro3736/Python
14ae88b81c252c1235ac0f904d0f77a8db870078
[ "MIT" ]
null
null
null
ex053.py
RodrigoMoro3736/Python
14ae88b81c252c1235ac0f904d0f77a8db870078
[ "MIT" ]
null
null
null
frase = str(input('Digite uma frase para ver se ela é um PALÍNDROMO! : ')).strip().lower().replace(' ', '') invertido = frase[::-1] if frase == invertido: print('A sua frase é SIM um PALÍNDROMO!') else: print('A sua frase NÃO é um PALÍNDROMO!')
31.75
107
0.645669
39
254
4.205128
0.615385
0.219512
0.158537
0.170732
0
0
0
0
0
0
0
0.004831
0.185039
254
7
108
36.285714
0.78744
0
0
0
0
0
0.46063
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
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
3
7adc27ee096e10e557d43082616d3975adc51bc6
5,300
py
Python
parameters/migrations/0005_auto_20181124_0724.py
soreva/pvfree
da6486973e64b6a415248de7752ca590abd1983e
[ "BSD-2-Clause" ]
10
2018-05-02T22:42:21.000Z
2021-08-04T06:21:30.000Z
parameters/migrations/0005_auto_20181124_0724.py
soreva/pvfree
da6486973e64b6a415248de7752ca590abd1983e
[ "BSD-2-Clause" ]
15
2018-03-31T07:58:05.000Z
2021-12-14T00:50:09.000Z
parameters/migrations/0005_auto_20181124_0724.py
soreva/pvfree
da6486973e64b6a415248de7752ca590abd1983e
[ "BSD-2-Clause" ]
3
2019-08-04T03:52:27.000Z
2020-10-28T07:43:18.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2018-11-24 07:24 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('parameters', '0004_auto_20180331_0836'), ] operations = [ migrations.AlterF...
36.30137
232
0.539245
520
5,300
5.378846
0.251923
0.185913
0.232392
0.269575
0.769038
0.643189
0.542724
0.467286
0.047193
0.039328
0
0.022277
0.313962
5,300
145
233
36.551724
0.746975
0.01283
0
0.565217
1
0
0.195831
0.004399
0
0
0
0
0
1
0
false
0
0.014493
0
0.036232
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7adf5922774518badb9eccb01d6ab3340343f847
806
py
Python
python_specific/permutations_combinations_itertools.py
vaishnavprachi98/technical-interviews
7e61aaf08774d67090f022bd288394ffce7c437d
[ "MIT" ]
65
2017-11-17T09:08:36.000Z
2021-12-25T03:20:06.000Z
python_specific/permutations_combinations_itertools.py
vaishnavprachi98/technical-interviews
7e61aaf08774d67090f022bd288394ffce7c437d
[ "MIT" ]
null
null
null
python_specific/permutations_combinations_itertools.py
vaishnavprachi98/technical-interviews
7e61aaf08774d67090f022bd288394ffce7c437d
[ "MIT" ]
14
2018-03-08T03:06:26.000Z
2021-09-14T13:50:53.000Z
import itertools S = [ 'a', 'ab', 'ba' ] for i in range(len(S)+1): for c in itertools.combinations(S, i): cc = ''.join(c) if len(cc) <= 6: print (c) stuff = ['A', 'B', 'C'] print("COMBS 1: ") combs_len1 = list(itertools.combinations(stuff, 1)) print(combs_len1) print("COMBS 2: ") combs_len2 = list(i...
20.666667
51
0.684864
120
806
4.5
0.25
0.148148
0.185185
0.222222
0
0
0
0
0
0
0
0.03741
0.137717
806
38
52
21.210526
0.739568
0
0
0
0
0
0.085608
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0.517241
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
1
0
3
7aeb7ff06cc162df6159ce549c719939c298a9c3
189
py
Python
addons/metadata.generic.artists/lib/nfo.py
RetroFlix/retroflix.repo
9f9c39650877eaebe42a9136e5c77f8dca40061e
[ "Unlicense" ]
null
null
null
addons/metadata.generic.artists/lib/nfo.py
RetroFlix/retroflix.repo
9f9c39650877eaebe42a9136e5c77f8dca40061e
[ "Unlicense" ]
null
null
null
addons/metadata.generic.artists/lib/nfo.py
RetroFlix/retroflix.repo
9f9c39650877eaebe42a9136e5c77f8dca40061e
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- import re def nfo_geturl(data): result = re.search('https://musicbrainz.org/(ws/2/)?artist/([0-9a-z\-]*)', data) if result: return result.group(2)
21
84
0.587302
28
189
3.928571
0.821429
0
0
0
0
0
0
0
0
0
0
0.032468
0.185185
189
8
85
23.625
0.681818
0.111111
0
0
0
0
0.313253
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7afea00aa90359062e6f41a1602670d556f15464
63
py
Python
mmocr/models/utils/__init__.py
jeffreykuang/mmocr-1
b17304edeb493b0a4d7224c23d23b952350d0db5
[ "Apache-2.0" ]
4
2021-07-18T22:31:57.000Z
2021-07-18T22:36:45.000Z
mmocr/models/utils/__init__.py
jeffreykuang/mmocr-1
b17304edeb493b0a4d7224c23d23b952350d0db5
[ "Apache-2.0" ]
null
null
null
mmocr/models/utils/__init__.py
jeffreykuang/mmocr-1
b17304edeb493b0a4d7224c23d23b952350d0db5
[ "Apache-2.0" ]
1
2021-04-16T02:01:26.000Z
2021-04-16T02:01:26.000Z
from .ops.rroi_align import RROIAlign __all__ = ['RROIAlign']
15.75
37
0.761905
8
63
5.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.126984
63
3
38
21
0.781818
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bb0ab1da942a21a46fbe97c3366dd91b62b7ae54
723
py
Python
ch03_04.py
sitdh/59.com-prog
24f536a72b0467ff3ee1615f515ecff9fbf36bb3
[ "MIT" ]
1
2021-04-25T14:46:12.000Z
2021-04-25T14:46:12.000Z
ch03_04.py
sitdh/com-prog
24f536a72b0467ff3ee1615f515ecff9fbf36bb3
[ "MIT" ]
null
null
null
ch03_04.py
sitdh/com-prog
24f536a72b0467ff3ee1615f515ecff9fbf36bb3
[ "MIT" ]
null
null
null
(day, month, year) = input().strip().split() day = int(day); month = int(month); year = int(year) if month < 3: month += 12 year -= 1 c = year / 100 k = year % 100 day + 26 * (m + 1) / 10 + k + k/4 week_day_name = '' # 1. Follow from flowchart if 0 == week_day: week_day_name = 'SAT' elif 1 == week_day...
19.540541
67
0.60166
122
723
3.319672
0.319672
0.328395
0.244444
0.241975
0.311111
0
0
0
0
0
0
0.044803
0.228216
723
36
68
20.083333
0.681004
0.193638
0
0
0
0
0.036332
0
0
0
0
0
0
1
0
false
0
0
0
0
0.041667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3