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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a14011f55c46ecbcaffbee2f585963367ca00134 | 14,445 | py | Python | test/test_integration_resource.py | jdumas/conjur-api-python3 | 96e438765d580722357a070507305feafcb59d2a | [
"Apache-2.0"
] | 16 | 2019-05-17T15:34:59.000Z | 2021-11-08T10:30:21.000Z | test/test_integration_resource.py | jdumas/conjur-api-python3 | 96e438765d580722357a070507305feafcb59d2a | [
"Apache-2.0"
] | 301 | 2019-05-07T18:27:10.000Z | 2022-01-26T13:03:49.000Z | test/test_integration_resource.py | jdumas/conjur-api-python3 | 96e438765d580722357a070507305feafcb59d2a | [
"Apache-2.0"
] | 10 | 2019-07-30T17:00:13.000Z | 2022-01-20T17:00:34.000Z | # -*- coding: utf-8 -*-
"""
CLI Resource Integration tests
This test file handles the main test flows for the user/host command
"""
# Builtins
import io
from contextlib import redirect_stderr
from unittest.mock import patch
# Internals
from conjur.constants import DEFAULT_NETRC_FILE
from conjur.data_object import Co... | 52.336957 | 139 | 0.635583 | 1,752 | 14,445 | 4.898973 | 0.123288 | 0.072702 | 0.063614 | 0.083188 | 0.769078 | 0.747408 | 0.708843 | 0.696027 | 0.6669 | 0.648375 | 0 | 0.003512 | 0.251021 | 14,445 | 275 | 140 | 52.527273 | 0.789814 | 0.070682 | 0 | 0.658163 | 0 | 0.005102 | 0.152395 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 1 | 0.107143 | false | 0.147959 | 0.045918 | 0 | 0.163265 | 0.005102 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a16bee151f4bfbf1c9340f13a66767083ae0cebe | 4,138 | py | Python | skytool/tessnip.py | sirtaj/skytool | c7b04aa139cc0952ba7eb8780f01b2a5d451cbb4 | [
"FSFAP"
] | 3 | 2016-07-08T21:37:47.000Z | 2021-03-19T14:32:04.000Z | skytool/tessnip.py | sirtaj/skytool | c7b04aa139cc0952ba7eb8780f01b2a5d451cbb4 | [
"FSFAP"
] | null | null | null | skytool/tessnip.py | sirtaj/skytool | c7b04aa139cc0952ba7eb8780f01b2a5d451cbb4 | [
"FSFAP"
] | 1 | 2021-03-19T14:32:07.000Z | 2021-03-19T14:32:07.000Z |
'''
Root element: Records
'''
from xrev import typed_property, typed_collection
class Records(object):
'''
Contains: ['Group', 'Record']
'''
def __init__(self, **kwargs):
for attr, value in kwargs.items():
setattr(self, attr, value)
children = typed_col... | 31.348485 | 89 | 0.592073 | 456 | 4,138 | 5.16886 | 0.144737 | 0.165465 | 0.023335 | 0.029699 | 0.615613 | 0.564277 | 0.462877 | 0.424268 | 0.424268 | 0.424268 | 0 | 0.000649 | 0.255679 | 4,138 | 131 | 90 | 31.587786 | 0.76461 | 0.076365 | 0 | 0.5 | 0 | 0 | 0.126022 | 0 | 0 | 0 | 0 | 0.015267 | 0 | 1 | 0.243243 | false | 0 | 0.013514 | 0.175676 | 0.77027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a16ed032b4e0af6e9db0d79d9fc70dbb8e437ff3 | 277 | py | Python | code/search/test_U2.py | AntonioFuziy/agents | 642fede41f348ae540e03993cb579667634e76ef | [
"MIT"
] | null | null | null | code/search/test_U2.py | AntonioFuziy/agents | 642fede41f348ae540e03993cb579667634e76ef | [
"MIT"
] | null | null | null | code/search/test_U2.py | AntonioFuziy/agents | 642fede41f348ae540e03993cb579667634e76ef | [
"MIT"
] | 2 | 2022-02-24T18:51:01.000Z | 2022-02-24T18:54:19.000Z | from SearchAlgorithms import BuscaCustoUniforme
from U2 import U2
def test_menor_caminho():
state = U2(False, False, False, False, False, ' ')
algorithm = BuscaCustoUniforme()
result = algorithm.search(state)
assert result.g <= 17
print(result.show_path()) | 30.777778 | 54 | 0.718412 | 33 | 277 | 5.939394 | 0.606061 | 0.204082 | 0.229592 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022026 | 0.180505 | 277 | 9 | 55 | 30.777778 | 0.84141 | 0 | 0 | 0 | 0 | 0 | 0.003597 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.375 | 0.125 | 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 | 0 | 0 | 4 |
a1765bb4ce30f89fb4957d4bb244a613b0fcbad8 | 191 | py | Python | src/assignments/main_assignment4.py | acc-cosc-1336/cosc-1336-spring-2018-artgonzalezacc | c5dcc0ad7c47345c274d61c7e94f6c3b0ed42245 | [
"MIT"
] | null | null | null | src/assignments/main_assignment4.py | acc-cosc-1336/cosc-1336-spring-2018-artgonzalezacc | c5dcc0ad7c47345c274d61c7e94f6c3b0ed42245 | [
"MIT"
] | null | null | null | src/assignments/main_assignment4.py | acc-cosc-1336/cosc-1336-spring-2018-artgonzalezacc | c5dcc0ad7c47345c274d61c7e94f6c3b0ed42245 | [
"MIT"
] | null | null | null | #write the import statement to add the assignment 4 file and the factorial function to this file
from src.assignments.assignment4 import main
#make a call to the factorial function
main()
| 23.875 | 96 | 0.801047 | 31 | 191 | 4.935484 | 0.677419 | 0.156863 | 0.261438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.167539 | 191 | 7 | 97 | 27.285714 | 0.949686 | 0.691099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 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 | 4 |
a1855d3f012a7badebddd3cc03146aca50b74aa6 | 5,276 | py | Python | asnets/experiments/ex_blocksworld.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 21 | 2017-12-05T13:27:36.000Z | 2021-11-16T20:32:33.000Z | asnets/experiments/ex_blocksworld.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 2 | 2018-07-16T12:15:46.000Z | 2020-10-31T00:02:49.000Z | asnets/experiments/ex_blocksworld.py | xf1590281/ASNets | 5f4b29fb62a5e72004b813228442d06246c9ec33 | [
"MIT"
] | 7 | 2018-03-19T13:45:13.000Z | 2022-03-24T07:52:20.000Z | """For experiments on Exploding Blocksworld."""
PDDL_DIR = '../problems/mine/ex-bw/'
COMMON_PDDLS = ['domain.pddl']
TRAIN_PDDLS = [
# Sam: I've uncommented things for which reasonable plans are findable in
# roughly 2s (excluding the four-block problems, which are probably too
# easy)
# 'train/ex-bw-tr... | 31.975758 | 78 | 0.613154 | 881 | 5,276 | 3.661748 | 0.22815 | 0.112833 | 0.16739 | 0.260384 | 0.559826 | 0.459082 | 0.079975 | 0.079975 | 0.079975 | 0 | 0 | 0.227946 | 0.168499 | 5,276 | 164 | 79 | 32.170732 | 0.507408 | 0.395754 | 0 | 0 | 0 | 0 | 0.656513 | 0.652949 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a196cbefce2f477e53205fd9cf3045d24ad94509 | 93 | py | Python | galleries/apps.py | Ingabineza12/gallery-app | 5c28558203d68dd582b77df408cf6f21ccc01100 | [
"Unlicense"
] | 1 | 2021-08-02T01:29:38.000Z | 2021-08-02T01:29:38.000Z | galleries/apps.py | Ingabineza12/gallery-app | 5c28558203d68dd582b77df408cf6f21ccc01100 | [
"Unlicense"
] | null | null | null | galleries/apps.py | Ingabineza12/gallery-app | 5c28558203d68dd582b77df408cf6f21ccc01100 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class GalleriesConfig(AppConfig):
name = 'galleries'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a1a17a134f9d426ab9ba9f7d7817e4417e5f38ef | 695 | py | Python | mysite/mysite/models.py | rajatarora21/Mchacks2020 | d30622d82263d448577f9f99694e008f10c84973 | [
"MIT"
] | null | null | null | mysite/mysite/models.py | rajatarora21/Mchacks2020 | d30622d82263d448577f9f99694e008f10c84973 | [
"MIT"
] | 1 | 2020-06-06T00:42:41.000Z | 2020-06-06T00:42:41.000Z | mysite/mysite/models.py | rajatarora21/Mchacks2020 | d30622d82263d448577f9f99694e008f10c84973 | [
"MIT"
] | 1 | 2020-02-16T01:41:07.000Z | 2020-02-16T01:41:07.000Z | from django.db import models
class Family(models.Model):
last_name = models.CharField(max_length=50, default='')
class Person(models.Model):
first_name = models.CharField(max_length=50)
last_name = models.CharField(max_length=50)
sex = models.CharField(max_length=50)
phone_number = models.CharFi... | 30.217391 | 89 | 0.746763 | 95 | 695 | 5.263158 | 0.368421 | 0.3 | 0.36 | 0.48 | 0.544 | 0.388 | 0.136 | 0 | 0 | 0 | 0 | 0.038526 | 0.141007 | 695 | 22 | 90 | 31.590909 | 0.798995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 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 | 0 | 1 | 0 | 0 | 4 |
a1bc8caabfae49014d8804b7e253570d14c04efa | 270 | py | Python | tests/struct/test_struct_parse.py | sentrip/pygamehack | 90a8722172d6a45bf7468e306a23d89832a9ea44 | [
"MIT"
] | 2 | 2021-07-25T16:07:17.000Z | 2021-11-22T15:33:35.000Z | tests/struct/test_struct_parse.py | sentrip/pygamehack | 90a8722172d6a45bf7468e306a23d89832a9ea44 | [
"MIT"
] | null | null | null | tests/struct/test_struct_parse.py | sentrip/pygamehack | 90a8722172d6a45bf7468e306a23d89832a9ea44 | [
"MIT"
] | null | null | null | import pytest
from pygamehack.struct_parser import string_to_classes, classes_to_string
# TODO: Test struct parsing
# def test_struct_parse():
# src = """
# class A:
# a: int = 5
# """
# print(classes_to_string(string_to_classes(src)))
| 16.875 | 73 | 0.651852 | 35 | 270 | 4.714286 | 0.571429 | 0.09697 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.240741 | 270 | 15 | 74 | 18 | 0.8 | 0.551852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a1bd03c335e569f196795adbd06f15c735722e8b | 194 | py | Python | src/py2.x/algorithm/algo4_1.py | BinLeeBit/AILearners | 39e96337b89470cd75e0653eb94ee069b7409724 | [
"Apache-2.0"
] | 350 | 2019-04-17T06:48:05.000Z | 2022-03-31T11:37:24.000Z | src/py2.x/algorithm/algo4_1.py | TingFeng-Git/AILearners | 5aec29a13fbb145a7a55e41ceedb5b42f5bbb1a0 | [
"Apache-2.0"
] | 1 | 2021-01-19T20:55:33.000Z | 2021-01-19T20:55:33.000Z | src/py2.x/algorithm/algo4_1.py | TingFeng-Git/AILearners | 5aec29a13fbb145a7a55e41ceedb5b42f5bbb1a0 | [
"Apache-2.0"
] | 121 | 2019-04-17T06:51:41.000Z | 2022-03-29T06:43:12.000Z | '''
This code is written by bidongqinxian
'''
def Fibonacci(n):
if n == 1:
return 1
if n == 2:
return 1
if n >= 3:
return Fibonacci(n - 1) + Fibonacci(n - 2)
| 17.636364 | 50 | 0.510309 | 29 | 194 | 3.413793 | 0.482759 | 0.30303 | 0.181818 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 0.360825 | 194 | 10 | 51 | 19.4 | 0.741935 | 0.190722 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 0 | 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 | 0 | 0 | 4 |
a1c8271bf7e0c1dc858e1e4bbe64a689de800e90 | 754 | py | Python | python/tests/test_k_ary.py | ManarAbdelkarim/data-structures-and-algorithms | ece37d03c5931d2d6b0ce2d677635fb718944c38 | [
"MIT"
] | null | null | null | python/tests/test_k_ary.py | ManarAbdelkarim/data-structures-and-algorithms | ece37d03c5931d2d6b0ce2d677635fb718944c38 | [
"MIT"
] | 1 | 2021-05-06T19:41:25.000Z | 2021-05-06T19:41:25.000Z | python/tests/test_k_ary.py | ManarAbdelkarim/data-structures-and-algorithms | ece37d03c5931d2d6b0ce2d677635fb718944c38 | [
"MIT"
] | 2 | 2021-06-06T18:02:58.000Z | 2021-08-15T18:56:26.000Z | # from challenges.data_structure.tree.tree import *
# import pytest
# def test_k_array(node1_test):
# k_tree = K_tree(node1_test)
# actual = k_tree.FizzBuzzTree()
# expected = ['2', '7', 'Fizz', 'Fizz', 'Fizz', '2', 'Fizz', 'Buzz', '1', '8']
# assert actual == expected
# @pytest.fixture
# def node1_test():
... | 30.16 | 80 | 0.669761 | 106 | 754 | 4.679245 | 0.301887 | 0.235887 | 0.344758 | 0.145161 | 0.459677 | 0.459677 | 0.127016 | 0 | 0 | 0 | 0 | 0.053599 | 0.133952 | 754 | 24 | 81 | 31.416667 | 0.705972 | 0.940318 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a1e233df3e97e10ed5b5ad82b9d5122ae74fde24 | 331 | py | Python | MeasureDetector/errors.py | Datascientistzxcv/MeasureDetector | 1b864eb1135656ca056b4076fa7ac32fb97fc30f | [
"Apache-2.0"
] | 25 | 2018-11-02T14:14:36.000Z | 2022-01-31T09:00:12.000Z | MeasureDetector/errors.py | Datascientistzxcv/MeasureDetector | 1b864eb1135656ca056b4076fa7ac32fb97fc30f | [
"Apache-2.0"
] | 8 | 2020-05-26T15:58:34.000Z | 2022-01-18T09:13:47.000Z | MeasureDetector/errors.py | Datascientistzxcv/MeasureDetector | 1b864eb1135656ca056b4076fa7ac32fb97fc30f | [
"Apache-2.0"
] | 11 | 2019-03-14T09:10:14.000Z | 2022-01-09T21:45:52.000Z | class InvalidImageFormatError(Exception):
"""Raised, when the image format is neither JPEG nor PNG"""
pass
class InvalidImageError(Exception):
"""Raised, when the image is invalid or could not be loaded"""
pass
class InvalidAnnotationError(Exception):
"""Raised, when the annotations are invalid"... | 25.461538 | 66 | 0.719033 | 39 | 331 | 6.102564 | 0.615385 | 0.189076 | 0.239496 | 0.277311 | 0.226891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190332 | 331 | 13 | 67 | 25.461538 | 0.88806 | 0.456193 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1a053bf039b3d38d5ded0b8a4c45e3e0aa15a7b9 | 728 | py | Python | django_quasar/templatetags/django_quasar.py | Microdisseny/django-quasar | f10da3b8807fab3c72fff31201338747cced4f1d | [
"MIT"
] | null | null | null | django_quasar/templatetags/django_quasar.py | Microdisseny/django-quasar | f10da3b8807fab3c72fff31201338747cced4f1d | [
"MIT"
] | null | null | null | django_quasar/templatetags/django_quasar.py | Microdisseny/django-quasar | f10da3b8807fab3c72fff31201338747cced4f1d | [
"MIT"
] | null | null | null | from django import template
from django_quasar import CSS_QUASAR_111, JS_QUASAR_111
register = template.Library()
@register.inclusion_tag('django_quasar/tags/quasar_css.html', takes_context=True)
def quasar_css_111(context):
return {
'css_file': CSS_QUASAR_111
}
@register.inclusion_tag('django_quas... | 25.103448 | 81 | 0.771978 | 105 | 728 | 5 | 0.2 | 0.114286 | 0.152381 | 0.198095 | 0.613333 | 0.613333 | 0.613333 | 0.613333 | 0.613333 | 0.579048 | 0 | 0.034537 | 0.125 | 728 | 28 | 82 | 26 | 0.789639 | 0 | 0 | 0.315789 | 0 | 0 | 0.20467 | 0.184066 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.210526 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1a0f92a10502eb83f5ff85b7b3677c6497c89232 | 104 | py | Python | parse.py | antipodite/acd | 2739d0328a9083fb11a4624966ca59360df79c8f | [
"CC-BY-4.0"
] | 5 | 2021-08-07T12:15:21.000Z | 2022-03-15T17:47:06.000Z | parse.py | antipodite/acd | 2739d0328a9083fb11a4624966ca59360df79c8f | [
"CC-BY-4.0"
] | 1 | 2022-03-13T20:46:23.000Z | 2022-03-15T01:31:42.000Z | parse.py | antipodite/acd | 2739d0328a9083fb11a4624966ca59360df79c8f | [
"CC-BY-4.0"
] | 3 | 2021-08-19T15:03:25.000Z | 2022-03-11T08:06:11.000Z | import pathlib
from acdparser import parse
if __name__ == '__main__':
parse(pathlib.Path('raw'))
| 13 | 30 | 0.711538 | 13 | 104 | 5.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 104 | 7 | 31 | 14.857143 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
1a162d6c3bc35acb512e23107debebbfbcfa6914 | 564 | py | Python | EOC/prototype/model/vit/layers/position_embedding.py | double-fire-0/SystemNoise | ab042dd54371482a18117eb13f816a7472e51590 | [
"Apache-2.0"
] | 8 | 2021-10-18T05:11:55.000Z | 2021-11-10T11:54:13.000Z | EOC/prototype/model/vit/layers/position_embedding.py | double-fire-0/SystemNoise | ab042dd54371482a18117eb13f816a7472e51590 | [
"Apache-2.0"
] | null | null | null | EOC/prototype/model/vit/layers/position_embedding.py | double-fire-0/SystemNoise | ab042dd54371482a18117eb13f816a7472e51590 | [
"Apache-2.0"
] | 1 | 2021-10-15T09:24:21.000Z | 2021-10-15T09:24:21.000Z | import torch
import numpy as np
def get_sinusoid_encoding(n_position, d_hid):
''' Sinusoid position encoding table '''
def get_position_angle_vec(position):
return [position / np.power(10000, 2 * (hid_j // 2) / d_hid) for hid_j in range(d_hid)]
sinusoid_table = np.array([get_position_angle_vec(p... | 35.25 | 95 | 0.689716 | 91 | 564 | 4.021978 | 0.384615 | 0.213115 | 0.065574 | 0.103825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040598 | 0.170213 | 564 | 15 | 96 | 37.6 | 0.741453 | 0.088652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1a1c4449be3a6a4fb278645a67340f75a82de827 | 101 | py | Python | tests/models.py | blenq/djop | 45760030f1fc82ceaea6ffdd9e635d3de24e0f74 | [
"MIT"
] | null | null | null | tests/models.py | blenq/djop | 45760030f1fc82ceaea6ffdd9e635d3de24e0f74 | [
"MIT"
] | null | null | null | tests/models.py | blenq/djop | 45760030f1fc82ceaea6ffdd9e635d3de24e0f74 | [
"MIT"
] | null | null | null | from django.db import models
class City(models.Model):
name = models.CharField(max_length=255)
| 16.833333 | 43 | 0.752475 | 15 | 101 | 5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.148515 | 101 | 5 | 44 | 20.2 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1a1d5ed971e80f91007bd5dc346dbbbdeea9554d | 157 | py | Python | data_config.py | sonne-academic/solr-utils | ec3380e7492fa4d1f9682253674513800980b35f | [
"Apache-2.0"
] | null | null | null | data_config.py | sonne-academic/solr-utils | ec3380e7492fa4d1f9682253674513800980b35f | [
"Apache-2.0"
] | null | null | null | data_config.py | sonne-academic/solr-utils | ec3380e7492fa4d1f9682253674513800980b35f | [
"Apache-2.0"
] | null | null | null | from pathlib import Path
DATA_HOME = Path.home() / 'tcode' / 'data'
DBLP_DATA = DATA_HOME / 'dblp'
MAG_DATA = DATA_HOME / 'mag'
S2_DATA = DATA_HOME / 's2'
| 19.625 | 42 | 0.681529 | 25 | 157 | 4 | 0.4 | 0.32 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.178344 | 157 | 7 | 43 | 22.428571 | 0.75969 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a7e382f695ee8d4506a4cdae7d023a79aa57bb0c | 100 | py | Python | testcase_step/apps.py | trejiiten/testrun_python_restapi | 81496c72868be46174495989fb528231c532fe82 | [
"MIT"
] | null | null | null | testcase_step/apps.py | trejiiten/testrun_python_restapi | 81496c72868be46174495989fb528231c532fe82 | [
"MIT"
] | null | null | null | testcase_step/apps.py | trejiiten/testrun_python_restapi | 81496c72868be46174495989fb528231c532fe82 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TestcaseStepConfig(AppConfig):
name = 'testcase_step'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a7e4cb9e500a18c6390465de609a2dbb825aa12e | 192 | py | Python | models/attention/__init__.py | law930001/panpp | b1da417cb47df94e3aa9fd039bd94b06ab8df9bd | [
"Apache-2.0"
] | 1 | 2021-12-28T06:56:10.000Z | 2021-12-28T06:56:10.000Z | models/attention/__init__.py | law930001/panpp | b1da417cb47df94e3aa9fd039bd94b06ab8df9bd | [
"Apache-2.0"
] | null | null | null | models/attention/__init__.py | law930001/panpp | b1da417cb47df94e3aa9fd039bd94b06ab8df9bd | [
"Apache-2.0"
] | null | null | null | from .cbam import cbam
from .attn_v1 import attn_v1
from .attn_v2 import attn_v2
from .attn_v3 import attn_v3
from .attn_v4 import attn_v4
__all__ = ['cbam', 'attn_v1', 'attn_v2', 'attn_v3']
| 24 | 51 | 0.760417 | 36 | 192 | 3.638889 | 0.25 | 0.244275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.140625 | 192 | 7 | 52 | 27.428571 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.130208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a7f8d1038eee989d114ed76a16d5a01ccd326ee3 | 103 | wsgi | Python | services/apache/www/nbassistant/wsgi-bin/application.wsgi | HenryWan16/NBAssistant | 267d3d3859958e0a0bd8be7ca2f62c8f7294630b | [
"Apache-2.0"
] | null | null | null | services/apache/www/nbassistant/wsgi-bin/application.wsgi | HenryWan16/NBAssistant | 267d3d3859958e0a0bd8be7ca2f62c8f7294630b | [
"Apache-2.0"
] | null | null | null | services/apache/www/nbassistant/wsgi-bin/application.wsgi | HenryWan16/NBAssistant | 267d3d3859958e0a0bd8be7ca2f62c8f7294630b | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.insert(0, '/workdir')
from business import create_app
application = create_app() | 14.714286 | 31 | 0.76699 | 15 | 103 | 5.133333 | 0.733333 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.126214 | 103 | 7 | 32 | 14.714286 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c52976a1102fd715b3fb3e7b85b6528c39882fb9 | 169 | py | Python | core/serializers.py | mateusvictor/Tools-API | 4796da01e88689da02351a9b073926adf13e1dd9 | [
"MIT"
] | null | null | null | core/serializers.py | mateusvictor/Tools-API | 4796da01e88689da02351a9b073926adf13e1dd9 | [
"MIT"
] | null | null | null | core/serializers.py | mateusvictor/Tools-API | 4796da01e88689da02351a9b073926adf13e1dd9 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from core.models import Tool
class ToolSerializer(serializers.ModelSerializer):
class Meta:
model = Tool
fields = '__all__' | 21.125 | 50 | 0.798817 | 20 | 169 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142012 | 169 | 8 | 51 | 21.125 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.041176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c559f961f573c50bd26e50f3e71ce07c782d5531 | 163 | py | Python | vizdoommaze/envs/vizdoommazeone10.py | Brodong/vizdoommaze | 1b7531f59f6eb5e94d22193d95febaf52ff6a874 | [
"MIT"
] | null | null | null | vizdoommaze/envs/vizdoommazeone10.py | Brodong/vizdoommaze | 1b7531f59f6eb5e94d22193d95febaf52ff6a874 | [
"MIT"
] | null | null | null | vizdoommaze/envs/vizdoommazeone10.py | Brodong/vizdoommaze | 1b7531f59f6eb5e94d22193d95febaf52ff6a874 | [
"MIT"
] | 1 | 2021-01-14T08:58:28.000Z | 2021-01-14T08:58:28.000Z | from vizdoommaze.envs.vizdoomenv import VizdoomEnv
class VizdoomMazeOne10(VizdoomEnv):
def __init__(self):
super(VizdoomMazeOne10, self).__init__(23) | 27.166667 | 50 | 0.773006 | 17 | 163 | 6.941176 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.141104 | 163 | 6 | 51 | 27.166667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
3d705ce58901c8e82428d89c4d697d5f0d2fd0b6 | 71 | py | Python | efilter_tests/fixtures/__init__.py | Onager/dotty | b145131499be0c4b755fc2e2ac19be11a50bce6a | [
"Apache-2.0"
] | 54 | 2015-08-02T14:26:50.000Z | 2021-10-21T02:44:25.000Z | efilter_tests/fixtures/__init__.py | Onager/dotty | b145131499be0c4b755fc2e2ac19be11a50bce6a | [
"Apache-2.0"
] | 23 | 2015-11-27T10:08:58.000Z | 2017-09-27T08:54:56.000Z | efilter_tests/fixtures/__init__.py | Onager/dotty | b145131499be0c4b755fc2e2ac19be11a50bce6a | [
"Apache-2.0"
] | 16 | 2015-08-14T10:11:20.000Z | 2021-10-21T02:44:18.000Z | """Contains fixtures, some of which have canonical Python versions."""
| 35.5 | 70 | 0.760563 | 9 | 71 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 1 | 71 | 71 | 0.870968 | 0.901408 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3dba1c397b6f31b3740ea6ee4f1e91b0ca1bafc4 | 688 | py | Python | mollie/api/resources/subscriptions.py | elcolumbio/mollie-api-python | 743c7c10df5916bfa14e2c4e82ad5cca17bc2ae3 | [
"BSD-2-Clause"
] | null | null | null | mollie/api/resources/subscriptions.py | elcolumbio/mollie-api-python | 743c7c10df5916bfa14e2c4e82ad5cca17bc2ae3 | [
"BSD-2-Clause"
] | 3 | 2018-09-21T12:02:44.000Z | 2018-09-26T12:01:00.000Z | mollie/api/resources/subscriptions.py | elcolumbio/mollie-api-python | 743c7c10df5916bfa14e2c4e82ad5cca17bc2ae3 | [
"BSD-2-Clause"
] | null | null | null | from ..objects.subscription import Subscription
from .base import Base
class Subscriptions(Base):
def get_resource_object(self, result):
return Subscription(result, self.client)
def create(self, data=None, **params):
raise NotImplementedError('The endpoint "create" is not supported.')
de... | 34.4 | 76 | 0.709302 | 82 | 688 | 5.890244 | 0.353659 | 0.198758 | 0.223602 | 0.289855 | 0.362319 | 0.202899 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0.184593 | 688 | 19 | 77 | 36.210526 | 0.860963 | 0 | 0 | 0 | 0 | 0 | 0.222384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.153846 | 0.076923 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3de6eebc484b21bdda765918bdd202bb241b87c7 | 213 | py | Python | Project/src/_test/__init__.py | DBrianKimmel/PyHouse | a100fc67761a22ae47ed6f21f3c9464e2de5d54f | [
"MIT"
] | 3 | 2016-11-16T00:37:58.000Z | 2019-11-10T13:10:19.000Z | Project/src/_test/__init__.py | DBrianKimmel/PyHouse | a100fc67761a22ae47ed6f21f3c9464e2de5d54f | [
"MIT"
] | null | null | null | Project/src/_test/__init__.py | DBrianKimmel/PyHouse | a100fc67761a22ae47ed6f21f3c9464e2de5d54f | [
"MIT"
] | 1 | 2020-07-19T22:06:52.000Z | 2020-07-19T22:06:52.000Z | #
#
#
# from Modules.Communication import test
# from Modules.configure import test
# from Modules.core import test
__version_info__ = (1, 6, 0)
__version__ = '.'.join(map(str, __version_info__))
# ## END DBK
| 15.214286 | 50 | 0.70892 | 28 | 213 | 4.892857 | 0.607143 | 0.240876 | 0.20438 | 0.306569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016854 | 0.164319 | 213 | 13 | 51 | 16.384615 | 0.752809 | 0.525822 | 0 | 0 | 0 | 0 | 0.010989 | 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 | 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 | 4 |
3defbedbe699d53f964ee875047601d8d2f563b4 | 279 | py | Python | setup.py | s0undt3ch/pre-commit-remove-import-headers | e79f595c0df31b8cb152c53993ce7c3c64f07cd4 | [
"Apache-2.0"
] | null | null | null | setup.py | s0undt3ch/pre-commit-remove-import-headers | e79f595c0df31b8cb152c53993ce7c3c64f07cd4 | [
"Apache-2.0"
] | null | null | null | setup.py | s0undt3ch/pre-commit-remove-import-headers | e79f595c0df31b8cb152c53993ce7c3c64f07cd4 | [
"Apache-2.0"
] | 1 | 2020-10-07T08:29:38.000Z | 2020-10-07T08:29:38.000Z | from setuptools import setup
setup(
name='pre-commit-remove-import-headers',
version='1.0.0',
packages=["remove_import_headers"],
entry_points={
"console_scripts": [
"remove-import-headers = remove_import_headers.main:main"
]
}
)
| 21.461538 | 69 | 0.630824 | 31 | 279 | 5.483871 | 0.580645 | 0.282353 | 0.447059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.236559 | 279 | 12 | 70 | 23.25 | 0.784038 | 0 | 0 | 0 | 0 | 0 | 0.458781 | 0.376344 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.363636 | 0 | 0.363636 | 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 | 0 | 0 | 0 | 4 |
9a880efd9911b2a3823a323fe7807c9136596792 | 85 | py | Python | quest/apps.py | sayamkanwar/cyquest | 5484e9616dae21140a406d09f91290fb8348df1b | [
"MIT"
] | 2 | 2021-10-04T04:48:02.000Z | 2022-02-06T13:00:09.000Z | quest/apps.py | sayamkanwar/cyquest | 5484e9616dae21140a406d09f91290fb8348df1b | [
"MIT"
] | 5 | 2020-06-06T12:56:27.000Z | 2021-10-02T18:06:44.000Z | quest/apps.py | sayamkanwar/cyquest | 5484e9616dae21140a406d09f91290fb8348df1b | [
"MIT"
] | 6 | 2019-03-19T14:23:31.000Z | 2021-05-18T07:28:26.000Z | from django.apps import AppConfig
class QuestConfig(AppConfig):
name = 'quest'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9afc969fcdaae078c81b15aff4aaa5aeda6c13ec | 124 | py | Python | utils/tta/__init__.py | kingqiuol/pytorch-template | 8bc78f996fbbc15ae54a3055cd3d33199b4a96d8 | [
"MIT"
] | null | null | null | utils/tta/__init__.py | kingqiuol/pytorch-template | 8bc78f996fbbc15ae54a3055cd3d33199b4a96d8 | [
"MIT"
] | null | null | null | utils/tta/__init__.py | kingqiuol/pytorch-template | 8bc78f996fbbc15ae54a3055cd3d33199b4a96d8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2022/2/14 17:12
# @Author : jinqiu
# @Site :
# @File : __init__.py
# @Software: PyCharm
| 17.714286 | 25 | 0.564516 | 17 | 124 | 3.882353 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0.209677 | 124 | 6 | 26 | 20.666667 | 0.55102 | 0.887097 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b1039e16b8e14146932e79032fc04e543459b04c | 214 | py | Python | server/djangoapp/admin.py | cmcuna/agfzb-CloudAppDevelopment_Capstone | a3d6f97cddee5a7c4515fe13618c451bc8a600e3 | [
"Apache-2.0"
] | 2 | 2022-02-15T11:25:41.000Z | 2022-02-15T11:26:05.000Z | server/djangoapp/admin.py | cmcuna/agfzb-CloudAppDevelopment_Capstone | a3d6f97cddee5a7c4515fe13618c451bc8a600e3 | [
"Apache-2.0"
] | 2 | 2021-06-02T20:25:43.000Z | 2021-06-02T20:33:13.000Z | server/djangoapp/admin.py | cmcuna/agfzb-CloudAppDevelopment_Capstone | a3d6f97cddee5a7c4515fe13618c451bc8a600e3 | [
"Apache-2.0"
] | 754 | 2021-03-10T00:34:38.000Z | 2022-03-31T12:43:11.000Z | from django.contrib import admin
# from .models import related models
# Register your models here.
# CarModelInline class
# CarModelAdmin class
# CarMakeAdmin class with CarModelInline
# Register models here
| 15.285714 | 40 | 0.78972 | 25 | 214 | 6.76 | 0.6 | 0.118343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 214 | 13 | 41 | 16.461538 | 0.949438 | 0.757009 | 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 | 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 | 4 |
b1392639809005389a7a1c35e47d064960da6152 | 268 | py | Python | torskel/torskel_secured_handler.py | frostspb/torskel | 8062be2be9fd99eb2c8b8ba765851ed056d334f6 | [
"MIT"
] | 11 | 2017-11-24T21:08:32.000Z | 2019-12-05T15:26:48.000Z | torskel/torskel_secured_handler.py | frostspb/torskel | 8062be2be9fd99eb2c8b8ba765851ed056d334f6 | [
"MIT"
] | null | null | null | torskel/torskel_secured_handler.py | frostspb/torskel | 8062be2be9fd99eb2c8b8ba765851ed056d334f6 | [
"MIT"
] | null | null | null | """
Request handler class with auth
"""
from torskel.torskel_handler import TorskelHandler
from torskel.libs.auth.jwt import jwtauth
# pylint: disable=W0223
@jwtauth
class TorskelSecuredHandler(TorskelHandler):
"""
RequestHandler class with auth
"""
| 19.142857 | 50 | 0.746269 | 29 | 268 | 6.862069 | 0.586207 | 0.090452 | 0.130653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017937 | 0.16791 | 268 | 13 | 51 | 20.615385 | 0.874439 | 0.317164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b13d44659762824b0102ba4a860b8bbab81436f8 | 488 | py | Python | pyimp/girl/interfaces/renderable.py | ismaelharunid/girl | 78c703e2788808b0fb2033577e827dcbdb59b797 | [
"MIT"
] | 1 | 2020-06-14T13:42:17.000Z | 2020-06-14T13:42:17.000Z | pyimp/girl/interfaces/renderable.py | ismaelharunid/girl | 78c703e2788808b0fb2033577e827dcbdb59b797 | [
"MIT"
] | null | null | null | pyimp/girl/interfaces/renderable.py | ismaelharunid/girl | 78c703e2788808b0fb2033577e827dcbdb59b797 | [
"MIT"
] | null | null | null |
from .tileable import Tileable
class Renderable(Tileable):
"""
girl.Renderable class interface for that can be rendered to a drawable.
"""
def render(self):
raise NotImplementedError("Please implement the render magic method")
def render_to(self, bitmap):
"""
Render to bitmap.
... | 23.238095 | 77 | 0.692623 | 60 | 488 | 5.6 | 0.516667 | 0.095238 | 0.178571 | 0.232143 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227459 | 488 | 20 | 78 | 24.4 | 0.891247 | 0.489754 | 0 | 0 | 0 | 0 | 0.191388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
b1675e86766211a7eb9bbb688c7ce39c7f1ca9c9 | 173 | py | Python | managerie_test_app/wsgi.py | akx/django-managerie | 170255f2f26a821f213d762a4102d1ebc890e8ab | [
"MIT"
] | 2 | 2020-06-03T11:36:25.000Z | 2021-11-28T15:36:06.000Z | managerie_test_app/wsgi.py | akx/django-managerie | 170255f2f26a821f213d762a4102d1ebc890e8ab | [
"MIT"
] | null | null | null | managerie_test_app/wsgi.py | akx/django-managerie | 170255f2f26a821f213d762a4102d1ebc890e8ab | [
"MIT"
] | null | null | null | import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'managerie_tests.settings')
application = get_wsgi_application()
| 34.6 | 75 | 0.849711 | 23 | 173 | 6.086957 | 0.608696 | 0.1 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063584 | 173 | 4 | 76 | 43.25 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0.265896 | 0.265896 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b1875b54c8a279a6077b083f57cc8aa28ba40e18 | 734 | py | Python | function_composition.py | julzhk/codekata | bf6cb6108cf18f18d5e24849c8b2385901ffd592 | [
"MIT"
] | null | null | null | function_composition.py | julzhk/codekata | bf6cb6108cf18f18d5e24849c8b2385901ffd592 | [
"MIT"
] | null | null | null | function_composition.py | julzhk/codekata | bf6cb6108cf18f18d5e24849c8b2385901ffd592 | [
"MIT"
] | null | null | null | """
Use 1st order functions to create a simple maths DSL
"""
add1 = lambda a: a+1
this = lambda a: a
double = lambda a: a*2
def summa(*args):
return sum(list(args))
def compose(f,g):
def fn(*args, **kwargs):
return f(g(*args, **kwargs))
return fn
import unittest
class TestFirst(unittest.TestCa... | 26.214286 | 59 | 0.629428 | 108 | 734 | 4.268519 | 0.388889 | 0.195228 | 0.286334 | 0.169197 | 0.314534 | 0.171367 | 0.171367 | 0.171367 | 0.171367 | 0.171367 | 0 | 0.046713 | 0.212534 | 734 | 28 | 59 | 26.214286 | 0.750865 | 0.129428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.222222 | false | 0 | 0.055556 | 0.111111 | 0.5 | 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 | 0 | 0 | 0 | 4 |
b18d9d0725d4da5624d5b5a684f41aff21daeac0 | 36 | py | Python | custom_components/notify_mqtt/__init__.py | cerebrate/notify_mqtt | b1c61a86aabee4d4e2683136eb147be3ca0ac8ca | [
"MIT"
] | 1 | 2021-04-27T19:04:43.000Z | 2021-04-27T19:04:43.000Z | custom_components/notify_mqtt/__init__.py | cerebrate/notify_mqtt | b1c61a86aabee4d4e2683136eb147be3ca0ac8ca | [
"MIT"
] | 1 | 2022-01-17T22:02:52.000Z | 2022-02-03T19:15:31.000Z | custom_components/notify_mqtt/__init__.py | cerebrate/notify_mqtt | b1c61a86aabee4d4e2683136eb147be3ca0ac8ca | [
"MIT"
] | 1 | 2020-01-24T10:31:39.000Z | 2020-01-24T10:31:39.000Z | """The Notify MQTT integration."""
| 12 | 34 | 0.666667 | 4 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 2 | 35 | 18 | 0.774194 | 0.777778 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b1abb2bbb71b2076b2eb35f0cc1db898dfdb2129 | 20,749 | py | Python | warrior/Framework/ClassUtils/WNetwork/file_ops.py | YutakaMizugaki/warriorframework | 685761cf044182ec88ce86a942d4be1e150a1256 | [
"Apache-2.0"
] | 24 | 2017-06-06T15:48:08.000Z | 2021-03-17T07:52:52.000Z | warrior/Framework/ClassUtils/WNetwork/file_ops.py | YutakaMizugaki/warriorframework | 685761cf044182ec88ce86a942d4be1e150a1256 | [
"Apache-2.0"
] | 272 | 2017-05-19T20:39:12.000Z | 2021-12-13T19:34:51.000Z | warrior/Framework/ClassUtils/WNetwork/file_ops.py | pavithra-gowda/warrior | 19b153310552b986b86b5470fcfea9547a74c3a9 | [
"Apache-2.0"
] | 37 | 2017-05-17T21:24:37.000Z | 2021-07-24T18:09:22.000Z | '''
Copyright 2017, Fujitsu Network Communications, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | 41.168651 | 92 | 0.526339 | 2,157 | 20,749 | 4.907742 | 0.122856 | 0.087191 | 0.040147 | 0.056679 | 0.795579 | 0.777253 | 0.759494 | 0.68345 | 0.642452 | 0.609957 | 0 | 0.008515 | 0.388693 | 20,749 | 503 | 93 | 41.250497 | 0.82608 | 0.270905 | 0 | 0.703846 | 0 | 0 | 0.11783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042308 | false | 0.046154 | 0.015385 | 0 | 0.1 | 0.003846 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
49199b5060ba3f8832f414039e2bc3770826c849 | 118 | py | Python | interview-questions/test-in-python/1-2-test.py | josteinstraume/cracking-coding-interview | f1bf35385bad36f4ad746eff9c38cf29456d5927 | [
"MIT"
] | null | null | null | interview-questions/test-in-python/1-2-test.py | josteinstraume/cracking-coding-interview | f1bf35385bad36f4ad746eff9c38cf29456d5927 | [
"MIT"
] | null | null | null | interview-questions/test-in-python/1-2-test.py | josteinstraume/cracking-coding-interview | f1bf35385bad36f4ad746eff9c38cf29456d5927 | [
"MIT"
] | null | null | null | import unittest
import 1-2-reverse-null-terminated-str
class TestReverse(unittest.TestCase):
def test_:
| 16.857143 | 38 | 0.728814 | 15 | 118 | 5.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.186441 | 118 | 7 | 39 | 16.857143 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
493e580a4b1c360b1e783a197aad7912e3484fef | 16,895 | py | Python | dep/django-selectable/selectable/tests/functests.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | dep/django-selectable/selectable/tests/functests.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | dep/django-selectable/selectable/tests/functests.py | dlangille/pgeu-system | 3f1910010063bab118e94a55ed757b23f1d36bf5 | [
"MIT"
] | null | null | null | """
Larger functional tests for fields and widgets.
"""
from __future__ import unicode_literals
from django import forms
from selectable.forms import AutoCompleteSelectField, AutoCompleteSelectMultipleField
from selectable.forms import AutoCompleteSelectWidget, AutoComboboxSelectWidget
from selectable.tests import Ma... | 33.655378 | 85 | 0.59491 | 1,826 | 16,895 | 5.308324 | 0.08379 | 0.038791 | 0.063035 | 0.03714 | 0.783968 | 0.757867 | 0.737955 | 0.718044 | 0.699474 | 0.674714 | 0 | 0.008903 | 0.288606 | 16,895 | 502 | 86 | 33.655378 | 0.797571 | 0.15182 | 0 | 0.689474 | 0 | 0 | 0.142193 | 0.025608 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.078947 | false | 0 | 0.015789 | 0 | 0.144737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 4 |
494c949509ed2f996613567e779106583c588cbc | 74 | py | Python | main.py | jkennedy-usgs/sgp-gsadjust | 929d650674b942d33168bcdaae7da07db175a1c4 | [
"CC0-1.0"
] | 5 | 2019-01-08T13:51:23.000Z | 2020-04-22T19:04:20.000Z | main.py | jkennedy-usgs/sgp-gsadjust | 929d650674b942d33168bcdaae7da07db175a1c4 | [
"CC0-1.0"
] | 113 | 2018-06-14T21:39:59.000Z | 2022-01-21T19:34:12.000Z | main.py | jkennedy-usgs/sgp-gsadjust | 929d650674b942d33168bcdaae7da07db175a1c4 | [
"CC0-1.0"
] | 3 | 2021-01-26T07:10:42.000Z | 2022-03-15T12:39:35.000Z | import gsadjust
if __name__ == '__main__':
gsadjust.GSadjust.main()
| 12.333333 | 28 | 0.702703 | 8 | 74 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 29 | 14.8 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
495a492e8b3d9054767d1f320c63c458d39e8aec | 64 | py | Python | pdbbind_metadata_processor/__init__.py | bbaillif/pdbbind_metadata_processor | 17cf73f73b639be2239a1c794404fe8d8eb75036 | [
"Apache-2.0"
] | null | null | null | pdbbind_metadata_processor/__init__.py | bbaillif/pdbbind_metadata_processor | 17cf73f73b639be2239a1c794404fe8d8eb75036 | [
"Apache-2.0"
] | null | null | null | pdbbind_metadata_processor/__init__.py | bbaillif/pdbbind_metadata_processor | 17cf73f73b639be2239a1c794404fe8d8eb75036 | [
"Apache-2.0"
] | null | null | null | from .pdbbind_metadata_processor import PDBBindMetadataProcessor | 64 | 64 | 0.9375 | 6 | 64 | 9.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 64 | 1 | 64 | 64 | 0.95082 | 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 | 0 | 0 | 0 | 4 |
49608f622fcd1091da9ae93a0fef4474a9f5b5de | 261 | py | Python | eznlp/__init__.py | Hhx1999/eznlp | 9d1397d8e9630c099295712cbcffa495353a3268 | [
"Apache-2.0"
] | 1 | 2022-03-08T05:17:52.000Z | 2022-03-08T05:17:52.000Z | eznlp/__init__.py | Hhx1999/eznlp | 9d1397d8e9630c099295712cbcffa495353a3268 | [
"Apache-2.0"
] | null | null | null | eznlp/__init__.py | Hhx1999/eznlp | 9d1397d8e9630c099295712cbcffa495353a3268 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import torch
import flair
flair.device = torch.device('cpu')
__version__ = '0.2.3'
from .training import auto_device
from eznlp import io
from eznlp import nn
from eznlp import model
from eznlp import training
from eznlp import utils
| 17.4 | 34 | 0.754789 | 41 | 261 | 4.682927 | 0.487805 | 0.234375 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018265 | 0.16092 | 261 | 14 | 35 | 18.642857 | 0.858447 | 0.08046 | 0 | 0 | 0 | 0 | 0.033613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4966e5a5101048a02fe208c344445de1355c30be | 1,925 | py | Python | stations/insure/models.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | stations/insure/models.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | stations/insure/models.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from datetime import datetime
from django.db import models
from django.utils.safestring import mark_safe
class Device(models.Model):
uuid = models.CharField(max_length=200)
name = models.CharField(max_length=200, blank=True)
def __unicode__(self):
return s... | 38.5 | 72 | 0.725714 | 253 | 1,925 | 5.347826 | 0.304348 | 0.126386 | 0.226164 | 0.301552 | 0.492239 | 0.421286 | 0.421286 | 0.183296 | 0 | 0 | 0 | 0.037129 | 0.160519 | 1,925 | 49 | 73 | 39.285714 | 0.800124 | 0 | 0 | 0.051282 | 0 | 0 | 0.044675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.102564 | 0.102564 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b8c740d6e5d345e76d954a3764efde9f182c7cc4 | 1,097 | py | Python | app/reviews/migrations/0002_alter_review_accuracy_alter_review_check_in_and_more.py | gurnitha/2022-django4-clone-airbnb | 169060e3da0abf91f4ba25740c7bf6d2bea01750 | [
"Unlicense"
] | null | null | null | app/reviews/migrations/0002_alter_review_accuracy_alter_review_check_in_and_more.py | gurnitha/2022-django4-clone-airbnb | 169060e3da0abf91f4ba25740c7bf6d2bea01750 | [
"Unlicense"
] | null | null | null | app/reviews/migrations/0002_alter_review_accuracy_alter_review_check_in_and_more.py | gurnitha/2022-django4-clone-airbnb | 169060e3da0abf91f4ba25740c7bf6d2bea01750 | [
"Unlicense"
] | null | null | null | # Generated by Django 4.0.2 on 2022-02-11 13:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('reviews', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='review',
name='accuracy',
... | 24.931818 | 47 | 0.522334 | 88 | 1,097 | 6.420455 | 0.420455 | 0.212389 | 0.265487 | 0.307965 | 0.617699 | 0.617699 | 0.548673 | 0.548673 | 0.548673 | 0 | 0 | 0.027104 | 0.360985 | 1,097 | 43 | 48 | 25.511628 | 0.778887 | 0.041021 | 0 | 0.648649 | 1 | 0 | 0.102857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b8ffdbd5ae81ce39a75b96ff4b7992b6a45be2f3 | 877 | py | Python | Katari/sip/response/_3xx.py | DeWarner/Katari | 75e3e7e17b7cc2b3eba0b514f5d9d542bd4203b9 | [
"BSD-3-Clause"
] | 4 | 2019-04-16T18:05:26.000Z | 2021-08-18T15:07:44.000Z | Katari/sip/response/_3xx.py | DeWarner/Katari | 75e3e7e17b7cc2b3eba0b514f5d9d542bd4203b9 | [
"BSD-3-Clause"
] | null | null | null | Katari/sip/response/_3xx.py | DeWarner/Katari | 75e3e7e17b7cc2b3eba0b514f5d9d542bd4203b9 | [
"BSD-3-Clause"
] | null | null | null | from Katari.sip import SipMessage
class MultipleChoices300(SipMessage):
def __init__(self):
super().__init__()
self.method_line = "SIP/2.0 300 Multiple Choices\r\n"
class MovedPermanently301(SipMessage):
def __init__(self):
pass
class MovedTemporarily302(SipMessage):
def __init... | 22.487179 | 87 | 0.654504 | 100 | 877 | 5.35 | 0.38 | 0.104673 | 0.158879 | 0.196262 | 0.435514 | 0.295327 | 0.183178 | 0.183178 | 0.183178 | 0.183178 | 0 | 0.036711 | 0.223489 | 877 | 38 | 88 | 23.078947 | 0.748899 | 0 | 0 | 0.416667 | 0 | 0 | 0.112885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.125 | 0.041667 | 0.041667 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7702c0e92664a586022354197a8277a074785028 | 143 | py | Python | ff7viewer/ff7viewer/ff7viewer/ff7viewer.py | binarymage/ff7viewer | c3bc193a743574e6e5690c58744b67fb65fafdbd | [
"MIT"
] | null | null | null | ff7viewer/ff7viewer/ff7viewer/ff7viewer.py | binarymage/ff7viewer | c3bc193a743574e6e5690c58744b67fb65fafdbd | [
"MIT"
] | null | null | null | ff7viewer/ff7viewer/ff7viewer/ff7viewer.py | binarymage/ff7viewer | c3bc193a743574e6e5690c58744b67fb65fafdbd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#
# A model viewer for the PC version of Final Fantasy VII
#
def main():
pass
if __name__ == '__main__':
main() | 14.3 | 56 | 0.643357 | 22 | 143 | 3.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 143 | 10 | 57 | 14.3 | 0.763636 | 0.524476 | 0 | 0 | 0 | 0 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
770382de9d66ee7b6d159a04f9f8fcf17fc0be64 | 252 | py | Python | wsgi.py | lincolnloop/cabot | b436808c00edb82b34a2d715c7e28d2799fb6ec2 | [
"MIT"
] | 1 | 2015-08-27T18:51:53.000Z | 2015-08-27T18:51:53.000Z | wsgi.py | labxio/cabot | 7dffe4e5554e94045f01504eb337fcfeae25229b | [
"MIT"
] | null | null | null | wsgi.py | labxio/cabot | 7dffe4e5554e94045f01504eb337fcfeae25229b | [
"MIT"
] | 1 | 2016-04-13T11:39:09.000Z | 2016-04-13T11:39:09.000Z | import os
import sys
sys.path.insert(
0, os.path.abspath(os.path.join(os.path.dirname(__file__), 'app')))
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
| 28 | 71 | 0.761905 | 37 | 252 | 5.027027 | 0.540541 | 0.096774 | 0.193548 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004329 | 0.083333 | 252 | 8 | 72 | 31.5 | 0.800866 | 0 | 0 | 0 | 0 | 0 | 0.146825 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
771a5d770a23409faa7327fd0947fd45cb0b8532 | 219 | py | Python | week12/myproject/myapp/admin.py | wasit7/dsi321_2022 | 691ec59912ec758664bac3a1ff39d1f93883ddc5 | [
"MIT"
] | null | null | null | week12/myproject/myapp/admin.py | wasit7/dsi321_2022 | 691ec59912ec758664bac3a1ff39d1f93883ddc5 | [
"MIT"
] | null | null | null | week12/myproject/myapp/admin.py | wasit7/dsi321_2022 | 691ec59912ec758664bac3a1ff39d1f93883ddc5 | [
"MIT"
] | 1 | 2022-02-16T09:43:44.000Z | 2022-02-16T09:43:44.000Z | from django.contrib import admin
from myapp.models import Customer
class CustomerAdmin(admin.ModelAdmin):
list_display=['user','fullname','address','postcode','email']
admin.site.register(Customer, CustomerAdmin)
| 27.375 | 65 | 0.785388 | 26 | 219 | 6.576923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086758 | 219 | 7 | 66 | 31.285714 | 0.855 | 0 | 0 | 0 | 0 | 0 | 0.146119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
775cdda2bae923160a9402242bbe0a6179ca1bfc | 822 | py | Python | bin/ssa-end-to-end-testing/modules/assertions/global_assertions.py | pageinsec/security_content | 930a6db140207e3c34d63ee16a8cba099a9035b1 | [
"Apache-2.0"
] | 348 | 2021-01-28T12:14:43.000Z | 2022-03-30T21:39:55.000Z | bin/ssa-end-to-end-testing/modules/assertions/global_assertions.py | pageinsec/security_content | 930a6db140207e3c34d63ee16a8cba099a9035b1 | [
"Apache-2.0"
] | 611 | 2020-11-04T21:35:28.000Z | 2022-03-31T14:06:08.000Z | bin/ssa-end-to-end-testing/modules/assertions/global_assertions.py | pageinsec/security_content | 930a6db140207e3c34d63ee16a8cba099a9035b1 | [
"Apache-2.0"
] | 115 | 2021-01-27T19:16:18.000Z | 2022-03-29T21:30:57.000Z | # Do not remove these imports that appear unused.
# Functions in this modules are discovered by the assertion_parser through `getattr`
from modules.assertions.application.assertions import *
from modules.assertions.cloud.assertions import *
from modules.assertions.endpoint.assertions import *
from modules.assertions.n... | 24.909091 | 84 | 0.731144 | 122 | 822 | 4.819672 | 0.327869 | 0.142857 | 0.132653 | 0.183673 | 0.579932 | 0.328231 | 0.328231 | 0.27381 | 0.115646 | 0 | 0 | 0 | 0.153285 | 822 | 32 | 85 | 25.6875 | 0.844828 | 0.158151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 1 | 0.352941 | false | 0 | 0.294118 | 0.352941 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6205547cbcd959fbeb3bf9393f9ef633129d35c1 | 173 | py | Python | goldieseeker/__init__.py | redoxwarfare/goldieseeker | c3b89d8763e8ec5fc1a43bf8ead82412f0f4e433 | [
"MIT"
] | null | null | null | goldieseeker/__init__.py | redoxwarfare/goldieseeker | c3b89d8763e8ec5fc1a43bf8ead82412f0f4e433 | [
"MIT"
] | null | null | null | goldieseeker/__init__.py | redoxwarfare/goldieseeker | c3b89d8763e8ec5fc1a43bf8ead82412f0f4e433 | [
"MIT"
] | null | null | null | # import goldieseeker
# import goldieseeker.GusherMap as GusherMap
# import goldieseeker.GusherNode as GusherNode
# import goldieseeker.strats as strats
__version__ = "1.0"
| 28.833333 | 46 | 0.815029 | 20 | 173 | 6.85 | 0.45 | 0.525547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.121387 | 173 | 5 | 47 | 34.6 | 0.888158 | 0.83237 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
621dd0b1bd2bb8da5e2aab7320764bf682cda711 | 691 | py | Python | tests/test_rabin_karp.py | exterkamps/Python-Data-Structures | 8594ed934edeaded4866999932384d12fb4519c3 | [
"Apache-2.0"
] | 3 | 2018-10-15T17:38:29.000Z | 2021-03-24T02:55:46.000Z | tests/test_rabin_karp.py | exterkamp/Python-Data-Structures | 8594ed934edeaded4866999932384d12fb4519c3 | [
"Apache-2.0"
] | null | null | null | tests/test_rabin_karp.py | exterkamp/Python-Data-Structures | 8594ed934edeaded4866999932384d12fb4519c3 | [
"Apache-2.0"
] | null | null | null | import unittest
from algorithms.string.rabin_karp_substring_search import rabin_karp_find_substring
class TestRabinKarp(unittest.TestCase):
def test_rabin_karp(self):
self.assertEqual(2, rabin_karp_find_substring('hello','llo'))
self.assertEqual(5, rabin_karp_find_substring('aabbababaa','babaa'))
... | 40.647059 | 94 | 0.743849 | 93 | 691 | 5.16129 | 0.473118 | 0.16875 | 0.1625 | 0.275 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011844 | 0.144718 | 691 | 17 | 94 | 40.647059 | 0.800338 | 0 | 0 | 0 | 0 | 0 | 0.098266 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6237be9f3ef5b5f5f53c735ed49d0906fbfb9ae8 | 89 | py | Python | Starter_project/acrobat/apps.py | Hermann-web/Add-front-end-to-django-project | 075368be1e61a7dde2ca64ee05fc19d59d9d6548 | [
"MIT"
] | null | null | null | Starter_project/acrobat/apps.py | Hermann-web/Add-front-end-to-django-project | 075368be1e61a7dde2ca64ee05fc19d59d9d6548 | [
"MIT"
] | null | null | null | Starter_project/acrobat/apps.py | Hermann-web/Add-front-end-to-django-project | 075368be1e61a7dde2ca64ee05fc19d59d9d6548 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AcrobatConfig(AppConfig):
name = 'acrobat'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
65554907dae643485e71aaf1a808a5d66eca7b81 | 98 | py | Python | audio_player/apps.py | Sairyo-No-Developers/relay-server-using-django-channels | a2f3017b51f9642fdb1f9d28d43c7be3a7f06a00 | [
"MIT"
] | null | null | null | audio_player/apps.py | Sairyo-No-Developers/relay-server-using-django-channels | a2f3017b51f9642fdb1f9d28d43c7be3a7f06a00 | [
"MIT"
] | 1 | 2020-10-12T14:09:33.000Z | 2020-10-12T14:09:33.000Z | audio_player/apps.py | Sairyo-No-Developers/relay-server-using-django-channels | a2f3017b51f9642fdb1f9d28d43c7be3a7f06a00 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AudioPlayerConfig(AppConfig):
name = 'audio_player'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
65760ce74b9e718a03e65f10d9016607d1f985e8 | 9,347 | py | Python | Ag/MyCode/Plot3Xplus1.py | unAlpha/AgManim | c34390af41d943c8785beee52015b22eb9df8bde | [
"MIT"
] | null | null | null | Ag/MyCode/Plot3Xplus1.py | unAlpha/AgManim | c34390af41d943c8785beee52015b22eb9df8bde | [
"MIT"
] | 1 | 2020-06-25T15:31:24.000Z | 2021-04-02T09:53:39.000Z | Ag/MyCode/Plot3Xplus1.py | unAlpha/AgManim | c34390af41d943c8785beee52015b22eb9df8bde | [
"MIT"
] | null | null | null | from manimlib.imports import *
class Plot3Xplus1(GraphFromData):
def X3plus1(N):
y = int(N)
ylist = list()
ylist.append(y)
while y != 1:
if y % 2 == 0:
y = y / 2
ylist.append(y)
else:
y = 3 * y + 1
... | 34.490775 | 104 | 0.529154 | 1,386 | 9,347 | 3.393939 | 0.103175 | 0.052083 | 0.032738 | 0.035714 | 0.794005 | 0.763393 | 0.733206 | 0.717262 | 0.698129 | 0.670493 | 0 | 0.050008 | 0.321814 | 9,347 | 271 | 105 | 34.490775 | 0.692065 | 0.103135 | 0 | 0.613636 | 0 | 0 | 0.075569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.004545 | 0.009091 | 0 | 0.15 | 0.036364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 4 |
657a77a8b3e7fbcf8a4f14b2794404e4dc692202 | 2,106 | py | Python | index_flask_qr/extensions/user_models.py | lishnih/index_flask_qr | ac00346724d785d23a8991d760e831d89c746d2a | [
"MIT"
] | null | null | null | index_flask_qr/extensions/user_models.py | lishnih/index_flask_qr | ac00346724d785d23a8991d760e831d89c746d2a | [
"MIT"
] | null | null | null | index_flask_qr/extensions/user_models.py | lishnih/index_flask_qr | ac00346724d785d23a8991d760e831d89c746d2a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
# Stan 2016-06-07
from __future__ import (division, absolute_import,
print_function, unicode_literals)
from datetime import datetime
from .app_db import db
from .app_bcrypt import bcrypt
class User(db.Model): # Rev. 2018-08-03
__tablename__ =... | 25.071429 | 77 | 0.652422 | 263 | 2,106 | 5.041825 | 0.319392 | 0.042232 | 0.05279 | 0.048265 | 0.140271 | 0.140271 | 0 | 0 | 0 | 0 | 0 | 0.011995 | 0.247863 | 2,106 | 83 | 78 | 25.373494 | 0.825126 | 0.039886 | 0 | 0.090909 | 0 | 0 | 0.007933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.254545 | false | 0.163636 | 0.072727 | 0.109091 | 0.636364 | 0.018182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
65ca5dade3604201db2364b9c32a0edbab3086df | 293 | py | Python | ipython/startup/import_rich.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | ipython/startup/import_rich.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | ipython/startup/import_rich.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | from contextlib import suppress
with suppress(ModuleNotFoundError):
import rich # noqa: F401
from rich import inspect # noqa: F401
from rich import pretty # noqa: F401
from rich import print # noqa: F401
from rich.traceback import install as _install
_install()
| 24.416667 | 50 | 0.713311 | 37 | 293 | 5.594595 | 0.405405 | 0.154589 | 0.231884 | 0.309179 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053812 | 0.238908 | 293 | 11 | 51 | 26.636364 | 0.874439 | 0.146758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.125 | 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 | 0 | 0 | 0 | 4 |
65d87294e4e52059ddef038faa7acff5e9b212ea | 147 | py | Python | examples/example/__init__.py | gh-mrice/balsa | c94c0a4d0cc8ff6cae0ab378d05edee98a7e198b | [
"MIT"
] | 4 | 2018-10-27T20:03:11.000Z | 2019-09-30T03:30:32.000Z | examples/example/__init__.py | gh-mrice/balsa | c94c0a4d0cc8ff6cae0ab378d05edee98a7e198b | [
"MIT"
] | 8 | 2018-06-08T17:03:51.000Z | 2019-11-19T01:38:25.000Z | examples/example/__init__.py | gh-mrice/balsa | c94c0a4d0cc8ff6cae0ab378d05edee98a7e198b | [
"MIT"
] | 4 | 2018-06-08T17:13:05.000Z | 2019-11-19T01:39:00.000Z |
author = 'abel'
application_name = 'balsa_example'
from .error_callback import balsa_example_error_callback
from .my_app import something_useful
| 21 | 56 | 0.836735 | 20 | 147 | 5.75 | 0.7 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 147 | 6 | 57 | 24.5 | 0.877863 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
65ddb8ee8cd73ae928a02ca11011808dc063f388 | 184 | py | Python | CAPITULO 3/Exemplos/Exemplo 3.7.2.py | janairacs/aprendendo-a-linguaguem-Python | 35a39efd97333deba6f70bb9cd97be029b837b24 | [
"MIT"
] | null | null | null | CAPITULO 3/Exemplos/Exemplo 3.7.2.py | janairacs/aprendendo-a-linguaguem-Python | 35a39efd97333deba6f70bb9cd97be029b837b24 | [
"MIT"
] | null | null | null | CAPITULO 3/Exemplos/Exemplo 3.7.2.py | janairacs/aprendendo-a-linguaguem-Python | 35a39efd97333deba6f70bb9cd97be029b837b24 | [
"MIT"
] | null | null | null | nome = input("Digite seu nome : ")
idade = int (input("Digite sua idade : "))
saldo = float (input("Digite o saldo da sua conta bancária "))
print(nome)
print(idade)
print(saldo)
| 23 | 62 | 0.668478 | 27 | 184 | 4.555556 | 0.518519 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184783 | 184 | 7 | 63 | 26.285714 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
028d61982b5b08628fe1d5d39055565ce90bf4b7 | 546 | py | Python | odsc/run.py | ramirobg94/owasp-dependency-check | 7bf230b6009e07ab96e90d6f25977b920f1fb304 | [
"MIT"
] | null | null | null | odsc/run.py | ramirobg94/owasp-dependency-check | 7bf230b6009e07ab96e90d6f25977b920f1fb304 | [
"MIT"
] | null | null | null | odsc/run.py | ramirobg94/owasp-dependency-check | 7bf230b6009e07ab96e90d6f25977b920f1fb304 | [
"MIT"
] | 1 | 2021-09-21T03:05:06.000Z | 2021-09-21T03:05:06.000Z | from security_dependency_check import (app, checker_app, miscellaneous_app,
celery, home_app)
# --------------------------------------------------------------------------
# Build the app with the Blueprints
# -----------------------------------------------------------------------... | 36.4 | 76 | 0.496337 | 55 | 546 | 4.581818 | 0.472727 | 0.031746 | 0.238095 | 0.18254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0.148352 | 546 | 14 | 77 | 39 | 0.503226 | 0.40293 | 0 | 0 | 0 | 0 | 0.046729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
028fa0f6b918680dd4a61065406b831cd5f830ae | 129 | py | Python | simple_wikidata_db/setup.py | lorr1/bootleg_data_prep | 79866f0879bd80b7a7f559ba5101b4bd408cf16b | [
"Apache-2.0"
] | 1 | 2021-12-21T02:55:14.000Z | 2021-12-21T02:55:14.000Z | simple_wikidata_db/setup.py | lorr1/bootleg_data_prep | 79866f0879bd80b7a7f559ba5101b4bd408cf16b | [
"Apache-2.0"
] | null | null | null | simple_wikidata_db/setup.py | lorr1/bootleg_data_prep | 79866f0879bd80b7a7f559ba5101b4bd408cf16b | [
"Apache-2.0"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='simple_wikidata_db',
version='0.0.0',
packages=find_packages(),
) | 18.428571 | 43 | 0.744186 | 18 | 129 | 5.111111 | 0.666667 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.124031 | 129 | 7 | 44 | 18.428571 | 0.787611 | 0 | 0 | 0 | 0 | 0 | 0.176923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
029b45a582e3cbb90c761f42aa18fd71fc0d4246 | 420 | py | Python | landing/admin.py | unilot/pre-ico | 6d4bd6648b3a1fbc169bd3e331385736d3974046 | [
"MIT"
] | 1 | 2018-08-03T03:32:32.000Z | 2018-08-03T03:32:32.000Z | landing/admin.py | unilot/pre-ico | 6d4bd6648b3a1fbc169bd3e331385736d3974046 | [
"MIT"
] | 8 | 2020-02-11T21:44:14.000Z | 2022-01-13T00:33:35.000Z | landing/admin.py | unilot/pre-ico | 6d4bd6648b3a1fbc169bd3e331385736d3974046 | [
"MIT"
] | 1 | 2018-02-17T12:52:46.000Z | 2018-02-17T12:52:46.000Z | from django.contrib import admin
from . import models
from .admin_models import publication, roadshow, adviser, team_member
admin.site.register(models.Publication, publication.PublicationAdmin)
admin.site.register(models.Roadshow, roadshow.RoadshowAdmin)
admin.site.register(models.Adviser, adviser.AdvisorAdmin)
admi... | 35 | 69 | 0.835714 | 51 | 420 | 6.823529 | 0.372549 | 0.12931 | 0.244253 | 0.33046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 420 | 11 | 70 | 38.181818 | 0.885496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 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 | 0 | 0 | 0 | 4 |
029f87531b906119cf2ccee0f8a36c2b6fdb0ade | 81 | py | Python | yle/apps.py | anttipalola/alexa | 251f8940c763d8495cf25022bbed11f486589244 | [
"MIT"
] | null | null | null | yle/apps.py | anttipalola/alexa | 251f8940c763d8495cf25022bbed11f486589244 | [
"MIT"
] | null | null | null | yle/apps.py | anttipalola/alexa | 251f8940c763d8495cf25022bbed11f486589244 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class YleConfig(AppConfig):
name = 'yle'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
02a2eb9020c88c4cf29d9f41fbc1d19d86411de5 | 32 | py | Python | python/events/lib/python3.4/tokenize.py | classmember/proof_of_concept | da284ca57806f7c05c1b39bebfe0d681db2260fc | [
"MIT"
] | null | null | null | python/events/lib/python3.4/tokenize.py | classmember/proof_of_concept | da284ca57806f7c05c1b39bebfe0d681db2260fc | [
"MIT"
] | 3 | 2020-06-05T23:21:54.000Z | 2021-06-10T22:02:26.000Z | python/events/lib/python3.4/tokenize.py | classmember/proof_of_concept | da284ca57806f7c05c1b39bebfe0d681db2260fc | [
"MIT"
] | null | null | null | /usr/lib64/python3.4/tokenize.py | 32 | 32 | 0.8125 | 6 | 32 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 32 | 1 | 32 | 32 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
02ae9c606cb34701b371c5b1c5ff84e310fff963 | 229 | py | Python | graphgallery/gallery/embedding/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 300 | 2020-08-09T04:27:41.000Z | 2022-03-30T07:43:41.000Z | graphgallery/gallery/embedding/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 5 | 2020-11-05T06:16:50.000Z | 2021-12-11T05:05:22.000Z | graphgallery/gallery/embedding/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 51 | 2020-09-23T15:37:12.000Z | 2022-03-05T01:28:56.000Z | from .trainer import Trainer
from . import utils
from .deepwalk import DeepWalk
from .node2vec import Node2Vec, Node2VecE
from .diff2vec import Diff2Vec
from .hope import HOPE
from .walker import *
from .bane import BANE
| 25.444444 | 42 | 0.777293 | 31 | 229 | 5.741935 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026596 | 0.179039 | 229 | 8 | 43 | 28.625 | 0.920213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
02b4aeebd08725be26b843033b5a295042dcf022 | 229 | py | Python | udeer/lease_management/doctype/lease_receipt/test_lease_receipt.py | mhbu50/udeer | abb453c2d7c073c8b6e06756332ff44a792c7b43 | [
"MIT"
] | 1 | 2016-11-18T08:49:51.000Z | 2016-11-18T08:49:51.000Z | udeer/lease_management/doctype/lease_receipt/test_lease_receipt.py | mhbu50/udeer | abb453c2d7c073c8b6e06756332ff44a792c7b43 | [
"MIT"
] | 1 | 2021-12-06T11:35:12.000Z | 2021-12-06T11:35:12.000Z | udeer/lease_management/doctype/lease_receipt/test_lease_receipt.py | mhbu50/udeer | abb453c2d7c073c8b6e06756332ff44a792c7b43 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2015, moosa and Contributors
# See license.txt
import frappe
import unittest
# test_records = frappe.get_test_records('lease_receipt')
class Testlease_receipt(unittest.TestCase):
pass
| 17.615385 | 57 | 0.751092 | 30 | 229 | 5.566667 | 0.8 | 0.131737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025253 | 0.135371 | 229 | 12 | 58 | 19.083333 | 0.818182 | 0.593886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
02e24f25b1d7e4873233cf36851481ce9d9debbe | 77 | py | Python | environment_highlight/__init__.py | anfema/django-environment-highlight | eed45c3d16bd6232f77662b363acf08bf4a5f3da | [
"MIT"
] | null | null | null | environment_highlight/__init__.py | anfema/django-environment-highlight | eed45c3d16bd6232f77662b363acf08bf4a5f3da | [
"MIT"
] | 1 | 2020-10-23T07:58:01.000Z | 2020-10-23T07:58:01.000Z | environment_highlight/__init__.py | anfema/django-environment-highlight | eed45c3d16bd6232f77662b363acf08bf4a5f3da | [
"MIT"
] | null | null | null | default_app_config = 'environment_highlight.apps.EnvironmentHighlightConfig'
| 38.5 | 76 | 0.896104 | 7 | 77 | 9.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 77 | 1 | 77 | 77 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.688312 | 0.688312 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
02f0589e418f4ecfb0d6b718166a7f55efc1707c | 71 | py | Python | Exec/SCIENCE/urca/analysis/UrcaAnalysis/__init__.py | pgrete/MAESTROeX | 1d7e89365379eea57680f738f271c93d7f28e513 | [
"BSD-3-Clause"
] | null | null | null | Exec/SCIENCE/urca/analysis/UrcaAnalysis/__init__.py | pgrete/MAESTROeX | 1d7e89365379eea57680f738f271c93d7f28e513 | [
"BSD-3-Clause"
] | null | null | null | Exec/SCIENCE/urca/analysis/UrcaAnalysis/__init__.py | pgrete/MAESTROeX | 1d7e89365379eea57680f738f271c93d7f28e513 | [
"BSD-3-Clause"
] | null | null | null | from .yt_urca_fields import UrcaShellFields
from .FileToolkit import *
| 23.666667 | 43 | 0.84507 | 9 | 71 | 6.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 44 | 35.5 | 0.920635 | 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 | 0 | 0 | 0 | 4 |
b8294cb40c30c6220d86eedb7ca5485baba42166 | 35 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Math_Module_3.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 5 | 2021-06-02T23:44:25.000Z | 2021-12-27T16:21:57.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Math_Module_3.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 22 | 2021-05-31T01:33:25.000Z | 2021-10-18T18:32:39.000Z | WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/python_Math_Module_3.txt.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 3 | 2021-06-19T03:37:47.000Z | 2021-08-31T00:49:51.000Z | import math
x = math.pi
print(x)
| 5.833333 | 11 | 0.657143 | 7 | 35 | 3.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 5 | 12 | 7 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b852472932bf7a3454d3e45fdcaa6abade0921fb | 48 | py | Python | events.py | KiRtAp2/projectS | d9ecadcf59dbb7f8f6300ca143186ced5b699fa3 | [
"MIT"
] | null | null | null | events.py | KiRtAp2/projectS | d9ecadcf59dbb7f8f6300ca143186ced5b699fa3 | [
"MIT"
] | null | null | null | events.py | KiRtAp2/projectS | d9ecadcf59dbb7f8f6300ca143186ced5b699fa3 | [
"MIT"
] | null | null | null | import pygame
ENEMY_SPAWN = pygame.USEREVENT+1
| 12 | 32 | 0.8125 | 7 | 48 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.125 | 48 | 3 | 33 | 16 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b85dc19445e655fcc0926e7761dde1cb1927c2c0 | 7,557 | py | Python | legal-api/tests/unit/resources/v2/test_business_address.py | saravanpa-aot/lear | 349595098a15f441ba05214cf16ea861eac75606 | [
"Apache-2.0"
] | 8 | 2019-06-19T16:16:15.000Z | 2021-08-28T23:56:40.000Z | legal-api/tests/unit/resources/v2/test_business_address.py | saravanpa-aot/lear | 349595098a15f441ba05214cf16ea861eac75606 | [
"Apache-2.0"
] | 796 | 2019-03-07T19:25:50.000Z | 2022-03-31T20:32:57.000Z | legal-api/tests/unit/resources/v2/test_business_address.py | saravanpa-aot/lear | 349595098a15f441ba05214cf16ea861eac75606 | [
"Apache-2.0"
] | 82 | 2019-01-30T20:06:14.000Z | 2022-03-29T20:38:31.000Z | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 37.974874 | 101 | 0.682281 | 876 | 7,557 | 5.73516 | 0.158676 | 0.022293 | 0.017914 | 0.039411 | 0.78742 | 0.761545 | 0.732086 | 0.707006 | 0.680533 | 0.667795 | 0 | 0.014331 | 0.215165 | 7,557 | 198 | 102 | 38.166667 | 0.832575 | 0.185788 | 0 | 0.640351 | 0 | 0 | 0.184158 | 0.091914 | 0 | 0 | 0 | 0 | 0.175439 | 1 | 0.078947 | false | 0 | 0.035088 | 0 | 0.114035 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 4 |
b8bf5847d04a4ae2fe561f58694b2c051e5fe5ac | 161 | py | Python | project/utils/__init__.py | MarkKoz/code-jam-3 | d6d441ed0954a752a20ff28a9800c45bff185a7c | [
"MIT"
] | 1 | 2018-11-08T05:13:07.000Z | 2018-11-08T05:13:07.000Z | project/utils/__init__.py | MarkKoz/code-jam-3 | d6d441ed0954a752a20ff28a9800c45bff185a7c | [
"MIT"
] | null | null | null | project/utils/__init__.py | MarkKoz/code-jam-3 | d6d441ed0954a752a20ff28a9800c45bff185a7c | [
"MIT"
] | 1 | 2020-01-17T23:41:10.000Z | 2020-01-17T23:41:10.000Z | from .direction import Direction
from .point import Dimensions, Point
from .triangle import Triangle
__all__ = ['Dimensions', 'Direction', 'Point', 'Triangle']
| 26.833333 | 58 | 0.763975 | 18 | 161 | 6.611111 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124224 | 161 | 5 | 59 | 32.2 | 0.843972 | 0 | 0 | 0 | 0 | 0 | 0.198758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
b233ae7b099687058114d1994856080971ceffea | 951 | py | Python | src/autoscaler/models.py | ItsCalebJones/SpaceLaunchNow_API | 09289068465c462557649172792ab0f41f833028 | [
"Apache-2.0"
] | 11 | 2017-06-26T05:01:31.000Z | 2019-09-13T18:48:27.000Z | src/autoscaler/models.py | ItsCalebJones/SpaceLaunchNow_API | 09289068465c462557649172792ab0f41f833028 | [
"Apache-2.0"
] | 14 | 2019-01-30T23:13:34.000Z | 2019-10-08T10:43:36.000Z | src/autoscaler/models.py | ItsCalebJones/SpaceLaunchNow_API | 09289068465c462557649172792ab0f41f833028 | [
"Apache-2.0"
] | 5 | 2018-04-24T16:52:59.000Z | 2018-08-22T14:06:01.000Z | from django.db import models
from spacelaunchnow.base_models import SingletonModel
class AutoscalerSettings(SingletonModel):
enabled = models.BooleanField(default=False)
custom_worker_count = models.IntegerField(null=True, blank=True, default=None)
current_workers = models.IntegerField(null=True, blank=T... | 41.347826 | 84 | 0.770768 | 119 | 951 | 6.008403 | 0.369748 | 0.226573 | 0.276923 | 0.264336 | 0.616783 | 0.616783 | 0.616783 | 0.555245 | 0.356643 | 0 | 0 | 0.00965 | 0.128286 | 951 | 22 | 85 | 43.227273 | 0.852835 | 0 | 0 | 0 | 0 | 0 | 0.019979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.133333 | 0.066667 | 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 | 0 | 1 | 0 | 0 | 4 |
b23a1ece54374246f39268fa987abe9ac75301ec | 174 | py | Python | src/mlsafari/__init__.py | THargreaves/machine-learning-safari | 500f47531c424bb5df494c6db94bf63c578e9932 | [
"MIT"
] | 1 | 2021-07-16T23:39:50.000Z | 2021-07-16T23:39:50.000Z | src/mlsafari/__init__.py | THargreaves/machine-learning-safari | 500f47531c424bb5df494c6db94bf63c578e9932 | [
"MIT"
] | 6 | 2021-07-15T22:24:56.000Z | 2021-10-10T09:20:36.000Z | src/mlsafari/__init__.py | THargreaves/machine-learning-safari | 500f47531c424bb5df494c6db94bf63c578e9932 | [
"MIT"
] | null | null | null | """A broad collection of machine learning algorithms implemented in Python."""
__version__ = "0.1.0"
from .core import NullModel # noqa
from .k_means import KMeans # noqa
| 29 | 78 | 0.747126 | 25 | 174 | 5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.16092 | 174 | 5 | 79 | 34.8 | 0.835616 | 0.477011 | 0 | 0 | 0 | 0 | 0.059524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b25d90a66ca3556eebc1ae71e22fffaf6cbeae75 | 16 | py | Python | pygcam/version.py | heishanmao/pygcam | 20e48133ffadbb8db8e84c26b54e3db59b4a7b68 | [
"MIT"
] | 1 | 2020-05-01T15:14:00.000Z | 2020-05-01T15:14:00.000Z | pygcam/version.py | heishanmao/pygcam | 20e48133ffadbb8db8e84c26b54e3db59b4a7b68 | [
"MIT"
] | null | null | null | pygcam/version.py | heishanmao/pygcam | 20e48133ffadbb8db8e84c26b54e3db59b4a7b68 | [
"MIT"
] | null | null | null | VERSION="1.8.0"
| 8 | 15 | 0.625 | 4 | 16 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.0625 | 16 | 1 | 16 | 16 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b261e1f004aaec7ee70cb408b8ecad889fef3def | 64,676 | py | Python | server/admin/routes.py | Programmer-RD-AI/MCR-V3 | 6c4da70d8f464565097e1ea21b4d210f4678c2e1 | [
"Apache-2.0"
] | 11 | 2021-03-02T17:22:34.000Z | 2022-01-18T15:23:38.000Z | server/admin/routes.py | Programmer-RD-AI/MCR-V3 | 6c4da70d8f464565097e1ea21b4d210f4678c2e1 | [
"Apache-2.0"
] | 5 | 2022-03-14T01:40:32.000Z | 2022-03-15T01:43:27.000Z | server/admin/routes.py | Programmer-RD-AI/MCR-V3 | 6c4da70d8f464565097e1ea21b4d210f4678c2e1 | [
"Apache-2.0"
] | null | null | null | from server import *
from server.db.admin.crud_users import *
from server.db.admin.crud_subjects import *
from server.db.notices import *
from server import session
import base64
from server.db.home.autentication import *
from mailer import Mailer
from server.db.admin.sms import SMS
from server.db.admin.files import Fi... | 35.458333 | 144 | 0.496521 | 6,497 | 64,676 | 4.784516 | 0.054487 | 0.044877 | 0.039312 | 0.032813 | 0.801576 | 0.743349 | 0.703587 | 0.680425 | 0.648705 | 0.619205 | 0 | 0.010716 | 0.375255 | 64,676 | 1,823 | 145 | 35.477784 | 0.7586 | 0 | 0 | 0.625858 | 0 | 0.001716 | 0.18353 | 0.062651 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020595 | false | 0.038902 | 0.01373 | 0 | 0.110984 | 0.026888 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
b2659d4ae411f1beb19bdc52227d3f0f80a5d1ea | 41 | py | Python | challenge_0/python/lex32pem/challenge_0.py | rchicoli/2017-challenges | 44f0b672e5dea34de1dde131b6df837d462f8e29 | [
"Apache-2.0"
] | 271 | 2017-01-01T22:58:36.000Z | 2021-11-28T23:05:29.000Z | challenge_0/python/lex32pem/challenge_0.py | AakashOfficial/2017Challenges | a8f556f1d5b43c099a0394384c8bc2d826f9d287 | [
"Apache-2.0"
] | 283 | 2017-01-01T23:26:05.000Z | 2018-03-23T00:48:55.000Z | challenge_0/python/lex32pem/challenge_0.py | AakashOfficial/2017Challenges | a8f556f1d5b43c099a0394384c8bc2d826f9d287 | [
"Apache-2.0"
] | 311 | 2017-01-01T22:59:23.000Z | 2021-09-23T00:29:12.000Z | message = "Hello World!"
print (message) | 20.5 | 25 | 0.707317 | 5 | 41 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 2 | 26 | 20.5 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b26af754d8a054dfbdf8a49ee0db1968b643a071 | 425 | py | Python | {{cookiecutter.project_name}}/sub-src/{{cookiecutter.project_name}}_cli/setup.py | fathur-lalokalabs/labzero | 1103b37af72efe8f2dd84226b74d9af8924b55d0 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/sub-src/{{cookiecutter.project_name}}_cli/setup.py | fathur-lalokalabs/labzero | 1103b37af72efe8f2dd84226b74d9af8924b55d0 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/sub-src/{{cookiecutter.project_name}}_cli/setup.py | fathur-lalokalabs/labzero | 1103b37af72efe8f2dd84226b74d9af8924b55d0 | [
"MIT"
] | 1 | 2022-03-30T05:09:08.000Z | 2022-03-30T05:09:08.000Z | # -*- coding: utf-8 -*-
#
from setuptools import setup, find_packages
setup(
name="{{cookiecutter.project_name}}_cli",
version="{{cookiecutter.project_version}}",
packages=find_packages(),
install_requires=[
"django>=3.0.3",
"click",
],
entry_points={
"console_scripts": ... | 22.368421 | 83 | 0.595294 | 41 | 425 | 5.902439 | 0.609756 | 0.31405 | 0.285124 | 0.223141 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.232941 | 425 | 18 | 84 | 23.611111 | 0.730061 | 0.049412 | 0 | 0 | 0 | 0 | 0.413965 | 0.331671 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 0.066667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b276475a809fcd46e2cb22de6a8fe16f4f24ca9c | 317 | py | Python | tensorpack/models/common.py | layolu/tensorpack | 97360e5b8ca9ce03d8a18b3abef5abfc92cb9907 | [
"Apache-2.0"
] | 4,404 | 2018-05-30T23:38:42.000Z | 2022-03-31T22:30:11.000Z | tensorpack/models/common.py | layolu/tensorpack | 97360e5b8ca9ce03d8a18b3abef5abfc92cb9907 | [
"Apache-2.0"
] | 771 | 2018-06-01T09:54:00.000Z | 2022-03-31T23:12:29.000Z | tensorpack/models/common.py | layolu/tensorpack | 97360e5b8ca9ce03d8a18b3abef5abfc92cb9907 | [
"Apache-2.0"
] | 1,412 | 2018-06-01T00:29:43.000Z | 2022-03-26T17:37:39.000Z | # -*- coding: utf-8 -*-
# File: common.py
from .registry import layer_register, disable_layer_logging # noqa
from .tflayer import rename_tflayer_get_variable
from .utils import VariableHolder # noqa
__all__ = ['layer_register', 'VariableHolder', 'rename_tflayer_get_variable',
'disable_layer_logging']
| 31.7 | 77 | 0.753943 | 38 | 317 | 5.868421 | 0.552632 | 0.116592 | 0.170404 | 0.215247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00369 | 0.14511 | 317 | 9 | 78 | 35.222222 | 0.819188 | 0.148265 | 0 | 0 | 0 | 0 | 0.286792 | 0.181132 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
b284b80690e454c644ad885d8d78fe0bb35ccc24 | 1,195 | py | Python | python/hymors.py | willettk/rgz-analysis | 11c34b1b2d0eb8b9c1c71757e6e2f771c169e993 | [
"MIT"
] | 3 | 2016-02-23T01:24:38.000Z | 2017-07-09T03:34:29.000Z | python/hymors.py | willettk/rgz-analysis | 11c34b1b2d0eb8b9c1c71757e6e2f771c169e993 | [
"MIT"
] | 30 | 2015-02-24T03:05:54.000Z | 2016-06-27T19:36:36.000Z | python/hymors.py | willettk/rgz-analysis | 11c34b1b2d0eb8b9c1c71757e6e2f771c169e993 | [
"MIT"
] | 3 | 2016-03-02T02:45:51.000Z | 2021-02-23T02:01:34.000Z | import consensus
zids=("hymor01_ARG0003o4o", "hymor01_ARG0003o4w", "hymor01_ARG0003o4t", "hymor02_ARG0003hkm", "hymor02_ARG0003hlo", "hymor02_ARG0003hk3", "hymor03_ARG0000gng", "hymor04_ARG0003czn", "hymor04_ARG0003cyx", "hymor04_ARG0003cyr", "hymor04_ARG0003cyc", "hymor05_ARG0001arg", "hymor05_ARG0001ark", "hymor05_A... | 99.583333 | 994 | 0.779916 | 119 | 1,195 | 7.436975 | 0.655462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277879 | 0.084519 | 1,195 | 11 | 995 | 108.636364 | 0.531079 | 0 | 0 | 0 | 0 | 0 | 0.690377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a259a90c5a18bc24b6cec450c5d93453c18eb40a | 609 | py | Python | players.py | SethPoulsen/WarGame | e1cd959c969e0870c4979ed53eaa345b6200827d | [
"MIT"
] | null | null | null | players.py | SethPoulsen/WarGame | e1cd959c969e0870c4979ed53eaa345b6200827d | [
"MIT"
] | null | null | null | players.py | SethPoulsen/WarGame | e1cd959c969e0870c4979ed53eaa345b6200827d | [
"MIT"
] | null | null | null |
class NaivePlayer():
def __init__(self):
self.Hand = []
self.name = "Naive Player"
self.wins = 0
def draw(self):
card = self.Hand[0]
A.remove(card)
return card
def replace(l):
for card in l:
self.Hand.append(card)
class OrderPlayer():
... | 19.03125 | 36 | 0.507389 | 76 | 609 | 3.960526 | 0.328947 | 0.159468 | 0.07309 | 0.099668 | 0.710963 | 0.710963 | 0.710963 | 0.531561 | 0.531561 | 0.531561 | 0 | 0.013021 | 0.369458 | 609 | 31 | 37 | 19.645161 | 0.770833 | 0 | 0 | 0.75 | 0 | 0 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a2735e36607dcf8040bdf8bff68a131353b9c900 | 692 | py | Python | cpc/abst/TypeDefinition.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | 1 | 2021-05-09T07:10:19.000Z | 2021-05-09T07:10:19.000Z | cpc/abst/TypeDefinition.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | cpc/abst/TypeDefinition.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | from .TypeNode import TypeNode
from .Node import Node
from abc import ABCMeta, abstractmethod
class TypeDefinition(Node):
def __init__(self,loc,ref,name):
self._name = name
self._location = loc
self._type_node = TypeNode(ref)
def name(self):
return self._name
def locat... | 20.352941 | 41 | 0.621387 | 83 | 692 | 4.939759 | 0.26506 | 0.097561 | 0.170732 | 0.131707 | 0.180488 | 0.126829 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299133 | 692 | 34 | 42 | 20.352941 | 0.845361 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.083333 | 0.125 | 0.208333 | 0.708333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
a27fef2558a4d351e878b077f9558c0dcc5c6d54 | 114 | py | Python | database.py | ponodoro/school-api | 1a75eae9bb1ddd2f116642a6d1dcd5b86469a0d5 | [
"MIT"
] | null | null | null | database.py | ponodoro/school-api | 1a75eae9bb1ddd2f116642a6d1dcd5b86469a0d5 | [
"MIT"
] | null | null | null | database.py | ponodoro/school-api | 1a75eae9bb1ddd2f116642a6d1dcd5b86469a0d5 | [
"MIT"
] | null | null | null | from flask_sqlalchemy import SQLAlchemy
# Creating a database client instance
database: SQLAlchemy = SQLAlchemy() | 28.5 | 39 | 0.833333 | 13 | 114 | 7.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 114 | 4 | 40 | 28.5 | 0.94 | 0.307018 | 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 | 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 | 4 |
a295ddbdb82fbf0270dd90d9b2da2f915b04679d | 1,403 | py | Python | cdn-cache-headers.py | jedwhite/dreamhost-tools | c849b36e28312ae22187261fba5852c20e6fd389 | [
"Apache-2.0"
] | null | null | null | cdn-cache-headers.py | jedwhite/dreamhost-tools | c849b36e28312ae22187261fba5852c20e6fd389 | [
"Apache-2.0"
] | null | null | null | cdn-cache-headers.py | jedwhite/dreamhost-tools | c849b36e28312ae22187261fba5852c20e6fd389 | [
"Apache-2.0"
] | null | null | null | # Experimental / not working
from boto.s3.connection import S3Connection
from mimetypes import MimeTypes
# Replace with your DreamObjects access key and secret key
connection = S3Connection('Your_Access_Key', 'Your_Secret_Key', host='objects.dreamhost.com')
# List of buckets to include that are enabled for the CDN
b... | 1,403 | 1,403 | 0.605845 | 167 | 1,403 | 4.946108 | 0.449102 | 0.072639 | 0.054479 | 0.065375 | 0.090799 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029175 | 0.291518 | 1,403 | 1 | 1,403 | 1,403 | 0.801811 | 0.995723 | 0 | 0.125 | 0 | 0 | 0.181818 | 0.01801 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a29a6448143846cd544d1d0cf453f9a42312096e | 28,318 | py | Python | ammoniaTable.py | skbro/steamTable | afc99715df0653f9e6b056e107689686e324ff82 | [
"MIT"
] | null | null | null | ammoniaTable.py | skbro/steamTable | afc99715df0653f9e6b056e107689686e324ff82 | [
"MIT"
] | null | null | null | ammoniaTable.py | skbro/steamTable | afc99715df0653f9e6b056e107689686e324ff82 | [
"MIT"
] | null | null | null | import pandas as pd
df = pd.read_csv("saturated.csv")
df1 = pd.read_csv("superheated.csv")
mini = {}
maxi = {}
minInd = {}
maxInd = {}
press = set()
for i in range(239):
num = df1.iloc[i]['Psat']
temp = df1.iloc[i]['Tsat']
press.add(num)
if(mini.get(num)):
if(temp<mini.get(num)):
mi... | 46.884106 | 185 | 0.482449 | 4,402 | 28,318 | 3.100863 | 0.066788 | 0.031795 | 0.037509 | 0.028132 | 0.76989 | 0.751209 | 0.725641 | 0.712161 | 0.65033 | 0.602784 | 0 | 0.107146 | 0.266686 | 28,318 | 603 | 186 | 46.961857 | 0.550178 | 0.001236 | 0 | 0.446585 | 0 | 0 | 0.120951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010508 | false | 0 | 0.007005 | 0 | 0.052539 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 4 |
a2a2cd773b7a3bbc14fc6187d8cd03e15b11f7cf | 135 | py | Python | test.py | maria-2302/pyaton | c717e4249006084fb7c4fe06391aee126c688add | [
"CC0-1.0"
] | null | null | null | test.py | maria-2302/pyaton | c717e4249006084fb7c4fe06391aee126c688add | [
"CC0-1.0"
] | null | null | null | test.py | maria-2302/pyaton | c717e4249006084fb7c4fe06391aee126c688add | [
"CC0-1.0"
] | null | null | null | print("Да, здесь!")
if 1 == 1:
print("1 = 1")
a = input("1 + 1 = ?")
if a == 2:
print("Правильно!")
else:
print("Неправильно!")
| 15 | 23 | 0.511111 | 21 | 135 | 3.285714 | 0.52381 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.222222 | 135 | 8 | 24 | 16.875 | 0.590476 | 0 | 0 | 0 | 0 | 0 | 0.340741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0c3f32a0bafa58dece41a8d575aa12506faa5189 | 158 | py | Python | week5/week5_practical4b_4.py | harshonyou/SOFT1 | 1bd2b0cc26d39c549bec576389bebd0fd011387d | [
"Apache-2.0"
] | null | null | null | week5/week5_practical4b_4.py | harshonyou/SOFT1 | 1bd2b0cc26d39c549bec576389bebd0fd011387d | [
"Apache-2.0"
] | null | null | null | week5/week5_practical4b_4.py | harshonyou/SOFT1 | 1bd2b0cc26d39c549bec576389bebd0fd011387d | [
"Apache-2.0"
] | null | null | null | '''
Exercise 4:
Write a script that reads the content of a text file and prints it in upper case.
'''
with open('exo1.txt') as x:
print(x.read().upper())
| 22.571429 | 81 | 0.670886 | 29 | 158 | 3.655172 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.189873 | 158 | 6 | 82 | 26.333333 | 0.8125 | 0.588608 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0c579993c8dba3a9cc76b934ccaada0d3c495f39 | 162 | py | Python | pydundas/tests/rest/test_cube.py | autonopy/pydundas | 66fa46d593d3a2f9f3da7a0220f8a7dc495e2758 | [
"MIT"
] | 4 | 2019-04-09T05:30:10.000Z | 2022-01-26T14:45:52.000Z | pydundas/tests/rest/test_cube.py | autonopy/pydundas | 66fa46d593d3a2f9f3da7a0220f8a7dc495e2758 | [
"MIT"
] | 4 | 2019-04-08T13:00:56.000Z | 2022-01-27T06:46:33.000Z | pydundas/tests/rest/test_cube.py | autonopy/pydundas | 66fa46d593d3a2f9f3da7a0220f8a7dc495e2758 | [
"MIT"
] | 3 | 2019-04-08T07:07:12.000Z | 2022-01-26T14:46:00.000Z | import unittest
from pydundas import Api
class TestCube(unittest.TestCase):
def test_no_syntax_error(self):
self.assertIsNotNone(Api(None).cube())
| 18 | 46 | 0.746914 | 21 | 162 | 5.619048 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 162 | 8 | 47 | 20.25 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a743c9977daca00873bc5a774ac427be376a281c | 60 | py | Python | wgeasywall/cmd/network/initilize.py | Identeco/WGEasywall | 301a80bf86900414951b96dc9ffd1e94c52220a5 | [
"MIT"
] | null | null | null | wgeasywall/cmd/network/initilize.py | Identeco/WGEasywall | 301a80bf86900414951b96dc9ffd1e94c52220a5 | [
"MIT"
] | 1 | 2022-01-30T10:37:20.000Z | 2022-01-30T10:37:20.000Z | wgeasywall/cmd/network/initilize.py | araminian/wgeasywall | ee3d6d91f1097aa5f498e66e07ec2629cd198e6d | [
"MIT"
] | null | null | null | import typer
from pathlib import Path
app = typer.Typer()
| 10 | 24 | 0.75 | 9 | 60 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 5 | 25 | 12 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a75efc29180f9ffc831d26cd2fe15ff1ceb68246 | 138 | py | Python | purl/__init__.py | codeinthehole/purl | 2bd51cabecfd4dcd20544fba7092cfd98dc7dac0 | [
"MIT"
] | 194 | 2015-01-02T21:37:43.000Z | 2022-03-20T15:50:24.000Z | purl/__init__.py | codeinthehole/purl | 2bd51cabecfd4dcd20544fba7092cfd98dc7dac0 | [
"MIT"
] | 23 | 2015-05-06T21:11:14.000Z | 2021-08-11T14:43:49.000Z | purl/__init__.py | codeinthehole/purl | 2bd51cabecfd4dcd20544fba7092cfd98dc7dac0 | [
"MIT"
] | 31 | 2015-02-02T05:34:29.000Z | 2021-07-22T01:18:22.000Z | from .url import URL # noqa
from .template import expand, Template # noqa
__version__ = '1.6'
__all__ = ['URL', 'expand', 'Template']
| 19.714286 | 46 | 0.673913 | 18 | 138 | 4.722222 | 0.555556 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.181159 | 138 | 6 | 47 | 23 | 0.734513 | 0.065217 | 0 | 0 | 0 | 0 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a78d7aa92efd86930a65c8fb9ca0c29b50009f76 | 233 | py | Python | colmena/exceptions.py | AymenFJA/colmena | e764c59e62eeab31d12ee555a94a03f10e43ca07 | [
"Apache-2.0"
] | 20 | 2020-06-08T19:46:59.000Z | 2022-03-16T17:35:31.000Z | colmena/exceptions.py | AymenFJA/colmena | e764c59e62eeab31d12ee555a94a03f10e43ca07 | [
"Apache-2.0"
] | 41 | 2020-06-18T17:14:24.000Z | 2022-03-24T00:44:00.000Z | colmena/exceptions.py | AymenFJA/colmena | e764c59e62eeab31d12ee555a94a03f10e43ca07 | [
"Apache-2.0"
] | 7 | 2020-08-06T19:22:04.000Z | 2021-12-06T23:07:06.000Z | """Exceptions type specific to the colmena"""
class KillSignalException(BaseException):
"""Server has received a signal to stop"""
class TimeoutException(BaseException):
"""Timeout on listening to a queue has occurred"""
| 23.3 | 54 | 0.738197 | 27 | 233 | 6.37037 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158798 | 233 | 9 | 55 | 25.888889 | 0.877551 | 0.519313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
a7b12451d08fda79e0953ea8a69d5f44698af0c1 | 388,828 | py | Python | gui/resources.py | rpauszek/smtirf | 236a78fe1feba14bda517d72e1eb8396a616dfc4 | [
"MIT"
] | 1 | 2021-09-14T21:54:36.000Z | 2021-09-14T21:54:36.000Z | gui/resources.py | rpauszek/smtirf | 236a78fe1feba14bda517d72e1eb8396a616dfc4 | [
"MIT"
] | null | null | null | gui/resources.py | rpauszek/smtirf | 236a78fe1feba14bda517d72e1eb8396a616dfc4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.6)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x06\xcd\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x30\x0... | 61.339012 | 129 | 0.725676 | 93,970 | 388,828 | 3.002288 | 0.003256 | 0.049744 | 0.036112 | 0.018715 | 0.126253 | 0.122424 | 0.121475 | 0.115381 | 0.111617 | 0.107566 | 0 | 0.325322 | 0.016516 | 388,828 | 6,338 | 130 | 61.34869 | 0.412441 | 0.000388 | 0 | 0.115153 | 0 | 0.908731 | 0.00001 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000316 | false | 0 | 0.000158 | 0 | 0.000475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a7c3e9e21c6b68f634138d4e347d75cb096e1638 | 1,178 | py | Python | slender/tests/dictionary/test_get_values.py | torokmark/slender | 3bf815e22f7802ba48706f31ba608cf609e23e68 | [
"Apache-2.0"
] | 1 | 2020-01-10T21:51:46.000Z | 2020-01-10T21:51:46.000Z | slender/tests/dictionary/test_get_values.py | torokmark/slender | 3bf815e22f7802ba48706f31ba608cf609e23e68 | [
"Apache-2.0"
] | null | null | null | slender/tests/dictionary/test_get_values.py | torokmark/slender | 3bf815e22f7802ba48706f31ba608cf609e23e68 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase, skip
from expects import *
from slender import Dictionary
class TestGetValues(TestCase):
def test_get_values_if_dictionary_is_empty(self):
d1 = Dictionary[str, int]({})
expect(lambda: d1.get_values('a', 'b')).to(raise_error(KeyError))
def test_get_valu... | 42.071429 | 104 | 0.664686 | 179 | 1,178 | 4.061453 | 0.251397 | 0.123796 | 0.068776 | 0.110041 | 0.847318 | 0.844567 | 0.724897 | 0.647868 | 0.590096 | 0.445667 | 0 | 0.022449 | 0.168081 | 1,178 | 27 | 105 | 43.62963 | 0.719388 | 0 | 0 | 0.263158 | 0 | 0 | 0.018692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.157895 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ac2e2986e4475b8f1df0056967acb473d7292e9b | 131 | py | Python | tests/python/cpu/test_sparse.py | jakeKonrad/torch-quiver | 16e01b8b61459ae41b7386b6a57ef9d20dfb6606 | [
"Apache-2.0"
] | 196 | 2021-10-30T23:40:27.000Z | 2022-03-28T03:43:18.000Z | tests/python/cpu/test_sparse.py | jakeKonrad/torch-quiver | 16e01b8b61459ae41b7386b6a57ef9d20dfb6606 | [
"Apache-2.0"
] | 32 | 2021-11-03T15:07:50.000Z | 2022-03-07T09:03:33.000Z | tests/python/cpu/test_sparse.py | jakeKonrad/torch-quiver | 16e01b8b61459ae41b7386b6a57ef9d20dfb6606 | [
"Apache-2.0"
] | 24 | 2021-10-31T12:28:34.000Z | 2022-03-19T03:03:13.000Z | import torch
import torch_quiver as qv
def test_sparse():
x = torch.zeros((3, 3))
qv.show_tensor_info(x)
assert True
| 14.555556 | 27 | 0.679389 | 22 | 131 | 3.863636 | 0.727273 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.221374 | 131 | 8 | 28 | 16.375 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ac3001dd10c8ac1f0eae2500c51bf56f4e5294ac | 311 | py | Python | Claver/assistant/avatar/textures/TextureData.py | mccolm-robotics/Claver-AI-Assistant | 12b31633b4a45709403ed9599c626e63743318c7 | [
"MIT"
] | 1 | 2020-05-22T18:45:07.000Z | 2020-05-22T18:45:07.000Z | Claver/assistant/avatar/textures/TextureData.py | mccolm-robotics/Claver-AI-Assistant | 12b31633b4a45709403ed9599c626e63743318c7 | [
"MIT"
] | null | null | null | Claver/assistant/avatar/textures/TextureData.py | mccolm-robotics/Claver-AI-Assistant | 12b31633b4a45709403ed9599c626e63743318c7 | [
"MIT"
] | null | null | null | class TextureData:
def __init__(self, data, width, height):
self.__data = data
self.__width = width
self.__height = height
def getWidth(self):
return self.__width
def getHeight(self):
return self.__height
def getBuffer(self):
return self.__data | 22.214286 | 44 | 0.617363 | 35 | 311 | 5.028571 | 0.342857 | 0.136364 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302251 | 311 | 14 | 45 | 22.214286 | 0.81106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ac442e3e198977caf03fbc1bd37b249c4e284011 | 2,372 | py | Python | saleor/account/migrations/0002_auto_20180815_2047.py | gruzdevasch/lastversionofbs | 17bbaccd683ea274b6ba56cdd39ccd4d664b1586 | [
"BSD-3-Clause"
] | null | null | null | saleor/account/migrations/0002_auto_20180815_2047.py | gruzdevasch/lastversionofbs | 17bbaccd683ea274b6ba56cdd39ccd4d664b1586 | [
"BSD-3-Clause"
] | 3 | 2020-03-24T16:21:02.000Z | 2021-02-02T21:57:49.000Z | saleor/account/migrations/0002_auto_20180815_2047.py | gruzdevasch/lastversionofbs | 17bbaccd683ea274b6ba56cdd39ccd4d664b1586 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 2.0.3 on 2018-08-15 13:47
from django.db import migrations, models
import django_countries.fields
import saleor.account.models
class Migration(migrations.Migration):
dependencies = [
('account', '0001_initial'),
]
operations = [
migrations.AlterField(
m... | 33.408451 | 116 | 0.575464 | 230 | 2,372 | 5.782609 | 0.252174 | 0.165414 | 0.206767 | 0.23985 | 0.703759 | 0.703759 | 0.676692 | 0.640602 | 0.640602 | 0.558647 | 0 | 0.030667 | 0.298904 | 2,372 | 70 | 117 | 33.885714 | 0.769092 | 0.018971 | 0 | 0.625 | 1 | 0 | 0.101075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046875 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 4 |
ac6ea24dcf55fada24d5fe05d8e702aa90e4cbcc | 690 | py | Python | flatdata-generator/flatdata/generator/tree/nodes/trivial/enumeration_value.py | gferon/flatdata | 8839fb36be105e496fea8acc3fc907ae878dd063 | [
"Apache-2.0"
] | 140 | 2018-01-26T21:59:38.000Z | 2022-02-17T10:23:29.000Z | flatdata-generator/flatdata/generator/tree/nodes/trivial/enumeration_value.py | gferon/flatdata | 8839fb36be105e496fea8acc3fc907ae878dd063 | [
"Apache-2.0"
] | 114 | 2018-01-26T17:49:20.000Z | 2021-11-26T13:27:08.000Z | flatdata-generator/flatdata/generator/tree/nodes/trivial/enumeration_value.py | gferon/flatdata | 8839fb36be105e496fea8acc3fc907ae878dd063 | [
"Apache-2.0"
] | 22 | 2018-01-26T16:51:24.000Z | 2021-04-27T13:32:44.000Z | from flatdata.generator.tree.nodes.node import Node
class EnumerationValue(Node):
def __init__(self, name, value, auto_generated, properties=None):
super().__init__(name=name, properties=properties)
self._value = value
self._auto_generated = auto_generated
@staticmethod
def create(... | 27.6 | 113 | 0.694203 | 77 | 690 | 5.974026 | 0.337662 | 0.169565 | 0.091304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22029 | 690 | 24 | 114 | 28.75 | 0.855019 | 0 | 0 | 0.157895 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.157895 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3bb7149141673584bfd901dd0319cd83a9876082 | 181 | py | Python | src/boxe_clock/mixins.py | zedr/boxing-clock | cf22ab170ac24d20bbb6f2119f4b5deb040f3f57 | [
"BSD-3-Clause"
] | 1 | 2017-06-14T22:33:19.000Z | 2017-06-14T22:33:19.000Z | src/boxe_clock/mixins.py | zedr/boxing-clock | cf22ab170ac24d20bbb6f2119f4b5deb040f3f57 | [
"BSD-3-Clause"
] | 1 | 2017-03-06T19:42:58.000Z | 2017-03-07T19:32:56.000Z | src/boxe_clock/mixins.py | zedr/boxing-clock | cf22ab170ac24d20bbb6f2119f4b5deb040f3f57 | [
"BSD-3-Clause"
] | null | null | null | from boxe_clock.config import TimerConfig
class LedMixin(object):
"""A mixing for widgets that use the LED-inspired font.
"""
font_name = TimerConfig.fonts("digital")
| 22.625 | 59 | 0.718232 | 24 | 181 | 5.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18232 | 181 | 7 | 60 | 25.857143 | 0.864865 | 0.287293 | 0 | 0 | 0 | 0 | 0.059322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3bb863e466d0401b2c3c920b8f5d874ec06d9f64 | 51 | py | Python | fhirbug/db/__init__.py | VerdantAI/fhirbug | 8a8e2555c0edfeee0a7edbc8d67f2fcb2edd3c2d | [
"MIT"
] | 8 | 2019-01-06T18:11:20.000Z | 2022-02-24T02:06:55.000Z | fhirbug/db/__init__.py | VerdantAI/fhirbug | 8a8e2555c0edfeee0a7edbc8d67f2fcb2edd3c2d | [
"MIT"
] | 5 | 2019-01-25T14:15:35.000Z | 2021-06-01T23:22:41.000Z | fhirbug/db/__init__.py | VerdantAI/fhirbug | 8a8e2555c0edfeee0a7edbc8d67f2fcb2edd3c2d | [
"MIT"
] | 3 | 2020-10-14T23:09:29.000Z | 2021-08-09T19:27:31.000Z | """
This package wraps all db related modules.
"""
| 12.75 | 42 | 0.686275 | 7 | 51 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 51 | 3 | 43 | 17 | 0.833333 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3bc46e2c8422a61579e789c92eee5bcf65282744 | 32 | py | Python | new_arch/keyboard_event.py | unball/strategy | 51a9bd0b7c55222712dd655ceaa85fa1099dcf60 | [
"MIT"
] | 1 | 2017-11-27T12:49:03.000Z | 2017-11-27T12:49:03.000Z | new_arch/keyboard_event.py | unball/strategy | 51a9bd0b7c55222712dd655ceaa85fa1099dcf60 | [
"MIT"
] | null | null | null | new_arch/keyboard_event.py | unball/strategy | 51a9bd0b7c55222712dd655ceaa85fa1099dcf60 | [
"MIT"
] | null | null | null | class Keyboard():
EVENT = 0
| 10.666667 | 17 | 0.59375 | 4 | 32 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.28125 | 32 | 2 | 18 | 16 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3beec6331b6514ed72ddd12c981717628b632ddb | 96 | py | Python | py_tdlib/constructors/user_status_offline.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/user_status_offline.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/user_status_offline.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class userStatusOffline(Type):
was_online = None # type: "int32"
| 16 | 35 | 0.729167 | 12 | 96 | 5.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.166667 | 96 | 5 | 36 | 19.2 | 0.8375 | 0.135417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3bfab0d9e3f9c81b72fa78618966b91ef117a141 | 12,432 | py | Python | Support/PMF/pmf_builder.py | marient/PelePhysics | e6ad1839d77b194e09ab44ff850c9489652e5d81 | [
"BSD-3-Clause-LBNL"
] | 31 | 2018-11-21T01:49:06.000Z | 2022-03-30T03:41:43.000Z | Support/PMF/pmf_builder.py | marient/PelePhysics | e6ad1839d77b194e09ab44ff850c9489652e5d81 | [
"BSD-3-Clause-LBNL"
] | 123 | 2019-03-12T22:27:29.000Z | 2022-03-29T17:00:04.000Z | Support/PMF/pmf_builder.py | marient/PelePhysics | e6ad1839d77b194e09ab44ff850c9489652e5d81 | [
"BSD-3-Clause-LBNL"
] | 32 | 2018-11-05T11:51:59.000Z | 2022-03-29T13:09:32.000Z | import sys,os
import csv
import numpy as np
print " "
print " ----WELCOME !! I GENERATE PMF FILES FROM CANTERA FILES FOR PELE----"
print " "
print " WARNING : This script expects from you a CANTERA .csv file containing z(m), u(m/s), V(1/s), T(K), rho(kg/m3) + species (X or Y) IN THAT ORDE... | 52.677966 | 155 | 0.468468 | 1,525 | 12,432 | 3.761311 | 0.143607 | 0.40795 | 0.435146 | 0.104951 | 0.574616 | 0.483961 | 0.402894 | 0.342573 | 0.29219 | 0.233612 | 0 | 0.014349 | 0.327301 | 12,432 | 235 | 156 | 52.902128 | 0.671529 | 0 | 0 | 0.336283 | 1 | 0.00885 | 0.543356 | 0.054295 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013274 | null | null | 0.035398 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ce085df3367535ba2c87b3a7745509a19018a170 | 91 | py | Python | Code/Day 09/demo05.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | 8 | 2021-10-19T03:35:37.000Z | 2022-03-27T09:58:19.000Z | Code/Day 09/demo05.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | null | null | null | Code/Day 09/demo05.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | null | null | null | a = input()
b = input("Enter something! ")
print(a)
print(b)
print(type(a))
print(type(b)) | 13 | 30 | 0.637363 | 16 | 91 | 3.625 | 0.4375 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 7 | 31 | 13 | 0.734177 | 0 | 0 | 0 | 0 | 0 | 0.184783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ce24be44a05c1cda503f7d20f28f37250b925104 | 91 | py | Python | adjacent.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | adjacent.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | adjacent.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | a=[3,2,-10,3,4]
s=[]
for i in range(0,len(a)-1):
s.append(a[i]*a[i+1])
print(s)
| 13 | 28 | 0.472527 | 24 | 91 | 1.791667 | 0.625 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.208791 | 91 | 6 | 29 | 15.166667 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.