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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
36c951e5276d9f53f5952092ad440f64332162cf | 2,083 | py | Python | simpleparam/utilities.py | lukasz-migas/SimpleParam | a796df44c675d67d82a73ff5cac689fd626ebfde | [
"MIT"
] | null | null | null | simpleparam/utilities.py | lukasz-migas/SimpleParam | a796df44c675d67d82a73ff5cac689fd626ebfde | [
"MIT"
] | 16 | 2019-10-28T07:43:59.000Z | 2021-10-19T02:40:28.000Z | simpleparam/utilities.py | lukasz-migas/SimpleParam | a796df44c675d67d82a73ff5cac689fd626ebfde | [
"MIT"
] | null | null | null | """Utilities"""
import inspect
import numbers
def is_number(obj):
"""Check if value is a number"""
if isinstance(obj, numbers.Number):
return True
# The extra check is for classes that behave like numbers, such as those
# found in numpy, gmpy, etc.
elif hasattr(obj, "__int__") and hasattr(... | 27.051948 | 86 | 0.635142 | 271 | 2,083 | 4.697417 | 0.416974 | 0.031422 | 0.025923 | 0.030636 | 0.02828 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001935 | 0.255881 | 2,083 | 76 | 87 | 27.407895 | 0.819355 | 0.611138 | 0 | 0.105263 | 0 | 0 | 0.032349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
36d56cba023ac58af790292426c05b96c7e82f4d | 256 | py | Python | sample.py | SuryaThiru/Neural-style-transfer | f3b8b057470272f96b9d2c56843f221423622aa4 | [
"MIT"
] | 2 | 2018-08-23T15:31:55.000Z | 2018-09-02T06:34:58.000Z | sample.py | SuryaThiru/Neural-style-transfer | f3b8b057470272f96b9d2c56843f221423622aa4 | [
"MIT"
] | null | null | null | sample.py | SuryaThiru/Neural-style-transfer | f3b8b057470272f96b9d2c56843f221423622aa4 | [
"MIT"
] | null | null | null | from neural_transer import style_transfer
cnt_image = 'img/neckarfront.jpg'
style_image = 'img/starry_night.jpg'
output = 'test/'
epochs = 600
save_per_epoch = 40
style_transfer(cnt_image, style_image, output, epochs, save_per_epoch, random_canvas=True)
| 25.6 | 90 | 0.800781 | 39 | 256 | 4.923077 | 0.615385 | 0.135417 | 0.166667 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021834 | 0.105469 | 256 | 9 | 91 | 28.444444 | 0.816594 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
36ea8a32a0668bd4bbd6c03cb9c6b7c7ebd5724f | 982 | py | Python | Programmers/10. Graph/02. Rank.py | Minoolian/Coding_Test | 5eb781b880919733b07d6a0313f592a6a9ac117a | [
"MIT"
] | null | null | null | Programmers/10. Graph/02. Rank.py | Minoolian/Coding_Test | 5eb781b880919733b07d6a0313f592a6a9ac117a | [
"MIT"
] | null | null | null | Programmers/10. Graph/02. Rank.py | Minoolian/Coding_Test | 5eb781b880919733b07d6a0313f592a6a9ac117a | [
"MIT"
] | null | null | null | # 순위
#
# https://programmers.co.kr/learn/courses/30/lessons/49191
def solution(n, results):
answer=0
adj=[[0 for _ in range(n+1)] for _ in range(n+1)]
for w,l in results:
adj[w][l]=2
adj[l][w]=1
# for i in range(n+1):
# for j in range(n+1):
# if adj[i][j]==1:
... | 23.380952 | 58 | 0.382892 | 164 | 982 | 2.280488 | 0.219512 | 0.168449 | 0.192513 | 0.216578 | 0.561497 | 0.561497 | 0.489305 | 0.489305 | 0.489305 | 0.409091 | 0 | 0.081851 | 0.427699 | 982 | 41 | 59 | 23.95122 | 0.58363 | 0.360489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
36ef964d24945b4eaaa28ef1098391f2ca1097e8 | 296 | py | Python | ProgramFlow/tuple/unpacking_tuple.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | ProgramFlow/tuple/unpacking_tuple.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | ProgramFlow/tuple/unpacking_tuple.py | kumarvgit/python3 | 318c5e7503fafc9c60082fa123e2930bd82a4ec9 | [
"MIT"
] | null | null | null | a = b = c = d = e = f = 12
x, y = 1, 2 # unpacking tuple
print(x)
print(y)
print('unpack tuple - or any sequence type')
data = (1, 2, 3)
a, b, c = data
print(a)
print(b)
print(c)
print('unpack list - or any sequence type')
data_list = [4, 5, 6]
a, b, c = data_list
print(a)
print(b)
print(c)
| 14.8 | 44 | 0.597973 | 61 | 296 | 2.868852 | 0.409836 | 0.034286 | 0.051429 | 0.194286 | 0.445714 | 0.205714 | 0 | 0 | 0 | 0 | 0 | 0.043668 | 0.226351 | 296 | 19 | 45 | 15.578947 | 0.720524 | 0.050676 | 0 | 0.375 | 0 | 0 | 0.248201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
7fda033a8e28be93a2affa940ea5458e245ba96d | 3,779 | py | Python | bitbucket.py | Acidburn0zzz/difio | 1485f657f099f6a8401ad7cfe155f524a8a9a422 | [
"Apache-2.0"
] | 4 | 2016-06-01T12:48:54.000Z | 2021-08-19T22:21:47.000Z | bitbucket.py | Acidburn0zzz/difio | 1485f657f099f6a8401ad7cfe155f524a8a9a422 | [
"Apache-2.0"
] | 3 | 2016-01-20T17:06:45.000Z | 2016-01-20T17:07:06.000Z | bitbucket.py | Acidburn0zzz/difio | 1485f657f099f6a8401ad7cfe155f524a8a9a422 | [
"Apache-2.0"
] | 2 | 2015-01-21T21:30:19.000Z | 2017-08-08T06:03:02.000Z | #!/usr/bin/env python
################################################################################
#
# Copyright (c) 2012, Alexander Todorov <atodorov@nospam.dif.io>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You ... | 29.755906 | 111 | 0.60307 | 487 | 3,779 | 4.572895 | 0.328542 | 0.059273 | 0.045802 | 0.0467 | 0.461608 | 0.403682 | 0.305344 | 0.2793 | 0.2793 | 0.2793 | 0 | 0.009977 | 0.204287 | 3,779 | 126 | 112 | 29.992063 | 0.730629 | 0.178089 | 0 | 0.315789 | 0 | 0 | 0.293933 | 0.069667 | 0 | 0 | 0 | 0.015873 | 0 | 0 | null | null | 0 | 0.087719 | null | null | 0.105263 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7fe05d73c8a1674d7b5671d08de7b53c293e132d | 583 | py | Python | isic/config.py | bomcon123456/isic | bf86f6a057c96c85a089587e2e1076bf5d586d3f | [
"Apache-2.0"
] | null | null | null | isic/config.py | bomcon123456/isic | bf86f6a057c96c85a089587e2e1076bf5d586d3f | [
"Apache-2.0"
] | 2 | 2021-09-28T05:33:52.000Z | 2022-02-26T09:50:37.000Z | isic/config.py | bomcon123456/isic | bf86f6a057c96c85a089587e2e1076bf5d586d3f | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED! DO NOT EDIT! File to edit: nbs/config.ipynb (unless otherwise specified).
__all__ = ['AppConfig', 'PathConfig', 'TrainConfig']
# Cell
class AppConfig:
SEED = 8080
NUM_CLASSES = 7
class PathConfig:
# DATA_PATH = '/content/data'
# IMAGE_PATH = '/content/data/images'
# ... | 24.291667 | 90 | 0.662093 | 72 | 583 | 5.138889 | 0.583333 | 0.086486 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059211 | 0.217839 | 583 | 24 | 91 | 24.291667 | 0.752193 | 0.373928 | 0 | 0 | 1 | 0 | 0.252778 | 0.15 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
7fe53ee82ed46073c6a237e84551569f667f24cc | 678 | py | Python | hardware/Utils/utils.py | ab7289/mercury-hardware | dc2a4e888184a32aaa1355a1fe9ec77a9cb15ebe | [
"MIT"
] | 1 | 2020-05-09T21:37:12.000Z | 2020-05-09T21:37:12.000Z | hardware/Utils/utils.py | ab7289/mercury-hardware | dc2a4e888184a32aaa1355a1fe9ec77a9cb15ebe | [
"MIT"
] | 8 | 2020-05-07T01:54:14.000Z | 2020-05-13T21:31:56.000Z | hardware/Utils/utils.py | ab7289/mercury-hardware | dc2a4e888184a32aaa1355a1fe9ec77a9cb15ebe | [
"MIT"
] | 2 | 2020-05-06T22:24:20.000Z | 2020-05-13T20:32:29.000Z | import os
import json
from datetime import datetime, timezone
from .logger import Logger
SENSOR_KEYS = {
"ALL": "all",
"TEMPERATURE": "temperature",
"PRESSURE": "pressure",
"HUMIDITY": "humidity",
"ACCELERATION": "acceleration",
"ORIENTATION": "orientation",
}
def get_sensor_keys():
retu... | 19.941176 | 62 | 0.685841 | 84 | 678 | 5.357143 | 0.47619 | 0.071111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184366 | 678 | 33 | 63 | 20.545455 | 0.813743 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.173913 | 0.130435 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
3d0ee01e1137aa36111fec6b4751453d15c9af03 | 574 | py | Python | Sistema Caixa Supermercados/produtos.py | FelipeECarvalho/Projetos | 978536dc61b2ba19c40d7f6065e99cd605f53aeb | [
"MIT"
] | 1 | 2021-08-22T17:10:08.000Z | 2021-08-22T17:10:08.000Z | Sistema Caixa Supermercados/produtos.py | FelipeECarvalho/Projetos | 978536dc61b2ba19c40d7f6065e99cd605f53aeb | [
"MIT"
] | null | null | null | Sistema Caixa Supermercados/produtos.py | FelipeECarvalho/Projetos | 978536dc61b2ba19c40d7f6065e99cd605f53aeb | [
"MIT"
] | null | null | null | produto = {}
produto["2295"] = [5.99, "Banana Nanica"]
produto["2219"] = [7.99, "Banana prata"]
produto["2172"] = [9.99, "Maçã Fuji"]
produto["2547"] = [8.99, "Maçã Gala"]
produto["2127"] = [12.99, "Mamão Papaya"]
produto["2134"] = [10.99, "Mamão Formosa"]
produto["5843"] = [12.99, "Pão Francês"]
produto["1052"] = [4.9... | 41 | 61 | 0.648084 | 77 | 574 | 4.831169 | 0.662338 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250493 | 0.116725 | 574 | 13 | 62 | 44.153846 | 0.483235 | 0 | 0 | 0 | 0 | 0 | 0.456446 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3d110556dac2904883b202a0e3778011b72d0d6a | 8,035 | py | Python | core/metrics_eval.py | YifanQie/Deep_Learning_for_Manufacturing | 9ba19e41f69c561b04b8573ab9c52c0969f45bfd | [
"MIT"
] | 27 | 2019-10-31T15:16:13.000Z | 2022-03-29T03:56:57.000Z | core/metrics_eval.py | YifanQie/Deep_Learning_for_Manufacturing | 9ba19e41f69c561b04b8573ab9c52c0969f45bfd | [
"MIT"
] | 4 | 2020-03-25T14:18:04.000Z | 2022-02-10T00:34:58.000Z | core/metrics_eval.py | YifanQie/Deep_Learning_for_Manufacturing | 9ba19e41f69c561b04b8573ab9c52c0969f45bfd | [
"MIT"
] | 7 | 2020-02-23T22:12:37.000Z | 2021-12-08T20:14:41.000Z | """ Contains classes and methods to obtain various regression based metrics to evaluate"""
from sklearn import metrics
import numpy as np
import pandas as pd
import math
import sys
sys.path.append("../config")
class MetricsEval:
"""MetricsEval Class
Evaluate metrics to evaluate model performance
"""
def metr... | 34.04661 | 171 | 0.743622 | 1,264 | 8,035 | 4.428006 | 0.113924 | 0.03752 | 0.048597 | 0.023227 | 0.721815 | 0.704306 | 0.684831 | 0.650884 | 0.645882 | 0.637663 | 0 | 0.008291 | 0.144368 | 8,035 | 236 | 172 | 34.04661 | 0.805818 | 0.333292 | 0 | 0.460317 | 0 | 0 | 0.105577 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3d21eb68d020e05868581b779ca18d9a0b0fba6b | 176 | py | Python | web/app/helpers.py | anarkiwi/packet_cafe | c21aff28b9526ffa83a0b77352976503915d9c90 | [
"Apache-2.0"
] | 23 | 2020-08-05T01:36:34.000Z | 2022-03-29T11:44:03.000Z | web/app/helpers.py | anarkiwi/packet_cafe | c21aff28b9526ffa83a0b77352976503915d9c90 | [
"Apache-2.0"
] | 232 | 2020-08-10T20:32:20.000Z | 2022-03-31T21:14:57.000Z | web/app/helpers.py | anarkiwi/packet_cafe | c21aff28b9526ffa83a0b77352976503915d9c90 | [
"Apache-2.0"
] | 8 | 2020-08-27T04:17:55.000Z | 2021-07-28T04:52:28.000Z | import json
def load_tools(file_path='/definitions/workers.json'):
tools = {}
with open(file_path) as json_file:
tools = json.load(json_file)
return tools
| 22 | 54 | 0.681818 | 25 | 176 | 4.6 | 0.52 | 0.13913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210227 | 176 | 7 | 55 | 25.142857 | 0.827338 | 0 | 0 | 0 | 0 | 0 | 0.142045 | 0.142045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3d451b0939082e3bed7d043ceed21a7c3ecb8e4f | 2,481 | py | Python | server/ui/admin/models.py | elise-baumgartner/onramp | beb3c807264fcb70d8069ff2e3990b0ce3f59912 | [
"BSD-3-Clause"
] | 2 | 2016-09-09T04:19:01.000Z | 2019-02-15T20:28:13.000Z | server/ui/admin/models.py | elise-baumgartner/onramp | beb3c807264fcb70d8069ff2e3990b0ce3f59912 | [
"BSD-3-Clause"
] | 67 | 2016-06-02T19:37:56.000Z | 2018-02-22T05:23:45.000Z | server/ui/admin/models.py | elise-baumgartner/onramp | beb3c807264fcb70d8069ff2e3990b0ce3f59912 | [
"BSD-3-Clause"
] | 9 | 2015-06-22T22:10:22.000Z | 2016-04-26T15:35:45.000Z |
from django.contrib.auth.models import User
from django.db import models
class workspace(models.Model):
workspace_id = models.AutoField(primary_key=True)
workspace_name = models.CharField(unique=True, max_length=255)
description = models.TextField()
class pce(models.Model):
pce_id = models.AutoField... | 35.442857 | 85 | 0.727126 | 305 | 2,481 | 5.747541 | 0.245902 | 0.119795 | 0.150599 | 0.095836 | 0.460924 | 0.407872 | 0.390188 | 0.300628 | 0.10154 | 0.10154 | 0 | 0.009104 | 0.158807 | 2,481 | 69 | 86 | 35.956522 | 0.830858 | 0.050383 | 0 | 0.314815 | 0 | 0 | 0.024681 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.944444 | 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 | 0 | 0 | 1 | 0 | 0 | 2 |
3d52d5c4aa0672e1693dcba4d1903e4c13a09981 | 168 | py | Python | aiocloudflare/api/zones/logpush/validate/destination/exists/exists.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 2 | 2021-09-14T13:20:55.000Z | 2022-02-24T14:18:24.000Z | aiocloudflare/api/zones/logpush/validate/destination/exists/exists.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 46 | 2021-09-08T08:39:45.000Z | 2022-03-29T12:31:05.000Z | aiocloudflare/api/zones/logpush/validate/destination/exists/exists.py | Stewart86/aioCloudflare | 341c0941f8f888a8b7e696e64550bce5da4949e6 | [
"MIT"
] | 1 | 2021-12-30T23:02:23.000Z | 2021-12-30T23:02:23.000Z | from aiocloudflare.commons.auth import Auth
class Exists(Auth):
_endpoint1 = "zones"
_endpoint2 = "logpush/validate/destination/exists"
_endpoint3 = None
| 21 | 54 | 0.738095 | 18 | 168 | 6.722222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.172619 | 168 | 7 | 55 | 24 | 0.848921 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
e9f25ffca812b0c9f7dadf75c0e89c4e2ae3f5e4 | 9,439 | py | Python | TB2J/manager.py | obaica/TB2J | 6e6d32769d20d751b1ced15f947b59962dfa0ea3 | [
"BSD-2-Clause"
] | 1 | 2021-01-27T23:53:30.000Z | 2021-01-27T23:53:30.000Z | TB2J/manager.py | obaica/TB2J | 6e6d32769d20d751b1ced15f947b59962dfa0ea3 | [
"BSD-2-Clause"
] | null | null | null | TB2J/manager.py | obaica/TB2J | 6e6d32769d20d751b1ced15f947b59962dfa0ea3 | [
"BSD-2-Clause"
] | 1 | 2021-01-28T00:37:14.000Z | 2021-01-28T00:37:14.000Z | import os
from TB2J.myTB import MyTB, merge_tbmodels_spin
import numpy as np
from TB2J.exchange import ExchangeCL, ExchangeNCL
from TB2J.exchangeCL2 import ExchangeCL2
from TB2J.utils import read_basis, auto_assign_basis_name
from ase.io import read
from TB2J.sisl_wrapper import SislWrapper
from TB2J.gpaw_wrapper impor... | 34.323636 | 85 | 0.531836 | 972 | 9,439 | 5.019547 | 0.158436 | 0.055749 | 0.043042 | 0.034433 | 0.725559 | 0.698299 | 0.69338 | 0.69338 | 0.675548 | 0.66694 | 0 | 0.022638 | 0.377582 | 9,439 | 274 | 86 | 34.448905 | 0.80783 | 0.014832 | 0 | 0.717131 | 0 | 0 | 0.140442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011952 | false | 0.003984 | 0.043825 | 0 | 0.055777 | 0.119522 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e9f2c2ec1fb15d592bc15c9080b09cd348487ccf | 9,580 | py | Python | nanopores/geometries/H_geo/subdomains.py | jhwnkim/nanopores | 98b3dbb5d36464fbdc03f59d224d38e4255324ce | [
"MIT"
] | 8 | 2016-09-07T01:59:31.000Z | 2021-03-06T12:14:31.000Z | nanopores/geometries/H_geo/subdomains.py | jhwnkim/nanopores | 98b3dbb5d36464fbdc03f59d224d38e4255324ce | [
"MIT"
] | null | null | null | nanopores/geometries/H_geo/subdomains.py | jhwnkim/nanopores | 98b3dbb5d36464fbdc03f59d224d38e4255324ce | [
"MIT"
] | 4 | 2017-12-06T17:43:01.000Z | 2020-05-01T05:41:14.000Z | """
mark domains/boundaries with dolfin MeshFunctions
"""
"""
ueberlegungen bzgl. abstraktion:
subdomain numbers werden gebraucht fuer:
-) bilinearformen (masse) --> als tupel
-> jede variable in (v,ionen,wasser) ist mit einem tupel \subset (0,1,2,..) assoziiert
-> diese assoziation ist eine geometrische eigens... | 37.131783 | 122 | 0.607411 | 1,184 | 9,580 | 4.860642 | 0.222973 | 0.046916 | 0.06881 | 0.084101 | 0.447785 | 0.423284 | 0.393397 | 0.371156 | 0.357081 | 0.34179 | 0 | 0.026968 | 0.233612 | 9,580 | 257 | 123 | 37.276265 | 0.756878 | 0.283194 | 0 | 0.362903 | 0 | 0 | 0.080695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0 | 0.024194 | 0.153226 | 0.604839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
e9f60dadccf90edcefed461f6c41df6e748c054c | 3,039 | py | Python | terrascript/vsphere/r.py | austin-millan/python-terrascript | 0c9793f7d91143728835ffd1e8f9f75d736bef47 | [
"BSD-2-Clause"
] | null | null | null | terrascript/vsphere/r.py | austin-millan/python-terrascript | 0c9793f7d91143728835ffd1e8f9f75d736bef47 | [
"BSD-2-Clause"
] | null | null | null | terrascript/vsphere/r.py | austin-millan/python-terrascript | 0c9793f7d91143728835ffd1e8f9f75d736bef47 | [
"BSD-2-Clause"
] | null | null | null | from terrascript import _resource
class vsphere_custom_attribute(_resource): pass
custom_attribute = vsphere_custom_attribute
class vsphere_datastore_cluster(_resource): pass
datastore_cluster = vsphere_datastore_cluster
class vsphere_resource_pool(_resource): pass
resource_pool = vsphere_resource_pool
class vsphere... | 33.032609 | 89 | 0.890424 | 412 | 3,039 | 5.93932 | 0.097087 | 0.147119 | 0.098079 | 0.093993 | 0.371475 | 0.246016 | 0.121373 | 0 | 0 | 0 | 0 | 0 | 0.070089 | 3,039 | 91 | 90 | 33.395604 | 0.865888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.491803 | 0.016393 | 0 | 0.508197 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
e9f8b4928562c1f504f4641a5ee6d00682e133cc | 1,218 | py | Python | scraper/storage_spiders/anhducdigitalvn.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | null | null | null | scraper/storage_spiders/anhducdigitalvn.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | 10 | 2020-02-11T23:34:28.000Z | 2022-03-11T23:16:12.000Z | scraper/storage_spiders/anhducdigitalvn.py | chongiadung/choinho | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | [
"MIT"
] | 3 | 2018-08-05T14:54:25.000Z | 2021-06-07T01:49:59.000Z | # Auto generated by generator.py. Delete this line if you make modification.
from scrapy.spiders import Rule
from scrapy.linkextractors import LinkExtractor
XPATH = {
'name' : "//form[@id='product_addtocart_form']/div[@class='product-shop']/div[@class='product-name']/h1",
'price' : "//div[@class='product-img-b... | 45.111111 | 277 | 0.674056 | 155 | 1,218 | 5.180645 | 0.516129 | 0.089664 | 0.0934 | 0.044832 | 0.052304 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000923 | 0.110837 | 1,218 | 26 | 278 | 46.846154 | 0.740536 | 0.098522 | 0 | 0 | 1 | 0.173913 | 0.605479 | 0.373516 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
180c9ec359f9fc270b7df5916b4e21cdf19dd272 | 280 | py | Python | tasks/verify.py | ttzhou/poetry-workspace-plugin | 078d8ab323b0d33e0b542cac93ae7144bace87e8 | [
"MIT"
] | 46 | 2021-08-10T09:30:58.000Z | 2022-03-31T16:18:46.000Z | tasks/verify.py | jacksmith15/workspace-cli | 7de850f81d7f30e0275dea28f3745d44aceafeba | [
"MIT"
] | 1 | 2021-06-06T15:46:12.000Z | 2021-08-09T12:36:27.000Z | tasks/verify.py | jacksmith15/workspace-cli | 7de850f81d7f30e0275dea28f3745d44aceafeba | [
"MIT"
] | 4 | 2021-08-18T02:30:18.000Z | 2022-02-11T23:23:58.000Z | from invoke import task
from tasks.changelog_check import changelog_check
from tasks.lint import lint
from tasks.test import test
from tasks.typecheck import typecheck
@task(post=[changelog_check, lint, typecheck, test])
def verify(_ctx):
"""Run all verification steps."""
| 23.333333 | 52 | 0.785714 | 40 | 280 | 5.4 | 0.45 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132143 | 280 | 11 | 53 | 25.454545 | 0.888889 | 0.096429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.714286 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
1810ee991298c0bcc4eba0022a77b4150a7fd5d8 | 567 | py | Python | Hourglass/flip_detect.py | caternuson/CircuitPython-Demos | cffb226750614caed5368d7ca31c06be321f54d8 | [
"MIT"
] | null | null | null | Hourglass/flip_detect.py | caternuson/CircuitPython-Demos | cffb226750614caed5368d7ca31c06be321f54d8 | [
"MIT"
] | null | null | null | Hourglass/flip_detect.py | caternuson/CircuitPython-Demos | cffb226750614caed5368d7ca31c06be321f54d8 | [
"MIT"
] | null | null | null | # Circuit Playground Express Flip Detect
#
# Author: Carter Nelson
# MIT License (https://opensource.org/licenses/MIT)
import time
from adafruit_circuitplayground.express import cpx
while True:
# Wait for Circuit Playground to be flipped over (face down)
while cpx.acceleration[2] > 0:
pass # do nothing... | 27 | 67 | 0.666667 | 78 | 567 | 4.820513 | 0.641026 | 0.135638 | 0.074468 | 0.12766 | 0.37234 | 0.37234 | 0.37234 | 0.18617 | 0 | 0 | 0 | 0.023697 | 0.255732 | 567 | 21 | 68 | 27 | 0.867299 | 0.518519 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.222222 | 0.222222 | 0 | 0.222222 | 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 | 0 | 0 | 0 | 2 |
1815eecf6d5cb01e67393117d2d07c35d6f1176e | 879 | py | Python | broadcast_cli/broadcast_printer.py | cob16/example-cli-and-lib | 0d8f5b67e8c867475828aea2a217b196647067b2 | [
"MIT"
] | 1 | 2019-06-08T09:54:19.000Z | 2019-06-08T09:54:19.000Z | broadcast_cli/broadcast_printer.py | cob16/example-cli-and-lib | 0d8f5b67e8c867475828aea2a217b196647067b2 | [
"MIT"
] | null | null | null | broadcast_cli/broadcast_printer.py | cob16/example-cli-and-lib | 0d8f5b67e8c867475828aea2a217b196647067b2 | [
"MIT"
] | null | null | null | from clint.textui import colored, indent, puts, columns
from datetime import datetime
def broadcast_printer(b):
puts(columns([user_id(b), 7], [broadcast_id(b), 10], [created_at(b), 25], [feed(b), None]))
puts(colored.yellow('Content: ▼'))
# with indent(10):
puts(b.content)
puts()
def broadcast_i... | 26.636364 | 109 | 0.651877 | 128 | 879 | 4.398438 | 0.4375 | 0.053286 | 0.071048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010974 | 0.170648 | 879 | 32 | 110 | 27.46875 | 0.759945 | 0.042093 | 0 | 0 | 0 | 0 | 0.104887 | 0.02503 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.095238 | 0.095238 | 0.52381 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
1827170c45384b8a87a8fef92bb07c6e4b9da472 | 508 | py | Python | bin/bean/dev.py | akrishna1995/emuedge | d33845107be3c9bbfcaf030df0a989e9d4972743 | [
"MIT"
] | null | null | null | bin/bean/dev.py | akrishna1995/emuedge | d33845107be3c9bbfcaf030df0a989e9d4972743 | [
"MIT"
] | null | null | null | bin/bean/dev.py | akrishna1995/emuedge | d33845107be3c9bbfcaf030df0a989e9d4972743 | [
"MIT"
] | null | null | null | import sys
from node import node
from node import node_type
from abc import abstractmethod
class dev(node):
def __init__(self, did, name, dtype=node_type.DEV):
node.__init__(self, did, name, dtype)
pass
def __str__(self):
attrs = vars(self)
return str(', '.join("%s: %s" % item for item in attrs.items()))
... | 19.538462 | 66 | 0.720472 | 75 | 508 | 4.653333 | 0.466667 | 0.146132 | 0.080229 | 0.103152 | 0.320917 | 0.206304 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 508 | 26 | 67 | 19.538462 | 0.823113 | 0 | 0 | 0.35 | 0 | 0 | 0.015717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.2 | 0.2 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
1832b7dfc905e00f47cbfb00cbc7e8792aa57f99 | 217 | py | Python | mcd/__init__.py | zwlanpishu/MCD | f925bd78ab9413dd555c601af88f2b43e5483c3a | [
"BSD-3-Clause"
] | 158 | 2015-04-13T20:05:03.000Z | 2022-03-24T07:05:25.000Z | mcd/__init__.py | zwlanpishu/MCD | f925bd78ab9413dd555c601af88f2b43e5483c3a | [
"BSD-3-Clause"
] | 9 | 2016-01-19T10:48:01.000Z | 2020-08-16T03:50:59.000Z | mcd/__init__.py | zwlanpishu/MCD | f925bd78ab9413dd555c601af88f2b43e5483c3a | [
"BSD-3-Clause"
] | 36 | 2016-01-19T06:36:51.000Z | 2022-03-16T08:49:45.000Z | """Mel cepstral distortion (MCD) computations in python."""
# Copyright 2014, 2015, 2016, 2017 Matt Shannon
# This file is part of mcd.
# See `License` for details of license and warranty.
__version__ = '0.5.dev1'
| 24.111111 | 59 | 0.718894 | 32 | 217 | 4.75 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105556 | 0.170507 | 217 | 8 | 60 | 27.125 | 0.738889 | 0.815668 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
183bafc1e99411b88c2b462c761b5d2a1ed2ae9b | 1,067 | py | Python | day_ok/schedule/migrations/0060_auto_20210325_1608.py | bostud/day_ok | 2bcee68252b698f5818808d1766fb3ec3f07fce8 | [
"MIT"
] | null | null | null | day_ok/schedule/migrations/0060_auto_20210325_1608.py | bostud/day_ok | 2bcee68252b698f5818808d1766fb3ec3f07fce8 | [
"MIT"
] | 16 | 2021-02-27T08:36:19.000Z | 2021-04-07T11:43:31.000Z | day_ok/schedule/migrations/0060_auto_20210325_1608.py | bostud/day_ok | 2bcee68252b698f5818808d1766fb3ec3f07fce8 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.7 on 2021-03-25 14:08
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('schedule', '0059_auto_20210324_1503'),
]
operations = [
migrations.AddField(
model_name='studen... | 28.837838 | 141 | 0.599813 | 96 | 1,067 | 6.552083 | 0.552083 | 0.151033 | 0.152623 | 0.17806 | 0.155803 | 0.155803 | 0 | 0 | 0 | 0 | 0 | 0.040736 | 0.286785 | 1,067 | 36 | 142 | 29.638889 | 0.785808 | 0.042174 | 0 | 0.366667 | 1 | 0 | 0.178431 | 0.022549 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
183db73317b3f5d5c933067502683d47be67295f | 517 | py | Python | lib/assets/Lib/browser/session_storage.py | s6007589/cafe-grader-web | 18a993801c698fb7b7ec6ae5f4b67920503cb242 | [
"MIT"
] | 25 | 2016-09-04T07:34:13.000Z | 2022-02-14T07:39:02.000Z | lib/assets/Lib/browser/session_storage.py | it56660024/cafe-grader-web | e9a1305fd62e79e54f6961f97ddc5cd57bafd73c | [
"MIT"
] | 25 | 2015-02-05T03:59:27.000Z | 2022-02-11T16:54:04.000Z | lib/assets/Lib/browser/session_storage.py | it56660024/cafe-grader-web | e9a1305fd62e79e54f6961f97ddc5cd57bafd73c | [
"MIT"
] | 16 | 2016-09-05T00:30:27.000Z | 2021-12-05T11:07:02.000Z | # session storage in browser
import sys
from javascript import JSObject
from browser import window
from .local_storage import LocalStorage
has_session_storage = hasattr(window, 'sessionStorage')
class SessionStorage(LocalStorage):
storage_type = "session_storage"
def __init__(self):
if ... | 25.85 | 67 | 0.733075 | 55 | 517 | 6.654545 | 0.472727 | 0.191257 | 0.139344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210832 | 517 | 19 | 68 | 27.210526 | 0.897059 | 0.05029 | 0 | 0 | 0 | 0 | 0.121277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
183eae492a27a8db605e6d6f65228342aff13ac2 | 20,762 | py | Python | proxy2.py | thatmarcel/proxy2 | c2d22debec43ec39171ace44402afdd805f515b6 | [
"BSD-3-Clause"
] | null | null | null | proxy2.py | thatmarcel/proxy2 | c2d22debec43ec39171ace44402afdd805f515b6 | [
"BSD-3-Clause"
] | null | null | null | proxy2.py | thatmarcel/proxy2 | c2d22debec43ec39171ace44402afdd805f515b6 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
import os
import socket
import ssl
import select
import httplib
import urlparse
import threading
import gzip
import zlib
import time
import json
import re
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from SocketServer import ThreadingMixIn
from cStringIO import String... | 53.510309 | 6,238 | 0.602302 | 2,564 | 20,762 | 4.690718 | 0.23869 | 0.018625 | 0.019456 | 0.031097 | 0.289349 | 0.218592 | 0.173194 | 0.156897 | 0.137441 | 0.107342 | 0 | 0.050322 | 0.25248 | 20,762 | 387 | 6,239 | 53.648579 | 0.724162 | 0.011319 | 0 | 0.248408 | 0 | 0.003185 | 0.251487 | 0.030559 | 0 | 0 | 0 | 0 | 0.003185 | 0 | null | null | 0.009554 | 0.057325 | null | null | 0.041401 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
184b730630e6fcac2718af6501615dc25373f851 | 788 | py | Python | tests/unit/test_service.py | neuro-inc/platform-container-runtime | f7d426191767da1a1d673a1f3fc9264a3dccb9ad | [
"Apache-2.0"
] | null | null | null | tests/unit/test_service.py | neuro-inc/platform-container-runtime | f7d426191767da1a1d673a1f3fc9264a3dccb9ad | [
"Apache-2.0"
] | 51 | 2021-11-15T03:15:19.000Z | 2022-02-23T08:18:46.000Z | tests/unit/test_service.py | neuro-inc/platform-container-runtime | f7d426191767da1a1d673a1f3fc9264a3dccb9ad | [
"Apache-2.0"
] | null | null | null | from platform_container_runtime.service import Stream
class TestStream:
def test_parse_error_channel_v4_success(self) -> None:
result = Stream.parse_error_channel(b'\x03{"metadata":{},"status":"Success"}')
assert result == {"exit_code": 0}
def test_parse_error_channel_v4_failure(self) -> Non... | 37.52381 | 172 | 0.652284 | 93 | 788 | 5.258065 | 0.430108 | 0.122699 | 0.208589 | 0.104294 | 0.458078 | 0.408998 | 0.302658 | 0.302658 | 0.224949 | 0.224949 | 0 | 0.027735 | 0.176396 | 788 | 20 | 173 | 39.4 | 0.725732 | 0.01269 | 0 | 0 | 0 | 0.076923 | 0.310567 | 0.233247 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
184e491aa9a2656325a2686753838d86a616a4f6 | 694 | py | Python | accounts/views.py | tony-joseph/crimson-publisher | a156d0b6f681c1b3ffba890d9581f3a3b78d0d1d | [
"BSD-3-Clause"
] | 1 | 2020-05-06T16:59:43.000Z | 2020-05-06T16:59:43.000Z | accounts/views.py | tony-joseph/crimson-publisher | a156d0b6f681c1b3ffba890d9581f3a3b78d0d1d | [
"BSD-3-Clause"
] | null | null | null | accounts/views.py | tony-joseph/crimson-publisher | a156d0b6f681c1b3ffba890d9581f3a3b78d0d1d | [
"BSD-3-Clause"
] | null | null | null | from hashlib import md5
from django.shortcuts import render, get_object_or_404
from django.views.generic import View
from django.contrib.auth.models import User
from accounts.models import UserProfile
class UserProfileView(View):
def get_object(self, username):
return get_object_or_404(User, username=u... | 30.173913 | 74 | 0.698847 | 88 | 694 | 5.352273 | 0.431818 | 0.095541 | 0.070064 | 0.089172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019928 | 0.204611 | 694 | 22 | 75 | 31.545455 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.087896 | 0.044669 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.3125 | 0.0625 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
1851ab7d8260e62445a676c951c0892d20945ae1 | 2,379 | py | Python | src/marmo/report/table.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/marmo/report/table.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | src/marmo/report/table.py | SINTEF/simapy | 650b8c2f15503dad98e2bfc0d0788509593822c7 | [
"MIT"
] | null | null | null | # This an autogenerated file
#
# Generated with Table
from typing import Dict,Sequence,List
from dmt.entity import Entity
from dmt.blueprint import Blueprint
from .blueprints.table import TableBlueprint
from typing import Dict
from marmo.report.column import Column
from marmo.report.reportitem import ReportItem
class... | 24.78125 | 105 | 0.591005 | 243 | 2,379 | 5.62963 | 0.251029 | 0.048246 | 0.05848 | 0.037281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285414 | 2,379 | 95 | 106 | 25.042105 | 0.804706 | 0.147961 | 0 | 0.113208 | 1 | 0 | 0.014144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.226415 | false | 0 | 0.132075 | 0 | 0.490566 | 0.075472 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
185ca47ce5e35363d9a78981eb5341fed58ff4da | 1,024 | py | Python | isa.py | schwaaweb/aimlds1_11-NLP | 94fe4e5389ef22933c34849411ea7b7bf5509730 | [
"Unlicense"
] | null | null | null | isa.py | schwaaweb/aimlds1_11-NLP | 94fe4e5389ef22933c34849411ea7b7bf5509730 | [
"Unlicense"
] | null | null | null | isa.py | schwaaweb/aimlds1_11-NLP | 94fe4e5389ef22933c34849411ea7b7bf5509730 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
# Income Share Agreement
min = 50000.0
max = 88235.3
max_pay = 30000.0
max_income = 2117647.06
monthly_increment = (max - min)/23
print('\n24 months maximum payment with a minimum of $50,000 annual income')
print('Maximum income for 24 month repayment is $88,235.30\n')
print('For incomes exc... | 30.117647 | 258 | 0.685547 | 183 | 1,024 | 3.754098 | 0.382514 | 0.163028 | 0.09607 | 0.174672 | 0.235808 | 0.211063 | 0.136827 | 0.136827 | 0.136827 | 0.136827 | 0 | 0.103219 | 0.120117 | 1,024 | 33 | 259 | 31.030303 | 0.659267 | 0.041992 | 0 | 0.105263 | 0 | 0.105263 | 0.448417 | 0.168539 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.526316 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
185d79286164e6fe8e60812a3718bbd2dfb9e1e3 | 19,395 | py | Python | pysnmp/IANA-IPPM-METRICS-REGISTRY-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/IANA-IPPM-METRICS-REGISTRY-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/IANA-IPPM-METRICS-REGISTRY-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 IANA-IPPM-METRICS-REGISTRY-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IANA-IPPM-METRICS-REGISTRY-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:38:44 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python ... | 103.716578 | 4,849 | 0.816808 | 1,822 | 19,395 | 8.693194 | 0.147091 | 0.010859 | 0.114022 | 0.021466 | 0.166993 | 0.149568 | 0.149568 | 0.148999 | 0.148999 | 0.021719 | 0 | 0.065217 | 0.072648 | 19,395 | 186 | 4,850 | 104.274194 | 0.815412 | 0.018252 | 0 | 0 | 0 | 0 | 0.062631 | 0.003888 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03352 | 0 | 0.03352 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
186b5226f453de36828975ed8e9ab1d53eeef39b | 83 | py | Python | of_team_editor.py | moth1995/WE10JL_OF_Team_Editor | 09f4f29871e93595cf68e33b34ef6d7379d20095 | [
"MIT"
] | 1 | 2022-01-25T06:12:18.000Z | 2022-01-25T06:12:18.000Z | of_team_editor.py | moth1995/WE10JL_OF_Team_Editor | 09f4f29871e93595cf68e33b34ef6d7379d20095 | [
"MIT"
] | null | null | null | of_team_editor.py | moth1995/WE10JL_OF_Team_Editor | 09f4f29871e93595cf68e33b34ef6d7379d20095 | [
"MIT"
] | null | null | null | from gui.gui import Gui
if __name__ == "__main__":
app = Gui()
app.start() | 16.6 | 26 | 0.614458 | 12 | 83 | 3.583333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 83 | 5 | 27 | 16.6 | 0.68254 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
188201b945234ae8b874a0feb0aba5583ad22cc1 | 696 | py | Python | WeedCode/Synthetic_sugarbeets/mytest.py | danielginn/Mask_RCNN | c95e030855bfdc3ad2f81fc22d5a8ae52be2f75a | [
"MIT"
] | null | null | null | WeedCode/Synthetic_sugarbeets/mytest.py | danielginn/Mask_RCNN | c95e030855bfdc3ad2f81fc22d5a8ae52be2f75a | [
"MIT"
] | null | null | null | WeedCode/Synthetic_sugarbeets/mytest.py | danielginn/Mask_RCNN | c95e030855bfdc3ad2f81fc22d5a8ae52be2f75a | [
"MIT"
] | null | null | null | import cv2
import numpy as np
import matplotlib.pyplot as plt
from math import sqrt,pi,cos,sin
IMAGE = "0148"
# Load in backgrounds
#img_path = ".\\data\\backgrounds_cleaned\\gt\\"+IMAGE+".png"
#img = cv2.imread(img_path)
#diluted_white_mask = (img > 0)
# Taking a matrix of size 5 as the kernel
#kernel = ... | 33.142857 | 91 | 0.721264 | 110 | 696 | 4.4 | 0.5 | 0.14876 | 0.198347 | 0.078512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049342 | 0.126437 | 696 | 21 | 92 | 33.142857 | 0.746711 | 0.594828 | 0 | 0 | 0 | 0 | 0.198413 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
43f47f3e5365d75f311a4ddf8ac538a62821f5ec | 342 | py | Python | intro/3_nums_greater.py | Rhoynar/pysel | 7a283cfdcaea3b1e33e615d1e655b6bd1f23f09f | [
"MIT"
] | 1 | 2019-09-09T12:58:36.000Z | 2019-09-09T12:58:36.000Z | intro/3_nums_greater.py | Rhoynar/pysel | 7a283cfdcaea3b1e33e615d1e655b6bd1f23f09f | [
"MIT"
] | null | null | null | intro/3_nums_greater.py | Rhoynar/pysel | 7a283cfdcaea3b1e33e615d1e655b6bd1f23f09f | [
"MIT"
] | null | null | null | num1 = int(input('Enter number 1: '))
num2 = int(input('Enter number 2: '))
num3 = int(input('Enter number 3: '))
if num1 > num2 and num1 > num3:
print(str(num1) + ' is the greatest!')
if num2 > num3 and num2 > num1:
print(str(num2) + ' is the greatest!')
if num3 > num1 and num3 > num2:
print(str(num3) +... | 26.307692 | 42 | 0.614035 | 54 | 342 | 3.888889 | 0.314815 | 0.114286 | 0.185714 | 0.271429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0.219298 | 342 | 12 | 43 | 28.5 | 0.707865 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a1011d8a44b7ad5859bd52692e3240bbd0803eff | 1,481 | py | Python | researchutils/chainer/serializers/npz.py | keio-ytlab/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | 1 | 2018-10-25T12:57:38.000Z | 2018-10-25T12:57:38.000Z | researchutils/chainer/serializers/npz.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | 28 | 2018-08-25T03:54:30.000Z | 2018-10-14T12:09:47.000Z | researchutils/chainer/serializers/npz.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | null | null | null | from researchutils import files
import chainer.serializers
def save_model(path, model):
"""
Save model as an npz file to given path
Parameters
-------
path : string
path of the model to be saved
model : chainer.Link
model to save parameters
Raises
-------
ValueEr... | 23.140625 | 86 | 0.640783 | 187 | 1,481 | 5.026738 | 0.262032 | 0.076596 | 0.060638 | 0.073404 | 0.505319 | 0.47234 | 0.397872 | 0.397872 | 0.357447 | 0.357447 | 0 | 0 | 0.280891 | 1,481 | 64 | 87 | 23.140625 | 0.882629 | 0.528022 | 0 | 0.142857 | 0 | 0 | 0.046125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
a11b322077a454bb95372f2a0bde0190e64f8315 | 276 | py | Python | Modulo 1/Lista01/1.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | 2 | 2021-08-17T14:02:13.000Z | 2021-08-19T02:37:28.000Z | Modulo 1/Lista01/1.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | null | null | null | Modulo 1/Lista01/1.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | 1 | 2021-09-05T20:18:45.000Z | 2021-09-05T20:18:45.000Z | Despesas = float(input("Quanto foi gasto?"))
Gorjeta = Despesas / 100 * 10
Total = Despesas + Gorjeta
print("--------------------------------------- \n O total foi de R${:.2f} \n Com uma gorjeta de R${:.2f} \n --------------------------------------- ".format(Total, Gorjeta))
| 55.2 | 173 | 0.471014 | 32 | 276 | 4.0625 | 0.59375 | 0.046154 | 0.076923 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028926 | 0.123188 | 276 | 4 | 174 | 69 | 0.508264 | 0 | 0 | 0 | 0 | 0.25 | 0.572464 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a12ebbcb1db55fd012ffccdbeeca3f7a7f02d2c5 | 689 | py | Python | ex099.py | ArthurCorrea/python-exercises | 0c2ac46b8c40dd9868b132e847cfa42e025095e3 | [
"MIT"
] | null | null | null | ex099.py | ArthurCorrea/python-exercises | 0c2ac46b8c40dd9868b132e847cfa42e025095e3 | [
"MIT"
] | null | null | null | ex099.py | ArthurCorrea/python-exercises | 0c2ac46b8c40dd9868b132e847cfa42e025095e3 | [
"MIT"
] | null | null | null | # Faça um programa que tenha uma função chamada maior(), que
# receba vários parâmetros com valores inteiros.
# Seu programa tem que analisar todos os valores e dizer qual
# deles é o maior.
from time import sleep
def maior(* n):
print('-='*15)
print('Analisando os valores passados...')
for num in n:
... | 26.5 | 61 | 0.609579 | 120 | 689 | 3.5 | 0.575 | 0.057143 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115456 | 0.22061 | 689 | 25 | 62 | 27.56 | 0.666667 | 0.291727 | 0 | 0 | 0 | 0 | 0.246888 | 0 | 0 | 0 | 0 | 0.04 | 0 | 1 | 0.0625 | false | 0.0625 | 0.0625 | 0 | 0.125 | 0.375 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
a13178788ebffeebdf23558ba8b6308224775c99 | 649 | py | Python | cove/management/commands/expire_files.py | jpmckinney/lib-cove-web | bd849fcd6845b746a80b37d57675e468cdeefefc | [
"MIT"
] | 1 | 2020-05-17T14:39:40.000Z | 2020-05-17T14:39:40.000Z | cove/management/commands/expire_files.py | jpmckinney/lib-cove-web | bd849fcd6845b746a80b37d57675e468cdeefefc | [
"MIT"
] | 53 | 2018-12-04T13:18:55.000Z | 2021-08-30T11:06:28.000Z | cove/management/commands/expire_files.py | jpmckinney/lib-cove-web | bd849fcd6845b746a80b37d57675e468cdeefefc | [
"MIT"
] | 4 | 2018-12-04T13:17:21.000Z | 2021-04-12T18:45:13.000Z | from django.core.management.base import BaseCommand
from cove.input.models import SuppliedData
from django.conf import settings
from django.utils import timezone
from datetime import timedelta
import shutil
class Command(BaseCommand):
help = 'Delete files that are older than 7 days'
def handle(self, *args, *... | 34.157895 | 140 | 0.713405 | 80 | 649 | 5.6625 | 0.6625 | 0.066225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003906 | 0.211094 | 649 | 18 | 141 | 36.055556 | 0.880859 | 0 | 0 | 0 | 0 | 0 | 0.095532 | 0.035439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
a1336826d999778e18feae95fbf1a75192e07c98 | 655 | py | Python | infdist/simulator/experiment/legacy/__init__.py | zeroos/infdist | 5fca2c42bbe5ea650866a26568d1eaf240b2b47e | [
"MIT"
] | null | null | null | infdist/simulator/experiment/legacy/__init__.py | zeroos/infdist | 5fca2c42bbe5ea650866a26568d1eaf240b2b47e | [
"MIT"
] | null | null | null | infdist/simulator/experiment/legacy/__init__.py | zeroos/infdist | 5fca2c42bbe5ea650866a26568d1eaf240b2b47e | [
"MIT"
] | null | null | null | __all__ = [
'BaseExperiment',
'BaseTreeExperiment',
'DropRateVsUtilityExperiment',
'LimitedThroughputExperiment',
'GraphMessagesExperiment',
'VaryingBackgroundTrafficExperiment',
'GoodputVsRateExperiment',
]
from .base_experiment import BaseExperiment
from .base_tree_experiment import BaseT... | 32.75 | 61 | 0.836641 | 49 | 655 | 10.836735 | 0.510204 | 0.090395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112977 | 655 | 19 | 62 | 34.473684 | 0.913941 | 0 | 0 | 0 | 0 | 0 | 0.253435 | 0.20458 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.388889 | 0 | 0.388889 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
a138e43f9db7ab55a11b98b7fbe6bbed37e90d88 | 1,085 | py | Python | {{cookiecutter.project_name}}/server/src/common/generators.py | gradam/full-docker-django-cookiecutter | 527ff2ca178424cdd7e552159324de51d334e43d | [
"MIT"
] | 4 | 2018-03-28T15:49:36.000Z | 2021-01-07T12:22:29.000Z | {{cookiecutter.project_name}}/server/src/common/generators.py | gradam/full-docker-django-cookiecutter | 527ff2ca178424cdd7e552159324de51d334e43d | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/server/src/common/generators.py | gradam/full-docker-django-cookiecutter | 527ff2ca178424cdd7e552159324de51d334e43d | [
"MIT"
] | null | null | null | import delorean
from django.db.utils import IntegrityError
from faker import Faker
from accounts.models import User
def generate_user(is_superuser=False, password=None, save=True):
fake = Faker()
while True:
first_name = fake.first_name()
last_name = fake.last_name()
simple_profile =... | 35 | 85 | 0.639631 | 124 | 1,085 | 5.370968 | 0.395161 | 0.117117 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005109 | 0.278341 | 1,085 | 30 | 86 | 36.166667 | 0.845466 | 0 | 0 | 0 | 1 | 0 | 0.030415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0.153846 | 0.153846 | 0 | 0.269231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
a1448cde6ec7466dd80b3839886d055a3e88b1fc | 459 | py | Python | www/test.py | liafeiok/awesome-python3-webapp | 19d9b68e1dbc07aaa696ce80eeefd9c2e112d065 | [
"Apache-2.0"
] | null | null | null | www/test.py | liafeiok/awesome-python3-webapp | 19d9b68e1dbc07aaa696ce80eeefd9c2e112d065 | [
"Apache-2.0"
] | null | null | null | www/test.py | liafeiok/awesome-python3-webapp | 19d9b68e1dbc07aaa696ce80eeefd9c2e112d065 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'Pengfei, Li'
import www.orm
from www.models import User
import asyncio
import random
async def test(loop):
await www.orm.create_pool(loop, user='root', password='root', db='awesome')
u = User(name='Test', email='test%s@example.com' % random.randin... | 24.157895 | 118 | 0.697168 | 70 | 459 | 4.442857 | 0.7 | 0.038585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035176 | 0.132898 | 459 | 18 | 119 | 25.5 | 0.746231 | 0.093682 | 0 | 0 | 0 | 0 | 0.149758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.181818 | 0.363636 | 0 | 0.363636 | 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 | 0 | 0 | 0 | 2 |
a14711ffa7bde24bf3d85a90f8ad82de68757e8a | 50 | py | Python | pythonlearn/Socket-Http/HTTP/pbl/server/__init__.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 1 | 2021-01-11T06:30:44.000Z | 2021-01-11T06:30:44.000Z | pythonlearn/Socket-Http/HTTP/pbl/server/demo/__init__.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 23 | 2020-02-12T02:35:49.000Z | 2022-02-11T03:45:40.000Z | pythonlearn/Socket-Http/HTTP/pbl/server/demo/__init__.py | yc19890920/Learn | 3990e75b469225ba7b430539ef9a16abe89eb863 | [
"Apache-2.0"
] | 2 | 2020-04-08T15:39:46.000Z | 2020-10-10T10:13:09.000Z | #!/usr/bin/python
#coding=utf8
__author__ = 'leo'
| 12.5 | 18 | 0.7 | 7 | 50 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.1 | 50 | 3 | 19 | 16.666667 | 0.666667 | 0.54 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a15e81d97b870d9d3ae496d3749d1a0023affbb3 | 492 | py | Python | colRecoder2.py | DU-ds/Misc-Python-Scripts | ca68564805ca350f7ee529148c7bd3796adcc929 | [
"MIT"
] | null | null | null | colRecoder2.py | DU-ds/Misc-Python-Scripts | ca68564805ca350f7ee529148c7bd3796adcc929 | [
"MIT"
] | null | null | null | colRecoder2.py | DU-ds/Misc-Python-Scripts | ca68564805ca350f7ee529148c7bd3796adcc929 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Oct 12 13:16:08 2018
@author: Kenneth Collins
"""
"""colRecoder2(dataFrame, colName, oldVal, newVal):
requires: pandas dataFrame, colName must be the columns name (e.g. df.colName), not a string
effects: returns a copy of the column. Does NOT mutate data.
Thus must be assign... | 30.75 | 93 | 0.719512 | 69 | 492 | 5.130435 | 0.695652 | 0.180791 | 0.152542 | 0.186441 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036496 | 0.164634 | 492 | 16 | 94 | 30.75 | 0.824818 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a160fd7f7e38be6fd2504be7993cccaf6e79413e | 713 | py | Python | pertemuan_2/9_WTForm/forms.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | pertemuan_2/9_WTForm/forms.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | pertemuan_2/9_WTForm/forms.py | Muhammad-Yunus/Flask-Web-Development | c13e3fda30151b1155242abe4532d5f4d7bc120e | [
"Apache-2.0"
] | null | null | null | from wtforms import Form, BooleanField, StringField, PasswordField, validators, SubmitField
class UserForm(Form):
name = StringField('Name', [validators.Length(min=4, max=50), validators.DataRequired()])
email = StringField('Email Address', [validators.Length(min=6, max=50), validators.DataRequired()])
ph... | 47.533333 | 103 | 0.709677 | 74 | 713 | 6.824324 | 0.540541 | 0.09505 | 0.112871 | 0.106931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014851 | 0.15007 | 713 | 14 | 104 | 50.928571 | 0.818482 | 0 | 0 | 0 | 0 | 0 | 0.147472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.1 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
a161f39538f7c09ebfe25c53dad580e39758cc38 | 10,858 | py | Python | hotspringsapp/models.py | 1000Springs/web-app | d6fa34fcffd320c49fc4672c7cfc18aa4938d707 | [
"MIT"
] | null | null | null | hotspringsapp/models.py | 1000Springs/web-app | d6fa34fcffd320c49fc4672c7cfc18aa4938d707 | [
"MIT"
] | null | null | null | hotspringsapp/models.py | 1000Springs/web-app | d6fa34fcffd320c49fc4672c7cfc18aa4938d707 | [
"MIT"
] | null | null | null | from hotspringsapp import app,db
from werkzeug.security import generate_password_hash, check_password_hash
from sqlalchemy.sql import text
from sqlalchemy.ext.associationproxy import association_proxy
from sqlalchemy.orm import sessionmaker
class Location(db.Model):
__tablename__ = 'public_location'
id = d... | 35.253247 | 169 | 0.62203 | 1,405 | 10,858 | 4.684698 | 0.161566 | 0.114251 | 0.142814 | 0.132179 | 0.227135 | 0.155728 | 0.134761 | 0.111212 | 0.060316 | 0.041629 | 0 | 0.008067 | 0.235126 | 10,858 | 307 | 170 | 35.368078 | 0.784467 | 0.014644 | 0 | 0.083665 | 1 | 0.003984 | 0.088453 | 0.010753 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067729 | false | 0.023904 | 0.01992 | 0.023904 | 0.59761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
a16883b57f53338f5701a5181c04c729508aea3a | 93 | py | Python | PythonCode/1153.py | CrystianPrintes20/ProjetoUri | 92a88ae2671a556f4d418c3605e9a2c6933dc9d8 | [
"MIT"
] | null | null | null | PythonCode/1153.py | CrystianPrintes20/ProjetoUri | 92a88ae2671a556f4d418c3605e9a2c6933dc9d8 | [
"MIT"
] | null | null | null | PythonCode/1153.py | CrystianPrintes20/ProjetoUri | 92a88ae2671a556f4d418c3605e9a2c6933dc9d8 | [
"MIT"
] | null | null | null | n = int(input())
total = 1
while n != 0:
total *= n
n -= 1
print(n)
print(total) | 11.625 | 16 | 0.494624 | 16 | 93 | 2.875 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.322581 | 93 | 8 | 17 | 11.625 | 0.68254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a1756a83e2482589970aaa58326666b09ad9a0df | 632 | py | Python | src/start_horovod.py | jakob-ed/pytorch-dist-pos-tagger | f6143564c0df309ea20a5d6544c31027adf0bc88 | [
"MIT"
] | null | null | null | src/start_horovod.py | jakob-ed/pytorch-dist-pos-tagger | f6143564c0df309ea20a5d6544c31027adf0bc88 | [
"MIT"
] | null | null | null | src/start_horovod.py | jakob-ed/pytorch-dist-pos-tagger | f6143564c0df309ea20a5d6544c31027adf0bc88 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import random
import torch
from horovod_adasum.horovod_adasum import HorovodAdaSum
MIN_FREQ = int(os.environ['SUSML_MIN_FREQ'])
RAND_SEED = int(os.environ['SUSML_RAND_SEED'])
NUM_EPOCHS = int(os.environ['SUSML_NUM_EPOCHS'])
BATCH_SIZE = int(os.environ['SUSML_BATCH_SIZE'])
LR = float(o... | 26.333333 | 75 | 0.789557 | 92 | 632 | 5.043478 | 0.434783 | 0.135776 | 0.181034 | 0.18319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083861 | 632 | 23 | 76 | 27.478261 | 0.801382 | 0.031646 | 0 | 0 | 0 | 0 | 0.211129 | 0.085106 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a177e281caed0d9584244db24a500b0af17df35e | 322 | py | Python | Statistics/zscore.py | jimishapatel/statistic | 73430aeb5c11ae2683047bab16dc976cc7b3e403 | [
"MIT"
] | null | null | null | Statistics/zscore.py | jimishapatel/statistic | 73430aeb5c11ae2683047bab16dc976cc7b3e403 | [
"MIT"
] | null | null | null | Statistics/zscore.py | jimishapatel/statistic | 73430aeb5c11ae2683047bab16dc976cc7b3e403 | [
"MIT"
] | 1 | 2019-12-22T07:27:47.000Z | 2019-12-22T07:27:47.000Z | from Statistics.mean import mean
from Statistics.samplestand import samplestand
from Calculator.subtraction import subtraction
from Calculator.division import division
def zscore(data):
x = 64
u = mean(data)
sample_sd = samplestand(data)
y = subtraction(x, u)
return division(sample_sd, ... | 14 | 46 | 0.729814 | 41 | 322 | 5.682927 | 0.439024 | 0.120172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.204969 | 322 | 23 | 47 | 14 | 0.902344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
a178f51527ce39867c1ebfa0e6d25de7679650e7 | 1,801 | py | Python | src/spaceone/inventory/error/custom.py | jean1042/plugin-azure-cloud-services | 3a75a516c9a4d1e8a4962988934ead3fd40e8494 | [
"Apache-2.0"
] | 1 | 2020-12-08T11:59:54.000Z | 2020-12-08T11:59:54.000Z | src/spaceone/inventory/error/custom.py | jean1042/plugin-azure-cloud-services | 3a75a516c9a4d1e8a4962988934ead3fd40e8494 | [
"Apache-2.0"
] | 4 | 2021-01-26T10:43:37.000Z | 2021-12-17T10:13:33.000Z | src/spaceone/inventory/error/custom.py | jean1042/plugin-azure-cloud-services | 3a75a516c9a4d1e8a4962988934ead3fd40e8494 | [
"Apache-2.0"
] | 2 | 2021-01-13T03:24:05.000Z | 2021-01-19T07:25:45.000Z | from spaceone.core.error import ERROR_BASE
class ERROR_REPOSITORY_BACKEND(ERROR_BASE):
status_code = 'INTERNAL'
message = 'Repository backend has problem. ({host})'
class ERROR_DRIVER(ERROR_BASE):
status_code = 'INTERNAL'
message = '{message}'
class ERROR_NOT_INITIALIZED_EXCEPTION(ERROR_BASE):
... | 31.596491 | 121 | 0.75347 | 231 | 1,801 | 5.627706 | 0.255411 | 0.083077 | 0.126923 | 0.160769 | 0.585385 | 0.501538 | 0.373077 | 0.28 | 0.28 | 0.28 | 0 | 0 | 0.166019 | 1,801 | 56 | 122 | 32.160714 | 0.865513 | 0 | 0 | 0.323529 | 0 | 0 | 0.441977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
a18082c54f1c98bc0aca473befd849aa1a046552 | 991 | py | Python | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_slides/__manifest__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_slides/__manifest__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_slides/__manifest__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
{
'name': 'Slides',
'version': '1.0',
'sequence': 145,
'summary': 'Share and Publish Videos, Presentations and Documents',
'category': 'Website',
'description': """
Share and Publish Videos, Presentations and Documents'
====================================================... | 28.314286 | 85 | 0.600404 | 99 | 991 | 5.878788 | 0.545455 | 0.134021 | 0.072165 | 0.103093 | 0.158076 | 0.158076 | 0.158076 | 0 | 0 | 0 | 0 | 0.007663 | 0.209889 | 991 | 34 | 86 | 29.147059 | 0.735632 | 0.021191 | 0 | 0.0625 | 0 | 0 | 0.735537 | 0.265496 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a190c7eb7001236bb26d7d5a374fa2335cafbf7c | 7,818 | py | Python | depend.py | liuyang1/depend | d574a6fdc82c8acb51397b3ee6113462730b8ee0 | [
"MIT"
] | null | null | null | depend.py | liuyang1/depend | d574a6fdc82c8acb51397b3ee6113462730b8ee0 | [
"MIT"
] | null | null | null | depend.py | liuyang1/depend | d574a6fdc82c8acb51397b3ee6113462730b8ee0 | [
"MIT"
] | null | null | null | #! /usr/bin/env python2
"""
## Internal Technology
simple topological sort
## How to visulize it?
Use `graphviz` to visulize the dependency.
We have two functions:
- `showDot`
generate `dot` file format with dependency graph.
- `showDotWithSt`
generate `dot` file format with dependency grapha, render d... | 24.43125 | 95 | 0.440138 | 943 | 7,818 | 3.639449 | 0.183457 | 0.016026 | 0.006993 | 0.010198 | 0.259324 | 0.192308 | 0.075758 | 0.052448 | 0.052448 | 0.034382 | 0 | 0.027044 | 0.404068 | 7,818 | 319 | 96 | 24.507837 | 0.709594 | 0.015605 | 0 | 0.260163 | 1 | 0 | 0.059191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.01626 | null | null | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a1a8d6b7a7646abe23f3e25c64adecff4d5966b2 | 1,027 | py | Python | rev/a-bowl-of-pythons/chal.py | nanzggits/sdctf-2021 | fcddb506f5f798a264fc17e5588c0f5b7d5fbb2c | [
"MIT"
] | 6 | 2021-05-17T21:04:31.000Z | 2022-01-01T23:28:18.000Z | rev/a-bowl-of-pythons/chal.py | nanzggits/sdctf-2021 | fcddb506f5f798a264fc17e5588c0f5b7d5fbb2c | [
"MIT"
] | null | null | null | rev/a-bowl-of-pythons/chal.py | nanzggits/sdctf-2021 | fcddb506f5f798a264fc17e5588c0f5b7d5fbb2c | [
"MIT"
] | 1 | 2021-06-01T17:03:06.000Z | 2021-06-01T17:03:06.000Z | #! /usr/bin/env python3
FLAG = 'sdctf{a_v3ry_s3cur3_w4y_t0_st0r3_ur_FLAG}' # lol
a = lambda n: a(n-2) + a(n-1) if n >= 2 else (2 if n == 0 else 1)
b = lambda x: bytes.fromhex(x).decode()
h = eval(b('7072696e74'))
def d():
h(b('496e636f727265637420666c61672120596f75206e65656420746f206861636b206465657065722e2e2e'... | 33.129032 | 96 | 0.63778 | 150 | 1,027 | 4.266667 | 0.533333 | 0.023438 | 0.009375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3302 | 0.171373 | 1,027 | 30 | 97 | 34.233333 | 0.421857 | 0.025316 | 0 | 0.130435 | 0 | 0.043478 | 0.467467 | 0.366366 | 0 | 0 | 0.004004 | 0 | 0 | 1 | 0.086957 | false | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a1a8f246a1c7274d0537ca88423a3964895d4aae | 12,117 | py | Python | feedzero/feeds/models.py | dammitjim/badfeed | 10e0059ff4af36ea2ff67e93a8e3bbb342137af9 | [
"Apache-2.0"
] | null | null | null | feedzero/feeds/models.py | dammitjim/badfeed | 10e0059ff4af36ea2ff67e93a8e3bbb342137af9 | [
"Apache-2.0"
] | 17 | 2020-02-12T00:04:15.000Z | 2021-09-08T01:03:15.000Z | feedzero/feeds/models.py | dammitjim/badfeed | 10e0059ff4af36ea2ff67e93a8e3bbb342137af9 | [
"Apache-2.0"
] | null | null | null | import bleach
from django.conf import settings
from django.contrib.postgres.fields import ArrayField
from django.db import models
from django.db.models import Q
from django.utils.text import Truncator
from loguru import logger
import maya
from feedzero.core.models import SlugifiedMixin
class FeedManager(models.Manag... | 34.132394 | 88 | 0.659569 | 1,517 | 12,117 | 5.127884 | 0.187871 | 0.030852 | 0.041136 | 0.046278 | 0.482067 | 0.439517 | 0.368171 | 0.331019 | 0.270857 | 0.225479 | 0 | 0.006276 | 0.23727 | 12,117 | 354 | 89 | 34.228814 | 0.835425 | 0.186432 | 0 | 0.294118 | 0 | 0 | 0.037462 | 0 | 0 | 0 | 0 | 0.019774 | 0 | 1 | 0.140271 | false | 0 | 0.040724 | 0.00905 | 0.597285 | 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 | 0 | 0 | 1 | 0 | 0 | 2 |
a1c5672dafb67e8079f700fd4d90777f8b803937 | 724 | py | Python | models/reservoir/delay_buffer.py | fresh-professor/DiverseCont | 4be198f5531a7efe2cb91b17066322a38d219127 | [
"MIT"
] | 21 | 2021-09-08T14:37:06.000Z | 2022-02-28T02:58:35.000Z | models/reservoir/delay_buffer.py | fresh-professor/DiverseCont | 4be198f5531a7efe2cb91b17066322a38d219127 | [
"MIT"
] | 1 | 2021-12-28T09:17:38.000Z | 2021-12-28T11:49:30.000Z | models/reservoir/delay_buffer.py | fresh-professor/DiverseCont | 4be198f5531a7efe2cb91b17066322a38d219127 | [
"MIT"
] | null | null | null | from .prs import PRS, SubStream_Container
import random
import torch
import numpy as np
from collections import deque
class DelayBuffer(PRS):
"""
Delayed Buffer for new data samples that need to be learned in chunks.
and used to made the decision later whether to enter the buffer or not.
"""
def r... | 30.166667 | 75 | 0.671271 | 99 | 724 | 4.787879 | 0.545455 | 0.105485 | 0.088608 | 0.126582 | 0.265823 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0.001812 | 0.237569 | 724 | 23 | 76 | 31.478261 | 0.856884 | 0.220994 | 0 | 0 | 0 | 0 | 0.062264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.333333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
a1e1eee7eefa81acc6785b658b4b82e467839f63 | 894 | py | Python | widget/build_css_source.py | vesellov/callfeed.net | 88a12f244dac1bcc170c3028d86e53618b33aa6a | [
"MIT"
] | 1 | 2015-11-17T08:44:23.000Z | 2015-11-17T08:44:23.000Z | widget/build_css_source.py | vesellov/callfeed.net | 88a12f244dac1bcc170c3028d86e53618b33aa6a | [
"MIT"
] | null | null | null | widget/build_css_source.py | vesellov/callfeed.net | 88a12f244dac1bcc170c3028d86e53618b33aa6a | [
"MIT"
] | null | null | null | import sys
sys.stdout.write('function CallFeedBuildCSS(settings) {\n')
sys.stdout.write(' var o = "";\n')
sys.stdout.write(' o+="<style type="text/css">\\n";\n')
for line in open(sys.argv[1]).read().splitlines():
l = line.rstrip()
if not l:
continue
l = l.replace('"', '... | 49.666667 | 145 | 0.568233 | 133 | 894 | 3.789474 | 0.368421 | 0.178571 | 0.277778 | 0.208333 | 0.22619 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 0.007979 | 0.158837 | 894 | 17 | 146 | 52.588235 | 0.662234 | 0 | 0 | 0 | 0 | 0.117647 | 0.548461 | 0.327252 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a1ecb3aa6425b293c257df4dad7deef4c766b7a9 | 2,682 | py | Python | download/gnosis/xml/validity/dissertation.py | DavidMertz/gnosis-web | df5ab0d470a02ed6c51c971f2b40f1dcdc7d7350 | [
"CC0-1.0"
] | 3 | 2018-09-29T14:14:28.000Z | 2022-01-05T03:45:50.000Z | library/CanFestival/objdictgen/gnosis/xml/validity/dissertation.py | Lembed/STM32duino-gcc-Projects | 67829e9cd1388601daf9815b0561da557e0b9f82 | [
"MIT"
] | 1 | 2017-06-17T08:15:28.000Z | 2017-06-17T08:15:28.000Z | library/CanFestival/objdictgen/gnosis/xml/validity/dissertation.py | Lembed/STM32duino-gcc-Projects | 67829e9cd1388601daf9815b0561da557e0b9f82 | [
"MIT"
] | 1 | 2019-12-08T15:11:55.000Z | 2019-12-08T15:11:55.000Z | """A dissertation DTD that uses all basic constraints
<!ELEMENT dissertation (dedication?, chapter+, appendix*)>
<!ELEMENT dedication (#PCDATA)>
<!ELEMENT chapter (title, paragraph+)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT paragraph (#PCDATA | figure | table)+>
<!ELEMENT figure EMPTY>
<!ELEMENT table EMPTY>
<!ELEMENT ap... | 34.831169 | 83 | 0.624161 | 282 | 2,682 | 5.5 | 0.382979 | 0.019342 | 0.029014 | 0.027079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004471 | 0.249441 | 2,682 | 76 | 84 | 35.289474 | 0.766021 | 0.017897 | 0 | 0.041667 | 0 | 0 | 0.243756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.104167 | 0.041667 | null | null | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
b8080becde645e1f55df063274f29e322bf89979 | 7,141 | py | Python | ASL_CNN.py | TarekIdrees/ASL-using-CNN | 8da50dedb0e637e61936763a246fd548a924f8f9 | [
"MIT"
] | null | null | null | ASL_CNN.py | TarekIdrees/ASL-using-CNN | 8da50dedb0e637e61936763a246fd548a924f8f9 | [
"MIT"
] | null | null | null | ASL_CNN.py | TarekIdrees/ASL-using-CNN | 8da50dedb0e637e61936763a246fd548a924f8f9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""ASL_CNN.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1M5JA5_OV0N_biYsciMnmlUvrAor8Yx_u
**Set up colab for ASL data from kaggel**
"""
! pip install kaggle
! mkdir ~/.kaggle
! cp kaggle.json ~/.kaggle/
! chmod 600 ... | 31.047826 | 113 | 0.663072 | 1,013 | 7,141 | 4.505429 | 0.237907 | 0.047327 | 0.027607 | 0.038563 | 0.513146 | 0.428352 | 0.371166 | 0.365469 | 0.319018 | 0.28922 | 0 | 0.03901 | 0.185128 | 7,141 | 230 | 114 | 31.047826 | 0.745317 | 0.087103 | 0 | 0.248 | 1 | 0 | 0.099825 | 0.023776 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.104 | null | null | 0.12 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b81dd2319a6cc5eb25c9c9df1159e0f17bf4b993 | 2,375 | py | Python | settings.py | airalcorn2/baller2vec | bfe0cc4d7988bd8104d7ef3ecd22867b275310ec | [
"MIT"
] | 54 | 2021-02-08T02:20:58.000Z | 2021-08-10T05:14:51.000Z | settings.py | airalcorn2/baller2vec | bfe0cc4d7988bd8104d7ef3ecd22867b275310ec | [
"MIT"
] | 4 | 2021-03-18T14:56:01.000Z | 2021-09-28T21:18:48.000Z | settings.py | airalcorn2/baller2vec | bfe0cc4d7988bd8104d7ef3ecd22867b275310ec | [
"MIT"
] | 4 | 2021-02-11T23:10:18.000Z | 2021-08-15T06:30:29.000Z | import os
NORMALIZATION_COEF = 7
PLAYER_CIRCLE_SIZE = 12 / NORMALIZATION_COEF
INTERVAL = 10
DIFF = 6
X_MIN = 0
X_MAX = 100
Y_MIN = 0
Y_MAX = 50
COL_WIDTH = 0.3
SCALE = 1.65
FONTSIZE = 6
X_CENTER = X_MAX / 2 - DIFF / 1.5 + 0.10
Y_CENTER = Y_MAX - DIFF / 1.5 - 0.35
BALL_COLOR = "#ff8c00"
(COURT_WIDTH, COURT_LENGTH) = (5... | 43.181818 | 60 | 0.618526 | 246 | 2,375 | 5.861789 | 0.520325 | 0.017337 | 0.041609 | 0.009709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231188 | 0.149474 | 2,375 | 54 | 61 | 43.981481 | 0.482673 | 0 | 0 | 0 | 0 | 0 | 0.366737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
6296a98cabc6d28ed2db0ea0465b5a22848152b4 | 96 | py | Python | Python/loops/evens_between_numbers.py | mdoprog/Warehouse | 4afb88a32fc20b613d008b86371d505ddeb07e5a | [
"MIT"
] | null | null | null | Python/loops/evens_between_numbers.py | mdoprog/Warehouse | 4afb88a32fc20b613d008b86371d505ddeb07e5a | [
"MIT"
] | null | null | null | Python/loops/evens_between_numbers.py | mdoprog/Warehouse | 4afb88a32fc20b613d008b86371d505ddeb07e5a | [
"MIT"
] | null | null | null | # coding=UTF8
# Processamento
for num in range(100, 201):
if num % 2 > 0:
print(num) | 19.2 | 27 | 0.59375 | 15 | 96 | 3.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.28125 | 96 | 5 | 28 | 19.2 | 0.695652 | 0.260417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
629f932a6d981c3010f0dee6bcf0fd64610a97d5 | 882 | py | Python | gpytorch/likelihoods/gaussian_likelihood.py | ediphy-dwild/gpytorch | 559c78a6446237ed7cc8e1cc7cf4ed8bf31a3c8a | [
"MIT"
] | null | null | null | gpytorch/likelihoods/gaussian_likelihood.py | ediphy-dwild/gpytorch | 559c78a6446237ed7cc8e1cc7cf4ed8bf31a3c8a | [
"MIT"
] | null | null | null | gpytorch/likelihoods/gaussian_likelihood.py | ediphy-dwild/gpytorch | 559c78a6446237ed7cc8e1cc7cf4ed8bf31a3c8a | [
"MIT"
] | null | null | null | import torch
import math
import gpytorch
from torch import nn
from gpytorch.random_variables import GaussianRandomVariable
from .likelihood import Likelihood
class GaussianLikelihood(Likelihood):
def __init__(self, log_noise_bounds=(-1000, 1000)):
super(GaussianLikelihood, self).__init__()
self.re... | 36.75 | 99 | 0.696145 | 110 | 882 | 5.4 | 0.4 | 0.080808 | 0.080808 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025035 | 0.184807 | 882 | 23 | 100 | 38.347826 | 0.801113 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.157895 | false | 0 | 0.315789 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
62ae8c572c87d215379e1cef4a4816e9aad1307f | 201 | py | Python | floor.py | DReichLab/adna-workflow | 07c6da8e64234decb7373fe7109e09395a45cb58 | [
"BSD-3-Clause"
] | 9 | 2019-05-28T11:16:14.000Z | 2022-02-24T01:22:47.000Z | floor.py | DReichLab/adna-workflow | 07c6da8e64234decb7373fe7109e09395a45cb58 | [
"BSD-3-Clause"
] | 3 | 2020-01-09T20:12:02.000Z | 2020-11-17T14:50:28.000Z | floor.py | DReichLab/adna-workflow | 07c6da8e64234decb7373fe7109e09395a45cb58 | [
"BSD-3-Clause"
] | 1 | 2019-08-04T12:46:01.000Z | 2019-08-04T12:46:01.000Z | # implement a simple floor function because WDL does not have one
import fileinput
import math
for line in fileinput.input():
value = float(line)
intvalue = int(math.floor(value))
print(intvalue)
| 20.1 | 65 | 0.761194 | 30 | 201 | 5.1 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 201 | 9 | 66 | 22.333333 | 0.905325 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
62bca10916546c4eeb512a88e27e4211bfdd73ed | 2,486 | py | Python | src/compas/numerical/__init__.py | mpopescu/compas | 55f259607deea501f862cbaea79bd97d7e56ead6 | [
"MIT"
] | null | null | null | src/compas/numerical/__init__.py | mpopescu/compas | 55f259607deea501f862cbaea79bd97d7e56ead6 | [
"MIT"
] | null | null | null | src/compas/numerical/__init__.py | mpopescu/compas | 55f259607deea501f862cbaea79bd97d7e56ead6 | [
"MIT"
] | null | null | null | """
********************************************************************************
numerical
********************************************************************************
.. currentmodule:: compas.numerical
.. note::
For many functions, multiple implementations are available using various backends.
If n... | 19.730159 | 89 | 0.633548 | 279 | 2,486 | 5.455197 | 0.451613 | 0.078844 | 0.110381 | 0.141919 | 0.159001 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038442 | 0.225664 | 2,486 | 125 | 90 | 19.888 | 0.752208 | 0.78922 | 0 | 0 | 0 | 0 | 0.001988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
62c51c5bfdbd12c0612c0632359c03e78dc81bc4 | 7,977 | py | Python | logicpy/data.py | evertheylen/logicpy | 18dac5b2b659d6598692a165b39dccbf413781bc | [
"MIT"
] | 11 | 2017-12-12T06:28:07.000Z | 2021-09-18T17:44:09.000Z | logicpy/data.py | evertheylen/logicpy | 18dac5b2b659d6598692a165b39dccbf413781bc | [
"MIT"
] | null | null | null | logicpy/data.py | evertheylen/logicpy | 18dac5b2b659d6598692a165b39dccbf413781bc | [
"MIT"
] | null | null | null |
import operator
# Free functions to enable working with 'foreign' constants
# ---------------------------------------------------------
def with_scope(obj, scope):
if hasattr(obj, 'with_scope'):
return obj.with_scope(scope)
else:
return obj
def has_occurence(obj, var):
if hasattr(obj, ... | 28.3879 | 133 | 0.600351 | 939 | 7,977 | 4.815761 | 0.15442 | 0.056612 | 0.034056 | 0.042459 | 0.496019 | 0.460195 | 0.377488 | 0.290801 | 0.26736 | 0.259177 | 0 | 0.00085 | 0.262505 | 7,977 | 280 | 134 | 28.489286 | 0.767806 | 0.065062 | 0 | 0.331522 | 0 | 0 | 0.050884 | 0.018881 | 0 | 0 | 0 | 0 | 0.005435 | 1 | 0.293478 | false | 0.016304 | 0.048913 | 0.130435 | 0.728261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
62c5dbb44b9b9f981e0b8575a57ba4952991600d | 1,077 | py | Python | anonramblings/ramblings/migrations/0012_auto_20200517_1241.py | emre/anonramblings | d759529ced9e6431ab133b1a5a156d0791499948 | [
"MIT"
] | 2 | 2021-05-05T13:57:16.000Z | 2022-01-31T23:27:01.000Z | anonramblings/ramblings/migrations/0012_auto_20200517_1241.py | emre/anonramblings | d759529ced9e6431ab133b1a5a156d0791499948 | [
"MIT"
] | 8 | 2021-03-19T03:25:40.000Z | 2022-03-12T00:29:41.000Z | anonramblings/ramblings/migrations/0012_auto_20200517_1241.py | emre/anonramblings | d759529ced9e6431ab133b1a5a156d0791499948 | [
"MIT"
] | 1 | 2021-07-28T20:42:51.000Z | 2021-07-28T20:42:51.000Z | # Generated by Django 3.0.6 on 2020-05-17 12:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ramblings', '0011_auto_20200517_1237'),
]
operations = [
migrations.AddField(
model_name='post',
name='level',
... | 28.342105 | 88 | 0.57753 | 101 | 1,077 | 6.029703 | 0.435644 | 0.118227 | 0.151067 | 0.17734 | 0.651888 | 0.651888 | 0.594417 | 0.527094 | 0.527094 | 0.527094 | 0 | 0.047425 | 0.314763 | 1,077 | 37 | 89 | 29.108108 | 0.777778 | 0.041783 | 0 | 0.612903 | 1 | 0 | 0.065049 | 0.02233 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
62c8f892a6474e43a8bfb1912ef700fbbac1702c | 669 | py | Python | basic_program/basic_generater.py | JiaLei123/PythonCamp_PY3 | f8f9df0b33a6942bf11330c097b0f71b5524d666 | [
"Apache-2.0"
] | null | null | null | basic_program/basic_generater.py | JiaLei123/PythonCamp_PY3 | f8f9df0b33a6942bf11330c097b0f71b5524d666 | [
"Apache-2.0"
] | null | null | null | basic_program/basic_generater.py | JiaLei123/PythonCamp_PY3 | f8f9df0b33a6942bf11330c097b0f71b5524d666 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# coding=utf-8
class BasicGenerater(object):
def __init__(self):
self.first_name = 'Jack'
self.last_name = 'Freeman'
def my_name(self):
print('.'.join((self.first_name, self.last_name)))
def __del__(self):
print("call del")
class AdvaceGenerator(BasicGe... | 20.90625 | 58 | 0.639761 | 75 | 669 | 5.173333 | 0.413333 | 0.103093 | 0.134021 | 0.087629 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007737 | 0.227205 | 669 | 31 | 59 | 21.580645 | 0.742747 | 0.043348 | 0 | 0.15 | 1 | 0 | 0.059561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.4 | 0.15 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
62d5f3efd2e5d9074a34ad0927852fa0d231b834 | 1,332 | py | Python | crypto.py | TomazSpehar/crypto-portal | f7a819ebec16354a391e1fe826b753838fa31c94 | [
"MIT"
] | null | null | null | crypto.py | TomazSpehar/crypto-portal | f7a819ebec16354a391e1fe826b753838fa31c94 | [
"MIT"
] | null | null | null | crypto.py | TomazSpehar/crypto-portal | f7a819ebec16354a391e1fe826b753838fa31c94 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from flask import *
from auth import sesskey, debug
from githook import app as githook_app
from substitution import app as substitution_app
from steganography import app as steganography_app
from visual import app as visual_app
from alphabet import app as alphabet_app
from time... | 34.153846 | 72 | 0.78003 | 191 | 1,332 | 5.193717 | 0.314136 | 0.072581 | 0.08871 | 0.042339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010195 | 0.116366 | 1,332 | 38 | 73 | 35.052632 | 0.832625 | 0.074324 | 0 | 0 | 0 | 0 | 0.118893 | 0.020358 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0.064516 | 0.354839 | 0.064516 | 0.483871 | 0.258065 | 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 | 0 | 0 | 0 | 2 |
62f1c2980bd8f57b3c54d259aeb4989247b0f169 | 2,195 | py | Python | conkit/io/jones.py | mesdaghi/conkit | 01468761352bd3ac5078e5e9fef6f73c8c49036e | [
"BSD-3-Clause"
] | null | null | null | conkit/io/jones.py | mesdaghi/conkit | 01468761352bd3ac5078e5e9fef6f73c8c49036e | [
"BSD-3-Clause"
] | null | null | null | conkit/io/jones.py | mesdaghi/conkit | 01468761352bd3ac5078e5e9fef6f73c8c49036e | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License
#
# Copyright (c) 2016-19, University of Liverpool
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notic... | 38.508772 | 80 | 0.766287 | 315 | 2,195 | 5.301587 | 0.552381 | 0.021557 | 0.020359 | 0.027545 | 0.11018 | 0.081437 | 0.081437 | 0.081437 | 0.081437 | 0.081437 | 0 | 0.012202 | 0.178588 | 2,195 | 56 | 81 | 39.196429 | 0.914032 | 0.845558 | 0 | 0 | 0 | 0 | 0.194853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.25 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
62fbbc255ba7434f66f2f1b809c6ed64d853b913 | 1,325 | py | Python | flavio/physics/bdecays/test_bvgamma.py | Felicia56/flavio | ea735bd8febbb961d249eddf338a4960c1fbee69 | [
"MIT"
] | 61 | 2016-03-09T16:19:39.000Z | 2022-03-30T00:55:51.000Z | flavio/physics/bdecays/test_bvgamma.py | Felicia56/flavio | ea735bd8febbb961d249eddf338a4960c1fbee69 | [
"MIT"
] | 167 | 2016-03-15T15:25:57.000Z | 2022-02-27T22:19:22.000Z | flavio/physics/bdecays/test_bvgamma.py | Felicia56/flavio | ea735bd8febbb961d249eddf338a4960c1fbee69 | [
"MIT"
] | 57 | 2016-03-15T14:24:23.000Z | 2022-01-14T01:00:03.000Z | import unittest
import numpy as np
from .bvgamma import *
from flavio.physics.bdecays.formfactors.b_v import bsz_parameters
from flavio.physics.eft import WilsonCoefficients
from flavio.physics.bdecays.wilsoncoefficients import wctot_dict
from flavio.parameters import default_parameters
import flavio
wc = WilsonCoeff... | 40.151515 | 89 | 0.710943 | 166 | 1,325 | 5.572289 | 0.36747 | 0.138378 | 0.172973 | 0.19027 | 0.549189 | 0.464865 | 0.4 | 0.229189 | 0.125405 | 0.125405 | 0 | 0.020147 | 0.175849 | 1,325 | 32 | 90 | 41.40625 | 0.826923 | 0.077736 | 0 | 0.24 | 0 | 0 | 0.101068 | 0.020542 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.08 | false | 0 | 0.32 | 0 | 0.44 | 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 | 0 | 0 | 0 | 2 |
62fc102e6acc6d8be193a57aea5e08606b86609e | 359 | py | Python | strava_gsheet/core/models/user.py | neozenith/strava-gsheet-python | cce24721d6dcae69638c99261308f3d76512a087 | [
"MIT"
] | null | null | null | strava_gsheet/core/models/user.py | neozenith/strava-gsheet-python | cce24721d6dcae69638c99261308f3d76512a087 | [
"MIT"
] | null | null | null | strava_gsheet/core/models/user.py | neozenith/strava-gsheet-python | cce24721d6dcae69638c99261308f3d76512a087 | [
"MIT"
] | null | null | null | # Standard Library
from typing import Any, Dict, Optional
# Third Party Libraries
from pydantic import BaseModel
class User(BaseModel):
username: str
email: Optional[str] = None
full_name: Optional[str] = None
disabled: Optional[bool] = None
class UserInDB(User):
hashed_password: str
stava_... | 19.944444 | 48 | 0.715877 | 46 | 359 | 5.521739 | 0.608696 | 0.086614 | 0.11811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197772 | 359 | 17 | 49 | 21.117647 | 0.881944 | 0.10585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
62ff1922df1577de89f6ac346387acb59877c7c1 | 111 | py | Python | instance/local.py | sreecodeslayer/redis-mongo-realtime | a3e6d16ad83a1c16f8435e26d66a003ba3abc1c2 | [
"MIT"
] | null | null | null | instance/local.py | sreecodeslayer/redis-mongo-realtime | a3e6d16ad83a1c16f8435e26d66a003ba3abc1c2 | [
"MIT"
] | 1 | 2019-06-10T15:32:25.000Z | 2019-06-10T15:32:25.000Z | instance/local.py | sreecodeslayer/redis-mongo-realtime | a3e6d16ad83a1c16f8435e26d66a003ba3abc1c2 | [
"MIT"
] | null | null | null | DEBUG = True
TESTING = False
MONGODB_SETTINGS = [{
'host':'localhost',
'port':27017,
'db':'REALTIME_APP'
}] | 13.875 | 21 | 0.657658 | 13 | 111 | 5.461538 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.144144 | 111 | 8 | 22 | 13.875 | 0.694737 | 0 | 0 | 0 | 0 | 0 | 0.276786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
1a0f3493e0212452c327a9de42836571ba8aa75f | 75,565 | py | Python | pySEP/gui.py | mrcsantos1/pySEP | b5491a7c7d947e135c383ec29c4294fc564838fd | [
"Apache-2.0"
] | 2 | 2021-02-15T14:29:04.000Z | 2021-02-22T21:33:42.000Z | pySEP/gui.py | mrcsantos1/pySEP | b5491a7c7d947e135c383ec29c4294fc564838fd | [
"Apache-2.0"
] | null | null | null | pySEP/gui.py | mrcsantos1/pySEP | b5491a7c7d947e135c383ec29c4294fc564838fd | [
"Apache-2.0"
] | 1 | 2022-03-26T00:55:53.000Z | 2022-03-26T00:55:53.000Z | import tkinter as tk
from matplotlib.figure import Figure
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk
<<<<<<< HEAD
=======
import networkx as nx
<<<<<<< HEAD
from PIL import Image, ImageTk
>>>>>>> 61cee31 (logo adicionada)
=======
>>>>>>> c68287f (cálculo fluxo de potência)
# ... | 34.646951 | 128 | 0.538437 | 8,798 | 75,565 | 4.388952 | 0.053876 | 0.027348 | 0.052209 | 0.024602 | 0.737686 | 0.706169 | 0.652665 | 0.614026 | 0.582742 | 0.518517 | 0 | 0.022681 | 0.326672 | 75,565 | 2,180 | 129 | 34.662844 | 0.736164 | 0 | 0 | 0.493099 | 0 | 0 | 0.112264 | 0.006749 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.000627 | 0.005646 | null | null | 0.025721 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
1a0f3e76c0043b76bf49d5de6c62e7758b71b1b8 | 528 | py | Python | Week-11/Week-11-Challenge-1.py | abusamrah2005/Python | b601a9daf8a5245bbcc1466d629adda43ed7c6ca | [
"Unlicense"
] | 4 | 2019-09-21T22:47:53.000Z | 2020-04-17T03:32:21.000Z | Week-11/Week-11-Challenge-1.py | abusamrah2005/Python | b601a9daf8a5245bbcc1466d629adda43ed7c6ca | [
"Unlicense"
] | null | null | null | Week-11/Week-11-Challenge-1.py | abusamrah2005/Python | b601a9daf8a5245bbcc1466d629adda43ed7c6ca | [
"Unlicense"
] | 2 | 2019-09-21T22:47:59.000Z | 2020-04-17T03:32:14.000Z | # Week-11 Challenge 1 And Extra Challenge
x = open("Week-11/Week-11-Challenge.txt", "r")
print(x.read())
x.close()
print("\n-*-*-*-*-*-*")
print("-*-*-*-*-*-*")
print("-*-*-*-*-*-*\n")
y = open("Week-11/Week-11-Challenge.txt", "a")
y.write("\nThe best way we learn anything is by practice and exercise questions ")
y =... | 24 | 82 | 0.5625 | 80 | 528 | 3.7125 | 0.3875 | 0.161616 | 0.20202 | 0.141414 | 0.478114 | 0.478114 | 0.329966 | 0.329966 | 0.228956 | 0 | 0 | 0.035639 | 0.096591 | 528 | 22 | 83 | 24 | 0.587002 | 0.073864 | 0 | 0.352941 | 0 | 0 | 0.536885 | 0.178279 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.529412 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
1a11664b96936a2387c4d2fccd3276105959d63c | 1,323 | py | Python | backup/guitemplates/creationchecksdialog.py | calebtrahan/KujiIn_Python | 0599d36993fa1d5988a4cf3206a12fdbe63781d8 | [
"MIT"
] | null | null | null | backup/guitemplates/creationchecksdialog.py | calebtrahan/KujiIn_Python | 0599d36993fa1d5988a4cf3206a12fdbe63781d8 | [
"MIT"
] | null | null | null | backup/guitemplates/creationchecksdialog.py | calebtrahan/KujiIn_Python | 0599d36993fa1d5988a4cf3206a12fdbe63781d8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'creationchecksdialog.ui'
#
# Created: Mon Jan 12 13:36:57 2015
# by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
... | 31.5 | 79 | 0.699169 | 154 | 1,323 | 5.935065 | 0.532468 | 0.049234 | 0.087527 | 0.122538 | 0.179431 | 0.179431 | 0.179431 | 0.179431 | 0.179431 | 0.179431 | 0 | 0.037418 | 0.191988 | 1,323 | 41 | 80 | 32.268293 | 0.817587 | 0.170068 | 0 | 0.230769 | 1 | 0 | 0.044077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0 | 0.038462 | 0.115385 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
1a13ce3f142e09f7a465bff4be3b55b9a8b526b8 | 9,781 | py | Python | finter/helpers.py | lwerdna/finter | e954bd505c85a5d48ab7026bce08ad458bdd57d4 | [
"Unlicense"
] | 1 | 2019-08-22T02:20:44.000Z | 2019-08-22T02:20:44.000Z | finter/helpers.py | lwerdna/finter | e954bd505c85a5d48ab7026bce08ad458bdd57d4 | [
"Unlicense"
] | 1 | 2020-06-16T19:00:29.000Z | 2020-06-16T19:00:29.000Z | finter/helpers.py | lwerdna/finter | e954bd505c85a5d48ab7026bce08ad458bdd57d4 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
import sys
import binascii
from struct import pack, unpack
###############################################################################
# color crap
###############################################################################
palette = [0xbccbde, 0xc2dde6, 0xe6e9f0, 0x431c5d, 0xe05915, 0x... | 32.280528 | 89 | 0.559554 | 1,209 | 9,781 | 4.507858 | 0.33995 | 0.01211 | 0.007156 | 0.026422 | 0.290459 | 0.269725 | 0.246789 | 0.23211 | 0.213028 | 0.191009 | 0 | 0.206272 | 0.204478 | 9,781 | 302 | 90 | 32.387417 | 0.494152 | 0.014416 | 0 | 0.318966 | 0 | 0 | 0.030523 | 0 | 0 | 0 | 0.244414 | 0 | 0.00431 | 1 | 0.137931 | false | 0 | 0.012931 | 0.008621 | 0.275862 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
1a1d3d9e95c93601968362551c5458c497c9c24f | 111 | py | Python | images/backer/src/lib/django_webpack/__init__.py | elston/djangit | 1d9ec2e287447fa8926a6fc440469771120df6a1 | [
"MIT"
] | null | null | null | images/backer/src/lib/django_webpack/__init__.py | elston/djangit | 1d9ec2e287447fa8926a6fc440469771120df6a1 | [
"MIT"
] | null | null | null | images/backer/src/lib/django_webpack/__init__.py | elston/djangit | 1d9ec2e287447fa8926a6fc440469771120df6a1 | [
"MIT"
] | null | null | null | __author__ = 'Den Elston'
__version__ = '0.0.1'
default_app_config = 'django_webpack.apps.DjangoWebpackConfig' | 27.75 | 62 | 0.792793 | 14 | 111 | 5.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.09009 | 111 | 4 | 62 | 27.75 | 0.732673 | 0 | 0 | 0 | 0 | 0 | 0.482143 | 0.348214 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a7dee417ff698d00a4fc5bfec002a942ae7c6887 | 614 | py | Python | setup.py | michamos/filltex | e23cf57d3686742f5e1fa078aa03c965bf79984d | [
"MIT"
] | null | null | null | setup.py | michamos/filltex | e23cf57d3686742f5e1fa078aa03c965bf79984d | [
"MIT"
] | null | null | null | setup.py | michamos/filltex | e23cf57d3686742f5e1fa078aa03c965bf79984d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from distutils.core import setup
setup(name = 'filltex',
version = '1.3.1',
description = 'Automatic queries to ADS and InSPIRE databases to fill LATEX bibliography',
long_description="See: `github.com/dgerosa/filltex <https://github.com/dgerosa/filltex>`_." ,
author = 'D... | 34.111111 | 99 | 0.656352 | 74 | 614 | 5.351351 | 0.716216 | 0.068182 | 0.121212 | 0.174242 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006148 | 0.205212 | 614 | 17 | 100 | 36.117647 | 0.805328 | 0.032573 | 0 | 0 | 0 | 0.071429 | 0.468803 | 0.045531 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.071429 | 0 | 0.071429 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
a7f196132b6b6c3fc3e5320ba4d3a427e87ce6e4 | 9,730 | py | Python | src/portals/admins/ai_utils.py | JhonyDev/AudioToText | fe42904cd404580de65bfd66fd2168c03b9af296 | [
"MIT"
] | null | null | null | src/portals/admins/ai_utils.py | JhonyDev/AudioToText | fe42904cd404580de65bfd66fd2168c03b9af296 | [
"MIT"
] | null | null | null | src/portals/admins/ai_utils.py | JhonyDev/AudioToText | fe42904cd404580de65bfd66fd2168c03b9af296 | [
"MIT"
] | null | null | null | # import os
#
# from keras.models import load_model
# # from cocognite import settings
# import numpy as np
# import librosa
#
# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
import random
DATASET = """
ability
able
about
above
accept
according
account
across
act
action
activity
actually
add
a... | 8.829401 | 107 | 0.795683 | 1,446 | 9,730 | 5.321577 | 0.776625 | 0.007018 | 0.003899 | 0.005458 | 0.023652 | 0.014295 | 0 | 0 | 0 | 0 | 0 | 0.004111 | 0.174923 | 9,730 | 1,101 | 108 | 8.837421 | 0.95441 | 0.091881 | 0 | 0.007533 | 0 | 0 | 0.76552 | 0.015322 | 0 | 1 | 0 | 0 | 0 | 1 | 0.002825 | false | 0.001883 | 0.014124 | 0.000942 | 0.021657 | 0.003766 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a7f6308b343a30b77a7c1607e5060792c8d9cb9d | 1,990 | py | Python | shop/models.py | ihfazhillah/myshop-django | ccfc079da073f2872a3aac0f632f581025bb4c2c | [
"MIT"
] | null | null | null | shop/models.py | ihfazhillah/myshop-django | ccfc079da073f2872a3aac0f632f581025bb4c2c | [
"MIT"
] | 9 | 2020-06-05T19:01:16.000Z | 2022-03-11T23:29:05.000Z | shop/models.py | ihfazhillah/myshop-django | ccfc079da073f2872a3aac0f632f581025bb4c2c | [
"MIT"
] | null | null | null | from django.db import models
from django.core.urlresolvers import reverse
from parler.models import TranslatableModel, TranslatedFields
from parler.managers import TranslatableQuerySet, TranslatableManager
# Create your models here.
class Category(TranslatableModel):
translations = TranslatedFields(
name... | 30.151515 | 73 | 0.644724 | 205 | 1,990 | 6.092683 | 0.42439 | 0.040032 | 0.038431 | 0.044836 | 0.226581 | 0.226581 | 0.208167 | 0.208167 | 0.177742 | 0.110488 | 0 | 0.010135 | 0.256281 | 1,990 | 65 | 74 | 30.615385 | 0.833784 | 0.040201 | 0 | 0.266667 | 0 | 0 | 0.051969 | 0.015223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.022222 | 0.088889 | 0.111111 | 0.644444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
a7ff6c24c9fd205cc6ec40856abdba9560bd1fd1 | 297 | py | Python | pokedex/pokemon/serializers.py | arpradhan/django-pokedex | 77e154bc0b38e6cf9a75dc3cafd0605ea0f0bb8e | [
"MIT"
] | null | null | null | pokedex/pokemon/serializers.py | arpradhan/django-pokedex | 77e154bc0b38e6cf9a75dc3cafd0605ea0f0bb8e | [
"MIT"
] | null | null | null | pokedex/pokemon/serializers.py | arpradhan/django-pokedex | 77e154bc0b38e6cf9a75dc3cafd0605ea0f0bb8e | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Pokemon
class PokemonSerializer(serializers.ModelSerializer):
class Meta:
model = Pokemon
fields = ('id', 'identifier', 'species_id', 'height',
'weight', 'base_experience', 'order', 'is_default',)
| 27 | 70 | 0.6633 | 29 | 297 | 6.655172 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 297 | 10 | 71 | 29.7 | 0.835498 | 0 | 0 | 0 | 0 | 0 | 0.215488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
c5116971e8f23e35ce418f438a83710d53732754 | 1,086 | py | Python | Lib/site-packages/deriva/qt/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | null | null | null | Lib/site-packages/deriva/qt/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | 20 | 2021-05-03T18:02:23.000Z | 2022-03-12T12:01:04.000Z | Lib/site-packages/deriva/qt/__init__.py | fochoao/cpython | 3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9 | [
"bzip2-1.0.6",
"0BSD"
] | null | null | null | __version__ = "1.5.0"
from deriva.qt.common.async_task import async_execute, Task
from deriva.qt.common.log_widget import QPlainTextEditLogger
from deriva.qt.common.table_widget import TableWidget
from deriva.qt.common.json_editor import JSONEditor
from deriva.qt.auth_agent.ui.auth_window import AuthWindow
from deriv... | 45.25 | 113 | 0.719153 | 128 | 1,086 | 5.945313 | 0.445313 | 0.105125 | 0.12615 | 0.094612 | 0.115637 | 0.060447 | 0 | 0 | 0 | 0 | 0 | 0.005643 | 0.184162 | 1,086 | 23 | 114 | 47.217391 | 0.853273 | 0 | 0 | 0 | 0 | 0 | 0.137201 | 0.064457 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
c523a6569db03d3c2b4a3ca02ec0f8ef631fb9fa | 491 | py | Python | traffic_control/migrations/0006_remove_has_rumble_strips.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 2 | 2020-11-23T22:08:58.000Z | 2022-03-02T13:13:20.000Z | traffic_control/migrations/0006_remove_has_rumble_strips.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 170 | 2019-12-31T13:37:04.000Z | 2022-03-12T14:03:35.000Z | traffic_control/migrations/0006_remove_has_rumble_strips.py | City-of-Helsinki/city-infrastructure-platform | c14513a9e54405412085f1047f91ec58b263eac0 | [
"CC0-1.0"
] | 3 | 2020-05-08T05:58:02.000Z | 2022-03-15T16:07:25.000Z | # Generated by Django 2.2.13 on 2020-06-29 08:26
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("traffic_control", "0005_trafficcontroldevicetype_type"),
]
operations = [
migrations.RemoveField(
model_name="roadmarkingplan",
... | 22.318182 | 66 | 0.613035 | 46 | 491 | 6.347826 | 0.695652 | 0.143836 | 0.178082 | 0.205479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.287169 | 491 | 21 | 67 | 23.380952 | 0.777143 | 0.093686 | 0 | 0.4 | 1 | 0 | 0.255079 | 0.076749 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
c5412ccdab7d0c125562ec2ec1a52c06d757052f | 255 | py | Python | Python/Sets/Set .difference() Operation/solution.py | oleg-cherednik/hackerrank | a76580e300ad7af248ad7c7d6839777e554cc379 | [
"Apache-2.0"
] | 7 | 2020-04-02T16:18:46.000Z | 2021-02-12T14:06:44.000Z | Python/Sets/Set .difference() Operation/solution.py | oleg-cherednik/HackerRank | a76580e300ad7af248ad7c7d6839777e554cc379 | [
"Apache-2.0"
] | null | null | null | Python/Sets/Set .difference() Operation/solution.py | oleg-cherednik/HackerRank | a76580e300ad7af248ad7c7d6839777e554cc379 | [
"Apache-2.0"
] | 11 | 2020-05-06T08:28:43.000Z | 2021-12-08T17:25:45.000Z | #!/bin/python3
if __name__ == '__main__':
n = int(input())
english = list(map(int, input().split(' ')))
b = int(input())
french = list(map(int, input().split(' ')))
students = set(english).difference(french)
print(len(students))
| 23.181818 | 48 | 0.584314 | 31 | 255 | 4.548387 | 0.612903 | 0.22695 | 0.141844 | 0.212766 | 0.283688 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.2 | 255 | 10 | 49 | 25.5 | 0.686275 | 0.05098 | 0 | 0 | 0 | 0 | 0.041494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
c567080cc8ddfadc575578236d8a17250575a51f | 97 | py | Python | file extension.py | shuraj123/radius-program | 1c5b89245f27e99adac916820b3dbb779b8d01c6 | [
"MIT"
] | 2 | 2021-05-28T16:46:35.000Z | 2021-05-28T16:46:37.000Z | file extension.py | shuraj123/radius-program | 1c5b89245f27e99adac916820b3dbb779b8d01c6 | [
"MIT"
] | null | null | null | file extension.py | shuraj123/radius-program | 1c5b89245f27e99adac916820b3dbb779b8d01c6 | [
"MIT"
] | null | null | null | file=input("enter the file name:")
t = file.split(".")
print("extension of file is:" + t[-1])
| 24.25 | 39 | 0.608247 | 16 | 97 | 3.6875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.164948 | 97 | 3 | 40 | 32.333333 | 0.716049 | 0 | 0 | 0 | 0 | 0 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
c56f140898b143e2b7867b6f096e8318b8e34f68 | 630 | py | Python | Pacote download/Exercicios/Operadores aritimeticos.py | Henrique-GM/Exercicios_de_Python | 8cbbcaa31fc19e467576ab21ba3458d67052c40b | [
"Unlicense"
] | null | null | null | Pacote download/Exercicios/Operadores aritimeticos.py | Henrique-GM/Exercicios_de_Python | 8cbbcaa31fc19e467576ab21ba3458d67052c40b | [
"Unlicense"
] | null | null | null | Pacote download/Exercicios/Operadores aritimeticos.py | Henrique-GM/Exercicios_de_Python | 8cbbcaa31fc19e467576ab21ba3458d67052c40b | [
"Unlicense"
] | null | null | null | nome = input('Qual é o seu nome: ')
print('Prazer em te conhecer {:20}!'.format(nome))
print('Prazer em te conhecer {:>20}!'.format(nome))
print('Prazer em te conhecer {:<20}!'.format(nome))
print('Prazer em te conhecer {:=^20}!'.format(nome))
n1 = float(input('Digite o primeiro número '))
n2 = float(input('Digite o s... | 35 | 110 | 0.665079 | 94 | 630 | 4.457447 | 0.351064 | 0.047733 | 0.143198 | 0.162291 | 0.343675 | 0.343675 | 0.343675 | 0.343675 | 0.343675 | 0.343675 | 0 | 0.046211 | 0.14127 | 630 | 17 | 111 | 37.058824 | 0.728281 | 0 | 0 | 0 | 0 | 0 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
c570d73800bed76483b4d40b787e85063112930c | 8,401 | py | Python | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/customtopologynode_8129a1649705353aa11e5c05b0e43d74.py | Vibaswan/ixnetwork_restpy | 239fedc7050890746cbabd71ea1e91c68d9e5cad | [
"MIT"
] | null | null | null | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/customtopologynode_8129a1649705353aa11e5c05b0e43d74.py | Vibaswan/ixnetwork_restpy | 239fedc7050890746cbabd71ea1e91c68d9e5cad | [
"MIT"
] | null | null | null | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/customtopologynode_8129a1649705353aa11e5c05b0e43d74.py | Vibaswan/ixnetwork_restpy | 239fedc7050890746cbabd71ea1e91c68d9e5cad | [
"MIT"
] | null | null | null | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# 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 limitation
# the rights to use, copy, modify,... | 36.68559 | 219 | 0.662064 | 924 | 8,401 | 5.905844 | 0.233766 | 0.045813 | 0.026388 | 0.035734 | 0.509621 | 0.458127 | 0.438336 | 0.438336 | 0.438336 | 0.334799 | 0 | 0.00794 | 0.250446 | 8,401 | 228 | 220 | 36.846491 | 0.858663 | 0.526604 | 0 | 0.102941 | 0 | 0 | 0.091725 | 0.016677 | 0 | 0 | 0 | 0 | 0 | 1 | 0.279412 | false | 0 | 0.044118 | 0 | 0.558824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
3d686f45418e374f3309295141943e757a25198c | 2,148 | py | Python | students/k3342/laboratory_works/Kataeva_Veronika/laboratory_work_1/scoreboard/board/migrations/0001_initial.py | KataevaVeronika/ITMO_ICT_WebProgramming_2020 | d8cf1d0479519bbafd34d4678e9eda2eabaeb0cf | [
"MIT"
] | null | null | null | students/k3342/laboratory_works/Kataeva_Veronika/laboratory_work_1/scoreboard/board/migrations/0001_initial.py | KataevaVeronika/ITMO_ICT_WebProgramming_2020 | d8cf1d0479519bbafd34d4678e9eda2eabaeb0cf | [
"MIT"
] | null | null | null | students/k3342/laboratory_works/Kataeva_Veronika/laboratory_work_1/scoreboard/board/migrations/0001_initial.py | KataevaVeronika/ITMO_ICT_WebProgramming_2020 | d8cf1d0479519bbafd34d4678e9eda2eabaeb0cf | [
"MIT"
] | null | null | null | # Generated by Django 3.0.4 on 2020-04-17 15:07
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Car',
fields=[
... | 39.054545 | 232 | 0.539572 | 215 | 2,148 | 5.237209 | 0.339535 | 0.119893 | 0.127886 | 0.170515 | 0.507105 | 0.466252 | 0.35968 | 0.35968 | 0.288632 | 0.21048 | 0 | 0.020819 | 0.306797 | 2,148 | 54 | 233 | 39.777778 | 0.735393 | 0.02095 | 0 | 0.382979 | 1 | 0 | 0.141361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042553 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3d78bd979c066b4eb44b32cf5ba3857952364555 | 695 | py | Python | release/stubs.min/Grasshopper/Kernel/Geometry/ConvexHull.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/Grasshopper/Kernel/Geometry/ConvexHull.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/Grasshopper/Kernel/Geometry/ConvexHull.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | # encoding: utf-8
# module Grasshopper.Kernel.Geometry.ConvexHull calls itself ConvexHull
# from Grasshopper,Version=1.0.0.20,Culture=neutral,PublicKeyToken=dda4f5ec2cd80803
# by generator 1.145
""" NamespaceTracker represent a CLS namespace. """
# no imports
# no functions
# classes
class Solver(object):
... | 24.821429 | 84 | 0.702158 | 80 | 695 | 6.025 | 0.6625 | 0.062241 | 0.06639 | 0.112033 | 0.141079 | 0.141079 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0.171223 | 695 | 27 | 85 | 25.740741 | 0.802083 | 0.71223 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
3d850d483aa3eb3ec1e7978821969fe9199270ca | 678 | py | Python | products/viewsets.py | Bilal815/ecommerce_storee | 45e61f1d865a65b4c52d74502b4fcab7ee6c1adf | [
"MIT"
] | null | null | null | products/viewsets.py | Bilal815/ecommerce_storee | 45e61f1d865a65b4c52d74502b4fcab7ee6c1adf | [
"MIT"
] | null | null | null | products/viewsets.py | Bilal815/ecommerce_storee | 45e61f1d865a65b4c52d74502b4fcab7ee6c1adf | [
"MIT"
] | null | null | null | """ Here write a code of viewsets """
from rest_framework import viewsets
from drf_haystack.viewsets import HaystackViewSet
from .models import Product
from .serializers import ProductIndexSerializer
class ProductSearchView(HaystackViewSet):
# `index_models` is an optional list of which models you would like to... | 37.666667 | 84 | 0.772861 | 87 | 678 | 5.954023 | 0.666667 | 0.063707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171091 | 678 | 17 | 85 | 39.882353 | 0.921708 | 0.485251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
3d90b2410a390563a8d6acf73ba4bfd6c29b5ed4 | 479 | py | Python | Modulo-01/Tratando dados e fazendo contas/Ex004.py | Kaduh15/Curso-de-Python | bb82ef1856feff95656520b362ec5189c8841cfb | [
"MIT"
] | null | null | null | Modulo-01/Tratando dados e fazendo contas/Ex004.py | Kaduh15/Curso-de-Python | bb82ef1856feff95656520b362ec5189c8841cfb | [
"MIT"
] | null | null | null | Modulo-01/Tratando dados e fazendo contas/Ex004.py | Kaduh15/Curso-de-Python | bb82ef1856feff95656520b362ec5189c8841cfb | [
"MIT"
] | null | null | null | """Exercício Python 4: Faça um programa que leia algo pelo teclado e mostre na tela o seu tipo primitivo e todas as informações possíveis sobre ele."""
n = input('Digite algo: ')
print(f'O tipo primitivo desse valor é {type(n)}')
print(f'Só tem espaços? {n.isspace()}')
print(f'É um número? {n.isnumeric()}')
print(f'É... | 39.916667 | 151 | 0.699374 | 80 | 479 | 4.1875 | 0.625 | 0.125373 | 0.089552 | 0.071642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002398 | 0.129436 | 479 | 11 | 152 | 43.545455 | 0.800959 | 0.302714 | 0 | 0 | 0 | 0 | 0.713415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
3da8b6ef3420c9985c435374a294b961ca948109 | 1,478 | py | Python | yantragene/events/models.py | brijeshgzp05/techfest-yantragene | 98efdaefede9ea0e4fb7241e97272f0079673863 | [
"MIT"
] | 5 | 2018-08-04T19:07:46.000Z | 2020-02-28T16:33:43.000Z | yantragene/events/models.py | brijeshgzp05/techfest-yantragene | 98efdaefede9ea0e4fb7241e97272f0079673863 | [
"MIT"
] | null | null | null | yantragene/events/models.py | brijeshgzp05/techfest-yantragene | 98efdaefede9ea0e4fb7241e97272f0079673863 | [
"MIT"
] | null | null | null | from django.db import models
from accounts.models import Profile
class Department(models.Model):
did = models.IntegerField()
dname = models.CharField(max_length=50)
dimage = models.ImageField(upload_to='images/departments', blank=True)
def __str__(self):
return self.dname
class Events(models.Model):
eid =... | 30.163265 | 81 | 0.772666 | 206 | 1,478 | 5.364078 | 0.26699 | 0.135747 | 0.162896 | 0.217195 | 0.573756 | 0.472398 | 0.41086 | 0.329412 | 0.329412 | 0.173756 | 0 | 0.018209 | 0.108254 | 1,478 | 48 | 82 | 30.791667 | 0.820182 | 0 | 0 | 0.121212 | 0 | 0 | 0.025051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.060606 | 0.121212 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
3dacb80d8ffe4f5fecf8b6fc9b3e82bddc23abc6 | 133 | py | Python | Python Basics/exceptions.py | vsuren86/Python | 90799cc4c846c65890a143a3275a7acd6497db20 | [
"MIT"
] | null | null | null | Python Basics/exceptions.py | vsuren86/Python | 90799cc4c846c65890a143a3275a7acd6497db20 | [
"MIT"
] | null | null | null | Python Basics/exceptions.py | vsuren86/Python | 90799cc4c846c65890a143a3275a7acd6497db20 | [
"MIT"
] | null | null | null | try:
count = int(input("Give me a number: "))
except ValueError:
print("That's not a number!")
else:
print("Hi " * count) | 22.166667 | 44 | 0.609023 | 20 | 133 | 4.05 | 0.8 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225564 | 133 | 6 | 45 | 22.166667 | 0.786408 | 0 | 0 | 0 | 0 | 0 | 0.30597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3db01e4b57cb48aa8f3d4e996139d57741271585 | 10,534 | py | Python | clusteror/plot.py | enfeizhan/datacycle | 461ae9de96a441c70799b5aa74946085dd2aa6a2 | [
"MIT"
] | null | null | null | clusteror/plot.py | enfeizhan/datacycle | 461ae9de96a441c70799b5aa74946085dd2aa6a2 | [
"MIT"
] | null | null | null | clusteror/plot.py | enfeizhan/datacycle | 461ae9de96a441c70799b5aa74946085dd2aa6a2 | [
"MIT"
] | null | null | null | '''
Plotting tools relevant for illustrating and comparing clustering results
can be found in this module.
'''
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
def scatter_plot_two_dim_group_data(
two_dim_data,
labels,
markers=None,
colors=None,
figsize=(1... | 33.44127 | 79 | 0.631384 | 1,446 | 10,534 | 4.520055 | 0.175657 | 0.027846 | 0.02142 | 0.022032 | 0.731487 | 0.704253 | 0.697521 | 0.692166 | 0.673807 | 0.638311 | 0 | 0.008822 | 0.289823 | 10,534 | 314 | 80 | 33.547771 | 0.864858 | 0.53408 | 0 | 0.645833 | 0 | 0 | 0.024896 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.020833 | false | 0 | 0.020833 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3dbf82ff5878607ae3646d6995115871e9fc167e | 492 | py | Python | codigos100/variaveis.py | rosacarla/100-days-of-python-code | 3db9e35f861ce933e952cff2dd3a505dfce1b440 | [
"MIT"
] | 1 | 2021-09-26T09:17:36.000Z | 2021-09-26T09:17:36.000Z | codigos100/variaveis.py | rosacarla/100-days-of-python-code | 3db9e35f861ce933e952cff2dd3a505dfce1b440 | [
"MIT"
] | null | null | null | codigos100/variaveis.py | rosacarla/100-days-of-python-code | 3db9e35f861ce933e952cff2dd3a505dfce1b440 | [
"MIT"
] | null | null | null | #Codigo: Variaveis
#Autora: Carla Edila Silveira
#Finalidade: exemplo de parte do codigo de um jogo da forca - curso Python Quick Start
#Data: 21/09/2021
#começo do jogo da forca
tentativas = 10 #variavel representa quantidade total de tentativas do jogo
print(tentativas)
#jogador 2 faz 1a tentativa
tentativas -= 1 #... | 27.333333 | 86 | 0.78252 | 74 | 492 | 5.202703 | 0.581081 | 0.116883 | 0.057143 | 0.150649 | 0.306494 | 0.306494 | 0.306494 | 0.306494 | 0.306494 | 0.306494 | 0 | 0.038647 | 0.158537 | 492 | 18 | 87 | 27.333333 | 0.891304 | 0.737805 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
3dc05a2dbf8b19fa6b940f257965e8e396b5fa6a | 756 | py | Python | server/app/users/serializers/users.py | catvitalio/personal-budget | b4470115ebbfd185a8a781a2024787cbfe822639 | [
"MIT"
] | null | null | null | server/app/users/serializers/users.py | catvitalio/personal-budget | b4470115ebbfd185a8a781a2024787cbfe822639 | [
"MIT"
] | null | null | null | server/app/users/serializers/users.py | catvitalio/personal-budget | b4470115ebbfd185a8a781a2024787cbfe822639 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from rest_framework.authtoken.models import Token
from rest_framework.serializers import ModelSerializer
from rest_framework.serializers import SerializerMethodField
class UserSerializer(ModelSerializer):
token = SerializerMethodField()
def get_token(self, instance... | 31.5 | 60 | 0.69709 | 83 | 756 | 6.228916 | 0.46988 | 0.046422 | 0.098646 | 0.108317 | 0.131528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202381 | 756 | 23 | 61 | 32.869565 | 0.85738 | 0 | 0 | 0 | 0 | 0 | 0.075397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.166667 | 0.222222 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
3dc33a89a0c2b0697a67177917238ad3e0f0efb1 | 2,262 | py | Python | apps/zblog/models.py | zhengze/zblogsite | c58ce366c73e4e3526734508dcc6a25f40d91db8 | [
"MIT"
] | 3 | 2015-07-16T07:36:40.000Z | 2015-07-16T07:36:45.000Z | apps/zblog/models.py | zhengze/zblogsite | c58ce366c73e4e3526734508dcc6a25f40d91db8 | [
"MIT"
] | 10 | 2017-06-05T05:15:20.000Z | 2022-03-11T23:26:23.000Z | apps/zblog/models.py | zhengze/zblogsite | c58ce366c73e4e3526734508dcc6a25f40d91db8 | [
"MIT"
] | null | null | null | #coding: utf8
from django.db import models
class Category(models.Model):
name = models.CharField(max_length=20)
class Meta:
verbose_name_plural = verbose_name = u'分类'
def __str__(self):
return self.name
class Tag(models.Model):
name = models.CharField(max_length=20, verbose_name=u... | 28.275 | 113 | 0.689655 | 301 | 2,262 | 4.923588 | 0.262458 | 0.141026 | 0.105263 | 0.097166 | 0.632254 | 0.55668 | 0.522942 | 0.437922 | 0.255061 | 0.222672 | 0 | 0.008772 | 0.193634 | 2,262 | 79 | 114 | 28.632911 | 0.803728 | 0.005305 | 0 | 0.433962 | 0 | 0 | 0.061805 | 0.009782 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113208 | false | 0 | 0.018868 | 0.113208 | 0.830189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
3dd0176e3b2158006ffedabda84c09ede0344476 | 2,096 | py | Python | ormcache/managers.py | educreations/django-ormcache | 01459f6be4c191c2f9c04f77660897d752e89d35 | [
"MIT"
] | 5 | 2015-01-09T10:57:32.000Z | 2018-11-26T03:10:58.000Z | ormcache/managers.py | educreations/django-ormcache | 01459f6be4c191c2f9c04f77660897d752e89d35 | [
"MIT"
] | 12 | 2015-01-29T22:37:12.000Z | 2016-10-23T12:13:50.000Z | ormcache/managers.py | educreations/django-ormcache | 01459f6be4c191c2f9c04f77660897d752e89d35 | [
"MIT"
] | 1 | 2020-03-05T08:47:32.000Z | 2020-03-05T08:47:32.000Z | from django.db.models.signals import class_prepared, post_delete, post_save
from django.utils.functional import cached_property
from ormcache.queryset import CachedQuerySet
class CachedManagerMixin(object):
@cached_property
def __cache_enabled(self):
return getattr(self.model, "cache_enabled", False... | 33.806452 | 78 | 0.656011 | 239 | 2,096 | 5.451883 | 0.276151 | 0.046048 | 0.042978 | 0.046048 | 0.144282 | 0.098235 | 0.053722 | 0 | 0 | 0 | 0 | 0 | 0.240458 | 2,096 | 61 | 79 | 34.360656 | 0.818467 | 0.034828 | 0 | 0.166667 | 0 | 0 | 0.023371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.261905 | false | 0 | 0.071429 | 0.071429 | 0.547619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
3de7c76cb082ce1487eec0507b561e450301bbfe | 2,866 | py | Python | src/openalea/SQ_Energy_Balance/Soilheatflux.py | Crop2ML-Catalog/SQ_Energy_Balance | db6a8ba30940b6527e3ae82c325319454ff8a224 | [
"BSD-3-Clause"
] | 1 | 2018-12-06T07:54:31.000Z | 2018-12-06T07:54:31.000Z | src/openalea/SQ_Energy_Balance/Soilheatflux.py | Crop2ML-Catalog/SQ_Energy_Balance | db6a8ba30940b6527e3ae82c325319454ff8a224 | [
"BSD-3-Clause"
] | 2 | 2018-12-07T17:00:22.000Z | 2020-11-13T06:45:51.000Z | src/openalea/SQ_Energy_Balance/Soilheatflux.py | Crop2ML-Catalog/SQ_Energy_Balance | db6a8ba30940b6527e3ae82c325319454ff8a224 | [
"BSD-3-Clause"
] | 7 | 2019-01-15T04:33:23.000Z | 2021-12-09T07:29:46.000Z | # coding: utf8
import numpy
from math import *
def model_soilheatflux(netRadiationEquivalentEvaporation = 638.142,
tau = 0.9983,
soilEvaporation = 448.24):
"""
- Description:
* Title: SoilHeatFlux Model
* Author: Pierre Martre
* Reference: M... | 48.576271 | 95 | 0.402652 | 192 | 2,866 | 5.984375 | 0.463542 | 0.013925 | 0.038294 | 0.066144 | 0.327241 | 0.327241 | 0.327241 | 0.327241 | 0.302872 | 0.302872 | 0 | 0.057607 | 0.527565 | 2,866 | 59 | 96 | 48.576271 | 0.79099 | 0.820656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
3dee39217b0e8a2691f239044d8c9f04cf486f25 | 2,484 | py | Python | tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[pt_PT-2018] 1.py | gour/holidata | 89c7323f9c5345a3ecbf5cd5a835b0e08cfebc13 | [
"MIT"
] | 32 | 2019-04-12T08:01:34.000Z | 2022-02-28T04:41:50.000Z | tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[pt_PT-2018] 1.py | gour/holidata | 89c7323f9c5345a3ecbf5cd5a835b0e08cfebc13 | [
"MIT"
] | 74 | 2019-07-09T16:35:20.000Z | 2022-03-09T16:41:34.000Z | tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[pt_PT-2018] 1.py | gour/holidata | 89c7323f9c5345a3ecbf5cd5a835b0e08cfebc13 | [
"MIT"
] | 20 | 2019-01-28T07:41:02.000Z | 2022-02-16T02:38:57.000Z | [
{
'date': '2018-01-01',
'description': 'Ano Novo',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2018-02-13',
'description': 'Carnaval',
'locale': 'pt-PT',
'notes': '',
'region': '',
... | 21.789474 | 54 | 0.364332 | 205 | 2,484 | 4.414634 | 0.263415 | 0.123757 | 0.154696 | 0.232044 | 0.552486 | 0.552486 | 0.552486 | 0.522652 | 0.522652 | 0.288398 | 0 | 0.075625 | 0.403784 | 2,484 | 114 | 55 | 21.789474 | 0.535449 | 0 | 0 | 0.491228 | 0 | 0 | 0.390342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
9a9a6eab21dbe4d3040baa916e703819996f955c | 145,927 | py | Python | pysnmp-with-texts/NNCFRINTSTATISTICS-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/NNCFRINTSTATISTICS-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/NNCFRINTSTATISTICS-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 NNCFRINTSTATISTICS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NNCFRINTSTATISTICS-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:23:02 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (d... | 183.787154 | 18,556 | 0.828764 | 13,911 | 145,927 | 8.693624 | 0.057293 | 0.05001 | 0.087517 | 0.008533 | 0.488213 | 0.404442 | 0.391948 | 0.387466 | 0.292309 | 0.282577 | 0 | 0.038155 | 0.07684 | 145,927 | 793 | 18,557 | 184.018916 | 0.859577 | 0.002316 | 0 | 0.007643 | 0 | 0.146497 | 0.335362 | 0.097479 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011465 | 0 | 0.011465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9aa3c2a917dd258b0ef5ae70ab853c1c86948a99 | 421 | py | Python | package/schema.py | roni712/packages | 24a174e979d72c9ec0f9a8496a33764fe400d016 | [
"MIT"
] | null | null | null | package/schema.py | roni712/packages | 24a174e979d72c9ec0f9a8496a33764fe400d016 | [
"MIT"
] | null | null | null | package/schema.py | roni712/packages | 24a174e979d72c9ec0f9a8496a33764fe400d016 | [
"MIT"
] | null | null | null | from typing import List, Optional
from pydantic import BaseModel
class Product(BaseModel):
p_name: str =None
p_price: float=None
p_dec:str =None
class Config:
orm_mode=True
class Productcreate(Product):
category_id: int=None
class Config:
orm_mode=True
class Category(Base... | 19.136364 | 33 | 0.667458 | 56 | 421 | 4.875 | 0.464286 | 0.102564 | 0.164835 | 0.197802 | 0.344322 | 0.344322 | 0.344322 | 0 | 0 | 0 | 0 | 0 | 0.266033 | 421 | 22 | 34 | 19.136364 | 0.883495 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
9aa568fc722fb23a6e2123864fbedd7488f9605b | 676 | py | Python | stubs.min/System/Windows/Input/__init___parts/StylusButtonEventArgs.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2017-07-25T14:30:18.000Z | 2017-07-25T14:30:18.000Z | stubs.min/System/Windows/Input/__init___parts/StylusButtonEventArgs.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Windows/Input/__init___parts/StylusButtonEventArgs.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class StylusButtonEventArgs(StylusEventArgs):
"""
Provides data for the System.Windows.UIElement.StylusButtonDown and System.Windows.UIElement.StylusButtonUp events.
StylusButtonEventArgs(stylusDevice: StylusDevice,timestamp: int,button: StylusButton)
"""
@staticmethod
def __new__(self,stylusDevice,tim... | 35.578947 | 118 | 0.761834 | 68 | 676 | 7.455882 | 0.558824 | 0.076923 | 0.063116 | 0.142012 | 0.213018 | 0.213018 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131657 | 676 | 18 | 119 | 37.555556 | 0.863714 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
9aabbed720a674e98e153f695296b57126d845c2 | 23,017 | py | Python | server/src/weblab/core/reservation_processor.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | server/src/weblab/core/reservation_processor.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | server/src/weblab/core/reservation_processor.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
#-*-*- encoding: utf-8 -*-*-
#
# Copyright (C) 2005 onwards University of Deusto
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
#
# This software consists of contributions made by many individual... | 41.697464 | 202 | 0.656428 | 2,644 | 23,017 | 5.481089 | 0.159985 | 0.044507 | 0.053133 | 0.020701 | 0.457908 | 0.408225 | 0.371032 | 0.338394 | 0.333563 | 0.312241 | 0 | 0.001481 | 0.266759 | 23,017 | 551 | 203 | 41.77314 | 0.857202 | 0.186862 | 0 | 0.498195 | 0 | 0 | 0.087349 | 0.003008 | 0 | 0 | 0 | 0.010889 | 0 | 0 | null | null | 0.039711 | 0.046931 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.