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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1d1440784b015c2af1bb3c792b09e92f2956dc6a | 44 | py | Python | app/handlers/homework/inline_mode/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | 1 | 2021-12-11T07:41:38.000Z | 2021-12-11T07:41:38.000Z | app/handlers/homework/inline_mode/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | 8 | 2021-05-08T21:48:34.000Z | 2022-01-20T15:42:00.000Z | app/handlers/homework/inline_mode/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | null | null | null | __all__ = ("dp",)
from .handlers import dp
| 11 | 24 | 0.659091 | 6 | 44 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 25 | 14.666667 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1d2c00608b961b664ac9d3e64dbf1d33fd2aceb9 | 892 | py | Python | src/tt_storage/tt_storage/exceptions.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/tt_storage/tt_storage/exceptions.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/tt_storage/tt_storage/exceptions.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
from tt_web import exceptions
class StorageError(exceptions.BaseError):
pass
class OperationsError(StorageError):
pass
class ItemAlreadyCreated(OperationsError):
MESSAGE = 'can not create item {item_id} for owner {owner_id}'
class CanNotDeleteItem(OperationsError):
MESSAGE = 'Can not delete ite... | 25.485714 | 101 | 0.767937 | 106 | 892 | 6.301887 | 0.358491 | 0.197605 | 0.187126 | 0.209581 | 0.131737 | 0.131737 | 0.131737 | 0.131737 | 0 | 0 | 0 | 0 | 0.151345 | 892 | 34 | 102 | 26.235294 | 0.882431 | 0 | 0 | 0.117647 | 0 | 0 | 0.401796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.117647 | 0.058824 | 0 | 0.882353 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1d48fdb0886237d37ece2a8f2b0d527a48b1bda4 | 269 | py | Python | spectrespecs/nightwatch/utils.py | Spacehug/loony-lovegood | fd860591d37bd18107243e4e4e86cb4fd3836c6f | [
"MIT"
] | 1 | 2019-08-03T09:22:41.000Z | 2019-08-03T09:22:41.000Z | spectrespecs/nightwatch/utils.py | Spacehug/loony-lovegood | fd860591d37bd18107243e4e4e86cb4fd3836c6f | [
"MIT"
] | 2 | 2021-04-30T20:58:49.000Z | 2021-06-01T23:58:36.000Z | spectrespecs/nightwatch/utils.py | Spacehug/loony-lovegood | fd860591d37bd18107243e4e4e86cb4fd3836c6f | [
"MIT"
] | null | null | null | import re
SPAM = re.compile(r"([-\w\d:%._+~#=]*\.[\w\d]{2,6})|(@[\w\d_]*)")
CODE = re.compile(r"([0-9\s]{12})")
def is_malicious(message):
return re.search(SPAM, message) is not None
def is_friend_code(message):
return re.search(CODE, message) is not None
| 20.692308 | 65 | 0.613383 | 47 | 269 | 3.404255 | 0.489362 | 0.0375 | 0.125 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.137546 | 269 | 12 | 66 | 22.416667 | 0.663793 | 0 | 0 | 0 | 0 | 0 | 0.208178 | 0.159851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1d5fe86bcb98105828cf2270bc8568f523213dba | 183 | py | Python | lambdata_JonRivera/__init__.py | JonRivera/Package_Repo | c12dc07ce5ab04e6842403b6adc89e7f8e4024aa | [
"MIT"
] | null | null | null | lambdata_JonRivera/__init__.py | JonRivera/Package_Repo | c12dc07ce5ab04e6842403b6adc89e7f8e4024aa | [
"MIT"
] | null | null | null | lambdata_JonRivera/__init__.py | JonRivera/Package_Repo | c12dc07ce5ab04e6842403b6adc89e7f8e4024aa | [
"MIT"
] | 2 | 2020-08-04T19:11:59.000Z | 2020-08-07T01:29:21.000Z | """ lambdata-JonRivera - a collection of Data Science Helper Functions """
import pandas as pd
import numpy as np
ONES = pd.DataFrame(np.ones(10))
ZEROS = pd.DataFrame(np.zeros(50))
| 26.142857 | 74 | 0.737705 | 29 | 183 | 4.655172 | 0.689655 | 0.088889 | 0.192593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.142077 | 183 | 6 | 75 | 30.5 | 0.834395 | 0.360656 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1d610fc0f15125a457a1844b617c8a8eaf67d90b | 234 | py | Python | src/oscar/apps/address/apps.py | Jean1508/ya-madoa | 1ffb1d11e15bf33e4c3a09698675a4357e887eaa | [
"BSD-3-Clause"
] | null | null | null | src/oscar/apps/address/apps.py | Jean1508/ya-madoa | 1ffb1d11e15bf33e4c3a09698675a4357e887eaa | [
"BSD-3-Clause"
] | 5 | 2021-05-28T19:38:28.000Z | 2022-03-12T00:45:39.000Z | src/oscar/apps/address/apps.py | Jean1508/ya-madoa | 1ffb1d11e15bf33e4c3a09698675a4357e887eaa | [
"BSD-3-Clause"
] | null | null | null | from django.utils.translation import gettext_lazy as _
from oscar.core.application import OscarConfig
class AddressConfig(OscarConfig):
label = 'address'
name = 'oscar.apps.address'
verbose_name = _('Address')
| 23.4 | 55 | 0.722222 | 26 | 234 | 6.346154 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 234 | 9 | 56 | 26 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0.142222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1d69da8a62d50b6da7b32182bb1bb70047c27846 | 63 | py | Python | test/hello_world/a.py | xuzizhou/fc-python-sdk | 3964dc91de69263083ef62ab4b13b21c6fe4fc58 | [
"MIT"
] | 51 | 2017-08-02T01:35:03.000Z | 2022-03-13T07:07:15.000Z | test/hello_world/a.py | xuzizhou/fc-python-sdk | 3964dc91de69263083ef62ab4b13b21c6fe4fc58 | [
"MIT"
] | 61 | 2017-08-26T03:37:26.000Z | 2022-01-23T21:20:56.000Z | test/hello_world/a.py | xuzizhou/fc-python-sdk | 3964dc91de69263083ef62ab4b13b21c6fe4fc58 | [
"MIT"
] | 16 | 2017-09-27T07:58:19.000Z | 2021-11-12T03:21:20.000Z |
def my_handler(event, context):
return 'new hello world'
| 12.6 | 31 | 0.698413 | 9 | 63 | 4.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 63 | 4 | 32 | 15.75 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
1d7e759f6a6332307c3c88ce555745f1b7552d51 | 163 | py | Python | vivid/featureset/__init__.py | upura/vivid | 6139697d60656d4774aceae880f5a07d929124a8 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | vivid/featureset/__init__.py | upura/vivid | 6139697d60656d4774aceae880f5a07d929124a8 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | vivid/featureset/__init__.py | upura/vivid | 6139697d60656d4774aceae880f5a07d929124a8 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from .atoms import AbstractMergeAtom, AbstractAtom, StringContainsAtom
from .molecules import create_molecule, find_molecule
from .utils import create_data_loader
| 40.75 | 70 | 0.871166 | 19 | 163 | 7.263158 | 0.684211 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092025 | 163 | 3 | 71 | 54.333333 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1d820fd325920c61a4473dec5305b07108f20eb0 | 8,206 | py | Python | SViTE/engine.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 50 | 2021-05-29T00:52:45.000Z | 2022-03-17T11:39:47.000Z | SViTE/engine.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 2 | 2022-01-16T07:24:52.000Z | 2022-03-29T01:56:24.000Z | SViTE/engine.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 6 | 2021-06-27T22:24:16.000Z | 2022-01-17T02:45:32.000Z | # Copyright (c) 2015-present, Facebook, Inc.
# All rights reserved.
"""
Train and eval functions used in main.py
"""
import math
import sys
from typing import Iterable, Optional
import time
import torch
from timm.data import Mixup
from timm.utils import accuracy, ModelEma
from losses import DistillationLoss
import u... | 39.07619 | 100 | 0.631124 | 1,002 | 8,206 | 4.958084 | 0.185629 | 0.062802 | 0.038043 | 0.022947 | 0.760266 | 0.71719 | 0.71719 | 0.709138 | 0.682166 | 0.682166 | 0 | 0.009883 | 0.272484 | 8,206 | 209 | 101 | 39.263158 | 0.822278 | 0.092006 | 0 | 0.621622 | 0 | 0.006757 | 0.041481 | 0.008754 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.074324 | 0 | 0.128378 | 0.067568 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1d8beb9a5b5a3f3b8e23f4d482b6642dbfa156f1 | 1,644 | py | Python | sklearn_wrapper/modules/data_translaters/DataTranslater.py | hidetomo-watanabe/analyze_for_kaggle | d90dbad3d07c862271332c151bcc7229d7c353df | [
"Apache-2.0"
] | 3 | 2018-01-04T06:53:03.000Z | 2019-02-19T22:19:38.000Z | sklearn_wrapper/modules/data_translaters/DataTranslater.py | hidetomo-watanabe/analyze_for_kaggle | d90dbad3d07c862271332c151bcc7229d7c353df | [
"Apache-2.0"
] | null | null | null | sklearn_wrapper/modules/data_translaters/DataTranslater.py | hidetomo-watanabe/analyze_for_kaggle | d90dbad3d07c862271332c151bcc7229d7c353df | [
"Apache-2.0"
] | null | null | null | from logging import getLogger
logger = getLogger('predict').getChild('DataTranslater')
if 'ConfigReader' not in globals():
from ..ConfigReader import ConfigReader
if 'TableDataTranslater' not in globals():
from .TableDataTranslater import TableDataTranslater
if 'ImageDataTranslater' not in globals():
from ... | 31.018868 | 62 | 0.697689 | 188 | 1,644 | 5.824468 | 0.292553 | 0.140639 | 0.102283 | 0.175342 | 0.251142 | 0.251142 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214112 | 1,644 | 52 | 63 | 31.615385 | 0.847523 | 0.016423 | 0 | 0 | 0 | 0 | 0.085449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.210526 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d52e31c396587f99ff03e58a1b845be97eb21a6c | 2,937 | py | Python | src/djanban/apps/charts/views/public.py | diegojromerolopez/djanban | 6451688d49cf235d03c604b19a6a8480b33eed87 | [
"MIT"
] | 33 | 2017-06-14T18:04:25.000Z | 2021-06-15T07:07:56.000Z | src/djanban/apps/charts/views/public.py | diegojromerolopez/djanban | 6451688d49cf235d03c604b19a6a8480b33eed87 | [
"MIT"
] | 1 | 2017-05-10T08:45:55.000Z | 2017-05-10T08:45:55.000Z | src/djanban/apps/charts/views/public.py | diegojromerolopez/djanban | 6451688d49cf235d03c604b19a6a8480b33eed87 | [
"MIT"
] | 8 | 2017-08-27T11:14:25.000Z | 2021-03-03T12:11:16.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from djanban.apps.base.auth import user_is_administrator
from djanban.apps.boards.models import Board
from djanban.apps.charts import cards, labels, members, boards, requirements
# General burndown chart
def burndown(request, board_public_access_code):
... | 37.653846 | 100 | 0.809329 | 429 | 2,937 | 5.146853 | 0.165501 | 0.141304 | 0.181159 | 0.21875 | 0.627717 | 0.513587 | 0.493659 | 0.436594 | 0.436594 | 0.396286 | 0 | 0.000389 | 0.124957 | 2,937 | 77 | 101 | 38.142857 | 0.858755 | 0.145727 | 0 | 0.243902 | 0 | 0 | 0.006012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.268293 | false | 0 | 0.097561 | 0 | 0.658537 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d53b0fcc700a8ea4071c41b5598165cb774021a1 | 191 | py | Python | weibo/test/testData.py | haiboz/weiboSpider | 517cae2ef3e7bccd9e1d328a40965406707f5362 | [
"Apache-2.0"
] | null | null | null | weibo/test/testData.py | haiboz/weiboSpider | 517cae2ef3e7bccd9e1d328a40965406707f5362 | [
"Apache-2.0"
] | null | null | null | weibo/test/testData.py | haiboz/weiboSpider | 517cae2ef3e7bccd9e1d328a40965406707f5362 | [
"Apache-2.0"
] | null | null | null | #coding:utf8
'''
Created on 2016年4月19日
@author: wb-zhaohaibo
'''
datas = []
weibo_data = {}
if weibo_data is None:
print "sss"
else:
print "---"
print len(weibo_data) | 14.692308 | 25 | 0.596859 | 24 | 191 | 4.625 | 0.75 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.256545 | 191 | 13 | 25 | 14.692308 | 0.725352 | 0.057592 | 0 | 0 | 0 | 0 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d53b3f387102b62bd20819bb8ed7a91b89c52b76 | 112 | py | Python | great_international/apps.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | great_international/apps.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | great_international/apps.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | from django.apps import AppConfig
class GreatInternationalConfig(AppConfig):
name = 'great_international'
| 18.666667 | 42 | 0.803571 | 11 | 112 | 8.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 5 | 43 | 22.4 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d54b6954c5529cde63c332fe2c41b1b36d08863a | 81 | py | Python | django_ltree_field/test_utils/test_app/__init__.py | john-parton/django-ltree-field | a4378f0eb0d6a4abb2ed459c49b081d7e2a35c4b | [
"BSD-3-Clause"
] | 1 | 2021-11-11T20:03:12.000Z | 2021-11-11T20:03:12.000Z | django_ltree_field/test_utils/test_app/__init__.py | john-parton/django-ltree-field | a4378f0eb0d6a4abb2ed459c49b081d7e2a35c4b | [
"BSD-3-Clause"
] | null | null | null | django_ltree_field/test_utils/test_app/__init__.py | john-parton/django-ltree-field | a4378f0eb0d6a4abb2ed459c49b081d7e2a35c4b | [
"BSD-3-Clause"
] | null | null | null | default_app_config = 'django_ltree_field.test_utils.test_app.apps.TestAppConfig'
| 40.5 | 80 | 0.876543 | 12 | 81 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 81 | 1 | 81 | 81 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.703704 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d54ef50b568c97cf4dd042bab1e7f918318a353a | 2,852 | py | Python | apps/users/migrations/0011_fishx.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | null | null | null | apps/users/migrations/0011_fishx.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | 5 | 2021-06-09T17:54:51.000Z | 2022-03-12T00:46:49.000Z | apps/users/migrations/0011_fishx.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | 1 | 2020-09-27T18:26:15.000Z | 2020-09-27T18:26:15.000Z | # Generated by Django 3.0.6 on 2020-08-03 20:39
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('users', '0010_profile_rod'),
]
operations = [
... | 52.814815 | 114 | 0.596424 | 262 | 2,852 | 6.351145 | 0.431298 | 0.216346 | 0.300481 | 0.360577 | 0.101563 | 0.039663 | 0 | 0 | 0 | 0 | 0 | 0.015537 | 0.255259 | 2,852 | 53 | 115 | 53.811321 | 0.767891 | 0.015778 | 0 | 0 | 1 | 0 | 0.134046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042553 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5610e83a2492c6e7447f48e1d9220d30e4fb359 | 160 | py | Python | Data Analytics/making data frames.py | bahuisman/NatGasModel | 397423237b90a7638089f79492be0519e02fcc67 | [
"MIT"
] | 4 | 2019-09-09T08:05:46.000Z | 2021-03-24T13:09:10.000Z | Data Analytics/making data frames.py | bahuisman/NatGasModel | 397423237b90a7638089f79492be0519e02fcc67 | [
"MIT"
] | null | null | null | Data Analytics/making data frames.py | bahuisman/NatGasModel | 397423237b90a7638089f79492be0519e02fcc67 | [
"MIT"
] | 3 | 2019-09-09T08:05:48.000Z | 2020-04-03T21:31:21.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Jul 14 01:43:16 2017
@author: Berend
"""
import pandas as pd
import numpy as np
np.linspace(2012,2020,7) | 14.545455 | 36 | 0.61875 | 27 | 160 | 3.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178862 | 0.23125 | 160 | 11 | 37 | 14.545455 | 0.626016 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d576129df67b75d5a13213ef3de9ba608204071b | 108 | py | Python | mir/__init__.py | fenrir-z/ymir-cmd | 6fbffd3c1ff5dd1c9a44b55de411523b50567661 | [
"Apache-2.0"
] | 64 | 2021-11-15T03:48:00.000Z | 2022-03-25T07:08:46.000Z | mir/__init__.py | fenrir-z/ymir-cmd | 6fbffd3c1ff5dd1c9a44b55de411523b50567661 | [
"Apache-2.0"
] | 35 | 2021-11-23T04:14:35.000Z | 2022-03-26T09:03:43.000Z | mir/__init__.py | fenrir-z/ymir-cmd | 6fbffd3c1ff5dd1c9a44b55de411523b50567661 | [
"Apache-2.0"
] | 57 | 2021-11-11T10:15:40.000Z | 2022-03-29T07:27:54.000Z | import logging
import sys
logging.basicConfig(stream=sys.stdout, format='%(message)s', level=logging.INFO)
| 21.6 | 80 | 0.787037 | 15 | 108 | 5.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 4 | 81 | 27 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d594e650b232d55ab1ddc0481cc31694028496df | 11,748 | py | Python | tests/unit_tests/test_view_establishment.py | sspbft/BFTList | d73aee5bd0ab05995509f0fcfaf3c0a5944e617a | [
"MIT"
] | 6 | 2019-11-12T01:45:55.000Z | 2022-03-18T10:57:21.000Z | tests/unit_tests/test_view_establishment.py | practicalbft/BFTList | d73aee5bd0ab05995509f0fcfaf3c0a5944e617a | [
"MIT"
] | 4 | 2019-02-14T10:57:09.000Z | 2019-03-21T15:22:08.000Z | tests/unit_tests/test_view_establishment.py | sspbft/BFTList | d73aee5bd0ab05995509f0fcfaf3c0a5944e617a | [
"MIT"
] | 1 | 2019-04-04T15:09:33.000Z | 2019-04-04T15:09:33.000Z | import unittest
from unittest.mock import Mock, MagicMock, call
from resolve.resolver import Resolver
from modules.view_establishment.predicates import PredicatesAndAction
from modules.view_establishment.module import ViewEstablishmentModule
from modules.enums import ViewEstablishmentEnums
from resolve.enums import Fun... | 44.839695 | 115 | 0.690415 | 1,678 | 11,748 | 4.530989 | 0.09118 | 0.122452 | 0.174931 | 0.034986 | 0.798501 | 0.786795 | 0.760621 | 0.722873 | 0.642115 | 0.630014 | 0 | 0.018031 | 0.221059 | 11,748 | 262 | 116 | 44.839695 | 0.812807 | 0.195948 | 0 | 0.464052 | 0 | 0 | 0.011706 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 1 | 0.091503 | false | 0 | 0.052288 | 0 | 0.163399 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d597da931bb3b2d46eadaae0e53b5f56c67a78cc | 1,943 | py | Python | autograd/scipy/stats/norm.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 4 | 2021-01-12T22:02:57.000Z | 2021-04-02T15:24:18.000Z | autograd/scipy/stats/norm.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | autograd/scipy/stats/norm.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2017-07-30T23:49:27.000Z | 2017-07-30T23:49:27.000Z | """Gradients of the normal distribution."""
from __future__ import absolute_import
import scipy.stats
import autograd.numpy as anp
from autograd.core import primitive
from autograd.numpy.numpy_grads import unbroadcast
pdf = primitive(scipy.stats.norm.pdf)
cdf = primitive(scipy.stats.norm.cdf)
logpdf = primitive(scip... | 64.766667 | 167 | 0.65826 | 368 | 1,943 | 3.459239 | 0.105978 | 0.091123 | 0.113119 | 0.150825 | 0.729772 | 0.718775 | 0.707777 | 0.707777 | 0.683425 | 0.683425 | 0 | 0.039952 | 0.136902 | 1,943 | 29 | 168 | 67 | 0.719141 | 0.019043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.238095 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5a64f6c2783e8b94f9669bc21e2aeda3ec0783a | 1,244 | py | Python | django_analyses/filters/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 1 | 2020-12-30T12:43:34.000Z | 2020-12-30T12:43:34.000Z | django_analyses/filters/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 59 | 2019-12-25T13:14:56.000Z | 2021-07-22T12:24:46.000Z | django_analyses/filters/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 2 | 2020-05-24T06:44:27.000Z | 2020-07-09T15:47:31.000Z | """
Filters for the app's :ref:`models <modules/django_analyses.models:Models>`.
References
----------
* `Django REST Framework`_ `filtering documentation`_.
* django-filter_'s documentation for `Integration with DRF`_.
.. _django-filter: https://django-filter.readthedocs.io/en/stable/index.html
.. _Django R... | 44.428571 | 78 | 0.69373 | 120 | 1,244 | 7.05 | 0.416667 | 0.115839 | 0.12766 | 0.177305 | 0.238771 | 0.160757 | 0.089835 | 0 | 0 | 0 | 0 | 0 | 0.213023 | 1,244 | 27 | 79 | 46.074074 | 0.864147 | 0.451768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
633922242bfb2084b69e826c8f5d4f9b1df633ef | 253 | py | Python | tips/*40.py | leolanese/python-playground | 4cfa281243e48ea616387c2110444944aaba5b3d | [
"MIT"
] | 1 | 2018-10-11T20:27:52.000Z | 2018-10-11T20:27:52.000Z | tips/*40.py | leolanese/python-playground | 4cfa281243e48ea616387c2110444944aaba5b3d | [
"MIT"
] | null | null | null | tips/*40.py | leolanese/python-playground | 4cfa281243e48ea616387c2110444944aaba5b3d | [
"MIT"
] | null | null | null | print("Hello!, Welcome to Python")
print("*" * 40)
print("Please Enter your name ")
name = input()
print("Your name is, " + name)
# Hello!,Welcome to Python
# ****************************************
# Please Enter your name
# Leo
# Your name is, Leo
| 21.083333 | 42 | 0.549407 | 32 | 253 | 4.34375 | 0.40625 | 0.230216 | 0.201439 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.162055 | 253 | 11 | 43 | 23 | 0.646226 | 0.438735 | 0 | 0 | 0 | 0 | 0.463235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 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 | 1 | 0 | 4 |
6373a447352ea40984e9c81455efa67f18110321 | 64 | py | Python | uniswap/__init__.py | mul53/uniswap-python | f24993bcea8cb4181be59dd7e4e9abcd40a375cb | [
"MIT"
] | 3 | 2021-05-03T06:59:31.000Z | 2021-11-02T05:18:54.000Z | uniswap/__init__.py | mul53/uniswap-python | f24993bcea8cb4181be59dd7e4e9abcd40a375cb | [
"MIT"
] | null | null | null | uniswap/__init__.py | mul53/uniswap-python | f24993bcea8cb4181be59dd7e4e9abcd40a375cb | [
"MIT"
] | 4 | 2020-10-27T20:27:44.000Z | 2022-03-23T22:07:55.000Z | from .uniswap import Uniswap, InvalidToken, InsufficientBalance
| 32 | 63 | 0.859375 | 6 | 64 | 9.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 64 | 1 | 64 | 64 | 0.948276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6397d998f4655e986e02ed4237c84c111c3b5cc1 | 93 | py | Python | bloodcare/apps.py | tanmayag8958/bloodcare | b0d0a3920d9e39fc37d8471a2359603d589e1798 | [
"MIT"
] | 2 | 2019-11-19T07:38:06.000Z | 2021-08-14T06:43:55.000Z | bloodcare/apps.py | tanmayag8958/bloodcare | b0d0a3920d9e39fc37d8471a2359603d589e1798 | [
"MIT"
] | 3 | 2021-06-04T23:04:34.000Z | 2021-06-10T19:21:04.000Z | bloodcare/apps.py | tanmayag8958/bloodcare | b0d0a3920d9e39fc37d8471a2359603d589e1798 | [
"MIT"
] | 2 | 2020-04-08T16:17:09.000Z | 2020-04-11T06:26:06.000Z | from django.apps import AppConfig
class BloodcareConfig(AppConfig):
name = 'bloodcare'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
63abe3e259b96a5e0967b9ac9b090b0f5826710d | 83 | py | Python | scripts/jenkins/docs_release_check/check.py | pengpj/apm-agent-java | d10db0ca04d31e1cd9891eb694b0c49c5b535028 | [
"Apache-2.0"
] | 1 | 2021-08-04T05:10:14.000Z | 2021-08-04T05:10:14.000Z | scripts/jenkins/docs_release_check/check.py | pengpj/apm-agent-java | d10db0ca04d31e1cd9891eb694b0c49c5b535028 | [
"Apache-2.0"
] | 34 | 2021-01-18T07:04:28.000Z | 2022-03-28T23:04:36.000Z | scripts/jenkins/docs_release_check/check.py | pengpj/apm-agent-java | d10db0ca04d31e1cd9891eb694b0c49c5b535028 | [
"Apache-2.0"
] | 3 | 2021-06-04T13:35:28.000Z | 2021-07-16T08:42:42.000Z | #!/usr/bin/env python
import lib
if __name__ == "__main__":
lib.entrypoint()
| 11.857143 | 26 | 0.662651 | 11 | 83 | 4.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 6 | 27 | 13.833333 | 0.691176 | 0.240964 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
893a7c27290dcf8017cc971df2d155df432fca7e | 154 | py | Python | python/row-of-the-odd-triangle/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | 2 | 2020-02-22T08:47:51.000Z | 2021-05-21T22:21:55.000Z | python/row-of-the-odd-triangle/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | null | null | null | python/row-of-the-odd-triangle/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | 1 | 2021-11-09T17:22:10.000Z | 2021-11-09T17:22:10.000Z | # https://www.codewars.com/kata/5d5a7525207a674b71aa25b5
def odd_row(row):
base = row * (row - 1)
return [base + n * 2 + 1 for n in range(row)]
| 22 | 56 | 0.636364 | 24 | 154 | 4.041667 | 0.708333 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 0.214286 | 154 | 6 | 57 | 25.666667 | 0.636364 | 0.350649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
894f3d22c11e0a45e04bc9cf5924908b0f99befa | 58 | py | Python | mitmproxy/tools/console/grideditor/__init__.py | 0x7c48/mitmproxy | f9d8f3bae3f4e681d5f4d406b7e06b099e60ecba | [
"MIT"
] | 24,939 | 2015-01-01T17:13:21.000Z | 2022-03-31T17:50:04.000Z | mitmproxy/tools/console/grideditor/__init__.py | 0x7c48/mitmproxy | f9d8f3bae3f4e681d5f4d406b7e06b099e60ecba | [
"MIT"
] | 3,655 | 2015-01-02T12:31:43.000Z | 2022-03-31T20:24:57.000Z | mitmproxy/tools/console/grideditor/__init__.py | 0x7c48/mitmproxy | f9d8f3bae3f4e681d5f4d406b7e06b099e60ecba | [
"MIT"
] | 3,712 | 2015-01-06T06:47:06.000Z | 2022-03-31T10:33:27.000Z | from .editors import * # noqa
from . import base # noqa
| 19.333333 | 30 | 0.672414 | 8 | 58 | 4.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 58 | 2 | 31 | 29 | 0.886364 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8980010713a9fe4e84501a6cc407c8bd192a9456 | 189 | py | Python | polls/forms.py | kraupn3r/intranet | 4cabf6f365ef0ea0f352f67f9322318e161ed265 | [
"MIT"
] | null | null | null | polls/forms.py | kraupn3r/intranet | 4cabf6f365ef0ea0f352f67f9322318e161ed265 | [
"MIT"
] | null | null | null | polls/forms.py | kraupn3r/intranet | 4cabf6f365ef0ea0f352f67f9322318e161ed265 | [
"MIT"
] | null | null | null | from django import forms
from .models import Poll
class PollForm(forms.ModelForm):
class Meta():
model = Poll
fields = ['title','target_departament','target_location']
| 23.625 | 65 | 0.687831 | 22 | 189 | 5.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 189 | 7 | 66 | 27 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0.201058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8981dd4564ac09e0f71ab2a3985c14ff4fe90bb6 | 44,957 | py | Python | Meters/IEC/Helpers/obis_codes.py | Runamook/PyCharmProjects | 1b1a063345e052451f00e3fdea82e31bdd2a0cae | [
"MIT"
] | null | null | null | Meters/IEC/Helpers/obis_codes.py | Runamook/PyCharmProjects | 1b1a063345e052451f00e3fdea82e31bdd2a0cae | [
"MIT"
] | null | null | null | Meters/IEC/Helpers/obis_codes.py | Runamook/PyCharmProjects | 1b1a063345e052451f00e3fdea82e31bdd2a0cae | [
"MIT"
] | null | null | null | obis_codes = {
"1.8.0": "Positive active energy (A+) total [kWh]",
"1.8.1": "Positive active energy (A+) in tariff T1 [kWh]",
"1.8.2": "Positive active energy (A+) in tariff T2 [kWh]",
"1.8.3": "Positive active energy (A+) in tariff T3 [kWh]",
"1.8.4": "Positive active energy (A+) in tariff T4 [kWh]... | 49.676243 | 93 | 0.606491 | 7,569 | 44,957 | 3.599154 | 0.038711 | 0.019308 | 0.024227 | 0.018244 | 0.878496 | 0.842596 | 0.743117 | 0.602269 | 0.477057 | 0.382314 | 0 | 0.109512 | 0.196276 | 44,957 | 904 | 94 | 49.731195 | 0.644369 | 0.014881 | 0 | 0.234763 | 0 | 0 | 0.753717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022573 | 0 | 0.022573 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8994253b00d6e5d27e65563ed1f3b8a7b6074e7a | 56 | py | Python | hms_kivy/rfid/__init__.py | NottingHack/hms-kivy | 38f0047517be15099f2f34b73f6aa43902de7c85 | [
"MIT"
] | 1 | 2021-12-17T04:24:22.000Z | 2021-12-17T04:24:22.000Z | hms_kivy/rfid/__init__.py | NottingHack/hms-kivy | 38f0047517be15099f2f34b73f6aa43902de7c85 | [
"MIT"
] | null | null | null | hms_kivy/rfid/__init__.py | NottingHack/hms-kivy | 38f0047517be15099f2f34b73f6aa43902de7c85 | [
"MIT"
] | null | null | null | """
RFID
===============
"""
# from .rfid import RFID
| 7 | 24 | 0.392857 | 5 | 56 | 4.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 56 | 7 | 25 | 8 | 0.488889 | 0.785714 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
899aac445ad00336b2aa58754d79698b04eca293 | 426 | py | Python | diff/__init__.py | treebohotels/diff-and-patch | 497c078ea5c1bc6caa361f14eb4c6206d84a5d24 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2020-01-01T15:34:30.000Z | 2020-01-01T15:34:30.000Z | diff/__init__.py | treebohotels/diff-and-patch | 497c078ea5c1bc6caa361f14eb4c6206d84a5d24 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | diff/__init__.py | treebohotels/diff-and-patch | 497c078ea5c1bc6caa361f14eb4c6206d84a5d24 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | # -*- coding: utf-8 -*-
from diff.diff_strategy.base_diff_item import BaseDiffItem
from diff.diff_strategy.integer_diff import IntegerDiff
from diff.diff_strategy.string_diff import StringDiff
from diff.diff_strategy.base_diff_strategy import BaseDiffStrategy
from diff.differ import Differ
from diff.patcher import Pat... | 38.727273 | 66 | 0.861502 | 59 | 426 | 6.016949 | 0.355932 | 0.180282 | 0.135211 | 0.225352 | 0.321127 | 0.157746 | 0 | 0 | 0 | 0 | 0 | 0.002577 | 0.089202 | 426 | 10 | 67 | 42.6 | 0.912371 | 0.049296 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
89ab07a525358131a9c0e7f84a7b69337a2f2cca | 104 | py | Python | models/continent.py | morival/W04_project_TBL | a116bbda72bf61c55752fe1f4fdce2685ae0d024 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | models/continent.py | morival/W04_project_TBL | a116bbda72bf61c55752fe1f4fdce2685ae0d024 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | models/continent.py | morival/W04_project_TBL | a116bbda72bf61c55752fe1f4fdce2685ae0d024 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | class Continent:
def __init__(self, name, id = None):
self.name = name
self.id = id | 20.8 | 40 | 0.567308 | 14 | 104 | 3.928571 | 0.571429 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326923 | 104 | 5 | 41 | 20.8 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
89b3b953ae664601d77ea8396659d68d4f2330e8 | 52 | py | Python | probez/file_handling/file_handling_exceptions.py | Sepidak/spikeGUI | 25ae60160308c0a34e7180f3e39a1c4dc6aad708 | [
"MIT"
] | null | null | null | probez/file_handling/file_handling_exceptions.py | Sepidak/spikeGUI | 25ae60160308c0a34e7180f3e39a1c4dc6aad708 | [
"MIT"
] | 3 | 2021-08-09T21:51:41.000Z | 2021-08-09T21:51:45.000Z | probez/file_handling/file_handling_exceptions.py | Sepidak/spikeGUI | 25ae60160308c0a34e7180f3e39a1c4dc6aad708 | [
"MIT"
] | 3 | 2021-10-16T14:07:59.000Z | 2021-10-16T17:09:03.000Z | class InconsistentNChanError(Exception):
pass
| 17.333333 | 41 | 0.769231 | 4 | 52 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 52 | 2 | 42 | 26 | 0.930233 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
984d7d175e90b6c00cda2c880cd9eb06bf678508 | 370 | py | Python | awards/serializers.py | kilonzijnr/awards | d2ec991de8f161b88ae85f6520c1702ead21291e | [
"MIT"
] | null | null | null | awards/serializers.py | kilonzijnr/awards | d2ec991de8f161b88ae85f6520c1702ead21291e | [
"MIT"
] | null | null | null | awards/serializers.py | kilonzijnr/awards | d2ec991de8f161b88ae85f6520c1702ead21291e | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Profile,Project
class ProfileSerializer(serializers.ModelSerializer):
class Meta:
model = Profile
fields = ('name','bio')
class ProjectSerializer(serializers.ModelSerializer):
class Meta:
model = Project
... | 24.666667 | 54 | 0.667568 | 34 | 370 | 7.235294 | 0.617647 | 0.211382 | 0.252033 | 0.284553 | 0.325203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235135 | 370 | 15 | 54 | 24.666667 | 0.869258 | 0 | 0 | 0.2 | 0 | 0 | 0.086253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
984dd04ab5d04ac8ea4c9837a4fad414a731b448 | 98 | py | Python | django_adminform/apps.py | humanscape-covy/django-jsonform | ddf2bf40022855d4969988e13a0a3db7abb8a365 | [
"BSD-3-Clause"
] | null | null | null | django_adminform/apps.py | humanscape-covy/django-jsonform | ddf2bf40022855d4969988e13a0a3db7abb8a365 | [
"BSD-3-Clause"
] | null | null | null | django_adminform/apps.py | humanscape-covy/django-jsonform | ddf2bf40022855d4969988e13a0a3db7abb8a365 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class JsonappConfig(AppConfig):
name = 'django_adminform'
| 16.333333 | 33 | 0.77551 | 11 | 98 | 6.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 34 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
986e9a1940b22c7bcff1ec87b0c917126cf577b9 | 135 | py | Python | rules_default/castervoice/lib/ctrl/mgr/errors/tree_rule_config_error.py | MLH-Fellowship/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 1 | 2021-09-17T06:11:02.000Z | 2021-09-17T06:11:02.000Z | rules_default/castervoice/lib/ctrl/mgr/errors/tree_rule_config_error.py | soma2000-lang/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 5 | 2021-02-03T05:29:41.000Z | 2021-02-08T01:14:11.000Z | rules_default/castervoice/lib/ctrl/mgr/errors/tree_rule_config_error.py | soma2000-lang/LarynxCode | 840fee18c689a357052825607c27fc8e3e56571c | [
"MIT"
] | 4 | 2021-02-03T05:05:00.000Z | 2021-07-14T06:21:10.000Z | class TreeRuleConfigurationError(Exception):
def __init__(self, msg):
super(TreeRuleConfigurationError, self).__init__(msg) | 45 | 61 | 0.77037 | 12 | 135 | 8 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 3 | 61 | 45 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
98852ee7adf518e9d53b96045eb40fd60d4b87be | 982 | py | Python | pyengy/error/node_error.py | FreNeS1/PyEngy-2d | 771112530ae039e8921369f700ba3b66c3df50c1 | [
"MIT"
] | 1 | 2020-07-09T12:42:30.000Z | 2020-07-09T12:42:30.000Z | pyengy/error/node_error.py | FreNeS1/PyEngy-2d | 771112530ae039e8921369f700ba3b66c3df50c1 | [
"MIT"
] | null | null | null | pyengy/error/node_error.py | FreNeS1/PyEngy-2d | 771112530ae039e8921369f700ba3b66c3df50c1 | [
"MIT"
] | null | null | null | """Contains the NodeError class."""
from __future__ import annotations
from typing import List, Optional
from .pyengy_error import PyEngyError
class NodeError(PyEngyError):
"""Error raised when a basic interaction with a node cannot be completed. For example, cyclic node dependencies."""
def __init__(self... | 35.071429 | 119 | 0.687373 | 127 | 982 | 5.173228 | 0.464567 | 0.030441 | 0.041096 | 0.063927 | 0.14003 | 0.14003 | 0.14003 | 0.14003 | 0.14003 | 0.14003 | 0 | 0 | 0.221996 | 982 | 27 | 120 | 36.37037 | 0.859948 | 0.378819 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.777778 | 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 | 1 | 1 | 0 | 0 | 4 |
9891700284763a3f19380f342bc7448060c6da88 | 3,214 | py | Python | sauron/parsers.py | luebbert42/sauron-engine | 9d67ecb8254544ec7ac16fbb80b33edc7a9758e3 | [
"MIT"
] | 30 | 2019-12-17T09:59:15.000Z | 2021-07-14T20:09:52.000Z | sauron/parsers.py | luebbert42/sauron-engine | 9d67ecb8254544ec7ac16fbb80b33edc7a9758e3 | [
"MIT"
] | 367 | 2020-02-24T17:28:25.000Z | 2022-03-15T15:47:46.000Z | sauron/parsers.py | luebbert42/sauron-engine | 9d67ecb8254544ec7ac16fbb80b33edc7a9758e3 | [
"MIT"
] | 5 | 2020-04-15T10:14:55.000Z | 2021-12-21T07:49:06.000Z | import json
from json.decoder import JSONDecodeError
from typing import List, Type, Union, Dict, Any
from sauron.models import JobModel
from ruamel.yaml import YAML
class DefaultParser:
single_model: Type[JobModel] = JobModel
def __init__(self):
self.yaml = YAML(typ="safe")
def _parse_single_job... | 34.934783 | 77 | 0.631612 | 419 | 3,214 | 4.587112 | 0.176611 | 0.098335 | 0.067638 | 0.061915 | 0.761186 | 0.739334 | 0.727367 | 0.727367 | 0.681582 | 0.681582 | 0 | 0 | 0.288115 | 3,214 | 91 | 78 | 35.318681 | 0.840035 | 0.13939 | 0 | 0.571429 | 0 | 0 | 0.068609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.089286 | 0 | 0.410714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
989a51d09054c4e781530d27242fa96e3092af04 | 1,099 | py | Python | libotp/nametag/MarginPopup.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 1 | 2019-11-23T21:54:23.000Z | 2019-11-23T21:54:23.000Z | libotp/nametag/MarginPopup.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 1 | 2021-06-08T17:16:48.000Z | 2021-06-08T17:16:48.000Z | libotp/nametag/MarginPopup.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 3 | 2021-06-03T05:36:36.000Z | 2021-06-22T15:07:31.000Z | from panda3d.core import *
import NametagGlobals
class MarginPopup(PandaNode):
def __init__(self):
PandaNode.__init__(self, 'MarginPopup')
self.m_managed = False
self.m_visible = False
self.m_np = None
self.m_cell_width = 1.0
self.m_seq = NametagGlobals._margin_pr... | 21.134615 | 57 | 0.616924 | 131 | 1,099 | 4.923664 | 0.312977 | 0.108527 | 0.055814 | 0.102326 | 0.168992 | 0.168992 | 0.168992 | 0.114729 | 0 | 0 | 0 | 0.007853 | 0.304823 | 1,099 | 51 | 58 | 21.54902 | 0.836387 | 0 | 0 | 0.166667 | 0 | 0 | 0.010009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.305556 | false | 0.055556 | 0.055556 | 0.138889 | 0.527778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
989f890f3cd119ce24bac176059068606afe256e | 29,932 | py | Python | source/plotting/create_plots.py | ml-jku/OfflineRL | d407457aba144587ce58fc47f4e8ae6099356f03 | [
"MIT"
] | 6 | 2021-11-30T09:41:54.000Z | 2022-03-29T18:15:02.000Z | source/plotting/create_plots.py | kschweig/OfflineRL | d407457aba144587ce58fc47f4e8ae6099356f03 | [
"MIT"
] | null | null | null | source/plotting/create_plots.py | kschweig/OfflineRL | d407457aba144587ce58fc47f4e8ae6099356f03 | [
"MIT"
] | 2 | 2021-11-04T16:47:59.000Z | 2022-02-15T14:30:21.000Z | import os
import glob
import scipy
import pickle
import numpy as np
from source.offline_ds_evaluation.metrics_manager import MetricsManager
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
from matplotlib.colors import Normalize
# Turn interactive plotting off
plt.ioff()
import se... | 40.394062 | 144 | 0.5587 | 4,221 | 29,932 | 3.885572 | 0.094764 | 0.023901 | 0.018109 | 0.024145 | 0.788976 | 0.769831 | 0.720078 | 0.706298 | 0.694287 | 0.694287 | 0 | 0.037516 | 0.256415 | 29,932 | 740 | 145 | 40.448649 | 0.699375 | 0.037452 | 0 | 0.672414 | 0 | 0 | 0.099847 | 0.007605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001916 | false | 0.005747 | 0.022989 | 0 | 0.024904 | 0.028736 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98b98fad99a549679ab71ed1e6fe0f75606accc6 | 249 | py | Python | fastapi_admin/apps/wxPay/tools.py | Chise1/fastapi-admin | 74693cf8dd854d61ae5bd931ebe85f5b94f48121 | [
"Apache-2.0"
] | null | null | null | fastapi_admin/apps/wxPay/tools.py | Chise1/fastapi-admin | 74693cf8dd854d61ae5bd931ebe85f5b94f48121 | [
"Apache-2.0"
] | null | null | null | fastapi_admin/apps/wxPay/tools.py | Chise1/fastapi-admin | 74693cf8dd854d61ae5bd931ebe85f5b94f48121 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
@File : tools.py
@Time : 2020/4/11 10:43
@Author : chise
@Email : chise123@live.com
@Software: PyCharm
@info :一些处理数据的工具函数
"""
from typing import Dict
def dict2xml(d:Dict[str,str]):
"""字典转xml"""
pass | 17.785714 | 30 | 0.606426 | 34 | 249 | 4.441176 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081218 | 0.208835 | 249 | 14 | 31 | 17.785714 | 0.685279 | 0.662651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
7f28f13048650c2961d83d7539ae3569c83af87b | 1,295 | py | Python | test.py | SriMethan/python-tictactoe | 40dcd64c7a42c1e4a94eb40d54e985f7165f46c2 | [
"MIT"
] | null | null | null | test.py | SriMethan/python-tictactoe | 40dcd64c7a42c1e4a94eb40d54e985f7165f46c2 | [
"MIT"
] | null | null | null | test.py | SriMethan/python-tictactoe | 40dcd64c7a42c1e4a94eb40d54e985f7165f46c2 | [
"MIT"
] | null | null | null | from tictactoe import Board
def draw_board():
board = Board()
board.push((0, 0))
board.push((0, 1))
board.push((0, 2))
board.push((1, 1))
board.push((1, 0))
board.push((2, 0))
board.push((1, 2))
board.push((2, 2))
board.push((2, 1))
return board
def x_win... | 19.923077 | 47 | 0.51583 | 193 | 1,295 | 3.34715 | 0.119171 | 0.44582 | 0.185759 | 0.085139 | 0.688854 | 0.688854 | 0.688854 | 0.688854 | 0.608359 | 0.608359 | 0 | 0.072826 | 0.289575 | 1,295 | 64 | 48 | 20.234375 | 0.629348 | 0 | 0 | 0.769231 | 0 | 0 | 0.006499 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.096154 | false | 0 | 0.019231 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f29a37ba7ca9d8b45eadd4c85b6f59cdd98a5b1 | 671 | py | Python | theorems/admin.py | austindjones/mathreview | 34cd22103d5880bb283e695d2114bb6ddf4c2219 | [
"MIT"
] | 1 | 2021-02-25T20:57:50.000Z | 2021-02-25T20:57:50.000Z | theorems/admin.py | austindjones/mathreview | 34cd22103d5880bb283e695d2114bb6ddf4c2219 | [
"MIT"
] | null | null | null | theorems/admin.py | austindjones/mathreview | 34cd22103d5880bb283e695d2114bb6ddf4c2219 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Subject
from .models import Theorem
from .models import Theorem_Statement
from .models import Theorem_Proof
from .models import Definition
from .models import Proof_Definition_Link
from .models import Question
from .models import Keyword... | 29.173913 | 42 | 0.845007 | 93 | 671 | 5.967742 | 0.193548 | 0.162162 | 0.259459 | 0.165766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083458 | 671 | 22 | 43 | 30.5 | 0.902439 | 0.038748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.526316 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7f3ae844e2e9d48df0c926798ecbbafdf0478afc | 803 | py | Python | ivreg/services.py | sirex/internet-voting-registration | b60915507966ec150db36ef63782971d0d5e1a2b | [
"MIT"
] | null | null | null | ivreg/services.py | sirex/internet-voting-registration | b60915507966ec150db36ef63782971d0d5e1a2b | [
"MIT"
] | null | null | null | ivreg/services.py | sirex/internet-voting-registration | b60915507966ec150db36ef63782971d0d5e1a2b | [
"MIT"
] | null | null | null | import os
import uuid
import json
import hashlib
import base64
import requests
def generate_request_id():
return base64.b32encode(uuid.uuid4().bytes).decode('ascii').rstrip('=')
def generate_candidate_codes(candidates):
return {x: base64.b32encode(os.urandom(5)).decode('ascii')[:5] for x in candidates}
de... | 28.678571 | 118 | 0.689913 | 111 | 803 | 4.864865 | 0.477477 | 0.059259 | 0.051852 | 0.085185 | 0.177778 | 0.177778 | 0.177778 | 0.177778 | 0.177778 | 0 | 0 | 0.034985 | 0.145704 | 803 | 27 | 119 | 29.740741 | 0.752187 | 0 | 0 | 0 | 1 | 0 | 0.118306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.315789 | 0.157895 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
7f6db1e9953197c6e430f0417d4e9234193cc958 | 136 | py | Python | slackpicam.py | ricklon/slackpicam | dc4b3f74cc4f22a9f9d642878e5649bc1ee86ef9 | [
"Apache-2.0"
] | 1 | 2019-07-12T15:36:06.000Z | 2019-07-12T15:36:06.000Z | slackpicam.py | ricklon/slackpicam | dc4b3f74cc4f22a9f9d642878e5649bc1ee86ef9 | [
"Apache-2.0"
] | null | null | null | slackpicam.py | ricklon/slackpicam | dc4b3f74cc4f22a9f9d642878e5649bc1ee86ef9 | [
"Apache-2.0"
] | null | null | null | from time import sleep
from picamera import PiCamera
camera = PiCamera()
camera.resolution = (1024, 768)
camera.capture('foobar.jpg')
| 17 | 31 | 0.764706 | 18 | 136 | 5.777778 | 0.666667 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 0.132353 | 136 | 7 | 32 | 19.428571 | 0.822034 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7f735174c1fbd8a50460c5cb2d32e73a2ceb1276 | 74 | py | Python | smrf/envphys/__init__.py | scotthavens/smrf | a492d01a5eef994e00728c1cbed9f693879bbade | [
"CC0-1.0"
] | null | null | null | smrf/envphys/__init__.py | scotthavens/smrf | a492d01a5eef994e00728c1cbed9f693879bbade | [
"CC0-1.0"
] | null | null | null | smrf/envphys/__init__.py | scotthavens/smrf | a492d01a5eef994e00728c1cbed9f693879bbade | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
from . import core, phys, radiation, snow, storms
| 24.666667 | 49 | 0.635135 | 10 | 74 | 4.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.175676 | 74 | 2 | 50 | 37 | 0.754098 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f6887a1bc28ae32c0dd52cdd49a32ee38e668ed8 | 218 | py | Python | helpcenter/tests/dummy_classes.py | smalls12/django_helpcenter | e0118447871abad701056bc137d63e6fcd8abde6 | [
"MIT"
] | 4 | 2017-07-30T17:43:36.000Z | 2021-09-14T04:26:37.000Z | helpcenter/tests/dummy_classes.py | cdriehuys/django_helpcenter | e0118447871abad701056bc137d63e6fcd8abde6 | [
"MIT"
] | 20 | 2016-06-30T04:52:26.000Z | 2016-09-30T04:52:15.000Z | helpcenter/tests/dummy_classes.py | cdriehuys/django_helpcenter | e0118447871abad701056bc137d63e6fcd8abde6 | [
"MIT"
] | null | null | null | from django import forms
class BlankForm(forms.Form):
"""A blank form for testing purposes."""
def __init__(self, *args, **kwargs):
"""Consume arguments."""
super(BlankForm, self).__init__()
| 21.8 | 44 | 0.637615 | 25 | 218 | 5.24 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215596 | 218 | 9 | 45 | 24.222222 | 0.766082 | 0.243119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f68a9fd9a2a3b0664886738789562dcab483d747 | 166 | py | Python | materi/pertemuan_5/python/login.py | ai-qadrlabs/dasar-pemrograman | 73dbc87ef33159542be89f12f89b2873a06a4e3a | [
"MIT"
] | null | null | null | materi/pertemuan_5/python/login.py | ai-qadrlabs/dasar-pemrograman | 73dbc87ef33159542be89f12f89b2873a06a4e3a | [
"MIT"
] | null | null | null | materi/pertemuan_5/python/login.py | ai-qadrlabs/dasar-pemrograman | 73dbc87ef33159542be89f12f89b2873a06a4e3a | [
"MIT"
] | null | null | null | username = 'admin'
password = 'garahasia'
if (username == 'admin') and (password == 'rahasia'):
print('user berhasil login')
else:
print('user gagal login')
| 20.75 | 53 | 0.650602 | 19 | 166 | 5.684211 | 0.684211 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 166 | 7 | 54 | 23.714286 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.36747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f6914ec37499c1b6f5fdf1173c659e29406e4aee | 60 | py | Python | pc_processor/models/__init__.py | MasterHow/PanoLiSeg | 56bd09fe3c85251c46532dba5fcec5fb03951c36 | [
"MIT"
] | 65 | 2021-08-03T02:37:14.000Z | 2022-03-28T17:11:23.000Z | pc_processor/models/__init__.py | MasterHow/PanoLiSeg | 56bd09fe3c85251c46532dba5fcec5fb03951c36 | [
"MIT"
] | 12 | 2021-10-30T03:11:00.000Z | 2022-03-27T11:36:11.000Z | pc_processor/models/__init__.py | MasterHow/PanoLiSeg | 56bd09fe3c85251c46532dba5fcec5fb03951c36 | [
"MIT"
] | 23 | 2021-10-14T02:44:34.000Z | 2022-03-18T11:45:23.000Z | from .salsanext import SalsaNext
from .pmf_net import PMFNet | 30 | 32 | 0.85 | 9 | 60 | 5.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 2 | 33 | 30 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f6d69e0e4ee62c1f2a3f87de58751f58ea4ec399 | 87 | py | Python | knowledge_sim/ontology/__init__.py | t3pleni9/KnowledgeSimulator | 2c3df1e49372176daa20bbda2bf53910358373a0 | [
"Apache-2.0"
] | 1 | 2021-06-18T02:22:54.000Z | 2021-06-18T02:22:54.000Z | knowledge_sim/ontology/__init__.py | t3pleni9/KnowledgeSimulator | 2c3df1e49372176daa20bbda2bf53910358373a0 | [
"Apache-2.0"
] | null | null | null | knowledge_sim/ontology/__init__.py | t3pleni9/KnowledgeSimulator | 2c3df1e49372176daa20bbda2bf53910358373a0 | [
"Apache-2.0"
] | null | null | null | from .reasoner import Reasoner
from .behavior import Behavior
from .state import State
| 21.75 | 30 | 0.827586 | 12 | 87 | 6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 31 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f6f0419aeaa7066172b9955e6da6dc1b5331e9ec | 2,246 | py | Python | tests/structure/test_singles.py | nakaken88/NKSSG | 8f635bef3c466afd0842178e9a9a3501c3f39119 | [
"MIT"
] | 2 | 2021-04-28T11:52:08.000Z | 2021-11-16T11:32:47.000Z | tests/structure/test_singles.py | nakaken88/NKSSG | 8f635bef3c466afd0842178e9a9a3501c3f39119 | [
"MIT"
] | null | null | null | tests/structure/test_singles.py | nakaken88/NKSSG | 8f635bef3c466afd0842178e9a9a3501c3f39119 | [
"MIT"
] | null | null | null | import datetime
from pathlib import Path
from nkssg.structure.singles import Singles, Single
def test_get_url_from_permalink_no_change():
single = Single('', '')
single.date = datetime.datetime.now()
ret = single.get_url_from_permalink('/sample/', None)
assert ret == '/sample/'
def test_get_url_fro... | 30.767123 | 77 | 0.664737 | 298 | 2,246 | 4.724832 | 0.157718 | 0.068182 | 0.113636 | 0.215909 | 0.838778 | 0.801847 | 0.760653 | 0.627131 | 0.555398 | 0.477273 | 0 | 0.001605 | 0.167854 | 2,246 | 72 | 78 | 31.194444 | 0.751739 | 0 | 0 | 0.481481 | 0 | 0 | 0.122049 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.148148 | false | 0 | 0.055556 | 0 | 0.203704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 4 |
100a4046af88fc4895dc10d3d1832d4b693b3e9c | 253 | py | Python | tests/mockups/firstDiscoveryRequest.py | securesonic/safekiddo-mdm | 05ebd6ba0d01c7b1aa85b473c764b870c0b8e182 | [
"BSD-2-Clause"
] | null | null | null | tests/mockups/firstDiscoveryRequest.py | securesonic/safekiddo-mdm | 05ebd6ba0d01c7b1aa85b473c764b870c0b8e182 | [
"BSD-2-Clause"
] | null | null | null | tests/mockups/firstDiscoveryRequest.py | securesonic/safekiddo-mdm | 05ebd6ba0d01c7b1aa85b473c764b870c0b8e182 | [
"BSD-2-Clause"
] | null | null | null | import urllib2
import mockupsLib
opener = urllib2.build_opener()
request = urllib2.Request(mockupsLib.getDiscoveryRequestUrl()+"/EnrollmentServer/Discovery.svc", headers={'Content-Type': 'unknown'})
response = opener.open(request)
print response.info() | 36.142857 | 133 | 0.798419 | 27 | 253 | 7.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012712 | 0.067194 | 253 | 7 | 134 | 36.142857 | 0.838983 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 0.122047 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
100dec975c9ad9898f05a884e1f3edcd0a4bc7cd | 28 | py | Python | sentry/__init__.py | justquick/django-sentry | 07988759144524ba49bc63b308663244d1a69d04 | [
"BSD-3-Clause"
] | 1 | 2016-03-21T18:56:31.000Z | 2016-03-21T18:56:31.000Z | sentry/__init__.py | justquick/django-sentry | 07988759144524ba49bc63b308663244d1a69d04 | [
"BSD-3-Clause"
] | null | null | null | sentry/__init__.py | justquick/django-sentry | 07988759144524ba49bc63b308663244d1a69d04 | [
"BSD-3-Clause"
] | null | null | null | __version__ = (1, 0, '-dev') | 28 | 28 | 0.571429 | 4 | 28 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 28 | 1 | 28 | 28 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
101274f29925300afaefe843031ffe5b06b383a8 | 221 | py | Python | yawhois/parser/durban_whois_registry_net_za.py | huyphan/pyyawhois | 77fb2f73a9c67989f1d41d98f37037406a69d136 | [
"MIT"
] | null | null | null | yawhois/parser/durban_whois_registry_net_za.py | huyphan/pyyawhois | 77fb2f73a9c67989f1d41d98f37037406a69d136 | [
"MIT"
] | null | null | null | yawhois/parser/durban_whois_registry_net_za.py | huyphan/pyyawhois | 77fb2f73a9c67989f1d41d98f37037406a69d136 | [
"MIT"
] | null | null | null | from .za_central_registry import ZaCentralRegistryParser
class DurbanWhoisRegistryNetZaParser(ZaCentralRegistryParser):
def __init__(self, *args):
super(DurbanWhoisRegistryNetZaParser, self).__init__(*args)
| 31.571429 | 67 | 0.81448 | 18 | 221 | 9.444444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113122 | 221 | 6 | 68 | 36.833333 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
122742f1e3fd8eddf7df483de6428e0f81b55333 | 92 | py | Python | test/single_layer.py | gregvw/pyQAOA | 59b5abda36d90b45913878e7ffb588a1c146bc38 | [
"BSD-3-Clause"
] | null | null | null | test/single_layer.py | gregvw/pyQAOA | 59b5abda36d90b45913878e7ffb588a1c146bc38 | [
"BSD-3-Clause"
] | null | null | null | test/single_layer.py | gregvw/pyQAOA | 59b5abda36d90b45913878e7ffb588a1c146bc38 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import qaoa
import matplotlib.pyplot as plt
if __name__ == '__main__':
| 13.142857 | 31 | 0.76087 | 14 | 92 | 4.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 6 | 32 | 15.333333 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.75 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
123ee803ea3bc55ebbc04b94b215d90ef6f7a611 | 70 | py | Python | danceschool/guestlist/__init__.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 1 | 2019-02-04T02:11:32.000Z | 2019-02-04T02:11:32.000Z | danceschool/guestlist/__init__.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 2 | 2019-03-26T22:37:49.000Z | 2019-12-02T15:39:35.000Z | danceschool/guestlist/__init__.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 1 | 2019-03-19T22:49:01.000Z | 2019-03-19T22:49:01.000Z | default_app_config = 'danceschool.guestlist.apps.GuestListAppConfig'
| 35 | 69 | 0.857143 | 7 | 70 | 8.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 1 | 70 | 70 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.652174 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1251cd114b18bdc67612a8b040ba9243a77f076f | 67 | py | Python | setup.py | shamanoor/devops-for-data | 87e4773b45844d12ff96d1be58ade665b5d36d85 | [
"Apache-2.0"
] | 2 | 2020-10-29T15:27:52.000Z | 2021-04-10T14:08:20.000Z | setup.py | shamanoor/devops-for-data | 87e4773b45844d12ff96d1be58ade665b5d36d85 | [
"Apache-2.0"
] | null | null | null | setup.py | shamanoor/devops-for-data | 87e4773b45844d12ff96d1be58ade665b5d36d85 | [
"Apache-2.0"
] | 16 | 2020-10-28T12:21:51.000Z | 2022-02-04T12:25:25.000Z | from setuptools import setup
# All config is in setup.cfg
setup()
| 13.4 | 28 | 0.761194 | 11 | 67 | 4.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 4 | 29 | 16.75 | 0.927273 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
89efddebbe37d517ff525c9672af20117f46300d | 1,286 | py | Python | astropy/tests/__init__.py | REMeyer/astropy | 28c49fb618538a01812e586cd07bccdf0591a6c6 | [
"BSD-3-Clause"
] | 3 | 2018-03-20T15:09:16.000Z | 2021-05-27T11:17:33.000Z | astropy/tests/__init__.py | REMeyer/astropy | 28c49fb618538a01812e586cd07bccdf0591a6c6 | [
"BSD-3-Clause"
] | null | null | null | astropy/tests/__init__.py | REMeyer/astropy | 28c49fb618538a01812e586cd07bccdf0591a6c6 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This package contains utilities to run the astropy test suite, tools
for writing tests, and general tests that are not associated with a
particular package.
"""
# NOTE: This is retained only for backwards compatibility. Affiliated packages
# should no... | 44.344828 | 79 | 0.781493 | 189 | 1,286 | 5.253968 | 0.513228 | 0.060423 | 0.063444 | 0.058409 | 0.074522 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000923 | 0.157076 | 1,286 | 28 | 80 | 45.928571 | 0.915129 | 0.807932 | 0 | 0 | 0 | 0 | 0.075556 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d63571f14d5098676b716fc361353085c3dfd8ca | 368 | py | Python | setup.py | COHRINT/etddf_minau | b2770aaaeff37bf580cc23a566f83432300b715c | [
"Apache-2.0"
] | null | null | null | setup.py | COHRINT/etddf_minau | b2770aaaeff37bf580cc23a566f83432300b715c | [
"Apache-2.0"
] | null | null | null | setup.py | COHRINT/etddf_minau | b2770aaaeff37bf580cc23a566f83432300b715c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup()
d['packages'] = ['etddf', 'cuprint', 'cuquantization', 'deltatier']
d['package_dir'] = {'etddf': 'src/etddf/etddf', "cuprint":'src/cuprint', 'cuquantization':"src/cuquantiz... | 40.888889 | 140 | 0.741848 | 46 | 368 | 5.782609 | 0.456522 | 0.067669 | 0.165414 | 0.172932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 368 | 9 | 141 | 40.888889 | 0.782353 | 0.054348 | 0 | 0 | 1 | 0 | 0.41954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6430fc3118621cb938a86fd9fd8009e19b2be00 | 1,624 | py | Python | examples/10_Example_DSSInterface.py | davilamds/py_dss_interface | a447c97787aeac962381db88dd622ccb235eef4b | [
"MIT"
] | 8 | 2020-08-15T12:56:03.000Z | 2022-01-04T15:51:14.000Z | examples/10_Example_DSSInterface.py | rodolfoplondero/py_dss_interface | cb6771b34ed322a5df7ef1cc194611e794f26441 | [
"MIT"
] | 24 | 2021-04-24T18:33:19.000Z | 2021-11-13T14:59:54.000Z | examples/10_Example_DSSInterface.py | rodolfoplondero/py_dss_interface | cb6771b34ed322a5df7ef1cc194611e794f26441 | [
"MIT"
] | 7 | 2020-08-15T12:56:04.000Z | 2021-10-04T16:14:30.000Z | # -*- encoding: utf-8 -*-
"""
Created by Ênio Viana at 15/05/2021
"""
from py_dss_interface.models.Example.ExampleBase import ExampleBase
dss = ExampleBase("13").dss
# Integer methods
print(45 * '=' + ' Integer Methods' + 45 * '=')
print(f'dss.dss_num_circuits(): {dss.dss_num_circuits()}')
print(f'dss.dss_clear_all(... | 42.736842 | 113 | 0.716749 | 256 | 1,624 | 4.238281 | 0.285156 | 0.193548 | 0.141014 | 0.188018 | 0.352995 | 0.220277 | 0.162212 | 0.162212 | 0.162212 | 0.162212 | 0 | 0.016205 | 0.088054 | 1,624 | 37 | 114 | 43.891892 | 0.716408 | 0.116379 | 0 | 0.166667 | 0 | 0 | 0.692686 | 0.528129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.833333 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c38f8a137a8ab674b0f9ad3ffa00628b4cf57150 | 98 | py | Python | matizla/helpers/types.py | neotje/matizla | 23afbc9ad3972c04e5882e0fed2de1ce0b7f397b | [
"MIT"
] | null | null | null | matizla/helpers/types.py | neotje/matizla | 23afbc9ad3972c04e5882e0fed2de1ce0b7f397b | [
"MIT"
] | null | null | null | matizla/helpers/types.py | neotje/matizla | 23afbc9ad3972c04e5882e0fed2de1ce0b7f397b | [
"MIT"
] | null | null | null | from webview.window import Window
class JSwindow:
title: str
uuid: str
hidden: bool
| 12.25 | 33 | 0.683673 | 13 | 98 | 5.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 98 | 7 | 34 | 14 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c39522539ddd16df4a65be551b45fae7ef2e1827 | 93 | py | Python | WebApp/ImgSketch/apps.py | devanshsolani/sketchyourlife | ff9cec4eeb9fe3ebcb07432f9d12e6bcc10c4322 | [
"BSD-3-Clause"
] | 1 | 2021-06-03T19:18:41.000Z | 2021-06-03T19:18:41.000Z | WebApp/ImgSketch/apps.py | devanshsolani/sketchyourlife | ff9cec4eeb9fe3ebcb07432f9d12e6bcc10c4322 | [
"BSD-3-Clause"
] | 1 | 2021-05-12T10:19:12.000Z | 2021-05-12T10:19:12.000Z | WebApp/ImgSketch/apps.py | devanshsolani/sketchyourlife | ff9cec4eeb9fe3ebcb07432f9d12e6bcc10c4322 | [
"BSD-3-Clause"
] | 4 | 2021-05-12T10:19:44.000Z | 2021-07-03T07:57:31.000Z | from django.apps import AppConfig
class ImgSketchConfig(AppConfig):
name = 'ImgSketch'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c3957d577ec1fa3898313456a867fe9f6ec2a40f | 124 | py | Python | plugins/docker/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 3,777 | 2015-02-21T00:10:12.000Z | 2022-03-30T15:33:22.000Z | plugins/docker/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 749 | 2015-03-12T14:17:03.000Z | 2022-03-25T13:22:28.000Z | plugins/docker/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 687 | 2015-03-21T10:42:33.000Z | 2022-03-21T23:18:12.000Z | import logging
from .main import ItemProvider
from .views import Handler
logging.info('docker.__init__.py: docker loaded')
| 20.666667 | 49 | 0.806452 | 17 | 124 | 5.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 5 | 50 | 24.8 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0.266129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c3b74f7c7a6c11b158f2affbdf969a225aae6118 | 344 | py | Python | qt.py | DaelonSuzuka/qtenv | ee27d8989664aacd93ef1d8bb58ac6fa14418387 | [
"MIT"
] | null | null | null | qt.py | DaelonSuzuka/qtenv | ee27d8989664aacd93ef1d8bb58ac6fa14418387 | [
"MIT"
] | null | null | null | qt.py | DaelonSuzuka/qtenv | ee27d8989664aacd93ef1d8bb58ac6fa14418387 | [
"MIT"
] | null | null | null | import PySide2
from PySide2 import QtCore, QtGui, QtWidgets
from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *
from PySide2.QtNetwork import *
from PySide2.QtWebSockets import *
from PySide2.QtCharts import *
from PySide2.QtMultimedia import *
from PySide2.QtSerialPort import *
fro... | 31.272727 | 44 | 0.81686 | 44 | 344 | 6.386364 | 0.272727 | 0.391459 | 0.483986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036545 | 0.125 | 344 | 11 | 45 | 31.272727 | 0.89701 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c3bc7b903f7d70f70f266720379cbbc77be71313 | 35 | py | Python | ssh2net/core/juniper_junos/__init__.py | carlmontanari/ssh2net | 55e969b6d44ec3f2bd2ebbd8dedd68b99bee4c5b | [
"MIT"
] | 10 | 2020-01-13T03:28:33.000Z | 2022-02-08T17:05:59.000Z | ssh2net/core/juniper_junos/__init__.py | carlmontanari/ssh2net | 55e969b6d44ec3f2bd2ebbd8dedd68b99bee4c5b | [
"MIT"
] | null | null | null | ssh2net/core/juniper_junos/__init__.py | carlmontanari/ssh2net | 55e969b6d44ec3f2bd2ebbd8dedd68b99bee4c5b | [
"MIT"
] | 1 | 2020-05-26T13:35:46.000Z | 2020-05-26T13:35:46.000Z | """ssh2net juniper junos driver"""
| 17.5 | 34 | 0.714286 | 4 | 35 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 35 | 1 | 35 | 35 | 0.774194 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c3c096c6bf5140a9cca00f20e76eddbc5cb9115f | 99,519 | py | Python | spinsim/__init__.py | alexander-tritt-monash/spinsim | 30a635464730e95c6e236931e3103ff6dcf119fe | [
"BSD-3-Clause"
] | 2 | 2021-11-09T08:45:42.000Z | 2022-02-09T22:36:54.000Z | spinsim/__init__.py | alexander-tritt-monash/spinsim | 30a635464730e95c6e236931e3103ff6dcf119fe | [
"BSD-3-Clause"
] | null | null | null | spinsim/__init__.py | alexander-tritt-monash/spinsim | 30a635464730e95c6e236931e3103ff6dcf119fe | [
"BSD-3-Clause"
] | 1 | 2021-06-02T10:28:50.000Z | 2021-06-02T10:28:50.000Z | """
"""
from enum import Enum
import numpy as np
import numba as nb
from numba import cuda
from numba import roc
import math
import cmath
sqrt2 = math.sqrt(2)
sqrt3 = math.sqrt(3)
class SpinQuantumNumber(Enum):
"""
Options for the spin quantum number of a system.
Parameters
----------
value : :o... | 53.361394 | 516 | 0.581708 | 13,061 | 99,519 | 4.259322 | 0.052446 | 0.032626 | 0.019809 | 0.009563 | 0.822114 | 0.778145 | 0.733979 | 0.697219 | 0.678812 | 0.654473 | 0 | 0.036116 | 0.291643 | 99,519 | 1,865 | 517 | 53.361394 | 0.753032 | 0.421136 | 0 | 0.44623 | 0 | 0.00618 | 0.034302 | 0.003798 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088999 | false | 0.002472 | 0.008653 | 0.024722 | 0.165637 | 0.00618 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c3e7044b9a8d6bc7e21256b2b463446aa536d23e | 356 | py | Python | allegation/tests/utils/filter_tags_test_mixin.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 16 | 2016-05-20T09:03:32.000Z | 2020-09-13T14:23:06.000Z | allegation/tests/utils/filter_tags_test_mixin.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 2 | 2016-05-24T01:44:14.000Z | 2016-06-17T22:19:45.000Z | allegation/tests/utils/filter_tags_test_mixin.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 2 | 2016-10-10T16:14:19.000Z | 2020-10-26T00:17:02.000Z | class FilterTagsTestMixin(object):
def assert_have_filter_tags(self, category, value):
filter_tags = self.find('#filter-tags').text.lower()
filter_tags.should.contain(category.lower())
filter_tags.should.contain(str(value).lower())
def assert_no_filter_tags(self):
self.find_all(... | 39.555556 | 60 | 0.705056 | 47 | 356 | 5.106383 | 0.468085 | 0.25 | 0.175 | 0.175 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003322 | 0.154494 | 356 | 8 | 61 | 44.5 | 0.79402 | 0 | 0 | 0 | 0 | 0 | 0.053371 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
613658a10de0abe34b68df0e796ca735776a6a36 | 198 | py | Python | util/plt_setting.py | mnm-analytics/nklearn | 333b1cadd49b63bdbdbd121b814ade03d19ada49 | [
"MIT"
] | null | null | null | util/plt_setting.py | mnm-analytics/nklearn | 333b1cadd49b63bdbdbd121b814ade03d19ada49 | [
"MIT"
] | null | null | null | util/plt_setting.py | mnm-analytics/nklearn | 333b1cadd49b63bdbdbd121b814ade03d19ada49 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import japanize_matplotlib
plt.style.use("ggplot")
plt.rcParams["figure.figsize"] = (16,10)
plt.rcParams["font.fontsize"] = 12
| 24.75 | 40 | 0.772727 | 31 | 198 | 4.903226 | 0.677419 | 0.144737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.106061 | 198 | 7 | 41 | 28.285714 | 0.824859 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
615876c3c8ddef74095cbcb8ab41e04c858d2edd | 161 | py | Python | pygdpr/specifications/dpa_node_type_specification/__init__.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | null | null | null | pygdpr/specifications/dpa_node_type_specification/__init__.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | 2 | 2022-02-19T06:56:03.000Z | 2022-02-19T07:00:00.000Z | pygdpr/specifications/dpa_node_type_specification/__init__.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | null | null | null | class DPANodeTypeSpecification:
def is_satisfied_by(self, dpa_node):
classname = dpa_node.__class__.__name__
return (classname == 'DPANode')
| 32.2 | 47 | 0.714286 | 17 | 161 | 6.058824 | 0.764706 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198758 | 161 | 4 | 48 | 40.25 | 0.79845 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6159f8ff5e82e8b94750316d4fdfa0da3b6c400d | 80 | py | Python | apps/node/src/app/main/model_centric/processes/__init__.py | hivecell-io/federated_learning | e251bfa65c32abd83359c2b6847b9d0b62c4f5c3 | [
"Apache-2.0"
] | 7 | 2020-04-20T22:22:08.000Z | 2020-07-25T17:32:08.000Z | apps/node/src/app/main/model_centric/processes/__init__.py | hivecell-io/federated_learning | e251bfa65c32abd83359c2b6847b9d0b62c4f5c3 | [
"Apache-2.0"
] | 3 | 2020-04-24T21:20:57.000Z | 2020-05-28T09:17:02.000Z | apps/node/src/app/main/model_centric/processes/__init__.py | hivecell-io/federated_learning | e251bfa65c32abd83359c2b6847b9d0b62c4f5c3 | [
"Apache-2.0"
] | 4 | 2020-04-24T22:32:37.000Z | 2020-05-25T19:29:20.000Z | from .process_manager import ProcessManager
process_manager = ProcessManager()
| 20 | 43 | 0.85 | 8 | 80 | 8.25 | 0.625 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 3 | 44 | 26.666667 | 0.916667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
618357e099de41e86313f27afebc444ef9b76033 | 1,141 | py | Python | model/utils.py | PetrovSergSerg/python_lection7 | 3214e89f8413442c6ffe07bdc20b842209ff6253 | [
"Apache-2.0"
] | null | null | null | model/utils.py | PetrovSergSerg/python_lection7 | 3214e89f8413442c6ffe07bdc20b842209ff6253 | [
"Apache-2.0"
] | null | null | null | model/utils.py | PetrovSergSerg/python_lection7 | 3214e89f8413442c6ffe07bdc20b842209ff6253 | [
"Apache-2.0"
] | null | null | null | import datetime
from random import randint, choice, randrange
import re
import data.constants as c
def get_random_date(start, end):
"""Generate a random datetime between `start` and `end`"""
return start + datetime.timedelta(
# Get a random amount of seconds between `start` and `end`
seconds=r... | 27.829268 | 110 | 0.680105 | 158 | 1,141 | 4.803797 | 0.398734 | 0.071146 | 0.068511 | 0.110672 | 0.073781 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007487 | 0.180543 | 1,141 | 40 | 111 | 28.525 | 0.804278 | 0.205083 | 0 | 0 | 1 | 0 | 0.013468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.181818 | 0.136364 | 0.863636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
61bbc3af714e2181d128dd2b7228751ee1012c63 | 1,915 | py | Python | app/generator/view.py | LifeLaboratory/Laboratory_EnergyHack | 716f5a16b5fd0338fdf895882260b9b284e601fb | [
"MIT"
] | null | null | null | app/generator/view.py | LifeLaboratory/Laboratory_EnergyHack | 716f5a16b5fd0338fdf895882260b9b284e601fb | [
"MIT"
] | null | null | null | app/generator/view.py | LifeLaboratory/Laboratory_EnergyHack | 716f5a16b5fd0338fdf895882260b9b284e601fb | [
"MIT"
] | null | null | null | from json import loads
from app.generator.creator import GenerateCode
def get_code(struct):
"""
Публичный метод для построения кода по правилам
:param struct:
:return:
"""
return GenerateCode().create_code(struct)
def get_file(struct):
"""
Публичный метод для построения кода по прави... | 31.916667 | 109 | 0.542037 | 208 | 1,915 | 4.903846 | 0.283654 | 0.114706 | 0.167647 | 0.135294 | 0.767647 | 0.767647 | 0.687255 | 0.687255 | 0.562745 | 0.515686 | 0 | 0.01196 | 0.214099 | 1,915 | 59 | 110 | 32.457627 | 0.665781 | 0.106005 | 0 | 0.3 | 1 | 0.225 | 0.840144 | 0.043269 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
61be3cf346d2e41699e209d40684c448ba1daab6 | 562 | py | Python | misc/gen_yupik_words.py | cwtliu/yupik-mt | b0c53dc5577a8b66f3bb60da64679bba6ce8bbd9 | [
"MIT"
] | 7 | 2018-05-14T06:07:36.000Z | 2021-04-29T02:56:54.000Z | misc/gen_yupik_words.py | cwtliu/yupik-mt | b0c53dc5577a8b66f3bb60da64679bba6ce8bbd9 | [
"MIT"
] | null | null | null | misc/gen_yupik_words.py | cwtliu/yupik-mt | b0c53dc5577a8b66f3bb60da64679bba6ce8bbd9 | [
"MIT"
] | null | null | null | from __future__ import print_function
import pickle
'''
Appends generated english to english word mappings to two files. This will
provide an additional corpus to train an NN which takes an unaranged set of
english words and translates them to a coherent sentence.
The first set of english words are taken from raw tran... | 33.058824 | 81 | 0.80427 | 85 | 562 | 5.258824 | 0.647059 | 0.033557 | 0.080537 | 0.114094 | 0.129754 | 0.129754 | 0.129754 | 0 | 0 | 0 | 0 | 0 | 0.16548 | 562 | 16 | 82 | 35.125 | 0.953092 | 0.103203 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
f60723dfbed875059ef8d85bdd6279e791d24df9 | 285 | py | Python | Soma.py | MatheusSouza70/Exerc-cios-Python | f8878a0c9d62e49db61dcbce0ee10a161e12a894 | [
"MIT"
] | 1 | 2022-03-14T01:35:09.000Z | 2022-03-14T01:35:09.000Z | Soma.py | MatheusSouza70/Exerc-cios-Python | f8878a0c9d62e49db61dcbce0ee10a161e12a894 | [
"MIT"
] | null | null | null | Soma.py | MatheusSouza70/Exerc-cios-Python | f8878a0c9d62e49db61dcbce0ee10a161e12a894 | [
"MIT"
] | null | null | null | nota1 = float (input("Informe a primeira nota: "))
nota2 = float (input("Informe a segunda nota: "))
nota3 = float (input("Informe a terceira nota: "))
nota4 = float (input("Informe a quarta nota: "))
media = (nota1+nota2+nota3+nota4) / 4
print("A média é: {}" .format(media)) | 35.625 | 51 | 0.652632 | 40 | 285 | 4.65 | 0.475 | 0.215054 | 0.365591 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038298 | 0.175439 | 285 | 8 | 52 | 35.625 | 0.753191 | 0 | 0 | 0 | 0 | 0 | 0.394265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f60e31e4e5fd5cf2e8629566b00cdd6b967d7337 | 36 | py | Python | AlgorithmsPractice/python/test.py | YangXiaoo/NoteBook | 37056acad7a05b876832f72ac34d3d1a41e0dd22 | [
"CNRI-Python",
"RSA-MD",
"CECILL-B"
] | 58 | 2019-03-03T04:42:23.000Z | 2022-01-13T04:36:31.000Z | AlgorithmsPractice/python/test.py | YangXiaoo/NoteBook | 37056acad7a05b876832f72ac34d3d1a41e0dd22 | [
"CNRI-Python",
"RSA-MD",
"CECILL-B"
] | null | null | null | AlgorithmsPractice/python/test.py | YangXiaoo/NoteBook | 37056acad7a05b876832f72ac34d3d1a41e0dd22 | [
"CNRI-Python",
"RSA-MD",
"CECILL-B"
] | 28 | 2019-08-11T01:25:00.000Z | 2021-08-22T06:46:06.000Z | # coding:utf-8
s = 3
print(s*(1/s)) | 9 | 14 | 0.555556 | 9 | 36 | 2.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.166667 | 36 | 4 | 15 | 9 | 0.566667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f61a5046f32da237e548fc60980985b0b135b418 | 799 | py | Python | toontown/coghq/FactorySpecs.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 8 | 2017-10-10T11:41:01.000Z | 2021-02-23T12:55:47.000Z | toontown/coghq/FactorySpecs.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 1 | 2021-06-08T17:16:48.000Z | 2021-06-08T17:16:48.000Z | toontown/coghq/FactorySpecs.py | AnonymousDeveloper65535/open-toontown | 3d05c22a7d960ad843dde231140447c46973dba5 | [
"BSD-3-Clause"
] | 3 | 2021-06-03T05:36:36.000Z | 2021-06-22T15:07:31.000Z | from toontown.toonbase import ToontownGlobals
import SellbotLegFactorySpec
import SellbotLegFactoryCogs
import LawbotLegFactorySpec
import LawbotLegFactoryCogs
def getFactorySpecModule(factoryId):
return FactorySpecModules[factoryId]
def getCogSpecModule(factoryId):
return CogSpecModules[factoryId]
Factory... | 33.291667 | 79 | 0.861076 | 53 | 799 | 12.90566 | 0.433962 | 0.04386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093867 | 799 | 23 | 80 | 34.73913 | 0.944751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.388889 | 0.111111 | 0.611111 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
f63bff37ac5336cecf554327a5b0d31204bd5905 | 122 | py | Python | olivertwist/ruleengine/__init__.py | octoenergy/oliver-twist | 7496208d9de4c21cd9e0d553f24bf07612ddc720 | [
"Apache-2.0"
] | 37 | 2020-12-17T13:32:12.000Z | 2022-03-16T07:19:56.000Z | olivertwist/ruleengine/__init__.py | Norina-Sun/oliver-twist | 5bb9b2cddc097d89d4a3eff78c63036682dd19f8 | [
"Apache-2.0"
] | 28 | 2020-12-17T16:20:14.000Z | 2022-01-21T09:00:15.000Z | olivertwist/ruleengine/__init__.py | octoenergy/oliver-twist | 7496208d9de4c21cd9e0d553f24bf07612ddc720 | [
"Apache-2.0"
] | 2 | 2021-08-09T17:07:23.000Z | 2021-11-05T14:37:18.000Z | # -*- coding: utf-8 -*-
"""Document __init__.py here.
Copyright (C) 2020, Auto Trader UK
Created 15. Dec 2020 14:31
"""
| 15.25 | 34 | 0.639344 | 19 | 122 | 3.894737 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.180328 | 122 | 7 | 35 | 17.428571 | 0.59 | 0.918033 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f648045e68d81a9f300839dd2e3bdd8844d024cb | 318 | py | Python | utils/local_config.py | afcarl/fg-gating | 9896447e2f91122ecc5d4153db127cbb30d7b5c9 | [
"MIT"
] | 1 | 2019-04-22T16:43:23.000Z | 2019-04-22T16:43:23.000Z | utils/local_config.py | afcarl/fg-gating | 9896447e2f91122ecc5d4153db127cbb30d7b5c9 | [
"MIT"
] | null | null | null | utils/local_config.py | afcarl/fg-gating | 9896447e2f91122ecc5d4153db127cbb30d7b5c9 | [
"MIT"
] | null | null | null |
import os
CUR_DIRECTORY = os.path.dirname(os.path.abspath(__file__))
NER_MODEL_PATH = CUR_DIRECTORY + 'english.all.3class.distsim.crf.ser.gz'
NER_JAR_PATH = CUR_DIRECTORY + 'stanford-ner.jar'
POS_MODEL_PATH = CUR_DIRECTORY + 'english-left3words-distsim.tagger'
POS_JAR_PATH = CUR_DIRECTORY + 'stanford-postagger.jar' | 39.75 | 72 | 0.798742 | 48 | 318 | 4.9375 | 0.479167 | 0.253165 | 0.270042 | 0.177215 | 0.464135 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.081761 | 318 | 8 | 73 | 39.75 | 0.804795 | 0 | 0 | 0 | 0 | 0 | 0.339623 | 0.289308 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f6536fbf3338d5121f74e348e2a369e8473489a6 | 132 | py | Python | allegation/views/landing_view.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 16 | 2016-05-20T09:03:32.000Z | 2020-09-13T14:23:06.000Z | allegation/views/landing_view.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 2 | 2016-05-24T01:44:14.000Z | 2016-06-17T22:19:45.000Z | allegation/views/landing_view.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 2 | 2016-10-10T16:14:19.000Z | 2020-10-26T00:17:02.000Z | from django.views.generic.base import TemplateView
class LandingView(TemplateView):
template_name = "allegation/landing.html"
| 22 | 50 | 0.80303 | 15 | 132 | 7 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 132 | 5 | 51 | 26.4 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.174242 | 0.174242 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9ca8e3b276479c7eabc9dab17d2fe8f9fa1e7133 | 24,551 | py | Python | pureples/experiments/pole_balancing/run_all_pole_balancing.py | kevinrpb/pureples | c591fefd5b20085f1d0537553631e29733374b16 | [
"MIT"
] | 51 | 2019-02-01T19:43:37.000Z | 2022-03-16T09:07:03.000Z | pureples/experiments/pole_balancing/run_all_pole_balancing.py | kevinrpb/pureples | c591fefd5b20085f1d0537553631e29733374b16 | [
"MIT"
] | 2 | 2019-02-23T18:54:22.000Z | 2019-11-09T01:30:32.000Z | pureples/experiments/pole_balancing/run_all_pole_balancing.py | kevinrpb/pureples | c591fefd5b20085f1d0537553631e29733374b16 | [
"MIT"
] | 35 | 2019-02-08T02:00:31.000Z | 2022-03-01T23:17:00.000Z | import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import neat_pole_balancing
import hyperneat_pole_balancing
import es_hyperneat_pole_balancing_small
import es_hyperneat_pole_balancing_medium
import es_hyperneat_pole_balancing_large
import gym
import multiprocessing as multi
from multiprocessing ... | 49.39839 | 153 | 0.731864 | 3,729 | 24,551 | 4.450523 | 0.031912 | 0.111352 | 0.050133 | 0.027115 | 0.938118 | 0.898891 | 0.82785 | 0.751024 | 0.694023 | 0.586949 | 0 | 0.00443 | 0.163374 | 24,551 | 496 | 154 | 49.497984 | 0.803554 | 0.016048 | 0 | 0.491991 | 0 | 0 | 0.166777 | 0.013795 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002288 | false | 0 | 0.022883 | 0 | 0.025172 | 0.002288 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
9cc32e6307652528b4d24d4098dd08d354afda23 | 454 | py | Python | ontraportlib/models/sort_dir_enum.py | LifePosts/ontraport | fb4834e89b897dce3475c89c7e6c34bf8756880e | [
"MIT"
] | null | null | null | ontraportlib/models/sort_dir_enum.py | LifePosts/ontraport | fb4834e89b897dce3475c89c7e6c34bf8756880e | [
"MIT"
] | null | null | null | ontraportlib/models/sort_dir_enum.py | LifePosts/ontraport | fb4834e89b897dce3475c89c7e6c34bf8756880e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
ontraportlib.models.sort_dir_enum
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ) on 11/14/2017
"""
class SortDirEnum(object):
"""Implementation of the 'SortDir' enum.
TODO: type enum description here.
Attributes:
... | 18.16 | 97 | 0.590308 | 52 | 454 | 5.115385 | 0.711538 | 0.090226 | 0.142857 | 0.172932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034268 | 0.292952 | 454 | 24 | 98 | 18.916667 | 0.794393 | 0.689427 | 0 | 0 | 1 | 0 | 0.09589 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9cc49692629e3b37e0fc9542527c315936c6a87c | 276 | py | Python | AxePy3Lib/01/textwrap/textwrap_fill.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | 1 | 2019-01-04T05:47:50.000Z | 2019-01-04T05:47:50.000Z | AxePy3Lib/01/textwrap/textwrap_fill.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | null | null | null | AxePy3Lib/01/textwrap/textwrap_fill.py | axetang/AxePython | 3b517fa3123ce2e939680ad1ae14f7e602d446a6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# encoding: utf-8
#
# Copyright (c) 2008 Doug Hellmann All rights reserved.
#
"""
"""
# end_pymotw_header
import textwrap
from textwrap_example import sample_text
print(textwrap.fill(sample_text, width=50))
print(textwrap.fill(sample_text, width=40))
| 18.4 | 55 | 0.757246 | 40 | 276 | 5.075 | 0.725 | 0.147783 | 0.167488 | 0.226601 | 0.315271 | 0.315271 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 0.115942 | 276 | 14 | 56 | 19.714286 | 0.790984 | 0.394928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
9ce066e555ecb3359f16e7f599fa26998b432783 | 3,403 | py | Python | spdb/spatialdb/test/int_test_AWS_object_store.py | jhuapl-boss/spdb | 44d41e2b7a7b961e55746e1a5527d5419a74c2ce | [
"Apache-2.0"
] | 5 | 2016-05-12T19:48:45.000Z | 2018-11-17T00:15:23.000Z | spdb/spatialdb/test/int_test_AWS_object_store.py | jhuapl-boss/spdb | 44d41e2b7a7b961e55746e1a5527d5419a74c2ce | [
"Apache-2.0"
] | 5 | 2018-01-15T18:14:42.000Z | 2020-07-30T21:59:16.000Z | spdb/spatialdb/test/int_test_AWS_object_store.py | jhuapl-boss/spdb | 44d41e2b7a7b961e55746e1a5527d5419a74c2ce | [
"Apache-2.0"
] | 3 | 2017-09-21T11:40:06.000Z | 2018-05-14T20:15:40.000Z | # Copyright 2016 The Johns Hopkins University Applied Physics Laboratory
#
# 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 requir... | 37.395604 | 108 | 0.644138 | 422 | 3,403 | 5.007109 | 0.329384 | 0.073829 | 0.045433 | 0.039754 | 0.302414 | 0.280644 | 0.280644 | 0.280644 | 0.280644 | 0.280644 | 0 | 0.027978 | 0.264766 | 3,403 | 90 | 109 | 37.811111 | 0.816547 | 0.631795 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0.210526 | false | 0.157895 | 0.263158 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9ce7c44edfb802039a3e75fbd02681c6bc9c65e6 | 783 | py | Python | tests/code_sample/todo/string_formats.py | brendanator/laziest | 63098402cf7c3b320e0dfd46ca14d2700ed87056 | [
"Apache-2.0"
] | 1 | 2020-03-31T11:21:33.000Z | 2020-03-31T11:21:33.000Z | tests/code_sample/todo/string_formats.py | brendanator/laziest | 63098402cf7c3b320e0dfd46ca14d2700ed87056 | [
"Apache-2.0"
] | null | null | null | tests/code_sample/todo/string_formats.py | brendanator/laziest | 63098402cf7c3b320e0dfd46ca14d2700ed87056 | [
"Apache-2.0"
] | null | null | null | def string_format_s(arg1):
return 'this is %s' % arg1
def string_format(arg1):
return 'this is {}'.format(arg1)
def string_format_f(arg1):
return f'this is {arg1}'
def string_format_f_multiple(arg1, arg2, arg3):
return f'{arg2} this is {arg1}! {arg3}'
def string_format_multiple(arg1, arg2, arg3)... | 23.029412 | 85 | 0.662835 | 120 | 783 | 4.158333 | 0.2 | 0.144289 | 0.240481 | 0.152305 | 0.452906 | 0.200401 | 0.200401 | 0.200401 | 0.200401 | 0.200401 | 0 | 0.051563 | 0.182631 | 783 | 33 | 86 | 23.727273 | 0.728125 | 0 | 0 | 0 | 0 | 0 | 0.208174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0 | 0 | 0.368421 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9cfd166f6930ac35c8c87e63aa513d3e78fb241a | 790 | py | Python | boto3_type_annotations/boto3_type_annotations/cloudformation/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/cloudformation/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/cloudformation/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from botocore.waiter import Waiter
class ChangeSetCreateComplete(Waiter):
def wait(self, ChangeSetName: str, StackName: str = None, NextToken: str = None, WaiterConfig: Dict = None):
pass
class StackCreateComplete(Waiter):
def wait(self, StackName: str = None, NextToken: str ... | 28.214286 | 112 | 0.692405 | 91 | 790 | 6.010989 | 0.241758 | 0.127971 | 0.11883 | 0.155393 | 0.672761 | 0.672761 | 0.672761 | 0.672761 | 0.672761 | 0.672761 | 0 | 0 | 0.208861 | 790 | 27 | 113 | 29.259259 | 0.8752 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.294118 | 0.117647 | 0 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
140e67d033c79e366acb9a3b2745faa866fab465 | 1,346 | py | Python | src/utils/hashing.py | DiceNameIsMy/fin-a-log | 0eb47f9ed9f3fbc205b50b7217fabe67e50cea0e | [
"MIT"
] | null | null | null | src/utils/hashing.py | DiceNameIsMy/fin-a-log | 0eb47f9ed9f3fbc205b50b7217fabe67e50cea0e | [
"MIT"
] | null | null | null | src/utils/hashing.py | DiceNameIsMy/fin-a-log | 0eb47f9ed9f3fbc205b50b7217fabe67e50cea0e | [
"MIT"
] | null | null | null | from secrets import randbelow
from hashids import Hashids
from passlib.context import CryptContext
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
class InvalidHash(Exception):
pass
class InvalidObjectWithID(Exception):
pass
class IDHasher:
def __init__(self, salt: str, min_length... | 24.925926 | 86 | 0.679792 | 168 | 1,346 | 5.291667 | 0.392857 | 0.060742 | 0.040495 | 0.035996 | 0.101237 | 0.101237 | 0 | 0 | 0 | 0 | 0 | 0.01518 | 0.216939 | 1,346 | 53 | 87 | 25.396226 | 0.828273 | 0.024517 | 0 | 0.125 | 0 | 0 | 0.044376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.21875 | 0.09375 | 0.125 | 0.65625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
141bbc8596c73b9859075f3010e29ba6684fa308 | 2,688 | py | Python | TrackerDash/schemas/api.py | wedgieedward/TrackerDash | 53c3ecc7b9124740f05847dbd235b068601c621e | [
"Beerware"
] | null | null | null | TrackerDash/schemas/api.py | wedgieedward/TrackerDash | 53c3ecc7b9124740f05847dbd235b068601c621e | [
"Beerware"
] | 2 | 2015-04-08T23:20:35.000Z | 2015-04-08T23:21:57.000Z | TrackerDash/schemas/api.py | wedgieedward/TrackerDash | 53c3ecc7b9124740f05847dbd235b068601c621e | [
"Beerware"
] | null | null | null | """
Schemas needed to validate incoming api requests
"""
import colander
SUPPORTED_GRAPHS = (
'line', 'bar', 'area', 'column', 'scatter', 'bar', "pie", "gauge")
class ShowreelItem(colander.MappingSchema):
title = colander.SchemaNode(colander.String())
item_type = colander.SchemaNode(
colander.St... | 27.71134 | 72 | 0.630208 | 257 | 2,688 | 6.55642 | 0.303502 | 0.202967 | 0.293175 | 0.189911 | 0.542433 | 0.422552 | 0.137685 | 0.068843 | 0 | 0 | 0 | 0.00835 | 0.24256 | 2,688 | 96 | 73 | 28 | 0.819253 | 0.08631 | 0 | 0.14 | 0 | 0 | 0.034351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.74 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
142617c1149fb198c94820251dde11dd708ad448 | 229 | py | Python | djangoapi/courses/serializer.py | ptyadana/django-REST-API-course-info | 9247d5085e28418053975b0800fd42786b6742be | [
"MIT"
] | null | null | null | djangoapi/courses/serializer.py | ptyadana/django-REST-API-course-info | 9247d5085e28418053975b0800fd42786b6742be | [
"MIT"
] | null | null | null | djangoapi/courses/serializer.py | ptyadana/django-REST-API-course-info | 9247d5085e28418053975b0800fd42786b6742be | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Course
class CourseSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Course
fields = ('id', 'url', 'name', 'langauge', 'price') | 32.714286 | 63 | 0.71179 | 23 | 229 | 7.043478 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183406 | 229 | 7 | 64 | 32.714286 | 0.86631 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
14355fd96dad21ad9be55c6f3e4a53c0f0123d16 | 28 | py | Python | venv-lib/lib/python3.7/copy.py | migmaciasdiaz/venvs | bcdbb75931cb27fc4b5b30f12fc44be85952157e | [
"MIT"
] | 2 | 2020-03-30T14:17:10.000Z | 2020-10-04T12:33:00.000Z | venv-lib/lib/python3.7/copy.py | migmaciasdiaz/venvs | bcdbb75931cb27fc4b5b30f12fc44be85952157e | [
"MIT"
] | 1 | 2020-11-24T03:31:13.000Z | 2020-11-24T03:31:13.000Z | venv/lib/python3.7/copy.py | wensu425/aws-eb-webapp | 4b149c75c11fe5b33c9a080313ec336fabb45824 | [
"MIT"
] | 1 | 2021-05-04T09:18:22.000Z | 2021-05-04T09:18:22.000Z | /usr/lib64/python3.7/copy.py | 28 | 28 | 0.785714 | 6 | 28 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 28 | 1 | 28 | 28 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1444a0098bfc98d4d2642192bfe348fc5d1b4df5 | 8,683 | py | Python | avlDecoder.py | karticr/Teltonika_FMBXXX_TCP_Server | 130a91c033ca0335e48b9aa275186103fc221a75 | [
"Apache-2.0"
] | 5 | 2021-01-05T03:14:00.000Z | 2021-09-03T21:50:44.000Z | avlDecoder.py | karticr/Teltonika_FMBXXX_TCP_Server | 130a91c033ca0335e48b9aa275186103fc221a75 | [
"Apache-2.0"
] | 3 | 2021-05-01T14:56:05.000Z | 2022-03-03T09:53:27.000Z | avlDecoder.py | karticr/Teltonika_FMBXXX_TCP_Server | 130a91c033ca0335e48b9aa275186103fc221a75 | [
"Apache-2.0"
] | 1 | 2022-02-10T04:38:18.000Z | 2022-02-10T04:38:18.000Z | import binascii
import datetime
import math
from IO_decoder import IODecoder
io = IODecoder()
class avlDecoder():
def __init__(self):
self.raw_data = ""
self.initVars()
def initVars(self): # initilizing variables
self.codecid = 0
self.no_records_i = 0
... | 66.282443 | 2,506 | 0.64609 | 699 | 8,683 | 7.829757 | 0.184549 | 0.014252 | 0.02083 | 0.027042 | 0.064681 | 0.025215 | 0.017541 | 0.017541 | 0.007309 | 0.007309 | 0 | 0.43913 | 0.284809 | 8,683 | 130 | 2,507 | 66.792308 | 0.435588 | 0.126569 | 0 | 0.020202 | 0 | 0 | 0.368588 | 0.340888 | 0 | 1 | 0 | 0 | 0 | 1 | 0.070707 | false | 0 | 0.040404 | 0.020202 | 0.181818 | 0.080808 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1461c579bd796a534c823ae58d48b47fae36abdb | 95 | py | Python | src/mozloc/__init__.py | scivision/mozilla-location-wifi | fb41aa88bd89f0734c34fdd14fb3db0697d9b88a | [
"MIT"
] | 4 | 2020-11-23T06:25:55.000Z | 2021-11-04T02:11:53.000Z | src/mozloc/__init__.py | scivision/mozilla-location-wifi-python | fb41aa88bd89f0734c34fdd14fb3db0697d9b88a | [
"MIT"
] | null | null | null | src/mozloc/__init__.py | scivision/mozilla-location-wifi-python | fb41aa88bd89f0734c34fdd14fb3db0697d9b88a | [
"MIT"
] | null | null | null | from .base import log_wifi_loc
from .modules import get_signal, parse_signal, cli_config_check
| 31.666667 | 63 | 0.852632 | 16 | 95 | 4.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 2 | 64 | 47.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1463af8b1fc3a452cf428a092fc4c5e6f04b24b2 | 238 | py | Python | Section02_Builder/BuilderInheritance/PersonBirthDateBuilder.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | 1 | 2020-10-20T07:41:51.000Z | 2020-10-20T07:41:51.000Z | Section02_Builder/BuilderInheritance/PersonBirthDateBuilder.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | Section02_Builder/BuilderInheritance/PersonBirthDateBuilder.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | from Section02_Builder.BuilderInheritance.PersonJobBuilder import PersonJobBuilder
class PersonBirthDateBuilder(PersonJobBuilder):
def born(self, date_of_birth):
self.person.date_of_birth = date_of_birth
return self
| 29.75 | 82 | 0.798319 | 26 | 238 | 7.038462 | 0.615385 | 0.098361 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.151261 | 238 | 7 | 83 | 34 | 0.89604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
147997bd302efc04f1376c6194416d2d473ad26b | 38 | py | Python | ctrl-hyper/ctrl-r.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | 1 | 2020-05-02T03:46:10.000Z | 2020-05-02T03:46:10.000Z | ctrl-hyper/ctrl-r.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | ctrl-hyper/ctrl-r.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | keyboard.send_keys("<ctrl>+<shift>+r") | 38 | 38 | 0.710526 | 6 | 38 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 38 | 1 | 38 | 38 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
14986af2d1b45efa6e844fc93b02dbd9e29b1629 | 242 | py | Python | python/analysis/beam_ana/__init__.py | ACTCollaboration/moby2 | b0f6bd6add7170999eb964d18f16d795520426e9 | [
"BSD-2-Clause"
] | 3 | 2020-06-23T15:59:37.000Z | 2022-03-29T16:04:35.000Z | python/analysis/beam_ana/__init__.py | ACTCollaboration/moby2 | b0f6bd6add7170999eb964d18f16d795520426e9 | [
"BSD-2-Clause"
] | 1 | 2020-04-08T15:10:46.000Z | 2020-04-08T15:10:46.000Z | python/analysis/beam_ana/__init__.py | ACTCollaboration/moby2 | b0f6bd6add7170999eb964d18f16d795520426e9 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from past.builtins import basestring
from .beam_obs import BeamObs, BeamObsList
from .beam_plot import plot_beam_image
from . import solid_angle
from . import util
| 26.888889 | 42 | 0.85124 | 35 | 242 | 5.457143 | 0.514286 | 0.104712 | 0.167539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 242 | 8 | 43 | 30.25 | 0.900943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
14ae89744d23180ef351421ffe231d8cbfbc615a | 22 | py | Python | notebooks/dminteract/version.py | chapmanbe/isys90069_w2020_explore | 305a129ee32035b62741fed2eb722aa4086a1167 | [
"MIT"
] | 8 | 2020-12-20T02:59:59.000Z | 2021-09-23T06:04:01.000Z | notebooks/dminteract/version.py | chapmanbe/isys90069_w2020_explore | 305a129ee32035b62741fed2eb722aa4086a1167 | [
"MIT"
] | 5 | 2021-06-08T21:54:49.000Z | 2022-03-12T00:38:51.000Z | notebooks/dminteract/version.py | chapmanbe/isys90069_w2020_explore | 305a129ee32035b62741fed2eb722aa4086a1167 | [
"MIT"
] | 9 | 2020-06-26T06:00:15.000Z | 2022-01-06T04:07:38.000Z | __version__="0.0.1.5"
| 11 | 21 | 0.681818 | 5 | 22 | 2.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.045455 | 22 | 1 | 22 | 22 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
14bf30645e89a98e38db0b7d2622f85c989d6c58 | 111 | py | Python | tests/pipe_proc_tests/dev.py | genematx/nmrglue | 8a24cf6cbd18451e552fc0673b84c42d1dcb69a2 | [
"BSD-3-Clause"
] | 150 | 2015-01-16T12:24:13.000Z | 2022-03-03T18:01:18.000Z | tests/pipe_proc_tests/dev.py | genematx/nmrglue | 8a24cf6cbd18451e552fc0673b84c42d1dcb69a2 | [
"BSD-3-Clause"
] | 129 | 2015-01-13T04:58:56.000Z | 2022-03-02T13:39:16.000Z | tests/pipe_proc_tests/dev.py | genematx/nmrglue | 8a24cf6cbd18451e552fc0673b84c42d1dcb69a2 | [
"BSD-3-Clause"
] | 88 | 2015-02-16T20:04:12.000Z | 2022-03-10T06:50:30.000Z | #! /usr/bin/env python
""" Create files for dev unit test """
# do nothing as NMRPipe goes into infinite loop.
| 27.75 | 48 | 0.702703 | 18 | 111 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 111 | 3 | 49 | 37 | 0.857143 | 0.900901 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ae79a0e222d499f9abf55654da6499867c03d60 | 277 | py | Python | warpfield/__init__.py | xr0038/jasmine_warpfield | d3dc8306c30c955eea997e7cb69c1910df6a9515 | [
"MIT"
] | null | null | null | warpfield/__init__.py | xr0038/jasmine_warpfield | d3dc8306c30c955eea997e7cb69c1910df6a9515 | [
"MIT"
] | 7 | 2021-07-04T07:07:34.000Z | 2021-09-09T05:22:09.000Z | warpfield/__init__.py | xr0038/jasmine_warpfield | d3dc8306c30c955eea997e7cb69c1910df6a9515 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .util import get_projection
from .source import retrieve_gaia_sources
from .source import display_sources, display_gaia_sources
from .telescope import Optics, Detector, Telescope
# from .distortion import distortion_generator
| 34.625 | 57 | 0.805054 | 37 | 277 | 5.837838 | 0.594595 | 0.092593 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004065 | 0.111913 | 277 | 7 | 58 | 39.571429 | 0.873984 | 0.314079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1aea61bcc9df6cd17982b810157a304388bea2e1 | 48 | py | Python | hello.py | AbhijeetSrivastava96/Python-Programs | d5a7ff9698150a5bc809129214a0b3edc0fa9d91 | [
"MIT"
] | null | null | null | hello.py | AbhijeetSrivastava96/Python-Programs | d5a7ff9698150a5bc809129214a0b3edc0fa9d91 | [
"MIT"
] | null | null | null | hello.py | AbhijeetSrivastava96/Python-Programs | d5a7ff9698150a5bc809129214a0b3edc0fa9d91 | [
"MIT"
] | null | null | null | a=4
b=5
c=a+b
print("the value of a+b is : ",c)
| 9.6 | 33 | 0.5625 | 15 | 48 | 1.8 | 0.666667 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.208333 | 48 | 4 | 34 | 12 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
210643efde344f1910eb7a98b108382fc7041c16 | 330 | py | Python | anidbcli/__init__.py | infinityb/anidbcli | fb5ea89b3690190f8f92f23111b44c3cfade92c1 | [
"MIT"
] | null | null | null | anidbcli/__init__.py | infinityb/anidbcli | fb5ea89b3690190f8f92f23111b44c3cfade92c1 | [
"MIT"
] | null | null | null | anidbcli/__init__.py | infinityb/anidbcli | fb5ea89b3690190f8f92f23111b44c3cfade92c1 | [
"MIT"
] | null | null | null | from .anidbconnector import AnidbConnector
from .libed2k import get_ed2k_link,hash_file
from .cli import main
from .protocol import FileRequest, AnimeAmaskField, FileFmaskField, FileAmaskField
__all__ = ['AnidbConnector', "FileRequest", "AnimeAmaskField", "FileFmaskField", "FileAmaskField", "main", "hash_file", "get_e... | 55 | 136 | 0.809091 | 35 | 330 | 7.342857 | 0.485714 | 0.054475 | 0.085603 | 0.420233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009967 | 0.087879 | 330 | 6 | 136 | 55 | 0.843854 | 0 | 0 | 0 | 0 | 0 | 0.283988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
212f11894e29ef6f76020614604e0276162d9dd3 | 119 | py | Python | awspice/__init__.py | Telefonica/awspice | da6f6ee0a8d7a7206c1ea5e7ca8bbc83716b29fb | [
"Apache-2.0"
] | 1 | 2020-08-04T18:22:41.000Z | 2020-08-04T18:22:41.000Z | awspice/__init__.py | Telefonica/awspice | da6f6ee0a8d7a7206c1ea5e7ca8bbc83716b29fb | [
"Apache-2.0"
] | null | null | null | awspice/__init__.py | Telefonica/awspice | da6f6ee0a8d7a7206c1ea5e7ca8bbc83716b29fb | [
"Apache-2.0"
] | 2 | 2019-04-03T16:56:19.000Z | 2019-05-06T19:41:26.000Z | from .manager import AwsManager as connect
from .servicemanager import ServiceManager
from .helpers import ClsEncoder
| 23.8 | 42 | 0.848739 | 14 | 119 | 7.214286 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 4 | 43 | 29.75 | 0.971154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2135f82bed51051638952f0f902530653e48bfe9 | 554 | py | Python | src/purgatory/domain/messages/events.py | mardiros/purgatory | 5905619c0f153eae090c46ed5cd7f165c86eafd5 | [
"BSD-3-Clause"
] | null | null | null | src/purgatory/domain/messages/events.py | mardiros/purgatory | 5905619c0f153eae090c46ed5cd7f165c86eafd5 | [
"BSD-3-Clause"
] | 11 | 2021-12-29T21:28:50.000Z | 2022-01-17T08:09:38.000Z | src/purgatory/domain/messages/events.py | mardiros/purgatory | 5905619c0f153eae090c46ed5cd7f165c86eafd5 | [
"BSD-3-Clause"
] | null | null | null | from dataclasses import dataclass
from typing import Optional
from purgatory.typing import TTL, StateName, Threshold
from .base import Event
@dataclass(frozen=True)
class CircuitBreakerCreated(Event):
name: str
threshold: Threshold
ttl: TTL
@dataclass(frozen=True)
class ContextChanged(Event):
name... | 17.3125 | 54 | 0.752708 | 64 | 554 | 6.484375 | 0.4375 | 0.144578 | 0.183133 | 0.231325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169675 | 554 | 31 | 55 | 17.870968 | 0.902174 | 0 | 0 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.190476 | 0 | 0.809524 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2148c24bf5b42cbd93b875b82aa1b5edb5e85002 | 193 | py | Python | leads/apps.py | coderj001/Django-CRM | 7cca0df5d39b92082781047c1f0a11129179f257 | [
"MIT"
] | null | null | null | leads/apps.py | coderj001/Django-CRM | 7cca0df5d39b92082781047c1f0a11129179f257 | [
"MIT"
] | null | null | null | leads/apps.py | coderj001/Django-CRM | 7cca0df5d39b92082781047c1f0a11129179f257 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LeadsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'leads'
def ready(self):
import leads.signals
| 19.3 | 56 | 0.709845 | 23 | 193 | 5.869565 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202073 | 193 | 9 | 57 | 21.444444 | 0.876623 | 0 | 0 | 0 | 0 | 0 | 0.176166 | 0.150259 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.