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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d947c35c21b3239f4d20a797f709237eaf0ece0 | 247 | py | Python | tests/test_runner_deprecation_app/tests.py | fizista/django | 16f3a6a4c7bab11644d11c2be029374e5095cb56 | [
"BSD-3-Clause"
] | 1 | 2019-02-10T19:33:27.000Z | 2019-02-10T19:33:27.000Z | tests/test_runner_deprecation_app/tests.py | fizista/django | 16f3a6a4c7bab11644d11c2be029374e5095cb56 | [
"BSD-3-Clause"
] | null | null | null | tests/test_runner_deprecation_app/tests.py | fizista/django | 16f3a6a4c7bab11644d11c2be029374e5095cb56 | [
"BSD-3-Clause"
] | 1 | 2020-05-03T20:42:29.000Z | 2020-05-03T20:42:29.000Z | import warnings
from django.test import TestCase
warnings.warn("module-level warning from deprecation_app", DeprecationWarning)
class DummyTest(TestCase):
def test_warn(self):
warnings.warn("warning from test", DeprecationWarning)
| 22.454545 | 78 | 0.777328 | 29 | 247 | 6.551724 | 0.586207 | 0.126316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1417 | 247 | 10 | 79 | 24.7 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0.234818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0da4e0fd133dd93d9666709ef0d8d3b74297b789 | 1,519 | py | Python | test_utils.py | moritz-gerster/separating_periodic_from_aperiodic_PSDs | 79d771e8cac21098aac26ee369e0994add3e2bf9 | [
"MIT"
] | 2 | 2021-11-05T14:58:34.000Z | 2022-01-05T09:11:33.000Z | test_utils.py | moritz-gerster/separating_periodic_from_aperiodic_PSDs | 79d771e8cac21098aac26ee369e0994add3e2bf9 | [
"MIT"
] | null | null | null | test_utils.py | moritz-gerster/separating_periodic_from_aperiodic_PSDs | 79d771e8cac21098aac26ee369e0994add3e2bf9 | [
"MIT"
] | null | null | null | import numpy as np
from utils import elec_phys_signal
# Test simulation of electrophysiological signals
def test_elec_phys_signal():
# test output
output = elec_phys_signal(1)
assert isinstance(output, tuple)
assert isinstance(output[0], np.ndarray)
assert isinstance(output[1], np.ndarray)
#... | 37.975 | 78 | 0.664253 | 224 | 1,519 | 4.308036 | 0.214286 | 0.124352 | 0.217617 | 0.15544 | 0.409326 | 0.240415 | 0.205181 | 0.140933 | 0 | 0 | 0 | 0.059272 | 0.222515 | 1,519 | 40 | 79 | 37.975 | 0.757832 | 0.140224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.478261 | 1 | 0.043478 | false | 0.086957 | 0.086957 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0da65955b301e345723b597b834f1ffd2509a527 | 520 | py | Python | apps/controllerx/core/integration/deconz.py | sreknob/controllerx | f5e4475dae93d171ba3056399378107df1d52fa5 | [
"MIT"
] | 1 | 2020-02-28T17:26:36.000Z | 2020-02-28T17:26:36.000Z | apps/controllerx/core/integration/deconz.py | sreknob/controllerx | f5e4475dae93d171ba3056399378107df1d52fa5 | [
"MIT"
] | null | null | null | apps/controllerx/core/integration/deconz.py | sreknob/controllerx | f5e4475dae93d171ba3056399378107df1d52fa5 | [
"MIT"
] | null | null | null | from core.integration import Integration
class DeCONZIntegration(Integration):
def get_name(self):
return "deconz"
def get_actions_mapping(self):
return self.controller.get_deconz_actions_mapping()
def listen_changes(self, controller_id):
self.controller.listen_event(self.callbac... | 30.588235 | 85 | 0.721154 | 64 | 520 | 5.625 | 0.421875 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178846 | 520 | 16 | 86 | 32.5 | 0.843091 | 0 | 0 | 0 | 0 | 0 | 0.051923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 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 |
0daeb0a90ad16d9893602d4410fcfd44b9ab93ae | 316 | py | Python | python/learn/base/data/set.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | 2 | 2017-06-07T03:20:42.000Z | 2020-01-07T09:14:26.000Z | python/learn/base/data/set.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | null | null | null | python/learn/base/data/set.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | null | null | null | #!/usr/bin/python2.7
#coding:utf-8
print dir(set)
s = {'x', 'y', 'z'}
print len(s)
# print s.count('x') # 错误, Set里面的元素没有重复的, 方法没有意义
a = set('aabbccdef')
print a
b = set('abcdeffgg')
print b
print a - b # 在a中不在b中
print a | b
print a & b
print a ^ b # 不同时在a,b中
print { x for x in 'abcdefg' if x not in 'cdef' }
| 15.047619 | 49 | 0.607595 | 60 | 316 | 3.2 | 0.533333 | 0.15625 | 0.182292 | 0.125 | 0.109375 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0.012097 | 0.21519 | 316 | 20 | 50 | 15.8 | 0.762097 | 0.297468 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0db733f1532a37504cff2a5192eab073a5544177 | 125 | py | Python | src/features/feature_normalization.py | t-wyrwas/Titanic | aad7e4431ec926e59821fbe7926767fc7f380ef2 | [
"MIT"
] | null | null | null | src/features/feature_normalization.py | t-wyrwas/Titanic | aad7e4431ec926e59821fbe7926767fc7f380ef2 | [
"MIT"
] | null | null | null | src/features/feature_normalization.py | t-wyrwas/Titanic | aad7e4431ec926e59821fbe7926767fc7f380ef2 | [
"MIT"
] | null | null | null |
def normalize(df, features):
for f in features:
range = df[f].max() - df[f].min()
df[f] = df[f] / range
| 20.833333 | 41 | 0.512 | 20 | 125 | 3.2 | 0.5 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304 | 125 | 5 | 42 | 25 | 0.735632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0dd761b338c111a00b86dc8b3ddbd3beb9de5179 | 78 | py | Python | pythonexercicios/ex110/ex110-modulos.py | marroni1103/exercicios-pyton | 734162cc4b63ed30d754a6efe4c5622baaa1a50b | [
"MIT"
] | null | null | null | pythonexercicios/ex110/ex110-modulos.py | marroni1103/exercicios-pyton | 734162cc4b63ed30d754a6efe4c5622baaa1a50b | [
"MIT"
] | null | null | null | pythonexercicios/ex110/ex110-modulos.py | marroni1103/exercicios-pyton | 734162cc4b63ed30d754a6efe4c5622baaa1a50b | [
"MIT"
] | null | null | null | import moeda
p = float(input('Digite um valor: R$ '))
moeda.resumo(p, 10, 10) | 19.5 | 40 | 0.666667 | 14 | 78 | 3.714286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.153846 | 78 | 4 | 41 | 19.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.253165 | 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 |
0ddb76da1a8c48b1d8cd59059a0eb5c0268cbd9f | 60 | py | Python | src/greenbudget/app/user/__init__.py | nickmflorin/django-proper-architecture-testing | da7c4019697e85f921695144375d2f548f1e98ad | [
"MIT"
] | null | null | null | src/greenbudget/app/user/__init__.py | nickmflorin/django-proper-architecture-testing | da7c4019697e85f921695144375d2f548f1e98ad | [
"MIT"
] | null | null | null | src/greenbudget/app/user/__init__.py | nickmflorin/django-proper-architecture-testing | da7c4019697e85f921695144375d2f548f1e98ad | [
"MIT"
] | null | null | null | default_app_config = 'greenbudget.app.user.apps.UserConfig'
| 30 | 59 | 0.833333 | 8 | 60 | 6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 60 | 1 | 60 | 60 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0.6 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0de6eaae871446eb0296a2a1ba100ce19a9b744b | 9,310 | py | Python | scratch/lidar.py | zkoppanyi/uni | 32dbf0a425c6922264e737e9d59f794b32bb9c95 | [
"MIT"
] | null | null | null | scratch/lidar.py | zkoppanyi/uni | 32dbf0a425c6922264e737e9d59f794b32bb9c95 | [
"MIT"
] | null | null | null | scratch/lidar.py | zkoppanyi/uni | 32dbf0a425c6922264e737e9d59f794b32bb9c95 | [
"MIT"
] | null | null | null | # %% External imports
%matplotlib qt
import numpy as np
from mpl_toolkits import mplot3d
import matplotlib.pyplot as plt
from numpy.core.fromnumeric import size
import viz
from scipy.spatial.transform import Rotation
# %% Pose definiations
R_cams = []
t_cams = []
R_cams.append(np.array([[0.46224950999999997,-0.88642... | 67.956204 | 223 | 0.732975 | 1,313 | 9,310 | 5.115765 | 0.329779 | 0.046896 | 0.064314 | 0.091112 | 0.214828 | 0.179098 | 0.064166 | 0.052255 | 0.03707 | 0.03707 | 0 | 0.50342 | 0.073577 | 9,310 | 136 | 224 | 68.455882 | 0.275362 | 0.118153 | 0 | 0.0625 | 0 | 0.010417 | 0.040318 | 0.019426 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.072917 | null | null | 0.052083 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2177a7a5e622a623db5afca53545157c7bcc5d39 | 1,375 | py | Python | api/analyses/analyses.py | capdragon/cannlytics | 47eeda80b1faf54d709def3641d9476501508fec | [
"MIT"
] | null | null | null | api/analyses/analyses.py | capdragon/cannlytics | 47eeda80b1faf54d709def3641d9476501508fec | [
"MIT"
] | null | null | null | api/analyses/analyses.py | capdragon/cannlytics | 47eeda80b1faf54d709def3641d9476501508fec | [
"MIT"
] | null | null | null | """
Analyses Views | Cannlytics API
Created: 4/21/2021
API to interface with cannabis regulation information.
"""
from rest_framework import status
from rest_framework.decorators import api_view
from rest_framework.response import Response
@api_view(['GET', 'POST', 'DELETE'])
def analyses(request, format=None):
... | 30.555556 | 86 | 0.690909 | 159 | 1,375 | 5.849057 | 0.345912 | 0.083871 | 0.122581 | 0.141935 | 0.649462 | 0.649462 | 0.6 | 0.6 | 0.6 | 0.6 | 0 | 0.006087 | 0.163636 | 1,375 | 44 | 87 | 31.25 | 0.802609 | 0.225455 | 0 | 0.736842 | 0 | 0 | 0.256214 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.105263 | false | 0 | 0.157895 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
217866a576361526a8d13c0ad771761199c4b595 | 712 | py | Python | algo-grave.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | 44 | 2018-08-15T08:32:43.000Z | 2022-02-15T20:25:03.000Z | algo-grave.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | null | null | null | algo-grave.py | bcgreen24/ten-lines-or-less | 7a34ff7d7222fd3946e9cbb418afc992bc84e5e5 | [
"MIT"
] | 7 | 2018-09-08T20:05:58.000Z | 2021-11-22T12:46:15.000Z | Clock.bpm=144; Scale.default="lydianMinor"
d1 >> play("x-o{-[-(-o)]}", sample=0).every([28,4], "trim", 3)
d2 >> play("(X )( X)N{ xv[nX]}", drive=0.2, lpf=var([0,40],[28,4]), rate=PStep(P[5:8],[-1,-2],1)).sometimes("sample.offadd", 1, 0.75)
d3 >> play("e", amp=var([0,1],[PRand(8,16)/2,1.5]), dur=PRand([1/2,1/4]), pan=va... | 71.2 | 133 | 0.580056 | 155 | 712 | 2.664516 | 0.419355 | 0.048426 | 0.03632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145038 | 0.080056 | 712 | 9 | 134 | 79.111111 | 0.485496 | 0 | 0 | 0 | 0 | 0 | 0.085674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
217f0e3eccdc307d3d3f3bd3ab150b392da4a088 | 136 | py | Python | bot/credentials_template.py | stanleykao72/Deepfake-Detection | 417de0a0c7756397cf3a611b26008b7ed64727e9 | [
"Apache-2.0"
] | 1 | 2020-09-30T09:33:28.000Z | 2020-09-30T09:33:28.000Z | bot/credentials_template.py | stanleykao72/Deepfake-Detection | 417de0a0c7756397cf3a611b26008b7ed64727e9 | [
"Apache-2.0"
] | null | null | null | bot/credentials_template.py | stanleykao72/Deepfake-Detection | 417de0a0c7756397cf3a611b26008b7ed64727e9 | [
"Apache-2.0"
] | null | null | null | import os
bot_token = '1168941932:XXGiYEV79cjssoQX_rZ5IwE4nbFhliKlh5M'
bot_user_name = 'xxx_bot'
URL = "https://cf45064e05ed.ngrok.io"
| 22.666667 | 60 | 0.801471 | 17 | 136 | 6.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 0.088235 | 136 | 5 | 61 | 27.2 | 0.66129 | 0 | 0 | 0 | 0 | 0 | 0.602941 | 0.338235 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2182051e14a8401743524d6ab0d1f557a1bde734 | 33 | py | Python | debug.py | andrewtremblay/game-linkage | b7ef3f433cff68aee8f425c4575f2cc251c57064 | [
"Apache-2.0"
] | null | null | null | debug.py | andrewtremblay/game-linkage | b7ef3f433cff68aee8f425c4575f2cc251c57064 | [
"Apache-2.0"
] | null | null | null | debug.py | andrewtremblay/game-linkage | b7ef3f433cff68aee8f425c4575f2cc251c57064 | [
"Apache-2.0"
] | null | null | null | hide_native_cursor = False #True
| 16.5 | 32 | 0.818182 | 5 | 33 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.862069 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21a961f1700602ed46e95f0a1130b3d95c12010f | 1,027 | py | Python | resolwe/flow/views/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 27 | 2015-12-07T18:29:12.000Z | 2022-03-16T08:01:47.000Z | resolwe/flow/views/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 681 | 2015-12-01T11:52:24.000Z | 2022-03-21T07:43:37.000Z | resolwe/flow/views/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 28 | 2015-12-01T08:32:57.000Z | 2021-12-14T00:04:16.000Z | """.. Ignore pydocstyle D400.
==========
Flow Views
==========
.. autoclass:: resolwe.flow.views.collection.CollectionViewSet
:members:
.. autoclass:: resolwe.flow.views.data.DataViewSet
:members:
.. autoclass:: resolwe.flow.views.descriptor.DescriptorSchemaViewSet
:members:
.. autoclass:: resolwe.flow... | 22.326087 | 68 | 0.735151 | 90 | 1,027 | 8.344444 | 0.277778 | 0.095872 | 0.186418 | 0.233023 | 0.255659 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00339 | 0.138267 | 1,027 | 45 | 69 | 22.822222 | 0.845198 | 0.560857 | 0 | 0 | 0 | 0 | 0.241535 | 0.051919 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4375 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
21ab7b5c543e49cf59fea2226a38a076def48564 | 814 | py | Python | gaz/lpg/models.py | aafedotov/lpg | ee3eb015e6c5ccf01a3114c35d1c0b127d5570ea | [
"MIT"
] | null | null | null | gaz/lpg/models.py | aafedotov/lpg | ee3eb015e6c5ccf01a3114c35d1c0b127d5570ea | [
"MIT"
] | null | null | null | gaz/lpg/models.py | aafedotov/lpg | ee3eb015e6c5ccf01a3114c35d1c0b127d5570ea | [
"MIT"
] | null | null | null | from django.db import models
import os
class Lpg(models.Model):
date = models.DateTimeField()
price = models.FloatField()
volume = models.FloatField()
benz_price = models.FloatField()
cost = models.FloatField()
mileage = models.FloatField()
mileage_total = models.FloatField()
consump ... | 23.941176 | 64 | 0.662162 | 92 | 814 | 5.728261 | 0.434783 | 0.242884 | 0.079696 | 0.129032 | 0.174573 | 0.174573 | 0.174573 | 0 | 0 | 0 | 0 | 0.003145 | 0.218673 | 814 | 34 | 65 | 23.941176 | 0.825472 | 0 | 0 | 0.083333 | 0 | 0 | 0.006135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.083333 | 0.125 | 0.958333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
21ad90b72ec41af156af000c9948419be81a478a | 80 | py | Python | apps/fithm-gateway/libs/exceptions.py | sergio1221/flask-backend | 11a9e0db5b5e664fcc820919d97039738176ac62 | [
"BSD-3-Clause"
] | 3 | 2022-03-04T03:05:55.000Z | 2022-03-04T09:02:32.000Z | apps/fithm-gateway/libs/exceptions.py | sergio1221/flask-backend | 11a9e0db5b5e664fcc820919d97039738176ac62 | [
"BSD-3-Clause"
] | null | null | null | apps/fithm-gateway/libs/exceptions.py | sergio1221/flask-backend | 11a9e0db5b5e664fcc820919d97039738176ac62 | [
"BSD-3-Clause"
] | null | null | null | from werkzeug.exceptions import BadRequest
Http_400_BadRequest = BadRequest
| 20 | 43 | 0.8375 | 9 | 80 | 7.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.1375 | 80 | 3 | 44 | 26.666667 | 0.898551 | 0 | 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 |
21b877126c1f6c0c9851f58312d99e755f641028 | 344 | py | Python | rightarrow/enforce.py | wuzzeb/python-rightarrow | bc26059d272e4a903fa2a18db9ebb484e7f74aed | [
"Apache-2.0"
] | 1 | 2020-04-30T22:24:41.000Z | 2020-04-30T22:24:41.000Z | rightarrow/enforce.py | wuzzeb/python-rightarrow | bc26059d272e4a903fa2a18db9ebb484e7f74aed | [
"Apache-2.0"
] | null | null | null | rightarrow/enforce.py | wuzzeb/python-rightarrow | bc26059d272e4a903fa2a18db9ebb484e7f74aed | [
"Apache-2.0"
] | null | null | null |
from rightarrow.parser import Parser
def check(ty, val):
"Checks that `val` adheres to type `ty`"
if isinstance(ty, basestring):
ty = Parser().parse(ty)
return ty.enforce(val)
def guard(ty):
"A decorator that wraps a function so it the type passed is enforced via `check`"
return... | 22.933333 | 85 | 0.651163 | 52 | 344 | 4.307692 | 0.634615 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247093 | 344 | 14 | 86 | 24.571429 | 0.864865 | 0.343023 | 0 | 0 | 0 | 0 | 0.341108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
21c22c252f9293d6166a6c3ca0cfe32490ca1342 | 1,888 | py | Python | ssm/init_state_distns.py | adelaneh/ssm | 0e8ef2619eae1cdd0f884f1437f2c990251038d7 | [
"MIT"
] | 208 | 2018-06-14T16:20:11.000Z | 2020-08-18T01:13:46.000Z | ssm/init_state_distns.py | adelaneh/ssm | 0e8ef2619eae1cdd0f884f1437f2c990251038d7 | [
"MIT"
] | 82 | 2018-06-28T15:15:41.000Z | 2020-07-30T15:00:46.000Z | ssm/init_state_distns.py | adelaneh/ssm | 0e8ef2619eae1cdd0f884f1437f2c990251038d7 | [
"MIT"
] | 83 | 2018-06-28T22:23:27.000Z | 2020-10-02T19:27:53.000Z | from functools import partial
from warnings import warn
import autograd.numpy as np
import autograd.numpy.random as npr
from autograd.scipy.special import logsumexp
from autograd.misc.optimizers import sgd, adam
from autograd import grad
from ssm.util import ensure_args_are_lists
class InitialStateDistribution(objec... | 30.451613 | 87 | 0.648305 | 270 | 1,888 | 4.388889 | 0.359259 | 0.065823 | 0.092827 | 0.03038 | 0.260759 | 0.163713 | 0.133333 | 0.084388 | 0.084388 | 0.084388 | 0 | 0.022472 | 0.245763 | 1,888 | 62 | 88 | 30.451613 | 0.809691 | 0.074153 | 0 | 0.162791 | 0 | 0 | 0.024362 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 1 | 0.255814 | false | 0.069767 | 0.186047 | 0.093023 | 0.581395 | 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 |
21c4efefc7b5ce36cd0fc119863a360c0f7f77e0 | 405 | py | Python | farm_ecomm/orders/models.py | SumeetSanwal/Farmer-Ecomm | 021e79e1129a23d12970538451407a52bfe7938d | [
"MIT"
] | null | null | null | farm_ecomm/orders/models.py | SumeetSanwal/Farmer-Ecomm | 021e79e1129a23d12970538451407a52bfe7938d | [
"MIT"
] | null | null | null | farm_ecomm/orders/models.py | SumeetSanwal/Farmer-Ecomm | 021e79e1129a23d12970538451407a52bfe7938d | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Order(models.Model):
name=models.CharField(max_length=30)
phone=models.CharField(max_length=10)
qty=models.CharField(max_length=3)
address=models.CharField(max_length=30)
pin=models.CharField(max_length=10)
day=models.DateField()
... | 28.928571 | 43 | 0.735802 | 57 | 405 | 5.105263 | 0.491228 | 0.309278 | 0.371134 | 0.494845 | 0.446735 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03207 | 0.153086 | 405 | 14 | 44 | 28.928571 | 0.816327 | 0.059259 | 0 | 0 | 0 | 0 | 0.021053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.909091 | 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 |
21c5a0d877b9ea5b0aec8dcdbfeac7309ad9d58f | 1,132 | py | Python | pydfs_lineup_optimizer/sites/draftkings/showdown/settings.py | BenikaH/pydfs-lineup-optimizer | 20dd39dfb738b8eb114c012a1d455c201da60400 | [
"MIT"
] | null | null | null | pydfs_lineup_optimizer/sites/draftkings/showdown/settings.py | BenikaH/pydfs-lineup-optimizer | 20dd39dfb738b8eb114c012a1d455c201da60400 | [
"MIT"
] | null | null | null | pydfs_lineup_optimizer/sites/draftkings/showdown/settings.py | BenikaH/pydfs-lineup-optimizer | 20dd39dfb738b8eb114c012a1d455c201da60400 | [
"MIT"
] | null | null | null | from pydfs_lineup_optimizer.settings import BaseSettings, LineupPosition
from pydfs_lineup_optimizer.constants import Sport, Site
from pydfs_lineup_optimizer.sites.sites_registry import SitesRegistry
from pydfs_lineup_optimizer.sites.draftkings.showdown.importer import DraftKingsShowdownGolfModeCSVImporter
POSITIONS... | 31.444444 | 107 | 0.690813 | 102 | 1,132 | 7.509804 | 0.313725 | 0.234987 | 0.250653 | 0.391645 | 0.446475 | 0.370757 | 0.370757 | 0.370757 | 0.370757 | 0.370757 | 0 | 0.006322 | 0.161661 | 1,132 | 35 | 108 | 32.342857 | 0.800843 | 0 | 0 | 0.413793 | 0 | 0 | 0.021201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.172414 | 0 | 0.482759 | 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 |
21cd8e3e4efaef5b184e48ac3e2c48f9b1b2f8c3 | 1,615 | py | Python | Magic_Square.py | Sandeep6262/Logical-questions-in-python | 2923a615622090fdb23699c7301d44c2975fec36 | [
"MIT"
] | null | null | null | Magic_Square.py | Sandeep6262/Logical-questions-in-python | 2923a615622090fdb23699c7301d44c2975fec36 | [
"MIT"
] | null | null | null | Magic_Square.py | Sandeep6262/Logical-questions-in-python | 2923a615622090fdb23699c7301d44c2975fec36 | [
"MIT"
] | null | null | null | magic_square = [
[8, 3, 4],
[1, 5, 9],
[6, 7, 2]
]
print("Row")
print(magic_square[0][0]+magic_square[0][1]+magic_square[0][2])
print(magic_square[1][0]+magic_square[1][1]+magic_square[1][2])
print(magic_square[2][0]+magic_square[2][1]+magic_square[2][2])
print("colume")
print(magic_square[0][0]+magic_squa... | 18.77907 | 63 | 0.569659 | 300 | 1,615 | 2.923333 | 0.136667 | 0.413911 | 0.18244 | 0.116306 | 0.574686 | 0.554162 | 0.424173 | 0.304447 | 0.167617 | 0.167617 | 0 | 0.065574 | 0.206811 | 1,615 | 85 | 64 | 19 | 0.619048 | 0.525697 | 0 | 0 | 0 | 0 | 0.026012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
21d680533a4be44e6732c40401a607d45ad605dc | 188 | py | Python | 0x0A-python-inheritance/6-base_geometry.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | 0x0A-python-inheritance/6-base_geometry.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | 0x0A-python-inheritance/6-base_geometry.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | #!/usr/bin/python3
"""a class empty"""
class BaseGeometry():
"""create class"""
pass
def area(self):
"""area"""
raise Exception("area() is not implemented")
| 15.666667 | 52 | 0.558511 | 21 | 188 | 5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.255319 | 188 | 11 | 53 | 17.090909 | 0.742857 | 0.260638 | 0 | 0 | 0 | 0 | 0.203252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
21da228590fc9fc17ae581924abaf6a76cdb4469 | 828 | py | Python | control_demo.py | Alinamoo/SODD | 5d0dc01927f8f9dced6eb9e67f7da82e0bf01761 | [
"MIT"
] | null | null | null | control_demo.py | Alinamoo/SODD | 5d0dc01927f8f9dced6eb9e67f7da82e0bf01761 | [
"MIT"
] | null | null | null | control_demo.py | Alinamoo/SODD | 5d0dc01927f8f9dced6eb9e67f7da82e0bf01761 | [
"MIT"
] | null | null | null | from djitellopy import Tello
import time
tello = Tello()
tello.connect()
user_input = ' '
while user_input != 'x':
user_input = input()
if user_input == 't':
print("takeoff")
tello.takeoff()
if user_input == 'l':
print("land")
tello.land()
... | 19.714286 | 31 | 0.491546 | 97 | 828 | 4.020619 | 0.319588 | 0.253846 | 0.225641 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.36715 | 828 | 41 | 32 | 20.195122 | 0.721374 | 0 | 0 | 0 | 0 | 0 | 0.064803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0.28125 | 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 |
21e04da272da6204e5721ac0e715c76af39b9c45 | 453 | py | Python | day14.py | dos1/AoC21 | 9095b96b831aac76cb9f0ce06e3f639db2da3977 | [
"MIT"
] | null | null | null | day14.py | dos1/AoC21 | 9095b96b831aac76cb9f0ce06e3f639db2da3977 | [
"MIT"
] | null | null | null | day14.py | dos1/AoC21 | 9095b96b831aac76cb9f0ce06e3f639db2da3977 | [
"MIT"
] | null | null | null | def I(d,i,v):d[i]=d.setdefault(i,0)+v
L=open("inputday14").readlines();t,d,p=L[0],dict([l.strip().split(' -> ')for l in L[2:]]),{};[I(p,t[i:i+2],1)for i in range(len(t)-2)]
def E(P):o=dict(P);[(I(P,p,-o[p]),I(P,p[0]+n,o[p]),I(P,n+p[1],o[p]))for p,n in d.items()if p in o.keys()];return P
def C(P):e={};[I(e,c,v)for p,v i... | 75.5 | 134 | 0.547461 | 129 | 453 | 1.922481 | 0.294574 | 0.032258 | 0.03629 | 0.08871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038278 | 0.077263 | 453 | 5 | 135 | 90.6 | 0.555024 | 0 | 0 | 0 | 0 | 0 | 0.030905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.6 | false | 0 | 0 | 0 | 0.6 | 0.2 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
21f53aba046b659c91bf763398dadb13c3006f7a | 82 | py | Python | 2017.TensorFlow&Python/2.python_syntax/test10.py | primetong/LearningCollectionOfWitt | a15dc8ac80618a3995c2b930c634b87ed8f1f0af | [
"MIT"
] | null | null | null | 2017.TensorFlow&Python/2.python_syntax/test10.py | primetong/LearningCollectionOfWitt | a15dc8ac80618a3995c2b930c634b87ed8f1f0af | [
"MIT"
] | 14 | 2020-06-30T20:52:56.000Z | 2022-03-02T14:53:18.000Z | 2017.TensorFlow&Python/2.python_syntax/test10.py | primetong/LearningCollectionOfWitt | a15dc8ac80618a3995c2b930c634b87ed8f1f0af | [
"MIT"
] | null | null | null | import os
a = os.path.abspath('.')
for filename in os.listdir(a):
print filename
| 16.4 | 30 | 0.707317 | 14 | 82 | 4.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 4 | 31 | 20.5 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0dfe026616e5a537c4c4e00665aa901d409c2565 | 138 | py | Python | eastbot/__init__.py | nexusz99/eastpot_slackbot | d7e67abf6f722cdcd06a39d4f6d89d920d7f2e25 | [
"Apache-2.0"
] | null | null | null | eastbot/__init__.py | nexusz99/eastpot_slackbot | d7e67abf6f722cdcd06a39d4f6d89d920d7f2e25 | [
"Apache-2.0"
] | null | null | null | eastbot/__init__.py | nexusz99/eastpot_slackbot | d7e67abf6f722cdcd06a39d4f6d89d920d7f2e25 | [
"Apache-2.0"
] | null | null | null | from apscheduler.schedulers.background import BackgroundScheduler
from slackbot.bot import Bot
sched = BackgroundScheduler()
bot = Bot() | 23 | 65 | 0.826087 | 15 | 138 | 7.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 138 | 6 | 66 | 23 | 0.926829 | 0 | 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 |
df2082c8994361a6c2e1ea094b2e6bff4292282e | 1,548 | py | Python | NoteBooks/Curso de Python/Python/Examples/High_Patterns/Patrones de diseño/Estructurales/Adapter.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | 1 | 2021-02-26T13:12:22.000Z | 2021-02-26T13:12:22.000Z | NoteBooks/Curso de Python/Python/Examples/High_Patterns/Patrones de diseño/Estructurales/Adapter.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | NoteBooks/Curso de Python/Python/Examples/High_Patterns/Patrones de diseño/Estructurales/Adapter.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | '''
Este snipet tiene como propósito revisar lso conceptos el patrón de diseño adaptador.
'''
class Korean:
def __ini__(self):
self.name ="Korean"
def speak_korean(self):
return "An-neyong?"
class British:
'''English spear'''
def __init__(self):
self.name ="British"
... | 24.571429 | 105 | 0.649871 | 190 | 1,548 | 5.084211 | 0.526316 | 0.034161 | 0.024845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000863 | 0.251292 | 1,548 | 63 | 106 | 24.571429 | 0.832614 | 0.381783 | 0 | 0 | 0 | 0 | 0.053885 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0.26087 | false | 0 | 0 | 0.086957 | 0.521739 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
df2c7d0bb93d126d91f0e1f6dc37cb5f7855e990 | 82 | py | Python | pygamebook/SourceCode_PyGame/File Input Output/readmyself_rstrip.py | satrapade/sofia | f8903eb48a88eb9575823b4fe9f61435b882cdd4 | [
"MIT"
] | null | null | null | pygamebook/SourceCode_PyGame/File Input Output/readmyself_rstrip.py | satrapade/sofia | f8903eb48a88eb9575823b4fe9f61435b882cdd4 | [
"MIT"
] | 9 | 2018-06-18T11:17:44.000Z | 2018-06-19T21:00:48.000Z | pygamebook/SourceCode_PyGame/File Input Output/readmyself_rstrip.py | satrapade/sofia | f8903eb48a88eb9575823b4fe9f61435b882cdd4 | [
"MIT"
] | null | null | null | import os
f = open('readmyself.py', 'r')
for line in f:
print line,
f.close() | 13.666667 | 30 | 0.621951 | 15 | 82 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 82 | 6 | 31 | 13.666667 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df507194a9b78951826034e5e5ad1e47787f90be | 1,345 | py | Python | sysinv/cgts-client/cgts-client/cgtsclient/v1/iextoam.py | etaivan/stx-config | 281e1f110973f96e077645fb01f67b646fc253cc | [
"Apache-2.0"
] | 10 | 2020-02-07T18:57:44.000Z | 2021-09-11T10:29:34.000Z | sysinv/cgts-client/cgts-client/cgtsclient/v1/iextoam.py | etaivan/stx-config | 281e1f110973f96e077645fb01f67b646fc253cc | [
"Apache-2.0"
] | 1 | 2021-01-14T12:01:55.000Z | 2021-01-14T12:01:55.000Z | sysinv/cgts-client/cgts-client/cgtsclient/v1/iextoam.py | etaivan/stx-config | 281e1f110973f96e077645fb01f67b646fc253cc | [
"Apache-2.0"
] | 10 | 2020-10-13T08:37:46.000Z | 2022-02-09T00:21:25.000Z | #
# Copyright (c) 2013-2014 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
# -*- encoding: utf-8 -*-
#
from cgtsclient.common import base
from cgtsclient import exc
CREATION_ATTRIBUTES = ['extoamservers', 'forisystemid']
class iextoam(base.Resource):
def __repr__(self):
return "<ie... | 24.454545 | 61 | 0.601487 | 163 | 1,345 | 4.797546 | 0.392638 | 0.092072 | 0.038363 | 0.065217 | 0.140665 | 0.084399 | 0.084399 | 0.084399 | 0 | 0 | 0 | 0.017259 | 0.267658 | 1,345 | 54 | 62 | 24.907407 | 0.77665 | 0.150929 | 0 | 0 | 0 | 0 | 0.06366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0 | 0.066667 | 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 |
df831b720e11ab51a02a48d1e4db6e52906f815e | 885 | py | Python | alerter/src/monitorables/nodes/node.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 41 | 2019-08-23T12:40:42.000Z | 2022-03-28T11:06:02.000Z | alerter/src/monitorables/nodes/node.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 147 | 2019-08-30T22:09:48.000Z | 2022-03-30T08:46:26.000Z | alerter/src/monitorables/nodes/node.py | SimplyVC/panic | 2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d | [
"Apache-2.0"
] | 3 | 2019-09-03T21:12:28.000Z | 2021-08-18T14:27:56.000Z | from abc import abstractmethod, ABC
from typing import Any
class Node(ABC):
def __init__(self, node_name: str, node_id: str, parent_id: str) -> None:
self._node_name = node_name
self._node_id = node_id
self._parent_id = parent_id
def __str__(self) -> str:
return self._node_nam... | 23.289474 | 77 | 0.633898 | 123 | 885 | 4.113821 | 0.203252 | 0.158103 | 0.142292 | 0.134387 | 0.413043 | 0.205534 | 0.106719 | 0 | 0 | 0 | 0 | 0 | 0.272316 | 885 | 37 | 78 | 23.918919 | 0.785714 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.037037 | 0.074074 | 0.185185 | 0.62963 | 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 |
10c31cb94a752244b1e3c2554ce2f87592641186 | 177 | py | Python | sak_sql/setup.py | lodrion/sak | 1ab2b151cb61688696dbc0c432420350136ba9ad | [
"MIT"
] | null | null | null | sak_sql/setup.py | lodrion/sak | 1ab2b151cb61688696dbc0c432420350136ba9ad | [
"MIT"
] | null | null | null | sak_sql/setup.py | lodrion/sak | 1ab2b151cb61688696dbc0c432420350136ba9ad | [
"MIT"
] | null | null | null | from setuptools import find_packages, setup
setup(
name='sak-sql',
version='0.0.1',
packages=find_packages(),
install_requires=[
"sqlalchemy"
],
)
| 14.75 | 43 | 0.621469 | 20 | 177 | 5.35 | 0.75 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.242938 | 177 | 11 | 44 | 16.090909 | 0.776119 | 0 | 0 | 0 | 0 | 0 | 0.124294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 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 |
10c50aaff57ece032b6b4157ee1e3745167966b6 | 1,418 | py | Python | floyd_warshall.py | sara-02/dsa_sg | 7c34b17772db728419070d35664ad75c67645b1e | [
"MIT"
] | null | null | null | floyd_warshall.py | sara-02/dsa_sg | 7c34b17772db728419070d35664ad75c67645b1e | [
"MIT"
] | null | null | null | floyd_warshall.py | sara-02/dsa_sg | 7c34b17772db728419070d35664ad75c67645b1e | [
"MIT"
] | null | null | null | INF = 999999
class FloydWarshall(object):
def __init__(self, num_vertices):
self.dist = [[INF] * num_vertices for i in range(num_vertices)]
self.num_vertices = num_vertices
@classmethod
def get_graph_size(cls, graph_row):
return len(graph_row)
def initial_dist(self, graph):
... | 27.269231 | 71 | 0.527504 | 185 | 1,418 | 3.827027 | 0.232432 | 0.217514 | 0.190678 | 0.138418 | 0.322034 | 0.289548 | 0.285311 | 0.231638 | 0.231638 | 0.231638 | 0 | 0.017448 | 0.353315 | 1,418 | 51 | 72 | 27.803922 | 0.754635 | 0 | 0 | 0.15 | 0 | 0 | 0.009168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
10fbfb348a160188f309e723551e25ae198980b6 | 1,144 | py | Python | hwtGraph/elk/fromHwt/defauts.py | Nic30/hwtGraph | d11535d61ee8c1357720e502ac254c9dbf6dab7d | [
"MIT"
] | 6 | 2018-06-20T21:28:51.000Z | 2022-03-16T18:06:39.000Z | hwtGraph/elk/fromHwt/defauts.py | Nic30/hwtGraph | d11535d61ee8c1357720e502ac254c9dbf6dab7d | [
"MIT"
] | 2 | 2021-01-05T09:13:52.000Z | 2021-03-15T22:17:07.000Z | hwtGraph/elk/fromHwt/defauts.py | Nic30/hwtGraph | d11535d61ee8c1357720e502ac254c9dbf6dab7d | [
"MIT"
] | null | null | null | from hwt.synthesizer.dummyPlatform import DummyPlatform
from hwtGraph.elk.fromHwt.extractSplits import extractSplits
from hwtGraph.elk.fromHwt.flattenTrees import flattenTrees
from hwtGraph.elk.fromHwt.mergeSplitsOnInterfaces import mergeSplitsOnInterfaces
from hwtGraph.elk.fromHwt.netlistPreprocessors import unhideRes... | 40.857143 | 105 | 0.846154 | 95 | 1,144 | 10.147368 | 0.347368 | 0.099585 | 0.124481 | 0.182573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 1,144 | 27 | 106 | 42.37037 | 0.934109 | 0.02535 | 0 | 0 | 0 | 0 | 0.01259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.409091 | 0 | 0.409091 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
800c7a6103e8a74ffeb1ed325cf2415ad7ffda51 | 539 | py | Python | app/api/data/tests/test_friend.py | rummens1337/federated-social-network | e9b15342e7640a0b154787303c8660fa75acba14 | [
"MIT"
] | null | null | null | app/api/data/tests/test_friend.py | rummens1337/federated-social-network | e9b15342e7640a0b154787303c8660fa75acba14 | [
"MIT"
] | null | null | null | app/api/data/tests/test_friend.py | rummens1337/federated-social-network | e9b15342e7640a0b154787303c8660fa75acba14 | [
"MIT"
] | null | null | null | # from flask import Blueprint, request
# from app.api.utils import good_json_response, bad_json_response
# import requests
# blueprint.route('/add', methods=['POST'])
def test_register():
pass
# url = 'http://localhost:5000/json'
# resp = requests.get(url)
# assert resp.status_code == 200
# assert... | 17.966667 | 65 | 0.643785 | 70 | 539 | 4.785714 | 0.571429 | 0.062687 | 0.083582 | 0.107463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023095 | 0.19666 | 539 | 29 | 66 | 18.586207 | 0.750577 | 0.636364 | 0 | 0.222222 | 0 | 0 | 0.048649 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.444444 | false | 0.222222 | 0 | 0.111111 | 0.555556 | 0.111111 | 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 |
80101bbd94c02d1585a9392dd98b40bfa9499de0 | 423 | py | Python | mymm/__init__.py | jbardhan/molman | 6dcf9e15a769363c87b2d3532baba249ac0f0b82 | [
"MIT"
] | null | null | null | mymm/__init__.py | jbardhan/molman | 6dcf9e15a769363c87b2d3532baba249ac0f0b82 | [
"MIT"
] | null | null | null | mymm/__init__.py | jbardhan/molman | 6dcf9e15a769363c87b2d3532baba249ac0f0b82 | [
"MIT"
] | null | null | null | import os, sys, subprocess, re
from .atom import *
from .molecule import *
from .namd import *
from .fepoptions import *
from .mutator import *
from .spheresolute import *
from .titrationdata import *
from .titrationstate import *
from .chargingfepinput import *
from .selector import *
from .patch import *
from .radii... | 22.263158 | 31 | 0.751773 | 53 | 423 | 6 | 0.415094 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165485 | 423 | 18 | 32 | 23.5 | 0.90085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
801b2b0f4542d347f10be305c1e8b55ff71e0d79 | 1,520 | py | Python | smspdu/smspdu/__main__.py | cclauss/CommunityCellularManager | 4a4e951b03380dcf5f16091d33bc52afbb3eca21 | [
"BSD-3-Clause"
] | 84 | 2016-11-03T20:51:09.000Z | 2018-09-13T04:36:18.000Z | smspdu/smspdu/__main__.py | cclauss/CommunityCellularManager | 4a4e951b03380dcf5f16091d33bc52afbb3eca21 | [
"BSD-3-Clause"
] | 79 | 2016-11-10T06:30:58.000Z | 2018-06-01T14:29:39.000Z | smspdu/smspdu/__main__.py | cclauss/CommunityCellularManager | 4a4e951b03380dcf5f16091d33bc52afbb3eca21 | [
"BSD-3-Clause"
] | 37 | 2016-11-03T22:53:22.000Z | 2018-09-07T15:32:16.000Z | #!/usr/bin/env python3
"""
Copyright (c) 2016-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
"""
from... | 42.222222 | 79 | 0.764474 | 239 | 1,520 | 4.828452 | 0.556485 | 0.076257 | 0.017331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007955 | 0.173026 | 1,520 | 35 | 80 | 43.428571 | 0.910103 | 0.909868 | 0 | 0 | 0 | 0 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8027d63aecfb0a5f9af1d3155c791bf1d6f70f14 | 263 | py | Python | modules/pm.py | freakyLuffy/Teleuserbot | d5871e919b37d6b63de7e3115fd9d1d3bb6ce33b | [
"MIT"
] | null | null | null | modules/pm.py | freakyLuffy/Teleuserbot | d5871e919b37d6b63de7e3115fd9d1d3bb6ce33b | [
"MIT"
] | null | null | null | modules/pm.py | freakyLuffy/Teleuserbot | d5871e919b37d6b63de7e3115fd9d1d3bb6ce33b | [
"MIT"
] | 1 | 2021-09-06T08:57:43.000Z | 2021-09-06T08:57:43.000Z | from start import client
from telethon import events
@client.on(events.NewMessage(incoming=True, func=lambda e: e.is_private))
async def my_event_handler(event):
if event.chat_id not in white:
await client.send_message(event.chat_id,CUSTOM_TEXT['pm']) | 43.833333 | 73 | 0.775665 | 43 | 263 | 4.581395 | 0.744186 | 0.091371 | 0.111675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125475 | 263 | 6 | 74 | 43.833333 | 0.856522 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
80576b9e520fcec90a0191aa2686d17a6fdf6fe4 | 371 | py | Python | ch06/06_15.py | TeikyungKim/book-cryptocurrency | c44459a5ef5ca1d0d4d552472b85d75573bebb07 | [
"Apache-2.0"
] | 121 | 2019-03-23T13:53:06.000Z | 2022-03-28T15:15:03.000Z | ch06/06_15.py | TeikyungKim/book-cryptocurrency | c44459a5ef5ca1d0d4d552472b85d75573bebb07 | [
"Apache-2.0"
] | 3 | 2021-04-14T14:31:26.000Z | 2021-05-09T13:46:14.000Z | ch06/06_15.py | TeikyungKim/book-cryptocurrency | c44459a5ef5ca1d0d4d552472b85d75573bebb07 | [
"Apache-2.0"
] | 114 | 2019-03-21T13:43:03.000Z | 2022-03-31T18:42:11.000Z | import time
import datetime
now = datetime.datetime.now()
mid = datetime.datetime(now.year, now.month, now.day) + datetime.timedelta(1)
while True:
now = datetime.datetime.now()
if mid < now < mid + datetime.timedelta(seconds=10) :
print("정각입니다")
mid = datetime.datetime(now.year, now.month, n... | 26.5 | 85 | 0.673854 | 51 | 371 | 4.901961 | 0.352941 | 0.22 | 0.304 | 0.176 | 0.464 | 0.464 | 0.464 | 0.464 | 0.464 | 0.464 | 0 | 0.016556 | 0.185984 | 371 | 13 | 86 | 28.538462 | 0.811258 | 0 | 0 | 0.4 | 0 | 0 | 0.013477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3392f9eb4b53cd3a18f27e745776ec923137b486 | 238 | py | Python | output/models/nist_data/list_pkg/ncname/schema_instance/nistschema_sv_iv_list_ncname_pattern_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/list_pkg/ncname/schema_instance/nistschema_sv_iv_list_ncname_pattern_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/list_pkg/ncname/schema_instance/nistschema_sv_iv_list_ncname_pattern_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.list_pkg.ncname.schema_instance.nistschema_sv_iv_list_ncname_pattern_2_xsd.nistschema_sv_iv_list_ncname_pattern_2 import NistschemaSvIvListNcnamePattern2
__all__ = [
"NistschemaSvIvListNcnamePattern2",
]
| 39.666667 | 182 | 0.886555 | 29 | 238 | 6.586207 | 0.655172 | 0.125654 | 0.146597 | 0.188482 | 0.335079 | 0.335079 | 0.335079 | 0 | 0 | 0 | 0 | 0.017857 | 0.058824 | 238 | 5 | 183 | 47.6 | 0.834821 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 0.134454 | 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 |
339d026962fbdb096e0ee1965911c5aed4384a09 | 159 | py | Python | sesion28/tictactoe/core/routing.py | joelibaceta/backend-codigo-10 | 75256580ce9975bcfa831fde884362787d82b71f | [
"MIT"
] | 1 | 2021-11-23T03:05:23.000Z | 2021-11-23T03:05:23.000Z | sesion28/tictactoe/core/routing.py | joelibaceta/backend-codigo-10 | 75256580ce9975bcfa831fde884362787d82b71f | [
"MIT"
] | 1 | 2021-11-23T02:49:01.000Z | 2021-11-23T02:55:14.000Z | sesion28/tictactoe/core/routing.py | joelibaceta/backend-codigo-10 | 75256580ce9975bcfa831fde884362787d82b71f | [
"MIT"
] | 1 | 2022-01-26T19:54:33.000Z | 2022-01-26T19:54:33.000Z | from django.conf.urls import url
from core.consumer import TicTacToeConsumer
websocket_urlpatterns = [
url(r'^ws/play/$', TicTacToeConsumer.as_asgi())
] | 19.875 | 51 | 0.761006 | 20 | 159 | 5.95 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 8 | 52 | 19.875 | 0.856115 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 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 |
33a092f53a8bc5888be974799c120b8dea9282a2 | 8,431 | py | Python | source/rttov_test/profile-datasets-py/div52_zen50deg/038.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | source/rttov_test/profile-datasets-py/div52_zen50deg/038.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T12:19:59.000Z | 2022-03-12T12:19:59.000Z | source/rttov_test/profile-datasets-py/div52_zen50deg/038.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | """
Profile ../profile-datasets-py/div52_zen50deg/038.py
file automaticaly created by prof_gen.py script
"""
self["ID"] = "../profile-datasets-py/div52_zen50deg/038.py"
self["Q"] = numpy.array([ 1.619327, 5.956785, 4.367512, 5.966544, 5.988635,
7.336613, 6.150054, 10.02425 , ... | 55.104575 | 92 | 0.552129 | 1,291 | 8,431 | 3.601859 | 0.469404 | 0.027097 | 0.03871 | 0.051183 | 0.05914 | 0.053978 | 0.042796 | 0.027742 | 0.027742 | 0.027742 | 0 | 0.663324 | 0.278496 | 8,431 | 152 | 93 | 55.467105 | 0.101101 | 0.012335 | 0 | 0.014388 | 0 | 0 | 0.030081 | 0.005294 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33a3ee095d9406fe660570aebe62ca788d5da6af | 207 | py | Python | modules/stage_1.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | 3 | 2022-01-14T01:55:25.000Z | 2022-03-30T01:08:16.000Z | modules/stage_1.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | null | null | null | modules/stage_1.py | ElijahBeach/C2-Server-Project | 89e6d418790493aa222cca5b6ea7f3f519e4e478 | [
"MIT"
] | 2 | 2022-01-15T14:30:55.000Z | 2022-01-15T16:04:15.000Z | import json
def run(**args):
print('[$] Enter stage 1')
basic_config =json.dumps([{"module" : "dir_lister"},{"module" : "enviro"},{"module" : "sleep"},{"module" : "stage_2_qrw"}])
return basic_config
| 29.571429 | 125 | 0.63285 | 27 | 207 | 4.666667 | 0.740741 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.130435 | 207 | 6 | 126 | 34.5 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0.352657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
33aa8315bfe8d7a1e0fa6fd460a2c19cb2e4da53 | 1,182 | py | Python | pyfileconf_datacode/dchooks.py | nickderobertis/pyfileconf-datacode | cb9b8cdaca7cc680c9c75d748a024efc13b4a308 | [
"MIT"
] | null | null | null | pyfileconf_datacode/dchooks.py | nickderobertis/pyfileconf-datacode | cb9b8cdaca7cc680c9c75d748a024efc13b4a308 | [
"MIT"
] | 2 | 2021-12-20T00:10:31.000Z | 2021-12-20T00:10:32.000Z | pyfileconf_datacode/dchooks.py | nickderobertis/pyfileconf-datacode | cb9b8cdaca7cc680c9c75d748a024efc13b4a308 | [
"MIT"
] | null | null | null | """
Hooks into datacode to update pyfileconf context with datacode operations
"""
from typing import Optional
import datacode.hooks as dc_hooks
from datacode.models.pipeline.operations.operation import DataOperation
from pyfileconf import context
def update_pfc_context_to_pipeline_section_path(operation: DataOperati... | 31.105263 | 88 | 0.773266 | 157 | 1,182 | 5.55414 | 0.382166 | 0.061927 | 0.091743 | 0.103211 | 0.383028 | 0.268349 | 0.211009 | 0 | 0 | 0 | 0 | 0 | 0.163283 | 1,182 | 37 | 89 | 31.945946 | 0.881699 | 0.401861 | 0 | 0 | 0 | 0 | 0.077519 | 0.077519 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
33d044b0f48623a2e8a3f707f4fd9b01cf4e5e04 | 1,637 | py | Python | Swing/util/Scanmap.py | jiawu/Roller | a70e350905a59c2254dcefda7ab23c6417cf8f7d | [
"MIT"
] | null | null | null | Swing/util/Scanmap.py | jiawu/Roller | a70e350905a59c2254dcefda7ab23c6417cf8f7d | [
"MIT"
] | 2 | 2015-07-13T18:51:22.000Z | 2015-07-16T15:35:24.000Z | Swing/util/Scanmap.py | jiawu/Roller | a70e350905a59c2254dcefda7ab23c6417cf8f7d | [
"MIT"
] | null | null | null | class Scanmap:
"""A heatmap and line plot combined into one figure"""
def __init__(self, dim = None):
if dim:
self.set_dimensions(dim)
else:
default_dim = { 'gp_left': 0.2,
'gp_bottom': 0.1,
'gp_width': 0.7,
... | 38.97619 | 347 | 0.45449 | 212 | 1,637 | 3.363208 | 0.504717 | 0.01683 | 0.047686 | 0.025245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214778 | 0.379963 | 1,637 | 41 | 348 | 39.926829 | 0.487685 | 0 | 0 | 0 | 0 | 0 | 0.100194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33d252fe0327d46a0f541037910a341692b0b42d | 163 | py | Python | ML_Chinahadoop/04/code/test/test3.py | lsieun/learn-AI | 0a164bc2e6317de3aa03c747c0e6f15d93e7f49a | [
"Apache-2.0"
] | 1 | 2019-03-27T23:22:44.000Z | 2019-03-27T23:22:44.000Z | ML_Chinahadoop/04/code/test/test3.py | lsieun/learn-AI | 0a164bc2e6317de3aa03c747c0e6f15d93e7f49a | [
"Apache-2.0"
] | null | null | null | ML_Chinahadoop/04/code/test/test3.py | lsieun/learn-AI | 0a164bc2e6317de3aa03c747c0e6f15d93e7f49a | [
"Apache-2.0"
] | null | null | null | #coding:utf-8
import numpy as np
# d = np.random.rand(5) # [0, 1)
d = np.random.rand(5,3)
print(d)
print(d.shape)
x = [2,3]
t = tuple(x)
print(t)
print(type(t)) | 12.538462 | 32 | 0.607362 | 36 | 163 | 2.75 | 0.583333 | 0.060606 | 0.181818 | 0.262626 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.165644 | 163 | 13 | 33 | 12.538462 | 0.669118 | 0.257669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.5 | 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 |
33dc1874ceed63291aedd783dca53879f4114561 | 1,077 | py | Python | insights/parsers/tests/test_neutron_ovs_agent_log.py | mglantz/insights-core | 6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4 | [
"Apache-2.0"
] | 121 | 2017-05-30T20:23:25.000Z | 2022-03-23T12:52:15.000Z | insights/parsers/tests/test_neutron_ovs_agent_log.py | mglantz/insights-core | 6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4 | [
"Apache-2.0"
] | 1,977 | 2017-05-26T14:36:03.000Z | 2022-03-31T10:38:53.000Z | insights/parsers/tests/test_neutron_ovs_agent_log.py | mglantz/insights-core | 6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4 | [
"Apache-2.0"
] | 244 | 2017-05-30T20:22:57.000Z | 2022-03-26T10:09:39.000Z | from insights.parsers.neutron_ovs_agent_log import NeutronOVSAgentLog
from insights.tests import context_wrap
from datetime import datetime
LOG = """
2016-11-09 14:39:25.348 3153 WARNING oslo_config.cfg [-] Option "rabbit_password" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silent... | 56.684211 | 193 | 0.774373 | 180 | 1,077 | 4.505556 | 0.422222 | 0.04439 | 0.049322 | 0.061652 | 0.538841 | 0.538841 | 0.504316 | 0.504316 | 0.461159 | 0.367448 | 0 | 0.127368 | 0.11792 | 1,077 | 18 | 194 | 59.833333 | 0.726316 | 0 | 0 | 0 | 0 | 0.357143 | 0.67688 | 0.153203 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.071429 | false | 0.071429 | 0.214286 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
33de7fea4433b78d4b5d4914f3c786cf038c352c | 62 | py | Python | test/login.py | smartliit/gz02 | d6ccc2137538eb9035a08ee0e53b15c8cfaffc6b | [
"MIT"
] | null | null | null | test/login.py | smartliit/gz02 | d6ccc2137538eb9035a08ee0e53b15c8cfaffc6b | [
"MIT"
] | null | null | null | test/login.py | smartliit/gz02 | d6ccc2137538eb9035a08ee0e53b15c8cfaffc6b | [
"MIT"
] | null | null | null | num = 1
num1 = 10
num2 = 20
num3 = 40
num3 = 30
num4 = 50
| 5.636364 | 9 | 0.548387 | 12 | 62 | 2.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.354839 | 62 | 10 | 10 | 6.2 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33e4384b255fb7af165ebd7c743b407be5757e1e | 100 | py | Python | fig/example_traceback.py | bagrow/WhirlwindTourOfPython | bd77cbd8b6a68f5b854d2b29ed266d36c8170d77 | [
"CC0-1.0"
] | 7 | 2017-01-16T19:36:35.000Z | 2021-11-08T08:54:35.000Z | fig/example_traceback.py | bagrow/WhirlwindTourOfPython | bd77cbd8b6a68f5b854d2b29ed266d36c8170d77 | [
"CC0-1.0"
] | null | null | null | fig/example_traceback.py | bagrow/WhirlwindTourOfPython | bd77cbd8b6a68f5b854d2b29ed266d36c8170d77 | [
"CC0-1.0"
] | null | null | null | # example_traceback.py
def loader(filename):
fin = open(filenam)
loader("data/result_ab.txt")
| 14.285714 | 28 | 0.72 | 14 | 100 | 5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 6 | 29 | 16.666667 | 0.813953 | 0.2 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33f694b2af13996c72f3d160e40aa32e1652a122 | 439 | py | Python | Appointmast/pages/migrations/0009_auto_20190911_0029.py | Paresh98000/AppointMaster | c17cf43456cfadfbb90bd99c714ea7f84d51b340 | [
"bzip2-1.0.6"
] | null | null | null | Appointmast/pages/migrations/0009_auto_20190911_0029.py | Paresh98000/AppointMaster | c17cf43456cfadfbb90bd99c714ea7f84d51b340 | [
"bzip2-1.0.6"
] | 11 | 2020-06-05T23:13:03.000Z | 2022-03-11T23:59:58.000Z | Appointmast/pages/migrations/0009_auto_20190911_0029.py | Paresh98000/AppointMaster | c17cf43456cfadfbb90bd99c714ea7f84d51b340 | [
"bzip2-1.0.6"
] | null | null | null | # Generated by Django 2.2.2 on 2019-09-10 18:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('pages', '0008_auto_20190911_0021'),
]
operations = [
migrations.RemoveField(
model_name='appointment',
name='city',
... | 19.954545 | 47 | 0.567198 | 42 | 439 | 5.809524 | 0.690476 | 0.016393 | 0.213115 | 0.245902 | 0.368852 | 0.368852 | 0 | 0 | 0 | 0 | 0 | 0.104027 | 0.321185 | 439 | 21 | 48 | 20.904762 | 0.714765 | 0.102506 | 0 | 0.4 | 1 | 0 | 0.158163 | 0.058673 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 |
1d1cca8eb9833144e8a286f6736f6f6ae5462a63 | 2,745 | py | Python | InventorySystem/order/migrations/0014_auto_20210628_0012.py | guyueming/PythonWeb | e8a38fc26c06ec78e1de61d65055dcfc480ef8f1 | [
"MIT"
] | null | null | null | InventorySystem/order/migrations/0014_auto_20210628_0012.py | guyueming/PythonWeb | e8a38fc26c06ec78e1de61d65055dcfc480ef8f1 | [
"MIT"
] | null | null | null | InventorySystem/order/migrations/0014_auto_20210628_0012.py | guyueming/PythonWeb | e8a38fc26c06ec78e1de61d65055dcfc480ef8f1 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.3 on 2021-06-27 16:12
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('skin', '0003_skinmodel_factory'),
('paper', '0003_auto_20210618_0709'),
('order', '0013_ordernumbermodel_ord... | 38.125 | 175 | 0.598179 | 277 | 2,745 | 5.772563 | 0.270758 | 0.137586 | 0.171982 | 0.1995 | 0.762351 | 0.72858 | 0.540338 | 0.540338 | 0.449031 | 0.417136 | 0 | 0.02739 | 0.268488 | 2,745 | 71 | 176 | 38.661972 | 0.768924 | 0.016393 | 0 | 0.538462 | 1 | 0 | 0.141216 | 0.02854 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d34af5080c27fee9894d1dd5eac6c33f3446666 | 3,370 | py | Python | Code/controller/bridge/carla/sensor/GNSSSensor.py | tum-esi/attack_generation_framework | 5fe1fbdca7491677e57f019ab83b8b726ea50f95 | [
"MIT"
] | null | null | null | Code/controller/bridge/carla/sensor/GNSSSensor.py | tum-esi/attack_generation_framework | 5fe1fbdca7491677e57f019ab83b8b726ea50f95 | [
"MIT"
] | null | null | null | Code/controller/bridge/carla/sensor/GNSSSensor.py | tum-esi/attack_generation_framework | 5fe1fbdca7491677e57f019ab83b8b726ea50f95 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Avoid cyclic imports while using type hints
from __future__ import annotations
# Imports
import numpy as np
import math
import carla
from bridge.carla.core.VectorData import VectorData
from bridge.carla.core.Unit import Unit
from bridge.carla.sensor.Sensor import Sensor
... | 38.295455 | 121 | 0.680712 | 446 | 3,370 | 4.867713 | 0.262332 | 0.077384 | 0.066329 | 0.05251 | 0.422847 | 0.422847 | 0.315062 | 0.315062 | 0.306771 | 0.306771 | 0 | 0.003383 | 0.210682 | 3,370 | 87 | 122 | 38.735632 | 0.812782 | 0.120178 | 0 | 0 | 0 | 0 | 0.095303 | 0.007488 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.122449 | 0.571429 | 0.163265 | 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 |
1d5209bc43edb0cef67c19d935b4bdff1c153cba | 367 | py | Python | src/__init__.py | Fernando-Montes/TimeSeries | 45e882b33f4a7e1fed6d0de491f32cfb31278cb5 | [
"MIT"
] | null | null | null | src/__init__.py | Fernando-Montes/TimeSeries | 45e882b33f4a7e1fed6d0de491f32cfb31278cb5 | [
"MIT"
] | null | null | null | src/__init__.py | Fernando-Montes/TimeSeries | 45e882b33f4a7e1fed6d0de491f32cfb31278cb5 | [
"MIT"
] | null | null | null | # Importing all libraries
from src.models.utilities import *
from src.visualization.visualize import *
from src.models.RNN import *
from src.models.LSTM import *
import pandas as pd
import numpy as np
import itertools
from statsmodels.graphics import tsaplots
import matplotlib.pyplot as plt
from sklearn.metrics impor... | 22.9375 | 46 | 0.814714 | 54 | 367 | 5.5 | 0.592593 | 0.094276 | 0.131313 | 0.127946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125341 | 367 | 15 | 47 | 24.466667 | 0.925234 | 0.06267 | 0 | 0 | 0 | 0 | 0.020468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.909091 | 0 | 0.909091 | 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 |
1d6310e6f4999ff88b6080b65f9b222ecf73e177 | 119 | py | Python | config.py | PMA-2020/agile | ab1f5b93897a8fe0cc71714bcf1b710ce3927adc | [
"MIT"
] | null | null | null | config.py | PMA-2020/agile | ab1f5b93897a8fe0cc71714bcf1b710ce3927adc | [
"MIT"
] | null | null | null | config.py | PMA-2020/agile | ab1f5b93897a8fe0cc71714bcf1b710ce3927adc | [
"MIT"
] | null | null | null | """Config"""
import os
PKG_PATH = os.path.dirname(os.path.realpath(__file__)) + '/'
OUTPUT_DIR = PKG_PATH + 'output/'
| 19.833333 | 60 | 0.680672 | 17 | 119 | 4.352941 | 0.588235 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 5 | 61 | 23.8 | 0.704762 | 0.05042 | 0 | 0 | 0 | 0 | 0.074766 | 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 |
1d6f1a24b3aaa646e56ca4d6354b46891af42daa | 657 | py | Python | src/postal/settings.py | michael-hahn/django-postal | 082000839b20a8ee0aeaa6f8c76cc459409310e4 | [
"MIT"
] | 6 | 2015-01-07T10:01:00.000Z | 2020-03-23T21:28:12.000Z | src/postal/settings.py | michael-hahn/django-postal | 082000839b20a8ee0aeaa6f8c76cc459409310e4 | [
"MIT"
] | 5 | 2015-02-24T08:09:16.000Z | 2015-11-25T10:02:07.000Z | src/postal/settings.py | michael-hahn/django-postal | 082000839b20a8ee0aeaa6f8c76cc459409310e4 | [
"MIT"
] | 8 | 2015-01-30T05:49:54.000Z | 2021-08-17T22:06:33.000Z | from django.conf import settings
from django.utils.translation import ugettext_lazy as _
POSTAL_ADDRESS_L10N = getattr(settings, 'POSTAL_ADDRESS_L10N', True)
# each address line is a tuple of format (field_label, required)
POSTAL_ADDRESS_LINE1 = getattr(settings, "POSTAL_ADDRESS_LINE1", (_(u"Street"), False))
POSTAL_... | 59.727273 | 87 | 0.783866 | 89 | 657 | 5.426966 | 0.393258 | 0.322981 | 0.26087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013356 | 0.08828 | 657 | 11 | 88 | 59.727273 | 0.792988 | 0.094368 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
1d723a23b9bf3bdf90138946e21473ba46af1b58 | 129 | py | Python | src/main/python/rgb_effects/common/display_signals.py | alu0101233598/VPC2122 | 7c2ed0bb3309d20b6dd4798027290e2848840612 | [
"ISC"
] | null | null | null | src/main/python/rgb_effects/common/display_signals.py | alu0101233598/VPC2122 | 7c2ed0bb3309d20b6dd4798027290e2848840612 | [
"ISC"
] | 10 | 2021-12-10T20:37:59.000Z | 2022-01-16T19:09:17.000Z | src/main/python/rgb_effects/common/display_signals.py | alu0101233598/VPC2122 | 7c2ed0bb3309d20b6dd4798027290e2848840612 | [
"ISC"
] | null | null | null | from PyQt5.QtCore import pyqtSignal, QObject
class DisplaySignals(QObject):
done = pyqtSignal(tuple)
error = pyqtSignal(str) | 25.8 | 44 | 0.782946 | 15 | 129 | 6.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.131783 | 129 | 5 | 45 | 25.8 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1d7599ec1e5692ac0ce7ed47842574b0c0767e65 | 290 | py | Python | Chap.17/17.4.py | joonion/daily-coding-problems | 8e313d28c3a989a41d87024588d38bd60a98b2c6 | [
"MIT"
] | null | null | null | Chap.17/17.4.py | joonion/daily-coding-problems | 8e313d28c3a989a41d87024588d38bd60a98b2c6 | [
"MIT"
] | null | null | null | Chap.17/17.4.py | joonion/daily-coding-problems | 8e313d28c3a989a41d87024588d38bd60a98b2c6 | [
"MIT"
] | null | null | null | def nth_sevenish_number(n):
answer, bit_place = 0, 0
while n > 0:
if n & 1 == 1:
answer += 7 ** bit_place
n >>= 1
bit_place += 1
return answer
# n = 1
# print(nth_sevenish_number(n))
for n in range(1, 10):
print(nth_sevenish_number(n))
| 19.333333 | 36 | 0.544828 | 46 | 290 | 3.23913 | 0.413043 | 0.221477 | 0.342282 | 0.362416 | 0.308725 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.331034 | 290 | 14 | 37 | 20.714286 | 0.706186 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d76618577dd3caa6129749e58d6fc645589cf23 | 556 | py | Python | pymatex/node/Integral.py | Gawaboumga/PyMatex | 3ccc0aa23211a064aa31a9b509b108cd606a4992 | [
"MIT"
] | 1 | 2019-03-05T09:45:04.000Z | 2019-03-05T09:45:04.000Z | pymatex/node/Integral.py | Gawaboumga/PyMatex | 3ccc0aa23211a064aa31a9b509b108cd606a4992 | [
"MIT"
] | null | null | null | pymatex/node/Integral.py | Gawaboumga/PyMatex | 3ccc0aa23211a064aa31a9b509b108cd606a4992 | [
"MIT"
] | null | null | null | from pymatex.listener import MatexASTVisitor
from pymatex.node.IterativeFunction import IterativeFunction, IterativeType
class Integral(IterativeFunction):
def __init__(self, variable, start_range, end_range, expression):
super().__init__(IterativeType.SUM, variable, start_range, end_range, expression)
... | 37.066667 | 119 | 0.735612 | 61 | 556 | 6.377049 | 0.459016 | 0.077121 | 0.092545 | 0.107969 | 0.18509 | 0.18509 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138489 | 556 | 14 | 120 | 39.714286 | 0.812109 | 0 | 0 | 0 | 0 | 0 | 0.052158 | 0.041367 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.222222 | 0.888889 | 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 |
1d8512d3ba0f35bc000e58936bd16d6cb08ae6bc | 207 | py | Python | esst/listener/__init__.py | etcher-be/esst | ac41cd0c07af8ca8532997f533756c529c9609a4 | [
"MIT"
] | 4 | 2018-06-24T14:03:44.000Z | 2019-01-21T01:20:02.000Z | esst/listener/__init__.py | etcher-be/esst | ac41cd0c07af8ca8532997f533756c529c9609a4 | [
"MIT"
] | 106 | 2018-06-24T13:59:52.000Z | 2019-11-26T09:05:14.000Z | esst/listener/__init__.py | theendsofinvention/esst | ac41cd0c07af8ca8532997f533756c529c9609a4 | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Manages a UDP socket and does two things:
1. Retrieve incoming messages from DCS and update :py:class:`esst.core.status.status`
2. Sends command to the DCS application via the socket
"""
| 25.875 | 85 | 0.748792 | 35 | 207 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017143 | 0.154589 | 207 | 7 | 86 | 29.571429 | 0.868571 | 0.951691 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d552476c75a5ad80a50b5a912fd1f4dce56e3bcd | 7,000 | py | Python | day19.py | ecnerwala/aoc-2019 | 9a8a273804395da1d269bea94f260e320946f26c | [
"CC0-1.0"
] | 5 | 2021-01-26T03:25:01.000Z | 2021-04-12T21:56:13.000Z | day19.py | ecnerwala/aoc-2019 | 9a8a273804395da1d269bea94f260e320946f26c | [
"CC0-1.0"
] | null | null | null | day19.py | ecnerwala/aoc-2019 | 9a8a273804395da1d269bea94f260e320946f26c | [
"CC0-1.0"
] | 1 | 2021-03-02T19:33:51.000Z | 2021-03-02T19:33:51.000Z | from functools import *
from collections import *
from itertools import *
from math import *
from sys import exit
from dataclasses import dataclass
import re
from builtins import pow
from heapq import heappush, heappop, heappushpop, heapify, heapreplace
import pyperclip
def cprint(a):
print(a)
pyperclip.copy(... | 31.818182 | 1,465 | 0.481714 | 1,129 | 7,000 | 2.894597 | 0.171833 | 0.011016 | 0.05508 | 0.029988 | 0.296512 | 0.223684 | 0.205936 | 0.160343 | 0.144431 | 0.134639 | 0 | 0.244829 | 0.364571 | 7,000 | 219 | 1,466 | 31.96347 | 0.489883 | 0.001 | 0 | 0.259459 | 0 | 0.005405 | 0.212672 | 0.209525 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.07027 | false | 0.005405 | 0.054054 | 0.005405 | 0.210811 | 0.048649 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d5602f60583a5ee8fff192152e26a808fb8ee237 | 208 | py | Python | boxes/__init__.py | gregbugaj/form-processor | 0c803de43a98b4a02efa956803e64793995256ff | [
"MIT"
] | null | null | null | boxes/__init__.py | gregbugaj/form-processor | 0c803de43a98b4a02efa956803e64793995256ff | [
"MIT"
] | 1 | 2021-11-09T11:11:32.000Z | 2021-11-09T11:11:32.000Z | boxes/__init__.py | gregbugaj/form-processor | 0c803de43a98b4a02efa956803e64793995256ff | [
"MIT"
] | null | null | null | """
Name : __init__.py
boxes module
This import path is important to allow importing correctly as package
"""
import os, sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '.')))
| 23.111111 | 81 | 0.735577 | 33 | 208 | 4.393939 | 0.727273 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005464 | 0.120192 | 208 | 8 | 82 | 26 | 0.786885 | 0.490385 | 0 | 0 | 0 | 0 | 0.010204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d5705b1544fe2fc2f711adfa0a90fc24288d51e3 | 110 | py | Python | backend/harmlessBuddy/harmlessBuddy/sentiment_analysis/apps.py | alecadub/ConUHacks5 | bf3329be7866a1943883a01bdc302baefab77c17 | [
"MIT"
] | null | null | null | backend/harmlessBuddy/harmlessBuddy/sentiment_analysis/apps.py | alecadub/ConUHacks5 | bf3329be7866a1943883a01bdc302baefab77c17 | [
"MIT"
] | 13 | 2020-06-05T20:43:05.000Z | 2022-03-02T07:06:10.000Z | backend/harmlessBuddy/harmlessBuddy/sentiment_analysis/apps.py | alecadub/ConUHacks5 | bf3329be7866a1943883a01bdc302baefab77c17 | [
"MIT"
] | 1 | 2020-10-14T06:48:32.000Z | 2020-10-14T06:48:32.000Z | from django.apps import AppConfig
class SentimentAnalysisConfig(AppConfig):
name = 'sentiment_analysis'
| 18.333333 | 41 | 0.8 | 11 | 110 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 42 | 22 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6337a1c9f62a8aa4d32a1a131f18b20efe00d460 | 295 | py | Python | example_test.py | dprogm/bazel_pybind_sample | 8e0813ac6ad7732b89213de379e5da39f6621f5a | [
"Apache-2.0"
] | 2 | 2020-10-22T09:27:05.000Z | 2021-11-12T13:42:27.000Z | example_test.py | dprogm/bazel_pybind_sample | 8e0813ac6ad7732b89213de379e5da39f6621f5a | [
"Apache-2.0"
] | null | null | null | example_test.py | dprogm/bazel_pybind_sample | 8e0813ac6ad7732b89213de379e5da39f6621f5a | [
"Apache-2.0"
] | 2 | 2021-11-12T13:41:49.000Z | 2022-03-01T13:58:35.000Z | import os
import sys
print('about to import', file=sys.stderr)
print('python is', sys.version_info)
print('pid is', os.getpid())
import my_pb_mod
print('imported, about to call', file=sys.stderr)
result = my_pb_mod.add(2, 3)
print(result)
assert result == 5
print('done!', file=sys.stderr)
| 17.352941 | 49 | 0.718644 | 51 | 295 | 4.058824 | 0.509804 | 0.101449 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.125424 | 295 | 16 | 50 | 18.4375 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.19661 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0 | false | 0 | 0.454545 | 0 | 0.454545 | 0.545455 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
634348f6beb8ae7a79d54c8ae7dedfc2a3eb5caf | 13,574 | py | Python | source/rttov_test/profile-datasets-py/div83/040.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | source/rttov_test/profile-datasets-py/div83/040.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T12:19:59.000Z | 2022-03-12T12:19:59.000Z | source/rttov_test/profile-datasets-py/div83/040.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | """
Profile ../profile-datasets-py/div83/040.py
file automaticaly created by prof_gen.py script
"""
self["ID"] = "../profile-datasets-py/div83/040.py"
self["Q"] = numpy.array([ 1.890026, 2.119776, 2.622053, 3.246729,
3.667537, 4.216342, 4.862296, 5.531749,
... | 57.516949 | 92 | 0.548549 | 2,008 | 13,574 | 3.706673 | 0.475598 | 0.022975 | 0.008867 | 0.004837 | 0.01451 | 0.01048 | 0 | 0 | 0 | 0 | 0 | 0.696544 | 0.292324 | 13,574 | 235 | 93 | 57.761702 | 0.078284 | 0.006999 | 0 | 0 | 0 | 0 | 0.018495 | 0.0026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
639b3be3ffc4882950b2537d142e6095224bc2ad | 596 | py | Python | lawyerd/products/management_/commands/domain_check.py | loobinsk/customer_project | 4f43d4c6db2c99926715ea16451511466569c4ae | [
"MIT"
] | null | null | null | lawyerd/products/management_/commands/domain_check.py | loobinsk/customer_project | 4f43d4c6db2c99926715ea16451511466569c4ae | [
"MIT"
] | null | null | null | lawyerd/products/management_/commands/domain_check.py | loobinsk/customer_project | 4f43d4c6db2c99926715ea16451511466569c4ae | [
"MIT"
] | null | null | null | from time import sleep
from django.core.management.base import BaseCommand, CommandError
# from products.tasks import domain_check
# class Command(BaseCommand):
# help = 'Check few site'
#
# # def add_arguments(self, parser):
# # parser.add_argument('poll_ids', nargs='+', type=int)
#
# def handle... | 27.090909 | 76 | 0.588926 | 72 | 596 | 4.777778 | 0.736111 | 0.063953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013953 | 0.278523 | 596 | 21 | 77 | 28.380952 | 0.786047 | 0.786913 | 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 |
63a695d16dd20d6dfc932a28143d90ee5bdb2056 | 2,167 | py | Python | src/api/models.py | Dr4kk0nnys/django-schedule-api | bcb83661f19847fbd9e6d9dc576010e837e612fd | [
"MIT"
] | 2 | 2020-10-24T20:33:44.000Z | 2020-10-29T18:24:01.000Z | src/api/models.py | Dr4kk0nnys/django-schedule-api | bcb83661f19847fbd9e6d9dc576010e837e612fd | [
"MIT"
] | null | null | null | src/api/models.py | Dr4kk0nnys/django-schedule-api | bcb83661f19847fbd9e6d9dc576010e837e612fd | [
"MIT"
] | null | null | null | from django.db import models
from django.core.validators import MaxValueValidator, MinValueValidator
class User(models.Model):
email = models.EmailField(default='No email provided.')
password = models.CharField(max_length=256, default='No password provided.')
token_id = models.CharField(max_length=256, de... | 26.108434 | 80 | 0.702353 | 265 | 2,167 | 5.535849 | 0.237736 | 0.153374 | 0.184049 | 0.245399 | 0.564417 | 0.486708 | 0.475801 | 0.398773 | 0.396046 | 0.361963 | 0 | 0.019274 | 0.185971 | 2,167 | 82 | 81 | 26.426829 | 0.812358 | 0 | 0 | 0.4 | 0 | 0 | 0.035994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127273 | false | 0.036364 | 0.036364 | 0.127273 | 0.945455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
63b087acaf36016c331bc3fdce37ca553a022ec4 | 511 | py | Python | src/users/models.py | vinay-pad/commit_service | 6f2113ba77fad6466969173c3e518ef565096920 | [
"MIT"
] | null | null | null | src/users/models.py | vinay-pad/commit_service | 6f2113ba77fad6466969173c3e518ef565096920 | [
"MIT"
] | null | null | null | src/users/models.py | vinay-pad/commit_service | 6f2113ba77fad6466969173c3e518ef565096920 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
from django.contrib.auth.models import AbstractUser
from rest_framework.authtoken.models import Token
from django.dispatch import receiver
from django.db.models.signals import post_save
from django.conf import settings
@receiver(post_save, sender=se... | 30.058824 | 70 | 0.812133 | 71 | 511 | 5.676056 | 0.507042 | 0.124069 | 0.059553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117417 | 511 | 16 | 71 | 31.9375 | 0.89357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.538462 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
63c52307946b28edaffca66cd20d561925cd8860 | 154 | py | Python | nautobot/core/management/commands/start.py | psmware-ltd/nautobot | ac516287fb8edcc3482bd011839de837c6bbf0df | [
"Apache-2.0"
] | 384 | 2021-02-24T01:40:40.000Z | 2022-03-30T10:30:59.000Z | nautobot/core/management/commands/start.py | psmware-ltd/nautobot | ac516287fb8edcc3482bd011839de837c6bbf0df | [
"Apache-2.0"
] | 1,067 | 2021-02-24T00:58:08.000Z | 2022-03-31T23:38:23.000Z | nautobot/core/management/commands/start.py | psmware-ltd/nautobot | ac516287fb8edcc3482bd011839de837c6bbf0df | [
"Apache-2.0"
] | 128 | 2021-02-24T02:45:16.000Z | 2022-03-20T18:48:36.000Z | from django_webserver.management.commands.pyuwsgi import Command as uWSGICommand
class Command(uWSGICommand):
help = "Start Nautobot uWSGI server."
| 25.666667 | 80 | 0.805195 | 18 | 154 | 6.833333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 5 | 81 | 30.8 | 0.91791 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
891d00de94862749b3d00d8d56f2a893158bdab0 | 1,474 | py | Python | hard-gists/e76e7c2a2aff228d7807/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 21 | 2019-07-08T08:26:45.000Z | 2022-01-24T23:53:25.000Z | hard-gists/e76e7c2a2aff228d7807/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 5 | 2019-06-15T14:47:47.000Z | 2022-02-26T05:02:56.000Z | hard-gists/e76e7c2a2aff228d7807/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 17 | 2019-05-16T03:50:34.000Z | 2021-01-14T14:35:12.000Z | # original file name: solve_sssa_attack.sage
from sage.all import *
p = 16857450949524777441941817393974784044780411511252189319
A = 16857450949524777441941817393974784044780411507861094535
B = 77986137112576
E = EllipticCurve(GF(p), [A, B])
print E.order() == p
g = E(57325601392581947645359999293253880415687327... | 23.774194 | 120 | 0.624152 | 222 | 1,474 | 4.094595 | 0.351351 | 0.030803 | 0.009901 | 0.026403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.362306 | 0.211669 | 1,474 | 61 | 121 | 24.163934 | 0.419966 | 0.103799 | 0 | 0 | 0 | 0 | 0.013699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.026316 | null | null | 0.078947 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8925ce37bab22ff983851fb7f4b5ffa1ebcbdb05 | 367 | py | Python | bmc/library.py | reich6534/SumoPY | fb03db75e3799bad2759c0017f8919893690b289 | [
"Apache-2.0"
] | null | null | null | bmc/library.py | reich6534/SumoPY | fb03db75e3799bad2759c0017f8919893690b289 | [
"Apache-2.0"
] | 4 | 2020-08-10T15:07:40.000Z | 2020-08-25T19:30:29.000Z | bmc/library.py | reich6534/SumoPY | fb03db75e3799bad2759c0017f8919893690b289 | [
"Apache-2.0"
] | 1 | 2020-06-19T14:21:26.000Z | 2020-06-19T14:21:26.000Z | class Library(object):
def __init__(self):
self.dictionary = {
"Micah": ["Judgement on Samaria and Judah", "Reason for the judgement", "Judgement on wicked leaders",
"Messianic Kingdom", "Birth of the Messiah", "Indictment 1, 2", "Promise of salvation"]
}
def get(self, b... | 36.7 | 114 | 0.618529 | 43 | 367 | 5.186047 | 0.72093 | 0.125561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00738 | 0.26158 | 367 | 9 | 115 | 40.777778 | 0.815498 | 0 | 0 | 0 | 0 | 0 | 0.430518 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.5 | 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 | 1 | 0 | 0 | 0 | 3 |
893b9e065a28f5630ccaded0f017079ecfaf7dc8 | 200 | py | Python | empyres/log/__init__.py | waigore/empyres4x | aa3bbf94ea0bca280152e92d485d5825a4b352ca | [
"Apache-2.0"
] | null | null | null | empyres/log/__init__.py | waigore/empyres4x | aa3bbf94ea0bca280152e92d485d5825a4b352ca | [
"Apache-2.0"
] | null | null | null | empyres/log/__init__.py | waigore/empyres4x | aa3bbf94ea0bca280152e92d485d5825a4b352ca | [
"Apache-2.0"
] | null | null | null | import logging
import logging.config
import os
logging.config.fileConfig(os.path.join(os.path.dirname(__file__), 'logging.conf'))
logger = logging.getLogger(__name__)
logger.info('Logging set up.')
| 22.222222 | 82 | 0.785 | 28 | 200 | 5.321429 | 0.571429 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 200 | 8 | 83 | 25 | 0.809783 | 0 | 0 | 0 | 0 | 0 | 0.135 | 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 |
895b9204b1c7babcc360e02ed5bd834e6e8b6c56 | 136 | py | Python | DMOJ/DMOPC/DMOPC_14_C1P1_Median_Mark.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | null | null | null | DMOJ/DMOPC/DMOPC_14_C1P1_Median_Mark.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-10-14T18:26:56.000Z | 2021-10-14T18:26:56.000Z | DMOJ/DMOPC/DMOPC_14_C1P1_Median_Mark.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-08-06T03:39:55.000Z | 2021-08-06T03:39:55.000Z | import math
import statistics
c = []
for i in range(int(input())):
c.append(int(input()))
print(math.ceil(statistics.median(c)))
| 13.6 | 38 | 0.669118 | 21 | 136 | 4.333333 | 0.666667 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 9 | 39 | 15.111111 | 0.784483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
896363c649069897110f5ef453bca2a7e5aa1e13 | 5,793 | py | Python | experiments/models/dcgan.py | zhaodongsun/pnp_dip | f8f3802af8c607b3063fc7b92e20729f148d36c1 | [
"MIT"
] | 4 | 2021-10-12T09:13:08.000Z | 2022-02-14T19:59:43.000Z | experiments/models/dcgan.py | zhaodongsun/pnp_dip | f8f3802af8c607b3063fc7b92e20729f148d36c1 | [
"MIT"
] | 1 | 2021-05-20T04:22:00.000Z | 2021-05-21T06:44:47.000Z | experiments/models/dcgan.py | zhaodongsun/pnp_dip | f8f3802af8c607b3063fc7b92e20729f148d36c1 | [
"MIT"
] | 1 | 2021-11-27T11:35:06.000Z | 2021-11-27T11:35:06.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
def dcgan(inp=2,
ndf=32,
num_ups=4, need_sigmoid=True, need_bias=True, pad='zero', upsample_mode='nearest', need_convT = True):
layers= [nn.ConvTranspose2d(inp, ndf, kernel_size=3, stride=1, padding=0, bias=False),... | 43.231343 | 115 | 0.582945 | 846 | 5,793 | 3.893617 | 0.117021 | 0.065574 | 0.051913 | 0.039466 | 0.81269 | 0.765938 | 0.744687 | 0.693078 | 0.626897 | 0.585914 | 0 | 0.056604 | 0.268082 | 5,793 | 134 | 116 | 43.231343 | 0.720283 | 0.081132 | 0 | 0.533981 | 0 | 0 | 0.003667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067961 | false | 0 | 0.029126 | 0 | 0.165049 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8966c49bdc27990bdccb45446aa23c8fa6bda9e4 | 442 | py | Python | description_widgets.py | athrn/kognitivo | 15822338778213c09ea654ec4e06a300129f9478 | [
"Apache-2.0"
] | 80 | 2017-11-13T21:58:55.000Z | 2022-01-03T20:10:42.000Z | description_widgets.py | athrn/kognitivo | 15822338778213c09ea654ec4e06a300129f9478 | [
"Apache-2.0"
] | null | null | null | description_widgets.py | athrn/kognitivo | 15822338778213c09ea654ec4e06a300129f9478 | [
"Apache-2.0"
] | 21 | 2017-11-14T09:47:41.000Z | 2021-11-23T06:44:31.000Z | from kivy.uix.label import Label
from kivy.uix.widget import Widget
from utils import import_kv
import_kv(__file__)
class BaseDescriptionWidget(Widget):
pass
class TextDescriptionWidget(Label, BaseDescriptionWidget):
pass
class SymbolTextDescriptionWidget(Label, BaseDescriptionWidget):
def __init__(s... | 22.1 | 67 | 0.771493 | 46 | 442 | 7.086957 | 0.478261 | 0.04908 | 0.067485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149321 | 442 | 19 | 68 | 23.263158 | 0.867021 | 0 | 0 | 0.166667 | 0 | 0 | 0.022624 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
897f94342875182a66572e8bd80ae93237c11276 | 962 | py | Python | easyrules/__init__.py | wffzxyl/easyrules | 8874718fec629435c69ce360cd43a281da162627 | [
"MIT"
] | 1 | 2020-10-03T12:34:01.000Z | 2020-10-03T12:34:01.000Z | easyrules/__init__.py | wffzxyl/easyrules | 8874718fec629435c69ce360cd43a281da162627 | [
"MIT"
] | null | null | null | easyrules/__init__.py | wffzxyl/easyrules | 8874718fec629435c69ce360cd43a281da162627 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
VERSION = (0, 2, 1)
__version__ = VERSION
__versionstr__ = ".".join(map(str, VERSION))
import logging
logger = logging.getLogger("easyrules")
logger.addHandler(logging.NullHandler())
from . import config
from .api import Action
from .api import C... | 26.722222 | 45 | 0.816008 | 120 | 962 | 6.425 | 0.416667 | 0.09987 | 0.185473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005945 | 0.12578 | 962 | 35 | 46 | 27.485714 | 0.91082 | 0.027027 | 0 | 0 | 0 | 0 | 0.010718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.827586 | 0 | 0.827586 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8980817119457f47f4b367ebe86b8a28179da299 | 354 | py | Python | notes/my_bad_script.py | areed1192/python-for-starters | bcb38a80cff5d2087ce95f9f815c8c1909737861 | [
"MIT"
] | 1 | 2021-05-26T01:08:39.000Z | 2021-05-26T01:08:39.000Z | notes/my_bad_script.py | areed1192/python-for-starters | bcb38a80cff5d2087ce95f9f815c8c1909737861 | [
"MIT"
] | null | null | null | notes/my_bad_script.py | areed1192/python-for-starters | bcb38a80cff5d2087ce95f9f815c8c1909737861 | [
"MIT"
] | 4 | 2021-04-28T00:37:06.000Z | 2022-03-04T00:00:55.000Z |
def split_full_name(string: str) -> list:
"""Takes a full name and splits it into first and last.
Parameters
----------
string : str
The full name to be parsed.
Returns
-------
list
The first and the last name.
"""
return string.split(" ")
# Test it out.
print(s... | 16.857143 | 59 | 0.581921 | 47 | 354 | 4.297872 | 0.553191 | 0.158416 | 0.128713 | 0.188119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035857 | 0.29096 | 354 | 20 | 60 | 17.7 | 0.768924 | 0.533898 | 0 | 0 | 0 | 0 | 0.008264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 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 |
8990b721037221c7126af1a48dedddaaf5536512 | 1,290 | py | Python | per/migrations/0003_auto_20190416_1021.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 11 | 2018-06-11T06:05:12.000Z | 2022-03-25T09:31:44.000Z | per/migrations/0003_auto_20190416_1021.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 498 | 2017-11-07T21:20:13.000Z | 2022-03-31T14:37:18.000Z | per/migrations/0003_auto_20190416_1021.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 6 | 2018-04-11T13:29:50.000Z | 2020-07-16T16:52:11.000Z | # Generated by Django 2.0.12 on 2019-04-16 10:21
from django.db import migrations, models
import django.utils.timezone
import uuid
class Migration(migrations.Migration):
dependencies = [
('per', '0002_form_ns'),
]
operations = [
migrations.AddField(
model_name='form',
... | 28.043478 | 84 | 0.569767 | 126 | 1,290 | 5.738095 | 0.412698 | 0.149378 | 0.190871 | 0.224066 | 0.529737 | 0.529737 | 0.481328 | 0.373444 | 0.373444 | 0.373444 | 0 | 0.023675 | 0.312403 | 1,290 | 45 | 85 | 28.666667 | 0.791432 | 0.035659 | 0 | 0.538462 | 1 | 0 | 0.075684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.153846 | 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 |
899277d3f0483bc888d114acb38804f3316ed7d3 | 198 | py | Python | python/cdp_los_angeles_backend/__init__.py | mattyweb/los-angeles | dc3354915e196fb805a87f40f35e5707f29c1652 | [
"MIT"
] | null | null | null | python/cdp_los_angeles_backend/__init__.py | mattyweb/los-angeles | dc3354915e196fb805a87f40f35e5707f29c1652 | [
"MIT"
] | null | null | null | python/cdp_los_angeles_backend/__init__.py | mattyweb/los-angeles | dc3354915e196fb805a87f40f35e5707f29c1652 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Top-level package for Los Angeles
CDP instance backend.
"""
__author__ = "Matt Webster"
__version__ = "1.0.0"
def get_module_version() -> str:
return __version__
| 14.142857 | 33 | 0.666667 | 26 | 198 | 4.538462 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.181818 | 198 | 13 | 34 | 15.230769 | 0.703704 | 0.393939 | 0 | 0 | 0 | 0 | 0.151786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
899315b2a317eab99147fe92d0ac2e4a2758abe4 | 139 | py | Python | src/analytics/urls.py | TolgaKara/prodai | a858d39226a072a2a52513d942dd046bb3787da8 | [
"Apache-2.0"
] | null | null | null | src/analytics/urls.py | TolgaKara/prodai | a858d39226a072a2a52513d942dd046bb3787da8 | [
"Apache-2.0"
] | 7 | 2020-10-09T09:24:28.000Z | 2022-03-12T00:14:07.000Z | src/analytics/urls.py | TolgaKara/prodai | a858d39226a072a2a52513d942dd046bb3787da8 | [
"Apache-2.0"
] | null | null | null | from django.urls import path, include
from src.analytics import views
urlpatterns = [
path('', views.analytics, name='analytics'),
]
| 17.375 | 48 | 0.719424 | 17 | 139 | 5.882353 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 139 | 7 | 49 | 19.857143 | 0.854701 | 0 | 0 | 0 | 0 | 0 | 0.064748 | 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 |
89bd7a1c82d4de4c7a0ffcee38c719ac45f52dc0 | 636 | py | Python | embiggen/layers/tensorflow/__init__.py | monarch-initiative/N2V | 8ae02ca125f1d24ca158c2849f2d9bb1711920b9 | [
"BSD-3-Clause"
] | 2 | 2020-01-30T11:57:37.000Z | 2020-05-02T00:05:49.000Z | embiggen/layers/tensorflow/__init__.py | monarch-initiative/N2V | 8ae02ca125f1d24ca158c2849f2d9bb1711920b9 | [
"BSD-3-Clause"
] | 93 | 2020-01-26T00:43:51.000Z | 2020-05-10T03:29:54.000Z | embiggen/layers/tensorflow/__init__.py | monarch-initiative/N2V | 8ae02ca125f1d24ca158c2849f2d9bb1711920b9 | [
"BSD-3-Clause"
] | 5 | 2020-02-13T07:18:11.000Z | 2020-03-19T08:03:34.000Z | """Submodule providing tensorflow layers."""
from embiggen.layers.tensorflow.graph_convolution_layer import GraphConvolution
from embiggen.layers.tensorflow.noise_contrastive_estimation import NoiseContrastiveEstimation
from embiggen.layers.tensorflow.sampled_softmax import SampledSoftmax
from embiggen.layers.tensorflo... | 37.411765 | 94 | 0.830189 | 61 | 636 | 8.459016 | 0.442623 | 0.139535 | 0.209302 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.099057 | 636 | 16 | 95 | 39.75 | 0.895288 | 0.059748 | 0 | 0 | 0 | 0 | 0.152027 | 0.043919 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
983c65097575f5f76dccd3df94eea5f5102e6339 | 255 | py | Python | setup.py | Kesel/django | f3fc3617c4b39b18e54bfb4c2fc8940e40f8fa25 | [
"MIT"
] | null | null | null | setup.py | Kesel/django | f3fc3617c4b39b18e54bfb4c2fc8940e40f8fa25 | [
"MIT"
] | null | null | null | setup.py | Kesel/django | f3fc3617c4b39b18e54bfb4c2fc8940e40f8fa25 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='django-on-openshift',
version='2.0',
description='Django on OpenShift',
author='Biwin John',
author_email='mail@biwin.in',
url='https://github.com/biwin/django-on-openshift',
)
| 25.5 | 57 | 0.647059 | 32 | 255 | 5.125 | 0.6875 | 0.146341 | 0.310976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.2 | 255 | 9 | 58 | 28.333333 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
98402d2772ebb180a88617d9578741a4df8acf0a | 957 | py | Python | cardbuilder/input/word_list.py | jrhoff/cardbuilder | 857360b1827494a286cee9928cb004af882e55b4 | [
"MIT"
] | null | null | null | cardbuilder/input/word_list.py | jrhoff/cardbuilder | 857360b1827494a286cee9928cb004af882e55b4 | [
"MIT"
] | null | null | null | cardbuilder/input/word_list.py | jrhoff/cardbuilder | 857360b1827494a286cee9928cb004af882e55b4 | [
"MIT"
] | null | null | null | from abc import ABC
from copy import copy
from typing import List, Iterable, Optional, Union
from cardbuilder.input.word import Word, WordForm
class WordList(ABC):
def __init__(self, word_input_forms: Iterable[str], language: str, additional_forms: Optional[List[WordForm]]):
self.words = [Word(input_for... | 29.90625 | 115 | 0.666667 | 122 | 957 | 4.97541 | 0.385246 | 0.088962 | 0.046129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240334 | 957 | 31 | 116 | 30.870968 | 0.834938 | 0 | 0 | 0 | 0 | 0 | 0.060669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.181818 | 0.136364 | 0.681818 | 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 |
98585c83774a96ddf3fb29e2caa3b89cf21e0fa1 | 282 | py | Python | pyfor/__init__.py | brycefrank/pyfor | efd34bcd7440358abea770c1bf5cad5e05a6fbe3 | [
"MIT"
] | 68 | 2018-04-02T18:00:29.000Z | 2022-03-14T09:41:21.000Z | pyfor/__init__.py | brycefrank/PyFor | efd34bcd7440358abea770c1bf5cad5e05a6fbe3 | [
"MIT"
] | 68 | 2018-04-04T19:15:21.000Z | 2020-02-14T19:03:49.000Z | pyfor/__init__.py | brycefrank/PyFor | efd34bcd7440358abea770c1bf5cad5e05a6fbe3 | [
"MIT"
] | 23 | 2018-04-03T16:30:40.000Z | 2021-09-16T08:06:05.000Z | from __future__ import absolute_import
__version__ = "0.3.6"
from pyfor import cloud
from pyfor import rasterizer
from pyfor import gisexport
from pyfor import clip
from pyfor import ground_filter
from pyfor import collection
from pyfor import voxelizer
from pyfor import metrics
| 21.692308 | 38 | 0.836879 | 42 | 282 | 5.380952 | 0.428571 | 0.318584 | 0.530973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012448 | 0.14539 | 282 | 12 | 39 | 23.5 | 0.925311 | 0 | 0 | 0 | 0 | 0 | 0.017731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9869ad66b58a9f4a34f0b342f504102754bd1a4e | 1,093 | py | Python | src/pyhees/section10_j1_d.py | jjj-design/pyhees | d63e7cd84abfc2f509bc1cd1256598a10aac1825 | [
"MIT"
] | null | null | null | src/pyhees/section10_j1_d.py | jjj-design/pyhees | d63e7cd84abfc2f509bc1cd1256598a10aac1825 | [
"MIT"
] | null | null | null | src/pyhees/section10_j1_d.py | jjj-design/pyhees | d63e7cd84abfc2f509bc1cd1256598a10aac1825 | [
"MIT"
] | null | null | null | # 洗濯機
def get_E_Elc_washer_d_t(E_Elc_washer_wash_rtd, tm_washer_wash_d_t):
"""時刻別消費電力量を計算する
Parameters
----------
E_Elc_washer_wash_rtd : float
標準コースの洗濯の定格消費電力量,Wh
tm_washer_wash_d_t : ndarray(N-dimensional array)
1年間の全時間の洗濯回数を格納したND配列, 回
d日t時の洗濯回数が年開始時から8760個連続して格納されて... | 23.255319 | 69 | 0.674291 | 148 | 1,093 | 4.398649 | 0.256757 | 0.116743 | 0.276498 | 0.27957 | 0.579109 | 0.457757 | 0.37788 | 0.371736 | 0.337942 | 0.104455 | 0 | 0.028916 | 0.240622 | 1,093 | 46 | 70 | 23.76087 | 0.755422 | 0.477585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9871e79d855a7f9da8d94e60b5f377510b9de886 | 1,759 | py | Python | api.flask.v1/controllers/status.py | davelosert/medishare | bbe1a61f185e1cf6ffe6f37b8d37577dda29a01c | [
"MIT"
] | 1 | 2020-12-14T15:20:15.000Z | 2020-12-14T15:20:15.000Z | api.flask.v1/controllers/status.py | davelosert/medishare | bbe1a61f185e1cf6ffe6f37b8d37577dda29a01c | [
"MIT"
] | 5 | 2021-10-06T14:03:45.000Z | 2022-02-27T01:33:33.000Z | api.flask.v1/controllers/status.py | davelosert/medishare | bbe1a61f185e1cf6ffe6f37b8d37577dda29a01c | [
"MIT"
] | null | null | null | from flask import request, jsonify
from flask.views import MethodView
from models import Status
from db import db
class StatusAPI(MethodView):
def get(self, id):
if id is None:
return jsonify([s.serialize for s in Status.query.all()])
else:
status = Status.query.filter_by(id... | 32.574074 | 82 | 0.594088 | 217 | 1,759 | 4.737327 | 0.258065 | 0.151751 | 0.194553 | 0.177043 | 0.666342 | 0.666342 | 0.666342 | 0.540856 | 0.512646 | 0.512646 | 0 | 0.023981 | 0.2888 | 1,759 | 54 | 83 | 32.574074 | 0.797762 | 0 | 0 | 0.512195 | 0 | 0 | 0.140909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.097561 | 0 | 0.512195 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
987de15c788602a643de269378bdb5af47c0f1a0 | 2,259 | py | Python | SimpleCV/tests/DisplayTester.py | nikhilgk/SimpleCV | ee64451c16db1f40b4da221115273020a6a7b01a | [
"BSD-3-Clause"
] | 2 | 2016-04-30T12:23:05.000Z | 2022-03-02T00:01:10.000Z | SimpleCV/tests/DisplayTester.py | nikhilgk/SimpleCV | ee64451c16db1f40b4da221115273020a6a7b01a | [
"BSD-3-Clause"
] | null | null | null | SimpleCV/tests/DisplayTester.py | nikhilgk/SimpleCV | ee64451c16db1f40b4da221115273020a6a7b01a | [
"BSD-3-Clause"
] | null | null | null | import time
from SimpleCV import *
from SimpleCV.Display import Display, pg
w = 400
h = 300
t=1
display = Display(resolution = (w,h)) #create a new display to draw images on
img = Image('../sampleimages/aerospace.jpg')
img = img.scale(800,600)
img2 = img.scale(w,h)
smallWbigH = img.scale(100,400)
smallHbigW = img2.scal... | 22.818182 | 77 | 0.73351 | 349 | 2,259 | 4.747851 | 0.151862 | 0.077248 | 0.135184 | 0.117683 | 0.799638 | 0.768256 | 0.713337 | 0.703078 | 0.642728 | 0.532287 | 0 | 0.025666 | 0.085879 | 2,259 | 98 | 78 | 23.05102 | 0.776755 | 0.016822 | 0 | 0.414634 | 0 | 0 | 0.095946 | 0.013063 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036585 | 0 | 0.036585 | 0.219512 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
98aa429642c9bfeff4ee8a19c9d429a407cad0fd | 559 | py | Python | dns_shark/errors/dns_refused_error.py | jmiiller/dns_shark | 80ee4c7ec32fc3fec202e5142cf745d432770947 | [
"MIT"
] | 3 | 2020-01-21T20:32:35.000Z | 2020-08-01T07:14:55.000Z | dns_shark/errors/dns_refused_error.py | jmiiller/dns_shark | 80ee4c7ec32fc3fec202e5142cf745d432770947 | [
"MIT"
] | 4 | 2020-01-20T01:16:39.000Z | 2020-01-20T01:34:27.000Z | dns_shark/errors/dns_refused_error.py | jmiiller/dns_shark | 80ee4c7ec32fc3fec202e5142cf745d432770947 | [
"MIT"
] | null | null | null | from dns_shark.errors.dns_shark_error import DNSSharkError
class DNSRefusedError(DNSSharkError):
"""
An error that indicates an rcode of 5 was returned by a dns message.
'Refused - The name server refuses to perform the specified operation for policy reasons. For example, a name
server may not wish ... | 39.928571 | 120 | 0.747764 | 85 | 559 | 4.882353 | 0.658824 | 0.072289 | 0.053012 | 0.06747 | 0.110843 | 0.110843 | 0.110843 | 0 | 0 | 0 | 0 | 0.011086 | 0.193202 | 559 | 13 | 121 | 43 | 0.909091 | 0.756708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 |
7f5c908d10f8ff7c172832a0c9aad1b644569501 | 631 | py | Python | src/model/utils.py | ahamza1/instance-segmentation-mask-rcnn | b4be9dfcfeea5e56f0923bb2500b56b36cfdbd77 | [
"MIT"
] | null | null | null | src/model/utils.py | ahamza1/instance-segmentation-mask-rcnn | b4be9dfcfeea5e56f0923bb2500b56b36cfdbd77 | [
"MIT"
] | 1 | 2021-09-07T18:16:54.000Z | 2021-09-07T18:16:54.000Z | src/model/utils.py | ahamza1/instance-segmentation-mask-rcnn | b4be9dfcfeea5e56f0923bb2500b56b36cfdbd77 | [
"MIT"
] | null | null | null | import argparse
def get_args():
ap = argparse.ArgumentParser()
ap.add_argument("-d", "--data", required=True)
ap.add_argument("-l", "--labels", required=True)
ap.add_argument("-w", "--weights", required=False)
args = vars(ap.parse_args())
return args["data"], args["labels"], args["weights"]
... | 31.55 | 57 | 0.638669 | 81 | 631 | 4.839506 | 0.296296 | 0.076531 | 0.19898 | 0.173469 | 0.709184 | 0.709184 | 0.520408 | 0.372449 | 0.372449 | 0.372449 | 0 | 0 | 0.152139 | 631 | 19 | 58 | 33.210526 | 0.73271 | 0 | 0 | 0.4 | 0 | 0 | 0.14897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f6504d862774e895b590da3b392c2330d3d150a | 883 | py | Python | framework/transactions/utils.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | 1 | 2015-10-02T18:35:53.000Z | 2015-10-02T18:35:53.000Z | framework/transactions/utils.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | 13 | 2020-03-24T15:29:41.000Z | 2022-03-11T23:15:28.000Z | framework/transactions/utils.py | DanielSBrown/osf.io | 98dda2ac237377197acacce78274bc0a4ce8f303 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import make_response
from framework.exceptions import HTTPError
from framework.routing import JSONRenderer, render_mako_string
from website.util import is_json_request
def get_error_message(error):
"""Retrieve error message from error, if available.
"""
try:
... | 24.527778 | 67 | 0.721404 | 109 | 883 | 5.678899 | 0.513761 | 0.038772 | 0.051696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002829 | 0.199321 | 883 | 35 | 68 | 25.228571 | 0.872702 | 0.261608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.125 | false | 0 | 0.3125 | 0 | 0.625 | 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 |
7f68f45294bdba63c039e75b3f968c36731a619a | 5,937 | py | Python | tests/test_avl.py | Anirban166/tstl | 73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e | [
"Apache-2.0"
] | 90 | 2015-04-07T10:26:53.000Z | 2022-03-07T15:14:57.000Z | tests/test_avl.py | Anirban166/tstl | 73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e | [
"Apache-2.0"
] | 14 | 2015-10-13T16:25:59.000Z | 2021-01-21T18:31:03.000Z | tests/test_avl.py | Anirban166/tstl | 73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e | [
"Apache-2.0"
] | 32 | 2015-04-07T10:41:29.000Z | 2022-02-26T05:17:28.000Z | from __future__ import print_function
import os
import subprocess
import glob
from unittest import TestCase
class TestAVL(TestCase):
def setUp(self):
os.chdir("examples/AVL")
def tearDown(self):
os.chdir("../..")
def test_AVL(self):
if (os.getenv("TRAVIS") == "TRUE") and (os.gete... | 32.983333 | 88 | 0.447196 | 529 | 5,937 | 4.960302 | 0.170132 | 0.12157 | 0.165777 | 0.224085 | 0.731326 | 0.715701 | 0.696265 | 0.657393 | 0.648628 | 0.633384 | 0 | 0.022309 | 0.395991 | 5,937 | 179 | 89 | 33.167598 | 0.709426 | 0 | 0 | 0.629371 | 0 | 0 | 0.212565 | 0.007411 | 0 | 0 | 0 | 0 | 0.20979 | 1 | 0.020979 | false | 0 | 0.034965 | 0 | 0.06993 | 0.006993 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f7b2058eb8418cc5265706ff8f42738c36b44a1 | 77 | py | Python | data/studio21_generated/interview/0269/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/0269/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/0269/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | class Solution:
def kLengthApart(self, nums: List[int], k: int) -> bool:
| 25.666667 | 60 | 0.662338 | 11 | 77 | 4.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 2 | 61 | 38.5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7f822ce131a341c7f102ca63d584a64ec1b779c0 | 843 | py | Python | tests/bench/test_MComp.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/bench/test_MComp.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/bench/test_MComp.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import pyaf.Bench.TS_datasets as tsds
import pyaf.Bench.MComp as mcomp
#tester1 = mcomp.cMComp_Tester(tsds.load_M1_comp());
#tester1.testSignals('')
#tester1.testAllSignals()
#tester2 = mcomp.cMComp_Tester(tsds.load_M2_comp());
#tester1.testSignals('')
#tester2.testAllSignals()
#tester3 = mcomp.cMComp_Tester(tsds.... | 25.545455 | 71 | 0.768683 | 104 | 843 | 5.980769 | 0.307692 | 0.123794 | 0.191318 | 0.236334 | 0.294212 | 0.173633 | 0 | 0 | 0 | 0 | 0 | 0.038071 | 0.065243 | 843 | 32 | 72 | 26.34375 | 0.751269 | 0.7414 | 0 | 0 | 0 | 0 | 0.085427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7f83beb5e4a4d9a75218a8462a09d0d2a7efa122 | 2,583 | py | Python | python/ray/autoscaler/_private/readonly/node_provider.py | linyiyue/ray | 90d2456ec70270a1f894ec3ef6f3004533859e03 | [
"Apache-2.0"
] | 21,382 | 2016-09-26T23:12:52.000Z | 2022-03-31T21:47:45.000Z | python/ray/autoscaler/_private/readonly/node_provider.py | linyiyue/ray | 90d2456ec70270a1f894ec3ef6f3004533859e03 | [
"Apache-2.0"
] | 19,689 | 2016-09-17T08:21:25.000Z | 2022-03-31T23:59:30.000Z | python/ray/autoscaler/_private/readonly/node_provider.py | gramhagen/ray | c18caa4db36d466718bdbcb2229aa0b2dc03da1f | [
"Apache-2.0"
] | 4,114 | 2016-09-23T18:54:01.000Z | 2022-03-31T15:07:32.000Z | from typing import Tuple, List
from ray.autoscaler.node_provider import NodeProvider
from ray.autoscaler.tags import (TAG_RAY_NODE_KIND, NODE_KIND_HEAD,
TAG_RAY_USER_NODE_TYPE, TAG_RAY_NODE_NAME,
TAG_RAY_NODE_STATUS, STATUS_UP_TO_DATE)
from ray.autoscal... | 33.986842 | 75 | 0.658924 | 346 | 2,583 | 4.621387 | 0.303468 | 0.06379 | 0.043777 | 0.040025 | 0.380238 | 0.350219 | 0.231395 | 0.231395 | 0.126329 | 0.055034 | 0 | 0 | 0.272551 | 2,583 | 75 | 76 | 34.44 | 0.850985 | 0.173829 | 0 | 0.106383 | 0 | 0 | 0.06705 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 1 | 0.276596 | false | 0 | 0.085106 | 0.148936 | 0.553191 | 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 |
7f998496cbf16bedaf0905ee189350d501e19416 | 2,045 | py | Python | openstreetmap-scraper/venv/lib/python3.7/site-packages/OSMPythonTools/api.py | espoo-urban-planning/urbanplanningGAN | e921211b7a9f9f02d16e8f14ea29bf81139886c2 | [
"MIT"
] | null | null | null | openstreetmap-scraper/venv/lib/python3.7/site-packages/OSMPythonTools/api.py | espoo-urban-planning/urbanplanningGAN | e921211b7a9f9f02d16e8f14ea29bf81139886c2 | [
"MIT"
] | null | null | null | openstreetmap-scraper/venv/lib/python3.7/site-packages/OSMPythonTools/api.py | espoo-urban-planning/urbanplanningGAN | e921211b7a9f9f02d16e8f14ea29bf81139886c2 | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
from OSMPythonTools.element import Element
from OSMPythonTools.internal.cacheObject import CacheObject
def _raiseException(prefix, msg):
sys.tracebacklimit = None
raise(Exception('[OSMPythonTools.' + prefix + '] ' + msg))
class Api(CacheObject):
def __init__(self, endpoint='... | 32.460317 | 93 | 0.626895 | 226 | 2,045 | 5.438053 | 0.29646 | 0.065094 | 0.091131 | 0.069162 | 0.04882 | 0.04882 | 0 | 0 | 0 | 0 | 0 | 0.003966 | 0.260147 | 2,045 | 62 | 94 | 32.983871 | 0.808328 | 0.009291 | 0 | 0 | 0 | 0 | 0.058853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.306122 | false | 0 | 0.061224 | 0.244898 | 0.653061 | 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 |
7fa9fdfc5add3e476b8eacc4fb5602386f476d00 | 1,680 | py | Python | ansys/dpf/core/operators/utility/__init__.py | jfthuong/pydpf-core | bf2895ebc546e0004f759289bfc9a23196559ac3 | [
"MIT"
] | 18 | 2021-10-16T10:38:29.000Z | 2022-03-29T11:26:42.000Z | ansys/dpf/core/operators/utility/__init__.py | jfthuong/pydpf-core | bf2895ebc546e0004f759289bfc9a23196559ac3 | [
"MIT"
] | 79 | 2021-10-11T23:18:54.000Z | 2022-03-29T14:53:14.000Z | ansys/dpf/core/operators/utility/__init__.py | jfthuong/pydpf-core | bf2895ebc546e0004f759289bfc9a23196559ac3 | [
"MIT"
] | 5 | 2021-11-29T18:35:37.000Z | 2022-03-16T16:49:21.000Z | from .merge_result_infos import merge_result_infos
from .field_to_fc import field_to_fc
from .html_doc import html_doc
from .unitary_field import unitary_field
from .extract_field import extract_field
from .bind_support import bind_support
from .scalars_to_field import scalars_to_field
from .change_location impo... | 48 | 69 | 0.878571 | 244 | 1,680 | 5.606557 | 0.196721 | 0.078947 | 0.032895 | 0.017544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10119 | 1,680 | 34 | 70 | 49.411765 | 0.90596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7fb6bd7ad92ceab221631aaebad8f831b543d2c5 | 3,095 | py | Python | python/cugraph/ktruss/ktruss_max.py | ogreen/cugraph | d94ab29f14e6212a0c8bb5ec5fbe9e300cd57594 | [
"Apache-2.0"
] | null | null | null | python/cugraph/ktruss/ktruss_max.py | ogreen/cugraph | d94ab29f14e6212a0c8bb5ec5fbe9e300cd57594 | [
"Apache-2.0"
] | null | null | null | python/cugraph/ktruss/ktruss_max.py | ogreen/cugraph | d94ab29f14e6212a0c8bb5ec5fbe9e300cd57594 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2019, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 37.743902 | 77 | 0.69273 | 469 | 3,095 | 4.541578 | 0.49467 | 0.025352 | 0.015023 | 0.016901 | 0.04554 | 0.023944 | 0 | 0 | 0 | 0 | 0 | 0.022102 | 0.225202 | 3,095 | 81 | 78 | 38.209877 | 0.865721 | 0.882391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f68a6c3b04e97ce3df8e57a9f74367abf54ae284 | 2,445 | py | Python | LDERPdjango/login/models.py | Ignoramuss/LDERP | 2524eb2a4c73a079a5d8f563c45de23cfe7836f6 | [
"Apache-2.0"
] | 3 | 2017-06-09T09:22:17.000Z | 2017-06-14T03:42:55.000Z | LDERPdjango/login/models.py | Ignoramuss/LDERP | 2524eb2a4c73a079a5d8f563c45de23cfe7836f6 | [
"Apache-2.0"
] | 2 | 2017-06-14T07:24:47.000Z | 2017-06-14T10:50:57.000Z | LDERPdjango/login/models.py | Ignoramuss/LDERP | 2524eb2a4c73a079a5d8f563c45de23cfe7836f6 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from datetime import date
# Create your models here.
class LanguageDisability(models.Model):
disability_name = models.CharField(max_length=200)
def __str__(self):
return self.disability_name
# student = models.ForeignKey(StudentInfo, on_delete=models.CASCADE)
class Ma... | 37.615385 | 93 | 0.754192 | 287 | 2,445 | 6.163763 | 0.278746 | 0.08649 | 0.152629 | 0.203505 | 0.481063 | 0.440362 | 0.193895 | 0.193895 | 0.193895 | 0.193895 | 0 | 0.022804 | 0.157055 | 2,445 | 65 | 94 | 37.615385 | 0.835517 | 0.128016 | 0 | 0.181818 | 0 | 0 | 0.001885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0.136364 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f69fe25a771ef82201f3ce3b2cb530a64e86f1af | 295 | py | Python | src/vivarium/exceptions.py | ihmeuw/vivarium | 77393d2e84ff2351c926f65b33272b7225cf9628 | [
"BSD-3-Clause"
] | 41 | 2017-07-14T03:39:06.000Z | 2022-03-20T05:36:33.000Z | src/vivarium/exceptions.py | ihmeuw/vivarium | 77393d2e84ff2351c926f65b33272b7225cf9628 | [
"BSD-3-Clause"
] | 26 | 2017-08-08T22:13:44.000Z | 2021-08-18T00:14:54.000Z | src/vivarium/exceptions.py | ihmeuw/vivarium | 77393d2e84ff2351c926f65b33272b7225cf9628 | [
"BSD-3-Clause"
] | 8 | 2017-08-03T17:15:39.000Z | 2021-09-30T21:57:50.000Z | """
==========
Exceptions
==========
Module containing framework-wide exception definitions. Exceptions for
particular subsystems are defined in their respective modules.
"""
class VivariumError(Exception):
"""Generic exception raised for errors in ``vivarium`` simulations."""
pass
| 19.666667 | 74 | 0.708475 | 29 | 295 | 7.206897 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145763 | 295 | 14 | 75 | 21.071429 | 0.829365 | 0.786441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f6cc4e2375a4556416ea9043cc4eb25beda4e1bd | 111 | py | Python | Codewars/8kyu/super-duper-easy/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/super-duper-easy/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/super-duper-easy/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.4.3
def problem(a):
try:
return float(a) * 50 + 6
except:
return 'Error'
| 13.875 | 32 | 0.495495 | 16 | 111 | 3.4375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.369369 | 111 | 7 | 33 | 15.857143 | 0.7 | 0.126126 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f6cc6c0f42834cc66f02e39d068d2c7f6ecd17bd | 110 | py | Python | Notification/Desktop Notification.py | Amara-Manikanta/Python-Automations | 8f7d2eb7a0cd145c13f329920204ed3f311a4989 | [
"MIT"
] | null | null | null | Notification/Desktop Notification.py | Amara-Manikanta/Python-Automations | 8f7d2eb7a0cd145c13f329920204ed3f311a4989 | [
"MIT"
] | null | null | null | Notification/Desktop Notification.py | Amara-Manikanta/Python-Automations | 8f7d2eb7a0cd145c13f329920204ed3f311a4989 | [
"MIT"
] | null | null | null | import win10toast
toaster=win10toast.ToastNotifier()
toaster.show_toast('python','Hellow Mani',duration = 10) | 27.5 | 56 | 0.809091 | 13 | 110 | 6.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.063636 | 110 | 4 | 56 | 27.5 | 0.796117 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 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 |
f6d5571e4a9320bd8961ea32e4d8f734a7fae9ce | 370 | py | Python | tag/timer.py | funge/ai4games | b72be3648fa0da611b999aa01aec8560728bcdd7 | [
"MIT"
] | 1 | 2020-01-11T18:53:53.000Z | 2020-01-11T18:53:53.000Z | tag/timer.py | funge/ai4games | b72be3648fa0da611b999aa01aec8560728bcdd7 | [
"MIT"
] | null | null | null | tag/timer.py | funge/ai4games | b72be3648fa0da611b999aa01aec8560728bcdd7 | [
"MIT"
] | 1 | 2019-08-27T17:24:27.000Z | 2019-08-27T17:24:27.000Z | # Source code distributed under the Copyright (c) 2008, John David Funge
# Original author: John David Funge (www.jfunge.com)
#
# Licensed under the Academic Free License version 3.0
# (for details see LICENSE.txt in this directory).
import pygame
# time is measured in milliseconds
ticksPerSec = 1000.0
def getTime(... | 26.428571 | 72 | 0.759459 | 54 | 370 | 5.185185 | 0.796296 | 0.057143 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035484 | 0.162162 | 370 | 13 | 73 | 28.461538 | 0.867742 | 0.694595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f6eb502e77829b816e2a8d4979b70e96248a3bf9 | 144 | py | Python | django_test/meuapp/apps.py | fmhiga/Django_study | 92193b18bb03b4deb90187b9fec0ef6e66dbd00b | [
"MIT"
] | 1 | 2021-08-19T02:38:47.000Z | 2021-08-19T02:38:47.000Z | p1/meuapp/apps.py | mentoriacompartilhada/helenamagaldi-v0 | d26e5b4ae887382b02c00092c2487437bc9ffb78 | [
"MIT"
] | null | null | null | p1/meuapp/apps.py | mentoriacompartilhada/helenamagaldi-v0 | d26e5b4ae887382b02c00092c2487437bc9ffb78 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MeuappConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'meuapp'
| 20.571429 | 56 | 0.756944 | 17 | 144 | 6.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 144 | 6 | 57 | 24 | 0.877049 | 0 | 0 | 0 | 0 | 0 | 0.243056 | 0.201389 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.