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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
54f4dee1e082996d2b338ba7485bbe73877f7aaa | 862 | py | Python | custom_components/mintmobile/const.py | KTibow/HA-Mint-Mobile | 55ef863b09608e44e13399b4577893d5405b78be | [
"MIT"
] | null | null | null | custom_components/mintmobile/const.py | KTibow/HA-Mint-Mobile | 55ef863b09608e44e13399b4577893d5405b78be | [
"MIT"
] | null | null | null | custom_components/mintmobile/const.py | KTibow/HA-Mint-Mobile | 55ef863b09608e44e13399b4577893d5405b78be | [
"MIT"
] | null | null | null | """Constants for Mint Mobile."""
# Base component constants
NAME = "Mint Mobile"
DOMAIN = "mintmobile"
DOMAIN_DATA = f"{DOMAIN}_data"
VERSION = "0.0.1"
ATTRIBUTION = "Data provided by https://www.mintmobile.com"
ISSUE_URL = "https://github.com/ryanmac8/HA-Mint-Mobile/issues"
# Icons
ICON = "mdi:format-quote-close"
# ... | 22.102564 | 67 | 0.61949 | 100 | 862 | 5.22 | 0.65 | 0.076628 | 0.05364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007916 | 0.12065 | 862 | 38 | 68 | 22.684211 | 0.680739 | 0.136891 | 0 | 0.086957 | 0 | 0 | 0.631651 | 0.212824 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
54f4f311e4596bd1de01dafacb37382a57670135 | 3,481 | py | Python | train/train.py | danielwiegand/deforestation | bd3724337dc00dac23fce041baf547ebfb18449f | [
"MIT"
] | null | null | null | train/train.py | danielwiegand/deforestation | bd3724337dc00dac23fce041baf547ebfb18449f | [
"MIT"
] | null | null | null | train/train.py | danielwiegand/deforestation | bd3724337dc00dac23fce041baf547ebfb18449f | [
"MIT"
] | null | null | null | import pickle
from sklearn.model_selection import train_test_split
from wandb.keras import WandbCallback
import wandb
from functions import load_labels, predict_on_testset, create_model, create_callbacks, evaluate_model, generate_generators
# * LOAD DATA
y_labels, UNIQUE_LABELS = load_labels()
# weight_dict = get_... | 31.93578 | 165 | 0.633726 | 382 | 3,481 | 5.471204 | 0.340314 | 0.053589 | 0.031579 | 0.043062 | 0.236364 | 0.161722 | 0.161722 | 0.161722 | 0.108134 | 0.108134 | 0 | 0.007549 | 0.276932 | 3,481 | 109 | 166 | 31.93578 | 0.822805 | 0.054869 | 0 | 0.121212 | 0 | 0 | 0.095122 | 0.008537 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.075758 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
54f62fddebfeab781025a9ffbd2ce9bd49684a03 | 360 | py | Python | Clase 1/Ejemplos/04 - bucles (while, for)/while/while_true.py | GerardoPozzi/Fundamentals | 7a391ca3938c63782fd23d8e60177f461fb0ffce | [
"MIT"
] | 11 | 2021-05-12T16:39:02.000Z | 2021-09-06T16:46:37.000Z | Clase 1/Ejemplos/04 - bucles (while, for)/while/while_true.py | GerardoPozzi/Fundamentals | 7a391ca3938c63782fd23d8e60177f461fb0ffce | [
"MIT"
] | 1 | 2021-06-09T14:32:25.000Z | 2021-06-09T14:32:25.000Z | Clase 1/Ejemplos/04 - bucles (while, for)/while/while_true.py | GerardoPozzi/Fundamentals | 7a391ca3938c63782fd23d8e60177f461fb0ffce | [
"MIT"
] | 4 | 2021-05-20T17:38:04.000Z | 2021-06-16T03:01:58.000Z | # while_true.py
# cuenta indefinidamente hasta que se frene ejecutando Ctrl + C
import time # importamos el módulo time
n = 0
while True: # True es verdadero, así que el bucle inicia
print(n)
n += 1
time.sleep(0.5) # usamos el método sleep() para esperar 1/2 segundo
# a... | 22.5 | 74 | 0.644444 | 54 | 360 | 4.277778 | 0.759259 | 0.077922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.294444 | 360 | 15 | 75 | 24 | 0.885827 | 0.652778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
54f757a167eda4dbab0542fc88c420749882a126 | 1,730 | py | Python | src/blockchain/merkle_tree.py | TimHabeck/blockchain-lab | 3cd050ee43f26cf0a1f70869100f0b40a6abae07 | [
"RSA-MD"
] | null | null | null | src/blockchain/merkle_tree.py | TimHabeck/blockchain-lab | 3cd050ee43f26cf0a1f70869100f0b40a6abae07 | [
"RSA-MD"
] | null | null | null | src/blockchain/merkle_tree.py | TimHabeck/blockchain-lab | 3cd050ee43f26cf0a1f70869100f0b40a6abae07 | [
"RSA-MD"
] | null | null | null | import hashlib
import logging
from typing import List
class Tree_Node:
def __init__(self, left, right, value: str) -> None:
self.left: Tree_Node = left
self.right: Tree_Node = right
self.value = value
@staticmethod
def hash(val: str) -> str:
return hashlib.sha256(val.encod... | 32.037037 | 98 | 0.622543 | 221 | 1,730 | 4.669683 | 0.262443 | 0.131783 | 0.040698 | 0.069767 | 0.143411 | 0.063953 | 0 | 0 | 0 | 0 | 0 | 0.010895 | 0.257225 | 1,730 | 53 | 99 | 32.641509 | 0.792218 | 0.026012 | 0 | 0.05 | 0 | 0 | 0.002971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225 | false | 0 | 0.075 | 0.075 | 0.475 | 0.125 | 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 | 0 | 0 | 0 | 1 |
54fdcd652de45960a3d138c6be1dd08709fd03e2 | 667 | py | Python | 04_sentiment_classify.py | 7125messi/sentiment_analysis_from_raw_corpus | 0bfdaaaa708b51f733dcae1d995eaadf93fa63ae | [
"Apache-2.0"
] | 21 | 2019-07-08T02:27:36.000Z | 2022-03-08T03:05:25.000Z | 04_sentiment_classify.py | 7125messi/sentiment_analysis_from_raw_corpus | 0bfdaaaa708b51f733dcae1d995eaadf93fa63ae | [
"Apache-2.0"
] | null | null | null | 04_sentiment_classify.py | 7125messi/sentiment_analysis_from_raw_corpus | 0bfdaaaa708b51f733dcae1d995eaadf93fa63ae | [
"Apache-2.0"
] | 4 | 2019-08-12T07:06:38.000Z | 2021-03-30T07:32:00.000Z | with open('./data/corpus_result01.txt',mode='r',encoding='utf-8') as fr:
with open('./data/pos.csv',mode='w',encoding='utf-8') as f1:
with open('./data/neutral.csv', mode='w', encoding='utf-8') as f2:
with open('./data/neg.csv', mode='w', encoding='utf-8') as f3:
for line in fr.r... | 60.636364 | 74 | 0.446777 | 90 | 667 | 3.3 | 0.377778 | 0.181818 | 0.161616 | 0.188552 | 0.491582 | 0.43771 | 0.43771 | 0.215488 | 0.215488 | 0 | 0 | 0.046563 | 0.323838 | 667 | 11 | 75 | 60.636364 | 0.611973 | 0 | 0 | 0 | 0 | 0 | 0.152695 | 0.038922 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 |
54ff535abd8f35632885e2046a56f90eef02e820 | 1,945 | py | Python | cyborg/api/controllers/v2/__init__.py | ns-sundar/cyborg1 | bd184c688cabd4c1edf9f4063fee9498de77f7ad | [
"Apache-2.0"
] | null | null | null | cyborg/api/controllers/v2/__init__.py | ns-sundar/cyborg1 | bd184c688cabd4c1edf9f4063fee9498de77f7ad | [
"Apache-2.0"
] | null | null | null | cyborg/api/controllers/v2/__init__.py | ns-sundar/cyborg1 | bd184c688cabd4c1edf9f4063fee9498de77f7ad | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Huawei Technologies Co.,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
#
# Unl... | 29.923077 | 78 | 0.675064 | 249 | 1,945 | 5.216867 | 0.457831 | 0.048499 | 0.060046 | 0.092379 | 0.202463 | 0.073903 | 0 | 0 | 0 | 0 | 0 | 0.015436 | 0.233933 | 1,945 | 64 | 79 | 30.390625 | 0.856376 | 0.370694 | 0 | 0 | 0 | 0 | 0.040744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.290323 | 0.032258 | 0.645161 | 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 | 0 | 1 | 0 | 0 | 1 |
0702dde70425c5d4155854f5485dec77ccbdcad9 | 1,944 | py | Python | app/scripts.py | alexherns/sciral-ocf-dev | 6710ccec7f7d46e23039da4072311f60ba638a22 | [
"MIT"
] | null | null | null | app/scripts.py | alexherns/sciral-ocf-dev | 6710ccec7f7d46e23039da4072311f60ba638a22 | [
"MIT"
] | null | null | null | app/scripts.py | alexherns/sciral-ocf-dev | 6710ccec7f7d46e23039da4072311f60ba638a22 | [
"MIT"
] | null | null | null | from app import models
def fetch_articles(data):
articles = load_altmetric_data(data)
return articles
# article must have almetric ID and title. Other fields are optional, but
# will be retrieved if possible
articles = fetch_from_pubmed(articles)
def query_local_database(query):
return sorte... | 36.679245 | 133 | 0.625514 | 250 | 1,944 | 4.776 | 0.444 | 0.060302 | 0.050251 | 0.035176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01244 | 0.255658 | 1,944 | 52 | 134 | 37.384615 | 0.812716 | 0.072016 | 0 | 0.166667 | 0 | 0.02381 | 0.147778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.095238 | null | null | 0.02381 | 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 | 0 | 0 | 1 |
070385fe27c9d51ddc9728d93c241c2ae619ca44 | 6,599 | py | Python | mimic/person.py | ramazanpolat/mimic | ac2c0b749d7027147acb2f48eb7c0edc3480b643 | [
"MIT"
] | null | null | null | mimic/person.py | ramazanpolat/mimic | ac2c0b749d7027147acb2f48eb7c0edc3480b643 | [
"MIT"
] | null | null | null | mimic/person.py | ramazanpolat/mimic | ac2c0b749d7027147acb2f48eb7c0edc3480b643 | [
"MIT"
] | null | null | null | import random
class Person:
female_names = ['Olivia',
'Emma',
'Ava',
'Sophia',
'Isabella',
'Charlotte',
'Amelia',
'Mia',
'Harper',
'Ev... | 28.443966 | 108 | 0.343688 | 464 | 6,599 | 4.784483 | 0.469828 | 0.063063 | 0.027027 | 0.028829 | 0.182883 | 0.182883 | 0.143243 | 0.143243 | 0.143243 | 0.114414 | 0 | 0.008483 | 0.535536 | 6,599 | 231 | 109 | 28.5671 | 0.715824 | 0 | 0 | 0.142857 | 0 | 0 | 0.166843 | 0.015002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050691 | false | 0.004608 | 0.004608 | 0.018433 | 0.133641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 |
070ae0bda5aadbb86ce03eb737a65665e13eea37 | 2,304 | py | Python | code/python/examples/cryptography/crypto.py | langer-jaros/learning | 446c0b4c425bda9077f222558817a2adf6a98b5c | [
"MIT"
] | null | null | null | code/python/examples/cryptography/crypto.py | langer-jaros/learning | 446c0b4c425bda9077f222558817a2adf6a98b5c | [
"MIT"
] | null | null | null | code/python/examples/cryptography/crypto.py | langer-jaros/learning | 446c0b4c425bda9077f222558817a2adf6a98b5c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# [pycryptodome (stackoverflow)](https://stackoverflow.com/questions/43987779/python-module-crypto-cipher-aes-has-no-attribute-mode-ccm-even-though-pycry)
# pip3 install pycryptodome
import hashlib
# [pycryptodome.readthedocs.io](https://pycryptodome.readthedocs.io/en/la... | 38.4 | 337 | 0.740885 | 287 | 2,304 | 5.780488 | 0.383275 | 0.07173 | 0.03255 | 0.025316 | 0.12598 | 0.107294 | 0.047016 | 0.047016 | 0.047016 | 0.047016 | 0 | 0.06403 | 0.078125 | 2,304 | 59 | 338 | 39.050847 | 0.717043 | 0.406684 | 0 | 0 | 0 | 0.034483 | 0.383247 | 0.254262 | 0 | 0 | 0 | 0.016949 | 0 | 1 | 0.068966 | false | 0 | 0.172414 | 0 | 0.241379 | 0.103448 | 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 | 0 | 0 | 0 | 1 |
070cf107d3c8ea7b2f0baf90ff1172a357fa4a33 | 38,639 | py | Python | project/Gomoku/nn/GoBang.py | czfshine/OOP | a8ce55b11e83a0cb8350f2c35ccaa0207e1ebd2f | [
"MIT"
] | null | null | null | project/Gomoku/nn/GoBang.py | czfshine/OOP | a8ce55b11e83a0cb8350f2c35ccaa0207e1ebd2f | [
"MIT"
] | null | null | null | project/Gomoku/nn/GoBang.py | czfshine/OOP | a8ce55b11e83a0cb8350f2c35ccaa0207e1ebd2f | [
"MIT"
] | null | null | null | #coding=utf-8
'''
这是主程序,主要定义了Gobang和Robot两个对象:
1.Gobang主要是图像界面交互的实现。
2.Robot是基于五子棋的一些基本规则写出来的一个简单智能程序,不包含
神经网络的搭建。
'''
from tkinter import *
from tkinter.ttk import *
import math
from tkinter.filedialog import askopenfilename
from tkinter.filedialog import asksaveasfile
from SGFfile import SGFflie
import os
from CNN i... | 44.158857 | 124 | 0.483035 | 4,541 | 38,639 | 4.053292 | 0.06122 | 0.235358 | 0.158427 | 0.040259 | 0.759698 | 0.694013 | 0.666739 | 0.640498 | 0.617842 | 0.598555 | 0 | 0.079425 | 0.388054 | 38,639 | 874 | 125 | 44.209382 | 0.699006 | 0.008282 | 0 | 0.6 | 0 | 0 | 0.007792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.01 | 0 | 0.195 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
070f32c5d37adae9d1724f39c747ac76aa36f947 | 472 | py | Python | collections/ordereddict.py | sassy/practice-python | 81421f3c3bf9c8410a32f3cf0aec002505b77124 | [
"MIT"
] | 1 | 2020-08-05T11:37:54.000Z | 2020-08-05T11:37:54.000Z | collections/ordereddict.py | sassy/practice-python | 81421f3c3bf9c8410a32f3cf0aec002505b77124 | [
"MIT"
] | null | null | null | collections/ordereddict.py | sassy/practice-python | 81421f3c3bf9c8410a32f3cf0aec002505b77124 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from collections import OrderedDict
def main():
d = OrderedDict.fromkeys('abcde')
print(''.join(d.keys()))
d.move_to_end('b')
print(''.join(d.keys()))
d.move_to_end('b', last=False)
print(''.join(d.keys()))
d2 = OrderedDict()
d2['a'] = 1
d2['b'] = 2
d2['c... | 20.521739 | 37 | 0.550847 | 69 | 472 | 3.565217 | 0.449275 | 0.182927 | 0.121951 | 0.170732 | 0.280488 | 0.280488 | 0.203252 | 0.203252 | 0.203252 | 0 | 0 | 0.02965 | 0.213983 | 472 | 23 | 38 | 20.521739 | 0.633423 | 0.042373 | 0 | 0.277778 | 0 | 0 | 0.042035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 0.333333 | 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 | 0 | 0 | 1 |
071445fb5e6b570a3f1d5e00e331e9caf5256b86 | 629 | py | Python | petstagram/petstagram/pets/migrations/0006_like_user.py | nrgxtra/web_framework | dd84968a77b84a03d66c5db190b28bffc479f05e | [
"MIT"
] | null | null | null | petstagram/petstagram/pets/migrations/0006_like_user.py | nrgxtra/web_framework | dd84968a77b84a03d66c5db190b28bffc479f05e | [
"MIT"
] | null | null | null | petstagram/petstagram/pets/migrations/0006_like_user.py | nrgxtra/web_framework | dd84968a77b84a03d66c5db190b28bffc479f05e | [
"MIT"
] | null | null | null | # Generated by Django 4.0.3 on 2022-03-31 08:05
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('pets', '0005_... | 27.347826 | 122 | 0.63911 | 72 | 629 | 5.444444 | 0.597222 | 0.061224 | 0.071429 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042918 | 0.259141 | 629 | 22 | 123 | 28.590909 | 0.798283 | 0.071542 | 0 | 0 | 1 | 0 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0715ccb186a972c9662f466a843d392fdb203da0 | 1,480 | py | Python | swali/routes/auth.py | bokal2/Swali-Jibu | 7ba6856f1c5ebd340bb0072f32c83f62cb55f303 | [
"MIT"
] | null | null | null | swali/routes/auth.py | bokal2/Swali-Jibu | 7ba6856f1c5ebd340bb0072f32c83f62cb55f303 | [
"MIT"
] | null | null | null | swali/routes/auth.py | bokal2/Swali-Jibu | 7ba6856f1c5ebd340bb0072f32c83f62cb55f303 | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template, request, redirect, url_for
from flask_login import login_user, logout_user
from werkzeug.security import check_password_hash
from maswali.extensions import db
from maswali.models import User
auth = Blueprint('auth', __name__)
@auth.route('/register', methods=['G... | 28.461538 | 75 | 0.619595 | 172 | 1,480 | 5.174419 | 0.331395 | 0.049438 | 0.062921 | 0.067416 | 0.260674 | 0.229213 | 0.085393 | 0.085393 | 0 | 0 | 0 | 0 | 0.262838 | 1,480 | 52 | 76 | 28.461538 | 0.815765 | 0 | 0 | 0.157895 | 0 | 0 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0.131579 | 0.131579 | 0 | 0.342105 | 0.052632 | 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 | 0 | 0 | 0 | 1 |
0719a06d2e9ceedc1bcb6bde7e13395246e62492 | 612 | py | Python | setup.py | norheim/pextant | f4235719279c0e6f178ae1e0f8b1ea3346533915 | [
"MIT"
] | null | null | null | setup.py | norheim/pextant | f4235719279c0e6f178ae1e0f8b1ea3346533915 | [
"MIT"
] | 1 | 2019-12-03T03:52:41.000Z | 2019-12-04T14:50:36.000Z | setup.py | norheim/pextant | f4235719279c0e6f178ae1e0f8b1ea3346533915 | [
"MIT"
] | 1 | 2019-12-03T02:37:57.000Z | 2019-12-03T02:37:57.000Z | from distutils.core import setup
from distutils.core import setup
setup(
name='pextant',
packages=['pextant'],
version='1.0',
author='Johannes Norheim',
author_email='norheim@mit.edu',
url='http://pypi.python.org/pypi/pextant/',
download_url = 'https://github.com/norheim/pextant/archive/1.0.tar... | 38.25 | 82 | 0.696078 | 77 | 612 | 5.493506 | 0.662338 | 0.061466 | 0.080378 | 0.108747 | 0.132388 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.140523 | 612 | 16 | 83 | 38.25 | 0.796578 | 0.029412 | 0 | 0.125 | 0 | 0 | 0.467116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
0722915efd7c2a8b27125b88d4cb770a18629632 | 300 | py | Python | bc/recruitment_api/constants.py | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | 1 | 2021-02-27T07:27:17.000Z | 2021-02-27T07:27:17.000Z | bc/recruitment_api/constants.py | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | null | null | null | bc/recruitment_api/constants.py | Buckinghamshire-Digital-Service/buckinghamshire-council | bbbdb52b515bcdfc79a2bd9198dfa4828405370e | [
"BSD-3-Clause"
] | 1 | 2021-06-09T15:56:54.000Z | 2021-06-09T15:56:54.000Z | BLEACH_ALLOWED_TAGS = [
"a",
"address",
"br",
"dd",
"div",
"dl",
"dt",
"em",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"li",
"ol",
"p",
"span",
"strong",
"sup",
"ul",
]
BLEACH_ALLOWED_ATTRIBUTES = {"a": ["href", "title"]}
| 12 | 52 | 0.356667 | 30 | 300 | 3.433333 | 0.9 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.38 | 300 | 24 | 53 | 12.5 | 0.521505 | 0 | 0 | 0 | 0 | 0 | 0.21 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0724e5dc007dd4284487beb6f6ea052c427d803a | 524 | py | Python | src/services/ContextAnalysisApiService.py | lss8/projeto-ic | c4bad14eedf750661ef51c7dee4613c7ea452ffc | [
"MIT"
] | null | null | null | src/services/ContextAnalysisApiService.py | lss8/projeto-ic | c4bad14eedf750661ef51c7dee4613c7ea452ffc | [
"MIT"
] | null | null | null | src/services/ContextAnalysisApiService.py | lss8/projeto-ic | c4bad14eedf750661ef51c7dee4613c7ea452ffc | [
"MIT"
] | null | null | null | import os
from src.utils import RequestPerformer
class ContextAnalysisApiService(object):
API_BASE_URL = os.environ["MACHINE_LEARNING_FOR_KIDS_API_CLASSIFY_URL"]
def __init__(self):
self.request_client = RequestPerformer()
def get_phrase_analysis(self, phrase):
response = self.request_cli... | 30.823529 | 76 | 0.679389 | 59 | 524 | 5.661017 | 0.59322 | 0.08982 | 0.05988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002445 | 0.219466 | 524 | 16 | 77 | 32.75 | 0.814181 | 0 | 0 | 0 | 0 | 0 | 0.15458 | 0.080153 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
072958d4873fa039dfa862e4c8061dcab83ec879 | 10,273 | py | Python | linux/lib/python2.7/dist-packages/blueman/main/applet/BluezAgent.py | nmercier/linux-cross-gcc | a5b0028fd2b72ec036a4725e93ba29d73cb753a6 | [
"BSD-3-Clause"
] | 3 | 2015-10-31T10:39:25.000Z | 2019-04-27T20:19:33.000Z | linux/lib/python2.7/dist-packages/blueman/main/applet/BluezAgent.py | nmercier/linux-cross-gcc | a5b0028fd2b72ec036a4725e93ba29d73cb753a6 | [
"BSD-3-Clause"
] | null | null | null | linux/lib/python2.7/dist-packages/blueman/main/applet/BluezAgent.py | nmercier/linux-cross-gcc | a5b0028fd2b72ec036a4725e93ba29d73cb753a6 | [
"BSD-3-Clause"
] | null | null | null | import dbus
import dbus.glib
import dbus.service
import os.path
from blueman.Functions import get_icon, dprint
from gi.repository import Gtk
from gi.repository import GObject
from gi.types import GObjectMeta
import cgi
import blueman.bluez as Bluez
from blueman.Sdp import *
from blueman.Constants import *
from blueman.... | 34.823729 | 119 | 0.622311 | 1,158 | 10,273 | 5.274611 | 0.170121 | 0.032744 | 0.025213 | 0.020629 | 0.434021 | 0.346758 | 0.31074 | 0.304846 | 0.252456 | 0.216437 | 0 | 0.003579 | 0.265648 | 10,273 | 294 | 120 | 34.942177 | 0.806071 | 0.021707 | 0 | 0.347639 | 0 | 0 | 0.119275 | 0.017423 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11588 | false | 0.11588 | 0.060086 | 0 | 0.223176 | 0.064378 | 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 | 0 | 0 | 0 | 1 |
073108e61e467c4155866192c0dc72ac5145dc86 | 657 | py | Python | pjproject_android/tests/pjsua/scripts-sendto/159_no_rport_nit.py | WachterJud/qaul.net_legacy | 9c2be0a38ad6e90fadc0d1150340e37d220997ae | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 4 | 2016-09-29T00:04:31.000Z | 2021-12-02T08:39:51.000Z | pjproject_android/tests/pjsua/scripts-sendto/159_no_rport_nit.py | WachterJud/qaul.net_legacy | 9c2be0a38ad6e90fadc0d1150340e37d220997ae | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2020-02-20T06:58:16.000Z | 2020-02-20T07:08:07.000Z | my_softphone/pjproject-2.9/tests/pjsua/scripts-sendto/159_no_rport_nit.py | sashkaseltsov1/reposCpp | 3ff5ce2a14a368a36b1758099ce4f3e8c4cdf11d | [
"Unlicense"
] | 5 | 2019-07-02T02:03:24.000Z | 2022-03-30T09:58:52.000Z | # $Id: 159_no_rport_nit.py 2442 2009-02-06 08:44:23Z bennylp $
import inc_sip as sip
import inc_sdp as sdp
# Ticket http://trac.pjsip.org/repos/ticket/718
# RTC doesn't put rport in Via, and it is reported to have caused segfault.
#
complete_msg = \
"""MESSAGE sip:localhost SIP/2.0
Via: SIP/2.0/UDP localhost:$LOCAL_PO... | 25.269231 | 78 | 0.73516 | 112 | 657 | 4.223214 | 0.705357 | 0.069767 | 0.021142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 0.13242 | 657 | 25 | 79 | 26.28 | 0.742105 | 0.273973 | 0 | 0 | 0 | 0 | 0.219895 | 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 | 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 | 1 |
07329900c59a7c39a3efd2ba33874f96ce85f76f | 8,540 | py | Python | sdk/python/core/tests/test_netconf_operations.py | xulleon/ydk-gen | 2a6e8bd89e3cdae4287297a3d02cdeaa838744bc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/core/tests/test_netconf_operations.py | xulleon/ydk-gen | 2a6e8bd89e3cdae4287297a3d02cdeaa838744bc | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-03-09T16:30:36.000Z | 2021-08-31T11:22:53.000Z | sdk/python/core/tests/test_netconf_operations.py | xulleon/ydk-gen | 2a6e8bd89e3cdae4287297a3d02cdeaa838744bc | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-02-18T13:33:21.000Z | 2021-02-18T13:33:21.000Z | # ----------------------------------------------------------------
# Copyright 2016 Cisco Systems
#
# 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/LICENS... | 35.144033 | 123 | 0.649766 | 1,134 | 8,540 | 4.771605 | 0.176367 | 0.032526 | 0.052855 | 0.046572 | 0.678433 | 0.674737 | 0.653114 | 0.63759 | 0.631122 | 0.614674 | 0 | 0.014198 | 0.2 | 8,540 | 242 | 124 | 35.289256 | 0.77781 | 0.399766 | 0 | 0.508197 | 0 | 0 | 0.0131 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 1 | 0.07377 | false | 0.008197 | 0.090164 | 0 | 0.172131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
0736d2217c857a8ab6136550a92364709cdc348f | 2,577 | py | Python | tensorflow/python/keras/tests/serialization_util_test.py | freewind2016/tensorflow | 84d6b43f5fc72c9ac5eb0fc95b91b23f532a2738 | [
"Apache-2.0"
] | 3 | 2021-07-07T12:34:59.000Z | 2022-03-02T14:56:00.000Z | tensorflow/python/keras/tests/serialization_util_test.py | freewind2016/tensorflow | 84d6b43f5fc72c9ac5eb0fc95b91b23f532a2738 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/keras/tests/serialization_util_test.py | freewind2016/tensorflow | 84d6b43f5fc72c9ac5eb0fc95b91b23f532a2738 | [
"Apache-2.0"
] | 1 | 2021-08-01T09:36:58.000Z | 2021-08-01T09:36:58.000Z | # Copyright 2018 The TensorFlow Authors. 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
#
# Unless required by applica... | 37.897059 | 80 | 0.718277 | 339 | 2,577 | 5.306785 | 0.40413 | 0.070039 | 0.100056 | 0.08338 | 0.310728 | 0.225681 | 0.148972 | 0.086715 | 0.086715 | 0.086715 | 0 | 0.012698 | 0.144354 | 2,577 | 67 | 81 | 38.462687 | 0.803175 | 0.299573 | 0 | 0.097561 | 0 | 0 | 0.04204 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 1 | 0.073171 | false | 0 | 0.317073 | 0 | 0.414634 | 0.02439 | 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 | 0 | 0 | 1 |
073f27849f06523cecfac0542d01ac28a8b44163 | 989 | py | Python | Demos/camera_demo.py | ai-lab-science/LEGORoboticsPython | b16ed204664512e8afb2e8506141ca929e5974f8 | [
"MIT"
] | null | null | null | Demos/camera_demo.py | ai-lab-science/LEGORoboticsPython | b16ed204664512e8afb2e8506141ca929e5974f8 | [
"MIT"
] | null | null | null | Demos/camera_demo.py | ai-lab-science/LEGORoboticsPython | b16ed204664512e8afb2e8506141ca929e5974f8 | [
"MIT"
] | 1 | 2020-02-14T10:23:28.000Z | 2020-02-14T10:23:28.000Z | #!/usr/bin/env pybricks-micropython
from pybricks.hubs import EV3Brick
from pybricks.parameters import (Port, Button)
from pybricks.tools import print, wait
from pybricks.ev3devices import ColorSensor
import time
import math
#Fuege den Tools Ordner zum PYTHONPATH hinzu. Nicht notwendig wenn TOF.py im selben Ordner i... | 24.725 | 94 | 0.724975 | 145 | 989 | 4.889655 | 0.606897 | 0.067701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02509 | 0.153691 | 989 | 39 | 95 | 25.358974 | 0.821983 | 0.337715 | 0 | 0 | 0 | 0 | 0.075851 | 0.055728 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.380952 | 0 | 0.380952 | 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 | 0 | 0 | 0 | 1 |
074e875dcec30384620b21b04c6afa2ac52fcda6 | 349 | py | Python | app/__init__.py | Marcoror150/MSCS-Project | 18cf43df288d34b930ce0dd18dba67b41c4bd4c6 | [
"MIT"
] | null | null | null | app/__init__.py | Marcoror150/MSCS-Project | 18cf43df288d34b930ce0dd18dba67b41c4bd4c6 | [
"MIT"
] | 2 | 2019-12-28T05:31:10.000Z | 2021-06-02T03:24:49.000Z | app/__init__.py | Marcoror150/MSCS-Project | 18cf43df288d34b930ce0dd18dba67b41c4bd4c6 | [
"MIT"
] | null | null | null | import os
from flask import Flask
app = Flask(__name__)
from app import routes, errors
PORT = os.getenv('PORT', '5000')
# run the app.
if __name__ == "__main__":
# Setting debug to True enables debug output. This line should be
# removed before deploying a production app.
app.debug = True
app.run(ho... | 23.266667 | 69 | 0.690544 | 55 | 349 | 4.163636 | 0.6 | 0.026201 | 0.026201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.197708 | 349 | 15 | 70 | 23.266667 | 0.789286 | 0.340974 | 0 | 0 | 0 | 0 | 0.101322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 | 0 | 0 | 0 | 1 |
074e9077bcb7005d10ea2e66caea2a450287b0ed | 572 | py | Python | tasks/__init__.py | datalogics/conan-tesseract | 5de631c4db052e09668f4ec90486868ed5b4f8fe | [
"MIT"
] | null | null | null | tasks/__init__.py | datalogics/conan-tesseract | 5de631c4db052e09668f4ec90486868ed5b4f8fe | [
"MIT"
] | 3 | 2018-07-09T16:07:44.000Z | 2020-01-31T19:17:10.000Z | tasks/__init__.py | datalogics/conan-tesseract | 5de631c4db052e09668f4ec90486868ed5b4f8fe | [
"MIT"
] | 3 | 2018-06-22T18:13:41.000Z | 2021-08-04T12:33:58.000Z | from dl_conan_build_tools.tasks import build, conan
from invoke import Collection
from invoke.tasks import Task
# It's possible to define some per-project tasks here as well
# Make a top level task list for this module
tasks = [v for v in locals().values() if isinstance(v, Task)]
# And include at the top level, all ... | 31.777778 | 85 | 0.755245 | 99 | 572 | 4.30303 | 0.545455 | 0.056338 | 0.051643 | 0.075117 | 0.122066 | 0.122066 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162587 | 572 | 17 | 86 | 33.647059 | 0.889353 | 0.498252 | 0 | 0 | 0 | 0 | 0.039146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 1 |
074faad8dcd96d4112fb016d7eed008eba16b94e | 6,828 | py | Python | torchVisionTester/DetectionWriter.py | robotic-vision-lab/Deep-Ensembles-For-Probabilistic-Object-Detection | 82fd36376694f447ccb5564c7af4cc6128b3ea60 | [
"Apache-2.0"
] | 1 | 2022-02-04T13:13:50.000Z | 2022-02-04T13:13:50.000Z | torchVisionTester/DetectionWriter.py | robotic-vision-lab/Deep-Ensembles-For-Probabilistic-Object-Detection | 82fd36376694f447ccb5564c7af4cc6128b3ea60 | [
"Apache-2.0"
] | null | null | null | torchVisionTester/DetectionWriter.py | robotic-vision-lab/Deep-Ensembles-For-Probabilistic-Object-Detection | 82fd36376694f447ccb5564c7af4cc6128b3ea60 | [
"Apache-2.0"
] | null | null | null | import json
import pdb
from torchVisionTester.class_list import *
from torchVisionTester.Debugger import Debugger as De
e,d = exec, De()
e(d.gIS())
class DetectionJSON:
def __init__(self):
self.class_list = self.readLines('class_list.txt')
self.classIndices = self.getClassIndicesFromCoco()
... | 35.015385 | 256 | 0.533392 | 671 | 6,828 | 5.390462 | 0.265276 | 0.0282 | 0.015482 | 0.01493 | 0.189936 | 0.150401 | 0.098977 | 0.0658 | 0.0658 | 0.0658 | 0 | 0.013381 | 0.387083 | 6,828 | 194 | 257 | 35.195876 | 0.850896 | 0.40246 | 0 | 0.030303 | 0 | 0 | 0.036066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0 | 0.060606 | 0 | 0.469697 | 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 | 0 | 0 | 0 | 1 |
07512a62f807e9fa77de17d6a2ff9d1cd1a4d2b5 | 4,122 | py | Python | airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/samples/test_data_for_tranform.py | abalustre/airbyte | e629613588620e8a4c48b155e0f414f41a005bd0 | [
"MIT"
] | 1 | 2021-11-04T07:55:40.000Z | 2021-11-04T07:55:40.000Z | airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/samples/test_data_for_tranform.py | Outoftheblue-ai/airbyte | 98b18fd852ec70dafe02fb3ffe45b1ac30345cd0 | [
"MIT"
] | 1 | 2021-11-01T10:44:54.000Z | 2021-11-01T10:47:42.000Z | airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/samples/test_data_for_tranform.py | Outoftheblue-ai/airbyte | 98b18fd852ec70dafe02fb3ffe45b1ac30345cd0 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2021 Airbyte, Inc., all rights reserved.
#
""" This is the example of input record for the test_tranform_data. """
input_test_data = [
{
"targetingCriteria": {
"include": {
"and": [
{
"or": {
... | 35.534483 | 98 | 0.35444 | 282 | 4,122 | 5.099291 | 0.326241 | 0.111266 | 0.097357 | 0.086926 | 0.33936 | 0.201669 | 0.175243 | 0.141864 | 0.141864 | 0.141864 | 0 | 0.097943 | 0.504609 | 4,122 | 115 | 99 | 35.843478 | 0.606268 | 0.029112 | 0 | 0.296296 | 0 | 0 | 0.346585 | 0.123344 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
0751c4528474ffc4127de820c8dab2add95c1f3b | 573 | py | Python | executaveis/22_else_media.py | pro-pedropaulo/estudo_python | 715a63c72d8b4ea2449e74617400f2bf37b19951 | [
"MIT"
] | null | null | null | executaveis/22_else_media.py | pro-pedropaulo/estudo_python | 715a63c72d8b4ea2449e74617400f2bf37b19951 | [
"MIT"
] | null | null | null | executaveis/22_else_media.py | pro-pedropaulo/estudo_python | 715a63c72d8b4ea2449e74617400f2bf37b19951 | [
"MIT"
] | null | null | null | n1 = float(input('Digite a primeira nota '))
n2 = float(input('Digite a segunda nota '))
n3 = float(input('Digite a terceira nota '))
n4 = float(input('Digite a quarta nota '))
media = (n1 + n2 + n3 + n4) / 4
print('A sua média foi {}'.format(media))
if media > 7 and media <= 9:
print('Parabéns voce foi aprovado')... | 33.705882 | 66 | 0.663176 | 91 | 573 | 4.175824 | 0.538462 | 0.105263 | 0.168421 | 0.178947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036957 | 0.197208 | 573 | 16 | 67 | 35.8125 | 0.78913 | 0 | 0 | 0 | 0 | 0 | 0.448517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 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 | 0 | 0 | 1 |
0752b0154e2d1513817614173f7874aa31ed4af3 | 1,753 | py | Python | jobs/appointment_reminder/flush_expired_draft_appointments.py | josekudiyirippil/queue-management | e56a987e14cfd2b50b820f679c7669060450da8e | [
"Apache-2.0"
] | 30 | 2018-09-19T03:30:51.000Z | 2022-03-07T02:57:05.000Z | jobs/appointment_reminder/flush_expired_draft_appointments.py | josekudiyirippil/queue-management | e56a987e14cfd2b50b820f679c7669060450da8e | [
"Apache-2.0"
] | 159 | 2018-09-17T23:45:58.000Z | 2022-03-30T17:35:05.000Z | jobs/appointment_reminder/flush_expired_draft_appointments.py | josekudiyirippil/queue-management | e56a987e14cfd2b50b820f679c7669060450da8e | [
"Apache-2.0"
] | 52 | 2018-05-18T18:30:06.000Z | 2021-08-25T12:00:29.000Z | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 25.042857 | 74 | 0.705647 | 243 | 1,753 | 4.971193 | 0.547325 | 0.049669 | 0.021523 | 0.02649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.201369 | 1,753 | 69 | 75 | 25.405797 | 0.856429 | 0.483742 | 0 | 0 | 0 | 0 | 0.12313 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 1 | 0.178571 | false | 0 | 0.214286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
07544cd5ee994901e3d191d2d8bde4562031d04b | 2,720 | py | Python | tests/integration_tests/test_get_single.py | gregchagnon/orm.cloud | c783480eef38c032194eec29e4bb3b406f787cd6 | [
"Apache-2.0"
] | null | null | null | tests/integration_tests/test_get_single.py | gregchagnon/orm.cloud | c783480eef38c032194eec29e4bb3b406f787cd6 | [
"Apache-2.0"
] | 17 | 2019-06-04T02:15:52.000Z | 2019-06-20T01:03:10.000Z | tests/integration_tests/test_get_single.py | gregchagnon/orm.cloud | c783480eef38c032194eec29e4bb3b406f787cd6 | [
"Apache-2.0"
] | null | null | null | import os
import unittest
import logging
from orm_cloud import RequestRouter
from orm_cloud.configuration import Configuration
from tests.thing import Thing
json = """
{
"body": "eyJ0ZXN0IjoiYm9keSJ9",
"resource": "/thing/{thing_id}",
"path": "/thing/2",
"httpMethod": "GET",
"isBase64Encoded": true,
"quer... | 30.561798 | 91 | 0.654044 | 301 | 2,720 | 5.787375 | 0.524917 | 0.041332 | 0.027555 | 0.036739 | 0.055109 | 0.055109 | 0 | 0 | 0 | 0 | 0 | 0.066519 | 0.170956 | 2,720 | 88 | 92 | 30.909091 | 0.705987 | 0 | 0 | 0 | 0 | 0.025 | 0.759926 | 0.271324 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0125 | false | 0.0125 | 0.075 | 0 | 0.1125 | 0.0125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0755d8d48709661aa969fd85e72449f715ee6643 | 1,189 | py | Python | 162_peak_elem_logTime.py | ojhaanshu87/LeetCode | e6e4a15c4bb9f01b67c50689be3ead6c6d5df155 | [
"Unlicense"
] | null | null | null | 162_peak_elem_logTime.py | ojhaanshu87/LeetCode | e6e4a15c4bb9f01b67c50689be3ead6c6d5df155 | [
"Unlicense"
] | null | null | null | 162_peak_elem_logTime.py | ojhaanshu87/LeetCode | e6e4a15c4bb9f01b67c50689be3ead6c6d5df155 | [
"Unlicense"
] | null | null | null | ```
A peak element is an element that is greater than its neighbors.
Given an input array nums, where nums[i] ≠ nums[i+1], find a peak element and return its index.
The array may contain multiple peaks, in that case return the index to any one of the peaks is fine.
You may imagine that nums[-1] = nums[n] = -∞.
Exam... | 29 | 100 | 0.605551 | 186 | 1,189 | 3.88172 | 0.392473 | 0.076177 | 0.049862 | 0.041551 | 0.099723 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036452 | 0.307822 | 1,189 | 40 | 101 | 29.725 | 0.838396 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
075679800ccfee8b0489624e75185a8321caf143 | 1,945 | py | Python | hrsalespipes/commissions/migrations/0001_initial.py | hanztura/hrsalespipes | 77accf3132726ced05d84fa2a41891b841f310b8 | [
"Apache-2.0"
] | 3 | 2020-03-26T12:43:43.000Z | 2021-05-10T14:35:51.000Z | hrsalespipes/commissions/migrations/0001_initial.py | hanztura/hrsalespipes | 77accf3132726ced05d84fa2a41891b841f310b8 | [
"Apache-2.0"
] | 5 | 2021-04-08T21:15:15.000Z | 2022-02-10T11:03:12.000Z | hrsalespipes/commissions/migrations/0001_initial.py | hanztura/hrsalespipes | 77accf3132726ced05d84fa2a41891b841f310b8 | [
"Apache-2.0"
] | 1 | 2022-01-30T19:24:48.000Z | 2022-01-30T19:24:48.000Z | # Generated by Django 2.2.10 on 2020-03-06 13:16
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Rate',
fields=[
... | 44.204545 | 143 | 0.607198 | 205 | 1,945 | 5.590244 | 0.35122 | 0.047993 | 0.08726 | 0.108202 | 0.551483 | 0.52356 | 0.52356 | 0.52356 | 0.52356 | 0.480803 | 0 | 0.026027 | 0.249357 | 1,945 | 43 | 144 | 45.232558 | 0.758904 | 0.02365 | 0 | 0.472222 | 1 | 0 | 0.120717 | 0.012652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
075ec6a16f57cd51692b0258aeaa895f615742cd | 1,316 | py | Python | cistromego/corelib.py | WChangson/Cistrome-GO | 6b7f0036090fb512a0c47d56914b72ff5c81b101 | [
"MIT"
] | null | null | null | cistromego/corelib.py | WChangson/Cistrome-GO | 6b7f0036090fb512a0c47d56914b72ff5c81b101 | [
"MIT"
] | null | null | null | cistromego/corelib.py | WChangson/Cistrome-GO | 6b7f0036090fb512a0c47d56914b72ff5c81b101 | [
"MIT"
] | null | null | null | import time
import json
from pkg_resources import resource_filename
def Info(infoStr):
print "[%s] %s" % (time.strftime('%H:%M:%S'), infoStr)
def readJson(file_name):
res = json.load(open(resource_filename('cistromego', 'data/%s' % file_name)))
return res
def readCoordinate(assembly):
genome = res... | 26.857143 | 129 | 0.635258 | 195 | 1,316 | 4.174359 | 0.4 | 0.058968 | 0.055283 | 0.058968 | 0.076167 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010628 | 0.213526 | 1,316 | 48 | 130 | 27.416667 | 0.775845 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.027778 | 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 | 0 | 0 | 1 |
0762073741135bfcad1467b3d249cc26a7cc30d4 | 2,039 | py | Python | microblog/posts/models.py | ShrayankM/Django-MicroBlog | 54b9b8663b124baec31dfc5a9e8733822853ea7c | [
"MIT"
] | null | null | null | microblog/posts/models.py | ShrayankM/Django-MicroBlog | 54b9b8663b124baec31dfc5a9e8733822853ea7c | [
"MIT"
] | null | null | null | microblog/posts/models.py | ShrayankM/Django-MicroBlog | 54b9b8663b124baec31dfc5a9e8733822853ea7c | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
from django.forms import widgets
from django.urls import reverse
from django.utils import timezone
from ckeditor.fields import RichTextField
from colorfield.fields import ColorField
# Create your models here.
class Category(models.Model):
cat... | 31.859375 | 97 | 0.695439 | 248 | 2,039 | 5.568548 | 0.318548 | 0.043447 | 0.052136 | 0.069515 | 0.170891 | 0.170891 | 0.112962 | 0.056481 | 0 | 0 | 0 | 0.010417 | 0.199608 | 2,039 | 64 | 98 | 31.859375 | 0.835784 | 0.024522 | 0 | 0.181818 | 0 | 0 | 0.051837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159091 | false | 0 | 0.159091 | 0.136364 | 0.909091 | 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 | 0 | 0 | 0 | 1 |
0762b7676f13e0114771f0e5c10117b7e2677f42 | 23,197 | py | Python | lib/python3.8/site-packages/ansible_collections/cisco/ios/tests/unit/modules/network/ios/test_ios_acls.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | lib/python3.8/site-packages/ansible_collections/cisco/ios/tests/unit/modules/network/ios/test_ios_acls.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | lib/python3.8/site-packages/ansible_collections/cisco/ios/tests/unit/modules/network/ios/test_ios_acls.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | #
# (c) 2019, Ansible by Red Hat, inc
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import absolute_import, division, print_function
__metaclass__ = type
import sys
import pytest
# These tests and/or the module under test are unstable on Python 3.5.
... | 41.056637 | 120 | 0.296202 | 1,476 | 23,197 | 4.48645 | 0.137534 | 0.015403 | 0.013138 | 0.019934 | 0.738901 | 0.669133 | 0.6119 | 0.561009 | 0.557384 | 0.516309 | 0 | 0.050242 | 0.6259 | 23,197 | 564 | 121 | 41.129433 | 0.712837 | 0.014873 | 0 | 0.663516 | 0 | 0.007561 | 0.106549 | 0.027184 | 0 | 0 | 0 | 0 | 0.013233 | 1 | 0.026465 | false | 0 | 0.013233 | 0.00189 | 0.045369 | 0.00189 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 |
0769ed5a518759882a7380efacfb33ca48694279 | 2,339 | py | Python | tests/test_har2py.py | Hubald/har2py | 89abe79a59420f64cd3f2f5a1ca46278359c9aeb | [
"MIT"
] | null | null | null | tests/test_har2py.py | Hubald/har2py | 89abe79a59420f64cd3f2f5a1ca46278359c9aeb | [
"MIT"
] | null | null | null | tests/test_har2py.py | Hubald/har2py | 89abe79a59420f64cd3f2f5a1ca46278359c9aeb | [
"MIT"
] | null | null | null | import json
import pathlib
import pytest
from har2py import __version__
from har2py.main import main, preprocessing, rendering
inputs_dir = pathlib.Path(__file__).parents[0] / 'inputs'
outputs_dir = pathlib.Path(__file__).parents[0] / 'outputs'
har_files = list(inputs_dir.glob('*.har'))
py_files = [outputs_dir / f.w... | 26.579545 | 71 | 0.697307 | 335 | 2,339 | 4.537313 | 0.250746 | 0.075 | 0.052632 | 0.042763 | 0.386184 | 0.323684 | 0.236184 | 0.175658 | 0.151316 | 0.092105 | 0 | 0.005759 | 0.183412 | 2,339 | 87 | 72 | 26.885057 | 0.790052 | 0.022659 | 0 | 0.229508 | 0 | 0 | 0.081874 | 0.009632 | 0 | 0 | 0 | 0 | 0.032787 | 1 | 0.163934 | false | 0.065574 | 0.081967 | 0 | 0.245902 | 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 | 0 | 0 | 0 | 1 |
4ad7ffef2960e5603ed4005e333c458d6e336013 | 737 | py | Python | sales/migrations/0020_auto_20190808_0623.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | null | null | null | sales/migrations/0020_auto_20190808_0623.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | 10 | 2019-12-04T23:52:31.000Z | 2022-02-10T08:34:15.000Z | sales/migrations/0020_auto_20190808_0623.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | null | null | null | # Generated by Django 2.2.3 on 2019-08-08 06:23
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('sales', '0019_auto_20190808_0519'),
]
operations = [
migrations.RemoveField(
model_name='payment',
name='note',
... | 27.296296 | 194 | 0.542741 | 74 | 737 | 5.297297 | 0.621622 | 0.112245 | 0.122449 | 0.153061 | 0.209184 | 0.209184 | 0 | 0 | 0 | 0 | 0 | 0.06501 | 0.290366 | 737 | 26 | 195 | 28.346154 | 0.684512 | 0.061058 | 0 | 0.4 | 1 | 0 | 0.188406 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4ad8672841dc271bb4c07a9fc3db5bca02cfafd4 | 18,076 | py | Python | TFHub/converter.py | liuqk3/BigGAN-PyTorch | 9b4491f5d68f34a1fe55bc0e8171fa3d3ad7bb08 | [
"MIT"
] | null | null | null | TFHub/converter.py | liuqk3/BigGAN-PyTorch | 9b4491f5d68f34a1fe55bc0e8171fa3d3ad7bb08 | [
"MIT"
] | null | null | null | TFHub/converter.py | liuqk3/BigGAN-PyTorch | 9b4491f5d68f34a1fe55bc0e8171fa3d3ad7bb08 | [
"MIT"
] | null | null | null | """Utilities for converting TFHub BigGAN generator weights to PyTorch.
Recommended usage:
To convert all BigGAN variants and generate test samples, use:
```bash
CUDA_VISIBLE_DEVICES=0 python converter.py --generate_samples
```
See `parse_args` for additional options.
"""
import argparse
import os
import sys
impor... | 43.244019 | 143 | 0.681124 | 2,662 | 18,076 | 4.398197 | 0.138242 | 0.028186 | 0.035531 | 0.036898 | 0.457977 | 0.408951 | 0.315255 | 0.271865 | 0.22728 | 0.215323 | 0 | 0.020972 | 0.17432 | 18,076 | 418 | 144 | 43.244019 | 0.763484 | 0.077561 | 0 | 0.175926 | 1 | 0 | 0.200313 | 0.052033 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067901 | false | 0 | 0.037037 | 0 | 0.160494 | 0.027778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4ae50cf4700642e220a843914db0aa8b06eaa68c | 15,360 | py | Python | snapshill.py | tom6130/HWSUKPostBot | 8a066fd815f80768478089d1833bc8a5da583adf | [
"Apache-2.0"
] | null | null | null | snapshill.py | tom6130/HWSUKPostBot | 8a066fd815f80768478089d1833bc8a5da583adf | [
"Apache-2.0"
] | null | null | null | snapshill.py | tom6130/HWSUKPostBot | 8a066fd815f80768478089d1833bc8a5da583adf | [
"Apache-2.0"
] | null | null | null | import logging
import os
import praw
import re
import random
import requests
import sqlite3
import time
import traceback
import warnings
from bs4 import BeautifulSoup
from html.parser import unescape
from urllib.parse import urlencode
from praw.helpers import flatten_tree
from praw.errors import APIException, Client... | 31.735537 | 125 | 0.572982 | 1,794 | 15,360 | 4.795429 | 0.220736 | 0.01546 | 0.011508 | 0.009764 | 0.132047 | 0.09671 | 0.085784 | 0.0587 | 0.051261 | 0.051261 | 0 | 0.006297 | 0.317578 | 15,360 | 483 | 126 | 31.801242 | 0.814348 | 0.019466 | 0 | 0.203822 | 0 | 0.006369 | 0.135828 | 0.012476 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.022293 | 0.047771 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
4ae596b41a3854ccbe6747605d3a0f61e8cf26b1 | 3,181 | py | Python | dump.py | iandees/planet-notes-dump | 7e71ca580bbec3c029529e8950dc49dbbfe6e7c2 | [
"MIT"
] | 7 | 2015-05-12T06:31:10.000Z | 2021-12-15T07:15:17.000Z | dump.py | iandees/planet-notes-dump | 7e71ca580bbec3c029529e8950dc49dbbfe6e7c2 | [
"MIT"
] | 4 | 2016-04-11T13:59:13.000Z | 2022-01-05T18:16:49.000Z | dump.py | iandees/planet-notes-dump | 7e71ca580bbec3c029529e8950dc49dbbfe6e7c2 | [
"MIT"
] | null | null | null | from lxml import etree
from collections import OrderedDict
import psycopg2
import psycopg2.extensions
import argparse
psycopg2.extensions.register_type(psycopg2.extensions.UNICODE)
parser = argparse.ArgumentParser(description='Exports OSM Notes from the database en masse.')
parser.add_argument('output_file', help='Fi... | 44.180556 | 132 | 0.658598 | 431 | 3,181 | 4.75406 | 0.336427 | 0.035139 | 0.066374 | 0.04246 | 0.218155 | 0.158126 | 0.158126 | 0.150317 | 0.132748 | 0.132748 | 0 | 0.027682 | 0.182333 | 3,181 | 71 | 133 | 44.802817 | 0.760092 | 0 | 0 | 0.071429 | 0 | 0 | 0.385413 | 0.041811 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.035714 | 0.089286 | null | null | 0.053571 | 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 | 0 | 0 | 1 |
4aea821544dffeeb6fc50fcf68dd92b71e583a11 | 9,768 | py | Python | Scripts/simulation/eco_footprint/eco_footprint_tuning.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | Scripts/simulation/eco_footprint/eco_footprint_tuning.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | Scripts/simulation/eco_footprint/eco_footprint_tuning.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | # uncompyle6 version 3.7.4
# Python bytecode 3.7 (3394)
# Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]
# Embedded file name: T:\InGame\Gameplay\Scripts\Server\eco_footprint\eco_footprint_tuning.py
# Compiled at: 2020-10-14 21:45:06
# Size of source mod 2**32:... | 91.28972 | 558 | 0.700962 | 1,149 | 9,768 | 5.804178 | 0.24456 | 0.062978 | 0.043335 | 0.025191 | 0.310541 | 0.244864 | 0.197481 | 0.130005 | 0.048583 | 0.018294 | 0 | 0.011542 | 0.237203 | 9,768 | 107 | 559 | 91.28972 | 0.883506 | 0.03276 | 0 | 0.115789 | 0 | 0.115789 | 0.47384 | 0.015992 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.126316 | 0.031579 | 0.315789 | 0.494737 | 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 | 0 | 0 | 1 | 0 | 1 |
4aef62e102b6cfe9cf886f0f26901ac5cc255f11 | 584 | py | Python | cireg/cms/migrations/0024_auto_20181105_1641.py | bruecksen/cireg | 3fbcd24bd61153bac93b6abe26fc9b96d4a2098b | [
"MIT"
] | null | null | null | cireg/cms/migrations/0024_auto_20181105_1641.py | bruecksen/cireg | 3fbcd24bd61153bac93b6abe26fc9b96d4a2098b | [
"MIT"
] | 3 | 2019-10-22T13:09:43.000Z | 2019-10-22T13:09:45.000Z | cireg/cms/migrations/0024_auto_20181105_1641.py | bruecksen/cireg | 3fbcd24bd61153bac93b6abe26fc9b96d4a2098b | [
"MIT"
] | null | null | null | # Generated by Django 2.0.8 on 2018-11-05 15:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cms', '0023_casestudyoverview'),
]
operations = [
migrations.RenameField(
model_name='downloadoverviewpage',
old_nam... | 24.333333 | 52 | 0.609589 | 56 | 584 | 6.160714 | 0.714286 | 0.069565 | 0.168116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045673 | 0.287671 | 584 | 23 | 53 | 25.391304 | 0.783654 | 0.077055 | 0 | 0.235294 | 1 | 0 | 0.223464 | 0.122905 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4af02d0e496c19aaa0230a6921fe1b9aef3b2abb | 3,111 | py | Python | modelus/model.py | adamlwgriffiths/modelus | 150770d11ec894f83e26d5845025b3677ec4ef0f | [
"BSD-2-Clause"
] | 1 | 2021-01-12T07:08:35.000Z | 2021-01-12T07:08:35.000Z | modelus/model.py | adamlwgriffiths/remodel | 150770d11ec894f83e26d5845025b3677ec4ef0f | [
"BSD-2-Clause"
] | null | null | null | modelus/model.py | adamlwgriffiths/remodel | 150770d11ec894f83e26d5845025b3677ec4ef0f | [
"BSD-2-Clause"
] | null | null | null | from datetime import datetime
from cerberus import Validator, TypeDefinition
from modelus.fields import Field, FieldType, types_mapping
_models = {}
def register_model(model):
_models[model.__class__.__name__] = model
def model(name):
return _models[name]
class ModelMeta(type):
def __new__(metacls, name,... | 36.174419 | 104 | 0.631951 | 361 | 3,111 | 5.232687 | 0.313019 | 0.058232 | 0.02541 | 0.020116 | 0.097406 | 0.074113 | 0.038115 | 0.038115 | 0 | 0 | 0 | 0.000894 | 0.280617 | 3,111 | 85 | 105 | 36.6 | 0.843164 | 0.115076 | 0 | 0.076923 | 0 | 0 | 0.058309 | 0.007653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.215385 | false | 0 | 0.046154 | 0.076923 | 0.492308 | 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 | 0 | 0 | 0 | 1 |
4af43f4596e7d4975d189f0bb04365c37c0bf6fb | 4,495 | py | Python | tests/webservice/test_book.py | SalemHarrache/rakuten-ws | 268a6c48c74150841b6e88b27eed867e12415f8b | [
"MIT"
] | 11 | 2016-11-07T12:57:21.000Z | 2022-03-29T05:32:41.000Z | tests/webservice/test_book.py | SalemHarrache/rakuten-ws | 268a6c48c74150841b6e88b27eed867e12415f8b | [
"MIT"
] | 4 | 2018-05-17T14:06:50.000Z | 2020-09-08T13:36:10.000Z | tests/webservice/test_book.py | SalemHarrache/rakuten-ws | 268a6c48c74150841b6e88b27eed867e12415f8b | [
"MIT"
] | 5 | 2017-07-29T11:28:38.000Z | 2020-04-08T07:05:04.000Z | # coding: utf-8
from __future__ import unicode_literals
import pytest
from .. import idfn, assert_eq, assert_in
from rakuten_ws.compat import callable
def assert_response(params, result, callback=None):
assert 'error' not in result, result['error_description']
assert len(result['Items']) > 0
if callable... | 42.40566 | 115 | 0.622247 | 609 | 4,495 | 4.482759 | 0.197044 | 0.058974 | 0.067399 | 0.075824 | 0.432234 | 0.398901 | 0.351282 | 0.231502 | 0.147253 | 0.147253 | 0 | 0.026343 | 0.147052 | 4,495 | 105 | 116 | 42.809524 | 0.685185 | 0.012013 | 0 | 0.025974 | 0 | 0 | 0.216764 | 0 | 0 | 0 | 0 | 0 | 0.480519 | 1 | 0.12987 | false | 0 | 0.051948 | 0 | 0.181818 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4af58b0ceb1ddb8cb445c8695d87395642905e48 | 925 | py | Python | var/spack/repos/builtin/packages/sbt/package.py | adrianjhpc/spack | 0a9e4fcee57911f2db586aa50c8873d9cca8de92 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 2 | 2020-10-15T01:08:42.000Z | 2021-10-18T01:28:18.000Z | var/spack/repos/builtin/packages/sbt/package.py | adrianjhpc/spack | 0a9e4fcee57911f2db586aa50c8873d9cca8de92 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 2 | 2019-07-30T10:12:28.000Z | 2019-12-17T09:02:27.000Z | var/spack/repos/builtin/packages/sbt/package.py | adrianjhpc/spack | 0a9e4fcee57911f2db586aa50c8873d9cca8de92 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 5 | 2019-07-30T09:42:14.000Z | 2021-01-25T05:39:20.000Z | # Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Sbt(Package):
"""Scala Build Tool"""
homepage = 'http://www.scala-sbt.org'
url ... | 37 | 97 | 0.741622 | 102 | 925 | 6.696078 | 0.696078 | 0.011713 | 0.039531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253433 | 0.134054 | 925 | 24 | 98 | 38.541667 | 0.599251 | 0.222703 | 0 | 0 | 0 | 0.083333 | 0.532394 | 0.360563 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.416667 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4af5f076c5d6ebcfe69f5847bc79f5c2a97a9144 | 1,034 | py | Python | lang/py/cookbook/v2/source/cb2_7_10_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_7_10_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_7_10_sol_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | import MySQLdb, cPickle
# Connect to a DB, e.g., the test DB on your localhost, and get a cursor
connection = MySQLdb.connect(db="test")
cursor = connection.cursor()
# Make a new table for experimentation
cursor.execute("CREATE TABLE justatest (name TEXT, ablob BLOB)")
try:
# Prepare some BLOBs to insert in the tab... | 36.928571 | 72 | 0.672147 | 145 | 1,034 | 4.786207 | 0.496552 | 0.074928 | 0.025937 | 0.040346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001239 | 0.219536 | 1,034 | 27 | 73 | 38.296296 | 0.858736 | 0.251451 | 0 | 0.095238 | 0 | 0 | 0.222947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047619 | null | null | 0.047619 | 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 | 0 | 0 | 1 |
4af92d04d4dfaede3efc600fba2132035c7b00af | 9,172 | py | Python | sdk/python/pulumi_aws/ec2/route.py | michael-golden/pulumi-aws | 165e876e166ecab1870e857822247585d78aef64 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ec2/route.py | michael-golden/pulumi-aws | 165e876e166ecab1870e857822247585d78aef64 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ec2/route.py | michael-golden/pulumi-aws | 165e876e166ecab1870e857822247585d78aef64 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Route(pulumi.Cust... | 47.770833 | 377 | 0.691888 | 1,184 | 9,172 | 4.972973 | 0.149493 | 0.056556 | 0.054348 | 0.064538 | 0.628397 | 0.565557 | 0.540591 | 0.526495 | 0.477072 | 0.444803 | 0 | 0.007764 | 0.227649 | 9,172 | 191 | 378 | 48.020942 | 0.823405 | 0.370802 | 0 | 0.024691 | 1 | 0 | 0.16586 | 0.051358 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0.012346 | 0.061728 | 0.024691 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4afa088bafc7bc5ed52b868498534d90f9e1e213 | 3,561 | py | Python | tests/checker/syntax/test_status.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | 213 | 2017-11-19T16:00:29.000Z | 2022-03-30T20:51:35.000Z | tests/checker/syntax/test_status.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | 270 | 2018-01-10T12:42:41.000Z | 2022-03-22T00:03:23.000Z | tests/checker/syntax/test_status.py | Centaurioun/PyFunceble | 59b809f3322118f7824195752c6015220738d4a0 | [
"Apache-2.0"
] | 48 | 2017-12-09T22:53:49.000Z | 2022-01-29T15:50:52.000Z | """
The tool to check the availability or syntax of domain, IP or URL.
::
██████╗ ██╗ ██╗███████╗██╗ ██╗███╗ ██╗ ██████╗███████╗██████╗ ██╗ ███████╗
██╔══██╗╚██╗ ██╔╝██╔════╝██║ ██║████╗ ██║██╔════╝██╔════╝██╔══██╗██║ ██╔════╝
██████╔╝ ╚████╔╝ █████╗ ██║ ██║██╔██╗ ██║██║ █████╗ █... | 26.183824 | 88 | 0.554619 | 420 | 3,561 | 5.580952 | 0.414286 | 0.042662 | 0.015358 | 0.027304 | 0.317833 | 0.293089 | 0.266212 | 0.266212 | 0.259812 | 0.213737 | 0 | 0.00916 | 0.264252 | 3,561 | 135 | 89 | 26.377778 | 0.73626 | 0.618085 | 0 | 0.413793 | 0 | 0 | 0.039417 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.206897 | false | 0 | 0.068966 | 0 | 0.310345 | 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 | 0 | 0 | 0 | 1 |
4afb77a3c098e1364d489bf123324413fd1ca05a | 2,492 | py | Python | zen_knit/data_types/__init__.py | Zen-Reportz/zen_knit | 104c2693d2cc61520657131da769f5d59d2df8e9 | [
"MIT"
] | 30 | 2021-12-25T15:39:42.000Z | 2022-02-25T04:53:44.000Z | zen_knit/data_types/__init__.py | Zen-Reportz/zen_knit | 104c2693d2cc61520657131da769f5d59d2df8e9 | [
"MIT"
] | 11 | 2022-01-02T22:10:07.000Z | 2022-02-02T00:56:33.000Z | zen_knit/data_types/__init__.py | Zen-Reportz/zen_knit | 104c2693d2cc61520657131da769f5d59d2df8e9 | [
"MIT"
] | 2 | 2022-01-27T13:22:46.000Z | 2022-01-30T05:01:59.000Z |
import enum
from pydantic import BaseModel, validator
from typing import List, Optional, Tuple, Any
class Input(BaseModel):
dir: Optional[str]
file_name: Optional[str]
extension: Optional[str] = "pyz"
matplot: bool = True
class latexOuput(BaseModel):
header: Optional[str]
page_size: Optiona... | 22.654545 | 88 | 0.667335 | 288 | 2,492 | 5.673611 | 0.413194 | 0.114443 | 0.053856 | 0.073439 | 0.157895 | 0.132191 | 0.095471 | 0 | 0 | 0 | 0 | 0.00668 | 0.219101 | 2,492 | 110 | 89 | 22.654545 | 0.832991 | 0 | 0 | 0.121951 | 0 | 0 | 0.079053 | 0.012039 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012195 | false | 0 | 0.036585 | 0 | 0.95122 | 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 | 0 | 1 | 0 | 0 | 1 |
4afbc94cabee8ee8c05774c34e33ba4fc2cd6e37 | 2,628 | py | Python | axial/datasets.py | egonrian/google-research | 8177adbe9ca0d7e5a9463b54581fe6dd27be0974 | [
"Apache-2.0"
] | 7 | 2020-03-15T12:14:07.000Z | 2021-12-01T07:01:09.000Z | axial/datasets.py | Alfaxad/google-research | 2c0043ecd507e75e2df9973a3015daf9253e1467 | [
"Apache-2.0"
] | 25 | 2020-07-25T08:53:09.000Z | 2022-03-12T00:43:02.000Z | axial/datasets.py | Alfaxad/google-research | 2c0043ecd507e75e2df9973a3015daf9253e1467 | [
"Apache-2.0"
] | 4 | 2021-02-08T10:25:45.000Z | 2021-04-17T14:46:26.000Z | # coding=utf-8
# Copyright 2020 The Google Research Authors.
#
# 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... | 34.578947 | 80 | 0.723744 | 384 | 2,628 | 4.674479 | 0.398438 | 0.031198 | 0.020056 | 0.028412 | 0.208357 | 0.208357 | 0.208357 | 0.208357 | 0.208357 | 0.208357 | 0 | 0.018807 | 0.170472 | 2,628 | 75 | 81 | 35.04 | 0.804587 | 0.219939 | 0 | 0.152174 | 0 | 0 | 0.06683 | 0.015725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.195652 | false | 0.021739 | 0.108696 | 0.021739 | 0.521739 | 0.021739 | 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 | 0 | 1 | 0 | 0 | 1 |
ab0ddbcbf3760aa9c30a91ed9a1d3e84950d30e2 | 2,339 | py | Python | wazimap_np/profiles.py | ishandongol/nepalmap_federal | 49be45838ba73dcb64e41d348886cdd9355be653 | [
"MIT"
] | null | null | null | wazimap_np/profiles.py | ishandongol/nepalmap_federal | 49be45838ba73dcb64e41d348886cdd9355be653 | [
"MIT"
] | null | null | null | wazimap_np/profiles.py | ishandongol/nepalmap_federal | 49be45838ba73dcb64e41d348886cdd9355be653 | [
"MIT"
] | null | null | null | from wazimap.data.utils import get_session, merge_dicts, group_remainder
from wazimap.geo import geo_data
from wazimap_np import (
demographics, agriculture, households, education
)
# ensure tables are loaded
PROFILE_SECTIONS = (
'demographics',
'agriculture',
'households',
'education'
)
park_ge... | 33.898551 | 115 | 0.659684 | 280 | 2,339 | 5.207143 | 0.314286 | 0.082305 | 0.089163 | 0.133745 | 0.341564 | 0.29561 | 0.29561 | 0.239369 | 0 | 0 | 0 | 0.060742 | 0.239846 | 2,339 | 68 | 116 | 34.397059 | 0.75928 | 0.047884 | 0 | 0 | 0 | 0 | 0.111561 | 0.009447 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0.111111 | 0.355556 | 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 | 0 | 0 | 0 | 1 |
ab0e8dab916547eb7473b53311e3ff06ae0fe743 | 1,432 | py | Python | backend/todo/migrations/0001_initial.py | jimbofreedman/naggingnelly-backend | a1e64089915ad80a2d3d8cd0252bc2bcd0e1f475 | [
"MIT"
] | null | null | null | backend/todo/migrations/0001_initial.py | jimbofreedman/naggingnelly-backend | a1e64089915ad80a2d3d8cd0252bc2bcd0e1f475 | [
"MIT"
] | null | null | null | backend/todo/migrations/0001_initial.py | jimbofreedman/naggingnelly-backend | a1e64089915ad80a2d3d8cd0252bc2bcd0e1f475 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.9 on 2018-12-10 08:32
from django.db import migrations, models
import django.utils.timezone
import model_utils.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='TodoItem',
... | 43.393939 | 244 | 0.628492 | 146 | 1,432 | 6.041096 | 0.493151 | 0.056689 | 0.090703 | 0.088435 | 0.153061 | 0.120181 | 0.120181 | 0.120181 | 0.120181 | 0 | 0 | 0.018936 | 0.225559 | 1,432 | 32 | 245 | 44.75 | 0.776375 | 0.031425 | 0 | 0 | 1 | 0 | 0.12491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.12 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ab12b5f2f3e8c4cbca3ad1e2421323bbf3630e2d | 12,723 | py | Python | server/athenian/api/models/web/jira_epic_issue_common.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 9 | 2020-10-11T22:12:03.000Z | 2022-02-26T02:16:45.000Z | server/athenian/api/models/web/jira_epic_issue_common.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 246 | 2019-12-05T06:37:30.000Z | 2022-03-29T10:00:07.000Z | server/athenian/api/models/web/jira_epic_issue_common.py | athenianco/athenian-api | dd5556101a8c49703d6b0516e4268b9e8d8eda5b | [
"RSA-MD"
] | 5 | 2019-12-04T22:38:05.000Z | 2021-02-26T00:50:04.000Z | from datetime import datetime, timedelta
from typing import Optional
from athenian.api.models.web.base_model_ import Model
class JIRAEpicIssueCommon(Model):
"""Common JIRA issue fields."""
openapi_types = {
"id": str,
"title": str,
"created": datetime,
"updated": datetime,
... | 30.657831 | 99 | 0.61715 | 1,414 | 12,723 | 5.46181 | 0.082744 | 0.055937 | 0.226596 | 0.056196 | 0.6592 | 0.544478 | 0.520264 | 0.34339 | 0.34339 | 0.279425 | 0 | 0 | 0.297178 | 12,723 | 414 | 100 | 30.731884 | 0.863677 | 0.435903 | 0 | 0.242775 | 0 | 0 | 0.125974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17341 | false | 0 | 0.017341 | 0 | 0.300578 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ab13eb810392f4c34e418def2bcd459ce6db6365 | 1,221 | py | Python | discrete_dp/finite_dp_og_example.py | mwhchen/quantecon | 1a401e3453cbccbcf609945fced1b478b945446e | [
"BSD-3-Clause"
] | 11 | 2018-05-02T22:12:14.000Z | 2021-11-18T01:07:33.000Z | discrete_dp/finite_dp_og_example.py | mwhchen/quantecon | 1a401e3453cbccbcf609945fced1b478b945446e | [
"BSD-3-Clause"
] | null | null | null | discrete_dp/finite_dp_og_example.py | mwhchen/quantecon | 1a401e3453cbccbcf609945fced1b478b945446e | [
"BSD-3-Clause"
] | 13 | 2017-11-11T22:38:22.000Z | 2022-02-21T20:33:03.000Z | """
A simple optimal growth model, for testing the DiscreteDP class.
Filename: finite_dp_og_example.py
"""
import numpy as np
class SimpleOG(object):
def __init__(self, B=10, M=5, alpha=0.5, beta=0.9):
"""
Set up R, Q and beta, the three elements that define an instance of
the DiscreteDP ... | 24.42 | 75 | 0.5086 | 195 | 1,221 | 3.128205 | 0.353846 | 0.04918 | 0.07377 | 0.032787 | 0.111475 | 0.065574 | 0.065574 | 0 | 0 | 0 | 0 | 0.018821 | 0.347256 | 1,221 | 49 | 76 | 24.918367 | 0.74655 | 0.307125 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0.052632 | 0.368421 | 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 | 0 | 0 | 0 | 1 |
ab14d2b77ba02f3662fd512a1a5b09ca451574ed | 345 | py | Python | greenmall/greenmall/apps/users/models.py | bugcayman/guishu | 50aa1fcb676b36fd2efcf613116cd1e95c4bd88e | [
"MIT"
] | null | null | null | greenmall/greenmall/apps/users/models.py | bugcayman/guishu | 50aa1fcb676b36fd2efcf613116cd1e95c4bd88e | [
"MIT"
] | null | null | null | greenmall/greenmall/apps/users/models.py | bugcayman/guishu | 50aa1fcb676b36fd2efcf613116cd1e95c4bd88e | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.
class User(AbstractUser):
"""自定义模型类"""
mobile = models.CharField(verbose_name='手机号',max_length=11,unique=True)
class Meta:
db_table = 'tb_user'
verbose_name = '用户'
verbose_n... | 26.538462 | 75 | 0.704348 | 45 | 345 | 5.222222 | 0.644444 | 0.187234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00722 | 0.197101 | 345 | 13 | 76 | 26.538462 | 0.841155 | 0.092754 | 0 | 0 | 0 | 0 | 0.038961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 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 | 1 |
ab1741356c5060efa85531ec864133b7d07cb42e | 34,155 | py | Python | scanpipe/tests/test_models.py | NithishC/scancode.io | 12c71c2fda29840f9599047a97ad612d9cfaf19d | [
"Apache-2.0"
] | null | null | null | scanpipe/tests/test_models.py | NithishC/scancode.io | 12c71c2fda29840f9599047a97ad612d9cfaf19d | [
"Apache-2.0"
] | null | null | null | scanpipe/tests/test_models.py | NithishC/scancode.io | 12c71c2fda29840f9599047a97ad612d9cfaf19d | [
"Apache-2.0"
] | null | null | null | # SPDX-License-Identifier: Apache-2.0
#
# http://nexb.com and https://github.com/nexB/scancode.io
# The ScanCode.io software is licensed under the Apache License version 2.0.
# Data generated with ScanCode.io is provided as-is without warranties.
# ScanCode is a trademark of nexB Inc.
#
# You may not use this software ... | 39.53125 | 88 | 0.651823 | 3,965 | 34,155 | 5.416141 | 0.111728 | 0.088009 | 0.029336 | 0.019464 | 0.583842 | 0.484237 | 0.422165 | 0.367218 | 0.301374 | 0.241676 | 0 | 0.028413 | 0.234373 | 34,155 | 863 | 89 | 39.577057 | 0.792772 | 0.039584 | 0 | 0.317322 | 1 | 0.021834 | 0.135025 | 0.049486 | 0 | 0 | 0 | 0 | 0.286754 | 1 | 0.065502 | false | 0 | 0.034935 | 0.002911 | 0.10917 | 0.001456 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ab187ed66151a736279c1b7bebc05d08cbe09229 | 517 | py | Python | setup.py | RubenGrootes/sortphotos | 6eb91ee5966f8ad034e507978777d9b637e6f6bb | [
"MIT"
] | null | null | null | setup.py | RubenGrootes/sortphotos | 6eb91ee5966f8ad034e507978777d9b637e6f6bb | [
"MIT"
] | null | null | null | setup.py | RubenGrootes/sortphotos | 6eb91ee5966f8ad034e507978777d9b637e6f6bb | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
setup(
name='sortphotos',
version='1.4',
description='Organizes photos and videos into folders using date/time information ',
author='Andrew Ning',
packages=find_packages(),
include_package_data=True,
insta... | 21.541667 | 88 | 0.640232 | 57 | 517 | 5.684211 | 0.842105 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01519 | 0.235977 | 517 | 23 | 89 | 22.478261 | 0.805063 | 0.069633 | 0 | 0 | 0 | 0 | 0.366109 | 0.054393 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.055556 | 0 | 0.055556 | 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 | 0 | 0 | 0 | 0 | 0 | 1 |
ab189227afe44f60b08f7b7d1aed12293403f540 | 7,234 | py | Python | digsby/src/tests/webkit/testwebkitwindow.py | ifwe/digsby | f5fe00244744aa131e07f09348d10563f3d8fa99 | [
"Python-2.0"
] | 35 | 2015-08-15T14:32:38.000Z | 2021-12-09T16:21:26.000Z | digsby/src/tests/webkit/testwebkitwindow.py | niterain/digsby | 16a62c7df1018a49eaa8151c0f8b881c7e252949 | [
"Python-2.0"
] | 4 | 2015-09-12T10:42:57.000Z | 2017-02-27T04:05:51.000Z | digsby/src/tests/webkit/testwebkitwindow.py | niterain/digsby | 16a62c7df1018a49eaa8151c0f8b881c7e252949 | [
"Python-2.0"
] | 15 | 2015-07-10T23:58:07.000Z | 2022-01-23T22:16:33.000Z | from __future__ import with_statement
from traceback import print_exc
import wx
import wx.webview as webview
import cgui
import os.path
def main():
from tests.testapp import testapp
app = testapp(plugins=False)
from gui.browser.webkit.webkitwindow import WebKitWindow
webview.WebView.SetDatabaseDi... | 30.141667 | 134 | 0.614459 | 925 | 7,234 | 4.625946 | 0.295135 | 0.064267 | 0.023136 | 0.021033 | 0.207058 | 0.066604 | 0.052349 | 0.03599 | 0.03599 | 0.019163 | 0 | 0.020533 | 0.252696 | 7,234 | 239 | 135 | 30.267782 | 0.770995 | 0.201825 | 0 | 0.041379 | 0 | 0.013793 | 0.123061 | 0.064145 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.068966 | null | null | 0.048276 | 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 | 0 | 0 | 1 |
ab1aa3540836019bce19fb528d8ab355f11d232e | 554 | py | Python | lib/spack/spack/test/fetch_strategy.py | robertsawko/spack | 135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 1 | 2019-11-28T10:14:14.000Z | 2019-11-28T10:14:14.000Z | lib/spack/spack/test/fetch_strategy.py | robertsawko/spack | 135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | lib/spack/spack/test/fetch_strategy.py | robertsawko/spack | 135cf4835f5b646c4aaa0e2eb5552c80fc3a5ce8 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 1 | 2017-01-21T17:19:32.000Z | 2017-01-21T17:19:32.000Z | # Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import pytest
from spack.fetch_strategy import from_url_scheme
def test_fetchstrategy_bad_url_scheme():
"""Ensure t... | 30.777778 | 73 | 0.736462 | 80 | 554 | 4.9875 | 0.7625 | 0.067669 | 0.065163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028634 | 0.180505 | 554 | 17 | 74 | 32.588235 | 0.85022 | 0.543321 | 0 | 0 | 0 | 0 | 0.133891 | 0.133891 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
ab1b21f6c2df2d0f4df6d3e30de1fa7d721b8b10 | 3,066 | py | Python | geni-lib/geni/admin/oess.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | geni-lib/geni/admin/oess.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | geni-lib/geni/admin/oess.py | AERPAW-Platform-Control/gateway | a80a25bb54a7cede82673f2385bb73d5aaa4963a | [
"MIT"
] | null | null | null | # Copyright (c) 2015 Barnstormer Softworks, Ltd.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import requests
import requests.auth
from ..types import DPID
clas... | 34.066667 | 94 | 0.634703 | 398 | 3,066 | 4.711055 | 0.319095 | 0.0704 | 0.048 | 0.0512 | 0.309867 | 0.209067 | 0.209067 | 0.162133 | 0.162133 | 0.162133 | 0 | 0.005372 | 0.210698 | 3,066 | 89 | 95 | 34.449438 | 0.769421 | 0.078278 | 0 | 0.212121 | 0 | 0 | 0.169089 | 0.007444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.060606 | 0.045455 | 0.030303 | 0.378788 | 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 | 0 | 0 | 0 | 1 |
ab21c685911b25368e215fbda166c3f3a319f838 | 4,365 | py | Python | checkers/employeexer/checker.py | HackerDom/ructf-2021 | 1755d91cd78fd147ccf78bb881adc7b5d7e99af0 | [
"MIT"
] | 1 | 2021-10-05T06:50:24.000Z | 2021-10-05T06:50:24.000Z | checkers/employeexer/checker.py | HackerDom/ructf-2021 | 1755d91cd78fd147ccf78bb881adc7b5d7e99af0 | [
"MIT"
] | null | null | null | checkers/employeexer/checker.py | HackerDom/ructf-2021 | 1755d91cd78fd147ccf78bb881adc7b5d7e99af0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import functools
import re
import sys
import requests
import traceback
from gornilo import CheckRequest, Verdict, Checker, PutRequest, GetRequest
from generators import gen_string, gen_employee, gen_user_agent
from request_pb2 import UserPair, StringList
checker = Checker()
PORT = 9000
RE... | 34.101563 | 148 | 0.718671 | 563 | 4,365 | 5.309059 | 0.245115 | 0.044162 | 0.020074 | 0.031783 | 0.269655 | 0.221144 | 0.143192 | 0.113081 | 0.089662 | 0.089662 | 0 | 0.00301 | 0.162887 | 4,365 | 127 | 149 | 34.370079 | 0.814997 | 0.004811 | 0 | 0.113636 | 0 | 0 | 0.12618 | 0.014276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.079545 | 0.090909 | 0.022727 | 0.363636 | 0.045455 | 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 | 0 | 0 | 0 | 1 |
ab23a4b7db695a3f9e105f5d1ef14c9725f6917c | 3,790 | py | Python | senseo_api/coffee_simulator.py | lrivallain/Senseo-aPi | d97fa634b36b0d58e15c1d5d8bdaa33d8afb5ae5 | [
"MIT"
] | null | null | null | senseo_api/coffee_simulator.py | lrivallain/Senseo-aPi | d97fa634b36b0d58e15c1d5d8bdaa33d8afb5ae5 | [
"MIT"
] | null | null | null | senseo_api/coffee_simulator.py | lrivallain/Senseo-aPi | d97fa634b36b0d58e15c1d5d8bdaa33d8afb5ae5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from RPi import GPIO
from time import sleep
from .utils import init_logger
import json
import sys
import os
import click
import logging
logger = logging.getLogger(__name__)
# Disable warnings
GPIO.setwarnings(False)
# Working with GPIO Numbers
GPIO.setmode(GPIO.BCM)
class SenseoClassicSimulato... | 30.079365 | 96 | 0.653562 | 553 | 3,790 | 4.356239 | 0.256781 | 0.044832 | 0.033624 | 0.039435 | 0.420922 | 0.347032 | 0.271067 | 0.229971 | 0.195102 | 0.195102 | 0 | 0.005012 | 0.21029 | 3,790 | 126 | 97 | 30.079365 | 0.79853 | 0.151715 | 0 | 0.308642 | 0 | 0 | 0.215331 | 0.032443 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08642 | false | 0.061728 | 0.098765 | 0 | 0.197531 | 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 | 0 | 0 | 0 | 1 |
ab27bca0a613e4570e3e4510cb1d4d5a485775a3 | 7,689 | py | Python | tests/test_data.py | tmthydvnprt/ende | 7f487c994f670f02174b6fdffbcf59e461329d7f | [
"MIT"
] | null | null | null | tests/test_data.py | tmthydvnprt/ende | 7f487c994f670f02174b6fdffbcf59e461329d7f | [
"MIT"
] | null | null | null | tests/test_data.py | tmthydvnprt/ende | 7f487c994f670f02174b6fdffbcf59e461329d7f | [
"MIT"
] | null | null | null | """
tests.test_data - nose tests for ende.Data module
project : Ende
version : 0.1.0
status : development
modifydate : 2015-05-06 19:30:00 -0700
createdate : 2015-05-05 05:36:00 -0700
website : https://github.com/tmthydvnprt/ende
author : tmthydvnprt
email : tmthydvnprt@users.noreply.github.com
m... | 40.898936 | 132 | 0.659253 | 920 | 7,689 | 5.388043 | 0.166304 | 0.050837 | 0.049829 | 0.043575 | 0.692153 | 0.6395 | 0.611257 | 0.560823 | 0.532177 | 0.517248 | 0 | 0.032145 | 0.219144 | 7,689 | 187 | 133 | 41.117647 | 0.793471 | 0.213422 | 0 | 0.464646 | 0 | 0 | 0.02593 | 0.023236 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.141414 | false | 0.363636 | 0.050505 | 0 | 0.222222 | 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 | 0 | 0 | 0 | 1 |
ab2a1a0dc098c6eb0f30c202094ff258051a3284 | 2,971 | py | Python | gs/email/mailer.py | groupserver/gs.email | 2b68b3600aafb29a4a56ef5eab3d6ea1805baee1 | [
"ZPL-2.1"
] | null | null | null | gs/email/mailer.py | groupserver/gs.email | 2b68b3600aafb29a4a56ef5eab3d6ea1805baee1 | [
"ZPL-2.1"
] | null | null | null | gs/email/mailer.py | groupserver/gs.email | 2b68b3600aafb29a4a56ef5eab3d6ea1805baee1 | [
"ZPL-2.1"
] | null | null | null | # -*- coding: utf-8 -*-
############################################################################
#
# Copyright © 2014 OnlineGroups.net and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this dis... | 39.092105 | 76 | 0.605857 | 349 | 2,971 | 5.114613 | 0.418338 | 0.014006 | 0.015126 | 0.02521 | 0.020168 | 0.020168 | 0 | 0 | 0 | 0 | 0 | 0.00958 | 0.262201 | 2,971 | 75 | 77 | 39.613333 | 0.804288 | 0.350387 | 0 | 0.108108 | 0 | 0 | 0.104452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.135135 | 0.081081 | 0 | 0.135135 | 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 | 0 | 0 | 0 | 1 |
ab2bb695b44869bcf9084d375706453e4e82641e | 22,636 | py | Python | cassiopeia/type/dto/game.py | BubblegumDiscord/LoLTrivia | 70070dc2e8c59d7210d8b30ad2525bafaee4bba7 | [
"MIT"
] | null | null | null | cassiopeia/type/dto/game.py | BubblegumDiscord/LoLTrivia | 70070dc2e8c59d7210d8b30ad2525bafaee4bba7 | [
"MIT"
] | null | null | null | cassiopeia/type/dto/game.py | BubblegumDiscord/LoLTrivia | 70070dc2e8c59d7210d8b30ad2525bafaee4bba7 | [
"MIT"
] | 1 | 2018-05-06T15:49:33.000Z | 2018-05-06T15:49:33.000Z | import cassiopeia.type.dto.common
import cassiopeia.type.core.common
if cassiopeia.type.dto.common.sqlalchemy_imported:
import sqlalchemy
import sqlalchemy.orm
@cassiopeia.type.core.common.inheritdocs
class RawStats(cassiopeia.type.dto.common.CassiopeiaDto):
"""
Args:
assists (int): number o... | 48.784483 | 355 | 0.68687 | 2,299 | 22,636 | 6.717268 | 0.141801 | 0.082497 | 0.164994 | 0.194457 | 0.203393 | 0.163634 | 0.134754 | 0.1027 | 0.090462 | 0.074532 | 0 | 0.012036 | 0.218192 | 22,636 | 463 | 356 | 48.889849 | 0.860598 | 0.25835 | 0 | 0.22408 | 0 | 0 | 0.088537 | 0.023051 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053512 | false | 0.006689 | 0.016722 | 0 | 0.464883 | 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 | 0 | 0 | 0 | 1 |
ab2f8e8b2157c83f59341bd1d429eb9ea468bbb4 | 325 | py | Python | FridgeBot/ArduinoCommunication/HumiditySensor.py | pazgold31/FridgeBot | 565f2b1f03729e1c65e9f2c0453483c51389c5d7 | [
"MIT"
] | 2 | 2021-02-24T21:38:43.000Z | 2021-02-24T21:58:11.000Z | FridgeBot/ArduinoCommunication/HumiditySensor.py | pazgold31/FridgeBot | 565f2b1f03729e1c65e9f2c0453483c51389c5d7 | [
"MIT"
] | null | null | null | FridgeBot/ArduinoCommunication/HumiditySensor.py | pazgold31/FridgeBot | 565f2b1f03729e1c65e9f2c0453483c51389c5d7 | [
"MIT"
] | null | null | null | import logging
from FridgeBot.ArduinoCommunication.ArduinoCommunicator import ArduinoCommunicator
class HumiditySensor:
def __init__(self, arduino: ArduinoCommunicator):
self._arduino = arduino
def get(self) -> float:
logging.debug("Checking humidity")
return self._arduino.get_humidi... | 25 | 82 | 0.744615 | 31 | 325 | 7.580645 | 0.580645 | 0.140426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181538 | 325 | 12 | 83 | 27.083333 | 0.883459 | 0 | 0 | 0 | 0 | 0 | 0.052308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
ab31fc9fb0edac381efb6e966a567fcde9194a71 | 7,351 | py | Python | signac/synced_collections/buffers/buffered_collection.py | rohanbabbar04/signac | dfc28cbfdd11ea2f2e226f87719f323595e0f4ff | [
"BSD-3-Clause"
] | 100 | 2019-01-31T01:37:20.000Z | 2022-03-29T10:35:34.000Z | signac/synced_collections/buffers/buffered_collection.py | rohanbabbar04/signac | dfc28cbfdd11ea2f2e226f87719f323595e0f4ff | [
"BSD-3-Clause"
] | 607 | 2019-01-31T14:08:17.000Z | 2022-03-31T21:51:48.000Z | signac/synced_collections/buffers/buffered_collection.py | rohanbabbar04/signac | dfc28cbfdd11ea2f2e226f87719f323595e0f4ff | [
"BSD-3-Clause"
] | 31 | 2019-01-31T14:36:50.000Z | 2022-03-14T03:48:32.000Z | # Copyright (c) 2020 The Regents of the University of Michigan
# All rights reserved.
# This software is licensed under the BSD 3-Clause License.
"""Defines a buffering protocol for :class:`~.SyncedCollection` objects.
Depending on the choice of backend, synchronization may be an expensive process.
In that case, it ca... | 40.39011 | 110 | 0.691335 | 943 | 7,351 | 5.26299 | 0.30965 | 0.007052 | 0.012895 | 0.009672 | 0.2027 | 0.193431 | 0.181745 | 0.158372 | 0.143865 | 0.143865 | 0 | 0.003254 | 0.247585 | 7,351 | 181 | 111 | 40.61326 | 0.894052 | 0.697728 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211538 | false | 0.038462 | 0.076923 | 0 | 0.365385 | 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 | 0 | 0 | 0 | 1 |
ab3819279fa710c9c182493a3f50266572005be2 | 3,818 | py | Python | app.py | MuthomiGuantai/InstagramBot-Python | 599e67de019b3d7fc2ed11f09b6ec6280ffa421e | [
"MIT"
] | null | null | null | app.py | MuthomiGuantai/InstagramBot-Python | 599e67de019b3d7fc2ed11f09b6ec6280ffa421e | [
"MIT"
] | null | null | null | app.py | MuthomiGuantai/InstagramBot-Python | 599e67de019b3d7fc2ed11f09b6ec6280ffa421e | [
"MIT"
] | null | null | null | import random
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
import sys
def print_same_line(text):
sys.stdout.write('\r')
sys.stdout.flush()
sys.stdout.write(text)
sys.stdout.flush()
class InstagramBot:
def __init__(self, username, password):
... | 36.361905 | 105 | 0.571241 | 424 | 3,818 | 4.966981 | 0.372642 | 0.042735 | 0.033238 | 0.036087 | 0.205128 | 0.168091 | 0.132953 | 0.132953 | 0.097816 | 0 | 0 | 0.010173 | 0.304872 | 3,818 | 105 | 106 | 36.361905 | 0.783346 | 0.049764 | 0 | 0.268293 | 0 | 0 | 0.161281 | 0.050262 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060976 | false | 0.109756 | 0.060976 | 0 | 0.134146 | 0.02439 | 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 | 0 | 0 | 0 | 1 |
ab3c14ffd19b51c3561cae120f5d55b9b19b92a9 | 12,609 | py | Python | pyamg/util/tests/test_linalg.py | thomasjpfan/pyamg | b0904d31c8da0c29affcd7d0fcd2bb8cb910b42a | [
"MIT"
] | null | null | null | pyamg/util/tests/test_linalg.py | thomasjpfan/pyamg | b0904d31c8da0c29affcd7d0fcd2bb8cb910b42a | [
"MIT"
] | null | null | null | pyamg/util/tests/test_linalg.py | thomasjpfan/pyamg | b0904d31c8da0c29affcd7d0fcd2bb8cb910b42a | [
"MIT"
] | null | null | null | import numpy as np
from scipy import linalg
from scipy.sparse import csr_matrix
from scipy.linalg import svd, eigvals
from pyamg.util.linalg import approximate_spectral_radius,\
infinity_norm, norm, condest, cond,\
ishermitian, pinv_array
from pyamg import gallery
from numpy.testing import TestCase, assert_a... | 36.760933 | 82 | 0.538187 | 1,714 | 12,609 | 3.831389 | 0.097433 | 0.043856 | 0.058474 | 0.038374 | 0.761992 | 0.728339 | 0.683265 | 0.655703 | 0.602406 | 0.578955 | 0 | 0.050059 | 0.326671 | 12,609 | 342 | 83 | 36.868421 | 0.723439 | 0.04124 | 0 | 0.522556 | 0 | 0 | 0.000497 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.033835 | false | 0 | 0.030075 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ab3f158d32c64d3cb9e1e18a81494713ee95431a | 1,485 | py | Python | save_to_excel.py | andyrenpanlong/data_operator | 146f7a4fe0e9080ca0a64e1ab2ee32ca079b65f7 | [
"MIT"
] | null | null | null | save_to_excel.py | andyrenpanlong/data_operator | 146f7a4fe0e9080ca0a64e1ab2ee32ca079b65f7 | [
"MIT"
] | null | null | null | save_to_excel.py | andyrenpanlong/data_operator | 146f7a4fe0e9080ca0a64e1ab2ee32ca079b65f7 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import sys
import xlwt
import datetime
from pymongo import MongoClient
default_encoding = 'utf-8'
if sys.getdefaultencoding() != default_encoding:
print sys.getdefaultencoding()
reload(sys)
sys.setdefaultencoding(default_encoding)
if __name__ == '__main__':
startT... | 29.117647 | 90 | 0.597306 | 180 | 1,485 | 4.772222 | 0.405556 | 0.037253 | 0.027939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035205 | 0.292256 | 1,485 | 51 | 91 | 29.117647 | 0.782112 | 0.039057 | 0 | 0 | 0 | 0 | 0.076475 | 0.022578 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.135135 | null | null | 0.135135 | 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 | 0 | 0 | 1 |
ab432a66dcd3c9610c18e62e7239f87e359335ed | 32,733 | py | Python | test/test_message.py | da4089/simplefix | 9886fcbd7f5703ac6a8815033b0f1c0ede78bf2b | [
"MIT"
] | 170 | 2017-03-07T20:15:48.000Z | 2022-03-01T21:30:44.000Z | test/test_message.py | da4089/simplefix | 9886fcbd7f5703ac6a8815033b0f1c0ede78bf2b | [
"MIT"
] | 37 | 2016-12-07T22:56:40.000Z | 2022-03-15T02:36:35.000Z | test/test_message.py | da4089/simplefix | 9886fcbd7f5703ac6a8815033b0f1c0ede78bf2b | [
"MIT"
] | 51 | 2017-06-07T00:31:35.000Z | 2022-03-28T04:21:54.000Z | #! /usr/bin/env python
########################################################################
# SimpleFIX
# Copyright (C) 2016-2021, David Arnold.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the S... | 35.121245 | 80 | 0.592155 | 4,343 | 32,733 | 4.284596 | 0.080359 | 0.051268 | 0.047291 | 0.070937 | 0.756933 | 0.707599 | 0.677397 | 0.636285 | 0.586146 | 0.527891 | 0 | 0.087818 | 0.275716 | 32,733 | 931 | 81 | 35.158969 | 0.697064 | 0.139309 | 0 | 0.553254 | 0 | 0 | 0.048181 | 0.012916 | 0.011834 | 0 | 0 | 0.001074 | 0.220414 | 1 | 0.137574 | false | 0 | 0.008876 | 0 | 0.149408 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ab45b4e017fd95cf4578fd15ba85222dcb8b8f89 | 1,994 | py | Python | examples/build_fee_bump_transaction.py | MartinThoma/py-stellar-base | 07ab28cde7a7040f2262b224f9af8a3416c0e5ab | [
"Apache-2.0"
] | 1 | 2021-07-06T01:34:08.000Z | 2021-07-06T01:34:08.000Z | examples/build_fee_bump_transaction.py | MartinThoma/py-stellar-base | 07ab28cde7a7040f2262b224f9af8a3416c0e5ab | [
"Apache-2.0"
] | 36 | 2021-08-23T17:31:52.000Z | 2022-03-28T01:39:00.000Z | examples/build_fee_bump_transaction.py | MartinThoma/py-stellar-base | 07ab28cde7a7040f2262b224f9af8a3416c0e5ab | [
"Apache-2.0"
] | 1 | 2021-07-06T01:33:40.000Z | 2021-07-06T01:33:40.000Z | """
A fee-bump transaction enables any account to pay the fee for an existing transaction
without the need to re-sign the existing transaction or manage sequence numbers.
They’re useful if you need to increase the fee on a pre-signed transaction, or
if you want to build a service that covers user fees. Like a regular t... | 34.37931 | 87 | 0.804413 | 250 | 1,994 | 6.184 | 0.432 | 0.027167 | 0.034929 | 0.02458 | 0.03881 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023002 | 0.127884 | 1,994 | 57 | 88 | 34.982456 | 0.866015 | 0.302909 | 0 | 0.052632 | 0 | 0 | 0.151954 | 0.121563 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.105263 | 0.078947 | 0 | 0.078947 | 0.078947 | 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 | 0 | 0 | 0 | 1 |
ab4e3cd20f757ce983a723a316699f0e89bbe6bd | 921 | py | Python | building_map_tools/building_map/transform.py | Yadunund/traffic-editor | b511f7ebff640d7b74d05abd812740f2bdf7a6a7 | [
"Apache-2.0"
] | null | null | null | building_map_tools/building_map/transform.py | Yadunund/traffic-editor | b511f7ebff640d7b74d05abd812740f2bdf7a6a7 | [
"Apache-2.0"
] | null | null | null | building_map_tools/building_map/transform.py | Yadunund/traffic-editor | b511f7ebff640d7b74d05abd812740f2bdf7a6a7 | [
"Apache-2.0"
] | null | null | null | import math
import numpy as np
class Transform:
"""This class represents an 2D rotation, scaling, and translation."""
def __init__(self):
self.set_rotation(0.0)
self.set_translation(0.0, 0.0)
self.set_scale(1.0)
def set_rotation(self, rotation):
"""Calculate rotation matr... | 29.709677 | 77 | 0.605863 | 127 | 921 | 4.275591 | 0.314961 | 0.014733 | 0.022099 | 0.033149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021521 | 0.243214 | 921 | 30 | 78 | 30.7 | 0.757532 | 0.096634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.095238 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 1 |
ab4effc9bd53bb85291e8c25454fa24091171b9a | 212 | py | Python | Chapter08/c8_99_08_generate_tradingDays.py | John-ye666/Python-for-Finance-Second-Edition | dabef09bcdd7b0ec2934774741bd0a7e1950de73 | [
"MIT"
] | 236 | 2017-07-02T03:06:54.000Z | 2022-03-31T03:15:33.000Z | Chapter08/c8_99_08_generate_tradingDays.py | John-ye666/Python-for-Finance-Second-Edition | dabef09bcdd7b0ec2934774741bd0a7e1950de73 | [
"MIT"
] | null | null | null | Chapter08/c8_99_08_generate_tradingDays.py | John-ye666/Python-for-Finance-Second-Edition | dabef09bcdd7b0ec2934774741bd0a7e1950de73 | [
"MIT"
] | 139 | 2017-06-30T10:28:16.000Z | 2022-01-19T19:43:34.000Z | import pandas as pd
x=pd.read_table("c:/temp/tradingDaysMonthly.txt")
x.to_pickle("c:/temp/tradingDaysMonthly.pkl")
a=pd.read_table("c:/temp/tradingDaysDaily.txt")
a.to_pickle("c:/temp/tradingDaysDaily.pkl") | 21.2 | 49 | 0.764151 | 34 | 212 | 4.647059 | 0.470588 | 0.126582 | 0.139241 | 0.151899 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 212 | 10 | 50 | 21.2 | 0.79 | 0 | 0 | 0 | 0 | 0 | 0.544601 | 0.544601 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ab4f038f79d710671de96ee9b7e3aed003b4fad6 | 8,367 | py | Python | tests/python-opcua/opcua/ua/ua_binary.py | iit-danieli-joint-lab/opcua-modeling-tool | f8c3d940a61334b0e6deda9099844a6b429d7c08 | [
"MIT"
] | 32 | 2018-03-27T12:25:24.000Z | 2022-01-11T21:20:06.000Z | tests/python-opcua/opcua/ua/ua_binary.py | iit-danieli-joint-lab/opcua-modeling-tool | f8c3d940a61334b0e6deda9099844a6b429d7c08 | [
"MIT"
] | 5 | 2018-04-09T07:35:54.000Z | 2020-03-10T11:04:45.000Z | tests/python-opcua/opcua/ua/ua_binary.py | iit-danieli-joint-lab/opcua-modeling-tool | f8c3d940a61334b0e6deda9099844a6b429d7c08 | [
"MIT"
] | 12 | 2018-06-04T20:06:06.000Z | 2021-07-02T22:09:53.000Z | """
Binary protocol specific functions and constants
"""
import sys
import struct
import logging
from datetime import datetime, timedelta, tzinfo, MAXYEAR
from calendar import timegm
import uuid
from opcua.ua.uaerrors import UaError
if sys.version_info.major > 2:
unicode = str
logger = logging.getLogger('__nam... | 27.07767 | 94 | 0.630094 | 1,065 | 8,367 | 4.829108 | 0.216901 | 0.03111 | 0.021777 | 0.027221 | 0.4056 | 0.338713 | 0.281159 | 0.236827 | 0.236827 | 0.217383 | 0 | 0.033014 | 0.265089 | 8,367 | 308 | 95 | 27.165584 | 0.803383 | 0.138042 | 0 | 0.330097 | 0 | 0 | 0.028763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140777 | false | 0 | 0.048544 | 0.048544 | 0.558252 | 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 | 0 | 1 | 0 | 0 | 1 |
ab4f278e4faf45c475bded939a55f1d2a9a907f5 | 1,260 | py | Python | tests/test_image_man.py | adcrn/knest | a274dc9ddb642cc30f837e225f000bf33430eb43 | [
"BSD-3-Clause"
] | 8 | 2018-03-15T23:42:51.000Z | 2020-03-10T06:21:03.000Z | tests/test_image_man.py | deekerno/knest | a274dc9ddb642cc30f837e225f000bf33430eb43 | [
"BSD-3-Clause"
] | 12 | 2018-03-15T19:11:02.000Z | 2018-10-30T10:02:45.000Z | tests/test_image_man.py | adcrn/knest | a274dc9ddb642cc30f837e225f000bf33430eb43 | [
"BSD-3-Clause"
] | null | null | null | # UCF Senior Design 2017-18
# Group 38
import cv2
import unittest
import utils.image_man as im
GOOD_EXIF = 'tests/images/test_good_exif.JPG'
EMPTY_EXIF = 'tests/images/test_empty_exif.JPG'
NONEXIF = 'tests/images/test_nonexif_image_format.png'
class ImageManipulationTestCase(unittest.TestCase):
"""Tests for `im... | 27.391304 | 103 | 0.68254 | 176 | 1,260 | 4.659091 | 0.340909 | 0.078049 | 0.054878 | 0.047561 | 0.281707 | 0.237805 | 0.202439 | 0.202439 | 0.1 | 0 | 0 | 0.012257 | 0.223016 | 1,260 | 45 | 104 | 28 | 0.825332 | 0.254762 | 0 | 0.16 | 0 | 0 | 0.123497 | 0.114754 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.2 | false | 0.08 | 0.12 | 0 | 0.36 | 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 | 0 | 0 | 0 | 1 |
ab5459d00eadc15cef54819ab5bc7e7734d45a78 | 7,631 | py | Python | src/oci/waas/models/update_http_redirect_details.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | 249 | 2017-09-11T22:06:05.000Z | 2022-03-04T17:09:29.000Z | src/oci/waas/models/update_http_redirect_details.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | 228 | 2017-09-11T23:07:26.000Z | 2022-03-23T10:58:50.000Z | src/oci/waas/models/update_http_redirect_details.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | 224 | 2017-09-27T07:32:43.000Z | 2022-03-25T16:55:42.000Z | # coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 34.529412 | 245 | 0.66243 | 893 | 7,631 | 5.487122 | 0.209406 | 0.031837 | 0.158163 | 0.071429 | 0.606122 | 0.498776 | 0.418776 | 0.370612 | 0.356327 | 0.356327 | 0 | 0.007414 | 0.257633 | 7,631 | 220 | 246 | 34.686364 | 0.857546 | 0.608439 | 0 | 0.080645 | 0 | 0 | 0.104025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.032258 | 0.032258 | 0.419355 | 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 | 0 | 0 | 0 | 1 |
ab563b70965b9e5a964b1bd31aa79fe7192c2d90 | 714 | py | Python | var/spack/repos/builtin/packages/setserial/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11 | 2015-10-04T02:17:46.000Z | 2018-02-07T18:23:00.000Z | var/spack/repos/builtin/packages/setserial/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 22 | 2017-08-01T22:45:10.000Z | 2022-03-10T07:46:31.000Z | var/spack/repos/builtin/packages/setserial/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 4 | 2016-06-10T17:57:39.000Z | 2018-09-11T04:59:38.000Z | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Setserial(AutotoolsPackage):
"""A utility for configuring serial ports."""
homepage =... | 34 | 106 | 0.721289 | 86 | 714 | 5.988372 | 0.755814 | 0.017476 | 0.046602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120861 | 0.154062 | 714 | 20 | 107 | 35.7 | 0.731788 | 0.320728 | 0 | 0 | 0 | 0.111111 | 0.434874 | 0.134454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
ab5687e8a9e02a6695c67cb3189cf04208265cad | 644 | py | Python | Algorithms/Sorting/MergeSort.py | unobatbayar/algorithms-data-structures | dfa9bd67dce32028316a9e3cd607d65afe137772 | [
"MIT"
] | 4 | 2019-05-17T19:13:28.000Z | 2022-03-03T01:01:08.000Z | Algorithms/Sorting/MergeSort.py | unobatbayar/algorithms-data-structures | dfa9bd67dce32028316a9e3cd607d65afe137772 | [
"MIT"
] | 3 | 2019-02-26T02:53:54.000Z | 2022-02-11T15:24:49.000Z | Algorithms/Sorting/MergeSort.py | unobatbayar/algorithms-data-structures | dfa9bd67dce32028316a9e3cd607d65afe137772 | [
"MIT"
] | 1 | 2019-12-12T06:01:16.000Z | 2019-12-12T06:01:16.000Z | # sorting algorithm -> mergesort
# About mergesort: Best case O(n log n), Average case O(n log n), Worst case O(n log n)
# @author unobatbayar
# Thanks to HackerRank's mergesort tutorial
title = 'Welcome to Mergesort Algorithm!'
print(title + '\n' + 'Enter unsorted data set: ')
user_input = input()
array = user_inpu... | 23.851852 | 87 | 0.667702 | 95 | 644 | 4.442105 | 0.452632 | 0.085308 | 0.132701 | 0.063981 | 0.180095 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007828 | 0.206522 | 644 | 26 | 88 | 24.769231 | 0.818004 | 0.27795 | 0 | 0 | 0 | 0 | 0.126362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ab62b28df6bd63dd424a4f79468bfd8d4ab84061 | 3,823 | py | Python | fortnitepy/message.py | Awnage/fortnitepy | 04db4f4fa906e1e9541655d2761ff7800c39787d | [
"MIT"
] | null | null | null | fortnitepy/message.py | Awnage/fortnitepy | 04db4f4fa906e1e9541655d2761ff7800c39787d | [
"MIT"
] | null | null | null | fortnitepy/message.py | Awnage/fortnitepy | 04db4f4fa906e1e9541655d2761ff7800c39787d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
MIT License
Copyright (c) 2019-2020 Terbau
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 29.635659 | 78 | 0.636934 | 460 | 3,823 | 5.13913 | 0.319565 | 0.037225 | 0.029611 | 0.030457 | 0.275381 | 0.237733 | 0.237733 | 0.237733 | 0.192893 | 0.192893 | 0 | 0.004949 | 0.260005 | 3,823 | 128 | 79 | 29.867188 | 0.830682 | 0.348156 | 0 | 0.425926 | 0 | 0 | 0.123552 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185185 | false | 0 | 0.092593 | 0.037037 | 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 | 0 | 0 | 1 | 0 | 0 | 1 |
db3e0f4f2baffac8351560aad12c44d43efce7b3 | 54,509 | py | Python | app/nn/NNDialogue.py | hailiang-wang/aclweb-I17-1074 | 93066d11e959afbd6800a72a0c02c8f700444de3 | [
"Apache-2.0"
] | null | null | null | app/nn/NNDialogue.py | hailiang-wang/aclweb-I17-1074 | 93066d11e959afbd6800a72a0c02c8f700444de3 | [
"Apache-2.0"
] | null | null | null | app/nn/NNDialogue.py | hailiang-wang/aclweb-I17-1074 | 93066d11e959afbd6800a72a0c02c8f700444de3 | [
"Apache-2.0"
] | null | null | null | ######################################################################
######################################################################
# Copyright Tsung-Hsien Wen, Cambridge Dialogue Systems Group, 2017 #
######################################################################
####################################... | 44.937345 | 95 | 0.499294 | 5,961 | 54,509 | 4.432813 | 0.104513 | 0.018922 | 0.016727 | 0.006661 | 0.563238 | 0.519868 | 0.482781 | 0.440282 | 0.400167 | 0.384726 | 0 | 0.022642 | 0.361518 | 54,509 | 1,212 | 96 | 44.974422 | 0.736603 | 0.088866 | 0 | 0.492537 | 0 | 0.005741 | 0.104764 | 0.000542 | 0.002296 | 0 | 0 | 0.000825 | 0 | 0 | null | null | 0.001148 | 0.02411 | null | null | 0.096441 | 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 | 0 | 0 | 1 |
db3f129cfa44203bbfcf2bd378b34f8dde1139df | 10,298 | py | Python | deep_lynx/models/prompt.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | 3 | 2021-06-16T20:34:41.000Z | 2021-06-16T23:54:36.000Z | swagger_client/models/prompt.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | null | null | null | swagger_client/models/prompt.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Deep Lynx
The construction of megaprojects has consistently demonstrated challenges for project managers in regard to meeting cost, schedule, and performance requirements. Megaproject construction challenges are common place within megaprojects with many active projects in the United State... | 32.282132 | 1,455 | 0.627792 | 1,285 | 10,298 | 4.831128 | 0.18677 | 0.034794 | 0.069588 | 0.069588 | 0.40625 | 0.29462 | 0.268686 | 0.213434 | 0.121617 | 0.040915 | 0 | 0.013853 | 0.291998 | 10,298 | 318 | 1,456 | 32.383648 | 0.837608 | 0.403379 | 0 | 0.077465 | 0 | 0 | 0.073708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169014 | false | 0 | 0.021127 | 0 | 0.316901 | 0.014085 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
db4179aa669ffd5550177c32011a20342447a645 | 469 | py | Python | app/todo_list/forms.py | femiayotubosun/simple-todo-webapp | 0e0c958832051f7e5f81ad94bed81a77e9ec8e94 | [
"MIT"
] | null | null | null | app/todo_list/forms.py | femiayotubosun/simple-todo-webapp | 0e0c958832051f7e5f81ad94bed81a77e9ec8e94 | [
"MIT"
] | null | null | null | app/todo_list/forms.py | femiayotubosun/simple-todo-webapp | 0e0c958832051f7e5f81ad94bed81a77e9ec8e94 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField
from wtforms.validators import Length, Required
class TodoForm(FlaskForm):
task = StringField("Enter your task", validators=[
Required(), Length(1, 128)])
submit = SubmitField("Add new task")
class TodoListFo... | 29.3125 | 77 | 0.690832 | 51 | 469 | 6.333333 | 0.509804 | 0.068111 | 0.123839 | 0.154799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021448 | 0.204691 | 469 | 15 | 78 | 31.266667 | 0.844504 | 0 | 0 | 0 | 0 | 0 | 0.117271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.272727 | 0 | 0.818182 | 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 | 0 | 1 | 0 | 0 | 1 |
db4ceccbae6d7157a15905ed757c65fde21f2b03 | 1,013 | py | Python | core/models/node.py | xuhang57/atmosphere | f53fea2a74ee89ccc8852906799b1d9a7e9178b7 | [
"BSD-3-Clause"
] | null | null | null | core/models/node.py | xuhang57/atmosphere | f53fea2a74ee89ccc8852906799b1d9a7e9178b7 | [
"BSD-3-Clause"
] | null | null | null | core/models/node.py | xuhang57/atmosphere | f53fea2a74ee89ccc8852906799b1d9a7e9178b7 | [
"BSD-3-Clause"
] | null | null | null | """
Service Provider model for atmosphere.
"""
from django.db import models
from django.utils import timezone
from core.models.provider import Provider
class NodeController(models.Model):
"""
NodeControllers are specific to a provider
They have a dedicated, static IP address and a human readable name
... | 28.942857 | 75 | 0.709773 | 134 | 1,013 | 5.223881 | 0.567164 | 0.042857 | 0.055714 | 0.068571 | 0.077143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011152 | 0.203356 | 1,013 | 34 | 76 | 29.794118 | 0.856258 | 0.217177 | 0 | 0 | 0 | 0 | 0.034121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.157895 | 0.105263 | 0.842105 | 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 | 0 | 0 | 0 | 1 |
db4e01bf35b4d7fb6f6129a3e9e657bd5a9b50d1 | 7,419 | py | Python | gpu/MatTimesVec.py | freifeld/of | 4a95c9bcf61550bd5773c3e9437ef0e22071547f | [
"MIT"
] | null | null | null | gpu/MatTimesVec.py | freifeld/of | 4a95c9bcf61550bd5773c3e9437ef0e22071547f | [
"MIT"
] | null | null | null | gpu/MatTimesVec.py | freifeld/of | 4a95c9bcf61550bd5773c3e9437ef0e22071547f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
Matrix-vector multiplication using blocks of 256 threads
(and global memory).
It is designed for computing x = A.dot(b) where:
A is "skinny-tall"
b is a vector
# of rows in A is large (e.g., numnber of pixels in an image)
# of columns in A (or rows in b) is not too large (e... | 31.436441 | 111 | 0.553039 | 952 | 7,419 | 4.110294 | 0.234244 | 0.0368 | 0.0276 | 0.0276 | 0.257347 | 0.188347 | 0.119857 | 0.092768 | 0.092768 | 0.079479 | 0 | 0.01547 | 0.346543 | 7,419 | 236 | 112 | 31.436441 | 0.791667 | 0.108236 | 0 | 0.088 | 0 | 0.008 | 0.15561 | 0.004135 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.008 | 0.032 | null | null | 0.112 | 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 | 0 | 0 | 1 |
db535e453495859b475597df54978e0a3ee899a3 | 1,427 | py | Python | tests/sentry/web/forms/fields/tests.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/web/forms/fields/tests.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/web/forms/fields/tests.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | from django import forms
from exam import fixture
from sentry.web.forms.fields import OriginsField
from sentry.testutils import TestCase
class OriginsFieldTest(TestCase):
@fixture
def field(self):
return OriginsField()
def test_supports_wildcards(self):
value = '*'
result = self.... | 30.361702 | 60 | 0.661528 | 164 | 1,427 | 5.603659 | 0.256098 | 0.087051 | 0.106638 | 0.144723 | 0.586507 | 0.586507 | 0.586507 | 0.586507 | 0.433079 | 0.433079 | 0 | 0.00722 | 0.223546 | 1,427 | 46 | 61 | 31.021739 | 0.822202 | 0 | 0 | 0.25 | 0 | 0 | 0.098108 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 1 | 0.222222 | false | 0 | 0.111111 | 0.027778 | 0.388889 | 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 | 0 | 0 | 0 | 1 |
db53989257df5b6290c1580abe39fb6b8c70089a | 1,593 | py | Python | celery/tests/config.py | amplify-education/celery | 3ea8824d9bdb6c5928701cf8466287d4259aa0e0 | [
"BSD-3-Clause"
] | 2 | 2015-09-24T19:53:13.000Z | 2015-11-06T10:23:09.000Z | celery/tests/config.py | dcramer/celery | 7aa55c5f628c29bb6bf942bc5c81feb070fe62a4 | [
"BSD-3-Clause"
] | null | null | null | celery/tests/config.py | dcramer/celery | 7aa55c5f628c29bb6bf942bc5c81feb070fe62a4 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
import os
BROKER_TRANSPORT = "memory"
#: Don't want log output when running suite.
CELERYD_HIJACK_ROOT_LOGGER = False
CELERY_RESULT_BACKEND = "cache"
CELERY_CACHE_BACKEND = "memory"
CELERY_RESULT_DBURI = "sqlite:///test.db"
CELERY_SEND_TASK_ERROR_EMAILS = False
CELERY_DEFAULT... | 35.4 | 74 | 0.762712 | 223 | 1,593 | 5.147982 | 0.32287 | 0.109756 | 0.146341 | 0.118467 | 0.244774 | 0.128049 | 0.128049 | 0.128049 | 0.08885 | 0 | 0 | 0.009957 | 0.117389 | 1,593 | 44 | 75 | 36.204545 | 0.806543 | 0.142498 | 0 | 0 | 0 | 0 | 0.265051 | 0.018355 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.129032 | 0.064516 | 0 | 0.064516 | 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 | 0 | 0 | 0 | 1 |
db54369a1023a1029f6496482d538641101e096b | 6,283 | py | Python | tools/webvttUtils.py | zhangjihere/aws-transcribe-captioning-tools | a5173539871d4d94f0892343bb33e9c3456a0855 | [
"MIT-0"
] | 89 | 2018-08-21T22:13:50.000Z | 2022-02-01T22:14:11.000Z | tools/webvttUtils.py | pranavvats32/aws-transcribe-captioning-tools | 14d8b58186fd71c2145e6cc76719ffc0be3a7087 | [
"MIT-0"
] | 5 | 2019-01-11T02:52:07.000Z | 2021-08-31T16:38:08.000Z | tools/webvttUtils.py | pranavvats32/aws-transcribe-captioning-tools | 14d8b58186fd71c2145e6cc76719ffc0be3a7087 | [
"MIT-0"
] | 34 | 2018-12-08T21:14:33.000Z | 2021-11-04T07:37:19.000Z | import json
import boto3
import re
import codecs
from audioUtils import *
translate = boto3.client(service_name='translate', region_name='us-east-1', use_ssl=True)
# Create a new phrase structure
def newPhrase():
return { 'start_time': '', 'end_time': '', 'words' : [] }
# Format and return a string... | 27.557018 | 130 | 0.657488 | 816 | 6,283 | 5.030637 | 0.270833 | 0.015347 | 0.01218 | 0.014616 | 0.246529 | 0.198538 | 0.173691 | 0.173691 | 0.151766 | 0.118879 | 0 | 0.012738 | 0.237785 | 6,283 | 228 | 131 | 27.557018 | 0.844226 | 0.347923 | 0 | 0.420561 | 0 | 0 | 0.142035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.046729 | null | null | 0.046729 | 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 | 0 | 0 | 1 |
db60395109ed626a782f73c230fa1184a2797e43 | 349 | py | Python | nimare/decode/__init__.py | alexprz/NiMARE | e17629fb0793a593a9b244ca4fe9dbbc3412f592 | [
"MIT"
] | null | null | null | nimare/decode/__init__.py | alexprz/NiMARE | e17629fb0793a593a9b244ca4fe9dbbc3412f592 | [
"MIT"
] | null | null | null | nimare/decode/__init__.py | alexprz/NiMARE | e17629fb0793a593a9b244ca4fe9dbbc3412f592 | [
"MIT"
] | null | null | null | """
Functional decoding tools
"""
import warnings
from . import continuous
from . import discrete
from . import encode
__all__ = ['continuous', 'discrete', 'encode']
warnings.simplefilter('default')
warnings.warn(
"{} is an experimental module under active development; use it at your "
"own risk.".format(__... | 18.368421 | 76 | 0.716332 | 39 | 349 | 6.205128 | 0.74359 | 0.123967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169054 | 349 | 18 | 77 | 19.388889 | 0.834483 | 0.071633 | 0 | 0 | 0 | 0 | 0.348101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.454545 | 0 | 0.454545 | 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 | 0 | 0 | 0 | 1 |
db6cf858e0492aa62696b4f7784c376017b07f4f | 2,934 | py | Python | src/condor_contrib/aviary/test/locator.py | mambelli/osg-bosco-marco | a8ad7658ce68eb0397ed2de234d87edb9404d65b | [
"Apache-2.0"
] | null | null | null | src/condor_contrib/aviary/test/locator.py | mambelli/osg-bosco-marco | a8ad7658ce68eb0397ed2de234d87edb9404d65b | [
"Apache-2.0"
] | null | null | null | src/condor_contrib/aviary/test/locator.py | mambelli/osg-bosco-marco | a8ad7658ce68eb0397ed2de234d87edb9404d65b | [
"Apache-2.0"
] | 1 | 2021-08-29T14:03:07.000Z | 2021-08-29T14:03:07.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2009-2012 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | 36.675 | 134 | 0.739945 | 439 | 2,934 | 4.890661 | 0.523918 | 0.027946 | 0.020959 | 0.014905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010297 | 0.1394 | 2,934 | 79 | 135 | 37.139241 | 0.84 | 0.470007 | 0 | 0.088235 | 0 | 0 | 0.296515 | 0.042078 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.147059 | null | null | 0.176471 | 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 | 0 | 0 | 1 |
db78d8c99bb7d69ac50fb000050f7bba1cdc370c | 757 | py | Python | src/sqlalchemy/03sqla_sync/models/aditivo_nutritivo.py | alfmorais/python-database | c19fb25a880c1ba0844a516f7a264647f33a03f4 | [
"MIT"
] | null | null | null | src/sqlalchemy/03sqla_sync/models/aditivo_nutritivo.py | alfmorais/python-database | c19fb25a880c1ba0844a516f7a264647f33a03f4 | [
"MIT"
] | null | null | null | src/sqlalchemy/03sqla_sync/models/aditivo_nutritivo.py | alfmorais/python-database | c19fb25a880c1ba0844a516f7a264647f33a03f4 | [
"MIT"
] | null | null | null | import sqlalchemy
from datetime import datetime
from models.model_base import ModelBase
class AditivoNutritivo(ModelBase):
__tablename__: str = "aditivos_nutritivos"
id: int = sqlalchemy.Column(
sqlalchemy.BigInteger,
primary_key=True,
autoincrement=True
)
data_criacao: dateti... | 23.65625 | 50 | 0.639366 | 75 | 757 | 6.28 | 0.56 | 0.135881 | 0.220807 | 0.123142 | 0.254777 | 0.254777 | 0.254777 | 0.254777 | 0.254777 | 0.254777 | 0 | 0.007233 | 0.269485 | 757 | 31 | 51 | 24.419355 | 0.844485 | 0 | 0 | 0.222222 | 0 | 0 | 0.067371 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.111111 | 0.037037 | 0.407407 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
db7ae17be8bdaa4bc5a248b0c719a0272fa5ae50 | 12,586 | py | Python | tensorflow/contrib/distributions/python/kernel_tests/operator_pd_test.py | jdehotin/TensorFlow | a6c5f8e4e013e54fed8dfcf49fb6de365f018022 | [
"Apache-2.0"
] | 1 | 2021-06-10T23:59:44.000Z | 2021-06-10T23:59:44.000Z | tensorflow/contrib/distributions/python/kernel_tests/operator_pd_test.py | jdehotin/TensorFlow | a6c5f8e4e013e54fed8dfcf49fb6de365f018022 | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/distributions/python/kernel_tests/operator_pd_test.py | jdehotin/TensorFlow | a6c5f8e4e013e54fed8dfcf49fb6de365f018022 | [
"Apache-2.0"
] | 1 | 2020-07-09T22:02:18.000Z | 2020-07-09T22:02:18.000Z | # Copyright 2016 The TensorFlow Authors. 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
#
# Unless required by applica... | 34.961111 | 80 | 0.670427 | 1,814 | 12,586 | 4.321389 | 0.126792 | 0.10333 | 0.026024 | 0.041204 | 0.674959 | 0.641281 | 0.630182 | 0.622656 | 0.612195 | 0.612195 | 0 | 0.019675 | 0.212538 | 12,586 | 359 | 81 | 35.058496 | 0.771264 | 0.091292 | 0 | 0.588933 | 0 | 0 | 0.001842 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.150198 | false | 0 | 0.023715 | 0.047431 | 0.256917 | 0.003953 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
db7ae445b6e4e917223436276c0d3a184fad7592 | 1,192 | py | Python | tests/test_append.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 50 | 2021-08-18T08:08:04.000Z | 2022-03-20T07:23:26.000Z | tests/test_append.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 1 | 2021-02-21T03:18:09.000Z | 2021-03-08T01:07:52.000Z | tests/test_append.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 8 | 2021-07-01T02:39:15.000Z | 2021-12-10T02:20:18.000Z | from __future__ import annotations
from unittest import TestCase
from tests.classes.super_append import SuperAppend
class TestAppend(TestCase):
def test_append_adds_str_into_the_end_of_original_str(self):
i_str = SuperAppend(s='99999999')
self.assertEqual(i_str.s, '999999993432')
def test_app... | 39.733333 | 67 | 0.681208 | 169 | 1,192 | 4.431953 | 0.254438 | 0.056075 | 0.104139 | 0.048064 | 0.757009 | 0.46996 | 0.387183 | 0.387183 | 0.080107 | 0 | 0 | 0.072874 | 0.171141 | 1,192 | 29 | 68 | 41.103448 | 0.685223 | 0 | 0 | 0 | 0 | 0 | 0.090604 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | false | 0 | 0.136364 | 0 | 0.454545 | 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 | 0 | 0 | 0 | 1 |
db7b39a07ad1f9175fae79fdb48758a00e7a9fbf | 4,514 | py | Python | old_scripts/relative_with_interpolation.py | cohnt/Deformable-Object-Manifold-Learning | 81b6d757df78fbd4427db7ab87051ed1514180ee | [
"MIT"
] | null | null | null | old_scripts/relative_with_interpolation.py | cohnt/Deformable-Object-Manifold-Learning | 81b6d757df78fbd4427db7ab87051ed1514180ee | [
"MIT"
] | null | null | null | old_scripts/relative_with_interpolation.py | cohnt/Deformable-Object-Manifold-Learning | 81b6d757df78fbd4427db7ab87051ed1514180ee | [
"MIT"
] | null | null | null | import numpy as np
import cv2
import matplotlib.pyplot as plt
num_points_to_track = 200
x_coord_start = 200
x_coord_stop = 1720
frame_list = []
manifold_data = []
show_video_images = False
cap = cv2.VideoCapture("data/rope_two_hands.mp4")
if not cap.isOpened():
print "Error opening video stream or file"
def getRe... | 30.5 | 111 | 0.675011 | 721 | 4,514 | 4.047157 | 0.260749 | 0.02913 | 0.063057 | 0.035984 | 0.280672 | 0.245031 | 0.216244 | 0.206306 | 0.19157 | 0.19157 | 0 | 0.039376 | 0.133584 | 4,514 | 148 | 112 | 30.5 | 0.706725 | 0.218875 | 0 | 0.023256 | 0 | 0 | 0.036039 | 0.006739 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.05814 | null | null | 0.034884 | 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 | 0 | 0 | 1 |
db7dcf25727ef5176b37650e55bd5f29891b1060 | 3,476 | py | Python | p2ner/components/pipeelement/bandwidthelement/bandwidthelement/bw.py | schristakidis/p2ner | 46694a41e8c1ebdc28f520b58c126da8785f3eed | [
"Apache-2.0"
] | 2 | 2015-06-01T22:04:34.000Z | 2017-07-06T09:35:00.000Z | p2ner/components/pipeelement/bandwidthelement/bandwidthelement/bw.py | schristakidis/p2ner | 46694a41e8c1ebdc28f520b58c126da8785f3eed | [
"Apache-2.0"
] | null | null | null | p2ner/components/pipeelement/bandwidthelement/bandwidthelement/bw.py | schristakidis/p2ner | 46694a41e8c1ebdc28f520b58c126da8785f3eed | [
"Apache-2.0"
] | 1 | 2019-11-26T10:22:35.000Z | 2019-11-26T10:22:35.000Z | # -*- coding: utf-8 -*-
# Copyright 2012 Loris Corazza, Sakis Christakidis
#
# 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
#
# U... | 30.761062 | 76 | 0.592348 | 452 | 3,476 | 4.55531 | 0.345133 | 0.046625 | 0.023312 | 0.015542 | 0.117533 | 0.080622 | 0.042739 | 0.042739 | 0.042739 | 0 | 0 | 0.020131 | 0.29977 | 3,476 | 112 | 77 | 31.035714 | 0.825801 | 0.29229 | 0 | 0.242857 | 0 | 0 | 0.031289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.085714 | null | null | 0.014286 | 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 | 0 | 0 | 1 |
db9009a3d3876f161946965e29b8a84a2e74c45f | 896 | py | Python | setup.py | iceTwy/imgur-scraper | 53ae45dc080e3ce3fe686706df5fb3af52af94af | [
"MIT"
] | 5 | 2015-02-19T21:37:12.000Z | 2017-04-01T20:10:37.000Z | setup.py | iceTwy/imgur-scraper | 53ae45dc080e3ce3fe686706df5fb3af52af94af | [
"MIT"
] | 1 | 2015-12-15T23:06:59.000Z | 2015-12-15T23:06:59.000Z | setup.py | manvari/imgur-scraper | 53ae45dc080e3ce3fe686706df5fb3af52af94af | [
"MIT"
] | 2 | 2018-05-26T03:44:46.000Z | 2019-04-21T03:55:44.000Z | from setuptools import setup
with open('README.rst') as file:
README = file.read()
setup(
name = 'imgur-scraper',
packages = ['imgurscraper'],
scripts = ['bin/imgur-scrape'],
install_requires = ['requests'],
version = '0.1.2',
description = 'An imgur album scraper',
long_descriptio... | 29.866667 | 52 | 0.587054 | 91 | 896 | 5.747253 | 0.648352 | 0.145315 | 0.191205 | 0.099426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013534 | 0.257813 | 896 | 29 | 53 | 30.896552 | 0.772932 | 0 | 0 | 0 | 0 | 0 | 0.475446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
db91dad22ec2a91ac6ac22544c03f134236394be | 186,675 | py | Python | apps/dash-multipage-report/app.py | nawar29/dash-sample-apps | c0ebb97a1c3afd9955f9a83f585e0bda200f4011 | [
"MIT"
] | 1 | 2019-09-09T20:35:25.000Z | 2019-09-09T20:35:25.000Z | apps/dash-multipage-report/app.py | nawar29/dash-sample-apps | c0ebb97a1c3afd9955f9a83f585e0bda200f4011 | [
"MIT"
] | 14 | 2021-03-19T15:43:02.000Z | 2022-03-12T00:52:47.000Z | apps/dash-multipage-report/app.py | nawar29/dash-sample-apps | c0ebb97a1c3afd9955f9a83f585e0bda200f4011 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html
import plotly.graph_objs as go
import dash_table
import pandas as pd
import lorem
import pathlib
# Path
BASE_PATH = pathlib.Path(__file__).parent.resolve()
DATA_PATH = BASE_PATH.joinpath("Data").resolve()
## Rea... | 68.78224 | 308 | 0.123166 | 4,976 | 186,675 | 4.596262 | 0.148714 | 0.084124 | 0.06012 | 0.042237 | 0.68436 | 0.584845 | 0.504132 | 0.463556 | 0.391194 | 0.355691 | 0 | 0.071703 | 0.826972 | 186,675 | 2,713 | 309 | 68.807593 | 0.636378 | 0.00105 | 0 | 0.69431 | 0 | 0.000744 | 0.074887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002975 | 0 | 0.002975 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 |
db99918720a8879f6d946ca4a3090c554baf279b | 3,063 | py | Python | examples/python/src/authors/query.py | BearerPipelineTest/sqlc | b6ebb4268c598566f963b443a4cc6b0e7d97dc4d | [
"MIT"
] | null | null | null | examples/python/src/authors/query.py | BearerPipelineTest/sqlc | b6ebb4268c598566f963b443a4cc6b0e7d97dc4d | [
"MIT"
] | null | null | null | examples/python/src/authors/query.py | BearerPipelineTest/sqlc | b6ebb4268c598566f963b443a4cc6b0e7d97dc4d | [
"MIT"
] | null | null | null | # Code generated by sqlc. DO NOT EDIT.
# versions:
# sqlc v1.13.0
# source: query.sql
from typing import AsyncIterator, Iterator, Optional
import sqlalchemy
import sqlalchemy.ext.asyncio
from authors import models
CREATE_AUTHOR = """-- name: create_author \\:one
INSERT INTO authors (
name, bio
) VALUES ... | 27.106195 | 105 | 0.573947 | 383 | 3,063 | 4.480418 | 0.195822 | 0.055944 | 0.061189 | 0.101981 | 0.642774 | 0.579837 | 0.54662 | 0.517483 | 0.517483 | 0.465035 | 0 | 0.016114 | 0.290891 | 3,063 | 112 | 106 | 27.348214 | 0.773941 | 0.025792 | 0 | 0.465116 | 1 | 0 | 0.122189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.046512 | 0 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dba3d7f018062741d414683fb82eefe67be1715f | 3,232 | py | Python | test/test_hmm.py | jacobkrantz/Simple-HOHMM | 73d0da85e2e06c7ec7683b2e28079fbf6991580e | [
"MIT"
] | 20 | 2017-12-24T05:50:37.000Z | 2021-07-27T10:18:12.000Z | test/test_hmm.py | spykard/Simple-HOHMM | 73d0da85e2e06c7ec7683b2e28079fbf6991580e | [
"MIT"
] | null | null | null | test/test_hmm.py | spykard/Simple-HOHMM | 73d0da85e2e06c7ec7683b2e28079fbf6991580e | [
"MIT"
] | 6 | 2018-03-26T20:45:31.000Z | 2021-08-12T10:44:44.000Z | import unittest
from SimpleHOHMM import HiddenMarkovModel as HMM
class TestHMM(unittest.TestCase):
def setUp(self):
all_observations = ['normal', 'cold', 'dizzy']
all_states = ['healthy', 'fever']
start_probs = [{"healthy": 0.6, "fever": 0.4}]
trans_probs = [
[0.7, 0.... | 32 | 78 | 0.540532 | 317 | 3,232 | 5.365931 | 0.268139 | 0.056437 | 0.061728 | 0.070547 | 0.151675 | 0.047619 | 0.047619 | 0 | 0 | 0 | 0 | 0.24031 | 0.321473 | 3,232 | 100 | 79 | 32.32 | 0.53534 | 0 | 0 | 0.033708 | 0 | 0 | 0.11448 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 1 | 0.067416 | false | 0 | 0.022472 | 0 | 0.101124 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
dba4616ccb47a672e4ebed8a1546bbd18badbd80 | 8,292 | py | Python | lib/rucio/client/subscriptionclient.py | rcarpa/rucio | 226a9f8efb0dfe09b52607cd2333e184ab88d105 | [
"Apache-2.0"
] | 2 | 2021-12-14T08:40:29.000Z | 2021-12-16T07:06:26.000Z | lib/rucio/client/subscriptionclient.py | rcarpa/rucio | 226a9f8efb0dfe09b52607cd2333e184ab88d105 | [
"Apache-2.0"
] | null | null | null | lib/rucio/client/subscriptionclient.py | rcarpa/rucio | 226a9f8efb0dfe09b52607cd2333e184ab88d105 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013-2018 CERN for the benefit of the ATLAS collaboration.
#
# 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... | 48.776471 | 169 | 0.664496 | 1,003 | 8,292 | 5.367896 | 0.235294 | 0.053492 | 0.023774 | 0.017831 | 0.683135 | 0.666976 | 0.666976 | 0.656947 | 0.639487 | 0.614599 | 0 | 0.009417 | 0.244452 | 8,292 | 169 | 170 | 49.065089 | 0.84996 | 0.459358 | 0 | 0.623188 | 0 | 0 | 0.095538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0.072464 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
dba4910b5c49d972d1c2550225f21338c4c90134 | 2,237 | py | Python | src/StateMachine.py | RoboHubEindhoven/ur_script_control | 2fa5a2e82740ab7834e391a573ce5bb8d9cba01a | [
"BSD-3-Clause"
] | null | null | null | src/StateMachine.py | RoboHubEindhoven/ur_script_control | 2fa5a2e82740ab7834e391a573ce5bb8d9cba01a | [
"BSD-3-Clause"
] | null | null | null | src/StateMachine.py | RoboHubEindhoven/ur_script_control | 2fa5a2e82740ab7834e391a573ce5bb8d9cba01a | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import sys
import rospy
import yaml
from std_msgs.msg import String
from SendMove import SendMove
class StateMachine (object):
def __init__(self):
self.pub = rospy.Publisher('/ur_driver/URScript', String, queue_size=10, latch=True)
rospy.init_node('StateMachineNode', anonymous... | 31.957143 | 110 | 0.578006 | 312 | 2,237 | 4.067308 | 0.400641 | 0.056738 | 0.063042 | 0.098503 | 0.245863 | 0.245863 | 0.245863 | 0.239559 | 0.20331 | 0.20331 | 0 | 0.046943 | 0.276263 | 2,237 | 69 | 111 | 32.42029 | 0.736875 | 0.213232 | 0 | 0.130435 | 0 | 0.021739 | 0.102594 | 0.033429 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.021739 | 0.108696 | null | null | 0.021739 | 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 | 0 | 0 | 1 |
dba4d38013c77a6c8836f37e57ce107df129590e | 5,622 | py | Python | tests/test_form.py | hasgeek/baseframe | 9257e1c0f996905e7209f6a09e043204e65757b2 | [
"BSD-2-Clause"
] | 7 | 2015-12-24T02:05:27.000Z | 2021-06-03T21:34:19.000Z | tests/test_form.py | hasgeek/baseframe | 9257e1c0f996905e7209f6a09e043204e65757b2 | [
"BSD-2-Clause"
] | 127 | 2015-01-02T14:25:44.000Z | 2021-09-22T07:56:30.000Z | tests/test_form.py | hasgeek/baseframe | 9257e1c0f996905e7209f6a09e043204e65757b2 | [
"BSD-2-Clause"
] | 10 | 2015-02-08T04:55:56.000Z | 2020-06-23T20:59:48.000Z | from werkzeug.datastructures import MultiDict
import pytest
import baseframe.filters as filters
import baseframe.forms as forms
# Fake password hasher, only suitable for re-use within a single process
password_hash = hash
class SimpleUser:
# Fields:
# fullname: Name of the user
# company: Name of user'... | 29.129534 | 86 | 0.642298 | 667 | 5,622 | 5.293853 | 0.224888 | 0.048145 | 0.029453 | 0.016992 | 0.272444 | 0.159445 | 0.140753 | 0.116114 | 0.095157 | 0.077598 | 0 | 0.004475 | 0.244753 | 5,622 | 192 | 87 | 29.28125 | 0.827131 | 0.158485 | 0 | 0.19685 | 0 | 0 | 0.126812 | 0 | 0 | 0 | 0 | 0 | 0.204724 | 1 | 0.149606 | false | 0.251969 | 0.031496 | 0.047244 | 0.346457 | 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 | 0 | 0 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.