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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b1197fc872ff61436943db739f1df0a8ad543bc3 | 6,658 | py | Python | pymatflow/vasp/base/kpoints.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/vasp/base/kpoints.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/vasp/base/kpoints.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | #!/usr/bin/env python
# _*_ coding: utf-8 _*_
import numpy as np
class VaspKpoints:
"""
"""
def __init__(self):
self.kpoints_mp = [1, 1, 1, 0, 0, 0]
self.line_mode = False # now we forfeit line mode!
def to_kpoints(self, fout):
if self.kpoints_option == "a... | 56.423729 | 140 | 0.466056 | 958 | 6,658 | 3.19833 | 0.134656 | 0.23205 | 0.221932 | 0.107702 | 0.79406 | 0.747063 | 0.723564 | 0.699739 | 0.691906 | 0.643603 | 0 | 0.039063 | 0.365575 | 6,658 | 117 | 141 | 56.905983 | 0.686316 | 0.164764 | 0 | 0.449438 | 0 | 0 | 0.115651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044944 | false | 0.022472 | 0.011236 | 0 | 0.078652 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b12d296455cea9e615f06a2214794a04e2aa9a11 | 47 | py | Python | tests/components/mythicbeastsdns/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/mythicbeastsdns/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/mythicbeastsdns/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the mythicbeastsdns component."""
| 23.5 | 46 | 0.744681 | 5 | 47 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.833333 | 0.851064 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b130a17615fe56d800b567ae65e1c96aaff62380 | 72 | py | Python | tests/unittests/generic_functions/foobar_as_str_no_anno/main.py | vrdmr/azure-functions-python-worker | 7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624 | [
"MIT"
] | null | null | null | tests/unittests/generic_functions/foobar_as_str_no_anno/main.py | vrdmr/azure-functions-python-worker | 7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624 | [
"MIT"
] | null | null | null | tests/unittests/generic_functions/foobar_as_str_no_anno/main.py | vrdmr/azure-functions-python-worker | 7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624 | [
"MIT"
] | null | null | null | # Input as string, without annotation
def main(input):
return input
| 18 | 37 | 0.736111 | 10 | 72 | 5.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 72 | 3 | 38 | 24 | 0.913793 | 0.486111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b151d6ffe20d6a61b37a2b004d93477eb8341d07 | 122 | py | Python | core/helpers.py | uniMedic/uniMedic-Core | 66da391b70f822478f9d02eca25a5680ddb2c9a6 | [
"MIT"
] | 8 | 2020-08-20T20:51:12.000Z | 2021-04-15T21:32:39.000Z | core/helpers.py | uniMedic/uniMedic-Core | 66da391b70f822478f9d02eca25a5680ddb2c9a6 | [
"MIT"
] | null | null | null | core/helpers.py | uniMedic/uniMedic-Core | 66da391b70f822478f9d02eca25a5680ddb2c9a6 | [
"MIT"
] | 4 | 2020-08-20T12:11:58.000Z | 2021-06-28T06:25:01.000Z | import hashlib
def hash_input(val):
hash_object = hashlib.sha1(val.encode("utf-8"))
return hash_object.digest()
| 17.428571 | 51 | 0.713115 | 18 | 122 | 4.666667 | 0.722222 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.155738 | 122 | 6 | 52 | 20.333333 | 0.796117 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 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 | 0 | 1 | 0 | 0 | 5 |
b15992edc2a8f15ffca8ff7c02fc7e3fa8aa6292 | 68 | py | Python | prototype_template/__init__.py | qiskit-community/subgraph-isomorphism | ae7458a1b7318a0ed72d0207d26005a366de150e | [
"Apache-2.0"
] | 1 | 2022-03-28T18:22:14.000Z | 2022-03-28T18:22:14.000Z | prototype_template/__init__.py | qiskit-community/subgraph-isomorphism | ae7458a1b7318a0ed72d0207d26005a366de150e | [
"Apache-2.0"
] | null | null | null | prototype_template/__init__.py | qiskit-community/subgraph-isomorphism | ae7458a1b7318a0ed72d0207d26005a366de150e | [
"Apache-2.0"
] | 2 | 2022-03-28T17:47:26.000Z | 2022-03-28T19:59:12.000Z | """Template project."""
from .template_module import TemplateClass
| 17 | 42 | 0.779412 | 7 | 68 | 7.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 3 | 43 | 22.666667 | 0.852459 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b19ffb051de68258de6cc5475c9a7edaf04a7481 | 67 | py | Python | codigo.py | Gurtubay/HCAP2021 | 867e5c057f1cb66d632e54bdc62db4c31b7bb1be | [
"MIT"
] | null | null | null | codigo.py | Gurtubay/HCAP2021 | 867e5c057f1cb66d632e54bdc62db4c31b7bb1be | [
"MIT"
] | null | null | null | codigo.py | Gurtubay/HCAP2021 | 867e5c057f1cb66d632e54bdc62db4c31b7bb1be | [
"MIT"
] | null | null | null | import math
print (math.pi)
print("Hola esta es una nueva linea")
| 16.75 | 37 | 0.731343 | 12 | 67 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 38 | 22.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
771069981894027d5a5855ddc99cd59015cc15ed | 118 | py | Python | controllers/sync.py | manuelep/AEDISync | 2812c633144080babcc7140c66b030b441a950c9 | [
"MIT"
] | null | null | null | controllers/sync.py | manuelep/AEDISync | 2812c633144080babcc7140c66b030b441a950c9 | [
"MIT"
] | null | null | null | controllers/sync.py | manuelep/AEDISync | 2812c633144080babcc7140c66b030b441a950c9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# try something like
def index():
sync.go()
return dict(message="hello from sync.py")
| 19.666667 | 45 | 0.610169 | 17 | 118 | 4.235294 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.20339 | 118 | 5 | 46 | 23.6 | 0.755319 | 0.338983 | 0 | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
621f6456d18fdfc3437075c53a8c5a0fbef3e12a | 949 | py | Python | delivery_man/home/models.py | DeepanshuPratik/skillenza_project | b5f645c29bf0fbb8c5f17838276534cd50120143 | [
"MIT"
] | null | null | null | delivery_man/home/models.py | DeepanshuPratik/skillenza_project | b5f645c29bf0fbb8c5f17838276534cd50120143 | [
"MIT"
] | null | null | null | delivery_man/home/models.py | DeepanshuPratik/skillenza_project | b5f645c29bf0fbb8c5f17838276534cd50120143 | [
"MIT"
] | 1 | 2022-01-12T06:38:49.000Z | 2022-01-12T06:38:49.000Z | from django.db import models
class Index(models.Model):
name = models.CharField(max_length=122)
subject = models.CharField(max_length=12)
email = models.CharField(max_length=12)
message = models.TextField()
def __str__(self):
return self.name
class Contact(models.Model):
name = mo... | 28.757576 | 94 | 0.72392 | 126 | 949 | 5.269841 | 0.380952 | 0.225904 | 0.271084 | 0.361446 | 0.504518 | 0.462349 | 0.462349 | 0.403614 | 0.403614 | 0.403614 | 0 | 0.030113 | 0.160169 | 949 | 32 | 95 | 29.65625 | 0.803011 | 0.02529 | 0 | 0.44 | 0 | 0 | 0.011931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.04 | 0.12 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
623169e476e9d1fe7691878790a96335d1bcfe1d | 540 | py | Python | list1/task2/path.py | ErykKrupa/metaheuristic-algorithms | cdeb283b4bb052328fd1d06e0da398a2932a7602 | [
"MIT"
] | null | null | null | list1/task2/path.py | ErykKrupa/metaheuristic-algorithms | cdeb283b4bb052328fd1d06e0da398a2932a7602 | [
"MIT"
] | null | null | null | list1/task2/path.py | ErykKrupa/metaheuristic-algorithms | cdeb283b4bb052328fd1d06e0da398a2932a7602 | [
"MIT"
] | null | null | null | class Path:
def __init__(self, move_sequence):
self.move_sequence = move_sequence
def swap_cities(self, city1, city2):
tmp = list(self.move_sequence)
tmp[city1], tmp[city2] = tmp[city2], tmp[city1]
return Path(tuple(tmp))
def __eq__(self, other):
return self.move_se... | 30 | 100 | 0.637037 | 74 | 540 | 4.297297 | 0.337838 | 0.339623 | 0.352201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021845 | 0.237037 | 540 | 17 | 101 | 31.764706 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.001852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.230769 | 0.769231 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
658441ff153323b9986b096a439438c13df189e0 | 47 | py | Python | tutorial/steps/welcome.py | IcebergIdeasOpen/scuba-portugal | 9d8aa18890725ac63203847d0b34aca4a79e3166 | [
"MIT"
] | 1 | 2018-04-17T17:00:09.000Z | 2018-04-17T17:00:09.000Z | tutorial/steps/welcome.py | IcebergIdeasOpen/scuba-portugal | 9d8aa18890725ac63203847d0b34aca4a79e3166 | [
"MIT"
] | 3 | 2017-09-27T13:53:12.000Z | 2020-06-05T16:43:39.000Z | tutorial/steps/welcome.py | IcebergIdeasOpen/scuba-portugal | 9d8aa18890725ac63203847d0b34aca4a79e3166 | [
"MIT"
] | 7 | 2017-09-27T10:20:31.000Z | 2018-04-17T17:00:17.000Z | from behave import *
use_step_matcher("re")
| 7.833333 | 22 | 0.723404 | 7 | 47 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 5 | 23 | 9.4 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
02a202b71d6b2551ff8f1c961b68364b0d55aa36 | 107 | py | Python | backend/database/user/tests.py | HansErikHeum/tdt4140_2020_gruppe42 | a916b5a003a174a343e0625ca501b542907cda72 | [
"MIT"
] | null | null | null | backend/database/user/tests.py | HansErikHeum/tdt4140_2020_gruppe42 | a916b5a003a174a343e0625ca501b542907cda72 | [
"MIT"
] | null | null | null | backend/database/user/tests.py | HansErikHeum/tdt4140_2020_gruppe42 | a916b5a003a174a343e0625ca501b542907cda72 | [
"MIT"
] | null | null | null | """i denne filen skal django tester skrives"""
from django.test import TestCase
# Create your tests here.
| 21.4 | 46 | 0.757009 | 16 | 107 | 5.0625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 107 | 4 | 47 | 26.75 | 0.9 | 0.607477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
02e8cccb583163570f485f834959203f888d2533 | 192 | py | Python | pattern from notes.py | SriCharan220800/RomanReigns | 0ec11c65fa0cfa6264f162c5e3f2ba5e45986fbb | [
"MIT"
] | null | null | null | pattern from notes.py | SriCharan220800/RomanReigns | 0ec11c65fa0cfa6264f162c5e3f2ba5e45986fbb | [
"MIT"
] | null | null | null | pattern from notes.py | SriCharan220800/RomanReigns | 0ec11c65fa0cfa6264f162c5e3f2ba5e45986fbb | [
"MIT"
] | null | null | null | n=int(input())
for i in range(1,n+1):
for j in range(1,i+1):
print(j,end="")
print()
for i in range(1,n):
for j in range(n-i):
print(j+1,end="")
print() | 21.333333 | 27 | 0.479167 | 38 | 192 | 2.421053 | 0.289474 | 0.304348 | 0.26087 | 0.23913 | 0.282609 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.3125 | 192 | 9 | 28 | 21.333333 | 0.651515 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
02eae9b598966d1462937ee5f50ab6886a0a985a | 37 | py | Python | ndh/templatetags/__init__.py | nim65s/ndh | 4945bf1f0f59bd08bdd04dd2640b3e9759fa6774 | [
"BSD-2-Clause"
] | null | null | null | ndh/templatetags/__init__.py | nim65s/ndh | 4945bf1f0f59bd08bdd04dd2640b3e9759fa6774 | [
"BSD-2-Clause"
] | 25 | 2017-09-23T11:22:00.000Z | 2022-03-14T19:48:22.000Z | ndh/templatetags/__init__.py | nim65s/ndh | 4945bf1f0f59bd08bdd04dd2640b3e9759fa6774 | [
"BSD-2-Clause"
] | null | null | null | """Django template tags for NDH."""
| 18.5 | 36 | 0.648649 | 5 | 37 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.774194 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b86df0178ffad348da208c88e00eff22ca5b29c4 | 147 | py | Python | tests/conftest.py | fcndl/ci-testing-python | 45aac5b80864de0e25c90d1a589f0629f0a46ed1 | [
"MIT"
] | 38 | 2017-07-24T06:19:12.000Z | 2021-09-03T22:46:28.000Z | tests/conftest.py | fcndl/ci-testing-python | 45aac5b80864de0e25c90d1a589f0629f0a46ed1 | [
"MIT"
] | 1 | 2017-04-05T01:57:20.000Z | 2017-04-05T02:06:48.000Z | tests/conftest.py | fcndl/ci-testing-python | 45aac5b80864de0e25c90d1a589f0629f0a46ed1 | [
"MIT"
] | 22 | 2017-11-26T22:04:43.000Z | 2022-02-10T04:21:23.000Z | import pytest
from ci_testing_python.app.identidock import app as flask_app
@pytest.fixture(scope='session')
def app():
return flask_app
| 18.375 | 61 | 0.761905 | 22 | 147 | 4.909091 | 0.681818 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156463 | 147 | 8 | 62 | 18.375 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.047297 | 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 | 0 | 0 | 0 | 5 |
b87f1a03aa858c238ae592ec28d6c0ee908a47ab | 127 | py | Python | examples/_empty/src/__init__.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 2 | 2019-04-19T21:34:31.000Z | 2019-05-02T22:50:25.000Z | examples/_empty/src/__init__.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2021-01-07T16:13:45.000Z | 2021-01-21T09:27:54.000Z | examples/_empty/src/__init__.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2018-12-21T15:56:21.000Z | 2018-12-21T15:56:21.000Z | # flake8: noqa
from catalyst.dl import SupervisedRunner as Runner
from .experiment import Experiment
from .model import Model
| 21.166667 | 50 | 0.818898 | 17 | 127 | 6.117647 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.141732 | 127 | 5 | 51 | 25.4 | 0.944954 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b8b35570965e74415767e1ad39558a8039cd418f | 164 | py | Python | BluePrint/SampleBlue/blue_print_02.py | bestwishfang/FlaskFrameWork | e5f2af0b82be6d5b32febadc244a72aadceaa58b | [
"MIT"
] | null | null | null | BluePrint/SampleBlue/blue_print_02.py | bestwishfang/FlaskFrameWork | e5f2af0b82be6d5b32febadc244a72aadceaa58b | [
"MIT"
] | 3 | 2020-04-30T15:16:56.000Z | 2022-02-13T08:02:39.000Z | BluePrint/SampleBlue/blue_print_02.py | bestwishfang/FlaskFrameWork | e5f2af0b82be6d5b32febadc244a72aadceaa58b | [
"MIT"
] | null | null | null | from flask import Blueprint
simple_02 = Blueprint('simple_page_02', __name__)
@simple_02.route('/02/')
def index():
return 'Hello World! This is simple_02.'
| 18.222222 | 49 | 0.72561 | 24 | 164 | 4.583333 | 0.666667 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.146341 | 164 | 8 | 50 | 20.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.29878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b8bd32b8a4bcf5ba2d6f2862cd1ec103674619a7 | 146 | py | Python | strings2.py | gaganminocha/python | fa467a53952391fa1c670322a6ec240c97aafd98 | [
"MIT"
] | null | null | null | strings2.py | gaganminocha/python | fa467a53952391fa1c670322a6ec240c97aafd98 | [
"MIT"
] | null | null | null | strings2.py | gaganminocha/python | fa467a53952391fa1c670322a6ec240c97aafd98 | [
"MIT"
] | null | null | null | parrot = "Norwegian Blue"
print(parrot)
print(parrot[3])
print(parrot[4])
print(parrot[9])
print(parrot[3])
print(parrot[6])
print(parrot[8])
| 11.230769 | 25 | 0.69863 | 23 | 146 | 4.434783 | 0.391304 | 0.754902 | 0.235294 | 0.333333 | 0.45098 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 0.10274 | 146 | 12 | 26 | 12.166667 | 0.732824 | 0 | 0 | 0.25 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.875 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b24f3f9b9fdf31fad36360a75f735b5c4f603c1d | 20 | py | Python | torchtoolbox/objects/__init__.py | deeplearningforfun/torch-tools | 17aaa513ef72dbac8af88977ff11840aa2d6a2f4 | [
"BSD-3-Clause"
] | 353 | 2019-10-05T16:55:51.000Z | 2022-03-30T00:03:38.000Z | torchtoolbox/objects/__init__.py | KAKAFEIcoffee/torch-toolbox | e3dc040dcfe33aec247a3139e72426bca73cda96 | [
"BSD-3-Clause"
] | 14 | 2019-12-12T04:24:47.000Z | 2021-10-31T07:02:54.000Z | torchtoolbox/objects/__init__.py | KAKAFEIcoffee/torch-toolbox | e3dc040dcfe33aec247a3139e72426bca73cda96 | [
"BSD-3-Clause"
] | 49 | 2019-10-05T16:57:24.000Z | 2022-01-20T08:08:37.000Z | from .bbox import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 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 | 0 | 0 | 0 | 5 |
b268f489b40149427cda5287b5bbc63df5cf3ae4 | 110 | py | Python | bot/py/bot/speech/__init__.py | asarcar/PI | 98ad69e64597313c527d59e7e210b04ff865d0e5 | [
"Zlib"
] | null | null | null | bot/py/bot/speech/__init__.py | asarcar/PI | 98ad69e64597313c527d59e7e210b04ff865d0e5 | [
"Zlib"
] | null | null | null | bot/py/bot/speech/__init__.py | asarcar/PI | 98ad69e64597313c527d59e7e210b04ff865d0e5 | [
"Zlib"
] | null | null | null | #
# Copyright (c) 2016 Pi Inc. All rights reserved.
#
# Author: asarcar@piekul.com
#
import bot.speech.flags
| 13.75 | 49 | 0.709091 | 16 | 110 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.163636 | 110 | 7 | 50 | 15.714286 | 0.804348 | 0.672727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a25e6b2c9db516cbf94ba4e3222d7aa8c800ec20 | 194 | py | Python | src/questionario/admin.py | roginaldosemog/unbind | ab3e43aa03f49ba00fc048fa0846e8bf9d533961 | [
"MIT"
] | null | null | null | src/questionario/admin.py | roginaldosemog/unbind | ab3e43aa03f49ba00fc048fa0846e8bf9d533961 | [
"MIT"
] | 93 | 2019-04-05T12:15:34.000Z | 2022-03-11T23:47:11.000Z | src/questionario/admin.py | roginaldosemog/unbind | ab3e43aa03f49ba00fc048fa0846e8bf9d533961 | [
"MIT"
] | 6 | 2019-04-16T02:07:52.000Z | 2019-09-20T22:53:59.000Z | from django.contrib import admin
from questionario.models import Questionario, Pergunta, Resposta
admin.site.register(Questionario)
admin.site.register(Pergunta)
admin.site.register(Resposta)
| 24.25 | 64 | 0.840206 | 24 | 194 | 6.791667 | 0.458333 | 0.165644 | 0.312883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07732 | 194 | 7 | 65 | 27.714286 | 0.910615 | 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 | 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 | 5 |
a26dc6df3be85a0b985029057476e74399f6b8b5 | 236 | py | Python | maru/tagger/__init__.py | chomechome/maru | dae41e250a64a8b6f6ab9647fd60221d5ede8ab6 | [
"MIT"
] | 47 | 2018-09-25T05:17:13.000Z | 2022-03-31T09:27:15.000Z | maru/tagger/__init__.py | ojomio/maru | 7a44be7f974c0962f3023f5d064a391d2b4f20b1 | [
"MIT"
] | 2 | 2019-11-26T08:48:54.000Z | 2020-09-10T10:00:39.000Z | maru/tagger/__init__.py | ojomio/maru | 7a44be7f974c0962f3023f5d064a391d2b4f20b1 | [
"MIT"
] | 5 | 2019-01-05T17:36:23.000Z | 2021-06-29T08:55:24.000Z | from .abstract import ITagger
from .crf import CRFTagger
from .linear import LinearTagger
from .numerical import NumericalTagger
from .punctuation import PunctuationTagger
from .pymorphy import PymorphyTagger
from .rnn import RNNTagger
| 29.5 | 42 | 0.851695 | 28 | 236 | 7.178571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 236 | 7 | 43 | 33.714286 | 0.966346 | 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 | 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 | 5 |
a28939dbd2daefe20d2c5948dda1a6395915199f | 841 | py | Python | 1b_broken_clock.py | baduy9x/AlgorithmPractice | 9fb956aedf67c0515b66f2af93d8383dba697fec | [
"Apache-2.0"
] | null | null | null | 1b_broken_clock.py | baduy9x/AlgorithmPractice | 9fb956aedf67c0515b66f2af93d8383dba697fec | [
"Apache-2.0"
] | null | null | null | 1b_broken_clock.py | baduy9x/AlgorithmPractice | 9fb956aedf67c0515b66f2af93d8383dba697fec | [
"Apache-2.0"
] | null | null | null | import sys
sys.stdin = open("input.txt", "r")
def compute(input_list):
print(input_list)
return 0
if __name__ == "__main__":
num_test = int(input())
for i in range(num_test):
input_list = [int(item) for item in input().split(" ")]
print("Case #{}: {}".format(i + 1, compute(input_list))... | 42.05 | 64 | 0.555291 | 111 | 841 | 4.009009 | 0.252252 | 0.242697 | 0.359551 | 0.424719 | 0.667416 | 0.667416 | 0.667416 | 0.667416 | 0.667416 | 0.667416 | 0 | 0.015152 | 0.21522 | 841 | 20 | 65 | 42.05 | 0.659091 | 0 | 0 | 0.5 | 0 | 0 | 0.150831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.166667 | 0.555556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0c1686538b73e865205453bf3b940c1267676164 | 121 | py | Python | mysite/blog/admin.py | jankanak/Ecommerce-Blogsite-Django- | 09d26e04bd49593f5666dcd74da732c43654de1f | [
"bzip2-1.0.6"
] | null | null | null | mysite/blog/admin.py | jankanak/Ecommerce-Blogsite-Django- | 09d26e04bd49593f5666dcd74da732c43654de1f | [
"bzip2-1.0.6"
] | 6 | 2021-03-19T02:57:22.000Z | 2022-01-13T02:40:37.000Z | mysite/blog/admin.py | jankanak/Ecommerce-Blogsite-Django | 09d26e04bd49593f5666dcd74da732c43654de1f | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from .models import Blogpost
# Register your models here.
admin.site.register(Blogpost) | 24.2 | 32 | 0.818182 | 17 | 121 | 5.823529 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 5 | 33 | 24.2 | 0.925234 | 0.214876 | 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 | 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 | 5 |
0c277b627913610f6f2ca94588b45ac632724f9d | 40 | py | Python | fcur/run.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | 3 | 2017-04-30T17:44:53.000Z | 2018-02-03T06:02:11.000Z | fcur/run.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | 10 | 2021-03-18T20:17:19.000Z | 2022-03-11T23:14:19.000Z | fcur/run.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | null | null | null | from currency.app import app
app.run()
| 10 | 28 | 0.75 | 7 | 40 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 3 | 29 | 13.333333 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
0c497a9cffc2a0289abb4bb74c6d92bfcb65c2c5 | 81 | py | Python | mldata/__init__.py | wuhaifengdhu/MLData | 04c174c6ce4a6634d8c885b42a87eee8b0a7c76a | [
"Apache-2.0"
] | null | null | null | mldata/__init__.py | wuhaifengdhu/MLData | 04c174c6ce4a6634d8c885b42a87eee8b0a7c76a | [
"Apache-2.0"
] | 1 | 2018-03-20T09:21:38.000Z | 2018-03-20T09:21:38.000Z | mldata/__init__.py | wuhaifengdhu/MLData | 04c174c6ce4a6634d8c885b42a87eee8b0a7c76a | [
"Apache-2.0"
] | null | null | null | """
Your application
"""
from mldata.lib.processor import Processor as Processor
| 16.2 | 55 | 0.777778 | 10 | 81 | 6.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 4 | 56 | 20.25 | 0.887324 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0c4f0f741ccb4ed2dd726622a4934cdf224d5fa9 | 57 | py | Python | webpages/urls.py | Kaiser784/Web-sec-challenges | c5a196d9130cf676d4bc09f4c0acf269169a789a | [
"MIT"
] | 2 | 2021-06-05T10:26:59.000Z | 2022-01-21T07:27:34.000Z | webpages/urls.py | Kaiser784/Web-sec-challenges | c5a196d9130cf676d4bc09f4c0acf269169a789a | [
"MIT"
] | null | null | null | webpages/urls.py | Kaiser784/Web-sec-challenges | c5a196d9130cf676d4bc09f4c0acf269169a789a | [
"MIT"
] | 1 | 2021-08-20T12:57:57.000Z | 2021-08-20T12:57:57.000Z | from django.urls import path, include
from . import views | 28.5 | 37 | 0.807018 | 9 | 57 | 5.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 38 | 28.5 | 0.938776 | 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 | 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 | 5 |
a7909bf196d5c14e851eb0440aaf2decd9ab6261 | 4,645 | py | Python | tests/test_tree_same.py | Maryom/Deep-Forest | a489436949f52368a5318ef31d14fbae16e2a3da | [
"BSD-3-Clause"
] | 2 | 2021-05-28T06:05:16.000Z | 2021-06-08T02:41:45.000Z | tests/test_tree_same.py | Maryom/Deep-Forest | a489436949f52368a5318ef31d14fbae16e2a3da | [
"BSD-3-Clause"
] | null | null | null | tests/test_tree_same.py | Maryom/Deep-Forest | a489436949f52368a5318ef31d14fbae16e2a3da | [
"BSD-3-Clause"
] | 1 | 2021-03-03T06:30:49.000Z | 2021-03-03T06:30:49.000Z | """
Testing cases here make sure that the outputs of the reduced implementation
on `DecisionTreeClassifier` and `ExtraTreeClassifier` are exactly the same as
the original version in Scikit-Learn after the data binning.
"""
import pytest
from numpy.testing import assert_array_equal
from sklearn.tree import (
Decisi... | 33.178571 | 77 | 0.77761 | 643 | 4,645 | 5.234837 | 0.129082 | 0.107843 | 0.080808 | 0.104575 | 0.734403 | 0.734403 | 0.734403 | 0.734403 | 0.734403 | 0.716875 | 0 | 0.001264 | 0.148547 | 4,645 | 139 | 78 | 33.417266 | 0.84981 | 0.077072 | 0 | 0.629213 | 0 | 0 | 0.008439 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 1 | 0.044944 | false | 0 | 0.146067 | 0 | 0.191011 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a79a3b65ee788194f9250d146ab08cf054be7722 | 55 | py | Python | tests/fixtures/trailing_blank_lines/trailing_blank_lines4_out.py | spulec/pep8ify | cf1815f7bad9882027289bdb2f77604b68962ca7 | [
"Apache-2.0"
] | 50 | 2015-01-04T04:24:41.000Z | 2021-09-13T01:01:29.000Z | tests/fixtures/trailing_blank_lines/trailing_blank_lines4_out.py | michaelBenin/pep8ify | 3cd8a9e8baaab33d66e792185a6870338bdf0911 | [
"Apache-2.0"
] | 2 | 2016-05-15T12:01:28.000Z | 2019-03-08T03:27:20.000Z | tests/fixtures/trailing_blank_lines/trailing_blank_lines4_out.py | michaelBenin/pep8ify | 3cd8a9e8baaab33d66e792185a6870338bdf0911 | [
"Apache-2.0"
] | 5 | 2016-07-27T13:44:54.000Z | 2020-11-19T16:00:08.000Z | def a():
pass
# This is commented
# out
| 9.166667 | 23 | 0.472727 | 7 | 55 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.436364 | 55 | 5 | 24 | 11 | 0.83871 | 0.418182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a7bdbc792aa91a1d35be00d9714dfef42fc15ad7 | 307 | py | Python | terafamiliar/childrens_therapy/views.py | Icogerard/WEB-TERAFAMILIAR---DJANGO2 | dcf7d6507ef2eda697766ab3b1dd6df4365f0452 | [
"MIT"
] | null | null | null | terafamiliar/childrens_therapy/views.py | Icogerard/WEB-TERAFAMILIAR---DJANGO2 | dcf7d6507ef2eda697766ab3b1dd6df4365f0452 | [
"MIT"
] | null | null | null | terafamiliar/childrens_therapy/views.py | Icogerard/WEB-TERAFAMILIAR---DJANGO2 | dcf7d6507ef2eda697766ab3b1dd6df4365f0452 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from .models import Childrens_therapy
# Create your views here.
def childrens_therapy(request):
childrens_therapies = Childrens_therapy.objects.all()
return render(request, "childrens_therapy/childrens_therapy.html", {'childrens_therapies':childrens_therapies}) | 43.857143 | 116 | 0.81759 | 36 | 307 | 6.75 | 0.527778 | 0.329218 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100977 | 307 | 7 | 116 | 43.857143 | 0.880435 | 0.074919 | 0 | 0 | 0 | 0 | 0.208481 | 0.141343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a7c0d0fc3283947302b3807b48af43f5b355d250 | 16,884 | py | Python | mozumder/models/development.py | mozumder/django-mozumder | 887ce303249eac2d77de062fd57023dbc4b782dd | [
"MIT"
] | 1 | 2020-06-13T06:12:16.000Z | 2020-06-13T06:12:16.000Z | mozumder/models/development.py | mozumder/django-mozumder | 887ce303249eac2d77de062fd57023dbc4b782dd | [
"MIT"
] | 4 | 2020-06-18T03:53:29.000Z | 2021-06-09T17:56:12.000Z | mozumder/models/development.py | mozumder/django-mozumder | 887ce303249eac2d77de062fd57023dbc4b782dd | [
"MIT"
] | null | null | null | from django.db import models
from .. import FieldTypes, OnDelete, ConstraintType, IPAddressProtocol, ViewBaseClass, DefaultMixins
from django.contrib.auth.models import Permission
# Create your models here.
class TrackedApp(models.Model):
name = models.CharField(max_length=80)
def __str__(self):
retur... | 47.694915 | 157 | 0.744847 | 2,181 | 16,884 | 5.589179 | 0.094911 | 0.110747 | 0.158901 | 0.207793 | 0.822313 | 0.788597 | 0.712469 | 0.653076 | 0.585398 | 0.555537 | 0 | 0.017185 | 0.14185 | 16,884 | 353 | 158 | 47.830028 | 0.824142 | 0.037313 | 0 | 0.480916 | 0 | 0.007634 | 0.052158 | 0.019482 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045802 | false | 0 | 0.01145 | 0.045802 | 0.942748 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a7ccb69f6390963a193d3271bb9d06b1d7fb9958 | 88 | py | Python | boards/admin.py | EndermanOfCoding/django-beginners-guide | 117453fcdb233e7fb81e910ebbfbdf8f6c79c74a | [
"MIT"
] | 1,106 | 2017-09-04T05:06:27.000Z | 2022-03-29T03:53:37.000Z | boards/admin.py | EndermanOfCoding/django-beginners-guide | 117453fcdb233e7fb81e910ebbfbdf8f6c79c74a | [
"MIT"
] | 28 | 2017-09-27T13:34:11.000Z | 2021-08-30T06:13:25.000Z | boards/admin.py | EndermanOfCoding/django-beginners-guide | 117453fcdb233e7fb81e910ebbfbdf8f6c79c74a | [
"MIT"
] | 455 | 2017-09-04T11:50:58.000Z | 2022-03-31T18:44:16.000Z | from django.contrib import admin
from .models import Board
admin.site.register(Board)
| 14.666667 | 32 | 0.806818 | 13 | 88 | 5.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 5 | 33 | 17.6 | 0.922078 | 0 | 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 | 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 | 5 |
a7cd6bb71faadbe535f373af4f60f2a3212e59e0 | 56 | py | Python | Back/ecoreleve_server/modules/sensors/__init__.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 15 | 2015-02-15T18:02:54.000Z | 2021-10-31T00:08:41.000Z | Back/ecoreleve_server/modules/sensors/__init__.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 505 | 2015-03-24T15:16:55.000Z | 2022-03-21T22:17:11.000Z | Back/ecoreleve_server/modules/sensors/__init__.py | NaturalSolutions/ecoReleve-Data | 535a6165984544902563eca7cb10d07f1686c963 | [
"MIT"
] | 31 | 2015-04-09T10:48:31.000Z | 2020-12-08T16:32:30.000Z | from .sensor_model import *
from .sensor_data import *
| 14 | 27 | 0.767857 | 8 | 56 | 5.125 | 0.625 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 3 | 28 | 18.666667 | 0.87234 | 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 | 0 | 0 | 0 | 5 |
a7d0b0e4231d7b3dd32f6ca768032a8c36e6c4c4 | 135 | py | Python | enthought/plugins/remote_editor/editor_plugins/emacs/enshell_plugin.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/plugins/remote_editor/editor_plugins/emacs/enshell_plugin.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/plugins/remote_editor/editor_plugins/emacs/enshell_plugin.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.plugins.remote_editor.editor_plugins.emacs.enshell_plugin import *
| 33.75 | 80 | 0.866667 | 18 | 135 | 6.055556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 135 | 3 | 81 | 45 | 0.879032 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a7d788078f9057372d6ba164e25f8c887e8bbe4a | 34 | py | Python | algo_assignment.py | TransientObject/labMTComparison | 5b9639230fb4db4ff6310fd62fe667f1cec7a3c6 | [
"Apache-2.0"
] | null | null | null | algo_assignment.py | TransientObject/labMTComparison | 5b9639230fb4db4ff6310fd62fe667f1cec7a3c6 | [
"Apache-2.0"
] | null | null | null | algo_assignment.py | TransientObject/labMTComparison | 5b9639230fb4db4ff6310fd62fe667f1cec7a3c6 | [
"Apache-2.0"
] | null | null | null | import random
def search(a,x):
| 5.666667 | 16 | 0.676471 | 6 | 34 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 5 | 17 | 6.8 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
38f83b251a41f7f27fdaef3247929095e30693bc | 266 | py | Python | package2/subpackageB/moduleA.py | cheshyre/python-import-test | a3c434d2f78e02381c838f0fb0440c888bcab0af | [
"MIT"
] | null | null | null | package2/subpackageB/moduleA.py | cheshyre/python-import-test | a3c434d2f78e02381c838f0fb0440c888bcab0af | [
"MIT"
] | null | null | null | package2/subpackageB/moduleA.py | cheshyre/python-import-test | a3c434d2f78e02381c838f0fb0440c888bcab0af | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from package2.subpackageA import moduleB as mB
def methodA():
print("B.A.methodA")
def methodB():
mB.methodA()
print("B.A.methodB")
| 17.733333 | 46 | 0.759398 | 36 | 266 | 5.194444 | 0.5 | 0.160428 | 0.256684 | 0.149733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004464 | 0.157895 | 266 | 14 | 47 | 19 | 0.830357 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.444444 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ac074204173834b5205e97e181e115e6fde5ed28 | 17 | py | Python | pam/conftest.py | spaceone/python-pampy | 25b2f0639ec6849b1af31065833666fb8d9c5b34 | [
"MIT"
] | 76 | 2015-05-22T11:59:11.000Z | 2022-03-23T03:13:08.000Z | pam/conftest.py | spaceone/python-pampy | 25b2f0639ec6849b1af31065833666fb8d9c5b34 | [
"MIT"
] | 24 | 2015-01-06T18:31:58.000Z | 2022-03-18T00:40:15.000Z | pam/conftest.py | spaceone/python-pampy | 25b2f0639ec6849b1af31065833666fb8d9c5b34 | [
"MIT"
] | 21 | 2015-04-20T03:35:39.000Z | 2022-02-19T11:48:33.000Z | # trigger pytest
| 8.5 | 16 | 0.764706 | 2 | 17 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ac28de36c7857d7f1b0cb60bc2bd0da7b0012cdd | 51 | py | Python | scripts/run_benchmark/__init__.py | abeimler/ecs_benchmark | 539b243f6e5faf2c4af9fc2da6dca4742978f386 | [
"MIT"
] | 44 | 2017-03-01T15:47:50.000Z | 2022-03-25T16:39:11.000Z | scripts/run_benchmark/__init__.py | abeimler/ecs_benchmark | 539b243f6e5faf2c4af9fc2da6dca4742978f386 | [
"MIT"
] | 7 | 2017-03-27T19:39:33.000Z | 2022-02-01T02:20:43.000Z | scripts/run_benchmark/__init__.py | abeimler/ecs_benchmark | 539b243f6e5faf2c4af9fc2da6dca4742978f386 | [
"MIT"
] | 11 | 2016-12-02T03:07:50.000Z | 2021-03-20T15:53:21.000Z | from .csvtomd import *
from .run_benchmark import * | 25.5 | 28 | 0.784314 | 7 | 51 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 28 | 25.5 | 0.886364 | 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 | 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 | 5 |
ac2f729f724aafb6adf3fdf855418c8e92f7dac3 | 215 | py | Python | leetcode/count-and-say/test_count_and_say.py | tomviner/coding-exercises | 669895011bb3d1f3878599312b19af1f87a715bc | [
"MIT"
] | 1 | 2019-08-06T07:56:59.000Z | 2019-08-06T07:56:59.000Z | leetcode/count-and-say/test_count_and_say.py | tomviner/coding-exercises | 669895011bb3d1f3878599312b19af1f87a715bc | [
"MIT"
] | null | null | null | leetcode/count-and-say/test_count_and_say.py | tomviner/coding-exercises | 669895011bb3d1f3878599312b19af1f87a715bc | [
"MIT"
] | null | null | null | import pytest
from count_and_say import Solution
@pytest.mark.parametrize('input, expected', [(1, '1'), (4, '1211')])
def test_count_and_say(input, expected):
assert Solution().countAndSay(input) == expected
| 23.888889 | 68 | 0.725581 | 29 | 215 | 5.206897 | 0.62069 | 0.258278 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.12093 | 215 | 8 | 69 | 26.875 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ac4868481668bd8e63ed04fd0e3ac97a8b09085e | 72 | py | Python | apps/challenge/services/clan_war.py | mehrbodjavadi79/AIC21-Backend | 9f4342781f0722804a2eb704b43b52984c81b40a | [
"MIT"
] | 3 | 2021-03-12T18:32:39.000Z | 2021-11-08T10:21:04.000Z | apps/challenge/services/clan_war.py | mehrbodjavadi79/AIC21-Backend | 9f4342781f0722804a2eb704b43b52984c81b40a | [
"MIT"
] | null | null | null | apps/challenge/services/clan_war.py | mehrbodjavadi79/AIC21-Backend | 9f4342781f0722804a2eb704b43b52984c81b40a | [
"MIT"
] | 2 | 2021-01-29T14:52:53.000Z | 2022-03-05T10:24:24.000Z | class ClanWarService:
def __init__(self, clan1, clan2):
pass | 24 | 37 | 0.666667 | 8 | 72 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.25 | 72 | 3 | 38 | 24 | 0.777778 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
ac5da5f405ef22fdcfa33eb56c5ef15b30b1115e | 105 | py | Python | statefun_tasks/client/__init__.py | lukeashworth1/flink-statefun-tasks | 854abdd4f572836bcd7be7b9ec8b79cc4b0182e6 | [
"Apache-2.0"
] | null | null | null | statefun_tasks/client/__init__.py | lukeashworth1/flink-statefun-tasks | 854abdd4f572836bcd7be7b9ec8b79cc4b0182e6 | [
"Apache-2.0"
] | null | null | null | statefun_tasks/client/__init__.py | lukeashworth1/flink-statefun-tasks | 854abdd4f572836bcd7be7b9ec8b79cc4b0182e6 | [
"Apache-2.0"
] | null | null | null | from ._types import TaskError, TaskStatus
from ._client import FlinkTasksClient, FlinkTasksClientFactory
| 35 | 62 | 0.866667 | 10 | 105 | 8.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 105 | 2 | 63 | 52.5 | 0.936842 | 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 | 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 | 5 |
3ba7ed00faca6431681a02ce3b40d62ffa86f0ac | 113 | py | Python | EHTask/models/__init__.py | CraneHzm/EHTask | 1d36e326bee8b8d5b9d20761fc24bd2b3fa22aaa | [
"MIT"
] | null | null | null | EHTask/models/__init__.py | CraneHzm/EHTask | 1d36e326bee8b8d5b9d20761fc24bd2b3fa22aaa | [
"MIT"
] | null | null | null | EHTask/models/__init__.py | CraneHzm/EHTask | 1d36e326bee8b8d5b9d20761fc24bd2b3fa22aaa | [
"MIT"
] | null | null | null | __all__ = ['EHTaskModels', 'weight_init']
from .EHTaskModels import EHTask
from .weight_init import weight_init
| 22.6 | 41 | 0.79646 | 14 | 113 | 5.928571 | 0.5 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 4 | 42 | 28.25 | 0.83 | 0 | 0 | 0 | 0 | 0 | 0.20354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3bd2e014bd72d4e9903f0550f6c87eca10fdf8d9 | 37 | py | Python | dynamicdecorators/admin.py | huseyinyilmaz/django-dynamic-decorators | f3cbc11faec12f1975e6722e204db78dc543d7aa | [
"MIT"
] | null | null | null | dynamicdecorators/admin.py | huseyinyilmaz/django-dynamic-decorators | f3cbc11faec12f1975e6722e204db78dc543d7aa | [
"MIT"
] | null | null | null | dynamicdecorators/admin.py | huseyinyilmaz/django-dynamic-decorators | f3cbc11faec12f1975e6722e204db78dc543d7aa | [
"MIT"
] | null | null | null | """Admin interface configuration."""
| 18.5 | 36 | 0.72973 | 3 | 37 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.794118 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3be0469ffbf09be2d5f0f0241597866ee293be24 | 911 | py | Python | Functionalities/Voice/VoiceQuery.py | sebampuero/dummy-discord-bot | 030bc6483c501ad80b6a504e886b47b41da3f609 | [
"MIT"
] | null | null | null | Functionalities/Voice/VoiceQuery.py | sebampuero/dummy-discord-bot | 030bc6483c501ad80b6a504e886b47b41da3f609 | [
"MIT"
] | 1 | 2021-03-31T19:48:15.000Z | 2021-03-31T19:48:15.000Z | Functionalities/Voice/VoiceQuery.py | sebampuero/dummy-discord-bot | 030bc6483c501ad80b6a504e886b47b41da3f609 | [
"MIT"
] | null | null | null | class Query:
def __init__(self, the_query, filename=None):
self.data = None
self.the_query = the_query
def set_data(self, data):
self.data = data
def __repr__(self):
return self.the_query
class LocalMP3Query(Query):
def __init__(self, filename, url, author_name):
... | 23.973684 | 132 | 0.66191 | 118 | 911 | 4.559322 | 0.254237 | 0.208178 | 0.223048 | 0.148699 | 0.351301 | 0.273234 | 0.228625 | 0.228625 | 0.228625 | 0.228625 | 0 | 0.00142 | 0.227223 | 911 | 38 | 133 | 23.973684 | 0.762784 | 0 | 0 | 0.36 | 0 | 0 | 0.030702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36 | false | 0 | 0 | 0.12 | 0.68 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3be4278f9c8e646616d45135f6837c52d57a0e3f | 78 | py | Python | tradssat/tmpl/__init__.py | shreyayadav/traDSSAT | cc9650f896910c0d0a7a382aff36bef89aba70f2 | [
"MIT"
] | 6 | 2020-10-05T11:50:37.000Z | 2022-02-24T08:36:22.000Z | tradssat/tmpl/__init__.py | shreyayadav/traDSSAT | cc9650f896910c0d0a7a382aff36bef89aba70f2 | [
"MIT"
] | 23 | 2018-11-08T19:16:36.000Z | 2021-07-20T23:34:18.000Z | tradssat/tmpl/__init__.py | shreyayadav/traDSSAT | cc9650f896910c0d0a7a382aff36bef89aba70f2 | [
"MIT"
] | 9 | 2018-11-06T21:04:07.000Z | 2021-06-19T05:43:24.000Z | from .file import File
from .input import InpFile
from .output import OutFile
| 19.5 | 27 | 0.807692 | 12 | 78 | 5.25 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 3 | 28 | 26 | 0.954545 | 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 | 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 | 5 |
3bffca2792ae24ed464359d14fdd648770ef282e | 61 | py | Python | tests/__init__.py | skullydazed/rq-dashboard | 6096120180d51630e0e6797e65a223098010448d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/__init__.py | skullydazed/rq-dashboard | 6096120180d51630e0e6797e65a223098010448d | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2019-07-23T20:01:29.000Z | 2019-08-08T15:26:42.000Z | tests/__init__.py | skullydazed/rq-dashboard | 6096120180d51630e0e6797e65a223098010448d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from __future__ import absolute_import
from .basic import *
| 15.25 | 38 | 0.819672 | 8 | 61 | 5.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 3 | 39 | 20.333333 | 0.865385 | 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 | 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 | 5 |
ce2fbb3009a0e28eebb9ecabf671e13e63fb3302 | 111 | py | Python | call_code_timer.py | ShuksanGeomatics/Python_Code_Timer | ef6960309adc2a5bbefd5a3d8de9b27d41d908e2 | [
"MIT"
] | null | null | null | call_code_timer.py | ShuksanGeomatics/Python_Code_Timer | ef6960309adc2a5bbefd5a3d8de9b27d41d908e2 | [
"MIT"
] | null | null | null | call_code_timer.py | ShuksanGeomatics/Python_Code_Timer | ef6960309adc2a5bbefd5a3d8de9b27d41d908e2 | [
"MIT"
] | null | null | null | from python_code_timer import gTimer
my_timer = gTimer()
my_timer.print_start_time()
my_timer.print_end_time() | 22.2 | 36 | 0.837838 | 19 | 111 | 4.421053 | 0.578947 | 0.25 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 111 | 5 | 37 | 22.2 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 1 | 0 | 5 |
ce35e8ddee7e9f04cf46ad336edf1a47c84db2bc | 244 | py | Python | python_packages/jupyterlab_lsp/jupyterlab_lsp/__init__.py | icankeep/jupyterlab-lsp | 34578aef207be97184b72e3d367d12abfc705682 | [
"BSD-3-Clause"
] | 1,117 | 2019-08-20T06:03:12.000Z | 2021-10-08T20:52:29.000Z | python_packages/jupyterlab_lsp/jupyterlab_lsp/__init__.py | icankeep/jupyterlab-lsp | 34578aef207be97184b72e3d367d12abfc705682 | [
"BSD-3-Clause"
] | 565 | 2019-08-17T20:09:01.000Z | 2021-10-06T15:22:00.000Z | python_packages/jupyterlab_lsp/jupyterlab_lsp/__init__.py | icankeep/jupyterlab-lsp | 34578aef207be97184b72e3d367d12abfc705682 | [
"BSD-3-Clause"
] | 97 | 2019-09-05T13:23:55.000Z | 2021-09-26T05:51:07.000Z | # flake8: noqa: F401
from ._version import __version__
def _jupyter_labextension_paths():
return [
{
"src": "labextensions/@krassowski/jupyterlab-lsp",
"dest": "@krassowski/jupyterlab-lsp",
}
]
| 20.333333 | 62 | 0.594262 | 21 | 244 | 6.52381 | 0.809524 | 0.291971 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022857 | 0.282787 | 244 | 11 | 63 | 22.181818 | 0.76 | 0.07377 | 0 | 0 | 0 | 0 | 0.325893 | 0.294643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0.125 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
ce3ce736faf27f4dbae0ee85ecca9b4a088a3644 | 1,938 | py | Python | douyinspider/download/downloader.py | MisterZhouZhou/pythonThreeSpider | 0e120350402f690158c89b7431f243cb462ae12f | [
"Apache-2.0"
] | 3 | 2019-11-05T01:00:05.000Z | 2021-03-16T03:56:46.000Z | douyinspider/download/downloader.py | bingwin/pythonThreeSpider | 0e120350402f690158c89b7431f243cb462ae12f | [
"Apache-2.0"
] | null | null | null | douyinspider/download/downloader.py | bingwin/pythonThreeSpider | 0e120350402f690158c89b7431f243cb462ae12f | [
"Apache-2.0"
] | 1 | 2020-05-16T12:45:36.000Z | 2020-05-16T12:45:36.000Z | import urllib
# 资源下载类
class Downloader(object):
# 初始化路径
def __init__(self, path=None):
self.path = path
def download_mp4(self, url, video_name):
if self.path == None:
print('路径不存在')
return
# 定义url,请求的api
try:
print("正在下载:{0}".format(vide... | 35.888889 | 91 | 0.533024 | 211 | 1,938 | 4.748815 | 0.246446 | 0.116766 | 0.113772 | 0.056886 | 0.773453 | 0.773453 | 0.741517 | 0.741517 | 0.703593 | 0.703593 | 0 | 0.037037 | 0.331269 | 1,938 | 53 | 92 | 36.566038 | 0.736111 | 0.04902 | 0 | 0.65 | 0 | 0 | 0.166303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.025 | 0 | 0.175 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0265ccf7e469c91bda4637228764c94645393793 | 311 | py | Python | test/run/t437.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t437.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t437.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import re
m = re.match('([0-9]+)([a-z]+)([A-Z]*)','345abu')
print "\ngroup"
print m.group() == '345abu'
print m.group(0) == '345abu'
print m.group(1) == '345'
print m.group(2) == 'abu'
print m.group(3) == ''
print "\ngroups"
print m.groups() == ('345','abu','')
print m.groups('default') == ('345','abu','')
| 20.733333 | 49 | 0.549839 | 50 | 311 | 3.42 | 0.4 | 0.245614 | 0.321637 | 0.19883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088561 | 0.128617 | 311 | 14 | 50 | 22.214286 | 0.542435 | 0 | 0 | 0 | 0 | 0 | 0.263666 | 0.07717 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.818182 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
026e4e48bb719c9d739049335b2fbf1eacecb5b7 | 1,348 | py | Python | cohesivenet/api/vns3/__init__.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | cohesivenet/api/vns3/__init__.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | cohesivenet/api/vns3/__init__.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from cohesivenet.api.vns3.bgp_api import BGPApiRouter as BGPApi
from cohesivenet.api.vns3.configuration_api import (
ConfigurationApiRouter as ConfigurationApi,
)
from cohesivenet.api.vns3.firewall_api import FirewallApiRouter as... | 44.933333 | 84 | 0.859792 | 157 | 1,348 | 7.229299 | 0.375796 | 0.185022 | 0.222026 | 0.271366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012305 | 0.095697 | 1,348 | 29 | 85 | 46.482759 | 0.918786 | 0.030415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
028044ff995e4bbeaa30a0fc202971c6b2e21be4 | 199 | py | Python | test/tests/incremental_tb_bjit.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-02-06T14:28:45.000Z | 2020-02-06T14:28:45.000Z | test/tests/incremental_tb_bjit.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | test/tests/incremental_tb_bjit.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-02-06T14:29:00.000Z | 2020-02-06T14:29:00.000Z | # This is the same as incremental_tb_bjit.py but tests the baseline JIT.
try:
import __pyston__
__pyston__.setOption("REOPT_THRESHOLD_INTERPRETER", 1)
except:
pass
import incremental_tb
| 22.111111 | 72 | 0.773869 | 28 | 199 | 5.035714 | 0.821429 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.170854 | 199 | 8 | 73 | 24.875 | 0.848485 | 0.351759 | 0 | 0 | 0 | 0 | 0.212598 | 0.212598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
65f9190f870d1ab75bb1eecb2eb177ef83911cc9 | 251 | py | Python | matchzoo/datasets/__init__.py | freedombenLiu/MatchZoo | b1ba96ac8b84e70952f5787f62272ceef8cea106 | [
"Apache-2.0"
] | 2 | 2019-10-04T16:51:36.000Z | 2021-06-09T04:43:35.000Z | matchzoo/datasets/__init__.py | ThanhChinhBK/MatchZoo | f77403044bca4ff0a84738921180724a54fd42f9 | [
"Apache-2.0"
] | null | null | null | matchzoo/datasets/__init__.py | ThanhChinhBK/MatchZoo | f77403044bca4ff0a84738921180724a54fd42f9 | [
"Apache-2.0"
] | null | null | null | from . import toy
from . import wiki_qa
from . import embeddings
from . import snli
from pathlib import Path
def list_available():
return [p.name for p in Path(__file__).parent.iterdir()
if p.is_dir() and not p.name.startswith('_')]
| 22.818182 | 59 | 0.697211 | 39 | 251 | 4.282051 | 0.666667 | 0.239521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203187 | 251 | 10 | 60 | 25.1 | 0.835 | 0 | 0 | 0 | 0 | 0 | 0.003984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.625 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
5a7154886bc4d2da8389e9b8dd05cfd7c9b9dc81 | 90 | py | Python | GeneticLib/chromosome.py | GrimRanger/GeneticAlgorithm | 93fa476e82d610f8622276526baa269303a058e0 | [
"MIT"
] | null | null | null | GeneticLib/chromosome.py | GrimRanger/GeneticAlgorithm | 93fa476e82d610f8622276526baa269303a058e0 | [
"MIT"
] | null | null | null | GeneticLib/chromosome.py | GrimRanger/GeneticAlgorithm | 93fa476e82d610f8622276526baa269303a058e0 | [
"MIT"
] | null | null | null | class Chromosome:
def __init__(self, gene):
self.gene = gene
| 12.857143 | 29 | 0.511111 | 9 | 90 | 4.666667 | 0.666667 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.411111 | 90 | 6 | 30 | 15 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
5a747a349f523ea28803631069823f0ade19d297 | 43 | py | Python | backend/cloud-run-api/app/config/annotation_config.py | tuxedocat/fast-annotation-tool | 2e28e81bf5b383ac033eeae847921d68ed302556 | [
"Apache-2.0"
] | 24 | 2021-06-08T06:20:55.000Z | 2022-03-24T07:27:08.000Z | backend/cloud-run-api/app/config/annotation_config.py | shunyooo/fast-annotation-tool | 0f7b23eb9e664daf33c6ada366ea550996d103b3 | [
"Apache-2.0"
] | null | null | null | backend/cloud-run-api/app/config/annotation_config.py | shunyooo/fast-annotation-tool | 0f7b23eb9e664daf33c6ada366ea550996d103b3 | [
"Apache-2.0"
] | 6 | 2021-06-08T02:39:31.000Z | 2022-01-08T15:10:01.000Z | import os
APP_URL = os.environ["APP_URL"]
| 10.75 | 31 | 0.72093 | 8 | 43 | 3.625 | 0.625 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 32 | 14.333333 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5a7e6f56515e9f69f7584048a092da70c58a073b | 7,407 | py | Python | lib/models/backbones/densenet/densenet_backbone.py | donnyyou/openseg.pytorch | ff55a5d975b7cd806e01ba539db9207d45b0e221 | [
"Apache-2.0"
] | 5 | 2020-04-17T01:56:52.000Z | 2021-03-04T11:15:09.000Z | lib/models/backbones/densenet/densenet_backbone.py | donnyyou/openseg.pytorch | ff55a5d975b7cd806e01ba539db9207d45b0e221 | [
"Apache-2.0"
] | null | null | null | lib/models/backbones/densenet/densenet_backbone.py | donnyyou/openseg.pytorch | ff55a5d975b7cd806e01ba539db9207d45b0e221 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author: Donny You(youansheng@gmail.com)
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import torch.nn as nn
from lib.models.backbones.densenet.densenet_models import DenseNetModels
class NormalDensenetBac... | 34.774648 | 90 | 0.668962 | 812 | 7,407 | 5.848522 | 0.135468 | 0.154138 | 0.138977 | 0.060644 | 0.805433 | 0.802906 | 0.788587 | 0.732996 | 0.692146 | 0.665614 | 0 | 0.036315 | 0.245308 | 7,407 | 213 | 91 | 34.774648 | 0.813238 | 0.027136 | 0 | 0.688742 | 0 | 0 | 0.034717 | 0.011665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059603 | false | 0 | 0.039735 | 0.013245 | 0.152318 | 0.006623 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5a887f5dbeb9bcc8fc8c4da9669454334154d567 | 724 | py | Python | rbc/stdlib/array_api.py | tupui/rbc | 630805b6a32a1e53883dd8502e9a0679c9923b0b | [
"BSD-3-Clause"
] | 1 | 2019-02-15T14:14:58.000Z | 2019-02-15T14:14:58.000Z | rbc/stdlib/array_api.py | tupui/rbc | 630805b6a32a1e53883dd8502e9a0679c9923b0b | [
"BSD-3-Clause"
] | null | null | null | rbc/stdlib/array_api.py | tupui/rbc | 630805b6a32a1e53883dd8502e9a0679c9923b0b | [
"BSD-3-Clause"
] | null | null | null | """
Array API for rbc.
"""
from .constants import * # noqa: F401, F403
from .creation_functions import * # noqa: F401, F403
from .datatypes import * # noqa: F401, F403
from .data_type_functions import * # noqa: F401, F403
from .elementwise_functions import * # noqa: F401, F403
from .linear_algebra_functions impor... | 38.105263 | 59 | 0.719613 | 98 | 724 | 5.142857 | 0.316327 | 0.238095 | 0.333333 | 0.428571 | 0.694444 | 0.553571 | 0 | 0 | 0 | 0 | 0 | 0.120401 | 0.174033 | 724 | 18 | 60 | 40.222222 | 0.722408 | 0.308011 | 0 | 0 | 0 | 0 | 0.002075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.923077 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ce45c71f89b24b8066e13f0aa663053e619f7b25 | 87 | py | Python | merra-2/fetch_helpers.py | meiaalsup/merra-2 | 2c1164ba3d0ebc969bdfa664575249a6b79d7005 | [
"MIT"
] | null | null | null | merra-2/fetch_helpers.py | meiaalsup/merra-2 | 2c1164ba3d0ebc969bdfa664575249a6b79d7005 | [
"MIT"
] | null | null | null | merra-2/fetch_helpers.py | meiaalsup/merra-2 | 2c1164ba3d0ebc969bdfa664575249a6b79d7005 | [
"MIT"
] | null | null | null | def lon_lat_to_coords(lat, lon):
return (int((lat+90.0)/.5), int((lon+180)/.625))
| 21.75 | 52 | 0.62069 | 17 | 87 | 3 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0.126437 | 87 | 3 | 53 | 29 | 0.539474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ce6e99731fcd16d4cf60ff3d5ed25e2253c3e715 | 130 | py | Python | wikipendium/stats/urls.py | stianjensen/wikipendium.no | de07b6cdc15daf350cbf2c1259e20879bf00dc95 | [
"Apache-2.0"
] | 19 | 2015-05-18T14:20:53.000Z | 2021-04-04T22:46:50.000Z | wikipendium/stats/urls.py | stianjensen/wikipendium.no | de07b6cdc15daf350cbf2c1259e20879bf00dc95 | [
"Apache-2.0"
] | 132 | 2015-01-10T14:18:21.000Z | 2020-06-15T21:12:29.000Z | wikipendium/stats/urls.py | wikipendium/wikipendium.no | de07b6cdc15daf350cbf2c1259e20879bf00dc95 | [
"Apache-2.0"
] | 6 | 2015-05-25T20:33:28.000Z | 2020-10-15T17:16:54.000Z | from django.conf.urls import url
import wikipendium.stats.views
urlpatterns = [
url(r'^$', wikipendium.stats.views.index),
]
| 18.571429 | 46 | 0.730769 | 17 | 130 | 5.588235 | 0.705882 | 0.336842 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 130 | 6 | 47 | 21.666667 | 0.840708 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
ce810399d4ba8727c2204a2a1dbb770a5870fd14 | 63 | py | Python | beam_utils/__init__.py | disdi/beam_utils | c9c938de4773b91586996664034ca82ae4038e69 | [
"Apache-2.0"
] | 1 | 2019-07-17T15:00:47.000Z | 2019-07-17T15:00:47.000Z | beam_utils/__init__.py | disdi/beam_utils | c9c938de4773b91586996664034ca82ae4038e69 | [
"Apache-2.0"
] | null | null | null | beam_utils/__init__.py | disdi/beam_utils | c9c938de4773b91586996664034ca82ae4038e69 | [
"Apache-2.0"
] | null | null | null | from coders import NoopCoder
from sources import CsvFileSource
| 21 | 33 | 0.873016 | 8 | 63 | 6.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 34 | 31.5 | 1 | 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 | 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 | 5 |
ce93a9b4e346475845fbe5ab44565c9ab187b209 | 128 | py | Python | 14-files/readline_from_file.py | johnehunt/PythonIntroDS | 7e9d5c5494191cd68bc71e140df5fb30290a8da6 | [
"Apache-2.0"
] | 1 | 2021-09-20T11:22:47.000Z | 2021-09-20T11:22:47.000Z | 14-files/readline_from_file.py | johnehunt/PythonIntroDS | 7e9d5c5494191cd68bc71e140df5fb30290a8da6 | [
"Apache-2.0"
] | null | null | null | 14-files/readline_from_file.py | johnehunt/PythonIntroDS | 7e9d5c5494191cd68bc71e140df5fb30290a8da6 | [
"Apache-2.0"
] | null | null | null | # Read one line of data
file = open('myfile.txt', 'r')
line_of_data = file.readline()
print(line_of_data, end='')
file.close()
| 18.285714 | 30 | 0.6875 | 22 | 128 | 3.818182 | 0.636364 | 0.214286 | 0.357143 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 128 | 6 | 31 | 21.333333 | 0.756757 | 0.164063 | 0 | 0 | 0 | 0 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
cec2ca0ca8fb872cb7279cb5d59e62c76d037598 | 9,447 | py | Python | patients/migrations/0009_auto_20180302_0209.py | josdavidmo/clinical_records | f344aa3e989731cfae9e921300bd0595e5a2e207 | [
"Apache-2.0"
] | null | null | null | patients/migrations/0009_auto_20180302_0209.py | josdavidmo/clinical_records | f344aa3e989731cfae9e921300bd0595e5a2e207 | [
"Apache-2.0"
] | 7 | 2021-02-08T20:25:23.000Z | 2022-03-11T23:31:03.000Z | patients/migrations/0009_auto_20180302_0209.py | josdavidmo/clinical_records | f344aa3e989731cfae9e921300bd0595e5a2e207 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.10 on 2018-03-02 02:09
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('patients', '0008_auto_20180301_0331'),
]
operations = [
migrations.AlterFi... | 39.19917 | 104 | 0.589711 | 862 | 9,447 | 6.328306 | 0.182135 | 0.164986 | 0.206233 | 0.23923 | 0.830247 | 0.830247 | 0.540788 | 0.520257 | 0.520257 | 0.300275 | 0 | 0.007309 | 0.290357 | 9,447 | 240 | 105 | 39.3625 | 0.806384 | 0.007304 | 0 | 0.699571 | 1 | 0 | 0.181867 | 0.002453 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008584 | 0 | 0.021459 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0c866d067bca606e5fcc4ab5da42ef355c78b021 | 34,734 | py | Python | rule_sets_similarity.py | brsynth/RetroPathRL | 80c6a70d94e58227839546e308c12dea43a08d3b | [
"MIT"
] | 21 | 2019-11-04T15:16:46.000Z | 2022-02-28T09:46:21.000Z | rule_sets_similarity.py | brsynth/RetroPathRL | 80c6a70d94e58227839546e308c12dea43a08d3b | [
"MIT"
] | 10 | 2020-01-13T08:18:29.000Z | 2022-03-07T12:48:03.000Z | rule_sets_similarity.py | brsynth/RetroPathRL | 80c6a70d94e58227839546e308c12dea43a08d3b | [
"MIT"
] | 10 | 2020-01-29T11:46:58.000Z | 2022-03-22T03:00:32.000Z | """
Contains the rules examples that will be used throughout the tests.
The aim is to
"""
import logging
import csv
import pickle
import os
from rdkit import Chem, RDLogger
from rdkit.Chem import AllChem
# To standardise compounds before calculating the said ECFPs
from utilities.reactor.Core import RuleBurnerCore
from... | 90.453125 | 4,187 | 0.710802 | 5,364 | 34,734 | 4.433072 | 0.182327 | 0.051348 | 0.068758 | 0.066824 | 0.439379 | 0.328105 | 0.323983 | 0.309853 | 0.301989 | 0.289457 | 0 | 0.339139 | 0.107445 | 34,734 | 383 | 4,188 | 90.689295 | 0.427876 | 0.027898 | 0 | 0.227692 | 0 | 0 | 0.64738 | 0.554431 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006154 | false | 0 | 0.027692 | 0 | 0.033846 | 0.012308 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0c8b4dbf90048f4847fa1c8634da66dd0e2928c0 | 93 | py | Python | director/exceptions.py | ministicraft/celery-director | e88afe1f1b8a77a4cab68b25a84a6b44714255be | [
"BSD-3-Clause"
] | null | null | null | director/exceptions.py | ministicraft/celery-director | e88afe1f1b8a77a4cab68b25a84a6b44714255be | [
"BSD-3-Clause"
] | null | null | null | director/exceptions.py | ministicraft/celery-director | e88afe1f1b8a77a4cab68b25a84a6b44714255be | [
"BSD-3-Clause"
] | null | null | null | class WorkflowNotFound(Exception):
pass
class WorkflowSyntaxError(Exception):
pass
| 13.285714 | 37 | 0.763441 | 8 | 93 | 8.875 | 0.625 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 6 | 38 | 15.5 | 0.922078 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0cb1db27e6e3234682707ed6ca8fdbe34069faa5 | 136 | py | Python | Python/lcm.py | IshankAgarwal/simple-maths | 90ea4eaed7a49da7f321fbd6fa89f265a49cfeb2 | [
"MIT"
] | 1 | 2020-03-07T09:37:26.000Z | 2020-03-07T09:37:26.000Z | Python/lcm.py | IshankAgarwal/simple-maths | 90ea4eaed7a49da7f321fbd6fa89f265a49cfeb2 | [
"MIT"
] | null | null | null | Python/lcm.py | IshankAgarwal/simple-maths | 90ea4eaed7a49da7f321fbd6fa89f265a49cfeb2 | [
"MIT"
] | null | null | null | from gcd import gcd
def lcm(n1, n2):
"""
Function to return the lcm of two numbers
"""
return (n1 * n2) / gcd(n1, n2)
| 15.111111 | 45 | 0.566176 | 22 | 136 | 3.5 | 0.636364 | 0.155844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.308824 | 136 | 8 | 46 | 17 | 0.755319 | 0.301471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0ce78ca20b262a66d06fa4c4460f16b81eab5654 | 2,526 | py | Python | test/test_secrets_api.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | test/test_secrets_api.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | test/test_secrets_api.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
NetBox API
API to access NetBox # noqa: E501
OpenAPI spec version: 2.8
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import netbox_client
from netbox_client.api.secrets_api import SecretsApi #... | 21.05 | 116 | 0.649644 | 311 | 2,526 | 4.906752 | 0.241158 | 0.06422 | 0.100917 | 0.165138 | 0.678899 | 0.536697 | 0.238532 | 0.051114 | 0 | 0 | 0 | 0.008188 | 0.274743 | 2,526 | 119 | 117 | 21.226891 | 0.824782 | 0.403405 | 0 | 0.375 | 1 | 0 | 0.005776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.375 | 0.125 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
0cfc247a01ae0b2c4239a79dfd3e90a0e05fb4ce | 115 | py | Python | python/regex/src/formula/formula.py | GuillaumeFalourd/formulas-4-tests | fef565078fa2209d9e46475f627f4251cfa6dd86 | [
"Apache-2.0"
] | 3 | 2021-08-18T21:01:28.000Z | 2022-01-15T20:13:47.000Z | python/regex/src/formula/formula.py | GuillaumeFalourd/formulas-4-tests | fef565078fa2209d9e46475f627f4251cfa6dd86 | [
"Apache-2.0"
] | null | null | null | python/regex/src/formula/formula.py | GuillaumeFalourd/formulas-4-tests | fef565078fa2209d9e46475f627f4251cfa6dd86 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
from colored import fg, attr
from distutils.util import strtobool
def run(age):
print(age)
| 16.428571 | 36 | 0.73913 | 18 | 115 | 4.722222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.156522 | 115 | 6 | 37 | 19.166667 | 0.865979 | 0.147826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b574100520a7a5c9a82925723f7fddd01c39a79 | 57 | py | Python | Vamei/tricks/trick2.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | 5 | 2020-05-18T06:54:52.000Z | 2021-05-29T23:17:41.000Z | Vamei/tricks/trick2.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | null | null | null | Vamei/tricks/trick2.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | 1 | 2020-05-17T22:47:49.000Z | 2020-05-17T22:47:49.000Z | a=[1,2,3]
print(a.__class__)
print(a.__class__.__name__)
| 14.25 | 27 | 0.736842 | 11 | 57 | 2.727273 | 0.636364 | 0.4 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.052632 | 57 | 3 | 28 | 19 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 5 |
0b5968684c89c89170fc4558a07a840efa60ef91 | 524 | py | Python | anmichelpers/parsers/lineParsers.py | victor-gil-sepulveda/PhD-ANMPythonHelpers | c0e15684cce4aa4da90141b51f043a567a5f8655 | [
"MIT"
] | 1 | 2017-11-01T15:19:10.000Z | 2017-11-01T15:19:10.000Z | anmichelpers/parsers/lineParsers.py | victor-gil-sepulveda/PhD-ANMPythonHelpers | c0e15684cce4aa4da90141b51f043a567a5f8655 | [
"MIT"
] | null | null | null | anmichelpers/parsers/lineParsers.py | victor-gil-sepulveda/PhD-ANMPythonHelpers | c0e15684cce4aa4da90141b51f043a567a5f8655 | [
"MIT"
] | null | null | null | '''
Created on 18/03/2015
@author: user
'''
import numpy
from anmichelpers.tools.tools import is_int
def single_string_parser(parts):
return parts[0]
def string_array_parser(parts):
return parts
def float_array_parser(parts):
return numpy.array([float(part) for part in parts])
def int_array_parser... | 20.96 | 69 | 0.704198 | 80 | 524 | 4.45 | 0.375 | 0.185393 | 0.191011 | 0.185393 | 0.117978 | 0.117978 | 0 | 0 | 0 | 0 | 0 | 0.030445 | 0.185115 | 524 | 25 | 69 | 20.96 | 0.803279 | 0.068702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.133333 | 0.266667 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0b82141e7c3739729901161dd87e486266ecec44 | 141 | py | Python | agent/src/agent/di/streamsets.py | eacherkan-aternity/daria | 7c77a2f52c09c852017b16949a848fa51f0fb579 | [
"Apache-2.0"
] | 16 | 2019-04-03T08:31:54.000Z | 2021-01-24T17:12:04.000Z | agent/src/agent/di/streamsets.py | eacherkan-aternity/daria | 7c77a2f52c09c852017b16949a848fa51f0fb579 | [
"Apache-2.0"
] | 10 | 2020-01-20T14:59:06.000Z | 2022-01-21T10:19:16.000Z | agent/src/agent/di/streamsets.py | eacherkan-aternity/daria | 7c77a2f52c09c852017b16949a848fa51f0fb579 | [
"Apache-2.0"
] | 5 | 2021-01-08T19:23:03.000Z | 2021-11-09T14:15:49.000Z | import sdc_client
from agent import streamsets
def config(binder):
binder.bind(sdc_client.IStreamSetsProvider, streamsets.Provider())
| 17.625 | 70 | 0.801418 | 17 | 141 | 6.529412 | 0.705882 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120567 | 141 | 7 | 71 | 20.142857 | 0.895161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b9067ed4f85d3a4ce037e1852e49c4e2ae04abf | 3,901 | py | Python | src/third_party/beaengine/tests/0f384b.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | 1 | 2022-01-19T01:59:58.000Z | 2022-01-19T01:59:58.000Z | src/third_party/beaengine/tests/0f384b.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | null | null | null | src/third_party/beaengine/tests/0f384b.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This progra... | 45.360465 | 74 | 0.688541 | 490 | 3,901 | 5.395918 | 0.297959 | 0.137292 | 0.237141 | 0.245083 | 0.755295 | 0.733359 | 0.639939 | 0.602874 | 0.602874 | 0.602874 | 0 | 0.054271 | 0.201743 | 3,901 | 85 | 75 | 45.894118 | 0.794798 | 0.227378 | 0 | 0.690909 | 0 | 0 | 0.064171 | 0 | 0 | 0 | 0.004011 | 0 | 0.6 | 1 | 0.018182 | false | 0 | 0.036364 | 0 | 0.072727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0bb4a1d75ed9448e307f0b07c406e4435598a127 | 29 | py | Python | pyhandmouse/__init__.py | heewinkim/pyhandmouse | 63d6a3ba31a2b6422a34585094e2abddecc9166d | [
"Apache-2.0"
] | null | null | null | pyhandmouse/__init__.py | heewinkim/pyhandmouse | 63d6a3ba31a2b6422a34585094e2abddecc9166d | [
"Apache-2.0"
] | null | null | null | pyhandmouse/__init__.py | heewinkim/pyhandmouse | 63d6a3ba31a2b6422a34585094e2abddecc9166d | [
"Apache-2.0"
] | null | null | null | from .main import PyHandMouse | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 | 0 | 0 | 0 | 5 |
e7fc287dffd12d5f4297f54b366b01f249b705aa | 124 | py | Python | polarization/search/admin.py | teyit/semantik | b3e5013c40373f5817b559c7dea28bf443e429d3 | [
"MIT"
] | null | null | null | polarization/search/admin.py | teyit/semantik | b3e5013c40373f5817b559c7dea28bf443e429d3 | [
"MIT"
] | null | null | null | polarization/search/admin.py | teyit/semantik | b3e5013c40373f5817b559c7dea28bf443e429d3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Tweet, Search
admin.site.register(Tweet)
admin.site.register(Search)
| 17.714286 | 33 | 0.806452 | 18 | 124 | 5.555556 | 0.555556 | 0.18 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 6 | 34 | 20.666667 | 0.900901 | 0 | 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 | 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 | 5 |
f04d9068152abaf8154a93cb3f663b42fd64036c | 91 | py | Python | sellsy_api/__init__.py | Annouar/sellsy-client | 0aa7b638c4d35dce33fd4eeae1374bc28530d354 | [
"MIT"
] | 5 | 2018-04-03T13:49:20.000Z | 2020-02-11T10:08:45.000Z | sellsy_api/__init__.py | Annouar/sellsy-client | 0aa7b638c4d35dce33fd4eeae1374bc28530d354 | [
"MIT"
] | 6 | 2019-01-16T16:40:46.000Z | 2022-02-17T15:04:05.000Z | sellsy_api/__init__.py | Annouar/sellsy-client | 0aa7b638c4d35dce33fd4eeae1374bc28530d354 | [
"MIT"
] | 5 | 2019-06-03T12:43:42.000Z | 2022-01-28T13:16:19.000Z | from .sellsy_client import Client
from .errors import SellsyAuthenticateError, SellsyError
| 30.333333 | 56 | 0.868132 | 10 | 91 | 7.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 2 | 57 | 45.5 | 0.95122 | 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 | 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 | 5 |
f07d784b45b284e13dd69679e503c77a895d71ca | 160 | py | Python | Backend/product/admin.py | Bhavya0020/Readopolis | a0053e4fae97dc8291b50c746f3dc3e6b454ad95 | [
"MIT"
] | null | null | null | Backend/product/admin.py | Bhavya0020/Readopolis | a0053e4fae97dc8291b50c746f3dc3e6b454ad95 | [
"MIT"
] | null | null | null | Backend/product/admin.py | Bhavya0020/Readopolis | a0053e4fae97dc8291b50c746f3dc3e6b454ad95 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Category, Product
admin.site.register(Category)
admin.site.register(Product) | 22.857143 | 37 | 0.8125 | 22 | 160 | 5.909091 | 0.545455 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10625 | 160 | 7 | 38 | 22.857143 | 0.909091 | 0.1625 | 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 | 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 | 5 |
b2d5fdada1e11a5a0d71e13e6c0a5d0cf360fd1e | 149 | py | Python | topCoder/srms/400s/srm472/div2/colorful_tiles_easy.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | topCoder/srms/400s/srm472/div2/colorful_tiles_easy.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | topCoder/srms/400s/srm472/div2/colorful_tiles_easy.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | from itertools import groupby
class ColorfulTilesEasy:
def theMin(self, room):
return sum(len(list(g)) // 2 for _, g in groupby(room))
| 21.285714 | 63 | 0.677852 | 21 | 149 | 4.761905 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.214765 | 149 | 6 | 64 | 24.833333 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b2ef3c0e2e5e6533bf107e79641912c91a4e9ba0 | 345 | py | Python | src/tespy/connections/__init__.py | drjod/tespy | b90508178ff3527665781b99d20d3dddd8cb23a2 | [
"MIT"
] | null | null | null | src/tespy/connections/__init__.py | drjod/tespy | b90508178ff3527665781b99d20d3dddd8cb23a2 | [
"MIT"
] | null | null | null | src/tespy/connections/__init__.py | drjod/tespy | b90508178ff3527665781b99d20d3dddd8cb23a2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8
from .bus import Bus # noqa: F401
from .connection import Connection # noqa: F401
from .connection import Ref # noqa: F401
# ############## deprecated components errors ############## #
from .deprecated import bus # noqa: F401
from .deprecated import connection # noqa: F401
from .deprecated ... | 28.75 | 62 | 0.663768 | 42 | 345 | 5.452381 | 0.309524 | 0.209607 | 0.209607 | 0.148472 | 0.655022 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067138 | 0.17971 | 345 | 11 | 63 | 31.363636 | 0.742049 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b2f23a89ebb703aad2eb5fa3d7f6b00b7499cf78 | 179 | py | Python | medical_prescription/exam/views/__init__.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 11 | 2017-09-19T00:29:40.000Z | 2018-04-05T23:52:39.000Z | medical_prescription/exam/views/__init__.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 271 | 2017-09-09T00:07:28.000Z | 2017-12-07T05:00:45.000Z | medical_prescription/exam/views/__init__.py | ristovao/2017.2-Receituario-Medico | 5387eb80dfb354e948abe64f7d8bbe087fc4f136 | [
"MIT"
] | 26 | 2017-08-31T20:48:49.000Z | 2018-03-21T15:11:27.000Z | from .list_exams import ListExams
from .list_custom_exams import ListCustomExams
from .createcustomexam import CreateCustomExamsView
from .edit_customexam import UpdateCustomExam
| 35.8 | 51 | 0.888268 | 20 | 179 | 7.75 | 0.6 | 0.103226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 179 | 4 | 52 | 44.75 | 0.95092 | 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 | 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 | 5 |
b2f9c16d078e04b77aee7b3ceda23e26872aac05 | 155 | py | Python | website_checker/__main__.py | yifeizuo/website_checker | 4b4270c93e034f376bfdde87b790fd49b003551d | [
"Apache-2.0"
] | null | null | null | website_checker/__main__.py | yifeizuo/website_checker | 4b4270c93e034f376bfdde87b790fd49b003551d | [
"Apache-2.0"
] | null | null | null | website_checker/__main__.py | yifeizuo/website_checker | 4b4270c93e034f376bfdde87b790fd49b003551d | [
"Apache-2.0"
] | null | null | null | import fire
import website_checker
def produce():
website_checker.producer.main()
def consume():
website_checker.consumer.main()
fire.Fire()
| 11.071429 | 35 | 0.729032 | 19 | 155 | 5.789474 | 0.526316 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 155 | 13 | 36 | 11.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
65160b24efdb8b320aabafd8c393f517c6db6c09 | 200 | py | Python | Macros/Colours/Purple/Indigo.py | rec/dmxis | 540baa59df6f4ae39990e5888f90b95caa362279 | [
"Artistic-2.0"
] | 2 | 2019-05-26T15:11:18.000Z | 2021-12-27T21:05:32.000Z | Macros/Colours/Purple/Indigo.py | rec/DMXIS | 540baa59df6f4ae39990e5888f90b95caa362279 | [
"Artistic-2.0"
] | null | null | null | Macros/Colours/Purple/Indigo.py | rec/DMXIS | 540baa59df6f4ae39990e5888f90b95caa362279 | [
"Artistic-2.0"
] | null | null | null | #===============================================================
# DMXIS Macro (c) 2010 db audioware limited
#===============================================================
RgbColour(75,0,130)
| 33.333333 | 65 | 0.24 | 11 | 200 | 4.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054645 | 0.085 | 200 | 5 | 66 | 40 | 0.20765 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
652f8028a566914c7b6e8618e8681d8899c684db | 81 | py | Python | tests/conftest.py | shramov/tll-http | 27865ab55e446ea97363bfd6556597b25c7f8cf3 | [
"MIT"
] | 4 | 2019-09-25T14:19:05.000Z | 2021-03-19T07:58:03.000Z | tests/conftest.py | shramov/tll-http | 27865ab55e446ea97363bfd6556597b25c7f8cf3 | [
"MIT"
] | 3 | 2021-10-20T04:53:34.000Z | 2021-11-23T08:57:12.000Z | tests/conftest.py | shramov/tll-http | 27865ab55e446ea97363bfd6556597b25c7f8cf3 | [
"MIT"
] | 2 | 2021-10-16T12:39:35.000Z | 2022-03-17T09:11:52.000Z | #!/usr/bin/env python
# vim: sts=4 sw=4 et
import tll.logger
tll.logger.init()
| 11.571429 | 21 | 0.679012 | 16 | 81 | 3.4375 | 0.8125 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.148148 | 81 | 6 | 22 | 13.5 | 0.768116 | 0.481481 | 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 | 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 | 0 | 0 | 5 |
e8f68f8c43e976430a5bf1c1f298b36f9eeac119 | 216 | py | Python | app/team/views.py | griimx/feature-mlsite | a66201c6b165d306d81110a05ee89d283f9b5e1e | [
"MIT"
] | 3 | 2018-11-20T11:42:39.000Z | 2019-05-24T15:50:11.000Z | app/team/views.py | khushmeeet/mlsite | 08e116fb21cba8fa2d06f54d256de439c91c43b5 | [
"MIT"
] | 1 | 2019-12-16T20:48:36.000Z | 2019-12-16T20:48:36.000Z | app/team/views.py | khushmeeet/mlsite | 08e116fb21cba8fa2d06f54d256de439c91c43b5 | [
"MIT"
] | 2 | 2017-07-04T05:08:55.000Z | 2017-07-04T05:10:55.000Z | from flask import Blueprint, render_template
team_mod = Blueprint('team', __name__, template_folder='templates', static_folder='static')
@team_mod.route('/team')
def team():
return render_template('team.html') | 27 | 91 | 0.759259 | 28 | 216 | 5.5 | 0.571429 | 0.181818 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 216 | 8 | 92 | 27 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0.152074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
330a01452f003142f0a41fbeb65524c26b3516ab | 1,485 | py | Python | pypayd/insight.py | pik/pypayd | f64ef7ff90cda8f5da8844a2520aa604fbd6a9ff | [
"MIT"
] | 4 | 2015-03-02T04:01:51.000Z | 2020-01-12T04:06:34.000Z | pypayd/insight.py | pik/pypayd | f64ef7ff90cda8f5da8844a2520aa604fbd6a9ff | [
"MIT"
] | 12 | 2015-03-02T06:07:17.000Z | 2016-01-19T00:43:11.000Z | pypayd/insight.py | pik/pypayd | f64ef7ff90cda8f5da8844a2520aa604fbd6a9ff | [
"MIT"
] | 4 | 2015-04-30T01:49:09.000Z | 2019-06-14T11:25:50.000Z | """
http://insight.bitpay.com/
"""
import logging
import requests
import config
def getUrl(request_string):
return requests.get(request_string).json()
def setHost():
if config.LOCAL_BLOCKCHAIN and config.BLOCKCHAIN_CONNECT: pass
elif config.LOCAL_BLOCKCHAIN:
config.BLOCKCHAIN_CONNECT = ('http://lo... | 33.75 | 125 | 0.690909 | 178 | 1,485 | 5.668539 | 0.348315 | 0.142716 | 0.205154 | 0.172448 | 0.390486 | 0.358771 | 0.32111 | 0.237859 | 0.237859 | 0.126858 | 0 | 0.0064 | 0.158249 | 1,485 | 43 | 126 | 34.534884 | 0.8008 | 0.017508 | 0 | 0.066667 | 0 | 0 | 0.242926 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.033333 | 0.1 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
332263ae9194f1e9bf00d7aba95d494672910f6b | 172 | py | Python | kafka_streamer/models/__init__.py | sam-mosleh/kafka-streamer | be977af192b33a335b42af0a42ad05d9f3f9fef4 | [
"BSD-3-Clause"
] | 1 | 2020-06-26T00:10:05.000Z | 2020-06-26T00:10:05.000Z | kafka_streamer/models/__init__.py | sam-mosleh/kafka-streamer | be977af192b33a335b42af0a42ad05d9f3f9fef4 | [
"BSD-3-Clause"
] | null | null | null | kafka_streamer/models/__init__.py | sam-mosleh/kafka-streamer | be977af192b33a335b42af0a42ad05d9f3f9fef4 | [
"BSD-3-Clause"
] | null | null | null | from .avro import AvroRecord
from .base import SchematicModel, SchematicRecord, Serializable
__all__ = ("Serializable", "SchematicModel", "SchematicRecord", "AvroRecord")
| 34.4 | 77 | 0.796512 | 15 | 172 | 8.866667 | 0.6 | 0.43609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098837 | 172 | 4 | 78 | 43 | 0.858065 | 0 | 0 | 0 | 0 | 0 | 0.296512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
335766307f96bb72f3d36e361eb55b951826dd09 | 3,965 | py | Python | parsy-backend/flaskApp/searchOption/utils.py | dstambler17/Parsy.io | 14c4905809f79f191efbbbdfbd0e8d9e838478e7 | [
"MIT"
] | null | null | null | parsy-backend/flaskApp/searchOption/utils.py | dstambler17/Parsy.io | 14c4905809f79f191efbbbdfbd0e8d9e838478e7 | [
"MIT"
] | null | null | null | parsy-backend/flaskApp/searchOption/utils.py | dstambler17/Parsy.io | 14c4905809f79f191efbbbdfbd0e8d9e838478e7 | [
"MIT"
] | null | null | null | import sys
from flaskApp import db
from flaskApp.models import User
from flaskApp.error.error_handlers import *
from sqlalchemy import text
import string
class DbSearchOptionUtils(object):
def get_top_results_coursename(param, semester):
#cursor = db.get_db().cursor()
query = " select distinct CNu... | 47.771084 | 150 | 0.593443 | 530 | 3,965 | 4.4 | 0.158491 | 0.039451 | 0.05789 | 0.058319 | 0.793739 | 0.781732 | 0.77916 | 0.748714 | 0.723842 | 0.723842 | 0 | 0.00693 | 0.272131 | 3,965 | 82 | 151 | 48.353659 | 0.801109 | 0.010845 | 0 | 0.571429 | 0 | 0.2 | 0.093112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.085714 | 0 | 0.214286 | 0.057143 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
681ed1d08a20da808e99f88e1d739fbf784a155d | 174 | py | Python | pydicom/dicomio.py | yantingw/SegNetCMR | 70b21c28c841db70e5774383cc47dc0ba1b7eac3 | [
"MIT"
] | 78 | 2017-02-12T12:14:54.000Z | 2022-02-10T23:04:28.000Z | pydicom/dicomio.py | yantingw/SegNetCMR | 70b21c28c841db70e5774383cc47dc0ba1b7eac3 | [
"MIT"
] | 8 | 2017-11-05T16:19:27.000Z | 2022-01-29T13:36:12.000Z | pydicom/dicomio.py | yantingw/SegNetCMR | 70b21c28c841db70e5774383cc47dc0ba1b7eac3 | [
"MIT"
] | 36 | 2017-03-30T02:01:52.000Z | 2021-12-23T22:44:10.000Z | # dicomio.py
"""Many point of entry for pydicom read and write functions"""
from pydicom.filereader import read_file, read_dicomdir
from pydicom.filewriter import write_file
| 34.8 | 62 | 0.816092 | 26 | 174 | 5.346154 | 0.692308 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 174 | 4 | 63 | 43.5 | 0.908497 | 0.390805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6834adcb78ba82b5ae28a4eb580e99e0f7105223 | 61 | py | Python | reamber/sm/SMHit.py | Eve-ning/reamber_base_py | 6d19c84f2c110b60e633b82b73e0516396466f56 | [
"MIT"
] | 10 | 2020-06-28T11:16:36.000Z | 2021-08-09T21:41:43.000Z | reamber/sm/SMHit.py | Eve-ning/reamberPy | 6d19c84f2c110b60e633b82b73e0516396466f56 | [
"MIT"
] | 35 | 2020-06-18T13:05:50.000Z | 2022-02-18T10:13:35.000Z | reamber/sm/SMHit.py | Eve-ning/reamber_base_py | 6d19c84f2c110b60e633b82b73e0516396466f56 | [
"MIT"
] | 2 | 2021-05-26T17:05:06.000Z | 2021-06-12T18:42:13.000Z | from reamber.base.Hit import Hit
class SMHit(Hit):
...
| 10.166667 | 32 | 0.655738 | 9 | 61 | 4.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 61 | 5 | 33 | 12.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
686ec04a4962d1847aabd2098b949f973c8d2c67 | 190 | py | Python | sequoia/__init__.py | pikselpalette/sequoia-python-client-sdk | 972f0061bf8eb8c0cbbe1ffcbc6377148902bd09 | [
"Apache-2.0"
] | null | null | null | sequoia/__init__.py | pikselpalette/sequoia-python-client-sdk | 972f0061bf8eb8c0cbbe1ffcbc6377148902bd09 | [
"Apache-2.0"
] | null | null | null | sequoia/__init__.py | pikselpalette/sequoia-python-client-sdk | 972f0061bf8eb8c0cbbe1ffcbc6377148902bd09 | [
"Apache-2.0"
] | 6 | 2019-11-14T15:28:54.000Z | 2021-04-27T18:57:08.000Z | # -*- coding: utf-8 -*-
__version__ = '4.4.0'
__description__ = """Sequoia Python Client SDK"""
__url__ = "https://github.com/pikselpalette/sequoia-python-client-sdk"
__author__ = 'Piksel'
| 27.142857 | 70 | 0.7 | 23 | 190 | 5.086957 | 0.782609 | 0.222222 | 0.324786 | 0.376068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0.110526 | 190 | 6 | 71 | 31.666667 | 0.668639 | 0.110526 | 0 | 0 | 0 | 0 | 0.562874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
687cd58f7941ce07a8bc70261db6ea9bca9e10d9 | 235 | py | Python | edutalk/exceptions.py | IoTtalk/EduTalk | 76f4e7bb5984a2b530fe4be5ce5a4ae305c229f7 | [
"MIT"
] | null | null | null | edutalk/exceptions.py | IoTtalk/EduTalk | 76f4e7bb5984a2b530fe4be5ce5a4ae305c229f7 | [
"MIT"
] | 1 | 2021-11-24T09:23:24.000Z | 2021-11-24T13:47:10.000Z | edutalk/exceptions.py | IoTtalk/EduTalk | 76f4e7bb5984a2b530fe4be5ce5a4ae305c229f7 | [
"MIT"
] | null | null | null | class BaseError(Exception):
"""Base error class"""
pass
class UtilError(BaseError):
"""Base util error class"""
pass
class CCMAPIError(UtilError):
"""Raised when a ccm_api returned status is not `ok`"""
pass | 18.076923 | 59 | 0.655319 | 29 | 235 | 5.275862 | 0.655172 | 0.130719 | 0.183007 | 0.248366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221277 | 235 | 13 | 60 | 18.076923 | 0.836066 | 0.374468 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
68842be0ad2757a08c2e90339a0e27a2cd39558f | 49 | py | Python | src/home_automation_hub/__init__.py | levidavis/py-home | 3cc30e19d506824de9816ad9dbcfba4338a7dfa8 | [
"MIT"
] | 26 | 2018-08-21T19:54:21.000Z | 2021-10-15T18:59:17.000Z | src/home_automation_hub/__init__.py | levidavis/py-home | 3cc30e19d506824de9816ad9dbcfba4338a7dfa8 | [
"MIT"
] | 3 | 2020-01-23T03:54:24.000Z | 2020-07-19T13:10:22.000Z | src/home_automation_hub/__init__.py | levidavis/py-home | 3cc30e19d506824de9816ad9dbcfba4338a7dfa8 | [
"MIT"
] | 11 | 2018-09-18T21:31:11.000Z | 2021-07-03T11:23:30.000Z | from . import mqtt, web, main, storage, websocket | 49 | 49 | 0.755102 | 7 | 49 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.880952 | 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 | 0 | 0 | 0 | 5 |
6893098910fb96de18b233139deaaf517a50712a | 835 | py | Python | test/test_update_role_request.py | p-fruck/python-contabo | c3abd362a0b90783118f36bec0e557bdbe5a8f2c | [
"Apache-2.0"
] | 2 | 2022-01-27T10:36:33.000Z | 2022-03-09T14:21:12.000Z | test/test_update_role_request.py | p-fruck/python-contabo | c3abd362a0b90783118f36bec0e557bdbe5a8f2c | [
"Apache-2.0"
] | 7 | 2022-01-13T10:44:19.000Z | 2022-02-15T23:44:44.000Z | test/test_update_role_request.py | p-fruck/python-contabo | c3abd362a0b90783118f36bec0e557bdbe5a8f2c | [
"Apache-2.0"
] | null | null | null | """
Contabo API
The version of the OpenAPI document: 1.0.0
Contact: support@contabo.com
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import pfruck_contabo
from pfruck_contabo.model.permission_request import PermissionRequest
globals()['PermissionRequest'] = Permission... | 21.973684 | 79 | 0.713772 | 88 | 835 | 6.613636 | 0.613636 | 0.06701 | 0.058419 | 0.075601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.202395 | 835 | 37 | 80 | 22.567568 | 0.864865 | 0.358084 | 0 | 0.2 | 1 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.2 | false | 0.2 | 0.333333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
689fcde29262d868b9f4480e2cdf1518f06c6585 | 426 | py | Python | python-src/graphoire/algorithm/__init__.py | ccorbell/graphoire | 566b0a27a9d6b87c5952bcc6e257a6d90621ca06 | [
"Apache-2.0"
] | null | null | null | python-src/graphoire/algorithm/__init__.py | ccorbell/graphoire | 566b0a27a9d6b87c5952bcc6e257a6d90621ca06 | [
"Apache-2.0"
] | null | null | null | python-src/graphoire/algorithm/__init__.py | ccorbell/graphoire | 566b0a27a9d6b87c5952bcc6e257a6d90621ca06 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 24 12:43:31 2021
@author: Christopher Corbell
"""
__all__ = ["dijkstra", "fordfulkerson", "galeshapley", "prufer", "welshpowell"]
from graphoire.algorithm.dijkstra import *
from graphoire.algorithm.fordfulkerson import *
from graphoire.algorithm.ga... | 28.4 | 79 | 0.755869 | 50 | 426 | 6.36 | 0.58 | 0.204403 | 0.345912 | 0.352201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.112676 | 426 | 14 | 80 | 30.428571 | 0.804233 | 0.255869 | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d7c230227a42f5372bcc58b88631e5c710db0128 | 252 | py | Python | setup.py | sungmin-park/paginatify-elasticsearch-dsl | 72f0f4d85276fa866a204219a80013aff3ecbf1a | [
"MIT"
] | null | null | null | setup.py | sungmin-park/paginatify-elasticsearch-dsl | 72f0f4d85276fa866a204219a80013aff3ecbf1a | [
"MIT"
] | null | null | null | setup.py | sungmin-park/paginatify-elasticsearch-dsl | 72f0f4d85276fa866a204219a80013aff3ecbf1a | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='paginatify-elasticsearch-dsl',
version='0.0.2',
packages=['paginatify_elasticsearch_dsl'],
zip_safe=False,
install_requires=['paginatify', 'elasticsearch-dsl>=0.0.9']
)
| 25.2 | 67 | 0.650794 | 28 | 252 | 5.714286 | 0.642857 | 0.43125 | 0.4875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030151 | 0.210317 | 252 | 9 | 68 | 28 | 0.773869 | 0 | 0 | 0 | 0 | 0 | 0.376984 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
d7dad3ae1f3faa2aa10b12f46bfc00aa245201f1 | 37 | py | Python | prototf/__init__.py | arpit196/Meta-Unsupervised-Representations-for-Prototypical-Learning | 1511aef4273cab407c608b83b670cf33596cafb7 | [
"MIT"
] | 40 | 2019-04-18T17:43:11.000Z | 2022-03-29T12:01:11.000Z | prototf/__init__.py | arpit196/Meta-Unsupervised-Representations-for-Prototypical-Learning | 1511aef4273cab407c608b83b670cf33596cafb7 | [
"MIT"
] | 2 | 2019-10-14T05:55:12.000Z | 2020-07-03T08:36:22.000Z | prototf/__init__.py | arpit196/Meta-Unsupervised-Representations-for-Prototypical-Learning | 1511aef4273cab407c608b83b670cf33596cafb7 | [
"MIT"
] | 11 | 2019-08-02T15:20:18.000Z | 2021-03-20T19:21:00.000Z | from .train_engine import TrainEngine | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 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 | 0 | 0 | 0 | 5 |
0415d85ce73759220d9d71877a695e51d7b7fe8e | 214 | py | Python | libraries/python/dbxdemo/dbxdemo/spark.py | MiguelPeralvo/databricks-azuredevops-initial-tasks | 2b82879d916b6193666df87a1173067b3ad4cce6 | [
"MIT"
] | 1 | 2022-01-02T14:23:40.000Z | 2022-01-02T14:23:40.000Z | libraries/python/dbxdemo/dbxdemo/spark.py | MiguelPeralvo/databricks-azuredevops-initial-tasks | 2b82879d916b6193666df87a1173067b3ad4cce6 | [
"MIT"
] | null | null | null | libraries/python/dbxdemo/dbxdemo/spark.py | MiguelPeralvo/databricks-azuredevops-initial-tasks | 2b82879d916b6193666df87a1173067b3ad4cce6 | [
"MIT"
] | null | null | null | from pyspark.sql import SparkSession
from functools import lru_cache
@lru_cache(maxsize=None)
def get_spark():
return (SparkSession.builder
.appName("dbxdemo")
.getOrCreate())
| 21.4 | 36 | 0.663551 | 23 | 214 | 6.043478 | 0.782609 | 0.115108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247664 | 214 | 9 | 37 | 23.777778 | 0.863354 | 0 | 0 | 0 | 0 | 0 | 0.032864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
044f4adb043705b52cfd343ff9fafddfd4b20df9 | 125 | py | Python | skfda/inference/anova/__init__.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 147 | 2019-05-10T20:46:42.000Z | 2022-03-25T17:23:19.000Z | skfda/inference/anova/__init__.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 306 | 2019-04-26T08:56:05.000Z | 2022-03-30T11:12:48.000Z | skfda/inference/anova/__init__.py | jiduque/scikit-fda | 5ea71e78854801b259aa3a01eb6b154aa63bf54b | [
"BSD-3-Clause"
] | 38 | 2019-09-03T17:24:04.000Z | 2022-01-06T05:09:18.000Z | """Implementation of ANOVA for functional data."""
from ._anova_oneway import oneway_anova, v_asymptotic_stat, v_sample_stat
| 41.666667 | 73 | 0.824 | 18 | 125 | 5.333333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 2 | 74 | 62.5 | 0.849558 | 0.352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b053046629c4e30c7bd9b68597dd9bec0e5e939 | 13 | py | Python | aspp2017/__init__.py | alebyk113/aspp2017 | 711264c9896fb5418f9c9a314f6af15937613307 | [
"Unlicense"
] | null | null | null | aspp2017/__init__.py | alebyk113/aspp2017 | 711264c9896fb5418f9c9a314f6af15937613307 | [
"Unlicense"
] | null | null | null | aspp2017/__init__.py | alebyk113/aspp2017 | 711264c9896fb5418f9c9a314f6af15937613307 | [
"Unlicense"
] | null | null | null |
print('hi')
| 4.333333 | 11 | 0.538462 | 2 | 13 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 13 | 2 | 12 | 6.5 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0b15d489db8fe951610538e45eeb5d1418551f92 | 5,290 | py | Python | rootfs/buildroot-2017.05.2/support/testing/tests/toolchain/test_external.py | suda-morris/SUDA_3518E | cfad829ecd574ffe5e8c59c96ffad5c1e1bf5fa4 | [
"Apache-2.0"
] | 4 | 2020-04-28T02:12:34.000Z | 2021-02-23T01:57:39.000Z | rootfs/buildroot-2017.05.2/support/testing/tests/toolchain/test_external.py | donginhb/SUDA_3518E | cfad829ecd574ffe5e8c59c96ffad5c1e1bf5fa4 | [
"Apache-2.0"
] | null | null | null | rootfs/buildroot-2017.05.2/support/testing/tests/toolchain/test_external.py | donginhb/SUDA_3518E | cfad829ecd574ffe5e8c59c96ffad5c1e1bf5fa4 | [
"Apache-2.0"
] | 5 | 2018-05-16T16:36:08.000Z | 2020-11-04T05:51:11.000Z | import os
import infra
BASIC_CONFIG = \
"""
BR2_TARGET_ROOTFS_CPIO=y
# BR2_TARGET_ROOTFS_TAR is not set
"""
def has_broken_links(path):
for root, dirs, files in os.walk(path):
for f in files:
fpath = os.path.join(root, f)
if not os.path.exists(fpath):
return True
... | 33.694268 | 71 | 0.576181 | 563 | 5,290 | 5.236234 | 0.20071 | 0.065129 | 0.033921 | 0.042741 | 0.798168 | 0.77137 | 0.760176 | 0.7154 | 0.671303 | 0.669607 | 0 | 0.013034 | 0.318336 | 5,290 | 156 | 72 | 33.910256 | 0.804493 | 0.051607 | 0 | 0.702128 | 0 | 0 | 0.096524 | 0.014611 | 0 | 0 | 0 | 0 | 0.138298 | 1 | 0.06383 | false | 0 | 0.021277 | 0 | 0.244681 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9be676915d0532181e6c71c5e2b1c38885c5507c | 11,307 | py | Python | failure/app_before.py | Freedomisgood/Njupt_AutoJudge_requests | fcd9a10b12ffe25d8b5420e8b7138b970848a96a | [
"MIT"
] | 5 | 2019-12-02T14:58:56.000Z | 2021-04-22T08:00:50.000Z | failure/app_before.py | Freedomisgood/Njupt_AutoJudge_requests | fcd9a10b12ffe25d8b5420e8b7138b970848a96a | [
"MIT"
] | 1 | 2021-09-07T06:17:49.000Z | 2021-09-07T06:17:49.000Z | failure/app_before.py | Freedomisgood/Njupt_AutoJudge_requests | fcd9a10b12ffe25d8b5420e8b7138b970848a96a | [
"MIT"
] | 1 | 2021-03-28T09:06:34.000Z | 2021-03-28T09:06:34.000Z | # -*- coding: utf-8 -*-
# @Time : 2019/12/1 21:44
# @Author : Mrli
# @FileName: test.py
# @Cnblogs :https://nymrli.top/
import re
import random
import requests
from lxml import etree
from njupt import Zhengfang
from bs4 import BeautifulSoup
from urllib.parse import parse_qs, urlencode
from config import *
# header... | 35.556604 | 117 | 0.546033 | 1,241 | 11,307 | 4.818695 | 0.178888 | 0.029431 | 0.018395 | 0.026756 | 0.768896 | 0.76087 | 0.755351 | 0.731773 | 0.708696 | 0.708696 | 0 | 0.021963 | 0.3114 | 11,307 | 317 | 118 | 35.66877 | 0.746083 | 0.18661 | 0 | 0.695187 | 0 | 0.042781 | 0.162029 | 0.034467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080214 | false | 0.010695 | 0.042781 | 0 | 0.165775 | 0.037433 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9becfcf5dc9610fb0a160686965f6b75a539492e | 163 | py | Python | gdb_comments/integrations/pwndbg_utils.py | supersam654/gdb-comments | e20f87b84649609a1d6a34611bc68956cf620274 | [
"MIT"
] | null | null | null | gdb_comments/integrations/pwndbg_utils.py | supersam654/gdb-comments | e20f87b84649609a1d6a34611bc68956cf620274 | [
"MIT"
] | null | null | null | gdb_comments/integrations/pwndbg_utils.py | supersam654/gdb-comments | e20f87b84649609a1d6a34611bc68956cf620274 | [
"MIT"
] | null | null | null | import pwndbg
def info(s):
print(s)
def error(s):
# It's good enough for printing exceptions and it's good enough for me.
print(pwndbg.color.red(s))
| 18.111111 | 75 | 0.674847 | 29 | 163 | 3.793103 | 0.586207 | 0.054545 | 0.127273 | 0.236364 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214724 | 163 | 8 | 76 | 20.375 | 0.859375 | 0.423313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9bed5e2beef67d207d447349d1375d4367420387 | 54 | py | Python | polyaxon/schemas/frameworks.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/schemas/frameworks.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/schemas/frameworks.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from polyaxon_schemas.utils import Frameworks # noqa
| 27 | 53 | 0.833333 | 7 | 54 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 1 | 54 | 54 | 0.93617 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.