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
cf602a8e7751b3331c04765e7cb962e3e050d19e
110
py
Python
tests/draft.py
DeqianBai/Automatically-extract-news-person-speech
77e784a01112561b64d6dd3ed3cb055f9fef1d36
[ "MIT" ]
8
2019-09-29T06:49:18.000Z
2021-05-31T12:30:12.000Z
tests/draft.py
DeqianBai/-
77e784a01112561b64d6dd3ed3cb055f9fef1d36
[ "MIT" ]
null
null
null
tests/draft.py
DeqianBai/-
77e784a01112561b64d6dd3ed3cb055f9fef1d36
[ "MIT" ]
6
2019-10-13T12:17:22.000Z
2021-12-07T01:33:04.000Z
def f(): return None, None print(f()) if f(): print('aaa') else: print('bbb') a = f() print(*a)
9.166667
21
0.5
18
110
3.055556
0.555556
0.218182
0
0
0
0
0
0
0
0
0
0
0.263636
110
11
22
10
0.679012
0
0
0
0
0
0.054545
0
0
0
0
0
0
1
0.111111
false
0
0
0.111111
0.222222
0.444444
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
4
cf657d734ed40af3f48730c8937f6435770e41ab
64
py
Python
cacreader/swig-4.0.2/Examples/test-suite/python/using2_runme.py
kyletanyag/LL-Smartcard
02abea9de5a13f8bae4d7832ab34cb7f0d9514c9
[ "BSD-3-Clause" ]
1,031
2015-01-02T14:08:47.000Z
2022-03-29T02:25:27.000Z
cacreader/swig-4.0.2/Examples/test-suite/python/using2_runme.py
kyletanyag/LL-Smartcard
02abea9de5a13f8bae4d7832ab34cb7f0d9514c9
[ "BSD-3-Clause" ]
240
2015-01-11T04:27:19.000Z
2022-03-30T00:35:57.000Z
cacreader/swig-4.0.2/Examples/test-suite/python/using2_runme.py
kyletanyag/LL-Smartcard
02abea9de5a13f8bae4d7832ab34cb7f0d9514c9
[ "BSD-3-Clause" ]
224
2015-01-05T06:13:54.000Z
2022-02-25T14:39:51.000Z
import using2 if using2.spam(37) != 37: raise RuntimeError
12.8
25
0.703125
9
64
5
0.777778
0
0
0
0
0
0
0
0
0
0
0.117647
0.203125
64
4
26
16
0.764706
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
cf8929d938da9e29878780d6f51d24953a61bd27
81
py
Python
imdb_uda/uda/apps.py
rendlny/imdb_user_data_analysis
cdf5766027fe03085d2412ebb4f61b65e458b686
[ "MIT" ]
null
null
null
imdb_uda/uda/apps.py
rendlny/imdb_user_data_analysis
cdf5766027fe03085d2412ebb4f61b65e458b686
[ "MIT" ]
null
null
null
imdb_uda/uda/apps.py
rendlny/imdb_user_data_analysis
cdf5766027fe03085d2412ebb4f61b65e458b686
[ "MIT" ]
null
null
null
from django.apps import AppConfig class UdaConfig(AppConfig): name = 'uda'
13.5
33
0.728395
10
81
5.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.185185
81
5
34
16.2
0.893939
0
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d88956923059ad999b1e7ae3e2a021b5cad9884a
675
py
Python
application/statistics/Request.py
Vahen/VahenWebsite
19a0f0f923874d66d8229e20e0df5b7916da5595
[ "MIT" ]
null
null
null
application/statistics/Request.py
Vahen/VahenWebsite
19a0f0f923874d66d8229e20e0df5b7916da5595
[ "MIT" ]
null
null
null
application/statistics/Request.py
Vahen/VahenWebsite
19a0f0f923874d66d8229e20e0df5b7916da5595
[ "MIT" ]
null
null
null
from application import db class Request(db.Model): __tablename__ = "request" index = db.Column(db.Integer, primary_key=True, autoincrement=True) response_time = db.Column(db.Float) date = db.Column(db.DateTime) method = db.Column(db.String(512)) size = db.Column(db.Integer) status_code = db.Column(db.Integer) path = db.Column(db.String(512)) user_agent = db.Column(db.String(512)) remote_address = db.Column(db.String(512)) exception = db.Column(db.String(512)) referrer = db.Column(db.String(512)) browser = db.Column(db.String(512)) platform = db.Column(db.String(512)) mimetype = db.Column(db.String(512))
32.142857
71
0.681481
98
675
4.602041
0.367347
0.248337
0.310421
0.31929
0.379157
0
0
0
0
0
0
0.048301
0.171852
675
20
72
33.75
0.758497
0
0
0
0
0
0.01037
0
0
0
0
0
0
1
0
false
0
0.058824
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
d8934ab7b952e3b900a40658a313519928da4e1e
157
py
Python
app/grandchallenge/core/exceptions.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
101
2018-04-11T14:48:04.000Z
2022-03-28T00:29:48.000Z
app/grandchallenge/core/exceptions.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
1,733
2018-03-21T11:56:16.000Z
2022-03-31T14:58:30.000Z
app/grandchallenge/core/exceptions.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
42
2018-06-08T05:49:07.000Z
2022-03-29T08:43:01.000Z
class PathResolutionException(Exception): """ Raised when a path given to a template tag contained variables that could not be resolved. """
26.166667
77
0.707006
19
157
5.842105
0.947368
0
0
0
0
0
0
0
0
0
0
0
0.229299
157
5
78
31.4
0.917355
0.573248
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
d8a8274206f08aa2c53d0e5f15fd35c3785fdf3b
215
py
Python
old_test_project/generic_m2m_autocomplete/admin.py
bburan/django-autocomplete-light
064676061b101d5d47655e8598b21cbaf7716ae8
[ "MIT" ]
1
2015-07-01T02:26:51.000Z
2015-07-01T02:26:51.000Z
old_test_project/generic_m2m_autocomplete/admin.py
bburan/django-autocomplete-light
064676061b101d5d47655e8598b21cbaf7716ae8
[ "MIT" ]
null
null
null
old_test_project/generic_m2m_autocomplete/admin.py
bburan/django-autocomplete-light
064676061b101d5d47655e8598b21cbaf7716ae8
[ "MIT" ]
null
null
null
from django.contrib import admin from models import ModelGroup from forms import ModelGroupForm class ModelGroupAdmin(admin.ModelAdmin): form = ModelGroupForm admin.site.register(ModelGroup, ModelGroupAdmin)
21.5
48
0.827907
24
215
7.416667
0.625
0
0
0
0
0
0
0
0
0
0
0
0.12093
215
9
49
23.888889
0.941799
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
d8e38c47b686e0210cb2dd2934ed651789348338
529
py
Python
core/functions.py
gibeongideon/daruwheel
e40f45390ff9e687ac8e7027359666cdfbac34a7
[ "MIT" ]
1
2021-01-09T22:40:17.000Z
2021-01-09T22:40:17.000Z
core/functions.py
gibeongideon/spinpesa
e40f45390ff9e687ac8e7027359666cdfbac34a7
[ "MIT" ]
null
null
null
core/functions.py
gibeongideon/spinpesa
e40f45390ff9e687ac8e7027359666cdfbac34a7
[ "MIT" ]
null
null
null
from .models import BetSettingVar # def set_up(): # try: # return BetSettingVar.objects.get(id =1)# Set up variables # except: # BetSettingVar.objects.update_or_create(id =1) # return BetSettingVar.objects.get(id =1) set_up,_ = BetSettingVar.objects.get_or_create(id =1) #get_or_create return a tuple/ (<BetSettingVar: BetSettingVar object (2)>, True) # set_up = {'return_val':0,'min_redeem_refer_credit':1000,'refer_per':0,'closed_at':4.7,'results_at':4.8,'wheelspin_id':1,'ksh_unit':10}
37.785714
136
0.697543
78
529
4.487179
0.525641
0.042857
0.197143
0.165714
0.211429
0.211429
0.211429
0.211429
0
0
0
0.040268
0.155009
529
13
137
40.692308
0.742729
0.784499
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
d8f84f8fe80648bae0ef143a39e8ff7942ada220
53
py
Python
event_management/events/views/__init__.py
shihanng/app-event-management
07a67d8e396a1e2e243b6b77c855904b1f97839a
[ "MIT" ]
null
null
null
event_management/events/views/__init__.py
shihanng/app-event-management
07a67d8e396a1e2e243b6b77c855904b1f97839a
[ "MIT" ]
null
null
null
event_management/events/views/__init__.py
shihanng/app-event-management
07a67d8e396a1e2e243b6b77c855904b1f97839a
[ "MIT" ]
null
null
null
# flake8: noqa: F401 from .event import EventViewSet
17.666667
31
0.773585
7
53
5.857143
1
0
0
0
0
0
0
0
0
0
0
0.088889
0.150943
53
2
32
26.5
0.822222
0.339623
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
2b0547846181aa5da41a4cded3081a642877566c
75
py
Python
bad-joke-api/constants.py
Fogapod/test
3605b63104d4b074c38b0ce8c53a765aef3ce4a5
[ "MIT" ]
null
null
null
bad-joke-api/constants.py
Fogapod/test
3605b63104d4b074c38b0ce8c53a765aef3ce4a5
[ "MIT" ]
null
null
null
bad-joke-api/constants.py
Fogapod/test
3605b63104d4b074c38b0ce8c53a765aef3ce4a5
[ "MIT" ]
null
null
null
EXIT_CODE_STOP = 1 EXIT_CODE_RESTART = 2 EXIT_CODE_RESTART_IMMEDIATELY = 3
18.75
33
0.84
13
75
4.307692
0.615385
0.428571
0.535714
0
0
0
0
0
0
0
0
0.045455
0.12
75
3
34
25
0.80303
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2b2450d5b57e25ddc87157ceede11a3934c180bc
239
py
Python
gatepass_vuln/Main_gatepass.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
gatepass_vuln/Main_gatepass.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
gatepass_vuln/Main_gatepass.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
# -*- coding: utf-8 -*- import gatepass_vuln.Gate_Pass_Management_System_login_SQL_Injection import os def exec(URL): gatepass_vuln.Gate_Pass_Management_System_login_SQL_Injection.attack(URL) if __name__ == "__main__": exec()
18.384615
77
0.774059
33
239
4.939394
0.636364
0.147239
0.196319
0.245399
0.650307
0.650307
0.650307
0.650307
0.650307
0
0
0.004785
0.125523
239
12
78
19.916667
0.77512
0.087866
0
0
0
0
0.037037
0
0
0
0
0
0
1
0.166667
false
0.333333
0.333333
0
0.5
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
1
1
0
0
0
0
4
2b253415373262aae9bf3056e21716f13fe017c6
228
py
Python
Module1/Day12/module1_day12_augAssign.py
mollysaweikis/100DaysPython
464533eb52944fff8858c2e0e0f3b25f1bff7350
[ "MIT" ]
null
null
null
Module1/Day12/module1_day12_augAssign.py
mollysaweikis/100DaysPython
464533eb52944fff8858c2e0e0f3b25f1bff7350
[ "MIT" ]
null
null
null
Module1/Day12/module1_day12_augAssign.py
mollysaweikis/100DaysPython
464533eb52944fff8858c2e0e0f3b25f1bff7350
[ "MIT" ]
null
null
null
""" Author: CaptCorpMURICA Project: 100DaysPython File: module1_day12_augAssign.py Creation Date: 6/2/2019, 8:55 AM Description: Learn about augmented assignments in python. """
25.333333
64
0.618421
24
228
5.791667
1
0
0
0
0
0
0
0
0
0
0
0.094937
0.307018
228
8
65
28.5
0.78481
0.868421
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2b28b522c1c6f7abca12ae419e6def011b32c6fe
244
py
Python
cullerton/agora/session.py
cullerton/agora
ed2513a5f0aac9f4365566098a1d8ecb74196fb6
[ "MIT" ]
null
null
null
cullerton/agora/session.py
cullerton/agora
ed2513a5f0aac9f4365566098a1d8ecb74196fb6
[ "MIT" ]
1
2019-02-16T00:40:44.000Z
2019-02-16T00:40:44.000Z
cullerton/agora/session.py
cullerton/agora
ed2513a5f0aac9f4365566098a1d8ecb74196fb6
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker engine = create_engine('sqlite:///agora.sqlite') DBSession = scoped_session(sessionmaker()) DBSession.configure(bind=engine) __all__ = ['DBSession']
27.111111
55
0.807377
28
244
6.75
0.535714
0.148148
0.26455
0
0
0
0
0
0
0
0
0
0.086066
244
8
56
30.5
0.847534
0
0
0
0
0
0.127049
0.090164
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
2b494084bbbb18b59e7e6873ec73497b0c922f43
123
py
Python
src/modeling/__init__.py
arnabbiswas1/k_tab_sept_roc_auc_binary_classification_KFold
7a5a91e52d460fd25133b76d5241462a4aedc474
[ "Apache-2.0" ]
null
null
null
src/modeling/__init__.py
arnabbiswas1/k_tab_sept_roc_auc_binary_classification_KFold
7a5a91e52d460fd25133b76d5241462a4aedc474
[ "Apache-2.0" ]
null
null
null
src/modeling/__init__.py
arnabbiswas1/k_tab_sept_roc_auc_binary_classification_KFold
7a5a91e52d460fd25133b76d5241462a4aedc474
[ "Apache-2.0" ]
null
null
null
__all__ = [] from .train_util import * __all__ += train_util.__all__ from .blending import * __all__ += blending.__all__
15.375
29
0.739837
15
123
4.6
0.4
0.202899
0
0
0
0
0
0
0
0
0
0
0.154472
123
7
30
17.571429
0.663462
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
2b5c2a25bc4417ac70b58727e85c850856aae01d
30
py
Python
python/testData/completion/dunderNext.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/completion/dunderNext.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/completion/dunderNext.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class C: def __nex<caret>
10
20
0.633333
5
30
3.4
1
0
0
0
0
0
0
0
0
0
0
0
0.266667
30
2
21
15
0.772727
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
2b5c3539d3422da931e3c3acf275a8be434f2b58
61
py
Python
backend-project/small_eod/features/__init__.py
WlodzimierzKorza/small_eod
027022bd71122a949a2787d0fb86518df80e48cd
[ "MIT" ]
64
2019-12-30T11:24:03.000Z
2021-06-24T01:04:56.000Z
backend-project/small_eod/features/__init__.py
WlodzimierzKorza/small_eod
027022bd71122a949a2787d0fb86518df80e48cd
[ "MIT" ]
465
2018-06-13T21:43:43.000Z
2022-01-04T23:33:56.000Z
backend-project/small_eod/features/__init__.py
WlodzimierzKorza/small_eod
027022bd71122a949a2787d0fb86518df80e48cd
[ "MIT" ]
72
2018-12-02T19:47:03.000Z
2022-01-04T22:54:49.000Z
default_app_config = "small_eod.features.apps.FeatureConfig"
30.5
60
0.852459
8
61
6.125
1
0
0
0
0
0
0
0
0
0
0
0
0.04918
61
1
61
61
0.844828
0
0
0
0
0
0.606557
0.606557
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
990c475f7eefd014eba7c3479133c7a56cdb22a3
439
py
Python
bluebottle/orders/migrations/0005_auto_20171003_1112.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
10
2015-05-28T18:26:40.000Z
2021-09-06T10:07:03.000Z
bluebottle/orders/migrations/0005_auto_20171003_1112.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
762
2015-01-15T10:00:59.000Z
2022-03-31T15:35:14.000Z
bluebottle/orders/migrations/0005_auto_20171003_1112.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
9
2015-02-20T13:19:30.000Z
2022-03-08T14:09:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2017-10-03 09:12 from __future__ import unicode_literals import datetime from django.db import migrations from django.utils import timezone def mark_as_failed(apps, schema_editor): pass class Migration(migrations.Migration): dependencies = [ ('orders', '0004_add_group_permissions'), ] operations = [ migrations.RunPython(mark_as_failed) ]
19.086957
49
0.70615
56
439
5.303571
0.732143
0.06734
0.080808
0
0
0
0
0
0
0
0
0.059659
0.198178
439
22
50
19.954545
0.784091
0.154897
0
0
1
0
0.086957
0.070652
0
0
0
0
0
1
0.076923
false
0.076923
0.307692
0
0.615385
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
1
0
1
0
0
4
991487cb34d1dd9baf27d34440c3a48319fc20ae
25
py
Python
Motospeed-ck62/f3.py
godrix/motospeed-ck62-fix-key
48c65a2ddd2aa7b8be04c2c5e65939b8de6ec280
[ "MIT" ]
null
null
null
Motospeed-ck62/f3.py
godrix/motospeed-ck62-fix-key
48c65a2ddd2aa7b8be04c2c5e65939b8de6ec280
[ "MIT" ]
null
null
null
Motospeed-ck62/f3.py
godrix/motospeed-ck62-fix-key
48c65a2ddd2aa7b8be04c2c5e65939b8de6ec280
[ "MIT" ]
null
null
null
keyboard.send_key("<f3>")
25
25
0.72
4
25
4.25
1
0
0
0
0
0
0
0
0
0
0
0.04
0
25
1
25
25
0.64
0
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
991e7b2b2f684039b3e4bc42006476e3c5bfef29
119
py
Python
pytest_config/management/commands/startapp.py
buzzfeed/pytest_config
86bdc1fecec46d7b944998704534c73cb16ddd43
[ "MIT" ]
4
2015-07-27T08:17:24.000Z
2016-07-24T15:44:16.000Z
pytest_config/management/commands/startapp.py
buzzfeed/pytest_config
86bdc1fecec46d7b944998704534c73cb16ddd43
[ "MIT" ]
null
null
null
pytest_config/management/commands/startapp.py
buzzfeed/pytest_config
86bdc1fecec46d7b944998704534c73cb16ddd43
[ "MIT" ]
2
2018-03-04T21:49:52.000Z
2018-05-25T20:10:25.000Z
""" Extend `django-admin startapp` to create testing structure for the new app under the global `tests` directory. """
23.8
74
0.747899
17
119
5.235294
0.941176
0
0
0
0
0
0
0
0
0
0
0
0.151261
119
4
75
29.75
0.881188
0.92437
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
992d64d4c8dc9048e36427df87e3883a368c1ae7
120
py
Python
easytracer/config_keys.py
thenetcircle/easytracer
6ab244a041e8cb81c081ee87e487350e022572be
[ "MIT" ]
null
null
null
easytracer/config_keys.py
thenetcircle/easytracer
6ab244a041e8cb81c081ee87e487350e022572be
[ "MIT" ]
null
null
null
easytracer/config_keys.py
thenetcircle/easytracer
6ab244a041e8cb81c081ee87e487350e022572be
[ "MIT" ]
null
null
null
class ConfigKeys: AGENT_SOCKET = "agent_socket" LOGGING = "logging" SAMPLER = "sampler" PARAM = "param"
20
33
0.641667
12
120
6.25
0.583333
0.293333
0
0
0
0
0
0
0
0
0
0
0.25
120
5
34
24
0.833333
0
0
0
0
0
0.258333
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
992e72f0e8ef827985639fbd4d1e75496b5182ba
79
py
Python
dnaStreaming/test/__init__.py
Second-Foundation-Partners/dj-dna-streams-python
0711df34204e4cf38e5a1407f14a54ffc99b7bd5
[ "MIT" ]
4
2017-12-12T06:57:02.000Z
2019-12-13T09:46:51.000Z
dnaStreaming/test/__init__.py
Second-Foundation-Partners/dj-dna-streams-python
0711df34204e4cf38e5a1407f14a54ffc99b7bd5
[ "MIT" ]
18
2018-04-30T16:03:27.000Z
2022-01-26T14:51:25.000Z
dnaStreaming/test/__init__.py
Second-Foundation-Partners/dj-dna-streams-python
0711df34204e4cf38e5a1407f14a54ffc99b7bd5
[ "MIT" ]
12
2018-04-24T16:13:02.000Z
2021-07-30T13:24:43.000Z
import os TEST_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__)))
19.75
67
0.759494
14
79
3.928571
0.642857
0.327273
0
0
0
0
0
0
0
0
0
0
0.075949
79
3
68
26.333333
0.753425
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
993add1f87ec60ccbe279a66f51c68b91f952ef6
48
py
Python
bert4keras/__init__.py
yiyangiliu/bert4keras
ca6c5175fe73f03c89f974ecc2766f50c228c43c
[ "Apache-2.0" ]
2
2020-11-24T02:58:24.000Z
2021-08-18T06:50:28.000Z
qa_dureader_bert4keras/bert4keras_source_code/bert4keras/__init__.py
huakeda1/Basic-algorithm-and-framework-study-for-AI
8776dc500772a6c1f28be9c4a426ed9eca2ec775
[ "MIT" ]
null
null
null
qa_dureader_bert4keras/bert4keras_source_code/bert4keras/__init__.py
huakeda1/Basic-algorithm-and-framework-study-for-AI
8776dc500772a6c1f28be9c4a426ed9eca2ec775
[ "MIT" ]
null
null
null
#! -*- coding: utf-8 -*- __version__ = '0.7.8'
12
24
0.5
7
48
2.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.102564
0.1875
48
3
25
16
0.410256
0.479167
0
0
0
0
0.208333
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
99598e8ac0f24e591352022776ada05f06698e0d
280
py
Python
will/storage/file_storage.py
Ashex/will
eb57878db8c4e13a69ea670b9fda78daeea31436
[ "MIT" ]
349
2015-01-15T05:12:02.000Z
2022-01-11T09:21:01.000Z
will/storage/file_storage.py
Ashex/will
eb57878db8c4e13a69ea670b9fda78daeea31436
[ "MIT" ]
350
2015-01-02T16:33:14.000Z
2022-02-06T17:34:34.000Z
will/storage/file_storage.py
chillipeper/will
4bd9a3f5cc4e2ea822cbf4f7a6f04996b3f20449
[ "MIT" ]
184
2015-01-08T13:20:50.000Z
2021-12-31T05:57:21.000Z
from will.utils import warn from will.backends.storage.file_backend import FileStorage warn( """Deprecation - will.storage.file_storage has been moved to will.backends.storage.file_backend, and will be removed in version 2.2. Please update your paths accordingly!""" )
35
100
0.775
41
280
5.219512
0.634146
0.154206
0.17757
0.214953
0.280374
0
0
0
0
0
0
0.008368
0.146429
280
7
101
40
0.887029
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
1
0
1
0
0
0
0
4
9986eb14215a9bdb6d7daf7a6f043ab349df8837
114
py
Python
datatypes/first-letter.py
gabrielcostasilva/python-basic-examples
d9c20887b94b823fc59bc82f250d39d76b918ad8
[ "MIT" ]
null
null
null
datatypes/first-letter.py
gabrielcostasilva/python-basic-examples
d9c20887b94b823fc59bc82f250d39d76b918ad8
[ "MIT" ]
null
null
null
datatypes/first-letter.py
gabrielcostasilva/python-basic-examples
d9c20887b94b823fc59bc82f250d39d76b918ad8
[ "MIT" ]
null
null
null
yourName = input("Enter your name: ").strip() print("Your name starts with the letter \'{}\'".format(yourName[0]))
57
68
0.684211
16
114
4.875
0.8125
0.205128
0
0
0
0
0
0
0
0
0
0.009804
0.105263
114
2
68
57
0.754902
0
0
0
0
0
0.486957
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
9996dfe5dcd8770ff0328fd7b1101c776143c4a3
73
py
Python
src/connecticity/parcellation/atlases/__init__.py
ZviBaratz/brain_parts
bbf55d8337472e47c1bd70097bbf8e54ea021897
[ "MIT" ]
null
null
null
src/connecticity/parcellation/atlases/__init__.py
ZviBaratz/brain_parts
bbf55d8337472e47c1bd70097bbf8e54ea021897
[ "MIT" ]
null
null
null
src/connecticity/parcellation/atlases/__init__.py
ZviBaratz/brain_parts
bbf55d8337472e47c1bd70097bbf8e54ea021897
[ "MIT" ]
null
null
null
from connecticity.parcellation.atlases.atlases import PARCELLATION_FILES
36.5
72
0.90411
8
73
8.125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.054795
73
1
73
73
0.942029
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
51027a6e5f026625029b35ec68bad55316b5b0ae
271
py
Python
src/herbpy/action/__init__.py
personalrobotics/herbpy
ab48e9190b061759b31bc9c879a7f96a51d975f5
[ "BSD-3-Clause" ]
4
2017-03-04T06:18:21.000Z
2019-01-04T08:03:41.000Z
src/herbpy/action/__init__.py
personalrobotics/herbpy
ab48e9190b061759b31bc9c879a7f96a51d975f5
[ "BSD-3-Clause" ]
87
2015-01-30T03:50:35.000Z
2017-02-20T18:55:42.000Z
src/herbpy/action/__init__.py
personalrobotics/herbpy
ab48e9190b061759b31bc9c879a7f96a51d975f5
[ "BSD-3-Clause" ]
10
2015-07-29T13:13:05.000Z
2019-02-13T22:11:24.000Z
from grasping import PushGrasp, Grasp from rogue import PointAt, PresentAt, SweepAt, Point, Present, Sweep, Exhibit, NodYes, NodNo, HaltHand, MiddleFinger, Wave, GetPointFrom from blocks import GrabBlock from pouring import MoveCupAndPour from stacking import StackCups
38.714286
136
0.826568
33
271
6.787879
0.757576
0
0
0
0
0
0
0
0
0
0
0
0.125461
271
6
137
45.166667
0.945148
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5129f2e51755c06cd87b58a9031ec8f77fa9afcd
98
py
Python
Chatbot_Rest/apps.py
guci314/Chatbot_CN
02044eed4a141aa8c61d6064c166f95dbdae894c
[ "Apache-2.0" ]
8
2019-08-12T12:38:35.000Z
2022-02-21T03:25:04.000Z
Chatbot_Rest/apps.py
JianboTang/Chatbot_CN
a0f7194252a189f8bc2b62fd16eb2abe432c0bf9
[ "Apache-2.0" ]
null
null
null
Chatbot_Rest/apps.py
JianboTang/Chatbot_CN
a0f7194252a189f8bc2b62fd16eb2abe432c0bf9
[ "Apache-2.0" ]
5
2020-01-08T15:30:38.000Z
2022-02-15T02:39:46.000Z
from django.apps import AppConfig class ChatbotRestConfig(AppConfig): name = 'Chatbot_Rest'
16.333333
35
0.77551
11
98
6.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.153061
98
5
36
19.6
0.903614
0
0
0
0
0
0.122449
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
5135ad57dd18de830a9a2b98673885275e821709
195
py
Python
src/server/endpoints/covidcast_utils/__init__.py
krivard/delphi-epidata
8ccb965fecee9ecfae9e465b7dc6f3ec53534fde
[ "MIT" ]
null
null
null
src/server/endpoints/covidcast_utils/__init__.py
krivard/delphi-epidata
8ccb965fecee9ecfae9e465b7dc6f3ec53534fde
[ "MIT" ]
1
2020-07-14T15:35:15.000Z
2020-07-16T17:56:30.000Z
src/server/endpoints/covidcast_utils/__init__.py
krivard/delphi-epidata
8ccb965fecee9ecfae9e465b7dc6f3ec53534fde
[ "MIT" ]
4
2020-09-17T13:47:02.000Z
2020-10-27T19:40:11.000Z
from .trend import compute_trend, compute_trend_value from .dates import shift_time_value, date_to_time_value, time_value_to_iso, time_value_to_date from .correlation import compute_correlations
48.75
94
0.882051
31
195
5.064516
0.419355
0.229299
0.140127
0
0
0
0
0
0
0
0
0
0.082051
195
3
95
65
0.877095
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
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
1
0
1
0
0
0
0
4
5135d6a8efabcec79bf2218fc9f191bb5efe35eb
185
py
Python
filemanager/models.py
glomium/cmstemplate
6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c
[ "BSD-3-Clause" ]
null
null
null
filemanager/models.py
glomium/cmstemplate
6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c
[ "BSD-3-Clause" ]
null
null
null
filemanager/models.py
glomium/cmstemplate
6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # ex:set fileencoding=utf-8: from __future__ import unicode_literals from django.db import models # Only needed for permissions class File(models.Model): pass
15.416667
39
0.762162
27
185
5.037037
0.888889
0
0
0
0
0
0
0
0
0
0
0.006369
0.151351
185
11
40
16.818182
0.859873
0.383784
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
4
515bb63426a42cdd18f1e05901966b5682b1df38
32
py
Python
example/takeaway/__init__.py
Hedde/django-networth
496311e31f3b49202bda9c0b2997ee4508cc9477
[ "MIT" ]
null
null
null
example/takeaway/__init__.py
Hedde/django-networth
496311e31f3b49202bda9c0b2997ee4508cc9477
[ "MIT" ]
3
2020-02-12T00:02:35.000Z
2021-06-10T19:38:41.000Z
example/takeaway/__init__.py
Hedde/django-networth
496311e31f3b49202bda9c0b2997ee4508cc9477
[ "MIT" ]
null
null
null
__author__ = 'heddevanderheide'
16
31
0.8125
2
32
11
1
0
0
0
0
0
0
0
0
0
0
0
0.09375
32
1
32
32
0.758621
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5a977194789cf9c53c4999bc3441adca7ed03b7f
149
py
Python
notifier/modules/product_status.py
cboiangiu/product-in-stock-notifier
b1f6adb9420dc1abeaf2796a14d81d5f371b3368
[ "MIT" ]
null
null
null
notifier/modules/product_status.py
cboiangiu/product-in-stock-notifier
b1f6adb9420dc1abeaf2796a14d81d5f371b3368
[ "MIT" ]
null
null
null
notifier/modules/product_status.py
cboiangiu/product-in-stock-notifier
b1f6adb9420dc1abeaf2796a14d81d5f371b3368
[ "MIT" ]
null
null
null
from enum import Enum class Status(Enum): NOTIFY_STOCK = 1 NOTHING = 2 FAIL = 3 PAGE_CHANGED_SHOULD_NOTIFY = 4 PAGE_CHANGED = 5
16.555556
34
0.66443
22
149
4.272727
0.772727
0.234043
0
0
0
0
0
0
0
0
0
0.046729
0.281879
149
8
35
18.625
0.831776
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
5ae19c46718c1eb5efbe0c1dadeb97f6cee8e81d
361
py
Python
authentication/models.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
authentication/models.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
authentication/models.py
Divyanshukalola/Alchemeo
fd32b47450eb2fea9f1bdf4a2f253e5655aca1d4
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ Copyright (c) 2019 - present AppSeed.us """ from django.db import models from django.contrib.auth.models import User # Create your models here. # class Product(models.Model): # name = models.CharField(max_length=30) # price = models.CharField(max_length=30) # user = models.ForeignKey(User, on_delete=models.CASCADE)
25.785714
62
0.706371
49
361
5.142857
0.673469
0.079365
0.142857
0.190476
0.206349
0
0
0
0
0
0
0.029508
0.155125
361
14
62
25.785714
0.796721
0.736842
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5ae3ac4d2c5e69c3b65b504cf78783167da3a529
2,050
py
Python
Transferring_Files.py
daataniguchi/Python_practice
48caea14de012b9ea165738b0dffbd6ab7736947
[ "MIT" ]
1
2020-03-04T22:33:48.000Z
2020-03-04T22:33:48.000Z
Transferring_Files.py
daataniguchi/Python_practice
48caea14de012b9ea165738b0dffbd6ab7736947
[ "MIT" ]
null
null
null
Transferring_Files.py
daataniguchi/Python_practice
48caea14de012b9ea165738b0dffbd6ab7736947
[ "MIT" ]
1
2020-03-04T22:28:32.000Z
2020-03-04T22:28:32.000Z
import os import shutil path_1 = '/Users/yulismamartinez/Desktop/Python_practice/Master_images_guest_1_computer/Ciliate_guest1/' path_2 = '/Users/yulismamartinez/Desktop/Python_practice/Master_images_guest_3_computer/Ciliate_guest3/' path_3 = '/Users/yulismamartinez/Desktop/Python_practice/Master_images_guest_1_computer/Lingulodinium_polyedra_guest1/' path_4 = '/Users/yulismamartinez/Desktop/Python_practice/Master_images_guest_3_computer/Lingulodinium_polyedra_guest3/' path_5 = '/Users/yulismamartinez/Desktop/Python_practice/Master_images_guest_1_computer/Other_guest1/' path_6 = '/Users/yulismamartinez/Desktop/Python_practice/Master_images_guest_3_computer/Other_guest3/' path_7 = '/Users/yulismamartinez/Desktop/Python_practice/Master_images_guest_1_computer/Questionable_guest1/' path_8 = '/Users/yulismamartinez/Desktop/Python_practice/Master_images_guest_3_computer/Questionable_guest3/' path_9 = '/Users/yulismamartinez/Desktop/Python_practice/Final_Images/Ciliate/'#moving Ciliate images here path_10 = '/Users/yulismamartinez/Desktop/Python_practice/Final_Images/Lingulodinium_polyedra/' path_11 = '/Users/yulismamartinez/Desktop/Python_practice/Final_Images/Other/' path_12 = '/Users/yulismamartinez/Desktop/Python_practice/Final_Images/Questionable/' source1 = path_1 source2 = path_2 destination = path_9 a = os.listdir(source1) #adjust the "path_1/2" to the paths you want to use b = os.listdir(source2) if a == b: print("folders contain the same images") elif a != b: print("folders do not contain the same images") dif_files_path1 = [x for x in a if x not in b] #this will only look at the images that are in A but not in B for i in dif_files_path1: shutil.move (source1+i, destination+i) dif_files_path2 = [x for x in b if x not in a] #this will only look at the images that are in B but not in A for i in dif_files_path2: shutil.move (source2+i, destination+i) same_files = [x for x in a if x in b] for i in same_files: shutil.move (source1+i, destination+i)
48.809524
119
0.793171
314
2,050
4.907643
0.232484
0.155743
0.210253
0.256976
0.608696
0.582738
0.543803
0.394549
0.394549
0.394549
0
0.025996
0.118049
2,050
42
120
48.809524
0.826327
0.09561
0
0.0625
0
0
0.615676
0.578378
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.0625
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
850e9dfe8f1582e802726b59e33dc5fbf9668620
87
py
Python
lab1.py
upendar245/python
ed4d5488b44d385f2d0f75e8558a5b7fc4563d38
[ "Apache-2.0" ]
null
null
null
lab1.py
upendar245/python
ed4d5488b44d385f2d0f75e8558a5b7fc4563d38
[ "Apache-2.0" ]
null
null
null
lab1.py
upendar245/python
ed4d5488b44d385f2d0f75e8558a5b7fc4563d38
[ "Apache-2.0" ]
null
null
null
#!/python3/bin/python3 5 x = 5 print("intial value of x \a") print(x) x=x + 1 print(x)
10.875
29
0.632184
19
87
2.894737
0.526316
0.218182
0
0
0
0
0
0
0
0
0
0.069444
0.172414
87
7
30
12.428571
0.694444
0.241379
0
0.333333
0
0
0.307692
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
851cf8d415abe91a7444bac8f000c8adce2cc5aa
2,942
py
Python
vulture_whitelist.py
nycz/libsyntyche
2baee4addafe92489838e25232538270136629a4
[ "MIT" ]
null
null
null
vulture_whitelist.py
nycz/libsyntyche
2baee4addafe92489838e25232538270136629a4
[ "MIT" ]
8
2015-08-15T21:12:46.000Z
2016-05-25T19:57:30.000Z
vulture_whitelist.py
nycz/libsyntyche
2baee4addafe92489838e25232538270136629a4
[ "MIT" ]
null
null
null
RootWindow # unused class (libsyntyche/app.py:11) StackedRootWindow # unused class (libsyntyche/app.py:22) _.stack # unused attribute (libsyntyche/app.py:27) run_app # unused function (libsyntyche/app.py:38) _.eventFilter # unused method (libsyntyche/app.py:47) obj # unused variable (libsyntyche/app.py:47) autocomplete_file_path # unused function (libsyntyche/cli.py:417) _.as_bool # unused method (libsyntyche/settings.py:24) _.as_int # unused method (libsyntyche/settings.py:33) _.as_qcolor # unused method (libsyntyche/settings.py:36) _.as_qkey_sequence # unused method (libsyntyche/settings.py:39) _.as_path # unused method (libsyntyche/settings.py:42) _.optionxform # unused attribute (libsyntyche/settings.py:76) _.config_dir # unused property (libsyntyche/settings.py:116) QtOption # unused class (libsyntyche/settings.py:161) QtSubOptionList # unused class (libsyntyche/settings.py:184) QtSectionDictOption # unused class (libsyntyche/settings.py:209) QtSubSectionOption # unused class (libsyntyche/settings.py:234) eventFilter # unused function (libsyntyche/terminal.py:126) obj # unused variable (libsyntyche/terminal.py:126) _.exec_command # unused method (libsyntyche/terminal.py:165) MessageTray # unused class (libsyntyche/terminal.py:208) _.add_message # unused method (libsyntyche/terminal.py:217) Searcher # unused class (libsyntyche/texteditor.py:89) _.search_or_replace # unused method (libsyntyche/texteditor.py:98) kill_theming # unused function (libsyntyche/widgets.py:8) make_hotkey # unused function (libsyntyche/widgets.py:13) slot # unused variable (libsyntyche/widgets.py:30) _.disconnect # unused method (libsyntyche/widgets.py:32) slot # unused variable (libsyntyche/widgets.py:32) arg_type # unused variable (libsyntyche/widgets.py:36) slot # unused variable (libsyntyche/widgets.py:40) _.disconnect # unused method (libsyntyche/widgets.py:42) slot # unused variable (libsyntyche/widgets.py:42) arg1_type # unused variable (libsyntyche/widgets.py:46) arg2_type # unused variable (libsyntyche/widgets.py:46) arg1 # unused variable (libsyntyche/widgets.py:48) arg2 # unused variable (libsyntyche/widgets.py:48) slot # unused variable (libsyntyche/widgets.py:50) _.disconnect # unused method (libsyntyche/widgets.py:52) slot # unused variable (libsyntyche/widgets.py:52) arg1_type # unused variable (libsyntyche/widgets.py:56) arg2_type # unused variable (libsyntyche/widgets.py:56) arg3_type # unused variable (libsyntyche/widgets.py:57) arg1 # unused variable (libsyntyche/widgets.py:59) arg2 # unused variable (libsyntyche/widgets.py:59) arg3 # unused variable (libsyntyche/widgets.py:59) slot # unused variable (libsyntyche/widgets.py:61) _.disconnect # unused method (libsyntyche/widgets.py:63) slot # unused variable (libsyntyche/widgets.py:63) mk_signal2 # unused function (libsyntyche/widgets.py:74) Label # unused function (libsyntyche/widgets.py:136)
55.509434
67
0.782461
387
2,942
5.847545
0.255814
0.214759
0.238621
0.26867
0.649138
0.40654
0.077773
0
0
0
0
0.047909
0.10605
2,942
52
68
56.576923
0.812548
0.762746
0
0.423077
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
0
0
4
851dd3d0f43818b585f6d4caef415d0d70eba870
95
py
Python
sap/rest/__init__.py
jakub-vaclavik-sap/sapcli
a0f40c3b2363bba0d34f705d92dd420d9adf3987
[ "Apache-2.0" ]
42
2019-01-16T13:16:09.000Z
2022-03-23T20:13:00.000Z
sap/rest/__init__.py
jakub-vaclavik-sap/sapcli
a0f40c3b2363bba0d34f705d92dd420d9adf3987
[ "Apache-2.0" ]
59
2019-02-23T07:16:56.000Z
2022-02-28T09:34:47.000Z
sap/rest/__init__.py
jakub-vaclavik-sap/sapcli
a0f40c3b2363bba0d34f705d92dd420d9adf3987
[ "Apache-2.0" ]
22
2019-03-12T08:15:44.000Z
2022-01-10T03:56:47.000Z
"""HTTP/REST wrappers and helpers""" from sap.rest.connection import Connection # noqa: F401
23.75
56
0.747368
13
95
5.461538
0.846154
0
0
0
0
0
0
0
0
0
0
0.036585
0.136842
95
3
57
31.666667
0.829268
0.442105
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
518062b98e5e6024507e35496f9d556822ea5763
48
py
Python
apps/auth/__init__.py
ycheng-aa/qr_server
50871dafa9b5d296a53c906e13ce93de6d783e54
[ "MIT" ]
null
null
null
apps/auth/__init__.py
ycheng-aa/qr_server
50871dafa9b5d296a53c906e13ce93de6d783e54
[ "MIT" ]
null
null
null
apps/auth/__init__.py
ycheng-aa/qr_server
50871dafa9b5d296a53c906e13ce93de6d783e54
[ "MIT" ]
null
null
null
default_app_config = 'apps.auth.apps.AuthConfig'
48
48
0.833333
7
48
5.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.041667
48
1
48
48
0.826087
0
0
0
0
0
0.510204
0.510204
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5189cad594d17dc7049ab4d1e0f4e0a1a26f519c
131
py
Python
src/phd_qmclib/qmc_base/jastrow/__init__.py
oarodriguez/PhD-QMCLib
c3d0197a92f5c6954839f7e2689b725f72448988
[ "BSD-3-Clause" ]
null
null
null
src/phd_qmclib/qmc_base/jastrow/__init__.py
oarodriguez/PhD-QMCLib
c3d0197a92f5c6954839f7e2689b725f72448988
[ "BSD-3-Clause" ]
null
null
null
src/phd_qmclib/qmc_base/jastrow/__init__.py
oarodriguez/PhD-QMCLib
c3d0197a92f5c6954839f7e2689b725f72448988
[ "BSD-3-Clause" ]
null
null
null
""" phd_qmclib.qmc_base.jastrow ~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ # from . import dmc, vmc, vmc_ndf # from .model import *
11.909091
31
0.480916
14
131
4.285714
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.198473
131
10
32
13.1
0.571429
0.419847
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
51c74d3ff17594d19799e9a5f6f33f7b41c73e39
53
py
Python
app/db/__init__.py
somespecialone/clever-inspect
8735e0b445c8e7e9b83c627d4a5fbed1428c1891
[ "MIT" ]
1
2022-03-12T05:44:12.000Z
2022-03-12T05:44:12.000Z
app/db/__init__.py
somespecialone/clever-inspect
8735e0b445c8e7e9b83c627d4a5fbed1428c1891
[ "MIT" ]
null
null
null
app/db/__init__.py
somespecialone/clever-inspect
8735e0b445c8e7e9b83c627d4a5fbed1428c1891
[ "MIT" ]
null
null
null
from .db import * from ._typings import AsyncSession
17.666667
34
0.792453
7
53
5.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.150943
53
2
35
26.5
0.911111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
51d85c81a1ffbed18ec66200ede00083ec2dc078
40
py
Python
handlers/users/__init__.py
AmaRocket/TMDBMovieBotTelegram
07d248da0ee5c20e788612814f964917748474ba
[ "MIT" ]
null
null
null
handlers/users/__init__.py
AmaRocket/TMDBMovieBotTelegram
07d248da0ee5c20e788612814f964917748474ba
[ "MIT" ]
null
null
null
handlers/users/__init__.py
AmaRocket/TMDBMovieBotTelegram
07d248da0ee5c20e788612814f964917748474ba
[ "MIT" ]
null
null
null
from .menu import dp __all__ = ['dp']
8
20
0.625
6
40
3.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.225
40
4
21
10
0.677419
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
51da9324e2f673fe9e39fb960af1e9ba7a93e8fe
107
py
Python
appengine_config.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
appengine_config.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
appengine_config.py
fumen/gae-fumen
cb73c92336ec20e4c5caf5276e51c9618e5a107d
[ "BSD-3-Clause" ]
null
null
null
from google.appengine.ext import vendor # Used to update , override default python pkgs vendor.add('lib')
21.4
47
0.775701
16
107
5.1875
0.9375
0
0
0
0
0
0
0
0
0
0
0
0.140187
107
5
48
21.4
0.902174
0.420561
0
0
0
0
0.04918
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
51e5fa8cca712f6b2d84e88b743bc8a56cc4e8cf
290
py
Python
gpioone/__init__.py
grant-olson/pi-sandbox
3187e5d1c74c6da2923e1e235cb6f6866a7f7ab7
[ "BSD-3-Clause" ]
1
2021-08-07T20:15:56.000Z
2021-08-07T20:15:56.000Z
gpioone/__init__.py
grant-olson/pi-sandbox
3187e5d1c74c6da2923e1e235cb6f6866a7f7ab7
[ "BSD-3-Clause" ]
4
2019-07-12T02:01:10.000Z
2019-08-12T02:01:42.000Z
gpioone/__init__.py
grant-olson/pi-sandbox
3187e5d1c74c6da2923e1e235cb6f6866a7f7ab7
[ "BSD-3-Clause" ]
null
null
null
from .shift_register import * from .rgb_led import * from .lcd_display import * from .example_help import * from .adc import * from .adc_devices import * from .steppers import * from .dc_motor import * from .i2c import * from .pca9685 import * from .ssd1306 import * from .pcd8544 import *
22.307692
29
0.751724
42
290
5.047619
0.452381
0.518868
0.122642
0
0
0
0
0
0
0
0
0.053719
0.165517
290
12
30
24.166667
0.822314
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
cf9136443e01c61321fa2de4fd79b5c11503fa33
92
py
Python
WebMirror/management/rss_parser_funcs/feed_parse_extractCaelumLexCom.py
fake-name/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
193
2016-08-02T22:04:35.000Z
2022-03-09T20:45:41.000Z
WebMirror/management/rss_parser_funcs/feed_parse_extractCaelumLexCom.py
fake-name/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
533
2016-08-23T20:48:23.000Z
2022-03-28T15:55:13.000Z
WebMirror/management/rss_parser_funcs/feed_parse_extractCaelumLexCom.py
rrosajp/ReadableWebProxy
ed5c7abe38706acc2684a1e6cd80242a03c5f010
[ "BSD-3-Clause" ]
19
2015-08-13T18:01:08.000Z
2021-07-12T17:13:09.000Z
def extractCaelumLexCom(item): ''' Parser for 'caelum-lex.com' ''' # Wat return False
11.5
30
0.663043
11
92
5.545455
1
0
0
0
0
0
0
0
0
0
0
0
0.184783
92
8
31
11.5
0.813333
0.347826
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
cfb27b0e4fb3e261c80fadeb5dc3a3222317d3c5
148
py
Python
api/src/services/gene_service.py
alliance-genome/agr_archive_initial_prototype
8559303de20e55886cc5bc7c2153f9357fc0ca2f
[ "MIT" ]
9
2016-10-03T16:10:39.000Z
2016-10-10T16:22:52.000Z
api/src/services/gene_service.py
alliance-genome/agr
8559303de20e55886cc5bc7c2153f9357fc0ca2f
[ "MIT" ]
168
2017-02-06T17:07:20.000Z
2017-08-23T21:23:55.000Z
api/src/services/gene_service.py
alliance-genome/agr_prototype
8559303de20e55886cc5bc7c2153f9357fc0ca2f
[ "MIT" ]
12
2016-10-04T22:01:48.000Z
2017-02-01T21:17:33.000Z
from base_service import BaseService from dao import GeneDAO class GeneService(BaseService): def __init__(self): self.dao = GeneDAO()
18.5
36
0.736486
18
148
5.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.195946
148
7
37
21.142857
0.87395
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
cfbdbd652fd6f5743f4298a420a11adbcbe94270
248
py
Python
weather/serializer.py
CodeEnvironment/django-rest-framework-deploy-heroku
c6ffb20961c193b0f4dc1289de904b5d6750f335
[ "MIT" ]
3
2021-04-05T14:02:44.000Z
2022-01-25T07:50:20.000Z
weather/serializer.py
CodeEnvironment/django-rest-framework-deploy-aws
d9cf1d016e22b9b5697c769bd094776d25a3f90b
[ "MIT" ]
null
null
null
weather/serializer.py
CodeEnvironment/django-rest-framework-deploy-aws
d9cf1d016e22b9b5697c769bd094776d25a3f90b
[ "MIT" ]
1
2022-01-23T15:09:59.000Z
2022-01-23T15:09:59.000Z
from rest_framework import serializers from .models import Forecast class ForecastSerializer(serializers.ModelSerializer): class Meta: model = Forecast fields = ["id", "timestamp", "temperatuer", "description","city"]
24.8
73
0.697581
23
248
7.478261
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.205645
248
9
74
27.555556
0.873096
0
0
0
0
0
0.149194
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
cfcac0470edf756d715da3c09099bbcd94f26fdd
171
py
Python
server/__init__.py
keinYe/pycrawler-web
8c7231fdfa38f812bd8f163b1df3f37fdcf12cd7
[ "BSD-3-Clause" ]
9
2020-05-14T11:44:59.000Z
2021-07-27T04:18:02.000Z
server/__init__.py
keinYe/pycrawler-web
8c7231fdfa38f812bd8f163b1df3f37fdcf12cd7
[ "BSD-3-Clause" ]
null
null
null
server/__init__.py
keinYe/pycrawler-web
8c7231fdfa38f812bd8f163b1df3f37fdcf12cd7
[ "BSD-3-Clause" ]
null
null
null
# -*- coding:utf-8 -*- __version__ = '0.0.1' import logging from server.app import create_app from server.api.v01 import user #noqa logger = logging.getLogger(__name__)
19
37
0.736842
26
171
4.5
0.730769
0.17094
0
0
0
0
0
0
0
0
0
0.040541
0.134503
171
8
38
21.375
0.75
0.140351
0
0
0
0
0.034722
0
0
0
0
0
0
1
0
false
0
0.6
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
1
0
1
0
0
4
cfd7b9ae9312424ff6185aca106243477d78cb52
259
py
Python
service-1/application/models.py
WaledSalem/kick-off
a34473ecfb484d6d199edf354058c93ed2bceb0e
[ "MIT" ]
null
null
null
service-1/application/models.py
WaledSalem/kick-off
a34473ecfb484d6d199edf354058c93ed2bceb0e
[ "MIT" ]
null
null
null
service-1/application/models.py
WaledSalem/kick-off
a34473ecfb484d6d199edf354058c93ed2bceb0e
[ "MIT" ]
null
null
null
from application import db class Chances(db.Model): id = db.Column(db.Integer, primary_key=True) shot = db.Column(db.String(20), nullable=False) dive = db.Column(db.String(20), nullable=False) chance = db.Column(db.String(20), nullable=False)
37
53
0.706564
40
259
4.55
0.5
0.175824
0.21978
0.263736
0.510989
0.510989
0.510989
0
0
0
0
0.027149
0.146718
259
7
53
37
0.79638
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
cfda48b324426c340ab511781f35c0fb78741334
62
py
Python
tests/__init__.py
andr3w321/finvizlite
c3fc5de86656a72f3b149e5331922aa2b8d0c5a0
[ "MIT" ]
6
2020-10-20T15:10:03.000Z
2021-04-26T05:56:50.000Z
tests/__init__.py
andr3w321/finvizlite
c3fc5de86656a72f3b149e5331922aa2b8d0c5a0
[ "MIT" ]
null
null
null
tests/__init__.py
andr3w321/finvizlite
c3fc5de86656a72f3b149e5331922aa2b8d0c5a0
[ "MIT" ]
1
2020-10-19T14:46:16.000Z
2020-10-19T14:46:16.000Z
# need empty __init__.py for pytest imports to work correctly
31
61
0.806452
10
62
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.16129
62
1
62
62
0.884615
0.951613
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
3201850ef2d2b7123c666a58c868fd0e72ba4026
65
py
Python
test_file_2.py
locspoc/python-test-driven-development
adbd460b963d622695ec840250a8d22572e2c200
[ "MIT" ]
null
null
null
test_file_2.py
locspoc/python-test-driven-development
adbd460b963d622695ec840250a8d22572e2c200
[ "MIT" ]
null
null
null
test_file_2.py
locspoc/python-test-driven-development
adbd460b963d622695ec840250a8d22572e2c200
[ "MIT" ]
null
null
null
import pytest def test2(): print("\nTest2!") assert True
13
21
0.630769
8
65
5.125
1
0
0
0
0
0
0
0
0
0
0
0.04
0.230769
65
5
22
13
0.78
0
0
0
0
0
0.121212
0
0
0
0
0
0.25
1
0.25
true
0
0.25
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
5c4ea096f7717ec20949ef08fb85abb96836f8e0
1,095
py
Python
setup.py
aubreystarktoller/django-babik-shadow-accounts
c321534a3673bf6c3bdd0092d6ef15d5e88ed6f6
[ "BSD-3-Clause" ]
null
null
null
setup.py
aubreystarktoller/django-babik-shadow-accounts
c321534a3673bf6c3bdd0092d6ef15d5e88ed6f6
[ "BSD-3-Clause" ]
null
null
null
setup.py
aubreystarktoller/django-babik-shadow-accounts
c321534a3673bf6c3bdd0092d6ef15d5e88ed6f6
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup setup( name='django-babik-shadow-accounts', version='0.1.0', description='"Shadow accounts" for Django', author='Aubrey Stark-Toller', author_email='aubrey@deepearth.uk', license='BSD', include_package_data=True, classifiers=[ 'Development Status :: 3 - Alpha', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: CPython', ], keywords='project django', packages=['babik_shadow_accounts'], install_requires = ['django>=1.8,<1.10'], tests_require = ['pytest', 'pytest-django', 'pytest-cov',], setup_requires = ['pytest-runner'] )
35.322581
70
0.610046
112
1,095
5.892857
0.526786
0.230303
0.30303
0.19697
0.081818
0
0
0
0
0
0
0.02503
0.23379
1,095
30
71
36.5
0.761621
0
0
0
0
0
0.574429
0.044749
0
0
0
0
0
1
0
true
0
0.034483
0
0.034483
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
1
0
0
0
0
0
0
4
5c69f7a09249f93cf05b2f8de56b3e817362f583
647
py
Python
master_disease_list.py
kdsimmons/CharityChooser
f49c2f572f960183c187fb43f58d6b5182b343e5
[ "Apache-2.0" ]
null
null
null
master_disease_list.py
kdsimmons/CharityChooser
f49c2f572f960183c187fb43f58d6b5182b343e5
[ "Apache-2.0" ]
1
2015-12-09T18:31:52.000Z
2015-12-09T18:31:52.000Z
master_disease_list.py
kdsimmons/CharityChooser
f49c2f572f960183c187fb43f58d6b5182b343e5
[ "Apache-2.0" ]
null
null
null
def return_diseases(): """Simply returns all diseases in the current database.""" return ['alzheimer\'s disease', 'aids', 'als', 'autism', 'asthma', 'blindness', 'breast cancer', 'colon cancer', 'cerebral palsy', 'colorectal cancer', 'cystic fibrosis', 'crohn\'s disease', 'diabetes', 'dyslexia', 'deafness', 'depression', 'glaucoma', 'hemophilia', 'huntington\'s disease', 'leukemia', 'lung cancer', 'multiple sclerosis', 'muscular dystrophy', 'parkinson\'s disease', 'prostate cancer', 'cancer', 'tumor', 'melanoma', 'lymphoma', 'fibromyalgia', 'colitis', 'lupus', 'pancreatic cancer', 'ovarian cancer', 'mesothelioma', 'schizophrenia']
161.75
560
0.695518
67
647
6.701493
0.776119
0.071269
0
0
0
0
0
0
0
0
0
0
0.108192
647
3
561
215.666667
0.778163
0.080371
0
0
0
0
0.415959
0
0
0
0
0
0
1
0.5
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
5cac21820685219e828137648fc6a9c19bbd89aa
191
gyp
Python
binding.gyp
JSneak/UIC-Pathfinder
68d492ec7bef87a604027f1497534333fa68421b
[ "MIT" ]
null
null
null
binding.gyp
JSneak/UIC-Pathfinder
68d492ec7bef87a604027f1497534333fa68421b
[ "MIT" ]
null
null
null
binding.gyp
JSneak/UIC-Pathfinder
68d492ec7bef87a604027f1497534333fa68421b
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "my_addon", "sources": ["my_addon.cc"], "include_dirs" : [ "<!(node -e \"require('nan')\")" ] } ] }
21.222222
65
0.366492
15
191
4.4
0.866667
0.212121
0
0
0
0
0
0
0
0
0
0
0.403141
191
9
66
21.222222
0.578947
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
4
5cb11d96bd3dc8b88b3dd766ef021cc3d24a863b
26
py
Python
s2py3/lib/python3.6/site-packages/grpc/_grpcio_metadata.py
starcraft2-ai/python-env
4504696381b8721b9e9914f8ba8d17241348ecf8
[ "MIT" ]
null
null
null
s2py3/lib/python3.6/site-packages/grpc/_grpcio_metadata.py
starcraft2-ai/python-env
4504696381b8721b9e9914f8ba8d17241348ecf8
[ "MIT" ]
7
2020-03-24T15:50:06.000Z
2021-06-08T19:57:39.000Z
s2py3/lib/python3.6/site-packages/grpc/_grpcio_metadata.py
starcraft2-ai/python-env
4504696381b8721b9e9914f8ba8d17241348ecf8
[ "MIT" ]
null
null
null
__version__ = """1.10.1"""
26
26
0.576923
4
26
2.75
0.75
0
0
0
0
0
0
0
0
0
0
0.166667
0.076923
26
1
26
26
0.291667
0
0
0
0
0
0.222222
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5cca72c1a486970b0fa324e9baa11f7f6b96c6e3
146
py
Python
tests/test_app/forms.py
sq9mev/djangocms-text-ckeditor
2664a5cb25c390b4f3a1ece70ae55e243472dc4f
[ "BSD-3-Clause" ]
89
2015-01-01T18:25:48.000Z
2020-07-09T01:50:14.000Z
tests/test_app/forms.py
sq9mev/djangocms-text-ckeditor
2664a5cb25c390b4f3a1ece70ae55e243472dc4f
[ "BSD-3-Clause" ]
361
2015-01-01T11:21:32.000Z
2020-09-15T07:36:55.000Z
tests/test_app/forms.py
sq9mev/djangocms-text-ckeditor
2664a5cb25c390b4f3a1ece70ae55e243472dc4f
[ "BSD-3-Clause" ]
106
2015-01-26T17:19:07.000Z
2020-08-03T10:59:36.000Z
from django import forms from djangocms_text_ckeditor.fields import HTMLFormField class SimpleTextForm(forms.Form): text = HTMLFormField()
18.25
56
0.808219
17
146
6.823529
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.136986
146
7
57
20.857143
0.920635
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
7a3ae04109e1a0b4aff8d7a29f65a187b246c77f
37
py
Python
URI/numeros_pares.py
LuccasTraumer/pythonRepositorio
52d4455cea0615c8eba7ab4c6224ce3350bbcf47
[ "MIT" ]
null
null
null
URI/numeros_pares.py
LuccasTraumer/pythonRepositorio
52d4455cea0615c8eba7ab4c6224ce3350bbcf47
[ "MIT" ]
null
null
null
URI/numeros_pares.py
LuccasTraumer/pythonRepositorio
52d4455cea0615c8eba7ab4c6224ce3350bbcf47
[ "MIT" ]
null
null
null
for i in range(2,102,2): print(i)
18.5
24
0.594595
9
37
2.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0.172414
0.216216
37
2
25
18.5
0.586207
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
7a439e338f14d6c9c412a00bab7199706b36da7a
119
py
Python
daily-coding-problem/Dropbox/problem_1.py
HouariZegai/problem-solving
77f2b397cfc798e7a0933daf65b849a81192f9d8
[ "MIT" ]
1
2022-03-24T02:02:40.000Z
2022-03-24T02:02:40.000Z
daily-coding-problem/Dropbox/problem_1.py
HouariZegai/problem-solving
77f2b397cfc798e7a0933daf65b849a81192f9d8
[ "MIT" ]
null
null
null
daily-coding-problem/Dropbox/problem_1.py
HouariZegai/problem-solving
77f2b397cfc798e7a0933daf65b849a81192f9d8
[ "MIT" ]
1
2022-03-24T02:03:21.000Z
2022-03-24T02:03:21.000Z
""" Asked by: Dropbox [Medium]. Given the root to a binary search tree, find the second largest node in the tree. """
23.8
81
0.705882
20
119
4.2
0.85
0
0
0
0
0
0
0
0
0
0
0
0.193277
119
5
82
23.8
0.875
0.92437
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7a46eb4c6ed4aa3eb4fe8a5ced9a6359133e96e8
24
py
Python
model_files/models/__init__.py
IgnacioHeredia/plant_classification-didactic
b17947bbad7e699ffc1efa06c8c1ae123e0b3dd2
[ "Apache-2.0" ]
14
2017-06-16T07:16:11.000Z
2022-02-09T01:17:20.000Z
model_files/models/__init__.py
IgnacioHeredia/plant_classification-didactic
b17947bbad7e699ffc1efa06c8c1ae123e0b3dd2
[ "Apache-2.0" ]
2
2017-03-06T10:11:26.000Z
2017-03-06T10:24:24.000Z
model_files/models/__init__.py
IgnacioHeredia/plant_classification-didactic
b17947bbad7e699ffc1efa06c8c1ae123e0b3dd2
[ "Apache-2.0" ]
5
2017-02-27T09:48:21.000Z
2021-11-19T15:20:29.000Z
"""Initialize module"""
12
23
0.666667
2
24
8
1
0
0
0
0
0
0
0
0
0
0
0
0.083333
24
1
24
24
0.727273
0.708333
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
7a81dda661b5b05bc274c0aa7a0d745295712462
245
py
Python
facebook_auth/admin.py
JuanjoArreola/django-auth-facebook
6114dc7714b8261c65120948ce729d6661818427
[ "MIT" ]
null
null
null
facebook_auth/admin.py
JuanjoArreola/django-auth-facebook
6114dc7714b8261c65120948ce729d6661818427
[ "MIT" ]
null
null
null
facebook_auth/admin.py
JuanjoArreola/django-auth-facebook
6114dc7714b8261c65120948ce729d6661818427
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.admin import register from facebook_auth.models import FacebookUser @register(FacebookUser) class FacebookUserAdmin(admin.ModelAdmin): list_display = ['facebook_id', 'user', 'created']
24.5
53
0.8
29
245
6.655172
0.62069
0.103627
0.176166
0
0
0
0
0
0
0
0
0
0.110204
245
9
54
27.222222
0.885321
0
0
0
0
0
0.089796
0
0
0
0
0
0
1
0
false
0
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
7ab3909b9a57f98d26c8f0ae84331b95ad166862
33
py
Python
config.py
mborders/rpi-temp-humidity
dd68dc21687ddffb46388a342e1d9a23e7a32ec6
[ "MIT" ]
null
null
null
config.py
mborders/rpi-temp-humidity
dd68dc21687ddffb46388a342e1d9a23e7a32ec6
[ "MIT" ]
null
null
null
config.py
mborders/rpi-temp-humidity
dd68dc21687ddffb46388a342e1d9a23e7a32ec6
[ "MIT" ]
null
null
null
import board SENSOR_PIN = board
8.25
18
0.787879
5
33
5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.181818
33
3
19
11
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
8fbdf0d3200bdc9f0b94540e8a08bbf8135cb122
98
py
Python
ichnaea/api/locate/__init__.py
crankycoder/ichnaea
fb54000e92c605843b7a41521e36fd648c11ae94
[ "Apache-2.0" ]
348
2015-01-13T11:48:07.000Z
2022-03-31T08:33:07.000Z
ichnaea/api/locate/__init__.py
crankycoder/ichnaea
fb54000e92c605843b7a41521e36fd648c11ae94
[ "Apache-2.0" ]
1,274
2015-01-02T18:15:56.000Z
2022-03-23T15:29:08.000Z
ichnaea/api/locate/__init__.py
crankycoder/ichnaea
fb54000e92c605843b7a41521e36fd648c11ae94
[ "Apache-2.0" ]
149
2015-01-04T21:15:07.000Z
2021-12-10T06:05:09.000Z
""" Implementation of the public HTTP APIs related to locating a user based on provided data. """
19.6
71
0.755102
15
98
4.933333
1
0
0
0
0
0
0
0
0
0
0
0
0.173469
98
4
72
24.5
0.91358
0.908163
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
8fdefddd95de9e0ba250fad8bb96cec0baeb1c30
479
py
Python
repository/__init__.py
vanja/browserentropy
f541c1f29457f865cb2b8ecf84b1ab8f4b7fb243
[ "MIT" ]
null
null
null
repository/__init__.py
vanja/browserentropy
f541c1f29457f865cb2b8ecf84b1ab8f4b7fb243
[ "MIT" ]
1
2018-03-05T12:53:57.000Z
2018-03-05T12:53:57.000Z
repository/__init__.py
vanja/browserentropy
f541c1f29457f865cb2b8ecf84b1ab8f4b7fb243
[ "MIT" ]
null
null
null
"""Package for db repository. """ class Repository(object): """Abstract repository class. """ def fingerprint_count(self): pass def property_count(self, property_name, property_value): pass def save_fingerprint(self, fingerprint): pass def identical_count(self, fingerprint): pass def is_returning(self, fingerprint): pass def create_indexes(self, properties): pass
18.423077
61
0.605428
48
479
5.875
0.458333
0.124113
0.202128
0.234043
0
0
0
0
0
0
0
0
0.308977
479
25
62
19.16
0.851964
0.123173
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.461538
false
0.461538
0
0
0.538462
0.307692
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
1
0
1
0
0
0
0
0
4
8feca2f96f48b3efacdf03a7d707e8fa5e6c7f9d
244
py
Python
tests/conftest.py
cescalara/icecube_tools
d1695294f7cfab17500838ffeb72ac0ba06d3f8d
[ "MIT" ]
6
2020-09-24T13:26:33.000Z
2022-01-30T08:17:07.000Z
tests/conftest.py
cescalara/icecube_tools
d1695294f7cfab17500838ffeb72ac0ba06d3f8d
[ "MIT" ]
2
2021-03-17T17:06:38.000Z
2021-12-30T19:13:09.000Z
tests/conftest.py
cescalara/icecube_tools
d1695294f7cfab17500838ffeb72ac0ba06d3f8d
[ "MIT" ]
1
2021-07-22T19:20:22.000Z
2021-07-22T19:20:22.000Z
import pytest @pytest.fixture(scope="session") def output_directory(tmpdir_factory): directory = tmpdir_factory.mktemp("output") return directory @pytest.fixture(scope="session") def random_seed(): seed = 42 return seed
13.555556
47
0.717213
29
244
5.896552
0.517241
0.152047
0.210526
0.292398
0.327485
0
0
0
0
0
0
0.009901
0.172131
244
17
48
14.352941
0.836634
0
0
0.222222
0
0
0.081967
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
1
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
1
0
0
0
0
0
0
0
4
8904a2b59a840caf9f17cf3c3e300cd401fa5586
141
py
Python
grammpy/__init__.py
PatrikValkovic/grammpy
8308a1fd349bf9ea0d267360cc9a4ab20d1629e8
[ "MIT" ]
1
2021-02-04T12:41:08.000Z
2021-02-04T12:41:08.000Z
grammpy/__init__.py
PatrikValkovic/grammpy
8308a1fd349bf9ea0d267360cc9a4ab20d1629e8
[ "MIT" ]
3
2017-07-08T16:28:52.000Z
2020-04-23T18:06:24.000Z
grammpy/__init__.py
PatrikValkovic/grammpy
8308a1fd349bf9ea0d267360cc9a4ab20d1629e8
[ "MIT" ]
1
2021-02-04T12:41:10.000Z
2021-02-04T12:41:10.000Z
#!/usr/bin/env python """ :Author Patrik Valkovic :Created 23.06.2017 16:45 :Licence MIT Part of grammpy """ from .representation import *
12.818182
29
0.716312
21
141
4.809524
1
0
0
0
0
0
0
0
0
0
0
0.1
0.148936
141
10
30
14.1
0.741667
0.702128
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
64e8610a55bdec1c7f49d2fe4e2337fb4793e144
20,074
py
Python
massql/msql_engine_filters.py
sarvarkaxxorov/MassQueryLanguage
b7618ba7fb5343c252c5691dc574f4193fb8e83e
[ "MIT" ]
null
null
null
massql/msql_engine_filters.py
sarvarkaxxorov/MassQueryLanguage
b7618ba7fb5343c252c5691dc574f4193fb8e83e
[ "MIT" ]
null
null
null
massql/msql_engine_filters.py
sarvarkaxxorov/MassQueryLanguage
b7618ba7fb5343c252c5691dc574f4193fb8e83e
[ "MIT" ]
null
null
null
import pandas as pd from py_expression_eval import Parser math_parser = Parser() def _get_mz_tolerance(qualifiers, mz): if qualifiers is None: return 0.1 if "qualifierppmtolerance" in qualifiers: ppm = qualifiers["qualifierppmtolerance"]["value"] mz_tol = abs(ppm * mz / 1000000) return mz_tol if "qualifiermztolerance" in qualifiers: return qualifiers["qualifiermztolerance"]["value"] return 0.1 def _get_massdefect_min(qualifiers): if qualifiers is None: return 0, 1 if "qualifiermassdefect" in qualifiers: return qualifiers["qualifiermassdefect"]["min"], qualifiers["qualifiermassdefect"]["max"] return 0, 1 def _get_minintensity(qualifier): """ Returns absolute min and relative min Args: qualifier ([type]): [description] Returns: [type]: [description] """ min_intensity = 0 min_percent_intensity = 0 min_tic_percent_intensity = 0 if qualifier is None: min_intensity = 0 min_percent_intensity = 0 return min_intensity, min_percent_intensity, min_tic_percent_intensity if "qualifierintensityvalue" in qualifier: min_intensity = float(qualifier["qualifierintensityvalue"]["value"]) if "qualifierintensitypercent" in qualifier: min_percent_intensity = float(qualifier["qualifierintensitypercent"]["value"]) / 100 if "qualifierintensityticpercent" in qualifier: min_tic_percent_intensity = float(qualifier["qualifierintensityticpercent"]["value"]) / 100 # since the subsequent comparison is a strict greater than, if people set it to 100, then they won't get anything. min_percent_intensity = min(min_percent_intensity, 0.99) return min_intensity, min_percent_intensity, min_tic_percent_intensity def _get_exclusion_flag(qualifiers): if qualifiers is None: return False if "qualifierexcluded" in qualifiers: return True return False def _set_intensity_register(ms_filtered_df, register_dict, condition): if "qualifiers" in condition: if "qualifierintensityreference" in condition["qualifiers"]: qualifier_variable = condition["qualifiers"]["qualifierintensitymatch"]["value"] grouped_df = ms_filtered_df.groupby("scan").sum().reset_index() for grouped_scan in grouped_df.to_dict(orient="records"): # Saving into the register key = "scan:{}:variable:{}".format(grouped_scan["scan"], qualifier_variable) register_dict[key] = grouped_scan["i"] return def _filter_intensitymatch(ms_filtered_df, register_dict, condition): if "qualifiers" in condition: if "qualifierintensitymatch" in condition["qualifiers"] and \ "qualifierintensitytolpercent" in condition["qualifiers"]: qualifier_expression = condition["qualifiers"]["qualifierintensitymatch"]["value"] qualifier_variable = qualifier_expression[0] #TODO: This assumes the variable is the first character in the expression, likely a bad assumption grouped_df = ms_filtered_df.groupby("scan").sum().reset_index() filtered_grouped_scans = [] for grouped_scan in grouped_df.to_dict(orient="records"): # Reading from the register key = "scan:{}:variable:{}".format(grouped_scan["scan"], qualifier_variable) if key in register_dict: register_value = register_dict[key] evaluated_new_expression = math_parser.parse(qualifier_expression).evaluate({ qualifier_variable : register_value }) min_match_intensity, max_match_intensity = _get_intensitymatch_range(condition["qualifiers"], evaluated_new_expression) scan_intensity = grouped_scan["i"] #print(key, scan_intensity, qualifier_expression, min_match_intensity, max_match_intensity, grouped_scan) if scan_intensity > min_match_intensity and \ scan_intensity < max_match_intensity: filtered_grouped_scans.append(grouped_scan) else: # Its not in the register, which means we don't find it continue return pd.DataFrame(filtered_grouped_scans) return ms_filtered_df def _get_intensitymatch_range(qualifiers, match_intensity): """ Matching the intensity range Args: qualifiers ([type]): [description] match_intensity ([type]): [description] Returns: [type]: [description] """ min_intensity = 0 max_intensity = 0 if "qualifierintensitytolpercent" in qualifiers: tolerance_percent = qualifiers["qualifierintensitytolpercent"]["value"] tolerance_value = float(tolerance_percent) / 100 * match_intensity min_intensity = match_intensity - tolerance_value max_intensity = match_intensity + tolerance_value return min_intensity, max_intensity def ms2prod_condition(condition, ms1_df, ms2_df, reference_conditions_register): """ Filters the MS1 and MS2 data based upon MS2 peak conditions Args: condition ([type]): [description] ms1_df ([type]): [description] ms2_df ([type]): [description] reference_conditions_register ([type]): Edits this in place Returns: ms1_df ([type]): [description] ms2_df ([type]): [description] """ exclusion_flag = _get_exclusion_flag(condition.get("qualifiers", None)) if len(ms2_df) == 0: return ms1_df, ms2_df ms2_list = [] for mz in condition["value"]: if mz == "ANY": # Checking defect options massdefect_min, massdefect_max = _get_massdefect_min(condition.get("qualifiers", None)) ms2_filtered_df = ms2_df ms2_filtered_df["mz_defect"] = ms2_filtered_df["mz"] - ms2_filtered_df["mz"].astype(int) min_int, min_intpercent, min_tic_percent_intensity = _get_minintensity(condition.get("qualifiers", None)) ms2_filtered_df = ms2_filtered_df[ (ms2_filtered_df["mz_defect"] > massdefect_min) & (ms2_filtered_df["mz_defect"] < massdefect_max) & (ms2_filtered_df["i"] > min_int) & (ms2_filtered_df["i_norm"] > min_intpercent) & (ms2_filtered_df["i_tic_norm"] > min_tic_percent_intensity) ] else: mz_tol = _get_mz_tolerance(condition.get("qualifiers", None), mz) mz_min = mz - mz_tol mz_max = mz + mz_tol min_int, min_intpercent, min_tic_percent_intensity = _get_minintensity(condition.get("qualifiers", None)) ms2_filtered_df = ms2_df[(ms2_df["mz"] > mz_min) & (ms2_df["mz"] < mz_max) & (ms2_df["i"] > min_int) & (ms2_df["i_norm"] > min_intpercent) & (ms2_df["i_tic_norm"] > min_tic_percent_intensity)] # Setting the intensity match register _set_intensity_register(ms2_filtered_df, reference_conditions_register, condition) # Applying the intensity match ms2_filtered_df = _filter_intensitymatch(ms2_filtered_df, reference_conditions_register, condition) ms2_list.append(ms2_filtered_df) if len(ms2_list) == 1: ms2_filtered_df = ms2_list[0] else: ms2_filtered_df = pd.concat(ms2_list) # Apply the negation operator if exclusion_flag: filtered_scans = set(ms2_filtered_df["scan"]) original_scans = set(ms2_df["scan"]) negation_scans = original_scans - filtered_scans ms2_filtered_df = ms2_df[ms2_df["scan"].isin(negation_scans)] if len(ms2_filtered_df) == 0: return pd.DataFrame(), pd.DataFrame() # Filtering the actual data structures filtered_scans = set(ms2_filtered_df["scan"]) ms2_df = ms2_df[ms2_df["scan"].isin(filtered_scans)] # Filtering the MS1 data now ms1_scans = set(ms2_df["ms1scan"]) ms1_df = ms1_df[ms1_df["scan"].isin(ms1_scans)] return ms1_df, ms2_df def ms2nl_condition(condition, ms1_df, ms2_df, reference_conditions_register): """ Filters the MS1 and MS2 data based upon MS2 neutral loss conditions Args: condition ([type]): [description] ms1_df ([type]): [description] ms2_df ([type]): [description] reference_conditions_register ([type]): Edits this in place Returns: ms1_df ([type]): [description] ms2_df ([type]): [description] """ exclusion_flag = _get_exclusion_flag(condition.get("qualifiers", None)) if len(ms2_df) == 0: return ms1_df, ms2_df ms2_list = [] for mz in condition["value"]: if mz == "ANY": # Checking defect options massdefect_min, massdefect_max = _get_massdefect_min(condition.get("qualifiers", None)) ms2_filtered_df = ms2_df ms2_filtered_df["mz_defect"] = ms2_filtered_df["mz"] - ms2_filtered_df["mz"].astype(int) min_int, min_intpercent, min_tic_percent_intensity = _get_minintensity(condition.get("qualifiers", None)) ms2_filtered_df = ms2_filtered_df[ (ms2_filtered_df["mz_defect"] > massdefect_min) & (ms2_filtered_df["mz_defect"] < massdefect_max) & (ms2_filtered_df["i"] > min_int) & (ms2_filtered_df["i_norm"] > min_intpercent) & (ms2_filtered_df["i_tic_norm"] > min_tic_percent_intensity) ] else: mz_tol = _get_mz_tolerance(condition.get("qualifiers", None), mz) #TODO: This is incorrect logic if it comes to PPM accuracy nl_min = mz - mz_tol nl_max = mz + mz_tol min_int, min_intpercent, min_tic_percent_intensity = _get_minintensity(condition.get("qualifiers", None)) ms2_filtered_df = ms2_df[ ((ms2_df["precmz"] - ms2_df["mz"]) > nl_min) & ((ms2_df["precmz"] - ms2_df["mz"]) < nl_max) & (ms2_df["i"] > min_int) & (ms2_df["i_norm"] > min_intpercent) & (ms2_df["i_tic_norm"] > min_tic_percent_intensity) ] # Setting the intensity match register _set_intensity_register(ms2_filtered_df, reference_conditions_register, condition) # Applying the intensity match ms2_filtered_df = _filter_intensitymatch(ms2_filtered_df, reference_conditions_register, condition) ms2_list.append(ms2_filtered_df) if len(ms2_list) == 1: ms2_filtered_df = ms2_list[0] else: ms2_filtered_df = pd.concat(ms2_list) # Apply the negation operator if exclusion_flag: filtered_scans = set(ms2_filtered_df["scan"]) original_scans = set(ms2_df["scan"]) negation_scans = original_scans - filtered_scans ms2_filtered_df = ms2_df[ms2_df["scan"].isin(negation_scans)] if len(ms2_filtered_df) == 0: return pd.DataFrame(), pd.DataFrame() # Filtering the actual data structures filtered_scans = set(ms2_filtered_df["scan"]) ms2_df = ms2_df[ms2_df["scan"].isin(filtered_scans)] # Filtering the MS1 data now ms1_scans = set(ms2_df["ms1scan"]) ms1_df = ms1_df[ms1_df["scan"].isin(ms1_scans)] return ms1_df, ms2_df def ms2prec_condition(condition, ms1_df, ms2_df, reference_conditions_register): """ Filters the MS1 and MS2 data based upon MS2 precursor conditions Args: condition ([type]): [description] ms1_df ([type]): [description] ms2_df ([type]): [description] reference_conditions_register ([type]): Edits this in place Returns: ms1_df ([type]): [description] ms2_df ([type]): [description] """ exclusion_flag = _get_exclusion_flag(condition.get("qualifiers", None)) if len(ms2_df) == 0: return ms1_df, ms2_df ms2_list = [] for mz in condition["value"]: if mz == "ANY": # Checking defect options massdefect_min, massdefect_max = _get_massdefect_min(condition.get("qualifiers", None)) ms2_filtered_df = ms2_df ms2_filtered_df["precmz_defect"] = ms2_filtered_df["precmz"] - ms2_filtered_df["precmz"].astype(int) ms2_filtered_df = ms2_filtered_df[( ms2_filtered_df["precmz_defect"] > massdefect_min) & (ms2_filtered_df["precmz_defect"] < massdefect_max) ] else: mz_tol = _get_mz_tolerance(condition.get("qualifiers", None), mz) mz_min = mz - mz_tol mz_max = mz + mz_tol ms2_filtered_df = ms2_df[( ms2_df["precmz"] > mz_min) & (ms2_df["precmz"] < mz_max) ] ms2_list.append(ms2_filtered_df) if len(ms2_list) == 1: ms2_filtered_df = ms2_list[0] else: ms2_filtered_df = pd.concat(ms2_list) # Apply the negation operator if exclusion_flag: filtered_scans = set(ms2_filtered_df["scan"]) original_scans = set(ms2_df["scan"]) negation_scans = original_scans - filtered_scans ms2_filtered_df = ms2_df[ms2_df["scan"].isin(negation_scans)] if len(ms2_filtered_df) == 0: return pd.DataFrame(), pd.DataFrame() # Filtering the actual data structures filtered_scans = set(ms2_filtered_df["scan"]) ms2_df = ms2_df[ms2_df["scan"].isin(filtered_scans)] # Filtering the MS1 data now if len(ms1_df) > 0: ms1_scans = set(ms2_df["ms1scan"]) ms1_df = ms1_df[ms1_df["scan"].isin(ms1_scans)] return ms1_df, ms2_df def ms1_condition(condition, ms1_df, ms2_df, reference_conditions_register): """ Filters the MS1 and MS2 data based upon MS1 peak conditions Args: condition ([type]): [description] ms1_df ([type]): [description] ms2_df ([type]): [description] reference_conditions_register ([type]): Edits this in place Returns: ms1_df ([type]): [description] ms2_df ([type]): [description] """ exclusion_flag = _get_exclusion_flag(condition.get("qualifiers", None)) if len(ms1_df) == 0: return ms1_df, ms2_df ms1_list = [] for mz in condition["value"]: if mz == "ANY": # Checking defect options massdefect_min, massdefect_max = _get_massdefect_min(condition.get("qualifiers", None)) ms1_filtered_df = ms1_df ms1_filtered_df["mz_defect"] = ms1_filtered_df["mz"] - ms1_filtered_df["mz"].astype(int) min_int, min_intpercent, min_tic_percent_intensity = _get_minintensity(condition.get("qualifiers", None)) ms1_filtered_df = ms1_filtered_df[ (ms1_filtered_df["mz_defect"] > massdefect_min) & (ms1_filtered_df["mz_defect"] < massdefect_max) & (ms1_filtered_df["i"] > min_int) & (ms1_filtered_df["i_norm"] > min_intpercent) & (ms1_filtered_df["i_tic_norm"] > min_tic_percent_intensity) ] else: # Checking defect options massdefect_min, massdefect_max = _get_massdefect_min(condition.get("qualifiers", None)) mz_tol = _get_mz_tolerance(condition.get("qualifiers", None), mz) mz_min = mz - mz_tol mz_max = mz + mz_tol min_int, min_intpercent, min_tic_percent_intensity = _get_minintensity(condition.get("qualifiers", None)) ms1_filtered_df = ms1_df[ (ms1_df["mz"] > mz_min) & (ms1_df["mz"] < mz_max) & (ms1_df["i"] > min_int) & (ms1_df["i_norm"] > min_intpercent) & (ms1_df["i_tic_norm"] > min_tic_percent_intensity)] if massdefect_min > 0 or massdefect_max < 1: ms1_filtered_df["mz_defect"] = ms1_filtered_df["mz"] - ms1_filtered_df["mz"].astype(int) ms1_filtered_df = ms1_filtered_df[ (ms1_filtered_df["mz_defect"] > massdefect_min) & (ms1_filtered_df["mz_defect"] < massdefect_max) ] # Setting the intensity match register _set_intensity_register(ms1_filtered_df, reference_conditions_register, condition) # Applying the intensity match ms1_filtered_df = _filter_intensitymatch(ms1_filtered_df, reference_conditions_register, condition) ms1_list.append(ms1_filtered_df) if len(ms1_list) == 1: ms1_filtered_df = ms1_list[0] else: ms1_filtered_df = pd.concat(ms1_list) # Apply the negation operator if exclusion_flag: filtered_scans = set(ms1_filtered_df["scan"]) original_scans = set(ms1_df["scan"]) negation_scans = original_scans - filtered_scans ms1_filtered_df = ms1_df[ms1_df["scan"].isin(negation_scans)] if len(ms1_filtered_df) == 0: return pd.DataFrame(), pd.DataFrame() # Filtering the actual data structures filtered_scans = set(ms1_filtered_df["scan"]) ms1_df = ms1_df[ms1_df["scan"].isin(filtered_scans)] if "ms1scan" in ms2_df: ms2_df = ms2_df[ms2_df["ms1scan"].isin(filtered_scans)] return ms1_df, ms2_df def ms1_filter(condition, ms1_df): """ Filters the MS1 and MS2 data based upon MS1 peak filters Args: condition ([type]): [description] ms1_df ([type]): [description] Returns: ms1_df ([type]): [description] """ if len(ms1_df) == 0: return ms1_df ms1_list = [] for mz in condition["value"]: if mz == "ANY": # Checking defect options massdefect_min, massdefect_max = _get_massdefect_min(condition.get("qualifiers", None)) ms1_filtered_df = ms1_df ms1_filtered_df["mz_defect"] = ms1_filtered_df["mz"] - ms1_filtered_df["mz"].astype(int) min_int, min_intpercent, min_tic_percent_intensity = _get_minintensity(condition.get("qualifiers", None)) ms1_filtered_df = ms1_filtered_df[ (ms1_filtered_df["mz_defect"] > massdefect_min) & (ms1_filtered_df["mz_defect"] < massdefect_max) & (ms1_filtered_df["i"] > min_int) & (ms1_filtered_df["i_norm"] > min_intpercent) & (ms1_filtered_df["i_tic_norm"] > min_tic_percent_intensity) ] else: # Checking defect options massdefect_min, massdefect_max = _get_massdefect_min(condition.get("qualifiers", None)) mz_tol = _get_mz_tolerance(condition.get("qualifiers", None), mz) mz_min = mz - mz_tol mz_max = mz + mz_tol min_int, min_intpercent, min_tic_percent_intensity = _get_minintensity(condition.get("qualifiers", None)) ms1_filtered_df = ms1_df[ (ms1_df["mz"] > mz_min) & (ms1_df["mz"] < mz_max) & (ms1_df["i"] > min_int) & (ms1_df["i_norm"] > min_intpercent) & (ms1_df["i_tic_norm"] > min_tic_percent_intensity)] if massdefect_min > 0 or massdefect_max < 1: ms1_filtered_df["mz_defect"] = ms1_filtered_df["mz"] - ms1_filtered_df["mz"].astype(int) ms1_filtered_df = ms1_filtered_df[ (ms1_filtered_df["mz_defect"] > massdefect_min) & (ms1_filtered_df["mz_defect"] < massdefect_max) ] ms1_list.append(ms1_filtered_df) if len(ms1_list) == 1: ms1_filtered_df = ms1_list[0] else: ms1_filtered_df = pd.concat(ms1_list) if len(ms1_filtered_df) == 0: return pd.DataFrame() return ms1_filtered_df
36.833028
155
0.627578
2,383
20,074
4.921947
0.073437
0.100605
0.066502
0.053201
0.775855
0.76264
0.743883
0.725552
0.689232
0.682155
0
0.02456
0.271844
20,074
544
156
36.900735
0.777861
0.14591
0
0.687697
0
0
0.089391
0.022229
0
0
0
0.003676
0
1
0.037855
false
0
0.006309
0
0.141956
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8f4bb5c1adf8bcdbe4b768600eb62766f5005378
219
py
Python
src/cloudlight/nodes/node.py
joigno/cloudlight
8a6510047abd97e0bf3a568322205beb56fa5260
[ "BSD-3-Clause" ]
3
2020-08-21T00:18:50.000Z
2020-10-21T17:40:47.000Z
src/cloudlight/nodes/node.py
joigno/cloudlight
8a6510047abd97e0bf3a568322205beb56fa5260
[ "BSD-3-Clause" ]
null
null
null
src/cloudlight/nodes/node.py
joigno/cloudlight
8a6510047abd97e0bf3a568322205beb56fa5260
[ "BSD-3-Clause" ]
null
null
null
''' Created on Apr 9, 2010 @author: jose ''' import random class Node(object): def __init__(self): self.id = str(random.random()) def __repr__(self): return self.id
10.428571
38
0.534247
26
219
4.192308
0.730769
0.110092
0
0
0
0
0
0
0
0
0
0.034965
0.347032
219
20
39
10.95
0.727273
0.16895
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
8f4fe522ed0c1a5d34fe2905ab14f1b7502295ea
102
py
Python
react_tutorial/apps.py
seyhak/RestaurantWebApplication
602f6ab6783caea78c31320d47eec0a05e82e8b2
[ "MIT" ]
null
null
null
react_tutorial/apps.py
seyhak/RestaurantWebApplication
602f6ab6783caea78c31320d47eec0a05e82e8b2
[ "MIT" ]
1
2021-03-10T06:21:38.000Z
2021-03-10T06:21:38.000Z
react_tutorial/apps.py
seyhak/RestaurantWebApplication
602f6ab6783caea78c31320d47eec0a05e82e8b2
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ReactTutorialConfig(AppConfig): name = 'react_tutorial'
17
37
0.784314
11
102
7.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.147059
102
5
38
20.4
0.908046
0
0
0
0
0
0.137255
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
8f7fb565f73ca08eab296d40251242d22ebef7d6
318
py
Python
chaco/overlays/api.py
burnpanck/chaco
6457cdd28625991ba69fbbee105051cab237aa51
[ "BSD-3-Clause" ]
3
2017-09-17T17:32:06.000Z
2022-03-15T13:04:43.000Z
chaco/overlays/api.py
burnpanck/chaco
6457cdd28625991ba69fbbee105051cab237aa51
[ "BSD-3-Clause" ]
null
null
null
chaco/overlays/api.py
burnpanck/chaco
6457cdd28625991ba69fbbee105051cab237aa51
[ "BSD-3-Clause" ]
5
2015-05-17T16:08:11.000Z
2021-02-23T09:23:42.000Z
from databox import DataBox from container_overlay import ContainerOverlay from aligned_container_overlay import AlignedContainerOverlay from text_grid_overlay import TextGridOverlay from simple_inspector_overlay import SimpleInspectorOverlay, basic_formatter, \ datetime_formatter, date_formatter, time_formatter
45.428571
79
0.893082
35
318
7.8
0.542857
0.190476
0.161172
0
0
0
0
0
0
0
0
0
0.091195
318
6
80
53
0.944637
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
56a9ac4d659b8f75c71f0496956cf2d704bddc0d
166
py
Python
pygazebo/msg/v9/__init__.py
dusty-nv/py3gazebo
6c62d606830dd9da8d9d1dafccc6ad7b68e75818
[ "Apache-2.0" ]
null
null
null
pygazebo/msg/v9/__init__.py
dusty-nv/py3gazebo
6c62d606830dd9da8d9d1dafccc6ad7b68e75818
[ "Apache-2.0" ]
null
null
null
pygazebo/msg/v9/__init__.py
dusty-nv/py3gazebo
6c62d606830dd9da8d9d1dafccc6ad7b68e75818
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import pkgutil __all__ = list(module for _, module, _ in pkgutil.iter_modules([os.path.dirname(__file__)]))
20.75
92
0.698795
24
166
4.375
0.833333
0
0
0
0
0
0
0
0
0
0
0.006944
0.13253
166
7
93
23.714286
0.722222
0.253012
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
56cabce8f293868eb039ae27bf95c84c46f5d346
241
py
Python
tpRigToolkit/tools/controlrig/core/consts.py
tpRigToolkit/tpRigToolkit-tools-controlrig
46e15377d64418bcc4bc8944c3f9537603fa0e9d
[ "MIT" ]
null
null
null
tpRigToolkit/tools/controlrig/core/consts.py
tpRigToolkit/tpRigToolkit-tools-controlrig
46e15377d64418bcc4bc8944c3f9537603fa0e9d
[ "MIT" ]
null
null
null
tpRigToolkit/tools/controlrig/core/consts.py
tpRigToolkit/tpRigToolkit-tools-controlrig
46e15377d64418bcc4bc8944c3f9537603fa0e9d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Module that contains constants definitions for tpRigToolkit-tools-controlrig """ from __future__ import print_function, division, absolute_import TOOL_ID = 'tpRigToolkit-tools-controlrig'
21.909091
76
0.763485
29
241
6.103448
0.862069
0.19209
0.305085
0
0
0
0
0
0
0
0
0.004695
0.116183
241
10
77
24.1
0.826291
0.493776
0
0
0
0
0.256637
0.256637
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4
56cf4e5d194025050924e4e2a5ea50e36c617af2
484
py
Python
config.py
jiaxianhua/safaribookonline-video-downloader
68c4c56a018e77c8c1714e35025e18861be34a69
[ "MIT" ]
1
2020-03-28T18:53:33.000Z
2020-03-28T18:53:33.000Z
config.py
jiaxianhua/safaribookonline-video-downloader
68c4c56a018e77c8c1714e35025e18861be34a69
[ "MIT" ]
null
null
null
config.py
jiaxianhua/safaribookonline-video-downloader
68c4c56a018e77c8c1714e35025e18861be34a69
[ "MIT" ]
1
2020-05-01T17:32:34.000Z
2020-05-01T17:32:34.000Z
class Config: URLS = [ 'https://learning.oreilly.com/videos/ios-augmented-reality/9781788479332', 'https://learning.oreilly.com/videos/the-complete-arkit/9781789958775', 'https://learning.oreilly.com/videos/ios-12-and/100000006A0477/', ] DOMAIN = '' OUTPUT_FOLDER = './Downloader' USERNAME = 'you@email.com' PASSWORD = 'password' DOWNLOADER = '/usr/local/bin/youtube-dl' # Please download from https://github.com/rg3/youtube-dl
40.333333
101
0.667355
55
484
5.854545
0.672727
0.121118
0.186335
0.214286
0.28882
0.198758
0
0
0
0
0
0.105263
0.17562
484
11
102
44
0.701754
0.11157
0
0
0
0
0.60514
0.058411
0
0
0
0
0
1
0
false
0.090909
0
0
0.636364
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
56d567d37d5b1b134951e7d84c242e73a6550968
231
py
Python
deepy/debug/__init__.py
uaca/deepy
090fbad22a08a809b12951cd0d4984f5bd432698
[ "MIT" ]
260
2015-05-16T07:58:29.000Z
2016-01-07T09:10:47.000Z
deepy/debug/__init__.py
uaca/deepy
090fbad22a08a809b12951cd0d4984f5bd432698
[ "MIT" ]
20
2015-04-21T01:46:46.000Z
2015-12-20T00:04:23.000Z
deepy/debug/__init__.py
zomux/deepy
090fbad22a08a809b12951cd0d4984f5bd432698
[ "MIT" ]
50
2016-01-27T03:45:25.000Z
2020-12-16T07:02:57.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from visualization import plot_hinton from detect_nan import DETECT_NAN_MODE from monitor import monitor_var_sum, monitor_var from debug_functions import check_test_values, set_trace
25.666667
56
0.813853
36
231
4.916667
0.694444
0.101695
0
0
0
0
0
0
0
0
0
0.004902
0.116883
231
8
57
28.875
0.862745
0.181818
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
56ee272c257b972f23e2997b99f950bb29d86ff9
178
py
Python
observer/observer_iDisplay.py
amitkc00/design_patterns
86262200d8ab106e9e8b32abc0d87e7a8e1cce2a
[ "MIT" ]
null
null
null
observer/observer_iDisplay.py
amitkc00/design_patterns
86262200d8ab106e9e8b32abc0d87e7a8e1cce2a
[ "MIT" ]
null
null
null
observer/observer_iDisplay.py
amitkc00/design_patterns
86262200d8ab106e9e8b32abc0d87e7a8e1cce2a
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class idisplay(ABC): @abstractmethod def update(self): pass @abstractmethod def display(self): pass
16.181818
35
0.61236
18
178
6.055556
0.611111
0.311927
0
0
0
0
0
0
0
0
0
0
0.320225
178
11
36
16.181818
0.900826
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.125
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
71028fa9c182ace43df16064441463b9fd1a30b3
13
py
Python
webrepl_cfg.py
moatazsalemVF/MicroPython-Nextion-MQTT
5e38eb6a0ab57089f3be14f5e889946d90fba1a4
[ "MIT" ]
1
2020-01-12T07:39:27.000Z
2020-01-12T07:39:27.000Z
webrepl_cfg.py
moatazsalemVF/MicroPython-Nextion-MQTT
5e38eb6a0ab57089f3be14f5e889946d90fba1a4
[ "MIT" ]
null
null
null
webrepl_cfg.py
moatazsalemVF/MicroPython-Nextion-MQTT
5e38eb6a0ab57089f3be14f5e889946d90fba1a4
[ "MIT" ]
1
2020-01-12T14:00:41.000Z
2020-01-12T14:00:41.000Z
PASS = 'xyz'
6.5
12
0.538462
2
13
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.230769
13
1
13
13
0.7
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
1
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
1
0
0
0
0
0
4
85373478694bde7bff16019fef49594d4f0a69de
66
py
Python
Solutions/7kyu/7kyu_difference_between_two_collections.py
citrok25/Codewars-1
dc641c5079e2e8b5955eb027fd15427e5bdb2e26
[ "MIT" ]
46
2017-08-24T09:27:57.000Z
2022-02-25T02:24:33.000Z
Solutions/7kyu/7kyu_difference_between_two_collections.py
abbhishek971/Codewars
9e761811db724da1e8aae44594df42b4ee879a16
[ "MIT" ]
null
null
null
Solutions/7kyu/7kyu_difference_between_two_collections.py
abbhishek971/Codewars
9e761811db724da1e8aae44594df42b4ee879a16
[ "MIT" ]
35
2017-08-01T22:09:48.000Z
2022-02-18T17:21:37.000Z
def diff(a, b): return sorted(set(a).symmetric_difference(b))
22
49
0.69697
11
66
4.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.136364
66
2
50
33
0.789474
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
8554516262e1eaa9c5be93a85042ea755be9e442
190
py
Python
feedback/forms.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
3
2020-11-05T10:09:04.000Z
2021-03-13T11:27:05.000Z
feedback/forms.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
31
2015-07-26T13:53:26.000Z
2020-09-28T06:08:03.000Z
feedback/forms.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
null
null
null
from django.forms import ModelForm from feedback.models import Feedback class FeedbackForm(ModelForm): class Meta: model = Feedback fields = ['name', 'email', 'note']
19
42
0.678947
21
190
6.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.226316
190
9
43
21.111111
0.877551
0
0
0
0
0
0.068421
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
855b518a42b4d139d0201047154c9c04361b26b0
135
py
Python
PYTHON/py/functions.py
eldiego77cp/CAC40_Python
11ca7d0e93eda26cbf9f2110642bceb7aeb3d992
[ "MIT" ]
null
null
null
PYTHON/py/functions.py
eldiego77cp/CAC40_Python
11ca7d0e93eda26cbf9f2110642bceb7aeb3d992
[ "MIT" ]
null
null
null
PYTHON/py/functions.py
eldiego77cp/CAC40_Python
11ca7d0e93eda26cbf9f2110642bceb7aeb3d992
[ "MIT" ]
null
null
null
def suma (a, b): """Esta función devuelve la suma de los parámetros a y b""" #Docstring para documentar la función return a + b
45
101
0.681481
23
135
4
0.695652
0.043478
0
0
0
0
0
0
0
0
0
0
0.22963
135
3
102
45
0.884615
0.666667
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
85722ff815a0a20e62a9aea9c7df17467de86585
579
py
Python
scripts/example_parser.py
irl/ooni-probe
c21861c28ca6bd667715872d099006fab87222fd
[ "BSD-2-Clause" ]
24
2018-12-23T12:53:57.000Z
2022-01-19T19:50:53.000Z
scripts/example_parser.py
Acidburn0zzz/ooni-probe
22720e383093c0d30fd1b6ca44794d3b29031f91
[ "BSD-2-Clause" ]
64
2018-09-13T08:26:20.000Z
2022-02-11T03:48:34.000Z
scripts/example_parser.py
Acidburn0zzz/ooni-probe
22720e383093c0d30fd1b6ca44794d3b29031f91
[ "BSD-2-Clause" ]
9
2019-06-10T01:41:48.000Z
2022-01-08T08:46:25.000Z
# This is an example of how to parse ooniprobe reports from pprint import pprint import yaml import sys print "Opening %s" % sys.argv[1] f = open(sys.argv[1]) yamloo = yaml.safe_load_all(f) report_header = yamloo.next() print "ASN: %s" % report_header['probe_asn'] print "CC: %s" % report_header['probe_cc'] print "IP: %s" % report_header['probe_ip'] print "Start Time: %s" % report_header['start_time'] print "Test name: %s" % report_header['test_name'] print "Test version: %s" % report_header['test_version'] for report_entry in yamloo: pprint(report_entry) f.close()
26.318182
56
0.720207
94
579
4.255319
0.446809
0.21
0.195
0.135
0
0
0
0
0
0
0
0.004008
0.138169
579
21
57
27.571429
0.797595
0.08981
0
0
0
0
0.24381
0
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.5625
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
858dce3d967fdb951b28e7aceca132601fe60730
95
py
Python
miniGithub/apps.py
stefan096/UKS
aeabe6a9995143c006ad4143e8e876a102e9d69b
[ "MIT" ]
null
null
null
miniGithub/apps.py
stefan096/UKS
aeabe6a9995143c006ad4143e8e876a102e9d69b
[ "MIT" ]
36
2020-01-12T17:00:23.000Z
2020-03-21T13:25:28.000Z
miniGithub/apps.py
stefan096/UKS
aeabe6a9995143c006ad4143e8e876a102e9d69b
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MinigithubConfig(AppConfig): name = 'miniGithub'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
85a922a737a2f73c4a28d0b7fd203b2bebc0b64b
303
py
Python
zepid/graphics/__init__.py
joannadiong/zEpid
7377ed06156d074aa2b571be520e8e004a564353
[ "MIT" ]
101
2018-12-17T20:32:20.000Z
2022-03-29T08:51:46.000Z
zepid/graphics/__init__.py
joannadiong/zEpid
7377ed06156d074aa2b571be520e8e004a564353
[ "MIT" ]
124
2018-12-13T22:30:41.000Z
2022-02-10T00:24:25.000Z
zepid/graphics/__init__.py
joannadiong/zEpid
7377ed06156d074aa2b571be520e8e004a564353
[ "MIT" ]
26
2019-02-07T17:45:15.000Z
2022-01-03T00:39:34.000Z
from .graphics import (functional_form_plot, EffectMeasurePlot, pvalue_plot, spaghetti_plot, roc, dynamic_risk_plot, labbe_plot, zipper_plot)
33.666667
44
0.39934
19
303
5.947368
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.567657
303
8
45
37.875
0.862595
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
85aa8c8b29e040c09ccd20fc1fe50976c169b467
470
py
Python
S05 - Recommender Systems/BLU12 - Workflow/ramcontrol.py
FarhadManiCodes/batch5-students
3a147145dc4f4ac65a851542987cf687b9915d5b
[ "MIT" ]
2
2022-02-04T17:40:04.000Z
2022-03-26T18:03:12.000Z
S05 - Recommender Systems/BLU12 - Workflow/ramcontrol.py
FarhadManiCodes/batch5-students
3a147145dc4f4ac65a851542987cf687b9915d5b
[ "MIT" ]
null
null
null
S05 - Recommender Systems/BLU12 - Workflow/ramcontrol.py
FarhadManiCodes/batch5-students
3a147145dc4f4ac65a851542987cf687b9915d5b
[ "MIT" ]
2
2021-10-30T16:20:13.000Z
2021-11-25T12:09:31.000Z
import psutil import gc # check if memory usage is over limit def check_memory_limit(limit: float = 90.): return psutil.virtual_memory()[2] > limit def memory_circuit_breaker(limit: float = 90.): # if over limit, garbage collect if check_memory_limit(limit): gc.collect() # if still above limit, stop execution if check_memory_limit(limit): raise MemoryError("The execution of this cell has reached {limit} %. Stopping Execution.")
31.333333
98
0.712766
66
470
4.939394
0.5
0.101227
0.147239
0.193252
0.141104
0
0
0
0
0
0
0.013298
0.2
470
15
98
31.333333
0.853723
0.219149
0
0.222222
0
0
0.18956
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
85bbdc7eaa831c1d3ccc808fec247c1b624b1083
274
py
Python
src/features/base.py
MOCOS-COVID19/population-generator
18a8087bebf1c0177c65cc87c86e6f14b2ef5853
[ "MIT" ]
null
null
null
src/features/base.py
MOCOS-COVID19/population-generator
18a8087bebf1c0177c65cc87c86e6f14b2ef5853
[ "MIT" ]
3
2020-04-06T12:37:15.000Z
2020-10-07T06:57:54.000Z
src/features/base.py
MOCOS-COVID19/population-generator
18a8087bebf1c0177c65cc87c86e6f14b2ef5853
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from typing import Union class FeatureParams: pass class Feature: def generate(self, params: FeatureParams, population: pd.DataFrame) -> pd.DataFrame: raise NotImplementedError('Each feature should implement this')
21.076923
88
0.751825
34
274
6.058824
0.735294
0.106796
0
0
0
0
0
0
0
0
0
0
0.186131
274
12
89
22.833333
0.923767
0
0
0
1
0
0.124088
0
0
0
0
0
0
1
0.125
false
0.125
0.375
0
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
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
4
85bd104580a521268ebd8c4f999457670b64b853
394
py
Python
fisspy/data/sample.py
SNU-sunday/FISS-PYTHON
f79420debef476a904356d42542cb6472990bb2f
[ "BSD-2-Clause" ]
3
2017-02-18T06:42:08.000Z
2021-01-05T04:15:08.000Z
fisspy/data/sample.py
SNU-sunday/fisspy
f79420debef476a904356d42542cb6472990bb2f
[ "BSD-2-Clause" ]
1
2019-06-30T10:35:27.000Z
2019-06-30T10:35:27.000Z
fisspy/data/sample.py
SNU-sunday/FISS-PYTHON
f79420debef476a904356d42542cb6472990bb2f
[ "BSD-2-Clause" ]
1
2017-02-23T05:24:13.000Z
2017-02-23T05:24:13.000Z
"""FISSPy sample data files""" from __future__ import absolute_import from ._sample import sampledir, files, download_sample_data import sys from os.path import isfile, join if isfile(join(sampledir, files[1])): setattr(sys.modules[__name__],'FISS_IMAGE',join(sampledir,files[1])) else: download_sample_data() setattr(sys.modules[__name__],'FISS_IMAGE',join(sampledir,files[1]))
30.307692
72
0.763959
55
394
5.109091
0.418182
0.199288
0.192171
0.202847
0.348754
0.348754
0.348754
0.348754
0.348754
0.348754
0
0.008547
0.109137
394
12
73
32.833333
0.792023
0.060914
0
0.222222
0
0
0.054945
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
a46843ac97b14178a7407a26edd19958473a3f3b
27
py
Python
tewst.py
sakivatansever/test
a77012e74039efbda2a59313ac42f85293aba16b
[ "MIT" ]
null
null
null
tewst.py
sakivatansever/test
a77012e74039efbda2a59313ac42f85293aba16b
[ "MIT" ]
1
2022-02-22T10:33:58.000Z
2022-02-22T10:33:58.000Z
tewst.py
sakivatansever/test
a77012e74039efbda2a59313ac42f85293aba16b
[ "MIT" ]
null
null
null
isim="ahmet" print(isim)
9
13
0.666667
4
27
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
3
14
9
0.782609
0
0
0
0
0
0.192308
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
a46936d541c1607867f9701c94ecdc2237d07980
152
py
Python
atcoder/contests/abc188/B.py
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
atcoder/contests/abc188/B.py
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
atcoder/contests/abc188/B.py
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
n = int(input()) a = list(map(int, input().split())) b = list(map(int, input().split())) print('Yes' if sum(x * y for x, y in zip(a, b)) == 0 else 'No')
38
63
0.559211
31
152
2.741935
0.645161
0.282353
0.235294
0.352941
0.470588
0
0
0
0
0
0
0.007874
0.164474
152
4
63
38
0.661417
0
0
0
0
0
0.03268
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a4a48dd4c33788afae173e74f445729a320c3432
305
py
Python
bye_bye_game.py
colticol/bye-bye-game
abcb506d16483665ad04e3c17961448be2d52019
[ "MIT" ]
null
null
null
bye_bye_game.py
colticol/bye-bye-game
abcb506d16483665ad04e3c17961448be2d52019
[ "MIT" ]
null
null
null
bye_bye_game.py
colticol/bye-bye-game
abcb506d16483665ad04e3c17961448be2d52019
[ "MIT" ]
null
null
null
import random def main(): total = 0 num = 10000000 max_money = 0 for i in range(num): money = 1 while random.choice([True, False]): money *= 2 total += money max_money = max(money, max_money) print float(total) / num print max_money if __name__ == '__main__': main()
16.944444
39
0.616393
44
305
4
0.545455
0.227273
0.221591
0.181818
0.164773
0
0
0
0
0
0
0.053812
0.268852
305
17
40
17.941176
0.735426
0
0
0
0
0
0.02623
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.133333
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
1
0
0
0
0
0
0
0
0
4
8efa2bf5415e03315e0892ce7702b9a92234c428
138
py
Python
04_test_automation/CSV/02_csv.py
twiindan/api_lessons
d99691f27b4842113dea4c6414c5e4dacae14541
[ "Apache-2.0" ]
null
null
null
04_test_automation/CSV/02_csv.py
twiindan/api_lessons
d99691f27b4842113dea4c6414c5e4dacae14541
[ "Apache-2.0" ]
null
null
null
04_test_automation/CSV/02_csv.py
twiindan/api_lessons
d99691f27b4842113dea4c6414c5e4dacae14541
[ "Apache-2.0" ]
1
2020-07-16T09:49:47.000Z
2020-07-16T09:49:47.000Z
import csv csv_file = open("example.csv", "r") csv_reader = csv.reader(csv_file) for row in csv_reader: print(row) csv_file.close()
15.333333
35
0.710145
24
138
3.875
0.5
0.225806
0.258065
0
0
0
0
0
0
0
0
0
0.152174
138
8
36
17.25
0.794872
0
0
0
0
0
0.086957
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
f1003e1a390b655f3183ab1b0f0112ea258b77d4
58
py
Python
sys/DB/__init__.py
Jancgk/RPI-EnvironmentalMonitoring
d837d3021c72f8bcf931e47237dbd5fedce6a732
[ "MIT" ]
null
null
null
sys/DB/__init__.py
Jancgk/RPI-EnvironmentalMonitoring
d837d3021c72f8bcf931e47237dbd5fedce6a732
[ "MIT" ]
null
null
null
sys/DB/__init__.py
Jancgk/RPI-EnvironmentalMonitoring
d837d3021c72f8bcf931e47237dbd5fedce6a732
[ "MIT" ]
null
null
null
#!/usr/bin/python # coding=utf-8 from . import Wdb,Rdb
14.5
21
0.655172
10
58
3.8
1
0
0
0
0
0
0
0
0
0
0
0.020833
0.172414
58
4
21
14.5
0.770833
0.5
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
f1049350d50e035138cbe68bd3e167cb335679eb
90
py
Python
text/detector/utils/__init__.py
neilsonxia/chineseocr
269360773e8100a84bbbcc6f773d2a00a540a691
[ "MIT" ]
3
2018-11-14T03:13:46.000Z
2019-02-13T03:29:44.000Z
text/detector/utils/__init__.py
neilsonxia/chineseocr
269360773e8100a84bbbcc6f773d2a00a540a691
[ "MIT" ]
null
null
null
text/detector/utils/__init__.py
neilsonxia/chineseocr
269360773e8100a84bbbcc6f773d2a00a540a691
[ "MIT" ]
null
null
null
from . import cython_nms try: from . import gpu_nms except: gpu_nms = cython_nms
12.857143
24
0.7
14
90
4.214286
0.5
0.338983
0
0
0
0
0
0
0
0
0
0
0.244444
90
6
25
15
0.867647
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f10f3b720844b90f3b1df10b6533c22bada595b9
45
py
Python
src/cory/dao/reminder_dao.py
MBogert/ReminderCory
a687c70a12f49a807d9fb023d45f799292a37f26
[ "MIT" ]
null
null
null
src/cory/dao/reminder_dao.py
MBogert/ReminderCory
a687c70a12f49a807d9fb023d45f799292a37f26
[ "MIT" ]
null
null
null
src/cory/dao/reminder_dao.py
MBogert/ReminderCory
a687c70a12f49a807d9fb023d45f799292a37f26
[ "MIT" ]
null
null
null
class ReminderDao: def __init__(self):
9
20
0.688889
5
45
5.4
1
0
0
0
0
0
0
0
0
0
0
0
0.222222
45
5
21
9
0.771429
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
f18309bebb8eb92b290b05d4218a0a78830f5d79
113
py
Python
ABC/abc001-abc050/abc010/a.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
2
2020-06-12T09:54:23.000Z
2021-05-04T01:34:07.000Z
ABC/abc001-abc050/abc010/a.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
961
2020-06-23T07:26:22.000Z
2022-03-31T21:34:52.000Z
ABC/abc001-abc050/abc010/a.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- def main(): print(input() + 'pp') if __name__ == '__main__': main()
11.3
27
0.451327
12
113
3.583333
0.833333
0
0
0
0
0
0
0
0
0
0
0.012987
0.318584
113
9
28
12.555556
0.545455
0.185841
0
0
0
0
0.123457
0
0
0
0
0
0
1
0.25
true
0
0
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
f18d918d1e7378667a18f79abc712debf293360d
78
py
Python
{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/__init__.py
lixar/giant-plugin
f55324319e4f404f9b7acc1bc865e904bb150537
[ "MIT" ]
null
null
null
{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/__init__.py
lixar/giant-plugin
f55324319e4f404f9b7acc1bc865e904bb150537
[ "MIT" ]
null
null
null
{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/__init__.py
lixar/giant-plugin
f55324319e4f404f9b7acc1bc865e904bb150537
[ "MIT" ]
null
null
null
#!/usr/bin/env python from .{{ cookiecutter.repo_name }} import SwaggerPirate
26
55
0.75641
10
78
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.102564
78
3
55
26
0.828571
0.25641
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
1
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
74c6378ce40a2bb950de22a9578620cd594c2274
116
py
Python
airflow_plugins/operators/slack/__init__.py
storiesbi/airflow_plugins
2762a2f1725487dd9605ce11c8e37772adbd5767
[ "MIT" ]
15
2018-01-19T16:14:23.000Z
2022-02-09T12:33:34.000Z
airflow_plugins/operators/slack/__init__.py
storiesbi/airflow_plugins
2762a2f1725487dd9605ce11c8e37772adbd5767
[ "MIT" ]
2
2018-10-04T22:14:04.000Z
2021-03-25T21:46:52.000Z
airflow_plugins/operators/slack/__init__.py
storiesbi/airflow_plugins
2762a2f1725487dd9605ce11c8e37772adbd5767
[ "MIT" ]
4
2018-01-25T06:05:40.000Z
2019-02-25T14:21:40.000Z
from .operators import Message from .sensors import SlackMessageSensor __all__ = ['Message', 'SlackMessageSensor']
23.2
43
0.801724
11
116
8.090909
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.112069
116
4
44
29
0.864078
0
0
0
0
0
0.215517
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
74cdf67b4a1f891862647bcbd382274374dd769d
966
py
Python
tests/test_math.py
kdbasema/bug-free-robot
fa025e44af8fadb01afbc636903502f929aca9d8
[ "BSD-3-Clause" ]
null
null
null
tests/test_math.py
kdbasema/bug-free-robot
fa025e44af8fadb01afbc636903502f929aca9d8
[ "BSD-3-Clause" ]
null
null
null
tests/test_math.py
kdbasema/bug-free-robot
fa025e44af8fadb01afbc636903502f929aca9d8
[ "BSD-3-Clause" ]
null
null
null
""" File for testing the math.py module """ import bug_free_robot as bfr import pytest def test_add(): assert bfr.math.add(5, 2) == 7 assert bfr.math.add(3, 8) == 11 testdata = [ (2, 5, 10), (1, 2, 2), (11, 9, 99), (11, 0, 0), (0, 0, 0), ] @pytest.mark.parametrize("a,b,expected", testdata) def test_mult(a, b, expected): assert bfr.math.mult(a, b) == expected assert bfr.math.mult(b, a) == expected def test_div(): assert bfr.math.div(5, 5) == 1 assert bfr.math.div(9, 3) == 3 def test_subtract(): assert bfr.math.subtract(5, 2) == 3 assert bfr.math.subtract(3, 8) == -5 def test_power(): assert bfr.math.power(2, 3) == 8 assert bfr.math.power(3, 3) == 27 def test_degtorad(): assert bfr.math.degtorad(45) == 3.14159 / 4 assert bfr.math.degtorad(180) == 3.14159 def test_radtodeg(): assert bfr.math.radtodeg(3.14159) == 180 assert bfr.math.radtodeg(3.14159 * 0.5) == 90
19.32
50
0.600414
163
966
3.503067
0.288344
0.220666
0.318739
0.056042
0.196147
0.196147
0.101576
0.101576
0
0
0
0.109333
0.223602
966
49
51
19.714286
0.652
0.036232
0
0
0
0
0.013001
0
0
0
0
0
0.451613
1
0.225806
false
0
0.064516
0
0.290323
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
4
74f4e6c2883d4413b2456f9cf39b8491b135c3db
166
py
Python
tests/bootstrap/__init__.py
matt-mercer/localstack
b69ba25e495c6ef889d33a050b216d0cd1035041
[ "Apache-2.0" ]
31,928
2017-07-04T03:06:28.000Z
2022-03-31T22:33:27.000Z
tests/bootstrap/__init__.py
matt-mercer/localstack
b69ba25e495c6ef889d33a050b216d0cd1035041
[ "Apache-2.0" ]
5,216
2017-07-04T11:45:41.000Z
2022-03-31T22:02:14.000Z
tests/bootstrap/__init__.py
matt-mercer/localstack
b69ba25e495c6ef889d33a050b216d0cd1035041
[ "Apache-2.0" ]
3,056
2017-06-05T13:29:11.000Z
2022-03-31T20:54:43.000Z
"""Bootstrapping is the process of starting localstack. This is not always testable in the regular integration test environment. This is what this module is for. """
55.333333
115
0.789157
25
166
5.24
0.76
0.091603
0
0
0
0
0
0
0
0
0
0
0.156627
166
2
116
83
0.935714
0.951807
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
74fbcd46f1a4fa27c2ae5ffff394bc59b1233569
72
py
Python
datetime_machine/version.py
develmaycare/python-datetime-machine
35a04ae48274d04f686041c5846608c83de8ff99
[ "BSD-3-Clause" ]
null
null
null
datetime_machine/version.py
develmaycare/python-datetime-machine
35a04ae48274d04f686041c5846608c83de8ff99
[ "BSD-3-Clause" ]
7
2016-12-19T22:35:08.000Z
2017-03-12T21:12:32.000Z
datetime_machine/version.py
develmaycare/python-datetime-machine
35a04ae48274d04f686041c5846608c83de8ff99
[ "BSD-3-Clause" ]
null
null
null
DATE = "2021-02-28" VERSION = "0.10.3-x" MAJOR = 0 MINOR = 10 PATCH = 3
12
20
0.597222
15
72
2.866667
0.8
0
0
0
0
0
0
0
0
0
0
0.280702
0.208333
72
5
21
14.4
0.473684
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2d09ad7f9a087c2edaba437a3fd6e5b54720c6fe
542
py
Python
Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/msvc/pdb/__init__.py
ltmakela/ITK
21f48c6d98e21ecece09be16a747221d7094d8a9
[ "Apache-2.0" ]
4
2015-05-22T03:47:43.000Z
2016-06-16T20:57:21.000Z
Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/msvc/pdb/__init__.py
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
null
null
null
Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/msvc/pdb/__init__.py
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
9
2016-06-23T16:03:12.000Z
2022-03-31T09:25:08.000Z
import os import sys import ctypes import pprint import logging import comtypes import comtypes.client from . import impl_details from ... import utils from ... import declarations from .. import config as msvc_cfg msdia = comtypes.client.GetModule( msvc_cfg.msdia_path ) #~ comtypes_client_gen_dir = comtypes.client.gen_dir #~ try: #~ comtypes.client.gen_dir = None #~ msdia = comtypes.client.GetModule( msvc_cfg.msdia_path ) #~ finally: #~ comtypes.client.gen_dir = comtypes_client_gen_dir from loader import decl_loader_t
21.68
63
0.769373
76
542
5.263158
0.368421
0.28
0.2125
0.25
0.42
0.42
0.42
0.42
0
0
0
0
0.147601
542
24
64
22.583333
0.865801
0.383764
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.923077
0
0.923077
0.076923
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
1
0
0
0
0
4
2d2c9685cfa6a85841fbf0692ea53fbec8e69183
1,491
py
Python
setup.py
lud0/NYTimesArticleAPI
09c7868f8a4e1fe6a975a773262b769575673f23
[ "MIT" ]
null
null
null
setup.py
lud0/NYTimesArticleAPI
09c7868f8a4e1fe6a975a773262b769575673f23
[ "MIT" ]
null
null
null
setup.py
lud0/NYTimesArticleAPI
09c7868f8a4e1fe6a975a773262b769575673f23
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="NYTimesArticleAPI", description="Python wrapper for the New York Times Article Search API", version="1.0.0", author="Matt Morrison (@MattDMo)", author_email="mattdmo@pigimal.com", url="https://github.com/MattDMo/NYTimesArticleAPI", license="MIT", long_description=open("README.rst").read(), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary", "Topic :: Office/Business :: News/Diary", "Topic :: Software Development :: Libraries :: Python Modules", ], install_requires=[ "requests >= 2.24.0", "setuptools >= 39.0.1", "urllib3 >= 1.26.2" ], packages=[ "NYTimesArticleAPI", ], keywords="nytimes new york times api article search nyt journalism news", test_suite="NYTimesArticleAPI.tests.NYTimesArticleAPITests", zip_safe=True, )
36.365854
77
0.608317
154
1,491
5.857143
0.584416
0.168514
0.221729
0.172949
0.059867
0
0
0
0
0
0
0.027605
0.246814
1,491
40
78
37.275
0.775601
0
0
0.076923
0
0
0.631791
0.030852
0
0
0
0
0
1
0
true
0
0.025641
0
0.025641
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
2d30f38b52fa99ad20336ca3b026740829ce9b1f
112
py
Python
central_erros/api/admin.py
MarioGN/aceleradev-python-central-de-erros
02da65a2dd40c943be42d2e8c91797aaa09eb2f4
[ "MIT" ]
1
2020-06-09T21:25:34.000Z
2020-06-09T21:25:34.000Z
central_erros/api/admin.py
MarioGN/aceleradev-python-central-de-erros
02da65a2dd40c943be42d2e8c91797aaa09eb2f4
[ "MIT" ]
3
2021-03-30T13:38:57.000Z
2021-09-22T19:09:21.000Z
central_erros/api/admin.py
MarioGN/aceleradev-python-central-de-erros
02da65a2dd40c943be42d2e8c91797aaa09eb2f4
[ "MIT" ]
null
null
null
from django.contrib import admin from central_erros.api.models import ErrorLog admin.site.register(ErrorLog)
16
45
0.830357
16
112
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.107143
112
6
46
18.666667
0.92
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
2d3db42f4e3ff02e77406545eb1a6f8daee191d3
919
py
Python
myfunds/modules/reparser/__init__.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
myfunds/modules/reparser/__init__.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
myfunds/modules/reparser/__init__.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
from typing import List from typing import Type from . import monobank from . import privat24 from .base import Replenishment from .base import ReportParser from .base import Transaction from .base import Withdrawal _report_parsers = [ monobank.Monobank_UK_UAH, privat24.Privat24_UK_UAH, ] _report_parsers_map = {i.identifier(): i for i in _report_parsers} def get_parser(id_: str) -> Type[ReportParser]: return _report_parsers_map.get(id_) def get_parsers() -> List[Type[ReportParser]]: return list(sorted(_report_parsers.copy(), key=lambda i: i.name())) def get_parsers_by_currency(currency_code: str) -> List[Type[ReportParser]]: return list(filter(lambda i: i.currency_code == currency_code, get_parsers())) def is_replenishment(txn: Transaction) -> bool: return isinstance(txn, Replenishment) def is_withdrawal(txn: Transaction) -> bool: return isinstance(txn, Withdrawal)
24.837838
82
0.757345
124
919
5.379032
0.322581
0.097451
0.083958
0.077961
0.2009
0.110945
0
0
0
0
0
0.007614
0.142546
919
36
83
25.527778
0.838832
0
0
0
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.347826
0.217391
0.782609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
4
2d459121caa5e59b1a5e416cb9e6fe84eb7e4295
86
py
Python
helios/plato/django/server/apps.py
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
44
2019-12-13T06:39:13.000Z
2022-03-29T23:09:28.000Z
helios/plato/django/server/apps.py
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
222
2020-01-14T21:58:56.000Z
2022-03-31T20:05:12.000Z
helios/plato/django/server/apps.py
debjyoti0891/map
abdae67964420d7d36255dcbf83e4240a1ef4295
[ "MIT" ]
19
2020-01-03T19:03:22.000Z
2022-01-09T08:36:20.000Z
from django.apps import AppConfig class platoServer(AppConfig): name = 'server'
14.333333
33
0.744186
10
86
6.4
0.9
0
0
0
0
0
0
0
0
0
0
0
0.174419
86
5
34
17.2
0.901408
0
0
0
0
0
0.069767
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
74299dbb26dc96fbcd0716ef64629f2a49293d34
139
py
Python
Proyecto/simulation/set_off_classes/bikes/suzuki.py
arnel-sanchez/IA-Sim-Com
22023342f20202b260caa759af9cce71d803663e
[ "MIT" ]
2
2021-11-20T23:35:20.000Z
2021-12-10T17:45:56.000Z
Proyecto/simulation/set_off_classes/bikes/suzuki.py
arnel-sanchez/IA-Sim-Com
22023342f20202b260caa759af9cce71d803663e
[ "MIT" ]
null
null
null
Proyecto/simulation/set_off_classes/bikes/suzuki.py
arnel-sanchez/IA-Sim-Com
22023342f20202b260caa759af9cce71d803663e
[ "MIT" ]
1
2022-02-11T07:24:50.000Z
2022-02-11T07:24:50.000Z
from simulation.bike import Bike class Suzuki(Bike): def __init__(self): super().__init__("Suzuki", "GSX-RR 2021", 340, 157)
19.857143
59
0.661871
19
139
4.421053
0.789474
0
0
0
0
0
0
0
0
0
0
0.089286
0.194245
139
6
60
23.166667
0.660714
0
0
0
0
0
0.122302
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4