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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3e4e25f7df7ab0b5a10cffb37d4f8bbd77d99cd7 | 148 | py | Python | pycore/extras/cors.py | ardihikaru/eaglestitch | b388f0c3b78b0539812985850905c78830e871aa | [
"MIT"
] | null | null | null | pycore/extras/cors.py | ardihikaru/eaglestitch | b388f0c3b78b0539812985850905c78830e871aa | [
"MIT"
] | null | null | null | pycore/extras/cors.py | ardihikaru/eaglestitch | b388f0c3b78b0539812985850905c78830e871aa | [
"MIT"
] | null | null | null | import aiohttp_cors
CORS_OPTIONS = {
"*": aiohttp_cors.ResourceOptions(
allow_credentials=True,
expose_headers="*",
allow_headers="*"
),
}
| 14.8 | 35 | 0.709459 | 15 | 148 | 6.6 | 0.666667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141892 | 148 | 9 | 36 | 16.444444 | 0.779528 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e550df90e030bf8586681b03e9c881a4b01071b | 3,701 | py | Python | bin/lib/deleteMetadata.py | MSHE-Ledoux/geosync | e73464de12a02b4aa55e4981afe5b66ccbfa0671 | [
"ISC"
] | 4 | 2016-07-18T09:16:57.000Z | 2019-05-09T14:14:08.000Z | bin/lib/deleteMetadata.py | MSHE-Ledoux/geosync | e73464de12a02b4aa55e4981afe5b66ccbfa0671 | [
"ISC"
] | null | null | null | bin/lib/deleteMetadata.py | MSHE-Ledoux/geosync | e73464de12a02b4aa55e4981afe5b66ccbfa0671 | [
"ISC"
] | null | null | null | #!/usr/bin/python
# -*-coding:Utf-8 -*
"""module contenant deleteMetadata"""
import os
import re
import sys
def deleteMetadata(name, login, password, url, workspace, verbose=False):
#takes a keyword and delete metadata associated
url_csw = url + "/geonetwork/srv/fre/csw-publication"
keyword = worksp... | 48.064935 | 210 | 0.652797 | 437 | 3,701 | 5.455378 | 0.453089 | 0.025168 | 0.032718 | 0.052852 | 0.148909 | 0.036913 | 0.036913 | 0 | 0 | 0 | 0 | 0.002474 | 0.235342 | 3,701 | 76 | 211 | 48.697368 | 0.839929 | 0.270738 | 0 | 0.130435 | 0 | 0 | 0.19811 | 0.025331 | 0 | 0 | 0 | 0.013158 | 0 | 0 | null | null | 0.086957 | 0.130435 | null | null | 0.152174 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3e616f67eb28c837592e977746fb6310f5686df0 | 298 | py | Python | ex26_primeira_e_ultima_ocorrencia_de_uma_string.py | FreeRafa/Curso.Python | 133b5dface3db94d21f20027580747eea7f5559d | [
"MIT"
] | 1 | 2022-01-17T11:20:33.000Z | 2022-01-17T11:20:33.000Z | ex26_primeira_e_ultima_ocorrencia_de_uma_string.py | FreeRafa/Curso.Python | 133b5dface3db94d21f20027580747eea7f5559d | [
"MIT"
] | null | null | null | ex26_primeira_e_ultima_ocorrencia_de_uma_string.py | FreeRafa/Curso.Python | 133b5dface3db94d21f20027580747eea7f5559d | [
"MIT"
] | null | null | null | from itertools import count
frase = str(input('Digite uma frase:')).upper().strip()
print('a letra a apareceu {}'.format(frase.count('A')))
print('Em que posição ela aparece primeiro {}'.format(frase.find('A')+1))
print('Em que posição ela aparece pela ultima vez {}'.format(frase.rfind('A')+1))
| 37.25 | 81 | 0.697987 | 47 | 298 | 4.425532 | 0.595745 | 0.158654 | 0.096154 | 0.163462 | 0.259615 | 0.259615 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.107383 | 298 | 7 | 82 | 42.571429 | 0.774436 | 0 | 0 | 0 | 0 | 0 | 0.417508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3e68a3b94bfda47a4ac54558936d878a0bff0653 | 359 | py | Python | ubuild.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 3 | 2015-01-30T09:01:26.000Z | 2018-08-23T03:33:52.000Z | ubuild.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 26 | 2015-08-12T01:01:03.000Z | 2019-01-29T05:18:02.000Z | ubuild.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 3 | 2016-01-18T21:23:53.000Z | 2017-02-01T18:14:23.000Z | import os
def main(build):
build.packages.install(".", develop=True)
def test(build):
main(build)
build.packages.install("httpretty")
build.packages.install("mock")
build.packages.install("pytest")
build.packages.install("nose")
build.executables.run(
["py.test", "sprinter", "test... | 21.117647 | 45 | 0.637883 | 41 | 359 | 5.585366 | 0.512195 | 0.283843 | 0.436681 | 0.19214 | 0.253275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197772 | 359 | 16 | 46 | 22.4375 | 0.795139 | 0 | 0 | 0 | 0 | 0 | 0.122563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0 | 0.230769 | 0.076923 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e6a1be6ae733b741d88d4572f73cd34c065a586 | 1,152 | py | Python | guess.py | MightySCollins/python-challenges | 1ad41a517e6320a73634862c3bd5c67b67955a69 | [
"MIT"
] | 1 | 2018-09-16T17:06:36.000Z | 2018-09-16T17:06:36.000Z | guess.py | MightySCollins/python-challenges | 1ad41a517e6320a73634862c3bd5c67b67955a69 | [
"MIT"
] | null | null | null | guess.py | MightySCollins/python-challenges | 1ad41a517e6320a73634862c3bd5c67b67955a69 | [
"MIT"
] | 1 | 2018-09-16T17:06:22.000Z | 2018-09-16T17:06:22.000Z | from typing import List
def length(string: str) -> int:
pass
def character_code(char: str) -> int:
pass
def addition(first_number: int, second_number: int) -> int:
pass
def multiply(first_number: int, second_number: int) -> int:
pass
def lowercase(string: str) -> str:
pass
def uppercase(... | 20.210526 | 59 | 0.655382 | 173 | 1,152 | 4.260116 | 0.312139 | 0.075984 | 0.081411 | 0.07327 | 0.363636 | 0.312076 | 0.280868 | 0.27137 | 0.27137 | 0.065129 | 0 | 0.055966 | 0.177951 | 1,152 | 56 | 60 | 20.571429 | 0.721225 | 0 | 0 | 0.257143 | 0 | 0 | 0.081597 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.257143 | false | 0.257143 | 0.028571 | 0 | 0.285714 | 0.028571 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e47e49aac240894e91577f41cad8139eeae0b951 | 63 | py | Python | gssacipkg/__init__.py | pehruby/ACISimpleConfig | 308944afc310c79a98f5f942da85b467bea8b832 | [
"MIT"
] | 2 | 2019-04-25T17:37:34.000Z | 2019-06-22T17:12:58.000Z | gssacipkg/__init__.py | pehruby/ACISimpleConfig | 308944afc310c79a98f5f942da85b467bea8b832 | [
"MIT"
] | null | null | null | gssacipkg/__init__.py | pehruby/ACISimpleConfig | 308944afc310c79a98f5f942da85b467bea8b832 | [
"MIT"
] | null | null | null | from .gssacifunc import ( # noqa
ACIconfig,
ACIobj
)
| 12.6 | 34 | 0.619048 | 6 | 63 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301587 | 63 | 4 | 35 | 15.75 | 0.886364 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e49a9da21fa65fc9f0f9ec9fa2b3276313e296a9 | 262 | py | Python | category/views.py | GDG2021hackathon/modoogym-backend-dj | 1af8c4132a8979bf333b725b73c3e5eab3e228b5 | [
"MIT"
] | null | null | null | category/views.py | GDG2021hackathon/modoogym-backend-dj | 1af8c4132a8979bf333b725b73c3e5eab3e228b5 | [
"MIT"
] | null | null | null | category/views.py | GDG2021hackathon/modoogym-backend-dj | 1af8c4132a8979bf333b725b73c3e5eab3e228b5 | [
"MIT"
] | null | null | null | from rest_framework import viewsets
from category.models import Category
from category.serializers import CategorySerializer
class CategoryViewSet(viewsets.ReadOnlyModelViewSet):
queryset = Category.objects.all()
serializer_class = CategorySerializer
| 26.2 | 53 | 0.835878 | 26 | 262 | 8.346154 | 0.615385 | 0.110599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118321 | 262 | 9 | 54 | 29.111111 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 3 |
e4a21891d426bbe36b9ce7ea8c76e4aa81a8ad08 | 221 | py | Python | nes/processors/cpu/instructions/branch/branch_if_clear.py | Hexadorsimal/pynes | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | 1 | 2017-05-13T18:57:09.000Z | 2017-05-13T18:57:09.000Z | nes/processors/cpu/instructions/branch/branch_if_clear.py | Hexadorsimal/py6502 | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | 7 | 2020-10-24T17:16:56.000Z | 2020-11-01T14:10:23.000Z | nes/processors/cpu/instructions/branch/branch_if_clear.py | Hexadorsimal/pynes | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | null | null | null | from .branch import BranchInstruction
class BranchIfClearInstruction(BranchInstruction):
flag_name = None
def meets_branch_condition(self, processor):
return not bool(processor.p.flags[self.flag_name])
| 24.555556 | 58 | 0.773756 | 25 | 221 | 6.68 | 0.76 | 0.095808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 221 | 8 | 59 | 27.625 | 0.893048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
e4a57ea77d40ec0e674a4bf00390e11ff8b5a31e | 40 | py | Python | data/__init__.py | HELLORPG/GraduationProjec | 5d3925502626e7179598d447d0a07c3c28a499e2 | [
"Apache-2.0"
] | 1 | 2021-03-22T07:22:39.000Z | 2021-03-22T07:22:39.000Z | data/__init__.py | HELLORPG/GraduationProject | 5d3925502626e7179598d447d0a07c3c28a499e2 | [
"Apache-2.0"
] | null | null | null | data/__init__.py | HELLORPG/GraduationProject | 5d3925502626e7179598d447d0a07c3c28a499e2 | [
"Apache-2.0"
] | null | null | null | __all__ = ["conc_dataset", "dataloader"] | 40 | 40 | 0.725 | 4 | 40 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e4bd239a540136255d2f0344585b5a3bd9842671 | 1,071 | py | Python | example/__init__.py | fuhrysteve/CeleryStore | 8056f1688dc37b69449ab62c368a8840befbed97 | [
"MIT"
] | 2 | 2016-01-18T15:06:57.000Z | 2016-01-20T21:36:38.000Z | example/__init__.py | fuhrysteve/CeleryStore | 8056f1688dc37b69449ab62c368a8840befbed97 | [
"MIT"
] | null | null | null | example/__init__.py | fuhrysteve/CeleryStore | 8056f1688dc37b69449ab62c368a8840befbed97 | [
"MIT"
] | null | null | null | import datetime as dt
from celery_store.mixins import PeriodicTaskMixin, TaskScheduleMixin
from celery import current_app as app
from celery.schedules import crontab
@app.task(name='sum-of-two-numbers')
def add(x, y):
return x + y
class PeriodicTask(PeriodicTaskMixin):
@property
def name(self):
... | 20.596154 | 68 | 0.65733 | 127 | 1,071 | 5.433071 | 0.409449 | 0.086957 | 0.04058 | 0.055072 | 0.086957 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0.007444 | 0.247432 | 1,071 | 51 | 69 | 21 | 0.848635 | 0 | 0 | 0.171429 | 0 | 0 | 0.024276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0 | 0.114286 | 0.2 | 0.685714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e4c5dcf1869052b0d23d0bbce109fc9dcff88da7 | 127 | py | Python | apps/core/urls.py | kkonieo/portfolio-server | 1c9524ae240dbd526a96f51cbf4d6f18291f535a | [
"MIT"
] | 4 | 2022-01-21T11:10:44.000Z | 2022-01-26T15:00:52.000Z | apps/core/urls.py | kkonieo/portfolio-server | 1c9524ae240dbd526a96f51cbf4d6f18291f535a | [
"MIT"
] | 22 | 2022-01-21T10:32:37.000Z | 2022-03-25T14:24:10.000Z | apps/core/urls.py | kkonieo/portfolio-server | 1c9524ae240dbd526a96f51cbf4d6f18291f535a | [
"MIT"
] | null | null | null | from django.urls import path
from apps.core.views import ImageView
urlpatterns = [
path("image", ImageView.as_view()),
]
| 15.875 | 39 | 0.724409 | 17 | 127 | 5.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 7 | 40 | 18.142857 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e4d12e0f238694534f02a627f0cb986f30ac3958 | 430 | py | Python | src/pbn_api/models/__init__.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/pbn_api/models/__init__.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/pbn_api/models/__init__.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | from .conference import Conference # noqa
from .country import Country # noqa
from .institution import ( # noqa
Institution,
OswiadczenieInstytucji,
PublikacjaInstytucji,
)
from .journal import Journal # noqa
from .language import Language # noqa
from .publication import Publication # noqa
from .publi... | 30.714286 | 44 | 0.762791 | 47 | 430 | 6.978723 | 0.297872 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183721 | 430 | 13 | 45 | 33.076923 | 0.934473 | 0.102326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.692308 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e4d63c4cdcd03f77f95b3f7ecd87b78df7e217d3 | 22 | py | Python | user/__init__.py | kollad/turbo-ninja | 9c3f66b2af64aec01f522d19b309cfdd723e67cf | [
"MIT"
] | null | null | null | user/__init__.py | kollad/turbo-ninja | 9c3f66b2af64aec01f522d19b309cfdd723e67cf | [
"MIT"
] | 1 | 2017-12-14T05:35:38.000Z | 2017-12-14T05:35:38.000Z | user/__init__.py | kollad/turbo-ninja | 9c3f66b2af64aec01f522d19b309cfdd723e67cf | [
"MIT"
] | null | null | null | __author__ = 'kollad'
| 11 | 21 | 0.727273 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
90332dbb43ee2a596700aef5bf285cb19c1f588d | 1,815 | py | Python | forum/templatetags/extra_filters.py | laygounas/cnprog | b33e41a431297f20fa2c4376b6a0bb1fd70751ee | [
"Apache-2.0"
] | 1 | 2018-01-12T04:10:36.000Z | 2018-01-12T04:10:36.000Z | forum/templatetags/extra_filters.py | laygounas/cnprog | b33e41a431297f20fa2c4376b6a0bb1fd70751ee | [
"Apache-2.0"
] | null | null | null | forum/templatetags/extra_filters.py | laygounas/cnprog | b33e41a431297f20fa2c4376b6a0bb1fd70751ee | [
"Apache-2.0"
] | null | null | null | from django import template
from forum import auth
register = template.Library()
@register.filter
def can_vote_up(user):
return auth.can_vote_up(user)
@register.filter
def can_flag_offensive(user):
return auth.can_flag_offensive(user)
@register.filter
def can_add_comments(user):
return a... | 26.691176 | 68 | 0.762534 | 260 | 1,815 | 5.003846 | 0.153846 | 0.172175 | 0.20907 | 0.245965 | 0.786318 | 0.475788 | 0.335895 | 0.227517 | 0.172175 | 0.075327 | 0 | 0 | 0.153168 | 1,815 | 68 | 68 | 26.691176 | 0.845804 | 0 | 0 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.039216 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
904248602c91cadf7680ac856fe31796ae4f6305 | 624 | py | Python | auctions/admin.py | huutrungrimp/commerce | 8a22ea44bfca69f96d721a3ebefd7729487db3cf | [
"MIT"
] | null | null | null | auctions/admin.py | huutrungrimp/commerce | 8a22ea44bfca69f96d721a3ebefd7729487db3cf | [
"MIT"
] | null | null | null | auctions/admin.py | huutrungrimp/commerce | 8a22ea44bfca69f96d721a3ebefd7729487db3cf | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, Category, Listing, WatchList, Bid, Comment
admin.site.register(User)
admin.site.register(Category)
admin.site.register(WatchList)
class ListingAdmin(admin.ModelAdmin):
list_display = ('title', 'username', 'price', 'status')
admin.site.register(Listing, ... | 24.96 | 80 | 0.75 | 71 | 624 | 6.549296 | 0.408451 | 0.116129 | 0.219355 | 0.167742 | 0.176344 | 0.176344 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 624 | 24 | 81 | 26 | 0.836331 | 0 | 0 | 0 | 0 | 0 | 0.137821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5f67cc490d593acacbf7442677559d5ca58933b1 | 788 | py | Python | learn/user.py | ehannesson/learn | c47325cdcd8820fda1aeb0d23e971990c68612d6 | [
"MIT"
] | null | null | null | learn/user.py | ehannesson/learn | c47325cdcd8820fda1aeb0d23e971990c68612d6 | [
"MIT"
] | null | null | null | learn/user.py | ehannesson/learn | c47325cdcd8820fda1aeb0d23e971990c68612d6 | [
"MIT"
] | null | null | null | # user.py
class User:
"""
Class representing an user.
Parameters
----------
TODO
Attributes
----------
Methods
-------
"""
def __init__(self, name, uuid=None):
self.name = name
self.uuid = self._get_uuid(uuid)
def _get_uuid(self, uuid):
""... | 18.761905 | 126 | 0.598985 | 96 | 788 | 4.71875 | 0.572917 | 0.03532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312183 | 788 | 41 | 127 | 19.219512 | 0.835793 | 0.571066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 1 | 0.25 | false | 0.125 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5f6e02930e3f57cf3ff3c88104de95c690fccb1a | 1,029 | py | Python | model.py | wichmann/evreg | b0995563a642973d7457bda995c3b6584ac3c7ff | [
"MIT"
] | null | null | null | model.py | wichmann/evreg | b0995563a642973d7457bda995c3b6584ac3c7ff | [
"MIT"
] | null | null | null | model.py | wichmann/evreg | b0995563a642973d7457bda995c3b6584ac3c7ff | [
"MIT"
] | null | null | null |
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
class Participant(db.Model):
id = db.Column(db.Integer, primary_key=True)
firstname = db.Column(db.String(80), nullable=False)
lastname = db.Column(db.String(80), nullable=False)
classname = db.Column(db.String(7), nullable=False)
email_... | 38.111111 | 93 | 0.708455 | 142 | 1,029 | 5 | 0.295775 | 0.135211 | 0.169014 | 0.202817 | 0.453521 | 0.4 | 0.4 | 0.205634 | 0 | 0 | 0 | 0.02164 | 0.146744 | 1,029 | 26 | 94 | 39.576923 | 0.787016 | 0 | 0 | 0 | 0 | 0 | 0.077821 | 0.022374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0.105263 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5f771569a3a4bf9bc08d89d9998878e753515ec2 | 1,588 | py | Python | bfd/enum.py | zentarim/abfd | 10e86f58f0f779a4d02e07afa5f527447dfa1cd1 | [
"MIT"
] | null | null | null | bfd/enum.py | zentarim/abfd | 10e86f58f0f779a4d02e07afa5f527447dfa1cd1 | [
"MIT"
] | null | null | null | bfd/enum.py | zentarim/abfd | 10e86f58f0f779a4d02e07afa5f527447dfa1cd1 | [
"MIT"
] | null | null | null | from typing import Union, Dict, Any, Optional, Iterator, Tuple
from itertools import chain
__all__ = ['T_Enum']
MetaVals = Union[int, str, float, None]
class EnumMeta(type):
def __contains__(cls, item: MetaVals) -> bool:
return item in cls.__reverse_map
def __init__(cls, clname: str, *args):
... | 34.521739 | 113 | 0.620907 | 202 | 1,588 | 4.549505 | 0.445545 | 0.054407 | 0.070729 | 0.048966 | 0.08161 | 0.045702 | 0 | 0 | 0 | 0 | 0 | 0.002582 | 0.268262 | 1,588 | 46 | 114 | 34.521739 | 0.788296 | 0.222292 | 0 | 0 | 0 | 0 | 0.024369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.095238 | 0.190476 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5fbc2c6efa35d7621e55825c91669dcb1473a710 | 47 | py | Python | pytype/__version__.py | souravbadami/pytype | 804fa97e7f9208df2711976085a96f756b3949e6 | [
"Apache-2.0"
] | 1 | 2020-04-20T02:55:21.000Z | 2020-04-20T02:55:21.000Z | pytype/__version__.py | doc22940/pytype | 4772ad6fe89f4df75ae3d08e7374f68074175d4a | [
"Apache-2.0"
] | null | null | null | pytype/__version__.py | doc22940/pytype | 4772ad6fe89f4df75ae3d08e7374f68074175d4a | [
"Apache-2.0"
] | null | null | null | # pylint: skip-file
__version__ = '2020.04.01'
| 15.666667 | 26 | 0.702128 | 7 | 47 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 0.12766 | 47 | 2 | 27 | 23.5 | 0.512195 | 0.361702 | 0 | 0 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5fbe01098c22645c4b51a3a7b9dd36b429b02229 | 661 | py | Python | engine/ecs/system.py | TWoolhouse/Libraries | 26079ed387cb800cb97f20980720ae094008c7bf | [
"MIT"
] | 1 | 2020-10-11T15:34:56.000Z | 2020-10-11T15:34:56.000Z | engine/ecs/system.py | TWoolhouse/Libraries | 26079ed387cb800cb97f20980720ae094008c7bf | [
"MIT"
] | null | null | null | engine/ecs/system.py | TWoolhouse/Libraries | 26079ed387cb800cb97f20980720ae094008c7bf | [
"MIT"
] | null | null | null | from .component import Component
from typing import Type, TypeVar, Iterator, overload
C = TypeVar("C", bound=Component)
class System:
def __init__(self):
pass
def __call__(self, application: 'Application'):
self.__app = application
self.update(application)
def update(self, appli... | 26.44 | 83 | 0.644478 | 79 | 661 | 5.240506 | 0.316456 | 0.060386 | 0.123188 | 0.152174 | 0.31401 | 0.31401 | 0.31401 | 0.21256 | 0.21256 | 0.21256 | 0 | 0 | 0.213313 | 661 | 24 | 84 | 27.541667 | 0.796154 | 0 | 0 | 0.235294 | 0 | 0 | 0.034796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0.117647 | 0.117647 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
395fb04b09182ee3f508c239b6a1a4985ed05cac | 295 | py | Python | utils/__init__.py | VCL3D/DronePose | c38a45270105ec2fd873540f384e070e5fc9c204 | [
"MIT"
] | 10 | 2020-08-24T12:27:52.000Z | 2021-08-31T01:48:28.000Z | utils/__init__.py | VCL3D/DronePose | c38a45270105ec2fd873540f384e070e5fc9c204 | [
"MIT"
] | 3 | 2020-08-24T12:47:09.000Z | 2021-06-08T08:45:44.000Z | utils/__init__.py | VCL3D/DronePose | c38a45270105ec2fd873540f384e070e5fc9c204 | [
"MIT"
] | 6 | 2020-08-24T12:46:57.000Z | 2021-04-06T00:43:45.000Z | from .init import *
from .opt import *
from .checkpoint import *
from .framework import *
from .logger import *
from .metrics import *
from .geometry import *
try:
from .visualization import *
except ImportError:
__KAOLIN_LOADED__ = False
else:
__KAOLIN_LOADED__ = True | 22.692308 | 33 | 0.701695 | 34 | 295 | 5.794118 | 0.529412 | 0.304569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227119 | 295 | 13 | 34 | 22.692308 | 0.864035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.692308 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3964218a22141d7d8ba93228bbca7e0a0ca23f19 | 138 | py | Python | Capitulo_04/exercise4_3.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | Capitulo_04/exercise4_3.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | Capitulo_04/exercise4_3.py | thiagosouzalink/my_codes-exercices-book-curso_intensivo_de_python | 841aa855a7450ad3d0ba65393ba0b6debcd6a770 | [
"MIT"
] | null | null | null | """
4.3 – Contando até vinte: Use um laço for para exibir os números de 1 a 20,
incluindo-os.
"""
for num in range(1, 21):
print(num) | 19.714286 | 75 | 0.652174 | 28 | 138 | 3.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.217391 | 138 | 7 | 76 | 19.714286 | 0.759259 | 0.644928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3992ac7acc93411f669145f5838b463b2ab44d88 | 97 | py | Python | src/python/test.py | aaronhktan/homebridge-bmp280 | fdd58cc299f4a5f489238928620d9bcaac7c48b3 | [
"MIT"
] | 3 | 2020-06-17T17:14:59.000Z | 2021-08-13T08:06:09.000Z | src/python/test.py | aaronhktan/homebridge-bmp280 | fdd58cc299f4a5f489238928620d9bcaac7c48b3 | [
"MIT"
] | 1 | 2020-08-21T06:27:24.000Z | 2020-08-21T06:27:24.000Z | src/python/test.py | aaronhktan/homebridge-bmp280 | fdd58cc299f4a5f489238928620d9bcaac7c48b3 | [
"MIT"
] | null | null | null | import spidev
spi = spidev.SpiDev()
spi.open(0, 1)
print(spi.xfer2([0xD0, 0x00], 50000, 5, 8))
| 13.857143 | 43 | 0.659794 | 17 | 97 | 3.764706 | 0.764706 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 0.14433 | 97 | 6 | 44 | 16.166667 | 0.590361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
39992a6e01e6f6550bbebfdad4e10a98a1d3c55e | 367 | py | Python | app/enterprise/models/enterprise.py | confbot-telegram-conferences/confbot | 52fa307275b679748b5a7a6e7cb29bfc7b792875 | [
"MIT"
] | 1 | 2022-01-18T05:19:45.000Z | 2022-01-18T05:19:45.000Z | app/enterprise/models/enterprise.py | confbot-telegram-conferences/confbot | 52fa307275b679748b5a7a6e7cb29bfc7b792875 | [
"MIT"
] | null | null | null | app/enterprise/models/enterprise.py | confbot-telegram-conferences/confbot | 52fa307275b679748b5a7a6e7cb29bfc7b792875 | [
"MIT"
] | 1 | 2022-01-18T13:54:57.000Z | 2022-01-18T13:54:57.000Z | from django.db.models import CharField, ManyToManyField
from django.utils.translation import gettext_lazy as _
from app.utils.models import BaseModel
from app.users.models import User
class Enterprise(BaseModel):
name = CharField(_("Name of Enterprise"), max_length=255)
members = ManyToManyField(User, through... | 36.7 | 89 | 0.798365 | 46 | 367 | 6.26087 | 0.608696 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009231 | 0.114441 | 367 | 9 | 90 | 40.777778 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0.117166 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
39a31fb769c6fae145a8af666f404baf9f291a41 | 14,728 | py | Python | cohesity_management_sdk/controllers/protection_policies.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | cohesity_management_sdk/controllers/protection_policies.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | cohesity_management_sdk/controllers/protection_policies.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019 Cohesity Inc.
import logging
from cohesity_management_sdk.api_helper import APIHelper
from cohesity_management_sdk.configuration import Configuration
from cohesity_management_sdk.controllers.base_controller import BaseController
from cohesity_management_sdk.http.auth.auth_manag... | 42.08 | 117 | 0.619229 | 1,533 | 14,728 | 5.720809 | 0.131115 | 0.078449 | 0.044698 | 0.036716 | 0.754048 | 0.746978 | 0.714823 | 0.675713 | 0.675713 | 0.668985 | 0 | 0.001292 | 0.316879 | 14,728 | 349 | 118 | 42.200573 | 0.870391 | 0.301331 | 0 | 0.538922 | 0 | 0 | 0.200773 | 0.101849 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035928 | false | 0 | 0.041916 | 0 | 0.107784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
39a4a6ab1790cfe5f770127787b66bb356571710 | 416 | py | Python | chunked_media/admin.py | CerealBoxMedia/chunked_media | 324d9b7d76323fa1ca5296d733b82dc5ab5f98c0 | [
"BSD-2-Clause"
] | null | null | null | chunked_media/admin.py | CerealBoxMedia/chunked_media | 324d9b7d76323fa1ca5296d733b82dc5ab5f98c0 | [
"BSD-2-Clause"
] | null | null | null | chunked_media/admin.py | CerealBoxMedia/chunked_media | 324d9b7d76323fa1ca5296d733b82dc5ab5f98c0 | [
"BSD-2-Clause"
] | null | null | null | from django.conf import settings
from django.contrib import admin
from chunked_media.models import Media
if hasattr(settings, 'CHUNKED_MEDIA_MODEL') and settings.CHUNKED_MEDIA_MODEL != 'chunked_media.Media':
# This installation provides its own custom media class;
# to avoid confusion, we won't expose the unu... | 32 | 102 | 0.769231 | 60 | 416 | 5.216667 | 0.583333 | 0.191693 | 0.127796 | 0.159744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 416 | 12 | 103 | 34.666667 | 0.899425 | 0.338942 | 0 | 0 | 0 | 0 | 0.140221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
39adb6bf40fc3d61bae5432ebc3719080c100e97 | 1,705 | py | Python | test/string_test.py | andydevs/good-handlers | b2e6ed89f14e7b4aa94b28d05eb4a529bb90e3cd | [
"MIT"
] | null | null | null | test/string_test.py | andydevs/good-handlers | b2e6ed89f14e7b4aa94b28d05eb4a529bb90e3cd | [
"MIT"
] | null | null | null | test/string_test.py | andydevs/good-handlers | b2e6ed89f14e7b4aa94b28d05eb4a529bb90e3cd | [
"MIT"
] | null | null | null | """
Good Handlers
Method and function handlers that implement common
behaviors without writing the entire function
Author: Anshul Kharbanda
Created: 6 - 24 - 2018
"""
from unittest import TestCase
from good_handlers.string import *
class Person1:
"""
Test class for ValueStringHandler
Author: Anshul K... | 19.157303 | 57 | 0.608211 | 185 | 1,705 | 5.464865 | 0.308108 | 0.047478 | 0.103858 | 0.138477 | 0.502473 | 0.466864 | 0.466864 | 0.466864 | 0.466864 | 0.466864 | 0 | 0.041975 | 0.28739 | 1,705 | 89 | 58 | 19.157303 | 0.790123 | 0.304399 | 0 | 0.529412 | 0 | 0 | 0.058598 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.235294 | false | 0 | 0.058824 | 0.117647 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
39b12623769accb981209849ce39f9f975831d5d | 209 | py | Python | real_estate_agency/resale/urls.py | Dybov/real_estate_agency | a4392b18c5169ff89c3c7b63afe017f6ede0b431 | [
"MIT"
] | 1 | 2017-09-24T18:53:59.000Z | 2017-09-24T18:53:59.000Z | real_estate_agency/resale/urls.py | Dybov/real_estate_agency | a4392b18c5169ff89c3c7b63afe017f6ede0b431 | [
"MIT"
] | null | null | null | real_estate_agency/resale/urls.py | Dybov/real_estate_agency | a4392b18c5169ff89c3c7b63afe017f6ede0b431 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from .views import ResaleListView, detailed
urlpatterns = [
url(r'^$', ResaleListView.as_view(), name='index'),
url(r'^(?P<pk>\d+)/$', detailed, name='detailed'),
]
| 20.9 | 55 | 0.655502 | 27 | 209 | 5.037037 | 0.666667 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143541 | 209 | 9 | 56 | 23.222222 | 0.759777 | 0 | 0 | 0 | 0 | 0 | 0.138756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
39da59e60266316cba5eb1ea2a6a2d318f445471 | 210 | py | Python | tests/__init__.py | yaal-fr/canaille | 828d190adea7bc6e34d59bac42cbc1283509880b | [
"MIT"
] | 3 | 2020-11-03T14:44:53.000Z | 2021-09-26T16:49:01.000Z | tests/__init__.py | yaal-fr/canaille | 828d190adea7bc6e34d59bac42cbc1283509880b | [
"MIT"
] | null | null | null | tests/__init__.py | yaal-fr/canaille | 828d190adea7bc6e34d59bac42cbc1283509880b | [
"MIT"
] | null | null | null | import base64
def client_credentials(client):
return base64.b64encode(
client.oauthClientID.encode("utf-8")
+ b":"
+ client.oauthClientSecret.encode("utf-8")
).decode("utf-8")
| 21 | 50 | 0.633333 | 23 | 210 | 5.73913 | 0.608696 | 0.090909 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054878 | 0.219048 | 210 | 9 | 51 | 23.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
f2d8770dcee1e6f1ab5fd67ad7dc3502b3f1062f | 28,524 | py | Python | pda_factory.py | tclokie/CFLpy | 90fb71cd6f972a7dad2c7692bb0e13fdb7c60cf7 | [
"MIT"
] | null | null | null | pda_factory.py | tclokie/CFLpy | 90fb71cd6f972a7dad2c7692bb0e13fdb7c60cf7 | [
"MIT"
] | null | null | null | pda_factory.py | tclokie/CFLpy | 90fb71cd6f972a7dad2c7692bb0e13fdb7c60cf7 | [
"MIT"
] | null | null | null | from PDA import PDA
import math
EMPTY_STRING = ''
def int_to_bin(x):
return x.__format__('b')
def s_2(x):
return int_to_bin(x).count('1')
def base_b(n,b):
s = EMPTY_STRING
while n > 0:
s += str(n % b)
n //= b
return s[::-1]
def s_b(n,b):
count = 0
while n > 0:
... | 41.519651 | 132 | 0.419191 | 3,581 | 28,524 | 3.129293 | 0.052499 | 0.010709 | 0.008835 | 0.028556 | 0.780832 | 0.744333 | 0.709084 | 0.669374 | 0.661967 | 0.617794 | 0 | 0.03442 | 0.302307 | 28,524 | 686 | 133 | 41.580175 | 0.528667 | 0.064297 | 0 | 0.54359 | 0 | 0 | 0.092919 | 0 | 0 | 0 | 0 | 0.001458 | 0.022222 | 1 | 0.037607 | false | 0 | 0.003419 | 0.006838 | 0.080342 | 0.003419 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f2e36ce39c7f2366d5efaf094103edce27b788f9 | 537 | py | Python | tests/fixtures/models/__init__.py | kuc2477/news | 215f87e6ce1a7fc99175596e6fd5b4b50a3179c6 | [
"MIT"
] | 2 | 2016-01-21T04:16:57.000Z | 2016-04-27T04:46:13.000Z | tests/fixtures/models/__init__.py | kuc2477/news | 215f87e6ce1a7fc99175596e6fd5b4b50a3179c6 | [
"MIT"
] | null | null | null | tests/fixtures/models/__init__.py | kuc2477/news | 215f87e6ce1a7fc99175596e6fd5b4b50a3179c6 | [
"MIT"
] | null | null | null | import pytest
from news.models.abstract import Readable
from .django import *
from .sqlalchemy import *
@pytest.fixture
def readable_root(author_root, title_root, content_root, summary_root):
return Readable(author=author_root, title=title_root,
content=content_root, summary=summary_root)
@p... | 31.588235 | 76 | 0.761639 | 68 | 537 | 5.75 | 0.264706 | 0.061381 | 0.081841 | 0.122762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163873 | 537 | 16 | 77 | 33.5625 | 0.870824 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
f2e55fe6dd28c25ce694b3a09198bd3a4ea8a287 | 388 | py | Python | source/pkgsrc/archivers/py-czipfile/patches/patch-setup.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | 1 | 2021-11-20T22:46:39.000Z | 2021-11-20T22:46:39.000Z | source/pkgsrc/archivers/py-czipfile/patches/patch-setup.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | source/pkgsrc/archivers/py-czipfile/patches/patch-setup.py | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | $NetBSD: patch-setup.py,v 1.1 2016/07/09 21:13:02 wiz Exp $
Use setuptools for packaging to create nice eggs.
--- setup.py.orig 2010-07-28 06:19:12.000000000 +0900
+++ setup.py 2016-07-07 21:11:32.000000000 +0900
@@ -2,6 +2,7 @@
# vim: set expandtab tabstop=4 shiftwidth=4:
import os
+import setuptools
from distu... | 25.866667 | 59 | 0.724227 | 69 | 388 | 4.072464 | 0.681159 | 0.074733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230303 | 0.149485 | 388 | 14 | 60 | 27.714286 | 0.621212 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.444444 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f2e883d1ab0e50a6c4251779ab87849afdc22851 | 451 | py | Python | core/confdb/syntax/system/hints.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 84 | 2017-10-22T11:01:39.000Z | 2022-02-27T03:43:48.000Z | core/confdb/syntax/system/hints.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 22 | 2017-12-11T07:21:56.000Z | 2021-09-23T02:53:50.000Z | core/confdb/syntax/system/hints.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 23 | 2017-12-06T06:59:52.000Z | 2022-02-24T00:02:25.000Z | # ----------------------------------------------------------------------
# ConfDB hints system syntax
# ----------------------------------------------------------------------
# Copyright (C) 2007-2020 The NOC Project
# See LICENSE for details
# ----------------------------------------------------------------------
# N... | 34.692308 | 72 | 0.396896 | 36 | 451 | 4.805556 | 0.583333 | 0.190751 | 0.16185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019465 | 0.088692 | 451 | 12 | 73 | 37.583333 | 0.40146 | 0.698448 | 0 | 0 | 0 | 0 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f2f000be694897d91ba68121241bfe6e995300aa | 107 | py | Python | src/application.py | namespacestd0/mygeneset.info | 0027331bb37aa96eb5f75e4a1d727a71169b3e17 | [
"Apache-2.0"
] | null | null | null | src/application.py | namespacestd0/mygeneset.info | 0027331bb37aa96eb5f75e4a1d727a71169b3e17 | [
"Apache-2.0"
] | null | null | null | src/application.py | namespacestd0/mygeneset.info | 0027331bb37aa96eb5f75e4a1d727a71169b3e17 | [
"Apache-2.0"
] | null | null | null | from biothings.web.launcher import FlaskAPILauncher
application = FlaskAPILauncher("config").get_server()
| 26.75 | 53 | 0.831776 | 11 | 107 | 8 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 3 | 54 | 35.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f2f07a4b249352b4fe46278b3ef6d0ee47b4d0a9 | 110 | py | Python | output/models/ms_data/particles/particles_eb026_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/particles/particles_eb026_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/particles/particles_eb026_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.particles.particles_eb026_xsd.particles_eb026 import Doc
__all__ = [
"Doc",
]
| 18.333333 | 83 | 0.772727 | 15 | 110 | 5.133333 | 0.733333 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.127273 | 110 | 5 | 84 | 22 | 0.739583 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8400ace740cfe4257ea3c00e2e89221387e41455 | 9,767 | py | Python | Robot.py | robot-acceleration/URDFParser | 3d3efe342a858480c170bd314b5ade5303b86f99 | [
"MIT"
] | 2 | 2021-09-22T05:09:57.000Z | 2021-12-25T16:59:59.000Z | Robot.py | robot-acceleration/URDFParser | 3d3efe342a858480c170bd314b5ade5303b86f99 | [
"MIT"
] | null | null | null | Robot.py | robot-acceleration/URDFParser | 3d3efe342a858480c170bd314b5ade5303b86f99 | [
"MIT"
] | null | null | null | from .Link import Link
from .Joint import Joint
class Robot:
# initialization
def __init__(self, name):
self.name = name
self.links = []
self.joints = []
def next_none(self, iterable):
try:
return next(iterable)
except:
return None
#####... | 35.007168 | 132 | 0.674721 | 1,449 | 9,767 | 4.2098 | 0.073154 | 0.065902 | 0.028852 | 0.041311 | 0.76623 | 0.680984 | 0.63541 | 0.56918 | 0.501475 | 0.406885 | 0 | 0.001158 | 0.204054 | 9,767 | 279 | 133 | 35.007168 | 0.783509 | 0.017201 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.452381 | false | 0 | 0.011905 | 0.410714 | 0.892857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
840107b50dd0a68dc0718990fc5ce990ef22d798 | 263 | py | Python | app/web/__init__.py | Song2017/flask_image | 8a731a8f7fdcc7c0d1bd436e4db676080b861168 | [
"MIT"
] | null | null | null | app/web/__init__.py | Song2017/flask_image | 8a731a8f7fdcc7c0d1bd436e4db676080b861168 | [
"MIT"
] | null | null | null | app/web/__init__.py | Song2017/flask_image | 8a731a8f7fdcc7c0d1bd436e4db676080b861168 | [
"MIT"
] | null | null | null | from flask import render_template
from app.web.blue_print import web
# run code in different file
from app.web import littlered_bbc
from app.web import index
@web.app_errorhandler(404)
def not_found(e):
# AOP 思想
return render_template('404.html'), 404
| 20.230769 | 43 | 0.768061 | 44 | 263 | 4.454545 | 0.613636 | 0.107143 | 0.153061 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040724 | 0.159696 | 263 | 12 | 44 | 21.916667 | 0.846154 | 0.125475 | 0 | 0 | 0 | 0 | 0.035242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0.142857 | 0.857143 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
84227adbd33d05b22c99916a17f90d9b1ef6508b | 253 | py | Python | test/test_market.py | 5267/QUANTAXIS | c3f38b805939e33309e2da7ea8cb32d245c3edfb | [
"MIT"
] | 5 | 2017-06-30T04:42:29.000Z | 2018-01-05T09:20:28.000Z | test/test_market.py | 5267/QUANTAXIS | c3f38b805939e33309e2da7ea8cb32d245c3edfb | [
"MIT"
] | null | null | null | test/test_market.py | 5267/QUANTAXIS | c3f38b805939e33309e2da7ea8cb32d245c3edfb | [
"MIT"
] | null | null | null | import QUANTAXIS as QA
#QA.QA_Setting.client=QA.QAUtil.QA_util_sql_mongo_setting(QA.QA_Setting.QA_util_sql_mongo_ip,QA.QA_Setting.QA_util_sql_mongo_port)
market=QA.QA_Market()
bid=QA.QA_QAMarket_bid.bid
market.market_make_deal(bid,QA.QA_Setting.client)
| 42.166667 | 130 | 0.865613 | 50 | 253 | 3.96 | 0.34 | 0.141414 | 0.222222 | 0.212121 | 0.252525 | 0.252525 | 0.252525 | 0 | 0 | 0 | 0 | 0 | 0.031621 | 253 | 5 | 131 | 50.6 | 0.808163 | 0.509881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84628793fcdbba59d8ab4ec4c3c68fbc03f54880 | 5,539 | py | Python | tests/test_networking.py | LennyPhoenix/Jank-Engine | e67f758dcdc9945a1b6084cc5c53c560e510d1ca | [
"MIT"
] | 2 | 2020-08-05T15:22:36.000Z | 2020-09-26T19:28:59.000Z | tests/test_networking.py | LennyPhoenix/Jank-Engine | e67f758dcdc9945a1b6084cc5c53c560e510d1ca | [
"MIT"
] | 16 | 2020-06-17T12:53:44.000Z | 2020-10-01T19:07:04.000Z | tests/test_networking.py | DoAltPlusF4/Jank-Engine | e67f758dcdc9945a1b6084cc5c53c560e510d1ca | [
"MIT"
] | 1 | 2020-10-01T18:36:18.000Z | 2020-10-01T18:36:18.000Z | import time
import unittest
import jank
class TestNetworkingTCP(unittest.TestCase):
def test_server(self):
server = jank.networking.Server()
server.connect("localhost", 5550, False)
server.disconnect()
def test_server_add_protocol(self):
server = jank.networking.Server()
... | 28.699482 | 86 | 0.629897 | 565 | 5,539 | 6.054867 | 0.116814 | 0.130956 | 0.111079 | 0.098802 | 0.873137 | 0.808536 | 0.777843 | 0.667056 | 0.544285 | 0.544285 | 0 | 0.036866 | 0.255642 | 5,539 | 192 | 87 | 28.848958 | 0.792869 | 0 | 0 | 0.627737 | 0 | 0 | 0.069327 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 1 | 0.175182 | false | 0.029197 | 0.021898 | 0 | 0.211679 | 0.014599 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ffc2d546d3e4956e590e9ea991ef11262a14267a | 3,215 | py | Python | pyweather/cwmodel.py | ravigoel08/py-open-weather | 08e6945f78ab43112a84f6989677e4b4fd389ecf | [
"MIT"
] | 5 | 2021-01-05T09:46:10.000Z | 2021-05-26T10:58:18.000Z | pyweather/cwmodel.py | ravigoel08/py-open-weather | 08e6945f78ab43112a84f6989677e4b4fd389ecf | [
"MIT"
] | 1 | 2021-07-21T12:32:08.000Z | 2021-07-21T12:32:08.000Z | pyweather/cwmodel.py | ravigoel08/py-open-weather | 08e6945f78ab43112a84f6989677e4b4fd389ecf | [
"MIT"
] | 3 | 2021-01-18T13:14:13.000Z | 2021-04-26T14:14:54.000Z | from __future__ import annotations
from typing import List, Optional
from pydantic import BaseModel, Field
import orjson
def orjson_dumps(v, *, default):
# orjson.dumps returns bytes, to match standard json.dumps we need to decode
return orjson.dumps(v, default=default).decode()
class Coord(BaseModel):
... | 34.569892 | 112 | 0.684603 | 388 | 3,215 | 5.634021 | 0.322165 | 0.12763 | 0.283623 | 0.178866 | 0.370997 | 0.200823 | 0.120311 | 0.083715 | 0.083715 | 0.083715 | 0 | 0 | 0.205599 | 3,215 | 92 | 113 | 34.945652 | 0.855912 | 0.023017 | 0 | 0.056338 | 0 | 0 | 0.299777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.056338 | 0.014085 | 0.71831 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ffc4d2037c3954387e7882dfe1a2e10433ce5a55 | 505 | py | Python | FEMpy/__init__.py | A-Gray-94/FEMpy | f15af7b9eb592ea4e42e3472bf4672500d6b81f7 | [
"Apache-2.0"
] | null | null | null | FEMpy/__init__.py | A-Gray-94/FEMpy | f15af7b9eb592ea4e42e3472bf4672500d6b81f7 | [
"Apache-2.0"
] | 25 | 2021-08-02T03:58:30.000Z | 2021-09-26T18:33:04.000Z | FEMpy/__init__.py | A-Gray-94/FEMpy | f15af7b9eb592ea4e42e3472bf4672500d6b81f7 | [
"Apache-2.0"
] | 1 | 2021-12-27T18:40:04.000Z | 2021-12-27T18:40:04.000Z | __version__ = "0.0.1"
from .Element import *
from .QuadElement import *
from .SerendipityQuad import *
from .Lagrange1dElement import *
from .Constitutive import *
from .isoPlaneStrain import *
from .isoPlaneStress import *
from .OrthoPlaneStress import *
from .AxialBar import *
from .LagrangePoly import *
from .Gauss... | 24.047619 | 34 | 0.770297 | 59 | 505 | 6.525424 | 0.40678 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009324 | 0.150495 | 505 | 20 | 35 | 25.25 | 0.888112 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.947368 | 0 | 0.947368 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fff1c1f59f63810c16825a374b850781e4ea4856 | 544 | py | Python | src/doc/saludos.py | FoxNeo/MyPythonProjects | 3499ef0853f0087f6f143e1633b0a88a3d7b9818 | [
"MIT"
] | null | null | null | src/doc/saludos.py | FoxNeo/MyPythonProjects | 3499ef0853f0087f6f143e1633b0a88a3d7b9818 | [
"MIT"
] | null | null | null | src/doc/saludos.py | FoxNeo/MyPythonProjects | 3499ef0853f0087f6f143e1633b0a88a3d7b9818 | [
"MIT"
] | null | null | null | #pydoc - generate automat documentation
class Saludos:
"""
Esta es la documentación de la clase silla
Tendra dos funciones buenos_dias y adios
y ambas será necesario pasarle un parametro con el nombre de la persona
"""
def buenos_dias(self, nombre):
""" Sirve para dar los buenos días a ... | 36.266667 | 79 | 0.670956 | 74 | 544 | 4.905405 | 0.581081 | 0.022039 | 0.082645 | 0.104683 | 0.181818 | 0.181818 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0.242647 | 544 | 15 | 80 | 36.266667 | 0.881068 | 0.580882 | 0 | 0 | 1 | 0 | 0.11399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.4 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
08069e9533518c73fb8f7ad72868964a8b1d41a7 | 2,440 | py | Python | fsm.py | F74036386/telegramChatBot | 3ab75b827e7acd9d4c4674ff579739f246db0bf8 | [
"MIT"
] | null | null | null | fsm.py | F74036386/telegramChatBot | 3ab75b827e7acd9d4c4674ff579739f246db0bf8 | [
"MIT"
] | null | null | null | fsm.py | F74036386/telegramChatBot | 3ab75b827e7acd9d4c4674ff579739f246db0bf8 | [
"MIT"
] | null | null | null | from transitions.extensions import GraphMachine
class TocMachine(GraphMachine):
def __init__(self, **machine_configs):
self.machine = GraphMachine(
model = self,
**machine_configs
)
def is_going_to_92(self, update):
text = update.message.text
return tex... | 32.105263 | 66 | 0.634426 | 332 | 2,440 | 4.466867 | 0.168675 | 0.192852 | 0.182063 | 0.222522 | 0.688469 | 0.665543 | 0.643965 | 0.600809 | 0.600809 | 0.165206 | 0 | 0.016493 | 0.254508 | 2,440 | 75 | 67 | 32.533333 | 0.798791 | 0.104098 | 0 | 0.27451 | 0 | 0 | 0.135632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.019608 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
08107539dd544ae41547341032460da00df09bb3 | 1,463 | gyp | Python | binding.gyp | trackds/osi2-stream | a0630b3a3a2a7330c069696ad2985332ced4db29 | [
"MIT"
] | 2 | 2018-04-01T16:02:02.000Z | 2019-01-05T13:13:27.000Z | binding.gyp | trackds/osi2-stream | a0630b3a3a2a7330c069696ad2985332ced4db29 | [
"MIT"
] | 1 | 2018-01-31T11:58:56.000Z | 2018-01-31T11:59:02.000Z | binding.gyp | trackds/osi2-stream | a0630b3a3a2a7330c069696ad2985332ced4db29 | [
"MIT"
] | null | null | null | {
"targets":[
{
"target_name":"pcap_addon",
"sources":[
"./src/winpcap/pcap_addon.cc",
"./src/winpcap/pcapObjFactory.cc",
"./src/winpcap/commLib.cc"],
"include_dirs": [
"<!(node -e \"require('nan')\")",
... | 32.511111 | 65 | 0.285714 | 85 | 1,463 | 4.835294 | 0.411765 | 0.194647 | 0.189781 | 0.136253 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012598 | 0.56596 | 1,463 | 45 | 66 | 32.511111 | 0.634646 | 0 | 0 | 0.25 | 0 | 0 | 0.331284 | 0.186475 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
081836ffc8dd467c4671335ce78c041ebfde4501 | 925 | py | Python | bl4btc/btc/migrations/0024_auto_20161013_1903.py | llennox/projects | b52e9a56260a67a290492479a8792fad690b327a | [
"MIT"
] | null | null | null | bl4btc/btc/migrations/0024_auto_20161013_1903.py | llennox/projects | b52e9a56260a67a290492479a8792fad690b327a | [
"MIT"
] | null | null | null | bl4btc/btc/migrations/0024_auto_20161013_1903.py | llennox/projects | b52e9a56260a67a290492479a8792fad690b327a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-10-13 19:03
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('btc', '0023_auto_20160923_1904'),
]
operations = [
migrations.AddField(
... | 25.694444 | 62 | 0.566486 | 89 | 925 | 5.730337 | 0.58427 | 0.141176 | 0.180392 | 0.211765 | 0.145098 | 0.145098 | 0 | 0 | 0 | 0 | 0 | 0.061611 | 0.315676 | 925 | 35 | 63 | 26.428571 | 0.744076 | 0.073514 | 0 | 0.357143 | 1 | 0 | 0.105386 | 0.026932 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
081c8973f0c28a4ac1ba7350c8fdde34ba664764 | 142 | py | Python | venv/Lib/site-packages/execnet/_version.py | ksj-123/conduit | 3427d76d0fa364cb5d19bdd6da4aeb0a22fe9660 | [
"MIT"
] | 1 | 2021-06-07T17:07:58.000Z | 2021-06-07T17:07:58.000Z | venv/Lib/site-packages/execnet/_version.py | Arthii01052/conduit | 3427d76d0fa364cb5d19bdd6da4aeb0a22fe9660 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/execnet/_version.py | Arthii01052/conduit | 3427d76d0fa364cb5d19bdd6da4aeb0a22fe9660 | [
"MIT"
] | 1 | 2022-03-31T06:46:19.000Z | 2022-03-31T06:46:19.000Z | # coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
version = '1.9.0'
version_tuple = (1, 9, 0)
| 23.666667 | 46 | 0.704225 | 26 | 142 | 3.769231 | 0.730769 | 0.081633 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 0.169014 | 142 | 5 | 47 | 28.4 | 0.771186 | 0.640845 | 0 | 0 | 1 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
083871daa5577210514ffb477e59fca1c8e6a886 | 1,784 | py | Python | api/models.py | sirrobot01/bookhub-api | aebf951b9b4d6bd8ce5d5803cd6b7a2e4736e0b7 | [
"MIT"
] | 1 | 2020-08-16T22:44:55.000Z | 2020-08-16T22:44:55.000Z | api/models.py | sirrobot01/bookhub-api | aebf951b9b4d6bd8ce5d5803cd6b7a2e4736e0b7 | [
"MIT"
] | null | null | null | api/models.py | sirrobot01/bookhub-api | aebf951b9b4d6bd8ce5d5803cd6b7a2e4736e0b7 | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.db import models
from django.utils.text import slugify
# Create your models here.
User = get_user_model()
class ShelvesModel(models.Model):
user = models.ForeignKey(User, on_delete=models.CASCADE)
name = models.CharField(max_length=255)
descrip... | 30.237288 | 92 | 0.696188 | 228 | 1,784 | 5.311404 | 0.25 | 0.044591 | 0.06441 | 0.084228 | 0.705202 | 0.705202 | 0.679604 | 0.608588 | 0.608588 | 0.608588 | 0 | 0.006186 | 0.184417 | 1,784 | 58 | 93 | 30.758621 | 0.826117 | 0.013453 | 0 | 0.7 | 0 | 0 | 0.009101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.075 | 0.075 | 0.775 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
085354e9251719682ad1b68ecadaff7c7bd905d8 | 191 | py | Python | settings.py | eon01/imci | 189c0b1120bc30404997d4c5cd1c457bee6b321c | [
"MIT"
] | null | null | null | settings.py | eon01/imci | 189c0b1120bc30404997d4c5cd1c457bee6b321c | [
"MIT"
] | null | null | null | settings.py | eon01/imci | 189c0b1120bc30404997d4c5cd1c457bee6b321c | [
"MIT"
] | null | null | null | SOURCE = "http://tabinstore.fr"
HEADER = "User-Agent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
MAX_IMG_SIZE = 71680 # In Bytes
| 31.833333 | 124 | 0.717277 | 34 | 191 | 3.970588 | 0.882353 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167665 | 0.125654 | 191 | 5 | 125 | 38.2 | 0.640719 | 0.041885 | 0 | 0 | 0 | 0.333333 | 0.743017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f22a7939d36ce81485c575b8bc46a40bcd4136eb | 156 | py | Python | pathfinder/__init__.py | Acronexp/AwsmCogs | 6a49261292c28b2a4237d24b28b2cd7bf7562073 | [
"MIT"
] | null | null | null | pathfinder/__init__.py | Acronexp/AwsmCogs | 6a49261292c28b2a4237d24b28b2cd7bf7562073 | [
"MIT"
] | null | null | null | pathfinder/__init__.py | Acronexp/AwsmCogs | 6a49261292c28b2a4237d24b28b2cd7bf7562073 | [
"MIT"
] | null | null | null | from .pathfinder import Pathfinder
__red_end_user_data_statement__ = 'This cog does not store user data.'
def setup(bot):
bot.add_cog(Pathfinder(bot)) | 26 | 70 | 0.782051 | 24 | 156 | 4.708333 | 0.708333 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 156 | 6 | 71 | 26 | 0.837037 | 0 | 0 | 0 | 0 | 0 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f22e6e8729ccd5a5c582d574cc9c94f25ff77d23 | 180 | py | Python | exceptions/exceptions_AttributeError.py | all3g/pieces | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 34 | 2016-10-31T02:05:24.000Z | 2018-11-08T14:33:13.000Z | exceptions/exceptions_AttributeError.py | join-us/python-programming | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 2 | 2017-05-11T03:00:31.000Z | 2017-11-01T23:37:37.000Z | exceptions/exceptions_AttributeError.py | join-us/python-programming | bc378fd22ddc700891fe7f34ab0d5b341141e434 | [
"CNRI-Python"
] | 21 | 2016-08-19T09:05:45.000Z | 2018-11-08T14:33:16.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2008 Doug Hellmann All rights reserved.
#
class NoAttributes(object):
pass
o = NoAttributes()
print o.attribute
| 12.857143 | 55 | 0.666667 | 23 | 180 | 5.217391 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 0.183333 | 180 | 13 | 56 | 13.846154 | 0.782313 | 0.511111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0 | null | null | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f2300b6c56a4239090212b8b84d8510947a0d95a | 7,106 | py | Python | flatbuffers/python/quantra/FloatingRateBond.py | joseprupi/quantragrpc | 48192a1d490596115252c2ad33e2dee4e2b215b5 | [
"BSD-3-Clause"
] | null | null | null | flatbuffers/python/quantra/FloatingRateBond.py | joseprupi/quantragrpc | 48192a1d490596115252c2ad33e2dee4e2b215b5 | [
"BSD-3-Clause"
] | null | null | null | flatbuffers/python/quantra/FloatingRateBond.py | joseprupi/quantragrpc | 48192a1d490596115252c2ad33e2dee4e2b215b5 | [
"BSD-3-Clause"
] | null | null | null | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: quantra
import flatbuffers
from flatbuffers.compat import import_numpy
np = import_numpy()
class FloatingRateBond(object):
__slots__ = ['_tab']
@classmethod
def GetRootAs(cls, buf, offset=0):
n = flatbuffers.encode... | 43.595092 | 139 | 0.713904 | 795 | 7,106 | 6.281761 | 0.161006 | 0.050461 | 0.096916 | 0.061674 | 0.441129 | 0.434321 | 0.39988 | 0.313376 | 0.296155 | 0.296155 | 0 | 0.016263 | 0.186603 | 7,106 | 163 | 140 | 43.595092 | 0.847751 | 0.154658 | 0 | 0.305085 | 1 | 0 | 0.000675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.338983 | false | 0 | 0.042373 | 0.008475 | 0.711864 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f27690e1960cb6c36310abf8c00c1c44015847ab | 16,371 | py | Python | psx/_dump_/3/_dump_ida_/overlay_c/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 15 | 2018-06-28T01:11:25.000Z | 2021-09-27T15:57:18.000Z | psx/_dump_/3/_dump_ida_/overlay_c/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-29T04:08:23.000Z | 2019-10-17T13:57:22.000Z | psx/_dump_/3/_dump_ida_/overlay_c/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-28T01:11:34.000Z | 2020-05-23T09:21:48.000Z | set_name(0x8012EA14, "GameOnlyTestRoutine__Fv", SN_NOWARN)
set_name(0x8012EA1C, "vecleny__Fii", SN_NOWARN)
set_name(0x8012EA40, "veclenx__Fii", SN_NOWARN)
set_name(0x8012EA6C, "GetDamageAmt__FiPiT1", SN_NOWARN)
set_name(0x8012F0DC, "CheckBlock__Fiiii", SN_NOWARN)
set_name(0x8012F22C, "FindClosest__Fiii", SN_NOWARN)
set... | 53.325733 | 65 | 0.831776 | 2,263 | 16,371 | 5.421564 | 0.289439 | 0.174586 | 0.273453 | 0.372891 | 0.445758 | 0.007662 | 0 | 0 | 0 | 0 | 0 | 0.155374 | 0.056075 | 16,371 | 306 | 66 | 53.5 | 0.638582 | 0 | 0 | 0 | 0 | 0 | 0.327103 | 0.098711 | 0 | 0 | 0.186916 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
f27b2488336a01e59eb164874998ab36055cbb46 | 2,099 | bzl | Python | zola_deps.bzl | silvergasp/bazel_rules_zola | 6f800b9b6597fd4e4d7fe70450c207f62dc1a5bf | [
"MIT"
] | null | null | null | zola_deps.bzl | silvergasp/bazel_rules_zola | 6f800b9b6597fd4e4d7fe70450c207f62dc1a5bf | [
"MIT"
] | 2 | 2021-08-30T09:44:17.000Z | 2021-09-17T02:58:45.000Z | zola_deps.bzl | silvergasp/bazel_rules_zola | 6f800b9b6597fd4e4d7fe70450c207f62dc1a5bf | [
"MIT"
] | null | null | null | """ Third party dependencies for this project. """
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def zola_deps():
""" Fetches the dependencies for the zola project. """
if "zola-v0-14-1-x86-64-unknown-linux-gnu" not in native.existing_rules():
http_archive(
name = "z... | 56.72973 | 130 | 0.658885 | 278 | 2,099 | 4.859712 | 0.215827 | 0.044412 | 0.055514 | 0.079941 | 0.638786 | 0.638786 | 0.638786 | 0.634345 | 0.562546 | 0.458919 | 0 | 0.165485 | 0.193902 | 2,099 | 36 | 131 | 58.305556 | 0.632979 | 0.042878 | 0 | 0.125 | 0 | 0.21875 | 0.621554 | 0.353383 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | true | 0 | 0 | 0 | 0.03125 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f28d315cb1f22067583bf2663dd6cf1e2cbae6d4 | 1,277 | py | Python | unsupervisedRR/utils/io.py | Sebastian-Jung/unsupervisedRR | f4178d8187f78cc842981c163d9c5d5f3a2a1343 | [
"MIT"
] | 105 | 2021-02-24T03:21:52.000Z | 2022-03-30T03:39:49.000Z | unsupervisedRR/utils/io.py | Sebastian-Jung/unsupervisedRR | f4178d8187f78cc842981c163d9c5d5f3a2a1343 | [
"MIT"
] | 2 | 2021-04-15T12:33:21.000Z | 2021-07-22T18:41:01.000Z | unsupervisedRR/utils/io.py | Sebastian-Jung/unsupervisedRR | f4178d8187f78cc842981c163d9c5d5f3a2a1343 | [
"MIT"
] | 12 | 2021-02-24T03:31:48.000Z | 2021-09-24T12:00:35.000Z | """
Some useful I/O functions
"""
import os
import pickle
import shutil
# get all directories in a specific directory
def get_directories(path):
return [f for f in os.listdir(path) if os.path.isdir(os.path.join(path, f))]
# get all the files in a specific directory
# extension can be string or tuple of strings
... | 23.648148 | 82 | 0.68285 | 202 | 1,277 | 4.277228 | 0.361386 | 0.048611 | 0.038194 | 0.069444 | 0.260417 | 0.09375 | 0.064815 | 0.064815 | 0.064815 | 0.064815 | 0 | 0 | 0.209867 | 1,277 | 53 | 83 | 24.09434 | 0.856293 | 0.233359 | 0 | 0.071429 | 0 | 0 | 0.037344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.107143 | 0.107143 | 0.535714 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f2abdf6724c13b52a9cd2263bd9d2e4d175914fe | 160 | py | Python | kreate/dependency_stopwords.py | kreate-io/kreate | 4224487af9f928ff69bce1cde1f2ec73e3e44d9e | [
"MIT"
] | 8 | 2018-04-24T15:02:07.000Z | 2018-04-27T04:52:48.000Z | kreate/dependency_stopwords.py | kreate-io/kreate | 4224487af9f928ff69bce1cde1f2ec73e3e44d9e | [
"MIT"
] | null | null | null | kreate/dependency_stopwords.py | kreate-io/kreate | 4224487af9f928ff69bce1cde1f2ec73e3e44d9e | [
"MIT"
] | null | null | null | def get():
return [
'const',
'var',
'import',
'require',
'using',
'load',
'from',
'as'
] | 14.545455 | 18 | 0.3 | 11 | 160 | 4.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.525 | 160 | 11 | 19 | 14.545455 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.223602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0.090909 | 0.090909 | 0.272727 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b31c41b0f8ed069a866c5709f1ef2952bd51210 | 116 | py | Python | anonimas.py | franlop24/lambdasComprehentionsPython | dbfd94dfe9f7aeb5d5cd15479ef2286c22dd177e | [
"MIT"
] | null | null | null | anonimas.py | franlop24/lambdasComprehentionsPython | dbfd94dfe9f7aeb5d5cd15479ef2286c22dd177e | [
"MIT"
] | null | null | null | anonimas.py | franlop24/lambdasComprehentionsPython | dbfd94dfe9f7aeb5d5cd15479ef2286c22dd177e | [
"MIT"
] | null | null | null | def cuadrado1(num1):
return num1**2
cuadrado2 = lambda num1: num1 ** 2
print(cuadrado1(5))
print(cuadrado2(5)) | 16.571429 | 34 | 0.698276 | 17 | 116 | 4.764706 | 0.529412 | 0.123457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0.155172 | 116 | 7 | 35 | 16.571429 | 0.704082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
4b5fd035d27ea33665b388902f9329a105dd0448 | 402 | py | Python | src/commands/inject-qmk.py | kivhift/qmk | 4f67242267713d4f9f7e74cd5704498191a982d0 | [
"MIT"
] | 2 | 2015-06-22T05:44:12.000Z | 2020-08-03T15:49:58.000Z | src/commands/inject-qmk.py | kivhift/qmk | 4f67242267713d4f9f7e74cd5704498191a982d0 | [
"MIT"
] | null | null | null | src/commands/inject-qmk.py | kivhift/qmk | 4f67242267713d4f9f7e74cd5704498191a982d0 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2012 Joshua Hughes <kivhift@gmail.com>
#
import qmk
class InjectQMKCommand(qmk.Command):
'''Inject the QMK.'''
def __init__(self):
super(InjectQMKCommand, self).__init__(self)
self._name = 'INJECT-QMK'
self._help = self.__doc__
def action(self, arg):
qmk.I... | 23.647059 | 54 | 0.659204 | 44 | 402 | 5.704545 | 0.636364 | 0.063745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012539 | 0.206468 | 402 | 16 | 55 | 25.125 | 0.774295 | 0.171642 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4b7e54aadb00e01a1c786159e4106700de252144 | 927 | py | Python | leo/database/strategy_backtesting_service_impl.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | leo/database/strategy_backtesting_service_impl.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | leo/database/strategy_backtesting_service_impl.py | Leonardo-YXH/easytrader | 2216f2c45ad333afc13ab90ed4bfbc39708c31f5 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
"""
@author: leonardo
@created time: 2020-11-03
@last modified time:2020-11-03
"""
def select(engine, backtesting_id):
"""
:param engine:
:param backtesting_id:
:return:
"""
sql = 'SELECT * from strategy_backtesting where backtesting_id="{}"'.format(backtesting_id)
... | 29.903226 | 248 | 0.709817 | 116 | 927 | 5.413793 | 0.318966 | 0.144904 | 0.095541 | 0.038217 | 0.213376 | 0.140127 | 0.140127 | 0 | 0 | 0 | 0 | 0.021767 | 0.157497 | 927 | 30 | 249 | 30.9 | 0.78233 | 0.194175 | 0 | 0 | 0 | 0.125 | 0.636758 | 0.460203 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b8152500e25ed4610eef4a3d42119e345b969bf | 3,440 | py | Python | nrn_impl/neuron_models.py | Silmathoron/elif-madexp | 2555b3078c4106f79e3477a818a8f9d4ca76eccf | [
"BSD-2-Clause"
] | null | null | null | nrn_impl/neuron_models.py | Silmathoron/elif-madexp | 2555b3078c4106f79e3477a818a8f9d4ca76eccf | [
"BSD-2-Clause"
] | null | null | null | nrn_impl/neuron_models.py | Silmathoron/elif-madexp | 2555b3078c4106f79e3477a818a8f9d4ca76eccf | [
"BSD-2-Clause"
] | 1 | 2022-02-04T16:34:47.000Z | 2022-02-04T16:34:47.000Z | from functools import reduce
from math import pi
from neuron import h
def _new_property(obj_hierarchy, attr_name):
"""
Returns a new property, mapping attr_name to obj_hierarchy.attr_name.
For example, suppose that an object of class A has an attribute b which
itself has an attribute c which itself h... | 27.52 | 75 | 0.611628 | 509 | 3,440 | 3.738703 | 0.182711 | 0.196532 | 0.260641 | 0.071466 | 0.680504 | 0.65423 | 0.65423 | 0.615344 | 0.615344 | 0.615344 | 0 | 0.010485 | 0.251453 | 3,440 | 124 | 76 | 27.741935 | 0.728544 | 0.088663 | 0 | 0.758621 | 0 | 0 | 0.109607 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.149425 | false | 0 | 0.034483 | 0.045977 | 0.632184 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
298e489333e0c2dc375cbf3d789f40c5d1a3b17c | 4,252 | py | Python | alerts/migrations/0001_initial.py | dymaxionlabs/satlomas-back | f4568f6535755fd4a2432ecc661a264872206c6c | [
"Apache-2.0"
] | 1 | 2021-02-18T20:11:25.000Z | 2021-02-18T20:11:25.000Z | alerts/migrations/0001_initial.py | dymaxionlabs/satlomas-back | f4568f6535755fd4a2432ecc661a264872206c6c | [
"Apache-2.0"
] | 7 | 2020-06-09T14:54:43.000Z | 2021-09-22T21:00:13.000Z | alerts/migrations/0001_initial.py | dymaxionlabs/satlomas-back | f4568f6535755fd4a2432ecc661a264872206c6c | [
"Apache-2.0"
] | 1 | 2020-05-08T20:42:49.000Z | 2020-05-08T20:42:49.000Z | # Generated by Django 3.0.5 on 2020-04-14 15:25
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('contenttypes', '0002_remove_content_type_name'),
migrations.swa... | 42.949495 | 79 | 0.440734 | 315 | 4,252 | 5.75873 | 0.31746 | 0.035281 | 0.054024 | 0.084895 | 0.701213 | 0.683021 | 0.683021 | 0.683021 | 0.661522 | 0.661522 | 0 | 0.013141 | 0.445202 | 4,252 | 98 | 80 | 43.387755 | 0.755829 | 0.010583 | 0 | 0.725275 | 1 | 0 | 0.147919 | 0.049703 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032967 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
29f5e4a6ec22329c05592e8ee55385af80184168 | 1,593 | py | Python | drl/algos/base.py | seba-1511/dist_rl.pth | 0d2a24feff17f80dc2c75682889899feed13dfe6 | [
"Apache-2.0"
] | null | null | null | drl/algos/base.py | seba-1511/dist_rl.pth | 0d2a24feff17f80dc2c75682889899feed13dfe6 | [
"Apache-2.0"
] | null | null | null | drl/algos/base.py | seba-1511/dist_rl.pth | 0d2a24feff17f80dc2c75682889899feed13dfe6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from torch import nn
class BaseAgent(nn.Module):
"""
The base of all agents.
"""
def __init__(self):
super(BaseAgent, self).__init__()
def reset_stats(self, stats):
""" Resets all statistics or sets them to `stats`. """
raise NotImplementedError()
... | 28.446429 | 97 | 0.605148 | 198 | 1,593 | 4.792929 | 0.454545 | 0.028451 | 0.029505 | 0.044257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276836 | 1,593 | 55 | 98 | 28.963636 | 0.823785 | 0.321406 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.423077 | false | 0.076923 | 0.038462 | 0 | 0.653846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4b0af8006aa2316991c5872c87d060df83923e40 | 254 | py | Python | ftp_proxy/ftp_proxy_exceptions.py | mrmucox/ftp_proxy | 78f0c420b10777600652d65e8760558ae208031c | [
"Unlicense"
] | 1 | 2020-04-16T13:14:39.000Z | 2020-04-16T13:14:39.000Z | ftp_proxy/ftp_proxy_exceptions.py | mrmucox/ftp_proxy | 78f0c420b10777600652d65e8760558ae208031c | [
"Unlicense"
] | 1 | 2020-07-08T20:03:10.000Z | 2020-07-10T18:48:17.000Z | ftp_proxy/ftp_proxy_exceptions.py | mrmucox/ftp_proxy | 78f0c420b10777600652d65e8760558ae208031c | [
"Unlicense"
] | 1 | 2021-04-02T23:48:26.000Z | 2021-04-02T23:48:26.000Z | class ProxyException(Exception):
"""Proxy returned an error."""
def __init__(self, message='Proxy returned an error.'):
# Call the base class constructor with the parameters it needs
super(ProxyException, self).__init__(message)
| 36.285714 | 70 | 0.704724 | 30 | 254 | 5.7 | 0.666667 | 0.152047 | 0.175439 | 0.233918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 254 | 6 | 71 | 42.333333 | 0.838235 | 0.338583 | 0 | 0 | 0 | 0 | 0.149068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b0d589c5492992611b2a95c8ae5fa65d7f5e606 | 1,395 | py | Python | logging_learning/boss_logging/tasks/__init__.py | bossjones/todayilearned | 46bdf912666018eb50902bd19512e4004db09e23 | [
"Apache-2.0"
] | null | null | null | logging_learning/boss_logging/tasks/__init__.py | bossjones/todayilearned | 46bdf912666018eb50902bd19512e4004db09e23 | [
"Apache-2.0"
] | null | null | null | logging_learning/boss_logging/tasks/__init__.py | bossjones/todayilearned | 46bdf912666018eb50902bd19512e4004db09e23 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=wrong-import-position, wrong-import-order, invalid-name
"""
Invoke build script.
Show all tasks with::
invoke -l
.. seealso::
* http://pyinvoke.org
* https://github.com/pyinvoke/invoke
"""
###############################################################################
# Catch exceptions an... | 33.214286 | 115 | 0.681004 | 171 | 1,395 | 5.45614 | 0.51462 | 0.028939 | 0.045016 | 0.061093 | 0.299035 | 0.299035 | 0.299035 | 0.299035 | 0.299035 | 0.299035 | 0 | 0.035172 | 0.103226 | 1,395 | 41 | 116 | 34.02439 | 0.710631 | 0.648746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d99cbdf7f9eb92bc837c0fe3cd64dc36ce2044fd | 474 | py | Python | tests/units/test_prefixes.py | dengbangjie/hepunits | 4eb5ef53b2e366990fca24b163c42af7d3ba593d | [
"BSD-3-Clause"
] | null | null | null | tests/units/test_prefixes.py | dengbangjie/hepunits | 4eb5ef53b2e366990fca24b163c42af7d3ba593d | [
"BSD-3-Clause"
] | null | null | null | tests/units/test_prefixes.py | dengbangjie/hepunits | 4eb5ef53b2e366990fca24b163c42af7d3ba593d | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# Licensed under a 3-clause BSD style license, see LICENSE.
"""
Tests for the hepunits.units.prefixes module.
"""
from pytest import approx
from math import log
from hepunits.units import mega, micro, yotta, yocto, kibi, tebi
def test_prefixes_e6():
assert 4 * mega == 1. / 0.25 / micro
... | 18.96 | 64 | 0.685654 | 73 | 474 | 4.369863 | 0.616438 | 0.065831 | 0.141066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041995 | 0.196203 | 474 | 24 | 65 | 19.75 | 0.795276 | 0.261603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.3 | true | 0 | 0.3 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d9c31e2841d98d2855642c42b9952fce07e88169 | 766 | py | Python | backend/api/blog/types.py | marlenebDC/pycon | 175f2ee9e8698bbcf15dd33d2eb4739fee04c6d7 | [
"MIT"
] | null | null | null | backend/api/blog/types.py | marlenebDC/pycon | 175f2ee9e8698bbcf15dd33d2eb4739fee04c6d7 | [
"MIT"
] | null | null | null | backend/api/blog/types.py | marlenebDC/pycon | 175f2ee9e8698bbcf15dd33d2eb4739fee04c6d7 | [
"MIT"
] | null | null | null | from typing import Optional
import strawberry
from api.scalars import DateTime
from api.users.types import User
from ..helpers.i18n import make_localized_resolver
@strawberry.type
class Post:
id: strawberry.ID
author: User
title: str = strawberry.field(resolver=make_localized_resolver("title"))
slug... | 29.461538 | 80 | 0.737598 | 95 | 766 | 5.821053 | 0.442105 | 0.117541 | 0.189873 | 0.188065 | 0.339964 | 0.339964 | 0.339964 | 0 | 0 | 0 | 0 | 0.003125 | 0.164491 | 766 | 25 | 81 | 30.64 | 0.860938 | 0 | 0 | 0 | 0 | 0 | 0.039164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.263158 | 0 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d9d8b89cfbdcc52e92f8b1742f33241ee963b0b9 | 907 | py | Python | Assigments/Assigment8/Tests/test_bst_print.py | mevljas/Quality_and_testing | 6a39610084b1538eae270682a6842270e8971b7f | [
"MIT"
] | null | null | null | Assigments/Assigment8/Tests/test_bst_print.py | mevljas/Quality_and_testing | 6a39610084b1538eae270682a6842270e8971b7f | [
"MIT"
] | null | null | null | Assigments/Assigment8/Tests/test_bst_print.py | mevljas/Quality_and_testing | 6a39610084b1538eae270682a6842270e8971b7f | [
"MIT"
] | null | null | null | import pexpect
def test_bst_print():
baza = pexpect.pexpect()
try:
baza.expect("Enter command: ")
baza.send("use bst")
baza.expect("OK")
baza.expect("Enter command: ")
baza.send("add 1")
baza.expect("OK")
baza.expect("Enter command: ")
baza.s... | 19.297872 | 40 | 0.528115 | 103 | 907 | 4.495146 | 0.281553 | 0.323974 | 0.226782 | 0.332613 | 0.604752 | 0.604752 | 0.522678 | 0.38013 | 0.38013 | 0.289417 | 0 | 0.009646 | 0.314223 | 907 | 46 | 41 | 19.717391 | 0.734727 | 0 | 0 | 0.40625 | 0 | 0 | 0.222958 | 0.048565 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0.03125 | 0.03125 | 0 | 0.0625 | 0.15625 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d9dc92ad057e169878294d5c088f21a8f559b969 | 5,352 | py | Python | temboo/core/Library/MailChimp/ListBatchUnsubscribe.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/MailChimp/ListBatchUnsubscribe.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/MailChimp/ListBatchUnsubscribe.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | # -*- coding: utf-8 -*-
###############################################################################
#
# ListBatchUnsubscribe
# Unsubscribes one or more members from a MailChimp list.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License")... | 45.355932 | 253 | 0.692078 | 640 | 5,352 | 5.714063 | 0.295313 | 0.027345 | 0.02297 | 0.028712 | 0.342631 | 0.247471 | 0.200711 | 0.124145 | 0.124145 | 0.10227 | 0 | 0.005829 | 0.198617 | 5,352 | 117 | 254 | 45.74359 | 0.846817 | 0.505979 | 0 | 0 | 0 | 0 | 0.055759 | 0.017825 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.128205 | 0.128205 | 0.794872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8a46af0a672739d5ea413f0d455fe993f63868cc | 1,413 | py | Python | fn_datatable_utils/setup.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2020-08-25T03:43:07.000Z | 2020-08-25T03:43:07.000Z | fn_datatable_utils/setup.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2019-07-08T16:57:48.000Z | 2019-07-08T16:57:48.000Z | fn_datatable_utils/setup.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='fn_datatable_utils',
version='1.0.0',
license='MIT',
author='Resilient Labs',
author_email='resil.labs@gmail.com',
url='http://ibm.biz/resilientcommunity',
description="Resilient Circuits... | 40.371429 | 118 | 0.720453 | 145 | 1,413 | 6.737931 | 0.489655 | 0.101331 | 0.14739 | 0.079836 | 0.218014 | 0.218014 | 0.116684 | 0.116684 | 0 | 0 | 0 | 0.006768 | 0.163482 | 1,413 | 35 | 119 | 40.371429 | 0.819797 | 0.029724 | 0 | 0.1 | 0 | 0 | 0.632847 | 0.429197 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.033333 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a4db0296accf85603a2cbdb383c2eb700b6de61 | 270 | py | Python | nevermined_gateway/myapp.py | nevermined-io/gateway | 03e1a63f1de4083ff9a3b22516566633baaffa35 | [
"Apache-2.0"
] | 1 | 2020-12-02T16:01:04.000Z | 2020-12-02T16:01:04.000Z | nevermined_gateway/myapp.py | nevermined-io/gateway | 03e1a63f1de4083ff9a3b22516566633baaffa35 | [
"Apache-2.0"
] | 19 | 2021-02-23T10:10:04.000Z | 2022-03-22T09:14:04.000Z | nevermined_gateway/myapp.py | nevermined-io/gateway | 03e1a63f1de4083ff9a3b22516566633baaffa35 | [
"Apache-2.0"
] | null | null | null | import os
from flask import Flask
from flask_cors import CORS
app = Flask(__name__)
CORS(app)
if 'CONFIG_FILE' in os.environ and os.environ['CONFIG_FILE']:
app.config['CONFIG_FILE'] = os.environ['CONFIG_FILE']
else:
app.config['CONFIG_FILE'] = 'config.ini'
| 18 | 61 | 0.722222 | 42 | 270 | 4.404762 | 0.357143 | 0.27027 | 0.162162 | 0.205405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 270 | 14 | 62 | 19.285714 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8a9e40716ee0025190ba0b2c56176436caa6eec8 | 91 | py | Python | machines/apps.py | mkschu/greensManagerDjango | 842f6cc0e5bc9fa5f36e5d996960900886d3370a | [
"Apache-2.0"
] | null | null | null | machines/apps.py | mkschu/greensManagerDjango | 842f6cc0e5bc9fa5f36e5d996960900886d3370a | [
"Apache-2.0"
] | 1 | 2022-02-10T10:54:20.000Z | 2022-02-10T10:54:20.000Z | machines/apps.py | mkschu/greensManagerDjango | 842f6cc0e5bc9fa5f36e5d996960900886d3370a | [
"Apache-2.0"
] | 1 | 2018-11-19T23:17:52.000Z | 2018-11-19T23:17:52.000Z | from django.apps import AppConfig
class MachinesConfig(AppConfig):
name = 'machines'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 | 0 | 0 | 0 | 3 |
8aa4d5d2a036a0f8ac927e13b5c8238619766a75 | 258 | py | Python | lesson_08_misc/task02.py | groall/python_learning | dc054d99d825fbbf94f4c2a211fd2cb35f897867 | [
"Apache-2.0"
] | null | null | null | lesson_08_misc/task02.py | groall/python_learning | dc054d99d825fbbf94f4c2a211fd2cb35f897867 | [
"Apache-2.0"
] | null | null | null | lesson_08_misc/task02.py | groall/python_learning | dc054d99d825fbbf94f4c2a211fd2cb35f897867 | [
"Apache-2.0"
] | 4 | 2018-01-22T12:52:02.000Z | 2018-01-22T15:32:27.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Дано натуральное число n. Выведите все числа от 1 до n. Без использования циклов.
def print_and_decr(i: int) -> int:
print("%d\n", i)
i -= 1
if i > 1:
print_and_decr(i)
print_and_decr(821)
| 17.2 | 83 | 0.608527 | 44 | 258 | 3.431818 | 0.636364 | 0.15894 | 0.238411 | 0.172185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.24031 | 258 | 14 | 84 | 18.428571 | 0.734694 | 0.465116 | 0 | 0 | 0 | 0 | 0.02963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
8aafad87d55159d539cbacf91e808927b64f190f | 2,862 | py | Python | v2.5.7/otp/chat/TalkMessage.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-01T15:46:43.000Z | 2021-07-23T16:26:48.000Z | v1.0.0.test/otp/chat/TalkMessage.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 1 | 2019-06-29T03:40:05.000Z | 2021-06-13T01:15:16.000Z | v2.5.7/otp/chat/TalkMessage.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-28T21:18:46.000Z | 2021-02-25T06:37:25.000Z |
class TalkMessage:
def __init__(self, messageId, timeStamp, body, senderAvatarId, senderAvatarName, senderAccountId, senderAccountName, receiverAvatarId, receiverAvatarName, receiverAccountId, receiverAccountName, talkType, extraInfo=None):
self.timeStamp = timeStamp
self.body = body
self... | 29.8125 | 225 | 0.71768 | 227 | 2,862 | 9.030837 | 0.207048 | 0.063415 | 0.08878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221523 | 2,862 | 96 | 226 | 29.8125 | 0.920108 | 0 | 0 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.402985 | false | 0 | 0 | 0.19403 | 0.61194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8ab3497ffa56bf001300b05589591eda2c643878 | 99 | py | Python | example/login.py | Billal06/igtools3 | 43bdd72f879c1acc61aa384cfce6fbd8d4a1d457 | [
"MIT"
] | null | null | null | example/login.py | Billal06/igtools3 | 43bdd72f879c1acc61aa384cfce6fbd8d4a1d457 | [
"MIT"
] | null | null | null | example/login.py | Billal06/igtools3 | 43bdd72f879c1acc61aa384cfce6fbd8d4a1d457 | [
"MIT"
] | null | null | null | import igtools3, sys
u = sys.argv[1]
p = sys.argv[2]
l = igtools3.Session()
print (l.login(u, p))
| 14.142857 | 22 | 0.646465 | 19 | 99 | 3.368421 | 0.631579 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.161616 | 99 | 6 | 23 | 16.5 | 0.722892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ac969e39330f18e8e5472519f720c7af7cdea07 | 1,513 | py | Python | levelprocesser.py | dziedzic99/pycman | dc57f28adc3078ec11ecc07fde542c2404d503ab | [
"MIT"
] | null | null | null | levelprocesser.py | dziedzic99/pycman | dc57f28adc3078ec11ecc07fde542c2404d503ab | [
"MIT"
] | null | null | null | levelprocesser.py | dziedzic99/pycman | dc57f28adc3078ec11ecc07fde542c2404d503ab | [
"MIT"
] | null | null | null | from PIL import Image
import resources
def readlevel(file):
# level-loading procedure with input of gamesize^2 bitmap level file
level = [[resources.constants.leveldef['nothing'] for i in range(resources.constants.gamesize)] for j in range(resources.constants.gamesize)]
im = Image.open(resources.paths.lev... | 54.035714 | 145 | 0.645737 | 168 | 1,513 | 5.779762 | 0.279762 | 0.352214 | 0.214212 | 0.23069 | 0.652935 | 0.436663 | 0.129763 | 0 | 0 | 0 | 0 | 0.002562 | 0.226041 | 1,513 | 27 | 146 | 56.037037 | 0.826644 | 0.043622 | 0 | 0 | 0 | 0 | 0.072664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76e0c107e15735beb96c1872e87776daafde72fa | 42,156 | py | Python | sudoku-server/puzzles.py | sandialabs/sudoku-online | fc55b8bce2ca9e23354e2e7b8a4368994010f7a5 | [
"MIT"
] | 2 | 2021-08-15T04:08:52.000Z | 2021-11-29T02:54:41.000Z | sudoku-server/puzzles.py | sandialabs/sudoku-online | fc55b8bce2ca9e23354e2e7b8a4368994010f7a5 | [
"MIT"
] | null | null | null | sudoku-server/puzzles.py | sandialabs/sudoku-online | fc55b8bce2ca9e23354e2e7b8a4368994010f7a5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Andy Wilson, Michael Darling, David Stracuzzi, Shelley Leger
Sandia National Laboratories
February 25, 2020
Defines set of test sudoku problems to use to test the sudoku infrastructure
"""
puzzles = {
'test2-i24e40': '30000070000000100000006000000070001540030000... | 73.699301 | 180 | 0.61799 | 5,631 | 42,156 | 4.539336 | 0.112236 | 0.055162 | 0.068464 | 0.031924 | 0.635617 | 0.621885 | 0.599351 | 0.586206 | 0.576425 | 0.569813 | 0 | 0.194812 | 0.187945 | 42,156 | 571 | 181 | 73.828371 | 0.551865 | 0.180449 | 0 | 0.472772 | 0 | 0.532178 | 0.788207 | 0.507473 | 0 | 0 | 0 | 0.001751 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76e3f113a62b62b31608ca1aafb57c4dcc7e6ebb | 281 | py | Python | basic/messages/admin.py | neechadi/django-basic-apps | 3a90090857549ea4198a72c44f45f6edb238e2a8 | [
"BSD-3-Clause"
] | 548 | 2015-01-02T21:41:29.000Z | 2022-03-23T09:10:04.000Z | basic/messages/admin.py | neechadi/django-basic-apps | 3a90090857549ea4198a72c44f45f6edb238e2a8 | [
"BSD-3-Clause"
] | 4 | 2015-01-13T16:27:02.000Z | 2016-11-01T01:51:31.000Z | basic/messages/admin.py | neechadi/django-basic-apps | 3a90090857549ea4198a72c44f45f6edb238e2a8 | [
"BSD-3-Clause"
] | 182 | 2015-01-02T21:41:29.000Z | 2021-08-09T07:01:07.000Z | from django.contrib import admin
from basic.messages.models import Message
class MessageAdmin(admin.ModelAdmin):
list_display = ('from_user', 'to_user', 'subject', 'to_status', 'from_status', 'created', 'content_type', 'object_id')
admin.site.register(Message, MessageAdmin)
| 35.125 | 122 | 0.765125 | 36 | 281 | 5.777778 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099644 | 281 | 7 | 123 | 40.142857 | 0.822134 | 0 | 0 | 0 | 0 | 0 | 0.252669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
76e8592e5fbf2f8e3d6d273c68758e6902fef2c3 | 144 | py | Python | Tests/alltests/reg.py | coderabhishek/Glue | d522608798c1c050baafe077d5599dce359bd7da | [
"BSD-3-Clause"
] | 1 | 2016-10-12T22:19:45.000Z | 2016-10-12T22:19:45.000Z | Tests/alltests/reg.py | coderabhishek/Glue | d522608798c1c050baafe077d5599dce359bd7da | [
"BSD-3-Clause"
] | null | null | null | Tests/alltests/reg.py | coderabhishek/Glue | d522608798c1c050baafe077d5599dce359bd7da | [
"BSD-3-Clause"
] | null | null | null | import re
l = ["Abhishek00","Apple12","Code","Netherlands"] : vector<std::string>
for s in l:
if re.search("[A-Z][a-z]*[0-9]+",s):
print s
| 18 | 71 | 0.597222 | 26 | 144 | 3.307692 | 0.769231 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.138889 | 144 | 7 | 72 | 20.571429 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0.340278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76ea30c801e8f682f48b3afd54c36ea76eee8883 | 10,648 | py | Python | sympy/integrals/rubi/rubi_tests/tests/test_1_4.py | jainachal03/sympy | 7dbc2f49370b31ac6960524ea7e5444e2e5a50d5 | [
"BSD-3-Clause"
] | 1 | 2018-11-20T11:40:30.000Z | 2018-11-20T11:40:30.000Z | sympy/integrals/rubi/rubi_tests/tests/test_1_4.py | jainachal03/sympy | 7dbc2f49370b31ac6960524ea7e5444e2e5a50d5 | [
"BSD-3-Clause"
] | 14 | 2018-02-08T10:11:03.000Z | 2019-04-16T10:32:46.000Z | sympy/integrals/rubi/rubi_tests/tests/test_1_4.py | jainachal03/sympy | 7dbc2f49370b31ac6960524ea7e5444e2e5a50d5 | [
"BSD-3-Clause"
] | 1 | 2020-09-09T20:41:34.000Z | 2020-09-09T20:41:34.000Z | import sys
from sympy.external import import_module
matchpy = import_module("matchpy")
if not matchpy:
#bin/test will not execute any tests now
disabled = True
if sys.version_info[:2] < (3, 6):
disabled = True
from sympy.integrals.rubi.rubi import rubi_integrate
from sympy.functions import log, sqrt, exp... | 122.390805 | 818 | 0.431818 | 2,752 | 10,648 | 1.65843 | 0.050872 | 0.053024 | 0.034838 | 0.020158 | 0.717134 | 0.644829 | 0.536372 | 0.498028 | 0.456398 | 0.413015 | 0 | 0.043201 | 0.176089 | 10,648 | 86 | 819 | 123.813953 | 0.477032 | 0.132795 | 0 | 0.225352 | 0 | 0 | 0.004561 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 1 | 0.042254 | false | 0 | 0.28169 | 0 | 0.323944 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76ed1e133f468cdb9a4009703030d4ce91f71df2 | 685 | py | Python | packages/pyright-internal/src/tests/samples/annotatedVar2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 4,391 | 2019-05-07T01:18:57.000Z | 2022-03-31T20:45:44.000Z | packages/pyright-internal/src/tests/samples/annotatedVar2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 2,740 | 2019-05-07T03:29:30.000Z | 2022-03-31T12:57:46.000Z | packages/pyright-internal/src/tests/samples/annotatedVar2.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 455 | 2019-05-07T12:55:14.000Z | 2022-03-31T17:09:15.000Z | # This sample tests annotated types on global variables.
# This should generate an error because the declared
# type below does not match the assigned type.
glob_var1 = 4
# This should generate an error because the declared
# type doesn't match the later declared type.
glob_var1 = Exception() # type: str
glob_var1 ... | 23.62069 | 56 | 0.727007 | 102 | 685 | 4.794118 | 0.343137 | 0.09816 | 0.184049 | 0.204499 | 0.501022 | 0.435583 | 0.368098 | 0.192229 | 0.192229 | 0 | 0 | 0.02403 | 0.210219 | 685 | 28 | 57 | 24.464286 | 0.879852 | 0.654015 | 0 | 0.2 | 1 | 0 | 0.044843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a169190bfdae770c1bbd3443788096204e6e1e4 | 515 | py | Python | tests/models.py | AtteqCom/zsl_openapi | 0d9fac32ae3516b2f53a302716f162a4d688bed0 | [
"BSD-2-Clause"
] | null | null | null | tests/models.py | AtteqCom/zsl_openapi | 0d9fac32ae3516b2f53a302716f162a4d688bed0 | [
"BSD-2-Clause"
] | null | null | null | tests/models.py | AtteqCom/zsl_openapi | 0d9fac32ae3516b2f53a302716f162a4d688bed0 | [
"BSD-2-Clause"
] | null | null | null | from sqlalchemy.sql.schema import Column
from sqlalchemy.sql.sqltypes import DateTime
from sqlalchemy.sql.sqltypes import Integer
from sqlalchemy.sql.sqltypes import String
from zsl.db.model.sql_alchemy import DeclarativeBase
class User(DeclarativeBase):
__tablename__ = 'user'
__table_args__ = {'useexisting':... | 32.1875 | 52 | 0.765049 | 64 | 515 | 5.984375 | 0.484375 | 0.146214 | 0.177546 | 0.195822 | 0.389034 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013544 | 0.139806 | 515 | 15 | 53 | 34.333333 | 0.851016 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0a23c56a55d6b1a1c59911a86bbc7bf45e7b1058 | 2,284 | py | Python | posts/models.py | domino31620/SMA-Team-3 | 0d1fe51247050f5247907537787d27f1f025b75c | [
"MIT"
] | null | null | null | posts/models.py | domino31620/SMA-Team-3 | 0d1fe51247050f5247907537787d27f1f025b75c | [
"MIT"
] | null | null | null | posts/models.py | domino31620/SMA-Team-3 | 0d1fe51247050f5247907537787d27f1f025b75c | [
"MIT"
] | 11 | 2021-07-15T20:55:50.000Z | 2021-10-01T13:33:38.000Z | from django.db import models
from django.contrib.auth.models import User
# Create your models here.
from django.urls import reverse
import authentication.models as a
class PostCategory(models.Model):
name = models.CharField(max_length=255, blank=True, null=True)
description = models.CharField(max_length=255... | 43.923077 | 91 | 0.743433 | 314 | 2,284 | 5.257962 | 0.245223 | 0.070866 | 0.094488 | 0.105996 | 0.723804 | 0.723804 | 0.723804 | 0.563901 | 0.517868 | 0.437916 | 0 | 0.005595 | 0.139229 | 2,284 | 52 | 92 | 43.923077 | 0.834181 | 0.010508 | 0 | 0.289474 | 0 | 0 | 0.029659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.105263 | 0.052632 | 0.973684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0a3c1ebfc5ddc12e768bba27459efea7b37e0e81 | 70 | py | Python | octopus/modules/coreacuk/settings.py | CottageLabs/magnificent-octopus-oacwellcome-fork | b1c8c412cf9a3fe66fca1c8e92ed074c9821663e | [
"Apache-2.0"
] | 2 | 2016-02-22T04:31:30.000Z | 2021-08-03T23:58:36.000Z | octopus/modules/coreacuk/settings.py | CottageLabs/magnificent-octopus-oacwellcome-fork | b1c8c412cf9a3fe66fca1c8e92ed074c9821663e | [
"Apache-2.0"
] | 9 | 2015-01-04T14:00:05.000Z | 2021-12-13T19:35:07.000Z | octopus/modules/coreacuk/settings.py | CottageLabs/magnificent-octopus-oacwellcome-fork | b1c8c412cf9a3fe66fca1c8e92ed074c9821663e | [
"Apache-2.0"
] | 3 | 2016-09-09T13:39:45.000Z | 2018-02-19T14:23:12.000Z |
CORE_API_KEY = ""
CORE_API_BASE_URL = "http://core.ac.uk:80/api-v2/" | 17.5 | 50 | 0.685714 | 14 | 70 | 3.071429 | 0.714286 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.1 | 70 | 4 | 50 | 17.5 | 0.634921 | 0 | 0 | 0 | 0 | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a3d030f9b591f4878542e7a145dbc3244766ce1 | 144 | py | Python | day_1/python_if_else.py | Ishaan-99-cyber/ml-workshop-wac-1 | 186d4b6544c7e55cea052312934e455a51d1698a | [
"MIT"
] | 6 | 2020-12-24T07:10:58.000Z | 2021-04-11T09:19:18.000Z | day_1/python_if_else.py | Ishaan-99-cyber/ml-workshop-wac-1 | 186d4b6544c7e55cea052312934e455a51d1698a | [
"MIT"
] | null | null | null | day_1/python_if_else.py | Ishaan-99-cyber/ml-workshop-wac-1 | 186d4b6544c7e55cea052312934e455a51d1698a | [
"MIT"
] | 6 | 2020-12-24T09:42:25.000Z | 2021-01-26T01:34:38.000Z | number = int(input())
if number % 2 == 1 or 6 <= number <= 20:
print('Weird')
elif 2 <= number <= 5 or number > 20:
print('Not Weird')
| 20.571429 | 40 | 0.555556 | 23 | 144 | 3.478261 | 0.608696 | 0.2 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 0.256944 | 144 | 6 | 41 | 24 | 0.663551 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a4dd111e20156e8fdb4aae0cc6d5ea9c224289d | 190 | py | Python | test/test_files/st_python.py | twolfson/sublime-harness | 0b97011594092b049dbee6d3477ade737c39c59e | [
"Unlicense"
] | null | null | null | test/test_files/st_python.py | twolfson/sublime-harness | 0b97011594092b049dbee6d3477ade737c39c59e | [
"Unlicense"
] | null | null | null | test/test_files/st_python.py | twolfson/sublime-harness | 0b97011594092b049dbee6d3477ade737c39c59e | [
"Unlicense"
] | null | null | null | import os
import sublime
def run():
with open('%s', 'w') as f:
f.write(sublime.packages_path())
if os.environ.get('SUBLIME_AUTO_KILL'):
sublime.run_command('exit')
| 19 | 43 | 0.626316 | 28 | 190 | 4.107143 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215789 | 190 | 9 | 44 | 21.111111 | 0.771812 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a588538793e9043e475e8fc272d8568a59a203a | 297 | py | Python | Defining-Classes/Exercises/08. spoopify/song.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | 1 | 2021-06-30T11:53:44.000Z | 2021-06-30T11:53:44.000Z | Defining-Classes/Exercises/08. spoopify/song.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | null | null | null | Defining-Classes/Exercises/08. spoopify/song.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | null | null | null | class Song:
def __init__(self, name, length, single):
self.name = name
self.length = length
self.single = single
def get_info(self):
return f"{self.name} - {self.length}"
#Test code
# song = Song("Running in the 90s", 3.45, False)
# print(song.get_info()) | 24.75 | 48 | 0.606061 | 42 | 297 | 4.142857 | 0.52381 | 0.137931 | 0.16092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022624 | 0.255892 | 297 | 12 | 49 | 24.75 | 0.764706 | 0.265993 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a5e13a433627667d6adea7076963f3ed6951361 | 1,011 | py | Python | tests/controllers/controller_test_base.py | kmelodi/EasyBimehLanding_Python | b574a76a8805b306a423229b572c36dae0159def | [
"MIT"
] | null | null | null | tests/controllers/controller_test_base.py | kmelodi/EasyBimehLanding_Python | b574a76a8805b306a423229b572c36dae0159def | [
"MIT"
] | null | null | null | tests/controllers/controller_test_base.py | kmelodi/EasyBimehLanding_Python | b574a76a8805b306a423229b572c36dae0159def | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
easybimehlanding
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
"""
import unittest
from ..http_response_catcher import HttpResponseCatcher
from easybimehlanding.easybimehlanding_client import EasybimehlandingClient
from easybimehlanding... | 31.59375 | 84 | 0.703264 | 110 | 1,011 | 6.372727 | 0.609091 | 0.064194 | 0.045649 | 0.062767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010152 | 0.220574 | 1,011 | 32 | 85 | 31.59375 | 0.879442 | 0.354105 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.153846 | false | 0 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0a6992bfebd70288420382e5839e5c20832d5df6 | 1,381 | py | Python | pandas/core/api.py | mcwitt/pandas | f6d0d0829b0668a6b8c526daa388a7ccf8835d04 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | 3 | 2017-02-25T14:06:43.000Z | 2017-05-25T05:18:03.000Z | pandas/core/api.py | mcwitt/pandas | f6d0d0829b0668a6b8c526daa388a7ccf8835d04 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | 11 | 2020-06-05T17:24:17.000Z | 2022-03-11T23:15:26.000Z | pandas/core/api.py | mcwitt/pandas | f6d0d0829b0668a6b8c526daa388a7ccf8835d04 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | 3 | 2017-02-25T15:26:47.000Z | 2017-12-20T06:27:07.000Z |
# pylint: disable=W0614,W0401,W0611
# flake8: noqa
import numpy as np
from pandas.core.algorithms import factorize, match, unique, value_counts
from pandas.core.common import isnull, notnull
from pandas.core.categorical import Categorical
from pandas.core.groupby import Grouper
from pandas.formats.format import set_... | 38.361111 | 73 | 0.757422 | 174 | 1,381 | 5.91954 | 0.448276 | 0.184466 | 0.176699 | 0.040777 | 0.052427 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016874 | 0.184649 | 1,381 | 35 | 74 | 39.457143 | 0.897869 | 0.038378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.84 | 0 | 0.84 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0a6e8cecbd5863180af95718e3a5cf6e6fadea55 | 200 | py | Python | tests/test_cipher_eat2153.py | QMSS-G5072-2020/cipher_tran_elliott | 946d7bee354c80e7108dd33820b438f967fd1c03 | [
"MIT"
] | null | null | null | tests/test_cipher_eat2153.py | QMSS-G5072-2020/cipher_tran_elliott | 946d7bee354c80e7108dd33820b438f967fd1c03 | [
"MIT"
] | null | null | null | tests/test_cipher_eat2153.py | QMSS-G5072-2020/cipher_tran_elliott | 946d7bee354c80e7108dd33820b438f967fd1c03 | [
"MIT"
] | null | null | null | from cipher_eat2153 import cipher_eat2153
def test_cipher_symbol():
expected = "zpeb?"
result = cipher_eat2153.cipher(text = "yoda?", shift = 1, encrypt = True)
assert result == expected | 33.333333 | 77 | 0.71 | 25 | 200 | 5.48 | 0.68 | 0.284672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079755 | 0.185 | 200 | 6 | 78 | 33.333333 | 0.760736 | 0 | 0 | 0 | 0 | 0 | 0.049751 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a56c6885d47fda66d7f14d761acb19b5cab3ca6 | 443 | py | Python | ckanext/example_isignal/plugin.py | gg2/ckan | d61a533cc330b6050f4957573f58ec912695ed0a | [
"BSD-3-Clause"
] | 2,805 | 2015-01-02T18:13:15.000Z | 2022-03-31T03:35:01.000Z | ckanext/example_isignal/plugin.py | gg2/ckan | d61a533cc330b6050f4957573f58ec912695ed0a | [
"BSD-3-Clause"
] | 3,801 | 2015-01-02T11:05:36.000Z | 2022-03-31T19:24:37.000Z | ckanext/example_isignal/plugin.py | gg2/ckan | d61a533cc330b6050f4957573f58ec912695ed0a | [
"BSD-3-Clause"
] | 1,689 | 2015-01-02T19:46:43.000Z | 2022-03-28T14:59:43.000Z | # -*- coding: utf-8 -*-
import ckan.plugins as p
def x2(sender):
return sender * 2
def x10(sender):
return sender * 10
class ExampleISignalPlugin(p.SingletonPlugin):
p.implements(p.ISignal)
# ISignal
def get_signal_subscriptions(self):
return {
p.toolkit.signals.ckanext.... | 17.038462 | 66 | 0.564334 | 50 | 443 | 4.94 | 0.6 | 0.097166 | 0.145749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.316027 | 443 | 25 | 67 | 17.72 | 0.775578 | 0.065463 | 0 | 0 | 0 | 0 | 0.068127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.214286 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6a5bea8bdf49d48a71180f33a836ecd20a173a95 | 385 | py | Python | src/cs106b/python/backtracking/print_all_binary.py | scottwedge/coding-refresher | 7141f7f262272b93dee0467be1abf7658a3e4fb6 | [
"MIT"
] | 1 | 2020-02-10T11:34:03.000Z | 2020-02-10T11:34:03.000Z | src/cs106b/python/backtracking/print_all_binary.py | scottwedge/coding-refresher | 7141f7f262272b93dee0467be1abf7658a3e4fb6 | [
"MIT"
] | 1 | 2020-01-10T22:20:20.000Z | 2020-01-11T02:52:32.000Z | src/cs106b/python/backtracking/print_all_binary.py | scottwedge/coding-refresher | 7141f7f262272b93dee0467be1abf7658a3e4fb6 | [
"MIT"
] | 1 | 2020-01-10T22:23:56.000Z | 2020-01-10T22:23:56.000Z | def print_all_binary_strings(n):
helper(n, "")
print("-------------------")
def helper(n, s, lvl = 0):
space = (" " * lvl) + s
print(space)
if(len(s) == n):
print(s)
else:
helper(n, s + "0", lvl + 1)
helper(n, s + "1", lvl + 1)
print_all_binary_strings(1)
print_all_binary_str... | 21.388889 | 33 | 0.563636 | 59 | 385 | 3.423729 | 0.305085 | 0.19802 | 0.346535 | 0.519802 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.228571 | 385 | 18 | 34 | 21.388889 | 0.649832 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0 | 0 | 0.133333 | 0.533333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6a6eb143e6ea6682670d5a76e953830ab38f04a9 | 24 | py | Python | config/default.py | Aneureka/njuapi | f45f703e20451f12d0900c5c38b93cdd6e9b672c | [
"MIT"
] | 6 | 2017-09-16T13:50:28.000Z | 2019-10-24T03:06:49.000Z | config/default.py | Aneureka/njuapi | f45f703e20451f12d0900c5c38b93cdd6e9b672c | [
"MIT"
] | null | null | null | config/default.py | Aneureka/njuapi | f45f703e20451f12d0900c5c38b93cdd6e9b672c | [
"MIT"
] | 1 | 2017-09-16T13:58:35.000Z | 2017-09-16T13:58:35.000Z | # debug
DEBUG = False
| 4.8 | 13 | 0.625 | 3 | 24 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 4 | 14 | 6 | 0.882353 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a7e844de5b9f5802a28f1f378ae027a02a4ba06 | 16,999 | py | Python | web_version/languages/nl.py | tlubitz/parameter_balancing_pypi | cb57d51548741a926fcc9ab1e7dfc80225f5de77 | [
"MIT"
] | 8 | 2018-04-13T14:54:02.000Z | 2021-03-04T10:58:09.000Z | web_version/languages/nl.py | tlubitz/parameter_balancing_pypi | cb57d51548741a926fcc9ab1e7dfc80225f5de77 | [
"MIT"
] | 39 | 2018-03-23T09:25:38.000Z | 2022-03-23T15:22:15.000Z | web_version/languages/nl.py | tlubitz/parameter_balancing_pypi | cb57d51548741a926fcc9ab1e7dfc80225f5de77 | [
"MIT"
] | 2 | 2021-04-07T15:45:11.000Z | 2022-03-21T09:26:36.000Z | # -*- coding: utf-8 -*-
{
'!langcode!': 'nl',
'!langname!': 'Nederlands',
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%(nrows)s rec... | 44.852243 | 281 | 0.702218 | 2,283 | 16,999 | 5.22777 | 0.312746 | 0.012065 | 0.007625 | 0.004357 | 0.122078 | 0.102304 | 0.073481 | 0.055132 | 0.041558 | 0.034353 | 0 | 0.003312 | 0.129714 | 16,999 | 378 | 282 | 44.970899 | 0.803434 | 0.001235 | 0 | 0 | 0 | 0.007958 | 0.820688 | 0.005537 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.058355 | 0.007958 | 0 | 0.007958 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6a98aecbb63509b763cd138e7b0939ac193e2423 | 25,937 | py | Python | SmartFoxServer_PRO_1.6.6/Server/lib/Lib/test/test_types.py | ChisdealHD/DetlasWorldLinux | 336465a4df1a48c9a273329fc7a09d8099c4e4d5 | [
"MIT"
] | 3 | 2015-07-29T02:31:52.000Z | 2017-01-07T15:48:44.000Z | SmartFoxServer_PRO_1.6.6/Server/lib/Lib/test/test_types.py | ChisdealHD/DetlasWorldLinux | 336465a4df1a48c9a273329fc7a09d8099c4e4d5 | [
"MIT"
] | 4 | 2018-02-22T07:42:13.000Z | 2021-12-13T10:53:09.000Z | SmartFoxServer_PRO_1.6.6/Server/lib/Lib/test/test_types.py | ChisdealHD/DetlasWorldLinux | 336465a4df1a48c9a273329fc7a09d8099c4e4d5 | [
"MIT"
] | 4 | 2015-09-09T11:54:37.000Z | 2018-05-26T05:08:14.000Z | from __future__ import generators
# Python test set -- part 6, built-in types
from test.test_support import *
print '6. Built-in types'
print '6.1 Truth value testing'
if None: raise TestFailed, 'None is true instead of false'
if 0: raise TestFailed, '0 is true instead of false'
if 0L: raise TestFailed, '0L is true ... | 33.993447 | 87 | 0.624745 | 4,360 | 25,937 | 3.697018 | 0.086697 | 0.214033 | 0.045164 | 0.079906 | 0.61015 | 0.559588 | 0.473106 | 0.415038 | 0.374899 | 0.338172 | 0 | 0.064761 | 0.193315 | 25,937 | 762 | 88 | 34.038058 | 0.705635 | 0.120677 | 0 | 0.243421 | 0 | 0 | 0.255791 | 0.003832 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.085526 | 0.006579 | null | null | 0.023026 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6a9923b1022c5223731d31e843b9a372f6fbc742 | 538 | py | Python | Geometry.py | dpetrovykh/DPy | c118f14f14c52c547ad9a712744843a9ea04262f | [
"MIT"
] | null | null | null | Geometry.py | dpetrovykh/DPy | c118f14f14c52c547ad9a712744843a9ea04262f | [
"MIT"
] | null | null | null | Geometry.py | dpetrovykh/DPy | c118f14f14c52c547ad9a712744843a9ea04262f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 9 10:00:13 2020
@author: dpetrovykh
"""
import math
class Circle:
def __init__(self, radius= 1):
self.radius = float(radius)
@classmethod
def fromDiameter(cls, diameter):
return cls(radius = diameter/2)
@p... | 19.214286 | 39 | 0.598513 | 69 | 538 | 4.608696 | 0.550725 | 0.157233 | 0.113208 | 0.100629 | 0.238994 | 0.238994 | 0.238994 | 0.238994 | 0.238994 | 0 | 0 | 0.046392 | 0.27881 | 538 | 28 | 40 | 19.214286 | 0.773196 | 0.185874 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.0625 | 0.25 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6a99bdcd61e7d59a8fcdb90267635f2b24a7f27c | 87 | py | Python | errors/apps.py | dpakach/RentalService | 2fe2c899b7f149ed3f0fc475100beaa0bc76619e | [
"MIT"
] | null | null | null | errors/apps.py | dpakach/RentalService | 2fe2c899b7f149ed3f0fc475100beaa0bc76619e | [
"MIT"
] | 1 | 2018-11-06T03:17:14.000Z | 2018-11-06T03:17:14.000Z | errors/apps.py | dpakach/RentalService | 2fe2c899b7f149ed3f0fc475100beaa0bc76619e | [
"MIT"
] | 1 | 2020-02-04T10:44:11.000Z | 2020-02-04T10:44:11.000Z | from django.apps import AppConfig
class ErrorsConfig(AppConfig):
name = "errors"
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 | 0 | 0 | 0 | 3 |
6acb5616d6e14d23086a7020e5374319a3edbb71 | 83 | py | Python | src/cldfviz/__init__.py | cldf/cldfviz | c222a735a161b61b755584f62eb1ba1c64f797c0 | [
"Apache-2.0"
] | 2 | 2021-09-09T19:53:12.000Z | 2022-01-15T23:25:36.000Z | src/cldfviz/__init__.py | cldf/cldfviz | c222a735a161b61b755584f62eb1ba1c64f797c0 | [
"Apache-2.0"
] | 20 | 2021-08-12T07:50:40.000Z | 2022-03-31T12:56:20.000Z | src/cldfviz/__init__.py | cldf/cldfviz | c222a735a161b61b755584f62eb1ba1c64f797c0 | [
"Apache-2.0"
] | 1 | 2022-02-08T10:12:05.000Z | 2022-02-08T10:12:05.000Z | import pathlib
__version__ = '0.5.1.dev0'
PKG_DIR = pathlib.Path(__file__).parent
| 16.6 | 39 | 0.759036 | 13 | 83 | 4.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.108434 | 83 | 4 | 40 | 20.75 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6acbaec74d82b2549e3c40b22c2cdc007847b001 | 82 | py | Python | Session2-Conditional-Statements-part1/02_greater_number.py | elenaborisova/Crack-the-Code | d0b505ebad878d5228d98c934779ed9b28f6c034 | [
"MIT"
] | null | null | null | Session2-Conditional-Statements-part1/02_greater_number.py | elenaborisova/Crack-the-Code | d0b505ebad878d5228d98c934779ed9b28f6c034 | [
"MIT"
] | null | null | null | Session2-Conditional-Statements-part1/02_greater_number.py | elenaborisova/Crack-the-Code | d0b505ebad878d5228d98c934779ed9b28f6c034 | [
"MIT"
] | 1 | 2021-05-31T14:47:53.000Z | 2021-05-31T14:47:53.000Z | a = int(input())
b = int(input())
if a > b:
print(a)
else:
print(b)
| 10.25 | 17 | 0.463415 | 14 | 82 | 2.714286 | 0.5 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.329268 | 82 | 7 | 18 | 11.714286 | 0.690909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6aced3ecebb713ea78552d726c6c7d5fc7dae846 | 542 | py | Python | learn-prefect/ordered.py | atvaccaro/problems | 666b431b5489a5990a0f29d601c384c88e0e6132 | [
"MIT"
] | null | null | null | learn-prefect/ordered.py | atvaccaro/problems | 666b431b5489a5990a0f29d601c384c88e0e6132 | [
"MIT"
] | null | null | null | learn-prefect/ordered.py | atvaccaro/problems | 666b431b5489a5990a0f29d601c384c88e0e6132 | [
"MIT"
] | 1 | 2019-11-03T04:05:34.000Z | 2019-11-03T04:05:34.000Z | from prefect import Flow, Parameter, task
@task
def a(x):
print(f'a: {x}')
@task
def b(x):
print(f'b: {x}')
@task
def c(x):
print(f'c: {x}')
with Flow('my-flow') as flow:
x = Parameter('x')
a.set_dependencies(downstream_tasks=[b], keyword_tasks={'x': x})
b.set_dependencies(downstream_tas... | 19.357143 | 74 | 0.634686 | 87 | 542 | 3.804598 | 0.275862 | 0.226586 | 0.196375 | 0.271903 | 0.492447 | 0.492447 | 0.356495 | 0.356495 | 0.356495 | 0.356495 | 0 | 0.002208 | 0.164207 | 542 | 27 | 75 | 20.074074 | 0.728477 | 0.212177 | 0 | 0.1875 | 0 | 0 | 0.068396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.25 | 0.1875 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ad926261811e9620e928724803e334d9d383dc5 | 297 | py | Python | DarkPhoton_UFO/CT_couplings.py | ymzhong/mg5_aMC_tutorial | 1f1d1c7be23eb14acbc416db26dd542ad40c17d3 | [
"MIT"
] | 2 | 2021-11-11T12:20:13.000Z | 2022-03-19T12:17:27.000Z | DarkPhoton_UFO/CT_couplings.py | ymzhong/mg5_aMC_tutorial | 1f1d1c7be23eb14acbc416db26dd542ad40c17d3 | [
"MIT"
] | null | null | null | DarkPhoton_UFO/CT_couplings.py | ymzhong/mg5_aMC_tutorial | 1f1d1c7be23eb14acbc416db26dd542ad40c17d3 | [
"MIT"
] | 1 | 2021-11-11T12:20:23.000Z | 2021-11-11T12:20:23.000Z | # This file was automatically created by FeynRules 2.3.36
# Mathematica version: 12.0.0 for Linux x86 (64-bit) (April 7, 2019)
# Date: Thu 4 Mar 2021 16:26:20
from object_library import all_couplings, Coupling
from function_library import complexconjugate, re, im, csc, sec, acsc, asec, cot
| 24.75 | 80 | 0.750842 | 50 | 297 | 4.4 | 0.92 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 0.164983 | 297 | 11 | 81 | 27 | 0.774194 | 0.511785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6add7287f6c2a367ecf285c26518178da819b82a | 295 | py | Python | 01_Estrutura_Sequencial/09_converter_farenheit_celsius.py | gabrieldcpadilha/ListaDeExercicios-PythonBrasil | a92d477468bde5eac8987a26ea79af2ffeb6ad81 | [
"MIT"
] | null | null | null | 01_Estrutura_Sequencial/09_converter_farenheit_celsius.py | gabrieldcpadilha/ListaDeExercicios-PythonBrasil | a92d477468bde5eac8987a26ea79af2ffeb6ad81 | [
"MIT"
] | 10 | 2020-08-19T04:31:52.000Z | 2020-09-21T22:48:29.000Z | 01_Estrutura_Sequencial/09_converter_farenheit_celsius.py | gabrieldcpadilha/ListaDeExercicios-PythonBrasil | a92d477468bde5eac8987a26ea79af2ffeb6ad81 | [
"MIT"
] | null | null | null | """
Faça um Programa que peça a temperatura em graus Fahrenheit,
transforme e mostre a temperatura em graus Celsius.
C = 5 * ((F-32) / 9).
"""
farenheit = float(input('Informe a temperatura em Farenheit: '))
celsius = 5 * (farenheit - 32) / 9.0
print(f'A temperatura em Celsius é: {celsius}')
| 26.818182 | 64 | 0.691525 | 45 | 295 | 4.533333 | 0.577778 | 0.235294 | 0.27451 | 0.186275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.176271 | 295 | 10 | 65 | 29.5 | 0.802469 | 0.457627 | 0 | 0 | 0 | 0 | 0.480263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.