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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ecd294dbe52904fdcf65c70cae3edebf1bc9c55f | 124 | py | Python | pyleetcode/tree/node.py | stephenbaiuoft/pythonleetcode2022 | 48879c248d1e549c95c18deccff542bc969b8a69 | [
"MIT"
] | null | null | null | pyleetcode/tree/node.py | stephenbaiuoft/pythonleetcode2022 | 48879c248d1e549c95c18deccff542bc969b8a69 | [
"MIT"
] | null | null | null | pyleetcode/tree/node.py | stephenbaiuoft/pythonleetcode2022 | 48879c248d1e549c95c18deccff542bc969b8a69 | [
"MIT"
] | null | null | null | class TreeNode:
__slots__ = ['left', 'right']
def __init__(self, value: int):
self.value = value
| 15.5 | 35 | 0.548387 | 13 | 124 | 4.615385 | 0.769231 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 124 | 7 | 36 | 17.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ece5f60760af716bbc6a1d2786308f5777252814 | 385 | py | Python | premo/msg/__init__.py | cieplak/premo | 805714d8797a39e6dd8fc85203843d2fb67054a4 | [
"MIT"
] | null | null | null | premo/msg/__init__.py | cieplak/premo | 805714d8797a39e6dd8fc85203843d2fb67054a4 | [
"MIT"
] | null | null | null | premo/msg/__init__.py | cieplak/premo | 805714d8797a39e6dd8fc85203843d2fb67054a4 | [
"MIT"
] | null | null | null | from .message import Message
def init(config):
Message.broker = brokers.rabbitmq
class Broker(object):
def send(self, message):
raise NotImplementedError()
def receive(self, topic):
raise NotImplementedError()
def process(self, *args, **kwargs):
raise NotImplementedError()... | 16.041667 | 39 | 0.657143 | 40 | 385 | 6.325 | 0.55 | 0.284585 | 0.213439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249351 | 385 | 23 | 40 | 16.73913 | 0.875433 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.076923 | 0.153846 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
01badec04be3cb3b7a05b8a5185dd54050dbc5c7 | 47 | py | Python | python/testData/refactoring/changeSignature/movedExistingParameterUsingSignatureDefaultMakesSubsequentExistingParametersUseKeywordArguments.after.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/changeSignature/movedExistingParameterUsingSignatureDefaultMakesSubsequentExistingParametersUseKeywordArguments.after.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 1 | 2020-07-30T19:04:47.000Z | 2020-07-30T19:04:47.000Z | python/testData/refactoring/changeSignature/movedExistingParameterUsingSignatureDefaultMakesSubsequentExistingParametersUseKeywordArguments.after.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | def func(b=None, a=None):
pass
func(a=1)
| 7.833333 | 25 | 0.574468 | 10 | 47 | 2.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.234043 | 47 | 5 | 26 | 9.4 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
01ce335adfb6de18407db9a010e7fc7b47f6a1cb | 190 | py | Python | answer/a10_2_list_access.py | breeze-shared-inc/python_training_01 | 7e918b37adbce062ae279f060bc25cfacda2fb85 | [
"MIT"
] | null | null | null | answer/a10_2_list_access.py | breeze-shared-inc/python_training_01 | 7e918b37adbce062ae279f060bc25cfacda2fb85 | [
"MIT"
] | 1 | 2020-05-11T04:59:04.000Z | 2020-05-11T05:29:08.000Z | answer/a10_2_list_access.py | bzgwhite/python_training_01 | 7e918b37adbce062ae279f060bc25cfacda2fb85 | [
"MIT"
] | null | null | null | name_list = ["鈴木", "佐藤", "山田"]
position = ["部長", "課長", "係長"]
# 配列の要素番号を指定して値を呼び出してみよう!
print(name_list[0] + position[0])
print(name_list[1] + position[1])
print(name_list[2] + position[2])
| 23.75 | 33 | 0.647368 | 28 | 190 | 4.25 | 0.5 | 0.268908 | 0.327731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.115789 | 190 | 7 | 34 | 27.142857 | 0.672619 | 0.121053 | 0 | 0 | 0 | 0 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
171fcfe5e285b523355fe0354449f3de1394fa16 | 200 | py | Python | hooks/hook-flatten_dict.py | CuriBio/mantarray-desktop-app | e00ace0e8c04eca3ae79826c59a878b59e15f6ff | [
"MIT"
] | null | null | null | hooks/hook-flatten_dict.py | CuriBio/mantarray-desktop-app | e00ace0e8c04eca3ae79826c59a878b59e15f6ff | [
"MIT"
] | 253 | 2020-10-16T18:29:15.000Z | 2022-03-31T21:27:56.000Z | hooks/hook-flatten_dict.py | CuriBio/mantarray-desktop-app | e00ace0e8c04eca3ae79826c59a878b59e15f6ff | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Based on https://github.com/pyinstaller/pyinstaller/issues/4809
from PyInstaller.utils.hooks import collect_all
datas, binaries, hiddenimports = collect_all("flatten_dict")
| 33.333333 | 65 | 0.77 | 26 | 200 | 5.807692 | 0.846154 | 0.13245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027624 | 0.095 | 200 | 5 | 66 | 40 | 0.80663 | 0.425 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
17955ab2cfdb9fe3576f5890ee1ce6f029a1bc5f | 29 | py | Python | Hello World Programs/Python/helloworldprog.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 256 | 2020-09-30T19:31:34.000Z | 2021-11-20T18:09:15.000Z | Hello World Programs/Python/helloworldprog.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 293 | 2020-09-30T19:14:54.000Z | 2021-06-06T02:34:47.000Z | Hello World Programs/Python/helloworldprog.py | TeacherManoj0131/HacktoberFest2020-Contributions | c7119202fdf211b8a6fc1eadd0760dbb706a679b | [
"MIT"
] | 1,620 | 2020-09-30T18:37:44.000Z | 2022-03-03T20:54:22.000Z | print("Hello World", end="")
| 14.5 | 28 | 0.62069 | 4 | 29 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bd7a6e96f8926e67917dd7a801a7964cbdec7c0f | 5,846 | py | Python | tests/test_tfpm.py | jplalor/flowpm | 8252d52e8ce9d108513fd46747b2867c7a34ab61 | [
"MIT"
] | null | null | null | tests/test_tfpm.py | jplalor/flowpm | 8252d52e8ce9d108513fd46747b2867c7a34ab61 | [
"MIT"
] | null | null | null | tests/test_tfpm.py | jplalor/flowpm | 8252d52e8ce9d108513fd46747b2867c7a34ab61 | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
from numpy.testing import assert_allclose
from scipy.interpolate import InterpolatedUnivariateSpline as iuspline
from nbodykit.cosmology import Cosmology, EHPower, Planck15
from pmesh.pm import ParticleMesh
from fastpm.core import Solver as Solver
import fastpm.force.lpt as ... | 37.716129 | 127 | 0.700479 | 941 | 5,846 | 4.275239 | 0.168969 | 0.008949 | 0.03132 | 0.034303 | 0.770818 | 0.764852 | 0.752424 | 0.739249 | 0.721352 | 0.721352 | 0 | 0.048884 | 0.149675 | 5,846 | 154 | 128 | 37.961039 | 0.76041 | 0.144201 | 0 | 0.573034 | 0 | 0 | 0.023082 | 0.012148 | 0 | 0 | 0 | 0 | 0.089888 | 1 | 0.078652 | false | 0 | 0.123596 | 0 | 0.202247 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bd9dea0005bf33993d47c0f9c72cff507f46c542 | 1,073 | py | Python | dryxPython/regex/__init__.py | thespacedoctor/dryxPython | 8f34f997192eebef9403bd40e4b7c1b1d216f53c | [
"BSD-3-Clause"
] | 2 | 2015-08-01T16:00:44.000Z | 2017-02-24T21:06:50.000Z | dryxPython/regex/__init__.py | thespacedoctor/dryxPython | 8f34f997192eebef9403bd40e4b7c1b1d216f53c | [
"BSD-3-Clause"
] | null | null | null | dryxPython/regex/__init__.py | thespacedoctor/dryxPython | 8f34f997192eebef9403bd40e4b7c1b1d216f53c | [
"BSD-3-Clause"
] | null | null | null | #!/usr/local/bin/python
# encoding: utf-8
"""
**regex**
Created by David Young on date 2012-10-24
If you have any questions requiring this script please email me: davidrobertyoung@gmail.com
dryx syntax:
p<Var> = variable formated in the way I want it output to file or screen
xxx = come back here and do some more work... | 29 | 96 | 0.527493 | 220 | 1,073 | 2.545455 | 0.413636 | 0.085714 | 0.075 | 0.085714 | 0.305357 | 0.248214 | 0.2375 | 0.2375 | 0.2375 | 0.221429 | 0 | 0.114286 | 0.119292 | 1,073 | 36 | 97 | 29.805556 | 0.478307 | 0.439888 | 0 | 0.222222 | 0 | 0.666667 | 0.733219 | 0.635112 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bdc3bf4332cad566a1edbd9a35ea496425f763b8 | 136 | py | Python | J1939_PGN/__init__.py | CSS-Electronics/j1939_pgn | e268e1b2713c9f0d8634dda30e6493235eee5e56 | [
"MIT"
] | 1 | 2021-06-22T07:24:08.000Z | 2021-06-22T07:24:08.000Z | J1939_PGN/__init__.py | CSS-Electronics/j1939_pgn | e268e1b2713c9f0d8634dda30e6493235eee5e56 | [
"MIT"
] | null | null | null | J1939_PGN/__init__.py | CSS-Electronics/j1939_pgn | e268e1b2713c9f0d8634dda30e6493235eee5e56 | [
"MIT"
] | null | null | null | from .J1939_PGN import J1939_PGN, J1939_PDU
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 27.2 | 43 | 0.823529 | 20 | 136 | 5.05 | 0.45 | 0.326733 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.102941 | 136 | 4 | 44 | 34 | 0.729508 | 0 | 0 | 0 | 0 | 0 | 0.051471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bdcb4f1f122dbebe2c6170aa890686f5d05cc832 | 36 | py | Python | discord/types/appinfo.py | Harukomaze/disnake | 541f5c9623a02be894cd1015dbb344070700cb87 | [
"MIT"
] | null | null | null | discord/types/appinfo.py | Harukomaze/disnake | 541f5c9623a02be894cd1015dbb344070700cb87 | [
"MIT"
] | null | null | null | discord/types/appinfo.py | Harukomaze/disnake | 541f5c9623a02be894cd1015dbb344070700cb87 | [
"MIT"
] | null | null | null | from disnake.types.appinfo import *
| 18 | 35 | 0.805556 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bddc0c3083187dec22c77185d45c81749fdf7236 | 67 | py | Python | bees/a/__init__.py | jcarizza/serverfull | 4fced3c81997c7105e4f558d5314eee76f525f18 | [
"MIT"
] | 1 | 2021-01-14T16:59:39.000Z | 2021-01-14T16:59:39.000Z | bees/a/__init__.py | jcarizza/serverfull | 4fced3c81997c7105e4f558d5314eee76f525f18 | [
"MIT"
] | null | null | null | bees/a/__init__.py | jcarizza/serverfull | 4fced3c81997c7105e4f558d5314eee76f525f18 | [
"MIT"
] | 1 | 2020-03-19T13:55:14.000Z | 2020-03-19T13:55:14.000Z | def handler(request):
return f"Hi there!, this is A {request}"
| 22.333333 | 44 | 0.671642 | 11 | 67 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 2 | 45 | 33.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
bdee5390e85f1bd5ee51829ef7fce3c52946ea1f | 7,684 | py | Python | _posts/data.py | guihongwan/guihongwan.github.io | effe7155866c27ec4ec82eace4eece29610a73da | [
"MIT"
] | 2 | 2016-12-29T10:04:48.000Z | 2019-05-04T10:43:17.000Z | _posts/data.py | guihongwan/guihongwan.github.io | effe7155866c27ec4ec82eace4eece29610a73da | [
"MIT"
] | 1 | 2020-09-28T20:20:12.000Z | 2020-09-28T20:20:12.000Z | _posts/data.py | guihongwan/guihongwan.github.io | effe7155866c27ec4ec82eace4eece29610a73da | [
"MIT"
] | 1 | 2019-10-01T23:01:12.000Z | 2019-10-01T23:01:12.000Z |
import numpy as np
# Data: For A, rows are points
def getSimulationData(n_number, n_number_outlier, NOOUTLIER = True, PLOT = False):
'''produce n_number*2 matrix'''
import numpy as np
import matplotlib.pyplot as plt
# np.random.seed(42)
x1 = np.linspace(60, 70, n_number).reshape((n_number,-1... | 33.554585 | 84 | 0.633654 | 1,352 | 7,684 | 3.403846 | 0.087278 | 0.105606 | 0.040417 | 0.077575 | 0.78618 | 0.7701 | 0.754455 | 0.71947 | 0.702955 | 0.685137 | 0 | 0.068731 | 0.197163 | 7,684 | 229 | 85 | 33.554585 | 0.677257 | 0.069365 | 0 | 0.54902 | 0 | 0 | 0.012386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065359 | false | 0 | 0.065359 | 0 | 0.189542 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bdfa13683ca232f139fa6026a89a8dcbd646b1f8 | 29,908 | py | Python | ml_backend/default_prediction.py | dsinghnegi/custom-wake-word | c8e69eb12cc4515917fa3247bc24ac64ebe24d56 | [
"Apache-2.0"
] | 5 | 2019-11-21T05:30:49.000Z | 2021-10-15T02:29:39.000Z | ml_backend/default_prediction.py | dsinghnegi/custom-wake-word | c8e69eb12cc4515917fa3247bc24ac64ebe24d56 | [
"Apache-2.0"
] | 8 | 2019-11-06T17:52:28.000Z | 2022-02-10T01:13:18.000Z | ml_backend/default_prediction.py | dsinghnegi/custom-wake-word | c8e69eb12cc4515917fa3247bc24ac64ebe24d56 | [
"Apache-2.0"
] | 1 | 2019-11-22T01:41:27.000Z | 2019-11-22T01:41:27.000Z | audio_file_path="demo.wav"
predictions=[0.05824697017669678, 0.02250489592552185, 0.0061040520668029785, 0.0017527937889099121, 0.0007082521915435791, 0.00039005279541015625, 0.0002650916576385498, 0.00020834803581237793, 0.0001780390739440918, 0.00015804171562194824, 0.0001443624496459961, 0.0001366734504699707, 0.000... | 14,954 | 29,881 | 0.854888 | 2,965 | 29,908 | 8.622597 | 0.424283 | 0.0203 | 0.028984 | 0.032035 | 0.11042 | 0.091919 | 0.091919 | 0.091919 | 0.078894 | 0.078894 | 0 | 0.887604 | 0.045974 | 29,908 | 2 | 29,881 | 14,954 | 0.008411 | 0 | 0 | 0 | 0 | 0 | 0.000267 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
da39d1f6f62b11ae376b2db1dae55fc7e64fa6e5 | 46 | py | Python | pulseplot/__init__.py | kaustubhmote/pulseplot | 9003ab0784666cd34023e29a5f97acb9861f3567 | [
"BSD-3-Clause"
] | 2 | 2022-02-23T11:23:53.000Z | 2022-03-12T06:39:54.000Z | pulseplot/__init__.py | kaustubhmote/pulseplot | 9003ab0784666cd34023e29a5f97acb9861f3567 | [
"BSD-3-Clause"
] | null | null | null | pulseplot/__init__.py | kaustubhmote/pulseplot | 9003ab0784666cd34023e29a5f97acb9861f3567 | [
"BSD-3-Clause"
] | null | null | null | from .pulseplot import *
from .parse import *
| 15.333333 | 24 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
da3d3ed69153bcacee2a92317a2aea1fd9fd6026 | 512 | py | Python | zhangliqiang/20180328/w2.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null | zhangliqiang/20180328/w2.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null | zhangliqiang/20180328/w2.py | python20180319howmework/homework | c826d7aa4c52f8d22f739feb134d20f0b2c217cd | [
"Apache-2.0"
] | null | null | null |
# ["172.16.3.1", “172.16.1.5”, “172.15.2.0”, “172.16.3.1”, “172.16.3.1”, “172.16.1.5”]统计在此列表中每一个ip出现的次数,并输出出现频率最高的成员
l = ["172.16.3.1","172.16.1.5", "172.15.2.0", "172.16.3.1", "172.16.3.1","172.16.1.5"]
s1 = l.count('172.16.3.1')
s2 = l.count('172.16.1.5')
s3 = l.count('172.15.2.0')
b1 = l[0]
b2 = l[1]
b3 = l... | 21.333333 | 116 | 0.554688 | 125 | 512 | 2.272 | 0.168 | 0.28169 | 0.190141 | 0.221831 | 0.697183 | 0.570423 | 0.295775 | 0.295775 | 0.295775 | 0.295775 | 0 | 0.35022 | 0.113281 | 512 | 23 | 117 | 22.26087 | 0.27533 | 0.222656 | 0 | 0 | 0 | 0 | 0.473282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
da7ec74d6af47212a3fb988b56958b1943e493c7 | 124 | py | Python | app/app/calc.py | docostar/recipe-app-api | 2d6d959d67e6c21b3b90ef9cc5fc5d98cfda0d30 | [
"MIT"
] | null | null | null | app/app/calc.py | docostar/recipe-app-api | 2d6d959d67e6c21b3b90ef9cc5fc5d98cfda0d30 | [
"MIT"
] | null | null | null | app/app/calc.py | docostar/recipe-app-api | 2d6d959d67e6c21b3b90ef9cc5fc5d98cfda0d30 | [
"MIT"
] | null | null | null | def add(x, y):
"""Return sum of 2 numbers"""
return x+y
def subtract(x, y):
'''Subtract x-y'''
return x-y
| 13.777778 | 33 | 0.532258 | 22 | 124 | 3 | 0.454545 | 0.151515 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.282258 | 124 | 8 | 34 | 15.5 | 0.730337 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
da8c4f6d1fb376a04645fedc5231ebebb8ef5353 | 93 | py | Python | Configuration/StandardSequences/python/L1Extra_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Configuration/StandardSequences/python/L1Extra_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Configuration/StandardSequences/python/L1Extra_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from L1Trigger.Configuration.L1Extra_cff import *
| 18.6 | 49 | 0.83871 | 12 | 93 | 6.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.107527 | 93 | 4 | 50 | 23.25 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e524bea0c092f7107e48cc4775d78183153cde35 | 397 | py | Python | common/oprand.py | Tikubonn/cbi | 62745b64dfe86111937a3431e41dabcf9f48dd78 | [
"MIT"
] | null | null | null | common/oprand.py | Tikubonn/cbi | 62745b64dfe86111937a3431e41dabcf9f48dd78 | [
"MIT"
] | null | null | null | common/oprand.py | Tikubonn/cbi | 62745b64dfe86111937a3431e41dabcf9f48dd78 | [
"MIT"
] | null | null | null |
class oprand:
def init (self):
self.props = {}
def add (self, name, value):
self.props[name] = value
def get (self, name):
return self.props.get(name, "")
def remove (self, name):
return self.props.pop(name)
def parse (self, stream):
pass
def run (s... | 14.703704 | 39 | 0.521411 | 49 | 397 | 4.142857 | 0.367347 | 0.17734 | 0.137931 | 0.17734 | 0.226601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.360202 | 397 | 26 | 40 | 15.269231 | 0.799213 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0.1875 | 0 | 0.125 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
e5418e32182f1c9b925914c617f0023562f12366 | 2,637 | py | Python | src/clm/urls.py | cc1-cloud/cc1 | 8113673fa13b6fe195cea99dedab9616aeca3ae8 | [
"Apache-2.0"
] | 11 | 2015-05-06T14:16:54.000Z | 2022-02-08T23:21:31.000Z | src/clm/urls.py | fortress-shell/cc1 | 8113673fa13b6fe195cea99dedab9616aeca3ae8 | [
"Apache-2.0"
] | 1 | 2015-10-30T21:08:11.000Z | 2015-10-30T21:08:11.000Z | src/clm/urls.py | fortress-shell/cc1 | 8113673fa13b6fe195cea99dedab9616aeca3ae8 | [
"Apache-2.0"
] | 5 | 2016-02-12T22:01:38.000Z | 2021-12-06T16:56:54.000Z | # -*- coding: utf-8 -*-
# @COPYRIGHT_begin
#
# Copyright [2010-2014] Institute of Nuclear Physics PAN, Krakow, Poland
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apac... | 33.379747 | 109 | 0.73796 | 414 | 2,637 | 4.608696 | 0.330918 | 0.135744 | 0.226415 | 0.330189 | 0.536164 | 0.342243 | 0.160901 | 0 | 0 | 0 | 0 | 0.005809 | 0.151308 | 2,637 | 78 | 110 | 33.807692 | 0.846738 | 0.277588 | 0 | 0 | 0 | 0 | 0.018085 | 0 | 0 | 0 | 0 | 0.012821 | 0 | 1 | 0 | false | 0 | 0.791667 | 0 | 0.791667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e550b330c5f6f0de3e5c92822e2205845813689f | 54 | py | Python | src/probnum/diffeq/perturbed/__init__.py | christopheroates/probnum | 4ae63da307bd7279c3ce477ef68cbd0b8e30c73a | [
"MIT"
] | 226 | 2019-11-01T09:44:09.000Z | 2022-03-30T23:17:17.000Z | src/probnum/diffeq/perturbed/__init__.py | christopheroates/probnum | 4ae63da307bd7279c3ce477ef68cbd0b8e30c73a | [
"MIT"
] | 590 | 2019-11-21T08:32:30.000Z | 2022-03-31T12:37:37.000Z | src/probnum/diffeq/perturbed/__init__.py | christopheroates/probnum | 4ae63da307bd7279c3ce477ef68cbd0b8e30c73a | [
"MIT"
] | 39 | 2020-01-13T16:29:45.000Z | 2022-03-28T16:16:54.000Z | """Perturbation-based solvers."""
from . import step
| 13.5 | 33 | 0.703704 | 6 | 54 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 3 | 34 | 18 | 0.808511 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e585df7edaea42ab345fc4c26a26eb1bdf07932e | 106 | py | Python | tests/core/admin-module/test_admin_peers.py | pjryan93/web3.py | e066452a7b0e78d6cb8a9462532d169de901ef99 | [
"MIT"
] | 326 | 2016-04-29T21:51:06.000Z | 2022-03-31T03:20:54.000Z | tests/core/admin-module/test_admin_peers.py | pjryan93/web3.py | e066452a7b0e78d6cb8a9462532d169de901ef99 | [
"MIT"
] | 283 | 2016-04-15T16:41:31.000Z | 2017-11-28T16:41:36.000Z | tests/core/admin-module/test_admin_peers.py | pjryan93/web3.py | e066452a7b0e78d6cb8a9462532d169de901ef99 | [
"MIT"
] | 146 | 2016-04-14T16:27:54.000Z | 2021-10-03T13:31:07.000Z | def test_admin_peers(web3, skip_if_testrpc):
skip_if_testrpc(web3)
assert web3.admin.peers == []
| 21.2 | 44 | 0.726415 | 16 | 106 | 4.4375 | 0.5625 | 0.28169 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.160377 | 106 | 4 | 45 | 26.5 | 0.764045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e597e362c3e5a90d0601620dc7bccfc64006dbda | 4,324 | py | Python | socrates_tool/app/template/tools/overflow/models/astnode.py | stfbk/socrates-replication-package | 8a31fb2c6bfa0d579707c6ec88bd2cf480589ff6 | [
"Apache-2.0"
] | null | null | null | socrates_tool/app/template/tools/overflow/models/astnode.py | stfbk/socrates-replication-package | 8a31fb2c6bfa0d579707c6ec88bd2cf480589ff6 | [
"Apache-2.0"
] | null | null | null | socrates_tool/app/template/tools/overflow/models/astnode.py | stfbk/socrates-replication-package | 8a31fb2c6bfa0d579707c6ec88bd2cf480589ff6 | [
"Apache-2.0"
] | 1 | 2020-04-16T06:32:54.000Z | 2020-04-16T06:32:54.000Z |
from modules import expressionhelper
class AstNode:
def __init__(self, parent, dic):
self.parent = parent
self.dic = dic
def __getitem__(self, key: str) -> dict:
"""
Returns a dictionary, accessing with the "key" to the dictionary
:rtype: dict
"""
if type(key) == 'string':
raise Exception("The ar... | 30.885714 | 92 | 0.6605 | 546 | 4,324 | 5.142857 | 0.164835 | 0.157051 | 0.074786 | 0.060541 | 0.719729 | 0.700499 | 0.700499 | 0.700499 | 0.700499 | 0.658476 | 0 | 0.005015 | 0.169982 | 4,324 | 139 | 93 | 31.107914 | 0.777375 | 0.031915 | 0 | 0.568421 | 0 | 0 | 0.221795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.010526 | 0 | 0.357895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e59bb312352531215d9107f2b899de2ef4f3aa0f | 335 | py | Python | pythonFiles/jedi/evaluate/context/__init__.py | geecodecommunity/GeeCode | 18a4441f19ad4f61e760811e4b637d08c4b7ba37 | [
"MIT"
] | null | null | null | pythonFiles/jedi/evaluate/context/__init__.py | geecodecommunity/GeeCode | 18a4441f19ad4f61e760811e4b637d08c4b7ba37 | [
"MIT"
] | 6 | 2020-07-17T08:45:58.000Z | 2022-03-25T18:44:47.000Z | pythonFiles/jedi/evaluate/context/__init__.py | geecodecommunity/GeeCode | 18a4441f19ad4f61e760811e4b637d08c4b7ba37 | [
"MIT"
] | null | null | null | from jedi.evaluate.context.module import ModuleContext
from jedi.evaluate.context.klass import ClassContext
from jedi.evaluate.context.function import FunctionContext, FunctionExecutionContext
from jedi.evaluate.context.instance import AnonymousInstance, BoundMethod, \
CompiledInstance, AbstractInstanceContext,... | 55.833333 | 85 | 0.853731 | 33 | 335 | 8.666667 | 0.545455 | 0.111888 | 0.223776 | 0.321678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092537 | 335 | 5 | 86 | 67 | 0.940789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e5ac2cf5bb9fde0e46a281d9df2f0e57576b2e72 | 69 | py | Python | coscmd/ljs_test.py | ljs904123126/cos_cmd | 2028b7dd0668000c212f4b7653f7b8fdfa040af2 | [
"MIT"
] | null | null | null | coscmd/ljs_test.py | ljs904123126/cos_cmd | 2028b7dd0668000c212f4b7653f7b8fdfa040af2 | [
"MIT"
] | null | null | null | coscmd/ljs_test.py | ljs904123126/cos_cmd | 2028b7dd0668000c212f4b7653f7b8fdfa040af2 | [
"MIT"
] | null | null | null | import sys
from coscmd.cos_cmd import _main
print(sys.version)
| 7.666667 | 33 | 0.753623 | 11 | 69 | 4.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 69 | 8 | 34 | 8.625 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e5d749860a4fc6f54640a074ce83580c01738516 | 133 | py | Python | imagersite/imager_profile/admin.py | grandquista/django-imager | a2ba44a7377abc086d411dbe49e89c7b07897c63 | [
"MIT"
] | null | null | null | imagersite/imager_profile/admin.py | grandquista/django-imager | a2ba44a7377abc086d411dbe49e89c7b07897c63 | [
"MIT"
] | 2 | 2022-01-13T04:25:17.000Z | 2022-03-12T01:06:00.000Z | imagersite/imager_profile/admin.py | grandquista/django-imager | a2ba44a7377abc086d411dbe49e89c7b07897c63 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import ImagerProfile
# Register your models here.
admin.site.register(ImagerProfile)
| 19 | 34 | 0.819549 | 17 | 133 | 6.411765 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 6 | 35 | 22.166667 | 0.931624 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f9174f940f4291c4ed386a3f41ca2d6d033a206d | 943 | py | Python | app/ssp_module/models.py | khushalt/ssp_india | 02d760ae25917e86ea03ac5f5845068d7d987bdb | [
"MIT"
] | 1 | 2020-07-04T14:42:49.000Z | 2020-07-04T14:42:49.000Z | app/ssp_module/models.py | khushalt/ssp_india | 02d760ae25917e86ea03ac5f5845068d7d987bdb | [
"MIT"
] | null | null | null | app/ssp_module/models.py | khushalt/ssp_india | 02d760ae25917e86ea03ac5f5845068d7d987bdb | [
"MIT"
] | null | null | null | from app.app import db, login_manager
from app.app import create_app
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
class User(UserMixin, db.Model):
email = db.Column(db.String(120), index=True, unique=True, nullable=False, primary_key=True)
passwor... | 30.419355 | 96 | 0.731707 | 133 | 943 | 4.992481 | 0.353383 | 0.126506 | 0.075301 | 0.072289 | 0.078313 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011407 | 0.163309 | 943 | 30 | 97 | 31.433333 | 0.830165 | 0 | 0 | 0 | 1 | 0 | 0.007439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.285714 | 0.190476 | 0.190476 | 0.904762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
f92a7201d64ef033881a9d4660c09858e06f26f0 | 274 | py | Python | Tests/test_query/test_parse.py | duncanbackr/jit_analytics | 9c81ff294459ccda5f3d3ace40dd5f5b44cfa4d1 | [
"MIT"
] | null | null | null | Tests/test_query/test_parse.py | duncanbackr/jit_analytics | 9c81ff294459ccda5f3d3ace40dd5f5b44cfa4d1 | [
"MIT"
] | null | null | null | Tests/test_query/test_parse.py | duncanbackr/jit_analytics | 9c81ff294459ccda5f3d3ace40dd5f5b44cfa4d1 | [
"MIT"
] | null | null | null | import Query
def test_video_id_parser():
video_string = Query.parse.create_video_string('12z13z14z')
assert video_string == ' AND video_id in (12, 13, 14)'
video_string = Query.parse.create_video_string('12z')
assert video_string == ' AND video_id in (12)' | 34.25 | 63 | 0.722628 | 41 | 274 | 4.512195 | 0.439024 | 0.356757 | 0.172973 | 0.227027 | 0.745946 | 0.745946 | 0.745946 | 0.335135 | 0 | 0 | 0 | 0.069869 | 0.164234 | 274 | 8 | 64 | 34.25 | 0.737991 | 0 | 0 | 0 | 0 | 0 | 0.225455 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0058ffad11eec2b7cc730f0758965e22e3091728 | 56 | py | Python | d3d/dataset/waymo/__init__.py | minghanz/d3d | 1d08013238b300489f61be57cdd20a105d16a632 | [
"MIT"
] | null | null | null | d3d/dataset/waymo/__init__.py | minghanz/d3d | 1d08013238b300489f61be57cdd20a105d16a632 | [
"MIT"
] | null | null | null | d3d/dataset/waymo/__init__.py | minghanz/d3d | 1d08013238b300489f61be57cdd20a105d16a632 | [
"MIT"
] | null | null | null | from .loader import WaymoObjectLoader, WaymoObjectClass
| 28 | 55 | 0.875 | 5 | 56 | 9.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 1 | 56 | 56 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
00d584d9a06d6cc25ec3b96eadc58bf41de12001 | 104 | py | Python | Media/common/Build/build_social_world_assets.py | dmacka/MultiverseClientServer | b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379 | [
"MIT"
] | 5 | 2020-04-29T19:14:57.000Z | 2022-02-18T08:48:37.000Z | Media/common/Build/build_social_world_assets.py | dmacka/MultiverseClientServer | b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379 | [
"MIT"
] | null | null | null | Media/common/Build/build_social_world_assets.py | dmacka/MultiverseClientServer | b64d7d754a0b2b1a3e5acabd4d6ebb80ab1d9379 | [
"MIT"
] | 2 | 2021-03-09T06:53:30.000Z | 2021-03-27T12:02:39.000Z | from build_assets import *
build_assets(["Base","SocialWorld","Rocketbox"], "social_world_assets.tar")
| 26 | 75 | 0.769231 | 13 | 104 | 5.846154 | 0.769231 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 104 | 3 | 76 | 34.666667 | 0.783505 | 0 | 0 | 0 | 0 | 0 | 0.451923 | 0.221154 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dab4f87a382267943d324623af886b7523fbf108 | 240 | py | Python | nephelae_paparazzi/missions/rules/__init__.py | pnarvor/nephelae_paparazzi | 1c000444c39b342e90f39f432737ef06be762f56 | [
"BSD-3-Clause"
] | null | null | null | nephelae_paparazzi/missions/rules/__init__.py | pnarvor/nephelae_paparazzi | 1c000444c39b342e90f39f432737ef06be762f56 | [
"BSD-3-Clause"
] | null | null | null | nephelae_paparazzi/missions/rules/__init__.py | pnarvor/nephelae_paparazzi | 1c000444c39b342e90f39f432737ef06be762f56 | [
"BSD-3-Clause"
] | null | null | null | from .ParameterRules import ParameterRules
from .SimpleBounds import SimpleBounds
from .DefaultValue import DefaultValue
from .TypeCheck import TypeCheck
from .AllowedValues import AllowedValues
from .Length import Length
| 34.285714 | 42 | 0.8 | 24 | 240 | 8 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 240 | 6 | 43 | 40 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dabd3cca348058bf165007424a643616f4494857 | 71 | py | Python | src/anonymizer_service/__init__.py | klaskaris11/gsoc2019-anonymization | 09a4ddd2bd74dc0eecded3e5e3f03c4fc4089ce1 | [
"MIT"
] | null | null | null | src/anonymizer_service/__init__.py | klaskaris11/gsoc2019-anonymization | 09a4ddd2bd74dc0eecded3e5e3f03c4fc4089ce1 | [
"MIT"
] | 1 | 2020-09-14T16:09:05.000Z | 2020-09-14T16:09:05.000Z | src/anonymizer_service/__init__.py | klaskaris11/gsoc2019-anonymization | 09a4ddd2bd74dc0eecded3e5e3f03c4fc4089ce1 | [
"MIT"
] | 1 | 2020-07-05T14:22:13.000Z | 2020-07-05T14:22:13.000Z | from anonymizer_service import matcher_patterns, trie_index, anonymize
| 35.5 | 70 | 0.887324 | 9 | 71 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 1 | 71 | 71 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dacb476ef73c8ba5f43811d3aabefa2bc3ce7da2 | 108 | py | Python | apps/preference/admin.py | FeiChaiCom/django-netdisk | f9ef4f46a065527f0ace0a65f2b3210d1657b80f | [
"MIT"
] | 6 | 2021-05-22T12:23:29.000Z | 2022-01-01T01:38:29.000Z | apps/preference/admin.py | gaomugong/django-netdisk | 5b2204f5087579bb6a26c6b92972a9f53bd05a7c | [
"MIT"
] | null | null | null | apps/preference/admin.py | gaomugong/django-netdisk | 5b2204f5087579bb6a26c6b92972a9f53bd05a7c | [
"MIT"
] | 1 | 2021-05-22T15:25:33.000Z | 2021-05-22T15:25:33.000Z | from django.contrib import admin
from apps.preference.models import Preference
admin.register(Preference)
| 18 | 45 | 0.842593 | 14 | 108 | 6.5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 5 | 46 | 21.6 | 0.938144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9749aa6867b265b2d5aa21d0bfee8f6a1be7d5c1 | 83 | py | Python | gauth/__init__.py | aparafita/gauth | 05c1c8b77faa72ac49bcf4b03e45046da64d3ab2 | [
"MIT"
] | null | null | null | gauth/__init__.py | aparafita/gauth | 05c1c8b77faa72ac49bcf4b03e45046da64d3ab2 | [
"MIT"
] | null | null | null | gauth/__init__.py | aparafita/gauth | 05c1c8b77faa72ac49bcf4b03e45046da64d3ab2 | [
"MIT"
] | null | null | null | from .auth import authorize, load
from .decorators import quota
from . import utils | 27.666667 | 33 | 0.807229 | 12 | 83 | 5.583333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 34 | 27.666667 | 0.943662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
976598f188afd817be2374f242a89610f564a081 | 244 | py | Python | c02.py | loocasch/uwm-ssi | ee36f10e916b9c3c47864c28ef5c1692475f7182 | [
"MIT"
] | null | null | null | c02.py | loocasch/uwm-ssi | ee36f10e916b9c3c47864c28ef5c1692475f7182 | [
"MIT"
] | null | null | null | c02.py | loocasch/uwm-ssi | ee36f10e916b9c3c47864c28ef5c1692475f7182 | [
"MIT"
] | null | null | null | import math
from helpers import *
import random
# coding=utf-8
australian_TST = importFile("data/australian_TST.txt")
australian_TRN = importFile("data/australian_TRN.txt")
getNaiveBayes(australian_TST, australian_TRN, "c02", False)
| 24.4 | 60 | 0.770492 | 31 | 244 | 5.870968 | 0.548387 | 0.214286 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.127049 | 244 | 9 | 61 | 27.111111 | 0.840376 | 0.04918 | 0 | 0 | 0 | 0 | 0.221719 | 0.208145 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
97680c58ca8f42c4bfda2c942980d696909ddac9 | 135 | py | Python | ciphey/__init__.py | paramint/ciphey | 26195dfe1f216c3d43d07b50279b64eb026f0c13 | [
"MIT"
] | null | null | null | ciphey/__init__.py | paramint/ciphey | 26195dfe1f216c3d43d07b50279b64eb026f0c13 | [
"MIT"
] | 4 | 2020-11-13T19:01:56.000Z | 2022-02-10T02:14:00.000Z | ciphey/__init__.py | paramint/ciphey | 26195dfe1f216c3d43d07b50279b64eb026f0c13 | [
"MIT"
] | null | null | null | from . import common
from . import iface
from . import basemods
from . import ciphey
if __name__ == '__main__':
ciphey.main()
| 12.272727 | 26 | 0.688889 | 17 | 135 | 5 | 0.529412 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 135 | 10 | 27 | 13.5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
97b2688d4a90b357c1e4cbdf29cc5dbfb9d6e140 | 220 | py | Python | src/bot/utils/localization.py | teamvolik/teamvolik | 35acc1405d4f0211236631d0c5bbdbf4f948fcb6 | [
"MIT"
] | 6 | 2022-03-27T22:13:35.000Z | 2022-03-31T22:45:02.000Z | src/bot/utils/localization.py | teamvolik/teamvolik | 35acc1405d4f0211236631d0c5bbdbf4f948fcb6 | [
"MIT"
] | 15 | 2022-03-18T09:47:31.000Z | 2022-03-29T15:26:51.000Z | src/bot/utils/localization.py | teamvolik/teamvolik | 35acc1405d4f0211236631d0c5bbdbf4f948fcb6 | [
"MIT"
] | null | null | null | """Module imported functionality required for correct localization."""
import gettext
translation = gettext.translation("bot", "src/localization", fallback=True)
_, ngettext = translation.gettext, translation.ngettext
| 31.428571 | 75 | 0.795455 | 22 | 220 | 7.909091 | 0.681818 | 0.310345 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095455 | 220 | 6 | 76 | 36.666667 | 0.874372 | 0.290909 | 0 | 0 | 0 | 0 | 0.126667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8aeab5773cc16722d7309966c4ff55a684b14632 | 185 | py | Python | djmodels/contrib/gis/gdal/base.py | iMerica/dj-models | fbe4a55ac362f9355a2298f58aa0deb0b6082e19 | [
"BSD-3-Clause"
] | 5 | 2019-02-15T16:47:50.000Z | 2021-12-26T18:52:23.000Z | djmodels/contrib/gis/gdal/base.py | iMerica/dj-models | fbe4a55ac362f9355a2298f58aa0deb0b6082e19 | [
"BSD-3-Clause"
] | null | null | null | djmodels/contrib/gis/gdal/base.py | iMerica/dj-models | fbe4a55ac362f9355a2298f58aa0deb0b6082e19 | [
"BSD-3-Clause"
] | 2 | 2021-08-09T02:29:09.000Z | 2021-08-20T03:30:11.000Z | from djmodels.contrib.gis.gdal.error import GDALException
from djmodels.contrib.gis.ptr import CPointerBase
class GDALBase(CPointerBase):
null_ptr_exception_class = GDALException
| 26.428571 | 57 | 0.837838 | 23 | 185 | 6.608696 | 0.608696 | 0.157895 | 0.25 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 185 | 6 | 58 | 30.833333 | 0.915663 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8af22f4754a345e8ff634ce5c3cce9184c995c29 | 13,513 | py | Python | script_11/Moine/prints_Moine.py | Doun92/UNIL_DH_memoire | 138c8f7d9c97334860e241f427a192a2ff9312c4 | [
"MIT"
] | null | null | null | script_11/Moine/prints_Moine.py | Doun92/UNIL_DH_memoire | 138c8f7d9c97334860e241f427a192a2ff9312c4 | [
"MIT"
] | null | null | null | script_11/Moine/prints_Moine.py | Doun92/UNIL_DH_memoire | 138c8f7d9c97334860e241f427a192a2ff9312c4 | [
"MIT"
] | null | null | null | print(EvolutionPhonetique.evolution_phonetique("AB")) # a
print(EvolutionPhonetique.evolution_phonetique("A COSTÚDMÁRU")) # acotumé
print(EvolutionPhonetique.evolution_phonetique("A DỌNC")) # adonc
print(EvolutionPhonetique.evolution_phonetique("HÁBYO")) # ai
print(EvolutionPhonetique.evolution_phonetique("ÁNTS")) ... | 66.566502 | 82 | 0.819507 | 1,223 | 13,513 | 8.889616 | 0.3148 | 0.445916 | 0.613135 | 0.798933 | 0.049209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06083 | 13,513 | 202 | 83 | 66.89604 | 0.85667 | 0.095834 | 0 | 0 | 0 | 0 | 0.098036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c1218793d85241d2e60d0f50dc3ef1a52d5529a8 | 103 | py | Python | copulae/mixtures/gmc/estimators/__init__.py | CrisDS81/copulae | 2a312c2b849f95cfb2b40b381d34bc790d9d80c5 | [
"MIT"
] | 100 | 2019-01-30T19:52:04.000Z | 2022-03-18T10:00:17.000Z | copulae/mixtures/gmc/estimators/__init__.py | CrisDS81/copulae | 2a312c2b849f95cfb2b40b381d34bc790d9d80c5 | [
"MIT"
] | 30 | 2019-07-14T00:30:03.000Z | 2021-08-24T08:59:14.000Z | copulae/mixtures/gmc/estimators/__init__.py | CrisDS81/copulae | 2a312c2b849f95cfb2b40b381d34bc790d9d80c5 | [
"MIT"
] | 25 | 2019-03-10T21:12:55.000Z | 2021-11-09T11:54:16.000Z | from .em import expectation_maximization
from .sgd import gradient_descent
from .kmeans import k_means
| 25.75 | 40 | 0.854369 | 15 | 103 | 5.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 3 | 41 | 34.333333 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c12d614c9e34304e01491e1201bd4630ea5541a2 | 3,010 | py | Python | character_map_45_sean.py | marianalatynina/press-stitch | 92e18916362e6c389a7e3a89996d9a02678cf22a | [
"Unlicense"
] | 3 | 2021-06-02T08:03:27.000Z | 2022-02-15T11:09:36.000Z | character_map_45_sean.py | marianalatynina/press-stitch | 92e18916362e6c389a7e3a89996d9a02678cf22a | [
"Unlicense"
] | 1 | 2022-03-02T16:05:09.000Z | 2022-03-02T16:05:09.000Z | character_map_45_sean.py | marianalatynina/press-stitch | 92e18916362e6c389a7e3a89996d9a02678cf22a | [
"Unlicense"
] | 4 | 2021-06-07T06:45:01.000Z | 2022-03-01T14:39:42.000Z | characterMapSean = {
"sean_base_001": "sean_base_001", # Auto: Edited
"sean_base_y_001": "", # Auto: Deleted
"sean_ex_001_001": "sean_ex_001_001", # Auto: Edited
... | 91.212121 | 99 | 0.33289 | 245 | 3,010 | 3.514286 | 0.089796 | 0.278746 | 0.276423 | 0.334495 | 0.659698 | 0.371661 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.586379 | 3,010 | 32 | 100 | 94.0625 | 0.491566 | 0.134884 | 0 | 0 | 0 | 0 | 0.260008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c13f0920fe8e665e3ac07e7c99823df4c459df0c | 267 | py | Python | main/PluginDemos/FocalPointPlasticity/FocalPointPlasticityCompartments/Simulation/FocalPointPlasticityCompartments.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/PluginDemos/FocalPointPlasticity/FocalPointPlasticityCompartments/Simulation/FocalPointPlasticityCompartments.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/PluginDemos/FocalPointPlasticity/FocalPointPlasticityCompartments/Simulation/FocalPointPlasticityCompartments.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | 1 | 2021-02-26T21:50:29.000Z | 2021-02-26T21:50:29.000Z | import cc3d.CompuCellSetup as CompuCellSetup
from FocalPointPlasticityCompartmentsSteppables import FocalPointPlasticityCompartmentsSteppable
CompuCellSetup.register_steppable(steppable=FocalPointPlasticityCompartmentsSteppable(frequency=1))
CompuCellSetup.run()
| 29.666667 | 99 | 0.906367 | 18 | 267 | 13.388889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007905 | 0.052434 | 267 | 8 | 100 | 33.375 | 0.944664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c181f3d9b08b6adb67f0ee8bfaf24f8864bad5e2 | 7,442 | py | Python | igtagger/rulesexecutor/rules_english_constitutive.py | institutional-grammar-pl/ig-tagger | a162525dd3c15517be2b56bb63b2d76db5508604 | [
"MIT"
] | null | null | null | igtagger/rulesexecutor/rules_english_constitutive.py | institutional-grammar-pl/ig-tagger | a162525dd3c15517be2b56bb63b2d76db5508604 | [
"MIT"
] | null | null | null | igtagger/rulesexecutor/rules_english_constitutive.py | institutional-grammar-pl/ig-tagger | a162525dd3c15517be2b56bb63b2d76db5508604 | [
"MIT"
] | null | null | null | from igtagger.rulesexecutor.rules import Rule, IGTag
from typing import List
from igtagger.rulesexecutor.ig_element import IGElement
from igtagger.annotator.lexical_tree import LexicalTreeNode
class ConstitutiveRules(Rule):
def apply(self, tree: LexicalTreeNode, annotations: List[IGTag], component_id, level_id):... | 55.125926 | 175 | 0.490728 | 847 | 7,442 | 4.145218 | 0.116883 | 0.069781 | 0.069211 | 0.12589 | 0.765879 | 0.753916 | 0.728852 | 0.710909 | 0.704643 | 0.695528 | 0 | 0.009021 | 0.404192 | 7,442 | 134 | 176 | 55.537313 | 0.782815 | 0 | 0 | 0.474576 | 0 | 0 | 0.036012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008475 | false | 0.025424 | 0.033898 | 0 | 0.084746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c1a17b2cea7008ae401e4d3df76724cd6d3028bc | 51 | py | Python | src/dbspy/core/analyze/__init__.py | ZhengKeli/PositronSpector | be0281fe50fe634183b6f239f03b7140c1dc0b7f | [
"MIT"
] | 1 | 2019-06-18T09:23:42.000Z | 2019-06-18T09:23:42.000Z | src/dbspy/core/analyze/__init__.py | ZhengKeli/DBSpy | be0281fe50fe634183b6f239f03b7140c1dc0b7f | [
"MIT"
] | null | null | null | src/dbspy/core/analyze/__init__.py | ZhengKeli/DBSpy | be0281fe50fe634183b6f239f03b7140c1dc0b7f | [
"MIT"
] | null | null | null | from . import sw, curve
from ._analyze import Conf
| 17 | 26 | 0.764706 | 8 | 51 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 51 | 2 | 27 | 25.5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c1b399abf6883f3160eb59bf9c511230e7a1c8bd | 2,100 | py | Python | tests/test_integration/test_sync/test_playback.py | Nobyx/pyfy | e18a7b7e48eefc4cb58e5d826c341bce99452a66 | [
"MIT"
] | 48 | 2019-02-13T19:53:39.000Z | 2021-05-04T20:56:34.000Z | tests/test_integration/test_sync/test_playback.py | Nobyx/pyfy | e18a7b7e48eefc4cb58e5d826c341bce99452a66 | [
"MIT"
] | 21 | 2019-01-09T17:46:13.000Z | 2021-08-22T12:38:59.000Z | tests/test_integration/test_sync/test_playback.py | Nobyx/pyfy | e18a7b7e48eefc4cb58e5d826c341bce99452a66 | [
"MIT"
] | 15 | 2019-01-03T01:30:24.000Z | 2022-01-30T09:53:18.000Z | def test_devices(spotify_user_auth):
assert spotify_user_auth.devices()
def test_recently_played_tracks(spotify_user_auth):
assert spotify_user_auth.recently_played_tracks()
def test_play_album(spotify_user_auth, reise_reise_album_id):
assert spotify_user_auth.play(album_id=reise_reise_album_id) is not ... | 27.631579 | 82 | 0.80381 | 338 | 2,100 | 4.544379 | 0.139053 | 0.272135 | 0.371094 | 0.287109 | 0.73763 | 0.664714 | 0.616536 | 0.35026 | 0.330729 | 0.263021 | 0 | 0.006051 | 0.134286 | 2,100 | 75 | 83 | 28 | 0.838834 | 0.004762 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.488372 | 1 | 0.395349 | false | 0 | 0 | 0 | 0.395349 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c1cf42dce225b5a7d42c72ef92b89a3f2e7dcd15 | 62 | py | Python | uiauto/__init__.py | foris323/uiauto_patch | f0a6ac0231c4eeee2aa3f3935dcd17eacc03f878 | [
"Apache-2.0"
] | null | null | null | uiauto/__init__.py | foris323/uiauto_patch | f0a6ac0231c4eeee2aa3f3935dcd17eacc03f878 | [
"Apache-2.0"
] | null | null | null | uiauto/__init__.py | foris323/uiauto_patch | f0a6ac0231c4eeee2aa3f3935dcd17eacc03f878 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from .uiauto import *
| 15.5 | 38 | 0.822581 | 8 | 62 | 5.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 3 | 39 | 20.666667 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c1dc3b48335d28ae3d86d42c540ad03375afb238 | 198 | py | Python | src/algorithms/lib/AlgorithmCalculator.py | shayansm2/metaalgolib | 354e0d215d61b893b7069f5379222cb2df7561fe | [
"MIT"
] | null | null | null | src/algorithms/lib/AlgorithmCalculator.py | shayansm2/metaalgolib | 354e0d215d61b893b7069f5379222cb2df7561fe | [
"MIT"
] | null | null | null | src/algorithms/lib/AlgorithmCalculator.py | shayansm2/metaalgolib | 354e0d215d61b893b7069f5379222cb2df7561fe | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from src.lib.Calculator import Calculator
class AlgorithmCalculator(Calculator, ABC):
@abstractmethod
def get_cost_function(self, *args):
pass
| 19.8 | 43 | 0.752525 | 23 | 198 | 6.391304 | 0.695652 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 198 | 9 | 44 | 22 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
de0575937215c5e7912879e238fc8b3961b85e88 | 178 | py | Python | ql/__init__.py | michzimny/teamy-quick-lineup | 843ed80cb0153f0628e33ae2d5bc1c473d2555db | [
"MIT"
] | 1 | 2016-10-09T09:59:05.000Z | 2016-10-09T09:59:05.000Z | ql/__init__.py | michzimny/teamy-quick-lineup | 843ed80cb0153f0628e33ae2d5bc1c473d2555db | [
"MIT"
] | 13 | 2016-10-09T10:29:26.000Z | 2018-02-24T11:18:35.000Z | ql/__init__.py | michzimny/teamy-quick-lineup | 843ed80cb0153f0628e33ae2d5bc1c473d2555db | [
"MIT"
] | null | null | null | # bootstrap Django for ORM
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ql.settings")
from django.core.wsgi import get_wsgi_application
get_wsgi_application()
| 29.666667 | 63 | 0.808989 | 25 | 178 | 5.52 | 0.64 | 0.101449 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106742 | 178 | 5 | 64 | 35.6 | 0.867925 | 0.134831 | 0 | 0 | 0 | 0 | 0.22449 | 0.14966 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
de08b6fad583b2554e0977d36c3a907fec6252c9 | 198 | py | Python | notify_engine/notify_manager/__init__.py | kloliks/notify_engine | f180ca0d1fb87c9ddfaf8a45d5427e2ace72e71d | [
"0BSD"
] | null | null | null | notify_engine/notify_manager/__init__.py | kloliks/notify_engine | f180ca0d1fb87c9ddfaf8a45d5427e2ace72e71d | [
"0BSD"
] | null | null | null | notify_engine/notify_manager/__init__.py | kloliks/notify_engine | f180ca0d1fb87c9ddfaf8a45d5427e2ace72e71d | [
"0BSD"
] | null | null | null | from .interfaces import ( # noqa
EventInterface, EventPublishOptsComponent, EventSerializerComponent
)
from .events import CommonEvent # noqa
from .notify_manager import NotifyManager # noqa
| 33 | 71 | 0.80303 | 18 | 198 | 8.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 198 | 5 | 72 | 39.6 | 0.934911 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a9b08e21bf2138a7f53246cef7d893882f651385 | 7,818 | py | Python | tests/test_patches_chains.py | IzeBerg/python-wgus | c457af6ea57c40c7a2552fb69db1dd74bc6c9740 | [
"MIT"
] | null | null | null | tests/test_patches_chains.py | IzeBerg/python-wgus | c457af6ea57c40c7a2552fb69db1dd74bc6c9740 | [
"MIT"
] | null | null | null | tests/test_patches_chains.py | IzeBerg/python-wgus | c457af6ea57c40c7a2552fb69db1dd74bc6c9740 | [
"MIT"
] | null | null | null | import pytest
from wgus import PatchesChains, get_patches_chains
def test_parse():
data = """
<protocol name="patches_chain" version="1.9" wgc_publisher_id="wargaming,steam">
<patches_chain type="install">
<patch>
<files>
<file>
<name>wot_1.14.1.3252_ru_vtlj1d/wot_1.14.1.1663850_locale_ru... | 32.040984 | 110 | 0.680353 | 1,100 | 7,818 | 4.624545 | 0.115455 | 0.043051 | 0.057401 | 0.074307 | 0.723806 | 0.718498 | 0.681148 | 0.675644 | 0.650285 | 0.650285 | 0 | 0.220242 | 0.153236 | 7,818 | 243 | 111 | 32.17284 | 0.548187 | 0 | 0 | 0.689076 | 0 | 0.121849 | 0.966999 | 0.499616 | 0 | 0 | 0 | 0 | 0.004202 | 1 | 0.004202 | false | 0 | 0.008403 | 0 | 0.012605 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e71a8b5fab6fc6085f50c00b1ce3f762a470236d | 2,391 | py | Python | maths/point2d.py | neodyme60/raypy | a898ba46e07ba299fcb1729dca45abdc1e944f83 | [
"MIT"
] | 1 | 2018-05-15T04:00:17.000Z | 2018-05-15T04:00:17.000Z | maths/point2d.py | neodyme60/raypy | a898ba46e07ba299fcb1729dca45abdc1e944f83 | [
"MIT"
] | null | null | null | maths/point2d.py | neodyme60/raypy | a898ba46e07ba299fcb1729dca45abdc1e944f83 | [
"MIT"
] | null | null | null | class Point2d:
__slots__ = ['x', 'y']
def __init__(self, x: float=0.0, y: float=0.0):
self.x = x
self.y = y
@staticmethod
def create_from_point3d(other):
return Point2d(other.x, other.y)
@staticmethod
def create_from_vector2d(other):
return Point2d... | 30.653846 | 90 | 0.562944 | 280 | 2,391 | 4.682143 | 0.15 | 0.08238 | 0.067124 | 0.067124 | 0.798627 | 0.778795 | 0.778795 | 0.700992 | 0.700992 | 0.700992 | 0 | 0.034682 | 0.348808 | 2,391 | 78 | 91 | 30.653846 | 0.807322 | 0 | 0 | 0.578125 | 0 | 0 | 0.012527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0.1875 | 0.0625 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e74b4ff8cfa7affd55f412df46df90a1b955c9a6 | 129 | py | Python | src/core/models/__init__.py | le717/webring | 50f06b2ee983dc1ce6239d13d1fc321bd73f805d | [
"MIT"
] | 3 | 2021-08-11T01:11:14.000Z | 2021-08-11T17:38:59.000Z | src/core/models/__init__.py | le717/webring | 50f06b2ee983dc1ce6239d13d1fc321bd73f805d | [
"MIT"
] | 8 | 2021-08-11T01:39:28.000Z | 2021-08-19T15:39:47.000Z | src/core/models/__init__.py | le717/webring | 50f06b2ee983dc1ce6239d13d1fc321bd73f805d | [
"MIT"
] | null | null | null | from .AuthKey import *
from .Empty import Empty
from .HttpError import HttpError
from .RotResult import *
from .WebLink import *
| 21.5 | 32 | 0.782946 | 17 | 129 | 5.941176 | 0.411765 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 5 | 33 | 25.8 | 0.926606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e7588068e508a7db9e4b8ca9fa66cb897e971230 | 226 | py | Python | dtamg_py/update.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | null | null | null | dtamg_py/update.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | 15 | 2021-12-20T15:25:23.000Z | 2022-03-07T21:55:57.000Z | dtamg_py/update.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | null | null | null | import click
from dtamg_py.utils import run_dpckan_dataset
@click.command(name='dpckan-update')
def dpckan_update_cli():
"""
Função responsável pela atualização dos conjuntos no CKAN.
"""
run_dpckan_dataset('update')
| 22.6 | 60 | 0.769912 | 31 | 226 | 5.387097 | 0.709677 | 0.107784 | 0.191617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128319 | 226 | 9 | 61 | 25.111111 | 0.847716 | 0.256637 | 0 | 0 | 0 | 0 | 0.121795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e77dbe2cda69a807f302b654ac50d9abf69a7ef4 | 617 | py | Python | utils/config.py | dreaming-dog/tfdnn-kaldi | 48adeaa0f6e733e4df80337458c6c0eacb840668 | [
"Apache-2.0"
] | 4 | 2017-07-07T07:25:00.000Z | 2018-04-25T01:57:03.000Z | utils/config.py | pikaliov/tfdnn-kaldi | 48adeaa0f6e733e4df80337458c6c0eacb840668 | [
"Apache-2.0"
] | 1 | 2018-06-15T09:56:31.000Z | 2018-06-15T09:56:31.000Z | utils/config.py | pikaliov/tfdnn-kaldi | 48adeaa0f6e733e4df80337458c6c0eacb840668 | [
"Apache-2.0"
] | 4 | 2017-05-23T10:46:29.000Z | 2018-04-23T03:06:08.000Z | # Copyright 2016 Srinivas Venkattaramanujam (author: Srinivas Venkattaramanujam)
# Licensed under the Apache License, Version 2.0 (the "License")
# Until we have a config file
class Config:
TRAIN_FEATS = '/speech1/DIT_PROJ/srini/TIMIT/s5/working_dir/train_90/feats.scp'
TRAIN_ALIGNMENTS = '/speech1/DIT_PROJ/sri... | 61.7 | 93 | 0.776337 | 96 | 617 | 4.791667 | 0.40625 | 0.108696 | 0.152174 | 0.206522 | 0.528261 | 0.528261 | 0.528261 | 0.528261 | 0.528261 | 0.26087 | 0 | 0.036101 | 0.102107 | 617 | 9 | 94 | 68.555556 | 0.794224 | 0.275527 | 0 | 0 | 0 | 0 | 0.717833 | 0.717833 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
e7b312d0803841a81a04ba8c1435b9472715f9d2 | 117 | py | Python | jtd/__init__.py | jsontypedef/json-typedef-python | 2569c4018b568d8733fbcdc7a56899b5136fb867 | [
"MIT"
] | 8 | 2021-02-18T10:20:24.000Z | 2022-02-18T22:19:37.000Z | jtd/__init__.py | jsontypedef/json-typedef-python | 2569c4018b568d8733fbcdc7a56899b5136fb867 | [
"MIT"
] | null | null | null | jtd/__init__.py | jsontypedef/json-typedef-python | 2569c4018b568d8733fbcdc7a56899b5136fb867 | [
"MIT"
] | null | null | null | from .schema import Schema
from .validate import MaxDepthExceededError, ValidationError, ValidationOptions, validate
| 39 | 89 | 0.863248 | 11 | 117 | 9.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 117 | 2 | 90 | 58.5 | 0.95283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e7e1f43af2e4ba2e33de780ac026d1551c6558b4 | 91 | py | Python | without_pkg_resources.py | scopatz/import-profiling | 13e5a8b4cce573191c4b7526ff11e91ab261c6e0 | [
"BSD-3-Clause"
] | 1 | 2017-10-12T11:52:33.000Z | 2017-10-12T11:52:33.000Z | without_pkg_resources.py | scopatz/import-profiling | 13e5a8b4cce573191c4b7526ff11e91ab261c6e0 | [
"BSD-3-Clause"
] | null | null | null | without_pkg_resources.py | scopatz/import-profiling | 13e5a8b4cce573191c4b7526ff11e91ab261c6e0 | [
"BSD-3-Clause"
] | null | null | null | import sys
sys.modules['pkg_resources'] = None
import pygments.styles
import prompt_toolkit | 22.75 | 35 | 0.835165 | 13 | 91 | 5.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 4 | 36 | 22.75 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
99ccd056eabc461fbeb2b70e68ae11275007110b | 2,393 | py | Python | AppVoor/resources/frontend_scripts/pop_up.py | Noczio/VoorSpelling | 51e30ab3f3b2e346c6eb56578818020e142a3adb | [
"BSD-3-Clause"
] | 3 | 2020-10-09T06:15:14.000Z | 2021-04-27T02:04:28.000Z | AppVoor/resources/frontend_scripts/pop_up.py | Noczio/VoorSpelling | 51e30ab3f3b2e346c6eb56578818020e142a3adb | [
"BSD-3-Clause"
] | 17 | 2020-09-10T20:22:01.000Z | 2020-12-21T04:57:03.000Z | AppVoor/resources/frontend_scripts/pop_up.py | Noczio/VoorSpelling | 51e30ab3f3b2e346c6eb56578818020e142a3adb | [
"BSD-3-Clause"
] | null | null | null | from abc import ABC, abstractmethod
from PyQt5.QtGui import QFont
from PyQt5.QtWidgets import QMessageBox
class PopUp(ABC):
@abstractmethod
def open_pop_up(self, title: str, body: str, additional: str) -> bool:
pass
class InfoPopUp(PopUp):
def open_pop_up(self, title: str, body: str, addition... | 27.825581 | 74 | 0.624321 | 273 | 2,393 | 5.410256 | 0.252747 | 0.018957 | 0.027082 | 0.032498 | 0.748815 | 0.748815 | 0.748815 | 0.72715 | 0.72715 | 0.72715 | 0 | 0.004698 | 0.288341 | 2,393 | 85 | 75 | 28.152941 | 0.862595 | 0.133723 | 0 | 0.666667 | 0 | 0 | 0.012603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0.017544 | 0.052632 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
99ec4ebe55760d9b6c235e9449643dc2e147f6a4 | 187 | py | Python | torchutils/overrides.py | lzcn/torchutils | 8dc78ddcde72f27758e9774f3d1f5f6172e1a5e9 | [
"MIT"
] | 2 | 2021-01-15T03:13:46.000Z | 2021-04-20T16:20:52.000Z | torchutils/overrides.py | lzcn/torchutils | 8dc78ddcde72f27758e9774f3d1f5f6172e1a5e9 | [
"MIT"
] | null | null | null | torchutils/overrides.py | lzcn/torchutils | 8dc78ddcde72f27758e9774f3d1f5f6172e1a5e9 | [
"MIT"
] | null | null | null | # see: numpy.core.overrides
def set_module(module):
def decorator(func):
if module is not None:
func.__module__ = module
return func
return decorator
| 20.777778 | 36 | 0.631016 | 23 | 187 | 4.913043 | 0.608696 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299465 | 187 | 8 | 37 | 23.375 | 0.862595 | 0.13369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
99f5c06b14b50cc70db8e56c501e05db4421aced | 98 | py | Python | terrascript/fastly/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/fastly/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/fastly/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/fastly/__init__.py
import terrascript
class fastly(terrascript.Provider):
pass | 16.333333 | 35 | 0.795918 | 11 | 98 | 6.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 6 | 36 | 16.333333 | 0.860465 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
823f87d4e66e931a5dab0c15a9910e75d69e85ff | 38 | py | Python | src/d2py/analysis/numbers.py | xinetzone/d2py | 657362a0451921ef5a7b05b4a8378f7379063cdf | [
"Apache-2.0"
] | 3 | 2022-03-09T14:08:42.000Z | 2022-03-10T04:17:17.000Z | src/d2py/analysis/numbers.py | xinetzone/d2py | 657362a0451921ef5a7b05b4a8378f7379063cdf | [
"Apache-2.0"
] | 3 | 2021-11-07T13:11:26.000Z | 2022-03-19T03:28:48.000Z | src/d2py/analysis/numbers.py | xinetzone/d2py | 657362a0451921ef5a7b05b4a8378f7379063cdf | [
"Apache-2.0"
] | 1 | 2022-03-15T14:18:32.000Z | 2022-03-15T14:18:32.000Z | '''Number of abstract base classes
''' | 19 | 34 | 0.710526 | 5 | 38 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 2 | 35 | 19 | 0.818182 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
412f60ff098af05be610072f3b17042383371faf | 63 | py | Python | pyfastcore/__init__.py | migp11/pyfastcore | d9a86a0caa6bdcb378d623e5dd02c58a6aa58c1c | [
"MIT"
] | null | null | null | pyfastcore/__init__.py | migp11/pyfastcore | d9a86a0caa6bdcb378d623e5dd02c58a6aa58c1c | [
"MIT"
] | null | null | null | pyfastcore/__init__.py | migp11/pyfastcore | d9a86a0caa6bdcb378d623e5dd02c58a6aa58c1c | [
"MIT"
] | null | null | null | from .pyfastcore import Fastcore
from .utils import set_medium
| 21 | 32 | 0.84127 | 9 | 63 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 33 | 31.5 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4158af80ad4cfd523acf447649a8d0de52985288 | 104 | py | Python | src/geomm/_print_version.py | stxinsite/geomm | 05ce2404614e3a594c5d5e059b957140f4983bc3 | [
"MIT"
] | 3 | 2018-05-01T16:26:15.000Z | 2019-06-19T21:17:47.000Z | src/geomm/_print_version.py | stxinsite/geomm | 05ce2404614e3a594c5d5e059b957140f4983bc3 | [
"MIT"
] | null | null | null | src/geomm/_print_version.py | stxinsite/geomm | 05ce2404614e3a594c5d5e059b957140f4983bc3 | [
"MIT"
] | 1 | 2021-09-28T15:17:16.000Z | 2021-09-28T15:17:16.000Z | if __name__ == "__main__":
from ._version import get_versions
print(get_versions()['version'])
| 20.8 | 38 | 0.692308 | 12 | 104 | 5.083333 | 0.75 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 104 | 4 | 39 | 26 | 0.709302 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
41922296ae4326371ad10d258f67b99f32ef241f | 77 | py | Python | haystack/ranker/__init__.py | SjSnowball/haystack | bb066c0a2c10253cf2bf7eb8cc829f1a0edde84d | [
"Apache-2.0"
] | 4,544 | 2019-11-14T11:57:49.000Z | 2022-03-31T17:41:18.000Z | haystack/ranker/__init__.py | SjSnowball/haystack | bb066c0a2c10253cf2bf7eb8cc829f1a0edde84d | [
"Apache-2.0"
] | 1,679 | 2020-01-14T15:55:58.000Z | 2022-03-31T20:55:25.000Z | haystack/ranker/__init__.py | SjSnowball/haystack | bb066c0a2c10253cf2bf7eb8cc829f1a0edde84d | [
"Apache-2.0"
] | 820 | 2019-11-27T13:01:42.000Z | 2022-03-31T12:54:34.000Z | from haystack.ranker.sentence_transformers import SentenceTransformersRanker
| 38.5 | 76 | 0.922078 | 7 | 77 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 77 | 1 | 77 | 77 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
41b9cc7a13293efea55cd8554b5e69188694bcd4 | 99 | py | Python | src/holophrasm/write_all_proofs.py | princeton-vl/MetaGen | 6963b973f7b5da8e868ff8ad22033e319976d6cb | [
"BSD-2-Clause"
] | 16 | 2020-11-13T15:25:49.000Z | 2022-02-17T02:06:25.000Z | src/holophrasm/write_all_proofs.py | princeton-vl/MetaGen | 6963b973f7b5da8e868ff8ad22033e319976d6cb | [
"BSD-2-Clause"
] | 2 | 2021-06-03T20:41:50.000Z | 2022-01-04T06:45:16.000Z | src/holophrasm/write_all_proofs.py | princeton-vl/MetaGen | 6963b973f7b5da8e868ff8ad22033e319976d6cb | [
"BSD-2-Clause"
] | 4 | 2020-12-12T02:36:49.000Z | 2021-06-03T19:21:52.000Z | import write_proof
import sys
write_proof.reset()
write_proof.write_all_known_proofs(sys.argv[1])
| 16.5 | 47 | 0.838384 | 17 | 99 | 4.529412 | 0.588235 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.070707 | 99 | 5 | 48 | 19.8 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
41c8339619b1f2485cc3a530cead012e92f0d790 | 11,644 | py | Python | util/data/gen/WindowsCodecs.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/WindowsCodecs.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/WindowsCodecs.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'DllGetClassObject', 'address': '0x7ffb33eb68e0'}, {'type': 'function', 'name': 'IEnumString_Next_WIC_Proxy', 'address': '0x7ffb33f54bb0'}, {'type': 'function', 'name': 'IEnumString_Reset_WIC_Proxy', 'address': '0x7ffb33f54be0'}, {'type': 'function', 'name': 'IProper... | 5,822 | 11,631 | 0.742442 | 902 | 11,644 | 9.351441 | 0.228381 | 0.163604 | 0.218139 | 0.080616 | 0.308002 | 0.308002 | 0.05904 | 0 | 0 | 0 | 0 | 0.085023 | 0.059602 | 11,644 | 2 | 11,631 | 5,822 | 0.685297 | 0 | 0 | 0 | 0 | 0 | 0.741176 | 0.372778 | 0 | 0 | 0.138257 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
41ca49f9dbbfa691aea5485c41877488bec4a6e5 | 260 | py | Python | securedrop/List_Contacts_Packets.py | aokellermann/securedrop | 8f21260ae05287a037de302b50f4f82e3b68f533 | [
"MIT"
] | 2 | 2020-09-29T17:33:49.000Z | 2020-09-29T17:50:39.000Z | securedrop/List_Contacts_Packets.py | aokellermann/securedrop | 8f21260ae05287a037de302b50f4f82e3b68f533 | [
"MIT"
] | 29 | 2020-09-09T19:59:45.000Z | 2020-12-15T03:28:28.000Z | securedrop/List_Contacts_Packets.py | aokellermann/securedrop | 8f21260ae05287a037de302b50f4f82e3b68f533 | [
"MIT"
] | null | null | null | import json
LIST_CONTACTS_PACKETS_NAME = b"LCPN"
class ListContactsPackets:
def __init__(self, data=None):
self.jdict = dict()
def __bytes__(self):
return LIST_CONTACTS_PACKETS_NAME + bytes(json.dumps(self.jdict), encoding='ascii')
| 21.666667 | 91 | 0.711538 | 33 | 260 | 5.181818 | 0.666667 | 0.140351 | 0.222222 | 0.269006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 260 | 11 | 92 | 23.636364 | 0.806604 | 0 | 0 | 0 | 0 | 0 | 0.034615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
68ff70239f7872261e68e174b1adce6cc03af325 | 10,495 | py | Python | 2019/day_7/parser.py | mlucas-NU/advent_of_code | eddb682c431ab5a0ee39c38c91c5f8d803650cda | [
"MIT"
] | null | null | null | 2019/day_7/parser.py | mlucas-NU/advent_of_code | eddb682c431ab5a0ee39c38c91c5f8d803650cda | [
"MIT"
] | null | null | null | 2019/day_7/parser.py | mlucas-NU/advent_of_code | eddb682c431ab5a0ee39c38c91c5f8d803650cda | [
"MIT"
] | null | null | null | import logging
from dataclasses import dataclass, field
from typing import List
@dataclass
class Parser:
program: List[int]
simulated_inputs: List[int]
simulated_outputs: List[int] = field(default_factory=list)
# Registers
inst = 0 # Current Instruction pointer
# Shortcut pointers to funct... | 34.297386 | 92 | 0.573702 | 1,374 | 10,495 | 4.294032 | 0.121543 | 0.09322 | 0.078814 | 0.099831 | 0.764576 | 0.761186 | 0.75 | 0.707966 | 0.707966 | 0.707966 | 0 | 0.026227 | 0.34969 | 10,495 | 305 | 93 | 34.409836 | 0.838242 | 0.454693 | 0 | 0.604651 | 0 | 0 | 0.015898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077519 | false | 0 | 0.023256 | 0 | 0.155039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ec27337b977e07d5e70d381ad32e0acc2f704952 | 230 | py | Python | src/airfly/_vendor/airflow/providers/celery/sensors/celery_queue.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/providers/celery/sensors/celery_queue.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/providers/celery/sensors/celery_queue.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.sensors.base import BaseSensorOperator
class CeleryQueueSensor(BaseSensorOperator):
celery_queue: "str"
target_task_id: "typing.Union[str, NoneType]"
| 28.75 | 66 | 0.791304 | 27 | 230 | 6.592593 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117391 | 230 | 7 | 67 | 32.857143 | 0.876847 | 0.169565 | 0 | 0 | 1 | 0 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ec4c59957e51afb4932850950cd0b62db1702e39 | 168 | py | Python | eagleeye/__init__.py | PaulMcMillan/eagleeye | 3d448f75994f2bcee76e13f0052a43b19fa49ce9 | [
"BSD-2-Clause"
] | 3 | 2017-01-05T13:57:12.000Z | 2019-11-01T07:07:53.000Z | eagleeye/__init__.py | PaulMcMillan/eagleeye | 3d448f75994f2bcee76e13f0052a43b19fa49ce9 | [
"BSD-2-Clause"
] | 1 | 2019-07-18T04:13:02.000Z | 2019-07-18T04:13:55.000Z | eagleeye/__init__.py | PaulMcMillan/eagleeye | 3d448f75994f2bcee76e13f0052a43b19fa49ce9 | [
"BSD-2-Clause"
] | null | null | null | from selchrome import SeleniumWorker as Screenshot
from selchrome import WriteScreenshot as Writer
from precheck import PrecheckHTTP
from precheck import PrecheckHTTPS
| 33.6 | 50 | 0.880952 | 20 | 168 | 7.4 | 0.55 | 0.175676 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 4 | 51 | 42 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ec519d3bd06bbe2245484c890a5b3fa69a1db1e8 | 100 | py | Python | src/models/domain/__init__.py | StrandHQ/strand-slack | 44d63df66c7f26b516b1e823dbba6bd6afa49fee | [
"MIT"
] | null | null | null | src/models/domain/__init__.py | StrandHQ/strand-slack | 44d63df66c7f26b516b1e823dbba6bd6afa49fee | [
"MIT"
] | null | null | null | src/models/domain/__init__.py | StrandHQ/strand-slack | 44d63df66c7f26b516b1e823dbba6bd6afa49fee | [
"MIT"
] | null | null | null | # All new models must be registered here
from . import Agent, Bot, Installation, User # noqa: F401
| 33.333333 | 58 | 0.74 | 15 | 100 | 4.933333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.19 | 100 | 2 | 59 | 50 | 0.876543 | 0.49 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d4418acb135b8e4931cf533f2aefa8033bbd0a2a | 56 | py | Python | examples/_tests_scripts/rl_exploration.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 46 | 2020-03-27T20:12:32.000Z | 2021-11-21T19:08:51.000Z | examples/_tests_scripts/rl_exploration.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 2 | 2020-04-06T10:43:04.000Z | 2020-07-01T18:26:10.000Z | examples/_tests_scripts/rl_exploration.py | rhololkeolke/catalyst-rl | ec18ff4a58b6d00652f772231db8de86debb4b3d | [
"Apache-2.0"
] | 5 | 2020-04-17T14:09:53.000Z | 2021-05-10T08:58:29.000Z | # flake8: noqa
from catalyst_rl.rl.exploration import *
| 18.666667 | 40 | 0.785714 | 8 | 56 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.125 | 56 | 2 | 41 | 28 | 0.857143 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2e2f765fa70f7f251c0b74ce8069ee43e464eb64 | 196 | py | Python | RigidFoilSimer/__init__.py | vickie-ngo/RigidFoilUDFGenerator | ee6ceb149ece16b2fb85362641e144b231f6e44f | [
"MIT"
] | null | null | null | RigidFoilSimer/__init__.py | vickie-ngo/RigidFoilUDFGenerator | ee6ceb149ece16b2fb85362641e144b231f6e44f | [
"MIT"
] | null | null | null | RigidFoilSimer/__init__.py | vickie-ngo/RigidFoilUDFGenerator | ee6ceb149ece16b2fb85362641e144b231f6e44f | [
"MIT"
] | 1 | 2020-06-11T00:26:23.000Z | 2020-06-11T00:26:23.000Z | from . import RigidFoilSimer
from . import Parameters
from . import CFile_Generation
from . import talkToAnsys
from . import processData
from . import organizationTool
from . import GraphGenerator | 28 | 30 | 0.826531 | 22 | 196 | 7.318182 | 0.454545 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137755 | 196 | 7 | 31 | 28 | 0.952663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2e32d493969047f06ae94114902aa7ecf5b67bd3 | 13,977 | py | Python | src/geometry_controller/__init__.py | CadworkMontreal/CwAPI3D | 5a2c15ad9f334d6dbfa55d59b6a855ac5667f289 | [
"MIT"
] | null | null | null | src/geometry_controller/__init__.py | CadworkMontreal/CwAPI3D | 5a2c15ad9f334d6dbfa55d59b6a855ac5667f289 | [
"MIT"
] | null | null | null | src/geometry_controller/__init__.py | CadworkMontreal/CwAPI3D | 5a2c15ad9f334d6dbfa55d59b6a855ac5667f289 | [
"MIT"
] | null | null | null | from typing import List
from cadwork import point_3d
def get_width(element: int) -> float:
"""Get element width.
Args:
element (int): element ID
Returns:
float: width
"""
def get_height(element: int) -> float:
"""Get element height.
Args:
element (int): element I... | 22.3632 | 102 | 0.598698 | 1,744 | 13,977 | 4.65539 | 0.069381 | 0.140411 | 0.121444 | 0.135731 | 0.842222 | 0.775342 | 0.725828 | 0.625693 | 0.577657 | 0.515088 | 0 | 0.008567 | 0.290119 | 13,977 | 624 | 103 | 22.399038 | 0.809313 | 0.529584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.974026 | false | 0 | 0.025974 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2e3f6aee0c52a2dda3b10d09531c63f5727c97ac | 62 | py | Python | tools/__init__.py | parap1uie-s/PaddleSeg3D | 419e8158f057c98e3c78b2a5f80254259ec8478a | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | parap1uie-s/PaddleSeg3D | 419e8158f057c98e3c78b2a5f80254259ec8478a | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | parap1uie-s/PaddleSeg3D | 419e8158f057c98e3c78b2a5f80254259ec8478a | [
"Apache-2.0"
] | null | null | null | from utils import *
from prepare_lung_coronavirus import Prep
| 20.666667 | 41 | 0.854839 | 9 | 62 | 5.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 42 | 31 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cf02766e14242e534b0e3b50bc7b9ceca444c909 | 253 | py | Python | datasets/mmdet_tusimple/mmdet/models/roi_heads/roi_extractors/__init__.py | Jinming-Su/SGNet | fcf35edaf332c1a4e2713acad5a0fc0e21509c3e | [
"MIT"
] | 13 | 2021-10-15T15:14:45.000Z | 2022-03-09T00:22:55.000Z | datasets/mmdet_tusimple/mmdet/models/roi_heads/roi_extractors/__init__.py | Jinming-Su/SGNet | fcf35edaf332c1a4e2713acad5a0fc0e21509c3e | [
"MIT"
] | 4 | 2021-10-17T09:04:20.000Z | 2022-03-25T06:43:00.000Z | datasets/mmdet_tusimple/mmdet/models/roi_heads/roi_extractors/__init__.py | Jinming-Su/SGNet | fcf35edaf332c1a4e2713acad5a0fc0e21509c3e | [
"MIT"
] | 2 | 2021-11-17T11:31:35.000Z | 2021-11-29T06:50:35.000Z | from .generic_roi_extractor import GenericRoIExtractor
from .single_level_roi_extractor import SingleRoIExtractor
from .lane_single_level_roi_extractor import LaneSingleRoIExtractor
__all__ = [
'LaneSingleRoIExtractor',
'GenericRoIExtractor',
]
| 31.625 | 67 | 0.849802 | 24 | 253 | 8.416667 | 0.5 | 0.178218 | 0.267327 | 0.227723 | 0.287129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102767 | 253 | 7 | 68 | 36.142857 | 0.889868 | 0 | 0 | 0 | 0 | 0 | 0.162055 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cf6b0f24789e30c9d29feb01d3db82af4dd90ea6 | 50 | py | Python | src/poetry/publishing/__init__.py | sivanbecker/poetry | 72497bcb66b5a1cc20e3aa95973c523a22b05bfa | [
"MIT"
] | 1 | 2020-02-01T07:13:05.000Z | 2020-02-01T07:13:05.000Z | src/poetry/publishing/__init__.py | sivanbecker/poetry | 72497bcb66b5a1cc20e3aa95973c523a22b05bfa | [
"MIT"
] | 1 | 2021-12-31T19:44:26.000Z | 2022-03-08T20:52:13.000Z | src/poetry/publishing/__init__.py | sivanbecker/poetry | 72497bcb66b5a1cc20e3aa95973c523a22b05bfa | [
"MIT"
] | 2 | 2020-12-07T04:26:21.000Z | 2021-09-25T21:46:36.000Z | from poetry.publishing.publisher import Publisher
| 25 | 49 | 0.88 | 6 | 50 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cf82c4e6b8ad189192b231604f521946fcc9e9c0 | 199 | py | Python | TasteSeville/main/admin.py | miguelpantoja89/ProjectWeb | 8f01aa953c1fc3bc2f9ed35dfba3058d19dc4522 | [
"MIT"
] | null | null | null | TasteSeville/main/admin.py | miguelpantoja89/ProjectWeb | 8f01aa953c1fc3bc2f9ed35dfba3058d19dc4522 | [
"MIT"
] | null | null | null | TasteSeville/main/admin.py | miguelpantoja89/ProjectWeb | 8f01aa953c1fc3bc2f9ed35dfba3058d19dc4522 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Restaurante, Review, Evento
# Register your models here.
admin.site.register(Restaurante)
admin.site.register(Review)
admin.site.register(Evento)
| 28.428571 | 47 | 0.819095 | 27 | 199 | 6.037037 | 0.481481 | 0.165644 | 0.312883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090452 | 199 | 6 | 48 | 33.166667 | 0.900552 | 0.130653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cf8856eaa5ef93979edceae95019ef27fa535c5c | 21 | py | Python | codeforces/templates/code/main.py | weastur/cp-helper | 4d74eb49d3e65254cee715a7461baf29d793736e | [
"MIT"
] | null | null | null | codeforces/templates/code/main.py | weastur/cp-helper | 4d74eb49d3e65254cee715a7461baf29d793736e | [
"MIT"
] | null | null | null | codeforces/templates/code/main.py | weastur/cp-helper | 4d74eb49d3e65254cee715a7461baf29d793736e | [
"MIT"
] | null | null | null | #!/usr/bin/env pypy3
| 10.5 | 20 | 0.666667 | 4 | 21 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.095238 | 21 | 1 | 21 | 21 | 0.684211 | 0.904762 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d85002efe864ce2238741266c1bf082764d69731 | 228 | py | Python | python/packages/isce3/cuda/geometry/Rdr2geo.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | python/packages/isce3/cuda/geometry/Rdr2geo.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | python/packages/isce3/cuda/geometry/Rdr2geo.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | #-*- coding: utf-8 -*-
# Heresh Fattahi
# Copyright 2019-
# The extensions
import isce3.extensions.iscecudaextension as iscecudaextension
class Rdr2geo(iscecudaextension.pyTopo):
"""
Wrapper for Topo
"""
pass
| 16.285714 | 62 | 0.697368 | 23 | 228 | 6.913043 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038043 | 0.192982 | 228 | 13 | 63 | 17.538462 | 0.826087 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
d8504f285a410b851bb796080722541686599a8f | 84 | py | Python | my_app/todo_list/admin.py | binonguyen1090/todoapp | 5d08a34810f92c673c839b029da029c3b2fa516b | [
"bzip2-1.0.6"
] | null | null | null | my_app/todo_list/admin.py | binonguyen1090/todoapp | 5d08a34810f92c673c839b029da029c3b2fa516b | [
"bzip2-1.0.6"
] | null | null | null | my_app/todo_list/admin.py | binonguyen1090/todoapp | 5d08a34810f92c673c839b029da029c3b2fa516b | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from .models import List
admin.site.register(List)
| 21 | 32 | 0.821429 | 13 | 84 | 5.307692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 3 | 33 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d85e9e31aca94596f242ba1a3e1806db957840a0 | 160 | py | Python | myqlanet/utils/__init__.py | reshalfahsi/myqlanet | f0eeadd2e6c4760aaf769c469f39f0d73f5044ee | [
"MIT"
] | 2 | 2020-12-06T07:39:07.000Z | 2021-04-13T21:02:35.000Z | myqlanet/utils/__init__.py | reshalfahsi/myqlanet | f0eeadd2e6c4760aaf769c469f39f0d73f5044ee | [
"MIT"
] | null | null | null | myqlanet/utils/__init__.py | reshalfahsi/myqlanet | f0eeadd2e6c4760aaf769c469f39f0d73f5044ee | [
"MIT"
] | 1 | 2019-11-27T22:50:26.000Z | 2019-11-27T22:50:26.000Z | from __future__ import absolute_import
from .tensor_util import ToTensor
from .image_util import CropImage, ResizeImage, VALID_IMAGE_FORMATS, VALID_IMAGE_SIZE
| 32 | 85 | 0.86875 | 22 | 160 | 5.818182 | 0.590909 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 160 | 4 | 86 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d86b3ab306d33c00df1585593aa5a7b97bf48faf | 206 | py | Python | nflib/__init__.py | mrateike/carefl | ef789958bb03f316a070052b0134cc1b2b9cd456 | [
"MIT"
] | 19 | 2021-02-24T15:55:26.000Z | 2022-03-28T20:46:14.000Z | nflib/__init__.py | mrateike/carefl | ef789958bb03f316a070052b0134cc1b2b9cd456 | [
"MIT"
] | 1 | 2021-11-03T15:35:44.000Z | 2021-11-03T15:35:44.000Z | nflib/__init__.py | mrateike/carefl | ef789958bb03f316a070052b0134cc1b2b9cd456 | [
"MIT"
] | 4 | 2021-02-24T15:55:42.000Z | 2022-03-10T13:59:03.000Z | from .flows import MAF, IAF, AffineCL, AffineConstantFlow
from .flows import NormalizingFlow, NormalizingFlowModel, ActNorm, ARMLP
from .nets import MLP4, MLP1layer
from .spline_flows import NSF_CL, NSF_AR
| 41.2 | 72 | 0.825243 | 27 | 206 | 6.185185 | 0.666667 | 0.197605 | 0.179641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.116505 | 206 | 4 | 73 | 51.5 | 0.906593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d86b91085d42b7c5fb73b95970efd85090b545f1 | 11,121 | py | Python | codegentools/apigen/flexConfigObject.py | learnopx/opx-flxreltools | 71b8c182d34bb82aee6a3f0c582f71e9ea04dd4f | [
"Apache-2.0"
] | null | null | null | codegentools/apigen/flexConfigObject.py | learnopx/opx-flxreltools | 71b8c182d34bb82aee6a3f0c582f71e9ea04dd4f | [
"Apache-2.0"
] | null | null | null | codegentools/apigen/flexConfigObject.py | learnopx/opx-flxreltools | 71b8c182d34bb82aee6a3f0c582f71e9ea04dd4f | [
"Apache-2.0"
] | null | null | null | import json
import re
from flexObject import FlexObject, isNumericAttr, isBoolean, boolFromString, isListAttr
class FlexConfigObject(FlexObject) :
def createCreateMethod(self, fileHdl):
tabs = self.TAB
#lines = [ "\n"+ tabs + "@processReturnCode"]
lines = []
lines.append( "\n"+ tabs... | 51.725581 | 178 | 0.5281 | 1,185 | 11,121 | 4.956118 | 0.081013 | 0.108633 | 0.0945 | 0.073557 | 0.765367 | 0.759578 | 0.752256 | 0.74851 | 0.743402 | 0.705261 | 0 | 0.003149 | 0.286215 | 11,121 | 214 | 179 | 51.96729 | 0.73671 | 0.035339 | 0 | 0.683938 | 0 | 0.062176 | 0.253779 | 0.082665 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041451 | false | 0.031088 | 0.015544 | 0 | 0.062176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d8a5a893d45c01c317e709f49520e5f5bd17285a | 39 | py | Python | test/tests/tabs_and_spaces.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-02-06T14:28:45.000Z | 2020-02-06T14:28:45.000Z | test/tests/tabs_and_spaces.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | test/tests/tabs_and_spaces.py | aisk/pyston | ac69cfef0621dbc8901175e84fa2b5cb5781a646 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-02-06T14:29:00.000Z | 2020-02-06T14:29:00.000Z | def f():
if True:
1
2
| 7.8 | 12 | 0.307692 | 6 | 39 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.589744 | 39 | 4 | 13 | 9.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
d8fd21112b68fbd13722f3e2cba72c624662da04 | 129 | py | Python | bin/apache-hive-3.1.2-bin/lib/py/fb303_scripts/fb303_simple_mgmt.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/lib/py/fb303_scripts/fb303_simple_mgmt.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | bin/apache-hive-3.1.2-bin/lib/py/fb303_scripts/fb303_simple_mgmt.py | ptrick/hdfs-hive-sql-playground | 83f2aaa79f022a3c320939eace1fd2d06583187f | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:7def1471e9e1f314dd65f6d2f66b4ceaa9709c5a8f794b8fd1d5d7f0dabcf67d
size 5961
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.046512 | 129 | 3 | 76 | 43 | 0.593496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2b5b7a1ab0d27eb845b79378db4ce6aba723db9d | 209 | py | Python | word_count.py | lvreynoso/tweet-generator | 7b1816b379bf328378764023ea62936786580a63 | [
"Apache-2.0"
] | null | null | null | word_count.py | lvreynoso/tweet-generator | 7b1816b379bf328378764023ea62936786580a63 | [
"Apache-2.0"
] | null | null | null | word_count.py | lvreynoso/tweet-generator | 7b1816b379bf328378764023ea62936786580a63 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# word_count.py
# module for generating histograms from a list of tokens
import dictogram
def generate(token_list):
histogram = dictogram.Dictogram(token_list)
return histogram | 23.222222 | 56 | 0.77512 | 29 | 209 | 5.482759 | 0.793103 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.15311 | 209 | 9 | 57 | 23.222222 | 0.892655 | 0.430622 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
2b6532c6c733fe481819a92eb774de2cc6eed054 | 667 | py | Python | rules_default/castervoice/lib/merge/ccrmerging2/compatibility/compat_result.py | MLH-Fellowship/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 1 | 2021-09-17T06:11:02.000Z | 2021-09-17T06:11:02.000Z | rules_default/castervoice/lib/merge/ccrmerging2/compatibility/compat_result.py | soma2000-lang/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 5 | 2021-02-03T05:29:41.000Z | 2021-02-08T01:14:11.000Z | rules_default/castervoice/lib/merge/ccrmerging2/compatibility/compat_result.py | soma2000-lang/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 4 | 2021-02-03T05:05:00.000Z | 2021-07-14T06:21:10.000Z | class CompatibilityResult(object):
def __init__(self, mergerule, incompatible_rule_class_names=[]):
"""
:param mergerule: MergeRule
:param incompatible_rule_class_names: list of strings
"""
self._mergerule = mergerule
self._incompatible_rule_class_names = incompatible... | 31.761905 | 75 | 0.710645 | 77 | 667 | 5.675325 | 0.285714 | 0.185355 | 0.336384 | 0.416476 | 0.20595 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001912 | 0.215892 | 667 | 20 | 76 | 33.35 | 0.833652 | 0.121439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
991da3d441373948cf0983510ed36095b8e9d818 | 130 | py | Python | jupyter_MyCMake_kernel/__main__.py | nufeng1999/jupyter-MyCMake-kernel | 8db06fa137d88c1aed37675dfc21a538132eee8d | [
"Apache-2.0"
] | null | null | null | jupyter_MyCMake_kernel/__main__.py | nufeng1999/jupyter-MyCMake-kernel | 8db06fa137d88c1aed37675dfc21a538132eee8d | [
"Apache-2.0"
] | null | null | null | jupyter_MyCMake_kernel/__main__.py | nufeng1999/jupyter-MyCMake-kernel | 8db06fa137d88c1aed37675dfc21a538132eee8d | [
"Apache-2.0"
] | null | null | null | from ipykernel.kernelapp import IPKernelApp
from .kernel import CMakeKernel
IPKernelApp.launch_instance(kernel_class=CMakeKernel)
| 32.5 | 53 | 0.884615 | 15 | 130 | 7.533333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069231 | 130 | 3 | 54 | 43.333333 | 0.933884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
992ac87540277c44c08ffaa20760423d908d6622 | 199 | py | Python | checks/__init__.py | lonerooftop/hooks | dddf4f1c6d44494474c2a35191af73c82266aadd | [
"MIT"
] | null | null | null | checks/__init__.py | lonerooftop/hooks | dddf4f1c6d44494474c2a35191af73c82266aadd | [
"MIT"
] | 1 | 2017-06-22T15:03:04.000Z | 2017-06-22T15:05:03.000Z | checks/__init__.py | lonerooftop/hooks | dddf4f1c6d44494474c2a35191af73c82266aadd | [
"MIT"
] | 1 | 2021-11-30T11:41:01.000Z | 2021-11-30T11:41:01.000Z | from . import base
from . import compile
from . import newline
from . import endoffilecheck
from . import character
__all__ = [compile, endoffilecheck, character, newline, base]
check = base.check
| 19.9 | 61 | 0.768844 | 24 | 199 | 6.208333 | 0.375 | 0.33557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160804 | 199 | 9 | 62 | 22.111111 | 0.892216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
993b8cd506bf6390e3f9ad3b1bbe40f88f6018e5 | 118 | py | Python | slide/snippet/func_typed.py | TomohikoK/PyCat | d36632a6a348c1cdad8ba0594a7600e350c72f7c | [
"Apache-2.0"
] | null | null | null | slide/snippet/func_typed.py | TomohikoK/PyCat | d36632a6a348c1cdad8ba0594a7600e350c72f7c | [
"Apache-2.0"
] | 6 | 2018-04-13T11:27:00.000Z | 2018-05-11T11:57:57.000Z | slide/snippet/func_typed.py | TomohikoK/PyCat | d36632a6a348c1cdad8ba0594a7600e350c72f7c | [
"Apache-2.0"
] | null | null | null | from typing import Callable
def func(arg: int) -> str:
return str(arg)
func: Callable[[int], str] # 関数宣言以外での表記
| 16.857143 | 40 | 0.677966 | 17 | 118 | 4.705882 | 0.647059 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194915 | 118 | 6 | 41 | 19.666667 | 0.842105 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9992b1cdfcf7ddaa9e25a3dfbc962c645aba0374 | 46 | py | Python | db_create.py | mikethegoblin/cs501-t1-assessment | 6a16e3f0a38d9427933874a560b3ea19bf1662bd | [
"MIT"
] | null | null | null | db_create.py | mikethegoblin/cs501-t1-assessment | 6a16e3f0a38d9427933874a560b3ea19bf1662bd | [
"MIT"
] | null | null | null | db_create.py | mikethegoblin/cs501-t1-assessment | 6a16e3f0a38d9427933874a560b3ea19bf1662bd | [
"MIT"
] | null | null | null | from project.server import db
db.create_all() | 15.333333 | 29 | 0.804348 | 8 | 46 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 3 | 30 | 15.333333 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5114625caca813769799516020d9617322bfd9e8 | 46 | py | Python | database/models/__all_db_models.py | nikitaardashev/Vk-BD-ML | 40d52e944a56b8bcb588ce0c79755cdb9c050018 | [
"MIT"
] | 2 | 2021-01-14T20:47:43.000Z | 2021-01-27T05:46:56.000Z | database/models/__all_db_models.py | nikitaardashev/Vk-BD-ML | 40d52e944a56b8bcb588ce0c79755cdb9c050018 | [
"MIT"
] | null | null | null | database/models/__all_db_models.py | nikitaardashev/Vk-BD-ML | 40d52e944a56b8bcb588ce0c79755cdb9c050018 | [
"MIT"
] | 1 | 2021-01-27T05:48:54.000Z | 2021-01-27T05:48:54.000Z | from . import UserStatuses, GroupsIds, Groups
| 23 | 45 | 0.804348 | 5 | 46 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 1 | 46 | 46 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
51293ee947e4904c8798b76cf4d8db0dcaefb356 | 107 | py | Python | Python/Tests/TestData/Grammar/AssignStmtIllegal.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | Python/Tests/TestData/Grammar/AssignStmtIllegal.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/Grammar/AssignStmtIllegal.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | fob + oar = 1
fob() = 1
None = 1
2 = 1
(fob for fob in oar) = 1
fob, oar += 1
def f():
(yield fob) = 1
| 11.888889 | 24 | 0.495327 | 23 | 107 | 2.304348 | 0.434783 | 0.226415 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.327103 | 107 | 8 | 25 | 13.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
512ccce3329f3d7ba280eb0eb6a9ddaa2ca25342 | 205 | py | Python | employment/recruitment_status_report(rsr)/doctype/loc_cen/test_loc_cen.py | ran95a/employment | 7067f00dc3dafe0f4a51db6d45d179e6eac82434 | [
"MIT"
] | null | null | null | employment/recruitment_status_report(rsr)/doctype/loc_cen/test_loc_cen.py | ran95a/employment | 7067f00dc3dafe0f4a51db6d45d179e6eac82434 | [
"MIT"
] | null | null | null | employment/recruitment_status_report(rsr)/doctype/loc_cen/test_loc_cen.py | ran95a/employment | 7067f00dc3dafe0f4a51db6d45d179e6eac82434 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2020, frappe and Contributors
# See license.txt
from __future__ import unicode_literals
# import frappe
import unittest
class TestLOCCEN(unittest.TestCase):
pass
| 18.636364 | 45 | 0.756098 | 26 | 205 | 5.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.146341 | 205 | 10 | 46 | 20.5 | 0.828571 | 0.463415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
51676b186a78c8c06b8895e25d6d0813350797d8 | 165,616 | py | Python | data.py | sancdvs/caiyun_forecast | 080a8e2dc1a146939a472f5d48cd43cb6900a902 | [
"MIT"
] | 2 | 2020-03-23T00:31:44.000Z | 2020-03-25T11:52:15.000Z | data.py | sancdvs/caiyun_forecast | 080a8e2dc1a146939a472f5d48cd43cb6900a902 | [
"MIT"
] | null | null | null | data.py | sancdvs/caiyun_forecast | 080a8e2dc1a146939a472f5d48cd43cb6900a902 | [
"MIT"
] | 1 | 2021-01-17T02:10:29.000Z | 2021-01-17T02:10:29.000Z | data = [['北京市', '北京市', None, 116.407526, 39.90403], ['北京市', '北京市', None, 116.407526, 39.90403], ['北京市', '北京市', '东城区', 116.416357, 39.928353], ['北京市', '北京市', '西城区', 116.365868, 39.912289], ['北京市', '北京市', '朝阳区', 116.601144, 39.948574], ['北京市', '北京市', '丰台区', 116.287149, 39.858427], ['北京市', '北京市', '石景山区', 116.222982, 39.90... | 165,616 | 165,616 | 0.581774 | 24,683 | 165,616 | 3.903537 | 0.393631 | 0.003197 | 0.001598 | 0.00247 | 0.191965 | 0.19156 | 0.185997 | 0.185717 | 0.185177 | 0 | 0 | 0.398033 | 0.106819 | 165,616 | 1 | 165,616 | 165,616 | 0.253318 | 0 | 0 | 0 | 0 | 0 | 0.210679 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5aa9654c08e7c5f7f0318e84ed773c2491b0d89c | 162 | py | Python | predictor/data_structures/problem_instances/instances_generators/graph_problems/graph_weight_matrix_calculator.py | dlasecki/QaoaParamsPredictor | 250b48d36d033adfe3d02a59e3e4a34991834e8f | [
"Apache-2.0"
] | null | null | null | predictor/data_structures/problem_instances/instances_generators/graph_problems/graph_weight_matrix_calculator.py | dlasecki/QaoaParamsPredictor | 250b48d36d033adfe3d02a59e3e4a34991834e8f | [
"Apache-2.0"
] | null | null | null | predictor/data_structures/problem_instances/instances_generators/graph_problems/graph_weight_matrix_calculator.py | dlasecki/QaoaParamsPredictor | 250b48d36d033adfe3d02a59e3e4a34991834e8f | [
"Apache-2.0"
] | 1 | 2021-03-15T21:46:49.000Z | 2021-03-15T21:46:49.000Z | import networkx as nx
def get_weight_matrix(graph):
"""Returns a weight matrix corresponding to a networkx graph."""
return nx.to_numpy_matrix(graph).A
| 23.142857 | 68 | 0.746914 | 25 | 162 | 4.68 | 0.6 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 162 | 6 | 69 | 27 | 0.866667 | 0.358025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5ad44e717385b2a1fd4a75ba6d502a1dd53c0028 | 248 | py | Python | mainapp/documents/__init__.py | CatoTH/opensourceris | 3b4b5e4b027a96fd08147fc57b53f078a44a00a7 | [
"MIT"
] | 1 | 2022-02-17T13:46:03.000Z | 2022-02-17T13:46:03.000Z | mainapp/documents/__init__.py | CatoTH/opensourceris | 3b4b5e4b027a96fd08147fc57b53f078a44a00a7 | [
"MIT"
] | 13 | 2022-02-11T14:45:36.000Z | 2022-02-22T19:54:03.000Z | mainapp/documents/__init__.py | CatoTH/opensourceris | 3b4b5e4b027a96fd08147fc57b53f078a44a00a7 | [
"MIT"
] | 1 | 2022-02-17T13:44:17.000Z | 2022-02-17T13:44:17.000Z | from .file import FileDocument # noqa F401
from .meeting import MeetingDocument # noqa F401
from .organization import OrganizationDocument # noqa F401
from .paper import PaperDocument # noqa F401
from .person import PersonDocument # noqa F401
| 41.333333 | 59 | 0.798387 | 30 | 248 | 6.6 | 0.466667 | 0.20202 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072115 | 0.16129 | 248 | 5 | 60 | 49.6 | 0.879808 | 0.197581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5ae05c7027f27ed6640c9c20ae3e30d69b292915 | 1,153 | py | Python | cdp/__init__.py | eNcacz/python-chrome-devtools-protocol | 22a36b7964dc1be86ce907e06d01c3bc8727816e | [
"MIT"
] | null | null | null | cdp/__init__.py | eNcacz/python-chrome-devtools-protocol | 22a36b7964dc1be86ce907e06d01c3bc8727816e | [
"MIT"
] | null | null | null | cdp/__init__.py | eNcacz/python-chrome-devtools-protocol | 22a36b7964dc1be86ce907e06d01c3bc8727816e | [
"MIT"
] | null | null | null | # DO NOT EDIT THIS FILE!
#
# This file is generated from the CDP specification. If you need to make
# changes, edit the generator and regenerate all of the modules.
import cdp.util
import cdp.accessibility
import cdp.animation
import cdp.audits
import cdp.background_service
import cdp.browser
import cdp.css
import cd... | 21.351852 | 72 | 0.841284 | 185 | 1,153 | 5.151351 | 0.416216 | 0.443861 | 0.050367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111015 | 1,153 | 53 | 73 | 21.754717 | 0.929756 | 0.135299 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
852489dbaf61c4acf4ae067b71de16de39995bf2 | 23 | py | Python | src/kgmk/anikore/store/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/anikore/store/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/anikore/store/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | # store to db, csv, ... | 23 | 23 | 0.521739 | 4 | 23 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 1 | 23 | 23 | 0.666667 | 0.913043 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
518a6010e3c9b536633373b7453f13b6d7359cf8 | 435 | py | Python | chainerx/activation.py | hitsgub/chainer | 20d4d70f5cdacc1f24f243443f5bebc2055c8f8e | [
"MIT"
] | 1 | 2019-03-09T07:39:07.000Z | 2019-03-09T07:39:07.000Z | chainerx/activation.py | hitsgub/chainer | 20d4d70f5cdacc1f24f243443f5bebc2055c8f8e | [
"MIT"
] | null | null | null | chainerx/activation.py | hitsgub/chainer | 20d4d70f5cdacc1f24f243443f5bebc2055c8f8e | [
"MIT"
] | null | null | null | import chainerx
def relu(x):
"""Rectified Linear Unit function.
Args:
x (~chainerx.ndarray): Input array.
Returns:
:class:`~chainerx.ndarray`: Returned array: :math:`y = \\max (0, x)`.
Note:
During backpropagation, this function propagates the gradient of the
output array to the input array ``x... | 22.894737 | 73 | 0.675862 | 59 | 435 | 4.983051 | 0.677966 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.2 | 435 | 18 | 74 | 24.166667 | 0.83908 | 0.809195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
51bd6a58c28f2f75f443742bf652398856c07721 | 74 | py | Python | src/lib/kombi/Crawler/Fs/Video/__init__.py | paulondc/chilopoda | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 2 | 2019-09-24T18:56:27.000Z | 2021-02-07T04:58:49.000Z | src/lib/kombi/Crawler/Fs/Video/__init__.py | paulondc/kombi | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 20 | 2019-02-16T04:21:13.000Z | 2019-03-09T21:21:21.000Z | src/lib/kombi/Crawler/Fs/Video/__init__.py | paulondc/kombi | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 3 | 2019-11-15T05:16:32.000Z | 2021-09-28T21:28:29.000Z | from .VideoCrawler import VideoCrawler
from .MovCrawler import MovCrawler
| 24.666667 | 38 | 0.864865 | 8 | 74 | 8 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 39 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.