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
a51d514c780a6893ef898cccf5f0168451f11029
180
py
Python
src/5.py
ashukla02/python-challenge
3b1d483023a9f082ece40f027536917174b0d971
[ "MIT" ]
null
null
null
src/5.py
ashukla02/python-challenge
3b1d483023a9f082ece40f027536917174b0d971
[ "MIT" ]
null
null
null
src/5.py
ashukla02/python-challenge
3b1d483023a9f082ece40f027536917174b0d971
[ "MIT" ]
null
null
null
from pickle import Unpickler obj = Unpickler(open('../data/5.dat')).load() for l in obj: chars = '' for pair in l: chars = chars + pair[0]*pair[1] print chars
20
45
0.594444
28
180
3.821429
0.642857
0
0
0
0
0
0
0
0
0
0
0.022388
0.255556
180
8
46
22.5
0.776119
0
0
0
0
0
0.072222
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
eb52bd66073bc3229b2bd8a33bf39b198f13852b
333
py
Python
sample/encode.py
webmaster254/Fullstack-Django-and-React-Native-Mpesa-API
8e8ffb749af5e953683bfca4722e06ec7c6204a7
[ "MIT" ]
null
null
null
sample/encode.py
webmaster254/Fullstack-Django-and-React-Native-Mpesa-API
8e8ffb749af5e953683bfca4722e06ec7c6204a7
[ "MIT" ]
null
null
null
sample/encode.py
webmaster254/Fullstack-Django-and-React-Native-Mpesa-API
8e8ffb749af5e953683bfca4722e06ec7c6204a7
[ "MIT" ]
null
null
null
import base64 import keys def generate_password(formatted_time): #encoding and decoding our password data_to_encode=keys.Business_shortCode +keys.lipa_na_mpesa_passkey + formatted_time encoded_string=base64.b64encode(data_to_encode.encode()) decoded_password=encoded_string.decode('utf-8') return dec...
30.272727
87
0.816817
45
333
5.711111
0.644444
0.101167
0.093385
0
0
0
0
0
0
0
0
0.023729
0.114114
333
11
88
30.272727
0.847458
0.105105
0
0
1
0
0.016779
0
0
0
0
0
0
1
0.142857
false
0.571429
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
eb5e42a68b0fef84d9618c91bee4f49e63e1f7a6
23,391
py
Python
tests/models/test_asset.py
gcodebackups/oyprojectmanager
3085ecbe1cc04a73ec69b4848b789009546feae7
[ "BSD-2-Clause" ]
1
2017-04-06T03:02:23.000Z
2017-04-06T03:02:23.000Z
tests/models/test_asset.py
gcodebackups/oyprojectmanager
3085ecbe1cc04a73ec69b4848b789009546feae7
[ "BSD-2-Clause" ]
null
null
null
tests/models/test_asset.py
gcodebackups/oyprojectmanager
3085ecbe1cc04a73ec69b4848b789009546feae7
[ "BSD-2-Clause" ]
2
2016-12-02T10:15:08.000Z
2020-02-15T15:51:21.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2009-2012, Erkan Ozgur Yilmaz # # This module is part of oyProjectManager and is released under the BSD 2 # License: http://www.opensource.org/licenses/BSD-2-Clause import os import shutil import tempfile import unittest from sqlalchemy.exc import IntegrityError from oyProjectM...
35.280543
94
0.594588
2,759
23,391
4.865169
0.085901
0.04157
0.039708
0.048499
0.825821
0.793712
0.739999
0.688892
0.619012
0.583923
0
0.023287
0.306058
23,391
662
95
35.333837
0.802551
0.203326
0
0.58209
0
0
0.076327
0.011987
0
0
0
0
0.228856
1
0.109453
false
0
0.014925
0
0.126866
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ebb155b656c7f6a5dad988fe70e687a7a61073c5
263
py
Python
Day-2/day-2-1-exercise.py
NaviRocker/100-days-of-python
392b8cac6dc06100bedef093d10edf49eccfab1f
[ "MIT" ]
5
2021-02-04T20:34:18.000Z
2021-03-03T19:41:00.000Z
Day-2/day-2-1-exercise.py
NaviRocker/100-days-of-python
392b8cac6dc06100bedef093d10edf49eccfab1f
[ "MIT" ]
1
2021-10-01T16:23:05.000Z
2021-10-01T16:23:05.000Z
Day-2/day-2-1-exercise.py
NaviRocker/100-days-of-python
392b8cac6dc06100bedef093d10edf49eccfab1f
[ "MIT" ]
null
null
null
# 🚨 Don't change the code below 👇 two_digit_number = input("Type a two digit number: ") # 🚨 Don't change the code above 👆 #################################### #Write your code below this line 👇 a = int(two_digit_number[0]) b = int(two_digit_number[1]) print(a+b)
29.222222
53
0.604563
47
263
3.361702
0.531915
0.202532
0.35443
0.139241
0.227848
0.227848
0
0
0
0
0
0.008929
0.148289
263
9
54
29.222222
0.674107
0.365019
0
0
0
0
0.195313
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
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
3
ebc7be10234e950cb40a3aff45b440c2c126c650
6,094
py
Python
wizard_builder/view_helpers.py
SexualHealthInnovations/django-wizard-builder
f5effe8c462313f16be914b562dbea8ea796b672
[ "BSD-3-Clause" ]
16
2016-06-21T04:05:24.000Z
2017-09-26T15:40:24.000Z
wizard_builder/view_helpers.py
SexualHealthInnovations/django-wizard-builder
f5effe8c462313f16be914b562dbea8ea796b672
[ "BSD-3-Clause" ]
141
2016-06-21T20:46:46.000Z
2017-09-28T00:20:49.000Z
wizard_builder/view_helpers.py
project-callisto/django-wizard-builder
f5effe8c462313f16be914b562dbea8ea796b672
[ "BSD-3-Clause" ]
7
2017-10-04T22:52:18.000Z
2018-05-31T17:14:39.000Z
import logging from copy import copy from django.urls import reverse from . import managers from .data_helper import SerializedDataHelper logger = logging.getLogger(__name__) class StepsHelper(object): done_name = 'done' review_name = 'Review' next_name = 'Next' back_name = 'Back' wizard_goto_n...
26.267241
79
0.640138
775
6,094
4.752258
0.145806
0.070595
0.076025
0.043986
0.307358
0.154222
0.072224
0.041271
0
0
0
0.00136
0.275845
6,094
231
80
26.380952
0.83322
0.047916
0
0.24
0
0
0.018361
0.003811
0
0
0
0.008658
0
1
0.217143
false
0
0.028571
0.137143
0.537143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ebe8943bffd914060b6e05ff063a69178f60e988
80
py
Python
Algorithms/Python/Worm-up/009. Birthday Cake Candles.py
mhmdreda99/HackerRank_Solutions
4531ecb97ec30953ee8de6ebf8572af2b2bca764
[ "MIT" ]
2
2020-10-11T07:30:09.000Z
2020-10-11T07:30:11.000Z
Algorithms/Python/Worm-up/009. Birthday Cake Candles.py
mhmdreda99/HackerRank_Solutions
4531ecb97ec30953ee8de6ebf8572af2b2bca764
[ "MIT" ]
null
null
null
Algorithms/Python/Worm-up/009. Birthday Cake Candles.py
mhmdreda99/HackerRank_Solutions
4531ecb97ec30953ee8de6ebf8572af2b2bca764
[ "MIT" ]
null
null
null
n = int(input()) ar = list(map(int, input().split())) print(ar.count(max(ar)))
16
36
0.6
14
80
3.428571
0.714286
0.333333
0
0
0
0
0
0
0
0
0
0
0.1125
80
4
37
20
0.676056
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ccdda03a2c9eb66b6d2ecdc9f2fd849c54733664
74
py
Python
code/abc058_b_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc058_b_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc058_b_01.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
o=list(input()) e=list(input())+[""] for x,y in zip(o,e):print(x+y,end="")
24.666667
37
0.567568
17
74
2.470588
0.647059
0.428571
0
0
0
0
0
0
0
0
0
0
0.067568
74
3
37
24.666667
0.608696
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cce599fc232db4e46b088bd7dc38445d942ce390
102
py
Python
aoc_21/day6/second.py
shauray8/advent-of-code
1d0e57430b4dc45b67d1fbb349a817d7fa4b192b
[ "Unlicense" ]
null
null
null
aoc_21/day6/second.py
shauray8/advent-of-code
1d0e57430b4dc45b67d1fbb349a817d7fa4b192b
[ "Unlicense" ]
null
null
null
aoc_21/day6/second.py
shauray8/advent-of-code
1d0e57430b4dc45b67d1fbb349a817d7fa4b192b
[ "Unlicense" ]
null
null
null
import os import numpy as np fn = "data.in" tfn = "try.in" lis = open(fn).read().strip().split("\n")
17
41
0.617647
19
102
3.315789
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.156863
102
5
42
20.4
0.732558
0
0
0
0
0
0.147059
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ccf9c7ee2565962b9dc5a1b072a1bb4b278eee4a
17,871
py
Python
code/utils_data.py
egrcc/Review-Response-Generation
376998e800ce93f8d54d47f7f9f90a60f5f4eaab
[ "MIT" ]
8
2019-06-28T17:14:10.000Z
2021-10-17T05:57:53.000Z
code/utils_data.py
egrcc/Review-Response-Generation
376998e800ce93f8d54d47f7f9f90a60f5f4eaab
[ "MIT" ]
4
2019-06-28T17:31:06.000Z
2021-04-20T06:05:03.000Z
code/utils_data.py
egrcc/Review-Response-Generation
376998e800ce93f8d54d47f7f9f90a60f5f4eaab
[ "MIT" ]
6
2019-09-11T01:32:41.000Z
2021-04-14T06:50:36.000Z
import numpy as np import collections import cPickle as pickle import os import random from gensim.models import word2vec def bulid_vocab(dataset, vocab_size): f1 = open("dataset/%s/train_source.txt" % (dataset, ), "r") f2 = open("dataset/%s/valid_source.txt" % (dataset, ), "r") f1_2 = open("...
40.340858
115
0.583739
2,750
17,871
3.514909
0.046545
0.032071
0.049348
0.052142
0.856094
0.807469
0.748293
0.681564
0.547589
0.477964
0
0.020471
0.24011
17,871
442
116
40.432127
0.691311
0.002182
0
0.318033
0
0
0.140333
0.08093
0
0
0
0
0
1
0.04918
false
0
0.019672
0
0.104918
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6919611937519c57edc34e6015b13f38d3ec9121
178
py
Python
teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/logcat/urlrouter/logcat_urls.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
6
2018-11-26T08:42:52.000Z
2020-06-01T08:33:48.000Z
teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/logcat/urlrouter/logcat_urls.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
null
null
null
teamcat_service/docker_build/target/one_step_build/teamcat/doraemon/logcat/urlrouter/logcat_urls.py
zhangyin2088/Teamcat
be9be8d7c1e58c8d2d22ab78d25783d9aee4de71
[ "Apache-2.0" ]
1
2019-01-22T06:45:36.000Z
2019-01-22T06:45:36.000Z
#coding=utf-8 # coding=utf-8 ''' Created on 2014-1-5 @author: ETHAN ''' from doraemon.logcat.urlrouter.logcat_home import logcat_home_router urlpatterns =logcat_home_router
12.714286
68
0.769663
27
178
4.888889
0.666667
0.227273
0.151515
0
0
0
0
0
0
0
0
0.050955
0.117978
178
13
69
13.692308
0.789809
0.342697
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
69445684313732b5b0c92d52319e0b83a3200362
628
py
Python
functions/menus.py
bmarkowitz/nhl-api-cli
79bba8e78cf2e011371816de98649f1af4b5cfc9
[ "MIT" ]
null
null
null
functions/menus.py
bmarkowitz/nhl-api-cli
79bba8e78cf2e011371816de98649f1af4b5cfc9
[ "MIT" ]
null
null
null
functions/menus.py
bmarkowitz/nhl-api-cli
79bba8e78cf2e011371816de98649f1af4b5cfc9
[ "MIT" ]
null
null
null
def menu(): """ Handles the displaying of the main menu """ print('// Main Menu: ') print('1. Teams') print('2. Players') print('0. Exit') def teams_menu(): """ Handles the displaying of the teams menu """ print('// Teams Menu: ') print('1. Display basic team info') print('2. Displa...
29.904762
54
0.605096
87
628
4.344828
0.356322
0.142857
0.111111
0.190476
0.346561
0.346561
0
0
0
0
0
0.020833
0.235669
628
21
55
29.904762
0.766667
0.199045
0
0.125
0
0
0.43595
0
0
0
0
0
0
1
0.1875
true
0
0
0
0.1875
0.8125
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
0
0
0
1
0
3
694684d9235bc738ff36f31768298706d9def626
3,082
py
Python
app/forms.py
chaerim-kim/Unicycles
94b849182199c72bb7fed6641e2e06a52441076f
[ "MIT" ]
null
null
null
app/forms.py
chaerim-kim/Unicycles
94b849182199c72bb7fed6641e2e06a52441076f
[ "MIT" ]
null
null
null
app/forms.py
chaerim-kim/Unicycles
94b849182199c72bb7fed6641e2e06a52441076f
[ "MIT" ]
null
null
null
from flask_wtf import Form from wtforms import TextField, RadioField, IntegerField, TimeField, SelectField, PasswordField, BooleanField, DecimalField from wtforms.fields.html5 import DateField from wtforms.validators import DataRequired class CardDetailForm(Form): CardHolderName = TextField('cardname', validators=...
52.237288
165
0.697274
278
3,082
7.719424
0.309353
0.266542
0.075489
0.065238
0.10904
0.10904
0.10904
0.10904
0.10904
0.10904
0
0.014391
0.120701
3,082
58
166
53.137931
0.777491
0
0
0.086957
0
0
0.164828
0
0
0
0
0
0
1
0
false
0.086957
0.086957
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
0
1
0
0
1
0
0
3
15e21344a9ad6a1391ee27655277d558575b6440
4,805
py
Python
api/apis/notes.py
imdeepmind/ResearchNote
cfaed6076c028d83035d561456bbb911d43eedbe
[ "MIT" ]
null
null
null
api/apis/notes.py
imdeepmind/ResearchNote
cfaed6076c028d83035d561456bbb911d43eedbe
[ "MIT" ]
null
null
null
api/apis/notes.py
imdeepmind/ResearchNote
cfaed6076c028d83035d561456bbb911d43eedbe
[ "MIT" ]
null
null
null
from flask import Blueprint, request, make_response from utils import send_resp, logger from notes import Notes from authentication import Authentication from validator import validate notes_api = Blueprint('notes_api', __name__) notes = Notes() authentication = Authentication() @notes_api.route("/<id>", methods=["...
29.478528
127
0.695109
648
4,805
5.001543
0.146605
0.092564
0.133292
0.162913
0.748226
0.718605
0.674792
0.674792
0.674792
0.674792
0
0.036552
0.174402
4,805
163
128
29.478528
0.780439
0
0
0.614035
0
0
0.189555
0
0
0
0
0
0
1
0.052632
false
0
0.04386
0
0.307018
0.017544
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
15e7e77f20b4faf8122160a8ef118feabcdc71e3
724
py
Python
abc_exercise_randomizer/note.py
kwitee/ABCExerciseRandomizer
93b15ba9dec5b2ad71e6efc105a6957b6471cedb
[ "MIT" ]
null
null
null
abc_exercise_randomizer/note.py
kwitee/ABCExerciseRandomizer
93b15ba9dec5b2ad71e6efc105a6957b6471cedb
[ "MIT" ]
6
2020-05-22T09:55:10.000Z
2020-05-30T09:14:35.000Z
abc_exercise_randomizer/note.py
kwitee/AbcExerciseRandomizer
93b15ba9dec5b2ad71e6efc105a6957b6471cedb
[ "MIT" ]
null
null
null
from abc_exercise_randomizer.note_length import NoteLength from abc_exercise_randomizer.note_value import NoteValue class Note: __TIE = "-" def __init__(self, value: NoteValue, length: NoteLength, tie: bool): self.__value = value self.__length = length self.__tie = tie @property ...
24.133333
72
0.657459
88
724
4.954545
0.284091
0.103211
0.09633
0.114679
0.133028
0
0
0
0
0
0
0
0.255525
724
29
73
24.965517
0.808905
0
0
0.136364
0
0
0.029006
0
0
0
0
0
0
1
0.227273
false
0
0.090909
0.136364
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
15f1f13a3e967d1702b57b5e4fa8fa7d3fdf5932
227
py
Python
twofake/core/management/commands/deletelottery.py
j3ygh/universetech-lotterydraw
f3f85b1239bd290f243712ca6a2bf2b60d138661
[ "MIT" ]
null
null
null
twofake/core/management/commands/deletelottery.py
j3ygh/universetech-lotterydraw
f3f85b1239bd290f243712ca6a2bf2b60d138661
[ "MIT" ]
null
null
null
twofake/core/management/commands/deletelottery.py
j3ygh/universetech-lotterydraw
f3f85b1239bd290f243712ca6a2bf2b60d138661
[ "MIT" ]
null
null
null
from django.core.management.base import BaseCommand from core.models import Lottery class Command(BaseCommand): help = 'Delete lottery data' def handle(self, *args, **options): Lottery.objects.all().delete()
22.7
51
0.718062
28
227
5.821429
0.75
0
0
0
0
0
0
0
0
0
0
0
0.171806
227
9
52
25.222222
0.867021
0
0
0
0
0
0.0837
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c604690602a1802ebd8d2d45cf47322e205d3b58
2,997
py
Python
sprox/metadata.py
carl-wallace/sprox
69c8639b86318c28bbaad36125232d144d8be380
[ "MIT" ]
3
2015-07-03T16:31:22.000Z
2018-04-19T04:26:02.000Z
sprox/metadata.py
carl-wallace/sprox
69c8639b86318c28bbaad36125232d144d8be380
[ "MIT" ]
8
2015-02-23T23:01:50.000Z
2021-07-06T14:10:26.000Z
sprox/metadata.py
carl-wallace/sprox
69c8639b86318c28bbaad36125232d144d8be380
[ "MIT" ]
7
2015-06-14T04:07:53.000Z
2020-04-28T13:50:50.000Z
""" matadata Module This contains the class which defines the generic interface for metadata. Basically, it provides an interface for how data is extracted from the provider for widget generation. Copyright (c) 2008 Christopher Perkins Original Version by Christopher Perkins 2007 Released under MIT license. """ from ...
30.896907
97
0.67701
388
2,997
5.048969
0.335052
0.067381
0.045942
0.033691
0.206738
0.119959
0.067892
0.029607
0
0
0
0.003546
0.247247
2,997
96
98
31.21875
0.864805
0.317651
0
0.283019
0
0
0.016608
0
0
0
0
0
0
1
0.245283
false
0.056604
0.018868
0.018868
0.528302
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
c6156daa38be9b7aedc23b2323eb02c57299dbb7
1,146
py
Python
datavalidation/libraries/cerberus/validators.py
lifus/data-validation-benchmark
fca70230da3cb9e60ac4014b4a4c7c77b78027da
[ "Apache-2.0" ]
null
null
null
datavalidation/libraries/cerberus/validators.py
lifus/data-validation-benchmark
fca70230da3cb9e60ac4014b4a4c7c77b78027da
[ "Apache-2.0" ]
null
null
null
datavalidation/libraries/cerberus/validators.py
lifus/data-validation-benchmark
fca70230da3cb9e60ac4014b4a4c7c77b78027da
[ "Apache-2.0" ]
null
null
null
import cerberus import dateutil.parser TYPES = { 'simple': cerberus.Validator( { 'foo': { 'required': True, 'type': 'string', }, }, ), 'complex': cerberus.Validator( { 'boolean': { 'required': True,...
23.387755
56
0.28534
55
1,146
5.945455
0.418182
0.256881
0.342508
0.134557
0
0
0
0
0
0
0
0
0.575044
1,146
48
57
23.875
0.671458
0
0
0.282609
0
0
0.180628
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c633826b6e4622a13f47f6dc365f27d6269dd6d6
2,810
py
Python
routes/student/classs.py
fvergaracl/gonsa2_1
0cb705ca7ba717f0316f4764bbec9bbcb08fcc34
[ "MIT" ]
1
2020-07-19T03:17:12.000Z
2020-07-19T03:17:12.000Z
routes/student/classs.py
fvergaracl/gonsa2_1
0cb705ca7ba717f0316f4764bbec9bbcb08fcc34
[ "MIT" ]
1
2021-06-02T00:49:57.000Z
2021-06-02T00:49:57.000Z
routes/student/classs.py
fvergaracl/gonsa3
0cb705ca7ba717f0316f4764bbec9bbcb08fcc34
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from controllers.general_db_functions import * from controllers.controller_classs import * from routes.apidoc import * api_student_class = Namespace('student/class', description="Endpoints utilizados solo por estudiantes en clases") @api_student_class.route('/', methods=...
36.973684
125
0.619217
335
2,810
4.955224
0.319403
0.072289
0.039759
0.040964
0.66747
0.66747
0.66747
0.66747
0.66747
0.66747
0
0.020466
0.252313
2,810
76
126
36.973684
0.769634
0.047331
0
0.721311
0
0
0.222599
0
0
0
0
0.026316
0
1
0.032787
false
0
0.04918
0
0.180328
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
c64ed86590154feb1c7a0b398c62f6222c06f330
297
py
Python
wordrl/a2c/__init__.py
VictorButoi/WordRL
5a8af7c6f639d6d7eebf16d7859ef25dcf7ae85c
[ "MIT" ]
null
null
null
wordrl/a2c/__init__.py
VictorButoi/WordRL
5a8af7c6f639d6d7eebf16d7859ef25dcf7ae85c
[ "MIT" ]
2
2022-03-06T15:34:20.000Z
2022-03-06T17:17:24.000Z
wordrl/a2c/__init__.py
VictorButoi/WordRL
5a8af7c6f639d6d7eebf16d7859ef25dcf7ae85c
[ "MIT" ]
null
null
null
from a2c.sumchars import SumChars from a2c.embeddingchars import EmbeddingChars _registry = {} def register(ctor, name): _registry[name] = ctor def construct(name, **kwargs): return _registry[name](**kwargs) register(SumChars, "SumChars") register(EmbeddingChars, "EmbeddingChars")
17.470588
45
0.747475
32
297
6.84375
0.40625
0.063927
0
0
0
0
0
0
0
0
0
0.007813
0.138047
297
16
46
18.5625
0.847656
0
0
0
0
0
0.074074
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c6560783bd38bd871e40b05af489178ea5f35388
415
py
Python
debug.py
Ganesha2282882/Mini-OS
287f6f652b616405b36bf657069c18c4213d2b95
[ "MIT" ]
null
null
null
debug.py
Ganesha2282882/Mini-OS
287f6f652b616405b36bf657069c18c4213d2b95
[ "MIT" ]
null
null
null
debug.py
Ganesha2282882/Mini-OS
287f6f652b616405b36bf657069c18c4213d2b95
[ "MIT" ]
null
null
null
import os os.system("cp -R Program-Files backups") os.system("cp -R Downloads backups") os.system("cp -R Docs backups") os.system("cp -R Desktop backups") os.system("cp MAIN.sh backups") print("[Debugged Version] Mini OS 1.0 | Based off of GNU bash https://www.gnu.org/software/bash/!") while True: com = inpu...
21.842105
99
0.655422
70
415
3.885714
0.542857
0.205882
0.183824
0.161765
0.198529
0
0
0
0
0
0
0.005831
0.173494
415
18
100
23.055556
0.787172
0
0
0
0
0.083333
0.560386
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.083333
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d65e374ad2f76794061170cc031c3cf8b538a4ec
164
py
Python
prestring/types.py
podhmo/prestring
8a3499377d1b1b2b180809b31bd7536de5c3ec4d
[ "MIT" ]
8
2015-03-05T07:32:52.000Z
2022-03-11T09:28:21.000Z
prestring/types.py
podhmo/prestring
8a3499377d1b1b2b180809b31bd7536de5c3ec4d
[ "MIT" ]
19
2016-12-01T03:09:03.000Z
2021-03-28T05:27:35.000Z
prestring/types.py
podhmo/prestring
8a3499377d1b1b2b180809b31bd7536de5c3ec4d
[ "MIT" ]
1
2017-07-19T12:39:43.000Z
2017-07-19T12:39:43.000Z
import typing as t import typing_extensions as tx class Stringer(tx.Protocol): def __str__(self) -> str: ... StrOrStringer = t.Union[str, Stringer]
14.909091
38
0.682927
22
164
4.863636
0.636364
0.224299
0
0
0
0
0
0
0
0
0
0
0.213415
164
10
39
16.4
0.829457
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d66a1ac95d6b7a3553431f474e9609daf9b6d71a
385
py
Python
accounts_manager/account_info.py
cdcslab/facebook-scraper
79aafcb98c4f8ea698196edbe6bd4503f11e28f4
[ "MIT" ]
null
null
null
accounts_manager/account_info.py
cdcslab/facebook-scraper
79aafcb98c4f8ea698196edbe6bd4503f11e28f4
[ "MIT" ]
null
null
null
accounts_manager/account_info.py
cdcslab/facebook-scraper
79aafcb98c4f8ea698196edbe6bd4503f11e28f4
[ "MIT" ]
null
null
null
class AccountInfo(): def __init__(self, row_id, email, password, cookies, status_id): self.row_id = row_id self.email = email self.password = password self.cookies = cookies self.status_id = status_id def __repr__(self): return f"id: {self.row_id}, email: {self...
29.615385
112
0.638961
51
385
4.490196
0.27451
0.174672
0.117904
0.122271
0
0
0
0
0
0
0
0
0.244156
385
12
113
32.083333
0.786942
0
0
0
0
0.111111
0.244156
0
0
0
0
0
0
1
0.222222
false
0.333333
0
0.111111
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
d6837f844f3f704f6a92928b795284618550e2a9
444
py
Python
pyramid_request_schema/exceptions.py
sighalt/pyramid_request_schema
c4bfe3bd694c825892fce05b0f02569ea898a5b4
[ "MIT" ]
null
null
null
pyramid_request_schema/exceptions.py
sighalt/pyramid_request_schema
c4bfe3bd694c825892fce05b0f02569ea898a5b4
[ "MIT" ]
null
null
null
pyramid_request_schema/exceptions.py
sighalt/pyramid_request_schema
c4bfe3bd694c825892fce05b0f02569ea898a5b4
[ "MIT" ]
null
null
null
import colander from pyramid.httpexceptions import HTTPBadRequest class RequestSchemaInvalid(HTTPBadRequest): content_type = "application/json" def __init__(self, colander_exception: colander.Invalid, *args, **kwargs): self.colander_exception = colander_exception super(RequestSchemaInvalid, s...
29.6
78
0.713964
42
444
7.214286
0.547619
0.224422
0.207921
0.191419
0
0
0
0
0
0
0
0
0.191441
444
14
79
31.714286
0.844011
0
0
0
0
0
0.04955
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d685543e0371c9ba8b0bb9eadfa24e323416f0b6
884
py
Python
raspador/pilot.py
xyla-io/raspador
4e77234239d44a83faf5c1d3a6d022a9e3861f25
[ "MIT" ]
null
null
null
raspador/pilot.py
xyla-io/raspador
4e77234239d44a83faf5c1d3a6d022a9e3861f25
[ "MIT" ]
null
null
null
raspador/pilot.py
xyla-io/raspador
4e77234239d44a83faf5c1d3a6d022a9e3861f25
[ "MIT" ]
null
null
null
from .base import MenuOption, Ordnance from .browser_interactor import BrowserInteractor from .user_interactor import UserInteractor from typing import Optional, TypeVar, Generic from datetime import datetime class Pilot: browser: BrowserInteractor user: UserInteractor born: datetime def __init__(self, browse...
23.891892
71
0.726244
108
884
5.722222
0.37963
0.067961
0.090615
0.135922
0
0
0
0
0
0
0
0
0.177602
884
36
72
24.555556
0.850069
0
0
0.071429
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.178571
0.107143
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d69bfb80790060d2350ad19f4431ded760f02070
135
py
Python
MainLibPythonTest/jsonTest.py
emacslisp/pythonlib
5f299b24c3c4ea56fed48ed71d4a4c826e1cb36b
[ "Apache-2.0" ]
null
null
null
MainLibPythonTest/jsonTest.py
emacslisp/pythonlib
5f299b24c3c4ea56fed48ed71d4a4c826e1cb36b
[ "Apache-2.0" ]
null
null
null
MainLibPythonTest/jsonTest.py
emacslisp/pythonlib
5f299b24c3c4ea56fed48ed71d4a4c826e1cb36b
[ "Apache-2.0" ]
null
null
null
import MainLibPython JsonHelper = MainLibPython.JsonHelper() jsonBody = '{"abc": 5, "def": 7}' print(JsonHelper.indentJson(jsonBody))
22.5
39
0.748148
14
135
7.214286
0.714286
0.455446
0
0
0
0
0
0
0
0
0
0.016393
0.096296
135
5
40
27
0.811475
0
0
0
0
0
0.148148
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d69df9742fd5cf4d4509622df63c93262c6fa1e0
198
py
Python
tests/test_cfa/test_cfg.py
PrVrSs/mephisto
8dc41a66a8a6d7adda30fa46aca978ec2f46779f
[ "Apache-2.0" ]
null
null
null
tests/test_cfa/test_cfg.py
PrVrSs/mephisto
8dc41a66a8a6d7adda30fa46aca978ec2f46779f
[ "Apache-2.0" ]
null
null
null
tests/test_cfa/test_cfg.py
PrVrSs/mephisto
8dc41a66a8a6d7adda30fa46aca978ec2f46779f
[ "Apache-2.0" ]
null
null
null
from mephisto.cfa import CFG from .fixtures import if_statement def test_cfg(): cfg = CFG().create(if_statement.simple_if) assert list(cfg.as_line()) == [(2, 3), (2, 5), (3, 7), (5, 7)]
19.8
66
0.636364
33
198
3.666667
0.606061
0.181818
0
0
0
0
0
0
0
0
0
0.049383
0.181818
198
9
67
22
0.697531
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d6a7d77b53bc9c8de51b661adef2205791ba3245
140
py
Python
HLTrigger/Configuration/python/HLT_75e33/sequences/HLTCaloMETReconstruction_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
HLTrigger/Configuration/python/HLT_75e33/sequences/HLTCaloMETReconstruction_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
HLTrigger/Configuration/python/HLT_75e33/sequences/HLTCaloMETReconstruction_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms from ..modules.hltCaloMET_cfi import * HLTCaloMETReconstruction = cms.Sequence( hltCaloMET )
17.5
40
0.792857
15
140
7.333333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.135714
140
7
41
20
0.909091
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d6c33b232e713fdef8b4d9876d5f99c849e3229b
8,523
py
Python
sci_analysis/test/test_linregress.py
cmmorrow/sci-analysis
de65ba29fe210eb950daa3dbc2e956963a4770ef
[ "MIT" ]
17
2017-05-10T18:25:36.000Z
2021-12-23T14:43:49.000Z
sci_analysis/test/test_linregress.py
cmmorrow/sci-analysis
de65ba29fe210eb950daa3dbc2e956963a4770ef
[ "MIT" ]
57
2016-08-22T23:58:05.000Z
2019-07-31T06:54:22.000Z
sci_analysis/test/test_linregress.py
cmmorrow/sci-analysis
de65ba29fe210eb950daa3dbc2e956963a4770ef
[ "MIT" ]
null
null
null
import unittest import numpy as np import scipy.stats as st from ..analysis import LinearRegression from ..analysis.exc import MinimumSizeError, NoDataError from ..data import UnequalVectorLengthError, Vector class MyTestCase(unittest.TestCase): def test_350_LinRegress_corr(self): """Test the Linear Regr...
45.095238
117
0.572803
1,007
8,523
4.627607
0.134062
0.133047
0.077897
0.072103
0.754292
0.727253
0.721245
0.669528
0.65279
0.618884
0
0.072446
0.332747
8,523
188
118
45.335106
0.746967
0.090696
0
0.626667
0
0
0.097342
0
0
0
0
0
0.113333
1
0.1
false
0
0.04
0
0.146667
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d6fd4b4bab9bdb35b36e97d45a4e51fdf420784f
518
py
Python
prac3.py
Vaibhavmane700/Git_Demo
630e8ea0302a5bac8084e346d1848f166d80fbbd
[ "bzip2-1.0.6" ]
null
null
null
prac3.py
Vaibhavmane700/Git_Demo
630e8ea0302a5bac8084e346d1848f166d80fbbd
[ "bzip2-1.0.6" ]
null
null
null
prac3.py
Vaibhavmane700/Git_Demo
630e8ea0302a5bac8084e346d1848f166d80fbbd
[ "bzip2-1.0.6" ]
null
null
null
thistuple = ("apple", "banana", "cherry") print(thistuple) thistuple = ("apple", "banana", "cherry") print(thistuple[1]) thistuple = ("apple", "banana", "cherry") print(thistuple[-1]) thistuple = ("apple", "banana", "cherry", "orange", "kiwi", "melon", "mango") print(thistuple[2:5]) x = ("apple", "banana", "che...
15.69697
77
0.610039
73
518
4.328767
0.342466
0.208861
0.322785
0.411392
0.468354
0.468354
0.341772
0.341772
0.341772
0.341772
0
0.038375
0.144788
518
32
78
16.1875
0.674944
0
0
0.368421
0
0
0.243243
0
0
0
0
0
0
1
0
false
0
0
0
0
0.368421
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba45df2a42ef511cddff6187477e93ba8503cd2a
844
py
Python
cmz/cms_cookieconsent/templatetags/cms_cookieconsent.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
1
2016-10-01T18:35:24.000Z
2016-10-01T18:35:24.000Z
cmz/cms_cookieconsent/templatetags/cms_cookieconsent.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
8
2016-09-14T21:39:09.000Z
2016-10-25T20:08:31.000Z
cmz/cms_cookieconsent/templatetags/cms_cookieconsent.py
inmagik/cmz
e183f0c7203bda5efb1cbeb96f4f06a76aa91231
[ "MIT" ]
null
null
null
from django import template from django.conf import settings from django.core.urlresolvers import reverse from django.core.urlresolvers import NoReverseMatch import json register = template.Library() COOKIECONSENT_OPTIONS = getattr(settings, "COOKIECONSENT_OPTIONS", {}) if type(COOKIECONSENT_OPTIONS) != dict: rais...
35.166667
89
0.771327
97
844
6.556701
0.525773
0.314465
0.113208
0.081761
0.100629
0
0
0
0
0
0
0
0.138626
844
23
90
36.695652
0.874828
0.074645
0
0
0
0
0.176923
0.135897
0
0
0
0.043478
0
1
0.052632
false
0.052632
0.263158
0.052632
0.368421
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
1
0
0
0
0
1
0
0
0
0
0
3
ba4d13ea2199246f93dec82c2f8a1bf57c6431d9
282
py
Python
ciphers/substitution.py
urmilshroff/cryptography
e51bafc8becd46e153b15782a4ecf7e476305eb4
[ "MIT" ]
1
2019-08-04T17:38:51.000Z
2019-08-04T17:38:51.000Z
ciphers/substitution.py
urmilshroff/cryptography
e51bafc8becd46e153b15782a4ecf7e476305eb4
[ "MIT" ]
null
null
null
ciphers/substitution.py
urmilshroff/cryptography
e51bafc8becd46e153b15782a4ecf7e476305eb4
[ "MIT" ]
null
null
null
plain_text = list(input("Enter plain text:\n")) encrypted_text = [] original_text = [] for char in plain_text: encrypted_text.append(chr(ord(char)+5)) for char in encrypted_text: original_text.append(chr(ord(char)-5)) print(encrypted_text) print(original_text)
23.5
48
0.712766
42
282
4.571429
0.380952
0.270833
0.21875
0.260417
0.21875
0.21875
0
0
0
0
0
0.008403
0.156028
282
12
49
23.5
0.798319
0
0
0
0
0
0.069853
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba4f09da5bbe871b6c10a36f4156d28b2a651758
17
py
Python
yatube/posts/conf.py
Mashabor/hw03_forms
0c52a32c3c4b10ad5608ad2e61ab27b269709ec3
[ "MIT" ]
null
null
null
yatube/posts/conf.py
Mashabor/hw03_forms
0c52a32c3c4b10ad5608ad2e61ab27b269709ec3
[ "MIT" ]
null
null
null
yatube/posts/conf.py
Mashabor/hw03_forms
0c52a32c3c4b10ad5608ad2e61ab27b269709ec3
[ "MIT" ]
null
null
null
POSTS_COUNT = 10
8.5
16
0.764706
3
17
4
1
0
0
0
0
0
0
0
0
0
0
0.142857
0.176471
17
1
17
17
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba531cd90387d5f6fa7ffe7fb015a77f95df62fa
183
py
Python
computer/camera image collect.py
xmoose/AutoRCcar
b86baa340c32816d3d6424a222ebeb451991bd61
[ "BSD-2-Clause" ]
1
2019-04-22T14:27:52.000Z
2019-04-22T14:27:52.000Z
computer/camera image collect.py
xmoose/AutoRCcar
b86baa340c32816d3d6424a222ebeb451991bd61
[ "BSD-2-Clause" ]
null
null
null
computer/camera image collect.py
xmoose/AutoRCcar
b86baa340c32816d3d6424a222ebeb451991bd61
[ "BSD-2-Clause" ]
null
null
null
from time import sleep from picamera import PiCamera camera = PiCamera() camera.resolution = (320, 240) camera.start_preview() # Camera warm-up time sleep(2) camera.capture('1.jpg')
18.3
30
0.759563
27
183
5.111111
0.62963
0.202899
0
0
0
0
0
0
0
0
0
0.05
0.125683
183
9
31
20.333333
0.8125
0.103825
0
0
0
0
0.030864
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba64d88e56ae8904707890f5a94a3484ff38ec5e
269
py
Python
ex031.py
RodrigoMoro3736/Python
14ae88b81c252c1235ac0f904d0f77a8db870078
[ "MIT" ]
null
null
null
ex031.py
RodrigoMoro3736/Python
14ae88b81c252c1235ac0f904d0f77a8db870078
[ "MIT" ]
null
null
null
ex031.py
RodrigoMoro3736/Python
14ae88b81c252c1235ac0f904d0f77a8db870078
[ "MIT" ]
null
null
null
distancia = float(input('Digite a distancia em KM da viagem: ')) passag1 = distancia * 0.5 passag2 = distancia * 0.45 if distancia <= 200: print('Sua passagem vai custar R${:.2f}'.format(passag1)) else: print('Sua passagem vai custar R${:.2f}'.format(passag2))
33.625
64
0.684015
40
269
4.6
0.625
0.108696
0.173913
0.206522
0.369565
0.369565
0.369565
0.369565
0
0
0
0.061947
0.159851
269
7
65
38.428571
0.752212
0
0
0
0
0
0.371747
0
0
0
0
0
0
1
0
false
0.571429
0
0
0
0.285714
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ba68099844c236ed452074601c5159c69d14b21d
112
py
Python
00_simple_examples/07_float_int.py
tlananthu/python-learning
cfda5bfa6c613bcbe8bfe00567cd058ce5afc4a2
[ "Apache-2.0" ]
1
2020-05-11T18:39:54.000Z
2020-05-11T18:39:54.000Z
00_simple_examples/07_float_int.py
tlananthu/python-learning
cfda5bfa6c613bcbe8bfe00567cd058ce5afc4a2
[ "Apache-2.0" ]
null
null
null
00_simple_examples/07_float_int.py
tlananthu/python-learning
cfda5bfa6c613bcbe8bfe00567cd058ce5afc4a2
[ "Apache-2.0" ]
null
null
null
f=float(8.11) print(f) i=int(f) print(i) j=7 print(type(j)) j=f print(j) print(type(j)) print(int(8.6))
5.894737
15
0.589286
27
112
2.444444
0.407407
0.181818
0.30303
0
0
0
0
0
0
0
0
0.06383
0.160714
112
18
16
6.222222
0.638298
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
0
0
0
1
0
3
ba7a0ec3013ae11dc6cfacf4f64f83fd1682e8c5
273
py
Python
Machine learning/Reinforcement Learning/sueca-master/python/player/highestCardPlayer.py
vascobailao/Python
37473ab5c9629b77f0b618737473276716df4e4f
[ "MIT" ]
null
null
null
Machine learning/Reinforcement Learning/sueca-master/python/player/highestCardPlayer.py
vascobailao/Python
37473ab5c9629b77f0b618737473276716df4e4f
[ "MIT" ]
null
null
null
Machine learning/Reinforcement Learning/sueca-master/python/player/highestCardPlayer.py
vascobailao/Python
37473ab5c9629b77f0b618737473276716df4e4f
[ "MIT" ]
null
null
null
from player.player import Player from operator import attrgetter class HighestCardPlayer(Player): def __init__(self,id, cards): Player.__init__(self,id,cards) def chooseCard(self, possibleCards): return max(possibleCards, key=attrgetter('value'))
27.3
58
0.736264
32
273
6.03125
0.5625
0.082902
0.103627
0.15544
0
0
0
0
0
0
0
0
0.168498
273
10
58
27.3
0.85022
0
0
0
0
0
0.018248
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ba7ae54308d61ab761cf1e8a287dcbba6e370b09
453
py
Python
dpckan/get_dataset.py
transparencia-mg/dpckan
ed9b2dfceff01481aef4d276ea18c05dde2cbcbe
[ "MIT" ]
null
null
null
dpckan/get_dataset.py
transparencia-mg/dpckan
ed9b2dfceff01481aef4d276ea18c05dde2cbcbe
[ "MIT" ]
33
2022-02-01T16:11:42.000Z
2022-03-18T17:53:00.000Z
dpckan/get_dataset.py
transparencia-mg/dpckan
ed9b2dfceff01481aef4d276ea18c05dde2cbcbe
[ "MIT" ]
null
null
null
import os import click from ckanapi import RemoteCKAN from urllib import request from dpckan.functions import get_dataset @click.command(name='get') @click.argument('url', required=True) @click.argument('path', default='.') @click.pass_context def get_dataset_cli(ctx, url, path): """ Get a dataset published in cka...
25.166667
75
0.748344
70
453
4.757143
0.557143
0.09009
0
0
0
0
0
0
0
0
0
0
0.14128
453
17
76
26.647059
0.856041
0.236203
0
0
0
0
0.060241
0
0
0
0
0
0
1
0.090909
false
0.090909
0.454545
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
ba8acfba892a9a16091c8fa01b85ae22551e6a46
559
py
Python
basin_setup/generate_topo/vegetation/landfire_200.py
USDA-ARS-NWRC/basin_setup
8a9f661ab7897d63dda6c470cfd24f498e6e6183
[ "CC0-1.0" ]
1
2020-10-15T00:53:46.000Z
2020-10-15T00:53:46.000Z
basin_setup/generate_topo/vegetation/landfire_200.py
USDA-ARS-NWRC/basin_setup
8a9f661ab7897d63dda6c470cfd24f498e6e6183
[ "CC0-1.0" ]
58
2017-12-13T23:37:12.000Z
2021-07-26T19:58:05.000Z
basin_setup/generate_topo/vegetation/landfire_200.py
USDA-ARS-NWRC/basin_setup
8a9f661ab7897d63dda6c470cfd24f498e6e6183
[ "CC0-1.0" ]
null
null
null
from basin_setup.generate_topo.vegetation import BaseVegetation class Landfire200(BaseVegetation): """Landfire 2.0.0""" DATASET = 'landfire200' # Files for the landfire dataset VEGETATION_TYPE = 'LF2016_EVT_200_CONUS/LF2016_EVT_200_CONUS/Tif/LC16_EVT_200.tif' # noqa VEGETATION_HEIGHT = 'LF2016_...
32.882353
98
0.758497
80
559
4.8125
0.4625
0.124675
0.124675
0.176623
0.176623
0.176623
0.176623
0.176623
0
0
0
0.138655
0.148479
559
16
99
34.9375
0.670168
0.109123
0
0
1
0
0.413088
0.390593
0
0
0
0
0
1
0.125
false
0
0.125
0
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
baa455b33fc25d69b9c0b068df45e8a66a491542
89
py
Python
pelican_publications/version.py
adamreeve/pelican_publications
b61b92d4ef7b3c401730ba5f06f6356df0192368
[ "MIT" ]
3
2015-03-28T09:02:25.000Z
2016-05-08T22:59:44.000Z
pelican_publications/version.py
adamreeve/pelican_publications
b61b92d4ef7b3c401730ba5f06f6356df0192368
[ "MIT" ]
1
2015-04-22T22:22:37.000Z
2015-04-22T22:22:37.000Z
pelican_publications/version.py
adamreeve/pelican_publications
b61b92d4ef7b3c401730ba5f06f6356df0192368
[ "MIT" ]
3
2015-03-28T09:02:43.000Z
2021-03-23T23:18:37.000Z
__version_info__ = (0, 2, 1) __version__ = '.'.join('%d' % d for d in __version_info__)
29.666667
59
0.651685
14
89
3.142857
0.642857
0.5
0
0
0
0
0
0
0
0
0
0.040541
0.168539
89
2
60
44.5
0.554054
0
0
0
0
0
0.033708
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
baa49590eb27a796c99166238c958d09db04e6e8
1,802
py
Python
src/waldur_core/core/migration_utils.py
waldur/waldur-mastermind
70ce819d9632c9362841ca8889f3519e1e542ffd
[ "MIT" ]
4
2021-11-22T23:05:14.000Z
2022-03-02T10:11:40.000Z
src/waldur_core/core/migration_utils.py
opennode/nodeconductor-assembly-waldur
cad9966389dc9b52b13d2301940c99cf4b243900
[ "MIT" ]
10
2021-10-30T00:45:03.000Z
2022-03-30T05:10:43.000Z
src/waldur_core/core/migration_utils.py
opennode/nodeconductor-assembly-waldur
cad9966389dc9b52b13d2301940c99cf4b243900
[ "MIT" ]
5
2021-06-17T11:45:02.000Z
2022-02-07T19:25:13.000Z
import django.db.models.deletion from django.db import migrations, models def build_spl_migrations(AFFECTED_MODELS): ADD_OPERATIONS = [] ALTER_OPERATIONS = [] for model_name in AFFECTED_MODELS: ADD_OPERATIONS += [ migrations.AddField( model_name=model_name, ...
31.614035
64
0.471698
138
1,802
5.949275
0.26087
0.09866
0.085262
0.133983
0.738124
0.738124
0.738124
0.669915
0.669915
0.599269
0
0
0.441731
1,802
56
65
32.178571
0.816103
0
0
0.784314
0
0
0.074362
0.027747
0
0
0
0
0
1
0.019608
false
0
0.039216
0
0.078431
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bace48038410e3ee4ae2d2706b057933ff84f0ec
135
py
Python
March 2021/Missing Number.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
March 2021/Missing Number.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
March 2021/Missing Number.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
class Solution: def missingNumber(self, nums: List[int]) -> int: l = len(nums) return l * (1 + l) // 2 - sum(nums)
27
52
0.533333
19
135
3.789474
0.736842
0
0
0
0
0
0
0
0
0
0
0.021277
0.303704
135
4
53
33.75
0.744681
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
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
0
0
0
3
240d95612ac92b553356bfbd3b9b1c994e32b274
241
py
Python
Missing data/r/rain_fall/m2001.py
mohammed97ashraf/Agricultural-crop-production-prediction-Analytics
658aede1921651c28eb034823e59ced954a67e93
[ "Apache-2.0" ]
1
2020-03-20T16:21:13.000Z
2020-03-20T16:21:13.000Z
Missing data/r/rain_fall/m2001.py
mohammed97ashraf/Agricultural-crop-production-prediction-Analytics
658aede1921651c28eb034823e59ced954a67e93
[ "Apache-2.0" ]
null
null
null
Missing data/r/rain_fall/m2001.py
mohammed97ashraf/Agricultural-crop-production-prediction-Analytics
658aede1921651c28eb034823e59ced954a67e93
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Jan 30 15:12:36 2018 @author: ashraf """ import pandas as pd from pandas import ExcelWriter from pandas import ExcelFile df = pd.read_excel('File.xlsx', sheetname='Sheet1')
18.538462
51
0.705394
38
241
4.447368
0.842105
0.118343
0.189349
0
0
0
0
0
0
0
0
0.073171
0.149378
241
13
51
18.538462
0.75122
0.39834
0
0
0
0
0.109489
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
240fde0e30a46a46c601cec0311d6bfeb51683fa
497
py
Python
stereo/tools/__init__.py
nilsmechtel/stereopy
cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b
[ "MIT" ]
61
2021-04-09T01:00:41.000Z
2022-03-07T06:19:41.000Z
stereo/tools/__init__.py
nilsmechtel/stereopy
cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b
[ "MIT" ]
20
2021-04-13T10:31:04.000Z
2022-03-29T11:07:30.000Z
stereo/tools/__init__.py
nilsmechtel/stereopy
cd8f34b45ae6667043611e5d02ea46f8ca3f0c7b
[ "MIT" ]
13
2021-04-16T08:36:08.000Z
2022-02-21T20:44:00.000Z
#!/usr/bin/env python3 # coding: utf-8 """ @author: Ping Qiu qiuping1@genomics.cn @last modified by: Ping Qiu @file:__init__.py.py @time:2021/03/05 """ from .cell_type_anno import CellTypeAnno from .clustering import Clustering from .dim_reduce import DimReduce # from .dim_reduce import pca, u_map, factor_analysis, lo...
29.235294
74
0.800805
74
497
5.162162
0.702703
0.036649
0.068063
0.099476
0
0
0
0
0
0
0
0.025
0.114688
497
16
75
31.0625
0.843182
0.503018
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
242451e70a347013966fea7b91be2bb26277fc61
300
py
Python
4/src/function.py
A03ki/PFN_internship2019_ML
2353005e16217ec7b55d98da9c125d44005f3960
[ "MIT" ]
null
null
null
4/src/function.py
A03ki/PFN_internship2019_ML
2353005e16217ec7b55d98da9c125d44005f3960
[ "MIT" ]
null
null
null
4/src/function.py
A03ki/PFN_internship2019_ML
2353005e16217ec7b55d98da9c125d44005f3960
[ "MIT" ]
null
null
null
import numpy as np def relu(x): return np.maximum(0, x) def sigmoid(x): return 1 / (1 + np.exp(-np.clip(x, -10, 10))) def logexp(x): return np.where(x > 100, x, np.log(1 + np.exp(x))) def binary_cross_entropy(x, y): loss = y * logexp(-x) + (1 - y) * logexp(x) return loss
15.789474
54
0.57
56
300
3.017857
0.428571
0.16568
0.106509
0
0
0
0
0
0
0
0
0.052863
0.243333
300
18
55
16.666667
0.69163
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.1
0.3
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
243bcca67fc220618a3365492f11d33006754831
2,630
py
Python
tests/test_slddb/test_formula.py
bmaranville/orsopy
74083afdce8f8f1ab3866c7f1f5209942c8734db
[ "MIT" ]
null
null
null
tests/test_slddb/test_formula.py
bmaranville/orsopy
74083afdce8f8f1ab3866c7f1f5209942c8734db
[ "MIT" ]
null
null
null
tests/test_slddb/test_formula.py
bmaranville/orsopy
74083afdce8f8f1ab3866c7f1f5209942c8734db
[ "MIT" ]
null
null
null
import unittest from orsopy.slddb.material import Formula class TestFormula(unittest.TestCase): def test_valid(self): Formula("NaCl") Formula("H2 O") Formula("Cr3O4") Formula("H12 C5O8") Formula("H2O") def test_isotopes(self): Formula("B[10]4C") Formul...
33.291139
90
0.593156
310
2,630
5.003226
0.325806
0.222437
0.212766
0.073501
0.297872
0.181818
0.098001
0.058027
0
0
0
0.066434
0.238783
2,630
78
91
33.717949
0.708292
0.030418
0
0.253968
0
0
0.14168
0
0
0
0
0
0.444444
1
0.126984
false
0
0.031746
0
0.174603
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
243cc02e9bf68ce4ecbc3e21a4654aa995bab13e
3,474
py
Python
dao/common/config_opts.py
Symantec/dal-common
c1c688c44306cdcf5f9d3fbb535bd0dc7f4f58bd
[ "Apache-2.0" ]
null
null
null
dao/common/config_opts.py
Symantec/dal-common
c1c688c44306cdcf5f9d3fbb535bd0dc7f4f58bd
[ "Apache-2.0" ]
null
null
null
dao/common/config_opts.py
Symantec/dal-common
c1c688c44306cdcf5f9d3fbb535bd0dc7f4f58bd
[ "Apache-2.0" ]
4
2016-07-19T22:34:10.000Z
2021-02-26T10:20:38.000Z
# Copyright 2016 Symantec, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
28.95
80
0.645078
443
3,474
4.925508
0.370203
0.019248
0.034372
0.034372
0.069661
0.069661
0.045371
0
0
0
0
0.00542
0.256477
3,474
119
81
29.193277
0.839334
0.283535
0
0.076923
0
0
0.037006
0
0
0
0
0
0
1
0.230769
false
0
0.046154
0.153846
0.553846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2444589122efa0efaafe88920bd0ac087689174d
319
py
Python
sort_list.py
madhurilalitha/Test-repo
a70922a66156c1780e012b5d74017b16c962ecda
[ "MIT" ]
null
null
null
sort_list.py
madhurilalitha/Test-repo
a70922a66156c1780e012b5d74017b16c962ecda
[ "MIT" ]
null
null
null
sort_list.py
madhurilalitha/Test-repo
a70922a66156c1780e012b5d74017b16c962ecda
[ "MIT" ]
null
null
null
''' write a function to sort a given list and return sorted list using sort() or sorted() functions''' def sorted_list(alist): return sorted(alist) sorted_me = sorted_list([5,2,1,7,8,3,2,9,4]) print(sorted_me) def sort_list(alist): return alist.sort() sort_me = sort_list([5,2,1,7,8,3,2,9,4]) print(sort_me)
31.9
103
0.69906
63
319
3.412698
0.396825
0.139535
0.139535
0.065116
0.167442
0.167442
0.167442
0.167442
0.167442
0.167442
0
0.065693
0.141066
319
9
104
35.444444
0.718978
0.297806
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
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
1
0
0
0
1
0
0
0
3
24528854c6f3dca868a5b884c1257eb8f27b495a
337
py
Python
bare_python/s04_02_function_generators_multiple_yields.py
AndreiHondrari/python_exploration
cb4ac0b92ddc48c322201ba31cd6e7c5ee6af06d
[ "MIT" ]
3
2019-05-04T12:19:09.000Z
2019-08-30T07:12:31.000Z
bare_python/s04_02_function_generators_multiple_yields.py
AndreiHondrari/python_exploration
cb4ac0b92ddc48c322201ba31cd6e7c5ee6af06d
[ "MIT" ]
null
null
null
bare_python/s04_02_function_generators_multiple_yields.py
AndreiHondrari/python_exploration
cb4ac0b92ddc48c322201ba31cd6e7c5ee6af06d
[ "MIT" ]
null
null
null
#!python3 from typing import Iterator def gen(n: int) -> Iterator[int]: yield 1 yield 2 yield 3 yield 4 # return 0 -> raises SyntaxError # (can't have return and yield in a generator function) a = gen(4) print(a) print(next(a)) print(next(a)) print(next(a)) print(next(a)) print(next(a)) # -> yiel...
14.652174
55
0.658754
55
337
4.036364
0.545455
0.135135
0.225225
0.247748
0.22973
0.22973
0.22973
0.22973
0.22973
0.22973
0
0.026217
0.207715
337
22
56
15.318182
0.805243
0.347181
0
0.384615
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.153846
0.461538
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
245cba8a048b2ca67bd329585ecf20932be05125
235
py
Python
docs/source/topics/calculations/include/snippets/calcfunctions/add_multiply_calcfunction_data_types.py
louisponet/aiida-core
3214236df66a3792ee57fe38a06c0c3bb65861ab
[ "MIT", "BSD-3-Clause" ]
1
2016-09-12T10:51:00.000Z
2016-09-12T10:51:00.000Z
docs/source/topics/calculations/include/snippets/calcfunctions/add_multiply_calcfunction_data_types.py
louisponet/aiida-core
3214236df66a3792ee57fe38a06c0c3bb65861ab
[ "MIT", "BSD-3-Clause" ]
17
2020-03-11T17:04:05.000Z
2020-05-01T09:34:45.000Z
docs/source/topics/calculations/include/snippets/calcfunctions/add_multiply_calcfunction_data_types.py
louisponet/aiida-core
3214236df66a3792ee57fe38a06c0c3bb65861ab
[ "MIT", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from aiida.engine import calcfunction from aiida.orm import Int @calcfunction def add(x, y): return x + y @calcfunction def multiply(x, y): return x * y result = multiply(add(Int(1), Int(2)), Int(3))
16.785714
46
0.655319
38
235
4.052632
0.526316
0.051948
0.103896
0.116883
0.12987
0
0
0
0
0
0
0.021053
0.191489
235
13
47
18.076923
0.789474
0.089362
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
246ba5753b4d101e30692fed501427fab6f12665
1,081
py
Python
compile_stan_models.py
justinalsing/dlmmc
37cb38e09d71ec3160b89b748b187fd276266596
[ "MIT" ]
18
2019-01-02T17:02:46.000Z
2021-11-06T04:36:05.000Z
compile_stan_models.py
justinalsing/dlm
37cb38e09d71ec3160b89b748b187fd276266596
[ "MIT" ]
6
2019-01-23T13:18:30.000Z
2019-05-06T07:19:50.000Z
compile_stan_models.py
justinalsing/dlm
37cb38e09d71ec3160b89b748b187fd276266596
[ "MIT" ]
2
2019-01-15T07:32:53.000Z
2019-01-30T00:32:57.000Z
import pystan import pickle from models.stan_dlm_models import * model_vanilla_ar1 = pystan.StanModel(model_code=dlm_vanilla_ar1) f = open('models/dlm_vanilla_ar1.pkl', 'wb') pickle.dump(model_vanilla_ar1, f) f.close() model_vanilla_ar2 = pystan.StanModel(model_code=dlm_vanilla_ar2) f = open('models/dlm_vanilla_ar2.p...
30.027778
86
0.805735
174
1,081
4.637931
0.126437
0.118959
0.148699
0.178439
0.802974
0.742255
0.38166
0
0
0
0
0.023881
0.070305
1,081
35
87
30.885714
0.779104
0
0
0.222222
0
0
0.175162
0.164041
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
79e2ca6780f600650a093be0d68c56f8e12d49d9
266
py
Python
symbios/utils.py
Arthuchaut/symbios
cbe98db3bc780ec664162bc568196dc4d64dcc30
[ "MIT" ]
null
null
null
symbios/utils.py
Arthuchaut/symbios
cbe98db3bc780ec664162bc568196dc4d64dcc30
[ "MIT" ]
1
2019-12-03T20:54:55.000Z
2019-12-03T20:54:55.000Z
symbios/utils.py
Arthuchaut/symbios
cbe98db3bc780ec664162bc568196dc4d64dcc30
[ "MIT" ]
null
null
null
import pamqp import aiormq from aiormq import Channel, Connection Props = aiormq.spec.Basic.Properties DeliveredMessage = aiormq.types.DeliveredMessage ArgumentsType = aiormq.types.ArgumentsType GetEmpty, GetOk = aiormq.spec.Basic.GetEmpty, aiormq.spec.Basic.GetOk
29.555556
69
0.834586
32
266
6.9375
0.46875
0.135135
0.202703
0
0
0
0
0
0
0
0
0
0.090226
266
8
70
33.25
0.917355
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
79e3be20dfc36793f0105df0a095d5af935042a5
2,167
py
Python
cowin_project/models/dependencies_many2many/ir_attachement_inherit.py
shangdinvxu/cowinaddons
4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0
[ "MIT" ]
null
null
null
cowin_project/models/dependencies_many2many/ir_attachement_inherit.py
shangdinvxu/cowinaddons
4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0
[ "MIT" ]
null
null
null
cowin_project/models/dependencies_many2many/ir_attachement_inherit.py
shangdinvxu/cowinaddons
4e9d69894cd80e5427ccc9bac6c37b8bd67cadd0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from odoo import models, fields, api class cowin_project_attachment_rel(models.Model): _inherit = 'ir.attachment' # 主工程 project_ids = fields.Many2many('cowin_project.cowin_project', 'cowin_project_attachment_rel') # # # 子工程 sub_project_ids = fields.Many2many('...
45.145833
169
0.785418
261
2,167
5.911877
0.214559
0.124433
0.151653
0.193778
0.517822
0.381076
0.359689
0.258587
0.20674
0.172391
0
0.007459
0.133826
2,167
47
170
46.106383
0.814598
0.040609
0
0
0
0
0.509027
0.502508
0
0
0
0
0
1
0
false
0
0.0625
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
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
79e995ad7254825a800580fa90faa49333cd5ea5
196
py
Python
tests/test_keygen.py
adipokala/piccolo-cipher
335839daaebb696821eb832b4ad9918f1be789b8
[ "MIT" ]
null
null
null
tests/test_keygen.py
adipokala/piccolo-cipher
335839daaebb696821eb832b4ad9918f1be789b8
[ "MIT" ]
null
null
null
tests/test_keygen.py
adipokala/piccolo-cipher
335839daaebb696821eb832b4ad9918f1be789b8
[ "MIT" ]
null
null
null
from piccolo_cipher import piccolokeygen def test_key(): k80 = piccolokeygen.piccolokeygen(80) assert len(k80) == 20 k128 = piccolokeygen.piccolokeygen(128) assert len(k128) == 32
28
43
0.719388
24
196
5.791667
0.666667
0.374101
0
0
0
0
0
0
0
0
0
0.11875
0.183673
196
7
44
28
0.75
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0301c91f0e6a15bc113a1d18a412fffa1846e05e
315
py
Python
firebase_config.py
SolutionChallenge2022/DocLms-1
a512f6cb9a3240628a3a494cb2052c098b65dfe1
[ "MIT" ]
null
null
null
firebase_config.py
SolutionChallenge2022/DocLms-1
a512f6cb9a3240628a3a494cb2052c098b65dfe1
[ "MIT" ]
null
null
null
firebase_config.py
SolutionChallenge2022/DocLms-1
a512f6cb9a3240628a3a494cb2052c098b65dfe1
[ "MIT" ]
1
2022-03-21T07:04:49.000Z
2022-03-21T07:04:49.000Z
import firebase_admin import jsonpickle as jsonpickle from firebase_admin import credentials, firestore from doc_lms.settings import firebase_admin_config_credentials cred = credentials.Certificate(jsonpickle.encode(firebase_admin_config_credentials)) firebase_admin.initialize_app(cred) db = firestore.client()
28.636364
84
0.869841
39
315
6.74359
0.487179
0.247148
0.144487
0.228137
0
0
0
0
0
0
0
0
0.079365
315
10
85
31.5
0.906897
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
030cb1acdb56a88ef4e753c1c5c896abaa0de598
520
wsgi
Python
deployment/slick.example.wsgi
slickqa/slickqaweb
3d8ec25d9febc573e67eb4e91f7b6015d7ad6a68
[ "Apache-2.0" ]
null
null
null
deployment/slick.example.wsgi
slickqa/slickqaweb
3d8ec25d9febc573e67eb4e91f7b6015d7ad6a68
[ "Apache-2.0" ]
9
2015-12-17T18:24:17.000Z
2018-09-28T16:00:30.000Z
deployment/slick.example.wsgi
slickqa/slickqaweb
3d8ec25d9febc573e67eb4e91f7b6015d7ad6a68
[ "Apache-2.0" ]
2
2015-12-17T18:45:20.000Z
2018-02-01T21:05:13.000Z
#!/usr/bin/python2.7 import sys import os sys.path.insert(0, os.path.dirname(__file__)) if os.path.exists(os.path.join(os.path.dirname(__file__), 'vpy', 'bin', 'activate_this.py')): activate_this = os.path.join(os.path.dirname(__file__), 'vpy', 'bin', 'activate_this.py') execfile(activate_this, dict(__file__=...
32.5
93
0.742308
81
520
4.395062
0.407407
0.151685
0.182584
0.238764
0.339888
0.339888
0.339888
0.264045
0.264045
0.264045
0
0.006316
0.086538
520
15
94
34.666667
0.743158
0.036538
0
0.2
0
0
0.144
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
031383ddf1e25e4055b3aa428d9d6592339df0f1
228
py
Python
del_me.py
abishekChouhan/yolo_v3_tensorflow
14b069e132040684b6c6280a6a6634ced5fffb28
[ "MIT" ]
null
null
null
del_me.py
abishekChouhan/yolo_v3_tensorflow
14b069e132040684b6c6280a6a6634ced5fffb28
[ "MIT" ]
null
null
null
del_me.py
abishekChouhan/yolo_v3_tensorflow
14b069e132040684b6c6280a6a6634ced5fffb28
[ "MIT" ]
null
null
null
import numpy as np anchors = '10,13, 16,30, 33,23, 30,61, 62,45, 59,119, 116,90, 156,198, 373,326' x = np.reshape(np.asarray(anchors.split(','), np.float32), [-1, 2]) y = np.expand_dims(x*2,1) print(np.minimum(-y/2,-x/2))
22.8
81
0.618421
48
228
2.916667
0.708333
0.028571
0
0
0
0
0
0
0
0
0
0.253807
0.135965
228
9
82
25.333333
0.456853
0
0
0
0
0.2
0.307018
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
3
03447d3b80a63137f3739751049ca09a885398a3
1,531
py
Python
clientlib/label_utils.py
mesakh123/carla-client
a4b0e74d6741ad77a46725dc65cc0c3f69497941
[ "MIT" ]
1
2022-01-06T09:34:19.000Z
2022-01-06T09:34:19.000Z
clientlib/label_utils.py
mesakh123/carla-client
a4b0e74d6741ad77a46725dc65cc0c3f69497941
[ "MIT" ]
1
2022-01-06T09:35:56.000Z
2022-01-06T15:47:11.000Z
clientlib/label_utils.py
mesakh123/carla-client
a4b0e74d6741ad77a46725dc65cc0c3f69497941
[ "MIT" ]
1
2022-01-06T15:47:29.000Z
2022-01-06T15:47:29.000Z
import numpy as np class _baseLabel(object): def __init__(self, x=0, y=0, z=0, h=0, w=0, l=0, ry=0): self.x = x self.y = y self.z = z self.h = h self.w = w self.l = l self.ry = ry def get_location(self): return np.array([self.x, self.y, self.z]) ...
27.339286
78
0.566297
200
1,531
3.96
0.26
0.113636
0.05303
0.083333
0.169192
0.058081
0
0
0
0
0
0.009643
0.322665
1,531
55
79
27.836364
0.754098
0
0
0.18
0
0
0
0
0
0
0
0
0.02
1
0.26
false
0
0.02
0.16
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
03454aa63e443ffd22077da311f05031126f2914
1,106
py
Python
board.py
William010x/Ping
95b2585d3985304d697d5d5fcb6e4d74b2bfd348
[ "Unlicense" ]
3
2019-01-31T19:03:39.000Z
2019-02-09T22:54:33.000Z
board.py
dhdenvo/Ping
95b2585d3985304d697d5d5fcb6e4d74b2bfd348
[ "Unlicense" ]
null
null
null
board.py
dhdenvo/Ping
95b2585d3985304d697d5d5fcb6e4d74b2bfd348
[ "Unlicense" ]
1
2021-02-22T05:53:53.000Z
2021-02-22T05:53:53.000Z
from paddle import Paddle from scoreboard import ScoreBoard from ball import Ball PADDLE_LENGTH = 20 BOARD_LENGTH = 800 class Board: def __init__(self): self.ball = Ball(400, 300, 3, 4, "random", 1) #self.ball.launch() self.paddle1 = Paddle(10, 250) self.paddle2 = Paddl...
25.72093
70
0.59132
134
1,106
4.731343
0.238806
0.063091
0.088328
0.050473
0
0
0
0
0
0
0
0.049202
0.320072
1,106
43
71
25.72093
0.793883
0.016275
0
0
0
0
0.005736
0
0
0
0
0
0
1
0.290323
false
0
0.096774
0.129032
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
03574e6554b4fc2df7e9ed109d1d2157ba0d6354
334
py
Python
homeassistant/components/mqtt/device_tracker/__init__.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
22,481
2020-03-02T13:09:59.000Z
2022-03-31T23:34:28.000Z
homeassistant/components/mqtt/device_tracker/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/mqtt/device_tracker/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,411
2020-03-02T14:19:20.000Z
2022-03-31T22:46:07.000Z
"""Support for tracking MQTT enabled devices.""" from .schema_discovery import async_setup_entry_from_discovery from .schema_yaml import PLATFORM_SCHEMA_YAML, async_setup_scanner_from_yaml PLATFORM_SCHEMA = PLATFORM_SCHEMA_YAML async_setup_scanner = async_setup_scanner_from_yaml async_setup_entry = async_setup_entry_f...
41.75
76
0.886228
48
334
5.604167
0.333333
0.223048
0.167286
0.141264
0.591078
0.260223
0
0
0
0
0
0
0.07485
334
7
77
47.714286
0.87055
0.125749
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
1
0
0
0
0
3
036f0b6d792794d14f42e3035baf619d32f201d3
806
py
Python
example/__init__.py
logileifs/flask-stache
23c35615726fb6604166ea88f2b47a9120471136
[ "MIT" ]
4
2015-02-13T09:00:14.000Z
2018-07-22T01:32:40.000Z
example/__init__.py
logileifs/flask-stache
23c35615726fb6604166ea88f2b47a9120471136
[ "MIT" ]
null
null
null
example/__init__.py
logileifs/flask-stache
23c35615726fb6604166ea88f2b47a9120471136
[ "MIT" ]
2
2018-07-22T01:32:44.000Z
2021-03-29T03:50:35.000Z
from flask import Flask from flask_stache import render_view, render_template from example.admin import create_blueprint class Home(object): def msg(self): return "Home" def msg2(self): return "Partial Content" class About(object): def msg(self): return "About" def create_ap...
18.318182
67
0.621588
97
806
5
0.340206
0.065979
0.049485
0.065979
0.090722
0
0
0
0
0
0
0.001639
0.243176
806
43
68
18.744186
0.793443
0
0
0.071429
0
0
0.094293
0
0
0
0
0
0
1
0.285714
false
0
0.107143
0.25
0.75
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cee0f1389cfd5936e27f98e94d94166595fb36eb
426
py
Python
scripts/modules/task_plan_types/every_day.py
vkostyanetsky/Organizer
b1f0a05c0b6c6e6ea7a78a6bd7a3c70f85b33eba
[ "MIT" ]
null
null
null
scripts/modules/task_plan_types/every_day.py
vkostyanetsky/Organizer
b1f0a05c0b6c6e6ea7a78a6bd7a3c70f85b33eba
[ "MIT" ]
null
null
null
scripts/modules/task_plan_types/every_day.py
vkostyanetsky/Organizer
b1f0a05c0b6c6e6ea7a78a6bd7a3c70f85b33eba
[ "MIT" ]
null
null
null
# каждый день # каждый день с 29.12.1983 # каждый день, начиная с 29.12.1983 import modules.conditions as conditions def is_task_current(task, date): def is_type_correct(): return task['condition'].startswith('каждый день') def is_date_correct(): return conditions.is_task_started(task, dat...
19.363636
58
0.680751
59
426
4.711864
0.423729
0.143885
0.035971
0.064748
0
0
0
0
0
0
0
0.048632
0.2277
426
22
59
19.363636
0.796353
0.164319
0
0
0
0
0.056657
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cee3ceafcb11221dcf9e79ce45684487d3b38206
237
py
Python
tests/__init__.py
jas14/khmer
97261214539d00ef9bea5601cfff3827049307c3
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
jas14/khmer
97261214539d00ef9bea5601cfff3827049307c3
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
jas14/khmer
97261214539d00ef9bea5601cfff3827049307c3
[ "BSD-3-Clause" ]
null
null
null
# # This file is part of khmer, https://github.com/dib-lab/khmer/, and is # Copyright (C) Michigan State University, 2009-2015. It is licensed under # the three-clause BSD license; see doc/LICENSE.txt. # Contact: khmer-project@idyll.org
39.5
74
0.742616
39
237
4.512821
0.871795
0
0
0
0
0
0
0
0
0
0
0.039024
0.135021
237
5
75
47.4
0.819512
0.953587
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
cefb998c757bf1f4012dd256f69c81b4dc1d43dd
1,103
py
Python
word.py
maede97/Crossword-Generator
a31cbe0010f9e8b5a2555ac9a0d0bdd5c1395d4b
[ "MIT" ]
null
null
null
word.py
maede97/Crossword-Generator
a31cbe0010f9e8b5a2555ac9a0d0bdd5c1395d4b
[ "MIT" ]
null
null
null
word.py
maede97/Crossword-Generator
a31cbe0010f9e8b5a2555ac9a0d0bdd5c1395d4b
[ "MIT" ]
null
null
null
from functools import total_ordering @total_ordering class Word: def __init__(self, clue, solution, pos=(-1, -1), axis=-1): self.clue = clue self.solution = solution.upper()\ .replace("Ü", "UE").replace("Ö", "OE")\ .replace("Ä", "AE").replace('"', "")\ .replace("...
28.282051
140
0.523119
133
1,103
4.097744
0.323308
0.13211
0.058716
0.069725
0
0
0
0
0
0
0
0.006402
0.291931
1,103
39
141
28.282051
0.691421
0
0
0
0
0
0.028986
0
0
0
0
0
0
1
0.310345
false
0
0.034483
0.172414
0.551724
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
300806ecd5d615824e7e193fe00855a6954998c0
630
py
Python
msgraph/cli/core/v1_0_installed_extensions.py
BrianTJackett/msgraph-cli
98e40c974cdbeb6ebea8cd751484a183de280d2d
[ "MIT" ]
null
null
null
msgraph/cli/core/v1_0_installed_extensions.py
BrianTJackett/msgraph-cli
98e40c974cdbeb6ebea8cd751484a183de280d2d
[ "MIT" ]
null
null
null
msgraph/cli/core/v1_0_installed_extensions.py
BrianTJackett/msgraph-cli
98e40c974cdbeb6ebea8cd751484a183de280d2d
[ "MIT" ]
null
null
null
installed_extensions = [ 'azext_identitydirmgt_v1_0', 'azext_planner_v1_0', 'azext_identitysignins_v1_0', 'azext_schemaextensions_v1_0', 'azext_mail_v1_0', 'azext_files_v1_0', 'azext_notes_v1_0', 'azext_crossdeviceexperiences_v1_0', 'azext_cloudcommunications_v1_0', 'azext_directoryobjects_v1_0', 'azext_users...
27.391304
53
0.81746
90
630
4.977778
0.3
0.147321
0.375
0
0
0
0
0
0
0
0
0.075342
0.073016
630
23
54
27.391304
0.691781
0
0
0
0
0
0.784469
0.508716
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
301fad70a1961a372e6d33ab03ad325288ef518e
945
py
Python
allauth/socialaccount/providers/mixer/provider.py
wisr/django-allauth
f30dd72e47cb75feb755d15e332f76ca0ce03bd9
[ "MIT" ]
2
2020-10-22T08:39:50.000Z
2021-02-02T08:41:03.000Z
allauth/socialaccount/providers/mixer/provider.py
wisr/django-allauth
f30dd72e47cb75feb755d15e332f76ca0ce03bd9
[ "MIT" ]
7
2021-04-08T20:37:22.000Z
2022-01-13T03:29:18.000Z
allauth/socialaccount/providers/mixer/provider.py
wisr/django-allauth
f30dd72e47cb75feb755d15e332f76ca0ce03bd9
[ "MIT" ]
2
2020-08-01T12:03:32.000Z
2020-09-11T15:51:33.000Z
from allauth.socialaccount.providers.base import ProviderAccount from allauth.socialaccount.providers.oauth2.provider import OAuth2Provider class MixerAccount(ProviderAccount): def _get_token(self): return self.account.extra_data.get('channel', {}).get('token') def get_profile_url(self): retu...
24.868421
74
0.665608
109
945
5.587156
0.40367
0.082102
0.068966
0.108374
0.108374
0.108374
0.108374
0
0
0
0
0.004038
0.213757
945
37
75
25.540541
0.815612
0
0
0
0
0
0.099471
0
0
0
0
0
0
1
0.28
false
0
0.08
0.28
0.84
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
302efbeb6e0257ffea4fc6d2799f386159ae1ca2
318
py
Python
src/pyGLMHMM/waveletTransform.py
aslansd/pyGLMHMM
5930e1322435431c5835b2b3f241b2ca0d2fb887
[ "MIT" ]
3
2020-08-20T21:35:34.000Z
2021-04-23T08:02:24.000Z
src/pyGLMHMM/waveletTransform.py
aslansd/pyGLMHMM
5930e1322435431c5835b2b3f241b2ca0d2fb887
[ "MIT" ]
null
null
null
src/pyGLMHMM/waveletTransform.py
aslansd/pyGLMHMM
5930e1322435431c5835b2b3f241b2ca0d2fb887
[ "MIT" ]
null
null
null
import numpy as np def _w_corr(x, y, w): return _w_cov(x, y, w) / np.sqrt(_w_cov(x, x, w) * _w_cov(y, y, w)) def _w_cov(x, y, w): return np.sum(w * (x - _w_mean(x, w)) * (y - _w_mean(y, w)), axis = 0) / np.sum(w, axis = 0) def _w_mean(x, w): return np.sum(w * x, axis = 0) / np.sum(w, axis = 0)
31.8
97
0.528302
72
318
2.111111
0.222222
0.078947
0.157895
0.118421
0.480263
0.394737
0.210526
0
0
0
0
0.016949
0.257862
318
10
98
31.8
0.627119
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0.428571
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
304a4cb3430d82a952da00545b41b2464e56f4fc
1,891
py
Python
src/dict_changan_vehicle.py
genejiang2012/DataFactory
2b92b820ec8483e46b77575deb49e2b036826af9
[ "Apache-2.0" ]
null
null
null
src/dict_changan_vehicle.py
genejiang2012/DataFactory
2b92b820ec8483e46b77575deb49e2b036826af9
[ "Apache-2.0" ]
null
null
null
src/dict_changan_vehicle.py
genejiang2012/DataFactory
2b92b820ec8483e46b77575deb49e2b036826af9
[ "Apache-2.0" ]
null
null
null
# !/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2022/2/9 17:05 # @Author : Gene Jiang # @File : dict_changan_vehicle.py # @Description: vehicles = [ { "Year": 2021, "Model": "UNI", "Series": "UNI-V", "Make": "Changan" }, { "Year": 2021, "Mode...
19.10101
36
0.372819
152
1,891
4.625
0.328947
0.170697
0.277383
0.378378
0.725462
0.725462
0.6899
0.267425
0.105263
0
0
0.07804
0.41724
1,891
99
37
19.10101
0.559891
0.074035
0
0.48913
0
0
0.317479
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
30596254b45162a1a106d68138800ea607ad9ac8
91
py
Python
chech.py
ranjithvbr/test
37cb7a876c402fc68e4624071924b2851ab7b1c4
[ "MIT" ]
1
2018-07-15T13:36:22.000Z
2018-07-15T13:36:22.000Z
chech.py
ranjithvbr/test
37cb7a876c402fc68e4624071924b2851ab7b1c4
[ "MIT" ]
null
null
null
chech.py
ranjithvbr/test
37cb7a876c402fc68e4624071924b2851ab7b1c4
[ "MIT" ]
1
2018-07-15T13:39:05.000Z
2018-07-15T13:39:05.000Z
N=int(input('enter the num')) N2=N%2 if N2==0 and N==N in range(2,6): print'not weird'
18.2
32
0.615385
22
91
2.545455
0.772727
0
0
0
0
0
0
0
0
0
0
0.08
0.175824
91
4
33
22.75
0.666667
0
0
0
0
0
0.241758
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
305d5f92650d80741a4fb7ee47b0eafc2895462c
140
py
Python
Ex033ContagemRegresiva.py
GuSilva20/Primeiros-Codigos
67deefb683b40c2c4fee1bb383730588635e9d85
[ "MIT" ]
null
null
null
Ex033ContagemRegresiva.py
GuSilva20/Primeiros-Codigos
67deefb683b40c2c4fee1bb383730588635e9d85
[ "MIT" ]
null
null
null
Ex033ContagemRegresiva.py
GuSilva20/Primeiros-Codigos
67deefb683b40c2c4fee1bb383730588635e9d85
[ "MIT" ]
null
null
null
from time import sleep print("Contagem Regresiva") print('--'*10) for c in range(10, 0, -1): print(c) sleep(1) print('Lançamento!')
17.5
27
0.642857
22
140
4.090909
0.681818
0.133333
0
0
0
0
0
0
0
0
0
0.060345
0.171429
140
8
28
17.5
0.715517
0
0
0
0
0
0.219858
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.571429
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
3075aad1ae7c9d4067b090ea45515c0a19dd5342
423
py
Python
hooks/post_gen_project.py
urga/cookiecutter-django-bootstrap
5c916a63c2af423c3bec697807bd4e87134b8d11
[ "BSD-3-Clause" ]
null
null
null
hooks/post_gen_project.py
urga/cookiecutter-django-bootstrap
5c916a63c2af423c3bec697807bd4e87134b8d11
[ "BSD-3-Clause" ]
null
null
null
hooks/post_gen_project.py
urga/cookiecutter-django-bootstrap
5c916a63c2af423c3bec697807bd4e87134b8d11
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from subprocess import call call(["mv", "dotgitignore", ".gitignore"]) print("******* Installling node modules:") call(["npm", "install"]) print("******* Node modules installed.") print("******* Installing python dependancies:") call(["pip", "install", "-r", "requirements...
30.214286
56
0.626478
46
423
5.76087
0.695652
0.083019
0
0
0
0
0
0
0
0
0
0.002618
0.096927
423
13
57
32.538462
0.691099
0.099291
0
0
0
0
0.609499
0.058047
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
30768ca04b2c4aa185a245cdc52b0a9c4c0a5a62
3,524
py
Python
aiogithub/objects/organization.py
flying-sheep/aiogithub
566252cac036d9abe2b1eb2acb268547e01ca63e
[ "BSD-3-Clause" ]
10
2016-09-13T15:50:10.000Z
2021-05-27T15:36:58.000Z
aiogithub/objects/organization.py
flying-sheep/aiogithub
566252cac036d9abe2b1eb2acb268547e01ca63e
[ "BSD-3-Clause" ]
5
2017-03-26T13:51:40.000Z
2020-04-22T19:46:36.000Z
aiogithub/objects/organization.py
flying-sheep/aiogithub
566252cac036d9abe2b1eb2acb268547e01ca63e
[ "BSD-3-Clause" ]
2
2020-03-05T06:07:18.000Z
2022-02-11T14:23:46.000Z
from datetime import datetime from aiogithub.objects.response import (BaseResponseObject, # noqa PaginatedListProxy) from aiogithub.utils import return_key from aiogithub import objects class PartialOrganization(BaseResponseObject): _url = 'orgs/{login}' _default_url...
24.136986
78
0.622588
385
3,524
5.457143
0.163636
0.077106
0.137554
0.161828
0.462637
0.388862
0.350785
0.188482
0.119943
0.066635
0
0
0.260499
3,524
145
79
24.303448
0.806216
0.001135
0
0.469027
0
0
0.217737
0.133883
0
0
0
0
0
1
0.238938
false
0.150442
0.035398
0.088496
0.39823
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
1
0
0
0
0
0
3
062ea88acb141ab4207b8b9ef6ac1f2b74d084d8
198
py
Python
test_solver.py
Stegallo/TEST_PYCHARM
a8840489a9e51d807fe5c3561baac129f7776003
[ "MIT" ]
null
null
null
test_solver.py
Stegallo/TEST_PYCHARM
a8840489a9e51d807fe5c3561baac129f7776003
[ "MIT" ]
null
null
null
test_solver.py
Stegallo/TEST_PYCHARM
a8840489a9e51d807fe5c3561baac129f7776003
[ "MIT" ]
null
null
null
from unittest import TestCase from Solver import Solver class TestSolver(TestCase): def test_negative_discr(self): s = Solver() self.assertRaises(Exception, s.demo, 2, 1, 2)
18
53
0.691919
26
198
5.192308
0.692308
0
0
0
0
0
0
0
0
0
0
0.019481
0.222222
198
10
54
19.8
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
06325476dd3d062b42ab7ebff86b8f7a0fcc3017
646
py
Python
silence/db/connector.py
miguel-bermudo/Silence
6879e1d87c426f6cc994058c70df30b043060db1
[ "MIT" ]
3
2021-01-26T16:58:01.000Z
2021-06-10T13:58:47.000Z
silence/db/connector.py
DEAL-US/Silence
dd8b7fb229214edeb173bc417a6aeb6083072149
[ "MIT" ]
5
2020-01-08T09:01:11.000Z
2021-09-21T08:32:59.000Z
silence/db/connector.py
DEAL-US/Silence
dd8b7fb229214edeb173bc417a6aeb6083072149
[ "MIT" ]
5
2019-11-20T23:20:56.000Z
2021-03-16T10:42:27.000Z
import pymysql from silence.settings import settings ############################################################################### # The connector fetches the relevant configuration parameters # and uses them to build a connection to the database. ####################################################################...
35.888889
79
0.475232
55
646
5.472727
0.545455
0.166113
0.232558
0
0
0
0
0
0
0
0
0
0.210526
646
17
80
38
0.590196
0.173375
0
0
0
0
0.085791
0
0
0
0
0
0
1
0.1
true
0.1
0.2
0.1
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
065107c4a331e7e9aad210392d627229deed3b3f
806
py
Python
config/base.py
sanjusci/google_sheet_reader
c2b11bdb1eb3e2799cdd22aa4ed67f9c86daea56
[ "MIT" ]
null
null
null
config/base.py
sanjusci/google_sheet_reader
c2b11bdb1eb3e2799cdd22aa4ed67f9c86daea56
[ "MIT" ]
3
2021-02-08T20:27:15.000Z
2021-06-01T23:18:51.000Z
config/base.py
sanjusci/google_sheet_reader
c2b11bdb1eb3e2799cdd22aa4ed67f9c86daea56
[ "MIT" ]
null
null
null
__author__ = "Sanju Sci" __email__ = "sanju.sci9@gmail.com" __copyright__ = "Copyright 2019." import os class BaseConfig(object): SMTP_CONFIG = { 'MAIL_SERVER': os.environ.get('MAIL_SERVER', 'smtp.googlemail.com'), 'MAIL_SERVER_PORT': os.environ.get('MAIL_SERVER_PORT', 587), 'MAIL_USE_T...
35.043478
82
0.650124
108
806
4.490741
0.388889
0.148454
0.197938
0.263918
0.173196
0
0
0
0
0
0
0.019578
0.176179
806
22
83
36.636364
0.710843
0
0
0
0
0
0.450932
0
0
0
0
0
0
1
0
false
0.058824
0.058824
0
0.176471
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
0
0
0
0
0
3
0657164e369cd1969ca828a10983a67158848e35
11,531
py
Python
tests/test_types/test_table.py
afcarl/corvid
e257074edeac1e8dce4a737b60e93a9bea37b6b9
[ "Apache-2.0" ]
1
2019-04-15T13:49:39.000Z
2019-04-15T13:49:39.000Z
tests/test_types/test_table.py
afcarl/corvid
e257074edeac1e8dce4a737b60e93a9bea37b6b9
[ "Apache-2.0" ]
null
null
null
tests/test_types/test_table.py
afcarl/corvid
e257074edeac1e8dce4a737b60e93a9bea37b6b9
[ "Apache-2.0" ]
1
2020-09-02T13:49:52.000Z
2020-09-02T13:49:52.000Z
""" """ import unittest import numpy as np from corvid.types.table import Box, Token, Cell, Table, EMPTY_CAPTION class TestCell(unittest.TestCase): def setUp(self): self.cell = Cell(tokens=[ Token(text='hi', bounding_box=Box(llx=-1.0, lly=-0.5, urx=1.0, ury=1.0)), ...
43.844106
79
0.522938
1,538
11,531
3.819246
0.079324
0.065884
0.107252
0.135853
0.839122
0.795029
0.742084
0.657303
0.597719
0.481103
0
0.026163
0.31385
11,531
262
80
44.01145
0.716254
0.018992
0
0.439815
0
0.00463
0.021169
0.005669
0
0
0
0.003817
0.226852
1
0.092593
false
0.009259
0.013889
0
0.115741
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
067f131f83c204e93bbca2cf424ee9e8c61cea4a
4,308
py
Python
contentcuration/contentcuration/serializers.py
d0sadata/studio
ec3b805c0b546fe8884d446152eead90bea4174d
[ "MIT" ]
60
2018-03-29T23:33:29.000Z
2022-03-19T12:10:56.000Z
contentcuration/contentcuration/serializers.py
d0sadata/studio
ec3b805c0b546fe8884d446152eead90bea4174d
[ "MIT" ]
2,260
2018-03-02T23:14:49.000Z
2022-03-29T20:57:21.000Z
contentcuration/contentcuration/serializers.py
d0sadata/studio
ec3b805c0b546fe8884d446152eead90bea4174d
[ "MIT" ]
86
2018-03-19T21:26:35.000Z
2022-03-28T10:09:17.000Z
import json from collections import OrderedDict from django.core.exceptions import ObjectDoesNotExist from rest_framework import serializers from contentcuration.models import Channel def no_field_eval_repr(self): """ DRF's default __repr__ implementation prints out all fields, and in the process of tha...
38.464286
115
0.716342
521
4,308
5.71785
0.380038
0.04431
0.045653
0.064451
0.116482
0.065123
0.022155
0
0
0
0
0.002894
0.198004
4,308
111
116
38.810811
0.859334
0.226323
0
0.063492
0
0
0.094678
0.006807
0
0
0
0
0
1
0.206349
false
0
0.079365
0.126984
0.730159
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
068323c5512ca3456f552f1fd3d68c3128208782
1,465
py
Python
zhixuewang/Student/models/urlModel.py
RICHARDCJ249/zhixue_errorbook
c61f65126198885b98b09edf5fcd5f1a7e89fb9e
[ "MIT" ]
5
2020-03-09T01:18:16.000Z
2021-08-29T10:45:29.000Z
zhixuewang/Student/models/urlModel.py
RICHARDCJ249/zhixue_errorbook
c61f65126198885b98b09edf5fcd5f1a7e89fb9e
[ "MIT" ]
null
null
null
zhixuewang/Student/models/urlModel.py
RICHARDCJ249/zhixue_errorbook
c61f65126198885b98b09edf5fcd5f1a7e89fb9e
[ "MIT" ]
2
2021-08-29T10:45:35.000Z
2022-02-25T16:10:46.000Z
BASE_URL = "https://www.zhixue.com" # BASE_URL = "http://localhost:8080" INFO_URL = f"{BASE_URL}/container/container/student/account/" # Login SERVICE_URL = f"{BASE_URL}:443/ssoservice.jsp" SSO_URL = f"https://open.changyan.com/sso/login?sso_from=zhixuesso&service={SERVICE_URL}" CHANGE_PASSWORD_URL = f"{BASE_URL}/por...
43.088235
89
0.805461
205
1,465
5.463415
0.356098
0.125
0.128571
0.147321
0.419643
0.377679
0.09375
0
0
0
0
0.005065
0.056655
1,465
33
90
44.393939
0.805355
0.094198
0
0
0
0
0.675758
0.601515
0
0
0
0
0
1
0
false
0.1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
0685e32953414bd2c0d7b87cf07c32ffc492cce6
1,871
bzl
Python
BUILD.bzl
obazl/libstarlark
4b68617999e79285110ad507499e916ebf7f6975
[ "MIT" ]
3
2021-11-22T13:05:58.000Z
2022-03-10T12:55:56.000Z
BUILD.bzl
obazl/sealark
4b68617999e79285110ad507499e916ebf7f6975
[ "MIT" ]
null
null
null
BUILD.bzl
obazl/sealark
4b68617999e79285110ad507499e916ebf7f6975
[ "MIT" ]
null
null
null
debug_defs = select({ "//:debug-ast": ["DEBUG_AST"], "//conditions:default": [] }) + select({ "//:debug-bindings": ["DEBUG_BINDINGS"], "//conditions:default": [] }) + select({ "//:debug-ctors": ["DEBUG_CTORS"], "//conditions:default": [] }) + select({ "//:debug-filters": ["DEBUG_FILTER...
28.348485
50
0.526991
151
1,871
6.377483
0.192053
0.239875
0.477674
0.581516
0
0
0
0
0
0
0
0.001323
0.191876
1,871
65
51
28.784615
0.635582
0
0
0.640625
0
0
0.53369
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
3
0695aa5d782a2ecdfa0eff662c2ee2e10ccf62c3
1,251
py
Python
dateset_operation/bil/python/python_op_bil.py
haysengithub/hydrology
841bf44d03ec42efc5e78ac7e37a65307387e78a
[ "MIT" ]
null
null
null
dateset_operation/bil/python/python_op_bil.py
haysengithub/hydrology
841bf44d03ec42efc5e78ac7e37a65307387e78a
[ "MIT" ]
null
null
null
dateset_operation/bil/python/python_op_bil.py
haysengithub/hydrology
841bf44d03ec42efc5e78ac7e37a65307387e78a
[ "MIT" ]
null
null
null
#可以使用rasterio 这个包 #安装方法 #pip3 install rasterio #help doc #https://rasterio.readthedocs.io/en/latest #使用方法分为命令行和python脚本 ##命令行使用 ##https://rasterio.readthedocs.io/en/latest/cli.html ##举个例子,查看info ''' rio info HWSD_RASTER/hwsd.bil --indent 2 --verbose { "bounds": [ -180.0, -89.99999999999997, 179.999999999...
14.717647
52
0.570743
140
1,251
5.071429
0.557143
0.022535
0.016901
0.073239
0.095775
0.095775
0
0
0
0
0
0.210805
0.245404
1,251
84
53
14.892857
0.541314
0.827338
0
0
0
0
0.102564
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.75
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
231a97039b5b579ea6a398adf4d868b4d217c09a
202
py
Python
dummy.py
gchinmayvarma/C-Python-Batch-OldProjects
3b0fda35789f67a919752bf83928ae18e559fb8f
[ "MIT" ]
null
null
null
dummy.py
gchinmayvarma/C-Python-Batch-OldProjects
3b0fda35789f67a919752bf83928ae18e559fb8f
[ "MIT" ]
null
null
null
dummy.py
gchinmayvarma/C-Python-Batch-OldProjects
3b0fda35789f67a919752bf83928ae18e559fb8f
[ "MIT" ]
1
2021-11-17T09:21:38.000Z
2021-11-17T09:21:38.000Z
from turtle import * t = Turtle() ; t.lt(90) t.pensize(20) def fo(x) : for z in range(x) : t.fd(1) if t.pensize() > 0.5 : t.pensize(t.pensize()- 0.1) fo(1000)
20.2
40
0.475248
35
202
2.742857
0.6
0.333333
0.1875
0
0
0
0
0
0
0
0
0.098485
0.346535
202
9
41
22.444444
0.628788
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0
0
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
3
232c41332080712cc8a8757d7a80eafb62178c79
373
py
Python
01. Different Modes in PYTHON/hello/hello.py
penanrajput/PythonCourseContent
074a4af9c83a8a6b9b4608ce341ed96d1bd2e999
[ "MIT" ]
null
null
null
01. Different Modes in PYTHON/hello/hello.py
penanrajput/PythonCourseContent
074a4af9c83a8a6b9b4608ce341ed96d1bd2e999
[ "MIT" ]
null
null
null
01. Different Modes in PYTHON/hello/hello.py
penanrajput/PythonCourseContent
074a4af9c83a8a6b9b4608ce341ed96d1bd2e999
[ "MIT" ]
1
2020-12-19T19:29:17.000Z
2020-12-19T19:29:17.000Z
#!/usr/bin/env python print("Hello World!") # commnads # $python hello.py # Hello World! # $python hello.py > output.txt # if file exists, old file is deleted, new file created with same name # if file doesn't exits, then new file is created # $python hello.py >> output.txt # if file exists, then result is appended...
23.3125
70
0.713137
63
373
4.222222
0.444444
0.090226
0.146617
0.142857
0.406015
0.255639
0.255639
0.255639
0
0
0
0
0.182306
373
15
71
24.866667
0.872131
0.876676
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
232c8c72959294e1b788e71e688a4b9c9b53bab8
11,620
py
Python
PROJ/LEVY/Equity_Linked_Death_Benefits/PROJ_GMDB_PiecewiseConstantMortality_Linear.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
null
null
null
PROJ/LEVY/Equity_Linked_Death_Benefits/PROJ_GMDB_PiecewiseConstantMortality_Linear.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
null
null
null
PROJ/LEVY/Equity_Linked_Death_Benefits/PROJ_GMDB_PiecewiseConstantMortality_Linear.py
mattslezak-shell/PROJ_Option_Pricing_Matlab
6105bd00ba3471802180c122fdf81e90833a91c4
[ "MIT" ]
1
2022-01-07T15:31:45.000Z
2022-01-07T15:31:45.000Z
# Generated with SMOP 0.41-beta try: from smop.libsmop import * except ImportError: raise ImportError('File compiled with `smop3`, please install `smop3` to run it.') from None # PROJ_GMDB_PiecewiseConstantMortality_Linear.m @function def PROJ_GMDB_PiecewiseConstantMortality_Linear(P=None,Pbar=N...
50.086207
287
0.621945
1,582
11,620
4.37421
0.190898
0.090173
0.383237
0.450867
0.644364
0.519364
0.356503
0.290462
0.214162
0.121821
0
0.048013
0.209553
11,620
232
288
50.086207
0.705389
0.44148
0
0.168317
1
0
0.018096
0
0
0
0
0
0
1
0.009901
false
0.009901
0.029703
0
0.049505
0.009901
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2342d4acf69860985a9bbf9c2fac62856b71b305
190
py
Python
test1.py
Shi-D/NPHard
1063fcf21d8ddcffd494a4a153c1f44233ba6664
[ "MIT" ]
null
null
null
test1.py
Shi-D/NPHard
1063fcf21d8ddcffd494a4a153c1f44233ba6664
[ "MIT" ]
null
null
null
test1.py
Shi-D/NPHard
1063fcf21d8ddcffd494a4a153c1f44233ba6664
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021-08-31 13:56 # @Author : shi-d # @File : test1.py # @Software: PyCharm # @GitHub : Shi-D # @Homepage : https://shi-d.github.io/
19
38
0.589474
30
190
3.733333
0.833333
0.107143
0
0
0
0
0
0
0
0
0
0.089172
0.173684
190
9
39
21.111111
0.624204
0.910526
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
2348597fd6449d2a20a49a0fb73605e40a488ef9
122
py
Python
sr/robot3/vision/__init__.py
srobo/sr-robot3
af88d44d681c4f730c2196eaab8c7cbaf4e39d98
[ "MIT" ]
4
2020-08-31T15:33:09.000Z
2022-01-22T18:50:20.000Z
sr/robot3/vision/__init__.py
srobo/sr-robot3
af88d44d681c4f730c2196eaab8c7cbaf4e39d98
[ "MIT" ]
22
2020-07-02T20:59:09.000Z
2022-02-23T20:47:17.000Z
sr/robot3/vision/__init__.py
srobo/sr-robot3
af88d44d681c4f730c2196eaab8c7cbaf4e39d98
[ "MIT" ]
null
null
null
"""Vision API.""" from .backend import SRZolotoSingleHardwareBackend __all__ = [ "SRZolotoSingleHardwareBackend", ]
15.25
50
0.745902
8
122
10.875
0.875
0
0
0
0
0
0
0
0
0
0
0
0.139344
122
7
51
17.428571
0.828571
0.090164
0
0
0
0
0.27619
0.27619
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
237a5b38f9a7950ecabad868b6c27fbfe7954403
357
py
Python
Python/Ex009.py
renato-rt/Python
ba033094e1da5b55cf9ce4c8a5cf2cd90247db36
[ "MIT" ]
null
null
null
Python/Ex009.py
renato-rt/Python
ba033094e1da5b55cf9ce4c8a5cf2cd90247db36
[ "MIT" ]
null
null
null
Python/Ex009.py
renato-rt/Python
ba033094e1da5b55cf9ce4c8a5cf2cd90247db36
[ "MIT" ]
1
2021-11-30T17:34:33.000Z
2021-11-30T17:34:33.000Z
n = int(input('\033[3;30;32mDigite um número para ver a sua tabuada: \033[m')) print('''--------------- {} x 1 = {} {} x 2 = {} {} x 3 = {} {} x 4 = {} {} x 5 = {} {} x 6 = {} {} x 7 = {} {} x 8 = {} {} x 9 = {} {} x 10 = {} ---------------'''.format(n, n, n, (n*2), n, (n*3), n, (n*4), n, (n*5), n, (n*6), n, (...
27.461538
123
0.32493
67
357
1.731343
0.402985
0.189655
0.051724
0
0
0
0
0
0
0
0
0.11985
0.252101
357
13
123
27.461538
0.314607
0
0
0
0
0
0.617318
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
237b8cb553a5fe40e4870eefce7d0c89cd3cda5d
592
py
Python
venv2/lib/python3.7/site-packages/cacheout/lifo.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
null
null
null
venv2/lib/python3.7/site-packages/cacheout/lifo.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
null
null
null
venv2/lib/python3.7/site-packages/cacheout/lifo.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
1
2020-06-26T01:24:29.000Z
2020-06-26T01:24:29.000Z
"""The lifo module provides the :class:`LIFOCache` (Last-In, First-Out) class. """ from .cache import Cache class LIFOCache(Cache): """ The Last-In, First-Out (LIFO) cache is like :class:`.Cache` but uses a last-in, first-out replacement policy. The primary difference with :class:`.Cache` is that ca...
31.157895
86
0.692568
91
592
4.450549
0.516484
0.044444
0.081481
0.103704
0
0
0
0
0
0
0
0
0.209459
592
18
87
32.888889
0.865385
0.722973
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
88d9f7dd2ecb63ab62f2163501b299ff4ca2e8e2
864
py
Python
python-starter/design/creational/builder.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
1
2021-05-19T04:30:45.000Z
2021-05-19T04:30:45.000Z
python-starter/design/creational/builder.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
null
null
null
python-starter/design/creational/builder.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
null
null
null
# Separate the construction of a complex object from its # representation so that the same construction process can create different representations. # Parse a complex representation, create one of several targets. # Allows you to build different kind of object by implementing the Steps, # to build on particular objec...
23.351351
92
0.71412
113
864
5.283186
0.451327
0.120603
0.120603
0.093802
0.224456
0.167504
0.167504
0.167504
0.167504
0.167504
0
0.011976
0.226852
864
36
93
24
0.881737
0.452546
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.388889
false
0.222222
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
88e2e82ca3e69e582186c26c71b151b538ba433b
95
py
Python
old/SchwarzschildRadius1/fleet.py
hydrius/schwarzschild-radius
d7b80baaa31b4cc8a9144d2fba7d130811e46d8d
[ "MIT" ]
null
null
null
old/SchwarzschildRadius1/fleet.py
hydrius/schwarzschild-radius
d7b80baaa31b4cc8a9144d2fba7d130811e46d8d
[ "MIT" ]
null
null
null
old/SchwarzschildRadius1/fleet.py
hydrius/schwarzschild-radius
d7b80baaa31b4cc8a9144d2fba7d130811e46d8d
[ "MIT" ]
null
null
null
class fleets: @staticmethod def movePlanet(): print "moving to planet"
10.555556
32
0.578947
9
95
6.111111
1
0
0
0
0
0
0
0
0
0
0
0
0.347368
95
8
33
11.875
0.887097
0
0
0
0
0
0.170213
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
88f20738cdefcb6f14c0ab27c4a3aee08526293a
1,035
py
Python
Algorithms_easy/0914. X of a Kind in a Deck of Cards.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
4
2020-08-11T20:45:15.000Z
2021-03-12T00:33:34.000Z
Algorithms_easy/0914. X of a Kind in a Deck of Cards.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
null
null
null
Algorithms_easy/0914. X of a Kind in a Deck of Cards.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
null
null
null
""" 0914. X of a Kind in a Deck of Cards Easy In a deck of cards, each card has an integer written on it. Return true if and only if you can choose X >= 2 such that it is possible to split the entire deck into 1 or more groups of cards, where: Each group has exactly X cards. All the cards in each group have the same...
20.294118
137
0.678261
187
1,035
3.759358
0.40107
0.025605
0.071124
0.02276
0.342817
0.190612
0.179232
0.179232
0.119488
0
0
0.072533
0.18744
1,035
51
138
20.294118
0.762188
0.837681
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
003505806cfbe5d95c19d0995ccede28105cf035
309
py
Python
RealmGrinder/mana_falls.py
alidursen/silly-putty
8e3ca0a993ff903ba87980f9d001562a75034ac0
[ "MIT" ]
null
null
null
RealmGrinder/mana_falls.py
alidursen/silly-putty
8e3ca0a993ff903ba87980f9d001562a75034ac0
[ "MIT" ]
null
null
null
RealmGrinder/mana_falls.py
alidursen/silly-putty
8e3ca0a993ff903ba87980f9d001562a75034ac0
[ "MIT" ]
null
null
null
from datetime import timedelta as td, datetime as dt def ends_at(max_mana:float, percent_done:float)->float: """param: : max_mana: float, in terms of 1e14 mana : percent done: float, between 0 and 1 """ print(dt.now() + td(days=2e4/(24*36*max_mana)*(1-percent_done)))
34.333333
72
0.631068
48
309
3.9375
0.625
0.111111
0.126984
0
0
0
0
0
0
0
0
0.051064
0.239482
309
8
73
38.625
0.753191
0.278317
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0.333333
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
1
0
0
1
0
0
0
0
3
cc4262f10cda595866c8dfb66ab7cdc0147a6956
327
py
Python
demo/celery-redis-rabbitmq/tasks.py
chrissorchard/malucrawl
cb9633baff8752f3e043a2cfdb91cde868666ae2
[ "MIT" ]
1
2016-12-09T03:02:05.000Z
2016-12-09T03:02:05.000Z
demo/celery-redis-rabbitmq/tasks.py
chrissorchard/malucrawl
cb9633baff8752f3e043a2cfdb91cde868666ae2
[ "MIT" ]
null
null
null
demo/celery-redis-rabbitmq/tasks.py
chrissorchard/malucrawl
cb9633baff8752f3e043a2cfdb91cde868666ae2
[ "MIT" ]
null
null
null
from celery import Celery, group celery = Celery('tasks', backend='redis://:Km7icdOpKvb6JIzN40iG@kanga-cso1g09c', broker='amqp://guest:mkP5b9mholFmthIixyNx@kanga-cso1g09c//') @celery.task def add(x, y): return x + y @celery.task def addlist(list): return group(add.subtask((i,i)) for i in list).apply_async()....
25.153846
141
0.715596
46
327
5.065217
0.630435
0.111588
0.111588
0
0
0
0
0
0
0
0
0.041667
0.119266
327
12
142
27.25
0.767361
0
0
0.25
0
0
0.303681
0.288344
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cc6957a197b7f3640abef490156842f956195524
1,090
py
Python
src/onegov/ballot/models/election/__init__.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/ballot/models/election/__init__.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/ballot/models/election/__init__.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from onegov.ballot.models.election.association import ElectionAssociation from onegov.ballot.models.election.candidate import Candidate from onegov.ballot.models.election.candidate_result import CandidateResult from onegov.ballot.models.election.election import Election from onegov.ballot.models.election.election_compo...
37.586207
76
0.815596
117
1,090
7.495727
0.213675
0.13683
0.218928
0.301026
0.472064
0.335234
0
0
0
0
0
0
0.104587
1,090
28
77
38.928571
0.898566
0
0
0
0
0
0.137615
0
0
0
0
0
0
1
0
false
0
0.461538
0
0.461538
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cc6c27e9ffa644b971fce903213249466a131ac9
1,531
py
Python
OpenGLCffi/GL/EXT/NV/transform_feedback.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/GL/EXT/NV/transform_feedback.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/GL/EXT/NV/transform_feedback.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
from OpenGLCffi.GL import params @params(api='gl', prms=['primitiveMode']) def glBeginTransformFeedbackNV(primitiveMode): pass @params(api='gl', prms=[]) def glEndTransformFeedbackNV(): pass @params(api='gl', prms=['count', 'attribs', 'bufferMode']) def glTransformFeedbackAttribsNV(count, attribs, bufferMode): p...
24.693548
89
0.708034
167
1,531
6.491018
0.233533
0.099631
0.121771
0.166052
0.51476
0.405904
0.363469
0.252768
0.077491
0
0
0
0.101894
1,531
61
90
25.098361
0.788364
0
0
0.378378
0
0
0.18051
0
0
0
0
0
0
1
0.324324
false
0.324324
0.027027
0
0.351351
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
1
0
0
0
0
0
3
cc6df96e38cbaea4bbaf0fbda26b20fccd569eda
2,094
py
Python
tasurvey/models.py
Rcain07/SCULabTAevaluations
fcedbd046c2880ea0ce12c7bb02b8e9f8d84d372
[ "MIT" ]
null
null
null
tasurvey/models.py
Rcain07/SCULabTAevaluations
fcedbd046c2880ea0ce12c7bb02b8e9f8d84d372
[ "MIT" ]
null
null
null
tasurvey/models.py
Rcain07/SCULabTAevaluations
fcedbd046c2880ea0ce12c7bb02b8e9f8d84d372
[ "MIT" ]
null
null
null
''' Description: A class file for our database to define each table ''' from . import db import uuid import os from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin class User(db.Model): __tablename__="user" id = db.Column(db.Integer, primary_key=True) ...
31.727273
77
0.684336
285
2,094
4.842105
0.294737
0.104348
0.130435
0.098551
0.297101
0.194203
0.14058
0.095652
0
0
0
0.012111
0.17192
2,094
65
78
32.215385
0.783737
0.064947
0
0.142857
1
0
0.066701
0
0
0
0
0
0
1
0.102041
false
0.142857
0.102041
0.081633
0.836735
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
cc91dce6aa5f17857319e29206b4e3cb707fdab4
39,680
py
Python
mgmap.py
PeltzLab-Stanford/mMap
d9f0743671c6577c21f04db7b92f8297f42c165a
[ "MIT" ]
3
2018-10-05T03:31:30.000Z
2020-09-04T01:06:18.000Z
mgmap.py
PeltzLab-Stanford/mMap
d9f0743671c6577c21f04db7b92f8297f42c165a
[ "MIT" ]
null
null
null
mgmap.py
PeltzLab-Stanford/mMap
d9f0743671c6577c21f04db7b92f8297f42c165a
[ "MIT" ]
3
2020-05-14T05:22:20.000Z
2020-12-03T17:44:55.000Z
#!/usr/bin/env pypy3 python3 import os import time import glob import pandas as pd import sys import matplotlib.pyplot as plt import seaborn as sns from collections import OrderedDict from decimal import Decimal from scipy.stats import hypergeom import math import mechanize from urllib.error import HTTPError import nu...
31.693291
139
0.611164
5,996
39,680
3.976318
0.106738
0.010318
0.012415
0.013967
0.785463
0.757822
0.725652
0.696712
0.664248
0.612239
0
0.033014
0.182434
39,680
1,251
140
31.718625
0.701859
0.013659
0
0.636691
0
0.016187
0.338761
0.0649
0.01259
0
0
0
0
1
0.010791
false
0.022482
0.020683
0
0.032374
0.054856
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cc97144f15d3971b77c4412fd36e8358a29f194b
351
py
Python
crawlertool/_abc/__init__.py
ChangxingJiang/CrawlerTool
c432263df45cca3b1f4caca0494796caa1fa706a
[ "Apache-2.0" ]
1
2021-04-28T06:31:19.000Z
2021-04-28T06:31:19.000Z
crawlertool/_abc/__init__.py
ChangxingJiang/CrawlerTool
c432263df45cca3b1f4caca0494796caa1fa706a
[ "Apache-2.0" ]
null
null
null
crawlertool/_abc/__init__.py
ChangxingJiang/CrawlerTool
c432263df45cca3b1f4caca0494796caa1fa706a
[ "Apache-2.0" ]
1
2021-04-28T06:30:25.000Z
2021-04-28T06:30:25.000Z
""" 对于单次运行的爬虫,通过调用running()方法执行爬虫,爬虫运行结果为running()方法的返回值; 对于循环运行的爬虫,通过调用start()方法执行爬虫,爬虫运行结果通过参数传递给write()方法,通过重写write()方法处理返回值。 爬虫抽象基类列表: BaseSpider(object) 基础爬虫 SingleSpider(BaseSpider) 简单单线程爬虫 LoopSpider(SingleSpider) 简单单线程循环运行爬虫 """ from .base_spider import BaseSpider from .loop_spider import LoopSpider from .sin...
25.071429
70
0.834758
37
351
7.837838
0.675676
0.124138
0
0
0
0
0
0
0
0
0
0
0.071225
351
13
71
27
0.889571
0.652422
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
aed396d3986107c07218a5c831e977b90e0aaf8d
126
py
Python
beginner7.py
sivaram-oss/GUVI-codekata
e4e007734e2c8db75ee9db27ef4f4bdd3c677509
[ "MIT" ]
1
2018-01-25T06:11:05.000Z
2018-01-25T06:11:05.000Z
beginner7.py
sivaramasubramanian/GUVI-codekata
e4e007734e2c8db75ee9db27ef4f4bdd3c677509
[ "MIT" ]
null
null
null
beginner7.py
sivaramasubramanian/GUVI-codekata
e4e007734e2c8db75ee9db27ef4f4bdd3c677509
[ "MIT" ]
1
2018-01-25T10:21:50.000Z
2018-01-25T10:21:50.000Z
# print "Hello" N times n=int(input()) if n>=0: for i in range(n): print("Hello") else: print("Invalid input")
18
26
0.571429
21
126
3.428571
0.666667
0.277778
0
0
0
0
0
0
0
0
0
0.010526
0.246032
126
7
26
18
0.747368
0.166667
0
0
0
0
0.173077
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
aee5d57a6f67be462b88c9c2d62f6d766f54cfe2
382
py
Python
autogl/data/graph/_general_static_graph/_general_static_graph.py
dedsec-9/AutoGL
487f2b2f798b9b1363ad5dc100fb410b12222e06
[ "MIT" ]
null
null
null
autogl/data/graph/_general_static_graph/_general_static_graph.py
dedsec-9/AutoGL
487f2b2f798b9b1363ad5dc100fb410b12222e06
[ "MIT" ]
null
null
null
autogl/data/graph/_general_static_graph/_general_static_graph.py
dedsec-9/AutoGL
487f2b2f798b9b1363ad5dc100fb410b12222e06
[ "MIT" ]
null
null
null
from . import _abstract_views class GeneralStaticGraph: @property def nodes(self) -> _abstract_views.HeterogeneousNodeView: raise NotImplementedError @property def edges(self) -> _abstract_views.HeterogeneousEdgesView: raise NotImplementedError @property def data(self) -> _ab...
23.875
62
0.732984
33
382
8.242424
0.515152
0.191176
0.1875
0.257353
0
0
0
0
0
0
0
0
0.206806
382
15
63
25.466667
0.89769
0
0
0.545455
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.454545
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
1
0
0
0
0
0
0
0
3
aef973f431db10dacdbcf8dc3f3dc9f3308d9c21
2,678
py
Python
pycatia/product_structure_interfaces/product_document.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
90
2019-02-21T10:05:28.000Z
2022-03-19T01:53:41.000Z
pycatia/product_structure_interfaces/product_document.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
99
2019-05-21T08:29:12.000Z
2022-03-25T09:55:15.000Z
pycatia/product_structure_interfaces/product_document.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
26
2019-04-04T06:31:36.000Z
2022-03-30T07:24:47.000Z
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
35.706667
108
0.539208
269
2,678
5.29368
0.442379
0.030899
0.016854
0.021067
0.105337
0.091292
0.091292
0.077247
0.077247
0.077247
0
0.043017
0.401046
2,678
74
109
36.189189
0.844763
0.692681
0
0
1
0
0.07839
0.048729
0
0
0
0
0
1
0.272727
false
0
0.181818
0.090909
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4e0791a357145cc42524ead788a1e2919f176cf9
786
py
Python
scrapywork/items.py
KFPA/ScrapyNews
2e3e15fce5dd082c7d595effd7294f5a8f1b5319
[ "Apache-2.0" ]
15
2017-09-08T09:50:01.000Z
2022-02-23T11:08:18.000Z
scrapywork/items.py
KFPA/ScrapyNews
2e3e15fce5dd082c7d595effd7294f5a8f1b5319
[ "Apache-2.0" ]
null
null
null
scrapywork/items.py
KFPA/ScrapyNews
2e3e15fce5dd082c7d595effd7294f5a8f1b5319
[ "Apache-2.0" ]
1
2019-08-08T18:46:52.000Z
2019-08-08T18:46:52.000Z
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy from scrapy.loader.processors import MapCompose class ScrapyworkItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.F...
18.714286
51
0.651399
100
786
5.1
0.57
0.301961
0.058824
0
0
0
0
0
0
0
0
0.001631
0.220102
786
41
52
19.170732
0.830343
0.302799
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.055556
0.111111
0
0.944444
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
0
1
0
0
1
0
0
3