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
4f1cde96bf0f1702496f0f9fd3640c2c61599da7
71
py
Python
DQN_knapsack/model.py
GeoffNN/DLforCombin
02553a50491420ab0d51860faff4f9d5aee59616
[ "MIT" ]
5
2017-12-29T12:16:37.000Z
2020-05-24T22:53:56.000Z
DQN_knapsack/model.py
GeoffNN/DLforCombin
02553a50491420ab0d51860faff4f9d5aee59616
[ "MIT" ]
1
2018-01-28T20:09:44.000Z
2018-01-28T20:09:44.000Z
DQN_knapsack/model.py
GeoffNN/DLforCombin
02553a50491420ab0d51860faff4f9d5aee59616
[ "MIT" ]
1
2020-05-24T22:53:50.000Z
2020-05-24T22:53:50.000Z
def model(adjacency_matrix, values, T): for t in range(T):
23.666667
39
0.605634
11
71
3.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.28169
71
3
40
23.666667
0.823529
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4f4150e3ca397053c9d2b5205530e08984d6a270
271
py
Python
app/middlewares/validation.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
null
null
null
app/middlewares/validation.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
null
null
null
app/middlewares/validation.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
2
2018-10-01T17:45:19.000Z
2020-12-07T13:48:25.000Z
from functools import wraps def validate(Request): def decorator(fn): @wraps(fn) def wrapper(*args, **kwargs): req = Request() req.validate() return fn(*args, **kwargs) return wrapper return decorator
20.846154
38
0.553506
28
271
5.357143
0.5
0.133333
0
0
0
0
0
0
0
0
0
0
0.343173
271
12
39
22.583333
0.842697
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.7
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4f503a2a85df70c45afe98c41850a769284e6734
2,457
py
Python
typing_game/controllers.py
CarsonSlovoka/typing-game
bbf5569f93ccc21cc78c9ae8940d91a74d314767
[ "MIT" ]
null
null
null
typing_game/controllers.py
CarsonSlovoka/typing-game
bbf5569f93ccc21cc78c9ae8940d91a74d314767
[ "MIT" ]
null
null
null
typing_game/controllers.py
CarsonSlovoka/typing-game
bbf5569f93ccc21cc78c9ae8940d91a74d314767
[ "MIT" ]
null
null
null
from typing import Tuple, Generator import pygame from pygame.event import EventType from .api import generics from .api.utils import ABCSafeMember, SafeMember import abc class PyGameKeyboard(generics.KeyboardController): __slots__ = () KEYBOARD_CONTROLLER = pygame def get_event(self) -> Tuple[EventType...
28.569767
107
0.619048
295
2,457
4.898305
0.311864
0.051903
0.047059
0.047059
0.214533
0.19654
0.153633
0.130104
0.130104
0.09827
0
0.001721
0.290598
2,457
85
108
28.905882
0.827309
0.094424
0
0.206897
0
0
0.008567
0
0
0
0
0
0
1
0.206897
false
0
0.103448
0.12069
0.534483
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
4f8a822757d600bb7a2e4b66eca6188547828f6a
3,968
py
Python
src/chapter12/chapter12.py
Peefy/StatisticalLearningMethod.Python
7324d51b58932052bc518b9e82f64b76f0c39bf0
[ "Apache-2.0" ]
1
2018-10-05T08:20:50.000Z
2018-10-05T08:20:50.000Z
src/chapter12/chapter12.py
Peefy/StatisticalLearningMethod.Python
7324d51b58932052bc518b9e82f64b76f0c39bf0
[ "Apache-2.0" ]
null
null
null
src/chapter12/chapter12.py
Peefy/StatisticalLearningMethod.Python
7324d51b58932052bc518b9e82f64b76f0c39bf0
[ "Apache-2.0" ]
null
null
null
class Chapter12: """ 第12章 统计学习方法总结 """ def __init__(self): """ 第12章 统计学习方法总结 """ pass def note(self): """ chapter12 note """ print('第12章 统计学习方法总结') print('10种主要的统计学习方法:感知机、k近邻法、朴素贝叶斯法、决策树、', '逻辑斯谛回归与最大熵模型、支持向量机、提升方...
40.080808
72
0.61996
304
3,968
8.055921
0.615132
0.014292
0.015925
0.013067
0.035116
0.02695
0
0
0
0
0
0.011299
0.241683
3,968
98
73
40.489796
0.80226
0.010585
0
0
0
0
0.623091
0.554491
0
0
0
0
0
1
0.035714
false
0.011905
0
0
0.047619
0.404762
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
96df8347f646d6bbfd0bde2d0441104523a9b7b5
687
py
Python
app/tests/test_utils.py
serchip/test_py
5ebb7498034364bbaa764cd3fb59f7868154cccb
[ "MIT" ]
null
null
null
app/tests/test_utils.py
serchip/test_py
5ebb7498034364bbaa764cd3fb59f7868154cccb
[ "MIT" ]
null
null
null
app/tests/test_utils.py
serchip/test_py
5ebb7498034364bbaa764cd3fb59f7868154cccb
[ "MIT" ]
null
null
null
""" test_utils.py ==================================== Тесты для папки app/utils/ """ from app.utils.pgsql import generate_order_by, PGsqlOrderByExcept class TestUtilsPgsql: """тесты для pgsql.py""" def test_generate_order_by(self): """генерация ORDER BY""" assert generate_order_by([], []) ==...
34.35
97
0.596798
85
687
4.623529
0.435294
0.160305
0.229008
0.160305
0.188295
0.124682
0
0
0
0
0
0
0.216885
687
20
98
34.35
0.730483
0.167394
0
0
1
0
0.246847
0
0
0
0
0
0.4
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
96e041aee6d8fa332bc29d282bd013336832808c
19
py
Python
cloakensdk/__init__.py
splunk-soar-connectors/cloaken
8776fb2816a36ae18f4f7624091967b5874c3a79
[ "Apache-2.0" ]
null
null
null
cloakensdk/__init__.py
splunk-soar-connectors/cloaken
8776fb2816a36ae18f4f7624091967b5874c3a79
[ "Apache-2.0" ]
null
null
null
cloakensdk/__init__.py
splunk-soar-connectors/cloaken
8776fb2816a36ae18f4f7624091967b5874c3a79
[ "Apache-2.0" ]
null
null
null
name = "cloakensdk"
19
19
0.736842
2
19
7
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
19
1
19
19
0.823529
0
0
0
0
0
0.5
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
8c07d099ea299fa2189252de359a14c4c40c6409
108
py
Python
yt_dlp/version.py
deepukumarpuri/ytp
aa4b0545120becc11a5992384ce52c943da8ead5
[ "Unlicense" ]
2
2021-08-24T16:53:31.000Z
2021-12-17T16:55:04.000Z
yt_dlp/version.py
ITZ-ZAID/yt-dl
aa4b0545120becc11a5992384ce52c943da8ead5
[ "Unlicense" ]
null
null
null
yt_dlp/version.py
ITZ-ZAID/yt-dl
aa4b0545120becc11a5992384ce52c943da8ead5
[ "Unlicense" ]
2
2022-01-10T14:28:00.000Z
2022-01-10T14:49:09.000Z
# Autogenerated by devscripts/update-version.py __version__ = '2021.12.01' RELEASE_GIT_HEAD = '91f071af6'
18
47
0.777778
14
108
5.571429
0.928571
0
0
0
0
0
0
0
0
0
0
0.145833
0.111111
108
5
48
21.6
0.666667
0.416667
0
0
1
0
0.311475
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8c22bf73b44a19e14c1164a26ef22521b6ef50a1
94
py
Python
custom_components/emporia_vue/const.py
adriancampos/ha-emporia-vue
59410486ca6c1e68ec2b4e7e8a1b65aafa9fc868
[ "MIT" ]
null
null
null
custom_components/emporia_vue/const.py
adriancampos/ha-emporia-vue
59410486ca6c1e68ec2b4e7e8a1b65aafa9fc868
[ "MIT" ]
null
null
null
custom_components/emporia_vue/const.py
adriancampos/ha-emporia-vue
59410486ca6c1e68ec2b4e7e8a1b65aafa9fc868
[ "MIT" ]
null
null
null
"""Constants for the Emporia Vue integration.""" DOMAIN = "emporia_vue" VUE_DATA = "vue_data"
23.5
48
0.734043
13
94
5.076923
0.615385
0.30303
0
0
0
0
0
0
0
0
0
0
0.12766
94
4
49
23.5
0.804878
0.446809
0
0
0
0
0.404255
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
8c3872e3ea710a7d331a96b88bf46b2d64d6e883
204
py
Python
vscode-settings/install-extensions.py
rihan97/DevOps-Tooling
533f8912076f68b1c10db419fbf5a3401f78c10f
[ "Apache-2.0" ]
43
2021-12-11T17:40:56.000Z
2022-03-16T07:29:48.000Z
vscode-settings/install-extensions.py
rihan97/DevOps-Tooling
533f8912076f68b1c10db419fbf5a3401f78c10f
[ "Apache-2.0" ]
1
2021-12-13T11:04:32.000Z
2021-12-13T12:01:41.000Z
vscode-settings/install-extensions.py
rihan97/DevOps-Tooling
533f8912076f68b1c10db419fbf5a3401f78c10f
[ "Apache-2.0" ]
13
2021-12-12T00:10:54.000Z
2022-02-20T20:47:39.000Z
#Python script that installs vs code extensions listed in vscode-extensions.txt import os with open('vscode-extensions.txt') as f: for line in f: os.system('code --install-extension ' + line)
40.8
80
0.720588
31
204
4.741935
0.709677
0.217687
0.258503
0
0
0
0
0
0
0
0
0
0.181373
204
5
81
40.8
0.88024
0.382353
0
0
0
0
0.368
0.168
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
8c443c631564acaecde107799c919680b6fb770f
7,954
py
Python
submit.py
medetm0524/DataScientist_salary2021
63034fe84bc1a3fb12d65eecbb31f4786ec37aa6
[ "CNRI-Python" ]
null
null
null
submit.py
medetm0524/DataScientist_salary2021
63034fe84bc1a3fb12d65eecbb31f4786ec37aa6
[ "CNRI-Python" ]
null
null
null
submit.py
medetm0524/DataScientist_salary2021
63034fe84bc1a3fb12d65eecbb31f4786ec37aa6
[ "CNRI-Python" ]
null
null
null
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import pandas as pd import numpy as np import seaborn as sb from sklearn.linear_model import LinearRegression from sklearn.model_selection import train_test_split from sklearn.metrics import r2_score, mean_squared_error from s...
39.376238
195
0.64521
1,212
7,954
4.186469
0.165017
0.055183
0.064052
0.039022
0.774931
0.733938
0.704375
0.695112
0.681317
0.637367
0
0.069212
0.157154
7,954
201
196
39.572139
0.687649
0.033317
0
0.514286
0
0
0.356712
0.002816
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
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
4fb17c6cae779dce13ae20dbc92eaac8787de542
365
py
Python
data_collection/gazette/spiders/ba_xique_xique.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
454
2018-04-07T03:32:57.000Z
2020-08-17T19:56:22.000Z
data_collection/gazette/spiders/ba_xique_xique.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
165
2018-04-13T00:36:17.000Z
2020-08-17T23:41:45.000Z
data_collection/gazette/spiders/ba_xique_xique.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
183
2018-04-11T15:09:37.000Z
2020-08-15T18:55:11.000Z
from datetime import date from gazette.spiders.base.imprensa_oficial import ImprensaOficialSpider class BaXiqueXiqueSpider(ImprensaOficialSpider): name = "ba_xique_xique" allowed_domains = ["pmxiquexiqueba.imprensaoficial.org"] start_date = date(2017, 1, 1) url_base = "http://pmxiquexiqueba.imprensa...
28.076923
71
0.764384
39
365
6.974359
0.717949
0.213235
0.235294
0
0
0
0
0
0
0
0
0.041401
0.139726
365
12
72
30.416667
0.824841
0
0
0
0
0
0.271233
0.093151
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4fc7e598d7a2fbb02d7330845c82c02fbed11bd9
146
py
Python
python3/char/chr1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
python3/char/chr1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
python3/char/chr1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
#!/usr/local/bin/python3.7 #!/usr/bin/env python3 #!/usr/bin/python3 for i1 in range(32, 127): c1 = chr(i1) print(("%d %s" % (i1, c1)))
16.222222
31
0.568493
26
146
3.192308
0.653846
0.240964
0
0
0
0
0
0
0
0
0
0.117647
0.184932
146
8
32
18.25
0.579832
0.431507
0
0
0
0
0.0625
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
4fcb66112446632fac99595238582b66f3a7eaea
49
py
Python
terrascript/resource/grafana.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/resource/grafana.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/resource/grafana.py
hugovk/python-terrascript
08fe185904a70246822f5cfbdc9e64e9769ec494
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/resource/grafana.py __all__ = []
9.8
33
0.714286
5
49
6.2
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
49
4
34
12.25
0.738095
0.632653
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
4fdbb46c9302d253f1426f3eebfee28d0c15d99e
477
py
Python
Models/Morphotype.py
shell-done/Spongo_IHM
3492c889b1d60cf50b4b2625b496fd6958309a8e
[ "MIT" ]
7
2021-04-24T20:28:08.000Z
2021-06-09T16:32:31.000Z
Models/Morphotype.py
shell-done/Spongo
3492c889b1d60cf50b4b2625b496fd6958309a8e
[ "MIT" ]
8
2021-04-08T08:33:29.000Z
2021-04-09T15:33:45.000Z
Models/Morphotype.py
shell-done/Spongo_IHM
3492c889b1d60cf50b4b2625b496fd6958309a8e
[ "MIT" ]
null
null
null
from PySide2.QtGui import QColor class Morphotype: def __init__(self, name:str, color: QColor): self._name = name self._color = color def name(self) -> str: return self._name def setName(self, name: str): self._name = name def color(self) -> QColor: ...
22.714286
49
0.574423
57
477
4.54386
0.280702
0.185328
0.084942
0.131274
0.162162
0
0
0
0
0
0
0.003135
0.331237
477
21
50
22.714286
0.808777
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.066667
0.2
0.733333
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
4fe28da4b741fc2e3e8d9dbd6bcd66d71a7fd1ae
924
py
Python
DSA/pythonhackerrank/learn_split_join_calls.py
RohanMiraje/DSAwithPython
ea4884afcac9d6cc2817a93e918c829dd10cef5d
[ "MIT" ]
2
2020-02-12T03:00:03.000Z
2020-07-06T17:27:03.000Z
DSA/pythonhackerrank/learn_split_join_calls.py
RohanMiraje/DSAwithPython
ea4884afcac9d6cc2817a93e918c829dd10cef5d
[ "MIT" ]
null
null
null
DSA/pythonhackerrank/learn_split_join_calls.py
RohanMiraje/DSAwithPython
ea4884afcac9d6cc2817a93e918c829dd10cef5d
[ "MIT" ]
null
null
null
""" In Python, a string can be split on a delimiter. Example: >>> a = "this is a string" >>> a = a.split(" ") # a is converted to a list of strings. >>> print a ['this', 'is', 'a', 'string'] Joining a string is simple: >>> a = "-".join(a) >>> print a this-is-a-string Task You are given a string. Split the string on ...
18.857143
94
0.694805
147
924
4.258503
0.408163
0.111821
0.055911
0.103834
0.083067
0.060703
0
0
0
0
0
0
0.193723
924
48
95
19.25
0.840268
0.807359
0
0
0
0
0.052941
0
0
0
0
0.020833
0
1
0.166667
false
0
0
0.166667
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
1
0
0
0
3
4ff9f70018271caf48737e12cb407ab82841cee4
314
py
Python
utils/datasetPreprocess.py
GpNico/KernelMethods_MVA_Kaggle
c6c083301977ca765557680f1e724a5d0322ef13
[ "MIT" ]
null
null
null
utils/datasetPreprocess.py
GpNico/KernelMethods_MVA_Kaggle
c6c083301977ca765557680f1e724a5d0322ef13
[ "MIT" ]
null
null
null
utils/datasetPreprocess.py
GpNico/KernelMethods_MVA_Kaggle
c6c083301977ca765557680f1e724a5d0322ef13
[ "MIT" ]
null
null
null
# datasetPreprocess.py # Preprocessing should should have a fit and a transform step def convert_numpy(df): return df.to_numpy() def drop_columns(df, ids): return df.drop(ids, axis = 1) def recode(df): df["Bound"] = 2*df["Bound"] - 1 return df def squeeze(array): return array.squeeze()
20.933333
61
0.671975
48
314
4.333333
0.541667
0.115385
0
0
0
0
0
0
0
0
0
0.012048
0.207006
314
15
62
20.933333
0.823293
0.254777
0
0
0
0
0.043103
0
0
0
0
0
0
1
0.444444
false
0
0
0.333333
0.888889
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
8b2a51b38fa4d2a9cf7396735c9a74ee5188a508
160
py
Python
exercises/fr/test_03_14_01.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
2,085
2019-04-17T13:10:40.000Z
2022-03-30T21:51:46.000Z
exercises/fr/test_03_14_01.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
79
2019-04-18T14:42:55.000Z
2022-03-07T08:15:43.000Z
exercises/fr/test_03_14_01.py
Jette16/spacy-course
32df0c8f6192de6c9daba89740a28c0537e4d6a0
[ "MIT" ]
361
2019-04-17T13:34:32.000Z
2022-03-28T04:42:45.000Z
def test(): assert ( "for doc in nlp.pipe(TEXTS)" in __solution__ ), "Itères-tu sur les docs générés par nlp.pipe ?" __msg__.good("Joli !")
26.666667
54
0.60625
23
160
3.869565
0.869565
0.157303
0
0
0
0
0
0
0
0
0
0
0.25625
160
5
55
32
0.747899
0
0
0
0
0
0.48125
0
0
0
0
0
0.2
1
0.2
true
0
0
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8b368e3e0869903e887a678e4fb831a42c4c8fa0
1,896
py
Python
python/lib/build_aesmix.py
mosaicrown/aesmix
e3c48ebe29980659baddf7581892803a074e2b56
[ "MIT" ]
1
2020-05-21T18:28:28.000Z
2020-05-21T18:28:28.000Z
python/lib/build_aesmix.py
mosaicrown/aesmix
e3c48ebe29980659baddf7581892803a074e2b56
[ "MIT" ]
null
null
null
python/lib/build_aesmix.py
mosaicrown/aesmix
e3c48ebe29980659baddf7581892803a074e2b56
[ "MIT" ]
null
null
null
#!/usr/bin/env python import cffi import os ffibuilder = cffi.FFI() ffibuilder.cdef(""" /* aes_mix.h */ void mixencrypt(const unsigned char* data, unsigned char* out, const unsigned long size, const unsigned char* key, const unsigned char* iv); void mixdecrypt(con...
33.263158
73
0.580169
218
1,896
4.926606
0.256881
0.290503
0.284916
0.117318
0.637803
0.637803
0.569832
0.569832
0.569832
0.526071
0
0
0.318038
1,896
56
74
33.857143
0.830626
0.010549
0
0.282051
0
0
0.836895
0.035433
0
0
0
0
0
1
0
false
0
0.051282
0
0.051282
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8b3bd68e6f74aa6a0072e129581e3769091e3c48
9,654
py
Python
calaccess_processed_filings/models/campaign/form460/schedules/e.py
california-civic-data-coalition/django-calaccess-processed-data
01f265234dce26cbe519046a553b7a93c9ad712a
[ "MIT" ]
10
2016-09-20T10:39:51.000Z
2022-01-31T03:28:43.000Z
calaccess_processed_filings/models/campaign/form460/schedules/e.py
world-admin/django-calaccess-processed-data
01f265234dce26cbe519046a553b7a93c9ad712a
[ "MIT" ]
221
2016-02-14T23:08:00.000Z
2021-06-20T15:30:09.000Z
calaccess_processed_filings/models/campaign/form460/schedules/e.py
world-admin/django-calaccess-processed-data
01f265234dce26cbe519046a553b7a93c9ad712a
[ "MIT" ]
44
2016-09-30T18:02:25.000Z
2022-01-14T02:25:55.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Models for storing data from Campaign Disclosure Statements (Form 460). """ from django.db import models from calaccess_processed_filings.models.base import FilingBaseModel from calaccess_processed_filings.models.campaign import ( CampaignExpenditureItemBase, Ca...
31.861386
120
0.657758
1,132
9,654
5.473498
0.176678
0.033409
0.036314
0.023725
0.797289
0.733376
0.702066
0.692382
0.675759
0.646223
0
0.020085
0.27284
9,654
302
121
31.966887
0.862536
0.355811
0
0.66
0
0.013333
0.300384
0.033007
0
0
0
0
0
1
0.04
false
0
0.02
0.04
0.26
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
8c7cc52fd639c3c55e803919019b6159a7cfbd31
126
py
Python
10_cpx_neopixels_fill.py
bergatron/PS1_2018
3e3f772597d4dd87fb823a705c24d44cd3a732ec
[ "MIT" ]
8
2018-07-29T16:52:46.000Z
2019-08-09T03:02:30.000Z
15_cpx_neopixels_fill.py
kojoidrissa/pyohio_2018_cp
7c12ddb2305f2a60f16635b13cd3832f77ff6d74
[ "MIT" ]
1
2018-05-09T17:31:13.000Z
2018-07-03T18:01:59.000Z
15_cpx_neopixels_fill.py
kojoidrissa/pyohio_2018_cp
7c12ddb2305f2a60f16635b13cd3832f77ff6d74
[ "MIT" ]
4
2018-05-08T02:57:52.000Z
2018-12-08T14:09:09.000Z
from adafruit_circuitplayground.express import cpx cpx.pixels.brightness = 0.3 while True: cpx.pixels.fill((255, 0, 0))
18
50
0.746032
19
126
4.894737
0.736842
0.193548
0
0
0
0
0
0
0
0
0
0.064815
0.142857
126
6
51
21
0.796296
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8c8d8663b362d0a04c6db2fdc81f37d72c2f7eca
189
py
Python
semana02/ejemplo04.py
haroldtr/python-p32021
774552481a8f941b193bc9f1f4af93cd37786be6
[ "MIT" ]
1
2021-09-30T15:00:26.000Z
2021-09-30T15:00:26.000Z
semana02/ejemplo04.py
haroldtr/python-p32021
774552481a8f941b193bc9f1f4af93cd37786be6
[ "MIT" ]
null
null
null
semana02/ejemplo04.py
haroldtr/python-p32021
774552481a8f941b193bc9f1f4af93cd37786be6
[ "MIT" ]
null
null
null
userName = input('Ingresar usuario ') password = int(input('Ingresa pass: ')) if (userName == 'pablo') and (password == 123456): print('Bienvenido') else: print('Acceso denegado')
23.625
50
0.661376
21
189
5.952381
0.809524
0
0
0
0
0
0
0
0
0
0
0.037975
0.164021
189
7
51
27
0.753165
0
0
0
0
0
0.322751
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
8ca1a9be37698a29d8ae4bf93ffe289c02a18384
1,696
py
Python
src/abaqus/PredefinedField/FluidCavityPressure.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/PredefinedField/FluidCavityPressure.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/PredefinedField/FluidCavityPressure.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
from .PredefinedField import PredefinedField from ..Region.Region import Region class FluidCavityPressure(PredefinedField): """The FluidCavityPressure object stores the data for initial fluid cavity pressures. The base class*region* argument can not be specifed with this object. The FluidCavityPressure o...
26.5
112
0.629127
172
1,696
6.156977
0.412791
0.067989
0.07932
0.035883
0.160529
0.160529
0.160529
0.103872
0.103872
0
0
0
0.290094
1,696
63
113
26.920635
0.879568
0.667453
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8caaa173c3159e006f481700090706616e42db23
78
py
Python
data/studio21_generated/interview/0200/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0200/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0200/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def findMinFibonacciNumbers(self, k: int) -> int:
26
53
0.641026
8
78
6.25
0.875
0
0
0
0
0
0
0
0
0
0
0
0.25641
78
3
54
26
0.862069
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5075c9d33520d52e28867a8cc8a00f32633749c7
36,098
py
Python
autograd/tensor.py
ChristophReich1996/ToeffiPy
34ca9cd97a488cdc58d2b909ba963edb80ae2b76
[ "MIT" ]
13
2020-04-14T20:55:35.000Z
2022-03-20T09:25:12.000Z
autograd/tensor.py
ChristophReich1996/ToeffiPy
34ca9cd97a488cdc58d2b909ba963edb80ae2b76
[ "MIT" ]
null
null
null
autograd/tensor.py
ChristophReich1996/ToeffiPy
34ca9cd97a488cdc58d2b909ba963edb80ae2b76
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import List, Union, Optional, Callable, Tuple, Dict from dataclasses import dataclass import numpy as np @dataclass class Dependency: """ Data class including activation and gradient function """ activation: Tensor grad_fn: Callable[[np.ndarray], np....
37.099692
115
0.626378
4,302
36,098
5.147606
0.073222
0.044705
0.02601
0.030345
0.736193
0.701558
0.663987
0.656807
0.644705
0.624791
0
0.005926
0.275362
36,098
972
116
37.13786
0.840661
0.399939
0
0.34104
0
0
0.011235
0
0
0
0
0
0.00289
1
0.222543
false
0
0.011561
0
0.471098
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
50799c64c7c4f7386d8a649b21955e3faa79b352
298
py
Python
py_mcws/__init__.py
Astrea49/py-mcws
dc9dde735913552bcdbea0e1a2ff46afe5f34a55
[ "MIT" ]
1
2021-12-11T01:50:07.000Z
2021-12-11T01:50:07.000Z
py_mcws/__init__.py
Astrea49/py-mcws
dc9dde735913552bcdbea0e1a2ff46afe5f34a55
[ "MIT" ]
null
null
null
py_mcws/__init__.py
Astrea49/py-mcws
dc9dde735913552bcdbea0e1a2ff46afe5f34a55
[ "MIT" ]
null
null
null
""" Minecraft Websocket Python Wrapper ~~~~~~~~~~~~~~~~~~~ A (fork of a) library for connecting Minecraft and Python. :copyright: (c) 2021-present はらたく, Astrea49 :license: MIT, see LICENSE for more details. """ from .events import Events from .server import listener from .server import MCWSClient
27.090909
58
0.724832
39
298
5.538462
0.717949
0.092593
0.148148
0
0
0
0
0
0
0
0
0.023346
0.137584
298
10
59
29.8
0.817121
0.677852
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
507ad086567a9f5fa8bfec4e88cf206a559f5122
355
py
Python
other/dingding/dingtalk/api/rest/OapiDingmiO2oSendRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiDingmiO2oSendRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiDingmiO2oSendRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
''' Created by auto_sdk on 2020.09.27 ''' from dingtalk.api.base import RestApi class OapiDingmiO2oSendRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.msg_key = None self.msg_param = None self.userid = None def getHttpMethod(self): return 'POST' def getapiname(self): retu...
20.882353
40
0.740845
51
355
4.941176
0.647059
0.063492
0.087302
0
0
0
0
0
0
0
0
0.032787
0.140845
355
16
41
22.1875
0.793443
0.092958
0
0
0
0
0.105096
0.092357
0
0
0
0
0
1
0.272727
false
0
0.090909
0.181818
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
507da3df63366615cff69244fb070463351183e2
38,348
py
Python
pandas_test.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
1
2020-09-18T15:08:46.000Z
2020-09-18T15:08:46.000Z
pandas_test.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
null
null
null
pandas_test.py
hollo08/stockstrategy
09ece2457d653439a8ace80a6ac7dd4da9813846
[ "MIT" ]
2
2022-01-23T03:26:22.000Z
2022-03-28T16:21:01.000Z
#! /usr/bin/env python # -*- encoding: utf-8 -*- import pandas as pd import numpy as np print(pd.__version__) # 0.23.4 def np_array(): deftype = ([('date', np.str_, 10), ('close', np.float32), ('vol', np.uint32)]) stock = np.array([('2019-01-11', 11.01, 1300000), ('2019-01-12', 12.11...
33.876325
129
0.535047
5,980
38,348
3.368896
0.092809
0.097687
0.026209
0.018018
0.562692
0.501241
0.415417
0.37392
0.358533
0.333664
0
0.306672
0.274252
38,348
1,132
130
33.876325
0.417053
0.079587
0
0.184127
0
0.003175
0.240094
0.116535
0
0
0
0
0
1
0.044444
false
0
0.015873
0
0.066667
0.507937
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
508b3d166489f0d7f7d43c7b49272ee116582aa3
90
py
Python
ig_clone/apps.py
RonnyLincoln/instagram_clone
5bc2d36df8d0bdf13ff11e5b9831c8dd5f75f0d3
[ "MIT" ]
null
null
null
ig_clone/apps.py
RonnyLincoln/instagram_clone
5bc2d36df8d0bdf13ff11e5b9831c8dd5f75f0d3
[ "MIT" ]
null
null
null
ig_clone/apps.py
RonnyLincoln/instagram_clone
5bc2d36df8d0bdf13ff11e5b9831c8dd5f75f0d3
[ "MIT" ]
null
null
null
from django.apps import AppConfig class IgCloneConfig(AppConfig): name = 'ig_clone'
15
33
0.755556
11
90
6.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.166667
90
5
34
18
0.893333
0
0
0
0
0
0.088889
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5092430fbd9fd6dafed584fe01a21d6d34d1061b
1,175
py
Python
appassure/core/IBootCdBuilderManagement.py
rshipp/python-appassure
49230249bf5600dc6e7f534baaa81a5402bdf781
[ "BSD-3-Clause" ]
null
null
null
appassure/core/IBootCdBuilderManagement.py
rshipp/python-appassure
49230249bf5600dc6e7f534baaa81a5402bdf781
[ "BSD-3-Clause" ]
2
2015-02-11T16:19:30.000Z
2015-04-20T11:14:47.000Z
appassure/core/IBootCdBuilderManagement.py
rshipp/python-appassure
49230249bf5600dc6e7f534baaa81a5402bdf781
[ "BSD-3-Clause" ]
null
null
null
"""AppAssure 5 Core API""" from appassure.api import AppAssureAPI class IBootCdBuilderManagement(AppAssureAPI): """Full documentation online at http://docs.appassure.com/display/AA50D/IBootCdBuilderManagement """ def getDefaultOutputPath(self): """Gets the default path were resulting ISO imag...
39.166667
72
0.675745
114
1,175
6.964912
0.614035
0.050378
0.085642
0.120907
0.186398
0
0
0
0
0
0
0.003264
0.217872
1,175
29
73
40.517241
0.860718
0.300426
0
0
0
0
0.214379
0.096732
0
0
0
0
0
1
0.307692
false
0.153846
0.076923
0
0.769231
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
5098d3136ec33c815f3c8fee87c468688735010a
917
py
Python
polls/migrations/0002_auto_20180825_1509.py
bunya017/Evotche
489381163ee586ef21514df7788511a190adab45
[ "MIT" ]
null
null
null
polls/migrations/0002_auto_20180825_1509.py
bunya017/Evotche
489381163ee586ef21514df7788511a190adab45
[ "MIT" ]
null
null
null
polls/migrations/0002_auto_20180825_1509.py
bunya017/Evotche
489381163ee586ef21514df7788511a190adab45
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-08-25 14:09 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('polls', '0001_initial'), ] operations = [ migrations.RenameField( mode...
25.472222
49
0.576881
91
917
5.472527
0.494505
0.168675
0.208835
0.240964
0.425703
0.425703
0.425703
0.232932
0.232932
0
0
0.035088
0.316249
917
35
50
26.2
0.759171
0.075245
0
0.428571
1
0
0.208284
0.028402
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
50aa5e5ca63004b758cce78ebaab856abdc3c82e
247
py
Python
coffer/__init__.py
robobrobro/coffer
b0bcc6a57c3dfe1ffebbc43cd9bde7a6d1dcf493
[ "MIT" ]
1
2016-01-26T13:00:47.000Z
2016-01-26T13:00:47.000Z
coffer/__init__.py
robobrobro/coffer
b0bcc6a57c3dfe1ffebbc43cd9bde7a6d1dcf493
[ "MIT" ]
null
null
null
coffer/__init__.py
robobrobro/coffer
b0bcc6a57c3dfe1ffebbc43cd9bde7a6d1dcf493
[ "MIT" ]
null
null
null
""" [(En)|(De)]crypts files """ from .coffer import Coffer from .main import main, get_program_name, get_description from .version import __version__ __all__ = ['main', 'get_program_name', 'get_description', 'Coffer'] __version__ = __version__
20.583333
67
0.744939
31
247
5.225806
0.451613
0.08642
0.17284
0.222222
0.395062
0.395062
0
0
0
0
0
0
0.121457
247
11
68
22.454545
0.746544
0.093117
0
0
0
0
0.189815
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
50d79973b9481cb3d449520d5a946db099bed087
240
py
Python
BaseTools/Source/Python/UPT/GenMetaFile/GenXmlFile.py
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
3,861
2019-09-04T10:10:11.000Z
2022-03-31T15:46:28.000Z
BaseTools/Source/Python/UPT/GenMetaFile/GenXmlFile.py
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
1,199
2015-01-12T08:00:01.000Z
2022-03-29T18:14:42.000Z
BaseTools/Source/Python/UPT/GenMetaFile/GenXmlFile.py
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
1,850
2015-01-01T11:28:12.000Z
2022-03-31T18:10:59.000Z
## @file GenXmlFile.py # # This file contained the logical of generate XML files. # # Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # ''' GenXmlFile '''
18.461538
73
0.670833
30
240
5.366667
0.933333
0
0
0
0
0
0
0
0
0
0
0.046632
0.195833
240
12
74
20
0.787565
0.841667
0
null
1
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
50e19a899da70da8e922d061c3367d2bf3b01071
130,925
py
Python
pysnmp-with-texts/RBTWS-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/RBTWS-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/RBTWS-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module RBTWS-TRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RBTWS-TRAP-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:53:51 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
201.733436
10,488
0.798702
14,638
130,925
7.143257
0.078563
0.036667
0.048889
0.006771
0.529977
0.423687
0.390148
0.379685
0.363589
0.354217
0
0.034846
0.089906
130,925
648
10,489
202.044753
0.842699
0.002459
0
0.043269
0
0.25
0.491386
0.094017
0
0
0
0
0
1
0
false
0.003205
0.017628
0
0.144231
0.011218
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
50e44e45b6ab915608bb6ef3d6fcf8ff9afcea26
608
py
Python
kts/core/backend/util.py
konodyuk/kts
3af5ccbf1d2089cb41d171626fcde4b0ba5aa8a7
[ "MIT" ]
18
2019-02-14T13:10:07.000Z
2021-11-26T07:10:13.000Z
kts/core/backend/util.py
konodyuk/kts
3af5ccbf1d2089cb41d171626fcde4b0ba5aa8a7
[ "MIT" ]
2
2019-02-17T14:06:42.000Z
2019-09-15T18:05:54.000Z
kts/core/backend/util.py
konodyuk/kts
3af5ccbf1d2089cb41d171626fcde4b0ba5aa8a7
[ "MIT" ]
2
2019-09-15T13:12:42.000Z
2020-04-15T14:05:54.000Z
import sys import ray from kts.core.backend.address_manager import get_address_manager from kts.core.frame import KTSFrame def in_cli(): return sys.argv[0].endswith('kts') def in_worker(): return sys.argv[0].endswith('default_worker.py') def in_pytest(): return sys.argv[0].endswith('pytest') def s...
20.266667
64
0.684211
92
608
4.369565
0.369565
0.243781
0.169154
0.104478
0.164179
0
0
0
0
0
0
0.006061
0.185855
608
29
65
20.965517
0.806061
0
0
0
0
0
0.042763
0
0
0
0
0
0
1
0.210526
false
0
0.210526
0.157895
0.631579
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
1
0
0
0
1
0
0
0
3
50e92c3b4f045b65b4eff0d9cb5b76a38b6a724a
2,270
py
Python
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/smartinit/NationalBlendOC.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/smartinit/NationalBlendOC.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/smartinit/NationalBlendOC.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
1
2021-10-30T00:03:05.000Z
2021-10-30T00:03:05.000Z
## #This software was developed and / or modified by NOAA/NWS/OCP/ASDT## ## # This is a base file that is not intended to be overridden. # # This file can be subclassed to override behavior. Please see the # Configuration Guides->Smart Initialization Configuration section of the GFE # Online Help for guidance on cre...
31.971831
127
0.578414
237
2,270
5.396624
0.531646
0.02111
0.016419
0.023456
0
0
0
0
0
0
0
0.074033
0.214537
2,270
71
128
31.971831
0.643298
0.409692
0
0
0
0
0.027565
0
0
0
0
0
0
1
0.366667
false
0
0.033333
0.266667
0.733333
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
50f20e54e9c4e8e29a91b1008ddfdad257b94a6f
280
py
Python
armi/cases/inputModifiers/__init__.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
1
2021-05-29T16:02:31.000Z
2021-05-29T16:02:31.000Z
armi/cases/inputModifiers/__init__.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
null
null
null
armi/cases/inputModifiers/__init__.py
celikten/armi
4e100dd514a59caa9c502bd5a0967fd77fdaf00e
[ "Apache-2.0" ]
1
2020-08-26T09:02:06.000Z
2020-08-26T09:02:06.000Z
""" Code that changes input files and writes them back out. Useful for parameter sweeps. See Also -------- armi.reactor.converters Code that changes reactor objects at runtime. These often take longer to run than these but can be used in the middle of ARMI analyses. """
28
85
0.735714
44
280
4.681818
0.863636
0.07767
0.145631
0
0
0
0
0
0
0
0
0
0.192857
280
9
86
31.111111
0.911504
0.967857
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
0fac7b320ad4726741c571899566a1c170727963
20,528
py
Python
otcextensions/osclient/auto_scaling/v1/group.py
zsoltn/python-otcextensions
4c0fa22f095ebd5f9636ae72acbae5048096822c
[ "Apache-2.0" ]
10
2018-03-03T17:59:59.000Z
2020-01-08T10:03:00.000Z
otcextensions/osclient/auto_scaling/v1/group.py
zsoltn/python-otcextensions
4c0fa22f095ebd5f9636ae72acbae5048096822c
[ "Apache-2.0" ]
208
2020-02-10T08:27:46.000Z
2022-03-29T15:24:21.000Z
otcextensions/osclient/auto_scaling/v1/group.py
zsoltn/python-otcextensions
4c0fa22f095ebd5f9636ae72acbae5048096822c
[ "Apache-2.0" ]
15
2020-04-01T20:45:54.000Z
2022-03-23T12:45:43.000Z
# 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 writing, software # distrib...
35.577123
79
0.571171
2,118
20,528
5.279509
0.12559
0.075121
0.062332
0.019674
0.728492
0.705151
0.705151
0.693883
0.690753
0.682883
0
0.00137
0.324532
20,528
576
80
35.638889
0.805063
0.035853
0
0.68254
0
0
0.240554
0.039907
0
0
0
0
0
1
0.031746
false
0
0.009921
0
0.105159
0.001984
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
0fdc323fbc809c1eb364c8a54f00ed5433d18724
702
py
Python
cse214II/db/models.py
chenxiaixuexi/friend-map-using-django
1a399a26f7b41d696beaaeb646a63bcf0603fe07
[ "Apache-2.0" ]
1
2021-05-05T12:03:13.000Z
2021-05-05T12:03:13.000Z
cse214II/db/models.py
chenxiaixuexi/friend-map-using-django
1a399a26f7b41d696beaaeb646a63bcf0603fe07
[ "Apache-2.0" ]
null
null
null
cse214II/db/models.py
chenxiaixuexi/friend-map-using-django
1a399a26f7b41d696beaaeb646a63bcf0603fe07
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Frnd(models.Model): name = models.CharField(verbose_name="name",max_length=30) phone = models.CharField(max_length=11,unique=True,verbose_name='phone number') addr = models.CharField(verbose_name='address', default='Beijing', max_length=50) ...
54
98
0.736467
97
702
5.164948
0.443299
0.153693
0.219561
0.259481
0.0998
0
0
0
0
0
0
0.019576
0.126781
702
13
99
54
0.797716
0.034188
0
0
0
0
0.094535
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.909091
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0fed5793909b9898118c045012d224eb51aae99c
496
py
Python
tests/test_gate.py
lgrozinger/pyolin
dde2eab39671a768d9572019355d4fbb1c7a094e
[ "MIT" ]
2
2021-12-09T06:12:56.000Z
2021-12-18T12:26:32.000Z
tests/test_gate.py
lgrozinger/pyolin
dde2eab39671a768d9572019355d4fbb1c7a094e
[ "MIT" ]
null
null
null
tests/test_gate.py
lgrozinger/pyolin
dde2eab39671a768d9572019355d4fbb1c7a094e
[ "MIT" ]
null
null
null
from .context import pyolin from pyolin.gate import Gate import unittest import os class TestGate(unittest.TestCase): def setUp(self): self.wd = os.path.dirname(os.path.abspath(__file__)) def tearDown(self): pass def test_gate_from_csvflow(self): g = Gate.from_csvflow("A1_AmtR"...
21.565217
68
0.663306
69
496
4.565217
0.507246
0.07619
0.069841
0.08254
0
0
0
0
0
0
0
0.007752
0.219758
496
22
69
22.545455
0.806202
0
0
0
0
0
0.064516
0
0
0
0
0
0.066667
1
0.266667
false
0.066667
0.266667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
0ff37788c481dbc082a9fc50c95f63b42e038056
525
py
Python
job/templatetags/job_tags.py
WillieIlus/jobscorner
ed3734468ea0e88a306a1d29bc876562e940f4fb
[ "bzip2-1.0.6" ]
2
2020-04-12T13:18:35.000Z
2021-04-02T04:18:17.000Z
job/templatetags/job_tags.py
WillieIlus/jobscorner
ed3734468ea0e88a306a1d29bc876562e940f4fb
[ "bzip2-1.0.6" ]
3
2020-02-11T23:58:53.000Z
2020-09-06T18:46:17.000Z
job/templatetags/job_tags.py
WillieIlus/jobscorner
ed3734468ea0e88a306a1d29bc876562e940f4fb
[ "bzip2-1.0.6" ]
1
2020-08-17T08:29:41.000Z
2020-08-17T08:29:41.000Z
from django import template from job.models import Job register = template.Library() @register.simple_tag def total_jobs(): return Job.objects.count() @register.inclusion_tag('job/latest_jobs.html') def show_latest_jobs(count=5): latest_jobs = Job.objects.order_by('-publish')[:count] return {'latest_j...
22.826087
58
0.748571
76
525
4.907895
0.328947
0.214477
0.107239
0.123324
0.670241
0.402145
0.402145
0.402145
0.402145
0.402145
0
0.00432
0.118095
525
22
59
23.863636
0.801296
0
0
0.285714
0
0
0.154286
0.04381
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
0.571429
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
1
0
0
0
0
1
0
0
3
ba05ea904e224b783bb925bafcc3a58779fff248
314
py
Python
ledgame/__init__.py
gentlemans-club/ledgame
264afc265bf035675b9c4dcfb1a45fabc387ad8e
[ "MIT" ]
1
2019-03-15T16:28:19.000Z
2019-03-15T16:28:19.000Z
ledgame/__init__.py
gentlemans-club/ledgame
264afc265bf035675b9c4dcfb1a45fabc387ad8e
[ "MIT" ]
17
2019-01-15T11:00:00.000Z
2019-04-09T09:30:08.000Z
ledgame/__init__.py
gentlemans-club/ledgame
264afc265bf035675b9c4dcfb1a45fabc387ad8e
[ "MIT" ]
1
2019-03-25T10:44:51.000Z
2019-03-25T10:44:51.000Z
BLACK = [0x00, 0x00, 0x00] # Floor WHITE = [0xFF, 0xFF, 0xFF] # Wall GOLD = [0xFF, 0xD7, 0x00] # Gold BLUE = [0x00, 0x00, 0xFF] # Player GRAY = [0x55, 0x55, 0x55] # Box GREEN = [0x00, 0xAA, 0x00] # Key PURPLE = [0xC4, 0x00, 0xC4] # Door RED = [0xFF, 0x00, 0x00] # Teleport 1 BROWN = [0xA0, 0x50, 0x00] # Teleport 2
34.888889
39
0.624204
47
314
4.170213
0.553191
0.163265
0
0
0
0
0
0
0
0
0
0.26
0.203822
314
9
39
34.888889
0.524
0.181529
0
0
0
0
0
0
0
0
0.435484
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
e83bddedb0a019d928f8c0b2ad9f3675034b9f02
311
py
Python
hud_api_replace/urls.py
Ooblioob/django-hud
66aac9f182f8c68a380dc36ade46d7e0df30bf24
[ "CC0-1.0" ]
null
null
null
hud_api_replace/urls.py
Ooblioob/django-hud
66aac9f182f8c68a380dc36ade46d7e0df30bf24
[ "CC0-1.0" ]
null
null
null
hud_api_replace/urls.py
Ooblioob/django-hud
66aac9f182f8c68a380dc36ade46d7e0df30bf24
[ "CC0-1.0" ]
null
null
null
from django.conf.urls import patterns, url from hud_api_replace import views urlpatterns = patterns('', url(r'^$', views.api_entry, name='index'), url(r'^(?P<zipcode>\d{5})/$', views.api_entry, name='index'), url(r'^(?P<zipcode>\d{5})\.(?P<output_format>\w+)/$', views.api_entry, name='index'), )
31.1
89
0.643087
48
311
4.041667
0.479167
0.061856
0.201031
0.262887
0.484536
0.371134
0.371134
0.371134
0.371134
0.371134
0
0.007273
0.115756
311
9
90
34.555556
0.698182
0
0
0
0
0
0.266881
0.212219
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e845485d1037f6e0c30cccf945f49b4c230813ef
259
py
Python
jupyter_singleton/direct/__init__.py
EricMende/jupyter_singleton
7edf380a216b4e52a98f9ec5b8fdb1c4b453aadc
[ "MIT" ]
2
2019-10-06T07:02:52.000Z
2019-10-26T09:38:36.000Z
jupyter_singleton/direct/__init__.py
EricMende/jupyter_singleton
7edf380a216b4e52a98f9ec5b8fdb1c4b453aadc
[ "MIT" ]
null
null
null
jupyter_singleton/direct/__init__.py
EricMende/jupyter_singleton
7edf380a216b4e52a98f9ec5b8fdb1c4b453aadc
[ "MIT" ]
1
2019-10-26T09:39:02.000Z
2019-10-26T09:39:02.000Z
import jupyter_singleton from jupyter_singleton import config as singleton_config if jupyter_singleton.singleton_app is None: singleton_config.launch_and_wait() # alias open_singleton = singleton_config.open_singleton display = singleton_config.display
25.9
56
0.857143
34
259
6.176471
0.470588
0.285714
0
0
0
0
0
0
0
0
0
0
0.104247
259
9
57
28.777778
0.905172
0.019305
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
e84b2a6cd52805678e95a8f7df1018bac33a1504
31,069
py
Python
convert_json.py
boyter/scc-data
78e0087bba753ad3fe75d757a258a224f5638e8e
[ "Unlicense" ]
13
2019-07-08T22:09:43.000Z
2021-07-27T19:04:47.000Z
convert_json.py
boyter/scc-data
78e0087bba753ad3fe75d757a258a224f5638e8e
[ "Unlicense" ]
null
null
null
convert_json.py
boyter/scc-data
78e0087bba753ad3fe75d757a258a224f5638e8e
[ "Unlicense" ]
2
2019-10-03T18:13:45.000Z
2019-10-10T13:23:33.000Z
''' The job of this script is to convert the output of the Go job into what is required to fit whatever chart libary is being used and to possibly merge related sets together ''' import json import os import operator import codecs def filesPerProject(): ''' Converts the output of filesPerProject into somet...
52.838435
15,901
0.632882
3,793
31,069
5.168732
0.386765
0.004081
0.019281
0.028921
0.262076
0.224075
0.215608
0.206835
0.197042
0.197042
0
0.472221
0.180244
31,069
588
15,902
52.838435
0.297538
0.607197
0
0.561129
0
0
0.19785
0.089338
0
0
0
0
0
1
0.068966
false
0
0.015674
0
0.172414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e86e26eafad5183f7dbe085ef6fc559f11d5496e
85
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Logistic_Distribution.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Logistic_Distribution.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Logistic_Distribution.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
from numpy import random x = random.logistic(loc=1, scale=2, size=(2, 3)) print(x)
14.166667
48
0.682353
16
85
3.625
0.8125
0
0
0
0
0
0
0
0
0
0
0.055556
0.152941
85
5
49
17
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e875bc9d9adf144b115b056bdd148a12e1a2e528
196
py
Python
code/class4/patterns_average.py
jeremypedersen/pythonBootcamp
5d9a3219911cdd2d733b143d4b5b0fa857cf9b29
[ "CC-BY-4.0" ]
null
null
null
code/class4/patterns_average.py
jeremypedersen/pythonBootcamp
5d9a3219911cdd2d733b143d4b5b0fa857cf9b29
[ "CC-BY-4.0" ]
null
null
null
code/class4/patterns_average.py
jeremypedersen/pythonBootcamp
5d9a3219911cdd2d733b143d4b5b0fa857cf9b29
[ "CC-BY-4.0" ]
null
null
null
count = 0 sum = 0 print('Before', count, sum) for value in [9, 41, 12, 3, 74, 15]: count = count + 1 sum = sum + value print(count, sum, value) print('After', count, sum, sum / count)
21.777778
39
0.586735
33
196
3.484848
0.484848
0.208696
0.226087
0
0
0
0
0
0
0
0
0.088435
0.25
196
8
40
24.5
0.693878
0
0
0
0
0
0.056122
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
e87be392546d9afdbaf43f43b4126b3df975a106
442
py
Python
Blog/blog/models.py
duyunj/secondRe
acacf235677f6e23743380735950ebc8f9936242
[ "MIT" ]
null
null
null
Blog/blog/models.py
duyunj/secondRe
acacf235677f6e23743380735950ebc8f9936242
[ "MIT" ]
null
null
null
Blog/blog/models.py
duyunj/secondRe
acacf235677f6e23743380735950ebc8f9936242
[ "MIT" ]
null
null
null
from django.db import models class UserRegister(models.Model): phone = models.CharField(max_length=11,verbose_name="注册手机号") password = models.CharField(max_length=128,verbose_name="用户密码") class Meta: db_table = "user_register" verbose_name = "用户注册表" verbose_name_plural = verbose_...
22.1
67
0.701357
55
442
5.363636
0.563636
0.186441
0.122034
0.162712
0
0
0
0
0
0
0
0.014245
0.205882
442
19
68
23.263158
0.826211
0
0
0
0
0
0.061086
0
0
0
0
0
0
1
0.083333
false
0.083333
0.083333
0.083333
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
e8976956d42475d085f5cb2a5d793578a76d070c
916
py
Python
corporate/migrations/0007_remove_deprecated_fields.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
6
2019-05-09T20:43:20.000Z
2022-03-29T05:53:50.000Z
corporate/migrations/0007_remove_deprecated_fields.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
2
2016-10-18T04:01:56.000Z
2016-10-20T18:19:09.000Z
corporate/migrations/0007_remove_deprecated_fields.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
7
2016-08-10T02:24:32.000Z
2022-03-28T15:14:18.000Z
# Generated by Django 1.11.18 on 2019-01-31 22:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('corporate', '0006_nullable_stripe_customer_id'), ] operations = [ migrations.RemoveField( model_name='billingprocessor', n...
23.487179
58
0.542576
72
916
6.75
0.569444
0.17284
0.213992
0.246914
0.205761
0.205761
0
0
0
0
0
0.035354
0.351528
916
38
59
24.105263
0.782828
0.05131
0
0.5
1
0
0.188005
0.064591
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e8ab660710096065c7536faba567608e7b214d81
179
py
Python
src/olympia/translations/__init__.py
covariant/addons-server
41e6ee9e426facb19a1e1ca8d40277cb6f94a7da
[ "BSD-3-Clause" ]
843
2016-02-09T13:00:37.000Z
2022-03-20T19:17:06.000Z
src/olympia/translations/__init__.py
covariant/addons-server
41e6ee9e426facb19a1e1ca8d40277cb6f94a7da
[ "BSD-3-Clause" ]
10,187
2016-02-05T23:51:05.000Z
2022-03-31T15:24:44.000Z
src/olympia/translations/__init__.py
covariant/addons-server
41e6ee9e426facb19a1e1ca8d40277cb6f94a7da
[ "BSD-3-Clause" ]
551
2016-02-08T20:32:16.000Z
2022-03-15T16:49:24.000Z
from django.conf import settings from django.utils.translation import trans_real LOCALES = [ (trans_real.to_locale(k).replace('_', '-'), v) for k, v in settings.LANGUAGES ]
22.375
81
0.726257
26
179
4.846154
0.692308
0.15873
0
0
0
0
0
0
0
0
0
0
0.145251
179
7
82
25.571429
0.823529
0
0
0
0
0
0.011173
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
e8b35860721eba5e5daf9a227bd4a4359dfbbc09
283
py
Python
chapter05/blackjack_control.py
roiyeho/drl-book
1db635fd508e5b17ef8bfecbe49a79f55503a1f1
[ "MIT" ]
null
null
null
chapter05/blackjack_control.py
roiyeho/drl-book
1db635fd508e5b17ef8bfecbe49a79f55503a1f1
[ "MIT" ]
null
null
null
chapter05/blackjack_control.py
roiyeho/drl-book
1db635fd508e5b17ef8bfecbe49a79f55503a1f1
[ "MIT" ]
null
null
null
import gym from mc_control import MCControl import plot_utils env = gym.make('Blackjack-v0') blackjack_control = MCControl(env, epsilon=0.1, gamma=1, n_episodes=500000) Q = blackjack_control.find_best_policy() plot_utils.plot_blackjack_policy(Q, filename='blackjack_control_policy')
35.375
75
0.823322
43
283
5.139535
0.55814
0.217195
0
0
0
0
0
0
0
0
0
0.038314
0.077739
283
8
76
35.375
0.808429
0
0
0
0
0
0.126761
0.084507
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
e8b763439412c91b272110ba05682a2c045ef291
322
py
Python
gtfs/__init__.py
paulo-raca/emdec-gtfs
04b07f91e1c77adab66ea8a695384bd21079a202
[ "WTFPL" ]
8
2015-03-20T02:47:32.000Z
2021-11-06T12:18:33.000Z
gtfs/__init__.py
paulo-raca/Emdec-GTransit
04b07f91e1c77adab66ea8a695384bd21079a202
[ "WTFPL" ]
null
null
null
gtfs/__init__.py
paulo-raca/Emdec-GTransit
04b07f91e1c77adab66ea8a695384bd21079a202
[ "WTFPL" ]
4
2015-03-23T22:52:38.000Z
2021-01-05T14:34:49.000Z
from .csvmodel import LatLon from .stop import Stop from .agency import Agency from .route import Route from .trip import StopTime, TripFrequency, Trip from .calendar import Calendar from .shape import Shape, ShapePoint from .fare import Fare from .feed_info import FeedInfo from .zone import Zone from .gtfs import GTF...
24.769231
47
0.807453
48
322
5.395833
0.395833
0
0
0
0
0
0
0
0
0
0
0
0.149068
322
12
48
26.833333
0.945255
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
e8d2cfbf42501c6b5494ac9d5a52cc27a425797c
133
py
Python
lib/frontend/manage.py
TheAssassin/etherpad-lite-frontend
4fecf9b9c6200f4edbbd1d9e634cf09ab433d637
[ "MIT" ]
2
2018-06-19T15:57:34.000Z
2021-12-30T16:58:08.000Z
lib/frontend/manage.py
TheAssassin/etherpad-lite-frontend
4fecf9b9c6200f4edbbd1d9e634cf09ab433d637
[ "MIT" ]
null
null
null
lib/frontend/manage.py
TheAssassin/etherpad-lite-frontend
4fecf9b9c6200f4edbbd1d9e634cf09ab433d637
[ "MIT" ]
null
null
null
#! /usr/bin/env python from eplitefrontend import app, manager if __name__ == "__main__": app.debug = True manager.run()
13.3
39
0.669173
17
133
4.764706
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.210526
133
9
40
14.777778
0.771429
0.157895
0
0
0
0
0.072727
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2cda9e333cd4d3311272ec8e022e3b8afa0a5dd4
422
py
Python
shared/admin.py
p2titus/ContactTracing
83b11a2908223aab51983ed8128fe11850208b5a
[ "MIT" ]
null
null
null
shared/admin.py
p2titus/ContactTracing
83b11a2908223aab51983ed8128fe11850208b5a
[ "MIT" ]
null
null
null
shared/admin.py
p2titus/ContactTracing
83b11a2908223aab51983ed8128fe11850208b5a
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Addresses, Contact, ContactContacted, People, TestContacted, Test # Register your models here. # TODO: remove these before production (these allow for basic editing/adding of data) admin.site.register(Addresses) admin.site.register(Contact) admin.site.register(Conta...
35.166667
85
0.819905
55
422
6.290909
0.509091
0.156069
0.294798
0
0
0
0
0
0
0
0
0
0.090047
422
11
86
38.363636
0.901042
0.260664
0
0
0
0
0
0
0
0
0
0.090909
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
2cfbfde5e94f9ce42052f324fa6fda00b186112b
309
py
Python
webapp/models.py
ostrowskaaa/face_detection
68d3ac9c6b2f0ed257dc1ebcaa40542c27b715a1
[ "MIT" ]
1
2019-11-24T11:16:56.000Z
2019-11-24T11:16:56.000Z
webapp/models.py
ziebisty/Django_Face_Detector
f22a499e4d812d12cb9bca9ff0bd5d37d1b594a1
[ "MIT" ]
8
2020-02-12T02:52:17.000Z
2022-02-10T09:05:12.000Z
webapp/models.py
ziebisty/Django_Face_Detector
f22a499e4d812d12cb9bca9ff0bd5d37d1b594a1
[ "MIT" ]
1
2019-11-21T17:51:42.000Z
2019-11-21T17:51:42.000Z
from django.db import models class ImageUploadModel(models.Model): title = models.CharField(max_length=50, blank=True) description = models.CharField(max_length=255, blank=True) document = models.ImageField(upload_to='documents/') uploaded_at = models.DateTimeField(auto_now_add=True)
38.625
63
0.754045
39
309
5.820513
0.717949
0.132159
0.15859
0.211454
0
0
0
0
0
0
0
0.018868
0.142395
309
7
64
44.142857
0.837736
0
0
0
0
0
0.033113
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
2cfd3fdd1e5bb95faadcc1389b9d8a7a94513380
24,377
py
Python
python-client/swagger_client/apis/trip_api.py
hallelulius/VastHinken
fbe9eedec6d38347c49e67611cb76ea0cba60675
[ "MIT" ]
null
null
null
python-client/swagger_client/apis/trip_api.py
hallelulius/VastHinken
fbe9eedec6d38347c49e67611cb76ea0cba60675
[ "MIT" ]
null
null
null
python-client/swagger_client/apis/trip_api.py
hallelulius/VastHinken
fbe9eedec6d38347c49e67611cb76ea0cba60675
[ "MIT" ]
null
null
null
# coding: utf-8 """ Reseplaneraren Provides access to Västtrafik journey planner OpenAPI spec version: 1.10.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os import re # python 2 and python 3 compatibility libra...
72.335312
926
0.69102
3,446
24,377
4.743761
0.123331
0.035236
0.054077
0.058115
0.76644
0.726433
0.692971
0.668135
0.668135
0.668135
0
0.004268
0.240719
24,377
336
927
72.550595
0.878924
0.583542
0
0.012346
1
0
0.291906
0.035604
0
0
0
0
0
1
0.018519
false
0
0.04321
0
0.08642
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa19cbe1612f694b4df5058e023b6214a831dc49
1,264
py
Python
utilities/python/stagger_utils.py
applejwjcat/dispatch
4fad06ee952de181f6c51b91f179d6396bdfb333
[ "BSD-3-Clause" ]
null
null
null
utilities/python/stagger_utils.py
applejwjcat/dispatch
4fad06ee952de181f6c51b91f179d6396bdfb333
[ "BSD-3-Clause" ]
null
null
null
utilities/python/stagger_utils.py
applejwjcat/dispatch
4fad06ee952de181f6c51b91f179d6396bdfb333
[ "BSD-3-Clause" ]
null
null
null
''' Staggered derivatives and interpolations, corresponding to the ones used in the stagger2 solver in the DISPATCH code ''' from numpy import roll, log, exp def xdn(f): return (f+roll(f,1,0))*0.5 def ydn(f): return (f+roll(f,1,1))*0.5 def zdn(f): return (f+roll(f,1,2))*0.5 def xup(f): return (f+...
22.175439
91
0.566456
293
1,264
2.443686
0.208191
0.125698
0.150838
0.150838
0.490223
0.477654
0.385475
0.385475
0.167598
0.167598
0
0.065494
0.190665
1,264
56
92
22.571429
0.634409
0.162184
0
0.130435
0
0
0
0
0
0
0
0
0
1
0.391304
false
0
0.021739
0.195652
0.804348
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
fa44c22f7627f0e7b69067c3218f508d3462a99d
637
py
Python
moippy/services/webhooks.py
robertons/moipy
35119fbf53196779d1902b98125ab041608a486b
[ "MIT" ]
null
null
null
moippy/services/webhooks.py
robertons/moipy
35119fbf53196779d1902b98125ab041608a486b
[ "MIT" ]
null
null
null
moippy/services/webhooks.py
robertons/moipy
35119fbf53196779d1902b98125ab041608a486b
[ "MIT" ]
null
null
null
from moippy.utils.moip import * from moippy import Webhook, WebhookPreference from moippy.entities.lib.datatype import ListType def WebhooksPreferences(): data = Get(f"/preferences/notifications") return ListType(WebhookPreference).add([WebhookPreference(**item) for item in data]) if isinstance(data, list) el...
45.5
164
0.764521
79
637
6.164557
0.405063
0.061602
0.032854
0.053388
0.069815
0
0
0
0
0
0
0
0.1146
637
13
165
49
0.863475
0
0
0
0
0
0.144654
0.092767
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
fa49c5c5e94956e7f0a73f7e956118e712db1109
248
py
Python
com.ppc.Microservices/intelligence/welcome/index.py
peoplepower/botlab
21cc90c558a17b7ef4a42bca247b437d2f968dc0
[ "Apache-2.0" ]
16
2017-03-31T04:41:51.000Z
2020-07-15T07:03:06.000Z
com.ppc.Microservices/intelligence/welcome/index.py
peoplepower/botlab
21cc90c558a17b7ef4a42bca247b437d2f968dc0
[ "Apache-2.0" ]
4
2018-07-03T05:39:36.000Z
2018-07-06T02:59:32.000Z
com.ppc.Microservices/intelligence/welcome/index.py
peoplepower/botlab
21cc90c558a17b7ef4a42bca247b437d2f968dc0
[ "Apache-2.0" ]
8
2017-04-01T21:07:59.000Z
2019-09-18T15:23:37.000Z
MICROSERVICES = { # Map locations to their microservices "LOCATION_MICROSERVICES": [ { "module": "intelligence.welcome.location_welcome_microservice", "class": "LocationWelcomeMicroservice" } ] }
24.8
75
0.616935
16
248
9.375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.28629
248
9
76
27.555556
0.847458
0.145161
0
0
0
0
0.52381
0.471429
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa53a17b69b07febb81d3207822327896bc23fd1
322
py
Python
templatetags/pretty_forms.py
zeraien/odb_shared_django
e1864d966c83fbae2a34c7660805035d98ce2de5
[ "MIT" ]
null
null
null
templatetags/pretty_forms.py
zeraien/odb_shared_django
e1864d966c83fbae2a34c7660805035d98ce2de5
[ "MIT" ]
null
null
null
templatetags/pretty_forms.py
zeraien/odb_shared_django
e1864d966c83fbae2a34c7660805035d98ce2de5
[ "MIT" ]
null
null
null
from django import template from django.forms import widgets register = template.Library() @register.filter def is_checkbox(field): return isinstance(field.field.widget, widgets.CheckboxInput) @register.filter def is_checkbox_multiple(field): return isinstance(field.field.widget, widgets.CheckboxSelectMultiple...
29.272727
73
0.81677
39
322
6.666667
0.487179
0.076923
0.130769
0.146154
0.546154
0.338462
0.338462
0
0
0
0
0
0.099379
322
10
74
32.2
0.896552
0
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
fa54fe3c9886e8502ad2ed58f29df2da67822aa0
9,610
py
Python
texar/tf/modules/encoders/rnn_encoders_test.py
GingerBear/texar
46e006f9349893a3015cd937bee9914c516e26af
[ "Apache-2.0" ]
1
2019-08-14T02:54:45.000Z
2019-08-14T02:54:45.000Z
texar/tf/modules/encoders/rnn_encoders_test.py
GingerBear/texar
46e006f9349893a3015cd937bee9914c516e26af
[ "Apache-2.0" ]
null
null
null
texar/tf/modules/encoders/rnn_encoders_test.py
GingerBear/texar
46e006f9349893a3015cd937bee9914c516e26af
[ "Apache-2.0" ]
null
null
null
# """ Unit tests for RNN encoders. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import tensorflow as tf from texar.tf.modules.encoders.rnn_encoders import UnidirectionalRNNEncoder from texar.tf.modules.encoder...
35.992509
85
0.590843
1,011
9,610
5.350148
0.129575
0.072102
0.024404
0.046589
0.750231
0.741727
0.726012
0.698466
0.63117
0.611388
0
0.024354
0.299272
9,610
266
86
36.12782
0.778883
0.204266
0
0.662651
0
0
0.068581
0.009171
0
0
0
0.003759
0.138554
1
0.03012
false
0
0.048193
0
0.090361
0.006024
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
d704da8b9a76e765cca46eeb0cf16c9ff894395f
119
py
Python
test/exc-TX_%s.py
gwk/cove
0cdfba60c75b325f64fc33afa72659061333a1a6
[ "CC0-1.0" ]
null
null
null
test/exc-TX_%s.py
gwk/cove
0cdfba60c75b325f64fc33afa72659061333a1a6
[ "CC0-1.0" ]
null
null
null
test/exc-TX_%s.py
gwk/cove
0cdfba60c75b325f64fc33afa72659061333a1a6
[ "CC0-1.0" ]
null
null
null
from fixtures import exc, handle_args, try_ def top(arg): try: try_(arg) except: exc() handle_args(top)
10.818182
43
0.655462
18
119
4.111111
0.611111
0.243243
0.351351
0
0
0
0
0
0
0
0
0
0.235294
119
10
44
11.9
0.813187
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d710039d860b41159448a84100376e9c5177a140
174
py
Python
problem0410.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0410.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0410.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #410 Circle and tangent line - Project Euler # https://projecteuler.net/problem=410 # # Code by Kevin Marciniak # ###########################
19.333333
46
0.488506
16
174
5.3125
0.9375
0
0
0
0
0
0
0
0
0
0
0.039216
0.12069
174
8
47
21.75
0.51634
0.597701
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d7212b619d988874d94b3f999b1755f5100f33b7
891
py
Python
precourse.py
hjhuney/ML-Precourse
d971f3cd9069f27fb3d6718bdcb9dd5d2c5ab0d9
[ "MIT" ]
null
null
null
precourse.py
hjhuney/ML-Precourse
d971f3cd9069f27fb3d6718bdcb9dd5d2c5ab0d9
[ "MIT" ]
null
null
null
precourse.py
hjhuney/ML-Precourse
d971f3cd9069f27fb3d6718bdcb9dd5d2c5ab0d9
[ "MIT" ]
null
null
null
# Machine Learning/Data Science Precourse Work # ### # LAMBDA SCHOOL # ### # MIT LICENSE # ### # Henry (Jake) Huneycutt import numpy as np def f(x): return x**2 def f_2(x): return x**3 def f_3(x): return (x**3) + (5*x) def d_f(x): return 2*(x**(2-1)) def d_f_2(x): return 3*(x**(3-1)) ...
11.88
81
0.606061
165
891
3.193939
0.412121
0.121442
0.045541
0.034156
0.041746
0.041746
0
0
0
0
0
0.047965
0.227834
891
74
82
12.040541
0.718023
0.245791
0
0
0
0
0
0
0
0
0
0
0
1
0.482759
false
0
0.034483
0.482759
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
d7216bd58a137fb4ebdfa0eb51896a821e64550f
2,628
py
Python
test/api/Response/JSONResponse.py
PLOS/rhino
e9a0b595421664aabd21f0f8117cf04f4456db95
[ "MIT" ]
5
2017-03-04T13:35:27.000Z
2018-10-30T20:46:03.000Z
test/api/Response/JSONResponse.py
PLOS/rhino
e9a0b595421664aabd21f0f8117cf04f4456db95
[ "MIT" ]
65
2017-03-14T20:36:38.000Z
2021-06-01T21:57:50.000Z
test/api/Response/JSONResponse.py
PLOS/rhino
e9a0b595421664aabd21f0f8117cf04f4456db95
[ "MIT" ]
1
2017-02-10T00:29:21.000Z
2017-02-10T00:29:21.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) 2017 Public Library of Science # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitat...
32.444444
81
0.703196
356
2,628
5.117978
0.488764
0.029638
0.053787
0.072997
0.027442
0.027442
0
0
0
0
0
0.003364
0.208143
2,628
80
82
32.85
0.872177
0.495434
0
0
0
0
0.11094
0
0
0
0
0
0
1
0.305556
false
0
0.111111
0.25
0.75
0.055556
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
d74b17d3e865a3e91645b3d66106cc554de9b770
96
py
Python
mainTest.py
bmblank/cs3240-labdemo
8f8975dcd62c142ce86405d5165619deb0476ffb
[ "MIT" ]
null
null
null
mainTest.py
bmblank/cs3240-labdemo
8f8975dcd62c142ce86405d5165619deb0476ffb
[ "MIT" ]
null
null
null
mainTest.py
bmblank/cs3240-labdemo
8f8975dcd62c142ce86405d5165619deb0476ffb
[ "MIT" ]
null
null
null
__author__ = 'Brandon' from helper import greeting greeting("This is back in the main branch")
19.2
43
0.770833
14
96
5
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.15625
96
5
43
19.2
0.864198
0
0
0
0
0
0.391753
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d74d9e3d7c96d81cef6268125d66aeabd40974a6
1,967
py
Python
test_pytest.py
kamhaj/JenkinsTest
a0d01759b8b336a1a06faa8f41395a4615cbc168
[ "MIT" ]
null
null
null
test_pytest.py
kamhaj/JenkinsTest
a0d01759b8b336a1a06faa8f41395a4615cbc168
[ "MIT" ]
null
null
null
test_pytest.py
kamhaj/JenkinsTest
a0d01759b8b336a1a06faa8f41395a4615cbc168
[ "MIT" ]
null
null
null
import jaydebeapi as jdbc import pytest import sys print("test script invoked") conn_string = "jdbc:compositesw:dbapi@bdlg3207.na.pg.com:9421?domain=pg&dataSource=CIS_TST&unsupportedMode=silent" @pytest.fixture(scope='module') def get_fixture(): print("This is a fixture function invoked") #print(str(sys.argv[1]))...
22.101124
114
0.697001
284
1,967
4.59507
0.320423
0.118008
0.214559
0.291188
0.463602
0.463602
0.442912
0
0
0
0
0.031756
0.215557
1,967
89
115
22.101124
0.813999
0.088968
0
0.311475
0
0.016393
0.149496
0.071669
0
0
0
0
0.360656
1
0.377049
false
0
0.04918
0
0.42623
0.081967
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
d7532ae00ec7be9486da42653f4d0584b0acff30
112
py
Python
legal_search/analogy_searcher/urls.py
WhiteSockLoafer/tfg-repo
5c44de014d942a17b1a506550dbceee7280cbfc0
[ "MIT" ]
null
null
null
legal_search/analogy_searcher/urls.py
WhiteSockLoafer/tfg-repo
5c44de014d942a17b1a506550dbceee7280cbfc0
[ "MIT" ]
null
null
null
legal_search/analogy_searcher/urls.py
WhiteSockLoafer/tfg-repo
5c44de014d942a17b1a506550dbceee7280cbfc0
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.predict, name='predict') ]
16
43
0.6875
14
112
5.5
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.178571
112
7
44
16
0.836957
0
0
0
0
0
0.061947
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
d757a1b4ef63f07ac71183c0ae167f7dcda2ac2f
626
py
Python
backend/common/serializers.py
maura-dev/zc_plugin_company_sales_prospect
08a35a796169d137b9a111390cfe239900c3940a
[ "BSD-3-Clause" ]
9
2021-08-28T10:44:25.000Z
2021-09-09T19:16:12.000Z
backend/common/serializers.py
maura-dev/zc_plugin_company_sales_prospect
08a35a796169d137b9a111390cfe239900c3940a
[ "BSD-3-Clause" ]
117
2021-08-28T08:02:48.000Z
2021-10-04T15:14:18.000Z
backend/common/serializers.py
maura-dev/zc_plugin_company_sales_prospect
08a35a796169d137b9a111390cfe239900c3940a
[ "BSD-3-Clause" ]
182
2021-08-28T08:43:30.000Z
2021-12-21T01:58:14.000Z
from rest_framework import serializers class RoomSerializer(serializers.Serializer): """[summary] Args: serializers ([type]): [description] """ members_id = serializers.ListField(required=True) class RoomCreateSerializer(serializers.Serializer): """[summary] Args: serializ...
18.969697
53
0.670927
52
626
7.980769
0.461538
0.151807
0.20241
0.231325
0.419277
0.419277
0.419277
0
0
0
0
0
0.204473
626
32
54
19.5625
0.833333
0.271566
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d760129129b10c3158e077039661f2751e269216
277
py
Python
tests/test_python_comments_4.py
gvanrossum/pyxl3
e6588c12caee49c43faf6aa260f04d7e971f6aa8
[ "Apache-2.0" ]
150
2016-01-26T13:25:58.000Z
2022-03-11T14:31:45.000Z
tests/test_python_comments_4.py
gvanrossum/pyxl3
e6588c12caee49c43faf6aa260f04d7e971f6aa8
[ "Apache-2.0" ]
7
2016-02-07T20:08:55.000Z
2019-07-09T03:35:49.000Z
tests/test_python_comments_4.py
gvanrossum/pyxl3
e6588c12caee49c43faf6aa260f04d7e971f6aa8
[ "Apache-2.0" ]
19
2016-01-27T15:48:48.000Z
2020-11-06T07:31:12.000Z
# coding: pyxl from pyxl import html def test(): assert ( str( ( <div> { # test 0 } </div> ) ) == "<div>0</div>" )
14.578947
26
0.223827
17
277
3.647059
0.647059
0.129032
0
0
0
0
0
0
0
0
0
0.022222
0.67509
277
18
27
15.388889
0.666667
0.061372
0
0
0
0
0.046693
0
0
0
0
0
0.071429
0
null
null
0
0.071429
null
null
0
1
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
3
d76672e68c06c9f3d3dd86d53339f76e43947de0
2,710
py
Python
tests/indico_wrapper/test_doc_extraction.py
IndicoDataSolutions/Indico-Solutions-Toolkit
c9a38681c84e86a48bcde0867359ddd2f52ce236
[ "MIT" ]
6
2021-05-20T16:48:27.000Z
2022-03-15T15:43:40.000Z
tests/indico_wrapper/test_doc_extraction.py
IndicoDataSolutions/Indico-Solutions-Toolkit
c9a38681c84e86a48bcde0867359ddd2f52ce236
[ "MIT" ]
25
2021-06-25T13:37:21.000Z
2022-01-03T15:54:26.000Z
tests/indico_wrapper/test_doc_extraction.py
IndicoDataSolutions/Indico-Solutions-Toolkit
c9a38681c84e86a48bcde0867359ddd2f52ce236
[ "MIT" ]
null
null
null
from indico_toolkit.ocr import StandardOcr, OnDoc from indico_toolkit.indico_wrapper import DocExtraction def test_run_ocr_ondoc(indico_client, pdf_filepath): doc_extraction_ondoc = DocExtraction(indico_client, preset_config="ondocument") extracted_data = doc_extraction_ondoc.run_ocr(filepaths=[pdf_filepath])...
45.166667
105
0.701476
340
2,710
5.185294
0.191176
0.040839
0.034033
0.044243
0.846285
0.715258
0.694838
0.694838
0.682927
0.682927
0
0.00962
0.156089
2,710
59
106
45.932203
0.761259
0
0
0.468085
0
0
0.219188
0
0
0
0
0
0.12766
1
0.12766
false
0
0.042553
0
0.170213
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d76f7d89779b3c3b5c14c525d8348e85ab4b6c2b
383
py
Python
RecoBTag/SecondaryVertex/python/negativeCombinedInclusiveSecondaryVertexV2BJetTags_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoBTag/SecondaryVertex/python/negativeCombinedInclusiveSecondaryVertexV2BJetTags_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoBTag/SecondaryVertex/python/negativeCombinedInclusiveSecondaryVertexV2BJetTags_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms negativeCombinedInclusiveSecondaryVertexV2BJetTags = cms.EDProducer("JetTagProducer", jetTagComputer = cms.string('negativeCombinedSecondaryVertexV2Computer'), tagInfos = cms.VInputTag(cms.InputTag("impactParameterTagInfos"), cms...
47.875
96
0.749347
23
383
12.478261
0.73913
0.076655
0
0
0
0
0
0
0
0
0
0.006289
0.169713
383
7
97
54.714286
0.896226
0
0
0
0
0
0.32376
0.287206
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
d77848e077fc6620215a51db99c922bd07029a05
1,168
py
Python
opus/import/importdb/__init__.py
fyellin/pds-opus
96705b6736458f9944599d44f86ec54ad1d74e38
[ "AFL-3.0" ]
10
2018-04-16T21:10:53.000Z
2021-05-05T12:07:25.000Z
opus/import/importdb/__init__.py
fyellin/pds-opus
96705b6736458f9944599d44f86ec54ad1d74e38
[ "AFL-3.0" ]
777
2018-02-01T21:28:55.000Z
2022-03-31T16:59:06.000Z
opus/import/importdb/__init__.py
dstopp/pds-opus
3be5688ff75c38e92966a576d585b235049744dc
[ "AFL-3.0" ]
7
2018-02-01T20:38:51.000Z
2019-04-02T01:48:27.000Z
from importdb.super import ImportDBException from importdb.mysql import ImportDBMySQL # from importdb.postgresql import ImportDBPostgreSQL def get_db(db_brand, db_hostname, db_name, db_schema, db_user, db_password, mult_form_types=None, import_prefix=None, logger=None, read_only=False): if db...
50.782609
71
0.595034
126
1,168
5.190476
0.285714
0.053517
0.099388
0.073395
0.530581
0.448012
0.448012
0.448012
0.448012
0.448012
0
0
0.329623
1,168
22
72
53.090909
0.835249
0.333904
0
0
0
0
0.088312
0
0
0
0
0
0
1
0.071429
false
0.142857
0.428571
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
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
d77bc9c1f0ae7b3c651aec40902912c8f9f1ef0b
235
py
Python
Exe4_vogal_ou_consoante.py
lucaslk122/Exercicios_Python_estutura_decisao
51a9699c5d85aa6cfb163d891c56e804a7255634
[ "MIT" ]
null
null
null
Exe4_vogal_ou_consoante.py
lucaslk122/Exercicios_Python_estutura_decisao
51a9699c5d85aa6cfb163d891c56e804a7255634
[ "MIT" ]
null
null
null
Exe4_vogal_ou_consoante.py
lucaslk122/Exercicios_Python_estutura_decisao
51a9699c5d85aa6cfb163d891c56e804a7255634
[ "MIT" ]
null
null
null
letra = input("Digite uma letra: ").lower() if letra == "a" or letra == "e" or letra == "i" or letra == "o" or letra == "u" or letra == "ão": print("A letra digitada é uma vogal") else: print("A letra digitada é uma consoante")
47
97
0.604255
39
235
3.641026
0.487179
0.246479
0.15493
0.267606
0.323944
0.323944
0
0
0
0
0
0
0.212766
235
5
98
47
0.767568
0
0
0
0
0
0.360169
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d77f9868884df422417b5e97e91ff3e08b0c1013
37,960
py
Python
tests/tests_bian.py
devashah1992/bianPython
e0b92b092c23c07d09446abf5f5d765e0bfe1c4e
[ "MIT" ]
null
null
null
tests/tests_bian.py
devashah1992/bianPython
e0b92b092c23c07d09446abf5f5d765e0bfe1c4e
[ "MIT" ]
null
null
null
tests/tests_bian.py
devashah1992/bianPython
e0b92b092c23c07d09446abf5f5d765e0bfe1c4e
[ "MIT" ]
null
null
null
from __future__ import print_function from faker import Faker from flask import Flask, request from requests.auth import * from flask_restful import Api import json from nose.tools import eq_ from halo_flask.exceptions import ApiError from halo_flask.flask.utilx import status from halo_bian.bian.abs_bian_srv import Ab...
47.688442
217
0.653056
4,427
37,960
5.325954
0.084707
0.03499
0.020061
0.032827
0.798795
0.759606
0.726949
0.687633
0.668759
0.636441
0
0.02735
0.231375
37,960
796
218
47.688442
0.780752
0.005743
0
0.565217
0
0.03913
0.258941
0.15634
0
0
0
0
0.095652
1
0.12029
false
0.018841
0.033333
0.018841
0.262319
0.04058
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
d78ab28ddbb889472e3e802fe8f1612596c10900
2,370
py
Python
src/database.py
Geo3ngel/CSCI-447-PROJECT-3
651221aad14088fff827bf1465ee7971e9b63cdb
[ "MIT" ]
null
null
null
src/database.py
Geo3ngel/CSCI-447-PROJECT-3
651221aad14088fff827bf1465ee7971e9b63cdb
[ "MIT" ]
null
null
null
src/database.py
Geo3ngel/CSCI-447-PROJECT-3
651221aad14088fff827bf1465ee7971e9b63cdb
[ "MIT" ]
null
null
null
""" @file database.py @authors George Engel, Troy Oster, Dana Parker, Henry Soule @brief Object that stores the information of each data repository for ease of access & manipulation """ import random import process_data class database: """ @param data_array List of data from one ...
28.554217
125
0.621941
292
2,370
4.794521
0.284247
0.074286
0.08
0.053571
0.022857
0
0
0
0
0
0
0.000607
0.304641
2,370
82
126
28.902439
0.848908
0.146835
0
0.076923
0
0
0.015554
0
0
0
0
0
0
1
0.307692
false
0
0.038462
0.173077
0.557692
0.057692
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
d793ee816a87e08f411f6e22682bc0d9dafb04dc
177
py
Python
01_src/02_machine_learning_section/00_pre_processing/convert_remove_null.py
RBEGamer/chemtech_hackathon_2019
2f139efba11b3e86481c96eed0542c5b10991df7
[ "Apache-2.0" ]
null
null
null
01_src/02_machine_learning_section/00_pre_processing/convert_remove_null.py
RBEGamer/chemtech_hackathon_2019
2f139efba11b3e86481c96eed0542c5b10991df7
[ "Apache-2.0" ]
null
null
null
01_src/02_machine_learning_section/00_pre_processing/convert_remove_null.py
RBEGamer/chemtech_hackathon_2019
2f139efba11b3e86481c96eed0542c5b10991df7
[ "Apache-2.0" ]
null
null
null
import csv import sys fi = open(sys.argv[1], 'rb') data = fi.read() fi.close() fo = open(sys.argv[1][0:-4]+"_non_null.csv", 'wb') fo.write(data.replace('\x00', '')) fo.close()
17.7
50
0.615819
33
177
3.242424
0.606061
0.130841
0.205607
0.224299
0
0
0
0
0
0
0
0.038217
0.112994
177
9
51
19.666667
0.643312
0
0
0
0
0
0.118644
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d7980a54db87b816e4d15bfb0a7e981a2e5d8c48
5,416
py
Python
cfgtree/types.py
Stibbons/sonarr-sub-downloader-docker
6a2124e1b8b41d0b2ec4845a42b3db9aa10b5702
[ "MIT" ]
9
2018-04-27T18:49:31.000Z
2020-01-29T08:23:26.000Z
cfgtree/types.py
Stibbons/sonarr-sub-downloader-docker
6a2124e1b8b41d0b2ec4845a42b3db9aa10b5702
[ "MIT" ]
7
2017-05-31T16:38:40.000Z
2017-06-05T12:06:48.000Z
cfgtree/types.py
Stibbons/subdlsrv
6a2124e1b8b41d0b2ec4845a42b3db9aa10b5702
[ "MIT" ]
3
2018-04-22T08:40:29.000Z
2018-08-19T00:41:25.000Z
# coding: utf-8 # Standard Libraries import argparse import logging import os from typing import Any # Third Party Libraries from cfgtree import LOGGER_NAME log = logging.getLogger(LOGGER_NAME) _UNDEFINED = object() class _CfgBase(object): default: Any = None name = None xpath = None arg_type = No...
21.927126
91
0.610229
642
5,416
4.933022
0.23676
0.063151
0.030944
0.032207
0.343859
0.245658
0.193874
0.174929
0.151563
0.151563
0
0.000775
0.285081
5,416
246
92
22.01626
0.817149
0.091027
0
0.372549
0
0
0.021384
0
0
0
0
0
0
1
0.228758
false
0.013072
0.03268
0.117647
0.647059
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
ad0129930c773885654d4090d8b10f17d74ec19e
402
py
Python
aliexpress/api/rest/SolutionBatchProductInventoryUpdate.py
bayborodin/aliexpress-sdk
89935adf46412d8d054fa80a19153971279c4106
[ "MIT" ]
3
2021-03-10T16:46:43.000Z
2022-03-29T15:28:50.000Z
aliexpress/api/rest/SolutionBatchProductInventoryUpdate.py
bayborodin/aliexpress-sdk
89935adf46412d8d054fa80a19153971279c4106
[ "MIT" ]
null
null
null
aliexpress/api/rest/SolutionBatchProductInventoryUpdate.py
bayborodin/aliexpress-sdk
89935adf46412d8d054fa80a19153971279c4106
[ "MIT" ]
2
2021-10-30T17:09:34.000Z
2021-11-25T11:50:52.000Z
""" Created by auto_sdk on 2019.09.02 """ from aliexpress.api.base import RestApi class AliexpressSolutionBatchProductInventoryUpdateRequest(RestApi): def __init__(self, domain="gw.api.taobao.com", port=80): RestApi.__init__(self, domain, port) self.mutiple_product_update_list = None def geta...
28.714286
68
0.741294
48
402
5.958333
0.729167
0.055944
0.097902
0
0
0
0
0
0
0
0
0.029412
0.154229
402
13
69
30.923077
0.811765
0.08209
0
0
0
0
0.185596
0.138504
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ad15e9d2dc8bbb0de60dfbd3f8397f230926a94c
186
py
Python
Chapter 7/code1.py
PacktPublishing/Mastering-IPython-4
d752f7ba38e0c9399a83d57da406fe26152f272b
[ "MIT" ]
22
2016-06-07T07:52:35.000Z
2021-11-08T13:12:21.000Z
Chapter 7/code1.py
PacktPublishing/Mastering-IPython-4
d752f7ba38e0c9399a83d57da406fe26152f272b
[ "MIT" ]
2
2016-05-23T08:20:54.000Z
2018-07-02T08:21:32.000Z
Chapter 7/code1.py
PacktPublishing/Mastering-IPython-4
d752f7ba38e0c9399a83d57da406fe26152f272b
[ "MIT" ]
27
2016-05-23T08:19:51.000Z
2021-08-31T02:46:00.000Z
locs, labels = xticks() xticks(locs, ("-10%", "-6.7%", "-3.3%", "0", "3.3%", "6.7%", "10%")) xlabel("Percentage change") ylabel("Number of Stocks") title("Simulated Market Performance")
31
68
0.602151
27
186
4.148148
0.703704
0.035714
0
0
0
0
0
0
0
0
0
0.078313
0.107527
186
5
69
37.2
0.596386
0
0
0
0
0
0.467742
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ad271695f3dfcdeafa24657b4dd48db2816ed45e
1,026
gyp
Python
core/deps/yajl.gyp
K-Constantine/Amaraki
e8736e4754af62a8510c3a5db8a72df48f7681a7
[ "MIT" ]
6
2017-07-25T16:36:45.000Z
2018-10-29T16:29:19.000Z
core/deps/yajl.gyp
K-Constantine/Amaraki
e8736e4754af62a8510c3a5db8a72df48f7681a7
[ "MIT" ]
null
null
null
core/deps/yajl.gyp
K-Constantine/Amaraki
e8736e4754af62a8510c3a5db8a72df48f7681a7
[ "MIT" ]
null
null
null
{ 'targets': [ { 'target_name': 'yajl', 'type': 'static_library', 'sources': [ 'yajl/src/yajl.c', 'yajl/src/yajl_lex.c', 'yajl/src/yajl_parser.c', 'yajl/src/yajl_buf.c', 'yajl/src/yajl_encode.c', 'yajl/src/yajl_gen.c', 'yajl/src/yajl_alloc.c'...
23.318182
41
0.465887
95
1,026
4.884211
0.568421
0.135776
0.213362
0.206897
0
0
0
0
0
0
0
0.004425
0.339181
1,026
43
42
23.860465
0.679941
0
0
0.069767
0
0
0.52924
0.149123
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ad389f518e4be9e08ee706c56dbe225d47a976ca
662
py
Python
vel/augmentations/normalize.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
51
2019-02-01T19:43:37.000Z
2022-03-16T09:07:03.000Z
vel/augmentations/normalize.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
2
2019-02-23T18:54:22.000Z
2019-11-09T01:30:32.000Z
vel/augmentations/normalize.py
tigerwlin/vel
00e4fbb7b612e888e2cbb5d8455146664638cd0b
[ "MIT" ]
35
2019-02-08T02:00:31.000Z
2022-03-01T23:17:00.000Z
import numpy as np import vel.api.data as data class Normalize(data.Augmentation): """ Normalize input mean and standard deviation """ def __init__(self, mean, std, mode='x', tags=None): super().__init__(mode, tags) self.mean = np.array(mean, dtype=np.float32) self.std = np.array(std...
26.48
62
0.648036
95
662
4.347368
0.368421
0.077482
0.053269
0.058111
0.096852
0.096852
0
0
0
0
0
0.007737
0.219033
662
24
63
27.583333
0.791103
0.119335
0
0
0
0
0.003521
0
0
0
0
0
0
1
0.307692
false
0
0.153846
0.153846
0.769231
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
ad3c91375671c3451ef4e6db77a0a4cf190f6514
898
py
Python
rComplexity/plotting/tests/test_plot_points.py
raresraf/rafMetrics
21eb5e8210364bf70eee746d71c45f3e353dcb10
[ "MIT" ]
15
2019-11-03T18:01:27.000Z
2021-05-05T20:54:57.000Z
rComplexity/plotting/tests/test_plot_points.py
raresraf/rafMetrics
21eb5e8210364bf70eee746d71c45f3e353dcb10
[ "MIT" ]
392
2019-11-09T21:28:01.000Z
2022-03-31T13:04:45.000Z
rComplexity/plotting/tests/test_plot_points.py
raresraf/rafMetrics
21eb5e8210364bf70eee746d71c45f3e353dcb10
[ "MIT" ]
1
2021-03-11T18:35:16.000Z
2021-03-11T18:35:16.000Z
import mock from rComplexity.plotting.constants import pool_plotting_points_symbols from rComplexity.plotting.plot_points import plot_points_from_file def test_pool_plotting_points_symbols(): assert next(pool_plotting_points_symbols) == "o" assert next(pool_plotting_points_symbols) == "x" assert next(poo...
35.92
79
0.778396
125
898
5.16
0.264
0.130233
0.195349
0.271318
0.27907
0.27907
0.27907
0.27907
0.27907
0.27907
0
0.002554
0.128062
898
24
80
37.416667
0.821201
0
0
0.277778
0
0
0.136971
0.131403
0
0
0
0
0.444444
1
0.111111
false
0
0.166667
0
0.277778
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
1
0
0
0
0
0
0
0
0
0
3
ad489691fce4ff95d4f3ab18728cd7a9aa603d99
26
py
Python
controllers/__init__.py
felix19350/Nature-Trails
11b91643e38139ec8c15674289fa67dc0fe65ac4
[ "Unlicense" ]
null
null
null
controllers/__init__.py
felix19350/Nature-Trails
11b91643e38139ec8c15674289fa67dc0fe65ac4
[ "Unlicense" ]
null
null
null
controllers/__init__.py
felix19350/Nature-Trails
11b91643e38139ec8c15674289fa67dc0fe65ac4
[ "Unlicense" ]
null
null
null
__all__ = ['LoginHandler']
26
26
0.730769
2
26
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.076923
26
1
26
26
0.625
0
0
0
0
0
0.444444
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
ad58e1fa7e243d3e0ec5b364356480d5919a1842
441
py
Python
scraperx/exceptions.py
esarko/scraperx
234668181bfd751211274b0a59ac06da773c2e00
[ "MIT" ]
52
2020-09-04T16:09:39.000Z
2022-01-31T22:52:56.000Z
scraperx/exceptions.py
ScraperX/scraperx
86b2bc5410bececb3416acace986cca93ea5631f
[ "MIT" ]
null
null
null
scraperx/exceptions.py
ScraperX/scraperx
86b2bc5410bececb3416acace986cca93ea5631f
[ "MIT" ]
8
2020-09-09T22:47:48.000Z
2021-09-09T11:40:02.000Z
import requests.exceptions class QAValueError(ValueError): """Raised if extracted data failed to pass its qa tests. Based on the `qa` keyword argument passed into the `extract_task` """ pass class DownloadValueError(ValueError): """Raised if the download still failed after re-tries""" pass ...
23.210526
69
0.732426
52
441
6.173077
0.711538
0.11215
0.11215
0
0
0
0
0
0
0
0
0
0.185941
441
18
70
24.5
0.89415
0.46712
0
0.428571
0
0
0
0
0
0
0
0
0
1
0
true
0.428571
0.142857
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
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
ad594bdfc4e30a1bd11537e8e56f92195cd3c3db
116
py
Python
ch02/ans19.py
upura/nlp100v2020
37d4d208d5d527d163356793b630f36eb7595779
[ "MIT" ]
66
2020-04-07T13:27:45.000Z
2022-01-10T10:43:08.000Z
ch02/ans19.py
upura/nlp100v2020
37d4d208d5d527d163356793b630f36eb7595779
[ "MIT" ]
2
2021-04-30T21:11:02.000Z
2022-01-13T02:33:08.000Z
ch02/ans19.py
upura/nlp100v2020
37d4d208d5d527d163356793b630f36eb7595779
[ "MIT" ]
12
2020-04-10T16:26:10.000Z
2022-02-06T06:17:22.000Z
import pandas as pd df = pd.read_csv('ch02/popular-names.txt', sep='\t', header=None) print(df[0].value_counts())
19.333333
65
0.698276
21
116
3.761905
0.904762
0
0
0
0
0
0
0
0
0
0
0.028846
0.103448
116
5
66
23.2
0.730769
0
0
0
0
0
0.206897
0.189655
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ad5aad7aa54bfe50fc3a752b1e8f277bd7c097d5
11,639
py
Python
src/lemon/utils/datasets/deepmatcher.py
NilsBarlaug/lemon
ee82f20253c50eb5a958fc5507b0df8ca51fa317
[ "MIT" ]
8
2021-10-04T06:58:44.000Z
2022-03-12T12:47:43.000Z
src/lemon/utils/datasets/deepmatcher.py
NilsBarlaug/lemon
ee82f20253c50eb5a958fc5507b0df8ca51fa317
[ "MIT" ]
null
null
null
src/lemon/utils/datasets/deepmatcher.py
NilsBarlaug/lemon
ee82f20253c50eb5a958fc5507b0df8ca51fa317
[ "MIT" ]
null
null
null
import os import pandas as pd from ._dataset import SplittedDataset from ._utils import download_file, get_cache_path def _deepmatcher_dataset(name, url, dtypes, root=None, download=True): name = os.path.join("deepmatcher", name) if download: filepath = os.path.join(name, url.split("/")[-1]) ...
30.709763
122
0.463528
1,029
11,639
5.06414
0.120505
0.032239
0.042986
0.053732
0.782383
0.758971
0.73767
0.726348
0.64479
0.541355
0
0.01311
0.383968
11,639
378
123
30.791005
0.713668
0
0
0.632948
0
0.037572
0.292723
0.012888
0
0
0
0
0
1
0.043353
false
0
0.011561
0.034682
0.098266
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad66664c9a5adecb55a79a9ae04eef09f7ac429f
50
py
Python
osnovni/__init__.py
mbranko/kartonpmv
cfc73e50c7382f118d4840a46eb600139ab13cbb
[ "MIT" ]
null
null
null
osnovni/__init__.py
mbranko/kartonpmv
cfc73e50c7382f118d4840a46eb600139ab13cbb
[ "MIT" ]
null
null
null
osnovni/__init__.py
mbranko/kartonpmv
cfc73e50c7382f118d4840a46eb600139ab13cbb
[ "MIT" ]
null
null
null
default_app_config = 'osnovni.apps.OsnovniConfig'
25
49
0.84
6
50
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.06
50
1
50
50
0.851064
0
0
0
0
0
0.52
0.52
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad75a0ead028da34ce6a879c1a7e9e56a1e75af1
1,076
py
Python
env/Lib/site-packages/OpenGL/GL/ARB/transform_feedback_overflow_query.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
env/Lib/site-packages/OpenGL/GL/ARB/transform_feedback_overflow_query.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
env/Lib/site-packages/OpenGL/GL/ARB/transform_feedback_overflow_query.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''OpenGL extension ARB.transform_feedback_overflow_query This module customises the behaviour of the OpenGL.raw.GL.ARB.transform_feedback_overflow_query to provide a more Python-friendly API Overview (from the spec) This extension adds new query types which can be used to detect overflow of transform feedback ...
37.103448
79
0.824349
146
1,076
5.931507
0.486301
0.117783
0.115473
0.161663
0.251732
0.17552
0.17552
0.17552
0.124711
0.124711
0
0
0.122677
1,076
29
80
37.103448
0.917373
0.610595
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ad8825e6daebb34215943b75147571dd818ab963
217
py
Python
examples/02-simple-input/number.py
ProgHaj/cowait
e95c30faab8caf8b0413de4e1784529a3a06475d
[ "Apache-2.0" ]
51
2020-06-04T06:08:14.000Z
2022-03-28T06:59:53.000Z
examples/02-simple-input/number.py
ProgHaj/cowait
e95c30faab8caf8b0413de4e1784529a3a06475d
[ "Apache-2.0" ]
121
2020-06-01T12:09:32.000Z
2022-03-31T20:47:57.000Z
examples/02-simple-input/number.py
ProgHaj/cowait
e95c30faab8caf8b0413de4e1784529a3a06475d
[ "Apache-2.0" ]
6
2020-06-11T16:05:20.000Z
2022-03-23T06:30:17.000Z
from cowait import Task class Number(Task): # input values are received as keyword arguments to Task.run() async def run(self, first, second=2): print('Inputs:', first, second) return first
21.7
66
0.663594
30
217
4.8
0.8
0.152778
0
0
0
0
0
0
0
0
0
0.006098
0.24424
217
9
67
24.111111
0.871951
0.276498
0
0
0
0
0.045161
0
0
0
0
0
0
1
0
true
0
0.2
0
0.6
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
ad8990dc39a97f7c60ecf9ba927c306dbd93a8db
1,973
py
Python
main/migrations/0018_auto_20180805_2321.py
danielskiptoo/foreCast
9eb9383846e06b0fa8dfe79be27c69dd26b98e48
[ "MIT" ]
null
null
null
main/migrations/0018_auto_20180805_2321.py
danielskiptoo/foreCast
9eb9383846e06b0fa8dfe79be27c69dd26b98e48
[ "MIT" ]
2
2021-03-19T22:01:45.000Z
2021-06-10T20:02:17.000Z
main/migrations/0018_auto_20180805_2321.py
danielskiptoo/foreCast
9eb9383846e06b0fa8dfe79be27c69dd26b98e48
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-08-05 20:21 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0017_auto_20180804_1810'), ] operations = [ migrations.AlterField( model_name='expenses', na...
43.844444
629
0.570705
219
1,973
5.063927
0.429224
0.108206
0.135257
0.156898
0.343553
0.343553
0.273219
0.221821
0.135257
0.135257
0
0.26355
0.251901
1,973
44
630
44.840909
0.487805
0.022808
0
0.5
1
0
0.077362
0.011942
0
0
0
0
0
1
0
false
0
0.052632
0
0.131579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8dd28b8dcf1241a0f88e7325b7322760315467d
10,526
py
Python
fiepipefbxlib/data/common.py
leith-bartrich/fiellc
1c02690538f442dede5d6afc8926355cb2ac838e
[ "MIT" ]
null
null
null
fiepipefbxlib/data/common.py
leith-bartrich/fiellc
1c02690538f442dede5d6afc8926355cb2ac838e
[ "MIT" ]
null
null
null
fiepipefbxlib/data/common.py
leith-bartrich/fiellc
1c02690538f442dede5d6afc8926355cb2ac838e
[ "MIT" ]
null
null
null
import fiepipelib.assetdata.data.items import os import os.path import fiepipelib.assetdata.data.connection import fiepipelib.assetdata.data.itemlist import fiepipelib.filerepresentation.data.filerepresentation import fiepipelib.fileversion.data.fileversion from fiepipelib.gitstorage.data.git_working_asset import GitW...
35.322148
176
0.713471
918
10,526
8.04793
0.147059
0.061722
0.074716
0.0536
0.449107
0.374662
0.281808
0.23105
0.172713
0.1451
0
0
0.191336
10,526
297
177
35.441077
0.867951
0
0
0.303922
0
0
0.036101
0.00893
0
0
0
0
0
1
0.303922
false
0.009804
0.039216
0.20098
0.715686
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
a8dd641350fb677649586f628a6c208d173342eb
297
py
Python
exercicios/ex029.py
Matheus1199/python
c87859d4bf63ba0edea43d864fcbce4915da7e6a
[ "MIT" ]
null
null
null
exercicios/ex029.py
Matheus1199/python
c87859d4bf63ba0edea43d864fcbce4915da7e6a
[ "MIT" ]
null
null
null
exercicios/ex029.py
Matheus1199/python
c87859d4bf63ba0edea43d864fcbce4915da7e6a
[ "MIT" ]
null
null
null
v = float(input('Qual a velocidade atual do carro? ')) if v > 80: print('MULTADO! Você excedeu o limite pertimido que é 80km/h') m = (v - 80) * 7 print('Você deve pagar um multa de {:.2f}'.format(m)) print('Você terá que pagar {}') print('Tenha um bom dia! Dirija com segurança!')
37.125
66
0.636364
50
297
3.78
0.76
0.031746
0
0
0
0
0
0
0
0
0
0.034335
0.215488
297
7
67
42.428571
0.776824
0
0
0
0
0
0.612795
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a8e98c849a4cec77739f845bf438577a6ba257e6
211
py
Python
preprocess/file_utils.py
ZiheLiu/pointer-generator
e6f0b2b9b1844e3e480db9b38d55f2884e9eda9b
[ "Apache-2.0" ]
null
null
null
preprocess/file_utils.py
ZiheLiu/pointer-generator
e6f0b2b9b1844e3e480db9b38d55f2884e9eda9b
[ "Apache-2.0" ]
null
null
null
preprocess/file_utils.py
ZiheLiu/pointer-generator
e6f0b2b9b1844e3e480db9b38d55f2884e9eda9b
[ "Apache-2.0" ]
null
null
null
def read_file_to_string(filename): with open(filename, 'r') as fin: return fin.read() def write_string_to_file(filename, content): with open(filename, 'w') as fout: fout.write(content)
23.444444
44
0.672986
31
211
4.387097
0.516129
0.117647
0.235294
0
0
0
0
0
0
0
0
0
0.208531
211
8
45
26.375
0.814371
0
0
0
0
0
0.009479
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
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
1
0
0
0
0
0
0
0
3
a8ec761fae89353c4865d77cdb3cd83687b2d2d6
786
py
Python
SongLine.py
JonFStr/SongBeamer_SimilarSongFinder
15c581cb636859e616305d416a81449ce50f372e
[ "MIT" ]
null
null
null
SongLine.py
JonFStr/SongBeamer_SimilarSongFinder
15c581cb636859e616305d416a81449ce50f372e
[ "MIT" ]
3
2021-05-13T10:25:58.000Z
2021-05-13T13:14:15.000Z
SongLine.py
JonFStr/SongBeamer_SimilarSongFinder
15c581cb636859e616305d416a81449ce50f372e
[ "MIT" ]
1
2021-04-24T18:59:31.000Z
2021-04-24T18:59:31.000Z
class SongLine: # Uniquely ids all song lines next_id = 0 def __init__(self, song_text: str, song): """A song line of a song :type song_text: str :param song_text: The lines text :type song: Song.Song :param song: The song this line is a part of """ #...
24.5625
52
0.572519
111
786
3.792793
0.306306
0.114014
0.052257
0.07601
0.104513
0
0
0
0
0
0
0.003891
0.346056
786
31
53
25.354839
0.815175
0.333333
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.2
0.733333
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
d111b6c60d05727d741a69e72b9dbe8021450726
2,350
py
Python
projects/vdk-core/src/vdk/internal/core/context.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
100
2021-10-04T09:32:04.000Z
2022-03-30T11:23:53.000Z
projects/vdk-core/src/vdk/internal/core/context.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
208
2021-10-04T16:56:40.000Z
2022-03-31T10:41:44.000Z
projects/vdk-core/src/vdk/internal/core/context.py
alod83/versatile-data-kit
9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8
[ "Apache-2.0" ]
14
2021-10-11T14:15:13.000Z
2022-03-11T13:39:17.000Z
# Copyright 2021 VMware, Inc. # SPDX-License-Identifier: Apache-2.0 from dataclasses import dataclass from typing import List from vdk.api.plugin.plugin_registry import IPluginRegistry from vdk.internal.core.config import Configuration from vdk.internal.core.statestore import ImmutableStoreKey from vdk.internal.core.s...
43.518519
120
0.734043
329
2,350
5.197568
0.419453
0.049123
0.035088
0.044444
0.088304
0.061404
0
0
0
0
0
0.003212
0.205106
2,350
53
121
44.339623
0.912206
0.52383
0
0
0
0
0.033301
0
0
0
0
0.018868
0
1
0.045455
false
0
0.318182
0
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
1
0
0
0
0
0
1
0
1
0
0
3
d116167881e1ab653e3182072e68536740420f52
1,361
py
Python
cairis/gui/ResponseDialogParameters.py
nathanjenx/cairis
06d2d592b64af20746b9a2713551db597af46805
[ "Apache-2.0" ]
null
null
null
cairis/gui/ResponseDialogParameters.py
nathanjenx/cairis
06d2d592b64af20746b9a2713551db597af46805
[ "Apache-2.0" ]
null
null
null
cairis/gui/ResponseDialogParameters.py
nathanjenx/cairis
06d2d592b64af20746b9a2713551db597af46805
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
43.903226
132
0.780309
173
1,361
6.069364
0.566474
0.057143
0.024762
0.030476
0.051429
0
0
0
0
0
0
0.004329
0.151359
1,361
30
133
45.366667
0.904762
0.560617
0
0
0
0
0.02069
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.222222
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
d172699ba58cc57b549d7499ed8cfa2c33d139f5
1,908
py
Python
ranking/migrations/0001_initial.py
soonsam123/Django_FKSCv2
0620d17d3402dcda8c3037466c44bc6bd5a53f40
[ "MIT" ]
null
null
null
ranking/migrations/0001_initial.py
soonsam123/Django_FKSCv2
0620d17d3402dcda8c3037466c44bc6bd5a53f40
[ "MIT" ]
null
null
null
ranking/migrations/0001_initial.py
soonsam123/Django_FKSCv2
0620d17d3402dcda8c3037466c44bc6bd5a53f40
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-08-11 22:08 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Create...
38.938776
114
0.582285
191
1,908
5.638743
0.403141
0.181059
0.21727
0.289694
0.498607
0.350975
0.146704
0.146704
0.146704
0.146704
0
0.037736
0.277778
1,908
48
115
39.75
0.743832
0.034591
0
0.275
1
0
0.117999
0.025014
0
0
0
0
0
1
0
false
0
0.075
0
0.175
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
66f2c0c5abbc6a72ee6dc6aeaab681275e43d91a
2,281
py
Python
original_tests/eval.py
zhanghuiying2319/Master
1f4d11dd8277517b7e63d34651a9629f58dd7070
[ "MIT" ]
null
null
null
original_tests/eval.py
zhanghuiying2319/Master
1f4d11dd8277517b7e63d34651a9629f58dd7070
[ "MIT" ]
null
null
null
original_tests/eval.py
zhanghuiying2319/Master
1f4d11dd8277517b7e63d34651a9629f58dd7070
[ "MIT" ]
null
null
null
import os,sys,math,numpy as np, matplotlib.pyplot as plt def runstuff(): #savept= './scores_v2_23042021' #0.7436183691024781 0.5736260370351374 #savept= './scores_v2_23042021_sizes' #0.7456393063068391 0.5900695040822029 #savept= './scores_v2_23042021_aspectratios' #0.7385990262031555 0.5795704715885222 #save...
54.309524
102
0.798334
279
2,281
6.204301
0.351254
0.138648
0.161756
0.177932
0.354708
0.169844
0.087811
0
0
0
0
0.409265
0.081982
2,281
41
103
55.634146
0.417383
0.672074
0
0
0
0
0.190409
0.179126
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
0.066667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f1cb58a101e34ad3d795bc9308117333c88dbc9
362
py
Python
Ex8.py
LuizHps18/Exercicios_LP_1B
00901fe5493ceabba922a1626451117196417da6
[ "MIT" ]
null
null
null
Ex8.py
LuizHps18/Exercicios_LP_1B
00901fe5493ceabba922a1626451117196417da6
[ "MIT" ]
null
null
null
Ex8.py
LuizHps18/Exercicios_LP_1B
00901fe5493ceabba922a1626451117196417da6
[ "MIT" ]
null
null
null
n = input("Digite algo: ") print("É um número?", n.isnumeric()) print("É uma letra/palavra?", n.isalpha()) print("É algo vazio?", n.isspace()) print("É um alpha númerico?", n.isalnum()) print("Se for letra, está em maíusculo?", n.isupper()) print("Se for letra, está em minusculo?", n.islower()) print("Se for letra, es...
40.222222
65
0.674033
58
362
4.206897
0.5
0.098361
0.122951
0.184426
0.258197
0.258197
0
0
0
0
0
0
0.124309
362
9
65
40.222222
0.769716
0
0
0
0
0
0.506887
0
0
0
0
0
0
1
0
false
0
0
0
0
0.875
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
0f30dfbc525111ce892930f9c14e62988466dbd4
113
py
Python
main.py
yechong316/Chatbot-intruduction
bef39ebebd2dbbb19404659295936af0dab34c07
[ "Apache-2.0" ]
6
2019-07-20T00:57:27.000Z
2020-09-28T08:10:05.000Z
main.py
yechong316/Chatbot-intruduction
bef39ebebd2dbbb19404659295936af0dab34c07
[ "Apache-2.0" ]
null
null
null
main.py
yechong316/Chatbot-intruduction
bef39ebebd2dbbb19404659295936af0dab34c07
[ "Apache-2.0" ]
1
2020-02-19T15:57:49.000Z
2020-02-19T15:57:49.000Z
from demo import work_mode ''' 总共有三种模式: 0 : 训练模式 1 : BLEU模式 2 : 测试模式,注:测试模式暂不开放。 ''' mode = 2 work_mode(mode)
8.692308
26
0.654867
19
113
3.789474
0.736842
0.222222
0
0
0
0
0
0
0
0
0
0.044444
0.20354
113
12
27
9.416667
0.755556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3