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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b8e515ff634a76288e58151cf7ef3887b9bc8645 | 49 | py | Python | __init__.py | dash61/AIM | f34031b13f69d2b9e028bb3bf54aab6fde06d817 | [
"MIT"
] | 2 | 2021-05-11T22:35:55.000Z | 2021-06-03T19:52:24.000Z | __init__.py | dash61/AIM | f34031b13f69d2b9e028bb3bf54aab6fde06d817 | [
"MIT"
] | 1 | 2021-01-19T02:49:30.000Z | 2021-02-05T01:07:21.000Z | __init__.py | dash61/AIM | f34031b13f69d2b9e028bb3bf54aab6fde06d817 | [
"MIT"
] | null | null | null | __all__ = ["app", "controller", "view", "model"]
| 24.5 | 48 | 0.591837 | 5 | 49 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0.44898 | 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 |
b8ec5e95e29c67e150ef94f9c97b34aa5eb40b48 | 295 | py | Python | src/tests/test_bibliography_loader.py | throughput-ec/UnacquiredSites | a2eb8e5116a7df701b1c84b94edfa7172bd188a9 | [
"MIT"
] | null | null | null | src/tests/test_bibliography_loader.py | throughput-ec/UnacquiredSites | a2eb8e5116a7df701b1c84b94edfa7172bd188a9 | [
"MIT"
] | 4 | 2020-06-19T05:19:14.000Z | 2020-08-06T00:36:14.000Z | src/tests/test_bibliography_loader.py | throughput-ec/UnacquiredSites | a2eb8e5116a7df701b1c84b94edfa7172bd188a9 | [
"MIT"
] | 2 | 2021-01-05T20:54:19.000Z | 2021-01-22T00:47:33.000Z | import pytest
from src.modules.preprocessing.bibliography_loader import *
import pandas as pd
file = '/Users/seiryu8808/Desktop/UWinsc/Github/Do_not_commit_data/bibjson'
def test_preprocessed_bibliography():
data = preprocessed_bibliography(file)
assert isinstance(data, pd.DataFrame)
| 29.5 | 75 | 0.813559 | 37 | 295 | 6.297297 | 0.756757 | 0.206009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.105085 | 295 | 9 | 76 | 32.777778 | 0.867424 | 0 | 0 | 0 | 0 | 0 | 0.223729 | 0.223729 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b8f35cc28bf1a2ce736d0f15ca30332df379d669 | 12,270 | py | Python | sdk/python/pulumi_github/team_membership.py | pulumi/pulumi-github | 303ed7a28cbfe6ba1db75b3b365dcfa0b00e6e91 | [
"ECL-2.0",
"Apache-2.0"
] | 20 | 2020-04-27T15:05:01.000Z | 2022-02-08T00:28:32.000Z | sdk/python/pulumi_github/team_membership.py | pulumi/pulumi-github | 303ed7a28cbfe6ba1db75b3b365dcfa0b00e6e91 | [
"ECL-2.0",
"Apache-2.0"
] | 103 | 2020-05-01T17:36:32.000Z | 2022-03-31T15:26:35.000Z | sdk/python/pulumi_github/team_membership.py | pulumi/pulumi-github | 303ed7a28cbfe6ba1db75b3b365dcfa0b00e6e91 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2020-06-24T19:15:02.000Z | 2021-11-26T08:05:46.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 37.069486 | 134 | 0.613692 | 1,454 | 12,270 | 4.981431 | 0.123109 | 0.071379 | 0.086981 | 0.075935 | 0.744029 | 0.71324 | 0.666851 | 0.638686 | 0.625017 | 0.607069 | 0 | 0.001712 | 0.285738 | 12,270 | 330 | 135 | 37.181818 | 0.824738 | 0.357131 | 0 | 0.570552 | 1 | 0 | 0.075897 | 0.006026 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153374 | false | 0.006135 | 0.030675 | 0.01227 | 0.276074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 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 |
770618ae3682b3c518a039fa0cc91163a55a3ea7 | 8,986 | py | Python | extra/unused/select_random_elevations_2.py | whyjz/CARST | 875c915e835b0e09a7eccb58833719bbfc85b635 | [
"MIT"
] | 10 | 2018-01-02T18:03:07.000Z | 2022-01-25T05:36:21.000Z | extra/unused/select_random_elevations_2.py | whyjz/CARST | 875c915e835b0e09a7eccb58833719bbfc85b635 | [
"MIT"
] | 1 | 2020-04-14T16:57:15.000Z | 2020-05-15T16:10:17.000Z | extra/unused/select_random_elevations_2.py | whyjz/CARST | 875c915e835b0e09a7eccb58833719bbfc85b635 | [
"MIT"
] | 4 | 2016-08-12T15:06:48.000Z | 2019-11-27T05:33:50.000Z | #!/usr/bin/python
import os;
import random;
import subprocess;
import sys;
ICE="/home/akm26/Documents/SPI/InternalRock/SPI_ICE_UTM.dat";
ROCK="/home/akm26/Documents/SPI/InternalRock/SPI_ROCK_UTM.dat";
ECRS="/home/akm26/Documents/SPI/NEW_ASTER/L14/VerticalCoregistration/spi_std_var_srtmrate60_new_ice_only.txt";
ALT_EC... | 32.676364 | 271 | 0.622969 | 1,456 | 8,986 | 3.76717 | 0.146291 | 0.030629 | 0.03464 | 0.026253 | 0.756062 | 0.75351 | 0.728168 | 0.680036 | 0.652142 | 0.64175 | 0 | 0.086678 | 0.115402 | 8,986 | 274 | 272 | 32.79562 | 0.603346 | 0.139996 | 0 | 0.688312 | 0 | 0.017316 | 0.235996 | 0.062759 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017316 | 0 | 0.017316 | 0.021645 | 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 |
771846a8a898d9f027a6031c5fc4ac7887254710 | 1,276 | py | Python | jsf/autocomp_jsf_taglib.py | seiichisan/HapoItak | 0a871d89d468fb1956469095feae6f7e715278e8 | [
"MIT"
] | null | null | null | jsf/autocomp_jsf_taglib.py | seiichisan/HapoItak | 0a871d89d468fb1956469095feae6f7e715278e8 | [
"MIT"
] | null | null | null | jsf/autocomp_jsf_taglib.py | seiichisan/HapoItak | 0a871d89d468fb1956469095feae6f7e715278e8 | [
"MIT"
] | null | null | null | import sublime, sublime_plugin, re
from ..util import sublime_view_util
############################################################################
# jsf taglib の宣言文を取得します。
############################################################################
def get_jsf_taglib_base():
save = "<%@ taglib prefix=\"f\" uri=\"h... | 35.444444 | 106 | 0.458464 | 116 | 1,276 | 4.775862 | 0.301724 | 0.211191 | 0.151625 | 0.086643 | 0.407942 | 0.072202 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076019 | 1,276 | 35 | 107 | 36.457143 | 0.46989 | 0.064263 | 0 | 0.133333 | 0 | 0 | 0.230559 | 0.080491 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.133333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
771bfc06df4048adf28c5830d0329597867ced05 | 615 | py | Python | QuadTree_pkg/QuadtreeEntry.py | Alex815O/QuadTree | 420037c564bc2f9d480a1d7746b89d3c50ce7401 | [
"MIT"
] | null | null | null | QuadTree_pkg/QuadtreeEntry.py | Alex815O/QuadTree | 420037c564bc2f9d480a1d7746b89d3c50ce7401 | [
"MIT"
] | null | null | null | QuadTree_pkg/QuadtreeEntry.py | Alex815O/QuadTree | 420037c564bc2f9d480a1d7746b89d3c50ce7401 | [
"MIT"
] | null | null | null | import arcade
class QuadEntry():
def __init__(self, x, y, value):
# Position
self.x = x
self.y = y
# Data
self.value = value
# Display values
self.radius = 5
self.color = arcade.color.GREEN
def draw(self):
arcade.draw_circle_f... | 22.777778 | 125 | 0.525203 | 80 | 615 | 3.8625 | 0.35 | 0.080906 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002439 | 0.333333 | 615 | 27 | 126 | 22.777778 | 0.75122 | 0.045528 | 0 | 0 | 0 | 0 | 0.049658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 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 |
77581efd6cef7f35bc3cd5482c88b06441b28e16 | 78 | py | Python | wsic/metadata/__init__.py | John-P/wsic | 751c71de9cb644adbbdc16b7d9ce7df75114eb6f | [
"MIT"
] | 4 | 2022-03-16T12:04:27.000Z | 2022-03-30T13:25:06.000Z | wsic/metadata/__init__.py | John-P/wsic | 751c71de9cb644adbbdc16b7d9ce7df75114eb6f | [
"MIT"
] | null | null | null | wsic/metadata/__init__.py | John-P/wsic | 751c71de9cb644adbbdc16b7d9ce7df75114eb6f | [
"MIT"
] | 1 | 2022-03-31T08:28:32.000Z | 2022-03-31T08:28:32.000Z | """Metadata parsing and generation."""
from . import ngff
__all__ = ["ngff"]
| 15.6 | 38 | 0.679487 | 9 | 78 | 5.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 4 | 39 | 19.5 | 0.742424 | 0.410256 | 0 | 0 | 0 | 0 | 0.1 | 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 |
7759c03639f4171b9deaf512a5e60faa87cfee4d | 259 | py | Python | merlink/qt/pane_manual_vpn.py | Pocc/meraki-client-vpn | bdb33b047b0a71b69c199db399c59ac5bfecd64c | [
"Apache-2.0"
] | 4 | 2018-04-15T07:31:27.000Z | 2020-03-26T04:20:31.000Z | merlink/qt/pane_manual_vpn.py | Pocc/meraki-client-vpn | bdb33b047b0a71b69c199db399c59ac5bfecd64c | [
"Apache-2.0"
] | 60 | 2018-04-15T08:25:49.000Z | 2021-12-13T19:47:10.000Z | merlink/qt/pane_manual_vpn.py | Pocc/meraki-client-vpn | bdb33b047b0a71b69c199db399c59ac5bfecd64c | [
"Apache-2.0"
] | 1 | 2018-04-05T07:16:04.000Z | 2018-04-05T07:16:04.000Z | from PyQt5.QtWidgets import QWidget
class ManualVpnSetupWidget(QWidget):
"""Class to manage first pane where you login."""
def __init__(self, parent, layout):
super(ManualVpnSetupWidget, self).__init__(parent)
self.setLayout(layout)
| 28.777778 | 58 | 0.722008 | 29 | 259 | 6.172414 | 0.724138 | 0.134078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004717 | 0.181467 | 259 | 8 | 59 | 32.375 | 0.839623 | 0.166023 | 0 | 0 | 0 | 0 | 0 | 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 |
775a064e661d29ae07835e4a3a56ec0b3080c40b | 189 | py | Python | Contest/Tenka1 Beginner 17/Tenka1 Bigginer 17 A.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/Tenka1 Beginner 17/Tenka1 Bigginer 17 A.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | Contest/Tenka1 Beginner 17/Tenka1 Bigginer 17 A.py | mpses/AtCoder | 9c101fcc0a1394754fcf2385af54b05c30a5ae2a | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3.4.3
# Tenka1 Programmer Beginner Contest (17) A
#ワンライナーの本気
print(sum(sorted([[int(i) for i in input().split()] for _ in range(int(input()))], key=lambda x: x[1])[0])) | 47.25 | 107 | 0.671958 | 34 | 189 | 3.705882 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.111111 | 189 | 4 | 107 | 47.25 | 0.702381 | 0.402116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
91fda01a2b371850d8d71cf7d56aded836e456ec | 23 | py | Python | version.py | mooshmoosh/chaido | 548d5413d6e45371f1d4eccae9ff9b90a4bb5c87 | [
"MIT"
] | null | null | null | version.py | mooshmoosh/chaido | 548d5413d6e45371f1d4eccae9ff9b90a4bb5c87 | [
"MIT"
] | null | null | null | version.py | mooshmoosh/chaido | 548d5413d6e45371f1d4eccae9ff9b90a4bb5c87 | [
"MIT"
] | null | null | null | __format_version__ = 2
| 11.5 | 22 | 0.826087 | 3 | 23 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
620745f92f30334e8d8ad9ff0a327ad066f067fb | 270 | py | Python | src/pink/passlib_.py | Pix-00/olea-v2_flask_1_ | 7ddfa83a7a2a7dfbe55b78da002c1193f38781c0 | [
"Apache-2.0"
] | null | null | null | src/pink/passlib_.py | Pix-00/olea-v2_flask_1_ | 7ddfa83a7a2a7dfbe55b78da002c1193f38781c0 | [
"Apache-2.0"
] | null | null | null | src/pink/passlib_.py | Pix-00/olea-v2_flask_1_ | 7ddfa83a7a2a7dfbe55b78da002c1193f38781c0 | [
"Apache-2.0"
] | null | null | null | from passlib.context import LazyCryptContext
olea_context = LazyCryptContext(schemes=['argon2'],
argon2__time_cost=2,
argon2__memory_cost=256 * 1024,
argon2__parallelism=4)
| 38.571429 | 63 | 0.537037 | 22 | 270 | 6.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080745 | 0.403704 | 270 | 6 | 64 | 45 | 0.763975 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
621858f827a755c3431af2d10e454afbf732a9e7 | 1,060 | py | Python | src/practice/20_framework/rl/weights/reward_to_go_weights.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | 1 | 2019-10-06T11:45:52.000Z | 2019-10-06T11:45:52.000Z | src/practice/20_framework/rl/weights/reward_to_go_weights.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | null | null | null | src/practice/20_framework/rl/weights/reward_to_go_weights.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | null | null | null | import logging
import numpy as np
from rl.weights import Weights
logger = logging.getLogger(__name__)
class RewardToGoWeights(Weights):
def __init__(self, discount):
self.discount = discount
def __enter__(self):
return self
def __exit__(self, exc_type, exc_val, exc_tb):
pass
... | 27.894737 | 102 | 0.643396 | 138 | 1,060 | 4.746377 | 0.34058 | 0.054962 | 0.048855 | 0.073282 | 0.09771 | 0.09771 | 0.09771 | 0 | 0 | 0 | 0 | 0.011364 | 0.25283 | 1,060 | 37 | 103 | 28.648649 | 0.815657 | 0 | 0 | 0.074074 | 0 | 0 | 0.016038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0.074074 | 0.111111 | 0.074074 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
622ab6d0e2abf8d12587fad349c199ac123f6219 | 2,605 | py | Python | okevaluation/cli.py | Oktopus-Multicast/oktopus_eval-scripts | 7711066562abc71a41e4c089f46fa75ed983ad57 | [
"MIT"
] | null | null | null | okevaluation/cli.py | Oktopus-Multicast/oktopus_eval-scripts | 7711066562abc71a41e4c089f46fa75ed983ad57 | [
"MIT"
] | 4 | 2020-07-02T00:56:07.000Z | 2020-07-02T00:57:08.000Z | okevaluation/cli.py | Oktopus-Multicast/oktopus_eval-scripts | 7711066562abc71a41e4c089f46fa75ed983ad57 | [
"MIT"
] | null | null | null | """
okevaluation
Usage:
okevaluation generate_res -o <output_dir> --topology=<topologies_dir> --topo_run=<topo_run> [--link_bw_cap=<link_bw_cap>] [--medium=<medium>]
okevaluation generate_dataset -o <output_dir> --topology=<topologies_dir> --topo_run=<topo_run> [--num_cpus=<num_cpus>]
okevaluation genera... | 46.517857 | 148 | 0.657582 | 325 | 2,605 | 5.015385 | 0.323077 | 0.060123 | 0.03681 | 0.042945 | 0.368098 | 0.368098 | 0.346012 | 0.346012 | 0.346012 | 0.346012 | 0 | 0.008008 | 0.233013 | 2,605 | 55 | 149 | 47.363636 | 0.807808 | 0.854894 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
62474029db99b4fbdb40d293e5d0dc362f1b85f5 | 7,349 | py | Python | pytaon/vec2d.py | fisjogos-fga/pytaon | 0c5def531249331871197377338471521cf8de2c | [
"MIT"
] | 2 | 2020-10-15T15:28:02.000Z | 2020-10-16T19:27:03.000Z | pytaon/vec2d.py | fisjogos-fga/pytaon | 0c5def531249331871197377338471521cf8de2c | [
"MIT"
] | 1 | 2020-10-21T17:51:00.000Z | 2020-10-21T17:51:00.000Z | pytaon/vec2d.py | fisjogos-fga/pytaon | 0c5def531249331871197377338471521cf8de2c | [
"MIT"
] | 3 | 2020-10-15T15:28:06.000Z | 2020-10-20T21:48:55.000Z | from typing import Union, Tuple
from numbers import Number
from math import sqrt, pi
VecLike = Union["Vec2d", Tuple[Number, Number]]
RADS_TO_DEGREES = 180 / pi
DEGREES_TO_RADS = pi / 180
class Vec2d:
"""
Vetor em 2 dimensões. Suporta operações básicas e mostra propriedades do
vetor como métodos.
"""
... | 24.661074 | 84 | 0.575044 | 822 | 7,349 | 4.963504 | 0.227494 | 0.147059 | 0.119118 | 0.030882 | 0.383578 | 0.300735 | 0.229657 | 0.151716 | 0.110049 | 0.110049 | 0 | 0.012735 | 0.326847 | 7,349 | 297 | 85 | 24.744108 | 0.812007 | 0.225609 | 0 | 0.337931 | 0 | 0 | 0.02261 | 0 | 0 | 0 | 0 | 0.010101 | 0 | 1 | 0.331034 | false | 0 | 0.02069 | 0.034483 | 0.572414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
62485488431f5094f3c8766b8b9555d8dfc3337c | 1,195 | py | Python | cpo/lib/openshift/types/role.py | IBM/data-gate-cli | fc0cb1a560a0156c71eb63a550e198d0cd36e1df | [
"Apache-2.0"
] | 9 | 2020-08-21T08:46:34.000Z | 2021-09-02T15:47:41.000Z | cpo/lib/openshift/types/role.py | IBM/data-gate-cli | fc0cb1a560a0156c71eb63a550e198d0cd36e1df | [
"Apache-2.0"
] | 10 | 2020-11-26T15:31:43.000Z | 2021-11-08T15:00:01.000Z | cpo/lib/openshift/types/role.py | IBM/data-gate-cli | fc0cb1a560a0156c71eb63a550e198d0cd36e1df | [
"Apache-2.0"
] | 1 | 2022-03-10T07:14:49.000Z | 2022-03-10T07:14:49.000Z | # Copyright 2021 IBM Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 36.212121 | 162 | 0.756485 | 174 | 1,195 | 5.16092 | 0.574713 | 0.066815 | 0.089087 | 0.097996 | 0.334076 | 0.280624 | 0.131403 | 0.131403 | 0.131403 | 0.131403 | 0 | 0.015748 | 0.149791 | 1,195 | 32 | 163 | 37.34375 | 0.86811 | 0.732218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 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 |
624afc95f20b71360f103a6b15a2178b706f380e | 521 | py | Python | pydis_site/apps/api/migrations/0036_removing_snake_apis.py | Transfusion/site | 6992491f8c5f074e17c34d09553a715425112652 | [
"MIT"
] | 700 | 2018-11-17T15:56:51.000Z | 2022-03-30T22:53:17.000Z | pydis_site/apps/api/migrations/0036_removing_snake_apis.py | Transfusion/site | 6992491f8c5f074e17c34d09553a715425112652 | [
"MIT"
] | 542 | 2018-11-17T13:39:42.000Z | 2022-03-31T11:24:00.000Z | pydis_site/apps/api/migrations/0036_removing_snake_apis.py | Transfusion/site | 6992491f8c5f074e17c34d09553a715425112652 | [
"MIT"
] | 178 | 2018-11-21T09:06:56.000Z | 2022-03-31T07:43:28.000Z | # Generated by Django 2.2.3 on 2019-07-10 09:07
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('api', '0035_create_table_log_entry'),
]
operations = [
migrations.DeleteModel(
name='SnakeFact',
),
migrations.DeleteMod... | 20.038462 | 47 | 0.550864 | 45 | 521 | 6.288889 | 0.666667 | 0.29682 | 0.353357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055233 | 0.339731 | 521 | 25 | 48 | 20.84 | 0.767442 | 0.086372 | 0 | 0.421053 | 1 | 0 | 0.147679 | 0.056962 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
624d7aa459eba4b755272c4eaa4dd77b675a610c | 608 | py | Python | my/time/tz/main.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 1,026 | 2020-03-16T16:53:29.000Z | 2022-03-29T16:03:38.000Z | my/time/tz/main.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 102 | 2020-03-18T22:53:29.000Z | 2022-03-22T00:34:46.000Z | my/time/tz/main.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 50 | 2020-03-17T21:00:34.000Z | 2022-03-28T08:37:13.000Z | '''
Timezone data provider, used to localize timezone-unaware timestamps for other modules
'''
from datetime import datetime
from ...core.common import tzdatetime
# todo hmm, kwargs isn't mypy friendly.. but specifying types would require duplicating default args. uhoh
def localize(dt: datetime, **kwargs) -> tzdatetim... | 43.428571 | 106 | 0.768092 | 83 | 608 | 5.566265 | 0.710843 | 0.051948 | 0.077922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.149671 | 608 | 13 | 107 | 46.769231 | 0.87234 | 0.534539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
625cb9a7b307e105d2e0e48d63dad020e5102feb | 710 | py | Python | cron/union.py | Nikkoz/coincontrol | a94e967a734474d42b6a3e1875a01a48d8c72178 | [
"BSD-3-Clause"
] | 1 | 2018-12-15T10:57:57.000Z | 2018-12-15T10:57:57.000Z | cron/union.py | Nikkoz/coincontrol | a94e967a734474d42b6a3e1875a01a48d8c72178 | [
"BSD-3-Clause"
] | null | null | null | cron/union.py | Nikkoz/coincontrol | a94e967a734474d42b6a3e1875a01a48d8c72178 | [
"BSD-3-Clause"
] | null | null | null | from datetime import datetime, timedelta
import numpy
class Union():
def start_import(self):
if self.db.get_import(self.type):
return False
else:
self.db.set_import(self.type, 1)
self.log.begin()
return True
def finish_import(self):
... | 24.482759 | 73 | 0.559155 | 92 | 710 | 4.23913 | 0.478261 | 0.128205 | 0.107692 | 0.076923 | 0.117949 | 0.117949 | 0 | 0 | 0 | 0 | 0 | 0.01636 | 0.311268 | 710 | 29 | 74 | 24.482759 | 0.781186 | 0 | 0 | 0 | 0 | 0 | 0.020498 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.333333 | 0.095238 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
627064684c0badf461c986e3e43f6b3531e5ad16 | 55 | py | Python | PrintOnline/__init__.py | sintrb/PrintOnline | dea485ae342f422c6d501101f0bc0bbcd8b6931d | [
"Apache-2.0"
] | 2 | 2018-04-09T01:24:30.000Z | 2021-05-19T02:27:59.000Z | PrintOnline/__init__.py | sintrb/PrintOnline | dea485ae342f422c6d501101f0bc0bbcd8b6931d | [
"Apache-2.0"
] | null | null | null | PrintOnline/__init__.py | sintrb/PrintOnline | dea485ae342f422c6d501101f0bc0bbcd8b6931d | [
"Apache-2.0"
] | 1 | 2017-05-21T19:58:22.000Z | 2017-05-21T19:58:22.000Z | import PrintOnline
__alll__ = ['PrintOnline', 'wsgi']
| 13.75 | 34 | 0.727273 | 5 | 55 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 3 | 35 | 18.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 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 |
62752f0c377d357db6a6b7ac808b2dd237700aed | 4,564 | py | Python | spongeauth/spongeauth/settings/base.py | kadenscott/HangarAuth | e7701b651752c6f45242677378b92a1192e410b7 | [
"MIT"
] | null | null | null | spongeauth/spongeauth/settings/base.py | kadenscott/HangarAuth | e7701b651752c6f45242677378b92a1192e410b7 | [
"MIT"
] | null | null | null | spongeauth/spongeauth/settings/base.py | kadenscott/HangarAuth | e7701b651752c6f45242677378b92a1192e410b7 | [
"MIT"
] | null | null | null | """
Django settings for spongeauth project.
Generated by 'django-admin startproject' using Django 1.10.5.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import... | 28.886076 | 110 | 0.711437 | 526 | 4,564 | 6.019011 | 0.439164 | 0.05338 | 0.048642 | 0.055275 | 0.174037 | 0.163298 | 0.100758 | 0.100758 | 0.03885 | 0 | 0 | 0.021789 | 0.145267 | 4,564 | 157 | 111 | 29.070064 | 0.789797 | 0.283742 | 0 | 0 | 1 | 0.012048 | 0.535394 | 0.407728 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.060241 | 0.012048 | 0 | 0.012048 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
627a4b9d4ec9e7eb1e9756b0194ae69e4ec9db73 | 1,488 | py | Python | release/stubs.min/Autodesk/Revit/DB/__init___parts/PointOnCurveMeasurementType.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/PointOnCurveMeasurementType.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/PointOnCurveMeasurementType.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class PointOnCurveMeasurementType(Enum, IComparable, IFormattable, IConvertible):
"""
Point on curve measurement type
Defines the types of measurements that may be used when placing a point at a designated distance along a curve.
enum PointOnCurveMeasurementType,values: Angle (6),ChordLength (5),... | 28.615385 | 221 | 0.625672 | 158 | 1,488 | 5.291139 | 0.424051 | 0.095694 | 0.100478 | 0.107656 | 0.154306 | 0.154306 | 0.154306 | 0.135167 | 0.135167 | 0.135167 | 0 | 0.00546 | 0.261425 | 1,488 | 51 | 222 | 29.176471 | 0.755232 | 0.438172 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.357143 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6289ca2f3ea6371efe5823a1b5537d55894903c9 | 338 | py | Python | factories/widgetFactory.py | 1cgeo/proxySetter | ee54909a21eff481dc892a763b574c402da2ba21 | [
"MIT"
] | null | null | null | factories/widgetFactory.py | 1cgeo/proxySetter | ee54909a21eff481dc892a763b574c402da2ba21 | [
"MIT"
] | null | null | null | factories/widgetFactory.py | 1cgeo/proxySetter | ee54909a21eff481dc892a763b574c402da2ba21 | [
"MIT"
] | null | null | null | from proxySetter.widgets.proxyComboBox import ProxyComboBox
from proxySetter.widgets.proxyDialog import ProxyDialog
class WidgetFactory:
def createWidget(self, widgetName):
widgetNames = {
'ProxyComboBox': ProxyComboBox,
'ProxyDialog': ProxyDialog
}
return widgetNam... | 30.727273 | 59 | 0.701183 | 26 | 338 | 9.115385 | 0.538462 | 0.126582 | 0.185654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 338 | 11 | 60 | 30.727273 | 0.911538 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
628fdcaade3ee3c714b2b75378a31bd8c492b106 | 241 | py | Python | myApp/login/views.py | wupengnash/django_learn | 3170c98dddd720b8ff01aaf0d72a1628a615ed5d | [
"MIT"
] | null | null | null | myApp/login/views.py | wupengnash/django_learn | 3170c98dddd720b8ff01aaf0d72a1628a615ed5d | [
"MIT"
] | null | null | null | myApp/login/views.py | wupengnash/django_learn | 3170c98dddd720b8ff01aaf0d72a1628a615ed5d | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
from django.http import JsonResponse
def register(request):
name_dict = {'wup': 'Love python and Django', 'zqxt': 'I am teaching Django'}
return JsonResponse(name_dict)
| 26.777778 | 81 | 0.742739 | 33 | 241 | 5.363636 | 0.757576 | 0.112994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161826 | 241 | 8 | 82 | 30.125 | 0.876238 | 0.095436 | 0 | 0 | 0 | 0 | 0.226852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 |
655d1d8118ec19652b5d6f5f453fdc8d1480780c | 147 | py | Python | 2020/Day10/day10.py | dh256/adventofcode | 428eec13f4cbf153333a0e359bcff23070ef6d27 | [
"MIT"
] | null | null | null | 2020/Day10/day10.py | dh256/adventofcode | 428eec13f4cbf153333a0e359bcff23070ef6d27 | [
"MIT"
] | null | null | null | 2020/Day10/day10.py | dh256/adventofcode | 428eec13f4cbf153333a0e359bcff23070ef6d27 | [
"MIT"
] | null | null | null | from Adapters import Adapters
adapters = Adapters('input.txt')
answer = adapters.part1()
print(answer)
answer2 = adapters.part2()
print(answer2)
| 16.333333 | 32 | 0.761905 | 18 | 147 | 6.222222 | 0.555556 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.115646 | 147 | 8 | 33 | 18.375 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
655f9f093012ad3b4bc0a42968a50f245139c6b6 | 282 | py | Python | azurevortex/util/youtube.py | themysticsavages/azurevortex-discord | 38d29f314b28880d96f42add6f8c56c699c6bd00 | [
"BSD-3-Clause"
] | null | null | null | azurevortex/util/youtube.py | themysticsavages/azurevortex-discord | 38d29f314b28880d96f42add6f8c56c699c6bd00 | [
"BSD-3-Clause"
] | null | null | null | azurevortex/util/youtube.py | themysticsavages/azurevortex-discord | 38d29f314b28880d96f42add6f8c56c699c6bd00 | [
"BSD-3-Clause"
] | null | null | null | import urllib.request
import re
def returnvideofromsearch(query):
html = urllib.request.urlopen('https://www.youtube.com/results?search_query='+query.replace(' ', '+'))
id = re.findall(r'watch\?v=(\S{11})', html.read().decode())[0]
return 'https://youtu.be/'+id | 35.25 | 107 | 0.656028 | 38 | 282 | 4.842105 | 0.763158 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012245 | 0.131206 | 282 | 8 | 108 | 35.25 | 0.738776 | 0 | 0 | 0 | 0 | 0 | 0.293478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
6585f81feba89c57ecdf0efcf7c3231a8252bf1f | 1,226 | py | Python | src/graphs/tests/test_image_matching.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | src/graphs/tests/test_image_matching.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | src/graphs/tests/test_image_matching.py | seahrh/coding-interview | 517d19e7e88c02acec4aa6336bc20206ce3f1897 | [
"MIT"
] | null | null | null | from graphs.image_matching import *
class TestImageMatching:
def test_case_1(self):
assert (
solve(
g1=[[1, 1, 1], [1, 0, 0], [1, 0, 0]],
g2=[[1, 1, 1], [1, 0, 0], [1, 0, 1]],
)
== 1
)
def test_case_2(self):
... | 26.085106 | 63 | 0.286297 | 158 | 1,226 | 2.139241 | 0.164557 | 0.16568 | 0.142012 | 0.153846 | 0.680473 | 0.680473 | 0.5 | 0.497041 | 0.494083 | 0.307692 | 0 | 0.202381 | 0.520392 | 1,226 | 46 | 64 | 26.652174 | 0.372449 | 0 | 0 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 1 | 0.097561 | false | 0 | 0.02439 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
659e3ff5a2068e6236411d1c4f0db592866ea08d | 870 | py | Python | app/models/user.py | emregeldegul/confidant | 5c6f29658f27518b86d8f93b3ea9af550c1ea957 | [
"Apache-2.0"
] | 36 | 2019-06-13T19:42:10.000Z | 2022-01-13T22:26:35.000Z | app/models/user.py | emregeldegul/confidant | 5c6f29658f27518b86d8f93b3ea9af550c1ea957 | [
"Apache-2.0"
] | 2 | 2021-01-19T20:40:45.000Z | 2021-07-12T08:45:40.000Z | app/models/user.py | emregeldegul/confidant | 5c6f29658f27518b86d8f93b3ea9af550c1ea957 | [
"Apache-2.0"
] | 1 | 2021-07-10T10:06:40.000Z | 2021-07-10T10:06:40.000Z | from app import db, login_manager
from flask_login import UserMixin
from werkzeug.security import generate_password_hash, check_password_hash
@login_manager.user_loader
def load_user(id):
return User.query.get(int(id))
class User(db.Model, UserMixin):
id = db.Column(db.Integer, primary_key=True)
name = ... | 32.222222 | 73 | 0.726437 | 122 | 870 | 5.02459 | 0.401639 | 0.078303 | 0.097879 | 0.078303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00823 | 0.162069 | 870 | 26 | 74 | 33.461538 | 0.832647 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0.3 | 0.15 | 0.1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
65ca12ab60aa7bcbf49e5464f0cf9d98d2366081 | 559 | py | Python | pyecs/components/__init__.py | xaedes/pyecs | ce830d8849cfcf7c00fa49ad8954d8ce22e7204f | [
"MIT"
] | 1 | 2017-06-20T12:19:50.000Z | 2017-06-20T12:19:50.000Z | pyecs/components/__init__.py | xaedes/pyecs | ce830d8849cfcf7c00fa49ad8954d8ce22e7204f | [
"MIT"
] | null | null | null | pyecs/components/__init__.py | xaedes/pyecs | ce830d8849cfcf7c00fa49ad8954d8ce22e7204f | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
from pose import Pose
from size import Size
from pygame_component import Pygame
from draggable import Draggable
from draw_size_as_circle import DrawSizeAsCircle
from draw_size_as_rectangle import DrawSizeAsRectangle
from hotswap_controller import HotswapController
from co... | 32.882353 | 56 | 0.867621 | 71 | 559 | 6.661972 | 0.507042 | 0.033827 | 0.05074 | 0.059197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004008 | 0.107335 | 559 | 16 | 57 | 34.9375 | 0.943888 | 0.076923 | 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 |
65cc07cae4f5bc2d5bda2d217b1dc5bda42fee55 | 356 | py | Python | ccal/compute_correlation_distance_between_2_1d_arrays.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | ccal/compute_correlation_distance_between_2_1d_arrays.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | ccal/compute_correlation_distance_between_2_1d_arrays.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | from numpy import absolute, where
from scipy.spatial.distance import correlation
from .ALMOST_ZERO import ALMOST_ZERO
def compute_correlation_distance_between_2_1d_arrays(_1d_array_0, _1d_array_1):
correlation_distance = correlation(_1d_array_0, _1d_array_1)
return where(absolute(correlation_distance) < AL... | 29.666667 | 87 | 0.837079 | 50 | 356 | 5.48 | 0.42 | 0.277372 | 0.058394 | 0.072993 | 0.116788 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0.0347 | 0.109551 | 356 | 11 | 88 | 32.363636 | 0.829653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
029254a80e503cbeaaffa24df4eb21e272dc2948 | 17,103 | py | Python | tests/core/test_playlists.py | kyleheyne/mopidy | 3b1b0dd2e9052cadb7bd1a29e724498f9fba7bca | [
"Apache-2.0"
] | null | null | null | tests/core/test_playlists.py | kyleheyne/mopidy | 3b1b0dd2e9052cadb7bd1a29e724498f9fba7bca | [
"Apache-2.0"
] | null | null | null | tests/core/test_playlists.py | kyleheyne/mopidy | 3b1b0dd2e9052cadb7bd1a29e724498f9fba7bca | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, unicode_literals
import unittest
import mock
from mopidy import backend, core
from mopidy.internal import deprecation
from mopidy.models import Playlist, Ref, Track
class BasePlaylistsTest(unittest.TestCase):
def setUp(self): # noqa: N802
self.plr1a = Ref.playl... | 39.1373 | 77 | 0.71391 | 2,143 | 17,103 | 5.480168 | 0.073262 | 0.055262 | 0.069482 | 0.035763 | 0.820334 | 0.761069 | 0.713556 | 0.654036 | 0.560967 | 0.513113 | 0 | 0.01234 | 0.170847 | 17,103 | 436 | 78 | 39.227064 | 0.81581 | 0.004151 | 0 | 0.487013 | 0 | 0 | 0.058609 | 0.020496 | 0 | 0 | 0 | 0 | 0.376623 | 1 | 0.168831 | false | 0 | 0.019481 | 0 | 0.233766 | 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 |
029499acf3e5b39467dd82d5d9cbef7719f4834e | 292 | py | Python | scripts/kafka-mdml/example_integer_consumer.py | anl-mdml/examples | b322ad5a239a56d69563ed5add2dfdd15101e928 | [
"Apache-2.0"
] | null | null | null | scripts/kafka-mdml/example_integer_consumer.py | anl-mdml/examples | b322ad5a239a56d69563ed5add2dfdd15101e928 | [
"Apache-2.0"
] | null | null | null | scripts/kafka-mdml/example_integer_consumer.py | anl-mdml/examples | b322ad5a239a56d69563ed5add2dfdd15101e928 | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.append(".")
import mdml_client as mdml
consumer = mdml.kafka_mdml_consumer(
topics = ["mdml-example-integer", "mdml-example-integer-sum", "mdml-example-integer-sum-func"],
group = "mdml-example-integer")
for msg in consumer.consume():
print(msg)
| 24.333333 | 100 | 0.684932 | 39 | 292 | 5.051282 | 0.512821 | 0.22335 | 0.365482 | 0.213198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167808 | 292 | 11 | 101 | 26.545455 | 0.8107 | 0 | 0 | 0 | 0 | 0 | 0.33452 | 0.188612 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.125 | 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 |
029b9c5d0a4de9da9ce89ef59713159b0379a50f | 3,456 | py | Python | stmcli/models.py | pgdagenais/stmcli | 3b8489884f73cebeef859bace3b1a51af5062b75 | [
"MIT"
] | 3 | 2016-10-16T09:28:54.000Z | 2021-01-07T19:25:59.000Z | stmcli/models.py | stmcli/stmcli | 3b8489884f73cebeef859bace3b1a51af5062b75 | [
"MIT"
] | 17 | 2016-03-17T02:23:24.000Z | 2019-01-05T18:18:13.000Z | stmcli/models.py | stmcli/stmcli | 3b8489884f73cebeef859bace3b1a51af5062b75 | [
"MIT"
] | 11 | 2016-03-20T23:52:58.000Z | 2017-07-02T12:08:48.000Z | import peewee
# db connection to be initialized and used around the system
db = None
# max number of inserts that can be done in a single bulk
SQLITE_MAX_VARIABLE_NUMBER = 2 ** 16
class Agency(peewee.Model):
agency_id = peewee.FixedCharField(
max_length=3, null=False, primary_key=True)
agency_name =... | 31.706422 | 66 | 0.724537 | 455 | 3,456 | 5.314286 | 0.23956 | 0.260546 | 0.156328 | 0.208437 | 0.486766 | 0.370554 | 0.2378 | 0.191894 | 0.062035 | 0.062035 | 0 | 0.015745 | 0.173032 | 3,456 | 108 | 67 | 32 | 0.830301 | 0.032986 | 0 | 0.151899 | 0 | 0 | 0.016173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012658 | 0 | 0.873418 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
02ba9a1ae925eec696e08e36f2d18b64509304a3 | 373 | py | Python | docs/source/_themes/yummy_sphinx_theme/__init__.py | covid-19-impact-lab/liss-questionnaires | 655de25325a561933f3a4a6b9cc092a5e2e0722a | [
"MIT"
] | 14 | 2020-03-20T14:04:47.000Z | 2021-08-16T08:27:21.000Z | yummy_sphinx_theme/__init__.py | TagnumElite/yummy_sphinx_theme | 18a4d7dbb75d54d20fc9b7bb10e23aa5b6ceabd2 | [
"Apache-2.0"
] | 56 | 2019-09-08T09:33:14.000Z | 2021-06-12T13:37:35.000Z | docs/source/_themes/yummy_sphinx_theme/__init__.py | covid-19-impact-lab/liss-questionnaires | 655de25325a561933f3a4a6b9cc092a5e2e0722a | [
"MIT"
] | 1 | 2022-02-23T03:45:05.000Z | 2022-02-23T03:45:05.000Z | """
Yummy Sphinx Theme, created to mirror Yummy-Jekyll for sphinx
"""
from os import path
__version__ = '0.1.1'
def get_path():
"""Return list of HTML theme paths."""
return path.abspath(path.dirname(path.dirname(__file__)))
def setup(app):
app.add_html_theme('yummy_sphinx_theme', path.abspath(path.dir... | 21.941176 | 82 | 0.710456 | 53 | 373 | 4.603774 | 0.528302 | 0.135246 | 0.131148 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009464 | 0.150134 | 373 | 16 | 83 | 23.3125 | 0.760252 | 0.252011 | 0 | 0 | 0 | 0 | 0.112782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
02bfbcf792d8a665079fd619bd2cc3c293df462b | 105 | py | Python | src/call_functions.py | songqsh/test-pycharm-git | 0ffbec79ae49d80f7a77ce6388b3d4d0cdededd1 | [
"MIT"
] | null | null | null | src/call_functions.py | songqsh/test-pycharm-git | 0ffbec79ae49d80f7a77ce6388b3d4d0cdededd1 | [
"MIT"
] | null | null | null | src/call_functions.py | songqsh/test-pycharm-git | 0ffbec79ae49d80f7a77ce6388b3d4d0cdededd1 | [
"MIT"
] | null | null | null | from myfunctions import fall_dist, plus_four
out1 = fall_dist(3)
out2 = plus_four(3)
print(out1, out2)
| 15 | 44 | 0.761905 | 18 | 105 | 4.222222 | 0.611111 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.142857 | 105 | 6 | 45 | 17.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 |
02c67d1e44a67b1adb95cbbf5aae5d3afe0e8d6c | 189 | py | Python | Prob&Stats_hackerrank/day0_1.py | manishaverma1012/Hackerank_Solution | 9b13e8805fd244fbc7df2955f57e2a880772460d | [
"MIT"
] | null | null | null | Prob&Stats_hackerrank/day0_1.py | manishaverma1012/Hackerank_Solution | 9b13e8805fd244fbc7df2955f57e2a880772460d | [
"MIT"
] | null | null | null | Prob&Stats_hackerrank/day0_1.py | manishaverma1012/Hackerank_Solution | 9b13e8805fd244fbc7df2955f57e2a880772460d | [
"MIT"
] | null | null | null | import statistics
from scipy import stats
n= int(input())
p=list(map(int,input().split()))
print("%.1f"%statistics.mean(p))
print("%.1f"%statistics.median(p))
print(int(stats.mode(p)[0])) | 27 | 36 | 0.693122 | 31 | 189 | 4.225806 | 0.580645 | 0.122137 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017045 | 0.068783 | 189 | 7 | 37 | 27 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
02cc63c063e1db190c7f499a0499c70991d7ba5c | 187 | py | Python | python/testData/inspections/PyUnboundLocalVariableInspection/UnboundUnreachable.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnboundLocalVariableInspection/UnboundUnreachable.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/PyUnboundLocalVariableInspection/UnboundUnreachable.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def test1(c, xs):
if c:
y = 1
print(<warning descr="Local variable 'y' might be referenced before assignment">y</warning>)
for x in xs:
continue
z = 1
| 23.375 | 96 | 0.566845 | 28 | 187 | 3.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.326203 | 187 | 7 | 97 | 26.714286 | 0.81746 | 0 | 0 | 0 | 0 | 0 | 0.299465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02cf6e7c6d32aa2efc0df88dfbce9f0b5d5f4e0b | 177 | py | Python | flambeau/engine/__init__.py | corenel/flambeau | 3e90f37ba3d692af6df02da39907132ff9a490da | [
"MIT"
] | 1 | 2021-07-15T02:06:23.000Z | 2021-07-15T02:06:23.000Z | flambeau/engine/__init__.py | corenel/flambeau | 3e90f37ba3d692af6df02da39907132ff9a490da | [
"MIT"
] | null | null | null | flambeau/engine/__init__.py | corenel/flambeau | 3e90f37ba3d692af6df02da39907132ff9a490da | [
"MIT"
] | null | null | null | from .base_engine import BaseEngine
from .base_builder import BaseBuilder
from .base_trainner import BaseTrainer
__all__ = (
BaseEngine,
BaseBuilder,
BaseTrainer
)
| 17.7 | 38 | 0.774011 | 19 | 177 | 6.842105 | 0.526316 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180791 | 177 | 9 | 39 | 19.666667 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 |
02e4f8b27c2824df27a15c22f33ac00fe1db483e | 326 | py | Python | tests/test_set.py | shaypal5/struct- | 8dd6d6e7f7c19f5ee5fd0a6bb4d0ed9467a0df7f | [
"MIT"
] | 1 | 2019-12-03T11:47:46.000Z | 2019-12-03T11:47:46.000Z | tests/test_set.py | shaypal5/struct- | 8dd6d6e7f7c19f5ee5fd0a6bb4d0ed9467a0df7f | [
"MIT"
] | 3 | 2018-06-27T13:21:43.000Z | 2021-04-20T16:59:44.000Z | tests/test_set.py | shaypal5/struct- | 8dd6d6e7f7c19f5ee5fd0a6bb4d0ed9467a0df7f | [
"MIT"
] | 3 | 2018-01-03T12:56:11.000Z | 2020-11-04T16:42:29.000Z | """Testing set related utility functions."""
from strct.sets import get_priority_elem_in_set
def test_get_priority_elem_in_set():
"""Basic test of the get_priority_elem_in_set function."""
obj_set = set([3, 2, 7, 8])
priority_list = [4, 8, 1, 3]
assert get_priority_elem_in_set(obj_set, priority_list)... | 29.636364 | 64 | 0.723926 | 55 | 326 | 3.909091 | 0.509091 | 0.204651 | 0.27907 | 0.316279 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.162577 | 326 | 10 | 65 | 32.6 | 0.754579 | 0.279141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 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 |
02e7ec7606cfaaeed7105481135641df8fead095 | 127 | py | Python | before/0124/10953.py | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | 3 | 2022-01-24T03:06:32.000Z | 2022-01-30T08:43:58.000Z | before/0124/10953.py | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | null | null | null | before/0124/10953.py | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | 2 | 2022-01-24T02:27:40.000Z | 2022-01-30T08:57:03.000Z | t = int(input())
ans = []
for _ in range(t):
ans.append(sum(list(map(int, input().split(',')))))
for a in ans:
print(a) | 21.166667 | 55 | 0.559055 | 22 | 127 | 3.181818 | 0.636364 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 127 | 6 | 56 | 21.166667 | 0.679612 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 |
02e9fac9952df8c8b434e36637877d773a6e8229 | 2,061 | py | Python | skeleton/pixelwars/migrations/0011_auto_20170326_0935.py | GenchoBG/HackTues3 | 1457d44d6f6aeef158e49f91ce4a40246afe9c62 | [
"MIT"
] | null | null | null | skeleton/pixelwars/migrations/0011_auto_20170326_0935.py | GenchoBG/HackTues3 | 1457d44d6f6aeef158e49f91ce4a40246afe9c62 | [
"MIT"
] | null | null | null | skeleton/pixelwars/migrations/0011_auto_20170326_0935.py | GenchoBG/HackTues3 | 1457d44d6f6aeef158e49f91ce4a40246afe9c62 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-03-26 06:35
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('pixelwars', '0010_auto_20170326_0933'),
]
operatio... | 36.157895 | 149 | 0.612324 | 202 | 2,061 | 6.108911 | 0.30198 | 0.12966 | 0.162075 | 0.188006 | 0.712318 | 0.712318 | 0.679903 | 0.679903 | 0.679903 | 0.541329 | 0 | 0.029528 | 0.260553 | 2,061 | 56 | 150 | 36.803571 | 0.780184 | 0.032994 | 0 | 0.571429 | 1 | 0 | 0.150754 | 0.011558 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.061224 | 0 | 0.122449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02f1ef714852a935a4a6e7deb97aaa625fca94ab | 321 | py | Python | backend/style_transfer/urls.py | AyushExel/starynight | 4afb9171779d510b24dbc16657428e24bb7d8fbc | [
"MIT"
] | 2 | 2022-01-07T19:32:08.000Z | 2022-02-07T11:59:06.000Z | backend/style_transfer/urls.py | AyushExel/starynight | 4afb9171779d510b24dbc16657428e24bb7d8fbc | [
"MIT"
] | null | null | null | backend/style_transfer/urls.py | AyushExel/starynight | 4afb9171779d510b24dbc16657428e24bb7d8fbc | [
"MIT"
] | 2 | 2021-11-14T18:39:08.000Z | 2022-02-10T11:29:51.000Z | from os import name
from django.conf.urls import url
from django.contrib import admin
from django.urls import path
from django.urls import path
from .views import PostImage, GetModels, uploadImage
urlpatterns = [
path("style/", uploadImage, name="style"),
path("models/", GetModels.as_view(), name="models")
]... | 22.928571 | 55 | 0.744548 | 44 | 321 | 5.409091 | 0.454545 | 0.168067 | 0.117647 | 0.168067 | 0.218487 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146417 | 321 | 13 | 56 | 24.692308 | 0.868613 | 0 | 0 | 0.2 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f30f4f4b8931758a443d98a9436c498e60fa4695 | 214 | py | Python | graphene_auto/graphql_auto/id_test.py | ssshier/meta-realize | cc13309fa9e7e59044fb1c8e6e6b0a62caa7ca8c | [
"MIT"
] | 1 | 2021-12-18T09:12:58.000Z | 2021-12-18T09:12:58.000Z | graphene_auto/graphql_auto/id_test.py | ssshier/meta-realize | cc13309fa9e7e59044fb1c8e6e6b0a62caa7ca8c | [
"MIT"
] | null | null | null | graphene_auto/graphql_auto/id_test.py | ssshier/meta-realize | cc13309fa9e7e59044fb1c8e6e6b0a62caa7ca8c | [
"MIT"
] | null | null | null | from graphql_relay import from_global_id, to_global_id
if __name__ == '__main__':
data = from_global_id("VXNlck91dHB1dFR5cGU6MQ==")
print(data)
data = to_global_id('UserOutputType', 1)
print(data)
| 26.75 | 54 | 0.728972 | 28 | 214 | 4.964286 | 0.535714 | 0.230216 | 0.172662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03352 | 0.163551 | 214 | 7 | 55 | 30.571429 | 0.743017 | 0 | 0 | 0.333333 | 0 | 0 | 0.214953 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b82d48b137e4e69567a1f40b18fc175a064beeeb | 283 | py | Python | gitlab_ldap_sync/ldap_connection.py | e5-tu-do/gitlab_ldap_group_sync | c387b880ec2f4143776c5386aae144dc28656017 | [
"MIT"
] | 1 | 2020-03-27T14:46:20.000Z | 2020-03-27T14:46:20.000Z | gitlab_ldap_sync/ldap_connection.py | e5-tu-do/gitlab_ldap_group_sync | c387b880ec2f4143776c5386aae144dc28656017 | [
"MIT"
] | null | null | null | gitlab_ldap_sync/ldap_connection.py | e5-tu-do/gitlab_ldap_group_sync | c387b880ec2f4143776c5386aae144dc28656017 | [
"MIT"
] | null | null | null | import ldap
import os
from .utils import getenvbool
def ldap_connect():
conn = ldap.initialize(os.environ['LDAP_URI'])
if getenvbool('LDAP_STARTTLS'):
conn.start_tls_s()
conn.simple_bind_s(os.getenv('LDAP_BIND_DN'), os.getenv('LDAP_BIND_PW'))
return conn
| 20.214286 | 76 | 0.706714 | 42 | 283 | 4.5 | 0.547619 | 0.084656 | 0.126984 | 0.169312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169611 | 283 | 13 | 77 | 21.769231 | 0.804255 | 0 | 0 | 0 | 0 | 0 | 0.159011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b8403590fbdc37f1114e8762e8a05220997cbad7 | 195 | py | Python | extra/sample.py | xenomorff/code-dot-org-python | 7b35999dc35fa9ca13c683f43eca631dc92e5da4 | [
"Unlicense"
] | null | null | null | extra/sample.py | xenomorff/code-dot-org-python | 7b35999dc35fa9ca13c683f43eca631dc92e5da4 | [
"Unlicense"
] | null | null | null | extra/sample.py | xenomorff/code-dot-org-python | 7b35999dc35fa9ca13c683f43eca631dc92e5da4 | [
"Unlicense"
] | null | null | null | import sys
sys.path.append('..')
import codestudio
artist = codestudio.load('sample')
artist.color= 'random'
for counter in range(4):
# TODO draw one side and turn
pass
artist.check()
| 15 | 34 | 0.697436 | 28 | 195 | 4.857143 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.174359 | 195 | 12 | 35 | 16.25 | 0.838509 | 0.138462 | 0 | 0 | 0 | 0 | 0.084337 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0 | false | 0.125 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b85275d93dada637ff94102723aa8db2adbcead3 | 1,130 | py | Python | dqo/db/clients/fake.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | dqo/db/clients/fake.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | dqo/db/clients/fake.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | import time
from typing import List, Any, Callable
from dqo.db.clients.base import DatabaseClient
from dqo.db.models import Database
class FakeClient(DatabaseClient):
db: Database
execution_time: float
query_timeout_secs: int
def __init__(self, db: Database, execution_time: float = 0, fake_result=No... | 26.904762 | 122 | 0.659292 | 152 | 1,130 | 4.703947 | 0.328947 | 0.109091 | 0.067133 | 0.064336 | 0.078322 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004723 | 0.250442 | 1,130 | 41 | 123 | 27.560976 | 0.839433 | 0 | 0 | 0 | 0 | 0 | 0.00708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0.033333 | 0.133333 | 0.133333 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b8546487a3197807036b03a5a9d569775ea5fe27 | 1,098 | py | Python | importer/migrations/0007_auto_20180917_1654.py | juliecentofanti172/juliecentofanti.github.io | 446ea8522b9f4a6709124ebb6e0f675acf7fe205 | [
"CC0-1.0"
] | 134 | 2018-05-23T14:00:29.000Z | 2022-03-10T15:47:53.000Z | importer/migrations/0007_auto_20180917_1654.py | ptrourke/concordia | 56ff364dbf38cb8a763df489479821fe43b76d69 | [
"CC0-1.0"
] | 1,104 | 2018-05-22T20:18:22.000Z | 2022-03-31T17:28:40.000Z | importer/migrations/0007_auto_20180917_1654.py | ptrourke/concordia | 56ff364dbf38cb8a763df489479821fe43b76d69 | [
"CC0-1.0"
] | 32 | 2018-05-22T20:22:38.000Z | 2021-12-21T14:11:44.000Z | # Generated by Django 2.0.8 on 2018-09-17 16:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("importer", "0006_auto_20180912_0229")]
operations = [
migrations.AlterField(
model_name="campaignitemassetcount",
name="campaign_... | 29.675676 | 60 | 0.599271 | 100 | 1,098 | 6.39 | 0.43 | 0.156495 | 0.195618 | 0.226917 | 0.633803 | 0.633803 | 0.486698 | 0.383412 | 0.383412 | 0.28482 | 0 | 0.055627 | 0.295993 | 1,098 | 36 | 61 | 30.5 | 0.771022 | 0.040984 | 0 | 0.533333 | 1 | 0 | 0.193149 | 0.065652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.166667 | 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 |
b87e6c0d0ddadc16d9ac647a5355aec4968c1fa4 | 258 | py | Python | external/testDjangoSite/testCron/cron.py | Ueda-Ichitaka/workflowPSE | 208799b04713c11ad4cd0a42ff5d94ba45498856 | [
"MIT"
] | null | null | null | external/testDjangoSite/testCron/cron.py | Ueda-Ichitaka/workflowPSE | 208799b04713c11ad4cd0a42ff5d94ba45498856 | [
"MIT"
] | 4 | 2022-02-14T10:19:59.000Z | 2022-03-02T02:45:58.000Z | external/testDjangoSite/testCron/cron.py | Ueda-Ichitaka/workflowPSE | 208799b04713c11ad4cd0a42ff5d94ba45498856 | [
"MIT"
] | null | null | null | from django_crontab import crontab
from pywps import Process
import os
import random
import time
def firstCrontabTask():
for i in range(1, 12):
os.mkdir('/home/paradigmen/C/' + str(random.randrange(1, 100)) + '/')
time.sleep(5)
pass | 21.5 | 77 | 0.674419 | 37 | 258 | 4.675676 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.209302 | 258 | 12 | 78 | 21.5 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.07722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.5 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
b88974368cd344c28854339c0954e6dec9940c37 | 93 | py | Python | src/highlight_ranges/version.py | sixty-north/highlight-ranges | e8bd2b959503e64d3ed0f3ffc05c38bd602451e6 | [
"MIT"
] | null | null | null | src/highlight_ranges/version.py | sixty-north/highlight-ranges | e8bd2b959503e64d3ed0f3ffc05c38bd602451e6 | [
"MIT"
] | 3 | 2018-12-15T15:43:31.000Z | 2018-12-16T18:12:56.000Z | src/highlight_ranges/version.py | sixty-north/highlight-ranges | e8bd2b959503e64d3ed0f3ffc05c38bd602451e6 | [
"MIT"
] | null | null | null | """Version info.
"""
__version__ = "1.0.0"
__version_info__ = tuple(__version__.split('.'))
| 15.5 | 48 | 0.666667 | 11 | 93 | 4.454545 | 0.545455 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.107527 | 93 | 5 | 49 | 18.6 | 0.554217 | 0.139785 | 0 | 0 | 0 | 0 | 0.082192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
b89713c1caff6d0c61ba60d538a7ca892102dcbd | 50 | py | Python | PythonToJavascriptForTests/__init__.py | stoogoff/python-to-javascript | 4349b09b15ada544501e7091c7ff1574487e7598 | [
"MIT"
] | 1 | 2021-11-19T09:56:41.000Z | 2021-11-19T09:56:41.000Z | PythonToJavascriptForTests/__init__.py | stoogoff/python-to-javascript | 4349b09b15ada544501e7091c7ff1574487e7598 | [
"MIT"
] | 2 | 2022-02-25T23:11:27.000Z | 2022-03-04T10:22:14.000Z | PythonToJavascriptForTests/__init__.py | stoogoff/python-to-javascript | 4349b09b15ada544501e7091c7ff1574487e7598 | [
"MIT"
] | 4 | 2021-05-06T19:03:19.000Z | 2022-03-06T13:52:30.000Z | # calver 0Y.0M.0D format
__version__ = '21.05.05'
| 16.666667 | 24 | 0.7 | 9 | 50 | 3.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 0.14 | 50 | 2 | 25 | 25 | 0.511628 | 0.44 | 0 | 0 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 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 |
b8af14e68a6b36d9b35f3931d0fdbecbceadcea0 | 779 | py | Python | PyTrinamicMicro/platforms/motionpy1/connections/mcp23s08_ic_interface.py | trinamic/PyTrinamicMicro | defcd1aef2ea35e848b3a3faf201ec4d8a649bfd | [
"MIT"
] | 4 | 2020-06-25T08:59:59.000Z | 2021-07-17T09:52:38.000Z | PyTrinamicMicro/platforms/motionpy1/connections/mcp23s08_ic_interface.py | trinamic/PyTrinamicMicro | defcd1aef2ea35e848b3a3faf201ec4d8a649bfd | [
"MIT"
] | 2 | 2020-10-08T15:48:07.000Z | 2021-05-12T13:28:27.000Z | PyTrinamicMicro/platforms/motionpy1/connections/mcp23s08_ic_interface.py | trinamic/PyTrinamicMicro | defcd1aef2ea35e848b3a3faf201ec4d8a649bfd | [
"MIT"
] | 3 | 2021-01-26T09:24:28.000Z | 2021-04-27T08:42:38.000Z | '''
Created on 05.10.2020
@author: LK
'''
from PyTrinamicMicro.platforms.motionpy1.modules.MCP23S08 import MCP23S08
class mcp23s08_ic_interface(object):
def __init__(self, mcp23s08, spi=SPI(1, SPI.MASTER, baudrate=10000, polarity=1, phase=1), cs=4):
self.__spi = spi
self.__cs = cs
self._... | 27.821429 | 100 | 0.672657 | 112 | 779 | 4.214286 | 0.330357 | 0.20339 | 0.190678 | 0.201271 | 0.423729 | 0.423729 | 0.423729 | 0.408898 | 0.408898 | 0.269068 | 0 | 0.116317 | 0.205392 | 779 | 27 | 101 | 28.851852 | 0.646204 | 0.043646 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.3125 | 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 |
b8b5b1edfbc1d789875d3e965cc530c994e53bc7 | 158 | py | Python | IMDb/main/urls.py | ReAlex1902/IMDb_reviews_classification | a52f0bd8307c7f037ee8d67fe03aa4e185c7ffb4 | [
"MIT"
] | 1 | 2020-08-02T13:11:00.000Z | 2020-08-02T13:11:00.000Z | IMDb/main/urls.py | ReAlex1902/IMDb_reviews_classification | a52f0bd8307c7f037ee8d67fe03aa4e185c7ffb4 | [
"MIT"
] | null | null | null | IMDb/main/urls.py | ReAlex1902/IMDb_reviews_classification | a52f0bd8307c7f037ee8d67fe03aa4e185c7ffb4 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('rating', views.rating, name='rating'),
]
| 19.75 | 48 | 0.658228 | 20 | 158 | 5.2 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170886 | 158 | 7 | 49 | 22.571429 | 0.793893 | 0 | 0 | 0 | 0 | 0 | 0.107595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b8c2a493523cda6b648e3d0a73bf74c8d2fb6d45 | 396 | py | Python | cerebro/sources/__init__.py | sdss/cerebro | ecddfe8da8aa4293c32e2bf9985e6e0277d94907 | [
"BSD-3-Clause"
] | null | null | null | cerebro/sources/__init__.py | sdss/cerebro | ecddfe8da8aa4293c32e2bf9985e6e0277d94907 | [
"BSD-3-Clause"
] | 10 | 2021-04-27T19:59:57.000Z | 2022-03-29T15:32:33.000Z | cerebro/sources/__init__.py | sdss/cerebro | ecddfe8da8aa4293c32e2bf9985e6e0277d94907 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: José Sánchez-Gallego (gallegoj@uw.edu)
# @Date: 2020-08-05
# @Filename: __init__.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
from .AMQP import AMQPSource
from .drift import DriftSource
from .lvm import GoveeSource
from .source... | 28.285714 | 74 | 0.744949 | 57 | 396 | 5.070175 | 0.77193 | 0.027682 | 0.069204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031519 | 0.118687 | 396 | 13 | 75 | 30.461538 | 0.796562 | 0.515152 | 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 |
b21b159ee2ae4f01f9a371112869fb4eb9f3f41e | 205 | py | Python | dxl2/__init__.py | vivekjagannath/dxl2 | d6562d9ec9ddfe1934ffe6b0ef00919d2f5dfd75 | [
"MIT"
] | 1 | 2020-08-04T09:32:17.000Z | 2020-08-04T09:32:17.000Z | dxl2/__init__.py | xrisk/dxl2 | 0224f979ad19fa91753dd968a7a557c4ff1fec75 | [
"MIT"
] | null | null | null | dxl2/__init__.py | xrisk/dxl2 | 0224f979ad19fa91753dd968a7a557c4ff1fec75 | [
"MIT"
] | 4 | 2019-02-27T13:07:00.000Z | 2019-03-13T12:33:15.000Z | from .motor import Motor, MotorType
from .connection import Connection
from .motor_chain import MotorChain
from .register import Instruction
__all__ = ["Motor", "Connection", "MotorChain", "Instruction"]
| 29.285714 | 62 | 0.790244 | 23 | 205 | 6.826087 | 0.434783 | 0.11465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117073 | 205 | 6 | 63 | 34.166667 | 0.867403 | 0 | 0 | 0 | 0 | 0 | 0.17561 | 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 |
b224f76854790bc11f70ffb738b4d15331f1608e | 860 | py | Python | setup.py | cognizer/trakt4vlc-runner | e4074cf6d6226116821d7f0e3d988e86af535dc7 | [
"WTFPL"
] | null | null | null | setup.py | cognizer/trakt4vlc-runner | e4074cf6d6226116821d7f0e3d988e86af535dc7 | [
"WTFPL"
] | null | null | null | setup.py | cognizer/trakt4vlc-runner | e4074cf6d6226116821d7f0e3d988e86af535dc7 | [
"WTFPL"
] | null | null | null |
from setuptools import setup
setup(
name='trakt4vlc-runner',
version='1.3.0rc2',
description='Easy installer for TraktForVLC.',
long_description='Easy installer for TraktForVLC.',
author='Cognizer',
author_email='cognizer@users.noply.github.com',
url='http://example.org',
py_modules ... | 25.294118 | 55 | 0.638372 | 88 | 860 | 6 | 0.590909 | 0.255682 | 0.318182 | 0.102273 | 0.143939 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037369 | 0.222093 | 860 | 33 | 56 | 26.060606 | 0.751868 | 0 | 0 | 0.068966 | 0 | 0 | 0.496504 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.034483 | 0 | 0.034483 | 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 |
b22d497247cd3488c9b4a0c26d739651328f65c5 | 1,247 | py | Python | organizations_ext/serializers/base_serializers.py | rh-cssre/glitchtip-backend | ae12fbd54532cff5fd3d7a72631ba18625bbf1de | [
"MIT"
] | null | null | null | organizations_ext/serializers/base_serializers.py | rh-cssre/glitchtip-backend | ae12fbd54532cff5fd3d7a72631ba18625bbf1de | [
"MIT"
] | null | null | null | organizations_ext/serializers/base_serializers.py | rh-cssre/glitchtip-backend | ae12fbd54532cff5fd3d7a72631ba18625bbf1de | [
"MIT"
] | null | null | null | from rest_framework import serializers
from ..models import Organization
class OrganizationReferenceSerializer(serializers.ModelSerializer):
dateCreated = serializers.DateTimeField(source="created", read_only=True)
status = serializers.SerializerMethodField()
avatar = serializers.SerializerMethodField()
... | 27.711111 | 77 | 0.627105 | 104 | 1,247 | 7.413462 | 0.461538 | 0.207523 | 0.084306 | 0.046693 | 0.062257 | 0.062257 | 0 | 0 | 0 | 0 | 0 | 0.003311 | 0.273456 | 1,247 | 44 | 78 | 28.340909 | 0.847682 | 0.027265 | 0 | 0.057143 | 0 | 0 | 0.103306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.057143 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b233affeb41d57348ff8929ebd1914358e4706b2 | 1,614 | py | Python | Modulo6/Sistema_ArquivosManipulacao.py | AlexandrePeBrito/CursoUdemyPython | 3de58cb30c9f333b32078309847179ff3f9d7e22 | [
"MIT"
] | null | null | null | Modulo6/Sistema_ArquivosManipulacao.py | AlexandrePeBrito/CursoUdemyPython | 3de58cb30c9f333b32078309847179ff3f9d7e22 | [
"MIT"
] | null | null | null | Modulo6/Sistema_ArquivosManipulacao.py | AlexandrePeBrito/CursoUdemyPython | 3de58cb30c9f333b32078309847179ff3f9d7e22 | [
"MIT"
] | null | null | null | # Sistema de Arquivos - Manipulação
import os
#Descobrindo se um direitorio ou arquivo existe
""" print(os.path.exists('CursoUdemyPython'))
print(os.path.exists('test.txt')) #Não existe na pasta GitHub, esta dentro da aba do curso udemy
print(os.path.exists('CursoUdemyPython\\Modulo6\\test.txt')) ... | 35.086957 | 119 | 0.713135 | 203 | 1,614 | 5.665025 | 0.492611 | 0.018261 | 0.028696 | 0.044348 | 0.238261 | 0.067826 | 0.067826 | 0.067826 | 0 | 0 | 0 | 0.005287 | 0.179678 | 1,614 | 45 | 120 | 35.866667 | 0.863293 | 0.048947 | 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 |
b242f62780bf12af5574c021f2e45cd399f85ec9 | 756 | py | Python | kw_tests/common_class.py | alex-kalanis/upload-per-partes | 639df2df326c9b8231acef4cd5fc001d6395b71b | [
"BSD-3-Clause"
] | null | null | null | kw_tests/common_class.py | alex-kalanis/upload-per-partes | 639df2df326c9b8231acef4cd5fc001d6395b71b | [
"BSD-3-Clause"
] | null | null | null | kw_tests/common_class.py | alex-kalanis/upload-per-partes | 639df2df326c9b8231acef4cd5fc001d6395b71b | [
"BSD-3-Clause"
] | null | null | null | import os
import unittest
from kw_upload.info_format import DataPack
class CommonTestClass(unittest.TestCase):
def _mock_test_file(self) -> str:
return self._get_test_dir() + 'testing.partial'
def _mock_shared_key(self) -> str:
return 'driver.partial'
def _get_test_dir(self) -> str:
... | 26.068966 | 94 | 0.599206 | 92 | 756 | 4.586957 | 0.445652 | 0.066351 | 0.123223 | 0.07109 | 0.315166 | 0.246446 | 0.246446 | 0.246446 | 0.246446 | 0.246446 | 0 | 0.019928 | 0.269841 | 756 | 28 | 95 | 27 | 0.744565 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 0.041005 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.142857 | 0.238095 | 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 |
b25a6ee326276c9ccf212aa0b9ca1a1fe571fe3e | 166 | py | Python | dbert/generate/gen_run.py | samsucik/d-bert | 2e3bf66e18388d78ef2d2a4ca42206b6b5ee7920 | [
"MIT"
] | 29 | 2019-10-15T21:01:52.000Z | 2022-03-29T08:10:44.000Z | dbert/generate/gen_run.py | samsucik/d-bert | 2e3bf66e18388d78ef2d2a4ca42206b6b5ee7920 | [
"MIT"
] | null | null | null | dbert/generate/gen_run.py | samsucik/d-bert | 2e3bf66e18388d78ef2d2a4ca42206b6b5ee7920 | [
"MIT"
] | 13 | 2019-10-14T09:54:32.000Z | 2021-05-24T15:28:13.000Z | import sys
init_seed = int(sys.argv[2])
for x in range(int(sys.argv[1])):
l = x % 2
print(f'./{sys.argv[3]} {l} {init_seed} {x % 8} &')
init_seed += 1
| 16.6 | 55 | 0.542169 | 32 | 166 | 2.71875 | 0.53125 | 0.275862 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0.23494 | 166 | 9 | 56 | 18.444444 | 0.637795 | 0 | 0 | 0 | 0 | 0 | 0.248485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
b264cf961e5e330c7184d1b9d2f094e54089b466 | 389 | py | Python | knockoff/sdk/factory/next_strategy/table.py | Nike-Inc/knockoff-factory | 1567a46e5eaa3fe1bdf989ef5253f9ee0dbd69b3 | [
"Apache-2.0"
] | 26 | 2021-07-08T20:13:12.000Z | 2022-03-27T21:08:38.000Z | knockoff/sdk/factory/next_strategy/table.py | Nike-Inc/knockoff-factory | 1567a46e5eaa3fe1bdf989ef5253f9ee0dbd69b3 | [
"Apache-2.0"
] | 8 | 2021-07-12T20:20:49.000Z | 2021-09-11T20:49:40.000Z | knockoff/sdk/factory/next_strategy/table.py | Nike-Inc/knockoff-factory | 1567a46e5eaa3fe1bdf989ef5253f9ee0dbd69b3 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021-present, Nike, Inc.
# All rights reserved.
#
# This source code is licensed under the Apache-2.0 license found in
# the LICENSE file in the root directory of this source tree.
from .df import sample_df, cycle_df_factory
def sample_table(table, **kwargs):
return sample_df(table.df, **kwargs)
d... | 22.882353 | 68 | 0.753213 | 62 | 389 | 4.580645 | 0.580645 | 0.070423 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.161954 | 389 | 16 | 69 | 24.3125 | 0.852761 | 0.467866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 |
b270b817aa9839862b320c7a04831b6c4be4ff86 | 3,108 | py | Python | j5basic/test_EnumClass.py | rorygrandin/j5basic | 499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349 | [
"Apache-2.0"
] | null | null | null | j5basic/test_EnumClass.py | rorygrandin/j5basic | 499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349 | [
"Apache-2.0"
] | 5 | 2019-05-27T07:10:43.000Z | 2020-06-18T06:57:54.000Z | j5basic/test_EnumClass.py | rorygrandin/j5basic | 499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349 | [
"Apache-2.0"
] | 4 | 2015-08-27T10:28:19.000Z | 2020-04-17T13:31:18.000Z | #!/usr/bin/env python
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from future import standard_library
standard_library.install_aliases()
from past.builtins import basestring
from builtins import *
from builtins imp... | 39.846154 | 102 | 0.687902 | 377 | 3,108 | 5.538462 | 0.27321 | 0.051724 | 0.038314 | 0.059866 | 0.483238 | 0.39272 | 0.283525 | 0.283525 | 0.238506 | 0.238506 | 0 | 0.006913 | 0.208816 | 3,108 | 77 | 103 | 40.363636 | 0.842212 | 0.193694 | 0 | 0.150943 | 0 | 0 | 0.154912 | 0 | 0 | 0 | 0 | 0.012987 | 0.471698 | 1 | 0.150943 | false | 0 | 0.188679 | 0 | 0.509434 | 0.018868 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b27635203d0899f5af171d445492cc5a74383def | 178 | py | Python | problem0455.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0455.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0455.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #455 Powers With Trailing Digits - Project Euler
# https://projecteuler.net/problem=455
#
# Code by Kevin Marciniak
#
###########################
| 19.777778 | 50 | 0.5 | 16 | 178 | 5.5625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.117978 | 178 | 8 | 51 | 22.25 | 0.528662 | 0.606742 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b27fe3aff27ce82b709160b298f2f2bb00078009 | 411 | py | Python | basics01/repfields.py | DevAnuragGarg/Python-Learning-Basics | 2c58c82ba79bf2c7c3317628222554133dd50713 | [
"Apache-2.0"
] | 1 | 2020-06-09T09:49:02.000Z | 2020-06-09T09:49:02.000Z | basics01/repfields.py | DevAnuragGarg/Python-Learning-Basics | 2c58c82ba79bf2c7c3317628222554133dd50713 | [
"Apache-2.0"
] | null | null | null | basics01/repfields.py | DevAnuragGarg/Python-Learning-Basics | 2c58c82ba79bf2c7c3317628222554133dd50713 | [
"Apache-2.0"
] | null | null | null | age = 24
# print("My age is " + 3), you can't concatenate string with int
print("My age is " + str(age) + " years") # you can use str to convert anything to string
print("My age is {0} years".format(age))
print(
"There are {0} days in {1}, {2}, {3}, {4}, {5}, {6}, {7}".format(31, "January", "March", "May", "Jul", ... | 51.375 | 120 | 0.481752 | 60 | 411 | 3.3 | 0.65 | 0.106061 | 0.151515 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050542 | 0.326034 | 411 | 7 | 121 | 58.714286 | 0.66426 | 0.262774 | 0 | 0 | 0 | 0.166667 | 0.39 | 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 |
b288f36bd7840dfe42c16a4de9d2a28f621dc3ea | 304 | py | Python | hackerrank/sets/check_subset.py | alex-d-bondarev/learn-python | b119cb1e09a57e93abc73383c014cc8ceba18acf | [
"MIT"
] | null | null | null | hackerrank/sets/check_subset.py | alex-d-bondarev/learn-python | b119cb1e09a57e93abc73383c014cc8ceba18acf | [
"MIT"
] | null | null | null | hackerrank/sets/check_subset.py | alex-d-bondarev/learn-python | b119cb1e09a57e93abc73383c014cc8ceba18acf | [
"MIT"
] | null | null | null | if __name__ == '__main__':
test_cases_amount = int(input())
for _ in range(test_cases_amount):
a_set_size = int(input())
a_set = set(map(int, input().split()))
b_set_size = int(input())
b_set = set(map(int, input().split()))
print(a_set.issubset(b_set))
| 27.636364 | 46 | 0.585526 | 44 | 304 | 3.568182 | 0.431818 | 0.254777 | 0.191083 | 0.191083 | 0.280255 | 0.280255 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 304 | 10 | 47 | 30.4 | 0.688596 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 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 |
b28d32e278be9aadd50eb63cfba62b605f596323 | 99 | py | Python | xplenty/__init__.py | sneils/xplenty.py | c4fbb96ef5ac51f5f242c00576bcbf8c438adcde | [
"MIT"
] | 2 | 2017-06-27T03:16:50.000Z | 2019-04-03T15:46:18.000Z | xplenty/__init__.py | sneils/xplenty.py | c4fbb96ef5ac51f5f242c00576bcbf8c438adcde | [
"MIT"
] | 21 | 2015-06-22T22:07:04.000Z | 2021-01-28T04:58:54.000Z | xplenty/__init__.py | sneils/xplenty.py | c4fbb96ef5ac51f5f242c00576bcbf8c438adcde | [
"MIT"
] | 9 | 2015-01-28T16:40:21.000Z | 2021-01-18T16:46:34.000Z | from .xplenty_api import (
Cluster, Job, AccountLimits,
XplentyClient, Package, Schedule
)
| 19.8 | 36 | 0.727273 | 10 | 99 | 7.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 99 | 4 | 37 | 24.75 | 0.8875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2ad5dffa9517a0d5cd9b85d95bf2cbf01c9f509 | 611 | py | Python | src/olympia/addons/migrations/0008_auto_20200604_0928.py | shashwatsingh/addons-server | 8fce98901104349055a828b5a47865f5e8f4120b | [
"BSD-3-Clause"
] | 843 | 2016-02-09T13:00:37.000Z | 2022-03-20T19:17:06.000Z | src/olympia/addons/migrations/0008_auto_20200604_0928.py | shashwatsingh/addons-server | 8fce98901104349055a828b5a47865f5e8f4120b | [
"BSD-3-Clause"
] | 10,187 | 2016-02-05T23:51:05.000Z | 2022-03-31T15:24:44.000Z | src/olympia/addons/migrations/0008_auto_20200604_0928.py | shashwatsingh/addons-server | 8fce98901104349055a828b5a47865f5e8f4120b | [
"BSD-3-Clause"
] | 551 | 2016-02-08T20:32:16.000Z | 2022-03-15T16:49:24.000Z | # Generated by Django 2.2.12 on 2020-06-04 09:28
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('addons', '0007_addonreviewerflags_notified_about_auto_approval_delay'),
]
operations = [
migrations.RemoveIndex(
model_name='addoncateg... | 23.5 | 81 | 0.597381 | 55 | 611 | 6.418182 | 0.654545 | 0.076487 | 0.186969 | 0.220963 | 0.399433 | 0.305949 | 0.305949 | 0 | 0 | 0 | 0 | 0.046948 | 0.302782 | 611 | 25 | 82 | 24.44 | 0.78169 | 0.075286 | 0 | 0.421053 | 1 | 0 | 0.25222 | 0.10302 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 |
a22d2bb2544b33eb5fa7f2fb57a84fe75aa8207e | 161 | py | Python | src/dummy/toga_dummy/documents.py | luizoti/toga | 3c49e685f325f1aba2ce048b253402d7e4519f97 | [
"BSD-3-Clause"
] | 1,261 | 2019-03-31T16:28:47.000Z | 2022-03-31T09:01:23.000Z | src/dummy/toga_dummy/documents.py | luizoti/toga | 3c49e685f325f1aba2ce048b253402d7e4519f97 | [
"BSD-3-Clause"
] | 597 | 2019-04-02T20:02:42.000Z | 2022-03-30T10:28:47.000Z | src/dummy/toga_dummy/documents.py | luizoti/toga | 3c49e685f325f1aba2ce048b253402d7e4519f97 | [
"BSD-3-Clause"
] | 318 | 2019-03-31T18:32:00.000Z | 2022-03-30T18:07:13.000Z | from .utils import LoggedObject
class Document(LoggedObject):
def __init__(self, interface):
super().__init__()
self.interface = interface
| 20.125 | 34 | 0.689441 | 16 | 161 | 6.4375 | 0.6875 | 0.15534 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 161 | 7 | 35 | 23 | 0.81746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 |
a238b07c3e5a547a219195e55e6f07b20a5ffe1e | 576 | py | Python | cirq/sim/clifford/__init__.py | satw1knandala/Cirq | ca307cd7ffdd2e8659c84c484788c8b5d15cc09d | [
"Apache-2.0"
] | null | null | null | cirq/sim/clifford/__init__.py | satw1knandala/Cirq | ca307cd7ffdd2e8659c84c484788c8b5d15cc09d | [
"Apache-2.0"
] | null | null | null | cirq/sim/clifford/__init__.py | satw1knandala/Cirq | ca307cd7ffdd2e8659c84c484788c8b5d15cc09d | [
"Apache-2.0"
] | null | null | null | from cirq.sim.clifford.clifford_simulator import (
CliffordSimulator,
CliffordState,
CliffordTrialResult,
CliffordSimulatorStepResult,
)
from cirq.sim.clifford.clifford_tableau import (
CliffordTableau,)
from cirq.sim.clifford.act_on_clifford_tableau_args import (
ActOnCliffordTableauArgs,)
f... | 26.181818 | 62 | 0.802083 | 60 | 576 | 7.45 | 0.4 | 0.107383 | 0.147651 | 0.255034 | 0.357942 | 0.107383 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130208 | 576 | 21 | 63 | 27.428571 | 0.892216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a26129ea79e759fe6f241d4d73ec2ed7eb9b8820 | 281 | py | Python | ciman/registry/manifest.py | joaompinto/ciman | ff52be0fe6509208e720c51d9416641153a0a4dc | [
"MIT"
] | null | null | null | ciman/registry/manifest.py | joaompinto/ciman | ff52be0fe6509208e720c51d9416641153a0a4dc | [
"MIT"
] | null | null | null | ciman/registry/manifest.py | joaompinto/ciman | ff52be0fe6509208e720c51d9416641153a0a4dc | [
"MIT"
] | null | null | null | from . import specs
class DockerManifest:
def __init__(self, docker_registry, manifest_json: dict, expand_config: bool):
assert manifest_json["schemaVersion"] == 2 # Support only v2 Schemas
assert manifest_json["mediaType"] == specs.Manifests.DOCKER_DIST_V2
| 35.125 | 82 | 0.736655 | 34 | 281 | 5.764706 | 0.764706 | 0.183673 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012931 | 0.174377 | 281 | 7 | 83 | 40.142857 | 0.831897 | 0.081851 | 0 | 0 | 0 | 0 | 0.085938 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a284fac9c8c24f54e6c9ffb56f9a9fe127b67848 | 80 | py | Python | hwilib/devices/trezorlib/messages/WordRequestType.py | tomatoskittles/HWI | ccb55228a80725ff85b96d55874acc688320b30b | [
"MIT"
] | 9 | 2019-04-23T01:10:28.000Z | 2022-02-21T02:25:06.000Z | hwilib/devices/trezorlib/messages/WordRequestType.py | tomatoskittles/HWI | ccb55228a80725ff85b96d55874acc688320b30b | [
"MIT"
] | 2 | 2020-07-27T10:05:36.000Z | 2020-12-01T11:46:20.000Z | hwilib/devices/trezorlib/messages/WordRequestType.py | tomatoskittles/HWI | ccb55228a80725ff85b96d55874acc688320b30b | [
"MIT"
] | 2 | 2020-02-17T15:32:29.000Z | 2020-06-18T15:13:16.000Z | # Automatically generated by pb2py
# fmt: off
Plain = 0
Matrix9 = 1
Matrix6 = 2
| 13.333333 | 34 | 0.7125 | 12 | 80 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.2125 | 80 | 5 | 35 | 16 | 0.809524 | 0.5125 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
a288036be12582caf1cc6a9396fdd16498a4946e | 73 | py | Python | tools/HackRF/tools/sgpio_debug/create_tx_counter.py | Charmve/BLE-Security-Att-Def | 3652d84bf4ac0c694bb3c4c0f611098da9122af0 | [
"BSD-2-Clause"
] | 149 | 2020-10-23T23:31:51.000Z | 2022-03-15T00:25:35.000Z | tools/HackRF/tools/sgpio_debug/create_tx_counter.py | Charmve/BLE-Security-Att-Def | 3652d84bf4ac0c694bb3c4c0f611098da9122af0 | [
"BSD-2-Clause"
] | 1 | 2021-04-12T19:24:00.000Z | 2021-04-27T03:11:07.000Z | tools/HackRF/tools/sgpio_debug/create_tx_counter.py | Charmve/BLE-Security-Att-Def | 3652d84bf4ac0c694bb3c4c0f611098da9122af0 | [
"BSD-2-Clause"
] | 22 | 2020-11-17T02:52:40.000Z | 2022-03-15T00:26:38.000Z | with open('tx_counter.bin', 'wb') as f:
f.write(bytes(range(256))*1000)
| 24.333333 | 39 | 0.671233 | 14 | 73 | 3.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 0.09589 | 73 | 2 | 40 | 36.5 | 0.621212 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a29c40ecff84e4f21b55ac7bbeb4ffbf9bc80190 | 1,909 | py | Python | app/models.py | Alikhalid2020/blog-post | 94e69ecba2b9c8ed36c2908289c77670ae4360b3 | [
"MIT"
] | 1 | 2021-01-27T22:14:53.000Z | 2021-01-27T22:14:53.000Z | app/models.py | Alikhalid2020/blog-post | 94e69ecba2b9c8ed36c2908289c77670ae4360b3 | [
"MIT"
] | null | null | null | app/models.py | Alikhalid2020/blog-post | 94e69ecba2b9c8ed36c2908289c77670ae4360b3 | [
"MIT"
] | null | null | null | from . import db
from werkzeug.security import generate_password_hash,check_password_hash
from flask_login import UserMixin
from .import login_manager
from datetime import datetime
@login_manager.user_loader
def load_user(user_id):
return User.query.get(int(user_id))
class User(UserMixin,db.Model):
__tablenam... | 25.797297 | 72 | 0.704557 | 267 | 1,909 | 4.842697 | 0.29588 | 0.105182 | 0.131477 | 0.136118 | 0.2529 | 0.137664 | 0.102088 | 0.102088 | 0 | 0 | 0 | 0.011371 | 0.17077 | 1,909 | 73 | 73 | 26.150685 | 0.805433 | 0 | 0 | 0.074074 | 1 | 0 | 0.033525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148148 | false | 0.148148 | 0.092593 | 0.055556 | 0.796296 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a2ad1176117360d0becfa7b5ca0c9275e03c0511 | 1,052 | py | Python | qmhub/atomtools/mmatoms.py | QCMM/dynqmprop | 0f668072f623a2f5f209ab715bc264a83926309b | [
"MIT"
] | null | null | null | qmhub/atomtools/mmatoms.py | QCMM/dynqmprop | 0f668072f623a2f5f209ab715bc264a83926309b | [
"MIT"
] | null | null | null | qmhub/atomtools/mmatoms.py | QCMM/dynqmprop | 0f668072f623a2f5f209ab715bc264a83926309b | [
"MIT"
] | null | null | null | import numpy as np
from .atombase import AtomBase
from ..electools import ElecQMMM
class MMAtoms(AtomBase):
"""Class to hold MM atoms."""
def __init__(self, x, y, z, charge, index, orig_charge, qm_atoms):
super(MMAtoms, self).__init__(x, y, z, charge, index)
self._elec = ElecQMMM(self, qm_... | 25.658537 | 70 | 0.678707 | 147 | 1,052 | 4.517007 | 0.29932 | 0.090361 | 0.063253 | 0.076807 | 0.362952 | 0.212349 | 0.081325 | 0 | 0 | 0 | 0 | 0 | 0.218631 | 1,052 | 40 | 71 | 26.3 | 0.807786 | 0.052281 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.12 | 0.12 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a2b6614711d431523c2d7899ebe8c9b1c4013ac5 | 89 | py | Python | allure_test/__init__.py | gmmephisto/allure-steplog-example | 5696ed8bed9c7d13a886db5bdd9438d3cd619fb3 | [
"MIT"
] | null | null | null | allure_test/__init__.py | gmmephisto/allure-steplog-example | 5696ed8bed9c7d13a886db5bdd9438d3cd619fb3 | [
"MIT"
] | null | null | null | allure_test/__init__.py | gmmephisto/allure-steplog-example | 5696ed8bed9c7d13a886db5bdd9438d3cd619fb3 | [
"MIT"
] | null | null | null | import logging
LOG = logging.getLogger(__name__)
def hello():
LOG.info("Hello!")
| 9.888889 | 33 | 0.674157 | 11 | 89 | 5.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 8 | 34 | 11.125 | 0.767123 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a2c0769c01cdf400fe658e5d4a00e9b6961e1f15 | 84 | py | Python | time_series_experiments/baseline/__init__.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | null | null | null | time_series_experiments/baseline/__init__.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | 4 | 2020-10-11T15:14:48.000Z | 2022-02-10T02:28:07.000Z | time_series_experiments/baseline/__init__.py | vikua/time-series-experiments | 2f9d3fa842866c39c8c1a9906c8c5d4870a6f7da | [
"MIT"
] | null | null | null | from .dummy_baseline import LatestNaiveBaseline
__all__ = ["LatestNaiveBaseline"]
| 16.8 | 47 | 0.821429 | 7 | 84 | 9.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 4 | 48 | 21 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0.22619 | 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 |
a2c09f14a728c5885d41823d6726a167ae14643c | 343 | py | Python | lambda/health_package/logger.py | alphagov-mirror/cyber-security-cloudwatch-config | c46421ae59ae50fc31e81e3722a374dd6d96b521 | [
"MIT"
] | 1 | 2020-04-03T08:45:30.000Z | 2020-04-03T08:45:30.000Z | lambda/health_package/logger.py | alphagov-mirror/cyber-security-cloudwatch-config | c46421ae59ae50fc31e81e3722a374dd6d96b521 | [
"MIT"
] | 35 | 2019-11-20T17:10:22.000Z | 2022-02-28T14:49:53.000Z | lambda/health_package/logger.py | alphagov-mirror/cyber-security-cloudwatch-config | c46421ae59ae50fc31e81e3722a374dd6d96b521 | [
"MIT"
] | 3 | 2019-10-25T17:02:49.000Z | 2021-04-10T20:17:50.000Z | """ Define a shared logger instance """
import logging
import os
logging.getLogger("boto3").setLevel(logging.WARNING)
logging.getLogger("botocore").setLevel(logging.WARNING)
logging.getLogger("nose").setLevel(logging.WARNING)
LOG = logging.getLogger("health_monitor")
LOG.setLevel(logging.getLevelName(os.environ.get("... | 31.181818 | 72 | 0.781341 | 42 | 343 | 6.333333 | 0.52381 | 0.240602 | 0.24812 | 0.218045 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003106 | 0.061224 | 343 | 10 | 73 | 34.3 | 0.822981 | 0.090379 | 0 | 0 | 0 | 0 | 0.148026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 |
a2cc6220f964013040125508c5e67f2ff71bd073 | 191 | py | Python | bloodbowl/manager/urls.py | ducklord/blood-bowl-manager | 45f09c43dc03956595a2049bced707782ae8f1d1 | [
"MIT"
] | null | null | null | bloodbowl/manager/urls.py | ducklord/blood-bowl-manager | 45f09c43dc03956595a2049bced707782ae8f1d1 | [
"MIT"
] | null | null | null | bloodbowl/manager/urls.py | ducklord/blood-bowl-manager | 45f09c43dc03956595a2049bced707782ae8f1d1 | [
"MIT"
] | 1 | 2019-01-09T16:49:36.000Z | 2019-01-09T16:49:36.000Z | from django.conf.urls import patterns, url
urlpatterns = patterns('manager.views',
url(r'^$', 'home'),
url(r'^coaches/$', 'coach_page'),
url(r'^coaches/list/$', 'coach_list'),
)
| 23.875 | 42 | 0.628272 | 25 | 191 | 4.72 | 0.64 | 0.101695 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146597 | 191 | 7 | 43 | 27.285714 | 0.723926 | 0 | 0 | 0 | 0 | 0 | 0.335079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
a2db43f9131f8a608b7632151cfbf7bf1899cb78 | 233 | py | Python | os/pdf/convert_image_to_text.py | pydeveloper510/Python | 2e3cf5f9d132fbc6dd8c41a96166b6e879d86e0d | [
"MIT"
] | 3 | 2021-04-23T08:04:14.000Z | 2021-05-08T01:24:08.000Z | os/pdf/convert_image_to_text.py | pydeveloper510/Python | 2e3cf5f9d132fbc6dd8c41a96166b6e879d86e0d | [
"MIT"
] | null | null | null | os/pdf/convert_image_to_text.py | pydeveloper510/Python | 2e3cf5f9d132fbc6dd8c41a96166b6e879d86e0d | [
"MIT"
] | 1 | 2021-05-08T01:24:46.000Z | 2021-05-08T01:24:46.000Z | from PIL import Image
import pytesseract
pytesseract.pytesseract.tesseract_cmd = r"C:\Program Files (x86)\Tesseract-OCR\tesseract.exe"
im = Image.open('images/P_5.png')
text = pytesseract.image_to_string(im, lang='eng')
print(text) | 29.125 | 93 | 0.781116 | 36 | 233 | 4.944444 | 0.722222 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.085837 | 233 | 8 | 94 | 29.125 | 0.821596 | 0 | 0 | 0 | 0 | 0 | 0.286325 | 0.141026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a2fd0176a76fef48450773297e10b1716e9f61ce | 1,588 | py | Python | spiketoolkit/preprocessing/rectify.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | null | null | null | spiketoolkit/preprocessing/rectify.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | 5 | 2019-02-15T20:16:43.000Z | 2019-02-27T14:54:08.000Z | spiketoolkit/preprocessing/rectify.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | 1 | 2019-02-15T14:40:54.000Z | 2019-02-15T14:40:54.000Z | from spikeextractors import RecordingExtractor
import numpy as np
class RectifyRecording(RecordingExtractor):
preprocessor_name = 'Rectify'
installed = True # check at class level if installed or not
preprocessor_gui_params = []
installation_mesg = "" # err
def __init__(self, recording):
... | 29.407407 | 120 | 0.693325 | 184 | 1,588 | 5.695652 | 0.36413 | 0.076336 | 0.061069 | 0.06584 | 0.074427 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000818 | 0.230479 | 1,588 | 53 | 121 | 29.962264 | 0.856792 | 0.236146 | 0 | 0 | 0 | 0 | 0.00604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.068966 | 0.103448 | 0.62069 | 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 |
0c599ca0ce303697eb2ca42f9fbe6c8662f350f8 | 359 | py | Python | src/utils.py | shimech/snkrs-news-bot | 2f7789e9e8fe2bcd5c6d0ea9b1106cd1253e0c41 | [
"MIT"
] | 2 | 2020-11-17T06:46:13.000Z | 2021-02-12T19:51:36.000Z | src/utils.py | shimech/snkrs-news-bot | 2f7789e9e8fe2bcd5c6d0ea9b1106cd1253e0c41 | [
"MIT"
] | 2 | 2021-05-13T11:55:12.000Z | 2021-05-13T11:55:34.000Z | src/utils.py | shimech/snkrs-news-bot | 2f7789e9e8fe2bcd5c6d0ea9b1106cd1253e0c41 | [
"MIT"
] | null | null | null | import os
import datetime
class Utils:
@staticmethod
def get_root_path():
return os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@staticmethod
def make_dir(dirpath):
if not os.path.isdir(dirpath):
os.makedirs(dirpath)
@staticmethod
def get_time_now():
... | 19.944444 | 74 | 0.654596 | 45 | 359 | 5.022222 | 0.511111 | 0.106195 | 0.159292 | 0.132743 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24234 | 359 | 17 | 75 | 21.117647 | 0.830882 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.615385 | 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 |
a746d7fc6c974eda4e3bdd9276ee0c6e3103888e | 63 | py | Python | cleverwrap/__init__.py | linuxdaemon/cleverwrap2 | ca7d7b8db3a0edf8d412915749edc14af60ea7ae | [
"MIT"
] | null | null | null | cleverwrap/__init__.py | linuxdaemon/cleverwrap2 | ca7d7b8db3a0edf8d412915749edc14af60ea7ae | [
"MIT"
] | null | null | null | cleverwrap/__init__.py | linuxdaemon/cleverwrap2 | ca7d7b8db3a0edf8d412915749edc14af60ea7ae | [
"MIT"
] | null | null | null | from .cleverwrap import CleverWrap
__version__ = (0, 2, 3, 2)
| 15.75 | 34 | 0.714286 | 9 | 63 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.174603 | 63 | 3 | 35 | 21 | 0.711538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a751999c0ce0948f1824958ee94cd40f28870da7 | 23 | py | Python | gamepack/equipment/__init__.py | tahir-u/gamepack | 7bda604b29a072b15290b09056b01a1f858b77d9 | [
"MIT"
] | null | null | null | gamepack/equipment/__init__.py | tahir-u/gamepack | 7bda604b29a072b15290b09056b01a1f858b77d9 | [
"MIT"
] | null | null | null | gamepack/equipment/__init__.py | tahir-u/gamepack | 7bda604b29a072b15290b09056b01a1f858b77d9 | [
"MIT"
] | null | null | null | __all__ = ['Equipment'] | 23 | 23 | 0.695652 | 2 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.375 | 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 |
a7627f8eef841082e90aa5c9d763fcb77f399381 | 17,512 | py | Python | eventbrite/access_methods.py | erichilarysmithsr/eventbrite-sdk-python | 56949255f492498eccb2c57314152adbbd38410f | [
"Apache-2.0"
] | null | null | null | eventbrite/access_methods.py | erichilarysmithsr/eventbrite-sdk-python | 56949255f492498eccb2c57314152adbbd38410f | [
"Apache-2.0"
] | null | null | null | eventbrite/access_methods.py | erichilarysmithsr/eventbrite-sdk-python | 56949255f492498eccb2c57314152adbbd38410f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Last Generated: 2015-01-28 13:03:49.956806
This module (access_methods.py) is autogenerated from the Eventbrite API
documentation. Any and all changes to this module must be implemented as
p art of that autogeneration. Therefore, we cannot accept any pull requests,
as the next generation of... | 33.87234 | 198 | 0.596106 | 2,224 | 17,512 | 4.574191 | 0.113309 | 0.050723 | 0.055146 | 0.054949 | 0.614568 | 0.552934 | 0.494053 | 0.398899 | 0.347095 | 0.268652 | 0 | 0.006977 | 0.263419 | 17,512 | 516 | 199 | 33.937985 | 0.781689 | 0.461112 | 0 | 0 | 1 | 0 | 0.155272 | 0.114574 | 0 | 0 | 0 | 0 | 0 | 1 | 0.481481 | false | 0 | 0 | 0 | 0.972222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a77bb66e58fb88c793bf730e4ced14b45ac2d1cf | 172 | py | Python | tests/utility/test_priv_key_generation.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 164 | 2016-04-20T08:30:22.000Z | 2022-01-05T07:43:12.000Z | tests/utility/test_priv_key_generation.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 55 | 2016-06-30T20:06:56.000Z | 2019-12-12T07:36:02.000Z | tests/utility/test_priv_key_generation.py | kanzure/eth-testrpc | cbb22ff2bebc9f12098b0bb7f2a245f3510522b4 | [
"MIT"
] | 46 | 2016-04-27T16:28:46.000Z | 2022-01-09T17:59:09.000Z | from testrpc.client.utils import mk_random_privkey
def test_priv_key_generation():
for i in range(100):
pk = mk_random_privkey()
assert len(pk) == 32
| 21.5 | 50 | 0.686047 | 26 | 172 | 4.269231 | 0.846154 | 0.144144 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037594 | 0.226744 | 172 | 7 | 51 | 24.571429 | 0.796992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a77ef1d164dd623cc968a736913a82323f277a5f | 238 | py | Python | Sorting Algorithms/Bubble Sort.py | ttlgeek/Computer-Science-Study | 3ad70dee0e434d70520e7ecfb412340a5c88df5d | [
"MIT"
] | 1 | 2022-01-20T21:13:52.000Z | 2022-01-20T21:13:52.000Z | Sorting Algorithms/Bubble Sort.py | ttlgeek/Computer-Science-Study | 3ad70dee0e434d70520e7ecfb412340a5c88df5d | [
"MIT"
] | null | null | null | Sorting Algorithms/Bubble Sort.py | ttlgeek/Computer-Science-Study | 3ad70dee0e434d70520e7ecfb412340a5c88df5d | [
"MIT"
] | null | null | null | def bubble_sort(num_list):
swaps = 1
while swaps > 0:
swaps = 0
for i in range(len(num_list) - 1):
if num_list[i] > num_list[i + 1]:
swaps += 1
num_list[i], num_list[i + 1] = num_list[i + 1], num_list[i]
return num_list | 23.8 | 63 | 0.617647 | 47 | 238 | 2.914894 | 0.340426 | 0.459854 | 0.350365 | 0.19708 | 0.372263 | 0.372263 | 0.372263 | 0 | 0 | 0 | 0 | 0.043956 | 0.235294 | 238 | 10 | 64 | 23.8 | 0.708791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.222222 | 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 |
a7b2e6d95358af034260ae7c680e0989c409d6b0 | 372 | py | Python | tools/memory_inspector/memory_inspector/core/exceptions.py | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | tools/memory_inspector/memory_inspector/core/exceptions.py | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | tools/memory_inspector/memory_inspector/core/exceptions.py | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | # Copyright 2014 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.
class MemoryInspectorException(Exception):
"""Base exception class used for all memory inspector related exceptions."""
def __init__(self, value):
su... | 41.333333 | 78 | 0.776882 | 50 | 372 | 5.62 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.150538 | 372 | 8 | 79 | 46.5 | 0.876582 | 0.610215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a7d85e9263e22f73847f2047b2788cd579bf1d20 | 350 | py | Python | Algorithms/Root Algorithms/2nd_Max.py | Ahmad-Fahad/Python | 5a5f8f3395f7085947430b8309f6af70b2e25a77 | [
"Apache-2.0"
] | null | null | null | Algorithms/Root Algorithms/2nd_Max.py | Ahmad-Fahad/Python | 5a5f8f3395f7085947430b8309f6af70b2e25a77 | [
"Apache-2.0"
] | null | null | null | Algorithms/Root Algorithms/2nd_Max.py | Ahmad-Fahad/Python | 5a5f8f3395f7085947430b8309f6af70b2e25a77 | [
"Apache-2.0"
] | null | null | null | lst = [1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,10,10,10,10,10,11,11,11,11,11,13,13,13,13,13, 12]
#lst = [40,32,39,36]
max_1 = lst[0]
max_2 = None
lst.sort()
for i in range(len(lst)):
if max_1<lst[i]:
max_2 = max_1
max_1 = lst[i]
elif max_2 == None or max_2 < lst[i]:
if max_1 != lst[i]:
max_2 = ls... | 18.421053 | 106 | 0.577143 | 98 | 350 | 1.938776 | 0.27551 | 0.126316 | 0.147368 | 0.126316 | 0.147368 | 0.147368 | 0.147368 | 0 | 0 | 0 | 0 | 0.269896 | 0.174286 | 350 | 18 | 107 | 19.444444 | 0.387543 | 0.054286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
38f9ea3a6b874b3eff435dd0feeb0983b71163b6 | 3,282 | py | Python | graphs/clustering.py | williamsmj/prakhar1989-algorithms | 82e64ce9d451b33c1bce64a63276d6341a1f13b0 | [
"WTFPL"
] | 2,797 | 2015-01-01T15:52:13.000Z | 2022-03-28T20:52:37.000Z | graphs/clustering.py | williamsmj/prakhar1989-algorithms | 82e64ce9d451b33c1bce64a63276d6341a1f13b0 | [
"WTFPL"
] | 35 | 2015-01-07T03:11:18.000Z | 2021-06-27T09:09:55.000Z | graphs/clustering.py | williamsmj/prakhar1989-algorithms | 82e64ce9d451b33c1bce64a63276d6341a1f13b0 | [
"WTFPL"
] | 887 | 2015-01-02T06:38:19.000Z | 2022-03-26T20:33:11.000Z | import os, sys
sys.path.append(os.path.join(os.getcwd(), os.path.pardir))
from graph import graph
from union_find.unionfind import UnionFind
data = """1 2 6808
1 3 5250
1 4 74
1 5 3659
1 6 8931
1 7 1273
1 8 7545
1 9 879
1 10 7924
1 11 7710
1 12 4441
1 13 8166
1 14 4493
1 15 3043
1 16 7988
1 17 2504
1 18 2328
1 19 1730... | 13.618257 | 74 | 0.637721 | 779 | 3,282 | 2.641849 | 0.353017 | 0.004859 | 0.02138 | 0.015549 | 0.043732 | 0.043732 | 0.043732 | 0.023324 | 0 | 0 | 0 | 0.587665 | 0.308349 | 3,282 | 240 | 75 | 13.675 | 0.318943 | 0.010664 | 0 | 0.017241 | 0 | 0 | 0.594578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.012931 | null | null | 0.00431 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
38fb2b8531ce96276fa8a9a123651642286e6569 | 1,208 | py | Python | scripts/quest/q25567s.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/quest/q25567s.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/quest/q25567s.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# Quest ID :: 25567
# Killing Time
sm.setSpeakerID(1032208)
sm.sendNext("E-excuse me... You can't just go digging through the books like that...")
sm.setSpeakerID(1032208)
sm.setPlayerAsSpeaker()
sm.sendSay("There is something I need immediately. I must find it before the darkness swallows me w... | 27.454545 | 195 | 0.759934 | 190 | 1,208 | 4.831579 | 0.557895 | 0.122004 | 0.183007 | 0.200436 | 0.359477 | 0.261438 | 0.261438 | 0.152505 | 0.152505 | 0 | 0 | 0.06334 | 0.137417 | 1,208 | 43 | 196 | 28.093023 | 0.817658 | 0.041391 | 0 | 0.608696 | 0 | 0.086957 | 0.561525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac01d988f1d9b6136c5b4922d4b9dad49b65eba5 | 287 | py | Python | hgc/__init__.py | KWR-Water/hgc | cf6f92c28e3f787a653c3e7f4b58ccc33fe36cbf | [
"MIT"
] | 2 | 2019-10-22T13:07:53.000Z | 2020-09-25T10:30:25.000Z | hgc/__init__.py | KWR-Water/hgc | cf6f92c28e3f787a653c3e7f4b58ccc33fe36cbf | [
"MIT"
] | 4 | 2019-10-22T10:51:46.000Z | 2021-02-03T09:58:48.000Z | hgc/__init__.py | KWR-Water/hgc | cf6f92c28e3f787a653c3e7f4b58ccc33fe36cbf | [
"MIT"
] | 1 | 2019-10-18T08:29:54.000Z | 2019-10-18T08:29:54.000Z | # This is necessary so you can use `import hgc` and then
# all dataframes created afterwards are extended with the
# hgc namespace
from hgc.samples_frame import SamplesFrame
name = "hgc"
# allow access to mw and units via a shortcut hgc.mw
from hgc.constants.constants import mw, units | 31.888889 | 57 | 0.783972 | 47 | 287 | 4.765957 | 0.723404 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167247 | 287 | 9 | 58 | 31.888889 | 0.937238 | 0.609756 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ac11d788cb2d02cc55da616e9b0bbd00214011eb | 348 | py | Python | apps/game/serializers.py | SharifAIChallenge/saint-peters-gates | 7b685f3d7a7b789c055a5c401209a3014de89239 | [
"MIT"
] | 2 | 2021-02-22T16:14:30.000Z | 2021-05-07T22:31:45.000Z | apps/game/serializers.py | SharifAIChallenge/saint-peters-gates | 7b685f3d7a7b789c055a5c401209a3014de89239 | [
"MIT"
] | null | null | null | apps/game/serializers.py | SharifAIChallenge/saint-peters-gates | 7b685f3d7a7b789c055a5c401209a3014de89239 | [
"MIT"
] | null | null | null | from rest_framework import serializers
class StringListField(serializers.ListField):
child = serializers.CharField(max_length=256, allow_null=True,
allow_blank=True)
class GameRegisterSerializer(serializers.Serializer):
player_ids = StringListField()
map_id = serializer... | 29 | 66 | 0.729885 | 35 | 348 | 7.057143 | 0.685714 | 0.161943 | 0.186235 | 0.234818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.198276 | 348 | 11 | 67 | 31.636364 | 0.863799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.857143 | 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 |
ac1dc0d4afe39121a0977e2fdd51656968b1b35d | 375 | py | Python | pythreshold/local_th/__init__.py | pedrogalher/pythreshold | 135e42fb4be1ff4d4c52ea05daca84be1acaa0fc | [
"MIT"
] | null | null | null | pythreshold/local_th/__init__.py | pedrogalher/pythreshold | 135e42fb4be1ff4d4c52ea05daca84be1acaa0fc | [
"MIT"
] | null | null | null | pythreshold/local_th/__init__.py | pedrogalher/pythreshold | 135e42fb4be1ff4d4c52ea05daca84be1acaa0fc | [
"MIT"
] | null | null | null | from .sauvola import sauvola_threshold
from .niblack import niblack_threshold
from .wolf import wolf_threshold
from .nick import nick_threshold
from .lmean import lmean_threshold
from .bradley_roth import bradley_roth_threshold
from .bernsen import bernsen_threshold
from .contrast import contrast_threshold
from .singh ... | 37.5 | 48 | 0.869333 | 52 | 375 | 6.038462 | 0.269231 | 0.372611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 375 | 10 | 49 | 37.5 | 0.934524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ac46ddd1f6a058503e8b3d5c0031e5e532265487 | 7,622 | py | Python | pastepwn/actions/tests/savefileaction_test.py | robotboyfriend/pastepwn | ca6dd87afd053b5032857eb0615a947c3b9dfad9 | [
"MIT"
] | 113 | 2018-09-06T22:14:52.000Z | 2022-02-17T01:32:29.000Z | pastepwn/actions/tests/savefileaction_test.py | robotboyfriend/pastepwn | ca6dd87afd053b5032857eb0615a947c3b9dfad9 | [
"MIT"
] | 199 | 2018-09-15T22:17:58.000Z | 2022-01-23T23:45:09.000Z | pastepwn/actions/tests/savefileaction_test.py | robotboyfriend/pastepwn | ca6dd87afd053b5032857eb0615a947c3b9dfad9 | [
"MIT"
] | 88 | 2018-09-09T13:02:06.000Z | 2022-01-23T22:56:09.000Z | # -*- coding: utf-8 -*-
import unittest
from unittest.mock import Mock, patch
from pastepwn.actions.savefileaction import SaveFileAction
class TestSaveFileAction(unittest.TestCase):
def setUp(self):
"""Sets up the test case"""
self.action = SaveFileAction(path="")
self.paste = Mock()
... | 39.087179 | 98 | 0.66413 | 987 | 7,622 | 4.918946 | 0.139818 | 0.072091 | 0.03172 | 0.033368 | 0.791555 | 0.749949 | 0.749949 | 0.69413 | 0.647992 | 0.618126 | 0 | 0.002878 | 0.225138 | 7,622 | 194 | 99 | 39.28866 | 0.819167 | 0.194568 | 0 | 0.452991 | 0 | 0 | 0.143139 | 0.047713 | 0 | 0 | 0 | 0 | 0.290598 | 1 | 0.076923 | false | 0 | 0.025641 | 0.008547 | 0.119658 | 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 |
ac4d648d6b5daadfd84df1ccec7d8adf325dee0a | 1,630 | py | Python | FRMS/datamodels.py | DKuzn/FaceRecognitionService | 04a8f97922aadfe326cd4a31fc1a49e0916bd77f | [
"MIT"
] | null | null | null | FRMS/datamodels.py | DKuzn/FaceRecognitionService | 04a8f97922aadfe326cd4a31fc1a49e0916bd77f | [
"MIT"
] | null | null | null | FRMS/datamodels.py | DKuzn/FaceRecognitionService | 04a8f97922aadfe326cd4a31fc1a49e0916bd77f | [
"MIT"
] | null | null | null | # FRMS/datamodels.py
#
# Copyright (c) 2021 Дмитрий Кузнецов
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mod... | 33.265306 | 80 | 0.745399 | 228 | 1,630 | 5.328947 | 0.557018 | 0.072428 | 0.021399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004556 | 0.192025 | 1,630 | 48 | 81 | 33.958333 | 0.917995 | 0.822699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ac5187118f99f1f0458d3c3b8d287375d0f456ef | 18,101 | py | Python | elf.py | theqlabs/keebler | 79104b03fb6c6d2a4d56d2e9e4546fe3ace934d5 | [
"MIT"
] | null | null | null | elf.py | theqlabs/keebler | 79104b03fb6c6d2a4d56d2e9e4546fe3ace934d5 | [
"MIT"
] | 1 | 2015-06-08T18:15:20.000Z | 2015-06-08T18:15:20.000Z | elf.py | theqlabs/keebler | 79104b03fb6c6d2a4d56d2e9e4546fe3ace934d5 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
__author__ = '@theqlabs'
# Currently a dumb ELF parser (.o, .so and .ko or LKM)
# Elf_Ehdr, Elf_Phdr and Elf_Shdr all defined by methods
#
# References:
# http://www.x86-64.org/documentation/abi.pdf
# http://fluxius.handgrep.se/2011/10/20/the-art-of-elf-analysises-and-exploitations/
# ... | 34.347249 | 143 | 0.571902 | 2,371 | 18,101 | 4.146774 | 0.165331 | 0.06967 | 0.073434 | 0.112083 | 0.410191 | 0.267799 | 0.192941 | 0.114727 | 0.096216 | 0.096216 | 0 | 0.042928 | 0.319209 | 18,101 | 526 | 144 | 34.412548 | 0.75493 | 0.085796 | 0 | 0.177536 | 0 | 0 | 0.089071 | 0 | 0 | 0 | 0.014052 | 0.015209 | 0 | 0 | null | null | 0.065217 | 0.007246 | null | null | 0.018116 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ac78101329e4ec135bdc7241fd0931884d39ecab | 26 | py | Python | src/commands/__init__.py | jalgraves/jalbot | e536985c9e75a348cacbe16c8d64c54ec331f567 | [
"MIT"
] | null | null | null | src/commands/__init__.py | jalgraves/jalbot | e536985c9e75a348cacbe16c8d64c54ec331f567 | [
"MIT"
] | null | null | null | src/commands/__init__.py | jalgraves/jalbot | e536985c9e75a348cacbe16c8d64c54ec331f567 | [
"MIT"
] | null | null | null | __author__ = 'jonnygraves' | 26 | 26 | 0.807692 | 2 | 26 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 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 |
3bab7cfe9644d129385958f2ecca6049e26a5dec | 222 | py | Python | demo.py | KukyNekoi/EMOLCrawler | 92776a277f9373a9b908153577dd9e3e9e409511 | [
"MIT"
] | null | null | null | demo.py | KukyNekoi/EMOLCrawler | 92776a277f9373a9b908153577dd9e3e9e409511 | [
"MIT"
] | null | null | null | demo.py | KukyNekoi/EMOLCrawler | 92776a277f9373a9b908153577dd9e3e9e409511 | [
"MIT"
] | null | null | null | import crawler
main_pages_to_crawl = [
"https://www.emol.com/noticias/Nacional"
]
#using firefox driver as default
dataframe = crawler.crawl_and_pandaize(main_pages_to_crawl, MAX_PAGES_TO_CRAWL=20)
display(dataframe) | 24.666667 | 82 | 0.806306 | 33 | 222 | 5.090909 | 0.69697 | 0.125 | 0.214286 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.099099 | 222 | 9 | 83 | 24.666667 | 0.83 | 0.13964 | 0 | 0 | 0 | 0 | 0.198953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3bd9728a982778193362a2545bc255c9f000fd02 | 9,475 | py | Python | test/api_test.py | whn09/DeepRecommender | a74ccb8be030bd53943fc65e72e26a46e4c434c3 | [
"MIT"
] | null | null | null | test/api_test.py | whn09/DeepRecommender | a74ccb8be030bd53943fc65e72e26a46e4c434c3 | [
"MIT"
] | null | null | null | test/api_test.py | whn09/DeepRecommender | a74ccb8be030bd53943fc65e72e26a46e4c434c3 | [
"MIT"
] | null | null | null | #python3
import requests
import json
import pandas as pd
import os
import time
DATA_ROOT = '/media/henan.wang/workspace/dataset/log_preprocess'
TRAIN = os.path.join(DATA_ROOT, 'train.txt')
EVAL = os.path.join(DATA_ROOT, 'test.txt')
TEST = os.path.join(DATA_ROOT, 'test.txt')
TRAIN_MUID = os.path.join(DATA_ROOT, 'train_... | 38.052209 | 140 | 0.608654 | 1,372 | 9,475 | 3.885569 | 0.122449 | 0.049522 | 0.037141 | 0.02251 | 0.753705 | 0.738323 | 0.700619 | 0.655599 | 0.655599 | 0.647346 | 0 | 0.028169 | 0.243166 | 9,475 | 248 | 141 | 38.205645 | 0.715242 | 0.17277 | 0 | 0.661111 | 0 | 0 | 0.118983 | 0.018355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.072222 | 0.1 | 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 |
3bdf0301e9e3812b18d782287618fe2d422dfba2 | 2,694 | py | Python | tests/integration/tree/test_bipartition_support_stats_integration.py | yuzhenpeng/PhyKIT | 167b9dfe0dd0bddd4b23492d9a3dc34e56debbd7 | [
"MIT"
] | 26 | 2020-10-28T10:33:33.000Z | 2022-02-04T14:59:22.000Z | tests/integration/tree/test_bipartition_support_stats_integration.py | yuzhenpeng/PhyKIT | 167b9dfe0dd0bddd4b23492d9a3dc34e56debbd7 | [
"MIT"
] | 4 | 2021-03-28T22:05:39.000Z | 2022-03-22T00:33:01.000Z | tests/integration/tree/test_bipartition_support_stats_integration.py | JLSteenwyk/PhyKIT | 0b3194d1bb5c189993b256fe96011cce48b9bbb4 | [
"MIT"
] | 4 | 2020-11-06T11:58:25.000Z | 2021-08-17T16:57:51.000Z | import pytest
import sys
from math import isclose
from mock import patch, call
from pathlib import Path
from textwrap import dedent
from phykit.phykit import Phykit
here = Path(__file__)
@pytest.mark.integration
class TestBipartitionSupportStats(object):
@patch("builtins.print")
def test_bipartition_support... | 29.933333 | 83 | 0.56533 | 282 | 2,694 | 5.20922 | 0.283688 | 0.065351 | 0.093941 | 0.057182 | 0.751532 | 0.73179 | 0.73179 | 0.702519 | 0.580667 | 0.580667 | 0 | 0.050027 | 0.317372 | 2,694 | 90 | 84 | 29.933333 | 0.748777 | 0 | 0 | 0.653846 | 0 | 0 | 0.261596 | 0.126902 | 0 | 0 | 0 | 0 | 0.064103 | 1 | 0.051282 | false | 0 | 0.089744 | 0 | 0.153846 | 0.141026 | 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 |
3bfdd6ce398c3344ac1310f2433bba7a03b000a5 | 5,918 | py | Python | tests/test_application_dispatcher.py | JosePaniagua7/connect-processors-toolkit | 0fa7de0e29ac52bd7633d2ef34a48a37b71c2714 | [
"Apache-2.0"
] | 1 | 2022-03-10T14:32:21.000Z | 2022-03-10T14:32:21.000Z | tests/test_application_dispatcher.py | JosePaniagua7/connect-processors-toolkit | 0fa7de0e29ac52bd7633d2ef34a48a37b71c2714 | [
"Apache-2.0"
] | 1 | 2022-03-28T07:26:31.000Z | 2022-03-28T07:26:31.000Z | tests/test_application_dispatcher.py | JosePaniagua7/connect-processors-toolkit | 0fa7de0e29ac52bd7633d2ef34a48a37b71c2714 | [
"Apache-2.0"
] | 1 | 2022-03-25T12:15:30.000Z | 2022-03-25T12:15:30.000Z | from typing import Dict, Type
import pytest
from connect.eaas.extension import CustomEventResponse, ProductActionResponse
from connect.processors_toolkit.application.dispatcher import Route
from connect.processors_toolkit.requests.assets import AssetBuilder
from connect.processors_toolkit.requests import RequestBuild... | 32.163043 | 102 | 0.726259 | 642 | 5,918 | 6.454829 | 0.166667 | 0.03861 | 0.065637 | 0.044402 | 0.788369 | 0.754826 | 0.709459 | 0.61583 | 0.61583 | 0.61583 | 0 | 0.02573 | 0.172525 | 5,918 | 183 | 103 | 32.338798 | 0.820502 | 0 | 0 | 0.648438 | 0 | 0 | 0.097161 | 0.013011 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.101563 | false | 0.03125 | 0.085938 | 0.03125 | 0.28125 | 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 |
ce00c20be82e83bcad3e13f4d3fc2029f12ab530 | 160 | py | Python | run_api.py | milen-sage/HTAN-data-pipeline | 6d7f95913719cea282cecb498b78fd22b8ff5585 | [
"MIT"
] | 8 | 2020-11-06T23:38:06.000Z | 2022-02-03T11:05:25.000Z | run_api.py | milen-sage/HTAN-data-pipeline | 6d7f95913719cea282cecb498b78fd22b8ff5585 | [
"MIT"
] | 326 | 2020-09-15T20:52:59.000Z | 2022-03-31T23:20:35.000Z | run_api.py | milen-sage/HTAN-data-pipeline | 6d7f95913719cea282cecb498b78fd22b8ff5585 | [
"MIT"
] | 15 | 2020-09-16T23:12:09.000Z | 2022-03-14T23:05:46.000Z | # import our application
# Run our application
from api import create_app
if __name__ == '__main__':
app = create_app()
app.run(port=3001, debug=True)
| 20 | 34 | 0.7125 | 23 | 160 | 4.521739 | 0.652174 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.1875 | 160 | 7 | 35 | 22.857143 | 0.769231 | 0.2625 | 0 | 0 | 0 | 0 | 0.069565 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.