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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9ec6e2fb3c438617bc2df50b87983142d91ad1b4 | 809 | py | Python | tests/chainer_tests/testing_tests/test_unary_math_function_test.py | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 3,705 | 2017-06-01T07:36:12.000Z | 2022-03-30T10:46:15.000Z | tests/chainer_tests/testing_tests/test_unary_math_function_test.py | nolfwin/chainer | 8d776fcc1e848cb9d3800a6aab356eb91ae9d088 | [
"MIT"
] | 5,998 | 2017-06-01T06:40:17.000Z | 2022-03-08T01:42:44.000Z | tests/chainer_tests/testing_tests/test_unary_math_function_test.py | nolfwin/chainer | 8d776fcc1e848cb9d3800a6aab356eb91ae9d088 | [
"MIT"
] | 1,150 | 2017-06-02T03:39:46.000Z | 2022-03-29T02:29:32.000Z | import unittest
from chainer import function_node
from chainer import testing
def dummy():
pass
class TestNoNumpyFunction(unittest.TestCase):
def test_no_numpy_function(self):
with self.assertRaises(ValueError):
testing.unary_math_function_unittest(dummy) # no numpy.dummy
class Dumm... | 19.261905 | 73 | 0.678616 | 96 | 809 | 5.46875 | 0.458333 | 0.062857 | 0.064762 | 0.091429 | 0.140952 | 0.140952 | 0 | 0 | 0 | 0 | 0 | 0.004823 | 0.23115 | 809 | 41 | 74 | 19.731707 | 0.839228 | 0.017305 | 0 | 0.083333 | 0 | 0 | 0.015132 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.25 | false | 0.083333 | 0.125 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
9eda51fd796bc44fa781d4b6253775bead5b969d | 175 | py | Python | symmetricdifference.py | DMGAP/Python-Hackerrank | 891fa7365d9acf71cc5827c248f10880c0f9d1a6 | [
"MIT"
] | 2 | 2021-09-12T14:56:14.000Z | 2021-10-15T16:33:14.000Z | symmetricdifference.py | DMGAP/Python-Hackerrank | 891fa7365d9acf71cc5827c248f10880c0f9d1a6 | [
"MIT"
] | null | null | null | symmetricdifference.py | DMGAP/Python-Hackerrank | 891fa7365d9acf71cc5827c248f10880c0f9d1a6 | [
"MIT"
] | null | null | null | m=int(input())
ms=set(map(int,input().split()))
n=int(input())
ns=set(map(int,input().split()))
mns=sorted((ms.difference(ns)).union((ns.difference(ms))))
print(*mns,sep='\n') | 29.166667 | 58 | 0.651429 | 31 | 175 | 3.677419 | 0.483871 | 0.280702 | 0.157895 | 0.245614 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 175 | 6 | 59 | 29.166667 | 0.670588 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
73194a1ff816134c3ec9b940b44123e4040223e7 | 1,275 | py | Python | src/solutions/part2/q106_construct_bitree_in_post_order.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | src/solutions/part2/q106_construct_bitree_in_post_order.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | src/solutions/part2/q106_construct_bitree_in_post_order.py | hychrisli/PyAlgorithms | 71e537180f3b371d0d2cc47b11cb68ec13a8ac68 | [
"Apache-2.0"
] | null | null | null | from src.base.solution import Solution
from src.tests.part2.q106_test_construct_bitree_in_post_order import ConstructBiTreeInPostOrderTestCases
from src.structures.treenode import TreeNode
class ConstructBiTreeInPostOrder(Solution):
def gen_test_cases(self):
return ConstructBiTreeInPostOrderTestCases()
... | 29.651163 | 104 | 0.640784 | 151 | 1,275 | 5.225166 | 0.384106 | 0.026616 | 0.04943 | 0.060837 | 0.048162 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014752 | 0.255686 | 1,275 | 43 | 105 | 29.651163 | 0.816649 | 0.053333 | 0 | 0 | 0 | 0 | 0.006849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.12 | 0.12 | 0.6 | 0.08 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7342d5ea54531609fc2112ac9ee9b66f8e5b4ab1 | 412 | bzl | Python | tensorflow/core/platform/rules_cc.bzl | yage99/tensorflow | c7fa71b32a3635eb25596ae80d007b41007769c4 | [
"Apache-2.0"
] | 190,993 | 2015-11-09T13:17:30.000Z | 2022-03-31T23:05:27.000Z | tensorflow/core/platform/rules_cc.bzl | sseung0703/tensorflow | be084bd7a4dd241eb781fc704f57bcacc5c9b6dd | [
"Apache-2.0"
] | 48,461 | 2015-11-09T14:21:11.000Z | 2022-03-31T23:17:33.000Z | tensorflow/core/platform/rules_cc.bzl | sseung0703/tensorflow | be084bd7a4dd241eb781fc704f57bcacc5c9b6dd | [
"Apache-2.0"
] | 104,981 | 2015-11-09T13:40:17.000Z | 2022-03-31T19:51:54.000Z | """Provides an indirection layer to bazel cc_rules"""
load(
"//tensorflow/core/platform/default:rules_cc.bzl",
_cc_binary = "cc_binary",
_cc_import = "cc_import",
_cc_library = "cc_library",
_cc_shared_library = "cc_shared_library",
_cc_test = "cc_test",
)
cc_binary = _cc_binary
cc_import = _c... | 24.235294 | 54 | 0.735437 | 60 | 412 | 4.45 | 0.316667 | 0.269663 | 0.149813 | 0.329588 | 0.689139 | 0.689139 | 0.689139 | 0.689139 | 0.689139 | 0.689139 | 0 | 0 | 0.160194 | 412 | 16 | 55 | 25.75 | 0.771676 | 0.114078 | 0 | 0 | 0 | 0 | 0.275766 | 0.130919 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7345b321527c083cd76ac65b68f8f5646c261976 | 875 | py | Python | record.py | theshanks13/FaceRecognitionPi | 70df75aedf02bbbef6f7940435d965a69c9a26fe | [
"MIT"
] | 17 | 2018-04-15T13:00:42.000Z | 2021-12-23T10:29:49.000Z | record.py | theshanks13/FaceRecognitionPi | 70df75aedf02bbbef6f7940435d965a69c9a26fe | [
"MIT"
] | null | null | null | record.py | theshanks13/FaceRecognitionPi | 70df75aedf02bbbef6f7940435d965a69c9a26fe | [
"MIT"
] | 16 | 2018-08-18T02:46:40.000Z | 2020-12-14T08:22:06.000Z | import MySQLdb
db = MySQLdb.connect("localhost", "root", "raspberry", "data")
curs=db.cursor()
try:
curs.execute("CREATE TABLE IF NOT EXISTS record (Serial_No INT(5) NOT NULL AUTO_INCREMENT PRIMARY KEY, Id INT(5) NOT NULL , Name VARCHAR(20) NOT NULL, Folder_Name VARCHAR(20) NOT NULL)")
#curs.execute ("... | 41.666667 | 194 | 0.627429 | 120 | 875 | 4.55 | 0.433333 | 0.141026 | 0.186813 | 0.230769 | 0.531136 | 0.457875 | 0.457875 | 0.457875 | 0.172161 | 0.172161 | 0 | 0.017417 | 0.212571 | 875 | 20 | 195 | 43.75 | 0.775036 | 0.100571 | 0 | 0 | 0 | 0.066667 | 0.57599 | 0.16986 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.066667 | null | null | 0.133333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b40c33cf05f46bb9016e534d549d7a700d5551fc | 113 | py | Python | src/bio2bel_gfam/constants.py | bio2bel/gfam | db74f4e47daa08438df71fb4960c46bc3206bb8e | [
"Apache-2.0"
] | null | null | null | src/bio2bel_gfam/constants.py | bio2bel/gfam | db74f4e47daa08438df71fb4960c46bc3206bb8e | [
"Apache-2.0"
] | 1 | 2017-07-20T10:51:36.000Z | 2017-07-20T13:04:49.000Z | src/bio2bel_gfam/constants.py | bio2bel/gfam | db74f4e47daa08438df71fb4960c46bc3206bb8e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
HGNC_GENE_FAMILY_URL = 'http://www.genenames.org/cgi-bin/genefamilies/download-all/tsv'
| 28.25 | 87 | 0.716814 | 17 | 113 | 4.588235 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.079646 | 113 | 3 | 88 | 37.666667 | 0.740385 | 0.185841 | 0 | 0 | 0 | 0 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b4267ebeb38e1bb45b90e472dfc3ef225b374f3e | 24 | py | Python | src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinn_front_end_common/__init__.py | Roboy/LSM_SpiNNaker_MyoArm | 04fa1eaf78778edea3ba3afa4c527d20c491718e | [
"BSD-3-Clause"
] | 2 | 2020-11-01T13:22:11.000Z | 2020-11-01T13:22:20.000Z | src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/messages/scp/abstract_messages/__init__.py | Roboy/LSM_SpiNNaker_MyoArm | 04fa1eaf78778edea3ba3afa4c527d20c491718e | [
"BSD-3-Clause"
] | null | null | null | src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/spinnman/messages/scp/abstract_messages/__init__.py | Roboy/LSM_SpiNNaker_MyoArm | 04fa1eaf78778edea3ba3afa4c527d20c491718e | [
"BSD-3-Clause"
] | null | null | null | __author__ = 'stokesa6'
| 12 | 23 | 0.75 | 2 | 24 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.125 | 24 | 1 | 24 | 24 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b427e7c00a2fe865a93cc2c03d4c9a5ef721b6d4 | 634 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/light_max_exponent.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/light_max_exponent.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/NV/light_max_exponent.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GL import _types as _cs
# End users want this...
from OpenGL.raw.GL._types import *
from OpenGL.raw.GL import _errors
from OpenGL.constant import Constant as _C
import... | 37.294118 | 119 | 0.790221 | 101 | 634 | 4.564356 | 0.465347 | 0.10846 | 0.084599 | 0.097614 | 0.310195 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018051 | 0.126183 | 634 | 16 | 120 | 39.625 | 0.814079 | 0.157729 | 0 | 0 | 1 | 0 | 0.176471 | 0.139216 | 0 | 0 | 0.023529 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.545455 | 0.090909 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b42a41648d58a9d3cfcf6299a9275c63a2e23151 | 127 | py | Python | tests/test_world.py | thorium-cloud/boto3-assistant | 480551afbb28b5348aa54e6dee987f2448544e33 | [
"MIT"
] | null | null | null | tests/test_world.py | thorium-cloud/boto3-assistant | 480551afbb28b5348aa54e6dee987f2448544e33 | [
"MIT"
] | null | null | null | tests/test_world.py | thorium-cloud/boto3-assistant | 480551afbb28b5348aa54e6dee987f2448544e33 | [
"MIT"
] | null | null | null | from boto3_assistant import world
def test_world():
response = world.invoke({}, {})
assert response == "Hello World"
| 18.142857 | 36 | 0.677165 | 15 | 127 | 5.6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.19685 | 127 | 6 | 37 | 21.166667 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b432992c2c32dc682612d3203f4f963e553bc853 | 336 | py | Python | Public/__init__.py | zouning68/ner-demo | ffdbf95fd0354766bd2f882ecb02d55a9b14b74d | [
"Apache-2.0"
] | 2 | 2020-12-27T06:17:28.000Z | 2020-12-27T06:17:33.000Z | Public/__init__.py | zouning68/ner-demo | ffdbf95fd0354766bd2f882ecb02d55a9b14b74d | [
"Apache-2.0"
] | null | null | null | Public/__init__.py | zouning68/ner-demo | ffdbf95fd0354766bd2f882ecb02d55a9b14b74d | [
"Apache-2.0"
] | null | null | null | import keras
import keras_contrib
import keras_bert
import tensorflow
if __name__ == '__main__':
print(keras.__version__)
print(keras_contrib.__version__)
print(keras_bert.__version__)
print(tensorflow.__version__)
"""
keras 2.2.4
keras_contrib 0.0.2
keras_bert 0.80.0
tensorflow ... | 16.8 | 36 | 0.696429 | 45 | 336 | 4.533333 | 0.355556 | 0.161765 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05283 | 0.21131 | 336 | 19 | 37 | 17.684211 | 0.716981 | 0 | 0 | 0 | 0 | 0 | 0.033473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
b465126704db84e683ed628665d8662da01e3c19 | 724 | py | Python | bot/test/conftest.py | Catdontpat/uitabot | bade0822e828812e2acc67ba15e51a3db3f762fe | [
"ISC"
] | 5 | 2018-05-20T17:41:08.000Z | 2022-01-16T14:23:29.000Z | bot/test/conftest.py | Catdontpat/uitabot | bade0822e828812e2acc67ba15e51a3db3f762fe | [
"ISC"
] | 8 | 2020-06-06T17:43:17.000Z | 2022-01-25T20:15:53.000Z | bot/test/conftest.py | tedle/uitabot | d4850483132d94841a58dbb349383fe9e29bcded | [
"ISC"
] | 2 | 2020-07-18T05:30:19.000Z | 2022-01-09T18:07:20.000Z | import pytest
import uita.config
import uita.database
import uita.utils
import uita.types
@pytest.fixture
def config(data_dir):
return uita.config.load(str(data_dir / "config.test.json"))
@pytest.fixture
def database(config):
return uita.database.Database(config.bot.database)
@pytest.fixture(autouse=True... | 21.939394 | 91 | 0.747238 | 99 | 724 | 5.333333 | 0.40404 | 0.123106 | 0.121212 | 0.07197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015674 | 0.118785 | 724 | 32 | 92 | 22.625 | 0.811912 | 0 | 0 | 0.190476 | 0 | 0 | 0.111878 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.238095 | false | 0 | 0.238095 | 0.190476 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b473ede47a8eed37e8e5ec595fe326408aa19da1 | 185 | py | Python | beatrice/backend/app/models/token.py | lamu-ai/beatrice | 532e7ba74c74f731f060da49397e90efc8796283 | [
"MIT"
] | 2 | 2021-10-03T14:06:24.000Z | 2022-02-12T04:57:24.000Z | beatrice/backend/app/models/token.py | lamu-ai/beatrice | 532e7ba74c74f731f060da49397e90efc8796283 | [
"MIT"
] | null | null | null | beatrice/backend/app/models/token.py | lamu-ai/beatrice | 532e7ba74c74f731f060da49397e90efc8796283 | [
"MIT"
] | null | null | null | """Token models."""
import sqlmodel
class Token(sqlmodel.SQLModel):
access_token: str
token_type: str
class TokenPayload(sqlmodel.SQLModel):
subject: str | None = None
| 14.230769 | 38 | 0.702703 | 22 | 185 | 5.818182 | 0.5 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 185 | 12 | 39 | 15.416667 | 0.853333 | 0.07027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
b47b6bf5db551e4ffd9c53d590cdbc0d0f3f8dfa | 7,151 | py | Python | puzzles/context.py | muyjohno/gph-site | a8459b61c03f49bda931e0eafee019c76ef77f9b | [
"MIT"
] | null | null | null | puzzles/context.py | muyjohno/gph-site | a8459b61c03f49bda931e0eafee019c76ef77f9b | [
"MIT"
] | null | null | null | puzzles/context.py | muyjohno/gph-site | a8459b61c03f49bda931e0eafee019c76ef77f9b | [
"MIT"
] | null | null | null | # Roughly speaking, this module is most important for implementing "global
# variables" that are available in every template with the Django feature of
# "context processors". But it also does some stuff with caching computed
# properties of teams (the caching is only within a single request (?)). See
# https://docs.dj... | 32.652968 | 93 | 0.701161 | 1,026 | 7,151 | 4.717349 | 0.282651 | 0.070248 | 0.037603 | 0.026033 | 0.129132 | 0.082025 | 0.064463 | 0.040909 | 0.040909 | 0.028512 | 0 | 0.001626 | 0.226122 | 7,151 | 218 | 94 | 32.802752 | 0.872967 | 0.298979 | 0 | 0.071942 | 0 | 0 | 0.007433 | 0 | 0 | 0 | 0 | 0.004587 | 0 | 1 | 0.316547 | false | 0 | 0.05036 | 0.244604 | 0.697842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b4828542215d56cc1278e3bea98b9421b12481f7 | 12,595 | py | Python | isi_sdk_8_0_1/isi_sdk_8_0_1/models/node_status_batterystatus_node.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 24 | 2018-06-22T14:13:23.000Z | 2022-03-23T01:21:26.000Z | isi_sdk_8_0_1/isi_sdk_8_0_1/models/node_status_batterystatus_node.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 46 | 2018-04-30T13:28:22.000Z | 2022-03-21T21:11:07.000Z | isi_sdk_8_0_1/isi_sdk_8_0_1/models/node_status_batterystatus_node.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 29 | 2018-06-19T00:14:04.000Z | 2022-02-08T17:51:19.000Z | # coding: utf-8
"""
Isilon SDK
Isilon SDK - Language bindings for the OneFS API # noqa: E501
OpenAPI spec version: 4
Contact: sdk@isilon.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
class NodeStatusBatterystatusNod... | 29.775414 | 230 | 0.609528 | 1,451 | 12,595 | 5.128187 | 0.093039 | 0.067733 | 0.212875 | 0.179008 | 0.633517 | 0.564037 | 0.515388 | 0.394839 | 0.308829 | 0.193254 | 0 | 0.042731 | 0.306947 | 12,595 | 422 | 231 | 29.845972 | 0.809715 | 0.438587 | 0 | 0.081395 | 1 | 0 | 0.066334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174419 | false | 0 | 0.017442 | 0 | 0.313953 | 0.011628 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81f8cdc12416f0b6a91c74b51187ae99ba77b69c | 1,729 | py | Python | 2020/20/Tile.py | zseen/advent-of-code | 0c3f8e8f4d7fd7b7193e417f841ddec6997f265a | [
"MIT"
] | null | null | null | 2020/20/Tile.py | zseen/advent-of-code | 0c3f8e8f4d7fd7b7193e417f841ddec6997f265a | [
"MIT"
] | null | null | null | 2020/20/Tile.py | zseen/advent-of-code | 0c3f8e8f4d7fd7b7193e417f841ddec6997f265a | [
"MIT"
] | null | null | null | from typing import List, Set
class Tile:
def __init__(self, id: str, pixelRows: List[str]):
assert pixelRows
self.id = id
self._pixelRows = pixelRows
self._neighborTiles: Set[Tile] = set()
def addNeighborTile(self, neighborTile: 'Tile') -> None:
self._neighborTiles.add... | 32.622642 | 121 | 0.651243 | 186 | 1,729 | 5.94086 | 0.258065 | 0.105882 | 0.070588 | 0.061538 | 0.132127 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005201 | 0.221515 | 1,729 | 52 | 122 | 33.25 | 0.81575 | 0 | 0 | 0 | 0 | 0 | 0.002313 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.378378 | false | 0 | 0.027027 | 0.216216 | 0.702703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c324b7e46364c8a56f2b8918d076211f9aeb228b | 170 | py | Python | src/main.py | jggomez/Python-Reference-Microservice | 13723c5f5a205bf1f874c44dddbd4cab64839da7 | [
"MIT"
] | 14 | 2020-07-09T22:31:09.000Z | 2022-01-21T23:03:29.000Z | src/main.py | jggomez/Python-Reference-Microservice | 13723c5f5a205bf1f874c44dddbd4cab64839da7 | [
"MIT"
] | 1 | 2021-02-03T23:51:35.000Z | 2021-02-03T23:51:35.000Z | src/main.py | jggomez/Python-Reference-Microservice | 13723c5f5a205bf1f874c44dddbd4cab64839da7 | [
"MIT"
] | 6 | 2020-07-10T04:07:11.000Z | 2020-10-04T00:04:30.000Z | import uvicorn
from endpoints.app import create_app
app = create_app()
if __name__ == "__main__":
uvicorn.run("main:app", host="localhost", port=8080, reload=True)
| 21.25 | 69 | 0.729412 | 24 | 170 | 4.75 | 0.666667 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027211 | 0.135294 | 170 | 7 | 70 | 24.285714 | 0.748299 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c362377acc3c92acc260c72f52f17cdd008db924 | 273 | py | Python | examples/wordpress/stages/__init__.py | Frojd/Fabrik | 9f2edbba97a7fd236b72a9b3010f6e912ab5c001 | [
"MIT"
] | 12 | 2015-11-03T20:41:29.000Z | 2019-02-15T17:13:27.000Z | examples/wordpress/stages/__init__.py | Frojd/Fabrik | 9f2edbba97a7fd236b72a9b3010f6e912ab5c001 | [
"MIT"
] | 35 | 2015-08-23T17:10:00.000Z | 2017-05-10T12:08:57.000Z | examples/wordpress/stages/__init__.py | Frojd/Fabrik | 9f2edbba97a7fd236b72a9b3010f6e912ab5c001 | [
"MIT"
] | null | null | null | from fabric.state import env
# Include all your stage environments here
from stage import stage
from prod import prod
from local import local
from fabrik.transfer.git import copy
# Put settings used by all env stages
env.repro_url = "git@github.com:Frojd/Yourrepro.git"
| 22.75 | 52 | 0.798535 | 45 | 273 | 4.822222 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150183 | 273 | 11 | 53 | 24.818182 | 0.935345 | 0.278388 | 0 | 0 | 0 | 0 | 0.175258 | 0.175258 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c37a7c130f81b6a5267d97ce7571dd7d26161001 | 133 | py | Python | Compliant_control/gym-panda/AC/gym_panda/__init__.py | martihmy/Compliant_control | 485f627fa83d59f414f41bd57c5d37528ef5f1ec | [
"Apache-2.0"
] | null | null | null | Compliant_control/gym-panda/AC/gym_panda/__init__.py | martihmy/Compliant_control | 485f627fa83d59f414f41bd57c5d37528ef5f1ec | [
"Apache-2.0"
] | null | null | null | Compliant_control/gym-panda/AC/gym_panda/__init__.py | martihmy/Compliant_control | 485f627fa83d59f414f41bd57c5d37528ef5f1ec | [
"Apache-2.0"
] | null | null | null | from gym.envs.registration import register
register(
id = 'panda-admittance-v0',
entry_point = 'gym_panda.envs:AC_Env',
)
| 14.777778 | 42 | 0.706767 | 18 | 133 | 5.055556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.172932 | 133 | 8 | 43 | 16.625 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.305344 | 0.160305 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c3827253e2758b7f0adee26f98c4ba774028a79e | 232 | py | Python | src/darcyai/tests/output/test_output_stream.py | edgeworx/darcyai | a92f0615b7cecdfe1317a8de533fdf12cedec89b | [
"MIT"
] | null | null | null | src/darcyai/tests/output/test_output_stream.py | edgeworx/darcyai | a92f0615b7cecdfe1317a8de533fdf12cedec89b | [
"MIT"
] | null | null | null | src/darcyai/tests/output/test_output_stream.py | edgeworx/darcyai | a92f0615b7cecdfe1317a8de533fdf12cedec89b | [
"MIT"
] | null | null | null | from darcyai.output.output_stream import OutputStream
class TestOutputStream:
"""
OutputStream tests.
"""
def test_constructor(self):
output_stream = OutputStream()
assert output_stream is not None
| 21.090909 | 53 | 0.698276 | 24 | 232 | 6.583333 | 0.708333 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232759 | 232 | 10 | 54 | 23.2 | 0.88764 | 0.081897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6f102fea901b82edc0bc610481ddef277cde8578 | 2,807 | py | Python | loose_binary_search.py | zivanfi/minmaxbinarysearch | ceb39cc63954437cf553fc69101ed3ac54aaf186 | [
"Apache-2.0"
] | null | null | null | loose_binary_search.py | zivanfi/minmaxbinarysearch | ceb39cc63954437cf553fc69101ed3ac54aaf186 | [
"Apache-2.0"
] | null | null | null | loose_binary_search.py | zivanfi/minmaxbinarysearch | ceb39cc63954437cf553fc69101ed3ac54aaf186 | [
"Apache-2.0"
] | null | null | null | from common import *
# This algorithm does NOT require that for each page i:
# "max value for page i" <= "min value for page i + 1"
#
# Instead, it requires that for each page i:
# "min value for page i" <= "min value for page i + 1" and
# "max value for page i" <= "max value for page i + 1"
# This is a looser c... | 43.859375 | 103 | 0.691842 | 387 | 2,807 | 4.643411 | 0.183463 | 0.227045 | 0.189204 | 0.244853 | 0.761825 | 0.693934 | 0.661102 | 0.532554 | 0.471898 | 0.421814 | 0 | 0.007992 | 0.242252 | 2,807 | 63 | 104 | 44.555556 | 0.836859 | 0.24332 | 0 | 0.4 | 0 | 0 | 0.011391 | 0 | 0 | 0 | 0 | 0 | 0.075 | 1 | 0.025 | false | 0 | 0.025 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6f12d5ed34c3faa35c6654f7be14906168d69011 | 1,557 | py | Python | zenhub/release_report.py | rofrano/PyZenHub | b80a59ac7564516c37283fafb854885f30c10ac1 | [
"Apache-2.0"
] | 1 | 2020-05-29T16:00:24.000Z | 2020-05-29T16:00:24.000Z | zenhub/release_report.py | rofrano/PyZenHub | b80a59ac7564516c37283fafb854885f30c10ac1 | [
"Apache-2.0"
] | null | null | null | zenhub/release_report.py | rofrano/PyZenHub | b80a59ac7564516c37283fafb854885f30c10ac1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (C) 2019 John J. Rofrano <rofrano@gmail.com>
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/L... | 35.386364 | 74 | 0.693642 | 215 | 1,557 | 4.976744 | 0.446512 | 0.109346 | 0.091589 | 0.128972 | 0.336449 | 0.252336 | 0.241122 | 0.241122 | 0.160748 | 0 | 0 | 0.013765 | 0.206808 | 1,557 | 43 | 75 | 36.209302 | 0.852632 | 0.899165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6f4b74a4e55f7e32c8c3b81b972db7ab016061e6 | 986 | py | Python | pushmanager/tests/test_ui_methods.py | ymilki/pushmanager | 76943467476e5a725e9df9e3398bc39d24f409e1 | [
"Apache-2.0"
] | null | null | null | pushmanager/tests/test_ui_methods.py | ymilki/pushmanager | 76943467476e5a725e9df9e3398bc39d24f409e1 | [
"Apache-2.0"
] | null | null | null | pushmanager/tests/test_ui_methods.py | ymilki/pushmanager | 76943467476e5a725e9df9e3398bc39d24f409e1 | [
"Apache-2.0"
] | null | null | null | import testify as T
from pushmanager.ui_methods import authorized_to_manage_request
class UIMethodTest(T.TestCase):
def test_authorized_to_manage_request_random_user(self):
request = {'user': 'testuser', 'watchers': None }
T.assert_equal(False, authorized_to_manage_request(None, request, 'notme')... | 37.923077 | 88 | 0.720081 | 121 | 986 | 5.454545 | 0.289256 | 0.163636 | 0.245455 | 0.340909 | 0.736364 | 0.689394 | 0.495455 | 0.425758 | 0.425758 | 0.425758 | 0 | 0.002421 | 0.162272 | 986 | 25 | 89 | 39.44 | 0.79661 | 0 | 0 | 0.176471 | 0 | 0 | 0.123732 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.235294 | false | 0 | 0.117647 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6f5dbf94652fc0c30c242f19397264f39c06c0fe | 344 | py | Python | pythonwarrior/abilities/direction_of_stairs.py | m1ckr1sk/python-warrior | e5ff42c11fd707d3b60488ef64ef98d4546b60c6 | [
"MIT"
] | 46 | 2015-02-02T19:32:05.000Z | 2022-03-16T16:24:14.000Z | pythonwarrior/abilities/direction_of_stairs.py | m1ckr1sk/python-warrior | e5ff42c11fd707d3b60488ef64ef98d4546b60c6 | [
"MIT"
] | 5 | 2015-07-06T15:26:43.000Z | 2020-04-21T08:12:04.000Z | pythonwarrior/abilities/direction_of_stairs.py | m1ckr1sk/python-warrior | e5ff42c11fd707d3b60488ef64ef98d4546b60c6 | [
"MIT"
] | 10 | 2015-02-10T02:56:22.000Z | 2021-05-15T22:37:38.000Z | from pythonwarrior.abilities.base import AbilityBase
class DirectionOfStairs(AbilityBase):
def description(self):
return ("Returns the direction ('left', 'right', 'forward',"
"'backward') the stairs are from your location")
def perform(self):
return self._unit.position.relativ... | 31.272727 | 68 | 0.697674 | 37 | 344 | 6.378378 | 0.756757 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200581 | 344 | 10 | 69 | 34.4 | 0.858182 | 0 | 0 | 0 | 0 | 0 | 0.276163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6f667fbbc27ff37974052573f8ee4b374340c0e8 | 50 | py | Python | ex016.py | jgabriel1607/Python | d6b75519eb8f0d4fef944e1690ba8914d81a5d16 | [
"MIT"
] | null | null | null | ex016.py | jgabriel1607/Python | d6b75519eb8f0d4fef944e1690ba8914d81a5d16 | [
"MIT"
] | null | null | null | ex016.py | jgabriel1607/Python | d6b75519eb8f0d4fef944e1690ba8914d81a5d16 | [
"MIT"
] | null | null | null | import math
num = int(input('Digite um número: ')) | 25 | 38 | 0.7 | 8 | 50 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 38 | 25 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6f6aaab2948ac8b1e3031c0bc0ee1cae1705385f | 66 | py | Python | geneblocks/CommonBlocks/__init__.py | Edinburgh-Genome-Foundry/Geneblocks | 87a8df33fab2295e357884fa2742d3e03e98d9a5 | [
"MIT"
] | 26 | 2018-02-12T13:14:14.000Z | 2021-08-06T16:51:46.000Z | geneblocks/CommonBlocks/__init__.py | Edinburgh-Genome-Foundry/Geneblocks | 87a8df33fab2295e357884fa2742d3e03e98d9a5 | [
"MIT"
] | 6 | 2020-05-20T20:26:08.000Z | 2022-02-15T11:39:35.000Z | geneblocks/CommonBlocks/__init__.py | Edinburgh-Genome-Foundry/Geneblocks | 87a8df33fab2295e357884fa2742d3e03e98d9a5 | [
"MIT"
] | 3 | 2019-11-04T23:00:17.000Z | 2021-10-06T23:45:25.000Z | from .CommonBlocks import CommonBlocks
__all__ = ['CommonBlocks'] | 22 | 38 | 0.80303 | 6 | 66 | 8.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 3 | 39 | 22 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
48966468cc54e772e860a80d868aa22928bb66e7 | 705 | py | Python | week7-trading/trading/test.py | Justin-Wong1215/2021-spring-bootcamp | d5f7c38d15d3e1be4a0b70171f80e018d461f81e | [
"MIT"
] | null | null | null | week7-trading/trading/test.py | Justin-Wong1215/2021-spring-bootcamp | d5f7c38d15d3e1be4a0b70171f80e018d461f81e | [
"MIT"
] | null | null | null | week7-trading/trading/test.py | Justin-Wong1215/2021-spring-bootcamp | d5f7c38d15d3e1be4a0b70171f80e018d461f81e | [
"MIT"
] | null | null | null | def slowest(orders):
brokers_second = []
for i in range(len(orders)):
b_second = [orders[i][0]]
if i == 0:
time = orders[i][1]
b_second.append(time)
else:
time = orders[i][1] - orders[i-1][1]
b_second.append(time)
brokers_second.app... | 32.045455 | 61 | 0.521986 | 102 | 705 | 3.460784 | 0.245098 | 0.405099 | 0.23796 | 0.169972 | 0.481586 | 0.249292 | 0.169972 | 0.169972 | 0 | 0 | 0 | 0.052521 | 0.324823 | 705 | 22 | 62 | 32.045455 | 0.689076 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
48967abda7fdd2bf0ff4cfd73aaf903241ae4555 | 2,332 | py | Python | tests/runall.py | JackNg88/glbase3 | 4af190d06b89ef360dcba201d9e4e81f41ef8379 | [
"MIT"
] | 1 | 2021-04-01T14:35:06.000Z | 2021-04-01T14:35:06.000Z | tests/runall.py | JackNg88/glbase3 | 4af190d06b89ef360dcba201d9e4e81f41ef8379 | [
"MIT"
] | null | null | null | tests/runall.py | JackNg88/glbase3 | 4af190d06b89ef360dcba201d9e4e81f41ef8379 | [
"MIT"
] | null | null | null | """
run all of the tests
"""
import unittest
# get glbase
import sys, os
sys.path.append(os.path.realpath("../../"))
import glbase3.config
print(sys.version)
glbase3.version()
glbase3.config.set_log_level(None) # Silence output
# please maintain these in alphabetical order:
from test_annotate import Test_Annotate
f... | 38.866667 | 78 | 0.798027 | 256 | 2,332 | 6.980469 | 0.269531 | 0.076105 | 0.371013 | 0.409065 | 0.057079 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001961 | 0.125214 | 2,332 | 59 | 79 | 39.525424 | 0.87402 | 0.039451 | 0 | 0 | 0 | 0 | 0.006284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.446809 | 0 | 0.489362 | 0.021277 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
48b9204a02940b128b6b09cce9e0a887a8513de7 | 1,181 | py | Python | examples/mnist/convert.py | bendecoste/tf-encrypted | 00c9b80435411299a518f777de644c61d64cceea | [
"Apache-2.0"
] | null | null | null | examples/mnist/convert.py | bendecoste/tf-encrypted | 00c9b80435411299a518f777de644c61d64cceea | [
"Apache-2.0"
] | null | null | null | examples/mnist/convert.py | bendecoste/tf-encrypted | 00c9b80435411299a518f777de644c61d64cceea | [
"Apache-2.0"
] | null | null | null |
#
# Based on:
# - https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/how_tos/reading_data/convert_to_records.py
# - https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/how_tos/reading_data/fully_connected_reader.py
#
import tensorflow as tf
def encode_image(value):
ret... | 26.840909 | 123 | 0.716342 | 155 | 1,181 | 5.303226 | 0.335484 | 0.051095 | 0.047445 | 0.058394 | 0.253041 | 0.192214 | 0.192214 | 0.192214 | 0.192214 | 0.192214 | 0 | 0.012846 | 0.143099 | 1,181 | 43 | 124 | 27.465116 | 0.799407 | 0.210838 | 0 | 0 | 0 | 0 | 0.032432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.041667 | 0.166667 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
48d969a662c4e9af6d65bc59feffd887f3a0a9a5 | 15,679 | py | Python | d3rlpy/algos/cql.py | meokz/d3rlpy | 40504e2d8b424547558ab82786c523e8f4626a82 | [
"MIT"
] | 2 | 2021-04-21T08:19:29.000Z | 2021-05-17T09:08:06.000Z | d3rlpy/algos/cql.py | meokz/d3rlpy | 40504e2d8b424547558ab82786c523e8f4626a82 | [
"MIT"
] | null | null | null | d3rlpy/algos/cql.py | meokz/d3rlpy | 40504e2d8b424547558ab82786c523e8f4626a82 | [
"MIT"
] | null | null | null | from .base import AlgoBase
from .dqn import DoubleDQN
from .torch.cql_impl import CQLImpl, DiscreteCQLImpl
class CQL(AlgoBase):
""" Conservative Q-Learning algorithm.
CQL is a SAC-based data-driven deep reinforcement learning algorithm, which
achieves state-of-the-art performance in offline RL problems.
... | 47.948012 | 79 | 0.596594 | 1,774 | 15,679 | 5.088501 | 0.150507 | 0.055833 | 0.018279 | 0.021713 | 0.743769 | 0.731694 | 0.703334 | 0.686496 | 0.661239 | 0.653816 | 0 | 0.007191 | 0.317048 | 15,679 | 326 | 80 | 48.095092 | 0.835824 | 0.568085 | 0 | 0.23622 | 0 | 0 | 0.008807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03937 | false | 0 | 0.023622 | 0.007874 | 0.094488 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
48e5584a85b5abed33590b8fa86b0eabcb95ca7b | 68 | py | Python | aioaws/__init__.py | tomhamiltonstubber/aioaws | 4ae59f2eba4ae2cfb0933599836a5eb4bd2d2ce1 | [
"MIT"
] | 85 | 2020-03-25T16:41:31.000Z | 2022-03-20T14:01:46.000Z | aioaws/__init__.py | tomhamiltonstubber/aioaws | 4ae59f2eba4ae2cfb0933599836a5eb4bd2d2ce1 | [
"MIT"
] | 25 | 2020-10-05T15:06:39.000Z | 2022-03-16T16:00:53.000Z | aioaws/__init__.py | tomhamiltonstubber/aioaws | 4ae59f2eba4ae2cfb0933599836a5eb4bd2d2ce1 | [
"MIT"
] | 6 | 2020-03-27T14:47:45.000Z | 2022-02-21T10:24:46.000Z | # flake8: noqa
from .version import VERSION
__all__ = ('VERSION',)
| 13.6 | 28 | 0.705882 | 8 | 68 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.161765 | 68 | 4 | 29 | 17 | 0.754386 | 0.176471 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
48f5d7ffa815e5515a37a9315e27c6e0b09a42c8 | 523 | py | Python | v2/backend/site/views/index.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 558 | 2017-10-04T14:33:18.000Z | 2022-03-24T21:25:08.000Z | v2/backend/site/views/index.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 22 | 2018-04-29T04:25:49.000Z | 2021-08-02T17:26:02.000Z | v2/backend/site/views/index.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 127 | 2017-11-14T19:47:27.000Z | 2022-03-24T21:25:12.000Z | from flask import render_template
from .blueprint import site
# this view (shouldn't) ever be used, but we include it for the possibility to
# link to the homepage from email templates, or for gracefully showing when
# something's wrong in development
# (in development, webpack should be serving a dynamically genera... | 34.866667 | 80 | 0.76673 | 78 | 523 | 5.115385 | 0.653846 | 0.067669 | 0.075188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145315 | 523 | 14 | 81 | 37.357143 | 0.892617 | 0.648184 | 0 | 0 | 0 | 0 | 0.129213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
48fd485090365b0cee3372472c070dead5732f09 | 814 | py | Python | dataservices/migrations/0034_auto_20211202_1603.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 2 | 2017-06-02T09:09:08.000Z | 2021-01-18T10:26:53.000Z | dataservices/migrations/0034_auto_20211202_1603.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 629 | 2016-10-10T09:35:52.000Z | 2022-03-25T15:04:04.000Z | dataservices/migrations/0034_auto_20211202_1603.py | uktrade/directory-api | 45a9024a7ecc2842895201cbb51420ba9e57a168 | [
"MIT"
] | 5 | 2017-06-22T10:02:22.000Z | 2022-03-14T17:55:21.000Z | # Generated by Django 2.2.24 on 2021-12-02 16:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dataservices', '0033_auto_20211201_1005'),
]
operations = [
migrations.RenameField(
model_name='gdppercapita',
old_... | 25.4375 | 94 | 0.571253 | 77 | 814 | 5.857143 | 0.636364 | 0.079823 | 0.186253 | 0.166297 | 0.235033 | 0.235033 | 0.235033 | 0 | 0 | 0 | 0 | 0.07027 | 0.318182 | 814 | 31 | 95 | 26.258065 | 0.742342 | 0.056511 | 0 | 0.4 | 1 | 0 | 0.163185 | 0.030026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d29ac2c9d61ceed7aad683c9a80a5dae7611b3e1 | 164 | py | Python | Imaobong Tom/Phase 1/Python Basic 1/Day 2/9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Imaobong Tom/Phase 1/Python Basic 1/Day 2/9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Imaobong Tom/Phase 1/Python Basic 1/Day 2/9.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | exam_st_date = (11, 12, 2014)
day = exam_st_date[0]
month = exam_st_date[1]
year = exam_st_date[2]
print("The examination will start from:",day, "/",month,"/",year) | 32.8 | 65 | 0.70122 | 30 | 164 | 3.566667 | 0.6 | 0.224299 | 0.373832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075862 | 0.115854 | 164 | 5 | 65 | 32.8 | 0.662069 | 0 | 0 | 0 | 0 | 0 | 0.206061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
d2bed1762c412c0b52b8201c944a9c1bec7aad7b | 722 | py | Python | acutebot/config.py | RomanGoddess/AcuteRobot | 18f6ffb624eef7e76c8cf5fbdda956f6903d0669 | [
"MIT"
] | null | null | null | acutebot/config.py | RomanGoddess/AcuteRobot | 18f6ffb624eef7e76c8cf5fbdda956f6903d0669 | [
"MIT"
] | null | null | null | acutebot/config.py | RomanGoddess/AcuteRobot | 18f6ffb624eef7e76c8cf5fbdda956f6903d0669 | [
"MIT"
] | 1 | 2021-09-16T14:10:09.000Z | 2021-09-16T14:10:09.000Z | import os
# DO NOT EDIT THIS FILE
# DO NOT EDIT THIS FILE
# DO NOT EDIT THIS FILE
# DO NOT EDIT THIS FILE
# READ README FOR CONFIG
class Config(object):
ENV = bool(os.environ.get("ENV", False))
TOKEN = os.environ.get("TOKEN")
WORKERS = int(os.environ.get("WORKERS", 8))
TMDBAPI = os.environ.get("TMDB... | 28.88 | 59 | 0.668975 | 112 | 722 | 4.205357 | 0.339286 | 0.248408 | 0.33121 | 0.110403 | 0.233546 | 0.144374 | 0.144374 | 0.144374 | 0.144374 | 0.144374 | 0 | 0.001692 | 0.18144 | 722 | 24 | 60 | 30.083333 | 0.795262 | 0.152355 | 0 | 0 | 1 | 0 | 0.160066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d2c19e8475012219174e16975c536d6defd23805 | 1,312 | py | Python | funcs/__init__.py | raunaqtri1/MINT-Transformation | cdb95ff3ee05b109e5f2a1016d52702819691701 | [
"MIT"
] | null | null | null | funcs/__init__.py | raunaqtri1/MINT-Transformation | cdb95ff3ee05b109e5f2a1016d52702819691701 | [
"MIT"
] | null | null | null | funcs/__init__.py | raunaqtri1/MINT-Transformation | cdb95ff3ee05b109e5f2a1016d52702819691701 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from .readers.read_func import ReadFunc
from .readers.dcat_read_func import DcatReadFunc
from .readers.dcat_range_stream import DcatRangeStream
from .readers.dcat_variable_stream import DcatVariableStream
from .readers.dcat_read_no_repr import DcatReadNoReprFunc
# from .trans_... | 50.461538 | 111 | 0.881098 | 155 | 1,312 | 7.167742 | 0.406452 | 0.135014 | 0.054005 | 0.056706 | 0.093609 | 0.093609 | 0.093609 | 0.093609 | 0 | 0 | 0 | 0.011542 | 0.075457 | 1,312 | 25 | 112 | 52.48 | 0.904369 | 0.17378 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d2e2471f6042f4426be6665552cbdd594c8c8561 | 584 | py | Python | assertpy/booleans.py | rascaler/assertpy | 668719d3f034475d95de0f0a0cb680c7cfa8b43c | [
"Apache-2.0"
] | null | null | null | assertpy/booleans.py | rascaler/assertpy | 668719d3f034475d95de0f0a0cb680c7cfa8b43c | [
"Apache-2.0"
] | null | null | null | assertpy/booleans.py | rascaler/assertpy | 668719d3f034475d95de0f0a0cb680c7cfa8b43c | [
"Apache-2.0"
] | null | null | null | # !/usr/bin/env python
# -*- coding: utf-8 -*-
from assertpy.base import AbstractAssert
class BooleanAssert(AbstractAssert):
def __init__(self, actual):
super(BooleanAssert, self).__init__(actual)
def is_true(self):
"""
:rtype: BooleanAssert
"""
if not self.passed:
... | 21.62963 | 51 | 0.561644 | 61 | 584 | 5.213115 | 0.442623 | 0.125786 | 0.138365 | 0.150943 | 0.358491 | 0.358491 | 0.358491 | 0.358491 | 0.358491 | 0.358491 | 0 | 0.002577 | 0.335616 | 584 | 26 | 52 | 22.461538 | 0.81701 | 0.148973 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 1 | 0.214286 | false | 0.285714 | 0.071429 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
96118cfe39233e141728250f7c23a513179365cc | 246 | py | Python | particlezoo/parsers/__init__.py | npapapietro/particlezoo | f4a42fedd9f3a4ed10ae5926d217e3966a733a32 | [
"MIT"
] | null | null | null | particlezoo/parsers/__init__.py | npapapietro/particlezoo | f4a42fedd9f3a4ed10ae5926d217e3966a733a32 | [
"MIT"
] | null | null | null | particlezoo/parsers/__init__.py | npapapietro/particlezoo | f4a42fedd9f3a4ed10ae5926d217e3966a733a32 | [
"MIT"
] | null | null | null | from ..builders import Configuration
from .transform import group_lookup
from .consume import open_file, consume_config
def parse(fname: str, **kwargs) -> Configuration:
config = open_file(fname, **kwargs)
return consume_config(config)
| 27.333333 | 49 | 0.768293 | 31 | 246 | 5.935484 | 0.548387 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142276 | 246 | 8 | 50 | 30.75 | 0.872038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
96187e1f0cde495178e937c01dd21ab180ffd5ee | 1,707 | py | Python | data/scripts/combine-ME-data.py | SmellsLikeCake/OpenDSJ-2018 | 22c98a39e559a00f81ab524086beb3b098a106d2 | [
"MIT"
] | 5 | 2019-01-10T21:47:08.000Z | 2020-09-18T04:35:12.000Z | data/scripts/combine-ME-data.py | SmellsLikeCake/OpenDSJ-2018 | 22c98a39e559a00f81ab524086beb3b098a106d2 | [
"MIT"
] | 52 | 2018-04-27T03:50:27.000Z | 2019-06-26T07:05:25.000Z | data/scripts/combine-ME-data.py | SmellsLikeCake/OpenDSJ-2018 | 22c98a39e559a00f81ab524086beb3b098a106d2 | [
"MIT"
] | 18 | 2018-07-13T02:59:18.000Z | 2019-06-21T21:35:45.000Z | import pandas as pd
# filenames
file_names = [
"../11:6:2018-General-Election-SJC-candidate-campaign-data/SJC_D7_MayaEsparza/ME_460 Recipient Committee Campaign Statement 1:30:2018 1:1:2017 - 12:31:2017.xls",
"../11:6:2018-General-Election-SJC-candidate-campaign-data/SJC_D7_MayaEsparza/ME_460 Recipient Committee ... | 60.964286 | 192 | 0.772701 | 283 | 1,707 | 4.572438 | 0.289753 | 0.018547 | 0.043277 | 0.086553 | 0.569552 | 0.569552 | 0.550232 | 0.550232 | 0.550232 | 0.550232 | 0 | 0.150641 | 0.086116 | 1,707 | 27 | 193 | 63.222222 | 0.678846 | 0.083773 | 0 | 0 | 0 | 0.533333 | 0.775851 | 0.490045 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
96199837808eaa8cebedf20c484e36948177252a | 3,522 | py | Python | app_backend/api/production_sensitive.py | zhanghe06/bearing_project | 78a20fc321f72d3ae05c7ab7e52e01d02904e3fc | [
"MIT"
] | 1 | 2020-06-21T04:08:26.000Z | 2020-06-21T04:08:26.000Z | app_backend/api/production_sensitive.py | zhanghe06/bearing_project | 78a20fc321f72d3ae05c7ab7e52e01d02904e3fc | [
"MIT"
] | 13 | 2019-10-18T17:19:32.000Z | 2022-01-13T00:44:43.000Z | app_backend/api/production_sensitive.py | zhanghe06/bearing_project | 78a20fc321f72d3ae05c7ab7e52e01d02904e3fc | [
"MIT"
] | 5 | 2019-02-07T03:15:16.000Z | 2021-09-04T14:06:28.000Z | #!/usr/bin/env python
# encoding: utf-8
"""
@author: zhanghe
@software: PyCharm
@file: production_sensitive.py
@time: 2018-08-14 14:49
"""
from app_backend.databases.bearing import db_bearing
from app_common.libs.mysql_orm_op import DbInstance
from app_backend.models.model_bearing import ProductionSensitive
from app... | 24.978723 | 120 | 0.709824 | 427 | 3,522 | 5.545667 | 0.283372 | 0.216639 | 0.079814 | 0.050676 | 0.441301 | 0.295608 | 0.258446 | 0.190878 | 0.086149 | 0.048142 | 0 | 0.0084 | 0.188813 | 3,522 | 140 | 121 | 25.157143 | 0.820441 | 0.314878 | 0 | 0 | 0 | 0 | 0.007741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.366667 | false | 0 | 0.166667 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8251abb8083a0dabdfe02e724293ece2481baad9 | 6,474 | py | Python | foo/pictureR/bootyCount.py | wicast/arkHelper | 8982f481db537d074ef9425047b7ac24c337e196 | [
"MIT"
] | 147 | 2020-05-06T10:36:13.000Z | 2022-03-17T13:03:16.000Z | foo/pictureR/bootyCount.py | wicast/arkHelper | 8982f481db537d074ef9425047b7ac24c337e196 | [
"MIT"
] | 34 | 2020-07-21T01:20:10.000Z | 2022-01-30T06:38:11.000Z | foo/pictureR/bootyCount.py | wicast/arkHelper | 8982f481db537d074ef9425047b7ac24c337e196 | [
"MIT"
] | 17 | 2020-12-10T14:42:34.000Z | 2022-02-26T15:23:58.000Z | from os import getcwd
from sys import path
from cv2 import resize
from foo.pictureR import pictureFind
class Booty:
def __init__(self, cwd):
self.cwd = cwd
self.bootyPicPath = cwd + '/res/booty/pics'
self.bootyList = {'RMA70-12':pictureFind.picRead(self.bootyPicPath + '/RMA70-12.png'),
... | 60.504673 | 111 | 0.526722 | 596 | 6,474 | 5.714765 | 0.213087 | 0.301233 | 0.368174 | 0.549031 | 0.082208 | 0.045802 | 0.045802 | 0.024662 | 0.024662 | 0.024662 | 0 | 0.027546 | 0.332715 | 6,474 | 106 | 112 | 61.075472 | 0.76088 | 0 | 0 | 0.12 | 0 | 0 | 0.117702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.04 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8259dac886d1f94e38df26699e160e792f521f55 | 15,269 | py | Python | python/protobufs/services/search/containers_pb2.py | getcircle/protobuf-registry | 20ad8463b7ac6e2cf279c08bcd3e953993fe9153 | [
"MIT"
] | null | null | null | python/protobufs/services/search/containers_pb2.py | getcircle/protobuf-registry | 20ad8463b7ac6e2cf279c08bcd3e953993fe9153 | [
"MIT"
] | null | null | null | python/protobufs/services/search/containers_pb2.py | getcircle/protobuf-registry | 20ad8463b7ac6e2cf279c08bcd3e953993fe9153 | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: protobufs/services/search/containers.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _sym... | 49.414239 | 1,604 | 0.78715 | 1,886 | 15,269 | 6.034464 | 0.096501 | 0.035849 | 0.078025 | 0.040594 | 0.779369 | 0.719093 | 0.658642 | 0.632809 | 0.588964 | 0.569546 | 0 | 0.041869 | 0.097452 | 15,269 | 308 | 1,605 | 49.574675 | 0.783978 | 0.033925 | 0 | 0.597122 | 1 | 0.003597 | 0.246032 | 0.190748 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032374 | 0 | 0.032374 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
826725f8af7b8d19067181a7816136ca7b1b2ff6 | 164 | py | Python | LSTM_Attn/config_LSTMAttn.py | andrew-miao/ECE657A_Project-text-classification | 5ad77ea6d6c685eecfe3dc189d9ea41f5b3ac1d1 | [
"MIT"
] | 4 | 2020-08-11T18:31:55.000Z | 2020-08-25T15:30:53.000Z | LSTM_Attn/config_LSTMAttn.py | andrew-miao/ECE657A_Project-text-classification | 5ad77ea6d6c685eecfe3dc189d9ea41f5b3ac1d1 | [
"MIT"
] | null | null | null | LSTM_Attn/config_LSTMAttn.py | andrew-miao/ECE657A_Project-text-classification | 5ad77ea6d6c685eecfe3dc189d9ea41f5b3ac1d1 | [
"MIT"
] | null | null | null | import torch.nn as nn
class Config(object):
embedding_size = 300
n_layers = 1
hidden_size = 128
fc1_size = 60
fc2_size = 32
drop_prob = 0.5 | 18.222222 | 24 | 0.640244 | 27 | 164 | 3.666667 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 0.292683 | 164 | 9 | 25 | 18.222222 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
826b46e10957077aea7a7aa7f99b0bbf71442963 | 2,899 | py | Python | lib/galaxy/dependencies/__init__.py | bxlab/galaxy-hackathon | 7a5726649d091eab5c4b709f2a1cfe4e28bd9599 | [
"CC-BY-3.0"
] | null | null | null | lib/galaxy/dependencies/__init__.py | bxlab/galaxy-hackathon | 7a5726649d091eab5c4b709f2a1cfe4e28bd9599 | [
"CC-BY-3.0"
] | 1 | 2018-08-20T18:19:58.000Z | 2018-08-20T18:19:58.000Z | lib/galaxy/dependencies/__init__.py | bxlab/galaxy-hackathon | 7a5726649d091eab5c4b709f2a1cfe4e28bd9599 | [
"CC-BY-3.0"
] | null | null | null | """
Determine what optional dependencies are needed.
"""
import pkg_resources
from os.path import dirname, join
from xml.etree import ElementTree
from galaxy.util import asbool
from galaxy.util.properties import load_app_properties
class ConditionalDependencies( object ):
def __init__( self, config_file ):
... | 33.321839 | 98 | 0.641945 | 336 | 2,899 | 5.333333 | 0.321429 | 0.083705 | 0.039063 | 0.044643 | 0.229911 | 0.13058 | 0.053571 | 0 | 0 | 0 | 0 | 0.000463 | 0.255605 | 2,899 | 86 | 99 | 33.709302 | 0.829935 | 0.035874 | 0 | 0.031746 | 0 | 0 | 0.113742 | 0.051668 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.015873 | 0.079365 | 0.15873 | 0.539683 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8287d51e02ef7a33132f76270d23d82423fe115f | 180 | py | Python | 1. Python/Control Structures/1. Iteration with Loops/dic_loop.py | theparitoshkumar/Data-Structures-Algorithms-using-python | 445b9dee56bca637f21267114cc1686d333ea4c4 | [
"Apache-2.0"
] | 1 | 2021-12-05T18:02:15.000Z | 2021-12-05T18:02:15.000Z | 1. Python/Control Structures/1. Iteration with Loops/dic_loop.py | theparitoshkumar/Data-Structures-Algorithms-using-python | 445b9dee56bca637f21267114cc1686d333ea4c4 | [
"Apache-2.0"
] | null | null | null | 1. Python/Control Structures/1. Iteration with Loops/dic_loop.py | theparitoshkumar/Data-Structures-Algorithms-using-python | 445b9dee56bca637f21267114cc1686d333ea4c4 | [
"Apache-2.0"
] | null | null | null | my_dict = {'a':[0, 1, 2, 3], 'b':[0, 1, 2, 3], 'c':[0, 1, 2, 3], 'd':[0, 1, 2, 3]}
i = 0
output = []
for key in my_dict:
output.append(my_dict[key][i])
i += 1
print(output) | 25.714286 | 82 | 0.477778 | 40 | 180 | 2.075 | 0.425 | 0.096386 | 0.144578 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 0.222222 | 180 | 7 | 83 | 25.714286 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0.022099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
829772f4b7fa5b22c5083063f5a1b773dadef031 | 230 | py | Python | auction/models/lot.py | littlepea/django-auction | fe0219faabe17efbeca1be51869d750e82299941 | [
"MIT"
] | 10 | 2015-01-13T02:51:35.000Z | 2021-01-25T21:02:29.000Z | auction/models/lot.py | JohnRomanski/django-auction | bc6982c8f34a9a6914badb203424eca7f3219685 | [
"MIT"
] | 2 | 2016-08-05T09:24:30.000Z | 2020-06-28T06:00:11.000Z | auction/models/lot.py | JohnRomanski/django-auction | bc6982c8f34a9a6914badb203424eca7f3219685 | [
"MIT"
] | 22 | 2015-03-12T10:41:52.000Z | 2021-11-23T14:33:09.000Z | import importlib
from django.conf import settings
from auction.utils.loader import load_class
LOT_MODEL = getattr(settings, 'AUCTION_LOT_MODEL',
'auction.models.defaults.Lot')
Lot = load_class(LOT_MODEL, 'AUCTION_LOT_MODEL') | 28.75 | 50 | 0.804348 | 33 | 230 | 5.363636 | 0.484848 | 0.180791 | 0.135593 | 0.19209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 230 | 8 | 51 | 28.75 | 0.859223 | 0 | 0 | 0 | 0 | 0 | 0.264069 | 0.116883 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
829e31ec5f16354076c9380a7d117b47c98a4a9f | 845 | py | Python | Kattis/mia.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | Kattis/mia.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | Kattis/mia.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | while(True):
s0,s1, r0,r1 = map(int,input().split())
if not(s0):
exit()
S0,S1=min(s0,s1),max(s0,s1)
R0,R1=min(r0,r1),max(r0,r1)
if S0+S1==3 and R0+R1==3:
print("Tie.")
elif S0+S1==3:
print("Player 1 wins.")
elif R0+R1==3:
print("Player 2 wins.")
elif S0==... | 24.852941 | 43 | 0.459172 | 127 | 845 | 3.055118 | 0.19685 | 0.283505 | 0.154639 | 0.206186 | 0.71134 | 0.595361 | 0.536082 | 0.273196 | 0.14433 | 0 | 0 | 0.114232 | 0.368047 | 845 | 34 | 44 | 24.852941 | 0.61236 | 0 | 0 | 0.5 | 0 | 0 | 0.179669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.382353 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82ae267fafb3a7e24a8cca133f2b49d019b093ea | 23 | py | Python | agent/tool.py | ted-ross/octo-nemesis | aaa070facb7763ac305f5d1961bfb0febe65eca6 | [
"Apache-2.0"
] | null | null | null | agent/tool.py | ted-ross/octo-nemesis | aaa070facb7763ac305f5d1961bfb0febe65eca6 | [
"Apache-2.0"
] | null | null | null | agent/tool.py | ted-ross/octo-nemesis | aaa070facb7763ac305f5d1961bfb0febe65eca6 | [
"Apache-2.0"
] | null | null | null | __author__ = 'gmurthy'
| 11.5 | 22 | 0.73913 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82ae31dc2b5d50cafe4cb0192e58f91c01f54ae9 | 146 | py | Python | kamui/storage/urls.py | krishhlogan/kamui | ca55a638bc439d6374f5842812ecbaa733a43d85 | [
"BSL-1.0"
] | null | null | null | kamui/storage/urls.py | krishhlogan/kamui | ca55a638bc439d6374f5842812ecbaa733a43d85 | [
"BSL-1.0"
] | null | null | null | kamui/storage/urls.py | krishhlogan/kamui | ca55a638bc439d6374f5842812ecbaa733a43d85 | [
"BSL-1.0"
] | 1 | 2021-09-10T21:24:54.000Z | 2021-09-10T21:24:54.000Z |
from django.urls import path,include
from .views import *
API_VERSION = 'api/v0/'
urlpatterns = [
path('store/',store_file,name='store')
]
| 14.6 | 42 | 0.691781 | 20 | 146 | 4.95 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.157534 | 146 | 9 | 43 | 16.222222 | 0.796748 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
82b18f099f444246b5c475c10a939e07763b2465 | 364 | py | Python | run_pointer_head_pretests.py | muratcancicek/pointer_head | b2a357f0183d5ced82b6dc7f6f12e0391bdc7380 | [
"MIT"
] | null | null | null | run_pointer_head_pretests.py | muratcancicek/pointer_head | b2a357f0183d5ced82b6dc7f6f12e0391bdc7380 | [
"MIT"
] | null | null | null | run_pointer_head_pretests.py | muratcancicek/pointer_head | b2a357f0183d5ced82b6dc7f6f12e0391bdc7380 | [
"MIT"
] | null | null | null | import warnings
warnings.simplefilter(action='ignore')#, category=FutureWarning
from data_handler.run_data_handler import main as testDataHandler
from data_handler.DataHandler import DataHandler
from simple_ml_exp.run_simple_ml_exp import main as testSimpleML
def main():
testDataHandler()
#testSimpleML(DataHan... | 30.333333 | 65 | 0.81044 | 45 | 364 | 6.177778 | 0.488889 | 0.118705 | 0.107914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 364 | 12 | 66 | 30.333333 | 0.863354 | 0.134615 | 0 | 0 | 0 | 0 | 0.044586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.444444 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
82b883d3858e95f051bc9b43385f81a67d311ac5 | 1,007 | py | Python | lib/plugins.py | Aziroshin/blockchaintools | 72bf833b500628f35502914d5ef2d2248af84055 | [
"MIT"
] | null | null | null | lib/plugins.py | Aziroshin/blockchaintools | 72bf833b500628f35502914d5ef2d2248af84055 | [
"MIT"
] | null | null | null | lib/plugins.py | Aziroshin/blockchaintools | 72bf833b500628f35502914d5ef2d2248af84055 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
#=======================================================================================
# Imports
#=======================================================================================
import sys
#=======================================================================================
# Libr... | 34.724138 | 88 | 0.421053 | 77 | 1,007 | 5.402597 | 0.688312 | 0.122596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0044 | 0.097319 | 1,007 | 29 | 89 | 34.724138 | 0.453245 | 0.608739 | 0 | 0 | 0 | 0 | 0.002639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
82ceef735eff1b940e794d8fda3e9e4eda732717 | 1,559 | py | Python | resin_bubble/transform.py | floidgilbert/resin_bubble | 32201ba30b2f0e53e50b99a77aa9a0d53f0d4fa5 | [
"MIT"
] | null | null | null | resin_bubble/transform.py | floidgilbert/resin_bubble | 32201ba30b2f0e53e50b99a77aa9a0d53f0d4fa5 | [
"MIT"
] | null | null | null | resin_bubble/transform.py | floidgilbert/resin_bubble | 32201ba30b2f0e53e50b99a77aa9a0d53f0d4fa5 | [
"MIT"
] | null | null | null | import cv2
import numpy as np
from detectron2.data.transforms import NoOpTransform, Transform, TransformGen
from PIL import Image
from PIL.ImageOps import equalize
__all__ = ['EqualizeTransform', 'EqualizeTransformGen', 'RandomGaussianBlurTransform',
'RandomGaussianBlurTransformGen']
class EqualizeTransfo... | 31.18 | 104 | 0.715202 | 177 | 1,559 | 6.112994 | 0.338983 | 0.066543 | 0.055453 | 0.05915 | 0.390018 | 0.390018 | 0.390018 | 0.332717 | 0.332717 | 0.247689 | 0 | 0.01087 | 0.173829 | 1,559 | 49 | 105 | 31.816327 | 0.829193 | 0.049391 | 0 | 0.322581 | 0 | 0 | 0.063514 | 0.038514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.16129 | 0.16129 | 0.774194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
82d156ad786692a275a8bd56af12c01456011844 | 1,636 | py | Python | IceSpringMusicPlayer/common/pluginMixin.py | baijifeilong/rawsteelp | 425547e6e2395bf4acb62435b18b5b3a4b7ebef4 | [
"MIT"
] | null | null | null | IceSpringMusicPlayer/common/pluginMixin.py | baijifeilong/rawsteelp | 425547e6e2395bf4acb62435b18b5b3a4b7ebef4 | [
"MIT"
] | null | null | null | IceSpringMusicPlayer/common/pluginMixin.py | baijifeilong/rawsteelp | 425547e6e2395bf4acb62435b18b5b3a4b7ebef4 | [
"MIT"
] | null | null | null | # Created by BaiJiFeiLong@gmail.com at 2022/1/20 10:01
from __future__ import annotations
import types
import typing
from PySide2 import QtWidgets
from IceSpringMusicPlayer import tt
from IceSpringMusicPlayer.common.jsonSupport import JsonSupport
from IceSpringMusicPlayer.common.pluginWidgetMixin import PluginWidge... | 28.206897 | 93 | 0.713936 | 164 | 1,636 | 7.067073 | 0.45122 | 0.108714 | 0.051769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011521 | 0.204156 | 1,636 | 57 | 94 | 28.701754 | 0.878648 | 0.031785 | 0 | 0.214286 | 0 | 0 | 0.009482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.238095 | 0.190476 | 0.690476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
82d57a805b3b32d7d85d3cf17780ff2d3d449713 | 98 | py | Python | CondTools/SiPixel/python/SiPixelGainCalibrationService_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CondTools/SiPixel/python/SiPixelGainCalibrationService_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CondTools/SiPixel/python/SiPixelGainCalibrationService_cfi.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
SiPixelGainCalibrationServiceParameters = cms.PSet(
)
| 14 | 51 | 0.826531 | 9 | 98 | 9 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 6 | 52 | 16.333333 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7d658c04cbcbfe21b823651b9edb36f32627dc02 | 46 | py | Python | WebKit/Testing/URL/test5/__init__.py | PeaceWorksTechnologySolutions/w4py | 74f5a03a63f1a93563502b908474aefaae2abda2 | [
"MIT"
] | 18 | 2016-08-01T20:15:59.000Z | 2019-12-24T16:00:03.000Z | WebKit/Testing/URL/test5/__init__.py | WebwareForPython/w4py | bba08f5974d49f5da7e88abe3eeda1037d0824a3 | [
"MIT"
] | 6 | 2016-09-13T05:48:45.000Z | 2020-01-09T18:29:12.000Z | WebKit/Testing/URL/test5/__init__.py | WebwareForPython/w4py | bba08f5974d49f5da7e88abe3eeda1037d0824a3 | [
"MIT"
] | 6 | 2016-09-16T14:32:29.000Z | 2020-01-03T18:52:16.000Z | urlJoins = ['../test5join1', '../test5join2']
| 23 | 45 | 0.608696 | 3 | 46 | 9.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.086957 | 46 | 1 | 46 | 46 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7d6cd74bdb1b96f20276d5a01094831e21ac4ee3 | 554 | py | Python | src/airfly/_vendor/airflow/providers/apache/hive/operators/hive.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/providers/apache/hive/operators/hive.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/providers/apache/hive/operators/hive.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.models.baseoperator import BaseOperator
class HiveOperator(BaseOperator):
hql: "str"
hive_cli_conn_id: "str"
schema: "str"
hiveconfs: "typing.Union[typing.Dict[typing.Any, typing.Any], NoneType]"
hiveconf_jinja_translate: "bool"... | 34.625 | 76 | 0.734657 | 71 | 554 | 5.521127 | 0.591549 | 0.140306 | 0.142857 | 0.22449 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144404 | 554 | 15 | 77 | 36.933333 | 0.827004 | 0.070397 | 0 | 0 | 1 | 0 | 0.358674 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7d72d2a7d00dbbb587814061ec872f59bebc43d3 | 695 | py | Python | 3-python-notebook/9-functions.py | reetasharma11/winter2020-code | 6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7 | [
"MIT"
] | 1 | 2019-05-04T04:12:17.000Z | 2019-05-04T04:12:17.000Z | 3-python-notebook/9-functions.py | reetasharma11/winter2020-code | 6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7 | [
"MIT"
] | null | null | null | 3-python-notebook/9-functions.py | reetasharma11/winter2020-code | 6875ca13e4f3d2a95ad36dca386a3a87e8ed08f7 | [
"MIT"
] | 1 | 2020-03-11T02:13:25.000Z | 2020-03-11T02:13:25.000Z | #!/usr/bin/env python3
import os
def pretty_print(a):
return f"My value is: {a}"
def sum_one(a):
return a + 1
def sum(a, b):
return a + b
def prefix_string_with(prefix, string):
return f'{prefix}{string}'
def check(prefix, string):
return f'{prefix}{string}'
def reverse(s):
return s... | 15.795455 | 75 | 0.605755 | 108 | 695 | 3.805556 | 0.407407 | 0.145985 | 0.087591 | 0.092457 | 0.16545 | 0.16545 | 0.16545 | 0 | 0 | 0 | 0 | 0.005848 | 0.261871 | 695 | 43 | 76 | 16.162791 | 0.795322 | 0.030216 | 0 | 0.16 | 0 | 0 | 0.178306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0.04 | 0.24 | 0.68 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7d9139b83bf09df15d3bc63a61f130e1b1b7d575 | 2,665 | py | Python | test/test_generation.py | Lofgren/svgelements | e94aa514035b88502612ff699bb8b9f50bdc8a56 | [
"MIT"
] | null | null | null | test/test_generation.py | Lofgren/svgelements | e94aa514035b88502612ff699bb8b9f50bdc8a56 | [
"MIT"
] | null | null | null | test/test_generation.py | Lofgren/svgelements | e94aa514035b88502612ff699bb8b9f50bdc8a56 | [
"MIT"
] | null | null | null | from __future__ import division
import unittest
from svgelements import *
paths = [
'M 100,100 L 300,100 L 200,300 Z',
'M 0,0 L 50,20 M 100,100 L 300,100 L 200,300 Z',
'M 100,100 L 200,200',
'M 100,200 L 200,100 L -100,-200',
'M 100,200 C 100,100 250,100 250,200 S 400,300 400,200',
'M 100,200... | 28.655914 | 107 | 0.601126 | 446 | 2,665 | 3.511211 | 0.221973 | 0.07152 | 0.102171 | 0.234994 | 0.494253 | 0.478927 | 0.466156 | 0.41507 | 0.393359 | 0.029374 | 0 | 0.217697 | 0.253659 | 2,665 | 92 | 108 | 28.967391 | 0.569633 | 0.024015 | 0 | 0.217391 | 0 | 0.086957 | 0.242389 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 1 | 0.231884 | false | 0 | 0.043478 | 0 | 0.289855 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7da9828ec2191fe4b2b76fd568d63c18bf794165 | 57 | py | Python | src/pyVirtualize/pyvSphere/__init__.py | peterjune/pyVirtualize | a17263f0aeab27dd2c2c4ae549d06b9a80acdb8a | [
"Apache-2.0"
] | 15 | 2017-05-22T05:44:07.000Z | 2022-02-06T02:57:18.000Z | src/pyVirtualize/pyvSphere/__init__.py | peterjune/pyVirtualize | a17263f0aeab27dd2c2c4ae549d06b9a80acdb8a | [
"Apache-2.0"
] | 8 | 2018-03-26T12:04:25.000Z | 2021-06-21T12:09:09.000Z | src/pyVirtualize/pyvSphere/__init__.py | peterjune/pyVirtualize | a17263f0aeab27dd2c2c4ae549d06b9a80acdb8a | [
"Apache-2.0"
] | 10 | 2017-11-30T04:20:54.000Z | 2020-02-24T10:00:47.000Z | __author__ = 'rramchandani'
from ._base import vSphere
| 11.4 | 27 | 0.77193 | 6 | 57 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 4 | 28 | 14.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7db241aca1718c5f97921921057f9c5373515a4a | 179 | py | Python | examples/models/create_knn_supervised_opf.py | gugarosa/opfython | 19b467a92d85c7c26d231efec770645096827b4e | [
"Apache-2.0"
] | 26 | 2018-04-24T20:16:18.000Z | 2022-03-09T14:03:28.000Z | examples/models/create_knn_supervised_opf.py | gugarosa/opfython | 19b467a92d85c7c26d231efec770645096827b4e | [
"Apache-2.0"
] | 4 | 2020-12-26T14:57:18.000Z | 2022-03-30T02:34:18.000Z | examples/models/create_knn_supervised_opf.py | gugarosa/opfython | 19b467a92d85c7c26d231efec770645096827b4e | [
"Apache-2.0"
] | 16 | 2019-05-20T15:41:56.000Z | 2022-03-23T17:59:53.000Z | from opfython.models import KNNSupervisedOPF
# Creates a KNNSupervisedOPF instance
opf = KNNSupervisedOPF(max_k=10, distance='log_squared_euclidean', pre_computed_distance=None)
| 35.8 | 94 | 0.849162 | 22 | 179 | 6.681818 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.083799 | 179 | 4 | 95 | 44.75 | 0.884146 | 0.195531 | 0 | 0 | 0 | 0 | 0.147887 | 0.147887 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7db27c7e44cd8953034547705121e9b4fef2786e | 306 | py | Python | drlnd/ddpg/agent_utils.py | ucaiado/collab-compet-rl | 8ca3ac74526d4b9e6379fe36a36ddacf5fa9dd20 | [
"MIT"
] | 8 | 2018-11-22T01:42:57.000Z | 2022-02-01T22:35:34.000Z | drlnd/ddpg/agent_utils.py | ucaiado/collab-compet-rl | 8ca3ac74526d4b9e6379fe36a36ddacf5fa9dd20 | [
"MIT"
] | null | null | null | drlnd/ddpg/agent_utils.py | ucaiado/collab-compet-rl | 8ca3ac74526d4b9e6379fe36a36ddacf5fa9dd20 | [
"MIT"
] | 1 | 2019-02-10T07:43:04.000Z | 2019-02-10T07:43:04.000Z | import sys
sys.path.append("../")
try:
from models import Actor, Critic
from utils import param_table
from utils.make_env import make
except ModuleNotFoundError:
from .models import Actor, Critic
from drlnd.utils import param_table
from drlnd.utils.make_env import make
| 25.5 | 42 | 0.718954 | 42 | 306 | 5.142857 | 0.404762 | 0.092593 | 0.148148 | 0.194444 | 0.722222 | 0.287037 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 306 | 11 | 43 | 27.818182 | 0.907563 | 0 | 0 | 0 | 0 | 0 | 0.010169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.7 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7dd18d7be5d3d0473712f180f2802b9f17450d27 | 569 | py | Python | gspread/ns.py | Squarespace/gspread | b37a99a010b5a5b583e89c644af39e851d473bcc | [
"MIT"
] | 2 | 2016-11-04T22:42:08.000Z | 2019-06-17T18:55:51.000Z | gspread/ns.py | Squarespace/gspread | b37a99a010b5a5b583e89c644af39e851d473bcc | [
"MIT"
] | null | null | null | gspread/ns.py | Squarespace/gspread | b37a99a010b5a5b583e89c644af39e851d473bcc | [
"MIT"
] | 2 | 2015-08-20T11:25:08.000Z | 2019-12-10T03:42:42.000Z | # -*- coding: utf-8 -*-
"""
gspread.ns
~~~~~~~~~~
This module contains namespaces used across the project and related
helper functions.
"""
ATOM_NS = 'http://www.w3.org/2005/Atom'
SPREADSHEET_NS = 'http://schemas.google.com/spreadsheets/2006'
EXTENDED_SPREADSHEET_NS = 'http://schemas.google.com/spreadsheets/2006/ex... | 20.321429 | 80 | 0.678383 | 79 | 569 | 4.734177 | 0.481013 | 0.064171 | 0.104278 | 0.152406 | 0.363636 | 0.304813 | 0.304813 | 0.304813 | 0.304813 | 0 | 0 | 0.032454 | 0.133568 | 569 | 27 | 81 | 21.074074 | 0.726166 | 0.230228 | 0 | 0 | 0 | 0 | 0.412587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.3 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7deb25725797475c9c6ca94d38006698127174b7 | 773 | py | Python | windows_packages_gpu/torch/optim/__init__.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 353 | 2020-12-10T10:47:17.000Z | 2022-03-31T23:08:29.000Z | windows_packages_gpu/torch/optim/__init__.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 80 | 2020-12-10T09:54:22.000Z | 2022-03-30T22:08:45.000Z | windows_packages_gpu/torch/optim/__init__.py | codeproject/DeepStack | d96368a3db1bc0266cb500ba3701d130834da0e6 | [
"Apache-2.0"
] | 63 | 2020-12-10T17:10:34.000Z | 2022-03-28T16:27:07.000Z | """
:mod:`torch.optim` is a package implementing various optimization algorithms.
Most commonly used methods are already supported, and the interface is general
enough, so that more sophisticated ones can be also easily integrated in the
future.
"""
from .adadelta import Adadelta
from .adagrad import Adagrad
... | 22.735294 | 79 | 0.773609 | 114 | 773 | 5.219298 | 0.45614 | 0.033613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190168 | 773 | 33 | 80 | 23.424242 | 0.950479 | 0.311772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.52 | 0 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8149ee07289db3478f6a081eb1fa9fd47b4d740f | 155 | py | Python | SRC/common/loggernull.py | lizhq1/python | 4250cf0c5045cf0e0d55e2c0f8009a0b026e43b3 | [
"bzip2-1.0.6"
] | 1 | 2022-03-23T03:14:36.000Z | 2022-03-23T03:14:36.000Z | database/schemes/easyTest/SRC/common/loggernull.py | TonnaMajesty/test | 68b24d1f3e8b4d6154c9d896a7fa3e2f99b49a6f | [
"MIT"
] | null | null | null | database/schemes/easyTest/SRC/common/loggernull.py | TonnaMajesty/test | 68b24d1f3e8b4d6154c9d896a7fa3e2f99b49a6f | [
"MIT"
] | null | null | null | class LoggerNull():
'''
一个空的日志对象,用于不打印日志时候,绑定数据
'''
def __init__(self):
self.logNumber = 0 # 为logger添加属性,用于记录日志打印顺序
self.scriptId = 0 # 脚本id默认值
| 17.222222 | 46 | 0.683871 | 17 | 155 | 6 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.180645 | 155 | 8 | 47 | 19.375 | 0.787402 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
815f60d85c2d9356d57c432ad587fb505d1460cc | 230 | py | Python | jobs/models.py | meysam81/portfolio_project | 6be3a4ed958b3b7cdb874804444e0d151d5b9afa | [
"MIT"
] | null | null | null | jobs/models.py | meysam81/portfolio_project | 6be3a4ed958b3b7cdb874804444e0d151d5b9afa | [
"MIT"
] | 4 | 2021-06-08T19:29:07.000Z | 2022-03-11T23:36:48.000Z | jobs/models.py | meysam81/portfolio_project | 6be3a4ed958b3b7cdb874804444e0d151d5b9afa | [
"MIT"
] | null | null | null | from django.db import models as db
# Create your models here.
class Job(db.Model):
image = db.ImageField(upload_to = 'images/')
summary = db.CharField(max_length = 200)
def __str__(self):
return self.summary
| 23 | 48 | 0.682609 | 33 | 230 | 4.575758 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.213043 | 230 | 9 | 49 | 25.555556 | 0.81768 | 0.104348 | 0 | 0 | 0 | 0 | 0.034314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
816684cd676f74309e69dc59694aa35339ca2c6a | 212 | py | Python | sourceCode/Error_handle/ErrorHandling.py | suryagupta/MAPPI-DAT | 5d6502ffd58d643729f28c2416e1cd58b9088eaf | [
"Apache-2.0"
] | null | null | null | sourceCode/Error_handle/ErrorHandling.py | suryagupta/MAPPI-DAT | 5d6502ffd58d643729f28c2416e1cd58b9088eaf | [
"Apache-2.0"
] | null | null | null | sourceCode/Error_handle/ErrorHandling.py | suryagupta/MAPPI-DAT | 5d6502ffd58d643729f28c2416e1cd58b9088eaf | [
"Apache-2.0"
] | null | null | null | __author__ = 'surya'
from Tkinter import *
from tkMessageBox import *
##########
## if there is a proble with user than prompt a window saying the problem
def IO_prob(problem):
showerror("Error", problem)
| 19.272727 | 73 | 0.70283 | 29 | 212 | 4.965517 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179245 | 212 | 10 | 74 | 21.2 | 0.827586 | 0.330189 | 0 | 0 | 0 | 0 | 0.077519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
81677c05ed7f070fa4569de373fff791f7c457a2 | 538 | py | Python | 42 Note to Frequency..py | L0ganhowlett/Python_workbook-Ben_Stephenson | ab711257bd2da9b34c6001a8e09d20bfc0114a3f | [
"MIT"
] | null | null | null | 42 Note to Frequency..py | L0ganhowlett/Python_workbook-Ben_Stephenson | ab711257bd2da9b34c6001a8e09d20bfc0114a3f | [
"MIT"
] | null | null | null | 42 Note to Frequency..py | L0ganhowlett/Python_workbook-Ben_Stephenson | ab711257bd2da9b34c6001a8e09d20bfc0114a3f | [
"MIT"
] | null | null | null | #42 Frequency to note
#Asking for frequency of note
x = float(input("Enter the frequency of note = "))
if x == 261.63:
print("The note of frequency is C4.")
elif x == 293.66:
print("The note of frequency is D4.")
elif x == 329.63:
print("the note of frequency is E4.")
elif x == 349.23:
print("... | 29.888889 | 51 | 0.6171 | 94 | 538 | 3.531915 | 0.37234 | 0.168675 | 0.253012 | 0.295181 | 0.551205 | 0.551205 | 0.325301 | 0 | 0 | 0 | 0 | 0.108642 | 0.247212 | 538 | 17 | 52 | 31.647059 | 0.711111 | 0.089219 | 0 | 0 | 0 | 0 | 0.47983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.466667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
816ff062666eaad879f464b4a9389f7fd975aab1 | 365 | py | Python | sdk/python/pulumi_azure_nextgen/recoveryservices/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/recoveryservices/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_nextgen/recoveryservices/__init__.py | test-wiz-sec/pulumi-azure-nextgen | 20a695af0d020b34b0f1c336e1b69702755174cc | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Make subpackages available:
from . import (
latest,
v20160601,
v20160810,
v20161201,
v20170701,
v20180110,
v20180710,
... | 19.210526 | 80 | 0.646575 | 43 | 365 | 5.488372 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268382 | 0.254795 | 365 | 18 | 81 | 20.277778 | 0.599265 | 0.517808 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81754e5b1fc5eef7a28c80882a15236f915c718b | 656 | py | Python | backend/parse_manga/parqser/page/base.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | null | null | null | backend/parse_manga/parqser/page/base.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | 19 | 2021-07-22T11:18:17.000Z | 2021-08-20T10:12:17.000Z | backend/parse_manga/parqser/page/base.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | 1 | 2021-07-29T11:56:03.000Z | 2021-07-29T11:56:03.000Z | from typing import Dict, Any
from grouple.backend.parse_manga.parqser.scrapper.states import DownloadState
class BasePage:
def __init__(self, source_html: str, status: DownloadState):
self.source_html = source_html
self.status = status
self._parsed_params = {}
def get_source(self) -> ... | 31.238095 | 77 | 0.685976 | 85 | 656 | 5.047059 | 0.458824 | 0.09324 | 0.149184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224085 | 656 | 20 | 78 | 32.8 | 0.842829 | 0 | 0 | 0 | 0 | 0 | 0.053354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.133333 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
817e89a2258b059e8278a746f245b5be549415b4 | 198 | py | Python | app/misc/inline_constructor/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | 1 | 2021-12-11T07:41:38.000Z | 2021-12-11T07:41:38.000Z | app/misc/inline_constructor/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | 8 | 2021-05-08T21:48:34.000Z | 2022-01-20T15:42:00.000Z | app/misc/inline_constructor/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | null | null | null | __all__ = (
'Button',
'ButtonTypes',
'ConstructedKeyboard',
'Validator',
'models'
)
from .models import Button, ButtonTypes, ConstructedKeyboard
from .validate import Validator
| 18 | 60 | 0.691919 | 16 | 198 | 8.3125 | 0.5625 | 0.255639 | 0.541353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 198 | 10 | 61 | 19.8 | 0.841772 | 0 | 0 | 0 | 0 | 0 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81894924590f555da920335cccac7e3f8ccb0c54 | 96 | py | Python | nimble_iot_bc/databases/sensordb/__init__.py | nimble-platform/tracking-iot-blockchain-service | 47917c9a1ea29982e3d88585a084764569e20d3a | [
"MIT"
] | 4 | 2019-12-13T19:19:20.000Z | 2021-08-15T16:28:53.000Z | nimble_iot_bc/databases/sensordb/__init__.py | nimble-platform/tracking-iot-blockchain-service | 47917c9a1ea29982e3d88585a084764569e20d3a | [
"MIT"
] | 1 | 2020-01-06T14:24:51.000Z | 2020-01-06T17:26:07.000Z | nimble_iot_bc/databases/sensordb/__init__.py | nimble-platform/tracking-iot-blockchain-service | 47917c9a1ea29982e3d88585a084764569e20d3a | [
"MIT"
] | 2 | 2019-11-20T08:53:28.000Z | 2021-03-18T03:17:28.000Z | # InfluxDB (SensorDB) Instance for App
from flask_influxdb import InfluxDB
influx = InfluxDB()
| 19.2 | 38 | 0.791667 | 12 | 96 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 4 | 39 | 24 | 0.914634 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8191a0e34858570c10450c6962e667e9ece423f0 | 202 | py | Python | tests/test_models.py | Thenerdstation/MoonTracker | 15e5cebc15fe69074f8257b4fcaf1606d87dc3e6 | [
"MIT"
] | 4 | 2018-02-26T23:18:01.000Z | 2018-04-21T01:48:59.000Z | tests/test_models.py | Thenerdstation/MoonTracker | 15e5cebc15fe69074f8257b4fcaf1606d87dc3e6 | [
"MIT"
] | 33 | 2018-02-05T01:02:39.000Z | 2018-04-30T16:05:08.000Z | tests/test_models.py | Thenerdstation/MoonTracker | 15e5cebc15fe69074f8257b4fcaf1606d87dc3e6 | [
"MIT"
] | 1 | 2022-02-27T22:58:50.000Z | 2022-02-27T22:58:50.000Z | from moontracker.models import User
def test_sanity():
user = User("test", "test", "1111111111")
assert user.is_authenticated()
assert user.is_active()
assert not user.is_anonymous()
| 20.2 | 45 | 0.69802 | 26 | 202 | 5.269231 | 0.576923 | 0.131387 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.183168 | 202 | 9 | 46 | 22.444444 | 0.769697 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8193e6a23ad5873fb56c6384c18e3bee4ed4b0f1 | 3,448 | py | Python | kmbio/PDB/core/chain.py | kim-lab/kmbio | ad2afc429d8990487c1094bdd69112cab91c03c9 | [
"PostgreSQL"
] | null | null | null | kmbio/PDB/core/chain.py | kim-lab/kmbio | ad2afc429d8990487c1094bdd69112cab91c03c9 | [
"PostgreSQL"
] | null | null | null | kmbio/PDB/core/chain.py | kim-lab/kmbio | ad2afc429d8990487c1094bdd69112cab91c03c9 | [
"PostgreSQL"
] | null | null | null | # Copyright (C) 2002, Thomas Hamelryck (thamelry@binf.ku.dk)
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
"""Chain class, used in Structure objects."""
import string
from .entity import Entity
fro... | 29.470085 | 82 | 0.608469 | 449 | 3,448 | 4.481069 | 0.287305 | 0.04175 | 0.05169 | 0.039761 | 0.292744 | 0.278827 | 0.238072 | 0.238072 | 0.207256 | 0.207256 | 0 | 0.001658 | 0.300464 | 3,448 | 116 | 83 | 29.724138 | 0.832504 | 0.37036 | 0 | 0.134615 | 0 | 0 | 0.008303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.057692 | 0.134615 | 0.596154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8194217bb91cbb9f382a8c44e08594710e306645 | 2,974 | py | Python | paystackpy/plans.py | ConfiYobo/paystackpy | df80ccf2ac7ee5daa271801f95ea473e90c7519f | [
"MIT"
] | 1 | 2019-07-01T19:41:14.000Z | 2019-07-01T19:41:14.000Z | paystackpy/plans.py | ConfidenceYobo/paystackpy | df80ccf2ac7ee5daa271801f95ea473e90c7519f | [
"MIT"
] | null | null | null | paystackpy/plans.py | ConfidenceYobo/paystackpy | df80ccf2ac7ee5daa271801f95ea473e90c7519f | [
"MIT"
] | 1 | 2019-12-10T20:10:58.000Z | 2019-12-10T20:10:58.000Z | import paystackpy.utils as utils
from paystackpy.apiConfig import APIConfig
class Plan(APIConfig):
def create(self, name, amount, interval, description=None, \
send_invoices=False, send_sms=False, hosted_page=False, hosted_page_url=None, hosted_page_summary=None,
currency=None... | 36.268293 | 119 | 0.565232 | 310 | 2,974 | 5.216129 | 0.229032 | 0.111317 | 0.048237 | 0.034632 | 0.713667 | 0.713667 | 0.677798 | 0.654298 | 0.654298 | 0.654298 | 0 | 0.001003 | 0.329186 | 2,974 | 81 | 120 | 36.716049 | 0.809524 | 0.199731 | 0 | 0.723404 | 0 | 0 | 0.123268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.042553 | 0 | 0.234043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81bf28d31272702a3b913d17be9a95255f5f989a | 2,502 | py | Python | elastica/timestepper/_stepper_interface.py | merozlab/PyElastica | 1d8c354a25846f63073809e3a809f27a150c3b9c | [
"MIT"
] | null | null | null | elastica/timestepper/_stepper_interface.py | merozlab/PyElastica | 1d8c354a25846f63073809e3a809f27a150c3b9c | [
"MIT"
] | null | null | null | elastica/timestepper/_stepper_interface.py | merozlab/PyElastica | 1d8c354a25846f63073809e3a809f27a150c3b9c | [
"MIT"
] | 1 | 2021-01-21T15:42:58.000Z | 2021-01-21T15:42:58.000Z | __doc__ = "Interface"
import numpy as np
class _TimeStepper:
""" Interface classes for all time-steppers
"""
def __init__(self):
pass
def do_step(self, *args, **kwargs):
raise NotImplementedError(
"TimeStepper hierarchy is not supposed to access the do-step routine of th... | 28.431818 | 113 | 0.631095 | 284 | 2,502 | 5.355634 | 0.419014 | 0.027613 | 0.086785 | 0.106509 | 0.26693 | 0.218935 | 0.192636 | 0.09336 | 0.09336 | 0.09336 | 0 | 0.002248 | 0.288969 | 2,502 | 87 | 114 | 28.758621 | 0.852726 | 0.318145 | 0 | 0.2 | 0 | 0 | 0.129175 | 0.017013 | 0 | 0 | 0 | 0.022989 | 0 | 1 | 0.25 | false | 0.075 | 0.025 | 0.05 | 0.45 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
81c78b247f96a9752a69b82e1aee324a56269639 | 1,127 | py | Python | tests/test_project.py | lucasqm/9gagclient | ce203be7a5c44547246f92bea9ebd5ee93fdd976 | [
"MIT"
] | 3 | 2020-01-06T16:01:04.000Z | 2020-10-30T10:03:47.000Z | tests/test_project.py | lucasqm/9gagclient | ce203be7a5c44547246f92bea9ebd5ee93fdd976 | [
"MIT"
] | null | null | null | tests/test_project.py | lucasqm/9gagclient | ce203be7a5c44547246f92bea9ebd5ee93fdd976 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
import ninegagposts
class UnitTests(unittest.TestCase):
def test_import(self):
self.assertIsNotNone(ninegagposts)
def test_class_instance(self):
client = ninegagposts.Client()
self.assertIsInstance(client, ninegagposts.Cli... | 28.175 | 58 | 0.670807 | 126 | 1,127 | 5.785714 | 0.253968 | 0.067215 | 0.230453 | 0.230453 | 0.415638 | 0.415638 | 0.415638 | 0.193416 | 0 | 0 | 0 | 0.001147 | 0.226264 | 1,127 | 39 | 59 | 28.897436 | 0.834862 | 0.037267 | 0 | 0.357143 | 0 | 0 | 0.00831 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.107143 | 0 | 0.392857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81c8deb38032e194846ec516d4ff0f3e71a0d865 | 303 | py | Python | performance-storage-service/pss_project/api/models/rest/metadata/JenkinsMetadata.py | cmu-db/noisepage-stats | d61a0e143904748b3f7f43628a5b29769a5c9cf8 | [
"MIT"
] | 23 | 2020-12-22T20:19:51.000Z | 2021-11-24T06:11:01.000Z | performance-storage-service/pss_project/api/models/rest/metadata/JenkinsMetadata.py | cmu-db/noisepage-test | d61a0e143904748b3f7f43628a5b29769a5c9cf8 | [
"MIT"
] | 13 | 2020-06-05T22:36:49.000Z | 2020-11-10T16:25:04.000Z | performance-storage-service/pss_project/api/models/rest/metadata/JenkinsMetadata.py | cmu-db/noisepage-test | d61a0e143904748b3f7f43628a5b29769a5c9cf8 | [
"MIT"
] | 2 | 2020-06-08T18:03:34.000Z | 2020-10-06T18:01:35.000Z | class JenkinsMetadata(object):
""" This class is the model of the Jenkins data relating to the build that ran the tests or collected the metrics.
This class is how the model is represented in the HTTP API """
def __init__(self, jenkins_job_id):
self.jenkins_job_id = jenkins_job_id
| 43.285714 | 118 | 0.735974 | 49 | 303 | 4.346939 | 0.591837 | 0.140845 | 0.169014 | 0.150235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211221 | 303 | 6 | 119 | 50.5 | 0.891213 | 0.557756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
81d214e88d92a80fc8d29b3ce5abcd2021981c75 | 273 | py | Python | opyoid/bindings/instance_binding/from_instance_provider.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 37 | 2020-08-25T07:22:41.000Z | 2022-03-18T03:05:53.000Z | opyoid/bindings/instance_binding/from_instance_provider.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 18 | 2020-10-04T17:33:24.000Z | 2021-12-16T16:28:35.000Z | opyoid/bindings/instance_binding/from_instance_provider.py | illuin-tech/opyoid | a2ca485e1820ba0d12a86ba91100aa097a1e5736 | [
"MIT"
] | 2 | 2021-01-26T19:58:15.000Z | 2021-11-30T01:10:25.000Z | from opyoid.provider import Provider
from opyoid.utils import InjectedT
class FromInstanceProvider(Provider[InjectedT]):
def __init__(self, instance: InjectedT) -> None:
self._instance = instance
def get(self) -> InjectedT:
return self._instance
| 24.818182 | 52 | 0.728938 | 30 | 273 | 6.433333 | 0.5 | 0.186529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 273 | 10 | 53 | 27.3 | 0.873303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
81e15c7c24a3e5e236f73b7cf016d7d1288cba75 | 1,116 | py | Python | valtypes/type/numeric.py | LeeeeT/valtypes | 0c5df3cbab296bf9ca34544604fbb9496a41e01a | [
"MIT"
] | 3 | 2022-02-22T12:59:59.000Z | 2022-03-10T14:12:25.000Z | valtypes/type/numeric.py | LeeeeT/valtypes | 0c5df3cbab296bf9ca34544604fbb9496a41e01a | [
"MIT"
] | 3 | 2022-03-08T13:33:38.000Z | 2022-03-25T03:31:56.000Z | valtypes/type/numeric.py | LeeeeT/valtypes | 0c5df3cbab296bf9ca34544604fbb9496a41e01a | [
"MIT"
] | null | null | null | from valtypes import Constrained, condition
__all__ = [
"NegativeFloat",
"NegativeInt",
"NonNegativeFloat",
"NonNegativeInt",
"NonPositiveFloat",
"NonPositiveInt",
"Portion",
"PositiveFloat",
"PositiveInt",
]
class PositiveInt(Constrained[int], int):
__constraint__ = condition... | 22.32 | 73 | 0.740143 | 99 | 1,116 | 7.939394 | 0.252525 | 0.217557 | 0.133588 | 0.197201 | 0.62341 | 0.137405 | 0.137405 | 0 | 0 | 0 | 0 | 0.010515 | 0.147849 | 1,116 | 49 | 74 | 22.77551 | 0.815983 | 0 | 0 | 0.266667 | 0 | 0 | 0.103047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.633333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c492a6b69044778885953e14ceacb08b024b5f19 | 415 | py | Python | scripts/fig1.py | bioconda/paper | 3eb5e8d5976519f04f1ee7c6832a78fb303aabd3 | [
"MIT"
] | 5 | 2018-03-08T16:37:33.000Z | 2021-04-21T17:09:18.000Z | scripts/fig1.py | bioconda/paper | 3eb5e8d5976519f04f1ee7c6832a78fb303aabd3 | [
"MIT"
] | 13 | 2017-07-27T09:52:17.000Z | 2018-02-07T18:33:58.000Z | scripts/fig1.py | bioconda/paper | 3eb5e8d5976519f04f1ee7c6832a78fb303aabd3 | [
"MIT"
] | 3 | 2017-10-18T12:18:15.000Z | 2021-10-10T18:23:43.000Z | from svgutils.compose import *
from common import label
Figure(
"22cm", "6cm",
Panel(SVG(snakemake.input.ecosystems), label("a")),
Panel(SVG(snakemake.input.downloads), label("b")).move(285, 0),
Panel(SVG(snakemake.input.comp).scale(0.9).move(10, 0), label("c")).move(560, 0),
Panel(SVG(snakemake.in... | 34.583333 | 85 | 0.655422 | 65 | 415 | 4.184615 | 0.507692 | 0.117647 | 0.25 | 0.323529 | 0.169118 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085399 | 0.125301 | 415 | 11 | 86 | 37.727273 | 0.663912 | 0.028916 | 0 | 0 | 0 | 0 | 0.024938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c49c16314c99694aae8bf3917811cde8e139abbe | 518 | py | Python | Day_11/find_number_list_nestedList.py | kiranrraj/100Days_Of_Coding | ab75d83be9be87fb7bc83a3f3b72a4638dab22a1 | [
"MIT"
] | null | null | null | Day_11/find_number_list_nestedList.py | kiranrraj/100Days_Of_Coding | ab75d83be9be87fb7bc83a3f3b72a4638dab22a1 | [
"MIT"
] | null | null | null | Day_11/find_number_list_nestedList.py | kiranrraj/100Days_Of_Coding | ab75d83be9be87fb7bc83a3f3b72a4638dab22a1 | [
"MIT"
] | null | null | null | # Title : Count the number of element list of a list
# Author : Kiran raj R.
# Date : 25:10:2020
list1 = [[1, 2], 3, 4, [5, 6], 7, [8, 9, 10]]
list2 = [('a', 'b'), 'c', 'd', 'e', ['f', 'g', 'h']]
print(f"Number of elements in list1 {len(list1)}")
print(f"Number of elements in list2 {len(list2)}")
def list_in_lis... | 28.777778 | 61 | 0.625483 | 94 | 518 | 3.361702 | 0.489362 | 0.126582 | 0.151899 | 0.177215 | 0.335443 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0.067757 | 0.173745 | 518 | 17 | 62 | 30.470588 | 0.670561 | 0.179537 | 0 | 0 | 0 | 0 | 0.441805 | 0.099762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0.125 | 0.125 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 3 |
c4abe91bcbc40fcb93c3ec8b9e242e64e8852dfa | 13,860 | py | Python | setup.py | aws-samples/aws-organized | 934504f9b4a5851e846be668e0913dc37fa2d22b | [
"Apache-2.0"
] | 11 | 2021-01-03T22:52:40.000Z | 2022-02-23T21:27:02.000Z | setup.py | aws-samples/aws-organized | 934504f9b4a5851e846be668e0913dc37fa2d22b | [
"Apache-2.0"
] | 4 | 2021-02-26T11:08:25.000Z | 2021-11-30T12:41:23.000Z | setup.py | aws-samples/aws-organized | 934504f9b4a5851e846be668e0913dc37fa2d22b | [
"Apache-2.0"
] | 3 | 2021-01-16T13:49:17.000Z | 2022-03-22T10:15:49.000Z | # -*- coding: utf-8 -*-
from setuptools import setup
package_dir = \
{'': '.'}
packages = \
['aws_organized',
'aws_organized.extensions',
'aws_organized.extensions.delegated_administrators',
'aws_organized.extensions.service_control_policies']
package_data = \
{'': ['*']}
install_requires = \
['PyYAML>=5.3.1,<6.... | 288.75 | 12,560 | 0.736797 | 2,384 | 13,860 | 4.322148 | 0.173238 | 0.034938 | 0.061141 | 0.036491 | 0.443032 | 0.424981 | 0.401495 | 0.376068 | 0.369177 | 0.353067 | 0 | 0.023407 | 0.143074 | 13,860 | 47 | 12,561 | 294.893617 | 0.822935 | 0.001515 | 0 | 0 | 0 | 0.052632 | 0.965166 | 0.231336 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c4c962cc0e701bd14a17837957ec64e14c1d781f | 353 | py | Python | algorithm/xianxingbiao/lianbiao.py | joselynzhao/Python-data-structure-and-algorithm | bf413e58b282a9ab767ce6706f2fc53518e64e4e | [
"MIT"
] | 1 | 2020-04-18T02:39:42.000Z | 2020-04-18T02:39:42.000Z | algorithm/xianxingbiao/lianbiao.py | joselynzhao/Python-data-structure-and-algorithm | bf413e58b282a9ab767ce6706f2fc53518e64e4e | [
"MIT"
] | null | null | null | algorithm/xianxingbiao/lianbiao.py | joselynzhao/Python-data-structure-and-algorithm | bf413e58b282a9ab767ce6706f2fc53518e64e4e | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
@AUTHOR:Joselyn Zhao
@CONTACT:zhaojing17@foxmail.com
@HOME_PAGE:joselynzhao.top
@SOFTWERE:PyCharm
@FILE:lianbiao.py
@TIME:2020/5/12 20:53
@DES:
'''
class Node:
def __init__(self,data,pnext=None):
self.data = data
self._next=pnext
def __repr__(self)... | 16.809524 | 39 | 0.654391 | 50 | 353 | 4.42 | 0.82 | 0.108597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048443 | 0.181303 | 353 | 20 | 40 | 17.65 | 0.716263 | 0.515581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c4cda2ca60a855ec959b5a8a583fa14203e1dbf3 | 913 | py | Python | steelscript/cmdline/transport.py | riverbed/steelscript-cmdline | 04c948d32dcc2e34b8dae0cc17c3b90e7c773e24 | [
"MIT"
] | null | null | null | steelscript/cmdline/transport.py | riverbed/steelscript-cmdline | 04c948d32dcc2e34b8dae0cc17c3b90e7c773e24 | [
"MIT"
] | null | null | null | steelscript/cmdline/transport.py | riverbed/steelscript-cmdline | 04c948d32dcc2e34b8dae0cc17c3b90e7c773e24 | [
"MIT"
] | 2 | 2019-03-20T01:48:07.000Z | 2020-09-23T01:09:06.000Z | # Copyright (c) 2019 Riverbed Technology, Inc.
#
# This software is licensed under the terms and conditions of the MIT License
# accompanying the software ("License"). This software is distributed "AS IS"
# as set forth in the License.
import abc
class Transport(object, metaclass=abc.ABCMeta):
"""
Abstract ... | 26.085714 | 78 | 0.664841 | 113 | 913 | 5.362832 | 0.610619 | 0.084158 | 0.09901 | 0.066007 | 0.112211 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005908 | 0.258489 | 913 | 34 | 79 | 26.852941 | 0.889217 | 0.606791 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c4d900d447017d360d4a31a400b4c4cc87aabf0d | 137 | py | Python | gamestonk_terminal/common/__init__.py | Aerex/GamestonkTerminal | 680e0cd278f0d8e45031cdc9d51f247e9aa90ce1 | [
"MIT"
] | 1,835 | 2021-05-09T02:55:06.000Z | 2022-03-29T12:37:05.000Z | gamestonk_terminal/common/__init__.py | Aerex/GamestonkTerminal | 680e0cd278f0d8e45031cdc9d51f247e9aa90ce1 | [
"MIT"
] | 569 | 2021-05-09T15:59:41.000Z | 2022-03-29T12:25:16.000Z | gamestonk_terminal/common/__init__.py | Aerex/GamestonkTerminal | 680e0cd278f0d8e45031cdc9d51f247e9aa90ce1 | [
"MIT"
] | 268 | 2021-05-10T21:46:50.000Z | 2022-03-28T09:18:38.000Z | # flake8: noqa
from . import (
behavioural_analysis,
prediction_techniques,
quantitative_analysis,
technical_analysis,
)
| 17.125 | 26 | 0.729927 | 12 | 137 | 8 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.20438 | 137 | 7 | 27 | 19.571429 | 0.87156 | 0.087591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c4ddfb370991d7f6eec86fa280c3fc7c3812a31f | 149 | py | Python | applications/feedback/urls.py | ALittleMoron/django-graduate-work | 1c0c94134c43939df3dcdc56cb8a920f6bd130d1 | [
"MIT"
] | null | null | null | applications/feedback/urls.py | ALittleMoron/django-graduate-work | 1c0c94134c43939df3dcdc56cb8a920f6bd130d1 | [
"MIT"
] | null | null | null | applications/feedback/urls.py | ALittleMoron/django-graduate-work | 1c0c94134c43939df3dcdc56cb8a920f6bd130d1 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import MessageCreateView
urlpatterns = [
path('', MessageCreateView.as_view(), name='feedbackMSG'),
]
| 18.625 | 62 | 0.738255 | 16 | 149 | 6.8125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 149 | 7 | 63 | 21.285714 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0.073826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c4e893d6f637796b31ca5635be91eab4a7ef1188 | 379 | py | Python | Programiranje2/DN01_customTesti/GeneratorTestnegaPrimeraDN01.py | RokKos/FRI_Programiranje | d1b0c73585af049be9283447039f5f3e3fa4bdd9 | [
"MIT"
] | 5 | 2016-11-26T14:24:53.000Z | 2020-07-29T07:54:38.000Z | Programiranje2/DN01_customTesti/GeneratorTestnegaPrimeraDN01.py | RokKos/FRI_Programiranje | d1b0c73585af049be9283447039f5f3e3fa4bdd9 | [
"MIT"
] | 8 | 2016-12-07T19:32:57.000Z | 2021-06-11T17:58:11.000Z | Programiranje2/DN01_customTesti/GeneratorTestnegaPrimeraDN01.py | RokKos/FRI_Programiranje | d1b0c73585af049be9283447039f5f3e3fa4bdd9 | [
"MIT"
] | 12 | 2016-11-27T17:00:26.000Z | 2018-05-22T04:44:08.000Z | import random
LENGTH = 18
first = ""
second = ""
first_len = random.randint(1,LENGTH)
for i in range(first_len):
if (i == 0):
first += str(random.randint(1,9))
else:
first += str(random.randint(0,9))
c = 0
while c < first_len:
t = random.randint(1,9)
if (t + c > first_len):
t = first_len - c
c = first_le... | 15.791667 | 36 | 0.604222 | 65 | 379 | 3.430769 | 0.338462 | 0.215247 | 0.188341 | 0.188341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037415 | 0.224274 | 379 | 24 | 37 | 15.791667 | 0.721088 | 0 | 0 | 0 | 0 | 0 | 0.002632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0.052632 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c4f1a59ec9b240c400ed31c22bb62801b0f45d2f | 1,581 | py | Python | python/flatbuffers/encode.py | chi-w-ng/flatbuffers | e2b26ee19b3f680bbebf65c9c87ddff492cd25fd | [
"Apache-2.0"
] | 16,870 | 2015-01-01T14:57:29.000Z | 2022-03-31T21:56:17.000Z | python/flatbuffers/encode.py | chi-w-ng/flatbuffers | e2b26ee19b3f680bbebf65c9c87ddff492cd25fd | [
"Apache-2.0"
] | 6,363 | 2015-01-01T04:41:50.000Z | 2022-03-31T23:36:52.000Z | python/flatbuffers/encode.py | chi-w-ng/flatbuffers | e2b26ee19b3f680bbebf65c9c87ddff492cd25fd | [
"Apache-2.0"
] | 3,324 | 2015-01-02T12:42:10.000Z | 2022-03-31T10:57:27.000Z | # Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 36.767442 | 79 | 0.727388 | 230 | 1,581 | 4.917391 | 0.530435 | 0.043324 | 0.029178 | 0.028294 | 0.04244 | 0.04244 | 0 | 0 | 0 | 0 | 0 | 0.007746 | 0.183428 | 1,581 | 42 | 80 | 37.642857 | 0.868319 | 0.55914 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 1 | 0.2 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c4f5b29fc2e6e23f5c154b9e48866654b0bc03ff | 76 | py | Python | bi_lstm_crf/__init__.py | guilhermenoronha/bi-lstm-crf | 3c588957ec613c5d4d81e257a245a9f0df1e63c0 | [
"MIT"
] | null | null | null | bi_lstm_crf/__init__.py | guilhermenoronha/bi-lstm-crf | 3c588957ec613c5d4d81e257a245a9f0df1e63c0 | [
"MIT"
] | null | null | null | bi_lstm_crf/__init__.py | guilhermenoronha/bi-lstm-crf | 3c588957ec613c5d4d81e257a245a9f0df1e63c0 | [
"MIT"
] | null | null | null | from .model import CRF, BiRnnCrf
__version__ = '0.2.0'
__license__ = 'MIT'
| 15.2 | 32 | 0.710526 | 11 | 76 | 4.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.157895 | 76 | 4 | 33 | 19 | 0.671875 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f2047e572b78d7a92299075d566f187947587832 | 343 | py | Python | src/pyquery/style.py | michalbachowski/pyquery | 7da5d8a21234521bf9cfef11f39465ebf3a8377d | [
"MIT"
] | null | null | null | src/pyquery/style.py | michalbachowski/pyquery | 7da5d8a21234521bf9cfef11f39465ebf3a8377d | [
"MIT"
] | null | null | null | src/pyquery/style.py | michalbachowski/pyquery | 7da5d8a21234521bf9cfef11f39465ebf3a8377d | [
"MIT"
] | null | null | null | # encoding: utf-8
class Style(object):
def __init__(self, newline, indent):
self.newline = str(newline)
self.indent = str(indent)
class Pretty(Style):
def __init__(self):
super(Pretty, self).__init__("\n", ' ')
class Sparse(Style):
def __init__(self):
super(Sparse, s... | 18.052632 | 50 | 0.597668 | 40 | 343 | 4.625 | 0.4 | 0.113514 | 0.178378 | 0.172973 | 0.227027 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003861 | 0.244898 | 343 | 18 | 51 | 19.055556 | 0.710425 | 0.043732 | 0 | 0.2 | 0 | 0 | 0.018462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f204acfb41985b51b973fc0639c95c86997d482c | 305 | py | Python | examples/theworldfoundry/tests/test_spatial_enterable.py | vreon/figment | 03696ee1c2288805d2a041f4116813d2f81640f8 | [
"MIT"
] | 12 | 2016-12-01T19:30:54.000Z | 2020-12-15T13:16:52.000Z | examples/theworldfoundry/tests/test_spatial_enterable.py | vreon/figment | 03696ee1c2288805d2a041f4116813d2f81640f8 | [
"MIT"
] | null | null | null | examples/theworldfoundry/tests/test_spatial_enterable.py | vreon/figment | 03696ee1c2288805d2a041f4116813d2f81640f8 | [
"MIT"
] | 1 | 2020-09-15T18:56:34.000Z | 2020-09-15T18:56:34.000Z | def test_enter(player, limo):
player.perform("enter limo")
assert player.saw("You enter a fancy limo")
assert player.saw("electric")
def test_enter_and_exit(player, limo):
player.perform("enter limo")
player.forget()
player.perform("go out")
assert player.saw("Antechamber")
| 25.416667 | 47 | 0.691803 | 42 | 305 | 4.928571 | 0.428571 | 0.144928 | 0.217391 | 0.222222 | 0.309179 | 0.309179 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17377 | 305 | 11 | 48 | 27.727273 | 0.821429 | 0 | 0 | 0.222222 | 0 | 0 | 0.219672 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1ef24c1fba86c03f4f68f8420677cc1de54e8b18 | 113 | py | Python | problem_6.py | adamkells/project_euler | 52b7dc59f22e2d0782a74df186d9147d187f5e4e | [
"Apache-2.0"
] | null | null | null | problem_6.py | adamkells/project_euler | 52b7dc59f22e2d0782a74df186d9147d187f5e4e | [
"Apache-2.0"
] | null | null | null | problem_6.py | adamkells/project_euler | 52b7dc59f22e2d0782a74df186d9147d187f5e4e | [
"Apache-2.0"
] | null | null | null | sum_sq = 0
sq_sum = 0
for i in range(1, 101):
sum_sq += i**2
sq_sum += i
diff = sum_sq - sq_sum**2
print(diff) | 14.125 | 25 | 0.619469 | 27 | 113 | 2.37037 | 0.444444 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.221239 | 113 | 8 | 26 | 14.125 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
480140e32e4d1a83ecd0b4c158a8c0e546d2993a | 1,405 | py | Python | tests/test_print.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | 27 | 2020-05-17T20:48:43.000Z | 2022-01-08T21:32:30.000Z | tests/test_print.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | null | null | null | tests/test_print.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | null | null | null | from textwrap import dedent
from tests import check_as_expected
ROOT = 'superhelp.helpers.print_help.'
def test_misc():
test_conf = [
(
dedent("""\
pet = 'cat'
"""),
{
ROOT + 'print_overview': 0,
}
),
(
... | 20.362319 | 52 | 0.316014 | 102 | 1,405 | 4.156863 | 0.333333 | 0.127358 | 0.240566 | 0.212264 | 0.535377 | 0.431604 | 0.431604 | 0.193396 | 0.193396 | 0.193396 | 0 | 0.012658 | 0.550178 | 1,405 | 68 | 53 | 20.661765 | 0.658228 | 0.007829 | 0 | 0.52381 | 0 | 0 | 0.377155 | 0.020833 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.031746 | 0 | 0.047619 | 0.222222 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4849d5cfaff0d456185eb231b688c81cf82f78ac | 219 | py | Python | earth_engine/tests.py | ecsnavarretemit/sarai-satellite-analysis-backend | 73de6c4cac37889efff49b9be085f3c733e27702 | [
"MIT"
] | null | null | null | earth_engine/tests.py | ecsnavarretemit/sarai-satellite-analysis-backend | 73de6c4cac37889efff49b9be085f3c733e27702 | [
"MIT"
] | null | null | null | earth_engine/tests.py | ecsnavarretemit/sarai-satellite-analysis-backend | 73de6c4cac37889efff49b9be085f3c733e27702 | [
"MIT"
] | null | null | null | # tests.py
#
# Copyright(c) Exequiel Ceasar Navarrete <esnavarrete1@up.edu.ph>
# Licensed under MIT
# Version 0.0.0
from __future__ import unicode_literals
from django.test import TestCase
# Create your tests here.
| 16.846154 | 65 | 0.767123 | 32 | 219 | 5.09375 | 0.84375 | 0.02454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.150685 | 219 | 12 | 66 | 18.25 | 0.854839 | 0.589041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
485ba9b0e64fa44921b99e822eafe598bfda79d3 | 174 | py | Python | pgdt-ack.py | phunbox/CBmon | 3f321e70e3dffca38c51cf3671450afccc8244a5 | [
"Apache-2.0"
] | null | null | null | pgdt-ack.py | phunbox/CBmon | 3f321e70e3dffca38c51cf3671450afccc8244a5 | [
"Apache-2.0"
] | null | null | null | pgdt-ack.py | phunbox/CBmon | 3f321e70e3dffca38c51cf3671450afccc8244a5 | [
"Apache-2.0"
] | null | null | null | import pygerduty
pg_api_key = "SECRET_PD_API_KEY"
pager = pygerduty.PagerDuty("allegro-group","{}".format(pg_api_key))
pager.acknowledge_incident("SECRET_PD_API_KEY","1337")
| 34.8 | 68 | 0.798851 | 26 | 174 | 4.923077 | 0.576923 | 0.1875 | 0.125 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.051724 | 174 | 4 | 69 | 43.5 | 0.751515 | 0 | 0 | 0 | 0 | 0 | 0.304598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
48627bfab544ce7dea7d4dac158ff9c32b1b1b84 | 5,034 | py | Python | mlir/python/mlir/dialects/linalg/opdsl/lang/scalar_expr.py | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | mlir/python/mlir/dialects/linalg/opdsl/lang/scalar_expr.py | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 265 | 2018-06-20T02:45:32.000Z | 2022-03-23T02:37:35.000Z | mlir/python/mlir/dialects/linalg/opdsl/lang/scalar_expr.py | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 188 | 2018-06-19T22:43:57.000Z | 2022-03-23T09:28:41.000Z | # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
"""Models DAGs of scalar math expressions.
Used for generating region bodies at the "math" level where they are still ... | 30.509091 | 83 | 0.698053 | 640 | 5,034 | 5.296875 | 0.28125 | 0.041298 | 0.022714 | 0.030089 | 0.164602 | 0.125369 | 0.064897 | 0 | 0 | 0 | 0 | 0.001498 | 0.204211 | 5,034 | 164 | 84 | 30.695122 | 0.844733 | 0.284664 | 0 | 0.2 | 0 | 0 | 0.166996 | 0.052557 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.031579 | 0.126316 | 0.515789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
486772ae75ab74c9fae7f5ed689738806df331d1 | 3,393 | py | Python | syot/models/tft.py | andrewdge/Pyot | a0b44a4462fd643bb21fbdc349beb9546543997c | [
"MIT"
] | 1 | 2021-02-17T01:02:08.000Z | 2021-02-17T01:02:08.000Z | syot/models/tft.py | bangingheads/Pyot | d133e93d96b6f51a3e22da182b9a9d738442e760 | [
"MIT"
] | null | null | null | syot/models/tft.py | bangingheads/Pyot | d133e93d96b6f51a3e22da182b9a9d738442e760 | [
"MIT"
] | null | null | null | import asyncio
from pyot.models import tft
from syot.models import riot
from .__core__ import SyotBaseObject
class SyotBase(SyotBaseObject):
pass
# from .league import ChallengerLeague, MasterLeague, GrandmasterLeague, DivisionLeague, SummonerLeague, League
class League(SyotBase, tft.League):
def get(self, *... | 28.512605 | 111 | 0.686118 | 376 | 3,393 | 6.172872 | 0.106383 | 0.085308 | 0.077553 | 0.124084 | 0.390349 | 0.390349 | 0.390349 | 0.390349 | 0.390349 | 0.390349 | 0 | 0 | 0.168877 | 3,393 | 118 | 112 | 28.754237 | 0.82305 | 0.111406 | 0 | 0.444444 | 0 | 0 | 0.059215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.012346 | 0.049383 | 0.222222 | 0.728395 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
486bd2e12b9f87a0bf744d1ecfda53775632160f | 1,586 | py | Python | datasets/MOT/factory.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | datasets/MOT/factory.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | datasets/MOT/factory.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | from datasets.base.factory import DatasetFactory
from datasets.base.video.dataset import VideoDataset
from datasets.types.specialized_dataset import SpecializedVideoDatasetType
from datasets.base.video.filter.func import apply_filters_on_video_dataset_
from datasets.MOT.dataset import MultipleObjectTrackingDataset_Memo... | 66.083333 | 159 | 0.709962 | 132 | 1,586 | 8.181818 | 0.340909 | 0.055556 | 0.062963 | 0.038889 | 0.159259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237074 | 1,586 | 23 | 160 | 68.956522 | 0.892562 | 0 | 0 | 0.111111 | 0 | 0 | 0.022699 | 0.022699 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
4879204149bf012bac7ae903426350d36a1daf16 | 160 | py | Python | oplog/urls.py | laincloud/Console | 9d4fb68ad5378279697803ca45a4eda58d72d9a3 | [
"MIT"
] | 11 | 2016-05-04T11:55:01.000Z | 2018-09-29T01:00:05.000Z | oplog/urls.py | laincloud/Console | 9d4fb68ad5378279697803ca45a4eda58d72d9a3 | [
"MIT"
] | 21 | 2016-05-25T06:54:44.000Z | 2019-06-06T00:38:38.000Z | oplog/urls.py | laincloud/Console | 9d4fb68ad5378279697803ca45a4eda58d72d9a3 | [
"MIT"
] | 16 | 2016-05-13T08:20:43.000Z | 2021-12-31T09:23:14.000Z | from . import views
from django.conf.urls import url
urlpatterns = [
url(r'^(?P<appname>[^/]+)/$',
'oplog.views.api_oplogs', name='api_oplogs'),
]
| 20 | 53 | 0.61875 | 21 | 160 | 4.619048 | 0.714286 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 160 | 7 | 54 | 22.857143 | 0.734848 | 0 | 0 | 0 | 0 | 0 | 0.33125 | 0.26875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
487b6636386f756df739842ae3156ded5fc0cdc3 | 2,432 | py | Python | framework/forms/__init__.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | framework/forms/__init__.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | 13 | 2020-03-24T15:29:41.000Z | 2022-03-11T23:15:28.000Z | framework/forms/__init__.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | import framework.status as status
from wtforms import fields, Form, PasswordField, BooleanField, IntegerField, \
DateField, DateTimeField, FileField, HiddenField, RadioField, SelectField, \
SelectMultipleField, SubmitField, TextAreaField, TextField, FieldList, \
validators
from wtforms.widgets import TextI... | 30.024691 | 83 | 0.686266 | 286 | 2,432 | 5.681818 | 0.335664 | 0.060923 | 0.077538 | 0.092308 | 0.292923 | 0.286154 | 0.230769 | 0.230769 | 0.230769 | 0.230769 | 0 | 0 | 0.210938 | 2,432 | 80 | 84 | 30.4 | 0.846795 | 0.159539 | 0 | 0.346939 | 0 | 0 | 0.068828 | 0 | 0 | 0 | 0 | 0.0125 | 0 | 1 | 0.183673 | false | 0.081633 | 0.102041 | 0 | 0.55102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
48844b9320cb7a2a9eba45b1edd7bdc8811582b3 | 1,323 | py | Python | apts/opticalequipment/eyepiece.py | pozar87/apts | 0058b5928784450908ea351cf5d7498f6ea80388 | [
"Apache-2.0"
] | 8 | 2018-03-26T14:35:55.000Z | 2020-08-16T01:36:07.000Z | apts/opticalequipment/eyepiece.py | pozar87/apts | 0058b5928784450908ea351cf5d7498f6ea80388 | [
"Apache-2.0"
] | 2 | 2018-03-03T10:12:18.000Z | 2018-03-11T21:58:32.000Z | apts/opticalequipment/eyepiece.py | pozar87/apts | 0058b5928784450908ea351cf5d7498f6ea80388 | [
"Apache-2.0"
] | 1 | 2018-02-18T10:07:32.000Z | 2018-02-18T10:07:32.000Z | from .abstract import OutputOpticalEqipment
from ..constants import GraphConstants
from ..utils import *
class Eyepiece(OutputOpticalEqipment):
"""
Class representing ocular
"""
def __init__(self, focal_length, vendor="unknown ocular", field_of_view=70, connection_type=ConnectionType.F_1_25):
super(Eyepi... | 33.075 | 117 | 0.743764 | 174 | 1,323 | 5.385057 | 0.37931 | 0.058698 | 0.058698 | 0.032017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004541 | 0.1678 | 1,323 | 39 | 118 | 33.923077 | 0.846503 | 0.253212 | 0 | 0 | 0 | 0 | 0.022013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.15 | 0.2 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.