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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0478bf88cbefe164767e09f66a708ee577f1c1e0 | 47 | py | Python | qiling/qiling/debugger/qdb/__init__.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | 2 | 2021-05-05T12:03:01.000Z | 2021-06-04T14:27:15.000Z | qiling/qiling/debugger/qdb/__init__.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | null | null | null | qiling/qiling/debugger/qdb/__init__.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | 2 | 2021-05-05T12:03:09.000Z | 2021-06-04T14:27:21.000Z | #!/usr/bin/env python3
from .qdb import QlQdb
| 11.75 | 22 | 0.723404 | 8 | 47 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 47 | 3 | 23 | 15.666667 | 0.825 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0491ca23ce62155c17534185d77519ed2c079be0 | 21 | py | Python | gsflow/crt/__init__.py | pygsflow/pygsflow | 83860cd58078017a65e1633b1192469777f1ce15 | [
"CC0-1.0",
"BSD-3-Clause"
] | 17 | 2019-11-11T02:49:29.000Z | 2022-02-17T03:45:19.000Z | gsflow/crt/__init__.py | jonathanqv/pygsflow | d671fdd84245ecb421a0fcab17a578425b514e93 | [
"Unlicense"
] | 21 | 2019-07-10T21:45:11.000Z | 2022-02-22T17:57:20.000Z | gsflow/crt/__init__.py | jonathanqv/pygsflow | d671fdd84245ecb421a0fcab17a578425b514e93 | [
"Unlicense"
] | 8 | 2019-11-11T02:49:36.000Z | 2021-09-30T18:43:45.000Z | from .crt import CRT
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04940c12969cd7978d97162055816578a11e76c8 | 184 | py | Python | django_postgres/__init__.py | zacharyvoase/django-postgres | 93e9f9809cabee0b327f18d181cbc9aeab1f8f2e | [
"Unlicense"
] | 51 | 2015-01-17T16:40:07.000Z | 2021-07-14T02:51:42.000Z | django_postgres/__init__.py | zacharyvoase/django-postgres | 93e9f9809cabee0b327f18d181cbc9aeab1f8f2e | [
"Unlicense"
] | 1 | 2015-02-23T11:01:42.000Z | 2015-02-23T11:01:42.000Z | django_postgres/__init__.py | zacharyvoase/django-postgres | 93e9f9809cabee0b327f18d181cbc9aeab1f8f2e | [
"Unlicense"
] | 14 | 2015-01-22T09:53:32.000Z | 2018-04-30T17:57:03.000Z | from django_postgres.view import View
from django_postgres.bitstrings import BitStringField, BitStringExpression as B, Bits
from django_postgres.citext import CaseInsensitiveTextField
| 46 | 85 | 0.88587 | 22 | 184 | 7.272727 | 0.590909 | 0.1875 | 0.3375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 184 | 3 | 86 | 61.333333 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04cdeec38ac8fc54883fccd423f26bd02cdd2ed1 | 209 | py | Python | courses/admin.py | nikolnikon/otus_web_like_otus | e9e87be013b890602e474197e87298730e7840fc | [
"MIT"
] | null | null | null | courses/admin.py | nikolnikon/otus_web_like_otus | e9e87be013b890602e474197e87298730e7840fc | [
"MIT"
] | null | null | null | courses/admin.py | nikolnikon/otus_web_like_otus | e9e87be013b890602e474197e87298730e7840fc | [
"MIT"
] | null | null | null | from django.contrib import admin
from courses.models import Course, Module, Lesson, Employer
admin.site.register(Course)
admin.site.register(Module)
admin.site.register(Lesson)
admin.site.register(Employer)
| 23.222222 | 59 | 0.818182 | 29 | 209 | 5.896552 | 0.448276 | 0.210526 | 0.397661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08134 | 209 | 8 | 60 | 26.125 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
04e8fc192da63aed5eff6c88e63257e59c8e90eb | 7,719 | py | Python | aiops/utils/data_augmentation/bert.py | amandeep1991/aiops | 0f9959b740ef51a0aefb8dba1f7d5b4049ef495e | [
"MIT"
] | null | null | null | aiops/utils/data_augmentation/bert.py | amandeep1991/aiops | 0f9959b740ef51a0aefb8dba1f7d5b4049ef495e | [
"MIT"
] | 3 | 2020-06-02T10:23:57.000Z | 2021-10-18T20:42:40.000Z | aiops/utils/data_augmentation/bert.py | amandeep1991/aiops | 0f9959b740ef51a0aefb8dba1f7d5b4049ef495e | [
"MIT"
] | null | null | null | import random
import torch
from torchtext import data
from torchtext import datasets
from aiops.config import cache_dir_for_torch_text, logger
from aiops.constants import SEED
class DataSets:
def __init__(self, tokenizer) -> None:
super().__init__()
self.tokenizer = tokenizer
self.text_p... | 55.532374 | 197 | 0.741288 | 983 | 7,719 | 5.403866 | 0.090539 | 0.060994 | 0.060241 | 0.04744 | 0.852221 | 0.818524 | 0.795181 | 0.771649 | 0.733998 | 0.697477 | 0 | 0.000915 | 0.150279 | 7,719 | 138 | 198 | 55.934783 | 0.808965 | 0 | 0 | 0.475248 | 0 | 0 | 0.070864 | 0.009846 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108911 | false | 0 | 0.059406 | 0 | 0.277228 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
b6cbee7c8cfa8b586aab367761ec9cd47f437557 | 9,195 | py | Python | mlmachine/explore/eda_preprocessing.py | datablets/mlmachine | f9d98b3d5b1d7a81bd45a0624cb1202472742d6c | [
"MIT"
] | null | null | null | mlmachine/explore/eda_preprocessing.py | datablets/mlmachine | f9d98b3d5b1d7a81bd45a0624cb1202472742d6c | [
"MIT"
] | null | null | null | mlmachine/explore/eda_preprocessing.py | datablets/mlmachine | f9d98b3d5b1d7a81bd45a0624cb1202472742d6c | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from scipy import stats
from scipy import special
from prettierplot.plotter import PrettierPlot
from prettierplot import style
def eda_missing_summary(self, training_data=True, color=style.style_grey, display_df=False, chart_scale=15):
"""
Documentation:
... | 30.752508 | 108 | 0.612942 | 1,110 | 9,195 | 4.961261 | 0.164865 | 0.036317 | 0.01598 | 0.033412 | 0.843835 | 0.828582 | 0.822045 | 0.822045 | 0.793354 | 0.786635 | 0 | 0.012774 | 0.310386 | 9,195 | 299 | 109 | 30.752508 | 0.855701 | 0.51354 | 0 | 0.531746 | 0 | 0 | 0.073255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0 | 0.047619 | 0 | 0.087302 | 0.007937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
b6f585127f16d778b6de545b938a133ab03dfa3d | 218 | py | Python | flloat/__init__.py | aadeshnpn/flloat | 5a84608400d401799421f872e561689e3159a513 | [
"MIT"
] | 3 | 2019-07-14T21:15:26.000Z | 2019-12-12T21:51:35.000Z | flloat/__init__.py | MarcoFavorito/flloat | 75e8ec9219763eba5feb362438604693b6cc7346 | [
"MIT"
] | 1 | 2019-09-03T16:35:59.000Z | 2019-09-03T16:35:59.000Z | flloat/__init__.py | MarcoFavorito/flloat | 75e8ec9219763eba5feb362438604693b6cc7346 | [
"MIT"
] | 1 | 2019-08-30T18:15:02.000Z | 2019-08-30T18:15:02.000Z | # -*- coding: utf-8 -*-
"""Top-level package for FLLOAT."""
from .__version__ import __title__, __description__, __url__, __version__
from .__version__ import __author__, __author_email__, __license__, __copyright__
| 31.142857 | 81 | 0.770642 | 23 | 218 | 5.521739 | 0.782609 | 0.173228 | 0.267717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.114679 | 218 | 6 | 82 | 36.333333 | 0.65285 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3fe6dff8cbe12d056eb00a46024eeb4ea5b5782 | 140 | py | Python | tests/tfTests/testPhrasePickle.py | Los-Phoenix/Word2vec_LP | c645bdc08bb81d5b70afe3f3e0b6a1549c1a1802 | [
"MIT"
] | 1 | 2018-09-09T08:34:02.000Z | 2018-09-09T08:34:02.000Z | tests/tfTests/testPhrasePickle.py | Los-Phoenix/Word2vec_LP | c645bdc08bb81d5b70afe3f3e0b6a1549c1a1802 | [
"MIT"
] | null | null | null | tests/tfTests/testPhrasePickle.py | Los-Phoenix/Word2vec_LP | c645bdc08bb81d5b70afe3f3e0b6a1549c1a1802 | [
"MIT"
] | null | null | null | import cPickle as pickle
f1 = file('../../data/phraseClusterMean.pkl', 'rb')
samP = pickle.load(f1)
samP = pickle.load(f1)
print len(samP) | 20 | 51 | 0.692857 | 21 | 140 | 4.619048 | 0.666667 | 0.206186 | 0.28866 | 0.329897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.121429 | 140 | 7 | 52 | 20 | 0.764228 | 0 | 0 | 0.4 | 0 | 0 | 0.241135 | 0.22695 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
edd6534f947a5f055da56faa7facea4d5c460cfa | 287 | py | Python | populus/cli/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | 2 | 2018-08-15T21:27:59.000Z | 2018-08-21T17:56:12.000Z | populus/cli/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | null | null | null | populus/cli/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | 1 | 2021-12-06T04:03:32.000Z | 2021-12-06T04:03:32.000Z | from .main import main # NOQA
from .chain_cmd import chain_cmd # NOQA
from .compile_cmd import compile_cmd # NOQA
from .config_cmd import config_cmd # NOQA
from .deploy_cmd import deploy_cmd # NOQA
from .init_cmd import init_cmd # NOQA
from .upgrade_cmd import upgrade_cmd # NOQA
| 31.888889 | 44 | 0.780488 | 47 | 287 | 4.510638 | 0.234043 | 0.226415 | 0.259434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 287 | 8 | 45 | 35.875 | 0.890756 | 0.118467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
edf702e72726cf88ac677e273a262f4b0465c870 | 3,080 | py | Python | kmip/core/factories/payloads/response.py | ondrap/PyKMIP | c8ea17d8faf827e0f9d004972835128a1a71569f | [
"Apache-2.0"
] | 179 | 2015-03-20T06:08:59.000Z | 2022-03-14T02:24:38.000Z | kmip/core/factories/payloads/response.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 600 | 2015-04-08T14:14:48.000Z | 2022-03-28T13:49:47.000Z | kmip/core/factories/payloads/response.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 131 | 2015-03-30T12:51:49.000Z | 2022-03-23T04:34:34.000Z | # Copyright (c) 2014 The Johns Hopkins University/Applied Physics Laboratory
# All Rights Reserved.
#
# 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/LICEN... | 32.765957 | 76 | 0.761688 | 324 | 3,080 | 6.978395 | 0.432099 | 0.095533 | 0.180451 | 0.265369 | 0.073419 | 0.028306 | 0 | 0 | 0 | 0 | 0 | 0.003146 | 0.174351 | 3,080 | 93 | 77 | 33.11828 | 0.885961 | 0.212662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0 | 1 | 0.470588 | false | 0 | 0.039216 | 0.470588 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6119987889b5b981438ca5e2ac870e55d9a619aa | 250 | py | Python | models/Users/Exceptions.py | OkanyO/eden | 06a65d95ea580de204f2470de0bdb5bbc88d6691 | [
"MIT"
] | null | null | null | models/Users/Exceptions.py | OkanyO/eden | 06a65d95ea580de204f2470de0bdb5bbc88d6691 | [
"MIT"
] | 1 | 2021-09-09T10:19:14.000Z | 2021-09-09T10:19:14.000Z | models/Users/Exceptions.py | OkanyO/eden | 06a65d95ea580de204f2470de0bdb5bbc88d6691 | [
"MIT"
] | 19 | 2021-08-19T13:01:18.000Z | 2021-08-19T15:08:05.000Z | class IncompleteDetails(Exception):
def __init__(self, message):
super(IncompleteDetails, self).__init__(message)
class InvalidCustomer(Exception):
def __init__(self, message):
super(InvalidCustomer, self).__init__(message)
| 27.777778 | 56 | 0.736 | 24 | 250 | 7 | 0.375 | 0.142857 | 0.190476 | 0.238095 | 0.380952 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 250 | 8 | 57 | 31.25 | 0.8 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
611f66c2fc3680c212aea633f2c5d9856be33688 | 87,772 | py | Python | tb_rest_client/rest_client_ce.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 30 | 2020-06-19T06:42:50.000Z | 2021-08-23T21:16:36.000Z | tb_rest_client/rest_client_ce.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 25 | 2021-08-30T01:17:27.000Z | 2022-03-16T14:10:14.000Z | tb_rest_client/rest_client_ce.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 23 | 2020-07-06T13:41:54.000Z | 2021-08-23T21:04:50.000Z | # coding: utf-8
# Copyright 2020. ThingsBoard
# #
# 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
# #
# Unl... | 62.739099 | 131 | 0.636387 | 10,825 | 87,772 | 4.691917 | 0.029931 | 0.057492 | 0.032605 | 0.03985 | 0.844143 | 0.789545 | 0.736917 | 0.685017 | 0.647017 | 0.599921 | 0 | 0.00124 | 0.301702 | 87,772 | 1,398 | 132 | 62.783977 | 0.82743 | 0.014617 | 0 | 0.380095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277725 | false | 0.007583 | 0.008531 | 0.125118 | 0.563981 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b62690c88dbda876ce43f49ddad84b8bd065b7f1 | 114 | py | Python | core/nn/blocks/__init__.py | rdbch/tutorial_simclr | 7083b5c1bd75a14cf63899249664f17ca7e10331 | [
"MIT"
] | 9 | 2021-02-12T15:19:56.000Z | 2021-03-02T19:45:40.000Z | core/nn/blocks/__init__.py | rdbch/tutorial_simclr | 7083b5c1bd75a14cf63899249664f17ca7e10331 | [
"MIT"
] | null | null | null | core/nn/blocks/__init__.py | rdbch/tutorial_simclr | 7083b5c1bd75a14cf63899249664f17ca7e10331 | [
"MIT"
] | null | null | null | from .linear_block import LinearBlock
from .conv2d_block import Conv2dBlock
from .resblock import ResBlock
| 28.5 | 38 | 0.807018 | 14 | 114 | 6.428571 | 0.571429 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.166667 | 114 | 3 | 39 | 38 | 0.926316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b63bb54f772952ccc8f56c018320721bb28b903c | 22 | py | Python | cringebot/__init__.py | tolfino/cringebot | 753a3a62c73ea8a1c56f11baab1a970dcfd03180 | [
"WTFPL"
] | null | null | null | cringebot/__init__.py | tolfino/cringebot | 753a3a62c73ea8a1c56f11baab1a970dcfd03180 | [
"WTFPL"
] | null | null | null | cringebot/__init__.py | tolfino/cringebot | 753a3a62c73ea8a1c56f11baab1a970dcfd03180 | [
"WTFPL"
] | null | null | null | from .bot import main
| 11 | 21 | 0.772727 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6500d283958f349ed83b8e978d10cc44bcdcef0 | 34 | py | Python | src/gym_tictictoe/envs/__init__.py | qorrect/boardgames | e7462e09949f81959b0858c12da106b418b6c488 | [
"MIT"
] | null | null | null | src/gym_tictictoe/envs/__init__.py | qorrect/boardgames | e7462e09949f81959b0858c12da106b418b6c488 | [
"MIT"
] | null | null | null | src/gym_tictictoe/envs/__init__.py | qorrect/boardgames | e7462e09949f81959b0858c12da106b418b6c488 | [
"MIT"
] | null | null | null | from .tictictoe import TicTicToe
| 11.333333 | 32 | 0.823529 | 4 | 34 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b66fe7eeae60fd85bd1336db1aec591880030e0b | 8,414 | py | Python | 7_stg/model/utils/train_utils.py | mackelab/IdentifyMechanisticModels_2020 | b93c90ec6156ae5f8afee6aaac7317373e9caf5e | [
"MIT"
] | 3 | 2020-10-23T02:53:11.000Z | 2021-03-12T11:04:37.000Z | 7_stg/model/utils/train_utils.py | mackelab/IdentifyMechanisticModels_2020 | b93c90ec6156ae5f8afee6aaac7317373e9caf5e | [
"MIT"
] | null | null | null | 7_stg/model/utils/train_utils.py | mackelab/IdentifyMechanisticModels_2020 | b93c90ec6156ae5f8afee6aaac7317373e9caf5e | [
"MIT"
] | 1 | 2021-07-28T08:38:05.000Z | 2021-07-28T08:38:05.000Z | import numpy as np
import sys
sys.path.append("model/setup")
import netio
#from delfi.utils.utils_prinzetal import inv_logistic_fct, logistic_fct
def load_trn_data(filedir, params):
# loading data. Files in the archive are 'params' and 'stats'
data = np.load(filedir) # samples_dir = results/samples/
# 7... | 42.281407 | 194 | 0.726408 | 1,199 | 8,414 | 4.822352 | 0.134279 | 0.080941 | 0.056036 | 0.04981 | 0.837772 | 0.812003 | 0.796956 | 0.784504 | 0.770322 | 0.759772 | 0 | 0.018892 | 0.175897 | 8,414 | 199 | 195 | 42.281407 | 0.81497 | 0.24685 | 0 | 0.688 | 0 | 0 | 0.037254 | 0.004914 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088 | false | 0 | 0.04 | 0 | 0.208 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
b6707c867b73977b427b69b44822b70b1cbbdaaa | 24,425 | py | Python | tests/test_mongo_controller_audit.py | lucafaggianelli/layabase | 90733c6b9efd56051dfce5c3d89bd4e657ce7b3f | [
"MIT"
] | 3 | 2019-12-02T23:29:44.000Z | 2019-12-31T00:55:01.000Z | tests/test_mongo_controller_audit.py | lucafaggianelli/layabase | 90733c6b9efd56051dfce5c3d89bd4e657ce7b3f | [
"MIT"
] | 29 | 2019-12-02T16:12:45.000Z | 2022-02-17T16:01:55.000Z | tests/test_mongo_controller_audit.py | lucafaggianelli/layabase | 90733c6b9efd56051dfce5c3d89bd4e657ce7b3f | [
"MIT"
] | 3 | 2020-01-02T10:58:47.000Z | 2022-02-17T10:55:18.000Z | import datetime
import pytest
import layabase
import layabase.mongo
from layabase.testing import mock_mongo_audit_datetime
@pytest.fixture
def controller() -> layabase.CRUDController:
class TestCollection:
__collection_name__ = "test"
key = layabase.mongo.Column(str, is_primary_key=True)
... | 34.065551 | 112 | 0.565691 | 2,546 | 24,425 | 5.14729 | 0.054203 | 0.03472 | 0.065929 | 0.062572 | 0.918504 | 0.900038 | 0.881572 | 0.871881 | 0.852346 | 0.827318 | 0 | 0.056601 | 0.27738 | 24,425 | 716 | 113 | 34.113128 | 0.685892 | 0.004831 | 0 | 0.621622 | 0 | 0 | 0.261542 | 0.038515 | 0 | 0 | 0 | 0 | 0.127186 | 1 | 0.058824 | false | 0 | 0.007949 | 0 | 0.085851 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
1e277926b12977e482e1695b9c84f25f7c3e3af7 | 151 | py | Python | Arithmatic/sub/Division.py | MuditMaurya/Calculator | 765cc39300cc98aeb7cec3e9cb916814fad0965d | [
"MIT"
] | 1 | 2019-01-29T19:33:03.000Z | 2019-01-29T19:33:03.000Z | Arithmatic/sub/Division.py | MuditMaurya/Calculator | 765cc39300cc98aeb7cec3e9cb916814fad0965d | [
"MIT"
] | null | null | null | Arithmatic/sub/Division.py | MuditMaurya/Calculator | 765cc39300cc98aeb7cec3e9cb916814fad0965d | [
"MIT"
] | 2 | 2019-01-10T17:40:05.000Z | 2019-02-13T20:56:15.000Z | class Division:
def __init__(self,fnum,snum):
self.fnum=fnum
self.snum=snum
def allDiv(self):
self.sub=self.fnum/self.snum
return self.sub | 18.875 | 30 | 0.721854 | 25 | 151 | 4.2 | 0.4 | 0.228571 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152318 | 151 | 8 | 31 | 18.875 | 0.820313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1e6392d1f93c35259e1dae646f2ed9fa51b002f4 | 1,912 | py | Python | modules/healthcheck.py | mmarukaw/oci-bulk-operations | 9dc5434ddbfcb80abaf250036d752e4d22e1c00b | [
"MIT"
] | 1 | 2021-03-22T02:59:19.000Z | 2021-03-22T02:59:19.000Z | modules/healthcheck.py | mmarukaw/oci-bulk-operations | 9dc5434ddbfcb80abaf250036d752e4d22e1c00b | [
"MIT"
] | null | null | null | modules/healthcheck.py | mmarukaw/oci-bulk-operations | 9dc5434ddbfcb80abaf250036d752e4d22e1c00b | [
"MIT"
] | null | null | null | import oci
from modules.common import *
client = oci.healthchecks.HealthChecksClient
def purge_http_monitors(config, signer, compartments, region_name):
target = TargetResources()
target.resource_names = ['healthcheck http monitors']
target.action = 'DELETE'
target.list_methods = [client(... | 36.075472 | 79 | 0.694038 | 212 | 1,912 | 5.995283 | 0.231132 | 0.075531 | 0.084972 | 0.113297 | 0.900079 | 0.900079 | 0.900079 | 0.900079 | 0.900079 | 0.813533 | 0 | 0 | 0.215481 | 1,912 | 52 | 80 | 36.769231 | 0.847333 | 0 | 0 | 0.697674 | 0 | 0 | 0.044979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.046512 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
1ea40f660ddfdd009d88e5ef52c29ee6fae0085f | 50 | py | Python | appserver/neo4japp/services/annotations/data_transfer_objects/__init__.py | SBRG/lifelike | a7b715f38b389a585c10e6d0d067345937455c13 | [
"MIT"
] | 8 | 2022-01-28T08:43:07.000Z | 2022-03-23T11:18:10.000Z | appserver/neo4japp/services/annotations/data_transfer_objects/__init__.py | SBRG/lifelike | a7b715f38b389a585c10e6d0d067345937455c13 | [
"MIT"
] | 23 | 2022-02-14T15:25:00.000Z | 2022-03-28T15:30:45.000Z | appserver/neo4japp/services/annotations/data_transfer_objects/__init__.py | SBRG/lifelike | a7b715f38b389a585c10e6d0d067345937455c13 | [
"MIT"
] | 5 | 2022-01-28T15:45:44.000Z | 2022-03-14T11:36:49.000Z | from .dto import *
from .dto_func_params import *
| 16.666667 | 30 | 0.76 | 8 | 50 | 4.5 | 0.625 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 31 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ebe3cff7d99f3b3464dd993c3077e7e190a9898 | 27,334 | py | Python | tests/datalake/test_channel.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | 2 | 2020-10-20T18:38:16.000Z | 2020-10-20T20:12:35.000Z | tests/datalake/test_channel.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | 30 | 2020-04-07T01:15:47.000Z | 2020-11-18T03:25:19.000Z | tests/datalake/test_channel.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | null | null | null | import os
from io import BytesIO
import json
import tempfile
from unittest import TestCase
from unittest.mock import Mock, patch
from abeja.datalake.file import DatalakeFile
from abeja.datalake.channel import Channel, Channels
from abeja.datalake.storage_type import StorageType
ORGANIZATION_ID = ' 1234567890123'
CHAN... | 43.874799 | 129 | 0.581071 | 2,854 | 27,334 | 5.274702 | 0.068676 | 0.038129 | 0.040919 | 0.028697 | 0.848545 | 0.816394 | 0.788163 | 0.773017 | 0.757739 | 0.742859 | 0 | 0.064399 | 0.312614 | 27,334 | 622 | 130 | 43.945338 | 0.736814 | 0.001976 | 0 | 0.675676 | 0 | 0 | 0.189163 | 0.062028 | 0 | 0 | 0 | 0 | 0.172973 | 1 | 0.037838 | false | 0.005405 | 0.016216 | 0 | 0.057658 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
94ece3fcef2afb050e552e30a65078b5179f8428 | 187 | py | Python | utils.py | raynecafaro/O-Kerberos | feb9d974334452bd1472c16651469abdd13aaa1e | [
"MIT"
] | null | null | null | utils.py | raynecafaro/O-Kerberos | feb9d974334452bd1472c16651469abdd13aaa1e | [
"MIT"
] | 2 | 2018-05-03T19:36:16.000Z | 2018-05-04T11:07:27.000Z | utils.py | raynecafaro/O-Kerberos | feb9d974334452bd1472c16651469abdd13aaa1e | [
"MIT"
] | null | null | null | from nacl import utils
from nacl import secret
def key_gen():
return utils.random(secret.SecretBox.KEY_SIZE)
def main():
print(key_gen())
if __name__ == '__main__':
main()
| 15.583333 | 50 | 0.695187 | 27 | 187 | 4.407407 | 0.592593 | 0.134454 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187166 | 187 | 11 | 51 | 17 | 0.782895 | 0 | 0 | 0 | 0 | 0 | 0.042781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.125 | 0.625 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a22561df31522c3fe93c76056ffc875b5f4d4313 | 38,210 | py | Python | receiveLine.py | ChawisB/LINEchatbotLogin | b112124bf8691b80f8b006008fef66d3af2da615 | [
"MIT"
] | null | null | null | receiveLine.py | ChawisB/LINEchatbotLogin | b112124bf8691b80f8b006008fef66d3af2da615 | [
"MIT"
] | null | null | null | receiveLine.py | ChawisB/LINEchatbotLogin | b112124bf8691b80f8b006008fef66d3af2da615 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import Flask, request
import json
import requests
from pymongo import MongoClient
from bson.objectid import ObjectId
from readConfig import configBot
import datetime
Authorization = configBot.AccessKey
app = Flask(__name__)
@app.route('/')
def index():
return "Hell... | 40.997854 | 125 | 0.32693 | 2,432 | 38,210 | 4.967928 | 0.11801 | 0.019037 | 0.049495 | 0.056282 | 0.763946 | 0.750538 | 0.730839 | 0.714286 | 0.704602 | 0.689042 | 0 | 0.015758 | 0.55988 | 38,210 | 931 | 126 | 41.04189 | 0.701433 | 0.017823 | 0 | 0.531361 | 0 | 0.002367 | 0.155599 | 0.003227 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024852 | false | 0.020118 | 0.008284 | 0.001183 | 0.036686 | 0.04142 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
bf6b56be609fd154d43041f26ea51d56b756a740 | 3,078 | py | Python | project/models/model_utils.py | Sanger2000/Predicting-Lung-Cancer-Disease-Progression-from-CT-reports | c95f7e666a714c9b3dc9a9a7418a7e37cef86c55 | [
"MIT"
] | null | null | null | project/models/model_utils.py | Sanger2000/Predicting-Lung-Cancer-Disease-Progression-from-CT-reports | c95f7e666a714c9b3dc9a9a7418a7e37cef86c55 | [
"MIT"
] | null | null | null | project/models/model_utils.py | Sanger2000/Predicting-Lung-Cancer-Disease-Progression-from-CT-reports | c95f7e666a714c9b3dc9a9a7418a7e37cef86c55 | [
"MIT"
] | null | null | null | import os
import sys
import torch
import torch.autograd as autograd
import torch.nn.functional as F
import torch.nn as nn
import torch.utils.data as data
import tqdm
import datetime
import pdb
class TextNet(nn.Module):
def __init__(self, args):
super(TextNet, self).__init__()
self.relu = nn.ReLU(... | 27.981818 | 110 | 0.652047 | 434 | 3,078 | 4.398618 | 0.154378 | 0.052383 | 0.047145 | 0.037716 | 0.827135 | 0.816658 | 0.80461 | 0.783133 | 0.783133 | 0.743321 | 0 | 0.005991 | 0.240741 | 3,078 | 109 | 111 | 28.238532 | 0.810869 | 0 | 0 | 0.6375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.125 | 0.075 | 0.4625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
bf717ae858ac1291cb6b62cdd4f1eaec4583ecb0 | 145 | py | Python | roles/openshift_health_checker/test/conftest.py | emailtovinod/openshift-ansible | 03ae7f76debd812264b6831a6f3314825b251abe | [
"Apache-2.0"
] | null | null | null | roles/openshift_health_checker/test/conftest.py | emailtovinod/openshift-ansible | 03ae7f76debd812264b6831a6f3314825b251abe | [
"Apache-2.0"
] | null | null | null | roles/openshift_health_checker/test/conftest.py | emailtovinod/openshift-ansible | 03ae7f76debd812264b6831a6f3314825b251abe | [
"Apache-2.0"
] | 1 | 2018-07-11T08:43:55.000Z | 2018-07-11T08:43:55.000Z | import os
import sys
# extend sys.path so that tests can import openshift_checks
sys.path.insert(1, os.path.dirname(os.path.dirname(__file__)))
| 24.166667 | 62 | 0.786207 | 25 | 145 | 4.36 | 0.6 | 0.12844 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.110345 | 145 | 5 | 63 | 29 | 0.837209 | 0.393103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf8ab73914a413612e83a36229a249a249fe6e49 | 123 | py | Python | blog/functional_test/conftest.py | UrangUrang/flask-tdd-with-testing-goat | 4bbe1d0592bc023ce42f998c6836cebef133d533 | [
"MIT"
] | 26 | 2017-05-02T09:23:56.000Z | 2021-04-30T02:29:32.000Z | blog/functional_test/conftest.py | UrangUrang/flask_tdd_with_testing_goat | 4bbe1d0592bc023ce42f998c6836cebef133d533 | [
"MIT"
] | 1 | 2017-05-25T08:11:28.000Z | 2017-06-01T16:28:03.000Z | blog/functional_test/conftest.py | UrangUrang/flask_tdd_with_testing_goat | 4bbe1d0592bc023ce42f998c6836cebef133d533 | [
"MIT"
] | 5 | 2017-05-29T06:05:32.000Z | 2020-02-29T05:35:19.000Z | import pytest
from selenium import webdriver
@pytest.fixture(scope="module")
def browser():
return webdriver.Chrome() | 17.571429 | 31 | 0.764228 | 15 | 123 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 7 | 32 | 17.571429 | 0.878505 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
bfb187acd3d8c7e5c42f5939f53b782bae3b4df6 | 73 | py | Python | models/__init__.py | canyilmaz90/pytorch-YOLOv4 | 0217bccd2790a9c86e405a3d6d68071ff4db3775 | [
"Apache-2.0"
] | null | null | null | models/__init__.py | canyilmaz90/pytorch-YOLOv4 | 0217bccd2790a9c86e405a3d6d68071ff4db3775 | [
"Apache-2.0"
] | null | null | null | models/__init__.py | canyilmaz90/pytorch-YOLOv4 | 0217bccd2790a9c86e405a3d6d68071ff4db3775 | [
"Apache-2.0"
] | null | null | null | from .resnet import *
from .mobilenetv3 import *
from . import detection
| 18.25 | 26 | 0.767123 | 9 | 73 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.164384 | 73 | 3 | 27 | 24.333333 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44ac050307bf530e72b63d1dd3c9cdc6b062639f | 38 | py | Python | pype9/simulate/neuron/cells/__init__.py | tclose/Pype9 | 23f96c0885fd9df12d9d11ff800f816520e4b17a | [
"MIT"
] | null | null | null | pype9/simulate/neuron/cells/__init__.py | tclose/Pype9 | 23f96c0885fd9df12d9d11ff800f816520e4b17a | [
"MIT"
] | null | null | null | pype9/simulate/neuron/cells/__init__.py | tclose/Pype9 | 23f96c0885fd9df12d9d11ff800f816520e4b17a | [
"MIT"
] | 1 | 2021-04-08T12:46:21.000Z | 2021-04-08T12:46:21.000Z | from .base import CellMetaClass, Cell
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44b5646b3e8edbc85a4d81e6ff4ae1a9dd3408f1 | 2,297 | py | Python | src/fea/inputs/__config.py | ananthsridharan/vtol_sizing | 3f754e1bd3cebdb5b5c68c8a2d84c47be1df2f02 | [
"MIT"
] | 10 | 2020-03-24T10:20:52.000Z | 2021-11-22T18:49:25.000Z | src/fea/inputs/__config.py | ananthsridharan/vtol_sizing | 3f754e1bd3cebdb5b5c68c8a2d84c47be1df2f02 | [
"MIT"
] | 4 | 2020-12-08T10:26:41.000Z | 2021-10-04T18:19:59.000Z | src/fea/inputs/__config.py | ananthsridharan/vtol_sizing | 3f754e1bd3cebdb5b5c68c8a2d84c47be1df2f02 | [
"MIT"
] | 5 | 2018-11-27T21:21:19.000Z | 2021-04-20T15:44:18.000Z | # nnodes, nelem
31 30
# node positions
0.000000e+00 0.000000e+00 0.000000e+00
3.000000e-01 0.000000e+00 0.000000e+00
6.000000e-01 0.000000e+00 0.000000e+00
9.000000e-01 0.000000e+00 0.000000e+00
1.200000e+00 0.000000e+00 0.000000e+00
1.500000e+00 0.000000e+00 0.000000e+00
-3.000000e-01 0.000000e+00 0.000000e+00
-6.000... | 23.680412 | 106 | 0.696996 | 535 | 2,297 | 2.990654 | 0.214953 | 0.286875 | 0.26875 | 0.18 | 0.6125 | 0.59875 | 0.57625 | 0.57625 | 0.57625 | 0.57625 | 0 | 0.598237 | 0.160209 | 2,297 | 96 | 107 | 23.927083 | 0.231208 | 0.249891 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
44c455737c946cbbe3135d8d606ddce2b7a636e3 | 140 | py | Python | py_adventure/__init__.py | ABostrom/py_adventure | 4e2765be1d05aba45c3a45280aeea0b709814d63 | [
"MIT"
] | 2 | 2020-10-12T13:33:31.000Z | 2020-10-14T12:00:40.000Z | py_adventure/__init__.py | ABostrom/py_adventure | 4e2765be1d05aba45c3a45280aeea0b709814d63 | [
"MIT"
] | null | null | null | py_adventure/__init__.py | ABostrom/py_adventure | 4e2765be1d05aba45c3a45280aeea0b709814d63 | [
"MIT"
] | 1 | 2021-04-30T08:10:34.000Z | 2021-04-30T08:10:34.000Z | from .entities import *
from .world import *
from .events import *
from .containers import *
from .io import *
from .game_manager import *
| 17.5 | 27 | 0.735714 | 19 | 140 | 5.368421 | 0.473684 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 140 | 7 | 28 | 20 | 0.886957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44c5946616bba66ab40e5b35365fa3d25e998f8a | 117 | py | Python | tools/dev/llvm_path.py | sineang01/hashlibcxx | 3fc50e6bd69eab0b3a33d388ff22dee5e8cfea3d | [
"BSD-3-Clause"
] | null | null | null | tools/dev/llvm_path.py | sineang01/hashlibcxx | 3fc50e6bd69eab0b3a33d388ff22dee5e8cfea3d | [
"BSD-3-Clause"
] | null | null | null | tools/dev/llvm_path.py | sineang01/hashlibcxx | 3fc50e6bd69eab0b3a33d388ff22dee5e8cfea3d | [
"BSD-3-Clause"
] | null | null | null | import sys
import os
head, tail = os.path.split(sys.argv[1])
head, tail = os.path.split(head)
sys.stdout.write(head)
| 19.5 | 39 | 0.726496 | 22 | 117 | 3.863636 | 0.5 | 0.188235 | 0.235294 | 0.329412 | 0.447059 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.111111 | 117 | 5 | 40 | 23.4 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
44d7090757c0e316c1a53541ca6b72ec5f3307fe | 29,463 | py | Python | networking_nec/tests/unit/nwa/l2/drivers/test_mech_necnwa.py | nec-openstack/networking-nec-nwa | 0c5a4a9fb74b6dc78b773d78755c758ed67ed777 | [
"Apache-2.0"
] | null | null | null | networking_nec/tests/unit/nwa/l2/drivers/test_mech_necnwa.py | nec-openstack/networking-nec-nwa | 0c5a4a9fb74b6dc78b773d78755c758ed67ed777 | [
"Apache-2.0"
] | null | null | null | networking_nec/tests/unit/nwa/l2/drivers/test_mech_necnwa.py | nec-openstack/networking-nec-nwa | 0c5a4a9fb74b6dc78b773d78755c758ed67ed777 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015-2016 NEC Corporation. All rights reserved.
#
# 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 requ... | 44.981679 | 79 | 0.638394 | 3,658 | 29,463 | 4.744396 | 0.082832 | 0.07796 | 0.066379 | 0.081245 | 0.808355 | 0.786402 | 0.744627 | 0.73391 | 0.711668 | 0.700951 | 0 | 0.051345 | 0.250382 | 29,463 | 654 | 80 | 45.050459 | 0.734447 | 0.028748 | 0 | 0.598579 | 0 | 0 | 0.308524 | 0.166066 | 0 | 0 | 0 | 0 | 0.023091 | 1 | 0.046181 | false | 0 | 0.019538 | 0 | 0.072824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
44ee5155f3f406beb6e3ab351754127e8f4dbbe6 | 93 | py | Python | tests/conftest.py | pberba/pulsedive-py | e7b4863bd875843c97f769dac06899652ec9d910 | [
"MIT"
] | 6 | 2018-09-21T22:29:24.000Z | 2020-11-10T02:42:43.000Z | tests/conftest.py | pberba/pulsedive-py | e7b4863bd875843c97f769dac06899652ec9d910 | [
"MIT"
] | 1 | 2019-05-24T01:27:09.000Z | 2019-05-24T01:27:37.000Z | tests/conftest.py | pberba/pulsedive-py | e7b4863bd875843c97f769dac06899652ec9d910 | [
"MIT"
] | 3 | 2019-05-21T11:51:46.000Z | 2020-03-11T13:41:01.000Z | import pytest
import pulsedive
@pytest.fixture
def pud():
return pulsedive.Pulsedive()
| 11.625 | 32 | 0.752688 | 11 | 93 | 6.363636 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 7 | 33 | 13.285714 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
781a03a18e2324684269b898b2ca70056cd7d27a | 41 | py | Python | sigtestv/utils/__init__.py | castorini/sigtestv | 1eea53191196ec492b73abc1e3895ffb02daab06 | [
"MIT"
] | 11 | 2020-04-29T06:53:08.000Z | 2021-06-29T07:35:52.000Z | meanmax/utils/__init__.py | castorini/meanmax | 0ea124105eda04a00677c077b591a94c2e2b2936 | [
"MIT"
] | 2 | 2021-07-29T07:52:04.000Z | 2021-07-29T07:56:41.000Z | meanmax/utils/__init__.py | castorini/meanmax | 0ea124105eda04a00677c077b591a94c2e2b2936 | [
"MIT"
] | null | null | null | from .object import *
from .list import * | 20.5 | 21 | 0.731707 | 6 | 41 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 22 | 20.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7867fb82a3141a815c10aaa038ef67f48befe330 | 13,141 | py | Python | VectorMath.py | hsspratt/Nott-Hawkeye1 | 178f4f0fef62e8699f6057d9d50adfd61a851047 | [
"MIT"
] | null | null | null | VectorMath.py | hsspratt/Nott-Hawkeye1 | 178f4f0fef62e8699f6057d9d50adfd61a851047 | [
"MIT"
] | 1 | 2021-11-11T22:15:36.000Z | 2021-11-11T22:15:36.000Z | VectorMath.py | hsspratt/Nott-Hawkeye1 | 178f4f0fef62e8699f6057d9d50adfd61a851047 | [
"MIT"
] | null | null | null | # %% Imports
%matplotlib widget
from numpy.lib.function_base import angle
from skimage import color
from sympy import Matrix, init_printing
import sympy as sym
from sympy.core.numbers import I
import sympy.printing as printing
from sympy import Integral, Matrix, pi, pprint
import numpy as np
import matplotlib.pyplot as... | 29.464126 | 153 | 0.71646 | 2,428 | 13,141 | 3.639621 | 0.086903 | 0.04832 | 0.020369 | 0.010863 | 0.816114 | 0.767568 | 0.724001 | 0.704877 | 0.649994 | 0.631549 | 0 | 0.091101 | 0.100373 | 13,141 | 445 | 154 | 29.530337 | 0.656403 | 0.109124 | 0 | 0.613971 | 0 | 0 | 0.035821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.136029 | null | null | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78c2a6f3e9c3ca8a7fc091b6705c024e49e4ef67 | 49 | py | Python | bots/map_graph/__init__.py | xyla-io/raspador | 4e77234239d44a83faf5c1d3a6d022a9e3861f25 | [
"MIT"
] | null | null | null | bots/map_graph/__init__.py | xyla-io/raspador | 4e77234239d44a83faf5c1d3a6d022a9e3861f25 | [
"MIT"
] | null | null | null | bots/map_graph/__init__.py | xyla-io/raspador | 4e77234239d44a83faf5c1d3a6d022a9e3861f25 | [
"MIT"
] | null | null | null | from .map_graph_scraper import MapGraphBot as Bot | 49 | 49 | 0.877551 | 8 | 49 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1520e4ba9aa9d76102f1fb69fe2f2849bf142c54 | 115 | py | Python | titan/api_pkg/graphqlapi/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | titan/api_pkg/graphqlapi/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | titan/api_pkg/graphqlapi/resources.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from moonleap import Resource
@dataclass
class GraphqlApi(Resource):
pass
| 12.777778 | 33 | 0.8 | 13 | 115 | 7.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165217 | 115 | 8 | 34 | 14.375 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1547ecec60d4cb68a3cac8fbe6f7765a16b724dd | 113 | py | Python | data_structures/hash_table/conftest.py | jeremyCtown/data-structures-and-algorithms | d4ba8741f858fb5298f8ce560240373fb7742e20 | [
"MIT"
] | null | null | null | data_structures/hash_table/conftest.py | jeremyCtown/data-structures-and-algorithms | d4ba8741f858fb5298f8ce560240373fb7742e20 | [
"MIT"
] | null | null | null | data_structures/hash_table/conftest.py | jeremyCtown/data-structures-and-algorithms | d4ba8741f858fb5298f8ce560240373fb7742e20 | [
"MIT"
] | null | null | null | from hash_table import HashTable as hasher
import pytest
@pytest.fixture
def test_hasher():
return hasher()
| 16.142857 | 42 | 0.778761 | 16 | 113 | 5.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 113 | 6 | 43 | 18.833333 | 0.905263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
154a8022b63ae450abef4e85692a9b19a7a60fb8 | 15 | py | Python | T00-00/slice0.3.py | pedromigueladao/SSof-Project1920 | 91e768312f1a6560db45fd4372010cca30bae65e | [
"MIT"
] | 2 | 2019-11-20T19:26:07.000Z | 2019-11-22T00:42:23.000Z | T00-00/slice0.3.py | pedromigueladao/SSof-Project1920 | 91e768312f1a6560db45fd4372010cca30bae65e | [
"MIT"
] | 2 | 2019-11-28T05:21:24.000Z | 2019-11-28T05:21:58.000Z | T00-00/slice0.3.py | pedromigueladao/SSof-Project1920 | 91e768312f1a6560db45fd4372010cca30bae65e | [
"MIT"
] | 25 | 2019-11-27T01:40:56.000Z | 2019-12-04T23:38:59.000Z | a=0
q=a
z3(q)
| 3 | 5 | 0.466667 | 6 | 15 | 1.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.266667 | 15 | 4 | 6 | 3.75 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1565e71dddf45cd99b69005365f95a6e3e3822bf | 17,236 | py | Python | privx_api/authorizer.py | hokenssh/privx-sdk-for-python | 24627d25c0343f350c9b2396677344b771f8aec6 | [
"Apache-2.0"
] | 4 | 2020-06-15T17:14:18.000Z | 2021-12-20T12:12:56.000Z | privx_api/authorizer.py | hokenssh/privx-sdk-for-python | 24627d25c0343f350c9b2396677344b771f8aec6 | [
"Apache-2.0"
] | 5 | 2019-11-25T07:04:07.000Z | 2021-05-19T08:09:53.000Z | privx_api/authorizer.py | hokenssh/privx-sdk-for-python | 24627d25c0343f350c9b2396677344b771f8aec6 | [
"Apache-2.0"
] | 23 | 2019-11-22T08:17:58.000Z | 2022-02-21T15:50:36.000Z | from http import HTTPStatus
from typing import Optional
from privx_api.base import BasePrivXAPI
from privx_api.enums import UrlEnum
from privx_api.response import PrivXAPIResponse, PrivXStreamResponse
from privx_api.utils import get_value
class AuthorizerAPI(BasePrivXAPI):
def get_authorizer_service_status(self)... | 30.778571 | 81 | 0.609944 | 1,653 | 17,236 | 6.058076 | 0.0732 | 0.067106 | 0.09287 | 0.052726 | 0.844817 | 0.827342 | 0.80687 | 0.786 | 0.718095 | 0.646195 | 0 | 0 | 0.311789 | 17,236 | 559 | 82 | 30.833631 | 0.844208 | 0.154154 | 0 | 0.588235 | 0 | 0 | 0.02005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102167 | false | 0 | 0.024768 | 0 | 0.232198 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
158954e78781556df0a260d6253c8263cc35205c | 36 | py | Python | gitlangstats/csv/__init__.py | zekroTJA/gitlangstats | cf3b1f625e2c345a107548703f1b79a5f44b2cd8 | [
"MIT"
] | null | null | null | gitlangstats/csv/__init__.py | zekroTJA/gitlangstats | cf3b1f625e2c345a107548703f1b79a5f44b2cd8 | [
"MIT"
] | null | null | null | gitlangstats/csv/__init__.py | zekroTJA/gitlangstats | cf3b1f625e2c345a107548703f1b79a5f44b2cd8 | [
"MIT"
] | null | null | null | # flake8: noqa
from .csv import *
| 12 | 19 | 0.638889 | 5 | 36 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.25 | 36 | 2 | 20 | 18 | 0.814815 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
01a8879ecb8b9fb6fe538add347b5287042f4183 | 4,232 | py | Python | 2020/days/day11.py | terezaif/adventofcode | 67601f79a3b01d71434ef0236387ffd5ab7dca0f | [
"MIT"
] | 4 | 2020-12-06T13:11:59.000Z | 2021-12-15T11:34:34.000Z | 2020/days/day11.py | terezaif/adventofcode | 67601f79a3b01d71434ef0236387ffd5ab7dca0f | [
"MIT"
] | null | null | null | 2020/days/day11.py | terezaif/adventofcode | 67601f79a3b01d71434ef0236387ffd5ab7dca0f | [
"MIT"
] | 1 | 2021-12-02T16:32:50.000Z | 2021-12-02T16:32:50.000Z | import copy
def get_seat_count(input: list) -> int:
changes, input = shuffle_seats(input)
while changes > 0:
changes, input = shuffle_seats(input)
return get_seats(input)
def shuffle_seats(input):
new_state = copy.deepcopy(input)
changes = 0
for r in range(0, len(input)):
for... | 25.493976 | 88 | 0.427221 | 504 | 4,232 | 3.494048 | 0.107143 | 0.074957 | 0.068143 | 0.074957 | 0.827371 | 0.801249 | 0.773424 | 0.764906 | 0.736513 | 0.660988 | 0 | 0.015715 | 0.428639 | 4,232 | 165 | 89 | 25.648485 | 0.712572 | 0.039225 | 0 | 0.428571 | 0 | 0 | 0.008385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.007143 | 0 | 0.114286 | 0.014286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
bf1adea57e13d5b11fede7e98bc6929519b9db80 | 32 | py | Python | airbus_cobot_gui/src/airbus_cobot_gui/timestamp/__init__.py | ipa320/airbus_coop | 974564807ba5d24096e237a9991311608a390da1 | [
"Apache-2.0"
] | 4 | 2017-10-15T23:32:24.000Z | 2019-12-26T12:31:53.000Z | airbus_cobot_gui/src/airbus_cobot_gui/timestamp/__init__.py | ipa320/airbus_coop | 974564807ba5d24096e237a9991311608a390da1 | [
"Apache-2.0"
] | 6 | 2017-09-05T13:52:00.000Z | 2017-12-01T14:18:27.000Z | airbus_cobot_gui/src/airbus_cobot_gui/timestamp/__init__.py | ipa320/airbus_coop | 974564807ba5d24096e237a9991311608a390da1 | [
"Apache-2.0"
] | 4 | 2017-09-04T08:14:36.000Z | 2017-09-18T07:22:21.000Z | from timestamp import Timestamp
| 16 | 31 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf25226cefddd855d024708d2935e20d74d8dd04 | 1,309 | py | Python | blog/migrations/0026_auto_20200218_2148.py | sonikarichamodur/website | 5f4be6325675c17870ccf6f78757047151dbf3dd | [
"Apache-2.0"
] | null | null | null | blog/migrations/0026_auto_20200218_2148.py | sonikarichamodur/website | 5f4be6325675c17870ccf6f78757047151dbf3dd | [
"Apache-2.0"
] | 36 | 2019-02-01T09:13:24.000Z | 2021-06-09T19:00:40.000Z | blog/migrations/0026_auto_20200218_2148.py | sonikarichamodur/website | 5f4be6325675c17870ccf6f78757047151dbf3dd | [
"Apache-2.0"
] | 1 | 2021-12-11T02:45:28.000Z | 2021-12-11T02:45:28.000Z | # Generated by Django 2.2.10 on 2020-02-19 02:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0025_auto_20191123_1545'),
]
operations = [
migrations.AlterField(
model_name='historicalmember',
name='tea... | 54.541667 | 433 | 0.622613 | 129 | 1,309 | 6.248062 | 0.410853 | 0.039702 | 0.062035 | 0.07196 | 0.717122 | 0.717122 | 0.717122 | 0.717122 | 0.717122 | 0.717122 | 0 | 0.034959 | 0.169595 | 1,309 | 23 | 434 | 56.913043 | 0.706532 | 0.035141 | 0 | 0.470588 | 1 | 0 | 0.41475 | 0.018239 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
17184a09e308a2c88126d8119067d29a08106dea | 2,765 | py | Python | tests/test_losses/test_gan_loss.py | liuhd073/mmgeneration | 2e09a6b63c5f0ddee850d429c5b739ae1e0cc76d | [
"Apache-2.0"
] | null | null | null | tests/test_losses/test_gan_loss.py | liuhd073/mmgeneration | 2e09a6b63c5f0ddee850d429c5b739ae1e0cc76d | [
"Apache-2.0"
] | null | null | null | tests/test_losses/test_gan_loss.py | liuhd073/mmgeneration | 2e09a6b63c5f0ddee850d429c5b739ae1e0cc76d | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
import numpy.testing as npt
import pytest
import torch
from mmgen.models.losses.gan_loss import GANLoss
def test_gan_losses():
"""Test gan losses."""
with pytest.raises(NotImplementedError):
GANLoss(
'xixihaha',
loss_weight=1.0,
... | 35 | 75 | 0.667269 | 459 | 2,765 | 3.745098 | 0.124183 | 0.097731 | 0.115183 | 0.167539 | 0.786504 | 0.786504 | 0.760908 | 0.743456 | 0.712042 | 0.712042 | 0 | 0.054103 | 0.19783 | 2,765 | 78 | 76 | 35.448718 | 0.72092 | 0.033635 | 0 | 0.483871 | 0 | 0 | 0.016911 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 1 | 0.016129 | false | 0 | 0.064516 | 0 | 0.080645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
bd6cdfcb2d2baa7c9890807db8a64ffe94a651e9 | 129 | py | Python | src/Hyperactive/hyperactive/sub_packages/iota/iota.py | skn123/LDWPSO-CNN | 7f05eb1defee2e968e5b3bed53f2b444b2b48fdb | [
"MIT"
] | 6 | 2020-01-24T16:15:34.000Z | 2022-03-21T13:53:32.000Z | src/Hyperactive/hyperactive/sub_packages/iota/iota.py | skn123/LDWPSO-CNN | 7f05eb1defee2e968e5b3bed53f2b444b2b48fdb | [
"MIT"
] | 1 | 2020-06-15T04:19:32.000Z | 2020-06-15T04:19:32.000Z | src/Hyperactive/hyperactive/sub_packages/iota/iota.py | skn123/LDWPSO-CNN | 7f05eb1defee2e968e5b3bed53f2b444b2b48fdb | [
"MIT"
] | 3 | 2021-03-29T17:11:27.000Z | 2021-05-17T13:33:10.000Z | # Author: Simon Blanke
# Email: simon.blanke@yahoo.com
# License: MIT License
class Iota:
def __init__(self):
pass
| 14.333333 | 31 | 0.666667 | 17 | 129 | 4.823529 | 0.823529 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 129 | 8 | 32 | 16.125 | 0.828283 | 0.550388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bdd5e3f29772766dab26fbb7264f33fe35870786 | 30 | py | Python | cppwg/__init__.py | josephsnyder/cppwg | 265117455ed57eb250643a28ea6029c2bccf3ab3 | [
"MIT"
] | 21 | 2017-10-03T14:29:36.000Z | 2021-12-07T08:54:43.000Z | cppwg/__init__.py | josephsnyder/cppwg | 265117455ed57eb250643a28ea6029c2bccf3ab3 | [
"MIT"
] | 2 | 2017-12-29T19:17:44.000Z | 2020-03-27T14:59:27.000Z | cppwg/__init__.py | josephsnyder/cppwg | 265117455ed57eb250643a28ea6029c2bccf3ab3 | [
"MIT"
] | 6 | 2019-03-21T11:55:52.000Z | 2021-07-13T20:49:50.000Z | from cppwg.generators import * | 30 | 30 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bdfcdb1c9d91bfe15d00aa70ba5f70d769f8a4b2 | 144 | py | Python | savvy/__init__.py | mschrader15/savvy | ae9e06195ac76c0d0a729c8a5cdd24ec36d5297c | [
"BSD-2-Clause"
] | 38 | 2016-03-19T20:14:43.000Z | 2022-01-05T22:53:22.000Z | savvy/__init__.py | mschrader15/savvy | ae9e06195ac76c0d0a729c8a5cdd24ec36d5297c | [
"BSD-2-Clause"
] | 8 | 2016-02-23T23:17:29.000Z | 2016-03-11T21:40:33.000Z | savvy/__init__.py | houghb/HDSAviz | 82e7e897ac3bef6291dbd2b7b93a78de4db64c69 | [
"BSD-2-Clause"
] | 10 | 2016-07-30T04:05:46.000Z | 2021-09-20T02:44:24.000Z | from . import data_processing
from . import interactive_plots
from . import plotting
from . import network_tools
from . import sensitivity_tools | 28.8 | 31 | 0.833333 | 19 | 144 | 6.105263 | 0.526316 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 5 | 32 | 28.8 | 0.928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da1f27b0f2ba1797b6dd69ecca33d6506a8c725a | 4,215 | py | Python | store/tests/test_context_processor.py | kevgathuku/compshop | 385fcb608d492921d41072d2d634fc46164ee0f8 | [
"BSD-3-Clause"
] | 1 | 2015-07-04T08:24:59.000Z | 2015-07-04T08:24:59.000Z | store/tests/test_context_processor.py | kevgathuku/compshop | 385fcb608d492921d41072d2d634fc46164ee0f8 | [
"BSD-3-Clause"
] | null | null | null | store/tests/test_context_processor.py | kevgathuku/compshop | 385fcb608d492921d41072d2d634fc46164ee0f8 | [
"BSD-3-Clause"
] | null | null | null | """
Tests for Custom context processors.
"""
import os
from django.conf import settings
from django.core.urlresolvers import reverse
from django.test import TestCase, override_settings
from .factories import ProductFactory
class ProductCategoriesContextProcessorTests(TestCase):
"""
Tests for the ``store.cont... | 37.633929 | 78 | 0.559193 | 347 | 4,215 | 6.570605 | 0.181556 | 0.186404 | 0.073684 | 0.108772 | 0.847368 | 0.818421 | 0.818421 | 0.782456 | 0.782456 | 0.782456 | 0 | 0 | 0.337604 | 4,215 | 111 | 79 | 37.972973 | 0.816619 | 0.059312 | 0 | 0.629213 | 0 | 0 | 0.320336 | 0.248981 | 0 | 0 | 0 | 0 | 0.044944 | 1 | 0.044944 | false | 0 | 0.05618 | 0 | 0.123596 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
da2601ac6cf4ea8f41a6a6d212ed8eb6020f73cd | 160,883 | py | Python | BH3.py | MayankDAS/BH_GUI | d680a82ebc20b8b757392bc5014ca3d6d6533f22 | [
"CC0-1.0"
] | null | null | null | BH3.py | MayankDAS/BH_GUI | d680a82ebc20b8b757392bc5014ca3d6d6533f22 | [
"CC0-1.0"
] | null | null | null | BH3.py | MayankDAS/BH_GUI | d680a82ebc20b8b757392bc5014ca3d6d6533f22 | [
"CC0-1.0"
] | null | null | null | from tkinter import *
import tkinter as tk
from tkinter import ttk
import mysql.connector
from tkinter import messagebox
root = tk.Tk()
root.title("BRAND HUT")
Grid.rowconfigure(root, 0, weight=1)
Grid.rowconfigure(root, 1, weight=1)
Grid.rowconfigure(root, 2, weight=1)
Grid.columnconfigure(root, 0,... | 58.31207 | 399 | 0.478714 | 18,773 | 160,883 | 3.99217 | 0.031748 | 0.090693 | 0.102875 | 0.048382 | 0.855774 | 0.833731 | 0.807165 | 0.794556 | 0.780959 | 0.756355 | 0 | 0.036912 | 0.363133 | 160,883 | 2,759 | 400 | 58.31207 | 0.694537 | 0.058732 | 0 | 0.636364 | 0 | 0.005455 | 0.201808 | 0.00723 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014091 | false | 0.014091 | 0.002273 | 0 | 0.016364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
e52c6b0465ba4c3eff48d11c5fdf12bdaccfdf62 | 81 | py | Python | crowdsourcing/annotation_types/classification/__init__.py | sbranson/online_crowdsourcing | d1f7c814bb60aae9cf5e76e0b299713246f98ce3 | [
"MIT"
] | 4 | 2019-08-14T21:14:18.000Z | 2021-11-04T09:32:37.000Z | crowdsourcing/annotation_types/classification/__init__.py | sbranson/online_crowdsourcing | d1f7c814bb60aae9cf5e76e0b299713246f98ce3 | [
"MIT"
] | null | null | null | crowdsourcing/annotation_types/classification/__init__.py | sbranson/online_crowdsourcing | d1f7c814bb60aae9cf5e76e0b299713246f98ce3 | [
"MIT"
] | 1 | 2019-11-09T08:20:27.000Z | 2019-11-09T08:20:27.000Z | from binary import *
from binary_cv_predictor import *
#from multiclass import *
| 20.25 | 33 | 0.802469 | 11 | 81 | 5.727273 | 0.545455 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 34 | 27 | 0.913043 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e54a9ac1ef43fe6260995043068b1e4b0385c365 | 50 | py | Python | tests/test_service.py | christophevg/py-service | 6c06caac42537580af4e5cdc880e03c5714f65d3 | [
"MIT"
] | 1 | 2018-12-23T16:56:23.000Z | 2018-12-23T16:56:23.000Z | tests/test_service.py | christophevg/py-service | 6c06caac42537580af4e5cdc880e03c5714f65d3 | [
"MIT"
] | 1 | 2021-06-01T22:03:16.000Z | 2021-06-01T22:03:16.000Z | tests/test_service.py | christophevg/py-servicefactory | 6c06caac42537580af4e5cdc880e03c5714f65d3 | [
"MIT"
] | null | null | null | # TODO :-(
def test_placeholder():
assert True
| 10 | 23 | 0.66 | 6 | 50 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 50 | 4 | 24 | 12.5 | 0.8 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.5 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e5563d1a7ee77d6f8f0d18d7261133d2763f6103 | 631 | py | Python | temboo/core/Library/CorpWatch/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/CorpWatch/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/CorpWatch/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.CorpWatch.Lists.ListCountryCodes import ListCountryCodes, ListCountryCodesInputSet, ListCountryCodesResultSet, ListCountryCodesChoreographyExecution
from temboo.Library.CorpWatch.Lists.ListIndustryCodes import ListIndustryCodes, ListIndustryCodesInputSet, ListIndustryCodesResultSet, ListIndustryCode... | 126.2 | 173 | 0.911252 | 44 | 631 | 13.068182 | 0.5 | 0.069565 | 0.118261 | 0.18087 | 0.215652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044374 | 631 | 4 | 174 | 157.75 | 0.953566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e5da178835d91e3f6f79c31b036f3a9a34508969 | 53 | py | Python | pewn/__init__.py | 5elenay/pewn | d5bd7c42eb623a64884623542e71bfcf2532878d | [
"MIT"
] | 1 | 2021-07-19T14:25:23.000Z | 2021-07-19T14:25:23.000Z | pewn/__init__.py | 5elenay/pewn | d5bd7c42eb623a64884623542e71bfcf2532878d | [
"MIT"
] | null | null | null | pewn/__init__.py | 5elenay/pewn | d5bd7c42eb623a64884623542e71bfcf2532878d | [
"MIT"
] | null | null | null | from pewn.classes import *
from pewn.http import *
| 17.666667 | 27 | 0.735849 | 8 | 53 | 4.875 | 0.625 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 53 | 2 | 28 | 26.5 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e5dda140565ec21e117c4262b8ac1f61f77bdda1 | 189 | py | Python | sqlserver_ado/models/__init__.py | BangC/django-mssql | 998c7a0c94f2906bc79f6cf8b74a5a53420f3714 | [
"MIT"
] | null | null | null | sqlserver_ado/models/__init__.py | BangC/django-mssql | 998c7a0c94f2906bc79f6cf8b74a5a53420f3714 | [
"MIT"
] | null | null | null | sqlserver_ado/models/__init__.py | BangC/django-mssql | 998c7a0c94f2906bc79f6cf8b74a5a53420f3714 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from sqlserver_ado.models.manager import RawStoredProcedureManager # NOQA
from sqlserver_ado.models.query import RawStoredProcedureQuerySet # NOQA
| 47.25 | 74 | 0.873016 | 21 | 189 | 7.52381 | 0.619048 | 0.164557 | 0.202532 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 189 | 3 | 75 | 63 | 0.923977 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e5e3b445e8dacfeb04e932c9cce56743f8a55f27 | 87 | py | Python | problems/current_time.py | rndmized/python_fundamentals | 222ed85eb582c4a2ce5459e20c53ac22d5b58711 | [
"MIT"
] | null | null | null | problems/current_time.py | rndmized/python_fundamentals | 222ed85eb582c4a2ce5459e20c53ac22d5b58711 | [
"MIT"
] | null | null | null | problems/current_time.py | rndmized/python_fundamentals | 222ed85eb582c4a2ce5459e20c53ac22d5b58711 | [
"MIT"
] | null | null | null | import datetime as dt
#Print Date Time
print(" Current Date/Time:", dt.datetime.now()) | 21.75 | 47 | 0.735632 | 14 | 87 | 4.571429 | 0.642857 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 4 | 47 | 21.75 | 0.842105 | 0.172414 | 0 | 0 | 0 | 0 | 0.263889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f92c391754d04b88a4948ac94a62a59f457ddcfc | 91 | py | Python | saleor/rest/serializers/checkout/__init__.py | Chaoslecion123/Diver | 8c5c493701422eada49cbf95b0b0add08f1ea561 | [
"BSD-3-Clause"
] | null | null | null | saleor/rest/serializers/checkout/__init__.py | Chaoslecion123/Diver | 8c5c493701422eada49cbf95b0b0add08f1ea561 | [
"BSD-3-Clause"
] | null | null | null | saleor/rest/serializers/checkout/__init__.py | Chaoslecion123/Diver | 8c5c493701422eada49cbf95b0b0add08f1ea561 | [
"BSD-3-Clause"
] | null | null | null | from .checkout import CheckoutSerializer
from .checkout_line import CheckoutLineSerializer
| 30.333333 | 49 | 0.89011 | 9 | 91 | 8.888889 | 0.666667 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 50 | 45.5 | 0.963855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0062e7da3f434ecc70f11f5cf11538830162d05d | 8,523 | py | Python | tests/components/wake_on_lan/test_switch.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 1 | 2021-07-08T20:09:55.000Z | 2021-07-08T20:09:55.000Z | tests/components/wake_on_lan/test_switch.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 47 | 2021-02-21T23:43:07.000Z | 2022-03-31T06:07:10.000Z | tests/components/wake_on_lan/test_switch.py | OpenPeerPower/core | f673dfac9f2d0c48fa30af37b0a99df9dd6640ee | [
"Apache-2.0"
] | null | null | null | """The tests for the wake on lan switch platform."""
import platform
import subprocess
from unittest.mock import patch
import pytest
import openpeerpower.components.switch as switch
from openpeerpower.const import (
ATTR_ENTITY_ID,
SERVICE_TURN_OFF,
SERVICE_TURN_ON,
STATE_OFF,
STATE_ON,
)
from ope... | 26.717868 | 84 | 0.585944 | 1,012 | 8,523 | 4.659091 | 0.098814 | 0.045811 | 0.068717 | 0.085896 | 0.848356 | 0.804242 | 0.788971 | 0.788971 | 0.780912 | 0.764581 | 0 | 0.023111 | 0.30447 | 8,523 | 318 | 85 | 26.801887 | 0.772267 | 0.007626 | 0 | 0.672199 | 0 | 0 | 0.142892 | 0.006922 | 0 | 0 | 0 | 0 | 0.120332 | 1 | 0.004149 | false | 0 | 0.033195 | 0 | 0.037344 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
00a99a592c21af86443bb87a33e2b72d5baff349 | 76 | py | Python | upman/views/__init__.py | marcsello/upman | 9e6481f73986ba4a162962c623b8ee1c1d4dab9d | [
"MIT"
] | null | null | null | upman/views/__init__.py | marcsello/upman | 9e6481f73986ba4a162962c623b8ee1c1d4dab9d | [
"MIT"
] | null | null | null | upman/views/__init__.py | marcsello/upman | 9e6481f73986ba4a162962c623b8ee1c1d4dab9d | [
"MIT"
] | null | null | null | from .report_view import ReportView
from .reporter_view import ReporterView
| 25.333333 | 39 | 0.868421 | 10 | 76 | 6.4 | 0.7 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 40 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9737af319169b87de27f875b9027c20f58e810ba | 24 | py | Python | subshifter_files/constants/__init__.py | stecik/subtitle_shifter | 035ecaac27ce66378ac7c7ef219fbbc8204a1fee | [
"MIT"
] | 37 | 2017-08-23T23:26:01.000Z | 2022-01-29T14:37:42.000Z | subshifter_files/constants/__init__.py | stecik/subtitle_shifter | 035ecaac27ce66378ac7c7ef219fbbc8204a1fee | [
"MIT"
] | 11 | 2020-05-26T20:45:42.000Z | 2020-07-24T21:20:08.000Z | subshifter_files/constants/__init__.py | stecik/subtitle_shifter | 035ecaac27ce66378ac7c7ef219fbbc8204a1fee | [
"MIT"
] | 16 | 2017-11-21T18:46:15.000Z | 2022-03-31T07:33:17.000Z | from .constants import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
97781402ab2c46ed7351bc015de304230d8534c7 | 150 | py | Python | pynode/helpers/signatures.py | JasonGhostDev/Eternity | c1dec90b95c329ad5a6ada872bb1c2868defa126 | [
"MIT"
] | 6 | 2021-03-28T17:46:54.000Z | 2021-11-26T02:55:34.000Z | pynode/helpers/signatures.py | JasonGhostDev/Eternity | c1dec90b95c329ad5a6ada872bb1c2868defa126 | [
"MIT"
] | 1 | 2021-03-28T17:58:55.000Z | 2021-03-28T17:58:55.000Z | pynode/helpers/signatures.py | JasonGhostDev/Eternity | c1dec90b95c329ad5a6ada872bb1c2868defa126 | [
"MIT"
] | 7 | 2021-03-28T17:31:54.000Z | 2021-07-21T02:52:37.000Z |
# Copyright (c) 2021 Eternity Devs
import ecdsa
def verify_signature(pub_key, signature, message):
return pub_key.verify(signature, message)
| 18.75 | 50 | 0.76 | 20 | 150 | 5.55 | 0.7 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.16 | 150 | 7 | 51 | 21.428571 | 0.849206 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
97c0ff571bd7c4ab17879f7a1505659d28e82ea9 | 170 | py | Python | src/admin_extra_urls/api.py | saxix/django-admin-extra-urls | 295112cbc194c20de0c176c535d0cddf3b3cb680 | [
"BSD-1-Clause"
] | 24 | 2015-05-01T03:27:53.000Z | 2022-02-20T07:45:02.000Z | src/admin_extra_urls/api.py | saxix/django-admin-extra-urls | 295112cbc194c20de0c176c535d0cddf3b3cb680 | [
"BSD-1-Clause"
] | 19 | 2015-03-28T09:54:56.000Z | 2022-01-07T14:56:09.000Z | src/admin_extra_urls/api.py | saxix/django-admin-extra-urls | 295112cbc194c20de0c176c535d0cddf3b3cb680 | [
"BSD-1-Clause"
] | 15 | 2015-10-20T10:15:18.000Z | 2022-02-01T16:25:53.000Z | from .button import UrlButton # noqa: F401
from .decorators import button, href, link, url # noqa: F401
from .mixins import ExtraUrlMixin, confirm_action # noqa: F401
| 42.5 | 63 | 0.758824 | 23 | 170 | 5.565217 | 0.608696 | 0.1875 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06338 | 0.164706 | 170 | 3 | 64 | 56.666667 | 0.838028 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c1227f15eacf4d039b0cf4511d0c5fde8c09c5f6 | 3,018 | py | Python | optimization/examples/sa.py | gianmarcodonetti/optimization | 68fbf330b7849a111032a726adaaa97a3e842dba | [
"MIT"
] | null | null | null | optimization/examples/sa.py | gianmarcodonetti/optimization | 68fbf330b7849a111032a726adaaa97a3e842dba | [
"MIT"
] | null | null | null | optimization/examples/sa.py | gianmarcodonetti/optimization | 68fbf330b7849a111032a726adaaa97a3e842dba | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from functools import partial
from optimization.examples.objfunctions import sin_amplitude_obj, sin_amplitude_basic_obj, neighbour_sin_amplitude
from optimization.heuristic import simulatedannealing
def basic():
x = np.linspace(-100, 100, 1000)
y = sin_ampli... | 29.588235 | 114 | 0.653082 | 435 | 3,018 | 4.351724 | 0.232184 | 0.095087 | 0.047544 | 0.063391 | 0.802958 | 0.779715 | 0.779715 | 0.779715 | 0.779715 | 0.779715 | 0 | 0.038224 | 0.193837 | 3,018 | 101 | 115 | 29.881188 | 0.739827 | 0 | 0 | 0.682927 | 0 | 0 | 0.134858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.060976 | 0 | 0.109756 | 0.085366 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
c15d4879b89a9a368523f891eb2cd392af02ecee | 23 | py | Python | gif2mat.py | William-An/2016-HiMCM-Source-Code | 2c701fe98420017e0667485f7905133ac58b15b1 | [
"MIT"
] | 2 | 2020-10-06T07:33:15.000Z | 2020-10-12T17:26:49.000Z | scripts/icons_selection.py | Goader/embroidery | 7dbc1a9fca99af74069eba473626f40022cb936c | [
"MIT"
] | null | null | null | scripts/icons_selection.py | Goader/embroidery | 7dbc1a9fca99af74069eba473626f40022cb936c | [
"MIT"
] | 1 | 2021-08-06T10:05:30.000Z | 2021-08-06T10:05:30.000Z | from PIL import Image
| 7.666667 | 21 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c18b6789e4ab49af4474f98a806c6b634275ed1a | 3,279 | py | Python | django_test/wxtest/models.py | yanhuaijun/test01 | a61314ee528f376b4a42fe0ecb072c036fc5f3b2 | [
"Unlicense"
] | null | null | null | django_test/wxtest/models.py | yanhuaijun/test01 | a61314ee528f376b4a42fe0ecb072c036fc5f3b2 | [
"Unlicense"
] | null | null | null | django_test/wxtest/models.py | yanhuaijun/test01 | a61314ee528f376b4a42fe0ecb072c036fc5f3b2 | [
"Unlicense"
] | null | null | null | from django.db import models
# Create your models here.
from django.db import models
# Create your models here.
# Register your models here.
class UserType(models.Model):
name = models.CharField(max_length=32)
class wxuser(models.Model): #微信用户表
unionid = models.CharField(max_length=32)
openid = models.... | 37.689655 | 73 | 0.752668 | 460 | 3,279 | 5.165217 | 0.152174 | 0.353535 | 0.424242 | 0.565657 | 0.849747 | 0.805556 | 0.696128 | 0.608586 | 0.608586 | 0.571549 | 0 | 0.049558 | 0.138457 | 3,279 | 87 | 74 | 37.689655 | 0.791504 | 0.046356 | 0 | 0.681159 | 0 | 0 | 0.002576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028986 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c1a0ec83811bc920a27f05c49d861eb4459e970a | 260 | py | Python | core/views.py | ThalesLeal/appdjangoecommercee | 816f31117996c23d87d224f3eebe1195ee215400 | [
"CC0-1.0"
] | null | null | null | core/views.py | ThalesLeal/appdjangoecommercee | 816f31117996c23d87d224f3eebe1195ee215400 | [
"CC0-1.0"
] | null | null | null | core/views.py | ThalesLeal/appdjangoecommercee | 816f31117996c23d87d224f3eebe1195ee215400 | [
"CC0-1.0"
] | null | null | null | # coding=utf-8
from django.shortcuts import render
from django.http import HttpResponse
from catalog.models import Category
def index(request):
return render(request, 'index.html')
def contact(request):
return render(request, 'contact.html')
| 17.333333 | 42 | 0.746154 | 34 | 260 | 5.705882 | 0.558824 | 0.103093 | 0.195876 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.161538 | 260 | 14 | 43 | 18.571429 | 0.885321 | 0.046154 | 0 | 0 | 0 | 0 | 0.089796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
de11e416e5dfa9011e58bb04b5e5c2b813e0a7f8 | 27 | py | Python | lime/optimize/__init__.py | choderalab/gin | 9082431d8b664699a898c1e2fa490a18737d6e2d | [
"MIT"
] | 24 | 2019-07-20T22:37:09.000Z | 2021-07-07T07:13:56.000Z | lime/optimize/__init__.py | choderalab/gin | 9082431d8b664699a898c1e2fa490a18737d6e2d | [
"MIT"
] | 3 | 2021-05-10T05:29:59.000Z | 2022-02-10T00:15:05.000Z | lime/optimize/__init__.py | kuano-ai/gimlet | 9082431d8b664699a898c1e2fa490a18737d6e2d | [
"MIT"
] | 8 | 2019-08-09T17:30:20.000Z | 2021-12-01T13:27:46.000Z | import lime.optimize.dummy
| 13.5 | 26 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de14f9a63c445f3b5fae02f97772c29f26fd8af4 | 34 | py | Python | newpy.py | sunilks/firstBinder | 0a91931dfdbf5fb89bc733b24b837af3fbb36b6c | [
"Apache-2.0"
] | null | null | null | newpy.py | sunilks/firstBinder | 0a91931dfdbf5fb89bc733b24b837af3fbb36b6c | [
"Apache-2.0"
] | null | null | null | newpy.py | sunilks/firstBinder | 0a91931dfdbf5fb89bc733b24b837af3fbb36b6c | [
"Apache-2.0"
] | null | null | null | print("Hello Sunil from Binder!")
| 17 | 33 | 0.735294 | 5 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a9b03a3f2e25f99416f76c1c1a8e6960eab305c1 | 32 | py | Python | assemblyline/al_ui/helper/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 46 | 2017-05-15T11:15:08.000Z | 2018-07-02T03:32:52.000Z | assemblyline/al_ui/helper/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | null | null | null | assemblyline/al_ui/helper/__init__.py | dendisuhubdy/grokmachine | 120a21a25c2730ed356739231ec8b99fc0575c8b | [
"BSD-3-Clause"
] | 24 | 2017-05-17T03:26:17.000Z | 2018-07-09T07:00:50.000Z | from al_ui.helper.core import *
| 16 | 31 | 0.78125 | 6 | 32 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e72ea1d33552e9db55ae0bcc113fecaa325f5958 | 2,343 | py | Python | data_to_mongodb.py | Aldridgexia/sleepinfo | 7586561588633eda46f8bc15f5a00543fd7d7174 | [
"MIT"
] | null | null | null | data_to_mongodb.py | Aldridgexia/sleepinfo | 7586561588633eda46f8bc15f5a00543fd7d7174 | [
"MIT"
] | null | null | null | data_to_mongodb.py | Aldridgexia/sleepinfo | 7586561588633eda46f8bc15f5a00543fd7d7174 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from datetime import *
import pymongo
client = pymongo.MongoClient()
db = client.sleepinfo
post = db.dayinfo
today = datetime.today()
dayinfo = {}
is_today = str(raw_input("Do you want to enter today's data: "))
if is_today in ['y', 'Y', 'yes', 'Yes']:
dayinfo['date'] = today
#读入起床时间
... | 35.5 | 109 | 0.696116 | 347 | 2,343 | 4.45245 | 0.178674 | 0.067314 | 0.099676 | 0.135275 | 0.757929 | 0.757929 | 0.757929 | 0.757929 | 0.742395 | 0.711327 | 0 | 0.006757 | 0.178831 | 2,343 | 65 | 110 | 36.046154 | 0.796258 | 0.03073 | 0 | 0.55102 | 0 | 0 | 0.181698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.040816 | null | null | 0.163265 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7550a03c4bea3896b0687d58e8b395e83de1aad | 135 | py | Python | pardal/authserver/run.py | anapaulagomes/pardal-python | d67ba1e0e67677320f37cab1288881ad7845612b | [
"MIT"
] | 2 | 2019-01-30T22:35:44.000Z | 2019-01-30T22:41:06.000Z | pardal/authserver/run.py | anapaulagomes/pardal-python | d67ba1e0e67677320f37cab1288881ad7845612b | [
"MIT"
] | null | null | null | pardal/authserver/run.py | anapaulagomes/pardal-python | d67ba1e0e67677320f37cab1288881ad7845612b | [
"MIT"
] | null | null | null | from pardal.authserver.app import app
from pardal.authserver import endpoints # noqa: F401
if __name__ == '__main__':
app.run()
| 19.285714 | 53 | 0.733333 | 18 | 135 | 5.055556 | 0.666667 | 0.21978 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.17037 | 135 | 6 | 54 | 22.5 | 0.785714 | 0.074074 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e792c6c645436c7a05772cecae4604d091c1da07 | 24 | py | Python | src/sound_lib/effects/__init__.py | Oire/TheQube | fcfd8a68b15948e0740642d635db24adef8cc314 | [
"MIT"
] | 21 | 2015-08-02T21:26:14.000Z | 2019-12-27T09:57:44.000Z | src/sound_lib/effects/__init__.py | Oire/TheQube | fcfd8a68b15948e0740642d635db24adef8cc314 | [
"MIT"
] | 34 | 2015-01-12T00:38:14.000Z | 2020-08-31T11:19:37.000Z | src/sound_lib/effects/__init__.py | Oire/TheQube | fcfd8a68b15948e0740642d635db24adef8cc314 | [
"MIT"
] | 15 | 2015-03-24T15:42:30.000Z | 2020-09-24T20:26:42.000Z | from tempo import Tempo
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7bfc296c5fead67e1e6480b5af208da378c999c | 38 | py | Python | python/file-tests/testTraceback3.py | CodeSteak/write-your-python-program | 13a10f1e8f4fe23c66a8762854c8bb12f0fb9ff4 | [
"BSD-3-Clause"
] | 1 | 2021-09-30T10:17:57.000Z | 2021-09-30T10:17:57.000Z | python/file-tests/testTraceback3.py | CodeSteak/write-your-python-program | 13a10f1e8f4fe23c66a8762854c8bb12f0fb9ff4 | [
"BSD-3-Clause"
] | 47 | 2020-11-16T14:02:52.000Z | 2022-03-18T12:44:38.000Z | python/file-tests/testTraceback3.py | CodeSteak/write-your-python-program | 13a10f1e8f4fe23c66a8762854c8bb12f0fb9ff4 | [
"BSD-3-Clause"
] | 4 | 2020-10-28T13:54:44.000Z | 2022-01-20T17:36:24.000Z | from wypp import *
print([1,2,3][10])
| 12.666667 | 18 | 0.631579 | 8 | 38 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0.131579 | 38 | 2 | 19 | 19 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e7c957015197e6abe0e71e878f4eb17a778ad18d | 38 | py | Python | jinahub/indexers/storage/LMDBStorage/__init__.py | albertocarpentieri/executors | 3b025b6106fca9dba3c2569b0e60da050273fa6e | [
"Apache-2.0"
] | 29 | 2021-07-26T07:16:38.000Z | 2022-03-27T15:10:34.000Z | jinahub/indexers/storage/LMDBStorage/__init__.py | albertocarpentieri/executors | 3b025b6106fca9dba3c2569b0e60da050273fa6e | [
"Apache-2.0"
] | 176 | 2021-07-23T08:30:21.000Z | 2022-03-14T12:29:06.000Z | jinahub/indexers/storage/LMDBStorage/__init__.py | albertocarpentieri/executors | 3b025b6106fca9dba3c2569b0e60da050273fa6e | [
"Apache-2.0"
] | 16 | 2021-07-26T20:55:40.000Z | 2022-03-18T15:32:17.000Z | from .lmdb_storage import LMDBStorage
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e7da276e3dade22d7288072fde5a46b27de25651 | 109 | py | Python | python/atizer/__init__.py | tjgiese/atizer | b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3 | [
"MIT"
] | null | null | null | python/atizer/__init__.py | tjgiese/atizer | b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3 | [
"MIT"
] | null | null | null | python/atizer/__init__.py | tjgiese/atizer | b8cdb8f4bac7cedfb566d766acee5fe0cc7a7bd3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#__all__ = [ "base" ]
from .base import *
from .m4 import *
from .licenses import *
| 12.111111 | 23 | 0.642202 | 15 | 109 | 4.4 | 0.666667 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.201835 | 109 | 8 | 24 | 13.625 | 0.747126 | 0.366972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8242ded30f2d252bec9693139738875a4c8f99c4 | 121 | py | Python | python/13_regex_and_parsing/15_validatingcreditcardnumbers.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | null | null | null | python/13_regex_and_parsing/15_validatingcreditcardnumbers.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | null | null | null | python/13_regex_and_parsing/15_validatingcreditcardnumbers.py | jaimiles23/hacker_rank | 0580eac82e5d0989afabb5c2e66faf09713f891b | [
"Apache-2.0"
] | 3 | 2021-09-22T11:06:58.000Z | 2022-01-25T09:29:24.000Z | Solution to [Validating Credit Card Numbers](https://www.hackerrank.com/challenges/validating-credit-card-number/problem) | 121 | 121 | 0.834711 | 16 | 121 | 6.3125 | 0.8125 | 0.316832 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 121 | 1 | 121 | 121 | 0.87069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68b722972d50199855d95fa8c8cc5307c9726c12 | 34 | py | Python | reproject/healpix/__init__.py | williyamshoe/reproject | 6d9b69a8b7965f4223749ca761703c33d051a9ac | [
"BSD-3-Clause"
] | 39 | 2019-05-11T19:23:33.000Z | 2022-02-28T12:25:37.000Z | reproject/healpix/__init__.py | williyamshoe/reproject | 6d9b69a8b7965f4223749ca761703c33d051a9ac | [
"BSD-3-Clause"
] | 121 | 2018-12-06T16:36:05.000Z | 2022-03-31T23:52:40.000Z | reproject/healpix/__init__.py | williyamshoe/reproject | 6d9b69a8b7965f4223749ca761703c33d051a9ac | [
"BSD-3-Clause"
] | 17 | 2018-12-05T04:14:48.000Z | 2021-12-09T22:29:54.000Z | from .high_level import * # noqa
| 17 | 33 | 0.705882 | 5 | 34 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 1 | 34 | 34 | 0.851852 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b60a3a3cf7bb03244f9dfc289589613b6beb418 | 45 | py | Python | fnote/blueprints/note/__init__.py | carlegbert/wholenote | 710b6d9d90b35e6f35ac66e9312ae91fbb2ddfd3 | [
"MIT"
] | 1 | 2017-04-27T08:58:24.000Z | 2017-04-27T08:58:24.000Z | fnote/blueprints/note/__init__.py | carlegbert/wholenote | 710b6d9d90b35e6f35ac66e9312ae91fbb2ddfd3 | [
"MIT"
] | null | null | null | fnote/blueprints/note/__init__.py | carlegbert/wholenote | 710b6d9d90b35e6f35ac66e9312ae91fbb2ddfd3 | [
"MIT"
] | null | null | null | from fnote.blueprints.note.views import note
| 22.5 | 44 | 0.844444 | 7 | 45 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6b6b7b4ca6a18f84eda289ea0b26d2108a596982 | 165 | py | Python | MetioTube/main_app/templatetags/split_get_first_filter.py | Sheko1/MetioTube | c1c36d00ea46fc37cc7f3c0c9c0cae6e89b2113c | [
"MIT"
] | null | null | null | MetioTube/main_app/templatetags/split_get_first_filter.py | Sheko1/MetioTube | c1c36d00ea46fc37cc7f3c0c9c0cae6e89b2113c | [
"MIT"
] | null | null | null | MetioTube/main_app/templatetags/split_get_first_filter.py | Sheko1/MetioTube | c1c36d00ea46fc37cc7f3c0c9c0cae6e89b2113c | [
"MIT"
] | null | null | null | from django.template import Library
register = Library()
@register.filter(name='split_get_first')
def split_get_first(value, sep):
return value.split(sep)[0]
| 18.333333 | 40 | 0.757576 | 24 | 165 | 5.041667 | 0.666667 | 0.247934 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.121212 | 165 | 8 | 41 | 20.625 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6be355a4204210661a0b7b8b59048638ae41fbe1 | 24 | py | Python | webserver/__init__.py | mdatsev/webserver | 325339596971b0f3f6a273d7dc6b39353f5661ef | [
"Unlicense"
] | null | null | null | webserver/__init__.py | mdatsev/webserver | 325339596971b0f3f6a273d7dc6b39353f5661ef | [
"Unlicense"
] | null | null | null | webserver/__init__.py | mdatsev/webserver | 325339596971b0f3f6a273d7dc6b39353f5661ef | [
"Unlicense"
] | null | null | null | from .server import main | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bf2b939cfe40bb456e2fe6b1dafa78ad1cda34c | 8,590 | py | Python | effmass/dos.py | brlec/effmass | cd0add6a40a16ad8f0250f8e5e7a2e07c284a497 | [
"MIT"
] | 34 | 2018-10-05T14:52:42.000Z | 2022-03-29T14:23:11.000Z | effmass/dos.py | brlec/effmass | cd0add6a40a16ad8f0250f8e5e7a2e07c284a497 | [
"MIT"
] | 43 | 2018-07-06T16:31:27.000Z | 2022-03-29T11:00:31.000Z | effmass/dos.py | brlec/effmass | cd0add6a40a16ad8f0250f8e5e7a2e07c284a497 | [
"MIT"
] | 31 | 2018-06-26T12:10:00.000Z | 2022-03-29T14:23:12.000Z | #! /usr/bin/env python3
"""
A module for analysing DOSCAR data.
"""
import numpy as np
def _check_integrated_dos_loaded(Data):
"""Helper function to check if :attr:`~effmass.inputs.Data.integrated_dos`
is loaded.
Args:
Data (Data): Instance of the :class:`Data` class.
Returns:
None.... | 42.95 | 234 | 0.644936 | 1,163 | 8,590 | 4.615649 | 0.128117 | 0.147727 | 0.177347 | 0.070417 | 0.931818 | 0.887109 | 0.875186 | 0.853018 | 0.832899 | 0.785209 | 0 | 0.012606 | 0.261234 | 8,590 | 199 | 235 | 43.165829 | 0.833281 | 0.444936 | 0 | 0.449438 | 0 | 0 | 0.070795 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 1 | 0.067416 | false | 0 | 0.011236 | 0 | 0.146067 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
2e0eb3e018651e30a0b6a06f422aa283bac1235c | 2,308 | py | Python | fb-spambot.py | mah-hacker/Facebook-Spambot | 7898387e6d7028977d52b05bf0499a8592f3232f | [
"MIT"
] | null | null | null | fb-spambot.py | mah-hacker/Facebook-Spambot | 7898387e6d7028977d52b05bf0499a8592f3232f | [
"MIT"
] | null | null | null | fb-spambot.py | mah-hacker/Facebook-Spambot | 7898387e6d7028977d52b05bf0499a8592f3232f | [
"MIT"
] | null | null | null | from selenium import webdriver
import time
from getpass import getpass
print('_____ _ ____ _____ ____ ___ ___ _ __ ____ ____ _ ___ ___ ____ ___ _____')
print('| ___/ \ / ___| ____| __ ) / _ \ / _ \| |/ / / ___|| _ \ / \ | \/ | | __ ) / _ \_ _|')
print("| |_ / _ \| | | _| |... | 44.384615 | 211 | 0.611785 | 345 | 2,308 | 3.556522 | 0.194203 | 0.220049 | 0.193969 | 0.176039 | 0.496333 | 0.455583 | 0.409128 | 0.383863 | 0.375713 | 0.355338 | 0 | 0.034219 | 0.151646 | 2,308 | 51 | 212 | 45.254902 | 0.592441 | 0.018198 | 0 | 0.052632 | 0 | 0.236842 | 0.602529 | 0.309395 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.105263 | 0.078947 | 0 | 0.078947 | 0.157895 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2e6cbf3ee9e5e6dfa9c02c2c8cbd4c9dc6832bd3 | 24,915 | py | Python | tests/test_predator_prey_communication.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | null | null | null | tests/test_predator_prey_communication.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | null | null | null | tests/test_predator_prey_communication.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from abmarl.sim.predator_prey import PredatorPreySimulation, Predator, Prey
from abmarl.sim.wrappers import CommunicationHandshakeWrapper
def test_communication():
np.random.seed(24)
agents = [
Predator(id='predator0', view=1, attack=1),
Predator(id='predator1', view=8, att... | 38.09633 | 95 | 0.558298 | 3,046 | 24,915 | 4.430401 | 0.024294 | 0.082697 | 0.085365 | 0.142275 | 0.939533 | 0.931308 | 0.926565 | 0.923824 | 0.917747 | 0.917229 | 0 | 0.052522 | 0.227413 | 24,915 | 653 | 96 | 38.154671 | 0.648553 | 0 | 0 | 0.61139 | 0 | 0 | 0.221674 | 0 | 0 | 0 | 0 | 0 | 0.311558 | 1 | 0.001675 | false | 0 | 0.005025 | 0 | 0.0067 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
5cece27b4a7518b2fd5e91596b0de3d74bfea400 | 25 | py | Python | s3_uri_to_url/__init__.py | its-dron/s3-uri-to-url | 0f470a593d53ae36148bf926714ff76cc0941031 | [
"Apache-2.0"
] | null | null | null | s3_uri_to_url/__init__.py | its-dron/s3-uri-to-url | 0f470a593d53ae36148bf926714ff76cc0941031 | [
"Apache-2.0"
] | null | null | null | s3_uri_to_url/__init__.py | its-dron/s3-uri-to-url | 0f470a593d53ae36148bf926714ff76cc0941031 | [
"Apache-2.0"
] | null | null | null | from .main import uri2url | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8a93878434b71763ed4111c2d386011681de196 | 46 | py | Python | test/run/t150.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t150.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t150.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print str(range(-4))[:5]
print len(range(-4))
| 15.333333 | 24 | 0.630435 | 9 | 46 | 3.222222 | 0.666667 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.086957 | 46 | 2 | 25 | 23 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d8d77e3e9a2f5b4a27f36dcc52685d129529ea90 | 179 | py | Python | tests/__init__.py | pylipp/robber.py | e84bb0c3dd982a383f3d9da2bf334f94836a7507 | [
"MIT"
] | 23 | 2015-10-27T20:13:46.000Z | 2021-12-22T03:18:29.000Z | tests/__init__.py | pylipp/robber.py | e84bb0c3dd982a383f3d9da2bf334f94836a7507 | [
"MIT"
] | 70 | 2016-09-29T07:30:06.000Z | 2020-08-26T06:42:50.000Z | tests/__init__.py | pylipp/robber.py | e84bb0c3dd982a383f3d9da2bf334f94836a7507 | [
"MIT"
] | 10 | 2015-05-13T17:35:21.000Z | 2021-05-06T12:40:01.000Z | __all__ = [
'fixtures', 'util', 'chain_matcher'
]
from tests.fixtures import * # noqa 403
from tests.util import * # noqa 403
from tests.chain_matcher import * # noqa 403
| 22.375 | 45 | 0.687151 | 24 | 179 | 4.875 | 0.416667 | 0.230769 | 0.333333 | 0.290598 | 0.376068 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 0.201117 | 179 | 7 | 46 | 25.571429 | 0.755245 | 0.145251 | 0 | 0 | 0 | 0 | 0.167785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2b39e5489ad59067c76d2d55e4e52db859e6fb0f | 412 | py | Python | pydfs_lineup_optimizer/sites/__init__.py | bmjjr/pydfs-lineup-optimizer | 71176ac440832965291780f8e5a2c3f13bd234cd | [
"MIT"
] | 326 | 2015-12-23T16:30:18.000Z | 2022-03-19T17:48:07.000Z | pydfs_lineup_optimizer/sites/__init__.py | bmjjr/pydfs-lineup-optimizer | 71176ac440832965291780f8e5a2c3f13bd234cd | [
"MIT"
] | 335 | 2016-02-06T05:36:58.000Z | 2022-03-26T02:19:02.000Z | pydfs_lineup_optimizer/sites/__init__.py | bmjjr/pydfs-lineup-optimizer | 71176ac440832965291780f8e5a2c3f13bd234cd | [
"MIT"
] | 178 | 2016-02-06T05:30:20.000Z | 2022-03-27T19:05:42.000Z | from pydfs_lineup_optimizer.sites.sites_registry import SitesRegistry
from pydfs_lineup_optimizer.sites.draftkings import * # type: ignore
from pydfs_lineup_optimizer.sites.fanball import * # type: ignore
from pydfs_lineup_optimizer.sites.fanduel import * # type: ignore
from pydfs_lineup_optimizer.sites.fantasy_draf... | 58.857143 | 72 | 0.82767 | 55 | 412 | 5.945455 | 0.290909 | 0.165138 | 0.275229 | 0.440367 | 0.727829 | 0.550459 | 0.550459 | 0.550459 | 0 | 0 | 0 | 0 | 0.106796 | 412 | 6 | 73 | 68.666667 | 0.888587 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
990e738f294996fe00e02ec98f23c678b09b6b15 | 21,269 | py | Python | scripts/test.py | how2/object_centric_VAD | 3acdcac78f9d40dbafa54fcaa87927a8695522ec | [
"MIT"
] | null | null | null | scripts/test.py | how2/object_centric_VAD | 3acdcac78f9d40dbafa54fcaa87927a8695522ec | [
"MIT"
] | null | null | null | scripts/test.py | how2/object_centric_VAD | 3acdcac78f9d40dbafa54fcaa87927a8695522ec | [
"MIT"
] | null | null | null | # from sklearn import svm
from sklearn.externals import joblib
import sys
from scripts import inference
from models.CAE import CAE_encoder
from utils import util
import os
import argparse
import numpy as np
import pickle
import time
from utils import evaluate
from utils.paths import PATHS
sys.path.append("../")
pref... | 40.901923 | 122 | 0.53585 | 2,358 | 21,269 | 4.544953 | 0.119169 | 0.050947 | 0.025194 | 0.028553 | 0.812821 | 0.805356 | 0.797331 | 0.780722 | 0.76206 | 0.753849 | 0 | 0.017118 | 0.362782 | 21,269 | 519 | 123 | 40.980732 | 0.773629 | 0.088392 | 0 | 0.608173 | 0 | 0 | 0.100816 | 0.016484 | 0 | 0 | 0 | 0.001927 | 0 | 1 | 0.007212 | false | 0 | 0.036058 | 0 | 0.045673 | 0.014423 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
99470198e20d13701fa353f148132268eba338ad | 180 | py | Python | mypublicapi/admin.py | bleemeo/mypublicapi | 029810c8da0adb3baa17f2e5a885860932cb79fb | [
"MIT"
] | null | null | null | mypublicapi/admin.py | bleemeo/mypublicapi | 029810c8da0adb3baa17f2e5a885860932cb79fb | [
"MIT"
] | null | null | null | mypublicapi/admin.py | bleemeo/mypublicapi | 029810c8da0adb3baa17f2e5a885860932cb79fb | [
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import Metric, Server, ServerProperty
admin.site.register(Server)
admin.site.register(ServerProperty)
admin.site.register(Metric)
| 18 | 50 | 0.816667 | 23 | 180 | 6.391304 | 0.478261 | 0.183673 | 0.346939 | 0.421769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094444 | 180 | 9 | 51 | 20 | 0.90184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
997896a7afcbb4925aa85acaef9be187b80c219e | 4,954 | py | Python | dqn/dl.py | ShuminKong/RL-Restore | 0e03a53291f21d2155298e2ba4f6e20d8a17a783 | [
"MIT"
] | null | null | null | dqn/dl.py | ShuminKong/RL-Restore | 0e03a53291f21d2155298e2ba4f6e20d8a17a783 | [
"MIT"
] | null | null | null | dqn/dl.py | ShuminKong/RL-Restore | 0e03a53291f21d2155298e2ba4f6e20d8a17a783 | [
"MIT"
] | null | null | null | import os
import math
import random
import numpy as np
import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torchvision.transforms as T
from torch.utils.data import DataLoader
from .pietorch import data_convertors
def get_dataloader(ds, data_dir, noise=10, crop=256, j... | 57.604651 | 147 | 0.645539 | 633 | 4,954 | 4.774092 | 0.115324 | 0.060887 | 0.066181 | 0.052945 | 0.85407 | 0.842158 | 0.812707 | 0.802118 | 0.792852 | 0.792852 | 0 | 0.0129 | 0.24889 | 4,954 | 86 | 148 | 57.604651 | 0.799248 | 0 | 0 | 0.430769 | 0 | 0 | 0.058325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015385 | false | 0 | 0.169231 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
850b6ba5e88db0e7016844a87d53dca2031cfc6a | 145 | py | Python | SLpackage/private/pacbio/pythonpkgs/pbsvtools/lib/python2.7/site-packages/pbsv1/__init__.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 5 | 2022-02-20T07:10:02.000Z | 2022-03-18T17:47:53.000Z | SLpackage/private/pacbio/pythonpkgs/pbsvtools/lib/python2.7/site-packages/pbsv1/__init__.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | null | null | null | SLpackage/private/pacbio/pythonpkgs/pbsvtools/lib/python2.7/site-packages/pbsv1/__init__.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
def get_version():
return '0.2.0' # don't forget to update setup.py too
__version__ = get_version()
| 20.714286 | 56 | 0.744828 | 23 | 145 | 4.217391 | 0.782609 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.165517 | 145 | 6 | 57 | 24.166667 | 0.77686 | 0.241379 | 0 | 0 | 0 | 0 | 0.046296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
51f54b86e1fce520e758a41264c281db78c65841 | 34 | py | Python | src/test/resources/rocks/juergen/maven/jythonplugin/helloworld.py | edelbluth/jython-maven-plugin | 2d6780343871e2f4da539366f42d0a86ebc8fc84 | [
"Apache-2.0"
] | 2 | 2020-03-26T17:12:54.000Z | 2021-03-17T14:15:59.000Z | src/test/resources/rocks/juergen/maven/jythonplugin/helloworld.py | juergen-rocks/jython-maven-plugin | 2d6780343871e2f4da539366f42d0a86ebc8fc84 | [
"Apache-2.0"
] | 18 | 2016-10-09T18:12:36.000Z | 2020-03-26T17:19:46.000Z | src/test/resources/rocks/juergen/maven/jythonplugin/helloworld.py | edelbluth/jython-maven-plugin | 2d6780343871e2f4da539366f42d0a86ebc8fc84 | [
"Apache-2.0"
] | 3 | 2016-10-09T10:23:52.000Z | 2018-11-08T09:05:57.000Z | print 'Hello, World - from file!'
| 17 | 33 | 0.676471 | 5 | 34 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 1 | 34 | 34 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a40369ad76b38dd4a4391e3bac4671edcc6c2c9d | 7,064 | py | Python | src/models/resnet.py | joaopfonseca/remote_sensing | 1c3704e2ea4de6ec803e6b42a1557660768ab03b | [
"MIT"
] | null | null | null | src/models/resnet.py | joaopfonseca/remote_sensing | 1c3704e2ea4de6ec803e6b42a1557660768ab03b | [
"MIT"
] | null | null | null | src/models/resnet.py | joaopfonseca/remote_sensing | 1c3704e2ea4de6ec803e6b42a1557660768ab03b | [
"MIT"
] | null | null | null |
import os
import numpy as np
from keras.utils import np_utils
from keras.layers import (
Input,
Conv2D,
Conv3D,
Flatten,
Dense,
Dropout,
Reshape
)
from keras.models import Model, load_model
from keras.optimizers import Adam
from keras.callbacks import ModelCheckpoint
from keras.application... | 33.961538 | 118 | 0.567384 | 798 | 7,064 | 4.860902 | 0.145363 | 0.041763 | 0.032998 | 0.041248 | 0.902037 | 0.888115 | 0.888115 | 0.880124 | 0.875999 | 0.875999 | 0 | 0.023256 | 0.28171 | 7,064 | 207 | 119 | 34.125604 | 0.74123 | 0.080549 | 0 | 0.691824 | 0 | 0 | 0.04466 | 0.023301 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050314 | false | 0 | 0.050314 | 0 | 0.125786 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
320c21c2d82e8ed6657dd93532137dbf2905b4fb | 67,290 | py | Python | OohsBay.py | parv-joshi/Online-Shopping-Portal-Project | 4473b9bd26db1eab2dfe84a928cf669aebb1c950 | [
"MIT"
] | null | null | null | OohsBay.py | parv-joshi/Online-Shopping-Portal-Project | 4473b9bd26db1eab2dfe84a928cf669aebb1c950 | [
"MIT"
] | null | null | null | OohsBay.py | parv-joshi/Online-Shopping-Portal-Project | 4473b9bd26db1eab2dfe84a928cf669aebb1c950 | [
"MIT"
] | null | null | null | # OOHSbay.com - Online Shopping Portal
"""
This program is about an online shopping portal which asks the user to enter the number of products the user wants to buy. It then asks the number of products
he/she wants to buy. The it aks the user to choose the genre of product, brand, budget and the product he/she wan... | 50.784906 | 159 | 0.430346 | 7,809 | 67,290 | 3.646306 | 0.04354 | 0.04678 | 0.024759 | 0.051275 | 0.869952 | 0.815305 | 0.748859 | 0.720903 | 0.680445 | 0.649575 | 0 | 0.055098 | 0.440868 | 67,290 | 1,324 | 160 | 50.823263 | 0.701706 | 0.067588 | 0 | 0.660948 | 0 | 0 | 0.267264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.000817 | null | null | 0.27451 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32255354f8a9eb4284b68b631d7c9f389edbfefd | 15,024 | py | Python | test/test_general.py | jwodder/apachelogs | 6b6d2dc1abb54d8fb08c151f5a554b03553bab84 | [
"MIT"
] | 16 | 2019-05-06T18:19:32.000Z | 2022-03-12T16:18:26.000Z | test/test_general.py | jwodder/apachelogs | 6b6d2dc1abb54d8fb08c151f5a554b03553bab84 | [
"MIT"
] | 3 | 2020-08-04T07:33:51.000Z | 2021-11-24T17:32:44.000Z | test/test_general.py | jwodder/apachelogs | 6b6d2dc1abb54d8fb08c151f5a554b03553bab84 | [
"MIT"
] | 3 | 2019-06-26T17:35:35.000Z | 2021-08-22T23:08:44.000Z | from datetime import datetime, timezone
from pathlib import Path
import pytest
from apachelogs import (
COMBINED,
VHOST_COMBINED,
InvalidEntryError,
LogEntry,
LogParser,
parse,
parse_lines,
)
def mkentry(entry, format, **attrs):
logentry = LogEntry(entry, format, [], [])
logentry._... | 38.622108 | 236 | 0.567425 | 2,036 | 15,024 | 4.073183 | 0.107073 | 0.008682 | 0.023876 | 0.036657 | 0.854094 | 0.837815 | 0.799831 | 0.775714 | 0.722055 | 0.703123 | 0 | 0.114849 | 0.263978 | 15,024 | 388 | 237 | 38.721649 | 0.635106 | 0 | 0 | 0.502717 | 0 | 0.0625 | 0.322351 | 0.026824 | 0 | 0 | 0 | 0 | 0.141304 | 1 | 0.024457 | false | 0 | 0.01087 | 0 | 0.038043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
5c66192f871007c001f42715a227e887cdaf22df | 24 | py | Python | dqlttt/__init__.py | SepehrV/DQL_TicTacToe | 82f9b9ad8831e50498b7cec42629ac3be6d02fda | [
"MIT"
] | 2 | 2016-06-23T01:03:31.000Z | 2017-04-24T20:12:12.000Z | dqlttt/__init__.py | SepehrV/DQL_TicTacToe | 82f9b9ad8831e50498b7cec42629ac3be6d02fda | [
"MIT"
] | null | null | null | dqlttt/__init__.py | SepehrV/DQL_TicTacToe | 82f9b9ad8831e50498b7cec42629ac3be6d02fda | [
"MIT"
] | null | null | null | from . import TicTacToe
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5c7edd9e6b804d56f01c6469d94c017a2fdd6836 | 107 | py | Python | src/aio_dtls/dtls/record_layer.py | businka/aio_dtls | 0dba40d425b443e5ceb516011aadf58f573a4dc8 | [
"MIT"
] | null | null | null | src/aio_dtls/dtls/record_layer.py | businka/aio_dtls | 0dba40d425b443e5ceb516011aadf58f573a4dc8 | [
"MIT"
] | null | null | null | src/aio_dtls/dtls/record_layer.py | businka/aio_dtls | 0dba40d425b443e5ceb516011aadf58f573a4dc8 | [
"MIT"
] | null | null | null | from ..tls.record_layer import RecordLayer as TlsRecordLayer
class RecordLayer(TlsRecordLayer):
pass
| 17.833333 | 60 | 0.803738 | 12 | 107 | 7.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 61 | 21.4 | 0.923913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5cb77ddcf639b34e71bb014a96e840e5398c6d26 | 184 | py | Python | profiles_api/admin.py | APPIAHTECH/profiles-rest-api | 32ac950ea06071cbb2a9f0ec67bdb4cdcced5074 | [
"MIT"
] | null | null | null | profiles_api/admin.py | APPIAHTECH/profiles-rest-api | 32ac950ea06071cbb2a9f0ec67bdb4cdcced5074 | [
"MIT"
] | null | null | null | profiles_api/admin.py | APPIAHTECH/profiles-rest-api | 32ac950ea06071cbb2a9f0ec67bdb4cdcced5074 | [
"MIT"
] | null | null | null | from django.contrib import admin
from profiles_api import models
# Register your models here.
admin.site.register( models.UserProfile )
admin.site.register( models.ProfileFeedItem ) | 23 | 45 | 0.815217 | 24 | 184 | 6.208333 | 0.583333 | 0.120805 | 0.228188 | 0.308725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 184 | 8 | 45 | 23 | 0.91411 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7a2b8319bae34a98fb7edf9c641ce9dc40cbfc15 | 1,028 | py | Python | alpyro_msgs/turtle_actionlib/shapeactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/turtle_actionlib/shapeactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/turtle_actionlib/shapeactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from typing import Final
from alpyro_msgs import RosMessage
from alpyro_msgs.actionlib_msgs.goalstatus import GoalStatus
from alpyro_msgs.std_msgs.header import Header
from alpyro_msgs.turtle_actionlib.shapefeedback import ShapeFeedback
class ShapeActionFeedback(RosMessage):
__msg_typ__ = "turtle_actionlib/ShapeAct... | 64.25 | 578 | 0.92607 | 53 | 1,028 | 17.528302 | 0.45283 | 0.043057 | 0.06028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 0.050584 | 1,028 | 15 | 579 | 68.533333 | 0.869877 | 0 | 0 | 0 | 0 | 0 | 0.610895 | 0.610895 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a2fc93c3456f3785874e73bfa8a259aae9bf9d5 | 32 | py | Python | thedatamine/__init__.py | TheDataMine/thedatamine_py | 05c0302040a0abfa9d80f7ef8cf3ba18bbdd88ea | [
"Apache-2.0"
] | null | null | null | thedatamine/__init__.py | TheDataMine/thedatamine_py | 05c0302040a0abfa9d80f7ef8cf3ba18bbdd88ea | [
"Apache-2.0"
] | 1 | 2021-11-30T21:23:35.000Z | 2021-11-30T21:23:35.000Z | thedatamine/__init__.py | TheDataMine/thedatamine_py | 05c0302040a0abfa9d80f7ef8cf3ba18bbdd88ea | [
"Apache-2.0"
] | null | null | null | from .core import hello_datamine | 32 | 32 | 0.875 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.