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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
232adba2f36de11644393ebca2dd53947abecb6f | 100 | py | Python | app/config.py | RIT-Election-Security/SAVI-resultserver | c89ce9f42830b6163454686eccada9d7e34b6f88 | [
"MIT"
] | null | null | null | app/config.py | RIT-Election-Security/SAVI-resultserver | c89ce9f42830b6163454686eccada9d7e34b6f88 | [
"MIT"
] | null | null | null | app/config.py | RIT-Election-Security/SAVI-resultserver | c89ce9f42830b6163454686eccada9d7e34b6f88 | [
"MIT"
] | null | null | null | from os import environ
BALLOTSERVER_URL = environ.get("BALLOTSERVER_URL", "http://localhost:8000")
| 25 | 75 | 0.78 | 13 | 100 | 5.846154 | 0.769231 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.09 | 100 | 3 | 76 | 33.333333 | 0.791209 | 0 | 0 | 0 | 0 | 0 | 0.37 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
232b58663659865d05e974fd226b5aeb050a1242 | 111 | py | Python | bfpy/__main__.py | ameyuuno/bfpy | 5b9043ee40991e01d7db713ffd7c224656509f80 | [
"MIT"
] | null | null | null | bfpy/__main__.py | ameyuuno/bfpy | 5b9043ee40991e01d7db713ffd7c224656509f80 | [
"MIT"
] | null | null | null | bfpy/__main__.py | ameyuuno/bfpy | 5b9043ee40991e01d7db713ffd7c224656509f80 | [
"MIT"
] | null | null | null | if __name__ == "__main__": # pragma: no cover
from bfpy.cli import run_cli
run_cli(prog_name="bfpy")
| 22.2 | 46 | 0.675676 | 17 | 111 | 3.764706 | 0.705882 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207207 | 111 | 4 | 47 | 27.75 | 0.727273 | 0.144144 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
23323527d2facb2eed71e4cf2b2ed83eae836c45 | 126 | py | Python | abc163/c.py | Lockdef/kyopro-code | 2d943a87987af05122c556e173e5108a0c1c77c8 | [
"MIT"
] | null | null | null | abc163/c.py | Lockdef/kyopro-code | 2d943a87987af05122c556e173e5108a0c1c77c8 | [
"MIT"
] | null | null | null | abc163/c.py | Lockdef/kyopro-code | 2d943a87987af05122c556e173e5108a0c1c77c8 | [
"MIT"
] | null | null | null | N = int(input())
A = list(map(int, input().split()))
ans = [0] * N
for i in A:
ans[i - 1] += 1
for i in ans:
print(i)
| 15.75 | 35 | 0.5 | 26 | 126 | 2.423077 | 0.538462 | 0.253968 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.269841 | 126 | 7 | 36 | 18 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 1 | 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 | 4 |
235638959b31505b3938a61a62907f9923373b93 | 226 | py | Python | prebuilder/styles.py | prebuilder/prebuilder.py | e5ee9dce0e46a3bc022dfaa0ce9f1be0563e2bdc | [
"Unlicense"
] | 4 | 2019-11-10T19:53:00.000Z | 2020-11-03T00:35:25.000Z | prebuilder/styles.py | prebuilder/prebuilder.py | e5ee9dce0e46a3bc022dfaa0ce9f1be0563e2bdc | [
"Unlicense"
] | null | null | null | prebuilder/styles.py | prebuilder/prebuilder.py | e5ee9dce0e46a3bc022dfaa0ce9f1be0563e2bdc | [
"Unlicense"
] | 1 | 2019-11-15T08:49:49.000Z | 2019-11-15T08:49:49.000Z | from RichConsole import groups
class styles:
success = groups.Fore.lightgreenEx
operationName = groups.Fore.yellow
entity = groups.Fore.lightblueEx
varContent = groups.Fore.lightmagentaEx
error = groups.Fore.lightredEx
| 22.6 | 40 | 0.80531 | 26 | 226 | 7 | 0.653846 | 0.274725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 226 | 9 | 41 | 25.111111 | 0.919192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
2362e20743e6796f6d292bd31934c2dff56522bf | 12,370 | py | Python | tests/base/test_config_identity.py | kojiromike/flask-jwt-consumer | ab7c8dcd02d67997a9e4e79355e35a6edf705800 | [
"MIT"
] | 1 | 2018-07-31T14:39:08.000Z | 2018-07-31T14:39:08.000Z | tests/base/test_config_identity.py | kojiromike/flask-jwt-consumer | ab7c8dcd02d67997a9e4e79355e35a6edf705800 | [
"MIT"
] | 8 | 2018-08-30T21:54:32.000Z | 2020-12-23T15:11:38.000Z | tests/base/test_config_identity.py | kojiromike/flask-jwt-consumer | ab7c8dcd02d67997a9e4e79355e35a6edf705800 | [
"MIT"
] | 3 | 2018-11-13T19:35:43.000Z | 2020-04-09T17:19:33.000Z | """Testing flask jwt manager."""
from datetime import datetime, timedelta
from unittest import mock
from unittest.mock import patch, PropertyMock
import jwt
import pytest
from flask_jwt_consumer import (AuthError, JWTConsumer, get_jwt_payload,
get_jwt_raw, requires_jwt)
from flask_jwt_... | 74.518072 | 744 | 0.851657 | 740 | 12,370 | 14.059459 | 0.404054 | 0.009227 | 0.016917 | 0.015571 | 0.547866 | 0.5396 | 0.530277 | 0.530277 | 0.517397 | 0.508747 | 0 | 0.118056 | 0.093371 | 12,370 | 165 | 745 | 74.969697 | 0.80963 | 0.020776 | 0 | 0.295775 | 0 | 0.042254 | 0.773021 | 0.726399 | 0 | 1 | 0 | 0 | 0.042254 | 1 | 0.035211 | false | 0 | 0.049296 | 0 | 0.098592 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
88e505d2d802ef5ddfa0e28b61d0023bb02282a7 | 103 | py | Python | chordrec/__init__.py | Tigls/chordrec | 1acb97e5efdd9474e7abfe4b741f94b5452499d5 | [
"MIT"
] | 29 | 2016-10-30T04:59:56.000Z | 2021-11-13T08:32:57.000Z | chordrec/__init__.py | Tigls/chordrec | 1acb97e5efdd9474e7abfe4b741f94b5452499d5 | [
"MIT"
] | 1 | 2016-12-29T16:25:01.000Z | 2017-07-04T06:15:17.000Z | chordrec/__init__.py | Tigls/chordrec | 1acb97e5efdd9474e7abfe4b741f94b5452499d5 | [
"MIT"
] | 12 | 2016-10-19T00:33:46.000Z | 2020-09-17T22:37:42.000Z | from . import (augmenters, chroma, classify, data, experiment, features,
targets, test)
| 34.333333 | 72 | 0.650485 | 10 | 103 | 6.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252427 | 103 | 2 | 73 | 51.5 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
002c0de9d08db0ab96a513fba3173212a3a9e08b | 94 | py | Python | FusionIIIT/applications/hr2/apps.py | sabhishekpratap5/sonarcubeTest2 | 9bd8105e457f6feb8c38fa94b335e54783fca99e | [
"bzip2-1.0.6"
] | 29 | 2019-02-20T15:35:33.000Z | 2022-03-22T11:10:57.000Z | FusionIIIT/applications/hr2/apps.py | sabhishekpratap5/sonarcubeTest2 | 9bd8105e457f6feb8c38fa94b335e54783fca99e | [
"bzip2-1.0.6"
] | 409 | 2019-01-17T19:30:51.000Z | 2022-03-31T16:28:45.000Z | FusionIIIT/applications/hr2/apps.py | sabhishekpratap5/sonarcubeTest2 | 9bd8105e457f6feb8c38fa94b335e54783fca99e | [
"bzip2-1.0.6"
] | 456 | 2019-01-12T11:01:13.000Z | 2022-03-30T17:06:52.000Z | from django.apps import AppConfig
class Hr2Config(AppConfig):
name = 'applications.hr2'
| 15.666667 | 33 | 0.755319 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0030a139e0dbbe63ac30ca0110edfce48fc89852 | 865 | py | Python | poserecog/config.py | yanggengshan/dyn_pose | 5dbc616b91eb8747cccc35b438c7e6d04a34909f | [
"MIT"
] | 6 | 2017-09-06T13:50:31.000Z | 2021-02-07T19:30:34.000Z | poserecog/config.py | yanggengshan/dyn_pose | 5dbc616b91eb8747cccc35b438c7e6d04a34909f | [
"MIT"
] | 1 | 2018-06-08T09:19:44.000Z | 2018-06-08T09:19:44.000Z | poserecog/config.py | yanggengshan/dyn_pose | 5dbc616b91eb8747cccc35b438c7e6d04a34909f | [
"MIT"
] | 1 | 2017-12-13T06:51:47.000Z | 2017-12-13T06:51:47.000Z | import ConfigParser
class lstm_config(object):
config = ConfigParser.RawConfigParser()
config.read('model/lstm.config')
ctx = int(config.get('model', 'ctx'))
batch_size = int(config.get('model', 'batch_size'))
num_epochs = int(config.get('model', 'num_epochs'))
disp_batches = int(config.get('model', 'disp... | 37.608696 | 61 | 0.690173 | 121 | 865 | 4.727273 | 0.264463 | 0.22028 | 0.342657 | 0.356643 | 0.223776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 865 | 22 | 62 | 39.318182 | 0.747712 | 0 | 0 | 0 | 0 | 0 | 0.252023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.944444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
003c648f9514e63c34356dd4329c14810af7b71c | 5,567 | py | Python | web/impact/impact/tests/test_mentors_proxy_view.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 5 | 2017-10-19T15:11:52.000Z | 2020-03-08T07:16:21.000Z | web/impact/impact/tests/test_mentors_proxy_view.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 182 | 2017-06-21T19:32:13.000Z | 2021-03-22T13:38:16.000Z | web/impact/impact/tests/test_mentors_proxy_view.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 1 | 2018-06-23T11:53:18.000Z | 2018-06-23T11:53:18.000Z | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from unittest.mock import patch
from django.http import HttpResponse
from django.conf import settings
from django.contrib.auth.models import Group
from impact.tests.api_test_case import APITestCase
from impact.tests.utils import match_errors
from impact.v0.views... | 42.823077 | 75 | 0.583618 | 554 | 5,567 | 5.617329 | 0.202166 | 0.066517 | 0.026992 | 0.030527 | 0.746144 | 0.723972 | 0.715938 | 0.681555 | 0.66838 | 0.66838 | 0 | 0.015836 | 0.308065 | 5,567 | 129 | 76 | 43.155039 | 0.792056 | 0.008982 | 0 | 0.726496 | 0 | 0 | 0.206928 | 0.06946 | 0 | 0 | 0 | 0 | 0.051282 | 1 | 0.042735 | false | 0.042735 | 0.059829 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0047f9526ff59d563ba5f32a66e0981e69b9b585 | 10,184 | py | Python | projects/vdk-control-cli/tests/vdk/internal/control/command_groups/job/test_create.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 100 | 2021-10-04T09:32:04.000Z | 2022-03-30T11:23:53.000Z | projects/vdk-control-cli/tests/vdk/internal/control/command_groups/job/test_create.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 208 | 2021-10-04T16:56:40.000Z | 2022-03-31T10:41:44.000Z | projects/vdk-control-cli/tests/vdk/internal/control/command_groups/job/test_create.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 14 | 2021-10-11T14:15:13.000Z | 2022-03-11T13:39:17.000Z | # Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
import os
import traceback
from unittest import mock
from click.testing import CliRunner
from py._path.local import LocalPath
from pytest_httpserver.pytest_plugin import PluginHTTPServer
from vdk.internal import test_utils
from vdk.internal.control.co... | 29.777778 | 120 | 0.655047 | 1,372 | 10,184 | 4.604227 | 0.145773 | 0.068704 | 0.044325 | 0.110337 | 0.735951 | 0.710939 | 0.706665 | 0.706665 | 0.687827 | 0.666456 | 0 | 0.013466 | 0.219756 | 10,184 | 341 | 121 | 29.865103 | 0.781525 | 0.055676 | 0 | 0.601533 | 0 | 0.003831 | 0.112441 | 0.038834 | 0 | 0 | 0 | 0.002933 | 0.10728 | 1 | 0.065134 | false | 0 | 0.038314 | 0 | 0.10728 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cc400f3b33b7727519f360f220352712123734ed | 30 | py | Python | simple_salesforce/tests/__init__.py | spothero/simple-salesforce | d266a1929d2600514410ed8ef1f2ac5ddbb34886 | [
"Apache-2.0"
] | 1 | 2020-03-25T13:28:08.000Z | 2020-03-25T13:28:08.000Z | simple_salesforce/tests/__init__.py | spothero/simple-salesforce | d266a1929d2600514410ed8ef1f2ac5ddbb34886 | [
"Apache-2.0"
] | null | null | null | simple_salesforce/tests/__init__.py | spothero/simple-salesforce | d266a1929d2600514410ed8ef1f2ac5ddbb34886 | [
"Apache-2.0"
] | 1 | 2019-07-01T05:48:56.000Z | 2019-07-01T05:48:56.000Z | """Simple-Salesforce Tests"""
| 15 | 29 | 0.7 | 3 | 30 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 1 | 30 | 30 | 0.75 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cc49d6d221e4ce4dcb180935e85af8a13cfe24cc | 88 | py | Python | repos/system_upgrade/common/tags/finalization.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 21 | 2018-11-20T15:58:39.000Z | 2022-03-15T19:57:24.000Z | repos/system_upgrade/common/tags/finalization.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 732 | 2018-11-21T18:33:26.000Z | 2022-03-31T16:16:24.000Z | repos/system_upgrade/common/tags/finalization.py | sm00th/leapp-repository | 1c171ec3a5f9260a3c6f84a9b15cad78a875ac61 | [
"Apache-2.0"
] | 85 | 2018-11-20T17:55:00.000Z | 2022-03-29T09:40:31.000Z | from leapp.tags import Tag
class FinalizationPhaseTag(Tag):
name = 'finalization'
| 14.666667 | 32 | 0.75 | 10 | 88 | 6.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 5 | 33 | 17.6 | 0.90411 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ccc502e22b530e587529bcaff1dac6779fa5c28a | 183 | py | Python | Codewars/comfortable words/comfortable_words.py | adoreblvnk/code_solutions | 03e4261241dd33a4232dabe0e9450d344f7ccc6d | [
"MIT"
] | null | null | null | Codewars/comfortable words/comfortable_words.py | adoreblvnk/code_solutions | 03e4261241dd33a4232dabe0e9450d344f7ccc6d | [
"MIT"
] | null | null | null | Codewars/comfortable words/comfortable_words.py | adoreblvnk/code_solutions | 03e4261241dd33a4232dabe0e9450d344f7ccc6d | [
"MIT"
] | null | null | null | import re
def comfortable_word(word):
uncomfortable = re.compile("([qwerasdfgzxcvb]{2}|[yuiophjklnm]{2})+")
return False if uncomfortable.search(word) else True
| 26.142857 | 73 | 0.677596 | 21 | 183 | 5.857143 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.191257 | 183 | 6 | 74 | 30.5 | 0.817568 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ccd2af5f73f0c49b65892642891a21a21e2b9bcc | 115 | py | Python | moto/iot/__init__.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | moto/iot/__init__.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | moto/iot/__init__.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | from .models import iot_backends
from ..core.models import base_decorator
mock_iot = base_decorator(iot_backends)
| 23 | 40 | 0.834783 | 17 | 115 | 5.352941 | 0.529412 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 4 | 41 | 28.75 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
aecf06d4930b64e226404075e72a17af7f7c78dc | 284 | py | Python | kesscore/all.py | kessido/kesscore | 8e4e4eb479095ccc82fb6ec45f6a5fcfc3fd3b85 | [
"Apache-2.0"
] | null | null | null | kesscore/all.py | kessido/kesscore | 8e4e4eb479095ccc82fb6ec45f6a5fcfc3fd3b85 | [
"Apache-2.0"
] | 2 | 2021-09-28T05:37:44.000Z | 2022-02-26T10:05:35.000Z | kesscore/all.py | kessido/kesscore | 8e4e4eb479095ccc82fb6ec45f6a5fcfc3fd3b85 | [
"Apache-2.0"
] | null | null | null | from .imports import *
from .functional import *
from .tests import *
from .images import *
from .download import *
from .random import *
from .tensor import *
from .domainadaptation import *
from .mlp import *
from .contextmanagers import *
from .plot import *
from .modules import * | 23.666667 | 31 | 0.75 | 36 | 284 | 5.916667 | 0.388889 | 0.516432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165493 | 284 | 12 | 32 | 23.666667 | 0.898734 | 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 | 1 | 0 | 0 | 4 |
aeee53137d5f080e1bf391fb5e244f9fd59871eb | 12,719 | py | Python | simulation.py | vatch123/AppCoding | d214f70d7f408b92326f6b00c472f92a343fae01 | [
"MIT"
] | null | null | null | simulation.py | vatch123/AppCoding | d214f70d7f408b92326f6b00c472f92a343fae01 | [
"MIT"
] | null | null | null | simulation.py | vatch123/AppCoding | d214f70d7f408b92326f6b00c472f92a343fae01 | [
"MIT"
] | null | null | null | """
This module runs the set of simulations as mentioned in the paper
"""
import matplotlib.pyplot as plt
from system import system
import sys
import argparse
import os
num = 5 # Number of simulations currently in the system
def run_simulations(simulation='all'):
"""
Run all simulations in order
Parame... | 35.330556 | 133 | 0.485022 | 1,203 | 12,719 | 4.968412 | 0.128845 | 0.053873 | 0.059729 | 0.040154 | 0.781328 | 0.744019 | 0.716413 | 0.680776 | 0.680776 | 0.661034 | 0 | 0.023623 | 0.367639 | 12,719 | 359 | 134 | 35.428969 | 0.719508 | 0.017218 | 0 | 0.763566 | 0 | 0.031008 | 0.224522 | 0.070364 | 0 | 0 | 0 | 0.008357 | 0 | 1 | 0.003876 | false | 0 | 0.01938 | 0 | 0.023256 | 0.077519 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
aef8cbb0e95c780a4c48fd21a7c6191e9f3a1011 | 217 | py | Python | tests/common.py | bird-house/OWSLib-esgfwps | 7ed8ab1ef77dbc189a69c872e9617fbed5b14df7 | [
"Apache-2.0"
] | null | null | null | tests/common.py | bird-house/OWSLib-esgfwps | 7ed8ab1ef77dbc189a69c872e9617fbed5b14df7 | [
"Apache-2.0"
] | null | null | null | tests/common.py | bird-house/OWSLib-esgfwps | 7ed8ab1ef77dbc189a69c872e9617fbed5b14df7 | [
"Apache-2.0"
] | null | null | null | TEST_SU_OPENDAP = 'http://opendap.knmi.nl/knmi/thredds/dodsC/CLIPC/gerics/climatesignalmaps/EUR-44/tasmax/su_python-2-7-6_GERICS_ens-multiModel-climatesignalmap-rcp85-EUR-44_yr_20700101-20991231_1971-2000.nc' # noqa
| 108.5 | 216 | 0.834101 | 35 | 217 | 4.942857 | 0.828571 | 0.057803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156398 | 0.02765 | 217 | 1 | 217 | 217 | 0.663507 | 0.018433 | 0 | 0 | 0 | 1 | 0.890995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e088cbbb9251b48fbd0373f0ecbdc1e1f0a4a9e | 97 | py | Python | codes_auto/240.search-a-2d-matrix-ii.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/240.search-a-2d-matrix-ii.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/240.search-a-2d-matrix-ii.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=240 lang=python3
#
# [240] search-a-2d-matrix-ii
#
None
# @lc code=end | 13.857143 | 41 | 0.659794 | 18 | 97 | 3.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0.14433 | 97 | 7 | 42 | 13.857143 | 0.674699 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e0c8aea7711fec933f94b22b07b1e2035f50f3b | 263 | py | Python | colour/characterisation/__init__.py | canavandl/colour | a453cd37b6135a9092d5ea5b2aafb8d19134bdff | [
"BSD-3-Clause"
] | 1 | 2019-06-27T11:32:48.000Z | 2019-06-27T11:32:48.000Z | colour/characterisation/__init__.py | canavandl/colour | a453cd37b6135a9092d5ea5b2aafb8d19134bdff | [
"BSD-3-Clause"
] | null | null | null | colour/characterisation/__init__.py | canavandl/colour | a453cd37b6135a9092d5ea5b2aafb8d19134bdff | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from .dataset import * # noqa
from . import dataset
from .fitting import first_order_colour_fit
__all__ = []
__all__ += dataset.__all__
__all__ += ['first_order_colour_fit']
| 20.230769 | 43 | 0.737643 | 35 | 263 | 4.771429 | 0.542857 | 0.11976 | 0.191617 | 0.227545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.144487 | 263 | 12 | 44 | 21.916667 | 0.737778 | 0.178707 | 0 | 0 | 0 | 0 | 0.103286 | 0.103286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4e14fccd41100848ed6baef55afd7c4d4f08b912 | 233 | py | Python | Files/Iterators.py | jatiinyadav/Python | 4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4 | [
"MIT"
] | null | null | null | Files/Iterators.py | jatiinyadav/Python | 4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4 | [
"MIT"
] | null | null | null | Files/Iterators.py | jatiinyadav/Python | 4ba8df06780c9543d00b6b9f96e32fbcb5fd5aa4 | [
"MIT"
] | null | null | null | nums = [10,9,2]
print(nums)
print(nums[0])
print(nums[1])
print(nums[2])
for i in nums:
print(i)
it = iter(nums)
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(next(it))
print(next(it))
print(next(it)) | 11.65 | 20 | 0.648069 | 42 | 233 | 3.309524 | 0.309524 | 0.258993 | 0.23741 | 0.345324 | 0.47482 | 0.47482 | 0.273381 | 0 | 0 | 0 | 0 | 0.034483 | 0.128755 | 233 | 20 | 21 | 11.65 | 0.650246 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.785714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4e1cd75e32b1e4cb97d4e676c4fa07a0b0ee83bd | 2,005 | py | Python | EdmFest/landing/migrations/0012_auto_20200127_2045.py | Mrgove10/EdmFest | 38f79ff0586476022b91199f17f6721aa53eb377 | [
"MIT"
] | null | null | null | EdmFest/landing/migrations/0012_auto_20200127_2045.py | Mrgove10/EdmFest | 38f79ff0586476022b91199f17f6721aa53eb377 | [
"MIT"
] | 1 | 2020-06-06T01:16:59.000Z | 2020-06-06T01:16:59.000Z | EdmFest/landing/migrations/0012_auto_20200127_2045.py | Mrgove10/EdmFest | 38f79ff0586476022b91199f17f6721aa53eb377 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.9 on 2020-01-27 19:45
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('landing', '0011_auto_20200127_2041'),
]
operations = [
migrations.AlterFie... | 31.825397 | 113 | 0.573067 | 201 | 2,005 | 5.58209 | 0.303483 | 0.160428 | 0.200535 | 0.23262 | 0.714795 | 0.714795 | 0.663993 | 0.630125 | 0.57041 | 0.57041 | 0 | 0.028923 | 0.310224 | 2,005 | 62 | 114 | 32.33871 | 0.782357 | 0.022444 | 0 | 0.660714 | 1 | 0 | 0.081716 | 0.011747 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.053571 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9d6aaa4084a70ddd3f67605e70a76826e8fcd7c4 | 29 | py | Python | tests/__init__.py | S-Lehmann/uppyyl-simulator | 1166432cd766165df2cab9f13c1285624d7c01c1 | [
"MIT"
] | 2 | 2020-09-09T15:42:23.000Z | 2020-11-04T17:50:57.000Z | tests/__init__.py | S-Lehmann/uppyyl-simulator | 1166432cd766165df2cab9f13c1285624d7c01c1 | [
"MIT"
] | null | null | null | tests/__init__.py | S-Lehmann/uppyyl-simulator | 1166432cd766165df2cab9f13c1285624d7c01c1 | [
"MIT"
] | null | null | null | """The test suite module."""
| 14.5 | 28 | 0.62069 | 4 | 29 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.72 | 0.758621 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9d8c16164c098f10cd72ee7af32d6410fca7180a | 32,260 | py | Python | transfer_app/test_downloaders.py | qbrc-cnap/cnap | 624683e91a64c3b4934b578c59db850242d2f94c | [
"MIT"
] | 1 | 2021-07-08T14:06:04.000Z | 2021-07-08T14:06:04.000Z | transfer_app/test_downloaders.py | qbrc-cnap/cnap | 624683e91a64c3b4934b578c59db850242d2f94c | [
"MIT"
] | 12 | 2020-02-12T00:10:53.000Z | 2021-06-10T21:24:45.000Z | transfer_app/test_downloaders.py | qbrc-cnap/cnap | 624683e91a64c3b4934b578c59db850242d2f94c | [
"MIT"
] | null | null | null | import json
import urllib
from django.test import TestCase
from django.contrib.sites.models import Site
import unittest.mock as mock
from rest_framework.test import APIClient
from rest_framework import status
from rest_framework.exceptions import MethodNotAllowed
from django.urls import reverse
from django.contrib.au... | 41.253197 | 173 | 0.673342 | 3,867 | 32,260 | 5.331523 | 0.11068 | 0.016297 | 0.018286 | 0.022118 | 0.783528 | 0.773488 | 0.746617 | 0.722899 | 0.692923 | 0.665131 | 0 | 0.009708 | 0.233633 | 32,260 | 781 | 174 | 41.306018 | 0.824212 | 0.131029 | 0 | 0.676749 | 0 | 0.003781 | 0.122491 | 0.048716 | 0 | 0 | 0 | 0 | 0.056711 | 1 | 0.096408 | false | 0.020794 | 0.030246 | 0 | 0.132325 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9d94a001c085b81b2bd72fc5d358e894ffb34f91 | 19,683 | py | Python | generators/simple/templates/src/platform/extensionRunner/cdf/crawler.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 2 | 2019-07-24T16:00:51.000Z | 2019-10-03T18:36:20.000Z | generators/simple/templates/src/platform/extensionRunner/cdf/crawler.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 19 | 2019-06-20T21:58:44.000Z | 2020-11-05T13:48:42.000Z | generators/simple/templates/src/platform/extensionRunner/cdf/crawler.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 1 | 2019-06-22T17:30:42.000Z | 2019-06-22T17:30:42.000Z | """
- THIS FILE IS GENERATED -
CoveoInterfaces/CoveoInterfaces/Crawler.jid
"""
from attr import attrib, attrs
from datetime import datetime
from enum import auto
from typing import Dict, List, Optional as Opt
from .root import CASING, CoveoInterface, ExceptionBase, JidEnumFlag, JidType, api
from .document_defini... | 31.442492 | 117 | 0.649088 | 2,113 | 19,683 | 5.892097 | 0.121155 | 0.030924 | 0.028916 | 0.015663 | 0.708835 | 0.702651 | 0.686747 | 0.685863 | 0.646426 | 0.625783 | 0 | 0 | 0.256922 | 19,683 | 625 | 118 | 31.4928 | 0.851224 | 0.324087 | 0 | 0.315436 | 1 | 0 | 0.067248 | 0.040515 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090604 | false | 0.010067 | 0.030201 | 0 | 0.590604 | 0.006711 | 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 | 1 | 0 | 0 | 4 |
9dd690063ee290971c3bff0e3412752f35f6aa56 | 186 | py | Python | pants-plugins/experimental/cpp/register.py | sureshjoshi/pants-plugins | b3db0853bb5ab3d721a286ef698560e3d1cbb0f9 | [
"Apache-2.0"
] | 4 | 2022-02-14T23:14:21.000Z | 2022-03-29T12:39:26.000Z | pants-plugins/experimental/cpp/register.py | sureshjoshi/pants-plugins | b3db0853bb5ab3d721a286ef698560e3d1cbb0f9 | [
"Apache-2.0"
] | 36 | 2022-02-02T05:01:04.000Z | 2022-03-31T16:46:34.000Z | pants-plugins/experimental/cpp/register.py | sureshjoshi/pants-plugins | b3db0853bb5ab3d721a286ef698560e3d1cbb0f9 | [
"Apache-2.0"
] | 2 | 2022-02-14T04:16:19.000Z | 2022-03-02T11:22:37.000Z | from experimental.cpp.target_types import CppSourcesGeneratorTarget, CppSourceTarget
def target_types():
return (
CppSourceTarget,
CppSourcesGeneratorTarget,
)
| 20.666667 | 84 | 0.741935 | 14 | 186 | 9.714286 | 0.714286 | 0.161765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204301 | 186 | 8 | 85 | 23.25 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9dd7908c627bc287f861cdfec6b7a6e95fac7192 | 59 | py | Python | src/kgmk/jstage/paper/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/jstage/paper/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/jstage/paper/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | from .params import (
Params,
)
from .parse import Parse | 11.8 | 24 | 0.711864 | 8 | 59 | 5.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 59 | 5 | 24 | 11.8 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9dd7d07b85fbfd5b23781f4fe0e90ca8b441e4b3 | 351 | py | Python | Dragon/python/dragon/operators/contrib/__init__.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 212 | 2015-07-05T07:57:17.000Z | 2022-02-27T01:55:35.000Z | Dragon/python/dragon/operators/contrib/__init__.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 6 | 2016-07-07T14:31:56.000Z | 2017-12-12T02:21:15.000Z | Dragon/python/dragon/operators/contrib/__init__.py | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 71 | 2016-03-24T09:02:41.000Z | 2021-06-03T01:52:41.000Z | # --------------------------------------------------------
# Dragon
# Copyright(c) 2017 SeetaTech
# Written by Ting Pan
# --------------------------------------------------------
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# R-CNN ops
from dragon.operat... | 25.071429 | 58 | 0.535613 | 33 | 351 | 5.272727 | 0.666667 | 0.172414 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.105413 | 351 | 13 | 59 | 27 | 0.541401 | 0.507123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9dfdd612ca8ae4d094ffb3c4fe60b36fae0cfba9 | 1,054 | py | Python | Chapter 06/alien.py | Wenzurk-Ma/Python-Crash-Course | 25bb81af95e16f08c849da5f1161658839b85f61 | [
"Apache-2.0"
] | null | null | null | Chapter 06/alien.py | Wenzurk-Ma/Python-Crash-Course | 25bb81af95e16f08c849da5f1161658839b85f61 | [
"Apache-2.0"
] | null | null | null | Chapter 06/alien.py | Wenzurk-Ma/Python-Crash-Course | 25bb81af95e16f08c849da5f1161658839b85f61 | [
"Apache-2.0"
] | null | null | null | # Title : TODO
# Objective : TODO
# Created by: Wenzurk
# Created on: 2018/2/8
alien_0 = {'color': 'green', 'point': 5}
# print(alien_0['color'])
# print(alien_0['point'])
# new_points = alien_0['point']
# print("You just earned " + str(new_points) + " points.")
print(alien_0)
#
# alien_0['x_position'] = 0
# al... | 21.510204 | 66 | 0.618596 | 154 | 1,054 | 3.987013 | 0.285714 | 0.234528 | 0.107492 | 0.14658 | 0.23127 | 0.087948 | 0.087948 | 0 | 0 | 0 | 0 | 0.046697 | 0.166983 | 1,054 | 49 | 67 | 21.510204 | 0.65262 | 0.835863 | 0 | 0.5 | 0 | 0 | 0.145985 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d17de86e3e267a249c72af2be8714d237d67ccb6 | 222 | py | Python | pyjobs/partners/views.py | Mdslino/PyJobs | d2496d58067503c3304a6c59052238b1f097472b | [
"BSD-3-Clause"
] | 132 | 2017-10-27T23:54:47.000Z | 2022-03-15T12:10:10.000Z | pyjobs/partners/views.py | Mdslino/PyJobs | d2496d58067503c3304a6c59052238b1f097472b | [
"BSD-3-Clause"
] | 129 | 2017-09-05T04:22:50.000Z | 2022-03-12T01:06:49.000Z | pyjobs/partners/views.py | Mdslino/PyJobs | d2496d58067503c3304a6c59052238b1f097472b | [
"BSD-3-Clause"
] | 82 | 2017-10-28T00:14:04.000Z | 2021-07-27T20:00:40.000Z | from django.shortcuts import render
from .models import Partner
def get_all_partners(request):
context = {"partners": Partner.objects.all()}
return render(request, template_name="partners.html", context=context)
| 27.75 | 74 | 0.765766 | 28 | 222 | 5.964286 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 222 | 7 | 75 | 31.714286 | 0.860825 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 | 1 | 0 | 0 | 4 |
d17ed483cb4d0555bf035bdfb549d6b230382895 | 30 | py | Python | file1.py | test35115494/test_object | 93da1446230d8ae7a61ac6c9a9bb5c00595ef7bd | [
"Apache-2.0"
] | null | null | null | file1.py | test35115494/test_object | 93da1446230d8ae7a61ac6c9a9bb5c00595ef7bd | [
"Apache-2.0"
] | null | null | null | file1.py | test35115494/test_object | 93da1446230d8ae7a61ac6c9a9bb5c00595ef7bd | [
"Apache-2.0"
] | null | null | null | #rambazamba
a=1+2
print(a)
| 7.5 | 12 | 0.633333 | 6 | 30 | 3.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.2 | 30 | 3 | 13 | 10 | 0.708333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d19bb253d395cac4f25c42d5d5bdbfb8cceb255b | 72 | py | Python | main.py | wevertondevt/bot_telegram | b9283616cd7730269bcc216c5b0215b8546e0235 | [
"FTL"
] | null | null | null | main.py | wevertondevt/bot_telegram | b9283616cd7730269bcc216c5b0215b8546e0235 | [
"FTL"
] | null | null | null | main.py | wevertondevt/bot_telegram | b9283616cd7730269bcc216c5b0215b8546e0235 | [
"FTL"
] | null | null | null | from src.telegramBot import TelegramBot
bot = TelegramBot()
bot.start() | 18 | 39 | 0.791667 | 9 | 72 | 6.333333 | 0.666667 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 4 | 40 | 18 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d1aae70c54d1d41bfcebce35cb8af3bc51523c9d | 203 | py | Python | 1805 Number of Different Integers in a String.py | MdAbedin/leetcode | e835f2e716ea5fe87f30b84801ede9bc023749e7 | [
"MIT"
] | 4 | 2020-09-11T02:36:11.000Z | 2021-09-29T20:47:11.000Z | 1805 Number of Different Integers in a String.py | MdAbedin/leetcode | e835f2e716ea5fe87f30b84801ede9bc023749e7 | [
"MIT"
] | 3 | 2020-09-10T03:51:42.000Z | 2021-09-25T01:41:57.000Z | 1805 Number of Different Integers in a String.py | MdAbedin/leetcode | e835f2e716ea5fe87f30b84801ede9bc023749e7 | [
"MIT"
] | 6 | 2020-09-10T03:46:15.000Z | 2021-09-25T01:24:48.000Z | class Solution:
def numDifferentIntegers(self, word: str) -> int:
s = "".join([char if char.isdigit() else " " for char in word])
return len({int(num) for num in s.split()})
| 33.833333 | 71 | 0.581281 | 28 | 203 | 4.214286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270936 | 203 | 5 | 72 | 40.6 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d1ab678c519b235ecabd4d88ead7d7110dd69dbc | 52 | py | Python | Reference/helloworld.py | iSeonHwan/Generating_Dictionary_Programe | 10d973de56483c64bf0dcde9052f5af74bff88dd | [
"Apache-2.0"
] | null | null | null | Reference/helloworld.py | iSeonHwan/Generating_Dictionary_Programe | 10d973de56483c64bf0dcde9052f5af74bff88dd | [
"Apache-2.0"
] | null | null | null | Reference/helloworld.py | iSeonHwan/Generating_Dictionary_Programe | 10d973de56483c64bf0dcde9052f5af74bff88dd | [
"Apache-2.0"
] | null | null | null |
if __name__ == '__main__':
print("hello, world")
| 10.4 | 26 | 0.634615 | 6 | 52 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 52 | 4 | 27 | 13 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d1c482db7e38a8a209ddaac6da7865f4531d6198 | 185 | py | Python | aio_parallel_tools/aio_actor/mixins/loop_mixin.py | Python-Tools/aio_parallel_tools | 23589c3ffce6de2748c1c90bd0dae2c414995a65 | [
"MIT"
] | null | null | null | aio_parallel_tools/aio_actor/mixins/loop_mixin.py | Python-Tools/aio_parallel_tools | 23589c3ffce6de2748c1c90bd0dae2c414995a65 | [
"MIT"
] | 1 | 2021-12-13T20:26:32.000Z | 2021-12-13T20:26:32.000Z | aio_parallel_tools/aio_actor/mixins/loop_mixin.py | Python-Tools/aio_parallel_tools | 23589c3ffce6de2748c1c90bd0dae2c414995a65 | [
"MIT"
] | null | null | null | import asyncio
class LoopMixin:
def __init__(self, loop=None):
self._loop = loop or asyncio.get_event_loop()
@property
def loop(self):
return self._loop
| 15.416667 | 53 | 0.648649 | 24 | 185 | 4.666667 | 0.583333 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264865 | 185 | 11 | 54 | 16.818182 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
ae07faaa353d25669fd44ede27b9ea0fc79ed21a | 87 | py | Python | 21/module1.py | dunjin/DataAnalysisInAction | bec8af3763831b671a84a1355b5d220972f81137 | [
"CNRI-Python",
"Xnet",
"X11"
] | 656 | 2018-12-31T05:35:33.000Z | 2022-03-13T15:37:58.000Z | 21/module1.py | yideng2010/DataAnalysisInAction | 449e9fe961365d07052c16355d86f1a5f4748d7d | [
"CNRI-Python",
"Xnet",
"X11"
] | 14 | 2019-01-02T01:55:07.000Z | 2020-10-12T11:28:01.000Z | 21/module1.py | yideng2010/DataAnalysisInAction | 449e9fe961365d07052c16355d86f1a5f4748d7d | [
"CNRI-Python",
"Xnet",
"X11"
] | 260 | 2019-01-10T01:44:08.000Z | 2022-03-18T11:33:52.000Z | import nltk
word_list = nltk.word_tokenize(text) # 分词
nltk.pos_tag(word_list) # 标注单词的词性 | 29 | 41 | 0.793103 | 15 | 87 | 4.333333 | 0.666667 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 3 | 42 | 29 | 0.833333 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ae202b3dda1ef179b027d84990e84c330fd268c3 | 118 | py | Python | setup.py | Flav35/registryctl | b0463e50234d120a00473e3ff97cfca2a5a0d8cc | [
"Apache-2.0"
] | null | null | null | setup.py | Flav35/registryctl | b0463e50234d120a00473e3ff97cfca2a5a0d8cc | [
"Apache-2.0"
] | null | null | null | setup.py | Flav35/registryctl | b0463e50234d120a00473e3ff97cfca2a5a0d8cc | [
"Apache-2.0"
] | null | null | null | import multiprocessing
import setuptools
setuptools.setup(
setup_requires=['pbr!=2.1.0,>=2.0.0'],
pbr=True)
| 14.75 | 42 | 0.694915 | 17 | 118 | 4.764706 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 0.144068 | 118 | 7 | 43 | 16.857143 | 0.742574 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ae5f701d2a53836b665fe55ef50169cdcde84156 | 3,770 | py | Python | xbaydns/tests/idcviewtest.py | bopopescu/xbaydns-2 | 606e8d9848d42fe5c0c5847a5a0e62044f58e486 | [
"BSD-2-Clause"
] | 1 | 2019-01-16T05:20:51.000Z | 2019-01-16T05:20:51.000Z | xbaydns/tests/idcviewtest.py | bopopescu/xbaydns-2 | 606e8d9848d42fe5c0c5847a5a0e62044f58e486 | [
"BSD-2-Clause"
] | null | null | null | xbaydns/tests/idcviewtest.py | bopopescu/xbaydns-2 | 606e8d9848d42fe5c0c5847a5a0e62044f58e486 | [
"BSD-2-Clause"
] | 3 | 2017-10-10T08:03:12.000Z | 2020-07-26T04:11:18.000Z | #!/usr/bin/env python
# encoding: utf-8
"""
idcviewtest.py
Created by QingFeng on 2008-03-17.
Copyright (c) 2007 xBayDNS Team. All rights reserved.
"""
import basetest
import logging.config
import os
import pwd
import shutil
import tempfile
import time
import unittest
log = logging.getLogger('xbaydns.tests.idcviewte... | 35.566038 | 80 | 0.654907 | 709 | 3,770 | 3.411848 | 0.231312 | 0.079372 | 0.082679 | 0.049607 | 0.501033 | 0.473336 | 0.38363 | 0.268706 | 0.248863 | 0.184374 | 0 | 0.30762 | 0.154111 | 3,770 | 105 | 81 | 35.904762 | 0.450925 | 0.025729 | 0 | 0.0875 | 0 | 0.375 | 0.503432 | 0.396739 | 0 | 0 | 0 | 0 | 0.075 | 0 | null | null | 0 | 0.125 | null | null | 0.0125 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8838292a4d2f9894ce15eefd6b66e6b6cd28dd88 | 347 | py | Python | cards/table.py | michael-michelotti/blackjack | d7e7242f57a30fbbc4e37c0b6f3cbabd63d23ec1 | [
"MIT"
] | null | null | null | cards/table.py | michael-michelotti/blackjack | d7e7242f57a30fbbc4e37c0b6f3cbabd63d23ec1 | [
"MIT"
] | null | null | null | cards/table.py | michael-michelotti/blackjack | d7e7242f57a30fbbc4e37c0b6f3cbabd63d23ec1 | [
"MIT"
] | null | null | null | class Table:
def __init__(self, dealer, players):
self.dealer = dealer
self.players = players
# self.participants = players + dealer
def __repr__(self):
return f'Table(dealer={self.dealer}, players={self.players})'
def render(self):
return f'{"".join(hand.render() f... | 28.916667 | 69 | 0.622478 | 42 | 347 | 4.952381 | 0.380952 | 0.144231 | 0.163462 | 0.201923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244957 | 347 | 11 | 70 | 31.545455 | 0.793893 | 0.103746 | 0 | 0 | 0 | 0 | 0.323625 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8846f90f35602b5ccdea90cfd96612ec10001b0c | 362 | py | Python | setup.py | HireIQ/reinvent2014-scalable-site-management | 91eae809fa5969b5c03a39fd20003d4150772535 | [
"Apache-2.0"
] | 3 | 2015-11-04T13:48:54.000Z | 2016-11-15T17:47:32.000Z | setup.py | HireIQ/reinvent2014-scalable-site-management | 91eae809fa5969b5c03a39fd20003d4150772535 | [
"Apache-2.0"
] | 1 | 2015-11-04T16:31:32.000Z | 2015-11-04T18:23:09.000Z | setup.py | HireIQ/reinvent2014-scalable-site-management | 91eae809fa5969b5c03a39fd20003d4150772535 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup
setup(
name='opsworks-easy-deploy',
version='1.2.0',
packages=['easy_deploy'],
install_requires=[
'botocore==1.20.23',
'click==7.1.2',
'arrow==1.0.3',
],
entry_points={
'console_scripts': [
'opsworks-easy-deploy = easy_de... | 19.052632 | 66 | 0.544199 | 42 | 362 | 4.547619 | 0.642857 | 0.26178 | 0.188482 | 0.209424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054264 | 0.287293 | 362 | 18 | 67 | 20.111111 | 0.686047 | 0 | 0 | 0 | 0 | 0 | 0.395028 | 0.077348 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.0625 | 0 | 0.0625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8883f6e1146fec94c2b7ae44dc95948450da4d18 | 286 | py | Python | Scripts/selected-glyphs/layers/center-layers.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | Scripts/selected-glyphs/layers/center-layers.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | Scripts/selected-glyphs/layers/center-layers.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | # [h] center layers
'''Center all layers in selected glyphs.'''
# debug
import hTools2
reload(hTools2)
if hTools2.DEBUG:
import hTools2.dialogs.glyphs
reload(hTools2.dialogs.glyphs)
# import
from hTools2.dialogs.glyphs import alignLayersDialog
# run
alignLayersDialog()
| 13.619048 | 52 | 0.748252 | 34 | 286 | 6.294118 | 0.470588 | 0.196262 | 0.280374 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024896 | 0.157343 | 286 | 20 | 53 | 14.3 | 0.863071 | 0.255245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
88902f8cf234dfb68346f478c271355d2958088f | 76 | py | Python | Reinforcement/Regression/Linear_Regression/single_linear_regression.py | Joshua-Elms/algorithms | e7a823316e4aa86607c6e32d4819b662de59afab | [
"MIT"
] | null | null | null | Reinforcement/Regression/Linear_Regression/single_linear_regression.py | Joshua-Elms/algorithms | e7a823316e4aa86607c6e32d4819b662de59afab | [
"MIT"
] | null | null | null | Reinforcement/Regression/Linear_Regression/single_linear_regression.py | Joshua-Elms/algorithms | e7a823316e4aa86607c6e32d4819b662de59afab | [
"MIT"
] | null | null | null | from Reinforcement.Regression.Linear_Regression.helper_functions import *
| 19 | 73 | 0.868421 | 8 | 76 | 8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 3 | 74 | 25.333333 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
889b692e4886f8843b3661207d5da0a9f63782b4 | 101 | py | Python | WeLearn/M3-Python/L1-Python-Intro/mysum.py | pluce23/mycssi | 4c87988fe02ec87c8f5adc45d0b113e219f4606a | [
"Apache-2.0"
] | null | null | null | WeLearn/M3-Python/L1-Python-Intro/mysum.py | pluce23/mycssi | 4c87988fe02ec87c8f5adc45d0b113e219f4606a | [
"Apache-2.0"
] | null | null | null | WeLearn/M3-Python/L1-Python-Intro/mysum.py | pluce23/mycssi | 4c87988fe02ec87c8f5adc45d0b113e219f4606a | [
"Apache-2.0"
] | null | null | null | '''def findSum(x):
for i in range(x):
x = x + i
return x
print(str(findSum(20)))'''
| 14.428571 | 26 | 0.49505 | 17 | 101 | 2.941176 | 0.647059 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.306931 | 101 | 6 | 27 | 16.833333 | 0.685714 | 0.930693 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
889fbb55163174699130dbf36c863fcd2dc32e75 | 212 | py | Python | src/quantum_util/misc.py | alchayward/quantum_util | 76f48e02760e080e70127dd089a4c4e8a6c732cf | [
"MIT"
] | null | null | null | src/quantum_util/misc.py | alchayward/quantum_util | 76f48e02760e080e70127dd089a4c4e8a6c732cf | [
"MIT"
] | null | null | null | src/quantum_util/misc.py | alchayward/quantum_util | 76f48e02760e080e70127dd089a4c4e8a6c732cf | [
"MIT"
] | null | null | null | class Compatibility:
def __init__(self, clauses):
self.clauses = clauses
def check(self):
return all(self.evaluate())
def evaluate(self):
return [c() for c in self.clauses]
| 19.272727 | 42 | 0.613208 | 26 | 212 | 4.846154 | 0.5 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278302 | 212 | 10 | 43 | 21.2 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
88b3a95dbc9be694d992241ed75f346c76d68c81 | 1,394 | py | Python | api/db_connects_demo/db_connects.py | kiddestiny/Darks | 4727004a0e42728ded9bed015b37990a2f34a782 | [
"MIT"
] | null | null | null | api/db_connects_demo/db_connects.py | kiddestiny/Darks | 4727004a0e42728ded9bed015b37990a2f34a782 | [
"MIT"
] | null | null | null | api/db_connects_demo/db_connects.py | kiddestiny/Darks | 4727004a0e42728ded9bed015b37990a2f34a782 | [
"MIT"
] | null | null | null | '''
'''
from pymysql import connect as my_connect
from pymysql import cursors as cursors
from sqlalchemy import create_engine, MetaData
from sqlalchemy import Table, Column, Date, Integer, String, ForeignKey
class db(object):
@property
def ENGINE_MYSQL_hawaii(self):
return create_engine("mysql+pymysql... | 34 | 129 | 0.696557 | 166 | 1,394 | 5.578313 | 0.313253 | 0.095032 | 0.055076 | 0.068035 | 0.471922 | 0.441685 | 0.157667 | 0.157667 | 0.157667 | 0.157667 | 0 | 0.012998 | 0.172166 | 1,394 | 40 | 130 | 34.85 | 0.789428 | 0.11406 | 0 | 0.25 | 0 | 0 | 0.096059 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.107143 | 0.142857 | 0.25 | 0.678571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
31f0d7197db720fb7dd28adfb63a0d0f472f494e | 2,216 | py | Python | tests/builtin_specifications/test_AvoidRareCodons.py | simone-pignotti/DnaChisel | b7f0f925c9daefcc5fec903a13cfa74c3b726a7a | [
"MIT"
] | 124 | 2017-11-14T14:42:25.000Z | 2022-03-31T08:02:07.000Z | tests/builtin_specifications/test_AvoidRareCodons.py | simone-pignotti/DnaChisel | b7f0f925c9daefcc5fec903a13cfa74c3b726a7a | [
"MIT"
] | 65 | 2017-11-15T07:25:38.000Z | 2022-01-31T10:38:45.000Z | tests/builtin_specifications/test_AvoidRareCodons.py | simone-pignotti/DnaChisel | b7f0f925c9daefcc5fec903a13cfa74c3b726a7a | [
"MIT"
] | 31 | 2018-10-18T12:59:47.000Z | 2022-02-11T16:54:43.000Z | from dnachisel import (
DnaOptimizationProblem,
EnforceTranslation,
translate,
AvoidRareCodons,
reverse_complement,
)
import numpy
def test_AvoidRareCodons_as_constraint():
numpy.random.seed(123)
sequence = "ATG" "TTT" "ATA" "CCA" "CTT" "TAG"
problem = DnaOptimizationProblem(
... | 31.211268 | 76 | 0.685921 | 233 | 2,216 | 6.32618 | 0.214592 | 0.052917 | 0.059701 | 0.065129 | 0.868385 | 0.810041 | 0.765265 | 0.698779 | 0.645862 | 0.645862 | 0 | 0.025741 | 0.193592 | 2,216 | 70 | 77 | 31.657143 | 0.799105 | 0 | 0 | 0.517241 | 0 | 0 | 0.043321 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 1 | 0.068966 | false | 0.034483 | 0.034483 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31f4bfd5eccb39ccf865fc015d7fc8346ec5b36b | 324 | py | Python | sequal/base_block.py | noatgnu/glypnirO | af06b374b51d455e5e2ae571c652ec861868f22a | [
"MIT"
] | null | null | null | sequal/base_block.py | noatgnu/glypnirO | af06b374b51d455e5e2ae571c652ec861868f22a | [
"MIT"
] | null | null | null | sequal/base_block.py | noatgnu/glypnirO | af06b374b51d455e5e2ae571c652ec861868f22a | [
"MIT"
] | null | null | null |
class BaseBlock:
def __init__(self, value, position, branch=False, mass=None):
self.value = value
self.position = position
self.branch = branch
self.mass = mass
self.extra = None
def __str__(self):
return self.value
def __repr__(self):
return self.v... | 23.142857 | 65 | 0.601852 | 38 | 324 | 4.815789 | 0.394737 | 0.196721 | 0.153005 | 0.20765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311728 | 324 | 14 | 66 | 23.142857 | 0.820628 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ee349c5fc7b0cc4b07eb64feb3309c7d0f9122b3 | 399 | py | Python | numba/tests/builtins/test_builtin_float.py | glycerine/numba | 4cb9e4f0b3cabd9e6a144fa4f3f7e5d6bee45635 | [
"BSD-2-Clause"
] | 1 | 2019-04-17T10:03:53.000Z | 2019-04-17T10:03:53.000Z | numba/tests/builtins/test_builtin_float.py | glycerine/numba | 4cb9e4f0b3cabd9e6a144fa4f3f7e5d6bee45635 | [
"BSD-2-Clause"
] | null | null | null | numba/tests/builtins/test_builtin_float.py | glycerine/numba | 4cb9e4f0b3cabd9e6a144fa4f3f7e5d6bee45635 | [
"BSD-2-Clause"
] | null | null | null | """
>>> empty_float()
0.0
>>> convert_float(10)
10.0
>>> float_conjugate()
1.5
"""
import sys
from numba import *
@autojit(backend='ast')
def empty_float():
return float()
@autojit(backend='ast')
def convert_float(y):
x = float(y)
return x
@autojit(backend='ast')
def float_conjugate():
return 1.5.c... | 13.758621 | 26 | 0.649123 | 55 | 399 | 4.454545 | 0.436364 | 0.171429 | 0.208163 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033537 | 0.177945 | 399 | 29 | 27 | 13.758621 | 0.713415 | 0.185464 | 0 | 0.2 | 0 | 0 | 0.053459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ee7851b7b4de3838097677a0d40481cf39c9620c | 210 | py | Python | glearn/train.py | glennpow/glearn | e50046cb76173668fec12c20b446be7457482528 | [
"MIT"
] | null | null | null | glearn/train.py | glennpow/glearn | e50046cb76173668fec12c20b446be7457482528 | [
"MIT"
] | null | null | null | glearn/train.py | glennpow/glearn | e50046cb76173668fec12c20b446be7457482528 | [
"MIT"
] | null | null | null | from glearn.execute import execute
def train(config_path, version=None, render=False, debug=False, profile=False):
execute(config_path, True, version=version, render=render, debug=debug, profile=profile)
| 35 | 92 | 0.785714 | 29 | 210 | 5.62069 | 0.517241 | 0.122699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 210 | 5 | 93 | 42 | 0.867021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c99ca060a0fb262ae201efa2e078ef18011cfd91 | 64 | py | Python | Web/venv/lib/python3.5/base64.py | Pancras-Zheng/Graduation-Project | 5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0 | [
"MIT"
] | 37 | 2018-01-25T03:14:24.000Z | 2021-12-15T10:02:37.000Z | Web/venv/lib/python3.5/base64.py | Pancras-Zheng/Graduation-Project | 5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0 | [
"MIT"
] | null | null | null | Web/venv/lib/python3.5/base64.py | Pancras-Zheng/Graduation-Project | 5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0 | [
"MIT"
] | 10 | 2019-04-11T07:27:10.000Z | 2021-11-24T11:16:14.000Z | IntxLNK/ u s r / l i b / p y t h o n 3 . 5 / b a s e 6 4 . p y | 64 | 64 | 0.453125 | 7 | 64 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 64 | 1 | 64 | 64 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a00ab642522825e6e8f0191b654d05c9c691c66b | 1,597 | py | Python | python/data_structures/deque.py | adriennekarnoski/data-structures | 86ccf988ac02884749226236ad4ac37762873efa | [
"MIT"
] | 1 | 2017-11-05T20:59:04.000Z | 2017-11-05T20:59:04.000Z | python/data_structures/deque.py | adriennekarnoski/data-structures | 86ccf988ac02884749226236ad4ac37762873efa | [
"MIT"
] | 5 | 2017-12-15T01:37:47.000Z | 2018-02-20T22:51:29.000Z | python/data_structures/deque.py | adriennekarnoski/data-structures | 86ccf988ac02884749226236ad4ac37762873efa | [
"MIT"
] | null | null | null | """Make a Deque object that has access to DoublyLinkedList methods."""
from doubly_linked_list import DoublyLinkedList
class Deque(object):
"""Create a Deque object."""
def __init__(self):
"""Initialize Deque using DoublyLinkedList methods."""
self._doubly_linked_list = DoublyLinkedList()
... | 30.132075 | 71 | 0.615529 | 202 | 1,597 | 4.668317 | 0.306931 | 0.139979 | 0.186638 | 0.212089 | 0.52386 | 0.398727 | 0.301166 | 0.301166 | 0.201485 | 0.133616 | 0 | 0.001738 | 0.279274 | 1,597 | 52 | 72 | 30.711538 | 0.81755 | 0.252974 | 0 | 0.266667 | 0 | 0 | 0.043096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.033333 | 0 | 0.633333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a019639222ddf53f8a6ac91859f8f0c80c18a3b4 | 96 | py | Python | tel_storage/apps.py | nalimhahs/pwnit | b0752cb1c7e981addb3b3b57aa444c5823a911f6 | [
"MIT"
] | null | null | null | tel_storage/apps.py | nalimhahs/pwnit | b0752cb1c7e981addb3b3b57aa444c5823a911f6 | [
"MIT"
] | 10 | 2021-03-19T04:34:51.000Z | 2022-03-12T00:44:21.000Z | tel_storage/apps.py | nalimhahs/pwnit | b0752cb1c7e981addb3b3b57aa444c5823a911f6 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TelStorageConfig(AppConfig):
name = "tel_storage"
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a01adf3c40ee2c577af296a55d7db09780ebd55a | 161 | py | Python | swi_ml/regression/__init__.py | aitikgupta/swi-ml | c7a44c71683a9bfb4adb13c7eb6117e652177807 | [
"MIT"
] | 16 | 2021-01-30T16:03:19.000Z | 2022-03-27T11:13:05.000Z | swi_ml/regression/__init__.py | aitikgupta/swi-ml | c7a44c71683a9bfb4adb13c7eb6117e652177807 | [
"MIT"
] | 1 | 2021-01-30T19:28:05.000Z | 2021-01-30T19:28:05.000Z | swi_ml/regression/__init__.py | aitikgupta/swi-ml | c7a44c71683a9bfb4adb13c7eb6117e652177807 | [
"MIT"
] | null | null | null | from .linear_regression import (
LinearRegressionGD,
LassoRegressionGD,
RidgeRegressionGD,
ElasticNetRegressionGD,
PolynomialRegressionGD,
)
| 20.125 | 32 | 0.763975 | 9 | 161 | 13.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186335 | 161 | 7 | 33 | 23 | 0.931298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e506a6a579dc9b307c00904a505f7cb931ed096 | 181 | py | Python | asyncio/examples/call-later-repeat.py | JJ-HH/scaling-python-programming | 7e663cf78c3b3306549b938e5a327e4926d52100 | [
"MIT"
] | null | null | null | asyncio/examples/call-later-repeat.py | JJ-HH/scaling-python-programming | 7e663cf78c3b3306549b938e5a327e4926d52100 | [
"MIT"
] | null | null | null | asyncio/examples/call-later-repeat.py | JJ-HH/scaling-python-programming | 7e663cf78c3b3306549b938e5a327e4926d52100 | [
"MIT"
] | null | null | null | import asyncio
def hello_world():
loop.call_later(1, hello_world)
print("Hello World")
loop = asyncio.get_event_loop()
loop.call_later(1, hello_world)
loop.run_forever()
| 16.454545 | 35 | 0.740331 | 28 | 181 | 4.5 | 0.5 | 0.31746 | 0.333333 | 0.222222 | 0.380952 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.138122 | 181 | 10 | 36 | 18.1 | 0.794872 | 0 | 0 | 0.285714 | 0 | 0 | 0.060773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0.142857 | 1 | 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 | 4 |
4e50a8386b32c7ee14652274da36cde85cc474b8 | 217 | py | Python | Leetcode/1030. Matrix Cells in Distance Order/solution1.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | null | null | null | Leetcode/1030. Matrix Cells in Distance Order/solution1.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | null | null | null | Leetcode/1030. Matrix Cells in Distance Order/solution1.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 1 | 2021-08-10T10:09:23.000Z | 2021-08-10T10:09:23.000Z | class Solution:
def allCellsDistOrder(self, R: int, C: int, r0: int, c0: int) -> List[List[int]]:
return sorted([(i, j) for i in range(R) for j in range(C)], key=lambda x: abs(r0 - x[0]) + abs(c0 - x[1]))
| 54.25 | 114 | 0.589862 | 41 | 217 | 3.121951 | 0.585366 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.211982 | 217 | 3 | 115 | 72.333333 | 0.71345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4e52fbe1a5fca3f19a8e8b31bd57d3c5d551038c | 14,258 | py | Python | hlib/python/hlib/op/op.py | pasqoc/heterocl | bdb87b01cbdf613fe746d25dd949e18cd4942ecf | [
"Apache-2.0"
] | 236 | 2019-05-19T01:48:11.000Z | 2022-03-31T09:03:54.000Z | hlib/python/hlib/op/op.py | pasqoc/heterocl | bdb87b01cbdf613fe746d25dd949e18cd4942ecf | [
"Apache-2.0"
] | 248 | 2019-05-17T19:18:36.000Z | 2022-03-30T21:25:47.000Z | hlib/python/hlib/op/op.py | AlgaPeng/heterocl-2 | b5197907d1fe07485466a63671a2a906a861c939 | [
"Apache-2.0"
] | 85 | 2019-05-17T20:09:27.000Z | 2022-02-28T20:19:00.000Z | from collections import OrderedDict
import heterocl as hcl
import heterocl.tvm as tvm
import numpy as np
import hlib
#from .nn import *
dtype = hcl.Float()
max = hcl.reducer(-10000, lambda x, y: tvm.make.Max(x, y), dtype)
min = hcl.reducer(10000, lambda x, y: tvm.make.Min(x, y), dtype)
sum = hcl.reducer(0, lambda x, ... | 36.937824 | 122 | 0.656754 | 2,028 | 14,258 | 4.42998 | 0.048817 | 0.102182 | 0.103295 | 0.063446 | 0.777939 | 0.726625 | 0.713713 | 0.706923 | 0.69301 | 0.686443 | 0 | 0.036527 | 0.210829 | 14,258 | 385 | 123 | 37.033766 | 0.761909 | 0.006593 | 0 | 0.479452 | 0 | 0 | 0.033477 | 0.003108 | 0 | 0 | 0 | 0 | 0.003425 | 1 | 0.143836 | false | 0 | 0.017123 | 0.044521 | 0.383562 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e60df149427be46095a6047c692354dee6619ee | 162 | py | Python | boris/impact/core.py | fragaria/BorIS | 9585c83f29220d8f63910dabd98641ab41ace6cf | [
"MIT"
] | 1 | 2021-08-10T14:01:26.000Z | 2021-08-10T14:01:26.000Z | boris/impact/core.py | fragaria/BorIS | 9585c83f29220d8f63910dabd98641ab41ace6cf | [
"MIT"
] | 5 | 2018-04-04T14:31:34.000Z | 2020-06-08T07:50:23.000Z | boris/impact/core.py | fragaria/BorIS | 9585c83f29220d8f63910dabd98641ab41ace6cf | [
"MIT"
] | 4 | 2017-02-06T15:38:34.000Z | 2018-03-21T09:40:12.000Z | from boris.reporting.core import BaseReport
class BaseImpact(BaseReport):
template_path = 'impact'
def get_filename(self):
return 'impact.xls'
| 18 | 43 | 0.716049 | 19 | 162 | 6 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 162 | 8 | 44 | 20.25 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4e820275860b34f05394498b2d579feba1b2225b | 212 | py | Python | ntuple/__init__.py | kreczko/ntuple | 6a2cebe3a416db5d7130056921e0c7c32caa1736 | [
"BSD-3-Clause"
] | 1 | 2016-02-10T14:09:11.000Z | 2016-02-10T14:09:11.000Z | ntuple/__init__.py | kreczko/ntuple | 6a2cebe3a416db5d7130056921e0c7c32caa1736 | [
"BSD-3-Clause"
] | null | null | null | ntuple/__init__.py | kreczko/ntuple | 6a2cebe3a416db5d7130056921e0c7c32caa1736 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
ntuple
------
Python package for ntuple creation
"""
from __future__ import absolute_import, division, print_function, \
with_statement, unicode_literals
| 15.142857 | 67 | 0.698113 | 25 | 212 | 5.6 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.15566 | 212 | 13 | 68 | 16.307692 | 0.776536 | 0.433962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
4e82dc5f8ffd8daf3024edaff7d773fa67a84b5b | 18,383 | py | Python | tests/test_parsing.py | Zergie/maxcube | 97312d350502aafa0feca3b9e7f4904c27ca63a8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_parsing.py | Zergie/maxcube | 97312d350502aafa0feca3b9e7f4904c27ca63a8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_parsing.py | Zergie/maxcube | 97312d350502aafa0feca3b9e7f4904c27ca63a8 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from nose import tools
from maxcube.parsing import parse
from maxcube.constants import *
RAW_DATA = b'H:JEQ0543545,03f6c9,0113,00000000,4f001e1b,00,32,0d0c1d,1013,03,0000\r\n' + \
b'M:00,01,VgICAg1PYnl2YWNpIHBva29qCLbSAQdQcmVkc2luCwS+AwILBL5LRVEwNTcxNjc0C3RvcGVuaS... | 64.276224 | 356 | 0.661046 | 2,342 | 18,383 | 5.037575 | 0.102477 | 0.177149 | 0.257671 | 0.10256 | 0.83226 | 0.79861 | 0.678674 | 0.550517 | 0.468554 | 0.384811 | 0 | 0.094655 | 0.195996 | 18,383 | 285 | 357 | 64.501754 | 0.703586 | 0.079095 | 0 | 0.290043 | 0 | 0.008658 | 0.18951 | 0.162606 | 0 | 0 | 0 | 0 | 0.822511 | 1 | 0.030303 | false | 0 | 0.017316 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4eab04f4b446de536271dafb3b06843283f251fe | 157 | py | Python | ask/blog/urls.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | ask/blog/urls.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | ask/blog/urls.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url
from . import views
urlpatterns = [url(r'^blog/', views.home, name='home'),] | 19.625 | 57 | 0.656051 | 22 | 157 | 4.681818 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.152866 | 157 | 8 | 57 | 19.625 | 0.766917 | 0.133758 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4ead24a66cfc3f3b5f8707aabdabbb8a8531f67a | 217 | py | Python | fobi_custom/plugins/form_elements/fields/intercept/income/widgets.py | jeancochrane/just-spaces | f7e8f710c3ab2db5f8a87a533547c5176a2d1e83 | [
"MIT"
] | 6 | 2019-04-09T06:52:31.000Z | 2021-08-31T04:31:59.000Z | fobi_custom/plugins/form_elements/fields/intercept/income/widgets.py | jeancochrane/just-spaces | f7e8f710c3ab2db5f8a87a533547c5176a2d1e83 | [
"MIT"
] | 176 | 2019-01-11T21:05:50.000Z | 2021-03-16T17:04:13.000Z | fobi_custom/plugins/form_elements/fields/intercept/income/widgets.py | jeancochrane/just-spaces | f7e8f710c3ab2db5f8a87a533547c5176a2d1e83 | [
"MIT"
] | 1 | 2019-05-10T15:30:25.000Z | 2019-05-10T15:30:25.000Z | from fobi.base import FormElementPluginWidget
class BaseIncomePluginWidget(FormElementPluginWidget):
"""BaseIncomePluginWidget."""
# Same as ``uid`` value of the ``IncomePlugin``.
plugin_uid = "income"
| 24.111111 | 54 | 0.737327 | 19 | 217 | 8.368421 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152074 | 217 | 8 | 55 | 27.125 | 0.86413 | 0.327189 | 0 | 0 | 0 | 0 | 0.042857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
14c7bb7e0a1b00c2968827b43309f84515721265 | 1,832 | py | Python | tests/util.py | MrCull/MonkeyType | 8c626bb0328b157e7a25e307de67aa8f2bf0648c | [
"BSD-3-Clause"
] | 3,890 | 2017-12-14T05:53:56.000Z | 2022-03-31T17:34:58.000Z | tests/util.py | zavab/MonkeyType | 3b77c55a2759b916faf260aa32696f602bd6cbc5 | [
"BSD-3-Clause"
] | 215 | 2017-12-14T19:24:24.000Z | 2022-03-23T21:35:07.000Z | tests/util.py | zavab/MonkeyType | 3b77c55a2759b916faf260aa32696f602bd6cbc5 | [
"BSD-3-Clause"
] | 173 | 2017-12-14T19:12:43.000Z | 2022-03-23T16:04:31.000Z | # Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import inspect
import os
from types import FrameType
from typing import (
Any,
List,
Optional,
)
from django... | 26.550725 | 81 | 0.66976 | 223 | 1,832 | 5.38565 | 0.41704 | 0.099084 | 0.134055 | 0.174854 | 0.333888 | 0.272273 | 0.269775 | 0.089925 | 0 | 0 | 0 | 0.002803 | 0.22107 | 1,832 | 68 | 82 | 26.941176 | 0.838823 | 0.168122 | 0 | 0.191489 | 0 | 0 | 0.022531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212766 | false | 0.021277 | 0.106383 | 0.148936 | 0.595745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
14e10295fcfff92c470f5309e970c7356f22024c | 187 | py | Python | appscan/plug_views.py | zx273983653/vulscan | 787397e267c4e6469522ee0abe55b3e98f968d4a | [
"MIT"
] | 582 | 2019-02-23T09:23:33.000Z | 2022-03-31T04:42:08.000Z | appscan/plug_views.py | git-wsf/vulscan | 112f8d6104daecfaaad579f73029a26d56aaa9b3 | [
"MIT"
] | 6 | 2019-03-20T10:37:48.000Z | 2020-03-10T06:20:07.000Z | appscan/plug_views.py | git-wsf/vulscan | 112f8d6104daecfaaad579f73029a26d56aaa9b3 | [
"MIT"
] | 183 | 2019-02-23T06:00:18.000Z | 2022-03-20T02:17:57.000Z | #coding=utf-8
#导入公共函数库
from function import *
# Create your views here.
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
def index(request):
return render(request,'plug.html') | 17 | 38 | 0.743316 | 27 | 187 | 5.148148 | 0.777778 | 0.057554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.128342 | 187 | 11 | 38 | 17 | 0.840491 | 0.229947 | 0 | 0 | 0 | 0 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
14e148f4074853929720d189d6341ad568e7ce5e | 89 | py | Python | mysite/webapp1/apps.py | obaidr76/CKD | c92faa6e08c2a896f467a54ee5d1186a47325553 | [
"Apache-2.0"
] | null | null | null | mysite/webapp1/apps.py | obaidr76/CKD | c92faa6e08c2a896f467a54ee5d1186a47325553 | [
"Apache-2.0"
] | 2 | 2019-04-16T17:35:43.000Z | 2019-04-27T18:34:54.000Z | mysite/webapp1/apps.py | obaidr76/CKD | c92faa6e08c2a896f467a54ee5d1186a47325553 | [
"Apache-2.0"
] | 1 | 2019-04-16T06:31:14.000Z | 2019-04-16T06:31:14.000Z | from django.apps import AppConfig
class Webapp1Config(AppConfig):
name = 'webapp1'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.878378 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
14e5a16e73d3b9af1860725575e9eb13768c1d44 | 348 | py | Python | site_scons/mplabx.py | kbhomes/ps2plus | 63467133367082ec06c88e5c0fd623373709717e | [
"MIT"
] | null | null | null | site_scons/mplabx.py | kbhomes/ps2plus | 63467133367082ec06c88e5c0fd623373709717e | [
"MIT"
] | null | null | null | site_scons/mplabx.py | kbhomes/ps2plus | 63467133367082ec06c88e5c0fd623373709717e | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
@dataclass
class MPLABXProperties:
toolchain: str
toolchain_version: str
device: str = None
compiler_properties: dict[str, str] = field(default_factory=dict)
linker_properties: dict[str, str] = field(default_factory=dict)
xc8_properties: dict[str, str] =... | 34.8 | 69 | 0.752874 | 43 | 348 | 5.930233 | 0.44186 | 0.164706 | 0.2 | 0.235294 | 0.505882 | 0.505882 | 0.505882 | 0.505882 | 0 | 0 | 0 | 0.003413 | 0.158046 | 348 | 10 | 70 | 34.8 | 0.866894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
09023258d6031c8515a2e5076c494d26f67eed81 | 92 | py | Python | main.py | b0nz0/Brickanoid | e97d5eb0a94ecb6eaa33678096beaecac7337d81 | [
"MIT"
] | null | null | null | main.py | b0nz0/Brickanoid | e97d5eb0a94ecb6eaa33678096beaecac7337d81 | [
"MIT"
] | null | null | null | main.py | b0nz0/Brickanoid | e97d5eb0a94ecb6eaa33678096beaecac7337d81 | [
"MIT"
] | null | null | null | from brickanoid_app import BrickanoidApp
app = BrickanoidApp(title="Brickanoid")
app.run()
| 18.4 | 40 | 0.804348 | 11 | 92 | 6.636364 | 0.636364 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 92 | 4 | 41 | 23 | 0.879518 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
09299d79a9e9135be4ebad8dd2878f4007dc2a33 | 1,087 | py | Python | fiepipefreecad/commands/manager.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | fiepipefreecad/commands/manager.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | fiepipefreecad/commands/manager.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | import typing
import fiepipedesktoplib.locallymanagedtypes.shells.AbstractLocalManagedTypeCommand
from fiepipefreecad.routines.manager import FreeCADLocalManagerInteractiveRoutines
from fiepipedesktoplib.shells.AbstractShell import AbstractShell
from fiepipedesktoplib.shells.ui.abspath_input_ui import AbspathInputUI
... | 41.807692 | 106 | 0.795768 | 103 | 1,087 | 8.23301 | 0.504854 | 0.028302 | 0.099057 | 0.17217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002116 | 0.130635 | 1,087 | 25 | 107 | 43.48 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0.083717 | 0.020239 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.277778 | 0.111111 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
09477827fc65558a5a717695973ec537515efc8d | 605 | py | Python | pdom/test/base.py | rysson/pdom | a3f63e33c83b6640cdd5a8afc7f1c5f5518934f7 | [
"MIT"
] | null | null | null | pdom/test/base.py | rysson/pdom | a3f63e33c83b6640cdd5a8afc7f1c5f5518934f7 | [
"MIT"
] | null | null | null | pdom/test/base.py | rysson/pdom | a3f63e33c83b6640cdd5a8afc7f1c5f5518934f7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, unicode_literals, print_function
import sys
PY2 = sys.version_info[0] == 2
if PY2:
from unittest import TestCase as UTestCase
class TestCaseSubTest(object):
def __init__(self, test, title):
self.test, self.title = te... | 28.809524 | 82 | 0.65124 | 71 | 605 | 5.267606 | 0.56338 | 0.072193 | 0.096257 | 0.139037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011211 | 0.26281 | 605 | 20 | 83 | 30.25 | 0.827354 | 0.034711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0.058824 | 0.235294 | 0.117647 | 0.705882 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
095a582f414ec708c17b15aff93b284e784ea0d4 | 159 | py | Python | src/aioprometheus/formats/__init__.py | JacobHenner/aioprometheus | d0528e832a1cdbc3503942b1b0c8925a43007500 | [
"MIT"
] | 104 | 2016-11-01T04:43:23.000Z | 2022-03-09T18:15:05.000Z | src/aioprometheus/formats/__init__.py | JacobHenner/aioprometheus | d0528e832a1cdbc3503942b1b0c8925a43007500 | [
"MIT"
] | 35 | 2017-04-05T07:52:15.000Z | 2022-03-13T02:29:50.000Z | src/aioprometheus/formats/__init__.py | JacobHenner/aioprometheus | d0528e832a1cdbc3503942b1b0c8925a43007500 | [
"MIT"
] | 18 | 2017-02-08T07:48:26.000Z | 2022-03-01T01:16:29.000Z | """ This sub-package implements metrics formatters """
from . import text
try:
from . import binary
except ImportError:
binary = None # type: ignore
| 19.875 | 54 | 0.698113 | 19 | 159 | 5.842105 | 0.842105 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213836 | 159 | 7 | 55 | 22.714286 | 0.888 | 0.383648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
095ba3fbd6a91731829951a544b80ad332d7faa5 | 357 | py | Python | 04-Functions-advanced/age_assignment.py | nmoskova/Python-advanced | 007f496e868aa151e39d79446b055e76ffb2db95 | [
"MIT"
] | null | null | null | 04-Functions-advanced/age_assignment.py | nmoskova/Python-advanced | 007f496e868aa151e39d79446b055e76ffb2db95 | [
"MIT"
] | null | null | null | 04-Functions-advanced/age_assignment.py | nmoskova/Python-advanced | 007f496e868aa151e39d79446b055e76ffb2db95 | [
"MIT"
] | null | null | null | def age_assignment(*args, **kwargs, ):
# names_age = {}
# for name in args:
# first_letter = name[0]
# names_age[name] = kwargs[first_letter]
#
# return names_age
return {x: kwargs[x[0]] for x in args}
print(age_assignment("Peter", "George", G=26, P=19))
print(age_assignment("Amy"... | 27.461538 | 63 | 0.596639 | 54 | 357 | 3.796296 | 0.555556 | 0.190244 | 0.17561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043321 | 0.22409 | 357 | 13 | 63 | 27.461538 | 0.696751 | 0.333333 | 0 | 0 | 0 | 0 | 0.099138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 4 |
116c785793562b7f870e76b2117cbb9c47a542ec | 424 | py | Python | materials/class_instance_static.py | vyahello/python-classes-cheetsheet | c5c5f0e87a0988380345601b1209865f0b4d8f24 | [
"Apache-2.0"
] | null | null | null | materials/class_instance_static.py | vyahello/python-classes-cheetsheet | c5c5f0e87a0988380345601b1209865f0b4d8f24 | [
"Apache-2.0"
] | null | null | null | materials/class_instance_static.py | vyahello/python-classes-cheetsheet | c5c5f0e87a0988380345601b1209865f0b4d8f24 | [
"Apache-2.0"
] | null | null | null | class ClassName:
def instance_method(self):
return self
@staticmethod
def static_method():
return 'nothing...'
@classmethod
def class_method(cls):
return cls
print(ClassName().instance_method())
print(ClassName().static_method())
print(ClassName().class_method())
print(C... | 20.190476 | 45 | 0.70283 | 46 | 424 | 6.282609 | 0.282609 | 0.290657 | 0.276817 | 0.193772 | 0.352941 | 0.352941 | 0.352941 | 0.352941 | 0 | 0 | 0 | 0 | 0.167453 | 424 | 20 | 46 | 21.2 | 0.818697 | 0 | 0 | 0 | 0 | 0 | 0.023585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.466667 | 0.4 | 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 | 1 | 0 | 0 | 0 | 4 |
118bb9c21798952075c1909cf69baf8d56f8bc4c | 439 | py | Python | python-visualizer/draw/DrawingPatternPoint.py | Lehnurr/spe-ed-solver-prototype | e3536fcdfa7cee442b7a2d45dcfbdce01893c392 | [
"Apache-2.0"
] | null | null | null | python-visualizer/draw/DrawingPatternPoint.py | Lehnurr/spe-ed-solver-prototype | e3536fcdfa7cee442b7a2d45dcfbdce01893c392 | [
"Apache-2.0"
] | null | null | null | python-visualizer/draw/DrawingPatternPoint.py | Lehnurr/spe-ed-solver-prototype | e3536fcdfa7cee442b7a2d45dcfbdce01893c392 | [
"Apache-2.0"
] | null | null | null | class DrawingPatternPoint:
def __init__(self, x_change: int, y_change: int, is_obligatory: bool = True):
self.x_change = x_change
self.y_change = y_change
self.is_obligatory = is_obligatory
def copy(self):
return DrawingPatternPoint(self.x_change, self.y_change, self.is_obligato... | 36.583333 | 86 | 0.712984 | 59 | 439 | 4.966102 | 0.271186 | 0.204778 | 0.150171 | 0.122867 | 0.59727 | 0.457338 | 0.457338 | 0.457338 | 0.457338 | 0.457338 | 0 | 0 | 0.198178 | 439 | 11 | 87 | 39.909091 | 0.832386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
119575c6cbdb930063d1b3ef811d61c2b95be9aa | 162 | py | Python | stubs/asn1crypto/csr.py | joernheissler/chipcard | 1ec1da0a1575f8d9735ae14fb54df6a20e654fbb | [
"MIT"
] | 1 | 2020-04-23T09:13:33.000Z | 2020-04-23T09:13:33.000Z | stubs/asn1crypto/csr.py | joernheissler/chipcard | 1ec1da0a1575f8d9735ae14fb54df6a20e654fbb | [
"MIT"
] | 7 | 2019-02-26T14:55:40.000Z | 2020-03-27T13:31:55.000Z | stubs/asn1crypto/csr.py | joernheissler/chipcard | 1ec1da0a1575f8d9735ae14fb54df6a20e654fbb | [
"MIT"
] | null | null | null | from __future__ import annotations
from .core import Sequence
class CertificationRequest(Sequence):
...
class CertificationRequestInfo(Sequence):
...
| 14.727273 | 41 | 0.759259 | 14 | 162 | 8.5 | 0.642857 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 162 | 10 | 42 | 16.2 | 0.875 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
11b32a1ab00cd158100eb9417d392b4490b3a964 | 99 | py | Python | persister/observations/apps.py | City-of-Helsinki/hel-data-pipe | e473237cd00a54a791337ac611e99556dc37ea35 | [
"MIT"
] | 1 | 2021-02-25T14:21:41.000Z | 2021-02-25T14:21:41.000Z | persister/observations/apps.py | City-of-Helsinki/hel-data-pipe | e473237cd00a54a791337ac611e99556dc37ea35 | [
"MIT"
] | 9 | 2020-11-23T11:56:56.000Z | 2021-02-25T12:20:05.000Z | persister/observations/apps.py | City-of-Helsinki/hel-data-pipe | e473237cd00a54a791337ac611e99556dc37ea35 | [
"MIT"
] | 1 | 2021-07-25T12:16:53.000Z | 2021-07-25T12:16:53.000Z | from django.apps import AppConfig
class ObservationsConfig(AppConfig):
name = "observations"
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
11cfc9f6c760d492bd2d8af062ad06e08d280cc9 | 1,457 | py | Python | service_layer/abstract_services/reimbursement_service.py | Alejandro-Fuste/Python_Javascript_ReimbursementApp | dacebd38951ae6976da3e526b200a6fda13f0e9f | [
"PostgreSQL",
"MIT"
] | null | null | null | service_layer/abstract_services/reimbursement_service.py | Alejandro-Fuste/Python_Javascript_ReimbursementApp | dacebd38951ae6976da3e526b200a6fda13f0e9f | [
"PostgreSQL",
"MIT"
] | 10 | 2021-12-08T21:39:29.000Z | 2021-12-14T22:18:27.000Z | service_layer/abstract_services/reimbursement_service.py | Alejandro-Fuste/python_javascript_ReimbursementApp | dacebd38951ae6976da3e526b200a6fda13f0e9f | [
"PostgreSQL",
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import List
from entities.reimbursement import Reimbursement
class ReimbursementService(ABC):
# for employees to create new request
@abstractmethod
def service_create_new_reimbursement_request(self, reimbursement: Reimbursement) -> Reimbursement:
pa... | 29.734694 | 102 | 0.743995 | 159 | 1,457 | 6.540881 | 0.333333 | 0.147115 | 0.207692 | 0.181731 | 0.479808 | 0.400962 | 0.366346 | 0.206731 | 0.206731 | 0.206731 | 0 | 0 | 0.199039 | 1,457 | 48 | 103 | 30.354167 | 0.891174 | 0.139327 | 0 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0.290323 | 0.096774 | 0 | 0.419355 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
11d28ef5516c968dbce7ad5d3924e48dcc007cc3 | 96 | py | Python | kattis/ladder/ladder.py | pi-guy-in-the-sky/competitive-programming | e079f6caf07b5de061ea4f56218f9b577e49a965 | [
"MIT"
] | null | null | null | kattis/ladder/ladder.py | pi-guy-in-the-sky/competitive-programming | e079f6caf07b5de061ea4f56218f9b577e49a965 | [
"MIT"
] | null | null | null | kattis/ladder/ladder.py | pi-guy-in-the-sky/competitive-programming | e079f6caf07b5de061ea4f56218f9b577e49a965 | [
"MIT"
] | 1 | 2020-10-25T05:46:57.000Z | 2020-10-25T05:46:57.000Z | from math import *
h, v = [int(x) for x in input().split(" ")]
print(ceil(h / sin(radians(v))))
| 24 | 43 | 0.59375 | 18 | 96 | 3.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 3 | 44 | 32 | 0.7125 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
11d673cb970f7c920774e009181656a8e50c1ca6 | 261 | py | Python | images/admin.py | EmmaKibore/personal-gallery | 69843d88495a17809d560952e307260b36184b86 | [
"MIT"
] | null | null | null | images/admin.py | EmmaKibore/personal-gallery | 69843d88495a17809d560952e307260b36184b86 | [
"MIT"
] | null | null | null | images/admin.py | EmmaKibore/personal-gallery | 69843d88495a17809d560952e307260b36184b86 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Location, Category, Image
# Register your models here.
# class ImageAdmin(admin)
# filter_horizontal =('category',)
admin.site.register(Location)
admin.site.register(Category)
admin.site.register(Image) | 26.1 | 45 | 0.781609 | 33 | 261 | 6.151515 | 0.515152 | 0.133005 | 0.251232 | 0.246305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 261 | 10 | 46 | 26.1 | 0.875 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ee9aa5d4449d93671410e90c2dcbdb62fe8b8dc1 | 165 | py | Python | src/waxtax/run_with_poetry.py | akrivitzky/waxtax | e16faf5d1411d11afcb240523c07f1fc7465ea9f | [
"MIT"
] | 3 | 2021-10-07T04:52:30.000Z | 2021-12-21T15:37:22.000Z | src/waxtax/run_with_poetry.py | akrivitzky/waxtax | e16faf5d1411d11afcb240523c07f1fc7465ea9f | [
"MIT"
] | 2 | 2021-11-05T19:25:02.000Z | 2022-02-04T02:55:04.000Z | src/waxtax/run_with_poetry.py | akrivitzky/waxtax | e16faf5d1411d11afcb240523c07f1fc7465ea9f | [
"MIT"
] | 3 | 2021-10-10T13:24:51.000Z | 2022-02-04T00:40:45.000Z | import subprocess
import sys
def main():
subprocess.run(
["poetry", "run", "python", "src/waxtax"], stderr=sys.stderr, stdout=sys.stdout
)
| 18.333333 | 88 | 0.6 | 19 | 165 | 5.210526 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 165 | 8 | 89 | 20.625 | 0.792 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eef541bb8e0dcd67f8ebb18f689e3f1c65dec9e5 | 29 | py | Python | venv/lib/python3.6/os.py | bradjballard/personal_search_engine | 530c5224721a7d700ca0c7c78a513bbc81f05c38 | [
"NCSA"
] | null | null | null | venv/lib/python3.6/os.py | bradjballard/personal_search_engine | 530c5224721a7d700ca0c7c78a513bbc81f05c38 | [
"NCSA"
] | null | null | null | venv/lib/python3.6/os.py | bradjballard/personal_search_engine | 530c5224721a7d700ca0c7c78a513bbc81f05c38 | [
"NCSA"
] | null | null | null | /anaconda/lib/python3.6/os.py | 29 | 29 | 0.793103 | 6 | 29 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 29 | 1 | 29 | 29 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0129c2b77670633f248671e855600f4809b981c5 | 280 | py | Python | 2757.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 6 | 2021-04-13T00:33:43.000Z | 2022-02-10T10:23:59.000Z | 2757.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | null | null | null | 2757.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 3 | 2021-03-23T18:42:24.000Z | 2022-02-10T10:24:07.000Z | a = int(input())
b = int(input())
c = int(input())
print('A = {}, B = {}, C = {}'.format(a, b, c))
print('A = {:>10}, B = {:>10}, C = {:>10}'.format(a, b, c))
print('A = {:010}, B = {:010}, C = {:010}'.format(a, b, c))
print('A = {:<10}, B = {:<10}, C = {:<10}'.format(a, b, c))
| 31.111111 | 59 | 0.414286 | 50 | 280 | 2.32 | 0.18 | 0.086207 | 0.12931 | 0.310345 | 0.603448 | 0.603448 | 0.551724 | 0.551724 | 0.551724 | 0.551724 | 0 | 0.09292 | 0.192857 | 280 | 8 | 60 | 35 | 0.420354 | 0 | 0 | 0 | 0 | 0 | 0.442857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
013e5fc4263eecdca03df876ff25cbb899aa165b | 59 | py | Python | resilient-circuits/resilient_circuits/cmds/__init__.py | COLDTURNIP/resilient-python-api | 14423f1dec32af67f7203c8d4d36d0a9e2651802 | [
"MIT"
] | 28 | 2017-12-22T00:26:59.000Z | 2022-01-22T14:51:33.000Z | resilient-circuits/resilient_circuits/cmds/__init__.py | COLDTURNIP/resilient-python-api | 14423f1dec32af67f7203c8d4d36d0a9e2651802 | [
"MIT"
] | 18 | 2018-03-06T19:04:20.000Z | 2022-03-21T15:06:30.000Z | resilient-circuits/resilient_circuits/cmds/__init__.py | COLDTURNIP/resilient-python-api | 14423f1dec32af67f7203c8d4d36d0a9e2651802 | [
"MIT"
] | 28 | 2018-05-01T17:53:22.000Z | 2022-03-28T09:56:59.000Z | # (c) Copyright IBM Corp. 2010, 2021. All Rights Reserved.
| 29.5 | 58 | 0.711864 | 9 | 59 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 0.169492 | 59 | 1 | 59 | 59 | 0.693878 | 0.949153 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
01871a6f1c57bcb183c057c3e5db286069f49c66 | 114 | py | Python | lang/py/pylib/06/glob/glob_question.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/pylib/06/glob/glob_question.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/pylib/06/glob/glob_question.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:UTF-8 -*-
import glob
for name in glob.glob('dir/file?.txt'):
print name
| 14.25 | 39 | 0.622807 | 19 | 114 | 3.736842 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.175439 | 114 | 7 | 40 | 16.285714 | 0.744681 | 0.359649 | 0 | 0 | 0 | 0 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6d76cb8fa9d6e84234b53eac59e7ec9036ba0146 | 31 | py | Python | data/studio21_generated/introductory/3960/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3960/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3960/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def align_right(text, width):
| 15.5 | 29 | 0.741935 | 5 | 31 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 2 | 30 | 15.5 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6daeea5f9c3a61dd704babff647dea9475adcc4b | 145 | py | Python | glambox/_model/__init__.py | glamlab/glambox | 9ed47f896373111f0619999f51cd6176b6aa0084 | [
"MIT"
] | 16 | 2018-06-04T16:05:54.000Z | 2022-01-17T22:38:34.000Z | glambox/_model/__init__.py | glamlab/glambox | 9ed47f896373111f0619999f51cd6176b6aa0084 | [
"MIT"
] | 22 | 2018-02-21T09:30:43.000Z | 2022-03-18T01:22:34.000Z | glambox/_model/__init__.py | glamlab/glambox | 9ed47f896373111f0619999f51cd6176b6aa0084 | [
"MIT"
] | 6 | 2018-03-15T16:45:17.000Z | 2021-04-09T05:02:44.000Z | from .model import GLAM
__all__ = ['GLAM']
# from .simulation import *
# from .utils import *
# from .components import *
# from .fit import * | 18.125 | 27 | 0.675862 | 18 | 145 | 5.222222 | 0.5 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 145 | 8 | 28 | 18.125 | 0.810345 | 0.627586 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6db44bd0cfa85b9abbf64bc970c85a46a297dd27 | 1,442 | py | Python | Spammers(Beta)/spammer.py | Levanchuongit/Zero-attacker | f06c2faf21c43394b58b16360d38e069b04b844f | [
"MIT"
] | 1 | 2022-03-27T15:35:30.000Z | 2022-03-27T15:35:30.000Z | Spammers(Beta)/spammer.py | Levanchuongit/Zero-attacker | f06c2faf21c43394b58b16360d38e069b04b844f | [
"MIT"
] | null | null | null | Spammers(Beta)/spammer.py | Levanchuongit/Zero-attacker | f06c2faf21c43394b58b16360d38e069b04b844f | [
"MIT"
] | 1 | 2021-12-05T18:28:22.000Z | 2021-12-05T18:28:22.000Z | import os
from colorama import Fore
print(Fore.MAGENTA+"""
_______ _______ _______ _______ _______ __________________ _______ _______ _ _______ _______
/ ___ )( ____ \( ____ )( ___ ) ( ___ )\__ __/\__ __/( ___ )( ____ \| \ /\( ____ \( ____ )
\/ ) || ( \/| ... | 37.947368 | 116 | 0.291262 | 39 | 1,442 | 4.923077 | 0.769231 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002793 | 0.503467 | 1,442 | 38 | 117 | 37.947368 | 0.265363 | 0 | 0 | 0.095238 | 0 | 0.333333 | 0.877667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.095238 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6db5be6f8cff05b7e266f83ed3c71cde3bc6e5ba | 309 | py | Python | pyfunctional/set.py | TeddyBearSuicide/pyfunctional | c845092b30cf989f73c0436e390f279028b49632 | [
"BSD-3-Clause"
] | null | null | null | pyfunctional/set.py | TeddyBearSuicide/pyfunctional | c845092b30cf989f73c0436e390f279028b49632 | [
"BSD-3-Clause"
] | null | null | null | pyfunctional/set.py | TeddyBearSuicide/pyfunctional | c845092b30cf989f73c0436e390f279028b49632 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import annotations
import pyfunctional
from pyfunctional.iterable import IndexIterator
class Set(IndexIterator, set):
def to_list(self) -> pyfunctional.List:
return pyfunctional.List(self)
def to_tuple(self) -> pyfunctional.Tuple:
return pyfunctional.Tuple(self)
| 20.6 | 47 | 0.747573 | 35 | 309 | 6.428571 | 0.428571 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177994 | 309 | 14 | 48 | 22.071429 | 0.885827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.25 | 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 | 1 | 1 | 1 | 0 | 0 | 4 |
6dbee97dfb88d6d40fb54d46b33a085995919df4 | 41 | py | Python | utils/__init__.py | xiaoxin1992/bind-pod | 30eda8f0fd5a374bee3548a103dcb0d99fa39630 | [
"MIT"
] | 12 | 2020-10-21T05:05:15.000Z | 2022-01-12T03:21:39.000Z | utils/__init__.py | xiaoxin1992/bind-pod | 30eda8f0fd5a374bee3548a103dcb0d99fa39630 | [
"MIT"
] | 2 | 2021-11-11T03:04:32.000Z | 2022-02-08T10:12:14.000Z | utils/__init__.py | xiaoxin1992/bind-pod | 30eda8f0fd5a374bee3548a103dcb0d99fa39630 | [
"MIT"
] | 5 | 2020-11-03T10:20:46.000Z | 2021-12-27T07:00:46.000Z | from .log import Logger
logs = Logger()
| 10.25 | 23 | 0.707317 | 6 | 41 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 3 | 24 | 13.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6dca7df5613dab0946e6912066fd707e54f7e362 | 757,703 | py | Python | src/gpapi/googleplay_pb2.py | ChangMinPark/android-app-downloader | 597800430f11a6eda0016c69ce52e2527ba7bc07 | [
"MIT"
] | null | null | null | src/gpapi/googleplay_pb2.py | ChangMinPark/android-app-downloader | 597800430f11a6eda0016c69ce52e2527ba7bc07 | [
"MIT"
] | null | null | null | src/gpapi/googleplay_pb2.py | ChangMinPark/android-app-downloader | 597800430f11a6eda0016c69ce52e2527ba7bc07 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: googleplay.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.prot... | 33.55192 | 49,009 | 0.589305 | 72,145 | 757,703 | 5.874198 | 0.029427 | 0.054611 | 0.081058 | 0.069317 | 0.727172 | 0.694783 | 0.681982 | 0.666062 | 0.643202 | 0.636408 | 0 | 0.040061 | 0.316277 | 757,703 | 22,582 | 49,010 | 33.553405 | 0.777981 | 0.013529 | 0 | 0.820753 | 1 | 0.003268 | 0.11837 | 0.073341 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000772 | 0.000182 | 0 | 0.000182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6dd1f7ad70597f8be17998e5502cf6576c6359b5 | 1,373 | py | Python | models/reservoir/base.py | fresh-professor/DiverseCont | 4be198f5531a7efe2cb91b17066322a38d219127 | [
"MIT"
] | 21 | 2021-09-08T14:37:06.000Z | 2022-02-28T02:58:35.000Z | models/reservoir/base.py | fresh-professor/DiverseCont | 4be198f5531a7efe2cb91b17066322a38d219127 | [
"MIT"
] | 1 | 2021-12-28T09:17:38.000Z | 2021-12-28T11:49:30.000Z | models/reservoir/base.py | fresh-professor/DiverseCont | 4be198f5531a7efe2cb91b17066322a38d219127 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
import torch
from torch.utils.data import DataLoader
from tensorboardX import SummaryWriter
class rsvrBase(ABC):
def __init__(self, config, size):
super().__init__()
self.config = config
self.rsvr = {}
self.rsvr_total_size = size
self.n = ... | 24.963636 | 109 | 0.612527 | 163 | 1,373 | 4.883436 | 0.349693 | 0.050251 | 0.079146 | 0.042714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001026 | 0.289876 | 1,373 | 54 | 110 | 25.425926 | 0.815385 | 0 | 0 | 0.238095 | 0 | 0 | 0.016752 | 0.016752 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.095238 | 0.095238 | 0.119048 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
a307bd96883bab05ff0281961d9a586d8ad6d9b3 | 754 | py | Python | hyperstyle/src/python/review/inspectors/common.py | hyperskill/hyperstyle | bf3c6e2dc42290ad27f2d30ce42d84a53241544b | [
"Apache-2.0"
] | 18 | 2020-10-05T16:48:11.000Z | 2022-03-22T04:15:38.000Z | hyperstyle/src/python/review/inspectors/common.py | hyperskill/hyperstyle | bf3c6e2dc42290ad27f2d30ce42d84a53241544b | [
"Apache-2.0"
] | 60 | 2020-10-05T17:01:05.000Z | 2022-01-27T12:46:14.000Z | hyperstyle/src/python/review/inspectors/common.py | hyperskill/hyperstyle | bf3c6e2dc42290ad27f2d30ce42d84a53241544b | [
"Apache-2.0"
] | 6 | 2021-02-09T09:31:19.000Z | 2021-08-13T07:45:51.000Z | from math import floor
def convert_percentage_of_value_to_lack_of_value(percentage_of_value: float) -> int:
"""
Converts percentage of value to lack of value.
Calculated by the formula: floor(100 - percentage_of_value).
:param percentage_of_value: value in the range from 0 to 100.
:return: lack o... | 31.416667 | 84 | 0.710875 | 110 | 754 | 4.727273 | 0.5 | 0.121154 | 0.196154 | 0.073077 | 0.211538 | 0.115385 | 0.115385 | 0 | 0 | 0 | 0 | 0.023026 | 0.193634 | 754 | 23 | 85 | 32.782609 | 0.832237 | 0.54244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
09f93d269ba1570e9f851a8c2e92d8de1665c569 | 320 | py | Python | manifold_flow/nn/__init__.py | Butters-cloud/denoising-normalizing-flow | 12d56a0d069e10a744acabf5e78fdbfba8df54ee | [
"MIT"
] | 12 | 2021-11-18T15:01:17.000Z | 2022-02-22T16:17:42.000Z | manifold_flow/nn/__init__.py | Butters-cloud/denoising-normalizing-flow | 12d56a0d069e10a744acabf5e78fdbfba8df54ee | [
"MIT"
] | 2 | 2022-01-22T00:41:13.000Z | 2022-02-01T15:41:42.000Z | manifold_flow/nn/__init__.py | Butters-cloud/denoising-normalizing-flow | 12d56a0d069e10a744acabf5e78fdbfba8df54ee | [
"MIT"
] | 1 | 2022-01-26T22:44:07.000Z | 2022-01-26T22:44:07.000Z | from .resnet import ResidualNet, ConvResidualNet
from .unet import UNet
from .attention import ConvAttentionNet
from .mlp import MLP
from .conv import SylvesterFlowConvEncoderNet, SylvesterFlowConvDecoderNet,infoGAN_decoder, infoGAN_encoder, ConvEncoder, simple_decoder, ConvDecoder, Conv2dSameSize, ModifiedConvEncoder
| 53.333333 | 186 | 0.86875 | 32 | 320 | 8.59375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003425 | 0.0875 | 320 | 5 | 187 | 64 | 0.938356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
61e5af70d5964ce703796ed797cb019b3ee045ae | 150 | py | Python | src/ase2sprkkr/version.py | ase2sprkkr/ase2sprkkr | 5e04f54365e4ab65d97bd11d573b078674548a59 | [
"MIT"
] | 1 | 2022-03-14T22:56:11.000Z | 2022-03-14T22:56:11.000Z | src/ase2sprkkr/version.py | ase2sprkkr/ase2sprkkr | 5e04f54365e4ab65d97bd11d573b078674548a59 | [
"MIT"
] | 1 | 2022-03-10T09:08:50.000Z | 2022-03-10T09:08:50.000Z | src/ase2sprkkr/version.py | ase2sprkkr/ase2sprkkr | 5e04f54365e4ab65d97bd11d573b078674548a59 | [
"MIT"
] | null | null | null | """
Module version
==============
Just the version of the ASE2SPRKKR package.
"""
#: Version number of the ASE2SPRKKR package
__version__ = "1.0.5"
| 15 | 43 | 0.653333 | 19 | 150 | 4.947368 | 0.578947 | 0.106383 | 0.319149 | 0.468085 | 0.617021 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0.16 | 150 | 9 | 44 | 16.666667 | 0.706349 | 0.78 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
110f1c16cc9eff51dd2ef21eb002ce1b86d517ef | 4,080 | py | Python | Joy_QA_Platform/ApiManager/views.py | bzc128/Joy_QA_Platform | d3325331cd832a22e91ad895ab793577609aabc4 | [
"Apache-2.0"
] | 123 | 2019-03-01T06:07:43.000Z | 2021-12-11T07:59:20.000Z | Joy_QA_Platform/ApiManager/views.py | bzc128/Joy_QA_Platform | d3325331cd832a22e91ad895ab793577609aabc4 | [
"Apache-2.0"
] | 8 | 2019-03-06T06:33:34.000Z | 2021-06-10T21:13:55.000Z | Joy_QA_Platform/ApiManager/views.py | bzc128/Joy_QA_Platform | d3325331cd832a22e91ad895ab793577609aabc4 | [
"Apache-2.0"
] | 54 | 2019-03-01T02:25:13.000Z | 2021-12-23T16:55:17.000Z | #ApiManager模块所有的前端请求都在此处理
from .operations import operation_project, operation_module, operation_case, operation_task, operation_report, operation_env, operation_auth \
, operation_index, operation_locust
def index(request):
return operation_index.index(request)
def fail_task_list(request):
return operati... | 25.5 | 142 | 0.802941 | 539 | 4,080 | 5.769944 | 0.070501 | 0.245981 | 0.353698 | 0.075241 | 0.49582 | 0.023151 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118382 | 4,080 | 159 | 143 | 25.660377 | 0.864609 | 0.008824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.490385 | false | 0 | 0.009615 | 0.490385 | 0.990385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
11458a5d8e2427d645783256d65e4443974943f9 | 507 | py | Python | gradertools/verification/verificate.py | david58/gradertools | 61a1b2ed0df7bea7e472a7e5300962a8c1c3710d | [
"MIT"
] | null | null | null | gradertools/verification/verificate.py | david58/gradertools | 61a1b2ed0df7bea7e472a7e5300962a8c1c3710d | [
"MIT"
] | null | null | null | gradertools/verification/verificate.py | david58/gradertools | 61a1b2ed0df7bea7e472a7e5300962a8c1c3710d | [
"MIT"
] | null | null | null | from .verificate_diff import VerificateDiff
class Verificate:
def __init__(self, inputfile, outputfile, correctoutput, isolator=None):
Verificator = VerificateDiff
self._verif = Verificator(inputfile, outputfile, correctoutput)
self._isol = isolator
def verificate(self):
self... | 25.35 | 77 | 0.690335 | 52 | 507 | 6.480769 | 0.423077 | 0.106825 | 0.189911 | 0.11276 | 0.130564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224852 | 507 | 19 | 78 | 26.684211 | 0.857506 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1163b44aaaaab31e1cbd30ac9d226845bf84580d | 290 | py | Python | scitbx/tests/tst_basic.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | scitbx/tests/tst_basic.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | scitbx/tests/tst_basic.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
import sys
from libtbx import easy_run
ret = easy_run.call("scitbx.unicode_examples")
ret += easy_run.call("scitbx.show_sizes")
ret += easy_run.call("scitbx.show_exp_times 100")
ret += easy_run.call("echo OK")
sys.exit(ret)
| 29 | 64 | 0.782759 | 47 | 290 | 4.510638 | 0.510638 | 0.165094 | 0.188679 | 0.264151 | 0.320755 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0.01145 | 0.096552 | 290 | 9 | 65 | 32.222222 | 0.79771 | 0 | 0 | 0 | 0 | 0 | 0.248276 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
116b9b0cb77d5aa3254968c8f0fc4edecbf6d9f3 | 1,060 | py | Python | converter/nnef_converters/tf_converters/examples/small_networks.py | asdor/NNEF-Tools | e84c3db29c1bffbd1938d40a10765badc0848606 | [
"Apache-2.0"
] | null | null | null | converter/nnef_converters/tf_converters/examples/small_networks.py | asdor/NNEF-Tools | e84c3db29c1bffbd1938d40a10765badc0848606 | [
"Apache-2.0"
] | null | null | null | converter/nnef_converters/tf_converters/examples/small_networks.py | asdor/NNEF-Tools | e84c3db29c1bffbd1938d40a10765badc0848606 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
def small_net1():
# NHWC
input_ = tf.placeholder(tf.float32, shape=[10, 64, 64, 3], name="input")
filter1 = tf.get_variable(dtype=tf.float32, shape=[4, 4, 3, 8], name="filter")
conv1 = tf.nn.conv2d(input_, filter1, strides=[1, 2, 2, 1], padding='VALID')
relu = tf.nn.relu... | 31.176471 | 100 | 0.630189 | 166 | 1,060 | 3.951807 | 0.240964 | 0.021341 | 0.128049 | 0.109756 | 0.829268 | 0.768293 | 0.768293 | 0.664634 | 0.664634 | 0.664634 | 0 | 0.098624 | 0.177358 | 1,060 | 33 | 101 | 32.121212 | 0.65367 | 0.008491 | 0 | 0.470588 | 0 | 0 | 0.070611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fee806f9741c7c15f61cd403d074eedf14c18a9d | 250 | py | Python | e2elink/steps/compare/columns/identifier.py | ersilia-os/cidrz-e2e-linkage | 840581cdb90617f3ceb1be898992f0a8df71f9e3 | [
"MIT"
] | null | null | null | e2elink/steps/compare/columns/identifier.py | ersilia-os/cidrz-e2e-linkage | 840581cdb90617f3ceb1be898992f0a8df71f9e3 | [
"MIT"
] | null | null | null | e2elink/steps/compare/columns/identifier.py | ersilia-os/cidrz-e2e-linkage | 840581cdb90617f3ceb1be898992f0a8df71f9e3 | [
"MIT"
] | null | null | null | from ....metrics.metrics import ExactSimilarity
from ....columns.identifier import IdentifierColumn
class IdentifierMetrics(object):
def __init__(self):
self.metrics = [ExactSimilarity()]
self.prefix = IdentifierColumn().label
| 25 | 51 | 0.728 | 23 | 250 | 7.73913 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164 | 250 | 9 | 52 | 27.777778 | 0.851675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
feeea1a862514132932c3858c02a036d1d42d942 | 48 | py | Python | pca/core/__init__.py | cisagov/pca-core | 37840186990bf48e562fbe8d96356ac7f4c99418 | [
"CC0-1.0"
] | 3 | 2021-09-28T19:32:28.000Z | 2021-12-25T22:37:59.000Z | pca/core/__init__.py | cisagov/pca-core | 37840186990bf48e562fbe8d96356ac7f4c99418 | [
"CC0-1.0"
] | 8 | 2021-03-31T18:25:49.000Z | 2021-09-16T15:25:51.000Z | pca/core/__init__.py | cisagov/pca-core | 37840186990bf48e562fbe8d96356ac7f4c99418 | [
"CC0-1.0"
] | 1 | 2021-09-28T19:32:30.000Z | 2021-09-28T19:32:30.000Z | from .common import *
__all__ = common.__all__
| 12 | 24 | 0.75 | 6 | 48 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 25 | 16 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fef4c0c0c69522b00422490fa6116c2e27d800ab | 210 | py | Python | 01_Language/01_Functions/python/long2ip.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/long2ip.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/long2ip.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
from socket import inet_ntoa
from struct import pack
def long2ip(proper_address):
return inet_ntoa(pack("!L", proper_address))
if __name__ == '__main__':
print(long2ip(3245348745))
| 16.153846 | 48 | 0.728571 | 29 | 210 | 4.862069 | 0.724138 | 0.113475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073864 | 0.161905 | 210 | 12 | 49 | 17.5 | 0.727273 | 0.061905 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
3a13b0d38c8dc48037e20d69fd1453f6e4202eb7 | 67 | py | Python | ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/__init__.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 159 | 2019-11-13T14:11:39.000Z | 2022-03-24T05:47:10.000Z | ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/__init__.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 34 | 2019-11-06T08:32:48.000Z | 2022-01-14T11:31:29.000Z | ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/__init__.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 103 | 2019-08-15T21:35:26.000Z | 2022-03-20T05:29:11.000Z | default_app_config = "myproject.apps.accounts.apps.AccountsConfig"
| 33.5 | 66 | 0.850746 | 8 | 67 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 67 | 1 | 67 | 67 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.641791 | 0.641791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3a15d38f065480acfd191fb6110d932b4d1a50e4 | 159 | py | Python | utils/crawler.py | steamer739/PhoenixBot | 97cf991654b1ee01faa13a568738420dac2cf652 | [
"MIT"
] | null | null | null | utils/crawler.py | steamer739/PhoenixBot | 97cf991654b1ee01faa13a568738420dac2cf652 | [
"MIT"
] | null | null | null | utils/crawler.py | steamer739/PhoenixBot | 97cf991654b1ee01faa13a568738420dac2cf652 | [
"MIT"
] | null | null | null | import requests
def crawl_html(url):
response = requests.get(url)
return response.content # returns the content in bytes (required later for lxml) | 31.8 | 84 | 0.735849 | 22 | 159 | 5.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194969 | 159 | 5 | 84 | 31.8 | 0.90625 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.