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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12df1b683c341fce2b542e4251c20acff4ee3b1d | 1,576 | py | Python | cmbnncs/element.py | Guo-Jian-Wang/cmbNNCS | cd55e0a2344aa5182d099cf559bc986ae0351cb7 | [
"MIT"
] | null | null | null | cmbnncs/element.py | Guo-Jian-Wang/cmbNNCS | cd55e0a2344aa5182d099cf559bc986ae0351cb7 | [
"MIT"
] | null | null | null | cmbnncs/element.py | Guo-Jian-Wang/cmbNNCS | cd55e0a2344aa5182d099cf559bc986ae0351cb7 | [
"MIT"
] | null | null | null | import torch.nn as nn
#%% activation
def relu():
#here 'inplace=True' is used to save GPU memory
return nn.ReLU(inplace=True)
def leakyrelu():
return nn.LeakyReLU(inplace=True)
def prelu():
return nn.PReLU()
def rrelu():
return nn.RReLU(inplace=True)
def relu6():
return nn.ReLU6(inplace=Tr... | 16.416667 | 51 | 0.680203 | 212 | 1,576 | 4.990566 | 0.25 | 0.189036 | 0.072779 | 0.092628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021605 | 0.177665 | 1,576 | 95 | 52 | 16.589474 | 0.794753 | 0.050127 | 0 | 0 | 0 | 0 | 0.021477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.491228 | false | 0 | 0.017544 | 0.491228 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
12ebc23497e8f3c25fcd012a8a80178a066f9c19 | 430 | py | Python | fast_transformers/feature_maps/__init__.py | SamuelCahyawijaya/fast-transformers | 6ae8ed4cc50bd037968db4f5062e4d328aae73fe | [
"MIT"
] | 1,171 | 2020-06-30T01:57:19.000Z | 2022-03-31T15:11:25.000Z | fast_transformers/feature_maps/__init__.py | SamuelCahyawijaya/fast-transformers | 6ae8ed4cc50bd037968db4f5062e4d328aae73fe | [
"MIT"
] | 105 | 2020-06-30T14:40:56.000Z | 2022-02-08T16:31:45.000Z | fast_transformers/feature_maps/__init__.py | SamuelCahyawijaya/fast-transformers | 6ae8ed4cc50bd037968db4f5062e4d328aae73fe | [
"MIT"
] | 127 | 2020-06-26T09:07:48.000Z | 2022-03-25T06:46:37.000Z | #
# Copyright (c) 2020 Idiap Research Institute, http://www.idiap.ch/
# Written by Angelos Katharopoulos <angelos.katharopoulos@idiap.ch>
#
"""Implementations of feature maps to be used with linear attention and causal
linear attention."""
from .base import elu_feature_map, ActivationFunctionFeatureMap
from .fourier... | 33.076923 | 78 | 0.809302 | 47 | 430 | 7.340426 | 0.787234 | 0.04058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.116279 | 430 | 12 | 79 | 35.833333 | 0.897368 | 0.525581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
12f6824c75e3ad3458fd7e19e166311c35d05cf7 | 191 | py | Python | sync/tasks/sync_tasks.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | sync/tasks/sync_tasks.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | sync/tasks/sync_tasks.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | import celery
from sync.models.models import SyncDestination
@celery.shared_task
def sync_all():
for sync_dest in SyncDestination.objects.filter(enabled=True):
sync_dest.run()
| 19.1 | 66 | 0.764398 | 26 | 191 | 5.461538 | 0.692308 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151832 | 191 | 9 | 67 | 21.222222 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
421c6f8f79e24f1604739e4a2a57cce5e0c9f9cc | 154 | py | Python | superheroes/apps.py | EdwinRoosevelt/superheroes-rest-api | 6b56c64507c5ae2b50f0b05d8b1abc9397632507 | [
"MIT"
] | null | null | null | superheroes/apps.py | EdwinRoosevelt/superheroes-rest-api | 6b56c64507c5ae2b50f0b05d8b1abc9397632507 | [
"MIT"
] | null | null | null | superheroes/apps.py | EdwinRoosevelt/superheroes-rest-api | 6b56c64507c5ae2b50f0b05d8b1abc9397632507 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SuperheroesConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'superheroes'
| 22 | 56 | 0.772727 | 17 | 154 | 6.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 154 | 6 | 57 | 25.666667 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 0.188312 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4251ee88be9d7ce00615083dd54a22bfc705db3d | 17,044 | py | Python | vkbottle/types/methods/fave.py | LouisPython217/vkbottle | 3541bbdb66f32c2d3567b0047c36b706ac72bb3b | [
"MIT"
] | null | null | null | vkbottle/types/methods/fave.py | LouisPython217/vkbottle | 3541bbdb66f32c2d3567b0047c36b706ac72bb3b | [
"MIT"
] | null | null | null | vkbottle/types/methods/fave.py | LouisPython217/vkbottle | 3541bbdb66f32c2d3567b0047c36b706ac72bb3b | [
"MIT"
] | null | null | null | # Generated with love
import typing
from vkbottle.types import responses
from .access import APIAccessibility
from .method import BaseMethod
class FaveAddArticle(BaseMethod):
access_token_type: APIAccessibility = [APIAccessibility.USER]
async def __call__(self, url: str) -> responses.ok_response.OkResponse:
... | 29.641739 | 109 | 0.56935 | 1,944 | 17,044 | 4.83642 | 0.08179 | 0.042119 | 0.07275 | 0.058498 | 0.751436 | 0.725165 | 0.70485 | 0.68879 | 0.566263 | 0.544459 | 0 | 0.002107 | 0.331612 | 17,044 | 574 | 110 | 29.69338 | 0.823121 | 0.001115 | 0 | 0.593567 | 1 | 0 | 0.031232 | 0.00185 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002924 | false | 0 | 0.011696 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
425f1650f8e2a789f7df5440b9019f65b2dc72d0 | 393 | py | Python | Python/Data-Types/Lists.py | Jayteare/Hackerrank | ce6d2bf2a95a8f55cd992ce5a9a36013c05ec316 | [
"Unlicense"
] | null | null | null | Python/Data-Types/Lists.py | Jayteare/Hackerrank | ce6d2bf2a95a8f55cd992ce5a9a36013c05ec316 | [
"Unlicense"
] | null | null | null | Python/Data-Types/Lists.py | Jayteare/Hackerrank | ce6d2bf2a95a8f55cd992ce5a9a36013c05ec316 | [
"Unlicense"
] | null | null | null | # Enter your code here. Read input from STDIN. Print output to STDOUT
N = raw_input()
L = []
for i in range(0, int(N)):
args = raw_input().strip().split(" ")
if args[0] == "print":
print L
elif len(args) == 3:
getattr(L, args[0])(int(args[1]), int(args[2]))
elif len(args) == 2:
g... | 28.071429 | 69 | 0.541985 | 64 | 393 | 3.296875 | 0.5 | 0.094787 | 0.170616 | 0.184834 | 0.199052 | 0.199052 | 0.199052 | 0 | 0 | 0 | 0 | 0.034364 | 0.259542 | 393 | 13 | 70 | 30.230769 | 0.690722 | 0.170483 | 0 | 0 | 0 | 0 | 0.018519 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4264fb99c8ef9bd9468833fc4233b384c0d46cf8 | 381 | py | Python | tests/test_index.py | InnovativeInventor/mongoset | fcba40b6f3532cbd04296955fd893f56be5af6ab | [
"MIT"
] | 1 | 2020-08-15T00:22:28.000Z | 2020-08-15T00:22:28.000Z | tests/test_index.py | InnovativeInventor/mongoset | fcba40b6f3532cbd04296955fd893f56be5af6ab | [
"MIT"
] | null | null | null | tests/test_index.py | InnovativeInventor/mongoset | fcba40b6f3532cbd04296955fd893f56be5af6ab | [
"MIT"
] | 2 | 2020-07-25T17:36:58.000Z | 2022-01-21T19:41:30.000Z | import pytest
from mongoset import __version__, connect
from mongoset.database import Database, Table
from tests.test_setup import setup
# def test_index():
# table = setup()
# table.clear()
# table.insert({"x": 1})
# table.index("x")
# table.deindex("x")
# table.insert({"x": 1, "y": 2})
# def test_unique_index():... | 18.142857 | 45 | 0.671916 | 54 | 381 | 4.592593 | 0.407407 | 0.133065 | 0.120968 | 0.16129 | 0.290323 | 0.290323 | 0.290323 | 0 | 0 | 0 | 0 | 0.012232 | 0.141732 | 381 | 20 | 46 | 19.05 | 0.746177 | 0.566929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
429180154bdc79ab68ef522ed756f0433a28690a | 178 | py | Python | ip2.py | hellokid01/Soc-Py | 5c6de40e3bc35ad484e71db00c61bf9c7e4092e6 | [
"MIT"
] | null | null | null | ip2.py | hellokid01/Soc-Py | 5c6de40e3bc35ad484e71db00c61bf9c7e4092e6 | [
"MIT"
] | null | null | null | ip2.py | hellokid01/Soc-Py | 5c6de40e3bc35ad484e71db00c61bf9c7e4092e6 | [
"MIT"
] | 8 | 2019-10-05T08:33:19.000Z | 2020-10-29T14:25:30.000Z | import socket
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
print("Enter website address: ")
x=raw_input()
ip1=socket.gethostbyname(x)
print ("ip address of "+x)
print(ip1)
| 22.25 | 50 | 0.769663 | 29 | 178 | 4.62069 | 0.62069 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.08427 | 178 | 7 | 51 | 25.428571 | 0.809816 | 0 | 0 | 0 | 0 | 0 | 0.207865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
42961e268593d54a1f61dcf6e24974536f141c20 | 14,038 | py | Python | sdk/servermanager/azure-mgmt-servermanager/azure/mgmt/servermanager/operations/session_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/servermanager/azure-mgmt-servermanager/azure/mgmt/servermanager/operations/session_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/servermanager/azure-mgmt-servermanager/azure/mgmt/servermanager/operations/session_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 48.912892 | 248 | 0.682932 | 1,549 | 14,038 | 5.98838 | 0.143964 | 0.033635 | 0.038486 | 0.005821 | 0.755498 | 0.746658 | 0.703967 | 0.692971 | 0.679927 | 0.679927 | 0 | 0.008339 | 0.214133 | 14,038 | 286 | 249 | 49.083916 | 0.832487 | 0.307451 | 0 | 0.557971 | 0 | 0.021739 | 0.16074 | 0.083563 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0.028986 | 0.036232 | 0 | 0.152174 | 0.028986 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
429a0037077f943c6550dc88a3a0fa2cbc2dce01 | 105 | py | Python | d-series/d587.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | 1 | 2018-10-21T10:03:42.000Z | 2018-10-21T10:03:42.000Z | d-series/d587.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | null | null | null | d-series/d587.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | 2 | 2018-10-12T16:40:11.000Z | 2021-04-05T12:05:36.000Z | a = input()
s = [int(x) for x in input().split()]
ans = [str(x) for x in sorted(s)]
print(' '.join(ans))
| 21 | 37 | 0.561905 | 21 | 105 | 2.809524 | 0.619048 | 0.135593 | 0.169492 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180952 | 105 | 4 | 38 | 26.25 | 0.686047 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
429d0f75bc073147b48713b37a0768f472b5382f | 132 | py | Python | BOJ_Solved/BOJ-21591.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | 7 | 2021-11-19T14:50:59.000Z | 2022-02-25T20:00:20.000Z | BOJ_Solved/BOJ-21591.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | null | null | null | BOJ_Solved/BOJ-21591.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | null | null | null | """
백준 21591번 : Laptop Sticker
"""
a, b, c, d = map(int, input().split())
if a-2 >= c and b-2 >= d:
print(1)
else:
print(0) | 14.666667 | 38 | 0.515152 | 25 | 132 | 2.72 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.25 | 132 | 9 | 39 | 14.666667 | 0.59596 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42a326d176ad7eead68aa3d7335e9f3cec1aeea8 | 86 | py | Python | mmpose/datasets/datasets/fashion/__init__.py | jlgzb/mmpose | 0ecf06e3580f141f6ab44645768a0d6d8ba48383 | [
"Apache-2.0"
] | 367 | 2022-01-14T03:32:25.000Z | 2022-03-31T04:48:20.000Z | mmpose/datasets/datasets/fashion/__init__.py | jlgzb/mmpose | 0ecf06e3580f141f6ab44645768a0d6d8ba48383 | [
"Apache-2.0"
] | 27 | 2022-01-27T07:12:49.000Z | 2022-03-31T04:31:13.000Z | mmpose/datasets/datasets/fashion/__init__.py | jlgzb/mmpose | 0ecf06e3580f141f6ab44645768a0d6d8ba48383 | [
"Apache-2.0"
] | 53 | 2022-01-18T11:21:43.000Z | 2022-03-31T06:42:41.000Z | from .deepfashion_dataset import DeepFashionDataset
__all__ = ['DeepFashionDataset']
| 21.5 | 51 | 0.837209 | 7 | 86 | 9.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 3 | 52 | 28.666667 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
42a5eb724774dd51239267d657a6975931ec2075 | 785 | py | Python | solver/tds.py | Baltasarq/Equations | edbc280dc3cf7bf5f58a4a7699914b55ae7ab30f | [
"MIT"
] | null | null | null | solver/tds.py | Baltasarq/Equations | edbc280dc3cf7bf5f58a4a7699914b55ae7ab30f | [
"MIT"
] | null | null | null | solver/tds.py | Baltasarq/Equations | edbc280dc3cf7bf5f58a4a7699914b55ae7ab30f | [
"MIT"
] | null | null | null | # Equations (c) Baltasar 2019 MIT License <baltasarq@gmail.com>
class TDS:
def __init__(self):
self._vbles = {}
def __iadd__(self, other):
self._vbles[other[0]] = other[1]
return self
def __getitem__(self, item):
return self._vbles[item]
def __setitem__(self, item, v... | 21.216216 | 63 | 0.551592 | 93 | 785 | 4.27957 | 0.387097 | 0.203518 | 0.060302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011278 | 0.322293 | 785 | 36 | 64 | 21.805556 | 0.736842 | 0.077707 | 0 | 0 | 0 | 0 | 0.006925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.625 | 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 | 0 | 0 | 0 | 3 |
c4311a4202f33885ae02e18b2d4efeebe68a6545 | 1,112 | py | Python | core_dev/_collections/stack.py | alexzanderr/_core-dev | 831f69dad524e450c4243b1dd88f26de80e1d444 | [
"MIT"
] | null | null | null | core_dev/_collections/stack.py | alexzanderr/_core-dev | 831f69dad524e450c4243b1dd88f26de80e1d444 | [
"MIT"
] | null | null | null | core_dev/_collections/stack.py | alexzanderr/_core-dev | 831f69dad524e450c4243b1dd88f26de80e1d444 | [
"MIT"
] | null | null | null |
class Stack:
def __init__(self, *objects):
self.stack = []
if len(objects) > 0:
for obj in objects:
self.stack.append(obj)
def push(self, *objects):
for obj in objects:
self.stack.append(obj)
def pop(self, obj):
... | 18.533333 | 64 | 0.494604 | 142 | 1,112 | 3.626761 | 0.28169 | 0.262136 | 0.145631 | 0.031068 | 0.203884 | 0.139806 | 0.139806 | 0.139806 | 0.139806 | 0 | 0 | 0.041488 | 0.371403 | 1,112 | 60 | 65 | 18.533333 | 0.695279 | 0.004496 | 0 | 0.171429 | 0 | 0 | 0.007656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.485714 | 0.114286 | 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 | 0 | 0 | 0 | 3 |
c4373ba728dbe505baf93483c96380087a333441 | 382 | py | Python | interface_example/item.py | MADTeacher/MADPythonCourse | f3bd38dcd30dc220bd691d301b2845401cc70b2e | [
"MIT"
] | 5 | 2021-05-11T14:27:11.000Z | 2022-02-09T08:55:06.000Z | interface_example/item.py | MADTeacher/MADPythonCourse | f3bd38dcd30dc220bd691d301b2845401cc70b2e | [
"MIT"
] | null | null | null | interface_example/item.py | MADTeacher/MADPythonCourse | f3bd38dcd30dc220bd691d301b2845401cc70b2e | [
"MIT"
] | 8 | 2020-09-21T21:52:30.000Z | 2022-03-05T12:31:10.000Z | from abc import ABC, abstractmethod
class Item(ABC):
def __init__(self, name: str, weight: float):
self.__name: str = name
self.__weight: float = weight
@property
def name(self) -> str:
return self.__name
@property
def weight(self) -> float:
return self.__weight
... | 17.363636 | 49 | 0.602094 | 44 | 382 | 4.931818 | 0.386364 | 0.110599 | 0.101382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298429 | 382 | 21 | 50 | 18.190476 | 0.809701 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c44342604b2da0c8342eb8a9b248387d392d5ea8 | 185 | py | Python | api/urls.py | learric/rivals_api | 707f2e7fab1dbe141b0a89270b16f3685374ee16 | [
"Apache-2.0"
] | null | null | null | api/urls.py | learric/rivals_api | 707f2e7fab1dbe141b0a89270b16f3685374ee16 | [
"Apache-2.0"
] | null | null | null | api/urls.py | learric/rivals_api | 707f2e7fab1dbe141b0a89270b16f3685374ee16 | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import url, include
from django.contrib import admin
urlpatterns = [
url(r'^questions/', include('questions.urls')),
url(r'^admin/', admin.site.urls),
]
| 20.555556 | 51 | 0.691892 | 25 | 185 | 5.12 | 0.52 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145946 | 185 | 8 | 52 | 23.125 | 0.810127 | 0 | 0 | 0 | 0 | 0 | 0.172973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c45b401b302b80d97b90730f96502f58ad0a2430 | 243 | py | Python | CurrencyConverter/models.py | route2kernel/omen | 62521690ead4341a562d27da7bceb45eae8b778f | [
"MIT"
] | null | null | null | CurrencyConverter/models.py | route2kernel/omen | 62521690ead4341a562d27da7bceb45eae8b778f | [
"MIT"
] | null | null | null | CurrencyConverter/models.py | route2kernel/omen | 62521690ead4341a562d27da7bceb45eae8b778f | [
"MIT"
] | null | null | null | from django.db import models
class Currency(models.Model):
name = models.CharField(default='n/a', max_length=3)
exchange_rate = models.FloatField()
def __str__(self):
return "{};{}".format(self.name, self.exchange_rate)
| 24.3 | 60 | 0.687243 | 32 | 243 | 5 | 0.75 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.168724 | 243 | 9 | 61 | 27 | 0.787129 | 0 | 0 | 0 | 0 | 0 | 0.032922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c483e375916cdd758560b91c72477322a92517e1 | 1,376 | py | Python | lispy/parser.py | lucasmidlhey/lispy | 2b8dcf5913ff2e795614fc7aa73de0c41c381e66 | [
"MIT"
] | null | null | null | lispy/parser.py | lucasmidlhey/lispy | 2b8dcf5913ff2e795614fc7aa73de0c41c381e66 | [
"MIT"
] | null | null | null | lispy/parser.py | lucasmidlhey/lispy | 2b8dcf5913ff2e795614fc7aa73de0c41c381e66 | [
"MIT"
] | null | null | null | from lark import Lark, InlineTransformer
from pathlib import Path
from .runtime import Symbol
class LispTransformer(InlineTransformer):
def binop(self, op, var1, var2):
return [(Symbol(op), var1, var2)]
def list(self, *args):
return list(args)
def quote(self, quote):
return [Sym... | 22.557377 | 72 | 0.59375 | 161 | 1,376 | 5.024845 | 0.403727 | 0.074166 | 0.070457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.272529 | 1,376 | 61 | 73 | 22.557377 | 0.801199 | 0.077762 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0 | 0.081081 | 0.162162 | 0.72973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c48a0bc77b9a917e7e3dff5adcb111daec186db3 | 218 | py | Python | Virtualenv/Env/src/GoTravel/Menu/urls.py | Anoop01234/Go-Travel | aa91f1a4ce7e7ed78de8eadc55e6a25d1a73bdd8 | [
"MIT"
] | null | null | null | Virtualenv/Env/src/GoTravel/Menu/urls.py | Anoop01234/Go-Travel | aa91f1a4ce7e7ed78de8eadc55e6a25d1a73bdd8 | [
"MIT"
] | null | null | null | Virtualenv/Env/src/GoTravel/Menu/urls.py | Anoop01234/Go-Travel | aa91f1a4ce7e7ed78de8eadc55e6a25d1a73bdd8 | [
"MIT"
] | 1 | 2021-12-21T17:27:34.000Z | 2021-12-21T17:27:34.000Z | from django.urls import path
from . import views
app_name='Menu'
urlpatterns =[
path('menu/',views.MenuPageView.as_view(),name='menu'),
#path('menu/',views.MenuPage,name='menu'), """Function based Views"""
]
| 21.8 | 73 | 0.683486 | 29 | 218 | 5.068966 | 0.551724 | 0.163265 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123853 | 218 | 9 | 74 | 24.222222 | 0.769634 | 0.311927 | 0 | 0 | 0 | 0 | 0.087248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6719b2be5eb896a91f15d8a83d8c50507dd62a30 | 4,695 | py | Python | tests/test_html_utils.py | rafaelpezzuto/dsm | e5ddcc01beb5cfd6f6c2e3ffbccb6f85f2d411e6 | [
"BSD-2-Clause"
] | 1 | 2021-08-14T00:45:28.000Z | 2021-08-14T00:45:28.000Z | tests/test_html_utils.py | rafaelpezzuto/dsm | e5ddcc01beb5cfd6f6c2e3ffbccb6f85f2d411e6 | [
"BSD-2-Clause"
] | 10 | 2021-09-13T14:19:22.000Z | 2021-11-11T12:26:42.000Z | tests/test_html_utils.py | rafaelpezzuto/dsm | e5ddcc01beb5cfd6f6c2e3ffbccb6f85f2d411e6 | [
"BSD-2-Clause"
] | 3 | 2021-07-28T15:29:38.000Z | 2021-08-19T13:00:16.000Z | from unittest import TestCase
from dsm.utils import html_utils
class TestHTMLUtils(TestCase):
def test_replace_link_abc_jpg(self):
html_text = ("""
<img src="abc.jpg">
""")
expected = ("""<img src="https://minio.scielo.br/abc.jpg">
""")
asset_uris_and_names = ... | 36.115385 | 79 | 0.557827 | 569 | 4,695 | 4.330404 | 0.13884 | 0.061688 | 0.097403 | 0.109578 | 0.816558 | 0.80276 | 0.707792 | 0.560065 | 0.463068 | 0.449675 | 0 | 0.021078 | 0.292652 | 4,695 | 129 | 80 | 36.395349 | 0.720867 | 0 | 0 | 0.375 | 0 | 0.008929 | 0.328504 | 0.081167 | 0 | 0 | 0 | 0 | 0.089286 | 1 | 0.098214 | false | 0 | 0.017857 | 0 | 0.133929 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
673d02a72e13f4560d0f1be73977f54ec64a59f3 | 284 | py | Python | CursoIntensivoPython/alien_invasion/exercicio/config_estrela.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | CursoIntensivoPython/alien_invasion/exercicio/config_estrela.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | CursoIntensivoPython/alien_invasion/exercicio/config_estrela.py | SweydAbdul/estudos-python | b052708d0566a0afb9a1c04d035467d45f820879 | [
"MIT"
] | null | null | null | class Configuracoes:
"""Armazena as configuracoes do jogo estrela."""
def __init__(self):
"""Inicializa as configuracoes do jogo."""
# Configuracoes de tela
self.tela_largura = 1200
self.tela_altura = 600
self.cor_fundo = (46, 46, 46)
| 28.4 | 52 | 0.619718 | 33 | 284 | 5.121212 | 0.606061 | 0.177515 | 0.201183 | 0.248521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063415 | 0.278169 | 284 | 9 | 53 | 31.555556 | 0.760976 | 0.359155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
674af8f517ba8b454579a867830f1270974b95b6 | 19 | py | Python | position.py | sharpvik/fin | 9afec321dc5f404f296fd7ba55914f298396b68f | [
"MIT"
] | null | null | null | position.py | sharpvik/fin | 9afec321dc5f404f296fd7ba55914f298396b68f | [
"MIT"
] | null | null | null | position.py | sharpvik/fin | 9afec321dc5f404f296fd7ba55914f298396b68f | [
"MIT"
] | null | null | null | LONG = 1
SHORT = 0
| 6.333333 | 9 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.315789 | 19 | 2 | 10 | 9.5 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
674c2d132e894e73e6f692eea595bbd90c57d768 | 121 | py | Python | python/mutagen/get_title_from_id3.py | RitamDey/My-Simple-Programs | 147b455a6a40c371ec894ce979e8a61d242e03bd | [
"Unlicense"
] | 2 | 2016-10-14T16:58:05.000Z | 2017-05-04T04:59:18.000Z | python/mutagen/get_title_from_id3.py | GreenJoey/My-Simple-Programs | 147b455a6a40c371ec894ce979e8a61d242e03bd | [
"Unlicense"
] | null | null | null | python/mutagen/get_title_from_id3.py | GreenJoey/My-Simple-Programs | 147b455a6a40c371ec894ce979e8a61d242e03bd | [
"Unlicense"
] | null | null | null | from mutagen.id3 import ID3
from sys import argv
audio = ID3(argv[1])
print(f"Title is {audio.get('TALB').pprint()}")
| 15.125 | 47 | 0.694215 | 21 | 121 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.140496 | 121 | 7 | 48 | 17.285714 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.305785 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
67555b7dc865fc138a8c33ae7d3908eca2b45117 | 107 | py | Python | file.py | AlexHerry/python | 55b1932bfb3a7cdb237267d2a24dd6910db2fd20 | [
"MIT"
] | null | null | null | file.py | AlexHerry/python | 55b1932bfb3a7cdb237267d2a24dd6910db2fd20 | [
"MIT"
] | null | null | null | file.py | AlexHerry/python | 55b1932bfb3a7cdb237267d2a24dd6910db2fd20 | [
"MIT"
] | null | null | null | import urllib2
file = urllib2.urlopen('https://rivennero.me/index.php')
message = file.read()
print message | 26.75 | 56 | 0.766355 | 15 | 107 | 5.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.084112 | 107 | 4 | 57 | 26.75 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67906a662e44c4ad49d9423577ac9adf67b2ff3f | 88 | py | Python | meiduo_project/meiduo_mall/celery_tasks/config.py | xlztongxue/meiduoshangcheng | 2434231795b3319dfda60b19af18442ee5f6fa73 | [
"MIT"
] | null | null | null | meiduo_project/meiduo_mall/celery_tasks/config.py | xlztongxue/meiduoshangcheng | 2434231795b3319dfda60b19af18442ee5f6fa73 | [
"MIT"
] | 6 | 2020-05-11T20:27:04.000Z | 2021-11-02T15:46:52.000Z | meiduo_project/meiduo_mall/celery_tasks/config.py | xlztongxue/meiduoshangcheng | 2434231795b3319dfda60b19af18442ee5f6fa73 | [
"MIT"
] | null | null | null | # Celery配置文件
# 3.1指定中间人,消息队列,任务队列,容器,使用redis
broker_url = "redis://192.168.152.12/10"
| 14.666667 | 40 | 0.704545 | 15 | 88 | 4.066667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 0.102273 | 88 | 5 | 41 | 17.6 | 0.582278 | 0.454545 | 0 | 0 | 0 | 0 | 0.568182 | 0.568182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6796fc0bfcd381e5a33a15b36ce807ccd34098da | 768 | py | Python | EEG_data/try_mne.py | subercui/pyGConvAT | 3f5953feca72d4bec79d2fca4916a36f04b6eb7e | [
"MIT"
] | null | null | null | EEG_data/try_mne.py | subercui/pyGConvAT | 3f5953feca72d4bec79d2fca4916a36f04b6eb7e | [
"MIT"
] | null | null | null | EEG_data/try_mne.py | subercui/pyGConvAT | 3f5953feca72d4bec79d2fca4916a36f04b6eb7e | [
"MIT"
] | null | null | null | import mne
fig = raw.copy().pick_types(meg=False, eeg=True).resample(sfreq=150).filter(3, 70).plot()
raw.info['ch_names']
fig = raw.copy().set_eeg_reference(ref_channels='average').pick_types(meg=False, eeg=True).resample(sfreq=150).filter(3, 70).plot()
# this is by far the best
fig = raw.copy().set_eeg_reference(r... | 42.666667 | 145 | 0.654948 | 130 | 768 | 3.723077 | 0.430769 | 0.086777 | 0.082645 | 0.140496 | 0.725207 | 0.725207 | 0.725207 | 0.725207 | 0.493802 | 0.340909 | 0 | 0.068376 | 0.085938 | 768 | 18 | 146 | 42.666667 | 0.621083 | 0.029948 | 0 | 0 | 0 | 0 | 0.090054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
679e072cd5255e482d40626aad7d6fc1313f81b5 | 35 | py | Python | test/constants_for_tests.py | lrgr/imuse-server | b80e1626ad645f63e66efead8f00bbc5af50ac5a | [
"MIT"
] | null | null | null | test/constants_for_tests.py | lrgr/imuse-server | b80e1626ad645f63e66efead8f00bbc5af50ac5a | [
"MIT"
] | 8 | 2019-01-30T20:04:23.000Z | 2019-02-06T03:02:31.000Z | test/constants_for_tests.py | lrgr/imuse-server | b80e1626ad645f63e66efead8f00bbc5af50ac5a | [
"MIT"
] | null | null | null | API_BASE = 'http://localhost:8000'
| 17.5 | 34 | 0.714286 | 5 | 35 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.085714 | 35 | 1 | 35 | 35 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67f3e043cf0b6e7b56898431973b4d6cf1ffcd34 | 18,310 | py | Python | CDDF_analysis/make_plots.py | jibanCat/gp_dla_detection_dr16q_public | bf7bd6412aa2954276150e4b69ab12a0b2ad3958 | [
"MIT"
] | null | null | null | CDDF_analysis/make_plots.py | jibanCat/gp_dla_detection_dr16q_public | bf7bd6412aa2954276150e4b69ab12a0b2ad3958 | [
"MIT"
] | 1 | 2021-09-01T06:27:33.000Z | 2021-09-01T06:27:33.000Z | CDDF_analysis/make_plots.py | jibanCat/gp_dla_detection_dr16q_public | bf7bd6412aa2954276150e4b69ab12a0b2ad3958 | [
"MIT"
] | 1 | 2022-01-15T18:47:58.000Z | 2022-01-15T18:47:58.000Z | """Make plots for the DLA dNdX estimation paper"""
import os.path as path
import numpy as np
import matplotlib
matplotlib.use('PDF')
import matplotlib.pyplot as plt
from . import calc_cddf
from .dla_data import dla_data
#from save_figure import save_figure
save_figure = lambda filename : plt.savefig("{}.pdf".format(f... | 40.065646 | 154 | 0.680229 | 3,243 | 18,310 | 3.544866 | 0.078323 | 0.044537 | 0.046277 | 0.049756 | 0.781489 | 0.750261 | 0.71999 | 0.683107 | 0.649008 | 0.633351 | 0 | 0.039995 | 0.167013 | 18,310 | 456 | 155 | 40.153509 | 0.713742 | 0.152649 | 0 | 0.522659 | 0 | 0 | 0.079995 | 0.002081 | 0.018127 | 0 | 0 | 0 | 0 | 1 | 0.036254 | false | 0 | 0.018127 | 0 | 0.054381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db0df3c0f0e8081463caf2869cdb2901b289fdb7 | 1,042 | py | Python | logtools/__init__.py | adamhadani/logtools | 0b47662179b6d29be5629702e1eaddefb2b281fb | [
"Apache-2.0"
] | 100 | 2015-01-02T18:00:18.000Z | 2022-01-12T09:39:24.000Z | logtools/__init__.py | adamhadani/logtools | 0b47662179b6d29be5629702e1eaddefb2b281fb | [
"Apache-2.0"
] | 2 | 2015-09-16T22:08:22.000Z | 2021-06-12T20:46:05.000Z | logtools/__init__.py | adamhadani/logtools | 0b47662179b6d29be5629702e1eaddefb2b281fb | [
"Apache-2.0"
] | 25 | 2015-01-02T18:00:21.000Z | 2022-03-09T05:47:11.000Z | #!/usr/bin/env python
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 27.421053 | 75 | 0.738004 | 151 | 1,042 | 4.993377 | 0.596026 | 0.185676 | 0.034483 | 0.04244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004711 | 0.185221 | 1,042 | 37 | 76 | 28.162162 | 0.883392 | 0.528791 | 0 | 0 | 0 | 0 | 0.108787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
db10cdf28e4ef3462a8f7151e06a8a1003eb931d | 1,134 | py | Python | tests/core/potential_secret_test.py | digjanaik/detect-secrets | 624024ad5fd8a608e09ed719e5edab6ca95ef47e | [
"Apache-2.0"
] | 1 | 2020-05-19T05:07:19.000Z | 2020-05-19T05:07:19.000Z | tests/core/potential_secret_test.py | digjanaik/detect-secrets | 624024ad5fd8a608e09ed719e5edab6ca95ef47e | [
"Apache-2.0"
] | 1 | 2020-08-12T21:57:16.000Z | 2020-08-12T21:57:16.000Z | tests/core/potential_secret_test.py | digjanaik/detect-secrets | 624024ad5fd8a608e09ed719e5edab6ca95ef47e | [
"Apache-2.0"
] | 1 | 2021-07-14T16:53:12.000Z | 2021-07-14T16:53:12.000Z | import pytest
from testing.factories import potential_secret_factory
class TestPotentialSecret:
@pytest.mark.parametrize(
'a, b, is_equal',
[
(
potential_secret_factory(lineno=1),
potential_secret_factory(lineno=2),
True,
),... | 27 | 58 | 0.538801 | 116 | 1,134 | 5.017241 | 0.37931 | 0.231959 | 0.340206 | 0.19244 | 0.130584 | 0.130584 | 0 | 0 | 0 | 0 | 0 | 0.002782 | 0.365961 | 1,134 | 41 | 59 | 27.658537 | 0.806676 | 0.036155 | 0 | 0.151515 | 0 | 0 | 0.03483 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.090909 | false | 0 | 0.060606 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db1d5506bbbf80edc7993a83cd540fb06b1a2a30 | 474 | py | Python | Creator/src/scripts/list.py | rohitnishad613/Glitch | 4f896d85f3de3c98e5c91823ae3a87c4d8fdc97f | [
"MIT"
] | 5 | 2020-09-16T06:27:12.000Z | 2020-09-21T11:14:14.000Z | Creator/src/scripts/list.py | rohitnishad613/Glitch | 4f896d85f3de3c98e5c91823ae3a87c4d8fdc97f | [
"MIT"
] | null | null | null | Creator/src/scripts/list.py | rohitnishad613/Glitch | 4f896d85f3de3c98e5c91823ae3a87c4d8fdc97f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import sys
if len(sys.argv) > 1:
if sys.argv[1] == "platform":
print("List of platform supported by Glitch framework.\n")
print("1) Windows")
print("2) macOS")
print("3) iOS")
print("4) Linux")
print("5) Android")
else:
print("Inva... | 22.571429 | 66 | 0.546414 | 61 | 474 | 4.245902 | 0.590164 | 0.081081 | 0.092664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.2827 | 474 | 20 | 67 | 23.7 | 0.738235 | 0.042194 | 0 | 0.125 | 0 | 0 | 0.392936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.0625 | 0.0625 | 0 | 0.0625 | 0.6875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
e1ddebd1e840c5acc6f1468840fd7ab8414438ec | 193 | py | Python | tests/functional/services/api/policies/__init__.py | MoisesTapia/anchore-engine | ada3bb6d4aecbf223fad65b1c3b8ef60582e625c | [
"Apache-2.0"
] | null | null | null | tests/functional/services/api/policies/__init__.py | MoisesTapia/anchore-engine | ada3bb6d4aecbf223fad65b1c3b8ef60582e625c | [
"Apache-2.0"
] | null | null | null | tests/functional/services/api/policies/__init__.py | MoisesTapia/anchore-engine | ada3bb6d4aecbf223fad65b1c3b8ef60582e625c | [
"Apache-2.0"
] | null | null | null | from tests.functional.utils.http_utils import http_get
def get_first_policy_id(api_conf: callable):
resp = http_get(['policies'], config=api_conf)
return resp.body[0].get('policyId')
| 27.571429 | 54 | 0.756477 | 30 | 193 | 4.6 | 0.7 | 0.101449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.119171 | 193 | 6 | 55 | 32.166667 | 0.805882 | 0 | 0 | 0 | 0 | 0 | 0.082902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e1f067bf90460fea50af2d202774bb8a1cecd3c7 | 140 | py | Python | woodwind/__main__.py | kevinmarks/woodwind | a372d49e7a694aad03aefa0c5549684bcccdca59 | [
"BSD-2-Clause"
] | 50 | 2015-01-29T03:56:47.000Z | 2022-03-15T16:12:37.000Z | woodwind/__main__.py | kevinmarks/woodwind | a372d49e7a694aad03aefa0c5549684bcccdca59 | [
"BSD-2-Clause"
] | 66 | 2015-01-30T02:09:34.000Z | 2021-02-02T21:43:32.000Z | woodwind/__main__.py | kevinmarks/woodwind | a372d49e7a694aad03aefa0c5549684bcccdca59 | [
"BSD-2-Clause"
] | 11 | 2015-02-03T21:12:03.000Z | 2020-10-19T10:54:45.000Z | __all__ = ['main']
def main():
from woodwind.app import create_app
app = create_app()
app.run(debug=True, port=4000)
main()
| 12.727273 | 39 | 0.635714 | 20 | 140 | 4.15 | 0.65 | 0.216867 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.221429 | 140 | 10 | 40 | 14 | 0.724771 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c000aee8f80c42ff998f0302646b0fcce7265b67 | 2,360 | py | Python | python/test/count_possible_astronaut_pairs_tests.py | CarnaViire/training | 5a01a022167a88a9c90bc6db4e14347ad60ee9e4 | [
"Unlicense"
] | 3 | 2017-07-08T05:18:33.000Z | 2021-06-11T13:49:37.000Z | python/test/count_possible_astronaut_pairs_tests.py | kondratyev-nv/training | ed28507694bc2026867b67c26dc9c4a955b24fb4 | [
"Unlicense"
] | 44 | 2017-10-05T20:23:03.000Z | 2022-02-10T19:50:21.000Z | python/test/count_possible_astronaut_pairs_tests.py | CarnaViire/training | 5a01a022167a88a9c90bc6db4e14347ad60ee9e4 | [
"Unlicense"
] | 4 | 2017-10-06T19:29:55.000Z | 2022-01-04T23:25:18.000Z | import unittest
from src.count_possible_astronaut_pairs import count_possible_astronaut_pairs
class count_possible_astronaut_pairs_tests(unittest.TestCase):
def test_returns_zero_for_single_astronaut(self):
pairs = count_possible_astronaut_pairs(1, [])
self.assertEqual(0, pairs)
def test_ret... | 43.703704 | 82 | 0.611017 | 302 | 2,360 | 4.410596 | 0.13245 | 0.156156 | 0.264264 | 0.324324 | 0.753003 | 0.718468 | 0.651652 | 0.575075 | 0.47973 | 0.47973 | 0 | 0.056929 | 0.263136 | 2,360 | 53 | 83 | 44.528302 | 0.709028 | 0 | 0 | 0.333333 | 0 | 0 | 0.00339 | 0 | 0 | 0 | 0 | 0 | 0.309524 | 1 | 0.166667 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c021dbfde496704c387af73bd00c7f00ea4f041d | 220 | py | Python | 6 kyu/Convert Lambda To Def.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 6 kyu/Convert Lambda To Def.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 6 kyu/Convert Lambda To Def.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def convert_lambda_to_def(string):
args=string[string.index("lambda ")+7:string.index(":")]
name=string[:string.index(" ")]
cal=string[string.index(":")+2:]
return f"def {name}({args}):\n return {cal}" | 44 | 60 | 0.631818 | 31 | 220 | 4.387097 | 0.451613 | 0.323529 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.136364 | 220 | 5 | 61 | 44 | 0.705263 | 0 | 0 | 0 | 0 | 0 | 0.21267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c04db0a11a4704637776fa64fdd32060d017a3db | 1,899 | py | Python | src/spots/spot_positions.py | evanfpearson/switchboard | c32d2d569a11d644723125ad4335d3c8f959c5bd | [
"CC0-1.0"
] | null | null | null | src/spots/spot_positions.py | evanfpearson/switchboard | c32d2d569a11d644723125ad4335d3c8f959c5bd | [
"CC0-1.0"
] | null | null | null | src/spots/spot_positions.py | evanfpearson/switchboard | c32d2d569a11d644723125ad4335d3c8f959c5bd | [
"CC0-1.0"
] | null | null | null | from config.constants import ABOVE, BELOW, RIGHT, LEFT, TOP_SPOT, LEFT_SPOT, RIGHT_SPOT, BOTTOM_SPOT, MIDDLE_SPOT
class SpotPosition:
def __init__(self, spot_id):
self.__id = spot_id
@staticmethod
def adjacent_tile_direction():
return None
def distance_to_tile(self, tile_direction):... | 18.80198 | 113 | 0.620326 | 224 | 1,899 | 4.946429 | 0.200893 | 0.162455 | 0.057762 | 0.088448 | 0.502708 | 0.483755 | 0.393502 | 0.137184 | 0 | 0 | 0 | 0.004556 | 0.306477 | 1,899 | 100 | 114 | 18.99 | 0.83675 | 0 | 0 | 0.507246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.014493 | 0.202899 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c04fe4e43d1d917e7929cb3154bce177b1bfc33f | 263 | py | Python | mmdet3d/core/bbox/coders/__init__.py | BOURSa/mmdetection3d | 27d0001e873b3102a828a27e1372873fcf81ed7e | [
"Apache-2.0"
] | 12 | 2021-03-17T09:07:18.000Z | 2022-01-21T01:37:42.000Z | mmdet3d/core/bbox/coders/__init__.py | BOURSa/mmdetection3d | 27d0001e873b3102a828a27e1372873fcf81ed7e | [
"Apache-2.0"
] | 1 | 2020-08-11T05:44:29.000Z | 2020-08-11T05:44:29.000Z | mmdet3d/core/bbox/coders/__init__.py | BOURSa/mmdetection3d | 27d0001e873b3102a828a27e1372873fcf81ed7e | [
"Apache-2.0"
] | 2 | 2021-03-17T09:25:15.000Z | 2021-04-22T09:15:58.000Z | from mmdet.core.bbox import build_bbox_coder
from .delta_xyzwhlr_bbox_coder import DeltaXYZWLHRBBoxCoder
from .partial_bin_based_bbox_coder import PartialBinBasedBBoxCoder
__all__ = [
'build_bbox_coder', 'DeltaXYZWLHRBBoxCoder', 'PartialBinBasedBBoxCoder'
]
| 32.875 | 75 | 0.851711 | 29 | 263 | 7.206897 | 0.517241 | 0.172249 | 0.133971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091255 | 263 | 7 | 76 | 37.571429 | 0.874477 | 0 | 0 | 0 | 0 | 0 | 0.231939 | 0.171103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fbf698d73cd80cf48f4c5a2120f227946b5812bf | 1,435 | py | Python | src/newsfeed/domain/newsfeed_id.py | ets-labs/newsfeed | 9f59f94e1cd5f24d4b4121929050fc8b304173af | [
"BSD-3-Clause"
] | 10 | 2019-11-07T15:04:02.000Z | 2022-02-19T11:47:40.000Z | src/newsfeed/domain/newsfeed_id.py | ets-labs/newsfeed | 9f59f94e1cd5f24d4b4121929050fc8b304173af | [
"BSD-3-Clause"
] | 27 | 2019-10-31T16:31:27.000Z | 2020-01-14T15:21:29.000Z | src/newsfeed/domain/newsfeed_id.py | ets-labs/newsfeed | 9f59f94e1cd5f24d4b4121929050fc8b304173af | [
"BSD-3-Clause"
] | 10 | 2019-11-07T15:08:43.000Z | 2021-12-03T22:31:49.000Z | """Newsfeed id module."""
from .error import DomainError
class NewsfeedIDSpecification:
"""Newsfeed id specification."""
def __init__(self, max_length: int):
"""Initialize specification."""
self.max_length = int(max_length)
def is_satisfied_by(self, newsfeed_id: str) -> bool:
""... | 29.285714 | 85 | 0.661324 | 164 | 1,435 | 5.530488 | 0.268293 | 0.220507 | 0.108049 | 0.074972 | 0.491731 | 0.412348 | 0.359427 | 0.163175 | 0.163175 | 0.163175 | 0 | 0 | 0.227178 | 1,435 | 48 | 86 | 29.895833 | 0.817854 | 0.2223 | 0 | 0.26087 | 0 | 0 | 0.10892 | 0.060094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.043478 | 0 | 0.565217 | 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 | 0 | 1 | 0 | 0 | 3 |
2223d50a7360474b830de14ad42186fdf3fe321a | 1,017 | py | Python | errors.py | kami93/SortMyConf | ba33c30c2fdcada571355070ab52f312f9a0eaaf | [
"MIT"
] | 2 | 2021-01-12T10:14:41.000Z | 2021-01-14T08:54:28.000Z | errors.py | kami93/SortMyConf | ba33c30c2fdcada571355070ab52f312f9a0eaaf | [
"MIT"
] | null | null | null | errors.py | kami93/SortMyConf | ba33c30c2fdcada571355070ab52f312f9a0eaaf | [
"MIT"
] | 1 | 2021-01-13T01:04:38.000Z | 2021-01-13T01:04:38.000Z | class Error(Exception):
"""Base class for exceptions in this module."""
pass
class RobotError(Error):
"""Exception raised for robot detection (solvable).
Attributes:
message -- explanation of the error
"""
def __init__(self):
self.message = "Robot Check Detected."
class AQErr... | 23.651163 | 77 | 0.647984 | 110 | 1,017 | 5.845455 | 0.381818 | 0.108865 | 0.124417 | 0.143079 | 0.506998 | 0.506998 | 0.466563 | 0.466563 | 0.466563 | 0.466563 | 0 | 0 | 0.248771 | 1,017 | 43 | 77 | 23.651163 | 0.841623 | 0.441495 | 0 | 0.285714 | 0 | 0 | 0.252546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.071429 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
2253183bc7336d3f7ed888516836beec2d6bf543 | 16,510 | py | Python | integral/poly.py | crisperdue/holpy | fe88eb91a8db8386184329e3f51a80d11ecdb316 | [
"BSD-3-Clause"
] | 22 | 2021-06-15T00:01:27.000Z | 2022-03-15T11:22:25.000Z | integral/poly.py | crisperdue/holpy | fe88eb91a8db8386184329e3f51a80d11ecdb316 | [
"BSD-3-Clause"
] | null | null | null | integral/poly.py | crisperdue/holpy | fe88eb91a8db8386184329e3f51a80d11ecdb316 | [
"BSD-3-Clause"
] | 2 | 2021-11-30T08:56:03.000Z | 2022-01-24T10:46:39.000Z | """Polynomials."""
from lark import Lark, Transformer, v_args, exceptions
from fractions import Fraction
from decimal import Decimal
from collections.abc import Iterable
import sympy
import math
from integral import expr
def collect_pairs(ps):
"""Reduce a list of pairs by collecting into groups according to
... | 33.02 | 109 | 0.576136 | 2,068 | 16,510 | 4.458897 | 0.101064 | 0.060622 | 0.021256 | 0.006832 | 0.548314 | 0.490077 | 0.458952 | 0.423598 | 0.397354 | 0.37176 | 0 | 0.010726 | 0.305451 | 16,510 | 499 | 110 | 33.086172 | 0.793407 | 0.106663 | 0 | 0.475921 | 0 | 0 | 0.013004 | 0 | 0 | 0 | 0 | 0 | 0.025496 | 1 | 0.215297 | false | 0 | 0.01983 | 0.101983 | 0.524079 | 0.005666 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2268c1181f251e65b8ceae21e7867cd3d3131bf9 | 2,159 | py | Python | ivy_tests/test_array_api/array_api_tests/test_utility_functions.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | 1 | 2022-03-20T18:13:25.000Z | 2022-03-20T18:13:25.000Z | ivy_tests/test_array_api/array_api_tests/test_utility_functions.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_array_api/array_api_tests/test_utility_functions.py | NIkhilbadveli/ivy | 42dc66dd44417102cf0b72d4fc7aea2aaffa75bc | [
"Apache-2.0"
] | null | null | null | # import pytest
# from hypothesis import given
# from hypothesis import strategies as st
#
# from . import _array_module as xp
# from . import dtype_helpers as dh
# from . import hypothesis_helpers as hh
# from . import pytest_helpers as ph
# from . import shape_helpers as sh
# from . import xps
#
# pytestmark = pytest... | 34.269841 | 90 | 0.6151 | 312 | 2,159 | 4.105769 | 0.208333 | 0.062451 | 0.031226 | 0.023419 | 0.777518 | 0.682279 | 0.635441 | 0.635441 | 0.635441 | 0.635441 | 0 | 0.000592 | 0.21723 | 2,159 | 62 | 91 | 34.822581 | 0.757396 | 0.942103 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
22738d972c96683a1cf2385e49bf23e3f2344576 | 810 | py | Python | afwf/icon.py | MacHu-GWU/afwf-project | 09ba89da9ec03c125031bb7cc01bcdf0042d3408 | [
"MIT"
] | null | null | null | afwf/icon.py | MacHu-GWU/afwf-project | 09ba89da9ec03c125031bb7cc01bcdf0042d3408 | [
"MIT"
] | null | null | null | afwf/icon.py | MacHu-GWU/afwf-project | 09ba89da9ec03c125031bb7cc01bcdf0042d3408 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
dir_icons = os.path.join(os.path.dirname(os.path.abspath(__file__)), "icons")
class Icons:
search = os.path.join(dir_icons, "search-96.png")
refresh = os.path.join(dir_icons, "refresh-96.png")
calendar = os.path.join(dir_icons, "calendar-96.png")
error = os.path.join... | 38.571429 | 77 | 0.659259 | 137 | 810 | 3.766423 | 0.20438 | 0.186047 | 0.271318 | 0.327519 | 0.453488 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03913 | 0.148148 | 810 | 20 | 78 | 40.5 | 0.708696 | 0.025926 | 0 | 0 | 0 | 0 | 0.208386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.9375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
97e259bb4afaef2e56b8bd7a98201060c63852c5 | 157 | py | Python | gitalong/__info__.py | douglaslassance/gitalong | 29af6ae7e19459640c401f53f08897ba04eb7e44 | [
"MIT"
] | null | null | null | gitalong/__info__.py | douglaslassance/gitalong | 29af6ae7e19459640c401f53f08897ba04eb7e44 | [
"MIT"
] | 5 | 2022-03-03T08:10:25.000Z | 2022-03-07T04:22:00.000Z | gitalong/__info__.py | douglaslassance/gitalong-python | 29af6ae7e19459640c401f53f08897ba04eb7e44 | [
"MIT"
] | null | null | null | __author__ = "Douglas Lassance"
__copyright__ = "2020, Douglas Lassance"
__email__ = "douglassance@gmail.com"
__license__ = "MIT"
__version__ = "0.1.0.dev5"
| 26.166667 | 40 | 0.751592 | 18 | 157 | 5.444444 | 0.833333 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057554 | 0.11465 | 157 | 5 | 41 | 31.4 | 0.647482 | 0 | 0 | 0 | 0 | 0 | 0.464968 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
97f7d2f5a954c42c5c44664c8adc6f1b07da052e | 1,655 | py | Python | risk/admin.py | dekoder/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 130 | 2018-04-18T08:51:41.000Z | 2022-03-24T18:15:01.000Z | risk/admin.py | Seabreg/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 14 | 2018-04-02T19:59:25.000Z | 2021-06-10T17:30:18.000Z | risk/admin.py | Seabreg/LogESP | fa45523b4ad96004583cbf722645afc3f63c9a6d | [
"MIT"
] | 55 | 2018-04-18T08:51:50.000Z | 2022-03-05T02:55:17.000Z | from django.contrib import admin
# Register your models here.
from .models import AdvThreatSrcCategory, AdvThreatSrcType
from .models import AdvThreatSource
from .models import NonAdvThreatSrcClass, NonAdvThreatSrcCategory
from .models import NonAdvThreatSrcType, NonAdvThreatSource
from .models import AdvThreatEventCa... | 39.404762 | 80 | 0.867674 | 165 | 1,655 | 8.70303 | 0.206061 | 0.150418 | 0.284123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058006 | 1,655 | 41 | 81 | 40.365854 | 0.921103 | 0.01571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.351351 | 0 | 0.351351 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3f1554c15661f5f1c0cf4b43871d8eddc0b8af59 | 53 | py | Python | curso-em-video/numeros_aleatorios.py | mvrramos/Pogramacao-Python | 4b289372aed3080c55a94beed3ea059619d51e48 | [
"MIT"
] | null | null | null | curso-em-video/numeros_aleatorios.py | mvrramos/Pogramacao-Python | 4b289372aed3080c55a94beed3ea059619d51e48 | [
"MIT"
] | null | null | null | curso-em-video/numeros_aleatorios.py | mvrramos/Pogramacao-Python | 4b289372aed3080c55a94beed3ea059619d51e48 | [
"MIT"
] | null | null | null | import random
num = random.randint(1,60)
print (num)
| 13.25 | 26 | 0.735849 | 9 | 53 | 4.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.132075 | 53 | 3 | 27 | 17.666667 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3f39c9ffefe6e238d09f6ccc2954bd427ff5c75d | 494 | py | Python | core/src/zeit/cms/redirect/testing.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 5 | 2019-05-16T09:51:29.000Z | 2021-05-31T09:30:03.000Z | core/src/zeit/cms/redirect/testing.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 107 | 2019-05-24T12:19:02.000Z | 2022-03-23T15:05:56.000Z | core/src/zeit/cms/redirect/testing.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 3 | 2020-08-14T11:01:17.000Z | 2022-01-08T17:32:19.000Z | import zeit.cms.redirect.interfaces
import zope.interface
@zope.interface.implementer(zeit.cms.redirect.interfaces.ILookup)
class FakeLookup(object):
def __init__(self):
self.redirects = {}
def rename(self, old_id, new_id):
for source, target in self.redirects.items():
if target ... | 26 | 65 | 0.663968 | 62 | 494 | 5.129032 | 0.483871 | 0.204403 | 0.09434 | 0.157233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228745 | 494 | 18 | 66 | 27.444444 | 0.834646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.076923 | 0.538462 | 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 | 0 | 1 | 0 | 0 | 3 |
58b0b58fd4bef09d0e062a9ccf90c669673befcf | 138 | py | Python | tests/benchmarks/string-methods/format.py | abeaumont/Dictu | e7fe088ca12538582c836d4ddaf09120b2cd2810 | [
"MIT"
] | 116 | 2020-07-30T22:09:20.000Z | 2022-03-09T11:08:10.000Z | tests/benchmarks/string-methods/format.py | abeaumont/Dictu | e7fe088ca12538582c836d4ddaf09120b2cd2810 | [
"MIT"
] | 130 | 2020-08-02T19:30:51.000Z | 2022-03-27T01:13:50.000Z | tests/benchmarks/string-methods/format.py | abeaumont/Dictu | e7fe088ca12538582c836d4ddaf09120b2cd2810 | [
"MIT"
] | 50 | 2020-08-01T12:27:01.000Z | 2022-02-24T03:46:52.000Z | import time
start = time.perf_counter()
for _ in range(10000):
x = "{} {}".format("test", "test")
print(time.perf_counter() - start) | 19.714286 | 38 | 0.637681 | 19 | 138 | 4.473684 | 0.684211 | 0.188235 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0.15942 | 138 | 7 | 39 | 19.714286 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0.093525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58c974cc658c1e223d56ee41e71d0312d2aff354 | 232 | py | Python | soundly/features/__init__.py | fahadalisarwar1/soundly | d9ba95bc8edbc760d9c6199178fd9d07aeddee6d | [
"MIT"
] | null | null | null | soundly/features/__init__.py | fahadalisarwar1/soundly | d9ba95bc8edbc760d9c6199178fd9d07aeddee6d | [
"MIT"
] | null | null | null | soundly/features/__init__.py | fahadalisarwar1/soundly | d9ba95bc8edbc760d9c6199178fd9d07aeddee6d | [
"MIT"
] | null | null | null | """
Feature Extraction
==================
Feature extraction for temporal, spectral and speech and statistical features.
"""
from .temporal import *
from .spectral import *
from .speech_features import *
from .statistical import *
| 21.090909 | 78 | 0.715517 | 25 | 232 | 6.6 | 0.44 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 232 | 10 | 79 | 23.2 | 0.825 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
58e1230074f817a0273237fd101575e3a5f1c718 | 103 | py | Python | string_palindrome.py | Akash671/Python | c816086717599ee57a5b10db260aa6099c650b5f | [
"MIT"
] | 1 | 2021-01-23T06:28:37.000Z | 2021-01-23T06:28:37.000Z | string_palindrome.py | Akash671/Python | c816086717599ee57a5b10db260aa6099c650b5f | [
"MIT"
] | null | null | null | string_palindrome.py | Akash671/Python | c816086717599ee57a5b10db260aa6099c650b5f | [
"MIT"
] | null | null | null | def solve(s):
if s==s[::-1]:
return 1
else:
return 0
s=str(input())
print(solve(s))
| 11.444444 | 17 | 0.504854 | 18 | 103 | 2.888889 | 0.611111 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.291262 | 103 | 8 | 18 | 12.875 | 0.671233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58e35105abde09ec0256e1a0ced21023b148e093 | 187 | py | Python | serviceconfigurator/services/urls.py | DAvidMeister89/ServiceConfigurator | 06e7c7396780f7461fcfeac4106dfc192d5f8517 | [
"MIT"
] | null | null | null | serviceconfigurator/services/urls.py | DAvidMeister89/ServiceConfigurator | 06e7c7396780f7461fcfeac4106dfc192d5f8517 | [
"MIT"
] | null | null | null | serviceconfigurator/services/urls.py | DAvidMeister89/ServiceConfigurator | 06e7c7396780f7461fcfeac4106dfc192d5f8517 | [
"MIT"
] | null | null | null | from rest_framework import routers
from .api import ServiceViewSet
router = routers.DefaultRouter()
router.register('api/services', ServiceViewSet, 'services')
urlpatterns = router.urls | 26.714286 | 59 | 0.812834 | 21 | 187 | 7.190476 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096257 | 187 | 7 | 60 | 26.714286 | 0.893491 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
58e89782d5691f4f9fe3ed2c04b6e5fce0650285 | 52 | py | Python | python/testData/completion/dunderPrepare.after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/completion/dunderPrepare.after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/completion/dunderPrepare.after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2022-01-02T19:58:08.000Z | 2022-01-02T19:58:08.000Z | class C:
def __prepare__(metacls, name, bases):
| 17.333333 | 42 | 0.692308 | 7 | 52 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 52 | 2 | 43 | 26 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
45050b2d22266bd0d3ef6abe1852f248f5aa47bd | 13,929 | py | Python | chj/index/JTypeDictionary.py | kestreltechnology/CodeHawk-Java | 7c218f67161bbe1a8aa2cc70f16d28e032957464 | [
"MIT"
] | null | null | null | chj/index/JTypeDictionary.py | kestreltechnology/CodeHawk-Java | 7c218f67161bbe1a8aa2cc70f16d28e032957464 | [
"MIT"
] | 1 | 2020-08-01T04:20:13.000Z | 2020-08-01T04:20:13.000Z | chj/index/JTypeDictionary.py | kestreltechnology/CodeHawk-Java | 7c218f67161bbe1a8aa2cc70f16d28e032957464 | [
"MIT"
] | 3 | 2020-07-25T22:55:03.000Z | 2021-10-20T08:18:39.000Z | # ------------------------------------------------------------------------------
# CodeHawk Java Analyzer
# Author: Henny Sipma
# ------------------------------------------------------------------------------
# The MIT License (MIT)
#
# Copyright (c) 2016-2020 Kestrel Technology LLC
# Copyright (c) 2021 Andrew McG... | 51.780669 | 134 | 0.710388 | 1,710 | 13,929 | 5.523977 | 0.138596 | 0.057167 | 0.062884 | 0.045734 | 0.540652 | 0.495236 | 0.423248 | 0.366398 | 0.304573 | 0.248888 | 0 | 0.00113 | 0.174384 | 13,929 | 268 | 135 | 51.973881 | 0.820261 | 0.106469 | 0 | 0.104167 | 0 | 0 | 0.038979 | 0.025127 | 0 | 0 | 0 | 0 | 0 | 1 | 0.270833 | false | 0 | 0.119792 | 0.119792 | 0.515625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4510758bdfa2d677d71df7cdd7323785ba622317 | 258 | py | Python | Data/Algorithm/Python/bubbleSort.py | jecqiang/PHPer | 60be6879e090bd9f50458b1248d38e8ca9b83960 | [
"MIT"
] | 376 | 2018-06-08T05:48:27.000Z | 2021-07-19T00:40:10.000Z | Algorithm/Python/bubbleSort.py | zhuhe123456/PHPer | 56e00bd13708df424e440dc1d25b3f7cd02b6c81 | [
"MIT"
] | 53 | 2018-06-08T09:53:35.000Z | 2020-09-29T02:41:58.000Z | Algorithm/Python/bubbleSort.py | zhuhe123456/PHPer | 56e00bd13708df424e440dc1d25b3f7cd02b6c81 | [
"MIT"
] | 32 | 2018-06-08T06:12:42.000Z | 2021-02-24T04:59:13.000Z | def bubble_sort(arry):
n = len(arry) #获得数组的长度
for i in range(n):
for j in range(1,n-i):
if arry[j-1] > arry[j] : #如果前者比后者大
arry[j-1],arry[j] = arry[j],arry[j-1] #则交换两者
return arry
| 32.25 | 65 | 0.453488 | 40 | 258 | 2.9 | 0.425 | 0.258621 | 0.155172 | 0.172414 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.403101 | 258 | 7 | 66 | 36.857143 | 0.727273 | 0.077519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
451f136f9b8b3917c637f08d464a7e95b674daf9 | 5,332 | py | Python | tests/test_one_dim_qd.py | Benedicte/quantum-systems | 31e6f78dceb03f5d01092f4008fbab38516a0623 | [
"MIT"
] | 8 | 2018-12-14T16:22:52.000Z | 2021-01-02T03:03:26.000Z | tests/test_one_dim_qd.py | Benedicte/quantum-systems | 31e6f78dceb03f5d01092f4008fbab38516a0623 | [
"MIT"
] | 37 | 2019-02-20T13:39:18.000Z | 2021-05-31T12:20:23.000Z | tests/test_one_dim_qd.py | Benedicte/quantum-systems | 31e6f78dceb03f5d01092f4008fbab38516a0623 | [
"MIT"
] | 9 | 2019-03-31T23:10:20.000Z | 2021-11-26T22:08:25.000Z | import os
import pytest
import numpy as np
from quantum_systems import ODQD, GeneralOrbitalSystem, SpatialOrbitalSystem
@pytest.fixture(scope="module")
def get_odho():
n = 2
l = 10
grid_length = 5
num_grid_points = 1001
omega = 1
odho = GeneralOrbitalSystem(
n,
ODQD(
... | 24.018018 | 80 | 0.583646 | 816 | 5,332 | 3.656863 | 0.10049 | 0.032172 | 0.042895 | 0.064343 | 0.83378 | 0.819705 | 0.745308 | 0.625 | 0.497654 | 0.438673 | 0 | 0.029191 | 0.274006 | 5,332 | 221 | 81 | 24.126697 | 0.741669 | 0 | 0 | 0.496815 | 0 | 0 | 0.077644 | 0.01838 | 0 | 0 | 0 | 0 | 0.146497 | 1 | 0.076433 | false | 0 | 0.025478 | 0 | 0.133758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4523e88d76b4a7cc60a450f139b536c830acc1ac | 55 | py | Python | src/cms/medias/__init__.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 6 | 2021-01-26T17:22:53.000Z | 2022-02-15T10:09:03.000Z | src/cms/medias/__init__.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 5 | 2020-12-24T14:29:23.000Z | 2021-08-10T10:32:18.000Z | src/cms/medias/__init__.py | UniversitaDellaCalabria/uniCMS | b0af4e1a767867f0a9b3c135a5c84587e713cb71 | [
"Apache-2.0"
] | 2 | 2020-12-24T14:13:39.000Z | 2020-12-30T16:48:52.000Z | default_app_config = 'cms.medias.apps.CmsMediasConfig'
| 27.5 | 54 | 0.836364 | 7 | 55 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 55 | 1 | 55 | 55 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.563636 | 0.563636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4538e83b88e64ddf7afe1d203fbf6e4a40967566 | 405 | py | Python | examples/plugins/setup.py | tsrivishnu/certbot | 81f02e5578819220e0b4e15a9ceca9b77fff436e | [
"Apache-2.0"
] | 4 | 2020-04-04T19:08:35.000Z | 2020-07-03T04:57:18.000Z | examples/plugins/setup.py | tsrivishnu/certbot | 81f02e5578819220e0b4e15a9ceca9b77fff436e | [
"Apache-2.0"
] | 808 | 2018-11-09T05:14:26.000Z | 2021-08-03T05:26:10.000Z | examples/plugins/setup.py | tsrivishnu/certbot | 81f02e5578819220e0b4e15a9ceca9b77fff436e | [
"Apache-2.0"
] | 3 | 2018-02-09T21:05:38.000Z | 2019-06-10T00:39:00.000Z | from setuptools import setup
setup(
name='certbot-example-plugins',
package='certbot_example_plugins.py',
install_requires=[
'certbot',
'zope.interface',
],
entry_points={
'certbot.plugins': [
'example_authenticator = certbot_example_plugins:Authenticator',
... | 22.5 | 76 | 0.62963 | 35 | 405 | 7 | 0.514286 | 0.228571 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 405 | 17 | 77 | 23.823529 | 0.816667 | 0 | 0 | 0.133333 | 0 | 0 | 0.491358 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1885be030b04aa1676d8780e37ad03fee07b662f | 99 | py | Python | code/abc022_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc022_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc022_a_04.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | n,s,t=map(int,input().split())
w=c=0
for i in range(n):
w+=int(input())
c+=s<=w<=t
print(c) | 16.5 | 30 | 0.535354 | 24 | 99 | 2.208333 | 0.625 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.161616 | 99 | 6 | 31 | 16.5 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18a9f5e192786f008e0a534698ac6d07286c14d0 | 255 | py | Python | backend/src/configurations/messages/error/repository/authentication.py | ihsaro/socioworld | d8054afe152bd841eb58d6870e781917a0f6a511 | [
"Apache-2.0"
] | null | null | null | backend/src/configurations/messages/error/repository/authentication.py | ihsaro/socioworld | d8054afe152bd841eb58d6870e781917a0f6a511 | [
"Apache-2.0"
] | null | null | null | backend/src/configurations/messages/error/repository/authentication.py | ihsaro/socioworld | d8054afe152bd841eb58d6870e781917a0f6a511 | [
"Apache-2.0"
] | null | null | null | from enum import Enum
from fastapi import status
from configurations.messages.models import Message
class AuthenticationRepositoryErrorMessages(Enum):
DUPLICATE_USER = Message(message="User already exists", status_code=status.HTTP_400_BAD_REQUEST)
| 28.333333 | 100 | 0.839216 | 31 | 255 | 6.741935 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.105882 | 255 | 8 | 101 | 31.875 | 0.903509 | 0 | 0 | 0 | 0 | 0 | 0.07451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
18b158e9bacf4edf5dadae80cdf6535b30dc0816 | 452 | py | Python | topnav_capo2/scripts/driver/interface_head_driver.py | kasptom/topnav_ros_kasptom | 9e7cd97ac0f5f22544880d71bcc91c9db4de528a | [
"Apache-2.0"
] | null | null | null | topnav_capo2/scripts/driver/interface_head_driver.py | kasptom/topnav_ros_kasptom | 9e7cd97ac0f5f22544880d71bcc91c9db4de528a | [
"Apache-2.0"
] | null | null | null | topnav_capo2/scripts/driver/interface_head_driver.py | kasptom/topnav_ros_kasptom | 9e7cd97ac0f5f22544880d71bcc91c9db4de528a | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta, abstractmethod
class IHeadDriver:
__metaclass__ = ABCMeta
@abstractmethod
def set_head_rotation(self, angle_degrees):
raise NotImplementedError
@abstractmethod
def get_head_rotation(self):
raise NotImplementedError
@abstractmethod
def reset_head_... | 20.545455 | 47 | 0.723451 | 42 | 452 | 7.5 | 0.5 | 0.215873 | 0.152381 | 0.390476 | 0.361905 | 0.361905 | 0.361905 | 0 | 0 | 0 | 0 | 0 | 0.232301 | 452 | 21 | 48 | 21.52381 | 0.907781 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18b698345ebf8e4860c98c069e138da8a48b4b81 | 4,312 | py | Python | src/frontend/tests/test_phonemes.py | tiro-is/tiro-tts | 6b6026379f70ff3a6fe86fb0ab903c7ae542399e | [
"Apache-2.0"
] | 2 | 2021-09-06T19:49:03.000Z | 2021-12-13T14:41:46.000Z | src/frontend/tests/test_phonemes.py | tiro-is/tiro-tts | 6b6026379f70ff3a6fe86fb0ab903c7ae542399e | [
"Apache-2.0"
] | null | null | null | src/frontend/tests/test_phonemes.py | tiro-is/tiro-tts | 6b6026379f70ff3a6fe86fb0ab903c7ae542399e | [
"Apache-2.0"
] | null | null | null | from pytest import raises
from ..phonemes import (
SHORT_PAUSE,
_align_ipa,
align_ipa_from_xsampa,
convert_ipa_to_xsampa,
convert_xsampa_to_ipa,
)
class TestConvertIpaToXsampa:
def test_empty_lis(self):
assert convert_ipa_to_xsampa([]) == []
def test_incorrect_strings_01(self):
... | 28.183007 | 86 | 0.602505 | 598 | 4,312 | 3.976589 | 0.118729 | 0.117746 | 0.114382 | 0.098402 | 0.860387 | 0.823802 | 0.690917 | 0.623633 | 0.563919 | 0.46804 | 0 | 0.00715 | 0.253942 | 4,312 | 152 | 87 | 28.368421 | 0.731116 | 0 | 0 | 0.551402 | 0 | 0 | 0.069341 | 0 | 0 | 0 | 0 | 0 | 0.224299 | 1 | 0.373832 | false | 0 | 0.018692 | 0 | 0.429907 | 0.009346 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18dd968f804d72f677d5882534440fc09aaf2bdb | 185 | py | Python | chat/routing.py | HemanthJella/ewallet | cc7f9b5abb7aa552b8769b9324c3d79630e5ea6a | [
"Apache-2.0"
] | null | null | null | chat/routing.py | HemanthJella/ewallet | cc7f9b5abb7aa552b8769b9324c3d79630e5ea6a | [
"Apache-2.0"
] | null | null | null | chat/routing.py | HemanthJella/ewallet | cc7f9b5abb7aa552b8769b9324c3d79630e5ea6a | [
"Apache-2.0"
] | null | null | null | # chat/routing.py
from django.urls import re_path
from .consumers import ChatConsumer
websocket_urlpatterns = [
re_path(r'^ws/chat/(?P<room_name>[^/]+)/$', ChatConsumer),
] | 23.125 | 63 | 0.691892 | 24 | 185 | 5.166667 | 0.75 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151351 | 185 | 8 | 64 | 23.125 | 0.789809 | 0.081081 | 0 | 0 | 0 | 0 | 0.191358 | 0.191358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7a1669d8191533e690dac0944d81fd62d598a9be | 1,185 | py | Python | apps/configs/db_config_sample.py | yeayee/osroom | f7084843ea4b75505283f8b23da60471ba8fc9bb | [
"BSD-2-Clause"
] | 1 | 2019-05-12T14:54:40.000Z | 2019-05-12T14:54:40.000Z | apps/configs/db_config_sample.py | yeayee/osroom | f7084843ea4b75505283f8b23da60471ba8fc9bb | [
"BSD-2-Clause"
] | null | null | null | apps/configs/db_config_sample.py | yeayee/osroom | f7084843ea4b75505283f8b23da60471ba8fc9bb | [
"BSD-2-Clause"
] | null | null | null | # -*-coding:utf-8-*-
__author__ = "Allen Woo"
DB_CONFIG = {
"redis": {
"host": [
"127.0.0.1"
],
"password": "<Your password>",
"port": [
"6379"
]
},
"mongodb": {
"web": {
"dbname": "osr_web",
"password": "<Your p... | 23.235294 | 42 | 0.31308 | 83 | 1,185 | 4.337349 | 0.373494 | 0.077778 | 0.088889 | 0.1 | 0.669444 | 0.641667 | 0.641667 | 0.641667 | 0.641667 | 0.641667 | 0 | 0.076923 | 0.5173 | 1,185 | 51 | 43 | 23.235294 | 0.552448 | 0.01519 | 0 | 0.54 | 0 | 0 | 0.294168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e139f013238fe2814d01809003de0dc40694fe97 | 1,442 | py | Python | bindings/python/pycrow/__init__.py | Mirmik/crow | afd14eb5327564e471b9ee2a9bf67423213660db | [
"MIT"
] | 2 | 2020-03-11T17:47:37.000Z | 2020-03-12T13:36:43.000Z | bindings/python/pycrow/__init__.py | Mirmik/crow | afd14eb5327564e471b9ee2a9bf67423213660db | [
"MIT"
] | null | null | null | bindings/python/pycrow/__init__.py | Mirmik/crow | afd14eb5327564e471b9ee2a9bf67423213660db | [
"MIT"
] | null | null | null | try:
import pycrow.libcrow
from pycrow.libcrow import *
except Exception as ex:
print("PyCrow: Import libs error. ex:", ex)
exit(0)
#import time
#import threading
#
#THREAD = None
#crowker = None
#spin_cancel = False
#
#def spin():
# while 1:
# if spin_cancel: return
# pycrow.libcrow.onestep()
# time.sleep(0.00... | 20.309859 | 81 | 0.716366 | 195 | 1,442 | 5.158974 | 0.364103 | 0.129225 | 0.037773 | 0.027833 | 0.033797 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016706 | 0.128294 | 1,442 | 71 | 82 | 20.309859 | 0.783612 | 0.816921 | 0 | 0 | 0 | 0 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e158ac8dee58e5b4d185614c1c6f64fcfb400600 | 367 | py | Python | tools/leetcode.293.Flip Game/leetcode.293.Flip Game.submission0.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | 4 | 2015-10-10T00:30:55.000Z | 2020-07-27T19:45:54.000Z | tools/leetcode.293.Flip Game/leetcode.293.Flip Game.submission0.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | tools/leetcode.293.Flip Game/leetcode.293.Flip Game.submission0.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | class Solution(object):
def generatePossibleNextMoves(self, s):
"""
:type s: str
:rtype: List[str]
"""
result = []
if not s:
return result
for i in range(len(s)-1):
if s[i] == '+' and s[i+1] == '+':
result += s[:i]+'--'+... | 367 | 367 | 0.395095 | 41 | 367 | 3.536585 | 0.560976 | 0.055172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014563 | 0.438692 | 367 | 1 | 367 | 367 | 0.68932 | 0.081744 | 0 | 0.222222 | 1 | 0 | 0.013072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.444444 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e158d868070a4bb9027fe7a35350ae2dd2c90dba | 376 | py | Python | overthewire/natas/natas27.py | GambuzX/Cybersecurity_Practice | 58ecc222816a1bda2742da9b2782cef25365692f | [
"MIT"
] | 1 | 2020-03-08T19:17:15.000Z | 2020-03-08T19:17:15.000Z | overthewire/natas/natas27.py | GambuzX/CTF_Practice | 58ecc222816a1bda2742da9b2782cef25365692f | [
"MIT"
] | null | null | null | overthewire/natas/natas27.py | GambuzX/CTF_Practice | 58ecc222816a1bda2742da9b2782cef25365692f | [
"MIT"
] | 1 | 2020-12-17T15:51:02.000Z | 2020-12-17T15:51:02.000Z | import requests
url = "http://natas27.natas.labs.overthewire.org"
user = "natas27"
pwd = "55TBjpPZUUJgVP5b3BnbG6ON9uDPVzCJ"
# create user
data = {"username": "natas28" + " "*64 + "1", "password": ""}
r = requests.post(url, data=data, auth=(user,pwd))
# login
data = {"username": "natas28", "password": ""}
r = reques... | 25.066667 | 61 | 0.670213 | 47 | 376 | 5.361702 | 0.531915 | 0.095238 | 0.150794 | 0.166667 | 0.34127 | 0.34127 | 0.34127 | 0.34127 | 0.34127 | 0.34127 | 0 | 0.051829 | 0.12766 | 376 | 15 | 62 | 25.066667 | 0.716463 | 0.045213 | 0 | 0.222222 | 0 | 0 | 0.358543 | 0.089636 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.222222 | 0.111111 | null | null | 0.111111 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e16876a4f1666ddbe6ffa33ae359682e4d1aa208 | 84 | py | Python | day3/homework/q1.py | AkshayManchanda/Python_Training | 5a50472d118ac6d40145bf1dd60f26864bf9fb6c | [
"MIT"
] | null | null | null | day3/homework/q1.py | AkshayManchanda/Python_Training | 5a50472d118ac6d40145bf1dd60f26864bf9fb6c | [
"MIT"
] | null | null | null | day3/homework/q1.py | AkshayManchanda/Python_Training | 5a50472d118ac6d40145bf1dd60f26864bf9fb6c | [
"MIT"
] | null | null | null | list=[1,2,3.5,4,5]
print(list)
sum=0
for i in list:
sum=sum+i
sum/=i
print(sum)
| 10.5 | 18 | 0.619048 | 22 | 84 | 2.363636 | 0.545455 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.166667 | 84 | 7 | 19 | 12 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e16a44d14098870f503403cf40f230c59c21facd | 936 | py | Python | djxml/xmlmodels/__init__.py | atdsaa/django-xml | 23c3381990828d766c78c364d5f72f863db3d5e7 | [
"BSD-2-Clause"
] | null | null | null | djxml/xmlmodels/__init__.py | atdsaa/django-xml | 23c3381990828d766c78c364d5f72f863db3d5e7 | [
"BSD-2-Clause"
] | null | null | null | djxml/xmlmodels/__init__.py | atdsaa/django-xml | 23c3381990828d766c78c364d5f72f863db3d5e7 | [
"BSD-2-Clause"
] | 2 | 2020-04-30T18:11:23.000Z | 2020-06-17T20:44:51.000Z | from __future__ import absolute_import
from .loading import (get_apps, get_app, get_xml_models, get_xml_model,
register_xml_models,)
from . import signals
from .base import XmlModel
from .decorators import lxml_extension
from .fields import (XmlElementField, XmlPrimaryElementField,
... | 55.058824 | 80 | 0.694444 | 63 | 936 | 10.095238 | 0.698413 | 0.018868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261752 | 936 | 16 | 81 | 58.5 | 0.920405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4375 | 0 | 0.4375 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e17c17196cf1e2e87484b877c0767e1e04510b58 | 3,645 | py | Python | pycspr/factory/cl.py | MrKrautee/casper-python-sdk | 13e9da83de8892583da7ada91e4231e6f85e5e13 | [
"Apache-2.0"
] | 2 | 2021-10-05T07:50:20.000Z | 2021-10-06T09:58:19.000Z | pycspr/factory/cl.py | MrKrautee/casper-python-sdk | 13e9da83de8892583da7ada91e4231e6f85e5e13 | [
"Apache-2.0"
] | null | null | null | pycspr/factory/cl.py | MrKrautee/casper-python-sdk | 13e9da83de8892583da7ada91e4231e6f85e5e13 | [
"Apache-2.0"
] | null | null | null | from pycspr.types import CLStorageKeyType
from pycspr.types import CLTypeKey
from pycspr.types import CLType
from pycspr.types import CLType_ByteArray
from pycspr.types import CLType_List
from pycspr.types import CLType_Map
from pycspr.types import CLType_Option
from pycspr.types import CLType_Simple
from pycspr.types ... | 37.96875 | 79 | 0.720713 | 511 | 3,645 | 4.919765 | 0.127202 | 0.050119 | 0.077566 | 0.108592 | 0.608194 | 0.468178 | 0.344073 | 0.314638 | 0.26253 | 0.201273 | 0 | 0.011563 | 0.21701 | 3,645 | 95 | 80 | 38.368421 | 0.869306 | 0.459808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.371429 | 0 | 0.942857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e17c515839c0f3df35e2db88aa4886d802e9639c | 288 | py | Python | model/modules/__init__.py | gmanco/PATH | 286ac8f2643a1fc6ce26d0ad2e23fb9a676aea6f | [
"Apache-2.0"
] | 1 | 2019-03-03T13:57:31.000Z | 2019-03-03T13:57:31.000Z | model/modules/__init__.py | gmanco/PATH | 286ac8f2643a1fc6ce26d0ad2e23fb9a676aea6f | [
"Apache-2.0"
] | null | null | null | model/modules/__init__.py | gmanco/PATH | 286ac8f2643a1fc6ce26d0ad2e23fb9a676aea6f | [
"Apache-2.0"
] | 1 | 2018-11-24T00:44:22.000Z | 2018-11-24T00:44:22.000Z | #import os,sys,inspect
#currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
#parentdir = os.path.dirname(currentdir)
#sys.path.insert(0,parentdir)
#from .data_processor import *
#from .grid_search import *
#from .models import *
#from .weibull import * | 32 | 87 | 0.763889 | 39 | 288 | 5.589744 | 0.512821 | 0.082569 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003802 | 0.086806 | 288 | 9 | 88 | 32 | 0.825095 | 0.944444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e18de813839d182f797dd82f9057ea81f33fb764 | 1,014 | py | Python | aiotdlib/api/functions/get_chat_scheduled_messages.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/get_chat_scheduled_messages.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/get_chat_scheduled_messages.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 36.214286 | 146 | 0.478304 | 80 | 1,014 | 5.95 | 0.6625 | 0.037815 | 0.042017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304734 | 1,014 | 27 | 147 | 37.555556 | 0.675177 | 0.599606 | 0 | 0 | 1 | 0 | 0.07989 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
e190a9aa6b7efa31d44536e32c9d82faf4039418 | 828 | py | Python | NoteBooks/Curso de Python/Python/Core/Unpaking_Variables/ex12-13.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | 1 | 2021-02-26T13:12:22.000Z | 2021-02-26T13:12:22.000Z | NoteBooks/Curso de Python/Python/Core/Unpaking_Variables/ex12-13.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | NoteBooks/Curso de Python/Python/Core/Unpaking_Variables/ex12-13.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null |
#Estamos estudiando Unpaking, parameters, variables.
from sys import argv
name, first, second, third = argv
#Puedo hacer que despues de correr lso argumentos empacados, el usario me reemplace valores que estaban ahí.
# name = input("Escribe el nombre el script a correr: ")
print("The name of this script is: ", nam... | 31.846154 | 113 | 0.746377 | 135 | 828 | 4.562963 | 0.488889 | 0.090909 | 0.116883 | 0.168831 | 0.324675 | 0.316558 | 0.136364 | 0 | 0 | 0 | 0 | 0.014577 | 0.171498 | 828 | 25 | 114 | 33.12 | 0.883382 | 0.675121 | 0 | 0 | 0 | 0 | 0.459144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e19d2bc670e18fb27b087f1a8fc317267e687853 | 223 | py | Python | tool/templates/template.py | SilvestrePerret/adventofcode-2019 | 9c3083fde1e6589cd64b0cc5be00d8702f98bf7c | [
"MIT"
] | 31 | 2018-12-01T00:43:40.000Z | 2020-05-30T05:18:59.000Z | tool/templates/template.py | SilvestrePerret/adventofcode-2019 | 9c3083fde1e6589cd64b0cc5be00d8702f98bf7c | [
"MIT"
] | 14 | 2018-12-01T12:14:26.000Z | 2021-05-07T22:41:47.000Z | tool/templates/template.py | SilvestrePerret/adventofcode-2019 | 9c3083fde1e6589cd64b0cc5be00d8702f98bf7c | [
"MIT"
] | 10 | 2018-12-01T23:38:34.000Z | 2020-12-28T13:36:10.000Z | from tool.runners.python import SubmissionPy
class {class_name}(SubmissionPy):
def run(self, s):
# :param s: input in string format
# :return: solution flag
# Your code goes here
pass
| 20.272727 | 44 | 0.627803 | 28 | 223 | 4.964286 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29148 | 223 | 10 | 45 | 22.3 | 0.879747 | 0.336323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0.25 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e1bf78a932e9a799cc959e59473c1976c7a52a17 | 516 | py | Python | aws_mock/requests/import_key_pair.py | enaydanov/aws_mock | 4ad3dca270ad164693e85741d5e92f845c34aa01 | [
"Apache-2.0"
] | null | null | null | aws_mock/requests/import_key_pair.py | enaydanov/aws_mock | 4ad3dca270ad164693e85741d5e92f845c34aa01 | [
"Apache-2.0"
] | 1 | 2021-10-21T21:06:29.000Z | 2021-10-21T21:06:29.000Z | aws_mock/requests/import_key_pair.py | bentsi/aws_mock | d6c1b963e02b4cd3602722e7135f4d65f6a71d3e | [
"Apache-2.0"
] | 1 | 2021-11-08T14:20:36.000Z | 2021-11-08T14:20:36.000Z | import logging
from aws_mock.lib import get_collection_by_resource_id, generate_resource_id, aws_response
LOGGER = logging.getLogger(__name__)
@aws_response
def import_key_pair(key_name: str) -> dict:
key_pair_id = generate_resource_id(resource_type="key")
key_pair = {"id": key_pair_id, "name": key_name, "... | 28.666667 | 90 | 0.751938 | 81 | 516 | 4.320988 | 0.358025 | 0.18 | 0.128571 | 0.131429 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 516 | 17 | 91 | 30.352941 | 0.777778 | 0 | 0 | 0 | 1 | 0 | 0.089147 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e1c7ad32f48b62a1d83b53ed3f07339cc1234963 | 702 | py | Python | examples/pytorch/jtnn/jtnn/mol_tree.py | baharefatemi/dgl | 609d73ee5d720cea09bd00cddf00943a9621c50e | [
"Apache-2.0"
] | 1 | 2020-03-06T01:30:23.000Z | 2020-03-06T01:30:23.000Z | examples/pytorch/jtnn/jtnn/mol_tree.py | tbmihailov/dgl | ed1948b5555106dee133cef91ed9ecfd3bd4310d | [
"Apache-2.0"
] | null | null | null | examples/pytorch/jtnn/jtnn/mol_tree.py | tbmihailov/dgl | ed1948b5555106dee133cef91ed9ecfd3bd4310d | [
"Apache-2.0"
] | 1 | 2020-09-07T02:11:42.000Z | 2020-09-07T02:11:42.000Z | import rdkit
import rdkit.Chem as Chem
import copy
def get_slots(smiles):
mol = Chem.MolFromSmiles(smiles)
return [(atom.GetSymbol(), atom.GetFormalCharge(), atom.GetTotalNumHs()) for atom in mol.GetAtoms()]
class Vocab(object):
def __init__(self, smiles_list):
self.vocab = smiles_list
se... | 26 | 104 | 0.655271 | 98 | 702 | 4.581633 | 0.346939 | 0.100223 | 0.048998 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229345 | 702 | 26 | 105 | 27 | 0.829945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.157895 | 0.210526 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
becc1ced581594ecddd162fadc505e0eece4fc90 | 1,412 | py | Python | service/data/world.py | FlyingBird95/covid-19 | 4381306bb8ecaf58230bc43c93840883aa18cb30 | [
"MIT"
] | null | null | null | service/data/world.py | FlyingBird95/covid-19 | 4381306bb8ecaf58230bc43c93840883aa18cb30 | [
"MIT"
] | 2 | 2021-03-10T11:42:00.000Z | 2021-05-11T07:34:07.000Z | service/data/world.py | FlyingBird95/covid-19 | 4381306bb8ecaf58230bc43c93840883aa18cb30 | [
"MIT"
] | null | null | null | from datetime import datetime
from sqlalchemy import func
from covid19.database import db
from service.data.models import Deaths, Confirmed, Recovered, TimestampSerializableMixin
class Result(TimestampSerializableMixin):
def __init__(self, moment, amount):
self.moment = moment
self.amount = amo... | 29.416667 | 107 | 0.667847 | 173 | 1,412 | 5.277457 | 0.32948 | 0.0931 | 0.052574 | 0.052574 | 0.105148 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01385 | 0.233003 | 1,412 | 47 | 108 | 30.042553 | 0.829178 | 0.024079 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0 | 0.117647 | 0.147059 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
becc52ac6b8f19307007c2c4bbaeeb9a9bbee38e | 1,567 | py | Python | server/server_api/destinations/models.py | chingu-voyages/here2there | e9f63e792d16e7d29e4c6c5c95b5a9ef698aab8e | [
"MIT"
] | 2 | 2021-09-28T07:33:30.000Z | 2022-03-31T14:23:58.000Z | server/server_api/destinations/models.py | chingu-voyages/here2there | e9f63e792d16e7d29e4c6c5c95b5a9ef698aab8e | [
"MIT"
] | 23 | 2021-04-05T00:14:16.000Z | 2021-06-30T19:08:09.000Z | server/server_api/destinations/models.py | chingu-voyages/here2there | e9f63e792d16e7d29e4c6c5c95b5a9ef698aab8e | [
"MIT"
] | 1 | 2021-05-11T17:06:31.000Z | 2021-05-11T17:06:31.000Z | from django.db import models
class Destination(models.Model):
"""
Destination Model
Defines attributes of a city in database
"""
city_id = models.CharField(primary_key=True, max_length=255)
city = models.CharField(max_length=255)
country = models.CharField(max_length=255)
living_cost ... | 43.527778 | 70 | 0.750479 | 218 | 1,567 | 5.133028 | 0.270642 | 0.257373 | 0.300268 | 0.386059 | 0.682752 | 0.634495 | 0.634495 | 0.634495 | 0.442359 | 0 | 0 | 0.042665 | 0.147415 | 1,567 | 35 | 71 | 44.771429 | 0.79491 | 0.037013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.037037 | 0.037037 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
83304c49cfe067d6a5ba4a7b856ec4976e76cc45 | 148 | py | Python | PythonLearning/v0017(nomesobrenome).py | JoaoG10110/Python | 495044d61bb8d6ec3542433a3f54dd1f8177cb08 | [
"MIT"
] | null | null | null | PythonLearning/v0017(nomesobrenome).py | JoaoG10110/Python | 495044d61bb8d6ec3542433a3f54dd1f8177cb08 | [
"MIT"
] | null | null | null | PythonLearning/v0017(nomesobrenome).py | JoaoG10110/Python | 495044d61bb8d6ec3542433a3f54dd1f8177cb08 | [
"MIT"
] | null | null | null | nome = str(input('Digite o seu nome completo: ')).title().strip().split()
print('Primeiro nome:', nome[0])
print('Último nome:', nome[len(nome)-1])
| 37 | 73 | 0.662162 | 23 | 148 | 4.26087 | 0.695652 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.094595 | 148 | 3 | 74 | 49.333333 | 0.716418 | 0 | 0 | 0 | 0 | 0 | 0.364865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
833ae4af6ef48e82d0ab63232af43538e5ba66f6 | 571 | py | Python | tests/python/pants_test/engine/util.py | lahosken/pants | 1b0340987c9b2eab9411416803c75b80736716e4 | [
"Apache-2.0"
] | null | null | null | tests/python/pants_test/engine/util.py | lahosken/pants | 1b0340987c9b2eab9411416803c75b80736716e4 | [
"Apache-2.0"
] | null | null | null | tests/python/pants_test/engine/util.py | lahosken/pants | 1b0340987c9b2eab9411416803c75b80736716e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
from pants.engine.su... | 35.6875 | 93 | 0.768827 | 71 | 571 | 5.971831 | 0.647887 | 0.042453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014344 | 0.145359 | 571 | 15 | 94 | 38.066667 | 0.854508 | 0.325744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.714286 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
835743baaf5a35bea29009b3aacc2aa27ed8ec79 | 195 | py | Python | Ejercicios Basicos/Ejercicio5.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 20 | 2020-08-19T23:27:01.000Z | 2022-02-03T12:02:17.000Z | Ejercicios Basicos/Ejercicio5.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 1 | 2021-04-10T18:06:05.000Z | 2021-04-10T18:06:05.000Z | Ejercicios Basicos/Ejercicio5.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 2 | 2020-12-03T19:35:36.000Z | 2021-11-10T14:58:39.000Z | #Ejercicio
precio = float(input("Ingrese el precio: "))
descuento = precio * 0.15
precio_final = precio - descuento
print (f"el precio final a pagar es: {precio_final:.2f}")
print (descuento)
| 19.5 | 57 | 0.717949 | 28 | 195 | 4.928571 | 0.571429 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.153846 | 195 | 9 | 58 | 21.666667 | 0.812121 | 0.046154 | 0 | 0 | 0 | 0 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8361364c945af1406da4b4304029ea947039ae03 | 1,405 | py | Python | blockchain-py/transaction_output.py | yummybian/blockchain-py | 186c201517bf1fef33ed2df62938a848bfce37b1 | [
"Apache-2.0"
] | 36 | 2018-03-20T15:03:30.000Z | 2021-12-24T03:44:15.000Z | blockchain-py/transaction_output.py | ksl20200108/blockchain-py | 186c201517bf1fef33ed2df62938a848bfce37b1 | [
"Apache-2.0"
] | 2 | 2018-03-30T06:22:39.000Z | 2019-02-06T12:08:07.000Z | blockchain-py/transaction_output.py | ksl20200108/blockchain-py | 186c201517bf1fef33ed2df62938a848bfce37b1 | [
"Apache-2.0"
] | 20 | 2018-11-02T18:14:15.000Z | 2021-03-04T01:48:45.000Z | import utils
class TXOutput(object):
""" Represents a transaction output
Args:
value (int): Transaction output.
address (string): Address of WIF.
Attributes:
_value (int): Transaction output.
_public_key_hash (string): Hash of a public key.
"""
# the amount of r... | 23.032787 | 84 | 0.618505 | 166 | 1,405 | 4.945783 | 0.331325 | 0.087698 | 0.11084 | 0.082826 | 0.056029 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004936 | 0.279004 | 1,405 | 60 | 85 | 23.416667 | 0.805528 | 0.385765 | 0 | 0.125 | 0 | 0 | 0.072304 | 0.055147 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.041667 | 0.25 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
836749e6a636ce218e576bc1593581a84bce5476 | 297 | py | Python | vip_hci/conf/__init__.py | FaustineAstro/VIP | 349875f51358948589ccfb4d94808472e7fc90cb | [
"MIT"
] | null | null | null | vip_hci/conf/__init__.py | FaustineAstro/VIP | 349875f51358948589ccfb4d94808472e7fc90cb | [
"MIT"
] | null | null | null | vip_hci/conf/__init__.py | FaustineAstro/VIP | 349875f51358948589ccfb4d94808472e7fc90cb | [
"MIT"
] | null | null | null | """
Subpackage ``conf`` contains configuration functions and internal utilities. It
also contains a dictionary with parameters of high-contrast imaging instruments.
"""
from __future__ import absolute_import
from .mem import *
from .param import *
from .timing import *
from .utils_conf import *
| 27 | 80 | 0.787879 | 38 | 297 | 6 | 0.710526 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 297 | 10 | 81 | 29.7 | 0.894118 | 0.538721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
55cedeb0d8b0c4d4a3b13167bd5ff07882284b1c | 91 | py | Python | bookshop/apps.py | Akshaychdev/Audiobooks-digital-store | 417b85b1e910152515f0e97cfd9b7fb0d5fce66b | [
"MIT"
] | 2 | 2015-09-28T09:23:56.000Z | 2020-08-26T08:51:38.000Z | bookshop/apps.py | Akshaychdev/Audiobooks-digital-store | 417b85b1e910152515f0e97cfd9b7fb0d5fce66b | [
"MIT"
] | 4 | 2015-10-02T09:27:17.000Z | 2021-06-10T19:42:55.000Z | bookshop/apps.py | Akshaychdev/Audiobooks-digital-store | 417b85b1e910152515f0e97cfd9b7fb0d5fce66b | [
"MIT"
] | 1 | 2015-10-01T13:46:56.000Z | 2015-10-01T13:46:56.000Z | from django.apps import AppConfig
class BookshopConfig(AppConfig):
name = 'bookshop'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
55d1aec72ecd7523d2d583acb75599236d275e3c | 2,570 | py | Python | app/models.py | maximovd/purchase-manager | 1bb9d0f1cf2d63380c97b1445fe31c5d69570299 | [
"MIT"
] | null | null | null | app/models.py | maximovd/purchase-manager | 1bb9d0f1cf2d63380c97b1445fe31c5d69570299 | [
"MIT"
] | null | null | null | app/models.py | maximovd/purchase-manager | 1bb9d0f1cf2d63380c97b1445fe31c5d69570299 | [
"MIT"
] | null | null | null | import enum
from typing import Any
import bcrypt
from tortoise import models, fields
from tortoise.contrib.pydantic import pydantic_model_creator
class Categories(models.Model):
id = fields.IntField(pk=True)
name = fields.CharField(max_length=100)
def __str__(self):
return self.name
CategoryOu... | 32.531646 | 96 | 0.721401 | 297 | 2,570 | 6.057239 | 0.30303 | 0.072262 | 0.111173 | 0.053363 | 0.284603 | 0.103947 | 0.103947 | 0 | 0 | 0 | 0 | 0.005155 | 0.16965 | 2,570 | 78 | 97 | 32.948718 | 0.837863 | 0.019066 | 0 | 0.133333 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0.012821 | 0 | 1 | 0.066667 | false | 0.177778 | 0.111111 | 0.066667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
361288455b810d4639c2ff8d97db91dad7e2fcf7 | 86,966 | py | Python | languages/zh-tw.py | flavour/lacity | fd1f1cccdcea64d07143b29d4f88996e3af35c4b | [
"MIT"
] | null | null | null | languages/zh-tw.py | flavour/lacity | fd1f1cccdcea64d07143b29d4f88996e3af35c4b | [
"MIT"
] | null | null | null | languages/zh-tw.py | flavour/lacity | fd1f1cccdcea64d07143b29d4f88996e3af35c4b | [
"MIT"
] | null | null | null | # coding: utf8
{
'%(give2la)s collects Personally Identifiable information (PII) that includes Name, Address, Email address and Telephone number. The City will make every reasonable effort to protect your privacy. It restricts access to your personal identifiable information to those employees that will respond to your... | 55.533844 | 1,156 | 0.739404 | 11,646 | 86,966 | 5.516572 | 0.23038 | 0.011985 | 0.012421 | 0.006475 | 0.261448 | 0.153877 | 0.116365 | 0.081219 | 0.064953 | 0.056268 | 0 | 0.002609 | 0.127222 | 86,966 | 1,565 | 1,157 | 55.569329 | 0.843733 | 0.000138 | 0 | 0.001279 | 0 | 0.068414 | 0.856231 | 0.047727 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.011509 | 0.002558 | 0 | 0.002558 | 0.001279 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3627caa0974759e3d70bdc1974a240a0aac4c253 | 1,130 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/EXT/blend_subtract.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/EXT/blend_subtract.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/EXT/blend_subtract.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension EXT.blend_subtract
This module customises the behaviour of the
OpenGL.raw.GL.EXT.blend_subtract to provide a more
Python-friendly API
Overview (from the spec)
Two additional blending equations are specified using the interface
defined by EXT_blend_minmax. These equations are simila... | 36.451613 | 72 | 0.784956 | 155 | 1,130 | 5.63871 | 0.567742 | 0.05492 | 0.091533 | 0.048055 | 0.115561 | 0.115561 | 0.084668 | 0.084668 | 0 | 0 | 0 | 0 | 0.161947 | 1,130 | 31 | 73 | 36.451613 | 0.922914 | 0.663717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
362beda78b72bdd4fce0fd3c5157e843dcd00bda | 15,691 | py | Python | opscrypto.py | rebainoor/oppo_decrypt | 7ba04117a47337cf61fc3e2429b6c77a223f73c2 | [
"CC-BY-4.0"
] | 1 | 2021-01-28T01:31:36.000Z | 2021-01-28T01:31:36.000Z | opscrypto.py | rebainoor/oppo_decrypt | 7ba04117a47337cf61fc3e2429b6c77a223f73c2 | [
"CC-BY-4.0"
] | null | null | null | opscrypto.py | rebainoor/oppo_decrypt | 7ba04117a47337cf61fc3e2429b6c77a223f73c2 | [
"CC-BY-4.0"
] | 1 | 2021-01-28T02:46:25.000Z | 2021-01-28T02:46:25.000Z | #!/usr/bin/env python3
# Oppo Decrypter (c) V 1.3 B.Kerler 2019-2020.
# Licensed under MIT License
"""
Usage:
opscrypto.py --help
opscrypto.py decryptfile <filename>
opscrypto.py decrypt <filename>
Options:
--projid=value Set projid [default: "18801"]
--firmwarename=name Set firmware n... | 50.453376 | 4,114 | 0.625199 | 1,426 | 15,691 | 6.857644 | 0.187938 | 0.070355 | 0.103078 | 0.134165 | 0.233255 | 0.182329 | 0.14797 | 0.126291 | 0.121587 | 0.121587 | 0 | 0.304057 | 0.256963 | 15,691 | 310 | 4,115 | 50.616129 | 0.534694 | 0.052387 | 0 | 0.302682 | 0 | 0.003831 | 0.321443 | 0.282401 | 0 | 1 | 0.066689 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.030651 | 0.003831 | 0.095785 | 0.030651 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
364d9020be30f2cff67353d2bebe166708c3eb28 | 217 | py | Python | output/models/saxon_data/simple/simple010_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/saxon_data/simple/simple010_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/saxon_data/simple/simple010_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.saxon_data.simple.simple010_xsd.simple010 import (
Book,
Doc,
DocType,
SubDocType,
Subdoc,
)
__all__ = [
"Book",
"Doc",
"DocType",
"SubDocType",
"Subdoc",
]
| 13.5625 | 69 | 0.585253 | 21 | 217 | 5.761905 | 0.714286 | 0.115702 | 0.231405 | 0.396694 | 0.495868 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.276498 | 217 | 15 | 70 | 14.466667 | 0.732484 | 0 | 0 | 0 | 0 | 0 | 0.138249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
365c4b94a167bdc7f782ec6b0577cde944e5bf2d | 537 | py | Python | sqlite_framework/sql/statement/builder/clauses/base.py | alvarogzp/python-sqlite-framework | 29db97a64f95cfe13eb7bae1d00b624b5a37b152 | [
"Apache-2.0"
] | 1 | 2020-08-29T12:42:11.000Z | 2020-08-29T12:42:11.000Z | sqlite_framework/sql/statement/builder/clauses/base.py | alvarogzp/python-sqlite-framework | 29db97a64f95cfe13eb7bae1d00b624b5a37b152 | [
"Apache-2.0"
] | 4 | 2018-05-07T19:36:30.000Z | 2018-05-29T05:18:13.000Z | sqlite_framework/sql/statement/builder/clauses/base.py | alvarogzp/python-sqlite-framework | 29db97a64f95cfe13eb7bae1d00b624b5a37b152 | [
"Apache-2.0"
] | null | null | null | class BaseClause:
def __init__(self):
# call super as these classes will be used as mix-in
# and we want the init chain to reach all extended classes in the user of these mix-in
# Update: Its main purpose is to make IDE hint children constructors to call base one,
# as not calling it... | 53.7 | 94 | 0.687151 | 84 | 537 | 4.297619 | 0.678571 | 0.027701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270019 | 537 | 9 | 95 | 59.666667 | 0.920918 | 0.757914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
366ed1e57bc7ba60dd44426869e91c69c42f7122 | 374 | py | Python | settings.py | chicm/atlas | 5135c1b30846ae0cc9bafc3c10c0938aee295679 | [
"MIT"
] | null | null | null | settings.py | chicm/atlas | 5135c1b30846ae0cc9bafc3c10c0938aee295679 | [
"MIT"
] | null | null | null | settings.py | chicm/atlas | 5135c1b30846ae0cc9bafc3c10c0938aee295679 | [
"MIT"
] | null | null | null | import os
import local_settings
DATA_DIR = local_settings.DATA_DIR
MODEL_DIR = os.path.join(DATA_DIR, 'models')
HPA_IMG_DIR = os.path.join(DATA_DIR, 'HPAv18')
TRAIN_IMG_DIR = os.path.join(DATA_DIR, 'train')
TEST_IMG_DIR = os.path.join(DATA_DIR, 'test')
TRAIN_LABEL = os.path.join(DATA_DIR, 'train.csv')
SAMPLE_SUBMISS... | 28.769231 | 67 | 0.770053 | 65 | 374 | 4.123077 | 0.292308 | 0.208955 | 0.223881 | 0.313433 | 0.496269 | 0.432836 | 0.257463 | 0 | 0 | 0 | 0 | 0.005882 | 0.090909 | 374 | 12 | 68 | 31.166667 | 0.782353 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.05615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3675e0512d8610ccb38da99922d58faa73dc5a2e | 4,459 | py | Python | structer/data.py | wackrat/structer | f97a4cac7683d00e6db54530c75d44e24ea97d4f | [
"MIT"
] | 2 | 2018-02-04T15:20:47.000Z | 2018-08-14T17:05:55.000Z | structer/data.py | wackrat/structer | f97a4cac7683d00e6db54530c75d44e24ea97d4f | [
"MIT"
] | null | null | null | structer/data.py | wackrat/structer | f97a4cac7683d00e6db54530c75d44e24ea97d4f | [
"MIT"
] | null | null | null | """
Data elements for named.Struct with keyword variants
The __struct_format__ attribute is required by named.Struct,
and is calculated on demand from keyword values.
Int and Long use different keywords (length and wordsize).
Int subclasses are independent of elf.enums.WordSize
"""
import re
from datetime import datet... | 26.861446 | 74 | 0.615385 | 563 | 4,459 | 4.667851 | 0.284192 | 0.041096 | 0.02968 | 0.026636 | 0.165145 | 0.124049 | 0.08828 | 0.08828 | 0.031963 | 0.031963 | 0 | 0.008062 | 0.276744 | 4,459 | 165 | 75 | 27.024242 | 0.806822 | 0.296479 | 0 | 0.243902 | 0 | 0 | 0.013928 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 1 | 0.256098 | false | 0 | 0.036585 | 0.134146 | 0.719512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
367fc0e1bda8056c6a844bea8f5f01b50f5f6fed | 13,642 | py | Python | nova/tests/unit/virt/hyperv/test_eventhandler.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/hyperv/test_eventhandler.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/hyperv/test_eventhandler.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2015 Cloudbase Solutions Srl'
nl|'\n'
comment|'# All Rights Reserved.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'... | 13.453649 | 88 | 0.63627 | 2,043 | 13,642 | 4.078316 | 0.097895 | 0.167067 | 0.076812 | 0.06385 | 0.775084 | 0.713394 | 0.604657 | 0.565891 | 0.515843 | 0.445151 | 0 | 0.000895 | 0.098593 | 13,642 | 1,013 | 89 | 13.46693 | 0.676669 | 0 | 0 | 0.915104 | 0 | 0 | 0.407272 | 0.059962 | 0 | 0 | 0 | 0 | 0.008885 | 0 | null | null | 0 | 0.007897 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
368e37a3f7270aa6ab589775071fd66df9178ec6 | 543 | py | Python | PhysicsTools/PatAlgos/python/slimming/genParticleAssociation_cff.py | malbouis/cmssw | 16173a30d3f0c9ecc5419c474bb4d272c58b65c8 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | PhysicsTools/PatAlgos/python/slimming/genParticleAssociation_cff.py | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | PhysicsTools/PatAlgos/python/slimming/genParticleAssociation_cff.py | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
import SimTracker.TrackAssociation.packedCandidatesGenAssociationDefault_cfi as _mod
packedPFCandidateToGenAssociation = _mod.packedCandidatesGenAssociationDefault.clone(
trackToGenAssoc = "prunedTrackMCMatch",
)
lostTracksToGenAssociation = _mod.packedCandidatesGenAssocia... | 38.785714 | 108 | 0.865562 | 32 | 543 | 14.5625 | 0.625 | 0.171674 | 0.193133 | 0.257511 | 0.334764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07919 | 543 | 13 | 109 | 41.769231 | 0.932 | 0 | 0 | 0.2 | 0 | 0 | 0.084715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36bbe3e07895d6e882542fd3e4060759e04f45cc | 244 | py | Python | chai/_termcolor.py | paolostivanin/chai | 066fba05fcab35bf08fc87b388482ebc0ab0ccb9 | [
"BSD-3-Clause"
] | 14 | 2015-02-12T03:22:35.000Z | 2020-06-03T15:13:43.000Z | chai/_termcolor.py | paolostivanin/chai | 066fba05fcab35bf08fc87b388482ebc0ab0ccb9 | [
"BSD-3-Clause"
] | 10 | 2015-01-16T21:32:00.000Z | 2021-12-31T09:39:59.000Z | chai/_termcolor.py | paolostivanin/chai | 066fba05fcab35bf08fc87b388482ebc0ab0ccb9 | [
"BSD-3-Clause"
] | 8 | 2015-01-20T11:48:52.000Z | 2020-04-30T11:25:24.000Z | '''
Copyright (c) 2011-2017, Agora Games, LLC All rights reserved.
https://github.com/agoragames/chai/blob/master/LICENSE.txt
'''
try:
from termcolor import colored
except ImportError:
def colored(s, *args, **kargs):
return s
| 20.333333 | 62 | 0.692623 | 33 | 244 | 5.121212 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039801 | 0.17623 | 244 | 11 | 63 | 22.181818 | 0.800995 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
36c2634bba89e56634f58cc80703f1c9edc28687 | 111,402 | py | Python | validator_collection/validators.py | insightindustry/validator_collection | 281c853aacd3c7861c0255bea1255d4c9f18bdf6 | [
"MIT"
] | 110 | 2018-04-16T13:31:06.000Z | 2022-03-26T08:35:20.000Z | validator_collection/validators.py | insightindustry/validator_collection | 281c853aacd3c7861c0255bea1255d4c9f18bdf6 | [
"MIT"
] | 72 | 2018-04-16T14:03:44.000Z | 2021-04-20T17:23:43.000Z | validator_collection/validators.py | insightindustry/validator_collection | 281c853aacd3c7861c0255bea1255d4c9f18bdf6 | [
"MIT"
] | 10 | 2019-02-06T13:08:44.000Z | 2022-02-12T21:40:05.000Z | # -*- coding: utf-8 -*-
# The lack of a module docstring for this module is **INTENTIONAL**.
# The module is imported into the documentation using Sphinx's autodoc
# extension, and its member function documentation is automatically incorporated
# there as needed.
import decimal as decimal_
import fractions
import io
... | 39.019965 | 1,560 | 0.583311 | 13,443 | 111,402 | 4.760396 | 0.056833 | 0.025924 | 0.020393 | 0.037988 | 0.769119 | 0.725584 | 0.698659 | 0.668672 | 0.647311 | 0.633278 | 0 | 0.015174 | 0.292472 | 111,402 | 2,854 | 1,561 | 39.033637 | 0.796714 | 0.43852 | 0 | 0.588534 | 0 | 0.013062 | 0.169185 | 0.050531 | 0 | 0 | 0 | 0.00035 | 0 | 1 | 0.026125 | false | 0.00508 | 0.01016 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36dc65711935c89dd8ebcd0829d81059090851e0 | 180 | py | Python | problem0448.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0448.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0448.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #448 Average least common multiple - Project Euler
# https://projecteuler.net/problem=448
#
# Code by Kevin Marciniak
#
###########################
| 20 | 52 | 0.505556 | 16 | 180 | 5.6875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.116667 | 180 | 8 | 53 | 22.5 | 0.534591 | 0.611111 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36efa427378953ca5d9fdbef29eea5f6754c0702 | 580 | py | Python | game2048/guides.py | bhcsayx/2048-api | e16723fe36ed1f27accc202cdf23626941fd60cf | [
"Apache-2.0"
] | null | null | null | game2048/guides.py | bhcsayx/2048-api | e16723fe36ed1f27accc202cdf23626941fd60cf | [
"Apache-2.0"
] | null | null | null | game2048/guides.py | bhcsayx/2048-api | e16723fe36ed1f27accc202cdf23626941fd60cf | [
"Apache-2.0"
] | null | null | null | import random
#Guide = namedtuple('Guide',('state','action'))
class Guides:
def __init__(self,capacity):
self.capacity = capacity
self.memory = []
self.position = 0
def push(self,*args):
if len(self.memory) < self.capacity:
self.memory.append(None)
self.memory[self.position] = Guide(*ar... | 23.2 | 54 | 0.681034 | 78 | 580 | 4.910256 | 0.346154 | 0.182768 | 0.109661 | 0.114883 | 0.114883 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004193 | 0.177586 | 580 | 25 | 55 | 23.2 | 0.798742 | 0.07931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.176471 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
36f390b1410fb41d9c088c57428660b49b18f62f | 92 | py | Python | tuples.py | skazi019/PythonNotes | 237cae7f6e7bda9210959ed66ce7c92f8eefb65d | [
"Adobe-Glyph"
] | null | null | null | tuples.py | skazi019/PythonNotes | 237cae7f6e7bda9210959ed66ce7c92f8eefb65d | [
"Adobe-Glyph"
] | null | null | null | tuples.py | skazi019/PythonNotes | 237cae7f6e7bda9210959ed66ce7c92f8eefb65d | [
"Adobe-Glyph"
] | null | null | null | myTup = 0, 2, 4, 5, 6, 7
i1, *i2, i3 = myTup
print(i1)
print(i2, type(i2))
print(i3) | 13.142857 | 25 | 0.532609 | 19 | 92 | 2.578947 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 0.26087 | 92 | 7 | 26 | 13.142857 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
7fd582bce172cbb6ddab2b16c7690679af7920b0 | 8,677 | py | Python | pomp/spaces/configurationspace.py | yuzhou42/pyOptimalMotionPlanning | e95b73e1a2442e60d623258094fe249557a9e75b | [
"Apache-2.0"
] | 46 | 2015-07-29T18:37:45.000Z | 2022-03-18T18:45:53.000Z | pomp/spaces/configurationspace.py | yuzhou42/pyOptimalMotionPlanning | e95b73e1a2442e60d623258094fe249557a9e75b | [
"Apache-2.0"
] | 3 | 2015-07-30T07:54:56.000Z | 2020-06-18T20:36:15.000Z | pomp/spaces/configurationspace.py | yuzhou42/pyOptimalMotionPlanning | e95b73e1a2442e60d623258094fe249557a9e75b | [
"Apache-2.0"
] | 18 | 2015-10-25T16:01:37.000Z | 2021-09-07T17:27:10.000Z | from __future__ import print_function,division
from builtins import range
from six import iteritems
from .interpolators import *
from .geodesicspace import *
from .metric import *
from .sets import *
from ..klampt import vectorops
from . import differences
import random
import numpy as np
class ConfigurationSpace(Se... | 30.445614 | 161 | 0.610003 | 1,125 | 8,677 | 4.649778 | 0.195556 | 0.024852 | 0.027337 | 0.017205 | 0.292487 | 0.194036 | 0.160581 | 0.135538 | 0.12598 | 0.090805 | 0 | 0.004631 | 0.278322 | 8,677 | 284 | 162 | 30.552817 | 0.830725 | 0.184857 | 0 | 0.384615 | 0 | 0 | 0.023412 | 0.006877 | 0 | 0 | 0 | 0.003521 | 0.021978 | 1 | 0.285714 | false | 0.005495 | 0.06044 | 0.153846 | 0.615385 | 0.005495 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7fda3dfed5aa65d6bea63a8199a1776a2bdb811c | 108 | py | Python | scripts/10952.py | JihoChoi/BOJ | 08974a9db8ebaa299ace242e951cac53ab55fc4d | [
"MIT"
] | null | null | null | scripts/10952.py | JihoChoi/BOJ | 08974a9db8ebaa299ace242e951cac53ab55fc4d | [
"MIT"
] | null | null | null | scripts/10952.py | JihoChoi/BOJ | 08974a9db8ebaa299ace242e951cac53ab55fc4d | [
"MIT"
] | null | null | null | while True:
a, b = map(int, input().split(" "))
if not a and not b:
break
print(a + b) | 15.428571 | 39 | 0.481481 | 18 | 108 | 2.888889 | 0.722222 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.361111 | 108 | 7 | 40 | 15.428571 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7fdc6193d72f7eb7796165e91d44cae895c7bf7d | 315 | py | Python | AA/huffman.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | AA/huffman.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | AA/huffman.py | zzvsjs1/MyPyScripts | 0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07 | [
"MIT"
] | null | null | null | class LetterFrequencyPair:
def __init__(self, letter: str, frequency: int):
self.letter: str = letter
self.frequency: int = frequency
def __str__(self):
return '{}:{}'.format(self.letter, self.frequency)
class HTreeNode:
pass
print(LetterFrequencyPair('A', 23))
| 22.5 | 59 | 0.628571 | 33 | 315 | 5.757576 | 0.484848 | 0.157895 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.250794 | 315 | 13 | 60 | 24.230769 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0 | 0.111111 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.