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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fa1b525d7c7624d6b1275cc716323ab98948e88b | 1,407 | py | Python | .ipynb_checkpoints/temp-checkpoint.py | matansudry/DL_hw2 | 20f776cb6e41768e167d9d21af9afbd50cab60e6 | [
"MIT"
] | null | null | null | .ipynb_checkpoints/temp-checkpoint.py | matansudry/DL_hw2 | 20f776cb6e41768e167d9d21af9afbd50cab60e6 | [
"MIT"
] | null | null | null | .ipynb_checkpoints/temp-checkpoint.py | matansudry/DL_hw2 | 20f776cb6e41768e167d9d21af9afbd50cab60e6 | [
"MIT"
] | null | null | null | import torch
import hydra
from train import train
from dataset import MyDataset, CocoImages
from models.base_model import MyModel
from torch.utils.data import DataLoader
from utils import main_utils, train_utils#, data_loader
from utils.train_logger import TrainLogger
from omegaconf import DictConfig, OmegaConf
import... | 35.175 | 111 | 0.622601 | 144 | 1,407 | 5.8125 | 0.354167 | 0.09319 | 0.071685 | 0.04779 | 0.360812 | 0.27957 | 0.097969 | 0 | 0 | 0 | 0 | 0.028028 | 0.289979 | 1,407 | 40 | 112 | 35.175 | 0.80981 | 0.00924 | 0 | 0.181818 | 0 | 0 | 0.210904 | 0.205165 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.545455 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
fa27bcbbac12d750d3825f142ee9f0720d3d3bff | 268 | py | Python | mixly_arduino/sample/mixpy/人工智能Py/04图片识别-2.py | wecake/Mixly_Arduino | d3c48962ff3b71ab962ad32a042c28d4722ce9fc | [
"Apache-2.0"
] | 118 | 2019-03-27T02:15:59.000Z | 2022-03-18T16:42:42.000Z | mixly_arduino/sample/mixpy/人工智能Py/04图片识别-2.py | xbed/mixly_arduino | d3c48962ff3b71ab962ad32a042c28d4722ce9fc | [
"Apache-2.0"
] | 26 | 2019-04-17T16:39:30.000Z | 2021-11-06T11:55:42.000Z | mixly_arduino/sample/mixpy/人工智能Py/04图片识别-2.py | xbed/mixly_arduino | d3c48962ff3b71ab962ad32a042c28d4722ce9fc | [
"Apache-2.0"
] | 58 | 2019-04-16T06:52:45.000Z | 2022-03-08T01:57:08.000Z | import aip
import FileDialog
client = aip.AipImageClassify("Enter Your APP_ID", "Enter Your API_KEY", "Enter Your SECRET_KEY")
for i in FileDialog.getManyFiles():
f = open(i, 'rb')
print(client.advancedGeneral(f.read(), options={})["result"][0]["keyword"])
| 26.8 | 97 | 0.701493 | 37 | 268 | 5 | 0.702703 | 0.145946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00431 | 0.134328 | 268 | 9 | 98 | 29.777778 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.264925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 0 | 2 |
fa3facfdf336caa7a683fe758efb663e025752d0 | 2,088 | py | Python | pexpect/pxcli.py | mark-nicholson/pexpect | f3c321ba04adaa42df4a0635a298c2f2895564b0 | [
"Unlicense"
] | null | null | null | pexpect/pxcli.py | mark-nicholson/pexpect | f3c321ba04adaa42df4a0635a298c2f2895564b0 | [
"Unlicense"
] | null | null | null | pexpect/pxcli.py | mark-nicholson/pexpect | f3c321ba04adaa42df4a0635a298c2f2895564b0 | [
"Unlicense"
] | null | null | null | '''This module provides common shell definition classes.
PEXPECT LICENSE
This license is approved by the OSI and FSF as GPL-compatible.
http://opensource.org/licenses/isc-license.txt
Copyright (c) 2012, Noah Spurrier <noah@noah.org>
PERMISSION TO USE, COPY, MODIFY, AND/OR DISTRIBUTE THIS SOFTWARE... | 33.677419 | 76 | 0.677682 | 272 | 2,088 | 5.018382 | 0.441176 | 0.046154 | 0.052747 | 0.035165 | 0.03663 | 0.03663 | 0 | 0 | 0 | 0 | 0 | 0.003167 | 0.243774 | 2,088 | 61 | 77 | 34.229508 | 0.861305 | 0.541188 | 0 | 0 | 0 | 0 | 0.083422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.038462 | 0 | 0.153846 | 0.5 | 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 | 0 | 0 | 0 | 2 |
fa4b8299471393ce7559c6c4a7c435868e461a5b | 167 | py | Python | chapter8/code/nmap_subprocess.py | gabrielmahia/ushuhudAI | ee40c9822852f66c6111d1d485dc676b6da70677 | [
"MIT"
] | 74 | 2020-05-19T01:08:03.000Z | 2022-03-31T14:00:41.000Z | chapter8/code/nmap_subprocess.py | gabrielmahia/ushuhudAI | ee40c9822852f66c6111d1d485dc676b6da70677 | [
"MIT"
] | 1 | 2021-06-04T06:08:21.000Z | 2021-06-04T06:08:21.000Z | chapter8/code/nmap_subprocess.py | gabrielmahia/ushuhudAI | ee40c9822852f66c6111d1d485dc676b6da70677 | [
"MIT"
] | 47 | 2020-05-05T12:06:31.000Z | 2022-03-10T04:45:01.000Z | from subprocess import Popen, PIPE
process = Popen(['nmap','-O','127.0.0.1'], stdout=PIPE, stderr=PIPE)
stdout, stderr = process.communicate()
print(stdout.decode())
| 27.833333 | 68 | 0.712575 | 24 | 167 | 4.958333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039735 | 0.095808 | 167 | 5 | 69 | 33.4 | 0.748344 | 0 | 0 | 0 | 0 | 0 | 0.08982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
d70e4b04b072f94353c7179c51f92bcf9193e055 | 1,365 | py | Python | qats/app/models.py | eneelo/qats | 9280e2487bde97874cc8857b2780ac830323f363 | [
"MIT"
] | null | null | null | qats/app/models.py | eneelo/qats | 9280e2487bde97874cc8857b2780ac830323f363 | [
"MIT"
] | null | null | null | qats/app/models.py | eneelo/qats | 9280e2487bde97874cc8857b2780ac830323f363 | [
"MIT"
] | 1 | 2020-10-29T13:40:47.000Z | 2020-10-29T13:40:47.000Z | # -*- coding: utf-8 -*-
"""
Module containing models such as item models, proxy models etc tailored for the QATS application
@author: perl
"""
from qtpy.QtCore import QSortFilterProxyModel
class CustomSortFilterProxyModel(QSortFilterProxyModel):
"""
Customized proxy model to filter items in a standard item ... | 31.744186 | 120 | 0.652015 | 157 | 1,365 | 5.55414 | 0.503185 | 0.051606 | 0.020642 | 0.059633 | 0.162844 | 0.09633 | 0 | 0 | 0 | 0 | 0 | 0.008885 | 0.257875 | 1,365 | 42 | 121 | 32.5 | 0.851925 | 0.454945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
d715d54bb8a30e0a152d18ac46b0f3bb1248c9a8 | 298 | py | Python | 1-Week_Strings/Correct Capitalization.py | Gokulancv10/CodeBytes | cde3be90de002401c871e8b234685466be46767f | [
"Unlicense"
] | null | null | null | 1-Week_Strings/Correct Capitalization.py | Gokulancv10/CodeBytes | cde3be90de002401c871e8b234685466be46767f | [
"Unlicense"
] | null | null | null | 1-Week_Strings/Correct Capitalization.py | Gokulancv10/CodeBytes | cde3be90de002401c871e8b234685466be46767f | [
"Unlicense"
] | null | null | null | """
"USA", return true
"Calvin", return true
"compUter", return false
"coding", return true
"""
def solution(s):
return True if s==s.capitalize() or s==s.upper() or s==s.lower() else False
print(solution('USA'))
print(solution('Calvin'))
print(solution('compUter'))
print(solution('coding')) | 19.866667 | 79 | 0.677852 | 43 | 298 | 4.697674 | 0.395349 | 0.19802 | 0.039604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 298 | 15 | 80 | 19.866667 | 0.770992 | 0.291946 | 0 | 0 | 0 | 0 | 0.112745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 2 |
d71d052bc07bfe22a9b304ab9f4fea2d84a03c96 | 438 | py | Python | src/xpto/invoices/services/create_invoice_service.py | cassioeskelsen/python-sample-project | d2a618ffd92c971b9770d4cb267d1f95fd855ee2 | [
"MIT"
] | null | null | null | src/xpto/invoices/services/create_invoice_service.py | cassioeskelsen/python-sample-project | d2a618ffd92c971b9770d4cb267d1f95fd855ee2 | [
"MIT"
] | null | null | null | src/xpto/invoices/services/create_invoice_service.py | cassioeskelsen/python-sample-project | d2a618ffd92c971b9770d4cb267d1f95fd855ee2 | [
"MIT"
] | null | null | null | import inject
from src.xpto.common.models.order import Order
from src.xpto.invoices.models.invoice import Invoice
from src.xpto.invoices.repositories.invoice_repository import InvoiceRepository
class CreateInvoiceService:
@inject.autoparams()
def create_from_order(self, order: Order, invoice_repository: Inv... | 29.2 | 96 | 0.771689 | 52 | 438 | 6.403846 | 0.423077 | 0.063063 | 0.099099 | 0.114114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152968 | 438 | 14 | 97 | 31.285714 | 0.897574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
d73d7c334e373f320e2ce3cb0db4f5bb739df0c8 | 4,654 | py | Python | examples/1_example_3_4/1_example_3_4_1.py | vpv11110000/pyss | bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b | [
"MIT"
] | null | null | null | examples/1_example_3_4/1_example_3_4_1.py | vpv11110000/pyss | bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b | [
"MIT"
] | 2 | 2017-09-05T11:12:05.000Z | 2017-09-07T19:23:15.000Z | examples/1_example_3_4/1_example_3_4_1.py | vpv11110000/pyss | bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b | [
"MIT"
] | null | null | null | # #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
# Пример 3.4 изменённый
Б.Я.Советов, Моделирование систем. Практикум: Учеб пособие для вузов/Б.Я. Советов, С.А. Яковлев.- 2-е изд., перераб. и доп.-М.:Высш. шк., 2003.-295 с.: ил.
В систему массового обслуживания поступает и обрабатывается фиксированное число заявок. П... | 29.27044 | 295 | 0.675548 | 564 | 4,654 | 5.48227 | 0.404255 | 0.093144 | 0.016818 | 0.019405 | 0.07762 | 0.038163 | 0.038163 | 0.018758 | 0.018758 | 0.018758 | 0 | 0.018982 | 0.185002 | 4,654 | 158 | 296 | 29.455696 | 0.796204 | 0.281263 | 0 | 0.044944 | 0 | 0 | 0.041125 | 0.022377 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067416 | false | 0 | 0.449438 | 0.022472 | 0.573034 | 0.022472 | 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 | 0 | 1 | 0 | 0 | 2 |
d741dc097e2d5137b12984dc67a3699154a4ee20 | 359 | py | Python | ao/upcloud/tests/test_plan.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | ao/upcloud/tests/test_plan.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | ao/upcloud/tests/test_plan.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | from rest_framework.test import APITestCase
from rest_framework.reverse import reverse
from ao.upcloud import factories
class PlanViewTest(APITestCase):
url = reverse('upcloud:plan')
def test_get(self):
response = self.client.get(self.url)
self.assertIn('plans', response.data)
self.as... | 27.615385 | 53 | 0.721448 | 45 | 359 | 5.688889 | 0.488889 | 0.0625 | 0.132813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169916 | 359 | 12 | 54 | 29.916667 | 0.85906 | 0 | 0 | 0 | 0 | 0 | 0.072423 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
d766bc41e9432cfd3fabfdb90da013ccf8de2b23 | 53 | py | Python | python/hard_python/guess/exception.py | ii6uu99/ipynb | d924a6926838ca5e563620cd324368a07d2c2521 | [
"MIT"
] | 1 | 2021-01-27T09:01:33.000Z | 2021-01-27T09:01:33.000Z | python/hard_python/guess/exception.py | ii6uu99/ipynb | d924a6926838ca5e563620cd324368a07d2c2521 | [
"MIT"
] | null | null | null | python/hard_python/guess/exception.py | ii6uu99/ipynb | d924a6926838ca5e563620cd324368a07d2c2521 | [
"MIT"
] | 1 | 2021-01-26T13:22:21.000Z | 2021-01-26T13:22:21.000Z | try:
a = input('请输入:')
a = int(a)
except:
print(a) | 10.6 | 18 | 0.54717 | 10 | 53 | 2.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 53 | 5 | 19 | 10.6 | 0.690476 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d76c2f387d7fd9c539fefcd3a0b9a12db554abf5 | 3,621 | py | Python | plastiqpublicapi/models/metadata.py | jeffkynaston/sdk-spike-python-apimatic | e1ca52116aabfcdb2f36c24ebd866cf00bb5c6c9 | [
"MIT"
] | null | null | null | plastiqpublicapi/models/metadata.py | jeffkynaston/sdk-spike-python-apimatic | e1ca52116aabfcdb2f36c24ebd866cf00bb5c6c9 | [
"MIT"
] | null | null | null | plastiqpublicapi/models/metadata.py | jeffkynaston/sdk-spike-python-apimatic | e1ca52116aabfcdb2f36c24ebd866cf00bb5c6c9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
plastiqpublicapi
This file was automatically generated by APIMATIC v3.0 (
https://www.apimatic.io ).
"""
class Metadata(object):
"""Implementation of the 'Metadata' model.
TODO: type model description here.
Attributes:
key (string): TODO: type des... | 34.817308 | 79 | 0.588235 | 406 | 3,621 | 4.997537 | 0.20936 | 0.088714 | 0.0621 | 0.110892 | 0.389354 | 0.314933 | 0.180877 | 0.078857 | 0 | 0 | 0 | 0.001236 | 0.329743 | 3,621 | 103 | 80 | 35.15534 | 0.834775 | 0.342999 | 0 | 0 | 1 | 0 | 0.156936 | 0.029426 | 0 | 0 | 0 | 0.097087 | 0 | 1 | 0.037037 | false | 0 | 0 | 0 | 0.111111 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d78f57f3be35e310bbeaa356de60545d652b4082 | 550 | py | Python | typical90/033.py | yu9824/AtCoder | 50a209059c005efadc1c912e443ec41365381c16 | [
"MIT"
] | null | null | null | typical90/033.py | yu9824/AtCoder | 50a209059c005efadc1c912e443ec41365381c16 | [
"MIT"
] | null | null | null | typical90/033.py | yu9824/AtCoder | 50a209059c005efadc1c912e443ec41365381c16 | [
"MIT"
] | null | null | null | def LI(): return list(map(int, input().split()))
import sys
sys.setrecursionlimit(10 ** 9)
'''
思ったこと
すぐ解法がわかったので提出したが,WAで,それがなぜなのかわからず,解説を確認.
解説: https://twitter.com/e869120/status/1390436977808351234
「コーナーケースに気をつけよう」の通りだった.
最近本当にできなくて悲しくなってきちゃった.
1列もしくは1行のときは絶対条件を満たすことはないので全部をつけてOKって話だった.
Python: 27 ms
'''
# ht... | 18.333333 | 76 | 0.669091 | 71 | 550 | 5.056338 | 0.71831 | 0.011142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091304 | 0.163636 | 550 | 29 | 77 | 18.965517 | 0.68913 | 0.101818 | 0 | 0 | 0 | 0 | 0.02952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.333333 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
d792f4497519b5a63feeecdf108f072ec5025092 | 337 | py | Python | src/phl_budget_data/etl/qcmr/__init__.py | PhilaController/phl-budget-data | fd249937c843aaff2375624160e2bec0b8043e3c | [
"MIT"
] | 1 | 2022-03-08T18:59:04.000Z | 2022-03-08T18:59:04.000Z | src/phl_budget_data/etl/qcmr/__init__.py | PhilaController/phl-budget-data | fd249937c843aaff2375624160e2bec0b8043e3c | [
"MIT"
] | null | null | null | src/phl_budget_data/etl/qcmr/__init__.py | PhilaController/phl-budget-data | fd249937c843aaff2375624160e2bec0b8043e3c | [
"MIT"
] | null | null | null | """Module from parsing data from Quarterly City Manager Reports (QCMRs)."""
from .cash import (
CashReportFundBalances,
CashReportNetCashFlow,
CashReportRevenue,
CashReportSpending,
)
from .obligations import DepartmentObligations
from .personal_services import PersonalServices
from .positions import F... | 28.083333 | 75 | 0.801187 | 30 | 337 | 8.966667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142433 | 337 | 11 | 76 | 30.636364 | 0.930796 | 0.204748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 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 | 0 | 0 | 0 | 2 |
d7954601378ebe9846c8c0b5bc84c07d51292c8a | 1,480 | py | Python | bagpipemanager/bagpipemanager.py | vhte/bagpipewriter | b50a7dd160c6126d858c965613b2a75a865a45fa | [
"MIT"
] | null | null | null | bagpipemanager/bagpipemanager.py | vhte/bagpipewriter | b50a7dd160c6126d858c965613b2a75a865a45fa | [
"MIT"
] | null | null | null | bagpipemanager/bagpipemanager.py | vhte/bagpipewriter | b50a7dd160c6126d858c965613b2a75a865a45fa | [
"MIT"
] | null | null | null | import os
from bagpipemanager.sheet import Sheet
from bagpipemanager.exceptions import BagpipeManagerException
class BagpipeManager:
TMP_FILENAME = "tmp.bww"
def __init__(self):
self._filename = ""
self._sheet = None
@property
def filename(self):
return self._filename
... | 23.125 | 61 | 0.64527 | 176 | 1,480 | 5.204545 | 0.306818 | 0.108079 | 0.061135 | 0.062227 | 0.056769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265541 | 1,480 | 63 | 62 | 23.492063 | 0.842686 | 0 | 0 | 0.066667 | 0 | 0 | 0.022297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.288889 | false | 0 | 0.066667 | 0.088889 | 0.511111 | 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 | 0 | 1 | 0 | 0 | 2 |
ad1d6467f40d117d59c400127cf7a9d48be513ff | 376 | py | Python | list.py | shengyu7697/learn-python | e6e83b626392ccd44462be0075c916d07457cf9f | [
"MIT"
] | null | null | null | list.py | shengyu7697/learn-python | e6e83b626392ccd44462be0075c916d07457cf9f | [
"MIT"
] | null | null | null | list.py | shengyu7697/learn-python | e6e83b626392ccd44462be0075c916d07457cf9f | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
data = []
print(type(data)) # <type 'list'>
print(len(data)) # 0
data.append(1)
data.append(2)
data.append(3)
data.append(4)
data.append(5)
print(len(data)) # 5
print(data) # [1, 2, 3, 4, 5]
del data[0]
print(data) # [2, 3, 4, 5]
del data[1]
print(data) # [2, 4, 5]
data2 = [... | 16.347826 | 33 | 0.579787 | 72 | 376 | 3.027778 | 0.277778 | 0.229358 | 0.041284 | 0.036697 | 0.100917 | 0.100917 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 0.164894 | 376 | 22 | 34 | 17.090909 | 0.592357 | 0.284574 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.470588 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
ad22229b30bd6f5e845598a11d752c0c27b7f480 | 3,201 | py | Python | hyper_shell/core/queue.py | glentner/hyper-shell | 361f766cd6a52f7c15b98b95424d7ce3c18b2160 | [
"Apache-2.0"
] | 2 | 2020-04-23T15:05:54.000Z | 2020-04-23T16:12:10.000Z | hyper_shell/core/queue.py | glentner/hyper-shell | 361f766cd6a52f7c15b98b95424d7ce3c18b2160 | [
"Apache-2.0"
] | 9 | 2020-03-19T19:12:36.000Z | 2022-02-26T04:23:59.000Z | hyper_shell/core/queue.py | glentner/hyper-shell | 361f766cd6a52f7c15b98b95424d7ce3c18b2160 | [
"Apache-2.0"
] | null | null | null | # This program is free software: you can redistribute it and/or modify it under the
# terms of the Apache License (v2.0) as published by the Apache Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or... | 35.175824 | 96 | 0.682599 | 383 | 3,201 | 5.516971 | 0.368146 | 0.025556 | 0.042593 | 0.038334 | 0.224799 | 0.19451 | 0.137246 | 0.110743 | 0.110743 | 0.110743 | 0 | 0.00638 | 0.216495 | 3,201 | 90 | 97 | 35.566667 | 0.836124 | 0.334583 | 0 | 0.12766 | 0 | 0 | 0.055663 | 0 | 0 | 0 | 0 | 0.011111 | 0 | 1 | 0.191489 | false | 0 | 0.06383 | 0.06383 | 0.531915 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
ad45a4709f0012dfff7d599d4ce6edb23eccf144 | 294 | py | Python | app/pages/__init__.py | madussault/FlaskyPress | 677bfbb3473a239c08d9e120e959d3e31c456964 | [
"MIT"
] | null | null | null | app/pages/__init__.py | madussault/FlaskyPress | 677bfbb3473a239c08d9e120e959d3e31c456964 | [
"MIT"
] | null | null | null | app/pages/__init__.py | madussault/FlaskyPress | 677bfbb3473a239c08d9e120e959d3e31c456964 | [
"MIT"
] | null | null | null | """Registers the ``pages`` package as a flask blueprint.
This blueprint integrates the use of pages in our application. These pages
will be displayed in the top navigation bar.
"""
from flask import Blueprint
bp = Blueprint('pages', __name__)
from app.pages import routes, template_helpers
| 24.5 | 74 | 0.772109 | 43 | 294 | 5.162791 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156463 | 294 | 11 | 75 | 26.727273 | 0.895161 | 0.591837 | 0 | 0 | 0 | 0 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 2 |
ad4db6962cf3b40a9ad3641ec097215a88a9e789 | 9,382 | py | Python | evaluation/generatePolarPrimDirections.py | frozar/RAPter | 8f1f9a37e4ac12fa08a26d18f58d3b335f797200 | [
"Apache-2.0"
] | 27 | 2017-09-21T19:52:28.000Z | 2022-03-09T13:47:02.000Z | evaluation/generatePolarPrimDirections.py | frozar/RAPter | 8f1f9a37e4ac12fa08a26d18f58d3b335f797200 | [
"Apache-2.0"
] | 12 | 2017-07-26T15:00:32.000Z | 2021-12-03T03:08:15.000Z | evaluation/generatePolarPrimDirections.py | frozar/RAPter | 8f1f9a37e4ac12fa08a26d18f58d3b335f797200 | [
"Apache-2.0"
] | 11 | 2017-03-24T16:56:08.000Z | 2020-11-21T13:18:33.000Z | from pylab import *
import argparse
import packages.primitive as primitive
import scipy.signal
parser = argparse.ArgumentParser(description='Generate polar view of the lines directions.')
parser.add_argument('primitivefile')
parser.add_argument('--shownormals', action="store_true", help="Shows the normal distribution ... | 31.911565 | 151 | 0.589746 | 1,237 | 9,382 | 4.329022 | 0.265966 | 0.033987 | 0.019048 | 0.013072 | 0.126797 | 0.087768 | 0.061998 | 0.021662 | 0.013445 | 0 | 0 | 0.035757 | 0.287572 | 9,382 | 293 | 152 | 32.020478 | 0.76541 | 0.127585 | 0 | 0.142857 | 1 | 0 | 0.076401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.054945 | null | null | 0.010989 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ad4f53e21dab9e9724057869841c74d8a8f8c649 | 4,394 | py | Python | costurero/switch_statements_demo.py | tonper19/PythonDemos | 633a40e282049e511fd965c0afe104e775a2f526 | [
"MIT"
] | null | null | null | costurero/switch_statements_demo.py | tonper19/PythonDemos | 633a40e282049e511fd965c0afe104e775a2f526 | [
"MIT"
] | null | null | null | costurero/switch_statements_demo.py | tonper19/PythonDemos | 633a40e282049e511fd965c0afe104e775a2f526 | [
"MIT"
] | null | null | null | """How to implement a switch-case statement in Python
The Pythonic way to implement switch statement is to use the
powerful dictionary mappings, also known as associative arrays, that
provide simple one-to-one key-value mappings.
https://jaxenter.com/implement-switch-case-statement-python-138315.html
"""
def switc... | 23.126316 | 83 | 0.611288 | 580 | 4,394 | 4.562069 | 0.341379 | 0.02381 | 0.022676 | 0.015873 | 0.154195 | 0.126984 | 0.126984 | 0.107332 | 0.073318 | 0.073318 | 0 | 0.020363 | 0.284706 | 4,394 | 190 | 84 | 23.126316 | 0.821508 | 0.28812 | 0 | 0.130435 | 0 | 0 | 0.281592 | 0.030846 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243478 | false | 0 | 0 | 0.2 | 0.486957 | 0.104348 | 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 | 0 | 0 | 0 | 2 |
ad55fde20c7b711cd71e9066ccadb127a64d03f8 | 85 | py | Python | src/start.py | d-onny/eunji-bot | 5b3b0105ff08ef1e869772869f42cd5ef18e1123 | [
"MIT"
] | null | null | null | src/start.py | d-onny/eunji-bot | 5b3b0105ff08ef1e869772869f42cd5ef18e1123 | [
"MIT"
] | null | null | null | src/start.py | d-onny/eunji-bot | 5b3b0105ff08ef1e869772869f42cd5ef18e1123 | [
"MIT"
] | null | null | null | from Eunji import Eunji
if __name__ == "__main__":
bot = Eunji()
bot._run() | 14.166667 | 26 | 0.623529 | 11 | 85 | 4 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247059 | 85 | 6 | 27 | 14.166667 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ad6418b16f114b63d73b3fbe155d0e2c74b71272 | 273 | py | Python | 970/970.py | vladcto/ACMP_Answers | bc163068d7b27c5241f995da3f58a1f8c623d460 | [
"Unlicense"
] | 1 | 2020-02-17T18:56:12.000Z | 2020-02-17T18:56:12.000Z | 970/970.py | vladcto/ACMP_Answers | bc163068d7b27c5241f995da3f58a1f8c623d460 | [
"Unlicense"
] | null | null | null | 970/970.py | vladcto/ACMP_Answers | bc163068d7b27c5241f995da3f58a1f8c623d460 | [
"Unlicense"
] | null | null | null | inp = input().split(" ")
numbers = []
for i in range(3):
numbers.append(int(inp[i]))
if numbers[0] + numbers[1] == numbers[2] \
or numbers[2] + numbers[0] == numbers[1] \
or numbers[1] + numbers[2] == numbers[0]:
print("YES")
else:
print("NO")
| 22.75 | 50 | 0.545788 | 40 | 273 | 3.725 | 0.5 | 0.161074 | 0.201342 | 0.214765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047847 | 0.234432 | 273 | 11 | 51 | 24.818182 | 0.665072 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ad6fd8b87bd9baa2537e74777edc44039f7393bc | 278 | py | Python | backend/places/helper.py | rebz/inspire-indy-backend | 9f64fdec16b7272e14c8fe51e4416157832ded3f | [
"MIT"
] | 1 | 2020-03-26T18:14:51.000Z | 2020-03-26T18:14:51.000Z | backend/places/helper.py | rebz/inspire-indy-backend | 9f64fdec16b7272e14c8fe51e4416157832ded3f | [
"MIT"
] | 2 | 2020-03-26T19:37:49.000Z | 2020-03-27T00:01:26.000Z | backend/places/helper.py | rebz/inspire-indy-backend | 9f64fdec16b7272e14c8fe51e4416157832ded3f | [
"MIT"
] | null | null | null | from urllib.parse import urlparse
from places.constants import BLACKLISTED_DOMAINS
def check_link_against_blacklist(link):
if link:
parsed = urlparse(link)
if parsed.hostname.replace('www', '') in BLACKLISTED_DOMAINS:
return None
return link | 30.888889 | 69 | 0.715827 | 34 | 278 | 5.705882 | 0.647059 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215827 | 278 | 9 | 70 | 30.888889 | 0.889908 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.625 | 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 | 0 | 1 | 0 | 0 | 2 |
ad7be6b165a63a714da9b7131e72915e7337a5d5 | 2,497 | py | Python | ooobuild/lo/form/control/grid_control.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/lo/form/control/grid_control.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/lo/form/control/grid_control.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2022 :Barry-Thomas-Paul: Moss
#
# 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 applicab... | 48.019231 | 311 | 0.814577 | 322 | 2,497 | 6.07764 | 0.5 | 0.030659 | 0.020439 | 0.028615 | 0.037302 | 0.026571 | 0.026571 | 0 | 0 | 0 | 0 | 0.050593 | 0.121346 | 2,497 | 51 | 312 | 48.960784 | 0.841386 | 0.403684 | 0 | 0 | 0 | 0 | 0.055827 | 0.043266 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6875 | 0 | 0.9375 | 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 | 0 | 1 | 0 | 0 | 2 |
ad8d5c2d6afe74571906e04c621d6fb0d8fcd952 | 1,814 | py | Python | tests/test_interpolate.py | josemolinagarcia/maya-math-nodes | 1f83eef1d1efe0b0c3dbb1477ca31ed9f8911ee4 | [
"MIT"
] | 148 | 2018-01-12T20:30:45.000Z | 2022-02-28T05:20:46.000Z | tests/test_interpolate.py | josemolinagarcia/maya-math-nodes | 1f83eef1d1efe0b0c3dbb1477ca31ed9f8911ee4 | [
"MIT"
] | 13 | 2018-01-17T18:02:13.000Z | 2021-11-23T06:06:24.000Z | tests/test_interpolate.py | josemolinagarcia/maya-math-nodes | 1f83eef1d1efe0b0c3dbb1477ca31ed9f8911ee4 | [
"MIT"
] | 41 | 2018-01-16T01:41:29.000Z | 2021-08-24T01:27:56.000Z | # Copyright (c) 2018 Serguei Kalentchouk et al. All rights reserved.
# Use of this source code is governed by an MIT license that can be found in the LICENSE file.
from node_test_case import NodeTestCase, cmds
class TestInterpolate(NodeTestCase):
def test_lerp(self):
self.create_node('Lerp', {'input1': 0.... | 42.186047 | 111 | 0.471334 | 293 | 1,814 | 2.856655 | 0.235495 | 0.191159 | 0.222222 | 0.224612 | 0.299881 | 0.292712 | 0.262843 | 0.227001 | 0.174433 | 0.174433 | 0 | 0.177554 | 0.341786 | 1,814 | 42 | 112 | 43.190476 | 0.523451 | 0.087652 | 0 | 0.1 | 0 | 0 | 0.10109 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 1 | 0.166667 | false | 0 | 0.033333 | 0 | 0.233333 | 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 | 0 | 0 | 0 | 2 |
ad8e048f7773334ed978ecf37fd591987bc78099 | 715 | py | Python | panel.py | mdoege/PDP-8 | f0d5770a78774ea588feb47d67dabb16864b7d6e | [
"Unlicense"
] | 1 | 2021-01-21T13:21:23.000Z | 2021-01-21T13:21:23.000Z | panel.py | mdoege/PDP-8 | f0d5770a78774ea588feb47d67dabb16864b7d6e | [
"Unlicense"
] | null | null | null | panel.py | mdoege/PDP-8 | f0d5770a78774ea588feb47d67dabb16864b7d6e | [
"Unlicense"
] | null | null | null | #!/usr/bin/python
from PIL import Image, ImageDraw, ImageFont
w, h, s = 1300, 562, 60
fnt = ImageFont.truetype('fonts/generic-Medium.otf', 30)
im = Image.open("panel_top.png")
d = ImageDraw.Draw(im)
d.text((575, h - 200 + s), "ACCUMULATOR", font = fnt, fill = (255,255,255,255), align = "center")
d.text((10, h - ... | 25.535714 | 101 | 0.579021 | 125 | 715 | 3.304 | 0.448 | 0.217918 | 0.217918 | 0.145278 | 0.416465 | 0.416465 | 0.416465 | 0.416465 | 0.416465 | 0.33414 | 0 | 0.190476 | 0.206993 | 715 | 27 | 102 | 26.481481 | 0.537919 | 0.022378 | 0 | 0.133333 | 0 | 0 | 0.134864 | 0.034433 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ada07e7ba644cdee8b2b58e3d71b3f39a68b9624 | 233 | py | Python | mirumon/api/routers.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 19 | 2020-01-25T22:52:09.000Z | 2022-03-20T13:45:10.000Z | mirumon/api/routers.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 15 | 2019-10-07T18:18:40.000Z | 2020-10-17T15:47:39.000Z | mirumon/api/routers.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 1 | 2020-01-20T14:16:29.000Z | 2020-01-20T14:16:29.000Z | from fastapi import APIRouter
from mirumon.api.devices import devices_router
from mirumon.api.users import users_router
router = APIRouter()
router.include_router(users_router.router)
router.include_router(devices_router.router)
| 21.181818 | 46 | 0.845494 | 32 | 233 | 5.96875 | 0.3125 | 0.251309 | 0.146597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090129 | 233 | 10 | 47 | 23.3 | 0.900943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
a8e5861bc89dd6110a247d39068d82d1c6c4f150 | 462 | py | Python | Path 1/PerformanceMeasures.py | coderrg/Self-Driving-RPi-Car | 41392da6356ff733f2c98feb4fe54941e7df7f30 | [
"Unlicense"
] | 1 | 2019-01-11T11:44:40.000Z | 2019-01-11T11:44:40.000Z | Path 1/PerformanceMeasures.py | coderrg/Self-Driving-RPi-Car | 41392da6356ff733f2c98feb4fe54941e7df7f30 | [
"Unlicense"
] | null | null | null | Path 1/PerformanceMeasures.py | coderrg/Self-Driving-RPi-Car | 41392da6356ff733f2c98feb4fe54941e7df7f30 | [
"Unlicense"
] | null | null | null | #Code written by Rhythm Garg
'''The purpose of this code is to test the different algorithms'''
import cv2
from Algorithm1 import algo1GetSlopes
from Algorithm2 import algo2GetSlopes
from Algorithm3 import algo3GetSlopes
from Algorithm4 import algo4GetSlopes
image = cv2.imread("RoadViewPath1.jpg")
#... | 24.315789 | 67 | 0.770563 | 55 | 462 | 6.472727 | 0.563636 | 0.089888 | 0.109551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037783 | 0.140693 | 462 | 18 | 68 | 25.666667 | 0.858942 | 0.404762 | 0 | 0 | 0 | 0 | 0.068548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
d10b58fc0a17239100474f5c5d92d2791a62ff93 | 200 | py | Python | conman/routes/urls.py | meshy/django-conman | c739d09250d02d99068358e925ed8298a2a37a75 | [
"BSD-2-Clause"
] | 2 | 2019-07-02T04:55:37.000Z | 2019-12-16T15:11:19.000Z | conman/routes/urls.py | Ian-Foote/django-conman | 8505a39806f4a62fb11666a4d53c64c443968e36 | [
"BSD-2-Clause"
] | 81 | 2015-07-27T23:21:49.000Z | 2018-05-21T22:06:09.000Z | conman/routes/urls.py | Ian-Foote/django-conman | 8505a39806f4a62fb11666a4d53c64c443968e36 | [
"BSD-2-Clause"
] | 2 | 2015-10-06T09:18:06.000Z | 2017-03-17T08:51:56.000Z | from django.conf.urls import url
from .views import route_router
urlpatterns = [
# Capture urls that are at the root (^$) or end in a slash (^.+/$)
url(r'^(?P<url>|.+/)$', route_router),
]
| 20 | 70 | 0.625 | 30 | 200 | 4.1 | 0.766667 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 200 | 9 | 71 | 22.222222 | 0.76875 | 0.32 | 0 | 0 | 0 | 0 | 0.11194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 2 |
d11363a0fa10fdec561bcb32f33f4f9f8f76b993 | 573 | py | Python | auk_client/migrations/0003_auto_20210115_1540.py | alldevic/mtauksync | 1a5d325ca8a7878aba5b292d7835546b24bb554c | [
"MIT"
] | null | null | null | auk_client/migrations/0003_auto_20210115_1540.py | alldevic/mtauksync | 1a5d325ca8a7878aba5b292d7835546b24bb554c | [
"MIT"
] | null | null | null | auk_client/migrations/0003_auto_20210115_1540.py | alldevic/mtauksync | 1a5d325ca8a7878aba5b292d7835546b24bb554c | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-01-15 15:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('auk_client', '0002_platform_raw_json'),
]
operations = [
migrations.AddField(
model_name='container',
name='auk_plat... | 23.875 | 61 | 0.588133 | 61 | 573 | 5.377049 | 0.606557 | 0.042683 | 0.140244 | 0.164634 | 0.243902 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0.047146 | 0.296684 | 573 | 23 | 62 | 24.913043 | 0.766749 | 0.078534 | 0 | 0.352941 | 1 | 0 | 0.138783 | 0.041825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d1243ec66303cf9c8f962d6115b087e1ab651959 | 453 | py | Python | src/preprocessing/kd_tree.py | leggedrobotics/DeLORA | 909948d63a9517e6dd54bedcf099f6b39ded2cb4 | [
"BSD-3-Clause"
] | 154 | 2020-11-12T19:54:08.000Z | 2022-03-31T03:48:47.000Z | src/preprocessing/kd_tree.py | leggedrobotics/DeLORA | 909948d63a9517e6dd54bedcf099f6b39ded2cb4 | [
"BSD-3-Clause"
] | 16 | 2021-01-13T11:23:59.000Z | 2022-03-29T19:21:31.000Z | src/preprocessing/kd_tree.py | leggedrobotics/DeLORA | 909948d63a9517e6dd54bedcf099f6b39ded2cb4 | [
"BSD-3-Clause"
] | 34 | 2020-11-21T07:11:30.000Z | 2022-03-13T15:07:18.000Z | #!/usr/bin/env python3
# Copyright 2021 by Julian Nubert, Robotic Systems Lab, ETH Zurich.
# All rights reserved.
# This file is released under the "BSD-3-Clause License".
# Please see the LICENSE file that has been included as part of this package.
import scipy.spatial
class KDTreeBuilder:
def __init__(self, con... | 30.2 | 77 | 0.739514 | 67 | 453 | 4.865672 | 0.80597 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016216 | 0.183223 | 453 | 14 | 78 | 32.357143 | 0.864865 | 0.529801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 0 | 0 | 0 | 2 |
d134aa180275528c0d485e6d237cd6832f62d77e | 776 | py | Python | maskprop/MiVOS/interact/timer.py | qinliuliuqin/iSegFormer | 67b634588cc0a1e09fb3e092966eae997eb209fa | [
"MIT"
] | 14 | 2021-12-09T08:33:23.000Z | 2022-03-26T13:11:01.000Z | maskprop/MiVOS/interact/timer.py | qinliuliuqin/iSegFormer | 67b634588cc0a1e09fb3e092966eae997eb209fa | [
"MIT"
] | null | null | null | maskprop/MiVOS/interact/timer.py | qinliuliuqin/iSegFormer | 67b634588cc0a1e09fb3e092966eae997eb209fa | [
"MIT"
] | null | null | null | import time
class Timer:
def __init__(self):
self._acc_time = 0
self._paused = True
def start(self):
if self._paused:
self.last_time = time.time()
self._paused = False
return self
def pause(self):
self.count()
self._paused = True
... | 23.515152 | 77 | 0.539948 | 98 | 776 | 4.030612 | 0.285714 | 0.126582 | 0.111392 | 0.081013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048924 | 0.341495 | 776 | 33 | 78 | 23.515152 | 0.72407 | 0.125 | 0 | 0.32 | 0 | 0 | 0.008863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.04 | 0.08 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
d1397ea6f87c34d74db3d6b9cf5c4f56d8402155 | 266 | py | Python | Lemon/templates/problems/bminusa/generator.py | Williamwu277/lemon | 15b85b0b5e80281eb07b08a777c17ace89666d1b | [
"MIT"
] | null | null | null | Lemon/templates/problems/bminusa/generator.py | Williamwu277/lemon | 15b85b0b5e80281eb07b08a777c17ace89666d1b | [
"MIT"
] | null | null | null | Lemon/templates/problems/bminusa/generator.py | Williamwu277/lemon | 15b85b0b5e80281eb07b08a777c17ace89666d1b | [
"MIT"
] | null | null | null | import random
import sys
random.seed(int(input()))
t = random.randint(1, 10**5)
print(t)
for i in range(t):
b, a = random.randint(1, 10**9), random.randint(1, 10**9)
b, a = max(b, a), min(b, a)
print(b, a)
sys.stderr.write(str(b-a)+'\n')
| 22.166667 | 62 | 0.56391 | 51 | 266 | 2.941176 | 0.490196 | 0.08 | 0.28 | 0.32 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.221805 | 266 | 11 | 63 | 24.181818 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.007843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
d15fa8af08e314ac895763e4eca38d04885372e4 | 267 | py | Python | dosyaOkumaFonk.py | cyrionp/PythonLectures | 64348479434ed9aea54010f6f165b92eb597b994 | [
"MIT"
] | null | null | null | dosyaOkumaFonk.py | cyrionp/PythonLectures | 64348479434ed9aea54010f6f165b92eb597b994 | [
"MIT"
] | null | null | null | dosyaOkumaFonk.py | cyrionp/PythonLectures | 64348479434ed9aea54010f6f165b92eb597b994 | [
"MIT"
] | null | null | null | with open("newfile.txt","r",encoding="utf-8") as file:
content=file.read()
print(content)
print(file.tell())
file.seek(0) #Cursor returns to the given index
print(file.tell())
content2=file.read(10) #Returns first 10 index
print(content2)
| 29.666667 | 54 | 0.662921 | 40 | 267 | 4.425 | 0.625 | 0.090395 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.183521 | 267 | 8 | 55 | 33.375 | 0.775229 | 0.205993 | 0 | 0.25 | 0 | 0 | 0.080952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 2 |
d16cd84df008ab6cf733124630ea94ad27d42318 | 1,158 | py | Python | frog/tests.py | dreamhaven/Frog | 66e50610d5059aa371e0a50b65ceddd4813b2bc1 | [
"MIT"
] | 3 | 2021-10-03T23:11:24.000Z | 2021-10-04T12:14:56.000Z | frog/tests.py | dreamhaven/Frog | 66e50610d5059aa371e0a50b65ceddd4813b2bc1 | [
"MIT"
] | 7 | 2019-10-15T20:51:36.000Z | 2020-02-27T18:25:26.000Z | frog/tests.py | dreamhaven/Frog | 66e50610d5059aa371e0a50b65ceddd4813b2bc1 | [
"MIT"
] | 1 | 2020-09-30T11:23:55.000Z | 2020-09-30T11:23:55.000Z | import json
from django.test import TestCase
from django.contrib.auth.models import User
def setUp():
User.objects.create_user(
first_name='brett', email='theiviaxx@gmail.com', password='top_secret')
class FrogTestCase(TestCase):
fixtures = ['test_data.json']
def test_filter(self):
res =... | 32.166667 | 79 | 0.650259 | 149 | 1,158 | 4.959732 | 0.348993 | 0.142084 | 0.105548 | 0.162382 | 0.56157 | 0.56157 | 0.484438 | 0.377537 | 0.11908 | 0 | 0 | 0.03027 | 0.201209 | 1,158 | 36 | 80 | 32.166667 | 0.768649 | 0 | 0 | 0.259259 | 0 | 0 | 0.169974 | 0.054357 | 0 | 0 | 0 | 0 | 0.259259 | 0 | null | null | 0.037037 | 0.111111 | null | null | 0.037037 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
66f2344a1a82765e10bbb8936240bf12eb1b3181 | 293 | py | Python | other_test/test_phone_rozetka.py | VolodyaEsk/selenium-python-vkhatianovskyi | a96591776b20f062df39b938bfb523e09b8cb0aa | [
"Apache-2.0"
] | null | null | null | other_test/test_phone_rozetka.py | VolodyaEsk/selenium-python-vkhatianovskyi | a96591776b20f062df39b938bfb523e09b8cb0aa | [
"Apache-2.0"
] | null | null | null | other_test/test_phone_rozetka.py | VolodyaEsk/selenium-python-vkhatianovskyi | a96591776b20f062df39b938bfb523e09b8cb0aa | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from selenium import webdriver
from selenium_fixture import app
def test_rozetka(app):
app.go_to_home_page()
app.search_product("Samsung Galaxy S6 SS 32GB G920 Black")
app.driver.find_element_by_link_text("Samsung Galaxy S6 SS 32GB G920 Black").click()
| 24.416667 | 88 | 0.744027 | 46 | 293 | 4.521739 | 0.695652 | 0.115385 | 0.144231 | 0.163462 | 0.288462 | 0.288462 | 0.288462 | 0 | 0 | 0 | 0 | 0.052632 | 0.156997 | 293 | 11 | 89 | 26.636364 | 0.789474 | 0.071672 | 0 | 0 | 0 | 0 | 0.267658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
0f014e4091cc1429e4b3a48f64b1af71ce2e3468 | 2,479 | py | Python | talkify.py | Zarkonnen/AirshipsPostmortemSlides | b8864d606276164304d3f0c337408a940ebfab9c | [
"MIT"
] | null | null | null | talkify.py | Zarkonnen/AirshipsPostmortemSlides | b8864d606276164304d3f0c337408a940ebfab9c | [
"MIT"
] | null | null | null | talkify.py | Zarkonnen/AirshipsPostmortemSlides | b8864d606276164304d3f0c337408a940ebfab9c | [
"MIT"
] | null | null | null | import sys, json
image_suffixes = [".png", ".jpg", ".jpeg", ".gif", ".bmp"]
slides = []
with open(sys.argv[1]) as f:
slide = dict()
slide["points"] = []
for l in f:
l = l[:-1]
if l.startswith("- "):
slide["points"].append(l[2:])
else:
if "title" in slide:
... | 19.832 | 88 | 0.541347 | 278 | 2,479 | 4.820144 | 0.384892 | 0.098507 | 0.060448 | 0.029851 | 0.144776 | 0.046269 | 0.046269 | 0 | 0 | 0 | 0 | 0.022552 | 0.26664 | 2,479 | 124 | 89 | 19.991935 | 0.714521 | 0 | 0 | 0.182609 | 0 | 0.008696 | 0.737798 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008696 | null | null | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0f02439a06e4e87e26ea006ef3fae04559b12a74 | 319 | py | Python | web/urls.py | wangandrewt/bike-survey | 081eee9e30b6c4537a7e9d74f06c936610d0b346 | [
"Apache-2.0"
] | 1 | 2016-05-19T06:59:13.000Z | 2016-05-19T06:59:13.000Z | web/urls.py | wangandrewt/bike-survey | 081eee9e30b6c4537a7e9d74f06c936610d0b346 | [
"Apache-2.0"
] | null | null | null | web/urls.py | wangandrewt/bike-survey | 081eee9e30b6c4537a7e9d74f06c936610d0b346 | [
"Apache-2.0"
] | null | null | null | from django.conf.urls import patterns, include, url
from django.contrib import admin
urlpatterns = patterns("",
url(r'^admin/', include(admin.site.urls)),
url(r'^', include(
'bikesurvey.urls', namespace='bikesurvey')),
)
| 31.9 | 71 | 0.507837 | 29 | 319 | 5.586207 | 0.517241 | 0.123457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.369906 | 319 | 9 | 72 | 35.444444 | 0.80597 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 2 |
0f0c920e50fddd635fcae650bb201276087a66cf | 372 | py | Python | spinta/datasets/backends/notimpl/commands/load.py | atviriduomenys/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 2 | 2019-03-14T06:41:14.000Z | 2019-03-26T11:48:14.000Z | spinta/datasets/backends/notimpl/commands/load.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 44 | 2019-04-05T15:52:45.000Z | 2022-03-30T07:41:33.000Z | spinta/datasets/backends/notimpl/commands/load.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 1 | 2019-04-01T09:54:27.000Z | 2019-04-01T09:54:27.000Z | from typing import Any
from typing import Dict
from spinta import commands
from spinta.components import Context
from spinta.datasets.backends.notimpl.components import BackendNotImplemented
@commands.load.register(Context, BackendNotImplemented, dict)
def load(
context: Context,
backend: BackendNotImplement... | 23.25 | 77 | 0.782258 | 43 | 372 | 6.767442 | 0.488372 | 0.103093 | 0.109966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147849 | 372 | 15 | 78 | 24.8 | 0.917981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.416667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
0f2246f726201f173ae0a024c4789355de8d4583 | 1,218 | py | Python | pyusermanager/__init__.py | Aurvandill137/pyusermanager | 56bb16b3ed510eee70ff33ccafdc0a9b0fc673b0 | [
"MIT"
] | 3 | 2022-02-13T14:10:35.000Z | 2022-02-14T00:20:02.000Z | pyusermanager/__init__.py | Aurvandill137/pyusermanager | 56bb16b3ed510eee70ff33ccafdc0a9b0fc673b0 | [
"MIT"
] | null | null | null | pyusermanager/__init__.py | Aurvandill137/pyusermanager | 56bb16b3ed510eee70ff33ccafdc0a9b0fc673b0 | [
"MIT"
] | 1 | 2022-02-13T14:10:03.000Z | 2022-02-13T14:10:03.000Z | """
A Module used to manage Users in a database
Features:
- login users
- create Users
Modules:
- PyUserExceptions -> some Excpetions which get Thrown by this library
- LdapStuff -> a class to manage the LDAP/AD Login Process
- Perm -> used toi create perms and assign them to users
- login
- LoginHandler (abstrac... | 27.066667 | 77 | 0.729064 | 156 | 1,218 | 5.544872 | 0.512821 | 0.027746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 1,218 | 44 | 78 | 27.681818 | 0.903866 | 0.707718 | 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 | 0 | 0 | 0 | 2 |
0f2fd825c9500409dcbbd87488c1258bec4ac034 | 1,773 | py | Python | models/leNet.py | NickPerezCarletonUniversity/Kervolution | 1241f8121bf25780ca266dbd10beefd01b4ad4ae | [
"MIT"
] | 23 | 2019-06-09T02:21:35.000Z | 2022-02-08T23:25:17.000Z | models/leNet.py | NickPerezCarletonUniversity/Kervolution | 1241f8121bf25780ca266dbd10beefd01b4ad4ae | [
"MIT"
] | 14 | 2020-04-15T15:00:18.000Z | 2022-02-10T00:32:16.000Z | models/leNet.py | NickPerezCarletonUniversity/Kervolution | 1241f8121bf25780ca266dbd10beefd01b4ad4ae | [
"MIT"
] | 2 | 2019-06-09T07:49:37.000Z | 2020-11-12T23:17:11.000Z | import tensorflow as tf
class LeNet5(tf.keras.Model):
def __init__(self,
num_classes=10,
keep_prob=1.0):
sup... | 41.232558 | 92 | 0.380711 | 168 | 1,773 | 3.910714 | 0.303571 | 0.117199 | 0.197869 | 0.045662 | 0.365297 | 0.289193 | 0.240487 | 0.240487 | 0.167428 | 0.167428 | 0 | 0.051887 | 0.521715 | 1,773 | 42 | 93 | 42.214286 | 0.722877 | 0 | 0 | 0.315789 | 0 | 0 | 0.016356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.026316 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 2 |
0f486c3cb920a4f32992cd72979a6e253b82c761 | 1,252 | py | Python | transpilation/topology_mapping.py | anon-submis1/QuantumTranspiler | 38b296caf26bc9d6cdad3b23af1c116f02b77eea | [
"Apache-2.0"
] | null | null | null | transpilation/topology_mapping.py | anon-submis1/QuantumTranspiler | 38b296caf26bc9d6cdad3b23af1c116f02b77eea | [
"Apache-2.0"
] | 2 | 2022-02-27T23:43:40.000Z | 2022-03-02T12:47:52.000Z | transpilation/topology_mapping.py | anon-submis1/QuantumTranspiler | 38b296caf26bc9d6cdad3b23af1c116f02b77eea | [
"Apache-2.0"
] | 1 | 2021-12-01T08:05:18.000Z | 2021-12-01T08:05:18.000Z | from qiskit.converters.circuit_to_dag import circuit_to_dag
from qiskit.converters.dag_to_circuit import dag_to_circuit
from qiskit.dagcircuit.dagcircuit import DAGCircuit
from qiskit.transpiler.passes import BasicSwap, FullAncillaAllocation, CXDirection, ApplyLayout, DenseLayout, LookaheadSwap, StochasticSwap, Enlarge... | 48.153846 | 159 | 0.796326 | 133 | 1,252 | 7.338346 | 0.330827 | 0.081967 | 0.081967 | 0.053279 | 0.125 | 0.125 | 0.125 | 0.125 | 0.125 | 0 | 0 | 0 | 0.142971 | 1,252 | 26 | 160 | 48.153846 | 0.909599 | 0.033546 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0.380952 | 0.380952 | 0 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
0f6404be16372a64552db28f18e9e80acce8ee0b | 503 | py | Python | setup.py | weihuang527/superhuman_network | a89820bda4d0006198bac3bb5922a958ac87f2ae | [
"MIT"
] | null | null | null | setup.py | weihuang527/superhuman_network | a89820bda4d0006198bac3bb5922a958ac87f2ae | [
"MIT"
] | null | null | null | setup.py | weihuang527/superhuman_network | a89820bda4d0006198bac3bb5922a958ac87f2ae | [
"MIT"
] | null | null | null | from distutils.core import setup
from distutils.extension import Extension
from distutils.sysconfig import get_python_inc
from setuptools import setup, Extension, find_packages
import numpy as np
def setup_pkg():
setup(name='em_net',
version='1.0',
include_dirs=[np.get_include(), get_python_inc()],
... | 27.944444 | 74 | 0.729622 | 67 | 503 | 5.164179 | 0.552239 | 0.112717 | 0.069364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.16501 | 503 | 17 | 75 | 29.588235 | 0.814286 | 0.184891 | 0 | 0 | 0 | 0 | 0.041769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | true | 0 | 0.384615 | 0 | 0.461538 | 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 | 0 | 0 | 0 | 2 |
0f6d75ab578c70cdb2be91d473f3b8a4d54e7c2c | 2,395 | py | Python | tests/test_repr.py | tomtomhdx/biotite | 0777a7e71da33750980d08950a0193091eb159db | [
"BSD-3-Clause"
] | null | null | null | tests/test_repr.py | tomtomhdx/biotite | 0777a7e71da33750980d08950a0193091eb159db | [
"BSD-3-Clause"
] | null | null | null | tests/test_repr.py | tomtomhdx/biotite | 0777a7e71da33750980d08950a0193091eb159db | [
"BSD-3-Clause"
] | null | null | null | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
from biotite.sequence import NucleotideSequence
from biotite.sequence import ProteinSequence
from biotite.sequence import Alphabet
from biotite.sequence import Gene... | 52.065217 | 133 | 0.559081 | 242 | 2,395 | 5.487603 | 0.380165 | 0.107681 | 0.171687 | 0.188253 | 0.141566 | 0.096386 | 0.096386 | 0.096386 | 0.069277 | 0 | 0 | 0.041441 | 0.304802 | 2,395 | 45 | 134 | 53.222222 | 0.756156 | 0.061795 | 0 | 0 | 0 | 0 | 0.063754 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0.026316 | false | 0 | 0.421053 | 0 | 0.447368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
0f707aaa8ae25fa81c967c2fb9d09924634d884c | 1,677 | py | Python | mysite/core/models.py | vitwb/SysOcto | 37d9f0ab0750a7f9856bbc545e4416a1493c6a4e | [
"MIT"
] | null | null | null | mysite/core/models.py | vitwb/SysOcto | 37d9f0ab0750a7f9856bbc545e4416a1493c6a4e | [
"MIT"
] | 1 | 2021-06-10T23:09:57.000Z | 2021-06-10T23:09:57.000Z | mysite/core/models.py | vitwb/SysOcto | 37d9f0ab0750a7f9856bbc545e4416a1493c6a4e | [
"MIT"
] | null | null | null | from django.db import models
class Corretor (models.Model):
nome = models.CharField(max_length=200, help_text='Nome do Corretor')
telefone = models.IntegerField()
email = models.EmailField()
cnpj = models.IntegerField()
end = models.CharField(max_length=500)
def __str__(self):
return s... | 40.902439 | 89 | 0.725701 | 208 | 1,677 | 5.663462 | 0.254808 | 0.140068 | 0.168081 | 0.224109 | 0.642615 | 0.556876 | 0.426146 | 0.258065 | 0.188455 | 0.188455 | 0 | 0.023555 | 0.16458 | 1,677 | 40 | 90 | 41.925 | 0.817273 | 0 | 0 | 0.314286 | 0 | 0 | 0.047733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.028571 | 0.085714 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
0f789434d292082a663e7b2d59b9426326835512 | 1,988 | py | Python | openpype/exceptions.py | pypeclub/openpype4-backend | a0abe2ed66887c6529b01bbb9cb00278bbff41e4 | [
"Apache-2.0"
] | 2 | 2022-03-09T08:02:52.000Z | 2022-03-15T00:34:01.000Z | openpype/exceptions.py | pypeclub/openpype4-backend | a0abe2ed66887c6529b01bbb9cb00278bbff41e4 | [
"Apache-2.0"
] | 1 | 2022-03-08T16:22:34.000Z | 2022-03-08T16:22:34.000Z | openpype/exceptions.py | pypeclub/openpype4-backend | a0abe2ed66887c6529b01bbb9cb00278bbff41e4 | [
"Apache-2.0"
] | null | null | null | from nxtools import logging
class OpenPypeException(Exception):
"""Base class for all OpenPype exceptions."""
detail: str = "Error"
status: int = 500
def __init__(
self,
detail: str | None = None,
log: bool | str = False,
) -> None:
if detail is not None:
... | 24.54321 | 84 | 0.671529 | 225 | 1,988 | 5.897778 | 0.435556 | 0.06104 | 0.049736 | 0.108515 | 0.215524 | 0.103994 | 0.055765 | 0 | 0 | 0 | 0 | 0.015842 | 0.237928 | 1,988 | 80 | 85 | 24.85 | 0.860066 | 0.29829 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.054054 | 0.027027 | 0 | 0.702703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
0f7d572de1c436315896eac06a04a02b565dd337 | 1,273 | py | Python | core/migrations/0007_auto_20200826_0813.py | uktrade/fadmin2 | 0f774400fb816c9ca30e30b25ae542135966e185 | [
"MIT"
] | 3 | 2020-01-05T16:46:42.000Z | 2021-08-02T08:08:39.000Z | core/migrations/0007_auto_20200826_0813.py | uktrade/fadmin2 | 0f774400fb816c9ca30e30b25ae542135966e185 | [
"MIT"
] | 30 | 2019-11-28T15:16:35.000Z | 2021-08-16T14:49:58.000Z | core/migrations/0007_auto_20200826_0813.py | uktrade/fadmin2 | 0f774400fb816c9ca30e30b25ae542135966e185 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.13 on 2020-08-26 08:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0006_data_20200810'),
]
operations = [
migrations.DeleteModel(
name='Document',
),
migrations.AddField(... | 28.288889 | 76 | 0.571877 | 106 | 1,273 | 6.783019 | 0.386792 | 0.062587 | 0.127955 | 0.150209 | 0.689847 | 0.689847 | 0.689847 | 0.550765 | 0.37274 | 0.37274 | 0 | 0.032258 | 0.318146 | 1,273 | 44 | 77 | 28.931818 | 0.796083 | 0.036135 | 0 | 0.710526 | 1 | 0 | 0.153469 | 0.059592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7e13ae3c1184d5ccb4947ea96d411b53634befc9 | 1,665 | py | Python | packages/infra_libs/infra_libs/test/experiments_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | packages/infra_libs/infra_libs/test/experiments_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | packages/infra_libs/infra_libs/test/experiments_test.py | allaparthi/monorail | e18645fc1b952a5a6ff5f06e0c740d75f1904473 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import unittest
import mock
from infra_libs import experiments
class ExperimentsTest(unittest.TestCase):
def setUp(self):
self.mock_getfqdn = mock.... | 35.425532 | 72 | 0.754354 | 241 | 1,665 | 4.946058 | 0.257261 | 0.127517 | 0.175336 | 0.239094 | 0.718121 | 0.674497 | 0.674497 | 0.674497 | 0.582215 | 0.582215 | 0 | 0.045051 | 0.12012 | 1,665 | 46 | 73 | 36.195652 | 0.768601 | 0.093093 | 0 | 0.482759 | 0 | 0 | 0.043825 | 0 | 0 | 0 | 0 | 0 | 0.62069 | 1 | 0.103448 | false | 0 | 0.103448 | 0 | 0.241379 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7e175046e059e0176aeafec94d70c04baaac34f9 | 1,485 | py | Python | libraries/botbuilder-ai/botbuilder/ai/luis/intent_score.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | 1 | 2019-05-31T10:55:15.000Z | 2019-05-31T10:55:15.000Z | libraries/botbuilder-ai/botbuilder/ai/luis/intent_score.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | null | null | null | libraries/botbuilder-ai/botbuilder/ai/luis/intent_score.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from typing import Dict
class IntentScore(object):
"""
Score plus any extra information about an intent.
"""
def __init__(self, score: float = None, properties: Dict[str, object] = {}):
self._score:... | 25.169492 | 80 | 0.586532 | 167 | 1,485 | 5.155689 | 0.287425 | 0.04878 | 0.090592 | 0.092915 | 0.181185 | 0.181185 | 0.181185 | 0.181185 | 0 | 0 | 0 | 0 | 0.316498 | 1,485 | 58 | 81 | 25.603448 | 0.848276 | 0.428283 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0 | 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 | 0 | 1 | 0 | 0 | 2 |
7e2117d8c1cc7a85829aed80bb14026ad9554903 | 5,931 | py | Python | main.py | yaki29/Camera-App | 9dc353eae88320573279a2ba43691a1865849b92 | [
"MIT"
] | null | null | null | main.py | yaki29/Camera-App | 9dc353eae88320573279a2ba43691a1865849b92 | [
"MIT"
] | null | null | null | main.py | yaki29/Camera-App | 9dc353eae88320573279a2ba43691a1865849b92 | [
"MIT"
] | null | null | null | import time
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.anchorlayout import AnchorLayout
from kivy.uix.pagelayout import PageLayout
from kivy.uix.gridlayout import GridLayout
from kivy.properties import ObjectProperty
from kivy.core.image import Image
from ki... | 22.048327 | 73 | 0.644242 | 807 | 5,931 | 4.627014 | 0.187113 | 0.067756 | 0.043385 | 0.062667 | 0.455811 | 0.442421 | 0.433048 | 0.419657 | 0.371987 | 0.35324 | 0 | 0.030948 | 0.231833 | 5,931 | 269 | 74 | 22.048327 | 0.78863 | 0.038948 | 0 | 0 | 0 | 0 | 0.086353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.019608 | 0.313725 | null | null | 0.098039 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
7e30b5eb0845dc9f4771aa2b60914732792cd856 | 535 | py | Python | reader/models/chart.py | joyfulflyer/billboard-viewer | 40b1c27f22858f45f0d745a216697db05a4f8e66 | [
"MIT"
] | null | null | null | reader/models/chart.py | joyfulflyer/billboard-viewer | 40b1c27f22858f45f0d745a216697db05a4f8e66 | [
"MIT"
] | 2 | 2021-08-09T17:18:15.000Z | 2021-08-09T17:18:20.000Z | reader/models/chart.py | joyfulflyer/billboard-viewer | 40b1c27f22858f45f0d745a216697db05a4f8e66 | [
"MIT"
] | null | null | null | from .base import Base
from sqlalchemy import Integer, Column, String
class Chart(Base):
__tablename__ = 'charts'
id = Column(Integer, primary_key=True)
chart_type = Column('type', String(128))
date_string = Column(String(128))
next_chart_date = Column(String(128))
def get_year(self):
... | 28.157895 | 78 | 0.6 | 67 | 535 | 4.537313 | 0.41791 | 0.118421 | 0.098684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025707 | 0.272897 | 535 | 18 | 79 | 29.722222 | 0.755784 | 0 | 0 | 0 | 0 | 0 | 0.080374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.153846 | 0.153846 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
7e31ac46c35db589dfa22e1997b41ef21a9780be | 371 | py | Python | pset_pandas_ext/101problems/p60.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 5 | 2019-04-08T20:05:37.000Z | 2019-12-04T20:48:45.000Z | pset_pandas_ext/101problems/p60.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 8 | 2019-04-15T15:16:05.000Z | 2022-02-12T10:33:32.000Z | pset_pandas_ext/101problems/p60.py | mottaquikarim/pydev-psets | 9749e0d216ee0a5c586d0d3013ef481cc21dee27 | [
"MIT"
] | 2 | 2019-04-10T00:14:42.000Z | 2020-02-26T20:35:21.000Z | """
61. How to know the maximum possible correlation value of each column against other columns?
"""
"""
Difficulty Level: L2
"""
"""
Compute maximum possible absolute correlation value of each column against other columns in df.
"""
"""
Input
"""
"""
df = pd.DataFrame(np.random.randint(1,100, 80).reshape(8, -1), colum... | 23.1875 | 114 | 0.700809 | 51 | 371 | 5.098039 | 0.72549 | 0.115385 | 0.138462 | 0.169231 | 0.361538 | 0.361538 | 0.361538 | 0.361538 | 0 | 0 | 0 | 0.034268 | 0.134771 | 371 | 15 | 115 | 24.733333 | 0.775701 | 0.247978 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7e3c6e99ae5cf3565808feccf1cad46af505caed | 143 | py | Python | is/is_abg/apps.py | j-sulliman/iabg | ffa0f874bca360093c4db19be6935c2112b31852 | [
"BSD-3-Clause"
] | null | null | null | is/is_abg/apps.py | j-sulliman/iabg | ffa0f874bca360093c4db19be6935c2112b31852 | [
"BSD-3-Clause"
] | null | null | null | is/is_abg/apps.py | j-sulliman/iabg | ffa0f874bca360093c4db19be6935c2112b31852 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class IsAbgConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'is_abg'
| 20.428571 | 56 | 0.755245 | 18 | 143 | 5.833333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 143 | 6 | 57 | 23.833333 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0.244755 | 0.202797 | 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 | 0 | 0 | 0 | 2 |
7e44415d09b6d95af78f6bfc9c25923ab838c404 | 2,064 | py | Python | plugins/digitalocean/test/fixtures/k8s.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 126 | 2022-01-13T18:22:03.000Z | 2022-03-31T11:03:14.000Z | plugins/digitalocean/test/fixtures/k8s.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 110 | 2022-01-13T22:27:55.000Z | 2022-03-30T22:26:50.000Z | plugins/digitalocean/test/fixtures/k8s.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 8 | 2022-01-15T10:28:16.000Z | 2022-03-30T16:38:21.000Z | k8s = [
{
"id": "e1c48631-b382-4001-2168-c47c54795a26",
"name": "k8s-1-22-7-do-0-fra1-test",
"region": "fra1",
"version": "1.22.7-do.0",
"cluster_subnet": "10.244.0.0/16",
"service_subnet": "10.245.0.0/16",
"vpc_uuid": "0d3176ad-41e0-4021-b831-0c5c45c60959",
... | 34.4 | 90 | 0.421996 | 184 | 2,064 | 4.63587 | 0.581522 | 0.056272 | 0.075029 | 0.093787 | 0.302462 | 0.248535 | 0.203986 | 0.203986 | 0.10551 | 0.10551 | 0 | 0.245082 | 0.408915 | 2,064 | 59 | 91 | 34.983051 | 0.454098 | 0 | 0 | 0.135593 | 0 | 0 | 0.446221 | 0.12064 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7e4e9a529a606ac667a15e96676a1316e50b6f28 | 503 | py | Python | Curso_de_Python_ Curso_em_Video/PythonTeste/tuplas001.py | DanilooSilva/Cursos_de_Python | 8f167a4c6e16f01601e23b6f107578aa1454472d | [
"MIT"
] | null | null | null | Curso_de_Python_ Curso_em_Video/PythonTeste/tuplas001.py | DanilooSilva/Cursos_de_Python | 8f167a4c6e16f01601e23b6f107578aa1454472d | [
"MIT"
] | null | null | null | Curso_de_Python_ Curso_em_Video/PythonTeste/tuplas001.py | DanilooSilva/Cursos_de_Python | 8f167a4c6e16f01601e23b6f107578aa1454472d | [
"MIT"
] | null | null | null | #lanche = 'Hambúrguer', 'Suco', 'Pizza', 'Pudim', 'Água'
#print(lanche)
#for comida in lanche:
# print(f'Eu vou comer {comida}')
#print('Comi pra caramba')
#for cont in range(0, len(lanche)):
# print(lanche[cont])
#for pos, comida in enumerate(lanche):
# print(f'Eu vou comer {comida} na posição {pos}')
#print... | 20.958333 | 56 | 0.620278 | 83 | 503 | 3.759036 | 0.506024 | 0.105769 | 0.076923 | 0.089744 | 0.179487 | 0.179487 | 0.179487 | 0 | 0 | 0 | 0 | 0.038005 | 0.163022 | 503 | 24 | 57 | 20.958333 | 0.703088 | 0.83499 | 0 | 0 | 0 | 0 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
7e526fbea6f8bf07b4cba4bbbe50e73270e7b80e | 1,828 | py | Python | TestLCA.py | tomztz/LCA-python | e7438831a0fbf6387675bdf29848e1b11e1899dd | [
"MIT"
] | null | null | null | TestLCA.py | tomztz/LCA-python | e7438831a0fbf6387675bdf29848e1b11e1899dd | [
"MIT"
] | null | null | null | TestLCA.py | tomztz/LCA-python | e7438831a0fbf6387675bdf29848e1b11e1899dd | [
"MIT"
] | null | null | null | import pytest
from LCA import LCA
class TestLCA(object):
@pytest.fixture
def testing_tree(self):
node = LCA.TreeNode(3) # _3_
node.left = LCA.TreeNode(5); # / \
node.right = LCA.TreeNode(1); ... | 37.306122 | 119 | 0.578775 | 223 | 1,828 | 4.533632 | 0.215247 | 0.152324 | 0.172107 | 0.189911 | 0.434224 | 0.369931 | 0.369931 | 0.369931 | 0.369931 | 0.269041 | 0 | 0.02057 | 0.308534 | 1,828 | 48 | 120 | 38.083333 | 0.779272 | 0.039387 | 0 | 0.058824 | 0 | 0 | 0.004577 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.205882 | false | 0 | 0.058824 | 0 | 0.323529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7e574bcc7ea6f8a52d2c1ad435ca70e8a3e47bda | 664 | py | Python | api/tests/test_endpoint_spotify_api.py | JoaoGustavoRogel/spider-music-api | 6eb4fc66e6595611bbbc98f1e43f70fb96f1d6f6 | [
"MIT"
] | 2 | 2020-12-24T03:11:33.000Z | 2021-01-05T15:10:22.000Z | api/tests/test_endpoint_spotify_api.py | JoaoGustavoRogel/spider-music-api | 6eb4fc66e6595611bbbc98f1e43f70fb96f1d6f6 | [
"MIT"
] | null | null | null | api/tests/test_endpoint_spotify_api.py | JoaoGustavoRogel/spider-music-api | 6eb4fc66e6595611bbbc98f1e43f70fb96f1d6f6 | [
"MIT"
] | null | null | null | import mock
import os
import shutil
import unittest
from datetime import datetime
from src.models.SpotifyAPICrawler import ConcreteFactorySpotifyAPICrawler, ConcreteSpotifyAPICrawler
from src.routers.endpoints import spotify_api
class TestSpotifyAPIRouter(unittest.TestCase):
@mock.patch("src.models.SpotifyAPICra... | 31.619048 | 100 | 0.792169 | 77 | 664 | 6.519481 | 0.545455 | 0.027888 | 0.103586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128012 | 664 | 20 | 101 | 33.2 | 0.867012 | 0 | 0 | 0 | 0 | 0 | 0.170181 | 0.081325 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.466667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
7e897cbe5263e0c45aeec98b82b74620e404bb6c | 529 | py | Python | src/utils/run_params.py | rahlk/CADET | e385e91aa6557b793c37df4f2d83f2f11d76b5fb | [
"MIT"
] | null | null | null | src/utils/run_params.py | rahlk/CADET | e385e91aa6557b793c37df4f2d83f2f11d76b5fb | [
"MIT"
] | null | null | null | src/utils/run_params.py | rahlk/CADET | e385e91aa6557b793c37df4f2d83f2f11d76b5fb | [
"MIT"
] | null | null | null | import sys
import os
from datetime import datetime
from cadet.Configuration import Config as cfg
from cadet.generate_params import GenerateParams
def process_input():
"""
This function is used to process input passed by user to select experiment.
Returns
-------
options: dict
options dicti... | 21.16 | 79 | 0.663516 | 60 | 529 | 5.666667 | 0.633333 | 0.105882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002519 | 0.249527 | 529 | 24 | 80 | 22.041667 | 0.853904 | 0.243856 | 0 | 0 | 1 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.416667 | 0 | 0.583333 | 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 | 0 | 0 | 0 | 2 |
7e8e8aed59f6ba9cd7cdd283201a6f48c10d0796 | 387 | py | Python | models/smoothloss.py | Yuki-Kumon/PSMNet | c47a9e6edb885e76fc6a6d399f5ec42c65133d85 | [
"MIT"
] | 78 | 2018-10-06T15:31:47.000Z | 2022-03-23T08:46:07.000Z | models/smoothloss.py | Yuki-Kumon/PSMNet | c47a9e6edb885e76fc6a6d399f5ec42c65133d85 | [
"MIT"
] | 9 | 2019-04-08T12:20:14.000Z | 2021-10-12T22:50:54.000Z | models/smoothloss.py | Yuki-Kumon/PSMNet | c47a9e6edb885e76fc6a6d399f5ec42c65133d85 | [
"MIT"
] | 19 | 2019-01-14T08:58:40.000Z | 2021-12-10T23:50:25.000Z | import torch.nn.functional as F
import torch.nn as nn
class SmoothL1Loss(nn.Module):
def __init__(self):
super().__init__()
def forward(self, disp1, disp2, disp3, target):
loss1 = F.smooth_l1_loss(disp1, target)
loss2 = F.smooth_l1_loss(disp2, target)
loss3 = F.sm... | 24.1875 | 52 | 0.633075 | 52 | 387 | 4.442308 | 0.480769 | 0.090909 | 0.116883 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.26615 | 387 | 15 | 53 | 25.8 | 0.757042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
7e90ba2e8e91b44689b009565495c716162422ed | 5,361 | py | Python | login2.py | Krraunak/Login-Page | f6cd4cf2dfbeb12c298040339407150fd0568d24 | [
"MIT"
] | null | null | null | login2.py | Krraunak/Login-Page | f6cd4cf2dfbeb12c298040339407150fd0568d24 | [
"MIT"
] | null | null | null | login2.py | Krraunak/Login-Page | f6cd4cf2dfbeb12c298040339407150fd0568d24 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'login2.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtC... | 38.292857 | 126 | 0.636635 | 580 | 5,361 | 5.812069 | 0.32069 | 0.048057 | 0.026995 | 0.032038 | 0.226639 | 0.20884 | 0.144468 | 0.087511 | 0.075942 | 0.075942 | 0 | 0.042233 | 0.24473 | 5,361 | 139 | 127 | 38.568345 | 0.790319 | 0.056146 | 0 | 0.232143 | 1 | 0 | 0.098331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044643 | false | 0.0625 | 0.026786 | 0 | 0.080357 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
7e934b6c9dc6942326fcdfd99649a348d1838986 | 72 | py | Python | python_utils/generic/defaults.py | thegreendog/python-utils | e3d20d7a53880cc2276e6254b6fed74b43eb894b | [
"MIT"
] | 3 | 2018-09-27T09:59:07.000Z | 2020-04-13T03:21:01.000Z | python_utils/generic/defaults.py | thegreendog/python-utils | e3d20d7a53880cc2276e6254b6fed74b43eb894b | [
"MIT"
] | null | null | null | python_utils/generic/defaults.py | thegreendog/python-utils | e3d20d7a53880cc2276e6254b6fed74b43eb894b | [
"MIT"
] | 1 | 2020-04-13T03:21:01.000Z | 2020-04-13T03:21:01.000Z | """
Generic constant defaults
"""
DEFAULT_REQUEST_TIMEOUT = (3.05, 27)
| 12 | 36 | 0.708333 | 9 | 72 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0.138889 | 72 | 5 | 37 | 14.4 | 0.709677 | 0.347222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7e95c32999c2e803dce30e9d8de506d5fecf1ca3 | 4,273 | py | Python | riskgame/migrations/0001_initial.py | whatsthehubbub/rippleeffect | f33488e7a0dbeaadee5da5ddef7ce5f209fb3fd4 | [
"MIT"
] | null | null | null | riskgame/migrations/0001_initial.py | whatsthehubbub/rippleeffect | f33488e7a0dbeaadee5da5ddef7ce5f209fb3fd4 | [
"MIT"
] | null | null | null | riskgame/migrations/0001_initial.py | whatsthehubbub/rippleeffect | f33488e7a0dbeaadee5da5ddef7ce5f209fb3fd4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'EmailUser'
db.create_table(u'riskgame_emailuser', (
(u'id', self.gf('django.db.m... | 53.4125 | 125 | 0.608004 | 473 | 4,273 | 5.374207 | 0.15222 | 0.097561 | 0.165224 | 0.236035 | 0.753344 | 0.701416 | 0.667191 | 0.632573 | 0.595594 | 0.459087 | 0 | 0.005819 | 0.195647 | 4,273 | 80 | 126 | 53.4125 | 0.733779 | 0.042359 | 0 | 0.278689 | 0 | 0 | 0.458752 | 0.287638 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0.032787 | 0.065574 | 0 | 0.147541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7e968acc54a0d0fe9862b9f911dcd1c7954d00df | 249 | py | Python | python/code_chef/simple_stat.py | Ethic41/codes | 865658ac267336846e78a63b0214fb1535e17df3 | [
"MIT"
] | 2 | 2018-04-28T14:16:35.000Z | 2018-04-28T14:16:39.000Z | python/code_chef/simple_stat.py | Ethic41/codes | 865658ac267336846e78a63b0214fb1535e17df3 | [
"MIT"
] | null | null | null | python/code_chef/simple_stat.py | Ethic41/codes | 865658ac267336846e78a63b0214fb1535e17df3 | [
"MIT"
] | null | null | null | T = input()
for i in range(T):
N, K = map(int, raw_input().split())
A = map(int, raw_input().split())
if K > 0:
for i in range(K):
A.remove(max(A))
A.remove(min(A))
print("%6f"%(sum(A)/float(len(A))))
| 24.9 | 40 | 0.477912 | 43 | 249 | 2.72093 | 0.534884 | 0.068376 | 0.102564 | 0.188034 | 0.324786 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.301205 | 249 | 9 | 41 | 27.666667 | 0.66092 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7ea04b08dedf0736ffbd3c05516c84d1d5b01e6a | 558 | py | Python | src/api/tests/integrationtests/connection/testdata/TestConnectionDatabaseData.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/api/tests/integrationtests/connection/testdata/TestConnectionDatabaseData.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/api/tests/integrationtests/connection/testdata/TestConnectionDatabaseData.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | class TestConnectionDatabaseData:
test_insert_input = {
"Name": "TestConnection",
"ConnectorTypeName": "POSTGRESQL",
"Host": "string",
"Port": 0,
"Sid": "string",
"DatabaseName": "string",
"User": "string",
"Password": "string"
}
test_update_in... | 25.363636 | 42 | 0.492832 | 40 | 558 | 6.775 | 0.5 | 0.066421 | 0.169742 | 0.295203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013441 | 0.333333 | 558 | 21 | 43 | 26.571429 | 0.715054 | 0 | 0 | 0.095238 | 0 | 0 | 0.367384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.095238 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
7ea41ad3a7ee0ea5682864b64bf91eeb1df4485d | 16,446 | py | Python | pyro/contrib/tracking/dynamic_models.py | futurewarning/pyro | 005032f10099188fea86f63b6baa46a27867983f | [
"Apache-2.0"
] | null | null | null | pyro/contrib/tracking/dynamic_models.py | futurewarning/pyro | 005032f10099188fea86f63b6baa46a27867983f | [
"Apache-2.0"
] | null | null | null | pyro/contrib/tracking/dynamic_models.py | futurewarning/pyro | 005032f10099188fea86f63b6baa46a27867983f | [
"Apache-2.0"
] | 1 | 2021-04-11T21:37:25.000Z | 2021-04-11T21:37:25.000Z | # Copyright (c) 2017-2019 Uber Technologies, Inc.
# SPDX-License-Identifier: Apache-2.0
from abc import ABCMeta, abstractmethod
import torch
from torch import nn
from torch.nn import Parameter
import pyro.distributions as dist
from pyro.distributions.util import eye_like
class DynamicModel(nn.Module, metaclass=ABC... | 35.830065 | 99 | 0.618205 | 2,059 | 16,446 | 4.859641 | 0.127246 | 0.041775 | 0.027184 | 0.026584 | 0.745653 | 0.727863 | 0.688687 | 0.678893 | 0.654707 | 0.65041 | 0 | 0.014156 | 0.295573 | 16,446 | 458 | 100 | 35.908297 | 0.849547 | 0.55436 | 0 | 0.48227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191489 | false | 0 | 0.042553 | 0 | 0.411348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7ea96c2675ddc963b08fa8dfed1e8091917d6d89 | 270 | py | Python | OOP/Decorators/Logged.py | petel3/Softuni_education | 4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c | [
"MIT"
] | 2 | 2022-03-05T13:17:12.000Z | 2022-03-05T13:17:16.000Z | OOP/Decorators/Logged.py | petel3/Softuni_education | 4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c | [
"MIT"
] | null | null | null | OOP/Decorators/Logged.py | petel3/Softuni_education | 4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c | [
"MIT"
] | null | null | null | def logged(func):
def wrapper(*args):
func_result = func(*args)
result=f"you called {func.__name__}{args}\nit returned {func_result}"
return result
return wrapper
@logged
def func(*args):
return 3 + len(args)
print(func(4, 4, 4)) | 18 | 77 | 0.622222 | 38 | 270 | 4.263158 | 0.447368 | 0.123457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.244444 | 270 | 15 | 78 | 18 | 0.77451 | 0 | 0 | 0 | 0 | 0 | 0.217712 | 0.092251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.1 | 0.6 | 0.1 | 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 | 0 | 1 | 0 | 0 | 2 |
7eb2db641d0b86cfc361f411e0ab1cf29eab4baf | 158 | py | Python | lambdata_aaptecode/__init__.py | aapteforhire/lambdata | 46310271e9e147df73a523eb3caab808d333d0d0 | [
"MIT"
] | null | null | null | lambdata_aaptecode/__init__.py | aapteforhire/lambdata | 46310271e9e147df73a523eb3caab808d333d0d0 | [
"MIT"
] | 3 | 2020-03-24T16:57:00.000Z | 2021-06-01T23:30:18.000Z | lambdata_aaptecode/__init__.py | aapteforhire/lambdata | 46310271e9e147df73a523eb3caab808d333d0d0 | [
"MIT"
] | null | null | null | #!/c/Users/aapte/AppData/Local/Programs/Python/Python38/python
""" INIT FILE """
import numpy as np
import pandas as pd
VERSION = 0
ONES = np.ones(100)
| 13.166667 | 62 | 0.702532 | 25 | 158 | 4.44 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045113 | 0.158228 | 158 | 11 | 63 | 14.363636 | 0.789474 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
7eb2f409a2063d134b1b5975cee0a255317a9cc2 | 3,446 | py | Python | church_bot.py | church-of-raxus/church-bot | bf0e32569d291b36a58f950a5b7b580936625e1a | [
"MIT"
] | null | null | null | church_bot.py | church-of-raxus/church-bot | bf0e32569d291b36a58f950a5b7b580936625e1a | [
"MIT"
] | null | null | null | church_bot.py | church-of-raxus/church-bot | bf0e32569d291b36a58f950a5b7b580936625e1a | [
"MIT"
] | null | null | null | #-------------------------------import----------------------------------#
import discord, asyncio, datetime, random
#-----------------------------------------------------------------------#
#-------------------------------variables-------------------------------#
client = discord.Client()
TOKEN = 'O1DIyMTIwOTMyOTQ0MT... | 60.45614 | 1,610 | 0.661346 | 489 | 3,446 | 4.642127 | 0.566462 | 0.049339 | 0.04185 | 0.037004 | 0.0837 | 0.065198 | 0 | 0 | 0 | 0 | 0 | 0.02573 | 0.165409 | 3,446 | 56 | 1,611 | 61.535714 | 0.763561 | 0.201683 | 0 | 0 | 0 | 0.12 | 0.648698 | 0.03447 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.08 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7eb4010c57a412b8207bbc6f245d477270a35113 | 243 | py | Python | rest/resources/payment.py | feliu-io/hr-rest-api | 0a81edbd7045d679e8fa16a08ced8610be4efd8a | [
"MIT"
] | null | null | null | rest/resources/payment.py | feliu-io/hr-rest-api | 0a81edbd7045d679e8fa16a08ced8610be4efd8a | [
"MIT"
] | null | null | null | rest/resources/payment.py | feliu-io/hr-rest-api | 0a81edbd7045d679e8fa16a08ced8610be4efd8a | [
"MIT"
] | null | null | null | from models.payment import PaymentModel
from resources.mixin import ListMixin, ResourceMixin
class Payment(ResourceMixin):
model = PaymentModel
parsed_model = model.parse_model()
class Payments(ListMixin):
model = PaymentModel
| 20.25 | 52 | 0.781893 | 26 | 243 | 7.230769 | 0.538462 | 0.180851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156379 | 243 | 11 | 53 | 22.090909 | 0.917073 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
0e35521ef3c44641b6e91b9903708cd2c4ee56a8 | 897 | py | Python | app/Interface/urls.py | Allen-lang/FXTest | ccbc5e986f4d0f9d3145a857674529380d873719 | [
"MIT"
] | 1 | 2019-12-31T01:53:04.000Z | 2019-12-31T01:53:04.000Z | app/Interface/urls.py | fuyang123/FXTest | ccbc5e986f4d0f9d3145a857674529380d873719 | [
"MIT"
] | null | null | null | app/Interface/urls.py | fuyang123/FXTest | ccbc5e986f4d0f9d3145a857674529380d873719 | [
"MIT"
] | null | null | null | """
@author: lileilei
@file: urls.py
@time: 2018/1/31 13:31
"""
from app.Interface.views import *
from app.Interface import interfac
interfac.add_url_rule('/ser_inter',view_func=SerinterView.as_view('ser_inter'))
interfac.add_url_rule('/daoru_inter',view_func=DaoruinterView.as_view('daoru_inter'))
interfac.... | 59.8 | 105 | 0.789298 | 130 | 897 | 5.130769 | 0.323077 | 0.131934 | 0.167916 | 0.215892 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01285 | 0.045708 | 897 | 15 | 105 | 59.8 | 0.766355 | 0.06243 | 0 | 0 | 0 | 0 | 0.301956 | 0.123472 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
0e37e6c85f9d559776c88dda83c3e85e039de37a | 9,676 | py | Python | test/color/test_xyz.py | Manza12/kornia | 580bbbffc771470445de27a7957d970b5a606172 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-03-24T12:43:02.000Z | 2021-03-24T12:43:08.000Z | test/color/test_xyz.py | Manza12/kornia | 580bbbffc771470445de27a7957d970b5a606172 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/color/test_xyz.py | Manza12/kornia | 580bbbffc771470445de27a7957d970b5a606172 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import pytest
import torch
from torch.autograd import gradcheck
from torch.testing import assert_allclose
import kornia
from kornia.testing import BaseTester
class TestRgbToXyz(BaseTester):
def test_smoke(self, device, dtype):
C, H, W = 3, 4, 5
img = torch.rand(C, H, W, device=device, dtype=dtype... | 41.706897 | 92 | 0.510748 | 1,216 | 9,676 | 3.992599 | 0.263158 | 0.086097 | 0.070031 | 0.081565 | 0.572606 | 0.564367 | 0.530175 | 0.530175 | 0.510814 | 0.510814 | 0 | 0.311507 | 0.356036 | 9,676 | 231 | 93 | 41.887446 | 0.467662 | 0.016226 | 0 | 0.49 | 0 | 0 | 0.001051 | 0 | 0 | 0 | 0 | 0 | 0.105 | 1 | 0.08 | false | 0 | 0.03 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0e4962984ce90463e45edb7243f2fc5b6cdcaedb | 254 | py | Python | h5proc/np2code.py | ayanc/learncfa | e3584b51cace5f1feabe22d0ae8102b21df8d60e | [
"CNRI-Python",
"Xnet",
"X11"
] | 15 | 2016-11-11T06:10:17.000Z | 2021-12-25T18:23:43.000Z | h5proc/np2code.py | ayanc/learncfa | e3584b51cace5f1feabe22d0ae8102b21df8d60e | [
"CNRI-Python",
"Xnet",
"X11"
] | null | null | null | h5proc/np2code.py | ayanc/learncfa | e3584b51cace5f1feabe22d0ae8102b21df8d60e | [
"CNRI-Python",
"Xnet",
"X11"
] | 3 | 2017-10-27T03:48:29.000Z | 2021-09-17T04:28:57.000Z | #!/usr/bin/env python
# Called by getCode.sh
# Copyright (C) 2016, Ayan Chakrabarti <ayanc@ttic.edu>
import numpy as np
import sys
s = np.loadtxt(sys.argv[1]).reshape(4,8,8)
s = np.argmax(s,axis=0).flatten()
st = [str(c) for c in s];
print "".join(st)
| 21.166667 | 55 | 0.673228 | 49 | 254 | 3.489796 | 0.77551 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041284 | 0.141732 | 254 | 11 | 56 | 23.090909 | 0.743119 | 0.374016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
0e4fab7c563fd7c4042bd8322e32bf3d7c5a6002 | 1,593 | py | Python | app/models/query.py | Wordseer/wordseer | a45102c1848c93360d3815187783756dc5e16156 | [
"Unlicense"
] | 38 | 2015-02-26T02:21:04.000Z | 2022-02-03T16:29:00.000Z | app/models/query.py | Wordseer/wordseer | a45102c1848c93360d3815187783756dc5e16156 | [
"Unlicense"
] | 106 | 2015-03-06T20:23:32.000Z | 2016-10-04T21:46:51.000Z | app/models/query.py | Wordseer/wordseer | a45102c1848c93360d3815187783756dc5e16156 | [
"Unlicense"
] | 18 | 2015-08-17T02:29:57.000Z | 2022-02-03T16:29:30.000Z | from .association_objects import SentenceInQuery
from .base import Base
from .sentence import Sentence
from app import db
from sqlalchemy.ext.associationproxy import association_proxy
class Query(db.Model, Base):
"""A model to store queries, used in concert with SentenceInQuery to
implement sentence ... | 37.928571 | 88 | 0.687382 | 191 | 1,593 | 5.643979 | 0.424084 | 0.091837 | 0.055659 | 0.030612 | 0.059369 | 0.059369 | 0.059369 | 0 | 0 | 0 | 0 | 0 | 0.24796 | 1,593 | 41 | 89 | 38.853659 | 0.899833 | 0.636535 | 0 | 0 | 0 | 0 | 0.094203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
0e563748277412a1ef5b1e4e87303d4b42338506 | 1,265 | py | Python | SpyDataWebAppAndAPI/views.py | BerryBC/SpyDataWebAppAndAPI | 6dd42a186e6955575fb747f7ff69c5b5a060ca19 | [
"MIT"
] | null | null | null | SpyDataWebAppAndAPI/views.py | BerryBC/SpyDataWebAppAndAPI | 6dd42a186e6955575fb747f7ff69c5b5a060ca19 | [
"MIT"
] | null | null | null | SpyDataWebAppAndAPI/views.py | BerryBC/SpyDataWebAppAndAPI | 6dd42a186e6955575fb747f7ff69c5b5a060ca19 | [
"MIT"
] | null | null | null | '''
@Descripttion: 主程序反馈页面
@Author: BerryBC
@Date: 2020-02-04 21:47:34
@LastEditors : BerryBC
@LastEditTime : 2020-02-05 10:33:35
'''
from django.shortcuts import render, redirect
from django.http import HttpResponse
import Lib.LUserCtrl as LuserCtrl
from django.template import loader
import json
from django.views.dec... | 32.435897 | 72 | 0.717787 | 144 | 1,265 | 6.243056 | 0.4375 | 0.055617 | 0.07564 | 0.111235 | 0.334816 | 0.25584 | 0.160178 | 0.160178 | 0.160178 | 0.160178 | 0 | 0.028037 | 0.15415 | 1,265 | 38 | 73 | 33.289474 | 0.81215 | 0.409486 | 0 | 0.176471 | 0 | 0 | 0.046448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.411765 | 0 | 0.764706 | 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 | 0 | 1 | 0 | 0 | 2 |
0e8936fa020397a157545df5181df7572ddadc45 | 437 | py | Python | pyxnat/tests/downloadutils_test.py | onealbao/pyxnat | bd7e09a9751d9035b1f86fb9a9c5387c466fba84 | [
"BSD-3-Clause"
] | null | null | null | pyxnat/tests/downloadutils_test.py | onealbao/pyxnat | bd7e09a9751d9035b1f86fb9a9c5387c466fba84 | [
"BSD-3-Clause"
] | null | null | null | pyxnat/tests/downloadutils_test.py | onealbao/pyxnat | bd7e09a9751d9035b1f86fb9a9c5387c466fba84 | [
"BSD-3-Clause"
] | null | null | null | from .. import Interface
from pyxnat.core import downloadutils as du
import os.path as op
from . import skip_if_no_network
central = Interface(config=op.join(op.dirname(op.abspath(__file__)), 'central.cfg'))
@skip_if_no_network
def test_download():
e = central.select.project('CENTRAL_OASIS_LONG').subject('OAS2_00... | 36.416667 | 102 | 0.768879 | 65 | 437 | 4.923077 | 0.661538 | 0.0625 | 0.05 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.09611 | 437 | 11 | 103 | 39.727273 | 0.78481 | 0 | 0 | 0 | 0 | 0 | 0.128146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
0e89624d0553fc131e0ba20841e8de09fd243822 | 781 | py | Python | task5.py | adrielyeung/ray-tracer | 01d5a1eb960f4613d5737d0507640fdb3e7579ac | [
"MIT"
] | 1 | 2019-07-05T16:56:51.000Z | 2019-07-05T16:56:51.000Z | task5.py | adrielyeung/ray-tracer | 01d5a1eb960f4613d5737d0507640fdb3e7579ac | [
"MIT"
] | null | null | null | task5.py | adrielyeung/ray-tracer | 01d5a1eb960f4613d5737d0507640fdb3e7579ac | [
"MIT"
] | 1 | 2021-08-06T09:43:11.000Z | 2021-08-06T09:43:11.000Z | import raytracerfinal as rtf
import numpy as np
surf = rtf.SphericalRefraction(-1./0.3, 0.3, 0.1, 0.3, 20.)
# Propagation parallel to normal (angle of incidence = 0)
print surf.refract(1,1.5,[0,0,1], [0,0,1])
# Propagation parallel to surface (angle of incidence = pi/2)
k2 = surf.refract(1,1.5,[0,1,0], [0,0... | 41.105263 | 91 | 0.685019 | 150 | 781 | 3.566667 | 0.406667 | 0.037383 | 0.033645 | 0.095327 | 0.138318 | 0.100935 | 0 | 0 | 0 | 0 | 0 | 0.094955 | 0.137004 | 781 | 19 | 92 | 41.105263 | 0.698813 | 0.441741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.222222 | null | null | 0.555556 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
0e9e08ea89a0732e107f900bbc4819647b3c1a51 | 1,463 | py | Python | nodes/import_file.py | iograft/iograft-maya | 4a47198020e7063aea714cbe324f6efb231bcf0f | [
"Apache-2.0"
] | null | null | null | nodes/import_file.py | iograft/iograft-maya | 4a47198020e7063aea714cbe324f6efb231bcf0f | [
"Apache-2.0"
] | null | null | null | nodes/import_file.py | iograft/iograft-maya | 4a47198020e7063aea714cbe324f6efb231bcf0f | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Fabrica Software, LLC
import iograft
import iobasictypes
from iogmaya_threading import maya_main_thread
class ImportFileMaya(iograft.Node):
"""
Import a file into Maya.
"""
filename = iograft.InputDefinition("filename", iobasictypes.String())
namespace = iograft.InputDefinition(... | 27.092593 | 75 | 0.645933 | 146 | 1,463 | 6.363014 | 0.39726 | 0.055974 | 0.03014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003704 | 0.261791 | 1,463 | 53 | 76 | 27.603774 | 0.856481 | 0.078606 | 0 | 0 | 0 | 0 | 0.045113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.352941 | 0.029412 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
0ea7c2e8c695f59752f69d6af48c394ccaec0c08 | 65 | py | Python | btlewrap/version.py | basnijholt/btlewrap | dfb308dec9fc5981e16f1a38bd3aca3a2ec769f8 | [
"MIT"
] | null | null | null | btlewrap/version.py | basnijholt/btlewrap | dfb308dec9fc5981e16f1a38bd3aca3a2ec769f8 | [
"MIT"
] | null | null | null | btlewrap/version.py | basnijholt/btlewrap | dfb308dec9fc5981e16f1a38bd3aca3a2ec769f8 | [
"MIT"
] | null | null | null | """Version number of the library."""
__version__ = '0.0.11-dev'
| 16.25 | 36 | 0.661538 | 10 | 65 | 3.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.138462 | 65 | 3 | 37 | 21.666667 | 0.625 | 0.461538 | 0 | 0 | 0 | 0 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7eb9464c3ad71c6d202feb5598573cf2737bd16a | 563 | py | Python | Part_2_intermediate/mod_2/lesson_10/examples/ex_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_2_intermediate/mod_2/lesson_10/examples/ex_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null | Part_2_intermediate/mod_2/lesson_10/examples/ex_1.py | Mikma03/InfoShareacademy_Python_Courses | 3df1008c8c92831bebf1625f960f25b39d6987e6 | [
"MIT"
] | null | null | null |
def calculate_sum_via_list(numbers):
result = 0
for number in numbers:
result += number
return result
def calculate_sum_via_args(*args):
# print(type(args))
result = 0
for number in args:
result += number
return result
def run_example():
numbers = [1, 2, 3, 4, 5, 6]
... | 18.766667 | 53 | 0.634103 | 80 | 563 | 4.15 | 0.325 | 0.180723 | 0.225904 | 0.171687 | 0.680723 | 0.253012 | 0.216867 | 0 | 0 | 0 | 0 | 0.038462 | 0.261101 | 563 | 30 | 54 | 18.766667 | 0.759615 | 0.030195 | 0 | 0.45 | 0 | 0 | 0.014706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0 | 0 | 0.25 | 0.15 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7ec21178d054b92b1f862547229e6a7ed40e991a | 391 | py | Python | embiggen/edge_label_prediction/edge_label_prediction_tensorflow/__init__.py | monarch-initiative/N2V | 8ae02ca125f1d24ca158c2849f2d9bb1711920b9 | [
"BSD-3-Clause"
] | 2 | 2020-01-30T11:57:37.000Z | 2020-05-02T00:05:49.000Z | embiggen/edge_label_prediction/edge_label_prediction_tensorflow/__init__.py | monarch-initiative/N2V | 8ae02ca125f1d24ca158c2849f2d9bb1711920b9 | [
"BSD-3-Clause"
] | 93 | 2020-01-26T00:43:51.000Z | 2020-05-10T03:29:54.000Z | embiggen/edge_label_prediction/edge_label_prediction_tensorflow/__init__.py | monarch-initiative/N2V | 8ae02ca125f1d24ca158c2849f2d9bb1711920b9 | [
"BSD-3-Clause"
] | 5 | 2020-02-13T07:18:11.000Z | 2020-03-19T08:03:34.000Z | """Submodule providing edge-label prediction models based on Sklearn Models."""
from embiggen.edge_label_prediction.edge_label_prediction_model import AbstractEdgeLabelPredictionModel
from embiggen.utils.abstract_models import build_init
build_init(
module_library_names="tensorflow",
formatted_library_name="Te... | 43.444444 | 103 | 0.85422 | 43 | 391 | 7.44186 | 0.627907 | 0.084375 | 0.178125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 391 | 9 | 104 | 43.444444 | 0.896359 | 0.186701 | 0 | 0 | 0 | 0 | 0.063898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7ec45f288caf070722dcdc8b3bef93f35a20db5a | 289 | py | Python | class7/ex1d.py | nkbyrne/pyplus | 2fd31eb41c697259f641fd90a371d2cd9ed4a673 | [
"Apache-2.0"
] | null | null | null | class7/ex1d.py | nkbyrne/pyplus | 2fd31eb41c697259f641fd90a371d2cd9ed4a673 | [
"Apache-2.0"
] | null | null | null | class7/ex1d.py | nkbyrne/pyplus | 2fd31eb41c697259f641fd90a371d2cd9ed4a673 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from lxml import etree
with open("show_security_zones.xml", "r") as f:
sz = etree.fromstring(f.read())
print("-" * 30)
print("1st child using list indices")
print(sz[0].tag)
print("1st child using getchildren()")
print(sz.getchildren()[0].tag)
print("-" * 30)
| 22.230769 | 47 | 0.678201 | 46 | 289 | 4.217391 | 0.652174 | 0.072165 | 0.134021 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.128028 | 289 | 12 | 48 | 24.083333 | 0.734127 | 0.072664 | 0 | 0.222222 | 0 | 0 | 0.310861 | 0.086142 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
7ec9b31ff47d852e585965dc55cd8586b975aaaf | 1,103 | py | Python | LandPortalEntities/lpentities/country.py | weso/landportal-importers | 6edfa3c301422bbe8c09cb877b1cbddbcd902463 | [
"Unlicense"
] | null | null | null | LandPortalEntities/lpentities/country.py | weso/landportal-importers | 6edfa3c301422bbe8c09cb877b1cbddbcd902463 | [
"Unlicense"
] | null | null | null | LandPortalEntities/lpentities/country.py | weso/landportal-importers | 6edfa3c301422bbe8c09cb877b1cbddbcd902463 | [
"Unlicense"
] | null | null | null | '''
Created on 18/12/2013
@author: Nacho
'''
from .region import Region
class Country(Region):
'''
classdocs
'''
def __init__(self, name=None, is_part_of=None, iso2=None, iso3=None, un_code=None):
'''
Constructor
'''
super(Country, self).__init__(name=name, is_part_of... | 24.511111 | 88 | 0.581142 | 142 | 1,103 | 4.169014 | 0.330986 | 0.067568 | 0.040541 | 0.087838 | 0.192568 | 0.192568 | 0 | 0 | 0 | 0 | 0 | 0.054018 | 0.311877 | 1,103 | 45 | 89 | 24.511111 | 0.725955 | 0.05349 | 0 | 0.25 | 0 | 0 | 0.094094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.041667 | 0.125 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
7ee3051e0f6783f90515a2685e36fee987adc042 | 269 | py | Python | curso/migrations/0007_merge_20191211_1119.py | Miguelrom/EasyApproval | 14bc48086ca20a2830d0ff17961a7cec84ea42bc | [
"Apache-2.0"
] | null | null | null | curso/migrations/0007_merge_20191211_1119.py | Miguelrom/EasyApproval | 14bc48086ca20a2830d0ff17961a7cec84ea42bc | [
"Apache-2.0"
] | 3 | 2019-12-03T22:36:30.000Z | 2019-12-12T01:27:34.000Z | curso/migrations/0007_merge_20191211_1119.py | Miguelrom/EasyApproval | 14bc48086ca20a2830d0ff17961a7cec84ea42bc | [
"Apache-2.0"
] | 12 | 2019-12-03T22:36:12.000Z | 2019-12-12T05:52:15.000Z | # Generated by Django 2.2.7 on 2019-12-11 18:19
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('curso', '0006_auto_20191210_0521'),
('curso', '0005_auto_20191210_2023'),
]
operations = [
]
| 17.933333 | 47 | 0.643123 | 33 | 269 | 5.060606 | 0.787879 | 0.143713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228155 | 0.234201 | 269 | 14 | 48 | 19.214286 | 0.582524 | 0.167286 | 0 | 0 | 1 | 0 | 0.252252 | 0.207207 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 2 |
7ee565f6943dabe4f4e5a2305c375066b586ae10 | 248 | py | Python | tunobase/social_media/facebook/admin.py | unomena/tunobase | 9219e6c5a49eecd1c66dd1b518640c5d678acab6 | [
"BSD-3-Clause"
] | null | null | null | tunobase/social_media/facebook/admin.py | unomena/tunobase | 9219e6c5a49eecd1c66dd1b518640c5d678acab6 | [
"BSD-3-Clause"
] | null | null | null | tunobase/social_media/facebook/admin.py | unomena/tunobase | 9219e6c5a49eecd1c66dd1b518640c5d678acab6 | [
"BSD-3-Clause"
] | null | null | null | """
FACEBOOK APP
This module displays the Facebook app in
Django's admin.
Created on 28 Oct 2013
@author: michael
"""
from django.contrib import admin
from tunobase.social_media.facebook import models
admin.site.register(models.FacebookUser)
| 14.588235 | 49 | 0.78629 | 36 | 248 | 5.388889 | 0.75 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.141129 | 248 | 16 | 50 | 15.5 | 0.882629 | 0.451613 | 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 | 0 | 0 | 0 | 2 |
7d06fd202ced7bc53bb329029dd9f31e18f7c11d | 475 | py | Python | tests/image_test.py | allenai/beaker-py | 99c8d7f6e9938807ca5405964ef35633a19e8d68 | [
"Apache-2.0"
] | null | null | null | tests/image_test.py | allenai/beaker-py | 99c8d7f6e9938807ca5405964ef35633a19e8d68 | [
"Apache-2.0"
] | 20 | 2021-12-16T13:23:07.000Z | 2022-03-31T16:40:02.000Z | tests/image_test.py | allenai/beaker-py | 99c8d7f6e9938807ca5405964ef35633a19e8d68 | [
"Apache-2.0"
] | null | null | null | from beaker import Beaker
def test_image_get(client: Beaker, hello_world_image_name: str):
# Get by full name.
image = client.image.get(hello_world_image_name)
# Get by ID.
client.image.get(image.id)
# Get by name.
client.image.get(image.name)
def test_image_url(client: Beaker, hello_world_i... | 26.388889 | 69 | 0.705263 | 68 | 475 | 4.691176 | 0.323529 | 0.141066 | 0.188088 | 0.238245 | 0.213166 | 0.213166 | 0.213166 | 0 | 0 | 0 | 0 | 0.025974 | 0.189474 | 475 | 17 | 70 | 27.941176 | 0.802597 | 0.086316 | 0 | 0 | 0 | 0 | 0.130233 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.2 | false | 0 | 0.1 | 0 | 0.3 | 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 | 0 | 0 | 0 | 2 |
7d127025e3dea9d7550083f7b5d90a7c913db565 | 328 | py | Python | django_for_beginners/project_5_newspaper_app/articles/admin.py | rednafi/django-unchained | 0f71c8d056699496d4af3ab049f9b2f9d057486b | [
"MIT"
] | 1 | 2020-07-25T18:06:56.000Z | 2020-07-25T18:06:56.000Z | django_for_beginners/project_5_newspaper_app/articles/admin.py | rednafi/django-unchained | 0f71c8d056699496d4af3ab049f9b2f9d057486b | [
"MIT"
] | null | null | null | django_for_beginners/project_5_newspaper_app/articles/admin.py | rednafi/django-unchained | 0f71c8d056699496d4af3ab049f9b2f9d057486b | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from . import models
class CommentInline(admin.StackedInline):
model = models.Comment
class ArticleAdmin(admin.ModelAdmin):
inlines = [
CommentInline,
]
admin.site.register(models.Article, ArticleAdmin)
admin.site.register(models.C... | 17.263158 | 49 | 0.743902 | 36 | 328 | 6.777778 | 0.527778 | 0.147541 | 0.139344 | 0.188525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167683 | 328 | 18 | 50 | 18.222222 | 0.893773 | 0.079268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
7d27fa9657b34db5e33b8183f6ded6e1ce209e21 | 5,029 | py | Python | src/main/python/deallocate_ip/source.py | cwilloughby-bw/vra-ipam-racktables | f21654030dd51e4f007fef762c0156a53e568715 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/main/python/deallocate_ip/source.py | cwilloughby-bw/vra-ipam-racktables | f21654030dd51e4f007fef762c0156a53e568715 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/main/python/deallocate_ip/source.py | cwilloughby-bw/vra-ipam-racktables | f21654030dd51e4f007fef762c0156a53e568715 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """
Copyright (c) 2020 VMware, Inc.
This product is licensed to you under the Apache License, Version 2.0 (the "License").
You may not use this product except in compliance with the License.
This product may include a number of subcomponents with separate copyright notices
and license terms. Your use of these subcomp... | 49.303922 | 1,435 | 0.755021 | 418 | 5,029 | 9 | 0.595694 | 0.015949 | 0.011164 | 0.010633 | 0.017012 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 0.134619 | 5,029 | 101 | 1,436 | 49.792079 | 0.762868 | 0.08968 | 0 | 0.058824 | 0 | 0.029412 | 0.266287 | 0.054396 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.088235 | false | 0.058824 | 0.117647 | 0 | 0.294118 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
7d2e83a472e9fb6bc00928cf5e1e5e460a966f6b | 214 | py | Python | 16.py | esosn/euler | a2c90e83dbf0c538ed6bee3601c340823ee01e11 | [
"MIT"
] | null | null | null | 16.py | esosn/euler | a2c90e83dbf0c538ed6bee3601c340823ee01e11 | [
"MIT"
] | null | null | null | 16.py | esosn/euler | a2c90e83dbf0c538ed6bee3601c340823ee01e11 | [
"MIT"
] | null | null | null | import time
import math
times = []
times.append(time.clock())
limit = 1000
num = str(2 ** limit)
value = 0
for s in num: value += int(s)
print('%d' % value)
times.append(time.clock())
print(times[-1] - times[-2]) | 16.461538 | 29 | 0.64486 | 36 | 214 | 3.833333 | 0.555556 | 0.15942 | 0.217391 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.158879 | 214 | 13 | 30 | 16.461538 | 0.722222 | 0 | 0 | 0.181818 | 0 | 0 | 0.009302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0.181818 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
7d31dc09b31a45c4093dd79b4bb792e7fab4367f | 542 | py | Python | app/__init__.py | ceciCoding/Queerevent | 9bbca57ac449d6d7a608ddc9d778c0d0753c310f | [
"Apache-2.0"
] | null | null | null | app/__init__.py | ceciCoding/Queerevent | 9bbca57ac449d6d7a608ddc9d778c0d0753c310f | [
"Apache-2.0"
] | null | null | null | app/__init__.py | ceciCoding/Queerevent | 9bbca57ac449d6d7a608ddc9d778c0d0753c310f | [
"Apache-2.0"
] | null | null | null | from flask import Flask
import os
import logging.handlers
from logging.handlers import RotatingFileHandler
from config import Config
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager, UserMixin, login_required, login_user, logout_user, current_user
app = Fl... | 23.565217 | 102 | 0.826568 | 75 | 542 | 5.746667 | 0.346667 | 0.083527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114391 | 542 | 22 | 103 | 24.636364 | 0.897917 | 0 | 0 | 0 | 0 | 0 | 0.009276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5625 | 0 | 0.5625 | 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 | 0 | 1 | 0 | 0 | 2 |
7d370deea7cd10540be4ea0bc3cd42271e1ba637 | 1,863 | py | Python | PYTHON/projects/scraper/scrapy crawler py/craper.py | Zed-M/dzcode.talk | 7da4e0e83aa58597f30a61384370c3ae41926894 | [
"Unlicense"
] | 12 | 2019-04-22T10:16:54.000Z | 2022-01-08T02:44:19.000Z | PYTHON/projects/scraper/scrapy crawler py/craper.py | Zed-M/dzcode.talk | 7da4e0e83aa58597f30a61384370c3ae41926894 | [
"Unlicense"
] | null | null | null | PYTHON/projects/scraper/scrapy crawler py/craper.py | Zed-M/dzcode.talk | 7da4e0e83aa58597f30a61384370c3ae41926894 | [
"Unlicense"
] | 3 | 2019-05-14T11:24:42.000Z | 2019-08-08T16:13:09.000Z | # start_urls = ['https://dz.kompass.com/en/c/sapeco-gmbh/ch153508.html']
# '//a[@class="coordonneesItemLink phoneCompany showMobile"]/text()').extract()
# 'a[@class="coordonneesItemLink phoneCompany showMobile"]/@href').extract_first()
# -*- coding: utf-8 -*-
from scrapy import Request
import scrapy
class Companiesn... | 39.638298 | 151 | 0.674718 | 227 | 1,863 | 5.418502 | 0.343612 | 0.068293 | 0.052033 | 0.041463 | 0.217886 | 0.097561 | 0.045528 | 0 | 0 | 0 | 0 | 0.006862 | 0.13956 | 1,863 | 46 | 152 | 40.5 | 0.760449 | 0.134729 | 0 | 0 | 0 | 0 | 0.269446 | 0.120722 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.066667 | 0.066667 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
7d49a9a5423ff72ab4d1cb76d94f01db3a4eb538 | 369 | py | Python | musics.py | PerpetualSmile/Space_Invasion | fefb87f96a297fc27f9435f7d7c17dbad63f9e81 | [
"MIT"
] | 1 | 2020-12-26T12:06:52.000Z | 2020-12-26T12:06:52.000Z | musics.py | PerpetualSmile/Space_Invasion | fefb87f96a297fc27f9435f7d7c17dbad63f9e81 | [
"MIT"
] | null | null | null | musics.py | PerpetualSmile/Space_Invasion | fefb87f96a297fc27f9435f7d7c17dbad63f9e81 | [
"MIT"
] | 1 | 2019-05-15T02:10:51.000Z | 2019-05-15T02:10:51.000Z | import pygame
class Musics:
"""用于控制背景音乐的类"""
def __init__(self):
self.fire_music = pygame.mixer.Sound("music/导弹发射.wav")
self.fire_music.set_volume(0.3)
self.boom = pygame.mixer.Sound("music/boom.wav")
self.boom.set_volume(0.2)
self.bgmusic = pygame.mixer.Sound("music... | 20.5 | 62 | 0.628726 | 52 | 369 | 4.288462 | 0.423077 | 0.147982 | 0.215247 | 0.282511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020906 | 0.222222 | 369 | 17 | 63 | 21.705882 | 0.756098 | 0.0271 | 0 | 0 | 0 | 0 | 0.11396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 2 |
adc3a82b0813b7bea62ecaef10ca52811e828239 | 1,024 | py | Python | orc8r/gateway/python/magma/state/keys.py | saurabhsoni88/magma | 4236c9d8edb7bd203707ff7e861b1f7c12fb84c7 | [
"BSD-3-Clause"
] | 2 | 2020-12-09T11:42:30.000Z | 2021-09-26T03:28:33.000Z | orc8r/gateway/python/magma/state/keys.py | saurabhsoni88/magma | 4236c9d8edb7bd203707ff7e861b1f7c12fb84c7 | [
"BSD-3-Clause"
] | 151 | 2020-09-03T20:44:13.000Z | 2022-03-31T20:28:52.000Z | orc8r/gateway/python/magma/state/keys.py | kkahrs/magma | 73e666627dc28e0c492feab7321bb7d6dd433b09 | [
"BSD-3-Clause"
] | 1 | 2021-07-07T14:26:13.000Z | 2021-07-07T14:26:13.000Z | """
Copyright 2020 The Magma Authors.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES O... | 32 | 72 | 0.713867 | 153 | 1,024 | 4.686275 | 0.535948 | 0.055788 | 0.046025 | 0.036262 | 0.058577 | 0.058577 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 0.207031 | 1,024 | 31 | 73 | 33.032258 | 0.878079 | 0.633789 | 0 | 0 | 0 | 0 | 0.027356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
add150359a8d44d44d10df07661399de06373bb3 | 292 | py | Python | hacker/hackvm/tests/test_stack.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 1 | 2020-04-21T11:39:25.000Z | 2020-04-21T11:39:25.000Z | hacker/hackvm/tests/test_stack.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 7 | 2020-02-12T01:08:01.000Z | 2022-02-10T11:56:56.000Z | hacker/hackvm/tests/test_stack.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | null | null | null | from pytest import raises
from hacker.hackvm.stack import Stack
def test_stack():
stack = Stack()
stack.push(3)
stack.push(4)
assert stack.pop() == 4
stack.push(5)
assert stack.pop() == 5
assert stack.pop() == 3
with raises(Exception):
stack.pop() | 17.176471 | 37 | 0.613014 | 41 | 292 | 4.341463 | 0.414634 | 0.179775 | 0.235955 | 0.168539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02765 | 0.256849 | 292 | 17 | 38 | 17.176471 | 0.792627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.25 | 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 | 0 | 0 | 0 | 2 |
addbaf3cd39fe53b648c1b9d2fb529aa89eee9d7 | 2,314 | py | Python | test_print_snippets.py | MatejMecka/git-the-lines | be0d210bf11840e354380d4af096e8f72d477441 | [
"MIT"
] | null | null | null | test_print_snippets.py | MatejMecka/git-the-lines | be0d210bf11840e354380d4af096e8f72d477441 | [
"MIT"
] | null | null | null | test_print_snippets.py | MatejMecka/git-the-lines | be0d210bf11840e354380d4af096e8f72d477441 | [
"MIT"
] | null | null | null | from discord.ext.commands import Bot
import discord.ext.test as dpytest
import pytest
from cogs.print_snippets import PrintSnippets
@pytest.mark.asyncio
async def test_github():
bot = Bot(command_prefix='.')
bot.add_cog(PrintSnippets(bot))
dpytest.configure(bot)
# Test single line
await dpytes... | 40.596491 | 108 | 0.703544 | 326 | 2,314 | 4.941718 | 0.251534 | 0.074488 | 0.117939 | 0.148976 | 0.746741 | 0.726878 | 0.690875 | 0.663563 | 0.60149 | 0.577281 | 0 | 0.008289 | 0.113656 | 2,314 | 57 | 109 | 40.596491 | 0.777182 | 0.069576 | 0 | 0.323529 | 0 | 0.294118 | 0.475303 | 0.014911 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0.147059 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ade132ba84be07a680eb527330e2967f234a3553 | 869 | py | Python | src/sage/geometry/all.py | fchapoton/sage | 765c5cb3e24dd134708eca97e4c52e0221cd94ba | [
"BSL-1.0"
] | 4 | 2020-07-17T04:49:44.000Z | 2020-07-29T06:33:51.000Z | src/sage/geometry/all.py | Ivo-Maffei/sage | 467fbc70a08b552b3de33d9065204ee9cbfb02c7 | [
"BSL-1.0"
] | 1 | 2020-04-18T16:30:43.000Z | 2020-04-18T16:30:43.000Z | src/sage/geometry/all.py | dimpase/sage | 468f23815ade42a2192b0a9cd378de8fdc594dcd | [
"BSL-1.0"
] | 1 | 2020-07-23T10:40:14.000Z | 2020-07-23T10:40:14.000Z | from __future__ import absolute_import
from sage.misc.lazy_import import lazy_import
from .cone import Cone, random_cone
lazy_import('sage.geometry', 'cone_catalog', 'cones')
from .fan import Fan, FaceFan, NormalFan, Fan2d
from .fan_morphism import FanMorphism
from .polyhedron.all import *
from .lattice_polytope... | 26.333333 | 89 | 0.798619 | 100 | 869 | 6.69 | 0.43 | 0.089686 | 0.083707 | 0.13154 | 0.12855 | 0.12855 | 0 | 0 | 0 | 0 | 0 | 0.001318 | 0.126582 | 869 | 32 | 90 | 27.15625 | 0.880105 | 0 | 0 | 0 | 0 | 0 | 0.234753 | 0.187572 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.944444 | 0 | 0.944444 | 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 | 0 | 0 | 0 | 2 |
ade4876262843b03bbbccae2dd3abd6fa5ffce03 | 2,155 | py | Python | mlsurvey/sl/models/datapandas.py | jlaumonier/mlsurvey | 373598d067c7f0930ba13fe8da9756ce26eecbaf | [
"MIT"
] | null | null | null | mlsurvey/sl/models/datapandas.py | jlaumonier/mlsurvey | 373598d067c7f0930ba13fe8da9756ce26eecbaf | [
"MIT"
] | null | null | null | mlsurvey/sl/models/datapandas.py | jlaumonier/mlsurvey | 373598d067c7f0930ba13fe8da9756ce26eecbaf | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import mlsurvey as mls
from .data import Data
from .data_factory import DataFactory
class DataPandas(Data):
@property
def x(self):
return self._inner_data.iloc[:, 0:self.max_x_column].to_numpy()
@property
def x_df(self):
return self._inner_data... | 32.164179 | 89 | 0.582367 | 269 | 2,155 | 4.379182 | 0.223048 | 0.071307 | 0.054329 | 0.064516 | 0.366723 | 0.263158 | 0.263158 | 0.21562 | 0.162988 | 0.162988 | 0 | 0.003415 | 0.32065 | 2,155 | 66 | 90 | 32.651515 | 0.80123 | 0.058005 | 0 | 0.265306 | 0 | 0 | 0.021912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.183673 | false | 0 | 0.102041 | 0.122449 | 0.510204 | 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 | 0 | 1 | 1 | 0 | 0 | 2 |
adf979e0b5b7b620597051077366b9f1b2667275 | 3,453 | py | Python | cloudify_azure/constants.py | diaperrash/cloudify-azure-plugin | dc495c294931168b012b60427e36e5a0738f2292 | [
"Apache-2.0"
] | null | null | null | cloudify_azure/constants.py | diaperrash/cloudify-azure-plugin | dc495c294931168b012b60427e36e5a0738f2292 | [
"Apache-2.0"
] | null | null | null | cloudify_azure/constants.py | diaperrash/cloudify-azure-plugin | dc495c294931168b012b60427e36e5a0738f2292 | [
"Apache-2.0"
] | null | null | null | # #######
# Copyright (c) 2016 GigaSpaces Technologies Ltd. All rights reserved
#
# 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
#
# Unles... | 39.238636 | 79 | 0.792644 | 461 | 3,453 | 5.577007 | 0.383948 | 0.102684 | 0.192143 | 0.08168 | 0.338001 | 0.179697 | 0.040451 | 0 | 0 | 0 | 0 | 0.017417 | 0.118737 | 3,453 | 87 | 80 | 39.689655 | 0.827473 | 0.294237 | 0 | 0 | 0 | 0 | 0.579102 | 0.47671 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.019231 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bc0598c1e0985bf6144345ad3aa98e31485b3c71 | 556 | py | Python | src/gwauth/migrations/0006_auto_20201119_2353.py | gravitationalwavedc/gwcloud_auth | 83d2a4928aaf86884e0bfc0fff938106a7fcd132 | [
"MIT"
] | null | null | null | src/gwauth/migrations/0006_auto_20201119_2353.py | gravitationalwavedc/gwcloud_auth | 83d2a4928aaf86884e0bfc0fff938106a7fcd132 | [
"MIT"
] | 25 | 2020-06-01T05:18:30.000Z | 2022-02-28T03:29:48.000Z | src/gwauth/migrations/0006_auto_20201119_2353.py | gravitationalwavedc/gwcloud_auth | 83d2a4928aaf86884e0bfc0fff938106a7fcd132 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.17 on 2020-11-19 23:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gwauth', '0005_auto_20201028_0429'),
]
operations = [
migrations.AlterField(
model_name='gwclouduser',
name='first_... | 23.166667 | 50 | 0.586331 | 57 | 556 | 5.561404 | 0.631579 | 0.126183 | 0.157729 | 0.182965 | 0.498423 | 0.498423 | 0.22082 | 0 | 0 | 0 | 0 | 0.092784 | 0.302158 | 556 | 23 | 51 | 24.173913 | 0.724227 | 0.082734 | 0 | 0.470588 | 1 | 0 | 0.137795 | 0.045276 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bc0db344bcc22047eb19efbd1b896bb1eba0319f | 187 | py | Python | yadi/datalog2sql/query_data_structures/__init__.py | saltzm/yadi | 755790167c350e650c1e8b15c6f9209a97be9e42 | [
"BSD-3-Clause"
] | 2 | 2015-05-17T12:14:13.000Z | 2015-12-05T19:33:05.000Z | yadi/datalog2sql/query_data_structures/__init__.py | saltzm/yadi | 755790167c350e650c1e8b15c6f9209a97be9e42 | [
"BSD-3-Clause"
] | null | null | null | yadi/datalog2sql/query_data_structures/__init__.py | saltzm/yadi | 755790167c350e650c1e8b15c6f9209a97be9e42 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'Matthew Saltz'
__email__ = 'saltzm@gmail.com'
__version__ = '1.0.0'
__all__ = ["query", "element", "constraint", "relation"]
| 20.777778 | 56 | 0.647059 | 23 | 187 | 4.565217 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.13369 | 187 | 8 | 57 | 23.375 | 0.623457 | 0.224599 | 0 | 0 | 0 | 0 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
bc169670d39b587c22acbaf3a26b1be0ec423765 | 715 | py | Python | gateway/src/api_providers/transnet_api_provider.py | u-transnet/utransnet-gateway | bea4e99d2d5f404a5456adc453d0a73e7b19332c | [
"MIT"
] | null | null | null | gateway/src/api_providers/transnet_api_provider.py | u-transnet/utransnet-gateway | bea4e99d2d5f404a5456adc453d0a73e7b19332c | [
"MIT"
] | null | null | null | gateway/src/api_providers/transnet_api_provider.py | u-transnet/utransnet-gateway | bea4e99d2d5f404a5456adc453d0a73e7b19332c | [
"MIT"
] | null | null | null | from transnet.transnet import PrivateKey as TRNSPrivateKey, PublicKey as TRNSPublicKey
from transnet.account import Account as TRNSAccount
from transnet.asset import Asset as TRNSAsset
from transnet.amount import Amount as TRNSAmount
from transnet.storage import configStorage as TRNSConfig
from transnetbase import memo... | 35.75 | 86 | 0.81958 | 79 | 715 | 7.379747 | 0.405063 | 0.102916 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152448 | 715 | 20 | 87 | 35.75 | 0.962046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.470588 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
bc2bde4d5d139c0f894363c6edc04da67ef9e1a3 | 168 | py | Python | web/setup.py | anskarl/movie_rec | 59b65afd02e278ef9e13246c99b63d8e2bd1fe33 | [
"Apache-2.0"
] | 1 | 2019-05-31T07:15:51.000Z | 2019-05-31T07:15:51.000Z | web/setup.py | anskarl/movie_rec | 59b65afd02e278ef9e13246c99b63d8e2bd1fe33 | [
"Apache-2.0"
] | null | null | null | web/setup.py | anskarl/movie_rec | 59b65afd02e278ef9e13246c99b63d8e2bd1fe33 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(name='MovieRec',
version='0.1.0',
author='Anastasios Skarlatidis')
| 15.272727 | 38 | 0.636905 | 22 | 168 | 4.863636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.184524 | 168 | 10 | 39 | 16.8 | 0.751825 | 0.25 | 0 | 0 | 0 | 0 | 0.284553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.