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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f8112304fbe512451459556f48a3957de1e125a7 | 206 | py | Python | tests/rpc_client/test_eth_coinbase.py | pipermerriam/ethereum-rpc-client | 4ce9682d43ec06736c0f5a42ca7c1701a305a3ef | [
"MIT"
] | 11 | 2015-09-17T22:11:44.000Z | 2019-09-18T14:33:27.000Z | tests/rpc_client/test_eth_coinbase.py | pipermerriam/ethereum-rpc-client | 4ce9682d43ec06736c0f5a42ca7c1701a305a3ef | [
"MIT"
] | 8 | 2015-08-24T02:51:55.000Z | 2019-10-21T15:03:48.000Z | tests/rpc_client/test_eth_coinbase.py | pipermerriam/ethereum-rpc-client | 4ce9682d43ec06736c0f5a42ca7c1701a305a3ef | [
"MIT"
] | 8 | 2015-08-23T16:17:46.000Z | 2018-10-11T10:06:02.000Z | from eth_rpc_client import Client
def test_get_coinbase(rpc_server):
client = Client('127.0.0.1', '8545')
cb = client.get_coinbase()
assert cb == '0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1'
| 22.888889 | 61 | 0.737864 | 26 | 206 | 5.615385 | 0.653846 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.15534 | 206 | 8 | 62 | 25.75 | 0.632184 | 0 | 0 | 0 | 0 | 0 | 0.26699 | 0.203884 | 0 | 0 | 0.203884 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f834c285c1d062b723217f134a0877cb184b1d21 | 1,890 | py | Python | remotes.py | nailerNAS/nailerPi_bot | 875a42fb3b9a1f55ad6ca098dfffd2ad83fe727d | [
"MIT"
] | 1 | 2019-08-03T01:00:17.000Z | 2019-08-03T01:00:17.000Z | remotes.py | dionteochoat53/nailerPi_bot | 875a42fb3b9a1f55ad6ca098dfffd2ad83fe727d | [
"MIT"
] | 1 | 2021-06-01T21:59:02.000Z | 2021-06-01T21:59:02.000Z | remotes.py | dionteochoat53/nailerPi_bot | 875a42fb3b9a1f55ad6ca098dfffd2ad83fe727d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import subprocess
try:
from config import MAC, ETH0, WLAN0
except ImportError:
MAC = ETH0 = WLAN0 = None
class NailerPI:
def __init__(self, mac=MAC, eth0=ETH0, wlan0=WLAN0):
assert not (mac is None)
assert not (eth0 is None)
assert not (wlan0 is None)
... | 27.794118 | 110 | 0.565079 | 238 | 1,890 | 4.44958 | 0.403361 | 0.04627 | 0.07932 | 0.096317 | 0.259679 | 0.210576 | 0.1322 | 0.1322 | 0 | 0 | 0 | 0.018363 | 0.308466 | 1,890 | 67 | 111 | 28.208955 | 0.79189 | 0.07672 | 0 | 0.145833 | 0 | 0 | 0.12931 | 0.021264 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.208333 | false | 0 | 0.0625 | 0.104167 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f83e328dd5cb4a5515fd5226451ee17dfde6d516 | 135 | py | Python | pages/urls.py | itqop/itsaaaaaa | 38059aa86525fe6f4819d655f3b22ec135606581 | [
"MIT"
] | null | null | null | pages/urls.py | itqop/itsaaaaaa | 38059aa86525fe6f4819d655f3b22ec135606581 | [
"MIT"
] | null | null | null | pages/urls.py | itqop/itsaaaaaa | 38059aa86525fe6f4819d655f3b22ec135606581 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from .views import HomePageView
urlpatterns = [
url('', HomePageView.as_view(), name='home'),
]
| 19.285714 | 49 | 0.703704 | 17 | 135 | 5.529412 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 135 | 6 | 50 | 22.5 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f8894bdd8c28f83d90998d663a0e9139a6dace7e | 210 | py | Python | mmtrack/models/vid/__init__.py | BigBen0519/mmtracking | 61509b301ccbc2ab14f82a682b94c56f82ce09de | [
"Apache-2.0"
] | 2,226 | 2021-01-04T11:13:01.000Z | 2022-03-31T11:49:59.000Z | mmtrack/models/vid/__init__.py | BigBen0519/mmtracking | 61509b301ccbc2ab14f82a682b94c56f82ce09de | [
"Apache-2.0"
] | 300 | 2021-01-04T11:36:59.000Z | 2022-03-31T07:48:28.000Z | mmtrack/models/vid/__init__.py | BigBen0519/mmtracking | 61509b301ccbc2ab14f82a682b94c56f82ce09de | [
"Apache-2.0"
] | 333 | 2021-01-04T11:35:12.000Z | 2022-03-31T08:11:50.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .base import BaseVideoDetector
from .dff import DFF
from .fgfa import FGFA
from .selsa import SELSA
__all__ = ['BaseVideoDetector', 'DFF', 'FGFA', 'SELSA']
| 26.25 | 55 | 0.747619 | 27 | 210 | 5.666667 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 210 | 7 | 56 | 30 | 0.85 | 0.214286 | 0 | 0 | 0 | 0 | 0.177914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f891d6b4e11336432c92bf9c2559bd3905cd9a25 | 340 | py | Python | ckanext-hdx_service_checker/ckanext/hdx_service_checker/exceptions/__init__.py | alexandru-m-g/hdx-ckan | 647f1f23f0505fa195601245b758edcaf4d25985 | [
"Apache-2.0"
] | 58 | 2015-01-11T09:05:15.000Z | 2022-03-17T23:44:07.000Z | ckanext-hdx_service_checker/ckanext/hdx_service_checker/exceptions/__init__.py | datopian/hdx-ckan | 2d8871c035a18e48b53859fec522b997b500afe9 | [
"Apache-2.0"
] | 1,467 | 2015-01-01T16:47:44.000Z | 2022-02-28T16:51:20.000Z | ckanext-hdx_service_checker/ckanext/hdx_service_checker/exceptions/__init__.py | datopian/hdx-ckan | 2d8871c035a18e48b53859fec522b997b500afe9 | [
"Apache-2.0"
] | 17 | 2015-05-06T14:04:21.000Z | 2021-11-11T19:58:16.000Z |
class CheckException(Exception):
def __init__(self, message, exceptions=[]):
super(Exception, self).__init__(message)
self.errors = exceptions
class ParamMissingException(CheckException):
type = 'config-param-missing'
class NonExistentRuntimeVariableException(CheckException):
type = 'c... | 24.285714 | 58 | 0.738235 | 30 | 340 | 8.1 | 0.533333 | 0.148148 | 0.197531 | 0.238683 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158824 | 340 | 14 | 59 | 24.285714 | 0.84965 | 0 | 0 | 0.25 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f8bdda6a5651d7a97a5c1ffcf4194c4ec07450dc | 7,012 | py | Python | test/wecall_acceptance/single_sample_diploid/test_with_genotypes.py | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 8 | 2018-10-08T15:47:21.000Z | 2021-11-09T07:13:05.000Z | test/wecall_acceptance/single_sample_diploid/test_with_genotypes.py | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 4 | 2018-11-05T09:16:27.000Z | 2020-04-09T12:32:56.000Z | test/wecall_acceptance/single_sample_diploid/test_with_genotypes.py | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 4 | 2019-09-03T15:46:39.000Z | 2021-06-04T07:28:33.000Z | # All content Copyright (C) 2018 Genomics plc
from wecall.genomics.variant import Variant
from wecall_test_drivers.ascii_wecall_runner import AsciiWecallRunnerTest
from wecall_test_drivers.svc_driver import SVCDriver
class TestVariantCallingFromTwoEqualLengthFwdReads(AsciiWecallRunnerTest):
def test_calls_snp_wi... | 68.745098 | 228 | 0.281517 | 321 | 7,012 | 5.853583 | 0.320872 | 0.011708 | 0.043108 | 0.042576 | 0.351251 | 0.304949 | 0.304949 | 0.224588 | 0.224588 | 0.182544 | 0 | 0.059406 | 0.366229 | 7,012 | 101 | 229 | 69.425743 | 0.363411 | 0.124786 | 0 | 0.45679 | 0 | 0.012346 | 0.612338 | 0.433481 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.123457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e4188e551d5a7a5a6bd61bad11ccc9b317e3251 | 1,366 | py | Python | helpers/assign_clef.py | SuperShinyEyes/Score-Tool | 907dd9e695c9950c6f168480e591a239cdf6a826 | [
"MIT"
] | 2 | 2020-09-25T20:35:58.000Z | 2020-10-10T17:24:15.000Z | helpers/assign_clef.py | SuperShinyEyes/Score-Tool | 907dd9e695c9950c6f168480e591a239cdf6a826 | [
"MIT"
] | 1 | 2020-10-10T17:57:02.000Z | 2020-10-28T15:13:49.000Z | helpers/assign_clef.py | SuperShinyEyes/Score-Tool | 907dd9e695c9950c6f168480e591a239cdf6a826 | [
"MIT"
] | 1 | 2020-09-25T20:36:06.000Z | 2020-09-25T20:36:06.000Z | def clef(inst):
clef='treble'
if inst=='flute':
clef='treble'
elif inst=='alto_flute':
clef='treble'
elif inst=='baritone_generic':
clef='bass'
elif inst=='bassoon':
clef='bass'
elif inst=='bass_cl':
clef='bass'
elif inst=='bass_drum':
clef='tr... | 23.551724 | 34 | 0.530747 | 155 | 1,366 | 4.6 | 0.225806 | 0.291725 | 0.314166 | 0.403927 | 0.417952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306003 | 1,366 | 58 | 35 | 23.551724 | 0.75211 | 0 | 0 | 0.473684 | 0 | 0 | 0.277249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0 | 0 | 0.035088 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e4c9645f60c9d46ae5217f0f3edf40e40801263 | 221 | py | Python | python/PalindromeStringChecker.py | sktagrwl/hacktoberfest_2021-1 | a876326b61b9561867929ddf57ee0c7ce9ed9d1b | [
"MIT"
] | 50 | 2021-10-02T08:26:30.000Z | 2021-11-08T08:57:28.000Z | python/PalindromeStringChecker.py | sktagrwl/hacktoberfest_2021-1 | a876326b61b9561867929ddf57ee0c7ce9ed9d1b | [
"MIT"
] | 130 | 2021-10-02T11:29:57.000Z | 2021-11-08T14:24:05.000Z | python/PalindromeStringChecker.py | sktagrwl/hacktoberfest_2021-1 | a876326b61b9561867929ddf57ee0c7ce9ed9d1b | [
"MIT"
] | 226 | 2021-10-02T07:56:03.000Z | 2021-10-31T18:30:06.000Z | #Program to check if given string is palindrome or not.
string=input(("Enter your string:"))
if(string==string[::-1]):
print("The string is a palindrome")
else:
print("The string is not a palindrome") | 31.571429 | 55 | 0.660633 | 33 | 221 | 4.424242 | 0.545455 | 0.164384 | 0.191781 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.208145 | 221 | 7 | 56 | 31.571429 | 0.828571 | 0.244344 | 0 | 0 | 0 | 0 | 0.443114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e6d6171c05c4b8dd6f35c146d79256d161d4a87 | 356 | py | Python | backend/account/admin.py | CS178A-B/final-project-bjls | aebb8042f2d958caac00e31b27b445b9079901d0 | [
"MIT"
] | null | null | null | backend/account/admin.py | CS178A-B/final-project-bjls | aebb8042f2d958caac00e31b27b445b9079901d0 | [
"MIT"
] | 20 | 2020-10-21T19:16:15.000Z | 2021-09-03T05:48:20.000Z | backend/account/admin.py | CS178A-B/R-Finder | aebb8042f2d958caac00e31b27b445b9079901d0 | [
"MIT"
] | 1 | 2020-10-22T04:49:45.000Z | 2020-10-22T04:49:45.000Z | from django.contrib import admin
from .models import User, Course, Student, Faculty, Job, StudentCourse, Application
# Register your models here.
admin.site.register(User)
admin.site.register(Course)
admin.site.register(Student)
admin.site.register(Faculty)
admin.site.register(Job)
admin.site.register(StudentCours... | 22.25 | 83 | 0.80618 | 47 | 356 | 6.106383 | 0.361702 | 0.219512 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087079 | 356 | 15 | 84 | 23.733333 | 0.883077 | 0.073034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.222222 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
3e6fca596c7de7ebc909108d581107958769263b | 1,035 | py | Python | ois_api_client/v2_0/dto/CustomerInfo.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | 7 | 2020-10-22T08:15:29.000Z | 2022-01-27T07:59:39.000Z | ois_api_client/v2_0/dto/CustomerInfo.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | null | null | null | ois_api_client/v2_0/dto/CustomerInfo.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | null | null | null | from typing import Optional
from dataclasses import dataclass
from .Address import Address
from .TaxNumber import TaxNumber
@dataclass
class CustomerInfo:
"""Customer data
:param customer_tax_number: Tax number or group identification number, under which the purchase of goods or services is done
:param g... | 38.333333 | 144 | 0.790338 | 140 | 1,035 | 5.628571 | 0.271429 | 0.079949 | 0.049492 | 0.045685 | 0.152284 | 0.086294 | 0.086294 | 0.086294 | 0 | 0 | 0 | 0 | 0.168116 | 1,035 | 26 | 145 | 39.807692 | 0.915215 | 0.541063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.307692 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3e92977461aaaec77372d6ce162d77c29475eff3 | 56 | py | Python | torchranker/__init__.py | SunDoge/torchranker | 523cb19cce55614c2eadc16a646db0bf34594689 | [
"MIT"
] | null | null | null | torchranker/__init__.py | SunDoge/torchranker | 523cb19cce55614c2eadc16a646db0bf34594689 | [
"MIT"
] | null | null | null | torchranker/__init__.py | SunDoge/torchranker | 523cb19cce55614c2eadc16a646db0bf34594689 | [
"MIT"
] | null | null | null | __version__ = '0.1.0'
from .ranker import get_dist_info | 18.666667 | 33 | 0.767857 | 10 | 56 | 3.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.125 | 56 | 3 | 33 | 18.666667 | 0.693878 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e415d68fa196c8c9567044bfd4ee7b674006d65c | 798 | py | Python | CleanMyData/clean/forms/form.py | asa19aau/CleanMyData | 5c7f301382ff33b357b687e5c0296ede274ff011 | [
"MIT"
] | 2 | 2021-12-12T13:26:33.000Z | 2021-12-16T08:27:51.000Z | CleanMyData/clean/forms/form.py | asa19aau/CleanMyData | 5c7f301382ff33b357b687e5c0296ede274ff011 | [
"MIT"
] | 1 | 2021-11-24T15:35:06.000Z | 2021-11-24T15:35:06.000Z | CleanMyData/clean/forms/form.py | asa19aau/CleanMyData | 5c7f301382ff33b357b687e5c0296ede274ff011 | [
"MIT"
] | 4 | 2021-11-24T13:11:37.000Z | 2022-01-29T22:59:39.000Z | from django import forms
from clean.choices import *
class UploadForm(forms.Form):
documents = forms.FileField(widget=forms.ClearableFileInput(attrs={'multiple': True}))
class HeaderForm(forms.Form):
id = forms.IntegerField()
selected = forms.BooleanField(required=False)
# Handl... | 28.5 | 90 | 0.723058 | 102 | 798 | 5.539216 | 0.343137 | 0.161062 | 0.180531 | 0.244248 | 0.59469 | 0.59469 | 0.543363 | 0.543363 | 0.19115 | 0.19115 | 0 | 0.018321 | 0.179198 | 798 | 27 | 91 | 29.555556 | 0.844275 | 0.093985 | 0 | 0 | 0 | 0 | 0.011173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e426dd2acf81ba391434c463098157a8ff213f58 | 75 | py | Python | app/service/__init__.py | zshanahmed/mobileinsight-mobile | ae466c72d17655609539dfec2318b2de5c6786a8 | [
"Apache-2.0"
] | null | null | null | app/service/__init__.py | zshanahmed/mobileinsight-mobile | ae466c72d17655609539dfec2318b2de5c6786a8 | [
"Apache-2.0"
] | null | null | null | app/service/__init__.py | zshanahmed/mobileinsight-mobile | ae466c72d17655609539dfec2318b2de5c6786a8 | [
"Apache-2.0"
] | null | null | null | __all__ = ['gps', 'mi2app_utils', 'control']
from gps import GpsListener
| 15 | 44 | 0.706667 | 9 | 75 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.146667 | 75 | 4 | 45 | 18.75 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e4553ff4aec47920acafa329aa4d3cd419b3884b | 857 | py | Python | tests/fib_py/fib_calcs/test_fib_number.py | JiajunX31/fib_py | 2f230ac797dab43b92ea94a0730d8b9ad98ab843 | [
"MIT"
] | 1 | 2022-03-14T22:57:28.000Z | 2022-03-14T22:57:28.000Z | tests/fib_py/fib_calcs/test_fib_number.py | JiajunX31/fib_py | 2f230ac797dab43b92ea94a0730d8b9ad98ab843 | [
"MIT"
] | null | null | null | tests/fib_py/fib_calcs/test_fib_number.py | JiajunX31/fib_py | 2f230ac797dab43b92ea94a0730d8b9ad98ab843 | [
"MIT"
] | null | null | null | from unicodedata import name
from unittest import main, TestCase
from fib_py.fib_calcs.fib_num import recurring_fibonacci_number
class RecurringFibNumberTest(TestCase):
def test_zero(self):
self.assertEqual(0, recurring_fibonacci_number(0))
def test_negative(self):
with self.assertRaises(Val... | 25.969697 | 63 | 0.686114 | 102 | 857 | 5.480392 | 0.392157 | 0.225403 | 0.300537 | 0.089445 | 0.22898 | 0.22898 | 0.157424 | 0 | 0 | 0 | 0 | 0.027068 | 0.224037 | 857 | 32 | 64 | 26.78125 | 0.813534 | 0 | 0 | 0 | 0 | 0 | 0.009335 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.272727 | false | 0 | 0.136364 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e462cabddca106ddfbbf868e22f8b56005cffa8f | 138 | py | Python | torch3d/datasets/__init__.py | zhangmozhe/torch3d | d47e9b243e520f9c0c72a26c271d2c7ad242cb65 | [
"BSD-3-Clause"
] | null | null | null | torch3d/datasets/__init__.py | zhangmozhe/torch3d | d47e9b243e520f9c0c72a26c271d2c7ad242cb65 | [
"BSD-3-Clause"
] | null | null | null | torch3d/datasets/__init__.py | zhangmozhe/torch3d | d47e9b243e520f9c0c72a26c271d2c7ad242cb65 | [
"BSD-3-Clause"
] | 1 | 2020-06-03T15:19:25.000Z | 2020-06-03T15:19:25.000Z | from .modelnet import ModelNet40
from .s3dis import S3DIS
from .kitti import KITTIDetection
__all__ = [
"ModelNet40",
"S3DIS",
]
| 15.333333 | 33 | 0.717391 | 15 | 138 | 6.333333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 0.195652 | 138 | 8 | 34 | 17.25 | 0.792793 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e477126378f6b17660cff8fb5fb7d955c8285724 | 174 | py | Python | apps/properties/exceptions.py | FancyKat/django-portfolio | f261f8d3a37e5771f9f48a74a769b6e9b479d49d | [
"MIT"
] | null | null | null | apps/properties/exceptions.py | FancyKat/django-portfolio | f261f8d3a37e5771f9f48a74a769b6e9b479d49d | [
"MIT"
] | 9 | 2022-03-22T04:30:50.000Z | 2022-03-22T04:49:13.000Z | apps/properties/exceptions.py | FancyKat/django-portfolio | f261f8d3a37e5771f9f48a74a769b6e9b479d49d | [
"MIT"
] | null | null | null | from rest_framework.exceptions import APIException
class PropertyNotFound(APIException):
status_code = 404
deafult_detail = "The requested property does not exist"
| 24.857143 | 60 | 0.798851 | 20 | 174 | 6.8 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.155172 | 174 | 6 | 61 | 29 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.212644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e47bed2b21a6ff48fb63233f162fa8a67cb1b44e | 179,664 | py | Python | psx/_dump_/52/_dump_ida_/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 15 | 2018-06-28T01:11:25.000Z | 2021-09-27T15:57:18.000Z | psx/_dump_/52/_dump_ida_/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-29T04:08:23.000Z | 2019-10-17T13:57:22.000Z | psx/_dump_/52/_dump_ida_/make_psx.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-28T01:11:34.000Z | 2020-05-23T09:21:48.000Z | set_name(0x80079688, "GetTpY__FUs", SN_NOWARN)
set_name(0x800796A4, "GetTpX__FUs", SN_NOWARN)
set_name(0x800796B0, "Remove96__Fv", SN_NOWARN)
set_name(0x800796E8, "AppMain", SN_NOWARN)
set_name(0x80079788, "MAIN_RestartGameTask__Fv", SN_NOWARN)
set_name(0x800797B4, "GameTask__FP4TASK", SN_NOWARN)
set_name(0x8007989C, "... | 53.344418 | 94 | 0.831335 | 23,325 | 179,664 | 5.898521 | 0.298264 | 0.171308 | 0.269118 | 0.366978 | 0.256827 | 0.012458 | 0.0008 | 0.000422 | 0 | 0 | 0 | 0.165461 | 0.056222 | 179,664 | 3,367 | 95 | 53.360261 | 0.645937 | 0 | 0 | 0 | 0 | 0 | 0.325341 | 0.158162 | 0 | 0 | 0.187405 | 0 | 0.000594 | 1 | 0 | true | 0.000594 | 0.000297 | 0 | 0.000297 | 0.000594 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e49c03904354ad266957b1e386e025b35238c5ea | 486 | py | Python | src/utils/exceptions.py | gtaylor/dott | b0dfbecc1171ed82566ecf814a73ce3dcaa468be | [
"BSD-3-Clause"
] | 3 | 2016-01-10T09:22:01.000Z | 2016-05-01T23:16:16.000Z | src/utils/exceptions.py | gtaylor/dott | b0dfbecc1171ed82566ecf814a73ce3dcaa468be | [
"BSD-3-Clause"
] | 1 | 2016-03-29T02:52:49.000Z | 2016-03-29T02:52:49.000Z | src/utils/exceptions.py | gtaylor/dott | b0dfbecc1171ed82566ecf814a73ce3dcaa468be | [
"BSD-3-Clause"
] | 1 | 2020-04-16T15:45:26.000Z | 2020-04-16T15:45:26.000Z | class BaseException(Exception):
"""
Sub-class this with your custom exceptions.
"""
def __init__(self, message, *args):
"""
:param str message: The message to show in the exception's
string representation.
"""
Exception.__init__(self, message, *args)
#... | 30.375 | 66 | 0.613169 | 52 | 486 | 5.423077 | 0.538462 | 0.156028 | 0.106383 | 0.134752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 486 | 16 | 67 | 30.375 | 0.824561 | 0.40535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e4a993d68439cdc2037cb708e9811404d1d88e07 | 743 | py | Python | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/compressed_texture_pixel_storage.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/compressed_texture_pixel_storage.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/compressed_texture_pixel_storage.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | '''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p
from OpenGL.GL import glget
EXTENSION_NAME = 'GL_ARB_compressed_texture_pixel_storage'
_p.unpack_constants( """GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
GL_UNPACK_COMPRESSED_BLOCK_DEPTH... | 39.105263 | 71 | 0.857335 | 99 | 743 | 5.989899 | 0.505051 | 0.202361 | 0.121417 | 0.155143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052006 | 0.094213 | 743 | 18 | 72 | 41.277778 | 0.829123 | 0.15747 | 0 | 0 | 1 | 0 | 0.569106 | 0.466667 | 0 | 0 | 0.078049 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.214286 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e4ce7a9b1cb89d935dc4de3e9f981a631d014696 | 42,277 | py | Python | koalixcrm/crm/migrations/0003_auto_20171009_1949.py | Cataldir/koalixcrm | 87d125379845d6ab990c19500d63cbed4051040a | [
"BSD-3-Clause"
] | 290 | 2015-01-11T03:01:05.000Z | 2019-12-17T03:56:17.000Z | koalixcrm/crm/migrations/0003_auto_20171009_1949.py | Cataldir/koalixcrm | 87d125379845d6ab990c19500d63cbed4051040a | [
"BSD-3-Clause"
] | 178 | 2016-02-26T14:41:49.000Z | 2019-12-29T08:34:21.000Z | koalixcrm/crm/migrations/0003_auto_20171009_1949.py | Cataldir/koalixcrm | 87d125379845d6ab990c19500d63cbed4051040a | [
"BSD-3-Clause"
] | 124 | 2015-02-28T20:56:37.000Z | 2019-12-13T18:15:35.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-10-09 19:49
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('crm', '0002_auto_20170927_... | 54.692109 | 5,863 | 0.60721 | 3,928 | 42,277 | 6.403004 | 0.226578 | 0.083535 | 0.120274 | 0.139517 | 0.67389 | 0.630114 | 0.52813 | 0.499662 | 0.478788 | 0.471114 | 0 | 0.005072 | 0.23514 | 42,277 | 772 | 5,864 | 54.762953 | 0.77273 | 0.001608 | 0 | 0.741176 | 1 | 0 | 0.294792 | 0.026892 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002614 | 0.005229 | 0 | 0.00915 | 0.005229 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
900e6e539b382e8a24b3be5537ece8783b997686 | 92 | py | Python | gemd/entity/source/__init__.py | CitrineInformatics/gemd | f4bb7e5ff09e7ec89d277c26e61ed14f6bab0306 | [
"Apache-2.0"
] | 3 | 2019-09-27T02:56:26.000Z | 2019-11-11T22:21:18.000Z | gemd/entity/source/__init__.py | CitrineInformatics/gemd | f4bb7e5ff09e7ec89d277c26e61ed14f6bab0306 | [
"Apache-2.0"
] | 29 | 2019-09-09T23:20:41.000Z | 2020-03-31T19:13:01.000Z | gemd/entity/source/__init__.py | CitrineInformatics/gemd | f4bb7e5ff09e7ec89d277c26e61ed14f6bab0306 | [
"Apache-2.0"
] | 3 | 2019-09-20T19:01:02.000Z | 2019-11-26T02:43:45.000Z | # flake8: noqa
from .performed_source import PerformedSource
__all__ = ["PerformedSource"]
| 18.4 | 45 | 0.793478 | 9 | 92 | 7.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.119565 | 92 | 4 | 46 | 23 | 0.82716 | 0.130435 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9047f2b879a30c5ee7cb37a4f45e97a589c0aa5b | 79 | py | Python | qiskit_hackathon/main.py | iyassou/acidrain | 7efd485f8908e76dcbbd0936b8bf32c625f5380e | [
"Apache-2.0"
] | 1 | 2020-01-13T11:00:23.000Z | 2020-01-13T11:00:23.000Z | qiskit_hackathon/main.py | iyassou/acidrain | 7efd485f8908e76dcbbd0936b8bf32c625f5380e | [
"Apache-2.0"
] | 1 | 2020-01-03T10:11:58.000Z | 2020-07-19T15:20:12.000Z | qiskit_hackathon/main.py | iyassou/acidrain | 7efd485f8908e76dcbbd0936b8bf32c625f5380e | [
"Apache-2.0"
] | null | null | null | import acid_rain
ac = acid_rain.AcidRain()
while True:
ac.run_game()
| 13.166667 | 26 | 0.670886 | 12 | 79 | 4.166667 | 0.75 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227848 | 79 | 5 | 27 | 15.8 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5f52bb1b31ff89bf78de43117e036ce367b55020 | 652 | py | Python | ish_parser/Components/SnowDepthComponent.py | vtoupet/ish_parser | 121b553937c89f14ab7af62f7daaf301f18c0aa8 | [
"MIT"
] | 52 | 2015-02-02T21:52:58.000Z | 2022-03-03T12:38:44.000Z | ish_parser/Components/SnowDepthComponent.py | vtoupet/ish_parser | 121b553937c89f14ab7af62f7daaf301f18c0aa8 | [
"MIT"
] | 19 | 2015-07-27T13:34:01.000Z | 2021-07-23T14:01:41.000Z | ish_parser/Components/SnowDepthComponent.py | vtoupet/ish_parser | 121b553937c89f14ab7af62f7daaf301f18c0aa8 | [
"MIT"
] | 31 | 2015-05-13T03:24:55.000Z | 2021-07-20T12:53:44.000Z | from .BaseComponent import BaseComponent
class SnowDepthComponent(BaseComponent):
''' handle AJ1 snow depth types '''
def loads(self, string):
self.snow_depth = {'depth': int(string[0:4]),
'condition': string[4:5],
'quality': string[5:6]}
self.equivalent_water... | 34.315789 | 90 | 0.588957 | 73 | 652 | 5.068493 | 0.39726 | 0.121622 | 0.105405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.273006 | 652 | 18 | 91 | 36.222222 | 0.742616 | 0.041411 | 0 | 0 | 0 | 0 | 0.110211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5f607f328f185d3d7e50b3149b3178a7b546bb01 | 267 | py | Python | src/tracktor_ui/dialog.py | hobbitsyfeet/GIS-Indep-Study | dcd6b48d44b21e7a0222e1b177066b9f3b8221eb | [
"MIT"
] | 2 | 2021-03-22T11:10:16.000Z | 2021-12-16T19:44:49.000Z | src/tracktor_ui/dialog.py | hobbitsyfeet/UofLStudy | dcd6b48d44b21e7a0222e1b177066b9f3b8221eb | [
"MIT"
] | null | null | null | src/tracktor_ui/dialog.py | hobbitsyfeet/UofLStudy | dcd6b48d44b21e7a0222e1b177066b9f3b8221eb | [
"MIT"
] | null | null | null | from tkinter import simpledialog
class Dialog:
def __init__(self, title, message):
self.messagebox.showinfo(title, message)
self.answer = simpledialog.askstring("Input", "What is your first name?",
parent=window)
| 33.375 | 82 | 0.629213 | 28 | 267 | 5.857143 | 0.821429 | 0.146341 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280899 | 267 | 7 | 83 | 38.142857 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.108614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
5f9d36de4f8eeadf1059d7fa9684ebc3eadd2807 | 196 | py | Python | sdapis/apps.py | mmtahir-dev/cmput404-socialdistribution | a5a4749c8d9c27ccd062e33be5a4fb2f76697394 | [
"MIT"
] | null | null | null | sdapis/apps.py | mmtahir-dev/cmput404-socialdistribution | a5a4749c8d9c27ccd062e33be5a4fb2f76697394 | [
"MIT"
] | 49 | 2021-09-28T21:52:40.000Z | 2021-10-03T22:35:49.000Z | sdapis/apps.py | mmtahir-dev/cmput404-socialdistribution | a5a4749c8d9c27ccd062e33be5a4fb2f76697394 | [
"MIT"
] | 1 | 2021-09-27T03:20:36.000Z | 2021-09-27T03:20:36.000Z | from django.apps import AppConfig
class SdapisConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'sdapis'
def ready(self):
import sdapis.signals
| 19.6 | 56 | 0.714286 | 23 | 196 | 6 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19898 | 196 | 9 | 57 | 21.777778 | 0.878981 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0.147959 | 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 | 0 | 0 | 0 | 3 |
5f9d4c4f452e293e80a65c373a4b25454c34ab35 | 18,182 | py | Python | tests/gae_acl_test.py | pombreda/tipfy | 900e5a31a5d24107efa8dfacd89fd69d207cf470 | [
"BSD-3-Clause"
] | 23 | 2015-02-15T22:35:04.000Z | 2021-11-17T11:39:24.000Z | tests/gae_acl_test.py | iki/tipfy | 20a4d20eb68d2caa8f0a8f51caf5b8a075efa9c3 | [
"BSD-3-Clause"
] | null | null | null | tests/gae_acl_test.py | iki/tipfy | 20a4d20eb68d2caa8f0a8f51caf5b8a075efa9c3 | [
"BSD-3-Clause"
] | 3 | 2016-03-21T15:57:28.000Z | 2020-11-26T02:26:19.000Z | # -*- coding: utf-8 -*-
"""
Tests for tipfy.appengine.acl
"""
import unittest
from google.appengine.api import memcache
from tipfy import Tipfy, Request, RequestHandler, CURRENT_VERSION_ID
from tipfy.app import local
from tipfy.appengine.acl import Acl, AclRules, _rules_map, AclMixin
from tipfy.app import local
... | 41.229025 | 126 | 0.614674 | 2,275 | 18,182 | 4.683956 | 0.08044 | 0.140766 | 0.083803 | 0.059122 | 0.804336 | 0.78491 | 0.750188 | 0.627252 | 0.584366 | 0.556776 | 0 | 0.012862 | 0.221758 | 18,182 | 440 | 127 | 41.322727 | 0.740212 | 0.053624 | 0 | 0.495238 | 0 | 0 | 0.146636 | 0 | 0 | 0 | 0 | 0 | 0.352381 | 1 | 0.07619 | false | 0 | 0.022222 | 0.006349 | 0.11746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
39562d7aaf0ab79a54ac5e8dca2aabb97d8b9f09 | 4,896 | py | Python | chemprop_fda/train/utils.py | AayushGrover/ViscaNet | 41786e10b84f2264b638567bdce1c189c1b66b00 | [
"MIT"
] | 1 | 2021-04-01T04:40:06.000Z | 2021-04-01T04:40:06.000Z | chemprop_fda/train/utils.py | AayushGrover/ViscaNet | 41786e10b84f2264b638567bdce1c189c1b66b00 | [
"MIT"
] | null | null | null | chemprop_fda/train/utils.py | AayushGrover/ViscaNet | 41786e10b84f2264b638567bdce1c189c1b66b00 | [
"MIT"
] | null | null | null | import pandas as pd
def save_clas(smiles, pred, tar, rows):
'''
smiles : List of SMILES representations of drugs
pred : List of predicted outputs
tar : List of target outputs
rows : List of row features
'''
assert len(smiles) == len(pred) == len(tar) == len(rows)
binarized_preds = ... | 36 | 98 | 0.593546 | 714 | 4,896 | 3.879552 | 0.109244 | 0.01083 | 0.051625 | 0.057762 | 0.800361 | 0.729603 | 0.717329 | 0.579422 | 0.551986 | 0.461372 | 0 | 0.019799 | 0.246936 | 4,896 | 135 | 99 | 36.266667 | 0.731489 | 0.271038 | 0 | 0.238095 | 0 | 0 | 0.136051 | 0.122273 | 0 | 0 | 0 | 0 | 0.031746 | 1 | 0.031746 | false | 0 | 0.015873 | 0 | 0.047619 | 0.015873 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3961a59e0d006cd53ee6404d74d08d7c20959d34 | 115 | py | Python | qrcode/QRtest.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | qrcode/QRtest.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | qrcode/QRtest.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | import qrcode
img = qrcode.make('kenji yamakawa')
type(img) # qrcode.image.pil.PilImage
img.save("qrcodetest.png") | 28.75 | 38 | 0.756522 | 17 | 115 | 5.117647 | 0.764706 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 115 | 4 | 39 | 28.75 | 0.828571 | 0.217391 | 0 | 0 | 0 | 0 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
398750ac5734caeb3296a4749995481804a3e2f7 | 52 | py | Python | boj/2742.py | pparkddo/ps | 7164c694403c2087a7b4b16a64f521ae327e328f | [
"MIT"
] | 1 | 2021-04-02T09:37:11.000Z | 2021-04-02T09:37:11.000Z | boj/2742.py | pparkddo/ps | 7164c694403c2087a7b4b16a64f521ae327e328f | [
"MIT"
] | null | null | null | boj/2742.py | pparkddo/ps | 7164c694403c2087a7b4b16a64f521ae327e328f | [
"MIT"
] | null | null | null | for each in range(int(input()), 0, -1): print(each)
| 26 | 51 | 0.634615 | 10 | 52 | 3.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.134615 | 52 | 1 | 52 | 52 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
39a90706dd1aa2de911cde5410b134e13215ebac | 367 | py | Python | 7_kyu/get_count.py | resulemreaygan/codewars | 153c6cc8b285164ff0ebea1c041949be0ebeb925 | [
"MIT"
] | null | null | null | 7_kyu/get_count.py | resulemreaygan/codewars | 153c6cc8b285164ff0ebea1c041949be0ebeb925 | [
"MIT"
] | null | null | null | 7_kyu/get_count.py | resulemreaygan/codewars | 153c6cc8b285164ff0ebea1c041949be0ebeb925 | [
"MIT"
] | null | null | null | """
Author: Resul Emre AYGAN
"""
"""
Project Description: Vowel Count
Return the number (count) of vowels in the given string.
We will consider a, e, i, o, u as vowels for this Kata (but not y).
The input string will only consist of lower case letters and/or spaces.
"""
def get_count(input_str):
return sum(ma... | 20.388889 | 71 | 0.673025 | 63 | 367 | 3.873016 | 0.714286 | 0.016393 | 0.02459 | 0.032787 | 0.040984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188011 | 367 | 17 | 72 | 21.588235 | 0.818792 | 0.065395 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
39ad4b8c23eff178814d2ad674072bd10f9c5113 | 1,367 | py | Python | forest/primitives/Primitive.py | xinranduan/mpc-forest | e93bee948daeda80d956df210b2057db41698ac9 | [
"BSD-3-Clause"
] | null | null | null | forest/primitives/Primitive.py | xinranduan/mpc-forest | e93bee948daeda80d956df210b2057db41698ac9 | [
"BSD-3-Clause"
] | null | null | null | forest/primitives/Primitive.py | xinranduan/mpc-forest | e93bee948daeda80d956df210b2057db41698ac9 | [
"BSD-3-Clause"
] | null | null | null | """
Copyright (c) 2017 Eric Shook. All rights reserved.
Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
@author: eshook (Eric Shook, eshook@gmail.edu)
@contributors: <Contribute and add your name here!>
"""
from ..engines import Config
from ..bobs.Bob import *
class P... | 27.897959 | 97 | 0.625457 | 181 | 1,367 | 4.563536 | 0.508287 | 0.087167 | 0.072639 | 0.065375 | 0.116223 | 0.087167 | 0.087167 | 0 | 0 | 0 | 0 | 0.004024 | 0.27286 | 1,367 | 49 | 98 | 27.897959 | 0.826962 | 0.354792 | 0 | 0.230769 | 0 | 0 | 0.044776 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 1 | 0.269231 | false | 0.038462 | 0.076923 | 0.076923 | 0.576923 | 0.153846 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
39b059ef98507a6e67b6d008ecc931d571ffef34 | 10,743 | py | Python | attic/sanity_check_resultsummary.py | suswei/RLCT | e9e04ca5e64250dfbb94134ec5283286dcdc4358 | [
"MIT"
] | null | null | null | attic/sanity_check_resultsummary.py | suswei/RLCT | e9e04ca5e64250dfbb94134ec5283286dcdc4358 | [
"MIT"
] | null | null | null | attic/sanity_check_resultsummary.py | suswei/RLCT | e9e04ca5e64250dfbb94134ec5283286dcdc4358 | [
"MIT"
] | null | null | null | import os
import pandas as pd
import itertools
from matplotlib import pyplot as plt
import matplotlib.transforms as mtransforms
import cv2
def sanity_check_result_summary(hyperparameter_config, VI_type, dir_path: str='D:/UMelb/PhD_Projects/RLCT/sanity_check/', task_numbers: list=list(range(0,216))):
results_total... | 62.459302 | 233 | 0.618077 | 1,374 | 10,743 | 4.540029 | 0.127365 | 0.080795 | 0.054825 | 0.044245 | 0.798974 | 0.771561 | 0.741584 | 0.677781 | 0.661751 | 0.627765 | 0 | 0.027531 | 0.235875 | 10,743 | 171 | 234 | 62.824561 | 0.732367 | 0.001676 | 0 | 0.430556 | 0 | 0 | 0.150424 | 0.063229 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013889 | false | 0 | 0.041667 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
39de3c7629abe33a13b26089043fe0eb8e39b1f6 | 556 | py | Python | taotao-cloud-python/taotao-cloud-oldboy/day21-python-module/day21/time.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 47 | 2021-04-13T10:32:13.000Z | 2022-03-31T10:30:30.000Z | taotao-cloud-python/taotao-cloud-oldboy/day21-python-module/day21/time.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 1 | 2021-11-01T07:41:04.000Z | 2021-11-01T07:41:10.000Z | taotao-cloud-python/taotao-cloud-oldboy/day21-python-module/day21/time.py | shuigedeng/taotao-cloud-paren | 3d281b919490f7cbee4520211e2eee5da7387564 | [
"Apache-2.0"
] | 21 | 2021-04-13T10:32:17.000Z | 2022-03-26T07:43:22.000Z | import time
#时间戳 #计算
# print(time.time()) #1481321748.481654秒
#结构化时间---当地时间
# print(time.localtime(1531242343))
# t=time.localtime()
# print(t.tm_year)
# print(t.tm_wday)
# #-----#结构化时间---UTC
# print(time.gmtime())
#-----将结构化时间转换成时间戳
# print(time.mktime(time.localtime()))
#------将结构化时间转成字符串时间strftime
#print(tim... | 18.533333 | 58 | 0.654676 | 73 | 556 | 4.958904 | 0.506849 | 0.198895 | 0.044199 | 0.022099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079051 | 0.089928 | 556 | 29 | 59 | 19.172414 | 0.636364 | 0.886691 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f2dc8f5c1a89c0b141157cef0c393b80fe76c393 | 548 | py | Python | src/tree_node.py | tito91/memreport-tool | 771ae307a8806ab0094fd7f262b73f1d1fe64394 | [
"MIT"
] | 4 | 2021-03-21T17:01:08.000Z | 2022-03-31T08:46:59.000Z | src/tree_node.py | tito91/memreport-tool | 771ae307a8806ab0094fd7f262b73f1d1fe64394 | [
"MIT"
] | 1 | 2021-12-03T09:47:40.000Z | 2022-03-31T09:07:21.000Z | src/tree_node.py | tito91/memreport-tool | 771ae307a8806ab0094fd7f262b73f1d1fe64394 | [
"MIT"
] | null | null | null | from anytree import NodeMixin
from src.filesize.filesize import FileSize
class TreeNode(NodeMixin):
def __init__(self, name, id, parent=None):
super(TreeNode, self).__init__()
self.filesize = FileSize.from_int(0)
self.id = id
self.name = name
self.parent = parent
s... | 27.4 | 115 | 0.666058 | 70 | 548 | 4.957143 | 0.385714 | 0.092219 | 0.15562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002381 | 0.233577 | 548 | 19 | 116 | 28.842105 | 0.82381 | 0 | 0 | 0 | 0 | 0 | 0.010949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f2e908f87f78ef661637e8146eaea7c8d31fccda | 658 | py | Python | tests/test_finish.py | mrcartoonster/booster_rockets | 27eb26da6e0bc6614359046af670bd77a833d5a0 | [
"MIT"
] | null | null | null | tests/test_finish.py | mrcartoonster/booster_rockets | 27eb26da6e0bc6614359046af670bd77a833d5a0 | [
"MIT"
] | 1 | 2021-07-27T22:56:25.000Z | 2021-07-27T22:56:52.000Z | tests/test_finish.py | mrcartoonster/booster_rockets | 27eb26da6e0bc6614359046af670bd77a833d5a0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from cards import Card
def test_finish_from_in_prog(cards_db):
index = cards_db.add_card(Card("second edition", state="in prog"))
cards_db.finish(index)
card = cards_db.get_card(index)
assert card.state == "done"
def test_finish_from_done(cards_db):
index = cards_db.add_c... | 27.416667 | 70 | 0.694529 | 104 | 658 | 4.125 | 0.259615 | 0.195804 | 0.090909 | 0.118881 | 0.708625 | 0.708625 | 0.708625 | 0.708625 | 0.498835 | 0.498835 | 0 | 0.001828 | 0.168693 | 658 | 23 | 71 | 28.608696 | 0.78245 | 0.031915 | 0 | 0.5625 | 0 | 0 | 0.107087 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f2fd96e25ac4dad431335be2c30c4d7bac45f042 | 1,049 | py | Python | content/lessons/10/Now-You-Code/NYC3-Shopping-Cart.py | abanks-su/FollowUP | 2fd48b25d503465b5c57b1b45b1e11a86070b902 | [
"MIT"
] | 1 | 2019-04-03T00:43:15.000Z | 2019-04-03T00:43:15.000Z | content/lessons/10/Now-You-Code/NYC3-Shopping-Cart.py | abanks-su/FollowUP | 2fd48b25d503465b5c57b1b45b1e11a86070b902 | [
"MIT"
] | null | null | null | content/lessons/10/Now-You-Code/NYC3-Shopping-Cart.py | abanks-su/FollowUP | 2fd48b25d503465b5c57b1b45b1e11a86070b902 | [
"MIT"
] | null | null | null | '''
Now You Code 3: Shopping Cart
In this program you will implement an online shopping cart using a
Python list of dictionary.
The program should start by allowing the user to enter:
- Product name
- Product price
- Product quantity
until the user enters a product name of 'checkout'
after checkout the program s... | 22.804348 | 66 | 0.70448 | 161 | 1,049 | 4.590062 | 0.484472 | 0.074425 | 0.086604 | 0.073072 | 0.105548 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029225 | 0.249762 | 1,049 | 45 | 67 | 23.311111 | 0.909784 | 0.895138 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.044444 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f2fe3cd40ee1f3732be674dd826229bddd1d1624 | 75 | py | Python | solutions/72.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | 2 | 2022-01-18T08:57:13.000Z | 2022-01-18T15:49:06.000Z | solutions/72.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | null | null | null | solutions/72.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | null | null | null | # Edit Distance
class Solution:
def minDistance(self, word1, word2):
| 12.5 | 40 | 0.706667 | 9 | 75 | 5.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.2 | 75 | 5 | 41 | 15 | 0.85 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
840eb086556499f79dceaa7e4fce7ec8422cc469 | 231 | py | Python | mangadex/http/result/manga.py | mansuf/mangadex.py | 42d6278f4383c99fb64add179dff3df3e82b2baa | [
"MIT"
] | null | null | null | mangadex/http/result/manga.py | mansuf/mangadex.py | 42d6278f4383c99fb64add179dff3df3e82b2baa | [
"MIT"
] | null | null | null | mangadex/http/result/manga.py | mansuf/mangadex.py | 42d6278f4383c99fb64add179dff3df3e82b2baa | [
"MIT"
] | null | null | null | class MangaListResult(list):
def __init__(self, data) -> None:
super().__init__(data.get('data'))
self._limit = data.get('limit')
self._offset = data.get('offset')
self._total = data.get('total') | 38.5 | 42 | 0.601732 | 28 | 231 | 4.571429 | 0.464286 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225108 | 231 | 6 | 43 | 38.5 | 0.715084 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
841739921811f199171544da06bf1b031dc5e8f2 | 375 | py | Python | khorlo/models.py | kobox/khorlo | 0868ba5b617b2890fdb8388ffd101a87c188784c | [
"Artistic-2.0"
] | null | null | null | khorlo/models.py | kobox/khorlo | 0868ba5b617b2890fdb8388ffd101a87c188784c | [
"Artistic-2.0"
] | null | null | null | khorlo/models.py | kobox/khorlo | 0868ba5b617b2890fdb8388ffd101a87c188784c | [
"Artistic-2.0"
] | null | null | null | from django.db import models
from mezzanine.core.models import Displayable, Ownable
# class Author(Displayable, Ownable):
# dob = models.DateField("Date of birth")
#
#
#class Book(models.Model):
#create_date = models.DateField("Data utworzenia")
#author = models.
#author = models.ForeignKey("Author")
... | 22.058824 | 54 | 0.709333 | 44 | 375 | 6 | 0.613636 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162667 | 375 | 16 | 55 | 23.4375 | 0.840764 | 0.669333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
842d002f4587de0328e52583447706b04067eaa8 | 63 | py | Python | python/testData/inspections/unusedImport/subpackageInInitPy/module_a.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/unusedImport/subpackageInInitPy/module_a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/unusedImport/subpackageInInitPy/module_a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | #! /usr/bin/env python
from package1 import ClassB
b = ClassB() | 21 | 27 | 0.730159 | 10 | 63 | 4.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.142857 | 63 | 3 | 28 | 21 | 0.833333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8442957e83244a9a8a012b5344e95051e1590ca8 | 1,991 | py | Python | app.py | aweinstock314/mlhprime_voicegit_2016_08 | 9b5fb4e2797cc661c817b2ea3083ac0df9284027 | [
"Apache-2.0"
] | null | null | null | app.py | aweinstock314/mlhprime_voicegit_2016_08 | 9b5fb4e2797cc661c817b2ea3083ac0df9284027 | [
"Apache-2.0"
] | null | null | null | app.py | aweinstock314/mlhprime_voicegit_2016_08 | 9b5fb4e2797cc661c817b2ea3083ac0df9284027 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from flask import Flask, request
from subprocess import Popen, PIPE
import os
import sys
app = Flask(__name__)
def premod(s):
#return "<pre>%s</pre>" % str(s)
return str(s)
def sanitize_html(s):
s = s.replace("&", "&")
s = s.replace("<", "<")
return s
def formatted_p... | 25.202532 | 97 | 0.619287 | 261 | 1,991 | 4.670498 | 0.329502 | 0.065628 | 0.177194 | 0.059065 | 0.059065 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003001 | 0.163235 | 1,991 | 78 | 98 | 25.525641 | 0.728691 | 0.056253 | 0 | 0.101695 | 0 | 0 | 0.137527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.237288 | false | 0 | 0.067797 | 0.152542 | 0.576271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
844b4872d8dae2bc7302ce7d4006ebc2511db866 | 155 | py | Python | Refugeeks2020/06.07.2020/2.py | eftaldedebali/refugeeks2020 | 9ac5379950a46c459d34ddd27d3efe92d75cecde | [
"Unlicense"
] | null | null | null | Refugeeks2020/06.07.2020/2.py | eftaldedebali/refugeeks2020 | 9ac5379950a46c459d34ddd27d3efe92d75cecde | [
"Unlicense"
] | null | null | null | Refugeeks2020/06.07.2020/2.py | eftaldedebali/refugeeks2020 | 9ac5379950a46c459d34ddd27d3efe92d75cecde | [
"Unlicense"
] | null | null | null | """
Das Program so, dass den User nach seinem Namen fragt und ihn mit diesem Namen begrüßt.
"""
name = input("Was heißen Sie?: ")
print("Hallo ", name) | 31 | 88 | 0.677419 | 24 | 155 | 4.375 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 155 | 5 | 89 | 31 | 0.84 | 0.56129 | 0 | 0 | 0 | 0 | 0.403509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ffc612d886d72cc7293a87fef08949be1c401fde | 278 | py | Python | OpenCast/app/command/command.py | Tastyep/Pi-OpenCast | 1ed07130c26e6dd70184446af3c9143094d0c9a0 | [
"MIT"
] | 31 | 2019-10-05T14:23:10.000Z | 2022-02-27T19:38:55.000Z | OpenCast/app/command/command.py | Tastyep/RaspberryCast | 8ae8cf986b373b04c43d248ee72c77b1a29daa43 | [
"MIT"
] | 199 | 2020-08-30T16:33:03.000Z | 2022-03-28T04:10:06.000Z | OpenCast/app/command/command.py | Tastyep/RaspberryCast | 8ae8cf986b373b04c43d248ee72c77b1a29daa43 | [
"MIT"
] | 1 | 2019-10-05T16:00:49.000Z | 2019-10-05T16:00:49.000Z | """ Abstract representation of a command """
from dataclasses import dataclass
from OpenCast.domain.model import Id as ModelId
from OpenCast.infra import Id
def command(cls):
return dataclass(cls, frozen=True)
@command
class Command:
id: Id
model_id: ModelId
| 15.444444 | 47 | 0.741007 | 38 | 278 | 5.394737 | 0.578947 | 0.117073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18705 | 278 | 17 | 48 | 16.352941 | 0.90708 | 0.129496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
ffe7294a6aa0b3fc2557cacc797b81e073bfe43b | 1,454 | py | Python | tipoVar.py | tej17584/proyecto3DisenoLenguajes | 6d358e53054322818fe0c02934f52e84d945b5f7 | [
"MIT"
] | null | null | null | tipoVar.py | tej17584/proyecto3DisenoLenguajes | 6d358e53054322818fe0c02934f52e84d945b5f7 | [
"MIT"
] | null | null | null | tipoVar.py | tej17584/proyecto3DisenoLenguajes | 6d358e53054322818fe0c02934f52e84d945b5f7 | [
"MIT"
] | null | null | null | """
Nombre: Alejandro Tejada
Curso: Diseño lenguajes de programacion
Fecha: Abril 2021
Programa: tipoVar.py
Propósito: Este programa tiene TODOS los posibles tipos de variable que pueden ser encontradas. Cada una
V 1.0
"""
#! zona de imports
from enum import Enum
from funciones import funciones
# creamos una clase f... | 22.71875 | 105 | 0.662999 | 152 | 1,454 | 6.302632 | 0.618421 | 0.070981 | 0.058455 | 0.056367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016682 | 0.257909 | 1,454 | 63 | 106 | 23.079365 | 0.871177 | 0.249656 | 0 | 0 | 0 | 0 | 0.004794 | 0 | 0 | 0 | 0 | 0.015873 | 0 | 1 | 0.162162 | false | 0 | 0.054054 | 0.108108 | 0.837838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ffe803018315a7a0328050595bcbff80815c35db | 302 | py | Python | bot/configs/bot_enum.py | DazeSace/Pomomo | f720f06920e74ddff5a2692da8a4e22ad46c885d | [
"MIT"
] | null | null | null | bot/configs/bot_enum.py | DazeSace/Pomomo | f720f06920e74ddff5a2692da8a4e22ad46c885d | [
"MIT"
] | null | null | null | bot/configs/bot_enum.py | DazeSace/Pomomo | f720f06920e74ddff5a2692da8a4e22ad46c885d | [
"MIT"
] | null | null | null | class State:
POMODORO = 'pomodoro'
SHORT_BREAK = 'short break'
LONG_BREAK = 'long break'
COUNTDOWN = 'countdown'
class AlertPath:
POMO_START = '/app/bot/sounds/pomo_start.mp3'
POMO_END = '/app/bot/sounds/pomo_end.mp3'
LONG_BREAK_START = '/app/bot/sounds/long_break.mp3'
| 21.571429 | 55 | 0.678808 | 41 | 302 | 4.780488 | 0.365854 | 0.183673 | 0.183673 | 0.173469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.195364 | 302 | 13 | 56 | 23.230769 | 0.794239 | 0 | 0 | 0 | 0 | 0 | 0.42 | 0.293333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0804174ecbc09140148f9bd5c5e191e28a88e169 | 1,298 | py | Python | wysiwygtemplate/templatebase.py | liuzg50505/pyexceltemplate | cff1ca87d4efd59cf18a96047a7c8ed293d3ea66 | [
"BSD-3-Clause"
] | 9 | 2018-11-06T22:13:11.000Z | 2021-04-26T09:42:38.000Z | wysiwygtemplate/templatebase.py | liuzg50505/pyexceltemplate | cff1ca87d4efd59cf18a96047a7c8ed293d3ea66 | [
"BSD-3-Clause"
] | 3 | 2018-11-15T07:58:28.000Z | 2019-03-21T08:37:09.000Z | wysiwygtemplate/templatebase.py | liuzg50505/pyexceltemplate | cff1ca87d4efd59cf18a96047a7c8ed293d3ea66 | [
"BSD-3-Clause"
] | null | null | null | class ExcelProcessor:
def __init__(self, xlsfilepath) -> None:
super().__init__()
self.xlsfilepath = xlsfilepath
def bound(self)->tuple:
pass
def readCellValue(self, row, col):
pass
def writeCellValue(self, row, col, val):
pass
def insertRowBefore(self, ro... | 21.278689 | 93 | 0.623267 | 131 | 1,298 | 5.992366 | 0.312977 | 0.098089 | 0.063694 | 0.049682 | 0.150318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282743 | 1,298 | 60 | 94 | 21.633333 | 0.843179 | 0 | 0 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.418605 | false | 0.348837 | 0 | 0 | 0.511628 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0806901bde5499920098bab5ea9840ee8289b598 | 91 | py | Python | topic_segmentation_algorithm/genetic_algorithm/individual.py | eduardorochasoares/flexsegmentation | 8a9ad4a9b12c709910a8e8362a4b2850c526af74 | [
"MIT"
] | 9 | 2019-12-11T18:05:52.000Z | 2021-12-08T15:50:28.000Z | topic_segmentation_algorithm/genetic_algorithm/individual.py | eduardorochasoares/flexsegmentation | 8a9ad4a9b12c709910a8e8362a4b2850c526af74 | [
"MIT"
] | 1 | 2020-01-09T03:14:47.000Z | 2020-01-09T03:14:47.000Z | topic_segmentation_algorithm/genetic_algorithm/individual.py | eduardorochasoares/flexsegmentation | 8a9ad4a9b12c709910a8e8362a4b2850c526af74 | [
"MIT"
] | 4 | 2019-12-11T23:45:33.000Z | 2021-01-04T06:20:53.000Z | class Individual:
def __init__(self):
self.dna = []
self.fit_value = 0
| 18.2 | 26 | 0.56044 | 11 | 91 | 4.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.32967 | 91 | 4 | 27 | 22.75 | 0.737705 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
082b1f19e38b2caf079eae6688e16ed9bdfebaf1 | 1,029 | py | Python | ReadWrite/_settingsTemplate.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | ReadWrite/_settingsTemplate.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | ReadWrite/_settingsTemplate.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | ###########################################################
# Populate the following variables with your desired values.
# When done editing this file, rename it to _settings.py and leave it in the same directory.
### local directory to save data.
# This is relevant to the decorator called _backupDFs in ReadWrite. ... | 102.9 | 523 | 0.733722 | 161 | 1,029 | 4.677019 | 0.583851 | 0.039841 | 0.021248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168124 | 1,029 | 9 | 524 | 114.333333 | 0.879673 | 0.902818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0854f588cd2ae9b94b298405e8f2860d6513eb38 | 350 | py | Python | app/random_values.py | woctezuma/heroku-flask-api | cd3ff17fd818459350c5719ee9449eb9d7500315 | [
"MIT"
] | 1 | 2021-01-18T10:06:06.000Z | 2021-01-18T10:06:06.000Z | app/random_values.py | woctezuma/heroku-flask-api | cd3ff17fd818459350c5719ee9449eb9d7500315 | [
"MIT"
] | null | null | null | app/random_values.py | woctezuma/heroku-flask-api | cd3ff17fd818459350c5719ee9449eb9d7500315 | [
"MIT"
] | 2 | 2021-02-22T04:48:21.000Z | 2022-03-31T05:40:53.000Z | import random
from utils.file_utils import load_app_ids, load_app_names
def get_random_index():
app_ids = load_app_ids()
return random.randrange(len(app_ids))
def get_random_id():
app_ids = load_app_ids()
return random.choice(app_ids)
def get_random_name():
app_names = load_app_names()
re... | 18.421053 | 57 | 0.742857 | 56 | 350 | 4.232143 | 0.321429 | 0.177215 | 0.126582 | 0.164557 | 0.388186 | 0.236287 | 0.236287 | 0 | 0 | 0 | 0 | 0 | 0.168571 | 350 | 18 | 58 | 19.444444 | 0.814433 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0856ee0f56be2ffb8a5063f8ca540d5c3297105f | 1,194 | py | Python | test_login.py | Manolaru/Sel_WebDriver | 9e32d9bd5d63d0d9ad39ff713c918a41d571d6ff | [
"Apache-2.0"
] | null | null | null | test_login.py | Manolaru/Sel_WebDriver | 9e32d9bd5d63d0d9ad39ff713c918a41d571d6ff | [
"Apache-2.0"
] | null | null | null | test_login.py | Manolaru/Sel_WebDriver | 9e32d9bd5d63d0d9ad39ff713c918a41d571d6ff | [
"Apache-2.0"
] | null | null | null | import pytest
from selenium import webdriver
@pytest.fixture
def driver(request):
wd = webdriver.Chrome()
wd.base_url = "http://localhost/"
request.addfinalizer(wd.quit)
return wd
def test_login(driver):
driver.get(driver.base_url + "litecart/admin/login.php")
driver.find_element_by_name("us... | 38.516129 | 77 | 0.731156 | 171 | 1,194 | 4.777778 | 0.327485 | 0.183599 | 0.312118 | 0.348837 | 0.663403 | 0.627907 | 0.556916 | 0.49082 | 0.450428 | 0.367197 | 0 | 0.01029 | 0.10469 | 1,194 | 30 | 78 | 39.8 | 0.753976 | 0 | 0 | 0.16 | 0 | 0 | 0.211232 | 0.074602 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0.24 | 0.08 | 0 | 0.2 | 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 | 0 | 0 | 0 | 3 |
f23067e39fae346e4c84b52999ac70f074b7c560 | 2,562 | py | Python | sci_api_req/providers/NASA/neows_provider.py | miki164/sci-api-req | f72ccffd15417e42a883cce9dfb20a4bae2db5a7 | [
"BSD-3-Clause"
] | 5 | 2019-08-25T10:59:07.000Z | 2020-01-20T16:22:35.000Z | sci_api_req/providers/NASA/neows_provider.py | miki164/sci-api-req | f72ccffd15417e42a883cce9dfb20a4bae2db5a7 | [
"BSD-3-Clause"
] | 15 | 2019-08-25T11:52:43.000Z | 2021-06-27T20:01:44.000Z | sci_api_req/providers/NASA/neows_provider.py | miki164/sci-api-req | f72ccffd15417e42a883cce9dfb20a4bae2db5a7 | [
"BSD-3-Clause"
] | 1 | 2019-08-27T12:17:44.000Z | 2019-08-27T12:17:44.000Z | from ..api_provider import ApiProvider
from sci_api_req import config
import datetime
class NeoWsProvider(ApiProvider):
"""
You can use NeoWs(Near Earth Object Web Service) to search for Asteroids based on
their closest approach date to Earth, lookup a specific Asteroid with its NASA JPL
small body id... | 32.025 | 94 | 0.600703 | 316 | 2,562 | 4.737342 | 0.313291 | 0.130929 | 0.065464 | 0.102872 | 0.426186 | 0.356045 | 0.356045 | 0.279225 | 0.279225 | 0.149633 | 0 | 0.002227 | 0.298985 | 2,562 | 79 | 95 | 32.43038 | 0.831292 | 0.261124 | 0 | 0.479167 | 0 | 0 | 0.051969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.0625 | 0.145833 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f2312c2083e04e1375e328db30b86a76ff8c725e | 25 | py | Python | idlelib/idlever.py | asweigart/idle-reimagined | a83744a93df42aa774a0a6a7feab913f850898ca | [
"PSF-2.0"
] | 35 | 2015-02-23T05:48:30.000Z | 2021-07-16T19:34:32.000Z | Lib/idlelib/idlever.py | SimplyAhmazing/python-with-arabic-keywords | dfea9d0a225eadcd6845961e5829830ec2784105 | [
"PSF-2.0"
] | null | null | null | Lib/idlelib/idlever.py | SimplyAhmazing/python-with-arabic-keywords | dfea9d0a225eadcd6845961e5829830ec2784105 | [
"PSF-2.0"
] | 8 | 2015-04-09T21:42:56.000Z | 2021-12-13T09:56:32.000Z | IDLE_VERSION = "3.5.0a3"
| 12.5 | 24 | 0.68 | 5 | 25 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.12 | 25 | 1 | 25 | 25 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f2504350228dba8846a5d453bb9af349e0deb0ed | 1,395 | py | Python | lib/citeproc-js/attic/CHECKTITLE.py | lizkrznarich/citeproc-doi-server | 547b13505adbc55ed6852fd81aa314d27d002c0b | [
"Apache-2.0"
] | 9 | 2015-03-18T09:42:27.000Z | 2021-11-30T02:13:33.000Z | lib/citeproc-js/attic/CHECKTITLE.py | datacite/mastiff | 2b377810496fc241834992c7df5b3b73d135f5ca | [
"Apache-2.0"
] | 23 | 2015-01-14T07:54:21.000Z | 2021-12-10T08:22:05.000Z | lib/citeproc-js/attic/CHECKTITLE.py | datacite/mastiff | 2b377810496fc241834992c7df5b3b73d135f5ca | [
"Apache-2.0"
] | 7 | 2015-03-18T11:04:18.000Z | 2021-12-02T21:46:00.000Z | #!/usr/bin/python
import sys,os,re
filenames = [
"bugreports_AuthorPosition.txt",
"bugreports_ByBy.txt",
"bugreports_ikeyOne.txt",
"bugreports_TitleCase.txt",
"bugreports_UndefinedNotString.txt",
"bugreports_UndefinedStr.txt",
"bugreports_UriWrapping.txt",
"disambiguate_ByCiteIsDefault... | 34.02439 | 80 | 0.737634 | 117 | 1,395 | 8.564103 | 0.495727 | 0.087824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001665 | 0.139068 | 1,395 | 40 | 81 | 34.875 | 0.832639 | 0.01147 | 0 | 0 | 0 | 0 | 0.704644 | 0.650943 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.027778 | null | null | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b3954f7c4223f941517f67b911904b129247faf | 120 | py | Python | Python/Handshake_hackerrank.py | Bijitakc/Hacktoberfest2021-2 | 167e7c81dc9c5cc83fd604ea1d4bce52aa882605 | [
"MIT"
] | 20 | 2021-10-06T13:51:46.000Z | 2021-11-11T16:12:17.000Z | Python/Handshake_hackerrank.py | Bijitakc/Hacktoberfest2021-2 | 167e7c81dc9c5cc83fd604ea1d4bce52aa882605 | [
"MIT"
] | 42 | 2021-10-08T09:49:17.000Z | 2021-10-21T23:18:39.000Z | Python/Handshake_hackerrank.py | Bijitakc/Hacktoberfest2021-2 | 167e7c81dc9c5cc83fd604ea1d4bce52aa882605 | [
"MIT"
] | 97 | 2021-10-06T13:04:34.000Z | 2021-11-11T16:12:21.000Z | num = int(input())
for i in range(num):
person = int(input())
hshake = person*(person - 1)//2
print(hshake)
| 20 | 35 | 0.583333 | 18 | 120 | 3.888889 | 0.666667 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.233333 | 120 | 5 | 36 | 24 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4bbe3a0182e4ba07c788176ab6335d3600e73409 | 165 | py | Python | src/data/__init__.py | FollowTheProcess/aircraft_crashes | 1e1fd95e5de54f91c813b4e933361ff4bc08fef8 | [
"MIT"
] | null | null | null | src/data/__init__.py | FollowTheProcess/aircraft_crashes | 1e1fd95e5de54f91c813b4e933361ff4bc08fef8 | [
"MIT"
] | null | null | null | src/data/__init__.py | FollowTheProcess/aircraft_crashes | 1e1fd95e5de54f91c813b4e933361ff4bc08fef8 | [
"MIT"
] | null | null | null | """
Module containing submodules and/or scripts covering downloading,
generation, processing or cleaning of data.
Author
------
Tom Fleet
License
-------
MIT
"""
| 11.785714 | 65 | 0.709091 | 19 | 165 | 6.157895 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 165 | 13 | 66 | 12.692308 | 0.835714 | 0.939394 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
29ad1551c51f3765e9706442fc1209d35122348e | 3,564 | py | Python | tests/unittests/test_sql.py | zodman/ZoomFoundry | 87a69f519a2ab6b63aeec0a564ce41259e64f88d | [
"MIT"
] | 8 | 2017-04-10T09:53:15.000Z | 2020-08-16T09:53:14.000Z | tests/unittests/test_sql.py | zodman/ZoomFoundry | 87a69f519a2ab6b63aeec0a564ce41259e64f88d | [
"MIT"
] | 49 | 2017-04-13T22:51:48.000Z | 2019-08-15T22:53:25.000Z | tests/unittests/test_sql.py | zodman/ZoomFoundry | 87a69f519a2ab6b63aeec0a564ce41259e64f88d | [
"MIT"
] | 12 | 2017-04-11T04:16:47.000Z | 2019-08-10T21:41:54.000Z | """
test sql
"""
import unittest
from zoom.sqltools import (
summarize,
make_table_select, make_store_select,
occurs, greater_than_or_equal_to
)
class TestSummarize(unittest.TestCase):
def test_one_class_var(self):
query = summarize('person', ['age'])
self.assertEqual(
... | 33 | 137 | 0.546016 | 430 | 3,564 | 4.4 | 0.155814 | 0.031712 | 0.079281 | 0.089852 | 0.848837 | 0.780655 | 0.733615 | 0.695032 | 0.585624 | 0.480444 | 0 | 0.013423 | 0.331089 | 3,564 | 107 | 138 | 33.308411 | 0.780201 | 0.002245 | 0 | 0.325581 | 0 | 0.05814 | 0.416314 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 1 | 0.104651 | false | 0 | 0.023256 | 0 | 0.162791 | 0.023256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
29c20b4c45c359353f2dd1f2571cf7b8ad5b1a3f | 1,057 | py | Python | aiotdlib/api/functions/check_database_encryption_key.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/check_database_encryption_key.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/check_database_encryption_key.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 37.75 | 142 | 0.505203 | 77 | 1,057 | 6.831169 | 0.688312 | 0.123574 | 0.064639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291391 | 1,057 | 27 | 143 | 39.148148 | 0.70227 | 0.601703 | 0 | 0 | 1 | 0 | 0.082011 | 0.068783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
29c8daa9ed7c503c15992f559beb3dca1a444cca | 503 | py | Python | chanjo/sex_checker/__init__.py | nuin/chanjo | 9a1b4aa247c3fe5bf150ac24952d04be43befaa1 | [
"MIT"
] | null | null | null | chanjo/sex_checker/__init__.py | nuin/chanjo | 9a1b4aa247c3fe5bf150ac24952d04be43befaa1 | [
"MIT"
] | null | null | null | chanjo/sex_checker/__init__.py | nuin/chanjo | 9a1b4aa247c3fe5bf150ac24952d04be43befaa1 | [
"MIT"
] | 1 | 2018-07-18T14:56:09.000Z | 2018-07-18T14:56:09.000Z | # -*- coding: utf-8 -*-
"""Component for predicting the gender from a BAM alignment file.
Accepts the path to a BAM file and optionally a prepend for the id of
the sex chromosomes.
The component reads coverage for subsections of each sex chromosome.
Based on the ratio between the average coverage across chromosomes i... | 33.533333 | 69 | 0.795229 | 79 | 503 | 4.949367 | 0.607595 | 0.051151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002364 | 0.159046 | 503 | 14 | 70 | 35.928571 | 0.921986 | 0.733598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
29f1599a9c21c5078623d2a894ee1ab76dfc1ecf | 278 | py | Python | letcon/src/metrics/__init__.py | llFireHawkll/letcon2020-ml-workshop | 5f229c9aceebbdd875435901c298ca1ae35c8d0b | [
"MIT"
] | 3 | 2020-08-25T22:08:01.000Z | 2022-02-05T06:49:55.000Z | letcon/src/metrics/__init__.py | llFireHawkll/letcon2020-ml-workshop | 5f229c9aceebbdd875435901c298ca1ae35c8d0b | [
"MIT"
] | null | null | null | letcon/src/metrics/__init__.py | llFireHawkll/letcon2020-ml-workshop | 5f229c9aceebbdd875435901c298ca1ae35c8d0b | [
"MIT"
] | null | null | null | '''
File: __init__.py
Project: metrics
File Created: Monday, 17th August 2020 3:14:39 pm
Author: Sparsh Dutta (sparsh.dtt@gmail.com)
-----
Last Modified: Monday, 17th August 2020 3:14:39 pm
Modified By: Sparsh Dutta (sparsh.dtt@gmail.com>)
-----
Copyright 2020 Sparsh Dutta
'''
| 23.166667 | 50 | 0.723022 | 44 | 278 | 4.477273 | 0.545455 | 0.167513 | 0.162437 | 0.203046 | 0.558376 | 0.558376 | 0.274112 | 0.274112 | 0 | 0 | 0 | 0.107884 | 0.133094 | 278 | 11 | 51 | 25.272727 | 0.709544 | 0.967626 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b06e760a6a6d704b63f0375a7e181d9986ba0a4 | 2,507 | py | Python | python_lib/mitxgraders/comparers/baseclasses.py | haharay/python_lib | 8acfc634ceb1943da5163c81b79bad126b27212f | [
"MIT"
] | 17 | 2018-06-20T19:38:13.000Z | 2021-12-31T19:52:52.000Z | python_lib/mitxgraders/comparers/baseclasses.py | haharay/python_lib | 8acfc634ceb1943da5163c81b79bad126b27212f | [
"MIT"
] | 282 | 2017-11-07T13:34:03.000Z | 2022-03-26T04:25:20.000Z | python_lib/mitxgraders/comparers/baseclasses.py | haharay/python_lib | 8acfc634ceb1943da5163c81b79bad126b27212f | [
"MIT"
] | 7 | 2018-06-05T23:27:00.000Z | 2022-03-26T08:02:50.000Z | """
Defines baseclasses for comparers.
Note: Any callable object with the correct signature can be used as a comparer
function. We use classes for comparer functions that have configuration options.
"""
from __future__ import print_function, division, absolute_import, unicode_literals
import abc
from mitxgraders.basec... | 39.793651 | 89 | 0.714799 | 298 | 2,507 | 5.899329 | 0.409396 | 0.047782 | 0.01934 | 0.025028 | 0.334471 | 0.334471 | 0.334471 | 0.334471 | 0.268487 | 0.268487 | 0 | 0.001047 | 0.238133 | 2,507 | 62 | 90 | 40.435484 | 0.919372 | 0.727962 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4b0c0b5d516a895a57b65a0e23bb62d63aade749 | 4,102 | py | Python | tests/map/test_color.py | DLance96/TrafficSim-MapBuilder | d9e2629d222d7689aed4b049e738676a6c77c344 | [
"MIT"
] | null | null | null | tests/map/test_color.py | DLance96/TrafficSim-MapBuilder | d9e2629d222d7689aed4b049e738676a6c77c344 | [
"MIT"
] | 17 | 2017-10-25T22:57:02.000Z | 2017-12-09T05:35:24.000Z | tests/map/test_color.py | DLance96/TrafficSim-MapBuilder | d9e2629d222d7689aed4b049e738676a6c77c344 | [
"MIT"
] | null | null | null | import pytest
import sys
import os
sys.path.append(os.path.join(os.path.dirname(__file__), "..", ".."))
from src.map.Color import Color
def get_r(r, g, b):
"""
Function returns the red value of the RGB color
:param r: red component of the RGB color
:param g: green component of the RGB color
:para... | 22.916201 | 80 | 0.637981 | 646 | 4,102 | 3.933437 | 0.091331 | 0.075561 | 0.056671 | 0.09209 | 0.785124 | 0.782763 | 0.680834 | 0.585596 | 0.585596 | 0.447462 | 0 | 0.064537 | 0.259629 | 4,102 | 178 | 81 | 23.044944 | 0.772144 | 0.476597 | 0 | 0.355932 | 0 | 0 | 0.002181 | 0 | 0 | 0 | 0 | 0 | 0.457627 | 1 | 0.20339 | false | 0 | 0.067797 | 0 | 0.322034 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b1aff93b331ef6ee7fa96a9f114346411f808ed | 293 | py | Python | complex_data_structure/4_set.py | hardikid/learn-python | 6b3684c9d459dc10ed41e3328daf49313a34b375 | [
"MIT"
] | 1 | 2019-11-19T11:42:50.000Z | 2019-11-19T11:42:50.000Z | complex_data_structure/4_set.py | hardikid/learn-python | 6b3684c9d459dc10ed41e3328daf49313a34b375 | [
"MIT"
] | 5 | 2021-08-23T20:36:02.000Z | 2022-02-03T13:20:23.000Z | complex_data_structure/4_set.py | ihardik/learn-python | 6b3684c9d459dc10ed41e3328daf49313a34b375 | [
"MIT"
] | null | null | null | ### SET
x = {1,2,3}
x.add(4)
print(x)
x.remove(2)
print(x)
x.discard(100)
print(x)
x= {1,2,4}
y ={"Three",4}
print(x.intersection(y))
x.update(y)
print(x)
x = set('aAbcd')
y =set('Ax')
print(x-y)
print(x|y)
print(x&y)
print(x^y)
# Practice any other methods from SET | 12.208333 | 37 | 0.566553 | 60 | 293 | 2.766667 | 0.366667 | 0.325301 | 0.168675 | 0.216867 | 0.168675 | 0.168675 | 0.168675 | 0.168675 | 0.168675 | 0 | 0 | 0.051502 | 0.204778 | 293 | 24 | 37 | 12.208333 | 0.660944 | 0.133106 | 0 | 0.222222 | 0 | 0 | 0.052863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d99fe279e29356d674f273a04aa0742365f6185d | 390 | py | Python | python/year2017/day07.py | Dullstar/Advent_Of_Code | 83206a3c258fc557cd2c099fad9876098175a995 | [
"MIT"
] | 1 | 2021-12-13T09:34:04.000Z | 2021-12-13T09:34:04.000Z | python/year2017/day07.py | Dullstar/Advent_Of_Code | 83206a3c258fc557cd2c099fad9876098175a995 | [
"MIT"
] | null | null | null | python/year2017/day07.py | Dullstar/Advent_Of_Code | 83206a3c258fc557cd2c099fad9876098175a995 | [
"MIT"
] | 2 | 2021-12-05T13:50:38.000Z | 2021-12-12T07:45:08.000Z | import time
import os
def main(input_filename: str):
# Generated by generate_files.py on Wed Nov 17 2021
# Return value of -1 is used to signal that this isn't implemented.
# Once it is, remove/replace that return (implicitly returning None is fine).
return -1
if __name__ == "__main__":
os.chdi... | 24.375 | 81 | 0.687179 | 61 | 390 | 4.163934 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 0.2 | 390 | 15 | 82 | 26 | 0.766026 | 0.489744 | 0 | 0 | 1 | 0 | 0.179487 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d9aa17231ac176c340fde1157e5818cc7ada5961 | 80 | py | Python | saleor-env/lib/python3.7/site-packages/tox/version.py | tadartefactorist/mask | 7967dd4ad39e3d26ac516719faefb40e00a8cbff | [
"BSD-3-Clause"
] | null | null | null | saleor-env/lib/python3.7/site-packages/tox/version.py | tadartefactorist/mask | 7967dd4ad39e3d26ac516719faefb40e00a8cbff | [
"BSD-3-Clause"
] | 8 | 2020-06-05T21:36:23.000Z | 2022-02-12T12:24:00.000Z | venv/lib/python3.6/site-packages/tox/version.py | RaymondDashWu/generative-structures-dapp | 06819e9333c663a8be3eca444b55dd244d31f87b | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals
__version__ = '3.13.1'
| 16 | 39 | 0.7625 | 12 | 80 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 0.1375 | 80 | 4 | 40 | 20 | 0.681159 | 0.1625 | 0 | 0 | 0 | 0 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d9ab01cb0c5faf09c6bad867ab59b0318bf5da0b | 125 | py | Python | predavanje3/formatirani_ispis2.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | predavanje3/formatirani_ispis2.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | predavanje3/formatirani_ispis2.py | Miillky/uvod_u_programiranje | 209611e38c8fe84c727649df4b868a4278eb77c3 | [
"MIT"
] | null | null | null | # d - cijeli broj
# f - realni broj
# s - string
#primjer formatiranog ispisa
a=3.12345
print('{0:f},{1:0.1f}'.format(a, a)) | 17.857143 | 36 | 0.64 | 23 | 125 | 3.478261 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.16 | 125 | 7 | 36 | 17.857143 | 0.666667 | 0.552 | 0 | 0 | 0 | 0 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d9b48a1ec2735b699c4ed9ce5f7683aae9a06c53 | 230 | py | Python | controllers/__init__.py | ndjuric/dscaler | b844464d4c66705cb1d62b98ebd3eea8af757986 | [
"MIT"
] | null | null | null | controllers/__init__.py | ndjuric/dscaler | b844464d4c66705cb1d62b98ebd3eea8af757986 | [
"MIT"
] | null | null | null | controllers/__init__.py | ndjuric/dscaler | b844464d4c66705cb1d62b98ebd3eea8af757986 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from .ssh import SSH
from .cloud import Cloud
from .docker import Docker
from .command import Command
from .digitalocean import Digitalocean
__all__ = ['SSH', 'Cloud', 'Docker', 'Command', 'Digitalocean']
| 23 | 63 | 0.747826 | 30 | 230 | 5.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005025 | 0.134783 | 230 | 9 | 64 | 25.555556 | 0.839196 | 0.091304 | 0 | 0 | 0 | 0 | 0.158654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d9c09307e55edfb061b9c45f9e1dccd3d7903519 | 1,468 | py | Python | serverless_crud/model.py | epsylabs/python-serverless-crud | 71a79c4eb86e177a543e0af90c1dcf839996be34 | [
"MIT"
] | null | null | null | serverless_crud/model.py | epsylabs/python-serverless-crud | 71a79c4eb86e177a543e0af90c1dcf839996be34 | [
"MIT"
] | null | null | null | serverless_crud/model.py | epsylabs/python-serverless-crud | 71a79c4eb86e177a543e0af90c1dcf839996be34 | [
"MIT"
] | null | null | null | from aws_lambda_powertools.utilities.parser import BaseModel as ParserBaseModel
from serverless_crud.dynamodb.annotation import DynamodbMetadata
class PrimaryKey:
def __init__(self, **kwargs):
self._values = kwargs
def raw(self):
return self._values
def __repr__(self):
return st... | 27.698113 | 89 | 0.641008 | 181 | 1,468 | 4.972376 | 0.353591 | 0.062222 | 0.033333 | 0.053333 | 0.108889 | 0.108889 | 0.108889 | 0 | 0 | 0 | 0 | 0 | 0.247275 | 1,468 | 52 | 90 | 28.230769 | 0.81448 | 0.051771 | 0 | 0.117647 | 0 | 0 | 0.033626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0 | 0.058824 | 0.176471 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d9ca701033f63b9c0946ccac1fca4a4c93a0a201 | 345 | py | Python | NotionFlash/ankiservice/__init__.py | furiiibond/NotionFlash | 8f6abe30af4df8da0c84d20079c5a64a50c0d823 | [
"MIT"
] | 8 | 2021-11-30T08:59:57.000Z | 2022-03-10T20:36:06.000Z | NotionFlash/ankiservice/__init__.py | furiiibond/NotionFlash | 8f6abe30af4df8da0c84d20079c5a64a50c0d823 | [
"MIT"
] | 8 | 2021-12-06T04:05:24.000Z | 2021-12-15T20:22:42.000Z | NotionFlash/ankiservice/__init__.py | furiiibond/NotionFlash | 8f6abe30af4df8da0c84d20079c5a64a50c0d823 | [
"MIT"
] | 2 | 2022-01-11T09:46:50.000Z | 2022-02-01T06:26:06.000Z | from logging import StreamHandler
import sys
import logging
import logging.config
# # Logging Utility
# logger = logging.getLogger(__name__)
logging.config.fileConfig(fname="./logs/logging.conf",
disable_existing_loggers=False)
logger = logging.getLogger(__name__)
logger.info('Module ' + __... | 24.642857 | 57 | 0.730435 | 37 | 345 | 6.432432 | 0.567568 | 0.109244 | 0.184874 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171014 | 345 | 13 | 58 | 26.538462 | 0.832168 | 0.150725 | 0 | 0 | 0 | 0 | 0.131944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d9ce82e46a5861887f89d1d402223ba2eee65558 | 1,613 | py | Python | ritpytrading/traders.py | SamSamhuns/RIT-trading-python | a12edac5f6ee906e94089001ae00138ed5994e0a | [
"Apache-2.0"
] | 12 | 2019-05-12T09:49:48.000Z | 2021-08-09T01:31:43.000Z | ritpytrading/traders.py | SamSamhuns/RIT-trading-python | a12edac5f6ee906e94089001ae00138ed5994e0a | [
"Apache-2.0"
] | 230 | 2019-02-10T13:35:12.000Z | 2022-03-28T07:23:23.000Z | ritpytrading/traders.py | SamSamhuns/RIT-trading-python | a12edac5f6ee906e94089001ae00138ed5994e0a | [
"Apache-2.0"
] | 3 | 2019-02-01T21:42:40.000Z | 2019-10-20T17:55:55.000Z | # Sample JSON output formats for the function returns
# trader object return value: JSON formatted
# {
# "trader_id": "string",
# "first_name": "string",
# "last_name": "string",
# "nlv": 0
# }
from ._response_validation import _validate_response
# Make sure the RIT client uses the same 9999 port
host_url = '... | 26.883333 | 76 | 0.695598 | 217 | 1,613 | 4.847926 | 0.382488 | 0.119772 | 0.013308 | 0.019011 | 0.039924 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0078 | 0.205208 | 1,613 | 59 | 77 | 27.338983 | 0.812793 | 0.362678 | 0 | 0 | 0 | 0 | 0.065776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0.04 | 0.04 | 0.12 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d9d293cdb4ce8899e87a7cb7501d384a2f1d7f26 | 216 | py | Python | basic 0/swap.py | rdparihar/Python | 5287081752e1cf69930ebe3bb94fa31486ae42a7 | [
"MIT"
] | null | null | null | basic 0/swap.py | rdparihar/Python | 5287081752e1cf69930ebe3bb94fa31486ae42a7 | [
"MIT"
] | null | null | null | basic 0/swap.py | rdparihar/Python | 5287081752e1cf69930ebe3bb94fa31486ae42a7 | [
"MIT"
] | null | null | null | x = 1
y = 2
print("x is {}".format(x))
print("y is {}".format(y))
print("swapping... ")
(x, y) = (y, x)
# a, b, c = foo() returning multiple
print('swapped.')
print("x is {}".format(x))
print("y is {}".format(y))
| 15.428571 | 36 | 0.537037 | 38 | 216 | 3.052632 | 0.394737 | 0.275862 | 0.137931 | 0.241379 | 0.517241 | 0.517241 | 0.517241 | 0.517241 | 0.517241 | 0.517241 | 0 | 0.011173 | 0.171296 | 216 | 13 | 37 | 16.615385 | 0.636872 | 0.157407 | 0 | 0.444444 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d9ddab749bf0b9bb826b7388327038b36f83caf2 | 472 | py | Python | trap_analysis/trap_analysis/custom_funcs.py | jmsung/trap_analysis | 94a4415f4640d56f2c5088962cbdb43490468904 | [
"MIT"
] | 1 | 2019-01-07T23:00:19.000Z | 2019-01-07T23:00:19.000Z | trap_analysis/trap_analysis/custom_funcs.py | jmsung/Trap-Python | 94a4415f4640d56f2c5088962cbdb43490468904 | [
"MIT"
] | null | null | null | trap_analysis/trap_analysis/custom_funcs.py | jmsung/Trap-Python | 94a4415f4640d56f2c5088962cbdb43490468904 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Mar 13 11:30:05 2019
@author: Jongmin Sung
custom_funcs.py
In projectname/projectname/custom_funcs.py, we can put in custom code that
gets used across more than notebook. One example would be downstream data
preprocessing that is only necessary for a subset of not... | 19.666667 | 76 | 0.692797 | 74 | 472 | 4.351351 | 0.72973 | 0.102484 | 0.121118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038147 | 0.222458 | 472 | 23 | 77 | 20.521739 | 0.839237 | 0.747881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d9e5962ce9ef37a85144e2b5abcdc678b3467bd7 | 426 | py | Python | PowerServiceDriver/tests/test_PowerService.py | QualiSystemsLab/Power-Management | f90f5971d80f17f45c8ac3f43ff93c0071572dd0 | [
"Apache-2.0"
] | null | null | null | PowerServiceDriver/tests/test_PowerService.py | QualiSystemsLab/Power-Management | f90f5971d80f17f45c8ac3f43ff93c0071572dd0 | [
"Apache-2.0"
] | null | null | null | PowerServiceDriver/tests/test_PowerService.py | QualiSystemsLab/Power-Management | f90f5971d80f17f45c8ac3f43ff93c0071572dd0 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Tests for `{{ cookiecutter.driver_name }}`
"""
import unittest
from driver import PowerService
class TestPowerSerivce(unittest.TestCase):
def __init__(self):
pass
def setUp(self):
pass
def tearDown(self):
pass
def test_00... | 13.741935 | 42 | 0.619718 | 49 | 426 | 5.081633 | 0.653061 | 0.128514 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.253521 | 426 | 30 | 43 | 14.2 | 0.77044 | 0.199531 | 0 | 0.285714 | 0 | 0 | 0.024096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.214286 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d9f5103d32a6011baf7996be4d6ee4fa24fc5625 | 1,199 | py | Python | py3practice/basics.py | zenanswer/py3-practice | 822d54a58695fb9824725177878f9f4695152a9a | [
"MIT"
] | null | null | null | py3practice/basics.py | zenanswer/py3-practice | 822d54a58695fb9824725177878f9f4695152a9a | [
"MIT"
] | 1 | 2020-09-03T09:04:04.000Z | 2020-09-03T09:04:04.000Z | py3practice/basics.py | zenanswer/py3-practice | 822d54a58695fb9824725177878f9f4695152a9a | [
"MIT"
] | 2 | 2018-12-25T14:19:24.000Z | 2019-01-25T07:54:40.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# http://www.runoob.com/python/python-tutorial.html
"""
py3practice.basics
~~~~~~~~~~~~~~~~~~~
Basic for python.
:copyright: © 2018 by zenanswer.
:license: MIT, see LICENSE for more details.
"""
import sys
def get_interpreter_version():
""" G... | 23.509804 | 70 | 0.458716 | 105 | 1,199 | 5.104762 | 0.609524 | 0.100746 | 0.078358 | 0.067164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009923 | 0.243536 | 1,199 | 50 | 71 | 23.98 | 0.579934 | 0.673061 | 0 | 0 | 0 | 0 | 0.198606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0 | 0.625 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8a107fe15f47230f1b968145074736f0dc677436 | 567 | py | Python | test/browser/window/handle/count_2_test.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | 2 | 2022-02-20T10:03:19.000Z | 2022-03-22T11:17:10.000Z | test/browser/window/handle/count_2_test.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | null | null | null | test/browser/window/handle/count_2_test.py | jakob-bagterp/browserist | 76bd916dd217b7da3759fd6ec3374191002dc091 | [
"Apache-2.0"
] | null | null | null | from browserist import Browser
def test_get_all_window_handles(browser_default_headless_scope_function: Browser) -> None:
browser = browser_default_headless_scope_function
assert browser.window.handle.count(selenium=True) == browser.window.handle.count(selenium=False) == 1
browser.window.open.new_tab()
... | 51.545455 | 105 | 0.783069 | 75 | 567 | 5.733333 | 0.36 | 0.24186 | 0.265116 | 0.334884 | 0.713953 | 0.551163 | 0.551163 | 0.551163 | 0.551163 | 0.551163 | 0 | 0.005894 | 0.102293 | 567 | 10 | 106 | 56.7 | 0.8389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a1c48d8ec987d4d1bdbbf7074798723bb849b76 | 1,627 | py | Python | exasol_integration_test_docker_environment/lib/test_environment/db_version.py | exasol/integration-test-docker-environment | 35850f67cd4cde010f03dd556d1a0f74b3291eb8 | [
"MIT"
] | 4 | 2020-06-25T20:47:31.000Z | 2021-09-10T15:22:51.000Z | exasol_integration_test_docker_environment/lib/test_environment/db_version.py | exasol/integration-test-docker-environment | 35850f67cd4cde010f03dd556d1a0f74b3291eb8 | [
"MIT"
] | 113 | 2020-06-02T08:51:08.000Z | 2022-03-31T08:47:41.000Z | exasol_integration_test_docker_environment/lib/test_environment/db_version.py | exasol/integration-test-docker-environment | 35850f67cd4cde010f03dd556d1a0f74b3291eb8 | [
"MIT"
] | 2 | 2020-05-19T10:57:47.000Z | 2020-06-22T13:32:20.000Z | from typing import Optional
from exasol_integration_test_docker_environment.cli.options.test_environment_options import LATEST_DB_VERSION
DEFAULT_VERSION = "default"
class DbVersion:
def __init__(self, major, minor, stable):
self.major = major
self.minor = minor
self.stable = stable
... | 32.54 | 109 | 0.657652 | 220 | 1,627 | 4.509091 | 0.277273 | 0.163306 | 0.084677 | 0.095766 | 0.335685 | 0.289315 | 0.289315 | 0.226815 | 0.226815 | 0.226815 | 0 | 0.007874 | 0.219422 | 1,627 | 49 | 110 | 33.204082 | 0.773228 | 0 | 0 | 0 | 0 | 0 | 0.055317 | 0.023971 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.057143 | 0.228571 | 0.628571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8a2b974392978effc5f3a2fa3c69d1f8ba66baaa | 1,088 | py | Python | FusionIIIT/applications/complaint_system/api/serializers.py | 29rj/Fusion | bc2941a67532e183adeb0bc4042df0b182b9e3aa | [
"bzip2-1.0.6"
] | 29 | 2019-02-20T15:35:33.000Z | 2022-03-22T11:10:57.000Z | FusionIIIT/applications/complaint_system/api/serializers.py | 29rj/Fusion | bc2941a67532e183adeb0bc4042df0b182b9e3aa | [
"bzip2-1.0.6"
] | 409 | 2019-01-17T19:30:51.000Z | 2022-03-31T16:28:45.000Z | FusionIIIT/applications/complaint_system/api/serializers.py | 29rj/Fusion | bc2941a67532e183adeb0bc4042df0b182b9e3aa | [
"bzip2-1.0.6"
] | 456 | 2019-01-12T11:01:13.000Z | 2022-03-30T17:06:52.000Z | from django.contrib.auth import get_user_model
from rest_framework.authtoken.models import Token
from rest_framework import serializers
from notifications.models import Notification
from applications.complaint_system.models import Caretaker, StudentComplain, Supervisor, Workers
from applications.globals.models import E... | 29.405405 | 96 | 0.75 | 102 | 1,088 | 7.715686 | 0.352941 | 0.198221 | 0.236341 | 0.266836 | 0.304956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17739 | 1,088 | 37 | 97 | 29.405405 | 0.87933 | 0 | 0 | 0.4 | 0 | 0 | 0.038567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8a6f32040adcb93046fe262402f0270cdb214c20 | 4,366 | py | Python | release/stubs.min/System/Windows/Forms/__init___parts/BindingsCollection.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/Windows/Forms/__init___parts/BindingsCollection.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/Windows/Forms/__init___parts/BindingsCollection.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class BindingsCollection(BaseCollection,ICollection,IEnumerable):
""" Represents a collection of System.Windows.Forms.Binding objects for a control. """
def Add(self,*args):
"""
Add(self: BindingsCollection,binding: Binding)
Adds the specified binding to the collection.
binding: The System.W... | 25.383721 | 215 | 0.70087 | 503 | 4,366 | 5.956262 | 0.252485 | 0.040053 | 0.054072 | 0.058411 | 0.386515 | 0.377503 | 0.31008 | 0.230641 | 0.213952 | 0.114486 | 0 | 0 | 0.205222 | 4,366 | 171 | 216 | 25.532164 | 0.863401 | 0.66995 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8a82d6877ac40cf9a7ea7d28e282ab715580e828 | 1,264 | py | Python | eig/hypothesis.py | anselmrothe/EIG | 2e5da26bb0552bcaf6f9656519c8167808f0f6cb | [
"MIT"
] | 3 | 2019-03-12T15:55:00.000Z | 2022-01-27T23:09:30.000Z | eig/hypothesis.py | anselmrothe/EIG | 2e5da26bb0552bcaf6f9656519c8167808f0f6cb | [
"MIT"
] | 1 | 2019-03-24T16:55:26.000Z | 2019-03-24T16:55:26.000Z | eig/hypothesis.py | anselmrothe/EIG | 2e5da26bb0552bcaf6f9656519c8167808f0f6cb | [
"MIT"
] | 2 | 2019-08-18T18:44:05.000Z | 2020-09-30T05:47:15.000Z |
class HypothesisSpace:
def __init__(self, *params, **kw_params):
self.hypotheses = self.create_hypothesis_space(*params, **kw_params)
def __len__(self):
return len(self.hypotheses)
def __iter__(self):
return self.hypotheses.__iter__()
def create_hypothesis_space(self, *params... | 30.829268 | 89 | 0.618671 | 147 | 1,264 | 5.115646 | 0.37415 | 0.074468 | 0.055851 | 0.047872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299842 | 1,264 | 41 | 90 | 30.829268 | 0.849718 | 0.29193 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0 | 0 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8aa383c54ba989cd4278bd6bb129428d08fc6d8d | 218 | py | Python | openweather.py | Harshit-Shrivastava/alexa-weather | b142edbacf793b1f510cca740965cbdbf04f9d1c | [
"MIT"
] | null | null | null | openweather.py | Harshit-Shrivastava/alexa-weather | b142edbacf793b1f510cca740965cbdbf04f9d1c | [
"MIT"
] | null | null | null | openweather.py | Harshit-Shrivastava/alexa-weather | b142edbacf793b1f510cca740965cbdbf04f9d1c | [
"MIT"
] | null | null | null | import requests
def find_weather():
url = 'http://api.openweathermap.org/data/2.5/weather?appid=9a3fa9dc0c5b36d730b1f66e62460b58&units=metric&q=Chicago'
response = requests.get(url)
return response.json() | 36.333333 | 120 | 0.756881 | 27 | 218 | 6.074074 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11399 | 0.114679 | 218 | 6 | 121 | 36.333333 | 0.735751 | 0 | 0 | 0 | 0 | 0.2 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8aa5f528d021840332ad08e605a9641431ba8054 | 211 | py | Python | python02/box.py | liyan2013/hogwarts | 4b81d968b049a13cb2aa293d32c034ca3a30ee79 | [
"Apache-2.0"
] | null | null | null | python02/box.py | liyan2013/hogwarts | 4b81d968b049a13cb2aa293d32c034ca3a30ee79 | [
"Apache-2.0"
] | null | null | null | python02/box.py | liyan2013/hogwarts | 4b81d968b049a13cb2aa293d32c034ca3a30ee79 | [
"Apache-2.0"
] | null | null | null | class Box:
def __init__(self, length, width, height):
self.length = length
self.width = width
self.height = height
def pack(self, something):
print(f"pack {something}")
| 21.1 | 46 | 0.592417 | 25 | 211 | 4.84 | 0.48 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298578 | 211 | 9 | 47 | 23.444444 | 0.817568 | 0 | 0 | 0 | 0 | 0 | 0.075829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8aba59d7ccc0f66125a77ada97c9a3f328b189f7 | 633 | py | Python | Codigo_Geral/exe11.py | SouzaMarcel0/Exercicios_Python | d0c75292b7c725faeaf49db161b7d1a0f71a9418 | [
"MIT"
] | null | null | null | Codigo_Geral/exe11.py | SouzaMarcel0/Exercicios_Python | d0c75292b7c725faeaf49db161b7d1a0f71a9418 | [
"MIT"
] | null | null | null | Codigo_Geral/exe11.py | SouzaMarcel0/Exercicios_Python | d0c75292b7c725faeaf49db161b7d1a0f71a9418 | [
"MIT"
] | null | null | null | '''
Faça um programa que leia 5 números e informe o maior número.
'''
print ('**' * 18)
print ('**** Bem Vindo ao Meu Programa ****')
n_1 = float(input('Digite um número: '))
n_2 = float(input('Digite um número: '))
n_3 = float(input('Digite um número: '))
n_4 = float(input('Digite um número: '))
n_5 = float(... | 21.827586 | 61 | 0.582938 | 126 | 633 | 2.68254 | 0.277778 | 0.047337 | 0.236686 | 0.266272 | 0.523669 | 0.39645 | 0.100592 | 0.076923 | 0 | 0 | 0 | 0.08 | 0.249605 | 633 | 28 | 62 | 22.607143 | 0.631579 | 0.096367 | 0 | 0 | 0 | 0 | 0.272242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
8abc42206728a6a3546939a3010ede3f2c6e67ed | 20,515 | py | Python | appengine/findit/services/test/monorail_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | null | null | null | appengine/findit/services/test/monorail_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 7 | 2022-02-15T01:11:37.000Z | 2022-03-02T12:46:13.000Z | appengine/findit/services/test/monorail_util_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import datetime
import mock
from googleapiclient.errors import HttpError
from libs import time_util
from monorail_api import Comment
from monorail_api impor... | 37.50457 | 80 | 0.690617 | 2,222 | 20,515 | 6.117012 | 0.10306 | 0.050324 | 0.030901 | 0.037228 | 0.780901 | 0.754635 | 0.732269 | 0.678855 | 0.661271 | 0.632872 | 0 | 0.020407 | 0.197417 | 20,515 | 546 | 81 | 37.57326 | 0.805102 | 0.041482 | 0 | 0.675325 | 0 | 0 | 0.168397 | 0.033344 | 0 | 0 | 0 | 0 | 0.160173 | 1 | 0.0671 | false | 0 | 0.019481 | 0.010823 | 0.12987 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8acabfb19bc8df028f8ded778f67b28d134975c9 | 1,701 | py | Python | nel/features/meta.py | psyML/nel | 5ce1f0b2ef6246f27113ffe2d80d9b95f05f884e | [
"MIT"
] | 196 | 2015-03-17T15:39:00.000Z | 2021-01-07T00:26:17.000Z | nel/features/meta.py | psyML/nel | 5ce1f0b2ef6246f27113ffe2d80d9b95f05f884e | [
"MIT"
] | 28 | 2015-03-17T23:55:38.000Z | 2019-11-12T14:10:02.000Z | nel/features/meta.py | psyML/nel | 5ce1f0b2ef6246f27113ffe2d80d9b95f05f884e | [
"MIT"
] | 52 | 2015-03-06T21:28:03.000Z | 2020-12-06T22:26:15.000Z | #!/usr/bin/env python
import cPickle as pickle
from .feature import Feature
from .mapping import FEATURE_MAPPERS
from ..model.resolution import Classifier
from nel import logging
log = logging.getLogger()
class ClassifierFeature(Feature):
""" Computes a feature score based on the output of a classifier over a se... | 35.4375 | 116 | 0.721928 | 217 | 1,701 | 5.580645 | 0.364055 | 0.080925 | 0.059455 | 0.052023 | 0.293146 | 0.293146 | 0.293146 | 0.293146 | 0.258464 | 0.067713 | 0 | 0.001453 | 0.191064 | 1,701 | 47 | 117 | 36.191489 | 0.878634 | 0.215168 | 0 | 0.290323 | 0 | 0 | 0.092015 | 0.019011 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.16129 | 0.16129 | 0.677419 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
76d1c4589ef341f91fdb1d0c547f910d099fc008 | 39 | py | Python | fandogh_cli/__init__.py | roboticsexpert/fandogh-cli | ba9eb95da9af8c2c5e283437515bd859b42ceca9 | [
"MIT"
] | null | null | null | fandogh_cli/__init__.py | roboticsexpert/fandogh-cli | ba9eb95da9af8c2c5e283437515bd859b42ceca9 | [
"MIT"
] | null | null | null | fandogh_cli/__init__.py | roboticsexpert/fandogh-cli | ba9eb95da9af8c2c5e283437515bd859b42ceca9 | [
"MIT"
] | null | null | null | VERSION = "0.4.6"
NAME = "fandogh_cli"
| 13 | 20 | 0.641026 | 7 | 39 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.153846 | 39 | 2 | 21 | 19.5 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76d4794189d7e8dbc959e8dd48987ecfa8022c34 | 1,838 | py | Python | tests/base.py | waqasjaved160/python-appium-boilerplate | f77b72509c02bf0a85b4b58340f2e196bb4377af | [
"MIT"
] | 3 | 2020-06-15T06:30:35.000Z | 2020-12-07T21:24:17.000Z | tests/base.py | waqasjaved160/python-appium-boilerplate | f77b72509c02bf0a85b4b58340f2e196bb4377af | [
"MIT"
] | null | null | null | tests/base.py | waqasjaved160/python-appium-boilerplate | f77b72509c02bf0a85b4b58340f2e196bb4377af | [
"MIT"
] | 1 | 2020-06-15T06:36:22.000Z | 2020-06-15T06:36:22.000Z | from appium.webdriver.common.mobileby import MobileBy
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions
class DriverMethods(object):
def __init__(self, wait, driver):
self.wait = wait
self... | 40.844444 | 122 | 0.760065 | 244 | 1,838 | 5.372951 | 0.196721 | 0.06865 | 0.069413 | 0.112128 | 0.632342 | 0.614035 | 0.487414 | 0.43402 | 0.43402 | 0.43402 | 0 | 0 | 0.155604 | 1,838 | 44 | 123 | 41.772727 | 0.844716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.125 | 0.1875 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a0c2dd57c19b150e2f944a59799b930a93b13e0 | 487 | py | Python | src/configure.py | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | src/configure.py | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | null | null | null | src/configure.py | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | def configure(configuration_context):
third_party_node = configuration_context.path.make_node('bugengine/3rdparty')
for category in third_party_node.listdir():
if category[0] != '.':
category_node = third_party_node.make_node(category)
for third_party in category_node.listdir():
... | 48.7 | 101 | 0.648871 | 55 | 487 | 5.436364 | 0.4 | 0.200669 | 0.187291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.244353 | 487 | 9 | 102 | 54.111111 | 0.807065 | 0 | 0 | 0 | 0 | 0 | 0.090349 | 0.051335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a0d22c7965d80bd4fd01fe40a809aa377d797a3 | 97 | py | Python | logo utn/diffyq/all_part5_scenes.py | javovelez/manim | 0a2b4786779448a4e35081909cf58f8d9ffa7e39 | [
"MIT"
] | 5 | 2021-03-18T02:28:07.000Z | 2021-04-10T03:40:24.000Z | logo utn/diffyq/all_part5_scenes.py | javovelez/manim | 0a2b4786779448a4e35081909cf58f8d9ffa7e39 | [
"MIT"
] | null | null | null | logo utn/diffyq/all_part5_scenes.py | javovelez/manim | 0a2b4786779448a4e35081909cf58f8d9ffa7e39 | [
"MIT"
] | 1 | 2022-02-16T03:22:47.000Z | 2022-02-16T03:22:47.000Z | from _2019.diffyq.part5.staging import *
OUTPUT_DIRECTORY = "diffyq/part5"
SCENES_IN_ORDER = [
] | 19.4 | 40 | 0.773196 | 13 | 97 | 5.461538 | 0.846154 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.113402 | 97 | 5 | 41 | 19.4 | 0.755814 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a10ec033f7fdc434f67008ed5cf9ff9b22479ca | 208 | py | Python | ex025.py | EduotavioFonseca/ProgramasPython | 8e0ef5f6f4239d1fe52321f8795b6573f6ff5130 | [
"MIT"
] | null | null | null | ex025.py | EduotavioFonseca/ProgramasPython | 8e0ef5f6f4239d1fe52321f8795b6573f6ff5130 | [
"MIT"
] | null | null | null | ex025.py | EduotavioFonseca/ProgramasPython | 8e0ef5f6f4239d1fe52321f8795b6573f6ff5130 | [
"MIT"
] | null | null | null | ano = int(input('Digite um ano: '))
print()
if ano % 4 == 0 and (ano % 400 == 0 or ano % 100 != 0):
print('O ano {} é bissexto.'.format(ano))
else:
print('O ano {} não é bissexto.'.format(ano))
| 29.714286 | 56 | 0.548077 | 35 | 208 | 3.257143 | 0.542857 | 0.105263 | 0.157895 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063694 | 0.245192 | 208 | 6 | 57 | 34.666667 | 0.66242 | 0 | 0 | 0 | 0 | 0 | 0.292079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0a531c0dcbf82191e3cda3f7f0a1ae8409ff2cf8 | 4,213 | py | Python | marketing/serializer.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | marketing/serializer.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | marketing/serializer.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import (
ContactEmailCampaign,
BlockedDomain,
BlockedEmail,
)
from common.serializer import UserSerializer, CompanySerializer
import re
class ContactEmailCampaignSerailizer(serializers.ModelSerializer):
created_by = UserSerializer()
company = Comp... | 31.207407 | 89 | 0.582958 | 365 | 4,213 | 6.564384 | 0.194521 | 0.048831 | 0.042571 | 0.073038 | 0.735392 | 0.735392 | 0.723706 | 0.646077 | 0.646077 | 0.607679 | 0 | 0.001734 | 0.315452 | 4,213 | 135 | 90 | 31.207407 | 0.829057 | 0 | 0 | 0.647059 | 0 | 0 | 0.105363 | 0.009018 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042017 | false | 0 | 0.033613 | 0 | 0.277311 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a557f2a7e5707a84ac6c119d13a8ad738da4d00 | 1,603 | py | Python | MTP/drivers/NullDriver.py | pablo-miselu/MTP | b7328bd69032df7f3dabebe3fe39846926b44fdc | [
"Apache-2.0"
] | null | null | null | MTP/drivers/NullDriver.py | pablo-miselu/MTP | b7328bd69032df7f3dabebe3fe39846926b44fdc | [
"Apache-2.0"
] | null | null | null | MTP/drivers/NullDriver.py | pablo-miselu/MTP | b7328bd69032df7f3dabebe3fe39846926b44fdc | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 Pablo De La Garza, Miselu Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 26.716667 | 93 | 0.610106 | 204 | 1,603 | 4.769608 | 0.647059 | 0.061665 | 0.055498 | 0.032888 | 0.053443 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.316282 | 1,603 | 60 | 94 | 26.716667 | 0.880474 | 0.704304 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.3 | 0.1 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0a5939e89bea56d31d21dc7b56df223c67dc85e9 | 493 | py | Python | comments/migrations/0012_auto_20210702_2229.py | montukv/CommentAPI | 3158f5b40cb21f192f292a3f3caae71d9f5d9020 | [
"MIT"
] | null | null | null | comments/migrations/0012_auto_20210702_2229.py | montukv/CommentAPI | 3158f5b40cb21f192f292a3f3caae71d9f5d9020 | [
"MIT"
] | null | null | null | comments/migrations/0012_auto_20210702_2229.py | montukv/CommentAPI | 3158f5b40cb21f192f292a3f3caae71d9f5d9020 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.5 on 2021-07-02 16:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('comments', '0011_auto_20210702_2215'),
]
operations = [
migrations.RenameField(
model_name='page',
old_name='idno',
... | 20.541667 | 48 | 0.545639 | 50 | 493 | 5.2 | 0.68 | 0.161538 | 0.2 | 0.230769 | 0.153846 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0.095092 | 0.338742 | 493 | 23 | 49 | 21.434783 | 0.702454 | 0.091278 | 0 | 0.470588 | 1 | 0 | 0.130045 | 0.05157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a5d130735c961089f605c34fdfab5ce1a94e5b8 | 471 | py | Python | CursoemVideoEx/ex015.py | edujsnogueira/Curso-Python-GG | 976bc89bd55fc72afafcf4f2e2213878cc6b09cb | [
"MIT"
] | null | null | null | CursoemVideoEx/ex015.py | edujsnogueira/Curso-Python-GG | 976bc89bd55fc72afafcf4f2e2213878cc6b09cb | [
"MIT"
] | null | null | null | CursoemVideoEx/ex015.py | edujsnogueira/Curso-Python-GG | 976bc89bd55fc72afafcf4f2e2213878cc6b09cb | [
"MIT"
] | null | null | null | # Exercício 015:
# Escreva um programa que pergunte a quantide de quilômetros percorridos por um carro alugado e a quantidade de
# dias pelos quais ele foi alugado. Calcule o preço a pagar, sabendo que o carro custa R$ 60 por dia e R$0,15 por
# km rodado.
d = int(input('Digite a quantidade de dias alugados'))
km = fl... | 47.1 | 113 | 0.713376 | 90 | 471 | 3.733333 | 0.522222 | 0.098214 | 0.116071 | 0.10119 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036842 | 0.193206 | 471 | 9 | 114 | 52.333333 | 0.847368 | 0.524416 | 0 | 0 | 0 | 0.333333 | 0.73516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a62707e5173c24924cc9679ce2cbbee45cd79ba | 2,904 | py | Python | wxnat/icons.py | pauldmccarthy/wxnatpy | 1d59d697ce5d16e04ac225295b9782b8edbad561 | [
"Apache-2.0"
] | 1 | 2018-03-07T17:34:36.000Z | 2018-03-07T17:34:36.000Z | wxnat/icons.py | pauldmccarthy/wxnatpy | 1d59d697ce5d16e04ac225295b9782b8edbad561 | [
"Apache-2.0"
] | 1 | 2020-07-23T13:12:51.000Z | 2020-07-25T14:39:09.000Z | wxnat/icons.py | pauldmccarthy/wxnatpy | 1d59d697ce5d16e04ac225295b9782b8edbad561 | [
"Apache-2.0"
] | 1 | 2020-07-24T16:32:09.000Z | 2020-07-24T16:32:09.000Z | #!/usr/bin/env python
#
# icons.py - Icons used by wxnat.browser.
#
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
"""This module contains base-64 encoded icons used by the
:class:`.XNATBrowserPanel`. This is so that the ``wxnat`` library can be
easily embedded or frozen, without depending on having access to its ... | 36.3 | 76 | 0.824725 | 241 | 2,904 | 9.917012 | 0.609959 | 0.006276 | 0.057741 | 0.075314 | 0.205858 | 0.205858 | 0.179916 | 0.083264 | 0.083264 | 0.083264 | 0 | 0.078125 | 0.096419 | 2,904 | 79 | 77 | 36.759494 | 0.832698 | 0.162534 | 0 | 0.078947 | 0 | 0 | 0.741487 | 0.704077 | 0 | 1 | 0 | 0 | 0 | 1 | 0.026316 | false | 0.026316 | 0.078947 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a69553892191afd8de2096e6dcdf1a93f6552df | 269 | py | Python | src/pyshark/packet/common.py | maurizioabba/pyshark | 3333414ec652c25184f1fb2d34bdb71e292be0c2 | [
"MIT"
] | 12 | 2016-04-13T12:20:35.000Z | 2021-08-05T15:04:59.000Z | src/pyshark/packet/common.py | maurizioabba/pyshark | 3333414ec652c25184f1fb2d34bdb71e292be0c2 | [
"MIT"
] | null | null | null | src/pyshark/packet/common.py | maurizioabba/pyshark | 3333414ec652c25184f1fb2d34bdb71e292be0c2 | [
"MIT"
] | 2 | 2018-09-13T15:33:05.000Z | 2019-06-13T17:08:49.000Z | class Pickleable(object):
"""
Base class that implements getstate/setstate, since most of the classes are overriding getattr.
"""
def __getstate__(self):
return self.__dict__
def __setstate__(self, data):
self.__dict__.update(data) | 26.9 | 99 | 0.680297 | 31 | 269 | 5.387097 | 0.709677 | 0.095808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230483 | 269 | 10 | 100 | 26.9 | 0.806763 | 0.35316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6a9c47f8657857aeace9be7003a176dd014af93f | 1,907 | py | Python | module2-sql-for-analysis/unit_3_module_2_assignment_2.py | justin-hsieh/DS-Unit-3-Sprint-2-SQL-and-Databases | fa88964a2d89e25dd534afa94e903361d358e556 | [
"MIT"
] | 1 | 2019-09-09T17:26:35.000Z | 2019-09-09T17:26:35.000Z | module2-sql-for-analysis/unit_3_module_2_assignment_2.py | justin-hsieh/DS-Unit-3-Sprint-2-SQL-and-Databases | fa88964a2d89e25dd534afa94e903361d358e556 | [
"MIT"
] | null | null | null | module2-sql-for-analysis/unit_3_module_2_assignment_2.py | justin-hsieh/DS-Unit-3-Sprint-2-SQL-and-Databases | fa88964a2d89e25dd534afa94e903361d358e556 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit_3_Module_2_Assignment 2.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1-tPWv6KkyoG69ymyKscQf-AtrUZifncz
"""
!pip install psycopg2-binary
import psycopg2
import os
import sqlite3
import pandas as pd
dbname = 'bw... | 25.426667 | 133 | 0.688516 | 237 | 1,907 | 5.371308 | 0.476793 | 0.034564 | 0.049489 | 0.040848 | 0.152396 | 0.152396 | 0.152396 | 0.152396 | 0.152396 | 0.152396 | 0 | 0.020632 | 0.186681 | 1,907 | 75 | 134 | 25.426667 | 0.800129 | 0.011012 | 0 | 0.12 | 1 | 0 | 0.40708 | 0.109735 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.18 | 0.08 | null | null | 0.04 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6a9d211d501053b2a4519025d32c9a30d3f00eb6 | 918 | py | Python | project/config.py | spikoc/stateless-password-manager | 4d1100f6c1c80d39d1855b5a5cf3061a4040afb1 | [
"MIT"
] | null | null | null | project/config.py | spikoc/stateless-password-manager | 4d1100f6c1c80d39d1855b5a5cf3061a4040afb1 | [
"MIT"
] | null | null | null | project/config.py | spikoc/stateless-password-manager | 4d1100f6c1c80d39d1855b5a5cf3061a4040afb1 | [
"MIT"
] | null | null | null | """
TODO: Add module docstring
"""
# pylint: disable=too-few-public-methods
import os
BASEDIR = os.path.abspath(os.path.dirname(__file__))
class BaseConfig:
"""Base Configuration"""
APP_NAME = os.getenv('APP_NAME', 'stateless-password-manager')
DEBUG = False
DEBUG_TB_ENABLED = False
SECRET_... | 21.857143 | 84 | 0.722222 | 97 | 918 | 6.597938 | 0.56701 | 0.032813 | 0.04375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026281 | 0.171024 | 918 | 41 | 85 | 22.390244 | 0.814717 | 0.172113 | 0 | 0 | 0 | 0 | 0.190934 | 0.151099 | 0 | 0 | 0 | 0.02439 | 0 | 1 | 0 | false | 0.052632 | 0.052632 | 0 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6aa94847c9d648ae852ee1e6345f07ce76c944fb | 2,462 | py | Python | tests/conftest.py | op01/qark | 0acf116ece6d62ecb4a310b6dea402b8ac884160 | [
"Apache-2.0",
"OpenSSL"
] | 2,943 | 2015-08-14T22:05:40.000Z | 2022-03-29T09:17:43.000Z | tests/conftest.py | op01/qark | 0acf116ece6d62ecb4a310b6dea402b8ac884160 | [
"Apache-2.0",
"OpenSSL"
] | 254 | 2015-08-16T06:38:35.000Z | 2022-02-11T14:02:23.000Z | tests/conftest.py | op01/qark | 0acf116ece6d62ecb4a310b6dea402b8ac884160 | [
"Apache-2.0",
"OpenSSL"
] | 672 | 2015-08-17T03:27:13.000Z | 2022-03-28T05:08:04.000Z | from __future__ import absolute_import
import pytest
import os
from qark.decompiler.decompiler import Decompiler
from qark.scanner.scanner import Scanner
from qark.scanner.plugin import JavaASTPlugin, ManifestPlugin
DECOMPILER_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "qark", "lib", "de... | 30.775 | 115 | 0.748578 | 311 | 2,462 | 5.617363 | 0.215434 | 0.075558 | 0.045793 | 0.048082 | 0.540355 | 0.478535 | 0.377791 | 0.353749 | 0.353749 | 0.353749 | 0 | 0.000935 | 0.130788 | 2,462 | 79 | 116 | 31.164557 | 0.815421 | 0.042648 | 0 | 0.265306 | 0 | 0 | 0.13909 | 0.056997 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22449 | false | 0 | 0.122449 | 0.204082 | 0.55102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6ab17d86cd405e5dd33561056582c35c9f27cc81 | 31,357 | py | Python | sfof/python/euclid/dm/_utd.py | sfarrens/sfof | f887abc0dbd1587fd7fbc7148b4704d1b5f4cdac | [
"MIT"
] | 13 | 2017-06-15T16:56:29.000Z | 2021-12-08T20:44:39.000Z | sfof/python/euclid/dm/_utd.py | umikanero/sfof | 9aa7b09ccb12311a68373e4e516dee82fa5c428e | [
"MIT"
] | 6 | 2020-05-30T07:40:59.000Z | 2020-11-30T12:25:14.000Z | sfof/python/euclid/dm/_utd.py | umikanero/sfof | 9aa7b09ccb12311a68373e4e516dee82fa5c428e | [
"MIT"
] | 4 | 2018-02-24T02:12:24.000Z | 2021-06-03T07:22:15.000Z | # /home/sartor/pymodule/euclid/dm/_utd.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:2f30d0a941a2897d1cb3db270c7569e6047b1818
# Generated 2014-07-24 16:26:39.930939 by PyXB version 1.2.3
# Namespace http://euclid.esa.org/schema/bas/utd [xmlns:utd]
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io... | 76.109223 | 405 | 0.674459 | 4,027 | 31,357 | 5.117457 | 0.103551 | 0.09967 | 0.195215 | 0.245827 | 0.489422 | 0.480202 | 0.467246 | 0.278339 | 0.16678 | 0.115489 | 0 | 0.014206 | 0.212042 | 31,357 | 411 | 406 | 76.294404 | 0.819856 | 0.191345 | 0 | 0.011299 | 1 | 0.014124 | 0.125383 | 0.016609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00565 | false | 0 | 0.022599 | 0 | 0.073446 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ab1b3724354d3d1b14ad3a68371482401c1fd9b | 11,669 | py | Python | medical_seg/networks/nets/multiattention_net.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | 11 | 2021-08-23T13:06:59.000Z | 2022-03-14T09:05:34.000Z | medical_seg/networks/nets/multiattention_net.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | null | null | null | medical_seg/networks/nets/multiattention_net.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | 2 | 2022-01-12T07:58:44.000Z | 2022-03-15T04:48:57.000Z | # # Copyright 2020 MONAI Consortium
# # Licensed under the Apache License, Version 2.0 (the "License");
# # you may not use this file except in compliance with the License.
# # You may obtain a copy of the License at
# # http://www.apache.org/licenses/LICENSE-2.0
# # Unless required by applicable law or agreed... | 44.880769 | 153 | 0.558488 | 1,441 | 11,669 | 4.286607 | 0.188758 | 0.035616 | 0.005828 | 0.005181 | 0.292699 | 0.226647 | 0.180346 | 0.16011 | 0.1164 | 0.1164 | 0 | 0.01527 | 0.332162 | 11,669 | 260 | 154 | 44.880769 | 0.777364 | 0.930757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6ac5999c7c199f5829749bf3fcee0cecd8c49629 | 5,896 | py | Python | kubernetes/client/models/io_xk8s_cluster_controlplane_v1beta1_aws_managed_control_plane_status_issues.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | kubernetes/client/models/io_xk8s_cluster_controlplane_v1beta1_aws_managed_control_plane_status_issues.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | kubernetes/client/models/io_xk8s_cluster_controlplane_v1beta1_aws_managed_control_plane_status_issues.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.20.7
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
fr... | 32.938547 | 135 | 0.642639 | 593 | 5,896 | 6.264755 | 0.198988 | 0.06218 | 0.232571 | 0.184118 | 0.503634 | 0.436608 | 0.407806 | 0.270256 | 0.125976 | 0.073217 | 0 | 0.026563 | 0.278494 | 5,896 | 178 | 136 | 33.123596 | 0.846732 | 0.408073 | 0 | 0.088608 | 1 | 0 | 0.035592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.151899 | false | 0 | 0.050633 | 0 | 0.367089 | 0.025316 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.