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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
974191ebc9b1b546e88978d7ee052537a84a3c0e | 619 | py | Python | good-engineering-practice/src/convention-indent-good.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | 1 | 2019-01-02T15:04:08.000Z | 2019-01-02T15:04:08.000Z | good-engineering-practice/src/convention-indent-good.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | null | null | null | good-engineering-practice/src/convention-indent-good.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | null | null | null | # More indentation included to distinguish this from the rest.
def server(
host='localhost', port=443, secure=True,
username='admin', password='admin'):
return locals()
# Aligned with opening delimiter.
connection = server(host='localhost', port=443, secure=True,
username='admi... | 24.76 | 62 | 0.657512 | 71 | 619 | 5.732394 | 0.478873 | 0.09828 | 0.186732 | 0.167076 | 0.506143 | 0.506143 | 0.506143 | 0.506143 | 0.506143 | 0.506143 | 0 | 0.02454 | 0.210016 | 619 | 24 | 63 | 25.791667 | 0.807771 | 0.221325 | 0 | 0.375 | 0 | 0 | 0.159329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.25 | 0 | 0.0625 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9764da8a0bf367f5552e2978024584c16989f62f | 482 | py | Python | draft/vgg_test.py | DTA-UIT/Leukocyle-classification | 2f3ddbc9a206674c3cb1e3279fb7c2821a888016 | [
"MIT"
] | 1 | 2021-12-17T00:55:39.000Z | 2021-12-17T00:55:39.000Z | draft/vgg_test.py | BTrDung/Using-CNNs-for-predicting-disease-via-leukocyle-classification | ff084c2a0f557c9b49fd3157f6048c54c9824806 | [
"MIT"
] | null | null | null | draft/vgg_test.py | BTrDung/Using-CNNs-for-predicting-disease-via-leukocyle-classification | ff084c2a0f557c9b49fd3157f6048c54c9824806 | [
"MIT"
] | null | null | null | # from init_data_train import val_ds
from tensorflow.keras.models import load_model
# ---------------------------------------------
model = load_model("../vgg.h5")
# print(model.metrics_names)
model.summary()
# print('Data: TRAIN')
# print(model.evaluate(data_train, verbose=2))
# print('Data: TEST')
# print(print(m... | 25.368421 | 52 | 0.591286 | 57 | 482 | 4.824561 | 0.403509 | 0.145455 | 0.196364 | 0.24 | 0.370909 | 0.247273 | 0.247273 | 0 | 0 | 0 | 0 | 0.009091 | 0.087137 | 482 | 18 | 53 | 26.777778 | 0.615909 | 0.748963 | 0 | 0 | 0 | 0 | 0.081818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
977974015b57845a20cce8837904d05dd250d920 | 291 | py | Python | WebApp/views.py | aarjavjain1/Team-Website | e74e10a95d1ffad89eaebb8cc530f3df1280e691 | [
"Apache-2.0"
] | null | null | null | WebApp/views.py | aarjavjain1/Team-Website | e74e10a95d1ffad89eaebb8cc530f3df1280e691 | [
"Apache-2.0"
] | null | null | null | WebApp/views.py | aarjavjain1/Team-Website | e74e10a95d1ffad89eaebb8cc530f3df1280e691 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from .models import Timeline
# Create your views here.
def index(request):
return render(request, 'index.html')
def timeline(request):
timeline = Timeline.objects.order_by('-date')
return render(request, 'team.html', {'timeline': timeline})
| 26.454545 | 63 | 0.731959 | 37 | 291 | 5.72973 | 0.567568 | 0.113208 | 0.179245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 291 | 10 | 64 | 29.1 | 0.851406 | 0.079038 | 0 | 0 | 0 | 0 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
978d1f6e9142b2273432f178ab68877d08811c0d | 2,892 | py | Python | ryu/lib/ofctl_utils.py | alanquillin/ryu | 5552348c7c0a425313e2d5085d40d9729c8cc95e | [
"Apache-2.0"
] | 9 | 2019-12-12T06:57:51.000Z | 2022-01-10T04:01:49.000Z | ryu/lib/ofctl_utils.py | alanquillin/ryu | 5552348c7c0a425313e2d5085d40d9729c8cc95e | [
"Apache-2.0"
] | null | null | null | ryu/lib/ofctl_utils.py | alanquillin/ryu | 5552348c7c0a425313e2d5085d40d9729c8cc95e | [
"Apache-2.0"
] | 1 | 2020-03-26T17:58:28.000Z | 2020-03-26T17:58:28.000Z | # Copyright (C) 2016 Nippon Telegraph and Telephone Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 31.096774 | 69 | 0.679115 | 411 | 2,892 | 4.442822 | 0.277372 | 0.070099 | 0.118291 | 0.138007 | 0.407448 | 0.322015 | 0.256298 | 0.038335 | 0 | 0 | 0 | 0.004047 | 0.230982 | 2,892 | 92 | 70 | 31.434783 | 0.816996 | 0.200553 | 0 | 0.148148 | 0 | 0 | 0.042229 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.018519 | 0.240741 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
97b07b705070db3c9f5cefa5d87ba30a618089b6 | 66 | py | Python | lvs/video_streamer/__init__.py | ksharshveer/lvs | 00fdc0292774c0d96d560cf6dafdc22257795bab | [
"MIT"
] | null | null | null | lvs/video_streamer/__init__.py | ksharshveer/lvs | 00fdc0292774c0d96d560cf6dafdc22257795bab | [
"MIT"
] | null | null | null | lvs/video_streamer/__init__.py | ksharshveer/lvs | 00fdc0292774c0d96d560cf6dafdc22257795bab | [
"MIT"
] | null | null | null | __all__ = ['dataclass_objects', 'socket_utils', 'video_streamer']
| 33 | 65 | 0.757576 | 7 | 66 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 66 | 1 | 66 | 66 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0.651515 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
97b58b97d74790dd0268c01514019b5515bfd937 | 785 | py | Python | python/decord/bridge/tf.py | wentaozhu/decord | 2e49a9afb312be60aab1785d3002e4080c43da0b | [
"Apache-2.0"
] | null | null | null | python/decord/bridge/tf.py | wentaozhu/decord | 2e49a9afb312be60aab1785d3002e4080c43da0b | [
"Apache-2.0"
] | 1 | 2021-02-24T03:44:57.000Z | 2021-02-24T03:44:57.000Z | python/decord/bridge/tf.py | wentaozhu/decord | 2e49a9afb312be60aab1785d3002e4080c43da0b | [
"Apache-2.0"
] | null | null | null | """DECORD tensorflow bridge"""
from __future__ import absolute_import
from .._ffi._ctypes.ndarray import _from_dlpack
def try_import_tfdl():
"""Try to import tensorflow dlpack at runtime.
Returns
-------
tensorflow dlpack module if found. Raise ImportError otherwise
"""
try:
return __... | 29.074074 | 74 | 0.704459 | 100 | 785 | 5.23 | 0.39 | 0.057361 | 0.07457 | 0.049713 | 0.110899 | 0.110899 | 0.110899 | 0 | 0 | 0 | 0 | 0.00468 | 0.183439 | 785 | 26 | 75 | 30.192308 | 0.811232 | 0.277707 | 0 | 0.153846 | 0 | 0 | 0.117202 | 0.056711 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.615385 | 0 | 1.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
97b6767accd28b5524cbe3ac0b63eedc2f8d9404 | 197 | py | Python | ExerciciosPYTHON/PythonCeV/005.py | Samuel-Melo890/Python-Desafios | 2abc7734d6a6c1f5ab67421f792d6889d93bac94 | [
"MIT"
] | null | null | null | ExerciciosPYTHON/PythonCeV/005.py | Samuel-Melo890/Python-Desafios | 2abc7734d6a6c1f5ab67421f792d6889d93bac94 | [
"MIT"
] | 2 | 2022-03-18T16:06:07.000Z | 2022-03-18T16:55:29.000Z | ExerciciosPYTHON/PythonCeV/005.py | Samuel-Melo890/Python-Desafios | 2abc7734d6a6c1f5ab67421f792d6889d93bac94 | [
"MIT"
] | null | null | null | print('='*8,'Antecessor e Sucessor','='*8)
n = int(input('Digite um numero inteiro qualquer:'))
print('Analisando o valor {}, vemos que seu antecessor e {} e seu sucessor e {}.'.format(n,n-1,n+1))
| 49.25 | 100 | 0.664975 | 33 | 197 | 3.969697 | 0.636364 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.126904 | 197 | 3 | 101 | 65.666667 | 0.738372 | 0 | 0 | 0 | 0 | 0 | 0.659898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
97c028a875ca38c320287a2ccd808110efe30ffd | 236 | py | Python | greatest_of_3.py | evanascence27/py_prog | d6eb7cc3d399ba3ff5c1214e5aed6f9acc75596c | [
"MIT"
] | null | null | null | greatest_of_3.py | evanascence27/py_prog | d6eb7cc3d399ba3ff5c1214e5aed6f9acc75596c | [
"MIT"
] | null | null | null | greatest_of_3.py | evanascence27/py_prog | d6eb7cc3d399ba3ff5c1214e5aed6f9acc75596c | [
"MIT"
] | null | null | null | #greatest among 3
a=int(input("Enter no:"))
b=int(input("Enter no:"))
c=int(input("Enter no:"))
if a>b:
if a>c:
print(a)
else:
print(c)
else:
if b>c:
print(b)
else:
print(c)
| 15.733333 | 26 | 0.466102 | 38 | 236 | 2.894737 | 0.342105 | 0.218182 | 0.354545 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.355932 | 236 | 14 | 27 | 16.857143 | 0.717105 | 0.067797 | 0 | 0.384615 | 0 | 0 | 0.131707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.307692 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
97c16fec2fb87150bd173db2e2b97185e95c1291 | 463 | py | Python | create_venv.py | kevinmcaleer/SMARSLab | b847a78a61dc04fcb43d1660a6ea55ec9e84bee0 | [
"Apache-2.0"
] | 10 | 2019-02-03T23:46:08.000Z | 2021-12-26T17:31:21.000Z | create_venv.py | kevinmcaleer/SMARSLab | b847a78a61dc04fcb43d1660a6ea55ec9e84bee0 | [
"Apache-2.0"
] | 27 | 2019-06-09T09:09:24.000Z | 2022-02-11T21:47:33.000Z | create_venv.py | kevinmcaleer/SMARSLab | b847a78a61dc04fcb43d1660a6ea55ec9e84bee0 | [
"Apache-2.0"
] | 5 | 2020-06-24T18:49:40.000Z | 2022-03-08T10:11:48.000Z | """
# create_venv.py
Creates a new virtual environment for SMARSLab
"""
import subprocess
print("Creating Python 3 Virtual Environment")
subprocess.call("python3","-m","venv", "venv")
# subprocess.call(["virtualenv", "-p", "python3", "venv"])
print("")
print("Environment created - To use the virtual environment, type:... | 28.9375 | 68 | 0.723542 | 58 | 463 | 5.758621 | 0.534483 | 0.161677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.112311 | 463 | 15 | 69 | 30.866667 | 0.805353 | 0.261339 | 0 | 0 | 0 | 0 | 0.637725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.777778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
97c1ff7d1bddd3985417dc87b4811ea681f0a589 | 661 | py | Python | gaphas/painter/__init__.py | gaphor/gaphas | 084a55d31483e895ff26ee4d1f7861a690f25303 | [
"Apache-2.0"
] | 108 | 2018-01-09T00:19:04.000Z | 2022-03-25T05:24:12.000Z | gaphas/painter/__init__.py | AhmedMounir/gaphas | a51f0171796199332da8187411ae2d70dc883e2e | [
"Apache-2.0"
] | 134 | 2018-01-10T03:01:27.000Z | 2022-03-19T19:40:03.000Z | gaphas/painter/__init__.py | AhmedMounir/gaphas | a51f0171796199332da8187411ae2d70dc883e2e | [
"Apache-2.0"
] | 17 | 2018-01-09T02:20:05.000Z | 2021-12-17T18:03:09.000Z | from __future__ import annotations
from typing import TYPE_CHECKING
from gaphas.painter.boundingboxpainter import BoundingBoxPainter
from gaphas.painter.chain import PainterChain
from gaphas.painter.freehand import FreeHandPainter
from gaphas.painter.handlepainter import HandlePainter
from gaphas.painter.itempainter ... | 31.47619 | 86 | 0.806354 | 75 | 661 | 7.026667 | 0.413333 | 0.132827 | 0.193548 | 0.083491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12708 | 661 | 20 | 87 | 33.05 | 0.913345 | 0.089259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.642857 | 0 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
97c2cf54e26727ae7eefffa7b1b86ef83489a129 | 226 | py | Python | tk_builder/widgets/widget_wrappers/scale.py | bradh/tk_builder | 15bde02b93a67acf46ad485e7cc345cfe3bcd540 | [
"MIT"
] | null | null | null | tk_builder/widgets/widget_wrappers/scale.py | bradh/tk_builder | 15bde02b93a67acf46ad485e7cc345cfe3bcd540 | [
"MIT"
] | null | null | null | tk_builder/widgets/widget_wrappers/scale.py | bradh/tk_builder | 15bde02b93a67acf46ad485e7cc345cfe3bcd540 | [
"MIT"
] | null | null | null | from tkinter import ttk
from tk_builder.widgets.widget_utils.widget_events import WidgetEvents
class Scale(ttk.Scale, WidgetEvents):
def __init__(self, master=None, **kw):
ttk.Scale.__init__(self, master, **kw)
| 25.111111 | 70 | 0.747788 | 31 | 226 | 5.096774 | 0.612903 | 0.101266 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146018 | 226 | 8 | 71 | 28.25 | 0.818653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c111ed3f7f6639b994f8befedd71bef05fb4f62e | 266 | py | Python | src/core/device.py | ggjersund/ble-central-client | f886ae90a62245baf0ba8235a78bf8b3aeabc0aa | [
"MIT"
] | 1 | 2019-05-06T02:01:35.000Z | 2019-05-06T02:01:35.000Z | src/core/device.py | ggjersund/ble-central-client | f886ae90a62245baf0ba8235a78bf8b3aeabc0aa | [
"MIT"
] | null | null | null | src/core/device.py | ggjersund/ble-central-client | f886ae90a62245baf0ba8235a78bf8b3aeabc0aa | [
"MIT"
] | null | null | null | """
Class: Create peripheral objects whenever a new device is found
Methods: Send connection request to given device, disconnect from given device, handle discovery of advertisments
List all available characteristics (services that contain more characteristics)
"""
| 44.333333 | 113 | 0.819549 | 34 | 266 | 6.411765 | 0.882353 | 0.100917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 266 | 5 | 114 | 53.2 | 0.947826 | 0.966165 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c17d297d3e3b1768409a383f1791dd0e2160d9ed | 97 | py | Python | pythonProject/MUNDO 3/Relembrando listas 2.py | lucasjlgc/Aulas-de-Python- | 6aaed1c660487a680e9c449210600ccdfa326612 | [
"MIT"
] | null | null | null | pythonProject/MUNDO 3/Relembrando listas 2.py | lucasjlgc/Aulas-de-Python- | 6aaed1c660487a680e9c449210600ccdfa326612 | [
"MIT"
] | 1 | 2021-06-25T15:29:11.000Z | 2021-06-25T15:29:11.000Z | pythonProject/MUNDO 3/Relembrando listas 2.py | lucasjlgc/Aulas-de-Python- | 6aaed1c660487a680e9c449210600ccdfa326612 | [
"MIT"
] | null | null | null | import pandas as pd
df = pd.read_excel("Média teste.xlsx", sheet_name= "Média")
print(df.head()) | 24.25 | 59 | 0.721649 | 17 | 97 | 4 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 4 | 60 | 24.25 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c17f1ebac81849c8f6eb6bebb52e23e823c6d545 | 2,428 | py | Python | gc3_query/lib/open_api/swagger_formats/models/sec_ip_list_model.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | gc3_query/lib/open_api/swagger_formats/models/sec_ip_list_model.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | gc3_query/lib/open_api/swagger_formats/models/sec_ip_list_model.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
gc3-query.sec_ip_list_model [9/12/2018 12:25 PM]
~~~~~~~~~~~~~~~~
<DESCR SHORT>
<DESCR>
"""
################################################################################
## Standard Library Imports
import sys, os
####################################################################... | 25.829787 | 86 | 0.534596 | 228 | 2,428 | 5.153509 | 0.315789 | 0.081702 | 0.061277 | 0.061277 | 0.507234 | 0.507234 | 0.507234 | 0.507234 | 0.507234 | 0.507234 | 0 | 0.007547 | 0.235997 | 2,428 | 93 | 87 | 26.107527 | 0.625876 | 0.319193 | 0 | 0 | 0 | 0 | 0.104784 | 0.035687 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.137931 | 0.137931 | 0.724138 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c1861ac618002e67645320e8393dbf42725df435 | 5,748 | py | Python | mayaSDK/maya/app/stereo/cameraSetTool.py | FXTD-ODYSSEY/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 20 | 2019-09-20T00:30:22.000Z | 2021-12-26T06:56:16.000Z | mayaSDK/maya/app/stereo/cameraSetTool.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 5 | 2019-12-29T15:19:03.000Z | 2022-03-29T16:54:19.000Z | mayaSDK/maya/app/stereo/cameraSetTool.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 8 | 2019-09-23T05:46:44.000Z | 2022-01-11T14:42:14.000Z | """
This is a dedicated editor for specifying camera set rigs. It allows
the artist to preset a multi-rig type. They can then use the
create menus for quickly creating complicated rigs.
"""
class BaseUI:
"""
Each region of the editor UI is abstracted into a UI class that
contains all of the widgets for t... | 18.784314 | 76 | 0.508873 | 616 | 5,748 | 4.722403 | 0.313312 | 0.067377 | 0.031282 | 0.023376 | 0.087659 | 0.063252 | 0.037126 | 0 | 0 | 0 | 0 | 0.001197 | 0.418406 | 5,748 | 305 | 77 | 18.845902 | 0.86898 | 0.435456 | 0 | 0.623188 | 0 | 0 | 0.003388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.463768 | false | 0.463768 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c1930795b278c4d3bce4aa1f7d4fedaf52b3eac9 | 277 | py | Python | torch/fx/passes/__init__.py | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 60,067 | 2017-01-18T17:21:31.000Z | 2022-03-31T21:37:45.000Z | torch/fx/passes/__init__.py | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 66,955 | 2017-01-18T17:21:38.000Z | 2022-03-31T23:56:11.000Z | torch/fx/passes/__init__.py | xiaohanhuang/pytorch | a31aea8eaa99a5ff72b5d002c206cd68d5467a5e | [
"Intel"
] | 19,210 | 2017-01-18T17:45:04.000Z | 2022-03-31T23:51:56.000Z | from . import graph_drawer
from . import graph_manipulation
from . import net_min_base
from . import operator_support
from . import param_fetch
from . import shape_prop
from . import split_module
from . import split_utils
from . import splitter_base
from . import tools_common
| 25.181818 | 32 | 0.819495 | 41 | 277 | 5.268293 | 0.487805 | 0.462963 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144404 | 277 | 10 | 33 | 27.7 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c1e36030fb557ca429daa6a8fb40a0f0208a4e4c | 591 | py | Python | hydra-configs-torchvision/hydra_configs/torchvision/models/densenet.py | shivamdb/hydra-torch | 4ef4b03e583fb7b0c36e50185d25f0d91369c1cf | [
"MIT"
] | null | null | null | hydra-configs-torchvision/hydra_configs/torchvision/models/densenet.py | shivamdb/hydra-torch | 4ef4b03e583fb7b0c36e50185d25f0d91369c1cf | [
"MIT"
] | null | null | null | hydra-configs-torchvision/hydra_configs/torchvision/models/densenet.py | shivamdb/hydra-torch | 4ef4b03e583fb7b0c36e50185d25f0d91369c1cf | [
"MIT"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# Generated by configen, do not edit.
# See https://github.com/facebookresearch/hydra/tree/master/tools/configen
# fmt: off
# isort:skip_file
# flake8: noqa
from dataclasses import dataclass, field
from typing import Any
@dataclass
class DenseN... | 25.695652 | 74 | 0.715736 | 83 | 591 | 4.963855 | 0.831325 | 0.033981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037578 | 0.189509 | 591 | 22 | 75 | 26.863636 | 0.822547 | 0.36379 | 0 | 0 | 1 | 0 | 0.097826 | 0.097826 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c1f55bde2192c6ab8318d85ced287f7259c76bad | 695 | py | Python | Config-Scripts/service.autoexec/resources/de/language-set_de.py | joy-it/MultimediaCase-for-Raspberry-Pi | 909522521b2d53175b8460d9ef5bb1a51cfaec44 | [
"MIT"
] | 9 | 2020-12-29T22:17:13.000Z | 2021-12-14T09:12:47.000Z | Config-Scripts/service.autoexec/resources/de/language-set_de.py | joy-it/MultimediaCase-for-Raspberry-Pi | 909522521b2d53175b8460d9ef5bb1a51cfaec44 | [
"MIT"
] | null | null | null | Config-Scripts/service.autoexec/resources/de/language-set_de.py | joy-it/MultimediaCase-for-Raspberry-Pi | 909522521b2d53175b8460d9ef5bb1a51cfaec44 | [
"MIT"
] | 2 | 2021-12-07T15:55:35.000Z | 2022-03-21T11:43:43.000Z | import os
from time import sleep
os.system("touch /storage/.kodi/temp/temp.txt")
with open("/storage/.kodi/addons/service.autoexec/autoexec.py","r") as log, open("/storage/.kodi/temp/temp.txt","w") as file:
for line in log:
if not "kodi-send --action=" in line:
file.write(line)
os.system("rm /s... | 46.333333 | 126 | 0.723741 | 108 | 695 | 4.648148 | 0.351852 | 0.197211 | 0.169323 | 0.239044 | 0.691235 | 0.450199 | 0.366534 | 0.199203 | 0.199203 | 0 | 0 | 0 | 0.096403 | 695 | 14 | 127 | 49.642857 | 0.799363 | 0 | 0 | 0 | 0 | 0.166667 | 0.651799 | 0.548201 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 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 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c1ff0eb01bbf70406e1549da0474f421fa7d5448 | 162 | py | Python | app/api/sandbox/__init__.py | nccr-itmo/FEDOT.Web | 9b6f7b66de277ea34d6d5ed621b99a3f938db61b | [
"BSD-3-Clause"
] | 23 | 2020-12-24T11:05:01.000Z | 2022-03-31T20:29:12.000Z | app/api/sandbox/__init__.py | nccr-itmo/FedotWeb | 763fb1f39ad2b69104b6568e6f941c4c67762e34 | [
"BSD-3-Clause"
] | 42 | 2021-01-11T09:38:31.000Z | 2022-03-25T17:19:05.000Z | app/api/sandbox/__init__.py | nccr-itmo/FedotWeb | 763fb1f39ad2b69104b6568e6f941c4c67762e34 | [
"BSD-3-Clause"
] | 5 | 2021-03-31T04:38:31.000Z | 2022-03-31T20:29:26.000Z | BASE_ROUTE = 'sandbox'
def register_routes(api, app):
from .controller import api as sandbox_api
api.add_namespace(sandbox_api, path=f"/{BASE_ROUTE}")
| 20.25 | 57 | 0.734568 | 24 | 162 | 4.708333 | 0.666667 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154321 | 162 | 7 | 58 | 23.142857 | 0.824818 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
de0db17125bb522f17a4937de38adbee2d05df16 | 69 | py | Python | 03_Day_Operators/16.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 03_Day_Operators/16.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 03_Day_Operators/16.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | length = len('python') # 16
print(float(length))
print(str(length))
| 17.25 | 28 | 0.681159 | 10 | 69 | 4.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.115942 | 69 | 3 | 29 | 23 | 0.737705 | 0.028986 | 0 | 0 | 0 | 0 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
de0e2ef29766137a4639f4f40ea81c68ad5d0eea | 554 | py | Python | TorNodesMap/TorNodesMap/settings/local.py | spantons/tor-nodes-map | 0bdd6cb2e747c3a6a5aa311214fa8683d0453bd3 | [
"MIT"
] | null | null | null | TorNodesMap/TorNodesMap/settings/local.py | spantons/tor-nodes-map | 0bdd6cb2e747c3a6a5aa311214fa8683d0453bd3 | [
"MIT"
] | null | null | null | TorNodesMap/TorNodesMap/settings/local.py | spantons/tor-nodes-map | 0bdd6cb2e747c3a6a5aa311214fa8683d0453bd3 | [
"MIT"
] | null | null | null | # Database
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
GDAL_LIBRARY_PATH = "/Applications/Postgres.app/Contents/Versions/9.4/lib/libgdal.dylib"
GEOS_LIBRARY_PATH = "/Applications/Postgres.app/Contents/Versions/9.4/lib/libgeos_c.dylib"
DATABASES = {
'default': {
'ENGINE': 'django.contr... | 26.380952 | 90 | 0.644404 | 68 | 554 | 5.147059 | 0.808824 | 0.062857 | 0.131429 | 0.177143 | 0.314286 | 0.314286 | 0.314286 | 0.314286 | 0.314286 | 0.314286 | 0 | 0.013304 | 0.185921 | 554 | 20 | 91 | 27.7 | 0.762749 | 0.240072 | 0 | 0 | 0 | 0 | 0.533654 | 0.413462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a9a54f9593e2155a83dbbc6f445784f726fc8357 | 120 | py | Python | hello.py | dpr5ks/cs3240-labdemo | 8c4df0e768a362b18249ad10a736cfb85c0d9fa2 | [
"MIT"
] | null | null | null | hello.py | dpr5ks/cs3240-labdemo | 8c4df0e768a362b18249ad10a736cfb85c0d9fa2 | [
"MIT"
] | null | null | null | hello.py | dpr5ks/cs3240-labdemo | 8c4df0e768a362b18249ad10a736cfb85c0d9fa2 | [
"MIT"
] | null | null | null |
#python program that prints "Hello!"
#Deeksha Reddy (dpr5ks)
import helper
helper.greeting("hello")
| 6.666667 | 36 | 0.641667 | 13 | 120 | 5.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.258333 | 120 | 17 | 37 | 7.058824 | 0.853933 | 0.475 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a9c407f198519bb2db1ad7f89e499a2d1c9bee18 | 11,460 | py | Python | cardsFactory.py | Zhipeng-Chang/CoEChatbot | a68b66612c17685715b2a04f9d603a4f4b06cc6b | [
"MIT"
] | null | null | null | cardsFactory.py | Zhipeng-Chang/CoEChatbot | a68b66612c17685715b2a04f9d603a4f4b06cc6b | [
"MIT"
] | null | null | null | cardsFactory.py | Zhipeng-Chang/CoEChatbot | a68b66612c17685715b2a04f9d603a4f4b06cc6b | [
"MIT"
] | 2 | 2019-01-08T16:07:46.000Z | 2020-12-08T21:44:08.000Z | INTERACTIVE_TEXT_BUTTON_ACTION = "doTextButtonAction"
INTERACTIVE_IMAGE_BUTTON_ACTION = "doImageButtonAction"
INTERACTIVE_BUTTON_PARAMETER_KEY = "param_key"
def _respons_text_card(type,title,text):
return {
'actionResponse': {'type': type},
"cards": [
{
... | 38.2 | 221 | 0.425393 | 734 | 11,460 | 6.464578 | 0.152589 | 0.032877 | 0.053109 | 0.067229 | 0.782297 | 0.736776 | 0.728978 | 0.696101 | 0.67608 | 0.655005 | 0 | 0.013178 | 0.437173 | 11,460 | 299 | 222 | 38.327759 | 0.722481 | 0 | 0 | 0.432331 | 0 | 0.018797 | 0.240663 | 0.003752 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037594 | false | 0 | 0 | 0.033835 | 0.075188 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a9e7e50c7c0d766b801dd71dbb5e93eba24ab825 | 1,417 | py | Python | students/K33402/ShkikavyyIvan/lab3/arthub/models.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 4 | 2020-09-03T15:41:42.000Z | 2021-12-24T15:28:20.000Z | students/K33402/ShkikavyyIvan/lab3/arthub/models.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 48 | 2020-09-13T20:22:42.000Z | 2021-04-30T11:13:30.000Z | students/K33402/ShkikavyyIvan/lab3/arthub/models.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 69 | 2020-09-06T10:32:37.000Z | 2021-11-28T18:13:17.000Z | from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.
class User(AbstractUser):
username = models.CharField(max_length=20, blank=True, null=True, unique=True)
email = models.EmailField()
REQUIRED_FIELDS = ['first_name', 'last_name', 'email']
def... | 32.953488 | 119 | 0.679605 | 171 | 1,417 | 5.48538 | 0.374269 | 0.11194 | 0.134328 | 0.179104 | 0.234542 | 0.17484 | 0.063966 | 0 | 0 | 0 | 0 | 0.02616 | 0.163726 | 1,417 | 42 | 120 | 33.738095 | 0.765401 | 0.016937 | 0 | 0.178571 | 0 | 0 | 0.107117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.071429 | 0.107143 | 0.964286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a9fd8ee2bfd6add462cdbfb05e6e2aac2b4ecf27 | 63 | py | Python | lol_id_tools/logger.py | RheingoldRiver/lol_id_tools | 49d1730aaebbefbf1cd0205faf0c752e910a06b4 | [
"MIT"
] | null | null | null | lol_id_tools/logger.py | RheingoldRiver/lol_id_tools | 49d1730aaebbefbf1cd0205faf0c752e910a06b4 | [
"MIT"
] | null | null | null | lol_id_tools/logger.py | RheingoldRiver/lol_id_tools | 49d1730aaebbefbf1cd0205faf0c752e910a06b4 | [
"MIT"
] | null | null | null | import logging
lit_logger = logging.getLogger("lol_id_tools")
| 15.75 | 46 | 0.809524 | 9 | 63 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 63 | 3 | 47 | 21 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a9fe685d96f55750b33322d1d292af285fc688c5 | 4,241 | py | Python | price_fetcher/traderjoes.py | smartin015/expenses | c0bd7122595c0647d2548396c489935a0f789464 | [
"Apache-2.0"
] | null | null | null | price_fetcher/traderjoes.py | smartin015/expenses | c0bd7122595c0647d2548396c489935a0f789464 | [
"Apache-2.0"
] | null | null | null | price_fetcher/traderjoes.py | smartin015/expenses | c0bd7122595c0647d2548396c489935a0f789464 | [
"Apache-2.0"
] | null | null | null | import requests
def tjQuery(sku):
headers = {
'authority': 'www.traderjoes.com',
'pragma': 'no-cache',
'cache-control': 'no-cache',
'sec-ch-ua': '"Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"',
'accept': '*/*',
'content-type': 'application/json',
'sec-ch-ua-mobile': '... | 114.621622 | 3,057 | 0.542561 | 517 | 4,241 | 4.201161 | 0.350097 | 0.020258 | 0.092081 | 0.101289 | 0.311234 | 0.296501 | 0.231584 | 0.212247 | 0.212247 | 0.164365 | 0 | 0.024791 | 0.296157 | 4,241 | 36 | 3,058 | 117.805556 | 0.702848 | 0 | 0 | 0 | 0 | 0.1 | 0.870785 | 0.077104 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.033333 | 0.033333 | 0.166667 | 0.033333 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e745288e1d18f5bc987b508571ab368ed98fe10a | 32,648 | py | Python | ot/regpath.py | cshjin/POT | eccb1386eea52b94b82456d126bd20cbe3198e05 | [
"MIT"
] | 624 | 2016-11-04T13:02:35.000Z | 2020-04-16T10:27:14.000Z | ot/regpath.py | cshjin/POT | eccb1386eea52b94b82456d126bd20cbe3198e05 | [
"MIT"
] | 112 | 2016-12-02T09:01:49.000Z | 2020-04-07T09:31:25.000Z | ot/regpath.py | lchapel/POT | 8385b6db7a394ed48a0eff630f852a6d3952db65 | [
"MIT"
] | 163 | 2016-10-28T16:19:57.000Z | 2020-04-15T13:39:23.000Z | # -*- coding: utf-8 -*-
"""
Regularization path OT solvers
"""
# Author: Haoran Wu <haoran.wu@univ-ubs.fr>
# License: MIT License
import numpy as np
import scipy.sparse as sp
def recast_ot_as_lasso(a, b, C):
r"""This function recasts the l2-penalized UOT problem as a Lasso problem.
Recall the l2-penalized ... | 33.348315 | 79 | 0.570938 | 4,849 | 32,648 | 3.732316 | 0.075892 | 0.021549 | 0.015858 | 0.016797 | 0.764228 | 0.730302 | 0.700077 | 0.677312 | 0.619184 | 0.600674 | 0 | 0.032026 | 0.28844 | 32,648 | 978 | 80 | 33.382413 | 0.747019 | 0.671833 | 0 | 0.393665 | 0 | 0 | 0.017223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049774 | false | 0 | 0.00905 | 0 | 0.108597 | 0.0181 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e74901b8df37db04a074d15254873138295ac74a | 142 | py | Python | modules/dnn/feathernet/model_onnx2IR.py | zongwave/libxcam | 2c0cc6839ddd3ef2b6ad22d2580f7878314daf14 | [
"Apache-2.0"
] | 400 | 2018-01-26T05:33:23.000Z | 2022-03-31T06:36:47.000Z | modules/dnn/feathernet/model_onnx2IR.py | zihengchang/libxcam | 53e2b415f9f20ab315de149afdfee97574aeaad0 | [
"Apache-2.0"
] | 77 | 2018-01-25T06:16:15.000Z | 2022-02-23T02:50:49.000Z | modules/dnn/feathernet/model_onnx2IR.py | zihengchang/libxcam | 53e2b415f9f20ab315de149afdfee97574aeaad0 | [
"Apache-2.0"
] | 161 | 2018-03-05T01:03:42.000Z | 2022-03-29T17:14:20.000Z | onnx formate to openVINO IR formate
reference :https://docs.openvinotoolkit.org/latest/_docs_MO_DG_Deep_Learning_Model_Optimizer_DevGuide.html | 71 | 106 | 0.887324 | 21 | 142 | 5.619048 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 142 | 2 | 106 | 71 | 0.874074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e751d185ef0397b03ac3c621c6b9c85d3bad15b1 | 20 | py | Python | challenges/Mixology/support/mixcodegen/__init__.py | pingjuiliao/cb-multios | 64ededd0b87030eda7c40c4388a4ad8283712d8e | [
"MIT"
] | 473 | 2016-08-01T12:48:16.000Z | 2022-03-09T18:13:14.000Z | challenges/Mixology/support/mixcodegen/__init__.py | pingjuiliao/cb-multios | 64ededd0b87030eda7c40c4388a4ad8283712d8e | [
"MIT"
] | 71 | 2016-08-01T03:33:44.000Z | 2022-03-09T18:37:04.000Z | challenges/Mixology/support/mixcodegen/__init__.py | pingjuiliao/cb-multios | 64ededd0b87030eda7c40c4388a4ad8283712d8e | [
"MIT"
] | 121 | 2016-08-01T04:07:53.000Z | 2022-03-07T11:08:09.000Z | __author__ = 'scsi'
| 10 | 19 | 0.7 | 2 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e7548a3265933ea077c134cb8088318693ea41ee | 174 | py | Python | modules/aggregation/management/commands/aggregate_items.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | null | null | null | modules/aggregation/management/commands/aggregate_items.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | 11 | 2019-11-12T23:26:45.000Z | 2021-06-10T17:37:23.000Z | modules/aggregation/management/commands/aggregate_items.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | null | null | null | from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = 'Update items aggregation'
def handle(self, *args, **kwargs):
pass
| 17.4 | 51 | 0.695402 | 20 | 174 | 6.05 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 174 | 9 | 52 | 19.333333 | 0.876812 | 0 | 0 | 0 | 0 | 0 | 0.138728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e75a3b474a71c08c1c3b61ee5d6fd417cb20c308 | 689 | bzl | Python | third_party/dlpack/workspace.bzl | ashutom/tensorflow-upstream | c16069c19de9e286dd664abb78d0ea421e9f32d4 | [
"Apache-2.0"
] | 190,993 | 2015-11-09T13:17:30.000Z | 2022-03-31T23:05:27.000Z | third_party/dlpack/workspace.bzl | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 48,461 | 2015-11-09T14:21:11.000Z | 2022-03-31T23:17:33.000Z | third_party/dlpack/workspace.bzl | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 104,981 | 2015-11-09T13:40:17.000Z | 2022-03-31T19:51:54.000Z | """DLPack is a protocol for sharing arrays between deep learning frameworks."""
load("//third_party:repo.bzl", "tf_http_archive")
def repo():
tf_http_archive(
name = "dlpack",
strip_prefix = "dlpack-3efc489b55385936531a06ff83425b719387ec63",
sha256 = "b59586ce69bcf3efdbf3cf4803fadfeaae4948... | 43.0625 | 146 | 0.712627 | 64 | 689 | 7.546875 | 0.640625 | 0.041408 | 0.05383 | 0.078675 | 0.293996 | 0.293996 | 0.293996 | 0.293996 | 0 | 0 | 0 | 0.223776 | 0.169811 | 689 | 15 | 147 | 45.933333 | 0.620629 | 0.105951 | 0 | 0 | 0 | 0.083333 | 0.660656 | 0.270492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e763a712fd2ae8a0997a8a6afe336f4e91c3354b | 249,680 | py | Python | gen/apache/aurora/api/ttypes.py | broadinstitute/herc | dd75ed41a1433f8b6c6f0d338194a3488b76fc11 | [
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2015-03-04T19:10:03.000Z | 2017-05-30T09:42:06.000Z | gen/apache/aurora/api/ttypes.py | broadinstitute/herc | dd75ed41a1433f8b6c6f0d338194a3488b76fc11 | [
"Apache-2.0",
"BSD-3-Clause"
] | 13 | 2015-03-04T21:05:08.000Z | 2015-04-10T22:52:47.000Z | gen/apache/aurora/api/ttypes.py | broadinstitute/herc | dd75ed41a1433f8b6c6f0d338194a3488b76fc11 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | #
# Autogenerated by Thrift Compiler (1.0.0-dev)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol, TProtoco... | 32.208462 | 563 | 0.648082 | 28,514 | 249,680 | 5.475696 | 0.03237 | 0.017101 | 0.030724 | 0.034816 | 0.747063 | 0.698202 | 0.664954 | 0.650198 | 0.628537 | 0.619795 | 0 | 0.017953 | 0.235033 | 249,680 | 7,751 | 564 | 32.212618 | 0.799515 | 0.053777 | 0 | 0.714081 | 1 | 0 | 0.031903 | 0.0043 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097743 | false | 0 | 0.000636 | 0.036554 | 0.220915 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e78c8504cb38666456dba20dc22f671b4910bff6 | 69 | py | Python | test/test.py | landdafku11/cryptocurrencybot | d91976d4fb42c75632e92bf9dd2b183d584b0f89 | [
"MIT"
] | 1 | 2021-09-30T13:41:12.000Z | 2021-09-30T13:41:12.000Z | test/test.py | KangDo96/CryptoCurrencyBot | 3c5d347495b27c752016302fec761efc46daaae5 | [
"MIT"
] | null | null | null | test/test.py | KangDo96/CryptoCurrencyBot | 3c5d347495b27c752016302fec761efc46daaae5 | [
"MIT"
] | null | null | null | import re
result = re.match(r'Analytics', 'AV Analytics ESET AV')
ad | 17.25 | 55 | 0.724638 | 12 | 69 | 4.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 69 | 4 | 56 | 17.25 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0.414286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e796a58eb4300de0314fe4b7bff78266de9e06d2 | 73 | py | Python | transforms/fcc_fourier/__init__.py | mikelytaev/wave-propagation | eff0eb1fc843e4d206b05731e40047e1d810d76f | [
"MIT"
] | 15 | 2019-06-28T17:05:23.000Z | 2022-03-22T02:20:39.000Z | transforms/fcc_fourier/__init__.py | mikelytaev/wave-propagation | eff0eb1fc843e4d206b05731e40047e1d810d76f | [
"MIT"
] | null | null | null | transforms/fcc_fourier/__init__.py | mikelytaev/wave-propagation | eff0eb1fc843e4d206b05731e40047e1d810d76f | [
"MIT"
] | 3 | 2020-10-10T12:41:19.000Z | 2021-12-17T14:08:18.000Z | __author__ = 'Lytaev Mikhail (mikelytaev@gmail.com)'
from .fcc import *
| 18.25 | 52 | 0.739726 | 9 | 73 | 5.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 3 | 53 | 24.333333 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0.506849 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e7af089e211f63ddb7f8867bd2361bef7c8bcf00 | 294 | py | Python | membership/membership/customize/on_buy_package.py | techyidiots/memb | 8abf4c9fc7811c285de945eb4921ed359456a456 | [
"MIT"
] | null | null | null | membership/membership/customize/on_buy_package.py | techyidiots/memb | 8abf4c9fc7811c285de945eb4921ed359456a456 | [
"MIT"
] | null | null | null | membership/membership/customize/on_buy_package.py | techyidiots/memb | 8abf4c9fc7811c285de945eb4921ed359456a456 | [
"MIT"
] | 1 | 2019-10-20T02:53:14.000Z | 2019-10-20T02:53:14.000Z | from frappe.utils import getdate
import frappe
# def on_submit(doc, method):
# customer = doc.customer
# package = doc.item_code
# frappe.errprint(package)
# pacakage_list = frappe.get_doc("Membership", package_name)
# for p in pacakage_list:
# if(p== package):
# flag = True
| 17.294118 | 61 | 0.697279 | 40 | 294 | 4.975 | 0.65 | 0.120603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187075 | 294 | 16 | 62 | 18.375 | 0.832636 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e7d087d4bce65b210611d6c4124f36db77c54fef | 171 | py | Python | website/apps.py | grusirna/django-website | 49958fe98ea2b95d121e8bb880e684ee7be4ec15 | [
"MIT"
] | null | null | null | website/apps.py | grusirna/django-website | 49958fe98ea2b95d121e8bb880e684ee7be4ec15 | [
"MIT"
] | null | null | null | website/apps.py | grusirna/django-website | 49958fe98ea2b95d121e8bb880e684ee7be4ec15 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BaseConfig(AppConfig):
name = 'website'
verbose_name = '管理员'
def ready(self):
# autodiscover()
pass
| 15.545455 | 33 | 0.625731 | 18 | 171 | 5.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 171 | 10 | 34 | 17.1 | 0.861789 | 0.081871 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e7d3fac356c9b0e2d89f734ced66fde365670cd9 | 395 | py | Python | src/xbot/chatbot.py | xinyang178/xbot | dad1fc67062dc6fd21802899fd68f7eb91c96569 | [
"MIT"
] | 77 | 2020-10-27T12:19:01.000Z | 2022-03-16T09:13:17.000Z | src/xbot/chatbot.py | xinyang178/xbot | dad1fc67062dc6fd21802899fd68f7eb91c96569 | [
"MIT"
] | 7 | 2020-12-09T14:05:07.000Z | 2021-04-28T02:37:05.000Z | src/xbot/chatbot.py | xinyang178/xbot | dad1fc67062dc6fd21802899fd68f7eb91c96569 | [
"MIT"
] | 45 | 2020-09-24T07:28:32.000Z | 2022-03-03T17:09:04.000Z | from .exceptions import XBotBaseException
class ChatbotBaseException(XBotBaseException):
pass
class Chatbot(object):
"""对话机器人类"""
def __init__(self, name):
self._name = name if name else "XBot"
self._history = []
def history(self):
pass
def get_latest_response(self):
... | 17.173913 | 48 | 0.635443 | 42 | 395 | 5.761905 | 0.547619 | 0.066116 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268354 | 395 | 22 | 49 | 17.954545 | 0.83737 | 0.01519 | 0 | 0.307692 | 0 | 0 | 0.010444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.307692 | 0.076923 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
99b98c85db6971f73c3d7f68fd6951c03998f24e | 3,102 | py | Python | course/migrations/0092_unicode_literals.py | 68ymtlab/relate | 0120ca0188a969b3251722241e8d97fda52226b4 | [
"Unlicense"
] | null | null | null | course/migrations/0092_unicode_literals.py | 68ymtlab/relate | 0120ca0188a969b3251722241e8d97fda52226b4 | [
"Unlicense"
] | 6 | 2015-08-18T00:13:40.000Z | 2018-01-31T05:55:13.000Z | course/migrations/0092_unicode_literals.py | davis68/relate | eb40c8c17d4a724a60de3caa3334521a833bad5c | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-08-08 22:07
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('course', '0091_changes_found... | 45.617647 | 195 | 0.661186 | 349 | 3,102 | 5.667622 | 0.186246 | 0.048534 | 0.077856 | 0.122346 | 0.71638 | 0.71638 | 0.673407 | 0.656218 | 0.656218 | 0.656218 | 0 | 0.008667 | 0.218891 | 3,102 | 67 | 196 | 46.298507 | 0.807676 | 0.021277 | 0 | 0.6 | 1 | 0 | 0.125618 | 0.016485 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
99d9e09b8395d37d0ca88c8eb655595c1c62f9f1 | 97 | py | Python | lab-resources/mapPlottingPy/config.py | varunyn/pythonAtp-workshop | 160b0d8ce1dcb12c888fc4e502d0d3de31280d69 | [
"UPL-1.0",
"BSD-3-Clause"
] | null | null | null | lab-resources/mapPlottingPy/config.py | varunyn/pythonAtp-workshop | 160b0d8ce1dcb12c888fc4e502d0d3de31280d69 | [
"UPL-1.0",
"BSD-3-Clause"
] | null | null | null | lab-resources/mapPlottingPy/config.py | varunyn/pythonAtp-workshop | 160b0d8ce1dcb12c888fc4e502d0d3de31280d69 | [
"UPL-1.0",
"BSD-3-Clause"
] | null | null | null | import cx_Oracle
conn_info = {
'user': 'alpha',
'password': '',
'service_name': ''
}
| 13.857143 | 22 | 0.546392 | 10 | 97 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247423 | 97 | 6 | 23 | 16.166667 | 0.684932 | 0 | 0 | 0 | 0 | 0 | 0.298969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
99ddfd28377654b9736b3e494219ac3970a3bf3d | 2,328 | py | Python | aliyun-python-sdk-dg/aliyunsdkdg/request/v20190327/CreateDatabaseAccessPointRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-dg/aliyunsdkdg/request/v20190327/CreateDatabaseAccessPointRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-dg/aliyunsdkdg/request/v20190327/CreateDatabaseAccessPointRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 33.73913 | 82 | 0.75988 | 311 | 2,328 | 5.514469 | 0.366559 | 0.069971 | 0.04898 | 0.059475 | 0.104956 | 0.104956 | 0.104956 | 0 | 0 | 0 | 0 | 0.005982 | 0.138316 | 2,328 | 69 | 83 | 33.73913 | 0.848953 | 0.323883 | 0 | 0 | 0 | 0 | 0.14361 | 0.016469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.371429 | false | 0 | 0.057143 | 0.171429 | 0.628571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
99e34fc3fe4b4df321b1a45797122554815e18a1 | 2,996 | py | Python | mechanics.py | Windfisch/agario-frickel | 04acf7e45d08878733b0d0a0d65f319f6d14d224 | [
"BSD-3-Clause"
] | 2 | 2015-08-11T00:47:49.000Z | 2016-03-05T13:09:12.000Z | mechanics.py | Windfisch/agario-frickel | 04acf7e45d08878733b0d0a0d65f319f6d14d224 | [
"BSD-3-Clause"
] | 23 | 2015-08-10T11:11:05.000Z | 2015-09-22T16:18:04.000Z | mechanics.py | Windfisch/agario-frickel | 04acf7e45d08878733b0d0a0d65f319f6d14d224 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2015, Florian Jung and Timm Weber
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of c... | 45.393939 | 226 | 0.759012 | 492 | 2,996 | 4.48374 | 0.376016 | 0.029465 | 0.031732 | 0.030825 | 0.320943 | 0.256573 | 0.227561 | 0.227561 | 0.203083 | 0.203083 | 0 | 0.01642 | 0.166555 | 2,996 | 65 | 227 | 46.092308 | 0.86704 | 0.524032 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.041667 | 0.291667 | 0.791667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
99f357d29169601abf543944bae99519788c1f90 | 79 | py | Python | mynn/activations/__init__.py | davidmascharka/MyNN | 0da56806ed4b6cec8e8ee40d5aa1149d1733bd3b | [
"MIT"
] | 19 | 2018-08-06T14:56:08.000Z | 2021-04-27T08:03:04.000Z | mynn/activations/__init__.py | davidmascharka/MyNN | 0da56806ed4b6cec8e8ee40d5aa1149d1733bd3b | [
"MIT"
] | 33 | 2018-08-11T16:48:53.000Z | 2021-06-07T19:11:20.000Z | mynn/activations/__init__.py | davidmascharka/MyNN | 0da56806ed4b6cec8e8ee40d5aa1149d1733bd3b | [
"MIT"
] | 2 | 2018-08-13T19:05:09.000Z | 2021-05-07T09:57:53.000Z | from mygrad.nnet.activations import *
log_softmax = logsoftmax
del logsoftmax
| 15.8 | 37 | 0.822785 | 10 | 79 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 4 | 38 | 19.75 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
99f707c1a721156f92bff7539f6ec6cc81f9f3b4 | 193 | py | Python | txtemplates/echo/__init__.py | mdrohmann/txtemplates | b346b15d3eb465ec828a31fea0a00df3ae582942 | [
"BSD-3-Clause"
] | null | null | null | txtemplates/echo/__init__.py | mdrohmann/txtemplates | b346b15d3eb465ec828a31fea0a00df3ae582942 | [
"BSD-3-Clause"
] | null | null | null | txtemplates/echo/__init__.py | mdrohmann/txtemplates | b346b15d3eb465ec828a31fea0a00df3ae582942 | [
"BSD-3-Clause"
] | null | null | null | """
Minimal server module used for debugging.
"""
import backend
import service
import protocol
__all__ = ['backend', 'service', 'protocol']
# vim: set ft=python spell spelllang=en sw=4 et:
| 16.083333 | 48 | 0.720207 | 26 | 193 | 5.192308 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.15544 | 193 | 11 | 49 | 17.545455 | 0.822086 | 0.46114 | 0 | 0 | 0 | 0 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
821543b228d62a687d310733959a84249fcb0f1f | 178 | py | Python | text_analysis/main/urls.py | bungoume/mecab-web-api | d69fb87778c54e73652652b38dd14245bfb8f4a5 | [
"MIT"
] | 36 | 2015-01-14T03:11:28.000Z | 2022-01-10T03:50:21.000Z | text_analysis/main/urls.py | bungoume/mecab-web-api | d69fb87778c54e73652652b38dd14245bfb8f4a5 | [
"MIT"
] | 49 | 2018-10-04T04:03:11.000Z | 2022-03-07T02:00:25.000Z | text_analysis/main/urls.py | bungoume/mecab-web-api | d69fb87778c54e73652652b38dd14245bfb8f4a5 | [
"MIT"
] | 7 | 2015-07-28T05:02:56.000Z | 2021-05-28T17:38:11.000Z | from django.conf.urls import url
from main import views
urlpatterns = [
url(r'^parse$', views.parse, name='parse'),
url(r'^reading$', views.reading, name='reading'),
]
| 19.777778 | 53 | 0.668539 | 25 | 178 | 4.76 | 0.52 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 178 | 8 | 54 | 22.25 | 0.793333 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
82172be7941802c5ee1e9077dcf973559bec6791 | 119 | py | Python | day_1/hackerrank_if_else.py | anishLearnsToCode/python-workshop-9 | 383d417f37c8779f17128c47eb5f4afb4411781b | [
"MIT"
] | 3 | 2021-01-29T16:35:54.000Z | 2021-11-28T15:42:55.000Z | day_1/hackerrank_if_else.py | anishLearnsToCode/python-workshop-9 | 383d417f37c8779f17128c47eb5f4afb4411781b | [
"MIT"
] | null | null | null | day_1/hackerrank_if_else.py | anishLearnsToCode/python-workshop-9 | 383d417f37c8779f17128c47eb5f4afb4411781b | [
"MIT"
] | 1 | 2021-01-13T14:08:31.000Z | 2021-01-13T14:08:31.000Z | n = int(input())
if n % 2 == 1 or 6 <= n <= 20:
print('Weird')
elif 2 <= n <= 5 or n > 20:
print('Not Weird')
| 17 | 30 | 0.462185 | 23 | 119 | 2.391304 | 0.608696 | 0.109091 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 0.310924 | 119 | 6 | 31 | 19.833333 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82230b5ac6a6bd60d80028b577c98d831cc34d26 | 329 | py | Python | cap-2/exercicio_1_modulo_1.py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | cap-2/exercicio_1_modulo_1.py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | cap-2/exercicio_1_modulo_1.py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | arquivo = open("exercicio_1.txt", "w")
arquivo.write("\nTeste 3")
arquivo.write("\nTeste 4")
arquivo.close()
arquivo = open("exercicio_1.txt", "a")
arquivo.write("\nTeste 5")
arquivo.write("\nTeste 6")
arquivo.close()
arquivo = open("exercicio_1.txt", "w")
arquivo.write("\nTeste 7")
arquivo.write("\nTeste 8")
arquivo... | 21.933333 | 38 | 0.693009 | 48 | 329 | 4.6875 | 0.333333 | 0.32 | 0.48 | 0.28 | 0.595556 | 0.595556 | 0.595556 | 0.382222 | 0.382222 | 0 | 0 | 0.03 | 0.088146 | 329 | 14 | 39 | 23.5 | 0.72 | 0 | 0 | 0.416667 | 0 | 0 | 0.31003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8231786275267cf2d054b04cb9b1d06171482cd7 | 243 | py | Python | src/blog/managers.py | amirpsd/drf_blog_api | 58be081a450840114af021e7412e469fad90456d | [
"MIT"
] | 33 | 2022-02-11T12:16:29.000Z | 2022-03-26T15:08:47.000Z | src/blog/managers.py | amirpsd/django_blog_api | 58be081a450840114af021e7412e469fad90456d | [
"MIT"
] | null | null | null | src/blog/managers.py | amirpsd/django_blog_api | 58be081a450840114af021e7412e469fad90456d | [
"MIT"
] | 5 | 2022-02-11T13:03:52.000Z | 2022-03-28T16:04:32.000Z | from django.db.models import Manager
# create manager
class BlogManager(Manager):
def publish(self):
return self.filter(status='p')
class CategoryManager(Manager):
def active(self):
return self.filter(status=True)
| 18.692308 | 39 | 0.699588 | 30 | 243 | 5.666667 | 0.633333 | 0.117647 | 0.164706 | 0.235294 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 243 | 12 | 40 | 20.25 | 0.871795 | 0.057613 | 0 | 0 | 0 | 0 | 0.004425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
8243ed7850499e35c23e937600f58b196b8b2307 | 2,454 | py | Python | headliner/model/basic_model.py | audriusuzkuraitis/headliner | f915306fd80218949a6447aa915c93ef4b44fdd0 | [
"MIT"
] | 1 | 2021-01-05T16:26:28.000Z | 2021-01-05T16:26:28.000Z | headliner/model/model_basic.py | lucko515/headliner | ac2cef164a7fbad19b93501177cf25993cf6c588 | [
"MIT"
] | null | null | null | headliner/model/model_basic.py | lucko515/headliner | ac2cef164a7fbad19b93501177cf25993cf6c588 | [
"MIT"
] | null | null | null | from typing import Tuple
import tensorflow as tf
class Encoder(tf.keras.Model):
def __init__(self,
embedding_shape: Tuple[int, int],
lstm_size=50,
embedding_weights=None,
embedding_trainable=True) -> None:
super(Encoder, self).__init__(... | 43.052632 | 112 | 0.577017 | 278 | 2,454 | 4.845324 | 0.18705 | 0.071269 | 0.048255 | 0.059391 | 0.799555 | 0.739421 | 0.739421 | 0.614699 | 0.614699 | 0.614699 | 0 | 0.002449 | 0.334556 | 2,454 | 56 | 113 | 43.821429 | 0.822413 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108696 | false | 0 | 0.043478 | 0.021739 | 0.26087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
41467b4919fb523e56e60f29cc674158531c7648 | 79 | py | Python | py_portfolio_index/bin/lists/__init__.py | greenmtnboy/py-portfolio-index | 99ea2619ae60bfdee2e9d4bbccfd7e4fac43b52f | [
"MIT"
] | 1 | 2021-08-13T22:55:58.000Z | 2021-08-13T22:55:58.000Z | py_portfolio_index/bin/lists/__init__.py | ajmal017/py-portfolio-index | 4966bb82fd7e99709492c004eccacf6194563f73 | [
"MIT"
] | null | null | null | py_portfolio_index/bin/lists/__init__.py | ajmal017/py-portfolio-index | 4966bb82fd7e99709492c004eccacf6194563f73 | [
"MIT"
] | 1 | 2021-08-13T22:55:49.000Z | 2021-08-13T22:55:49.000Z | from .inventory import StocklistInventory
STOCK_LISTS = StocklistInventory()
| 15.8 | 41 | 0.835443 | 7 | 79 | 9.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 79 | 4 | 42 | 19.75 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
414ceba1dab80558e8117417627a3a172ef6b451 | 1,171 | py | Python | Projects/TdorListToCsv/Report.py | annajayne/tdor-site | 7fb2d6ce8afa571b34e4b41432b655798c6e252a | [
"MIT"
] | null | null | null | Projects/TdorListToCsv/Report.py | annajayne/tdor-site | 7fb2d6ce8afa571b34e4b41432b655798c6e252a | [
"MIT"
] | 2 | 2020-11-14T12:01:33.000Z | 2020-11-14T12:08:44.000Z | Projects/TdorListToCsv/Report.py | annajayne/tdor-site | 7fb2d6ce8afa571b34e4b41432b655798c6e252a | [
"MIT"
] | null | null | null | class Report:
def __init__(self):
self.set_age('')
self.set_date('')
self.set_cause('')
self.set_location('')
self.set_remarks('')
self.set_source('')
def clear():
self.data = []
def empty(self):
return (len(self.name) == 0)
... | 18.015385 | 38 | 0.53544 | 140 | 1,171 | 4.307143 | 0.142857 | 0.13267 | 0.162521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001337 | 0.36123 | 1,171 | 64 | 39 | 18.296875 | 0.804813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.425 | false | 0 | 0 | 0.2 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
416a6dd3c8f58ac1aed4ab986d35c46ae1cab248 | 865 | py | Python | setup.py | svartalf/python-opus | a3c1d556d2772b5be659ddd08c033ddd4d566b3a | [
"BSD-3-Clause"
] | 22 | 2015-01-12T21:18:41.000Z | 2021-08-10T04:07:15.000Z | setup.py | svartalf/python-opus | a3c1d556d2772b5be659ddd08c033ddd4d566b3a | [
"BSD-3-Clause"
] | 3 | 2015-12-21T08:14:39.000Z | 2020-12-08T15:36:17.000Z | setup.py | svartalf/python-opus | a3c1d556d2772b5be659ddd08c033ddd4d566b3a | [
"BSD-3-Clause"
] | 21 | 2015-01-02T22:18:53.000Z | 2021-02-03T15:44:43.000Z | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='opus',
version='0.0.1',
author='SvartalF',
author_email='self@svartalf.info',
url='https://github.com/svartalf/python-opus',
description='Python bindings to the libopus, IETF low-delay audio codec',
packages=('opus', 'opus.a... | 32.037037 | 77 | 0.602312 | 90 | 865 | 5.766667 | 0.711111 | 0.146435 | 0.192678 | 0.150289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016768 | 0.241619 | 865 | 26 | 78 | 33.269231 | 0.77439 | 0.024277 | 0 | 0 | 0 | 0 | 0.614014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.043478 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
418a275925658046d8c21c6fb10c3bcf3c2de729 | 982 | py | Python | filter_plugins/core.py | DirkTheDaring/proxmox-fcos | b38c05a5d814ea4820e0b17b16dc2b8c212a650b | [
"BSD-3-Clause"
] | null | null | null | filter_plugins/core.py | DirkTheDaring/proxmox-fcos | b38c05a5d814ea4820e0b17b16dc2b8c212a650b | [
"BSD-3-Clause"
] | null | null | null | filter_plugins/core.py | DirkTheDaring/proxmox-fcos | b38c05a5d814ea4820e0b17b16dc2b8c212a650b | [
"BSD-3-Clause"
] | null | null | null | def filter_child_dictionary(dictionary, key, value):
newdict = {}
for child_name in dictionary:
child = dictionary[child_name]
if not key in child:
continue
if str(child[key]) != str(value):
continue
newdict[child_name] = child
return newdict
def filter_child_attr(dictionary, key, ava... | 27.277778 | 66 | 0.730143 | 126 | 982 | 5.380952 | 0.206349 | 0.19469 | 0.199115 | 0.185841 | 0.716814 | 0.547198 | 0.547198 | 0.547198 | 0.315634 | 0.315634 | 0 | 0 | 0.189409 | 982 | 35 | 67 | 28.057143 | 0.851759 | 0 | 0 | 0.413793 | 0 | 0 | 0.076375 | 0.076375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0 | 0 | 0.103448 | 0.37931 | 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 | 1 | 0 | 0 | 0 | 3 |
418eeba56215ea28ab36563df70a1daa57be3996 | 3,233 | py | Python | tests/fixtures/test_references_json/content_10_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 9 | 2015-04-16T08:13:31.000Z | 2020-05-18T14:03:06.000Z | tests/fixtures/test_references_json/content_10_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 310 | 2015-02-11T00:30:09.000Z | 2021-07-14T23:58:50.000Z | tests/fixtures/test_references_json/content_10_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 9 | 2015-02-04T01:21:28.000Z | 2021-06-15T12:50:47.000Z | from collections import OrderedDict
expected = [
OrderedDict(
[
("type", "unknown"),
("id", u"bib20"),
("date", u"1993"),
(
"authors",
[
OrderedDict(
[
("t... | 35.141304 | 86 | 0.163316 | 101 | 3,233 | 5.227723 | 0.39604 | 0.170455 | 0.198864 | 0.236742 | 0.435606 | 0.435606 | 0.435606 | 0 | 0 | 0 | 0 | 0.042553 | 0.752861 | 3,233 | 91 | 87 | 35.527473 | 0.618273 | 0 | 0 | 0.422222 | 0 | 0.011111 | 0.119394 | 0.006805 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011111 | 0 | 0.011111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
41959fb1f1e972c7ddefbb767e3778a8565f0cd6 | 1,434 | py | Python | orangecontrib/OasysWiser/widgets/optical_elements/ow_plane_mirror.py | aljosahafner/OasysWiser | 1d4042102a5016d5d46d29af1cd17bf0c83b9b21 | [
"MIT"
] | null | null | null | orangecontrib/OasysWiser/widgets/optical_elements/ow_plane_mirror.py | aljosahafner/OasysWiser | 1d4042102a5016d5d46d29af1cd17bf0c83b9b21 | [
"MIT"
] | 2 | 2019-04-06T16:29:36.000Z | 2019-04-06T16:31:33.000Z | orangecontrib/OasysWiser/widgets/optical_elements/ow_plane_mirror.py | aljosahafner/OasysWiser | 1d4042102a5016d5d46d29af1cd17bf0c83b9b21 | [
"MIT"
] | 1 | 2020-03-31T10:14:47.000Z | 2020-03-31T10:14:47.000Z | import numpy
from syned.widget.widget_decorator import WidgetDecorator
from syned.beamline.shape import Plane
from wiselib2 import Optics
from wofrywise2.beamline.optical_elements.wise_plane_mirror import WisePlaneMirror
from orangecontrib.wise2.widgets.gui.ow_optical_element import OWOpticalElement
class OWPlaneM... | 34.142857 | 93 | 0.725244 | 164 | 1,434 | 6.060976 | 0.457317 | 0.112676 | 0.04829 | 0.069417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004417 | 0.2106 | 1,434 | 41 | 94 | 34.97561 | 0.873675 | 0 | 0 | 0.071429 | 0 | 0 | 0.082345 | 0.015352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.214286 | 0.071429 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
41a785ef33b44eebce4a41fa62b8c3c1bb9f0755 | 658 | py | Python | exercicios_mundo-I/ex004b.py | Lucas-Lourencao/ExerciciosPython | e43ce23dbddd126abb9ce6c02bd39dac3677856e | [
"MIT"
] | null | null | null | exercicios_mundo-I/ex004b.py | Lucas-Lourencao/ExerciciosPython | e43ce23dbddd126abb9ce6c02bd39dac3677856e | [
"MIT"
] | null | null | null | exercicios_mundo-I/ex004b.py | Lucas-Lourencao/ExerciciosPython | e43ce23dbddd126abb9ce6c02bd39dac3677856e | [
"MIT"
] | null | null | null | # Dissecando uma variável:
# Exercício para testar tipos primitivos e informações sobre o que for digitado.
a = input('Digite algo: ')
print(type(a))
print('O valor digitado só tem espaços?', a.isspace())
print('O valor digitado é número?', a.isnumeric())
print('O valor digitado é alfanumérico?', a.isalnum())
print('O ... | 47 | 80 | 0.731003 | 100 | 658 | 4.81 | 0.49 | 0.112266 | 0.205821 | 0.355509 | 0.318087 | 0.10395 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12614 | 658 | 13 | 81 | 50.615385 | 0.836522 | 0.156535 | 0 | 0 | 0 | 0 | 0.557971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.909091 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
68c6ad0fb0ff1aef97250832446bf2d3a3408d7b | 2,723 | py | Python | Project/FindMaxAverageDelayType.py | QinganZhao/Big-Data-Management-and-Analysis | 08b68a8a77743f5dea779744dd2011543d92f38c | [
"MIT"
] | 1 | 2020-10-13T10:48:45.000Z | 2020-10-13T10:48:45.000Z | Project/FindMaxAverageDelayType.py | QinganZhao/Big-Data-Management-and-Analysis | 08b68a8a77743f5dea779744dd2011543d92f38c | [
"MIT"
] | null | null | null | Project/FindMaxAverageDelayType.py | QinganZhao/Big-Data-Management-and-Analysis | 08b68a8a77743f5dea779744dd2011543d92f38c | [
"MIT"
] | 1 | 2020-10-13T10:48:46.000Z | 2020-10-13T10:48:46.000Z | #!/usr/bin/python
import sys
def FindMaxAverageDelayType(carrier, weather, nas, security, late_aircraft):
key = ['CARRIER_DELAY', 'WEATHER_DELAY', 'NAS_DELAY', ... | 143.315789 | 187 | 0.228057 | 116 | 2,723 | 5.181034 | 0.344828 | 0.1198 | 0.084859 | 0.124792 | 0.467554 | 0.467554 | 0.282862 | 0.282862 | 0.282862 | 0.282862 | 0 | 0.002703 | 0.728241 | 2,723 | 18 | 188 | 151.277778 | 0.809459 | 0.005876 | 0 | 0 | 0 | 0 | 0.059524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.058824 | null | null | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
68d2957f7301c3ffbedcb28519ed65a70b320032 | 483 | py | Python | source/supervised/gaussian_process.py | ValentinCalomme/skratch | f234a9b95adfdb20d231d7f8c761ab1098733cb8 | [
"MIT"
] | 4 | 2017-10-27T07:23:34.000Z | 2020-02-11T18:02:39.000Z | source/supervised/gaussian_process.py | ValentinCalomme/skratch | f234a9b95adfdb20d231d7f8c761ab1098733cb8 | [
"MIT"
] | null | null | null | source/supervised/gaussian_process.py | ValentinCalomme/skratch | f234a9b95adfdb20d231d7f8c761ab1098733cb8 | [
"MIT"
] | null | null | null | """Implementation coming soon"""
import numpy as np
from utils.kernels import RBF, LinearKernel, PolynomialKernel
from utils.optimization import GradientDescentOptimizer
class GaussianProcessRegressor:
def __init__(self, kernel=RBF(1.0), seed=0):
self.kernel = kernel
self.rnd = np.random.Rand... | 17.25 | 61 | 0.677019 | 59 | 483 | 5.457627 | 0.576271 | 0.046584 | 0.068323 | 0.093168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.236025 | 483 | 27 | 62 | 17.888889 | 0.864499 | 0.05383 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.230769 | 0.230769 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
68e135f8c698f904728788b7fdcbca1ace9c4596 | 555 | py | Python | history.py | belajarqywok/BL-userExample | 569722b3bae177dac735f7b8cf18860871ce5235 | [
"MIT"
] | 1 | 2021-09-24T11:59:29.000Z | 2021-09-24T11:59:29.000Z | history.py | belajarqywok/BL-userExample | 569722b3bae177dac735f7b8cf18860871ce5235 | [
"MIT"
] | null | null | null | history.py | belajarqywok/BL-userExample | 569722b3bae177dac735f7b8cf18860871ce5235 | [
"MIT"
] | null | null | null | #!/bin/env python3
import datetime
class createUserHistory:
def __init__(self,fileName,history):
self.f=open(fileName,"a")
self.History=history
def create(self):
self.f.writelines("date : "+datetime.datetime.now().strftime("%H")+"-"+datetime.datetime.now().strftime("%d")+"-"+datetime.dat... | 46.25 | 208 | 0.517117 | 56 | 555 | 5.053571 | 0.482143 | 0.226148 | 0.268551 | 0.381625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002299 | 0.216216 | 555 | 12 | 209 | 46.25 | 0.648276 | 0.030631 | 0 | 0 | 0 | 0 | 0.139405 | 0.083643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec019ee0985ddac3614f1fdf276152cbd847efce | 3,726 | py | Python | tests/_strategies.py | orsinium-forks/json-syntax | a1a9eeb113f13ac62bdea6db9847d7d19658fc50 | [
"MIT"
] | 9 | 2019-02-08T05:59:11.000Z | 2021-04-10T18:04:15.000Z | tests/_strategies.py | orsinium-forks/json-syntax | a1a9eeb113f13ac62bdea6db9847d7d19658fc50 | [
"MIT"
] | 7 | 2019-02-11T15:49:57.000Z | 2020-12-09T08:37:07.000Z | tests/_strategies.py | orsinium-forks/json-syntax | a1a9eeb113f13ac62bdea6db9847d7d19658fc50 | [
"MIT"
] | 4 | 2019-02-05T18:24:40.000Z | 2021-09-30T03:22:07.000Z | """
Some miscellany to keep the type_strategies module a bit more readable.
"""
from hypothesis import strategies as st
import attr
try:
import dataclasses as dc
except ImportError:
dc = None
from datetime import date
from enum import IntEnum
from keyword import iskeyword
import os
import typing
MAX_FIELDS ... | 24.513158 | 88 | 0.648953 | 510 | 3,726 | 4.558824 | 0.303922 | 0.037849 | 0.060215 | 0.060215 | 0.277419 | 0.247742 | 0.212043 | 0.157849 | 0.104946 | 0.067957 | 0 | 0.003777 | 0.218465 | 3,726 | 151 | 89 | 24.675497 | 0.794643 | 0.100913 | 0 | 0.12766 | 0 | 0 | 0.018879 | 0 | 0 | 0 | 0.001199 | 0 | 0 | 1 | 0.212766 | false | 0.010638 | 0.095745 | 0.148936 | 0.521277 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ec1d2d3db8b2ef70546ed8bc91f890f3b5fd3c92 | 1,686 | py | Python | Ejercicio 4/CuentaBancaria.py | alexbalduz/EjerciciosPOO | 550b69bc42d21e092482e0efc31a67e7212b9839 | [
"Apache-2.0"
] | null | null | null | Ejercicio 4/CuentaBancaria.py | alexbalduz/EjerciciosPOO | 550b69bc42d21e092482e0efc31a67e7212b9839 | [
"Apache-2.0"
] | 1 | 2021-11-14T23:17:50.000Z | 2021-11-14T23:17:50.000Z | Ejercicio 4/CuentaBancaria.py | alexbalduz/EjerciciosPOO | 550b69bc42d21e092482e0efc31a67e7212b9839 | [
"Apache-2.0"
] | null | null | null | class CuentaBancaria():
def __init__(self, ID, titular, fecha_apertura, numero_cuenta, saldo):
self.ID = ID
self.titular = titular
self.fecha_apertura = fecha_apertura
self.numero_cuenta = numero_cuenta
self.saldo = saldo
#Método set
def setID(self, ID):
self... | 27.639344 | 74 | 0.639383 | 194 | 1,686 | 5.396907 | 0.201031 | 0.086915 | 0.066858 | 0.042025 | 0.324737 | 0.213945 | 0.213945 | 0.213945 | 0.213945 | 0.127985 | 0 | 0 | 0.275801 | 1,686 | 60 | 75 | 28.1 | 0.857494 | 0.060498 | 0 | 0.380952 | 0 | 0 | 0.048132 | 0 | 0 | 0 | 0 | 0.016667 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.119048 | 0.47619 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ec2465c7064ddf1bc175ced63322860beb4d371e | 36 | py | Python | ciphey/iface/_fwd.py | emadfuel/Ciphey | 323fe3aa5eac07a8c25354bdb19fe8a860c11958 | [
"MIT"
] | 9,908 | 2020-06-06T01:06:50.000Z | 2022-03-31T21:22:57.000Z | ciphey/iface/_fwd.py | emadfuel/Ciphey | 323fe3aa5eac07a8c25354bdb19fe8a860c11958 | [
"MIT"
] | 423 | 2020-05-30T11:44:37.000Z | 2022-03-18T03:15:30.000Z | ciphey/iface/_fwd.py | emadfuel/Ciphey | 323fe3aa5eac07a8c25354bdb19fe8a860c11958 | [
"MIT"
] | 714 | 2020-06-09T20:24:41.000Z | 2022-03-29T15:28:53.000Z | registry = None
config = type(None)
| 12 | 19 | 0.722222 | 5 | 36 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 2 | 20 | 18 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec251ef94ee94ee4fea6354fcaac3fc04e7bc32a | 1,556 | py | Python | Python/Programming-in-Python/3. Building web-services in Python/Week1/Lecture/regular.py | EldanGS/Engineering | beff426dfeaf71a5cb32b74be81df9540ebece4a | [
"MIT"
] | null | null | null | Python/Programming-in-Python/3. Building web-services in Python/Week1/Lecture/regular.py | EldanGS/Engineering | beff426dfeaf71a5cb32b74be81df9540ebece4a | [
"MIT"
] | 1 | 2019-11-03T10:28:33.000Z | 2019-12-29T17:34:46.000Z | Python/Programming-in-Python/3. Building web-services in Python/Week1/Lecture/regular.py | EldanGS/Engineering | beff426dfeaf71a5cb32b74be81df9540ebece4a | [
"MIT"
] | null | null | null | import re
# Найти все действительные числа, например: -100; 21.4; +5.3; -1.5; 0
# res = re.findall(r"[-+]?\d+(?:\.\d+)?", test_str)
# Проверить, что строка это серийный номер вида 00XXX-XXXXX-XXXXX-XXXXX, где X - шестнадцатиричная цифра
# if re.match(r"^00[\da-f]{3}(?:-[\da-f]{5}){3}$", serial_str, re.IGNORECASE):
#... | 36.186047 | 143 | 0.673522 | 255 | 1,556 | 4.062745 | 0.588235 | 0.046332 | 0.034749 | 0.03861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042741 | 0.127892 | 1,556 | 43 | 144 | 36.186047 | 0.720707 | 0.713368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ec2799085ac18c8cf9d0b18092f5f0ab41246c34 | 4,167 | py | Python | omegasensor/bus_i2c.py | bdinhomega/omega-smartsensor-python | 24f88b6246ce69962a2622fd70704f22f2ff76bd | [
"MIT"
] | null | null | null | omegasensor/bus_i2c.py | bdinhomega/omega-smartsensor-python | 24f88b6246ce69962a2622fd70704f22f2ff76bd | [
"MIT"
] | 3 | 2020-07-02T21:47:15.000Z | 2020-12-20T13:09:52.000Z | omegasensor/bus_i2c.py | bdinhomega/omega-smartsensor-python | 24f88b6246ce69962a2622fd70704f22f2ff76bd | [
"MIT"
] | 1 | 2019-07-01T22:46:03.000Z | 2019-07-01T22:46:03.000Z | import smbus
import struct
from .bus import Bus, bus_logger
SMARTSENSOR_I2C_ADDR = 0x68
class BusI2C(Bus):
def __init__(self, bus_id, dev_addr):
"""
Initialize Bus I2C with bus id for device address on the bus
:param bus_id: bus id (eg:1, 2, ...)
:param dev_addr: device addre... | 31.80916 | 73 | 0.595152 | 546 | 4,167 | 4.349817 | 0.117216 | 0.112 | 0.181895 | 0.174316 | 0.650947 | 0.606737 | 0.533053 | 0.494737 | 0.464 | 0.464 | 0 | 0.021936 | 0.310775 | 4,167 | 130 | 74 | 32.053846 | 0.805014 | 0.344132 | 0 | 0.234043 | 0 | 0 | 0.021315 | 0 | 0 | 0 | 0.001814 | 0 | 0.021277 | 1 | 0.276596 | false | 0 | 0.06383 | 0 | 0.489362 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec38005d270c596c400c802b6093e6743e25eb9c | 152 | py | Python | python/ch_07_filter.py | simonmonk/raspberrypi_cookbook_ed4 | dc320dfae4252f70c812af1dd7739d13d09615c1 | [
"MIT"
] | 7 | 2022-03-19T18:53:39.000Z | 2022-03-22T13:41:30.000Z | python/ch_07_filter.py | simonmonk/raspberrypi_cookbook_ed4 | dc320dfae4252f70c812af1dd7739d13d09615c1 | [
"MIT"
] | null | null | null | python/ch_07_filter.py | simonmonk/raspberrypi_cookbook_ed4 | dc320dfae4252f70c812af1dd7739d13d09615c1 | [
"MIT"
] | null | null | null | new_list = []
people = ['agnes', 'andrew','jane','peter']
for person in people:
if person[0] == 'a':
new_list.append(person)
print(new_list) | 25.333333 | 43 | 0.618421 | 22 | 152 | 4.136364 | 0.681818 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.184211 | 152 | 6 | 44 | 25.333333 | 0.725806 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ec38265953ceab4d1b85721c4f30a8f312831d23 | 690 | py | Python | examples/session4/snow.py | futurice/PythonInBrowser | 066ab28ffad265efc7968b87f33dab2c68216d9d | [
"MIT"
] | 4 | 2015-12-08T19:34:49.000Z | 2019-09-08T22:11:05.000Z | examples/session4/snow.py | futurice/PythonInBrowser | 066ab28ffad265efc7968b87f33dab2c68216d9d | [
"MIT"
] | 18 | 2016-10-14T13:48:39.000Z | 2019-10-11T12:14:21.000Z | examples/session4/snow.py | futurice/PythonInBrowser | 066ab28ffad265efc7968b87f33dab2c68216d9d | [
"MIT"
] | 4 | 2015-11-18T15:18:43.000Z | 2018-03-02T09:36:23.000Z | # Let's draw snowflakes
##### INFO #####
# Click run to see what happens when function letThereBeSnow is called
import winter
winter.letThereBeSnow(20)
##### Exercise #####
# In the beginning we import winter. To see what is in winter go to Modules and open Winter.
# You can find Modules under Exercises. Read the cod... | 32.857143 | 92 | 0.743478 | 115 | 690 | 4.46087 | 0.582609 | 0.019493 | 0.035088 | 0.070175 | 0.089669 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012545 | 0.191304 | 690 | 20 | 93 | 34.5 | 0.90681 | 0.872464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ec5813245cf0a9c08a1911e4c7e2f24ff5efcb2d | 2,586 | py | Python | PythonTricks/ch03_03.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2020-10-12T13:33:29.000Z | 2020-10-12T13:33:29.000Z | PythonTricks/ch03_03.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | null | null | null | PythonTricks/ch03_03.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2016-11-09T07:28:45.000Z | 2016-11-09T07:28:45.000Z | #!/usr/bin/env python
def null_decorator(func):
return func
null_decorator(print)('Hello decorator!')
def greet():
return 'Hello!'
print(null_decorator(greet)())
print('greet:', greet)
print('null_decorator(greet):', null_decorator(greet))
def uppercase(func):
def wrapper():
original_result = ... | 23.724771 | 89 | 0.520882 | 243 | 2,586 | 5.329218 | 0.234568 | 0.032432 | 0.064865 | 0.061776 | 0.301158 | 0.239382 | 0.239382 | 0.239382 | 0.239382 | 0.239382 | 0 | 0.003683 | 0.160093 | 2,586 | 108 | 90 | 23.944444 | 0.592541 | 0.028616 | 0 | 0.480519 | 0 | 0 | 0.389444 | 0.20072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.246753 | false | 0 | 0.012987 | 0.116883 | 0.506494 | 0.337662 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6b67b773888b707398601510246c08ee287f8088 | 127 | py | Python | test/files/template-engine/custom-delimiter.py | AlexCortinas/spl-js-engine | c7931a5024b9f096ed283daa40e09d6239c9ae21 | [
"MIT"
] | 1 | 2021-12-17T14:43:36.000Z | 2021-12-17T14:43:36.000Z | test/files/template-engine/custom-delimiter.py | AlexCortinas/spl-js-engine | c7931a5024b9f096ed283daa40e09d6239c9ae21 | [
"MIT"
] | 1 | 2020-11-20T09:24:30.000Z | 2020-11-20T09:24:30.000Z | test/files/template-engine/custom-delimiter.py | AlexCortinas/spl-js-engine | c7931a5024b9f096ed283daa40e09d6239c9ae21 | [
"MIT"
] | null | null | null | #% if (feature.ask) { %#
name = raw_input('What is your name?\n')
#% } else { %#
name = 'alex'
#% } %#
print 'Hi, %s.' % name
| 15.875 | 40 | 0.503937 | 18 | 127 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220472 | 127 | 7 | 41 | 18.142857 | 0.636364 | 0.307087 | 0 | 0 | 0 | 0 | 0.378049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b6b3ef1779ee01919d94b36dadaa2a17af628cb | 750 | py | Python | pac/date_time_op.py | prabhatkumarsagar/Ok-Computer | 76d8a60d31a30d35e6e8b78901b817913045fbf3 | [
"MIT"
] | 2 | 2020-10-18T06:45:54.000Z | 2020-11-07T07:35:52.000Z | pac/date_time_op.py | prabhatkumarsagar/Python-Desktop-Assistant | 76d8a60d31a30d35e6e8b78901b817913045fbf3 | [
"MIT"
] | 9 | 2021-09-03T12:11:19.000Z | 2021-09-24T23:10:19.000Z | pac/date_time_op.py | prabhatkumarsagar/Python-Desktop-Assistant | 76d8a60d31a30d35e6e8b78901b817913045fbf3 | [
"MIT"
] | null | null | null | import datetime
import time as samay
try:
from pac import voice_io
except ModuleNotFoundError:
import voice_io
def date():
x = datetime.datetime.now().strftime("%d/%m/%Y")
voice_io.show(f"Today's date is {x} (DD/MM/YYYY)")
def time():
#x=datetime.datetime.now().strftime("%H:%M:%S")
loca... | 25 | 55 | 0.636 | 120 | 750 | 3.916667 | 0.333333 | 0.104255 | 0.180851 | 0.212766 | 0.514894 | 0.140426 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 750 | 29 | 56 | 25.862069 | 0.764228 | 0.061333 | 0 | 0 | 0 | 0 | 0.206009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.181818 | 0 | 0.409091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b7064d8c56be0af679f7806003a58d6d6808dfb | 199 | py | Python | try_except.py | purva-saxena/Python-programming | 9458ddca9fc890eeb1fb3a16ceed74cedfcb116d | [
"MIT"
] | 14 | 2020-09-29T07:29:33.000Z | 2020-11-03T04:26:39.000Z | try_except.py | purva-saxena/Python-programming | 9458ddca9fc890eeb1fb3a16ceed74cedfcb116d | [
"MIT"
] | 4 | 2020-10-23T18:10:50.000Z | 2020-10-29T18:39:20.000Z | try_except.py | purva-saxena/Python-programming | 9458ddca9fc890eeb1fb3a16ceed74cedfcb116d | [
"MIT"
] | 5 | 2020-10-15T23:49:29.000Z | 2020-10-28T20:16:42.000Z | try:
num1 = int(input("TELL ME YOUR AGE\n"))
num2 = int(input("TELL ME YOUR name\n"))
print(num1 + num2)
# print(num2)
except Exception as dfdfe:
print(dfdfe)
print("HELLO\n")
| 16.583333 | 44 | 0.60804 | 31 | 199 | 3.903226 | 0.548387 | 0.132231 | 0.198347 | 0.231405 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032895 | 0.236181 | 199 | 11 | 45 | 18.090909 | 0.763158 | 0.055276 | 0 | 0 | 0 | 0 | 0.237838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6b7c3eb5e8f22d85220817d66b3c94157606b9f8 | 157 | py | Python | reference/hello.py | philanaaurelia/ucsb-gradescope-diff-based-testing | b05f81eb772f187e3ac83f1c3cc98dcb367fed30 | [
"MIT"
] | 2 | 2018-03-29T22:36:37.000Z | 2018-03-30T04:08:40.000Z | reference/hello.py | project-anacapa/gradescope-diff-engine | b6b1c36d5508dc675657c5219128ebd65042ce82 | [
"MIT"
] | null | null | null | reference/hello.py | project-anacapa/gradescope-diff-engine | b6b1c36d5508dc675657c5219128ebd65042ce82 | [
"MIT"
] | 6 | 2018-08-16T20:35:38.000Z | 2021-09-29T06:23:09.000Z | import sys
print("Hello World on Stdout")
print('spam on stderr', file=sys.stderr)
with open('myfile.out', 'w') as out:
out.write("Hello myfile.out")
| 17.444444 | 40 | 0.681529 | 26 | 157 | 4.115385 | 0.653846 | 0.168224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152866 | 157 | 8 | 41 | 19.625 | 0.804511 | 0 | 0 | 0 | 0 | 0 | 0.397436 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b990ee78718d71db1770ff81ce43c843008e8ed | 1,473 | py | Python | tests/__init__.py | AndreGosselink/binderfinder | 3704b62c2d6ad8825a20ddf86dbd80c3c82b4a12 | [
"BSD-4-Clause"
] | null | null | null | tests/__init__.py | AndreGosselink/binderfinder | 3704b62c2d6ad8825a20ddf86dbd80c3c82b4a12 | [
"BSD-4-Clause"
] | null | null | null | tests/__init__.py | AndreGosselink/binderfinder | 3704b62c2d6ad8825a20ddf86dbd80c3c82b4a12 | [
"BSD-4-Clause"
] | null | null | null | import numpy as np
import os
def get_params(kw):
param_dict = dict(pca_min=dict(filename=os.path.join('data', 'mock_data_pca_testcases.csv'),
annotate=False,
normalize=True,
covplot=False,
... | 44.636364 | 97 | 0.325187 | 285 | 1,473 | 1.652632 | 0.207018 | 0.029724 | 0.019108 | 0.016985 | 0.025478 | 0.025478 | 0 | 0 | 0 | 0 | 0 | 0.320778 | 0.441276 | 1,473 | 32 | 98 | 46.03125 | 0.251519 | 0 | 0 | 0 | 0 | 0 | 0.021513 | 0.018737 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.068966 | 0 | 0.206897 | 0 | 0 | 0 | 1 | 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 | 3 |
6bcbb3e5ea67ecd5b0a61799f0e99ccabcf98ba1 | 4,176 | py | Python | plot/spatial_distribution.py | stanford-policylab/surveilling-surveillance | bbb9a147927a6342eecfe07ffa756b3acdb63f35 | [
"MIT"
] | 8 | 2021-05-21T03:38:52.000Z | 2021-11-21T08:32:41.000Z | plot/spatial_distribution.py | stanford-policylab/surveilling-surveillance | bbb9a147927a6342eecfe07ffa756b3acdb63f35 | [
"MIT"
] | null | null | null | plot/spatial_distribution.py | stanford-policylab/surveilling-surveillance | bbb9a147927a6342eecfe07ffa756b3acdb63f35 | [
"MIT"
] | 1 | 2021-06-13T21:49:14.000Z | 2021-06-13T21:49:14.000Z | from util import constants as C
import osmnx as ox
import pandas as pd
import pickle as pkl
from tqdm import tqdm
from matplotlib import pyplot as plt
import seaborn as sb
sb.set()
def plot_samples(
meta_file_path="/home/haosheng/dataset/camera/deployment/verified_0425.csv"):
data = pd.read_csv(meta_file_... | 33.142857 | 93 | 0.494013 | 473 | 4,176 | 4.205074 | 0.230444 | 0.024133 | 0.036199 | 0.075415 | 0.778281 | 0.760181 | 0.715938 | 0.699849 | 0.678733 | 0.612871 | 0 | 0.036036 | 0.388649 | 4,176 | 125 | 94 | 33.408 | 0.743047 | 0.003592 | 0 | 0.542056 | 0 | 0 | 0.230103 | 0.138976 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037383 | false | 0 | 0.065421 | 0 | 0.102804 | 0.046729 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6bd10a1009a7a9276dfac9b6f1302d44fec959de | 1,051 | py | Python | core/migrations/0057_auto_20210624_1451.py | CrownKira/digitalace-backend | 9489b3dc4b856688360b60a7dca040c945faab74 | [
"MIT"
] | 1 | 2021-05-28T05:22:54.000Z | 2021-05-28T05:22:54.000Z | core/migrations/0057_auto_20210624_1451.py | CrownKira/digitalace-backend | 9489b3dc4b856688360b60a7dca040c945faab74 | [
"MIT"
] | 3 | 2021-05-31T15:44:14.000Z | 2021-06-29T07:48:13.000Z | core/migrations/0057_auto_20210624_1451.py | CrownKira/digitalace-backend | 9489b3dc4b856688360b60a7dca040c945faab74 | [
"MIT"
] | 1 | 2021-05-30T07:42:54.000Z | 2021-05-30T07:42:54.000Z | # Generated by Django 3.2.3 on 2021-06-24 14:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0056_auto_20210624_1401'),
]
operations = [
migrations.AddField(
model_name='invoice',
name='reference',
... | 27.657895 | 62 | 0.569933 | 101 | 1,051 | 5.782178 | 0.415842 | 0.123288 | 0.157534 | 0.184932 | 0.638699 | 0.638699 | 0.638699 | 0.638699 | 0.638699 | 0.638699 | 0 | 0.065919 | 0.321598 | 1,051 | 37 | 63 | 28.405405 | 0.753156 | 0.042816 | 0 | 0.645161 | 1 | 0 | 0.099602 | 0.022908 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6be5641617f2cf5dcb13098a8d30b84114fa57cb | 155 | py | Python | portfolio/urls.py | samshultz/techbitsdata | 753309cbfee7bfa9a08804786f29b37f2b058436 | [
"BSD-3-Clause"
] | null | null | null | portfolio/urls.py | samshultz/techbitsdata | 753309cbfee7bfa9a08804786f29b37f2b058436 | [
"BSD-3-Clause"
] | null | null | null | portfolio/urls.py | samshultz/techbitsdata | 753309cbfee7bfa9a08804786f29b37f2b058436 | [
"BSD-3-Clause"
] | null | null | null | from django.urls import path
from . import views
app_name = 'portfolio'
urlpatterns = [
path("", views.ProjectListView.as_view(), name="projects")
] | 17.222222 | 62 | 0.709677 | 19 | 155 | 5.684211 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154839 | 155 | 9 | 63 | 17.222222 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6bf12f27a490cd0034942b4de0cc648c84a98a6b | 201 | py | Python | hello.py | jinguangzhu/the_first_python | d9d035b44652a4cd6ecd1834dd9930d1c78bf360 | [
"Apache-2.0"
] | null | null | null | hello.py | jinguangzhu/the_first_python | d9d035b44652a4cd6ecd1834dd9930d1c78bf360 | [
"Apache-2.0"
] | null | null | null | hello.py | jinguangzhu/the_first_python | d9d035b44652a4cd6ecd1834dd9930d1c78bf360 | [
"Apache-2.0"
] | 3 | 2018-06-09T01:07:45.000Z | 2018-08-06T12:41:06.000Z | print("first")
print("JinGuangzhu is a fool")
print("To see a world in a grain of sand. And a heaven in a wild flower
Hold infinity in the palm of your hand. And eternity in an hour")
print('test')
| 33.5 | 72 | 0.721393 | 39 | 201 | 3.717949 | 0.692308 | 0.041379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189055 | 201 | 5 | 73 | 40.2 | 0.889571 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.8 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d41926e6c8adf329f8c0dcf3515fc9f0685e0bc6 | 386 | py | Python | erpnext_support/patches/delete_property_setter_doc.py | manuthu/test-package | 906a2a3ce7878d81a01149a60fb06e07400e6f47 | [
"MIT"
] | null | null | null | erpnext_support/patches/delete_property_setter_doc.py | manuthu/test-package | 906a2a3ce7878d81a01149a60fb06e07400e6f47 | [
"MIT"
] | null | null | null | erpnext_support/patches/delete_property_setter_doc.py | manuthu/test-package | 906a2a3ce7878d81a01149a60fb06e07400e6f47 | [
"MIT"
] | null | null | null | import frappe
def execute():
# Delete Property Setter for issue_type as it used to be synced and updated.
if frappe.db.exists("Property Setter", {"doc_type": "ERPNext Support Issue", "field_name": "issue_type"}):
frappe.db.sql("""delete from `tabProperty Setter`
where `tabProperty Setter`.doc_type='ERPNext Supp... | 48.25 | 107 | 0.743523 | 55 | 386 | 5.090909 | 0.545455 | 0.096429 | 0.092857 | 0.142857 | 0.228571 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126943 | 386 | 8 | 108 | 48.25 | 0.830861 | 0.19171 | 0 | 0 | 0 | 0 | 0.678457 | 0.180064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d44f823d72b45a0253c1616439d00a1746c1023f | 1,183 | py | Python | chia/pools/custom_pool_api.py | littlechare/keepool-chia-blockchain | 87542572b232ccada9e5446a764979b9df8e5233 | [
"Apache-2.0"
] | 1 | 2021-06-30T13:09:31.000Z | 2021-06-30T13:09:31.000Z | chia/pools/custom_pool_api.py | littlechare/keepool-chia-blockchain | 87542572b232ccada9e5446a764979b9df8e5233 | [
"Apache-2.0"
] | 26 | 2021-07-20T12:04:35.000Z | 2022-03-29T12:10:06.000Z | chia/pools/custom_pool_api.py | littlechare/keepool-chia-blockchain | 87542572b232ccada9e5446a764979b9df8e5233 | [
"Apache-2.0"
] | null | null | null | from chia.pools.pool_config import load_pool_config, PoolWalletConfig
from chia.util.byte_types import hexstr_to_bytes
from blspy import G1Element
from pathlib import Path
from typing import List
def custom_load_pool_config(root_path: Path) -> List[PoolWalletConfig]:
ret_list = []
config = PoolWalletConfig(hex... | 62.263158 | 168 | 0.743026 | 85 | 1,183 | 10.047059 | 0.435294 | 0.056206 | 0.091335 | 0.056206 | 0.0726 | 0.0726 | 0 | 0 | 0 | 0 | 0 | 0.313559 | 0.202029 | 1,183 | 18 | 169 | 65.722222 | 0.591102 | 0 | 0 | 0 | 0 | 0 | 0.406091 | 0.379019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.3125 | 0 | 0.4375 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d4710895ea31d27e437d24cfe00330df1cb51844 | 1,089 | py | Python | src/14 - tuples.py | filchyboy/cs-intro-1 | cf6b752d3ae60b29af389cda279d39720ae5441b | [
"MIT"
] | null | null | null | src/14 - tuples.py | filchyboy/cs-intro-1 | cf6b752d3ae60b29af389cda279d39720ae5441b | [
"MIT"
] | null | null | null | src/14 - tuples.py | filchyboy/cs-intro-1 | cf6b752d3ae60b29af389cda279d39720ae5441b | [
"MIT"
] | null | null | null | """
Tuples
"""
# A tuple is a collection which is ordered and unchangeable
# 1. In Python, tuples are written with round brackets
thistuple = ("apple", "banana", "cherry")
print(thistuple)
# 2. accessing
thistuple = ("apple", "banana", "cherry")
print(thistuple[1])
# 3. reverse indexing
thistuple = ("apple", "banan... | 21.78 | 77 | 0.660239 | 143 | 1,089 | 5.027972 | 0.41958 | 0.175243 | 0.194715 | 0.253129 | 0.445063 | 0.35605 | 0.300417 | 0.18637 | 0.18637 | 0.18637 | 0 | 0.026002 | 0.152433 | 1,089 | 50 | 78 | 21.78 | 0.752979 | 0.275482 | 0 | 0.375 | 0 | 0 | 0.274611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d478b059e9eebc2ce71d7278f72b1c0bf9ca5cad | 4,751 | py | Python | tf2onnx/tflite/DimensionMetadata.py | LoicDagnas/tensorflow-onnx | 6691850e79047d05d85017573170fd8240393b57 | [
"Apache-2.0"
] | 1,473 | 2018-03-16T02:47:33.000Z | 2022-03-31T03:43:52.000Z | tf2onnx/tflite/DimensionMetadata.py | LoicDagnas/tensorflow-onnx | 6691850e79047d05d85017573170fd8240393b57 | [
"Apache-2.0"
] | 1,208 | 2018-03-14T09:58:49.000Z | 2022-03-31T17:56:20.000Z | tf2onnx/tflite/DimensionMetadata.py | LoicDagnas/tensorflow-onnx | 6691850e79047d05d85017573170fd8240393b57 | [
"Apache-2.0"
] | 350 | 2018-04-03T03:48:40.000Z | 2022-03-30T11:23:55.000Z | # SPDX-License-Identifier: Apache-2.0
# automatically generated by the FlatBuffers compiler, do not modify
# namespace: tflite
import flatbuffers
from flatbuffers.compat import import_numpy
np = import_numpy()
class DimensionMetadata(object):
__slots__ = ['_tab']
@classmethod
def GetRootAs(cls, buf, of... | 42.419643 | 150 | 0.720059 | 517 | 4,751 | 6.526112 | 0.222437 | 0.03527 | 0.078245 | 0.058684 | 0.382336 | 0.382336 | 0.358032 | 0.283343 | 0.235329 | 0.235329 | 0 | 0.014179 | 0.18354 | 4,751 | 112 | 151 | 42.419643 | 0.855633 | 0.161861 | 0 | 0.316456 | 1 | 0 | 0.005092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.329114 | false | 0 | 0.063291 | 0.025316 | 0.708861 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d480390a6cf73efb9fee975a48c7bfdc40f36225 | 979 | py | Python | services/traction/acapy_wrapper/models/menu_option.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/acapy_wrapper/models/menu_option.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/acapy_wrapper/models/menu_option.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | # coding: utf-8
from __future__ import annotations
from datetime import date, datetime # noqa: F401
import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401
from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from acapy_wrapper.models.menu_form import MenuForm
class... | 27.971429 | 96 | 0.709908 | 125 | 979 | 5.496 | 0.48 | 0.043668 | 0.116448 | 0.104803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016927 | 0.215526 | 979 | 34 | 97 | 28.794118 | 0.877604 | 0.485189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.461538 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
00f7d144350d2335042028fb40b27995f5f47cd8 | 106 | py | Python | runserver.py | codito/flow | 7eaf581e2e96f3d5f4168583fda18a57e3bb4543 | [
"MIT"
] | 1 | 2015-05-22T01:23:13.000Z | 2015-05-22T01:23:13.000Z | runserver.py | codito/flow | 7eaf581e2e96f3d5f4168583fda18a57e3bb4543 | [
"MIT"
] | 1 | 2018-09-21T12:04:12.000Z | 2018-09-21T12:04:12.000Z | runserver.py | codito/flow | 7eaf581e2e96f3d5f4168583fda18a57e3bb4543 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import flow
if __name__ == '__main__':
flow.initialize()
flow.app.run()
| 13.25 | 26 | 0.584906 | 13 | 106 | 4.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.216981 | 106 | 7 | 27 | 15.142857 | 0.638554 | 0.198113 | 0 | 0 | 0 | 0 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
00f8eb74f352bcd725f6d2c86c3345443d159593 | 50 | py | Python | quicklooper/__init__.py | deuxglaces/quicklooper | 8cb7c12f16ece1c2dd6cb796ec4b8b0c831a502e | [
"MIT"
] | null | null | null | quicklooper/__init__.py | deuxglaces/quicklooper | 8cb7c12f16ece1c2dd6cb796ec4b8b0c831a502e | [
"MIT"
] | null | null | null | quicklooper/__init__.py | deuxglaces/quicklooper | 8cb7c12f16ece1c2dd6cb796ec4b8b0c831a502e | [
"MIT"
] | null | null | null | __version__ = '1.0.0'
from .looper import Looper
| 12.5 | 26 | 0.72 | 8 | 50 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.16 | 50 | 3 | 27 | 16.666667 | 0.690476 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
00fcbbe3c8de5881e1c7f0f6c212d1a5e13e2682 | 536 | py | Python | manager/migrations/0007_auto_20201110_1622.py | UN-ICC/icc-digital-id-manager | aca0109b3202b292145326ec5523ee8f24691a83 | [
"Apache-2.0"
] | 3 | 2021-02-03T16:37:19.000Z | 2022-02-07T09:59:03.000Z | manager/migrations/0007_auto_20201110_1622.py | UN-ICC/icc-digital-id-manager | aca0109b3202b292145326ec5523ee8f24691a83 | [
"Apache-2.0"
] | null | null | null | manager/migrations/0007_auto_20201110_1622.py | UN-ICC/icc-digital-id-manager | aca0109b3202b292145326ec5523ee8f24691a83 | [
"Apache-2.0"
] | 2 | 2021-02-10T16:03:31.000Z | 2022-02-07T08:50:16.000Z | # Generated by Django 3.1 on 2020-11-10 15:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("manager", "0006_auto_20201105_1007"),
]
operations = [
migrations.RemoveField(
model_name="credentialdefinition",
name... | 23.304348 | 52 | 0.608209 | 49 | 536 | 6.510204 | 0.77551 | 0.056426 | 0.181818 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07874 | 0.289179 | 536 | 22 | 53 | 24.363636 | 0.75853 | 0.080224 | 0 | 0.25 | 1 | 0 | 0.209776 | 0.046843 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2e1811ed43f409ce5c09c98945c66fb9e103112b | 165 | py | Python | katas/beta/how_much_coffee_do_you_need.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/how_much_coffee_do_you_need.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/how_much_coffee_do_you_need.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def how_much_coffee(lst):
result = sum(a.isalpha() if a.islower() else 2 * a.isalpha() for a in lst)
return 'You need extra sleep' if result > 3 else result
| 41.25 | 78 | 0.678788 | 30 | 165 | 3.666667 | 0.7 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.206061 | 165 | 3 | 79 | 55 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2e343cd481ef2ee88b3c908edb93b07f8e965d94 | 769 | py | Python | grortir/main/pso/calls_optimization_strategy.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | grortir/main/pso/calls_optimization_strategy.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | grortir/main/pso/calls_optimization_strategy.py | wojtekPi/grortir | 0ef8b495527a4f3861e5df5db756d0ee3ed4aa6f | [
"MIT"
] | null | null | null | """Represents optimization strategy for PSO."""
from grortir.main.pso.calls_group_optimization_strategy import \
CallsGroupOptimizationStrategy
from grortir.main.pso.optimization_strategy import OptimizationStrategy
class CallsOptimizationStrategy(OptimizationStrategy):
"""Represents optimization strategy Cal... | 34.954545 | 76 | 0.73472 | 70 | 769 | 7.885714 | 0.4 | 0.217391 | 0.13587 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202861 | 769 | 21 | 77 | 36.619048 | 0.900489 | 0.408323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5cfec1686dbd0fbc9a82dff9721f0d84ecab71c2 | 198 | py | Python | pybk8500/__meta__.py | justengel/pybk8500 | 6a9748033c783a0081ec391359067dfb9dc83760 | [
"MIT"
] | null | null | null | pybk8500/__meta__.py | justengel/pybk8500 | 6a9748033c783a0081ec391359067dfb9dc83760 | [
"MIT"
] | null | null | null | pybk8500/__meta__.py | justengel/pybk8500 | 6a9748033c783a0081ec391359067dfb9dc83760 | [
"MIT"
] | null | null | null | name = 'pybk8500'
version = '1.2.0'
description = 'BK-8500-Electronic-Load python library'
url = 'https://github.com/justengel/pybk8500'
author = 'Justin Engel'
author_email = 'jtengel08@gmail.com'
| 28.285714 | 54 | 0.737374 | 27 | 198 | 5.37037 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096045 | 0.106061 | 198 | 6 | 55 | 33 | 0.723164 | 0 | 0 | 0 | 0 | 0 | 0.60101 | 0.116162 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cf08138655c22bfed6396bc5a650857f9c5adc3d | 3,175 | py | Python | jaxns/gaussian_process/kernels.py | fehiepsi/jaxns | 9cf9366f11ace564e21f938edf4d090fb5de137d | [
"Apache-2.0"
] | null | null | null | jaxns/gaussian_process/kernels.py | fehiepsi/jaxns | 9cf9366f11ace564e21f938edf4d090fb5de137d | [
"Apache-2.0"
] | null | null | null | jaxns/gaussian_process/kernels.py | fehiepsi/jaxns | 9cf9366f11ace564e21f938edf4d090fb5de137d | [
"Apache-2.0"
] | null | null | null | from jaxns.gaussian_process.utils import squared_norm, product_log
import jax.numpy as jnp
class Kernel(object):
def __call__(self, x1, x2, *args):
raise NotImplemented()
class Diagonal(Kernel):
def __call__(self, x1, x2, sigma):
return jnp.full((x1.shape[0], x1.shape[0]), sigma ** 2)
clas... | 28.097345 | 93 | 0.539213 | 477 | 3,175 | 3.509434 | 0.171908 | 0.066906 | 0.072282 | 0.064516 | 0.620669 | 0.583632 | 0.564516 | 0.540024 | 0.517324 | 0.517324 | 0 | 0.038787 | 0.293543 | 3,175 | 112 | 94 | 28.348214 | 0.707535 | 0.104252 | 0 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.344262 | false | 0 | 0.032787 | 0.229508 | 0.819672 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
cf17001941721945c77b518cbc00112421985125 | 66 | py | Python | src/lib/sre.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 10 | 2015-11-13T17:02:40.000Z | 2021-02-09T23:21:05.000Z | src/lib/sre.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 43 | 2015-06-03T17:59:23.000Z | 2021-09-17T10:45:21.000Z | src/lib/sre.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 13 | 2017-07-02T03:16:46.000Z | 2021-07-05T14:53:56.000Z | raise NotImplementedError("sre is not yet implemented in Skulpt")
| 33 | 65 | 0.818182 | 9 | 66 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 1 | 66 | 66 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cf3ad6cdc33ac7de5f1a17a517d09fc497aa362e | 189 | py | Python | UE4Parse/Assets/Objects/ETextFlag.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | 13 | 2021-06-09T09:21:00.000Z | 2022-03-30T22:13:24.000Z | UE4Parse/Assets/Objects/ETextFlag.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | 3 | 2021-09-04T22:23:02.000Z | 2022-03-04T09:45:45.000Z | UE4Parse/Assets/Objects/ETextFlag.py | zbx911/pyUE4Parse | eb30d27a4341ad68a7104458a0fdfae6a360d153 | [
"MIT"
] | 6 | 2021-09-02T10:28:21.000Z | 2022-03-30T22:13:37.000Z | from enum import Enum
class ETextFlag(Enum):
Transient = 1 << 0
CultureInvariant = 1 << 1
ConvertedProperty = 1 << 2
Immutable = 1 << 3
InitializedFromString = 1 << 4
| 18.9 | 34 | 0.624339 | 22 | 189 | 5.363636 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0.280423 | 189 | 9 | 35 | 21 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
cf5e4550b7583a2f6490cf9ba995745a0d048cd3 | 872 | py | Python | housemonitor/inputs/abc_input.py | gary-pickens/HouseMonitor | 4b169bdbeed9013e1824d4bb929970ae0c27a6c9 | [
"MIT"
] | 1 | 2021-06-28T06:52:03.000Z | 2021-06-28T06:52:03.000Z | housemonitor/inputs/abc_input.py | gary-pickens/HouseMonitor | 4b169bdbeed9013e1824d4bb929970ae0c27a6c9 | [
"MIT"
] | null | null | null | housemonitor/inputs/abc_input.py | gary-pickens/HouseMonitor | 4b169bdbeed9013e1824d4bb929970ae0c27a6c9 | [
"MIT"
] | null | null | null | '''
Created on Aug 2, 2012
@author: Gary
'''
import abc
from pubsub import pub
from housemonitor.lib.base import Base
from housemonitor.lib.constants import Constants
class abcInput(Base, object):
'''
This abstract class will input all the data and send it on
it's way.
'''
__metaclass__ = abc.ABC... | 22.947368 | 92 | 0.649083 | 110 | 872 | 5 | 0.6 | 0.043636 | 0.070909 | 0.058182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007728 | 0.258028 | 872 | 37 | 93 | 23.567568 | 0.842349 | 0.284404 | 0 | 0.111111 | 0 | 0 | 0.053004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.055556 | 0.222222 | 0.055556 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
cf64eca24a14445f809b639bf8c45cafe66b4a53 | 8,387 | py | Python | src/api/handlers/event.py | jpeirce21/api | 11035360d6829a398b747aa86771b7d30fe46cb8 | [
"MIT"
] | null | null | null | src/api/handlers/event.py | jpeirce21/api | 11035360d6829a398b747aa86771b7d30fe46cb8 | [
"MIT"
] | null | null | null | src/api/handlers/event.py | jpeirce21/api | 11035360d6829a398b747aa86771b7d30fe46cb8 | [
"MIT"
] | null | null | null | """Handler file for all routes pertaining to events"""
from _main_.utils.route_handler import RouteHandler
from _main_.utils.common import get_request_contents, parse_list, parse_bool, check_length, parse_date, parse_int, parse_location
from api.services.event import EventService
from _main_.utils.massenergize_respons... | 32.507752 | 129 | 0.710862 | 1,097 | 8,387 | 5.284412 | 0.093892 | 0.062619 | 0.041746 | 0.093842 | 0.767466 | 0.741935 | 0.717268 | 0.69743 | 0.688287 | 0.681904 | 0 | 0.001151 | 0.170979 | 8,387 | 257 | 130 | 32.634241 | 0.83259 | 0.013235 | 0 | 0.649485 | 0 | 0 | 0.068699 | 0.006531 | 0 | 0 | 0 | 0.003891 | 0 | 1 | 0.07732 | false | 0 | 0.041237 | 0 | 0.314433 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cf722d094e4a86e3cdd63fb5b6362826c04ffe69 | 140 | py | Python | rpycore/__init__.py | roguextech/ICL-Rocketry-RocketPy | 789cad455ab64fd5a01fb8bf27852950408b3691 | [
"MIT"
] | null | null | null | rpycore/__init__.py | roguextech/ICL-Rocketry-RocketPy | 789cad455ab64fd5a01fb8bf27852950408b3691 | [
"MIT"
] | null | null | null | rpycore/__init__.py | roguextech/ICL-Rocketry-RocketPy | 789cad455ab64fd5a01fb8bf27852950408b3691 | [
"MIT"
] | null | null | null | """Top-level package for RocketPy."""
__author__ = """Mohammed Raihaan Usman"""
__email__ = 'raihaan.usman@gmail.com'
__version__ = '0.1.1' | 28 | 41 | 0.707143 | 18 | 140 | 4.833333 | 0.833333 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.107143 | 140 | 5 | 42 | 28 | 0.672 | 0.221429 | 0 | 0 | 0 | 0 | 0.480769 | 0.221154 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cf817518c039ae1ddb27709043dfbfdde04e64c5 | 192 | py | Python | test.py | cbn35/CS-470-Halma | 78fa2aaa4bc4a2e7bb6d60d4bf33a80a32f8dbd7 | [
"MIT"
] | 1 | 2019-10-23T01:21:10.000Z | 2019-10-23T01:21:10.000Z | test.py | cbn35/CS-470-Halma | 78fa2aaa4bc4a2e7bb6d60d4bf33a80a32f8dbd7 | [
"MIT"
] | null | null | null | test.py | cbn35/CS-470-Halma | 78fa2aaa4bc4a2e7bb6d60d4bf33a80a32f8dbd7 | [
"MIT"
] | null | null | null | from Halma import Halma
from Player import Node, MiniMax
import time
test = Halma(8, 0, 2)
timeStamp = time.time()
m = MiniMax(test, 9999999999)
print("Done! Took ", time.time() - timeStamp)
| 21.333333 | 45 | 0.71875 | 29 | 192 | 4.758621 | 0.586207 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 0.15625 | 192 | 8 | 46 | 24 | 0.771605 | 0 | 0 | 0 | 0 | 0 | 0.057292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d843a9bfff16e3879512c66396513cbd209aeaee | 1,488 | py | Python | main.py | gaato/nkodice-discord | d693b0db37f1ca3480fd4de964434d9800b06a12 | [
"Apache-2.0"
] | null | null | null | main.py | gaato/nkodice-discord | d693b0db37f1ca3480fd4de964434d9800b06a12 | [
"Apache-2.0"
] | null | null | null | main.py | gaato/nkodice-discord | d693b0db37f1ca3480fd4de964434d9800b06a12 | [
"Apache-2.0"
] | null | null | null | import random
import discord
import asyncio
from config import DISCORD_TOKEN
client = discord.Client()
@client.event
async def on_ready():
print('It\'s activated')
async def nkodice(message: discord.Message):
rolls = random.choices(('う', 'ま', 'ち', 'ん', 'こ', 'お'), k=5)
roles = []
if rolls.count(... | 24.8 | 102 | 0.584005 | 215 | 1,488 | 4.023256 | 0.265116 | 0.242775 | 0.210405 | 0.178035 | 0.553757 | 0.486705 | 0.457803 | 0.457803 | 0.418497 | 0.418497 | 0 | 0.017452 | 0.229839 | 1,488 | 59 | 103 | 25.220339 | 0.737347 | 0 | 0 | 0.105263 | 0 | 0 | 0.058468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.131579 | 0.026316 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d8459fe1fe1f0a5dba6ca051cbf8b6edbdd45630 | 193 | py | Python | World/Object/Unit/Constants/MovementType.py | sundayz/idewave-core | 5bdb88892173c9c3e8c85f431cf9b5dbd9f23941 | [
"Apache-2.0"
] | 10 | 2019-06-29T19:24:52.000Z | 2021-02-21T22:45:57.000Z | World/Object/Unit/Constants/MovementType.py | sundayz/idewave-core | 5bdb88892173c9c3e8c85f431cf9b5dbd9f23941 | [
"Apache-2.0"
] | 4 | 2019-08-15T07:03:36.000Z | 2021-06-02T13:01:25.000Z | World/Object/Unit/Constants/MovementType.py | sundayz/idewave-core | 5bdb88892173c9c3e8c85f431cf9b5dbd9f23941 | [
"Apache-2.0"
] | 8 | 2019-06-30T22:47:48.000Z | 2021-02-20T19:21:30.000Z | from enum import Enum
class MovementType(Enum):
IDLE_ON_SPANW_POINT = 0
RANDOM_MOVEMENT = 1 # should set spawndistance radius
WAYPOINT_MOVEMENT = 2 | 24.125 | 70 | 0.626943 | 22 | 193 | 5.272727 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.336788 | 193 | 8 | 71 | 24.125 | 0.882813 | 0.160622 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 3 |
d8512530ecfba8cba30fe6e8826eb9c3a0427acb | 259 | py | Python | flask_extras/forms/validators/serialization.py | up2cat/flask_extras | 7888da0ca2793e49a803a256b405fa43e6e64ae2 | [
"MIT"
] | 19 | 2016-08-03T07:10:23.000Z | 2022-03-03T16:37:11.000Z | flask_extras/forms/validators/serialization.py | christabor/jinja2_template_pack | f57300bc2922aa4105d1aa393351b63c86c26048 | [
"MIT"
] | 7 | 2016-11-11T21:54:53.000Z | 2018-11-21T04:33:46.000Z | flask_extras/forms/validators/serialization.py | christabor/jinja2_template_pack | f57300bc2922aa4105d1aa393351b63c86c26048 | [
"MIT"
] | 3 | 2016-12-30T10:34:02.000Z | 2021-04-08T05:40:09.000Z | """Validators for various serialization formats."""
import json
def valid_json(formcls, field):
"""Validate field data as a json.
:param formcls (object): The form class.
:param field (str): The list of ips.
"""
json.loads(field.data)
| 19.923077 | 51 | 0.664093 | 35 | 259 | 4.885714 | 0.714286 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212355 | 259 | 12 | 52 | 21.583333 | 0.838235 | 0.598456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d859382937ea95d2946ec59432d960f84381c2f3 | 204 | py | Python | zhsz_api/controllers/__init__.py | azhen318x/FormatFa6 | 9a103e91fa6b1ba99ff30cdf96770f304c968288 | [
"MIT"
] | 12 | 2019-12-05T02:12:01.000Z | 2021-12-13T14:56:44.000Z | zhsz_api/controllers/__init__.py | azhen318x/FormatFa6 | 9a103e91fa6b1ba99ff30cdf96770f304c968288 | [
"MIT"
] | null | null | null | zhsz_api/controllers/__init__.py | azhen318x/FormatFa6 | 9a103e91fa6b1ba99ff30cdf96770f304c968288 | [
"MIT"
] | 4 | 2019-12-05T03:18:42.000Z | 2021-04-06T06:13:55.000Z | from flask import Blueprint
from settings import Config
db=Config.db
api_blue = Blueprint('api', __name__, url_prefix='/api')
from . import auth
from . import data
from . import logonav
from .import sql | 20.4 | 56 | 0.769608 | 31 | 204 | 4.870968 | 0.516129 | 0.264901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 204 | 10 | 57 | 20.4 | 0.867816 | 0 | 0 | 0 | 0 | 0 | 0.034146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d85a4f16928c4465d47ab2678139e64d3adaaf20 | 440 | py | Python | lib/stop_words.py | awesome-archive/novelRS | ae9d0cbd765dfb5730321fa320a8a559730b5d8d | [
"MIT"
] | null | null | null | lib/stop_words.py | awesome-archive/novelRS | ae9d0cbd765dfb5730321fa320a8a559730b5d8d | [
"MIT"
] | null | null | null | lib/stop_words.py | awesome-archive/novelRS | ae9d0cbd765dfb5730321fa320a8a559730b5d8d | [
"MIT"
] | null | null | null | # coding=utf-8
""" 停用词,去除标点符号 """
stop_words = [
',',
'。',
'“',
'”',
'‘',
'’',
'!',
'?',
'(',
'《',
'》',
')',
'-',
'=',
'+',
'-',
':',
';',
'…',
'、',
'?',
'.',
',',
'/',
';',
':',
'.',
'!',
'(',
')',
... | 8.979592 | 18 | 0.068182 | 8 | 440 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004651 | 0.511364 | 440 | 48 | 19 | 9.166667 | 0.125581 | 0.056818 | 0 | 0.088889 | 0 | 0 | 0.107843 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d85a689310652712876d7ea54ebb0d08eb176cd6 | 732 | py | Python | pysurf/random/shrandom.py | MFSJMenger/pysurf | 99c6a94d4cb5046f16a0961b907061d989ffb6dc | [
"Apache-2.0"
] | 7 | 2020-10-28T13:46:08.000Z | 2021-05-27T06:41:56.000Z | pysurf/random/shrandom.py | MFSJMenger/pysurf | 99c6a94d4cb5046f16a0961b907061d989ffb6dc | [
"Apache-2.0"
] | 2 | 2020-10-27T19:15:12.000Z | 2020-10-27T19:15:25.000Z | pysurf/random/shrandom.py | MFSJMenger/pysurf | 99c6a94d4cb5046f16a0961b907061d989ffb6dc | [
"Apache-2.0"
] | 2 | 2021-04-15T05:54:30.000Z | 2022-02-08T00:10:10.000Z | from abc import ABC, abstractmethod
import numpy as np
# This should be a Singleton class!
# there can only exist ONE way to
# generate random numbers!
class RandomNumberGeneratorBase(ABC):
""""Python Class to generate random numbers"""
def __init__(self, seed=None):
self.seed = seed
self._... | 21.529412 | 57 | 0.663934 | 89 | 732 | 5.348315 | 0.438202 | 0.067227 | 0.067227 | 0.096639 | 0.210084 | 0.210084 | 0.210084 | 0.210084 | 0.210084 | 0.210084 | 0 | 0 | 0.247268 | 732 | 33 | 58 | 22.181818 | 0.863884 | 0.285519 | 0 | 0.470588 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.117647 | 0.117647 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
d8612305fbc8350fa73e22884a6d2886b9660f39 | 888 | py | Python | base/views.py | EOSIO-HACKATHON2020/eosform | 49d283634567858aff24dac139aefab2d9ab3395 | [
"Apache-2.0"
] | null | null | null | base/views.py | EOSIO-HACKATHON2020/eosform | 49d283634567858aff24dac139aefab2d9ab3395 | [
"Apache-2.0"
] | null | null | null | base/views.py | EOSIO-HACKATHON2020/eosform | 49d283634567858aff24dac139aefab2d9ab3395 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.views.generic import TemplateView
from eos import EOS
from surveys.models import Survey
from surveys.models import SurveyStatus
class LandingView(TemplateView):
template_name = 'landing.html'
def get_surveys(self):
return Survey.objects.filter(status=Su... | 24 | 74 | 0.663288 | 109 | 888 | 5.293578 | 0.40367 | 0.048527 | 0.131716 | 0.079723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053748 | 0.203829 | 888 | 36 | 75 | 24.666667 | 0.762376 | 0 | 0 | 0 | 0 | 0 | 0.079955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.208333 | 0.208333 | 0.791667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.