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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a4bdf50a031a60e4372ad30211dfadafdca1969b | 988 | py | Python | rsr.py | btobers/rsr | 535b1212179abd1ff66679c3983c7755743cbf61 | [
"MIT"
] | null | null | null | rsr.py | btobers/rsr | 535b1212179abd1ff66679c3983c7755743cbf61 | [
"MIT"
] | null | null | null | rsr.py | btobers/rsr | 535b1212179abd1ff66679c3983c7755743cbf61 | [
"MIT"
] | null | null | null | import numpy as np
from functions import pdf, fit, utils
#from pandas import DataFrame, read_csv
#import matplotlib.pyplot as plt
import sys
#----------------------------------------------------------
file_name = sys.argv[1]
utils.inline_estim(file_name)
#----------------------------------------------------------
... | 27.444444 | 80 | 0.630567 | 133 | 988 | 4.601504 | 0.62406 | 0.052288 | 0.052288 | 0.065359 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025671 | 0.132591 | 988 | 35 | 81 | 28.228571 | 0.688448 | 0.822874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a4be57b1ee3f380cfb52a05e44751e20d3ca8318 | 267 | py | Python | carl/__init__.py | automl/genRL | b7382fec9006d7da768ad7252194c6c5f1b2bbd7 | [
"Apache-2.0"
] | 27 | 2021-09-13T21:50:10.000Z | 2022-03-30T15:35:38.000Z | carl/__init__.py | automl/genRL | b7382fec9006d7da768ad7252194c6c5f1b2bbd7 | [
"Apache-2.0"
] | 35 | 2021-09-15T07:20:29.000Z | 2022-03-02T15:14:31.000Z | carl/__init__.py | automl/genRL | b7382fec9006d7da768ad7252194c6c5f1b2bbd7 | [
"Apache-2.0"
] | 2 | 2022-01-13T11:13:12.000Z | 2022-03-14T06:11:13.000Z | __copyright__ = "Copyright 2021, AutoML.org Freiburg-Hannover"
__license__ = "Apache-2.0 License"
__version__ = '0.1'
__author__ = 'Carolin Benjamins and Theresa Eimer, Aditya Mohan, Frederik Schubert, Bodo Rosenhahn, André Biedenkapp, Frank Hutter, Marius Lindauer'
| 53.4 | 148 | 0.790262 | 33 | 267 | 5.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034043 | 0.11985 | 267 | 4 | 149 | 66.75 | 0.795745 | 0 | 0 | 0 | 0 | 0.25 | 0.741573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a4d87c2b5716514afe2464053c14bd968c4d912d | 409 | py | Python | orm_CRDU_day05/front/migrations/0002_auto_20191206_0806.py | maoxuelin083/Django-Study | 6eb332a97c898b11e6d1c1faf80dbb14f4f835c6 | [
"Apache-2.0"
] | null | null | null | orm_CRDU_day05/front/migrations/0002_auto_20191206_0806.py | maoxuelin083/Django-Study | 6eb332a97c898b11e6d1c1faf80dbb14f4f835c6 | [
"Apache-2.0"
] | null | null | null | orm_CRDU_day05/front/migrations/0002_auto_20191206_0806.py | maoxuelin083/Django-Study | 6eb332a97c898b11e6d1c1faf80dbb14f4f835c6 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0 on 2019-12-06 08:06
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('front', '0001_initial'),
]
operations = [
migrations.AlterModelTable(
name='article',
table=None,
),
migration... | 18.590909 | 45 | 0.547677 | 37 | 409 | 6.027027 | 0.72973 | 0.224215 | 0.26009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 0.344743 | 409 | 21 | 46 | 19.47619 | 0.764925 | 0.105134 | 0 | 0.4 | 1 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a4e761611f73d550d1fefb732745769c656d03e9 | 4,284 | py | Python | d7a/system_files/test/engineering_mode.py | L-I-Am/pyd7a | 7e3dd6ff71c92df72570d6b852ca74cc5af50707 | [
"Apache-2.0"
] | 9 | 2016-05-12T20:11:30.000Z | 2020-08-18T05:46:15.000Z | d7a/system_files/test/engineering_mode.py | L-I-Am/pyd7a | 7e3dd6ff71c92df72570d6b852ca74cc5af50707 | [
"Apache-2.0"
] | 2 | 2018-01-14T12:39:06.000Z | 2019-11-25T09:11:08.000Z | d7a/system_files/test/engineering_mode.py | L-I-Am/pyd7a | 7e3dd6ff71c92df72570d6b852ca74cc5af50707 | [
"Apache-2.0"
] | 7 | 2016-09-06T11:08:15.000Z | 2020-10-27T10:29:24.000Z | #
# Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
#
# This file is part of pyd7a.
# See https://github.com/Sub-IoT/pyd7a for further info.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the Lice... | 42.415842 | 152 | 0.669468 | 514 | 4,284 | 5.476654 | 0.297665 | 0.22913 | 0.191829 | 0.08206 | 0.469982 | 0.440142 | 0.383659 | 0.353108 | 0.353108 | 0.321847 | 0 | 0.038485 | 0.229692 | 4,284 | 101 | 153 | 42.415842 | 0.814545 | 0.165966 | 0 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011268 | 0 | 0.597222 | 1 | 0.041667 | false | 0 | 0.069444 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
52abe110f03865f40a5ac914e6b903c7a5cd694c | 5,067 | py | Python | tests/unit/lgt/test_buy_and_free.py | Ignas/liquid-gas-token | 0bbe9c6d3156a515bf14f8038cd2404fd72f05e5 | [
"MIT"
] | 57 | 2020-06-06T14:30:27.000Z | 2022-03-25T11:06:40.000Z | tests/unit/lgt/test_buy_and_free.py | Ignas/liquid-gas-token | 0bbe9c6d3156a515bf14f8038cd2404fd72f05e5 | [
"MIT"
] | 2 | 2020-06-06T21:55:18.000Z | 2021-09-07T09:16:22.000Z | tests/unit/lgt/test_buy_and_free.py | Ignas/liquid-gas-token | 0bbe9c6d3156a515bf14f8038cd2404fd72f05e5 | [
"MIT"
] | 16 | 2020-06-06T19:52:27.000Z | 2022-03-25T11:17:22.000Z | import brownie
import pytest
from brownie import *
"""
These tests don't verify if gas is refunded, only if tokens are bought and burned.
Refund verification is done with integration tests.
"""
DEADLINE = 99999999999
@pytest.fixture(scope="module")
def liquid_lgt(lgt, accounts):
lgt.addLiquidity(1, 20, DEADLINE... | 41.876033 | 104 | 0.741464 | 646 | 5,067 | 5.547988 | 0.140867 | 0.135603 | 0.101563 | 0.077009 | 0.779855 | 0.747489 | 0.719587 | 0.703125 | 0.609096 | 0.516183 | 0 | 0.028769 | 0.142491 | 5,067 | 120 | 105 | 42.225 | 0.796087 | 0.017565 | 0 | 0.430233 | 0 | 0 | 0.045417 | 0 | 0 | 0 | 0 | 0 | 0.337209 | 1 | 0.151163 | false | 0.011628 | 0.034884 | 0 | 0.186047 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
52b5ac5cc30f12b7abb383349424056a9c0dc84b | 1,919 | py | Python | src/ssh_audit/ssh2_kexparty.py | TheCry/ssh-audit | 1c34cb51310cf181246a38098b6035fb56345e93 | [
"MIT"
] | 1,206 | 2017-09-19T19:36:04.000Z | 2022-03-30T07:38:05.000Z | src/ssh_audit/ssh2_kexparty.py | TheCry/ssh-audit | 1c34cb51310cf181246a38098b6035fb56345e93 | [
"MIT"
] | 126 | 2019-08-16T17:30:25.000Z | 2022-03-27T15:27:36.000Z | src/ssh_audit/ssh2_kexparty.py | TheCry/ssh-audit | 1c34cb51310cf181246a38098b6035fb56345e93 | [
"MIT"
] | 94 | 2017-11-01T22:23:56.000Z | 2022-03-27T15:11:26.000Z | """
The MIT License (MIT)
Copyright (C) 2017 Andris Raugulis (moo@arthepsy.eu)
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... | 37.627451 | 109 | 0.715998 | 266 | 1,919 | 5.086466 | 0.492481 | 0.065041 | 0.03252 | 0.050259 | 0.062084 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007319 | 0.21678 | 1,919 | 50 | 110 | 38.38 | 0.892881 | 0.600313 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
52d8b592a665ab130fe8e37ac6bd63c2db3a67b9 | 248 | py | Python | lib/_included_packages/__init__.py | aleenator/plex-for-kodi | e6610e42ce1afd115cf59632b949e18597625323 | [
"BSD-3-Clause"
] | 233 | 2016-12-01T10:00:33.000Z | 2022-03-26T21:43:47.000Z | lib/_included_packages/__init__.py | aleenator/plex-for-kodi | e6610e42ce1afd115cf59632b949e18597625323 | [
"BSD-3-Clause"
] | 327 | 2016-11-30T18:27:32.000Z | 2022-03-13T20:49:27.000Z | lib/_included_packages/__init__.py | aleenator/plex-for-kodi | e6610e42ce1afd115cf59632b949e18597625323 | [
"BSD-3-Clause"
] | 140 | 2016-12-01T18:41:24.000Z | 2022-03-08T17:08:44.000Z | from __future__ import absolute_import
import os
import sys
import inspect
cmd_folder = os.path.realpath(os.path.abspath(os.path.split(inspect.getfile(inspect.currentframe()))[0]))
if cmd_folder not in sys.path:
sys.path.insert(0, cmd_folder)
| 27.555556 | 105 | 0.78629 | 40 | 248 | 4.675 | 0.5 | 0.144385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008969 | 0.100806 | 248 | 8 | 106 | 31 | 0.829596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
52f8944c5cf6696737689b34ab1e27e6923380c4 | 661 | py | Python | alphaBetaLab/abUtils.py | menta78/alphaBetaLab | 8fac6cc5bd640a008bb9c0d85702053bf010e071 | [
"MIT"
] | 3 | 2019-11-18T21:06:40.000Z | 2022-01-28T14:45:00.000Z | alphaBetaLab/abUtils.py | menta78/alphaBetaLab | 8fac6cc5bd640a008bb9c0d85702053bf010e071 | [
"MIT"
] | 2 | 2020-09-19T14:32:02.000Z | 2022-01-24T12:22:44.000Z | alphaBetaLab/abUtils.py | menta78/alphaBetaLab | 8fac6cc5bd640a008bb9c0d85702053bf010e071 | [
"MIT"
] | 2 | 2018-11-29T10:36:01.000Z | 2021-06-16T03:29:01.000Z | import numpy as np
radiusEarth = 6371000 #m
defaultTolerance = 0.000000001
MESHTYPE_REGULAR = 'regular'
MESHTYPE_TRIANGULAR = 'triangular'
class abException(Exception):
pass
def isClose(x1, x2, tolerance = defaultTolerance):
return abs(x1 - x2) < tolerance
def greaterClose(x, y):
return isClose(x, y) or (x >... | 18.361111 | 50 | 0.659607 | 102 | 661 | 4.254902 | 0.392157 | 0.0553 | 0.073733 | 0.069124 | 0.341014 | 0.341014 | 0.341014 | 0.341014 | 0.239631 | 0.239631 | 0 | 0.051527 | 0.207262 | 661 | 35 | 51 | 18.885714 | 0.776718 | 0.001513 | 0 | 0 | 0 | 0 | 0.025875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.041667 | 0.041667 | 0.208333 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5e057e915b129e10d04c54a16027862e09e8f2bc | 91 | py | Python | watchman/apps.py | muthuubalakan/TCP-Watchman | 63edc861f5d1fbc42b01509530bc069ab4f50923 | [
"Apache-2.0"
] | null | null | null | watchman/apps.py | muthuubalakan/TCP-Watchman | 63edc861f5d1fbc42b01509530bc069ab4f50923 | [
"Apache-2.0"
] | null | null | null | watchman/apps.py | muthuubalakan/TCP-Watchman | 63edc861f5d1fbc42b01509530bc069ab4f50923 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class WatchmanConfig(AppConfig):
name = 'watchman'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5e08065d280c067534d789b305dc4425dd6e3f7a | 260 | py | Python | complex_venv/lib/python3.7/site-packages/shexer/io/line_reader/raw_string_line_reader.py | lubianat/complex_bot | e0ddabcc0487c52b14fb94950c5a812f0bdb2283 | [
"MIT"
] | 1 | 2021-10-06T00:21:10.000Z | 2021-10-06T00:21:10.000Z | complex_venv/lib/python3.7/site-packages/shexer/io/line_reader/raw_string_line_reader.py | lubianat/complex_bot | e0ddabcc0487c52b14fb94950c5a812f0bdb2283 | [
"MIT"
] | 14 | 2021-01-15T21:51:38.000Z | 2021-11-10T10:08:22.000Z | complex_venv/lib/python3.7/site-packages/shexer/io/line_reader/raw_string_line_reader.py | lubianat/complex_bot | e0ddabcc0487c52b14fb94950c5a812f0bdb2283 | [
"MIT"
] | 1 | 2021-01-18T10:32:56.000Z | 2021-01-18T10:32:56.000Z |
class RawStringLineReader():
def __init__(self, raw_string):
self._raw_string = raw_string
def read_lines(self):
for a_line in self._raw_string.split("\n"):
if a_line.strip() != "":
yield a_line | 23.636364 | 52 | 0.565385 | 32 | 260 | 4.15625 | 0.5625 | 0.270677 | 0.293233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326923 | 260 | 11 | 53 | 23.636364 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5e2903eb2d3738808bbe57b87dd05c3d09b8f017 | 168 | py | Python | workon/contrib/chart/utils.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/contrib/chart/utils.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/contrib/chart/utils.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | from .templatetags import WORKON_CHARTS
def register_chart(name, method, label=''):
WORKON_CHARTS[name] = {
'method': method,
'label': label
} | 21 | 43 | 0.630952 | 18 | 168 | 5.722222 | 0.611111 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244048 | 168 | 8 | 44 | 21 | 0.811024 | 0 | 0 | 0 | 0 | 0 | 0.065089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
5e2a41e3686034c9a51d9102f98768150aba435d | 173 | py | Python | PythonStuff/testKeyPress.py | jack-buffington/16833_final | 4cbf8ebce7404238fbb9b56dc197ed52e925013c | [
"MIT"
] | null | null | null | PythonStuff/testKeyPress.py | jack-buffington/16833_final | 4cbf8ebce7404238fbb9b56dc197ed52e925013c | [
"MIT"
] | null | null | null | PythonStuff/testKeyPress.py | jack-buffington/16833_final | 4cbf8ebce7404238fbb9b56dc197ed52e925013c | [
"MIT"
] | null | null | null |
import time
count = 1
try:
while True:
print count
count += 1
time.sleep(.05)
except KeyboardInterrupt:
pass
print('Done!')
| 6.407407 | 25 | 0.526012 | 19 | 173 | 4.789474 | 0.736842 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.387283 | 173 | 26 | 26 | 6.653846 | 0.820755 | 0 | 0 | 0 | 0 | 0 | 0.02924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.1 | 0.1 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5e32e17912251258183d3b81ec306a1b8257caf0 | 253 | py | Python | microservice-shiro-log/src/main/java/com/lisw/springcloud/dao/UserDao.py | CSeven19/SpringCloudModels | cdf72361a43e7585dd40a172444c07c768bf6d36 | [
"Unlicense"
] | 1 | 2020-11-23T01:02:33.000Z | 2020-11-23T01:02:33.000Z | microservice-shiro-log/src/main/java/com/lisw/springcloud/dao/UserDao.py | CSeven19/SpringCloudModels | cdf72361a43e7585dd40a172444c07c768bf6d36 | [
"Unlicense"
] | null | null | null | microservice-shiro-log/src/main/java/com/lisw/springcloud/dao/UserDao.py | CSeven19/SpringCloudModels | cdf72361a43e7585dd40a172444c07c768bf6d36 | [
"Unlicense"
] | null | null | null | package com.lisw.springcloud.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import com.lisw.springcloud.entity.User2;
public interface UserDao extends JpaRepository<User2, Integer> {
User2 findByUsername(String username);
}
| 21.083333 | 64 | 0.806324 | 29 | 253 | 7.034483 | 0.758621 | 0.068627 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013216 | 0.102767 | 253 | 11 | 65 | 23 | 0.885463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5e3b419c6153f73675c5b7cecb9c96527fd041ec | 71 | py | Python | espnet2/text/text_preparation/stress_dictionary/stress_dictionary/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | null | null | null | espnet2/text/text_preparation/stress_dictionary/stress_dictionary/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | null | null | null | espnet2/text/text_preparation/stress_dictionary/stress_dictionary/__init__.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | null | null | null | from .stress_dictionary import StressDictionary
__version__ = '1.0.1'
| 17.75 | 47 | 0.802817 | 9 | 71 | 5.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.112676 | 71 | 3 | 48 | 23.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5e3c6a8b96b97f4bf22f34920066da0e8d9b5f94 | 57 | py | Python | chapter02/and.py | gothedistance/python-book | 18d82b96e8336e2a26608e25b2c2424e19dab2a3 | [
"MIT"
] | 17 | 2016-08-12T13:15:43.000Z | 2021-03-22T13:35:33.000Z | chapter02/and.py | gothedistance/python-book | 18d82b96e8336e2a26608e25b2c2424e19dab2a3 | [
"MIT"
] | null | null | null | chapter02/and.py | gothedistance/python-book | 18d82b96e8336e2a26608e25b2c2424e19dab2a3 | [
"MIT"
] | 13 | 2016-08-12T13:31:47.000Z | 2021-01-28T11:06:48.000Z | a = 20
if a > 10 and a <= 20:
print('aは11から20までの数字')
| 14.25 | 26 | 0.561404 | 10 | 57 | 3.2 | 0.7 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 0.280702 | 57 | 3 | 27 | 19 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 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 | 3 |
eac57322343141d7c1497180abe616a5041bfe39 | 44 | py | Python | bot/commands.py | retropleinad/DnD-Discord-Bot | 2f632a6eaaba1c1d9886a1966f9cd69d2f269884 | [
"MIT"
] | null | null | null | bot/commands.py | retropleinad/DnD-Discord-Bot | 2f632a6eaaba1c1d9886a1966f9cd69d2f269884 | [
"MIT"
] | null | null | null | bot/commands.py | retropleinad/DnD-Discord-Bot | 2f632a6eaaba1c1d9886a1966f9cd69d2f269884 | [
"MIT"
] | null | null | null |
base_commands = (
"!help",
""
) | 8.8 | 18 | 0.386364 | 3 | 44 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 44 | 5 | 19 | 8.8 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ead9ead9705d12e0bc5ca3a2a7c43e726d5ecaba | 247 | py | Python | test/chunk/chunk.test.py | OmarTahoun/30-seconds-of-python-code | d94bc9bf52701018aabc5dcd89809797f9179847 | [
"CC0-1.0"
] | 2 | 2019-05-13T17:29:23.000Z | 2019-09-22T01:55:13.000Z | test/chunk/chunk.test.py | OmarTahoun/30-seconds-of-python-code | d94bc9bf52701018aabc5dcd89809797f9179847 | [
"CC0-1.0"
] | 8 | 2020-03-24T17:47:23.000Z | 2022-03-12T00:33:21.000Z | test/chunk/chunk.test.py | OmarTahoun/30-seconds-of-python-code | d94bc9bf52701018aabc5dcd89809797f9179847 | [
"CC0-1.0"
] | 2 | 2020-08-07T05:38:27.000Z | 2021-11-09T11:54:18.000Z | import types,functools
from pytape import test
from chunk import chunk
def chunk_test(t):
t.true(isinstance(chunk, (types.BuiltinFunctionType, types.FunctionType, functools.partial)),'chunk is a function')
test('Testing chunk',chunk_test) | 41.166667 | 120 | 0.781377 | 34 | 247 | 5.617647 | 0.529412 | 0.094241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117409 | 247 | 6 | 121 | 41.166667 | 0.876147 | 0 | 0 | 0 | 0 | 0 | 0.131687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
eaeda54c27af9df1bbf4bcf365aec72ec7a66444 | 527 | py | Python | utils/times.py | Vergenter/youtubeGather | d81912784f246b847e54d902a51dde0991fcc1bf | [
"MIT"
] | null | null | null | utils/times.py | Vergenter/youtubeGather | d81912784f246b847e54d902a51dde0991fcc1bf | [
"MIT"
] | null | null | null | utils/times.py | Vergenter/youtubeGather | d81912784f246b847e54d902a51dde0991fcc1bf | [
"MIT"
] | null | null | null | BUCKETS_FOR_DATABASE_IO = (.1, .25, .5, .75, 1.0, 2.5, 5.0, 7.5, 10.0, 15.0, 30.0,
45.0, 60.0, 150.0, 300.0, 450.0, 600.0, 900.0, 1800.0, 3600.0, float("inf"))
BUCKETS_FOR_COMMENTS_COUNTS = (
1.0, 2.0, 5.0, 10.0, 25.0, 50.0, 75.0, 100.0, 250.0, 500.0, 750.0, float("inf"))
BUCKETS_FOR_WAIT... | 75.285714 | 122 | 0.518027 | 121 | 527 | 2.173554 | 0.297521 | 0.030418 | 0.034221 | 0.038023 | 0.558935 | 0.418251 | 0.418251 | 0.418251 | 0.418251 | 0.418251 | 0 | 0.42394 | 0.239089 | 527 | 6 | 123 | 87.833333 | 0.23192 | 0 | 0 | 0 | 0 | 0 | 0.017078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 3 |
eafe012f2f1256e23c957bee057ee93831de40fc | 44 | py | Python | cpims/cpims/__init__.py | sizler20/cpims_update | 23b86e40ca779b751383e268ad4fbf6a321ab211 | [
"MIT"
] | null | null | null | cpims/cpims/__init__.py | sizler20/cpims_update | 23b86e40ca779b751383e268ad4fbf6a321ab211 | [
"MIT"
] | null | null | null | cpims/cpims/__init__.py | sizler20/cpims_update | 23b86e40ca779b751383e268ad4fbf6a321ab211 | [
"MIT"
] | 1 | 2022-02-27T13:36:47.000Z | 2022-02-27T13:36:47.000Z | __version__ = '2.0.3'
VERSION = __version__
| 14.666667 | 21 | 0.727273 | 6 | 44 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.136364 | 44 | 2 | 22 | 22 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eafff18d4b83ebba98baa86d704caffa6444caa8 | 11,875 | py | Python | dec3.py | commandblockguy/aoc2020 | 184bd607f009afc70ae9b03aea1250bf8dcbaa8d | [
"MIT"
] | null | null | null | dec3.py | commandblockguy/aoc2020 | 184bd607f009afc70ae9b03aea1250bf8dcbaa8d | [
"MIT"
] | null | null | null | dec3.py | commandblockguy/aoc2020 | 184bd607f009afc70ae9b03aea1250bf8dcbaa8d | [
"MIT"
] | null | null | null | array = [
"...#.....#.......##......#.....",
"...#..................#........",
"....##....#.......#............",
".........#.......#.......#.....",
"..#..............#.........#..#",
".....#.........#....#....#....#",
"....##..........#.#.##.........",
"...#....##...#...#...#.#..#....",
"...#.......###......... | 34.722222 | 54 | 0.009347 | 50 | 11,875 | 2.22 | 0.42 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001883 | 0.060716 | 11,875 | 341 | 55 | 34.824047 | 0.008069 | 0 | 0 | 0 | 0 | 0 | 0.843284 | 0.8432 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002976 | false | 0 | 0 | 0 | 0.005952 | 0.005952 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d80d4c62e4dfa6f4a7209633242b4dc5605d7618 | 503 | py | Python | Python/tdw/object_data/composite_object/sub_object/light_static.py | ricklentz/tdw | da40eec151acae20b28d6486defb4358d96adb0e | [
"BSD-2-Clause"
] | null | null | null | Python/tdw/object_data/composite_object/sub_object/light_static.py | ricklentz/tdw | da40eec151acae20b28d6486defb4358d96adb0e | [
"BSD-2-Clause"
] | null | null | null | Python/tdw/object_data/composite_object/sub_object/light_static.py | ricklentz/tdw | da40eec151acae20b28d6486defb4358d96adb0e | [
"BSD-2-Clause"
] | null | null | null | from tdw.output_data import StaticCompositeObjects
from tdw.object_data.composite_object.sub_object.sub_object_static import SubObjectStatic
class LightStatic(SubObjectStatic):
"""
Static data for a light sub-object of a composite object.
"""
def _get_sub_object_id(self, static_composite_objects: Sta... | 38.692308 | 101 | 0.761431 | 63 | 503 | 5.730159 | 0.396825 | 0.149584 | 0.083102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176938 | 503 | 12 | 102 | 41.916667 | 0.871981 | 0.11332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
dc2dbf4dc498097ca722d0a92506d0548b045802 | 136 | py | Python | app/settings.py | jimhawkridge/vantrack | e6f5246ea5d00526a78a4776d1565844cac6a83a | [
"MIT"
] | 1 | 2021-01-27T10:38:44.000Z | 2021-01-27T10:38:44.000Z | app/settings.py | jimhawkridge/vantrack | e6f5246ea5d00526a78a4776d1565844cac6a83a | [
"MIT"
] | null | null | null | app/settings.py | jimhawkridge/vantrack | e6f5246ea5d00526a78a4776d1565844cac6a83a | [
"MIT"
] | null | null | null | GEOCODE_THRESHHOLD = 0.0003
PUSHOVER_TOKEN = None # Set these in local_settings.py
PUSHOVER_USER = None
from local_settings import *
| 19.428571 | 55 | 0.794118 | 20 | 136 | 5.15 | 0.8 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.154412 | 136 | 6 | 56 | 22.666667 | 0.852174 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dc6018c063aa021153cb674b8f4e810b3bf732ce | 31 | py | Python | pyboas/__init__.py | exord/pyboas | 8e016ef676e397077550c87a9a9941339754a9b8 | [
"MIT"
] | 1 | 2018-09-19T18:12:42.000Z | 2018-09-19T18:12:42.000Z | __init__.py | exord/activist | 7aa7650e4f6161c797f92394ae8e3736f56409a1 | [
"MIT"
] | null | null | null | __init__.py | exord/activist | 7aa7650e4f6161c797f92394ae8e3736f56409a1 | [
"MIT"
] | null | null | null | __author__ = 'Rodrigo F. Diaz'
| 15.5 | 30 | 0.709677 | 4 | 31 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dc730a742fd4b456c9bf6f720f976d23c9edc670 | 4,914 | py | Python | models/utils/Query.py | GabrielAmare/Models | 7e2ec367faf360fd0e294a17e4e2b33cae71124a | [
"MIT"
] | null | null | null | models/utils/Query.py | GabrielAmare/Models | 7e2ec367faf360fd0e294a17e4e2b33cae71124a | [
"MIT"
] | null | null | null | models/utils/Query.py | GabrielAmare/Models | 7e2ec367faf360fd0e294a17e4e2b33cae71124a | [
"MIT"
] | null | null | null | class Query:
FILTER = "FILTER"
KEEP = "KEEP"
MAP = "MAP"
def __init__(self, data: list = None, safe: bool = False):
"""
:param data: The original data of the query
:param safe: If True, means that the Query remains unchanged,
when operation is queried on it... | 29.25 | 129 | 0.551282 | 627 | 4,914 | 4.245614 | 0.192982 | 0.060105 | 0.040571 | 0.030053 | 0.243802 | 0.124718 | 0.094666 | 0.094666 | 0.069872 | 0.069872 | 0 | 0.001534 | 0.336589 | 4,914 | 167 | 130 | 29.42515 | 0.815031 | 0.197802 | 0 | 0.102804 | 0 | 0 | 0.01516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.299065 | false | 0.009346 | 0 | 0.130841 | 0.598131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
dc8d1b1db31dc5629a4a17b61db560321918d71d | 975 | py | Python | rewire/rewire/views.py | natsn/rewire | 5f6b3b6f721a5f3a190233d9f47b0b8942ebb1ba | [
"MIT"
] | null | null | null | rewire/rewire/views.py | natsn/rewire | 5f6b3b6f721a5f3a190233d9f47b0b8942ebb1ba | [
"MIT"
] | null | null | null | rewire/rewire/views.py | natsn/rewire | 5f6b3b6f721a5f3a190233d9f47b0b8942ebb1ba | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.decorators import login_required
def login_view(request):
username = request.POST['username']
password = request.POST['password']
user = authenticate(username=username, password=passwor... | 33.62069 | 136 | 0.708718 | 120 | 975 | 5.683333 | 0.416667 | 0.043988 | 0.07478 | 0.118768 | 0.206745 | 0.206745 | 0.206745 | 0.14956 | 0.14956 | 0 | 0 | 0.002541 | 0.192821 | 975 | 28 | 137 | 34.821429 | 0.864041 | 0.237949 | 0 | 0.263158 | 0 | 0 | 0.058345 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.157895 | false | 0.105263 | 0.157895 | 0.052632 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
dc99ecf96c428ef3d32ff2b388fb120f13da5968 | 184 | py | Python | pysh/transforms/deprecated/__init__.py | drslump/pysh | 673cdf2b5ea95dc3209cb294bb91cb2f298bb888 | [
"MIT"
] | 3 | 2018-07-09T04:39:24.000Z | 2020-11-27T05:44:56.000Z | pysh/transforms/deprecated/__init__.py | drslump/pysh | 673cdf2b5ea95dc3209cb294bb91cb2f298bb888 | [
"MIT"
] | null | null | null | pysh/transforms/deprecated/__init__.py | drslump/pysh | 673cdf2b5ea95dc3209cb294bb91cb2f298bb888 | [
"MIT"
] | 1 | 2018-08-02T21:57:11.000Z | 2018-08-02T21:57:11.000Z | """
Package for deprecated transform modules.
Once a stable module is no longer used it'll end here for a while, to allow
users to explicitly use them for backwards compatibility.
""" | 30.666667 | 75 | 0.777174 | 30 | 184 | 4.766667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168478 | 184 | 6 | 76 | 30.666667 | 0.934641 | 0.956522 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dcba3f29a64e5a4750967ee589a19ccbe215ad57 | 3,157 | py | Python | icarus/unipath.py | pettarin/icarus | ffd74d569eb510899457d2dd26d3cda18dc19bca | [
"MIT"
] | 7 | 2016-02-23T21:59:43.000Z | 2021-08-14T17:39:30.000Z | icarus/unipath.py | pettarin/icarus | ffd74d569eb510899457d2dd26d3cda18dc19bca | [
"MIT"
] | 8 | 2015-12-23T09:21:12.000Z | 2018-05-03T20:30:10.000Z | icarus/unipath.py | pettarin/icarus | ffd74d569eb510899457d2dd26d3cda18dc19bca | [
"MIT"
] | 6 | 2019-04-11T13:46:30.000Z | 2021-03-26T18:43:24.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
# Copyright (c) 2014 Kevin B. Hendricks, John Schember, and Doug Massay
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following ... | 33.585106 | 109 | 0.721571 | 466 | 3,157 | 4.862661 | 0.44206 | 0.028244 | 0.026478 | 0.017211 | 0.105914 | 0.084731 | 0.084731 | 0.060018 | 0.060018 | 0.060018 | 0 | 0.005938 | 0.199873 | 3,157 | 93 | 110 | 33.946237 | 0.891132 | 0.576813 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0.021739 | 0.086957 | 0.130435 | 0.608696 | 0.021739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
dcba4f1a6974f003dc67edc4a73bd66880596dd7 | 1,662 | py | Python | Example/JAK-STAT/JAK_expt.py | bcdaniels/SloppyCell | 17e68127a6aba19056a5067748a2d18241cc4d76 | [
"BSD-3-Clause"
] | 2 | 2020-05-26T19:29:39.000Z | 2020-08-26T20:54:52.000Z | Example/JAK-STAT/JAK_expt.py | bcdaniels/SloppyCell | 17e68127a6aba19056a5067748a2d18241cc4d76 | [
"BSD-3-Clause"
] | 1 | 2020-05-26T16:50:49.000Z | 2021-07-08T20:35:35.000Z | Example/JAK-STAT/JAK_expt.py | jurquiza/SloppyCellUrquiza2019 | a9f64d9d4172c82735813f09e48f36777a714e9c | [
"BSD-3-Clause"
] | 3 | 2017-09-12T03:12:01.000Z | 2018-10-19T11:08:09.000Z | from SloppyCell.ReactionNetworks import *
expt = Experiment('expt1')
data = {'net1':{'data1': {0: (0, 0.037),
2: (0.16575, 0.025),
4: (0.43225, 0.033),
6: (0.48175, 0.035),
8: (0.46395, 0.0325),
... | 40.536585 | 48 | 0.256318 | 173 | 1,662 | 2.456647 | 0.456647 | 0.009412 | 0.023529 | 0.042353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.503693 | 0.592659 | 1,662 | 40 | 49 | 41.55 | 0.124077 | 0 | 0 | 0 | 0 | 0 | 0.011432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dcbbd5bb802226b45ba51734f17b0943e1ea14c6 | 711 | py | Python | snp-lamp-design/test/test_ga_optimizer.py | lbhyman/snp-lamp-design | 2e8df1454e90e1fe70b33c597e49b0061c147a31 | [
"MIT"
] | 2 | 2021-04-26T20:40:29.000Z | 2021-04-26T20:40:31.000Z | snp-lamp-design/test/test_ga_optimizer.py | lbhyman/snp-lamp-design | 2e8df1454e90e1fe70b33c597e49b0061c147a31 | [
"MIT"
] | null | null | null | snp-lamp-design/test/test_ga_optimizer.py | lbhyman/snp-lamp-design | 2e8df1454e90e1fe70b33c597e49b0061c147a31 | [
"MIT"
] | null | null | null | import unittest
import sys
sys.path.append('../')
from ga_optimizer import GAOptimizer
class TestThermoUtils(unittest.TestCase):
def setUp(self):
self.optimizer = GAOptimizer()
pass
def tearDown(self):
pass
def test_predict_nupack_calls(self):
self.assertE... | 30.913043 | 73 | 0.691983 | 83 | 711 | 5.662651 | 0.421687 | 0.165957 | 0.229787 | 0.276596 | 0.329787 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045936 | 0.203938 | 711 | 23 | 74 | 30.913043 | 0.784452 | 0 | 0 | 0.111111 | 0 | 0 | 0.015449 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 1 | 0.166667 | false | 0.111111 | 0.166667 | 0 | 0.388889 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f499a24c6203418c69955eaebc567db6c824d03e | 406 | py | Python | sources/management/commands/generate_contact_images.py | greglinch/sourcelist | 8267bb060e55f036d6d2dd9648698a5b8e48c0b3 | [
"MIT"
] | 5 | 2017-10-28T17:17:35.000Z | 2020-06-24T21:43:22.000Z | sources/management/commands/generate_contact_images.py | greglinch/sourcelist | 8267bb060e55f036d6d2dd9648698a5b8e48c0b3 | [
"MIT"
] | 2 | 2020-02-11T21:50:49.000Z | 2021-04-08T18:25:26.000Z | sources/management/commands/generate_contact_images.py | greglinch/sourcelist | 8267bb060e55f036d6d2dd9648698a5b8e48c0b3 | [
"MIT"
] | 2 | 2017-11-02T02:14:25.000Z | 2019-05-28T15:35:44.000Z | from django.core.management.base import BaseCommand, CommandError
from sources.helpers import generate_image_from_text
from sources.models import Person
def generate_images():
sources = Person.objects.all()
for source in sources:
source.save()
class Command(BaseCommand):
help = 'Import sources... | 21.368421 | 65 | 0.724138 | 51 | 406 | 5.666667 | 0.647059 | 0.076125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 406 | 18 | 66 | 22.555556 | 0.878419 | 0 | 0 | 0 | 1 | 0 | 0.076355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.363636 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f4b2703446599bc19e32f4a820efb783d0380e52 | 1,382 | py | Python | openprocurement/contracting/core/utils.py | oleksiyVeretiuk/openprocurement.contracting.core | 4f04ef136ac2e819ddc21ee810838e3c78fc11ce | [
"Apache-2.0"
] | null | null | null | openprocurement/contracting/core/utils.py | oleksiyVeretiuk/openprocurement.contracting.core | 4f04ef136ac2e819ddc21ee810838e3c78fc11ce | [
"Apache-2.0"
] | 28 | 2018-03-28T05:36:08.000Z | 2019-02-28T13:44:15.000Z | openprocurement/contracting/core/utils.py | oleksiyVeretiuk/openprocurement.contracting.core | 4f04ef136ac2e819ddc21ee810838e3c78fc11ce | [
"Apache-2.0"
] | 5 | 2018-03-28T08:17:04.000Z | 2019-02-07T17:22:17.000Z | # -*- coding: utf-8 -*-
from openprocurement.api.utils import (
apply_data_patch,
generate_id,
)
from openprocurement.contracting.api.utils import save_contract
class isContract(object):
""" Route predicate. """
def __init__(self, val, config):
self.val = val
def text(self):
retu... | 27.64 | 79 | 0.65919 | 166 | 1,382 | 5.325301 | 0.415663 | 0.040724 | 0.031674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000958 | 0.244573 | 1,382 | 49 | 80 | 28.204082 | 0.845785 | 0.139653 | 0 | 0 | 1 | 0 | 0.038927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.103448 | 0.034483 | 0.517241 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
76262c3f52cb6bdee076ea934eea9911ec7e90fe | 16 | py | Python | trackhub/settings.py | mauranolab/trackhub | ef4bc46810c370dc9422c549c34fc70e17cf5e32 | [
"MIT"
] | 36 | 2015-01-02T10:12:54.000Z | 2021-09-13T14:17:03.000Z | trackhub/settings.py | daler/trackhub | 3127aa3eb263b71ff0bea47c84aaf42aef520816 | [
"MIT"
] | 21 | 2015-01-02T11:59:20.000Z | 2021-02-19T21:30:43.000Z | trackhub/settings.py | daler/trackhub | 3127aa3eb263b71ff0bea47c84aaf42aef520816 | [
"MIT"
] | 11 | 2015-04-15T10:13:38.000Z | 2020-10-30T11:43:57.000Z | VALIDATE = True
| 8 | 15 | 0.75 | 2 | 16 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5203c571f9507619438f8031e252cdd1d46e26bf | 1,265 | py | Python | src/azure-cli-core/azure/cli/core/_output.py | jfcoz/azure-cli | 8459ef3fd3c76d9f99defd95d4c980923891fa6d | [
"MIT"
] | null | null | null | src/azure-cli-core/azure/cli/core/_output.py | jfcoz/azure-cli | 8459ef3fd3c76d9f99defd95d4c980923891fa6d | [
"MIT"
] | 3 | 2019-07-12T22:10:38.000Z | 2019-07-12T22:10:49.000Z | src/azure-cli-core/azure/cli/core/_output.py | jfcoz/azure-cli | 8459ef3fd3c76d9f99defd95d4c980923891fa6d | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 33.289474 | 94 | 0.607905 | 136 | 1,265 | 5.330882 | 0.419118 | 0.057931 | 0.049655 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171542 | 1,265 | 37 | 95 | 34.189189 | 0.691794 | 0.265613 | 0 | 0.086957 | 0 | 0 | 0.021645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.086957 | 0.130435 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
521ad657416f35280b231380af8cb31e38e0c8c1 | 2,859 | py | Python | aiotdlib/api/types/input_file.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/types/input_file.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/types/input_file.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 29.78125 | 384 | 0.593564 | 323 | 2,859 | 5.219814 | 0.312694 | 0.017794 | 0.029656 | 0.04745 | 0.17497 | 0.094899 | 0 | 0 | 0 | 0 | 0 | 0.000479 | 0.270374 | 2,859 | 95 | 385 | 30.094737 | 0.807766 | 0.551591 | 0 | 0.129032 | 1 | 0 | 0.083712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.096774 | 0.129032 | 0.870968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5221ffd9ac82bea46af918229f6d741b059ae694 | 3,426 | py | Python | cms_people/forms.py | python-spain/djangocms-people | 406a64b49ed152d615e421b47aef7366083b5376 | [
"MIT"
] | 1 | 2016-06-17T23:45:07.000Z | 2016-06-17T23:45:07.000Z | cms_people/forms.py | python-spain/djangocms-people | 406a64b49ed152d615e421b47aef7366083b5376 | [
"MIT"
] | null | null | null | cms_people/forms.py | python-spain/djangocms-people | 406a64b49ed152d615e421b47aef7366083b5376 | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.core.exceptions import ValidationError
from django.forms import ModelForm, ChoiceField, CharField
from django.forms.fields import BooleanField, ImageField
from django.forms.widgets import CheckboxInput, PasswordInput, HiddenInput
from django.utils.translation ... | 38.931818 | 92 | 0.707823 | 400 | 3,426 | 5.815 | 0.2925 | 0.094583 | 0.051591 | 0.049441 | 0.242476 | 0.138435 | 0.125967 | 0.081255 | 0.081255 | 0.047291 | 0 | 0 | 0.198774 | 3,426 | 88 | 93 | 38.931818 | 0.847359 | 0.042615 | 0 | 0.138462 | 0 | 0 | 0.113179 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 1 | 0.123077 | false | 0.384615 | 0.138462 | 0.015385 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
52456bda9166b7fd9b8eea89f8c3b7ffc8a9006c | 1,957 | py | Python | tests/test_graph_info.py | achains/formal-lang-course | d8f43b148b17e943d4cbd667dfeeeab1f9ca3537 | [
"Apache-2.0"
] | null | null | null | tests/test_graph_info.py | achains/formal-lang-course | d8f43b148b17e943d4cbd667dfeeeab1f9ca3537 | [
"Apache-2.0"
] | 5 | 2021-09-20T15:18:42.000Z | 2022-01-23T11:28:22.000Z | tests/test_graph_info.py | achains/formal-lang-course | d8f43b148b17e943d4cbd667dfeeeab1f9ca3537 | [
"Apache-2.0"
] | 1 | 2021-09-02T15:52:39.000Z | 2021-09-02T15:52:39.000Z | from project.utils import graph_utils
import rdflib
graph_info = graph_utils.get_graph_info("travel")
def test_number_nodes():
assert graph_info.nodes == 131
def test_number_edges():
assert graph_info.edges == 277
def test_graph_labels():
assert graph_info.labels == {
rdflib.term.URIRef("ht... | 46.595238 | 88 | 0.671436 | 297 | 1,957 | 4.377104 | 0.20202 | 0.169231 | 0.270769 | 0.338462 | 0.684615 | 0.684615 | 0.684615 | 0.684615 | 0.684615 | 0.684615 | 0 | 0.089097 | 0.128258 | 1,957 | 41 | 89 | 47.731707 | 0.672919 | 0 | 0 | 0 | 0 | 0.09375 | 0.49208 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5291cc3c260c3a8be5ff9263ae38e3f2a4ba8ca1 | 483 | py | Python | OpenGLCffi/GL/EXT/ARB/draw_buffers_blend.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/draw_buffers_blend.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/draw_buffers_blend.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['buf', 'mode'])
def glBlendEquationiARB(buf, mode):
pass
@params(api='gl', prms=['buf', 'modeRGB', 'modeAlpha'])
def glBlendEquationSeparateiARB(buf, modeRGB, modeAlpha):
pass
@params(api='gl', prms=['buf', 'src', 'dst'])
def glBlendFunciARB(buf, src, dst):... | 21.954545 | 75 | 0.687371 | 59 | 483 | 5.627119 | 0.389831 | 0.108434 | 0.13253 | 0.180723 | 0.430723 | 0.198795 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 483 | 21 | 76 | 23 | 0.773893 | 0 | 0 | 0.307692 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.307692 | 0.076923 | 0 | 0.384615 | 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 | 0 | 0 | 0 | 3 |
52922a4a428c07dbfd77e946f96a6658d898ad65 | 1,001 | py | Python | python/spi/activation_record.py | montreal91/jolly-jay | 7a2e145658177abc109b9f8f3787b8197f4ce7b5 | [
"BSD-3-Clause"
] | null | null | null | python/spi/activation_record.py | montreal91/jolly-jay | 7a2e145658177abc109b9f8f3787b8197f4ce7b5 | [
"BSD-3-Clause"
] | null | null | null | python/spi/activation_record.py | montreal91/jolly-jay | 7a2e145658177abc109b9f8f3787b8197f4ce7b5 | [
"BSD-3-Clause"
] | null | null | null |
from enum import Enum
class ArType(Enum):
PROGRAM = "program"
PROCEDURE = "procedure"
class ActivationRecord:
def __init__(self, name, ar_type, nesting_level):
self._name = name
self._type = ar_type
self._nesting_level = nesting_level
self._members = {}
def __setite... | 22.244444 | 53 | 0.566434 | 113 | 1,001 | 4.610619 | 0.336283 | 0.138196 | 0.092131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00295 | 0.322677 | 1,001 | 44 | 54 | 22.75 | 0.765487 | 0 | 0 | 0 | 0 | 0 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.03125 | 0.125 | 0.53125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5295e71e1898289d844bbda452d1f13c76046d58 | 279 | py | Python | pages/themes/beginners/dateAndTime/examples/strftime.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/dateAndTime/examples/strftime.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/dateAndTime/examples/strftime.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | import datetime
today = datetime.datetime.today()
print("Year:", today.strftime("%Y"))
print("Month:", today.strftime("%m"))
print("Day:", today.strftime("%d"))
print("Hour:", today.strftime("%H"))
print("Minutes:", today.strftime("%M"))
print("Seconds:", today.strftime("%s")) | 27.9 | 39 | 0.659498 | 36 | 279 | 5.111111 | 0.444444 | 0.423913 | 0.152174 | 0.206522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 279 | 10 | 40 | 27.9 | 0.704981 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.75 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
bff0a97efa9abafbf747fb97f7221d839b38c6d7 | 3,621 | py | Python | authors/apps/articles/test/test_enable_article_report.py | Mutuba/Sims | 794cc9686d9da2cb8acf056e9b62b9d13c622885 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/test/test_enable_article_report.py | Mutuba/Sims | 794cc9686d9da2cb8acf056e9b62b9d13c622885 | [
"BSD-3-Clause"
] | 5 | 2021-05-21T08:49:43.000Z | 2021-06-09T19:41:36.000Z | authors/apps/articles/test/test_enable_article_report.py | Mutuba/Sims | 794cc9686d9da2cb8acf056e9b62b9d13c622885 | [
"BSD-3-Clause"
] | null | null | null | from authors.apps.base_test import BaseTest
from django.urls import reverse
from rest_framework.views import status
class ReportArticleTestCase(BaseTest):
def test_if_user_can_report_without_authentication(self):
"""Test if user can report an article without authentication"""
response = self.clien... | 39.791209 | 87 | 0.644021 | 426 | 3,621 | 5.258216 | 0.204225 | 0.060268 | 0.092411 | 0.064286 | 0.802679 | 0.770089 | 0.726339 | 0.670536 | 0.652679 | 0.596429 | 0 | 0.008798 | 0.246617 | 3,621 | 90 | 88 | 40.233333 | 0.812317 | 0.015742 | 0 | 0.632911 | 0 | 0 | 0.177628 | 0.098651 | 0 | 0 | 0 | 0 | 0.139241 | 1 | 0.088608 | false | 0 | 0.037975 | 0 | 0.139241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
871f8659a72be829199f90a68c4936872f3f3e57 | 125 | py | Python | Q021_to_do_breadth_first_traversal_of_a_given_graph.py | latika18/learning | a57c9aacc0157bf7c318f46c1e7c4971d1d55aea | [
"Unlicense"
] | null | null | null | Q021_to_do_breadth_first_traversal_of_a_given_graph.py | latika18/learning | a57c9aacc0157bf7c318f46c1e7c4971d1d55aea | [
"Unlicense"
] | null | null | null | Q021_to_do_breadth_first_traversal_of_a_given_graph.py | latika18/learning | a57c9aacc0157bf7c318f46c1e7c4971d1d55aea | [
"Unlicense"
] | null | null | null | Do a breadth first traversal of a given graph, and print the output
Example input:
1 -> 2
1 -> 4
1 -> 5
2 -> 3
3 -> 5
4 -> 2
| 13.888889 | 67 | 0.624 | 27 | 125 | 2.888889 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.264 | 125 | 8 | 68 | 15.625 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8720183a511006a19d6d103e7d88d06f9cd59468 | 610 | py | Python | python/scrabble-score/scrabble_score.py | cjcbusatto/exercism-solved | 51cfe3d0134899b043d5668bc270bf480e6d9644 | [
"MIT"
] | null | null | null | python/scrabble-score/scrabble_score.py | cjcbusatto/exercism-solved | 51cfe3d0134899b043d5668bc270bf480e6d9644 | [
"MIT"
] | null | null | null | python/scrabble-score/scrabble_score.py | cjcbusatto/exercism-solved | 51cfe3d0134899b043d5668bc270bf480e6d9644 | [
"MIT"
] | 1 | 2018-12-25T22:14:40.000Z | 2018-12-25T22:14:40.000Z | # Scores Table
# A, E, I, O, U, L, N, R, S, T 1
# D, G 2
# B, C, M, P 3
# F, H, V, W, Y 4
# K 5
# J, X 8
# Q, Z 10
score_table = {
'a': 1, 'b'... | 33.888889 | 100 | 0.27541 | 102 | 610 | 1.627451 | 0.431373 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115756 | 0.490164 | 610 | 17 | 101 | 35.882353 | 0.418006 | 0.445902 | 0 | 0 | 0 | 0 | 0.079027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.285714 | 0 | 0 | 0 | 1 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 3 |
873d417fa6d7e8fec9c3c42153d1e1b6de27d24c | 277 | py | Python | darwin/not-python-3.7.8-darwin.py | miniprime1/not-python | 2e7877d8af1bae8a16ce5e6c50a220ce3f1396bf | [
"0BSD"
] | 1 | 2021-04-24T02:30:18.000Z | 2021-04-24T02:30:18.000Z | darwin/not-python-3.7.8-darwin.py | miniprime1/not-python | 2e7877d8af1bae8a16ce5e6c50a220ce3f1396bf | [
"0BSD"
] | null | null | null | darwin/not-python-3.7.8-darwin.py | miniprime1/not-python | 2e7877d8af1bae8a16ce5e6c50a220ce3f1396bf | [
"0BSD"
] | null | null | null | print('Not Python 3.7.8 (v3.7.8:4b47a5b6ba, Jun 27 2020, 04:47:50)')
print('[Clang 6.0 (clang-600.0.57)] on darwin')
print('Type "help", "copyright", "credits" or "license" for more information.')
while True:
i = input(">>> ")
if i == "exit()": break
print("Nope!") | 39.571429 | 79 | 0.610108 | 46 | 277 | 3.673913 | 0.826087 | 0.023669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133621 | 0.162455 | 277 | 7 | 80 | 39.571429 | 0.594828 | 0 | 0 | 0 | 0 | 0.142857 | 0.654676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
874c9f0a68dcec1f11a6654a69c086ca9ba0fbd0 | 2,082 | py | Python | rob/objects.py | relekang/rob | 4701c2a4191459461649504cfd1fc51aadfbc177 | [
"MIT"
] | null | null | null | rob/objects.py | relekang/rob | 4701c2a4191459461649504cfd1fc51aadfbc177 | [
"MIT"
] | null | null | null | rob/objects.py | relekang/rob | 4701c2a4191459461649504cfd1fc51aadfbc177 | [
"MIT"
] | null | null | null | import json
from rob.base import BaseObject
class JsonObject(BaseObject):
"""
An object that does a JSON dump of the dictionary
and save it in a Redis hash.
Needs to define `HASH_KEY` - the key to the hash.
"""
def save(self):
return self.redis.hset(
self.HASH_KEY,
... | 26.35443 | 77 | 0.613353 | 305 | 2,082 | 4.095082 | 0.245902 | 0.078463 | 0.052842 | 0.060048 | 0.390713 | 0.279424 | 0.190552 | 0.139311 | 0 | 0 | 0 | 0.004614 | 0.271374 | 2,082 | 78 | 78 | 26.692308 | 0.818721 | 0.165706 | 0 | 0.354167 | 0 | 0 | 0.004152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.041667 | 0.145833 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8766183cc065107a8bf9f6ff49c50cd7687727fa | 128 | py | Python | e_ood_django/apps.py | trawick/emptyhammock-out-of-date-django | 5d0670a82b0d417d19399b8f9d4b3df88b242ae5 | [
"Apache-2.0"
] | null | null | null | e_ood_django/apps.py | trawick/emptyhammock-out-of-date-django | 5d0670a82b0d417d19399b8f9d4b3df88b242ae5 | [
"Apache-2.0"
] | 1 | 2019-11-18T12:19:29.000Z | 2019-11-18T12:19:29.000Z | e_ood_django/apps.py | trawick/emptyhammock-out-of-date-django | 5d0670a82b0d417d19399b8f9d4b3df88b242ae5 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class EOODDAppConfig(AppConfig):
name = 'e_ood_django'
verbose_name = 'Out-of-date'
| 18.285714 | 33 | 0.734375 | 17 | 128 | 5.352941 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 128 | 6 | 34 | 21.333333 | 0.858491 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8770a722bdf02d3429ac5e57181b6ab5de5ede63 | 37,601 | py | Python | yaksh/migrations/0001_initial.py | patilnayan92/online | 0f9a8d8da5aa84a408a9a8e5825a045f6c86f481 | [
"Python-2.0"
] | 1 | 2022-03-21T11:14:17.000Z | 2022-03-21T11:14:17.000Z | yaksh/migrations/0001_initial.py | patilnayan92/online | 0f9a8d8da5aa84a408a9a8e5825a045f6c86f481 | [
"Python-2.0"
] | null | null | null | yaksh/migrations/0001_initial.py | patilnayan92/online | 0f9a8d8da5aa84a408a9a8e5825a045f6c86f481 | [
"Python-2.0"
] | 1 | 2015-04-05T09:51:54.000Z | 2015-04-05T09:51:54.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2017-03-17 16:42
from __future__ import unicode_literals
import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
from django.utils.timezone import utc
import taggit.man... | 139.262963 | 17,851 | 0.631978 | 4,242 | 37,601 | 5.52381 | 0.268977 | 0.016388 | 0.011352 | 0.017839 | 0.275777 | 0.213469 | 0.179285 | 0.1588 | 0.152868 | 0.141302 | 0 | 0.071828 | 0.148773 | 37,601 | 269 | 17,852 | 139.780669 | 0.660262 | 0.001782 | 0 | 0.517241 | 1 | 0.003831 | 0.429965 | 0.048253 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.007663 | 0.034483 | 0 | 0.049808 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5e4934688a6c62e6309daaeecd77cb3d52cb5421 | 152 | py | Python | Python_URI/1019.py | matheus258/Python_URI | 2b9b393bab710e060fb4be953b0b9171c5dc89d4 | [
"MIT"
] | null | null | null | Python_URI/1019.py | matheus258/Python_URI | 2b9b393bab710e060fb4be953b0b9171c5dc89d4 | [
"MIT"
] | null | null | null | Python_URI/1019.py | matheus258/Python_URI | 2b9b393bab710e060fb4be953b0b9171c5dc89d4 | [
"MIT"
] | null | null | null | segundos = int(input())
horas = segundos // 3600
resto = segundos%3600
minutos = resto//60
s = resto%60
print(str(horas)+":"+str(minutos)+":"+str(s))
| 16.888889 | 45 | 0.651316 | 22 | 152 | 4.5 | 0.5 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.131579 | 152 | 8 | 46 | 19 | 0.659091 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5e595c1f45882eda0e3bd71648411bf55f3dcbf5 | 993 | py | Python | tests/conftest.py | sanoma/django-arctic | 18edd63e46b31ce0492b5991d036df896bd14bc6 | [
"MIT"
] | 73 | 2016-08-15T11:37:08.000Z | 2020-04-11T14:12:19.000Z | tests/conftest.py | sanoma/django-arctic | 18edd63e46b31ce0492b5991d036df896bd14bc6 | [
"MIT"
] | 331 | 2016-08-16T12:05:04.000Z | 2020-04-16T18:39:46.000Z | tests/conftest.py | sanoma/django-arctic | 18edd63e46b31ce0492b5991d036df896bd14bc6 | [
"MIT"
] | 26 | 2016-08-17T12:58:30.000Z | 2019-10-16T08:07:41.000Z | import pytest
from django.contrib.auth import get_user_model
from tests.factories import ArticleFactory, TagFactory
User = get_user_model()
class FormCustomMock(object):
"""
Custom mock to mimic the get_form() method for the Create and
Update View. It needs to support self.get_form().fields and
self... | 20.6875 | 65 | 0.685801 | 138 | 993 | 4.782609 | 0.471014 | 0.074242 | 0.036364 | 0.048485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227593 | 993 | 47 | 66 | 21.12766 | 0.860495 | 0.291037 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.130435 | 0.130435 | 0.695652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5e596995177bb9e377058b2a62b13dc72a4828df | 88 | py | Python | dnc/__init__.py | memesrized/do_nlpthing_club | 1808a9fd7fd2083193417e579aa4357e0b221160 | [
"Apache-2.0"
] | 1 | 2021-08-30T06:23:28.000Z | 2021-08-30T06:23:28.000Z | dnc/__init__.py | memesrized/do_nlpthing_club | 1808a9fd7fd2083193417e579aa4357e0b221160 | [
"Apache-2.0"
] | null | null | null | dnc/__init__.py | memesrized/do_nlpthing_club | 1808a9fd7fd2083193417e579aa4357e0b221160 | [
"Apache-2.0"
] | null | null | null | from dnc.lib_utils import PathLoader
PROJECT_PATHS = PathLoader()
RANDOM_STATE = 1337
| 14.666667 | 36 | 0.806818 | 12 | 88 | 5.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.136364 | 88 | 5 | 37 | 17.6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5ea44c8e2ae6ffcfae4329214069a8b8367f0102 | 645 | py | Python | backend/api/migrations/0003_rename_left_p_idvalue_left_and_more.py | softlab-unimore/LandmarkApp | 5f60fd67f4d8077a06005d86a8ea21525b085877 | [
"MIT"
] | null | null | null | backend/api/migrations/0003_rename_left_p_idvalue_left_and_more.py | softlab-unimore/LandmarkApp | 5f60fd67f4d8077a06005d86a8ea21525b085877 | [
"MIT"
] | null | null | null | backend/api/migrations/0003_rename_left_p_idvalue_left_and_more.py | softlab-unimore/LandmarkApp | 5f60fd67f4d8077a06005d86a8ea21525b085877 | [
"MIT"
] | null | null | null | # Generated by Django 4.0.1 on 2022-01-10 12:18
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('api', '0002_auto_20211025_1948'),
]
operations = [
migrations.RenameField(
model_name='idvalue',
old_name='left_p',
... | 22.241379 | 47 | 0.539535 | 65 | 645 | 5.107692 | 0.538462 | 0.108434 | 0.23494 | 0.271084 | 0.39759 | 0.39759 | 0.39759 | 0 | 0 | 0 | 0 | 0.073634 | 0.347287 | 645 | 28 | 48 | 23.035714 | 0.714964 | 0.069767 | 0 | 0.409091 | 1 | 0 | 0.150502 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5eaafa816d321b493ddde29308e8e2d4c0d652e6 | 801 | py | Python | mpfmc/tests/test_Image.py | arthurlutz/mpf-mc | 6f4aac5d48eb07dd5aa6612985a7567af8577ce2 | [
"MIT"
] | null | null | null | mpfmc/tests/test_Image.py | arthurlutz/mpf-mc | 6f4aac5d48eb07dd5aa6612985a7567af8577ce2 | [
"MIT"
] | null | null | null | mpfmc/tests/test_Image.py | arthurlutz/mpf-mc | 6f4aac5d48eb07dd5aa6612985a7567af8577ce2 | [
"MIT"
] | null | null | null | # Tests the Image Asset and the Image widget
from mpfmc.tests.MpfMcTestCase import MpfMcTestCase
class TestImage(MpfMcTestCase):
def get_machine_path(self):
return 'tests/machine_files/assets_and_image'
def get_config_file(self):
return 'test_image.yaml'
def test_image(self):
s... | 29.666667 | 90 | 0.676654 | 114 | 801 | 4.614035 | 0.578947 | 0.030418 | 0.064639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.240949 | 801 | 26 | 91 | 30.807692 | 0.858553 | 0.258427 | 0 | 0 | 0 | 0 | 0.129032 | 0.061121 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5eca3d6ff2b32137e483420f1e6413624c7e2fca | 333 | py | Python | multivac/util.py | bcicen/slackbot | 6ec9ba3df1a0912fa05d755497a6f260a2ffbfd0 | [
"MIT"
] | 49 | 2015-10-20T18:26:36.000Z | 2020-06-13T19:45:45.000Z | multivac/util.py | bcicen/multivac | 6ec9ba3df1a0912fa05d755497a6f260a2ffbfd0 | [
"MIT"
] | 2 | 2016-01-09T22:23:53.000Z | 2016-03-01T22:38:34.000Z | multivac/util.py | bcicen/multivac | 6ec9ba3df1a0912fa05d755497a6f260a2ffbfd0 | [
"MIT"
] | 3 | 2015-10-21T19:59:47.000Z | 2021-12-02T22:57:07.000Z | from datetime import datetime
def unix_time(dt):
epoch = datetime.utcfromtimestamp(0)
delta = dt - epoch
return int(round(delta.total_seconds()))
def format_time(unix_time):
if isinstance(unix_time, str):
unix_time = int(unix_time)
return datetime.fromtimestamp(unix_time).strftime('%Y-%m-%... | 27.75 | 74 | 0.696697 | 48 | 333 | 4.666667 | 0.5625 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003623 | 0.171171 | 333 | 11 | 75 | 30.272727 | 0.807971 | 0 | 0 | 0 | 0 | 0 | 0.051051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5ed1faf838889598f2487c9096d653829ad5b376 | 10,550 | py | Python | tests/src/tm_uint128/test_gen.py | to-miz/tm | c97a3c14aa769b5a8f94b394b4535cd42eeb31d2 | [
"MIT"
] | 51 | 2016-09-02T16:21:24.000Z | 2021-08-12T01:30:45.000Z | tests/src/tm_uint128/test_gen.py | to-miz/tm | c97a3c14aa769b5a8f94b394b4535cd42eeb31d2 | [
"MIT"
] | 3 | 2018-12-29T15:10:41.000Z | 2019-10-29T23:21:57.000Z | tests/src/tm_uint128/test_gen.py | to-miz/tm | c97a3c14aa769b5a8f94b394b4535cd42eeb31d2 | [
"MIT"
] | 5 | 2016-11-21T08:48:41.000Z | 2021-06-24T20:21:10.000Z | import random as random
random.seed(1)
import math
import struct
def next_up(x):
# NaNs and positive infinity map to themselves.
if math.isnan(x) or (math.isinf(x) and x > 0):
return x
# 0.0 and -0.0 both map to the smallest +ve float.
if x == 0.0:
x = 0.0
n = struct.unpack('<q',... | 47.309417 | 167 | 0.628341 | 1,471 | 10,550 | 4.350782 | 0.101292 | 0.06375 | 0.106563 | 0.07875 | 0.844375 | 0.800938 | 0.789219 | 0.6975 | 0.587031 | 0.521406 | 0 | 0.04382 | 0.190995 | 10,550 | 223 | 168 | 47.309417 | 0.706034 | 0.018578 | 0 | 0.310881 | 0 | 0.11399 | 0.525121 | 0.298937 | 0 | 0 | 0.188986 | 0 | 0 | 1 | 0.067358 | false | 0 | 0.015544 | 0.010363 | 0.196891 | 0.357513 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0d621f8e7b30b8965a659086b77fd41858a3a85e | 187 | py | Python | core/helpers/sanitation/lists.py | N7SALab/HEV | d449a2ba4eeb07127b97befd0a58d37279ed8a36 | [
"Apache-2.0"
] | null | null | null | core/helpers/sanitation/lists.py | N7SALab/HEV | d449a2ba4eeb07127b97befd0a58d37279ed8a36 | [
"Apache-2.0"
] | 1 | 2021-06-02T01:10:50.000Z | 2021-06-02T01:10:50.000Z | core/helpers/sanitation/lists.py | N7SALab/HEV | d449a2ba4eeb07127b97befd0a58d37279ed8a36 | [
"Apache-2.0"
] | null | null | null | def dedup_list(list):
"""
deduplicate list
"""
new_list = []
for item in list:
if item not in new_list:
new_list.append(item)
return new_list
| 17 | 33 | 0.55615 | 25 | 187 | 3.96 | 0.48 | 0.282828 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 187 | 10 | 34 | 18.7 | 0.818182 | 0.085562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0d9bd7cd6e8b2d92bb80f48b4622d36604aba692 | 24 | py | Python | comicapi/__init__.py | Kalinon/ComicStreamer | 753701ea79a2a8389c2eb105c875d7b02d6cbeca | [
"Apache-2.0"
] | 31 | 2015-03-29T10:58:41.000Z | 2021-07-20T14:38:38.000Z | comicapi/__init__.py | gwhittey23/ComicStreamer | 3e0fe2011984cee54197985cb313f5b6864f6f8c | [
"Apache-2.0"
] | 6 | 2015-09-15T20:19:27.000Z | 2016-06-25T10:52:18.000Z | comicapi/__init__.py | gwhittey23/ComicStreamer | 3e0fe2011984cee54197985cb313f5b6864f6f8c | [
"Apache-2.0"
] | 16 | 2015-02-27T18:45:50.000Z | 2022-03-12T18:27:07.000Z | __author__ = 'dromanin'
| 12 | 23 | 0.75 | 2 | 24 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0d9ce0068167a9df7f200d84064259fdb5446a38 | 1,552 | py | Python | invoicing/models/base_model.py | sarcoma/Invoicing | f980b3b3729b10af18bd47db0eab3e83bf8679cb | [
"MIT"
] | 10 | 2018-09-28T18:16:32.000Z | 2020-08-05T13:37:12.000Z | invoicing/models/base_model.py | sarcoma/Invoicing | f980b3b3729b10af18bd47db0eab3e83bf8679cb | [
"MIT"
] | 13 | 2018-10-01T14:02:41.000Z | 2020-08-16T12:55:28.000Z | invoicing/models/base_model.py | sarcoma/Invoicing | f980b3b3729b10af18bd47db0eab3e83bf8679cb | [
"MIT"
] | 7 | 2018-10-01T20:36:50.000Z | 2020-03-14T11:21:10.000Z | import collections
from invoicing.model_validation.field import Field
class OrderedClassMembers(type):
@classmethod
def __prepare__(self, name, bases):
return collections.OrderedDict()
def __new__(cls, name, bases, class_dict):
result = type.__new__(cls, name, bases, dict(class_dict))
... | 30.431373 | 120 | 0.622423 | 188 | 1,552 | 4.787234 | 0.324468 | 0.06 | 0.043333 | 0.033333 | 0.042222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271907 | 1,552 | 50 | 121 | 31.04 | 0.79646 | 0 | 0 | 0 | 0 | 0 | 0.012242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0.105263 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0d9ce6b0f416244596b7427ce75d24d330e0633f | 1,648 | py | Python | src/bpp/tests/test_models/test_struktura/test_autor.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/bpp/tests/test_models/test_struktura/test_autor.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/bpp/tests/test_models/test_struktura/test_autor.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | # -*- encoding: utf-8 -*-
import pytest
from model_mommy import mommy
from bpp.models import (
Autor,
Jednostka,
Typ_Odpowiedzialnosci,
Tytul,
Wydawnictwo_Ciagle,
)
@pytest.mark.django_db
def test_Autor_str(tytuly):
x = Autor(
nazwisko="Kowalski",
imiona="Jan",
tytul=T... | 30.518519 | 76 | 0.716626 | 210 | 1,648 | 5.414286 | 0.309524 | 0.079156 | 0.063325 | 0.084433 | 0.729112 | 0.729112 | 0.707124 | 0.654354 | 0.654354 | 0.654354 | 0 | 0.021045 | 0.163835 | 1,648 | 53 | 77 | 31.09434 | 0.804064 | 0.013956 | 0 | 0.463415 | 0 | 0 | 0.057301 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 1 | 0.073171 | false | 0 | 0.073171 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0db329fca07bb276825ccba2f70c213c87e9ceb1 | 114 | py | Python | gym_goal/__init__.py | jonomon/gym-goal | 3fcae3767d77c6788dbd6bff87bc42975262a009 | [
"MIT"
] | 12 | 2019-09-02T10:58:16.000Z | 2021-11-15T08:31:17.000Z | gym_goal/__init__.py | jonomon/gym-goal | 3fcae3767d77c6788dbd6bff87bc42975262a009 | [
"MIT"
] | null | null | null | gym_goal/__init__.py | jonomon/gym-goal | 3fcae3767d77c6788dbd6bff87bc42975262a009 | [
"MIT"
] | 8 | 2020-03-04T13:53:49.000Z | 2021-06-26T20:49:52.000Z | from gym.envs.registration import register
register(
id='Goal-v0',
entry_point='gym_goal.envs:GoalEnv',
) | 19 | 42 | 0.72807 | 16 | 114 | 5.0625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.140351 | 114 | 6 | 43 | 19 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.243478 | 0.182609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 3 |
0ddf2c4a74f14ffb8d53517a90a847542c8a183b | 255 | py | Python | setup.py | brighthive/convert_descriptor_to_swagger | ac59504ddf70622fb76e68b23dfdf4555836d3bd | [
"MIT"
] | null | null | null | setup.py | brighthive/convert_descriptor_to_swagger | ac59504ddf70622fb76e68b23dfdf4555836d3bd | [
"MIT"
] | 3 | 2019-12-10T19:47:39.000Z | 2019-12-20T19:11:59.000Z | setup.py | brighthive/convert_descriptor_to_swagger | ac59504ddf70622fb76e68b23dfdf4555836d3bd | [
"MIT"
] | 1 | 2020-04-29T18:18:49.000Z | 2020-04-29T18:18:49.000Z | from distutils.core import setup
setup(
name="convert_descriptor_to_swagger",
version="0.1",
packages=["convert_descriptor_to_swagger"],
license="None",
long_description=open("README.md").read(),
install_requires=["deepmerge"],
)
| 23.181818 | 47 | 0.705882 | 30 | 255 | 5.733333 | 0.833333 | 0.197674 | 0.22093 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.145098 | 255 | 10 | 48 | 25.5 | 0.779817 | 0 | 0 | 0 | 0 | 0 | 0.32549 | 0.227451 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0de899817a1701bb7f4f3cbe5f4773f86b4d527b | 1,781 | py | Python | home.py | nneuenschwander/abalone | be9573121a0a3e1849f040e0b58cff2425f0c811 | [
"MIT"
] | null | null | null | home.py | nneuenschwander/abalone | be9573121a0a3e1849f040e0b58cff2425f0c811 | [
"MIT"
] | null | null | null | home.py | nneuenschwander/abalone | be9573121a0a3e1849f040e0b58cff2425f0c811 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import streamlit as st
import plotly.express as px
import seaborn as sns
from matplotlib import pyplot as plt
import base64
from PIL import Image
plt.style.use('fivethirtyeight')
def app():
st.title('About Me!')
st.markdown('[LinkedIn](https://www.linkedin.com/in/nneu... | 53.969697 | 330 | 0.754071 | 275 | 1,781 | 4.861818 | 0.614545 | 0.015707 | 0.022438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026052 | 0.159461 | 1,781 | 33 | 331 | 53.969697 | 0.867067 | 0.036496 | 0 | 0 | 0 | 0.227273 | 0.673672 | 0.055458 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.363636 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2175891d5eb5a0f1062d73c1c4cda4b3f8b66f77 | 1,556 | py | Python | chaospy/distributions/collection/pareto1.py | krystophny/chaospy | e09f8e3f6dfc26145f15774edd5b03665140712f | [
"MIT"
] | 1 | 2019-12-20T00:32:44.000Z | 2019-12-20T00:32:44.000Z | chaospy/distributions/collection/pareto1.py | QianWanghhu/chaospy | 18ff6c4fc56c632825e53fb24e17de51a7febd7d | [
"MIT"
] | null | null | null | chaospy/distributions/collection/pareto1.py | QianWanghhu/chaospy | 18ff6c4fc56c632825e53fb24e17de51a7febd7d | [
"MIT"
] | null | null | null | """Pareto type 1 distribution."""
import numpy
from scipy import special
from ..baseclass import Dist
from ..operators.addition import Add
class pareto1(Dist):
"""Pareto type 1 distribution."""
def __init__(self, b):
Dist.__init__(self, b=b)
def _pdf(self, x, b):
return b * x**(-b-1)
... | 27.298246 | 73 | 0.579692 | 227 | 1,556 | 3.876652 | 0.330396 | 0.011364 | 0.072727 | 0.127273 | 0.070455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090043 | 0.257712 | 1,556 | 56 | 74 | 27.785714 | 0.671861 | 0.523779 | 0 | 0 | 0 | 0 | 0.020218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.210526 | 0.210526 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
21ce487f44b1b68f933f918951462a733422d6c5 | 416 | py | Python | tree-lca/node.py | clayne/toys | ec06411e2d3b920403607888d4a573e41390ee5b | [
"BSD-2-Clause"
] | null | null | null | tree-lca/node.py | clayne/toys | ec06411e2d3b920403607888d4a573e41390ee5b | [
"BSD-2-Clause"
] | null | null | null | tree-lca/node.py | clayne/toys | ec06411e2d3b920403607888d4a573e41390ee5b | [
"BSD-2-Clause"
] | null | null | null | class Node:
def __init__(self, label):
self.label = label
self.parent = None
self.children = []
def add(self, child):
assert child.parent is None
self.children.append(child)
child.parent = self
def __repr__(self):
return f'<{self.label}, parent={self... | 24.470588 | 80 | 0.596154 | 52 | 416 | 4.596154 | 0.346154 | 0.112971 | 0.133891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288462 | 416 | 16 | 81 | 26 | 0.807432 | 0 | 0 | 0 | 0 | 0 | 0.149038 | 0.110577 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
21d82a6f10dfbba2e5e50eb4b62610e2174f4c64 | 230 | py | Python | Class 4/Divisibility.py | teenage-coder/Introduction-to-Python | fee751071bdac27b4644279c44eb8f008271fcd1 | [
"Apache-2.0"
] | 1 | 2021-09-16T03:17:19.000Z | 2021-09-16T03:17:19.000Z | If-Else with Python/Divisibility.py | teenage-coder/Data-Analysis-with-Python | 5b4cd1277fd0ab6db9f8953087070fc30b0e293f | [
"Apache-2.0"
] | null | null | null | If-Else with Python/Divisibility.py | teenage-coder/Data-Analysis-with-Python | 5b4cd1277fd0ab6db9f8953087070fc30b0e293f | [
"Apache-2.0"
] | null | null | null | print("Check Divisibility")
neu = int(input("Enter the neu: "))
den = int(input("Enter the den: "))
if (neu % den == 0):
print(neu , "is fully divisible by", den)
else:
print(neu, "is not fully divisible by", den)
| 14.375 | 48 | 0.608696 | 35 | 230 | 4 | 0.485714 | 0.114286 | 0.185714 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.221739 | 230 | 15 | 49 | 15.333333 | 0.776536 | 0 | 0 | 0 | 0 | 0 | 0.415929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
21efd4bc21968f83cb9d08f5313fdb6f32d6c6cd | 222 | py | Python | pythonpath/movelister/utils/alignment.py | kazooiebombchu/movelister | d4defdfd6714cfc78667643694999e9e3f4bd5c2 | [
"MIT"
] | 3 | 2020-03-30T16:31:36.000Z | 2020-09-24T15:58:47.000Z | pythonpath/movelister/utils/alignment.py | kazooiebombchu/movelister | d4defdfd6714cfc78667643694999e9e3f4bd5c2 | [
"MIT"
] | null | null | null | pythonpath/movelister/utils/alignment.py | kazooiebombchu/movelister | d4defdfd6714cfc78667643694999e9e3f4bd5c2 | [
"MIT"
] | 2 | 2020-04-21T17:40:59.000Z | 2020-06-23T01:26:40.000Z | from enum import Enum
class HorizontalAlignment(Enum):
STANDARD = 0
LEFT = 1
CENTER = 2
RIGHT = 3
BLOCK = 4
class VerticalAlignment(Enum):
STANDARD = 0
TOP = 1
CENTER = 2
BOTTOM = 3
| 13.058824 | 32 | 0.594595 | 28 | 222 | 4.714286 | 0.642857 | 0.181818 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.337838 | 222 | 16 | 33 | 13.875 | 0.836735 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
21f5481f8f959d515c355b8b9de00c040f746b0b | 912 | py | Python | test/mechanical/relay.py | Tomos-Evans/garrison | 6a0eea6822f7a5a64e80852427d4576c9018d0b4 | [
"MIT"
] | 1 | 2018-10-20T15:53:15.000Z | 2018-10-20T15:53:15.000Z | test/mechanical/relay.py | Tomos-Evans/garrison | 6a0eea6822f7a5a64e80852427d4576c9018d0b4 | [
"MIT"
] | null | null | null | test/mechanical/relay.py | Tomos-Evans/garrison | 6a0eea6822f7a5a64e80852427d4576c9018d0b4 | [
"MIT"
] | null | null | null | from test import TestCase
class TestRelay(TestCase):
def setUp(self):
super().setUp()
from app.mechanical.relay import Relay
self.relay = Relay(pin_number=10)
def test_starting_state(self):
self.assertEqual(self.relay.current_state.name, 'low')
def test_off_to_on(self):
... | 30.4 | 62 | 0.629386 | 119 | 912 | 4.672269 | 0.277311 | 0.210432 | 0.201439 | 0.264388 | 0.489209 | 0.444245 | 0.392086 | 0.392086 | 0.392086 | 0 | 0 | 0.002937 | 0.253289 | 912 | 29 | 63 | 31.448276 | 0.81351 | 0 | 0 | 0.2 | 0 | 0 | 0.023026 | 0 | 0 | 0 | 0 | 0 | 0.24 | 1 | 0.12 | false | 0 | 0.08 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df0753f6dc3589896408a9a708477bee8fa648ae | 136 | py | Python | Week 08/SLU14 - Modules & Packages/library/shelf/book.py | LDSSA/ds-prep-course-2021 | 324f5302ade92d49eb199bdf2a93705142178c42 | [
"MIT"
] | 34 | 2021-03-28T15:59:41.000Z | 2022-03-22T09:20:45.000Z | Week 8/SLU14 - Modules & Packages/library/shelf/book.py | RicSegundo/ds-prep-course | 75a9a8ff11628c07d37094d8f15026e318ac5834 | [
"MIT"
] | 52 | 2021-03-15T19:02:22.000Z | 2021-07-20T20:35:05.000Z | Week 8/SLU14 - Modules & Packages/library/shelf/book.py | RicSegundo/ds-prep-course | 75a9a8ff11628c07d37094d8f15026e318ac5834 | [
"MIT"
] | 36 | 2020-03-21T12:44:08.000Z | 2021-04-02T21:56:32.000Z | class Book:
def __init__(self, name, author, year):
self.name = name
self.author = author
self.year = year
| 19.428571 | 43 | 0.573529 | 17 | 136 | 4.352941 | 0.470588 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330882 | 136 | 6 | 44 | 22.666667 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
df0ee6607dd11db64d424de2481a5cacd51dc29a | 156 | py | Python | src/load_config.py | WriessneggerLab/template-project | 64c64b76e8aafbfa72404b06ab5681a94709852c | [
"BSD-3-Clause"
] | null | null | null | src/load_config.py | WriessneggerLab/template-project | 64c64b76e8aafbfa72404b06ab5681a94709852c | [
"BSD-3-Clause"
] | null | null | null | src/load_config.py | WriessneggerLab/template-project | 64c64b76e8aafbfa72404b06ab5681a94709852c | [
"BSD-3-Clause"
] | null | null | null | """Load configuration from .yaml file."""
import yaml
from rich import print
with open("./config.yml", "r") as f:
conf = yaml.safe_load(f)
print(conf)
| 19.5 | 41 | 0.679487 | 25 | 156 | 4.2 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160256 | 156 | 7 | 42 | 22.285714 | 0.801527 | 0.224359 | 0 | 0 | 0 | 0 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
df1a17260442a6cc05c3c162375641c6a30e8557 | 338 | py | Python | msoffcrypto/format/base.py | DidierStevens/msoffcrypto-tool | f746a38ed174910195ed3b9bdff4ea5b075a2055 | [
"MIT"
] | 6 | 2018-06-06T12:22:33.000Z | 2021-02-04T19:19:44.000Z | msoffcrypto/format/base.py | DidierStevens/msoffcrypto-tool | f746a38ed174910195ed3b9bdff4ea5b075a2055 | [
"MIT"
] | null | null | null | msoffcrypto/format/base.py | DidierStevens/msoffcrypto-tool | f746a38ed174910195ed3b9bdff4ea5b075a2055 | [
"MIT"
] | 4 | 2018-07-24T13:38:12.000Z | 2021-05-23T22:20:55.000Z | import abc
## For 2 and 3 compatibility
## https://stackoverflow.com/questions/35673474/
ABC = abc.ABCMeta('ABC', (object,), {'__slots__': ()})
class BaseOfficeFile(ABC):
def __init__(self):
pass
@abc.abstractmethod
def load_key(self):
pass
@abc.abstractmethod
def decrypt(se... | 18.777778 | 55 | 0.62426 | 38 | 338 | 5.315789 | 0.657895 | 0.118812 | 0.108911 | 0.247525 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0.242604 | 338 | 17 | 56 | 19.882353 | 0.75 | 0.210059 | 0 | 0.454545 | 0 | 0 | 0.045802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 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 | 0 | 0 | 0 | 3 |
df417d2b877e753a5ab7363cc8a8d119df683333 | 59 | py | Python | poradnia/stats/__init__.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 23 | 2015-07-20T01:10:52.000Z | 2021-01-12T10:05:48.000Z | poradnia/stats/__init__.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 710 | 2015-07-12T13:19:14.000Z | 2022-03-29T12:38:18.000Z | poradnia/stats/__init__.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | 20 | 2015-07-21T00:45:34.000Z | 2021-01-31T12:48:18.000Z | default_app_config = "poradnia.stats.apps.CustomAppConfig"
| 29.5 | 58 | 0.847458 | 7 | 59 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.59322 | 0.59322 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df5763b73398b4502229ba93af27ee972e1fecac | 145 | py | Python | python/testData/quickFixes/PyMoveAttributeToInitQuickFixTest/addSuperCallOldStyle.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyMoveAttributeToInitQuickFixTest/addSuperCallOldStyle.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyMoveAttributeToInitQuickFixTest/addSuperCallOldStyle.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | __author__ = 'ktisha'
class Base:
def __init__(self):
self.param = 2
class Child(Base):
def f(self):
self.<caret>my = 2 | 16.111111 | 26 | 0.57931 | 20 | 145 | 3.8 | 0.65 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.289655 | 145 | 9 | 26 | 16.111111 | 0.718447 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df68ad9b53face567c594badf033a12ec9e135cf | 716 | py | Python | application/application/routes.py | PeteWein/webapp-flask | 3c188988263d9448d293352edd69715d5f058d11 | [
"MIT"
] | 1 | 2020-06-05T00:59:51.000Z | 2020-06-05T00:59:51.000Z | application/application/routes.py | PeteWein/webapp-flask | 3c188988263d9448d293352edd69715d5f058d11 | [
"MIT"
] | 7 | 2020-06-05T22:31:16.000Z | 2021-05-11T20:35:30.000Z | application/application/routes.py | PeteWein/webapp-flask | 3c188988263d9448d293352edd69715d5f058d11 | [
"MIT"
] | null | null | null | """Route declaration."""
from flask import current_app as app
from flask import render_template, redirect, url_for, jsonify
from flask_cors import CORS, cross_origin
CORS(app)
#define and populate our routes
@app.route('/')
def root_dir():
return redirect(url_for('home'))
@app.route('/home', methods=['GET'])
def ... | 26.518519 | 61 | 0.722067 | 97 | 716 | 5.195876 | 0.546392 | 0.053571 | 0.059524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019386 | 0.135475 | 716 | 26 | 62 | 27.538462 | 0.79483 | 0.149441 | 0 | 0 | 0 | 0 | 0.151667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.176471 | 0.176471 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
df6fc83b24e65f2077eec7706a17e0e36c707e17 | 168 | py | Python | bw/__init__.py | darnes/bw | 0909326543d74dc62b0907a29a2c988bf7800303 | [
"BSD-3-Clause"
] | null | null | null | bw/__init__.py | darnes/bw | 0909326543d74dc62b0907a29a2c988bf7800303 | [
"BSD-3-Clause"
] | null | null | null | bw/__init__.py | darnes/bw | 0909326543d74dc62b0907a29a2c988bf7800303 | [
"BSD-3-Clause"
] | null | null | null | __author__ = "Shuiskij Dmitry (darnesmeister@gmail.com)"
__copyright__ = "Copyright (C) 2015- Shuiskij Dmitry"
__license__ = "LGPL 3.0"
from bw_reader import BWReader
| 28 | 56 | 0.77381 | 21 | 168 | 5.571429 | 0.857143 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.125 | 168 | 5 | 57 | 33.6 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.14881 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df70bd8ef32895c3da5b7e4f4aaf2ed564362f79 | 4,379 | py | Python | services/LiveService/LiveService.py | psu-capstone-teamD/ElementalAuth | d896efad5a3e4cb453c324afc456aa82f82da239 | [
"MIT"
] | 2 | 2017-08-21T00:52:35.000Z | 2018-10-31T17:38:42.000Z | services/LiveService/LiveService.py | psu-capstone-teamD/ElementalAuth | d896efad5a3e4cb453c324afc456aa82f82da239 | [
"MIT"
] | 27 | 2017-07-27T21:10:35.000Z | 2017-08-24T21:19:23.000Z | services/LiveService/LiveService.py | psu-capstone-teamD/ElementalAuth | d896efad5a3e4cb453c324afc456aa82f82da239 | [
"MIT"
] | 2 | 2017-07-08T00:57:08.000Z | 2017-07-24T19:21:12.000Z | from requests import get, post, put, delete
from time import time
from hashlib import md5
class LiveService:
def __init__(self):
self.BASEURL = "https://yanexx65s8e1.live.elementalclouddev.com/api"
def getLiveEventStatus(self, eventID):
endpoint = '/live_events/' + str(eventID) + '/status'
... | 41.311321 | 119 | 0.654259 | 495 | 4,379 | 5.737374 | 0.240404 | 0.069718 | 0.113732 | 0.173592 | 0.544014 | 0.501761 | 0.501761 | 0.461268 | 0.371479 | 0.336268 | 0 | 0.007344 | 0.222654 | 4,379 | 105 | 120 | 41.704762 | 0.826968 | 0.095912 | 0 | 0.375 | 0 | 0 | 0.118233 | 0.016088 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263889 | false | 0 | 0.041667 | 0 | 0.569444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
df7f278d1fd11b8f45bfb606cacaeb895befeaf6 | 287 | py | Python | vbts-credits/data/VBTS_Transfer_Credit.py | Community-Cellular/vbts-plumbing | f1ebd961a5d99c60c78cdc6d0b98ce7bd289742f | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-06-14T03:41:41.000Z | 2015-06-14T03:41:41.000Z | vbts-credits/data/VBTS_Transfer_Credit.py | Community-Cellular/vbts-plumbing | f1ebd961a5d99c60c78cdc6d0b98ce7bd289742f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | vbts-credits/data/VBTS_Transfer_Credit.py | Community-Cellular/vbts-plumbing | f1ebd961a5d99c60c78cdc6d0b98ce7bd289742f | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-05-13T15:41:34.000Z | 2021-05-13T15:41:34.000Z | from freeswitch import *
import vbts_credit_transfer
def chat(message, args):
consoleLog('info', "Credit transfer: %s\n" % args)
from_, request = args.split("|", 1)
vbts_credit_transfer.handle_incoming(from_, request)
def fsapi(session, stream, env, args):
chat(args)
| 23.916667 | 56 | 0.707317 | 38 | 287 | 5.157895 | 0.605263 | 0.214286 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004167 | 0.163763 | 287 | 11 | 57 | 26.090909 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.090592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
df88a2d9505c64b94b0c35d400de64137c17be1d | 2,343 | py | Python | d4s/context.py | benhid/d4s | eded703228a446c5808052446d969815545e4048 | [
"MIT"
] | null | null | null | d4s/context.py | benhid/d4s | eded703228a446c5808052446d969815545e4048 | [
"MIT"
] | null | null | null | d4s/context.py | benhid/d4s | eded703228a446c5808052446d969815545e4048 | [
"MIT"
] | null | null | null | import threading
from typing import Any, MutableMapping, Iterator
class DotDict(MutableMapping):
"""
A `dict` that also supports attribute ("dot") access. Think of this as an extension
to the standard python `dict` object. **Note**: while any hashable object can be added to
a `DotDict`, _only_ valid ... | 30.038462 | 120 | 0.580879 | 278 | 2,343 | 4.615108 | 0.453237 | 0.031177 | 0.023383 | 0.021824 | 0.115355 | 0.048324 | 0.048324 | 0 | 0 | 0 | 0 | 0.006098 | 0.300043 | 2,343 | 77 | 121 | 30.428571 | 0.77622 | 0.310713 | 0 | 0.051282 | 0 | 0.025641 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282051 | false | 0 | 0.051282 | 0.102564 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
df90a870ff0072408b2bf2fc1d4af62994060bd0 | 4,771 | py | Python | pysnmp/BW-ClientManagementProfileServerFault.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/BW-ClientManagementProfileServerFault.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/BW-ClientManagementProfileServerFault.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module BW-ClientManagementProfileServerFault (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BW-ClientManagementProfileServerFault
# Produced by pysmi-0.3.4 at Mon Apr 29 17:25:03 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
#... | 170.392857 | 477 | 0.79082 | 375 | 4,771 | 10.056 | 0.344 | 0.005304 | 0.033413 | 0.005304 | 0.525325 | 0.472819 | 0.472819 | 0.472819 | 0.472819 | 0.472819 | 0 | 0.038935 | 0.063299 | 4,771 | 27 | 478 | 176.703704 | 0.804878 | 0.077133 | 0 | 0 | 0 | 0 | 0.37096 | 0.043468 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.35 | 0 | 0.35 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
df95cf1673a83062ccde96ff41cf8d2070e0c611 | 55 | py | Python | parametres/__init__.py | SocialGouv/ecollecte | 1bfce2e0700b563c111c11452356b46ecb2630e4 | [
"MIT"
] | null | null | null | parametres/__init__.py | SocialGouv/ecollecte | 1bfce2e0700b563c111c11452356b46ecb2630e4 | [
"MIT"
] | 12 | 2021-09-20T07:29:27.000Z | 2022-02-28T15:19:16.000Z | parametres/__init__.py | SocialGouv/ecollecte | 1bfce2e0700b563c111c11452356b46ecb2630e4 | [
"MIT"
] | 1 | 2021-11-29T16:14:23.000Z | 2021-11-29T16:14:23.000Z | default_app_config = 'parametres.apps.ParametresConfig' | 55 | 55 | 0.872727 | 6 | 55 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 55 | 1 | 55 | 55 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
10f32f9922ff043229266c79176dccc631fb0276 | 577 | py | Python | forms.py | estreeper/quizalicious | aa49531e59b5ba2d3f4806fc0b8d2164de08df14 | [
"BSD-2-Clause"
] | null | null | null | forms.py | estreeper/quizalicious | aa49531e59b5ba2d3f4806fc0b8d2164de08df14 | [
"BSD-2-Clause"
] | null | null | null | forms.py | estreeper/quizalicious | aa49531e59b5ba2d3f4806fc0b8d2164de08df14 | [
"BSD-2-Clause"
] | null | null | null | from wtforms import Form, TextField, TextAreaField, validators
class AddQuiz(Form):
title = TextField('Name of quiz', [validators.Length(max=60),
validators.required()])
creator = TextField('Creator', [validators.Length(max=200)])
class AddQuizQuestion(Form):
quest... | 44.384615 | 69 | 0.584055 | 49 | 577 | 6.877551 | 0.469388 | 0.189911 | 0.225519 | 0.20178 | 0.243323 | 0.243323 | 0 | 0 | 0 | 0 | 0 | 0.03202 | 0.29636 | 577 | 12 | 70 | 48.083333 | 0.79803 | 0 | 0 | 0.2 | 0 | 0 | 0.057192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
800c2dea5e7982a292dc2d4c8210c564f5ccba39 | 3,960 | py | Python | accounting/accounting/doctype/coa_importer/test_coa_importer.py | s-aga-r/Accounting | 2c57b725019da5113e2d652443256ff4f8cfc974 | [
"MIT"
] | 1 | 2021-11-12T05:41:29.000Z | 2021-11-12T05:41:29.000Z | accounting/accounting/doctype/coa_importer/test_coa_importer.py | s-aga-r/Accounting | 2c57b725019da5113e2d652443256ff4f8cfc974 | [
"MIT"
] | null | null | null | accounting/accounting/doctype/coa_importer/test_coa_importer.py | s-aga-r/Accounting | 2c57b725019da5113e2d652443256ff4f8cfc974 | [
"MIT"
] | 1 | 2021-11-12T05:41:31.000Z | 2021-11-12T05:41:31.000Z | # Copyright (c) 2021, Sagar Sharma and Contributors
# See license.txt
import frappe
import random
import unittest
from accounting.accounting.doctype.coa_importer.coa_importer import COAImporter
TEST_ACCOUNTS = {"Application of Funds (Assets)": {"Current Assets": {"Accounts Receivable": {"Debtors": {"account_type": "R... | 123.75 | 1,570 | 0.677778 | 438 | 3,960 | 5.993151 | 0.351598 | 0.138286 | 0.042667 | 0.056 | 0.143238 | 0.052571 | 0 | 0 | 0 | 0 | 0 | 0.002605 | 0.127525 | 3,960 | 31 | 1,571 | 127.741935 | 0.757164 | 0.016414 | 0 | 0.090909 | 0 | 0 | 0.594039 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.136364 | false | 0 | 0.318182 | 0 | 0.5 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8025e80c26ad248caf9ed0e4843216ef91769c15 | 25,306 | py | Python | graph/phe_codes.py | StephenGrey/covid_data | 8651460734a9aa21b5106896ab98c47491eadb3c | [
"MIT"
] | null | null | null | graph/phe_codes.py | StephenGrey/covid_data | 8651460734a9aa21b5106896ab98c47491eadb3c | [
"MIT"
] | null | null | null | graph/phe_codes.py | StephenGrey/covid_data | 8651460734a9aa21b5106896ab98c47491eadb3c | [
"MIT"
] | null | null | null | """codes outputed by PHE API"""
#[{row['Area name']:row['Area type']} for k,row in pp.iterrows()]
area_types={'Adur': 'ltla', 'Allerdale': 'ltla', 'Amber Valley': 'ltla', 'Arun': 'ltla', 'Ashfield': 'ltla', 'Ashford': 'ltla', 'Aylesbury Vale': 'ltla', 'Babergh': 'ltla', 'Barking and Dagenham': 'utla', 'Barnet': 'utl... | 202.448 | 9,924 | 0.679918 | 2,905 | 25,306 | 5.909466 | 0.316695 | 0.017708 | 0.024349 | 0.035417 | 0.149939 | 0.133978 | 0.127221 | 0.122968 | 0.122968 | 0.122968 | 0 | 0.171889 | 0.098356 | 25,306 | 125 | 9,925 | 202.448 | 0.580488 | 0.179523 | 0 | 0.028169 | 0 | 0 | 0.690659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8028d0aa315cbfff1d6f4f7e412bf015ce5e6f8a | 126 | py | Python | python/day_7.py | anishLearnsToCode/hackerrank-30-days-of-code | a794a6555ffd743b046889034bda0b8ef49decb5 | [
"MIT"
] | 2 | 2021-01-14T16:45:04.000Z | 2021-11-28T15:43:40.000Z | python/day_7.py | anishLearnsToCode/hackerrank-30-days-of-code | a794a6555ffd743b046889034bda0b8ef49decb5 | [
"MIT"
] | null | null | null | python/day_7.py | anishLearnsToCode/hackerrank-30-days-of-code | a794a6555ffd743b046889034bda0b8ef49decb5 | [
"MIT"
] | null | null | null | n = int(input())
numbers = list(map(int, input().split()))
for index in range(n):
print(numbers[n - 1 - index], end=' ')
| 21 | 42 | 0.587302 | 20 | 126 | 3.7 | 0.7 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.18254 | 126 | 5 | 43 | 25.2 | 0.708738 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
802a06462979cf45d9d2c023cf176db75426c23c | 431 | py | Python | crawler/graph.py | Rango-dz/Chefmate | ffff9c492e26089a7d7726b44e3d78394037d3fe | [
"MIT"
] | 7 | 2020-02-06T23:14:58.000Z | 2020-05-08T23:39:35.000Z | crawler/graph.py | Rango-dz/Chefmate | ffff9c492e26089a7d7726b44e3d78394037d3fe | [
"MIT"
] | 166 | 2020-02-12T23:24:32.000Z | 2021-12-13T20:34:13.000Z | crawler/graph.py | Rango-dz/Chefmate | ffff9c492e26089a7d7726b44e3d78394037d3fe | [
"MIT"
] | 1 | 2020-05-08T23:43:26.000Z | 2020-05-08T23:43:26.000Z | import json
class Graph:
def __init__(self, nodes=False):
self.nodes = nodes if nodes else {}
def addLink(self, nodeUrl, link):
if nodeUrl not in self.nodes:
self.nodes[nodeUrl]={}
if nodeUrl != link:
self.nodes[nodeUrl][link]=True
def get(self, node):
if node in self.nodes:
... | 22.684211 | 43 | 0.635731 | 61 | 431 | 4.42623 | 0.409836 | 0.266667 | 0.081481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003049 | 0.238979 | 431 | 19 | 43 | 22.684211 | 0.820122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0 | 0.533333 | 0.133333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
802a5ac28209b14783e3025db2399271c4a13e61 | 60 | py | Python | autokey/data/Bspc/desktop_8.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | 2 | 2021-05-29T18:11:26.000Z | 2021-10-21T20:53:16.000Z | autokey/data/Bspc/desktop_8.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | null | null | null | autokey/data/Bspc/desktop_8.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | null | null | null | system.exec_command("bspc desktop -f '^8'", getOutput=False) | 60 | 60 | 0.75 | 9 | 60 | 4.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.066667 | 60 | 1 | 60 | 60 | 0.767857 | 0 | 0 | 0 | 0 | 0 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
802d98a1c6cd88a40fc713190a31a9e4c8abb8be | 207 | py | Python | z3doc_test.py | nafur/cvc5_pythonic_api | cbc2e18ec52a30e2f8a88f9e1111b66ff5680b63 | [
"BSD-3-Clause"
] | null | null | null | z3doc_test.py | nafur/cvc5_pythonic_api | cbc2e18ec52a30e2f8a88f9e1111b66ff5680b63 | [
"BSD-3-Clause"
] | null | null | null | z3doc_test.py | nafur/cvc5_pythonic_api | cbc2e18ec52a30e2f8a88f9e1111b66ff5680b63 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
import sys
if __name__ == "__main__":
import doctest
import cvc5_z3py_compat
n_failed, _ = doctest.testmod(cvc5_z3py_compat.z3)
if n_failed > 0:
sys.exit(1)
| 17.25 | 54 | 0.666667 | 30 | 207 | 4.1 | 0.666667 | 0.130081 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050314 | 0.231884 | 207 | 11 | 55 | 18.818182 | 0.72327 | 0.101449 | 0 | 0 | 0 | 0 | 0.043243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3383f54156d0f2c8b27cc537cf56e3d755397275 | 341 | py | Python | tests/unit/test_unit.py | dobragab/testplan | 407ac1dfd33d19753e41235a1f576aeb06118840 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_unit.py | dobragab/testplan | 407ac1dfd33d19753e41235a1f576aeb06118840 | [
"Apache-2.0"
] | 64 | 2019-04-15T20:56:40.000Z | 2021-03-23T01:00:30.000Z | tests/unit/test_unit.py | dobragab/testplan | 407ac1dfd33d19753e41235a1f576aeb06118840 | [
"Apache-2.0"
] | 1 | 2019-09-11T09:13:18.000Z | 2019-09-11T09:13:18.000Z | from __future__ import (absolute_import, division,
print_function, unicode_literals)
import os
import sys
# from builtins import * # pylint: disable=W0622,W0614,W0401,F0401
# sys.path.insert(0,
# os.path.join(os.path.dirname(os.path.abspath(__file__)),
# ... | 28.416667 | 74 | 0.583578 | 37 | 341 | 5.081081 | 0.675676 | 0.095745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070248 | 0.290323 | 341 | 11 | 75 | 31 | 0.706612 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
339ed5d8955f78ee33ac8ad2ca0e507393a502ac | 573 | py | Python | trainer/demo_data/__init__.py | Telcrome/ai-trainer | 54bca3252e194c054bdd3af2b94d6dde940a2a86 | [
"MIT"
] | 1 | 2021-05-05T12:57:42.000Z | 2021-05-05T12:57:42.000Z | trainer/demo_data/__init__.py | Telcrome/ai-trainer | 54bca3252e194c054bdd3af2b94d6dde940a2a86 | [
"MIT"
] | null | null | null | trainer/demo_data/__init__.py | Telcrome/ai-trainer | 54bca3252e194c054bdd3af2b94d6dde940a2a86 | [
"MIT"
] | null | null | null | """
Produces (smallish) datasets for testing the functionality of the annotator and the machine learning capabilities.
Uses synthetic data that uses tasks solvable by a human to enable simple demonstration of trainer functionality.
To fill your database with one of the datasets, just execute corresponding file.
The r... | 47.75 | 114 | 0.832461 | 84 | 573 | 5.547619 | 0.690476 | 0.070815 | 0.096567 | 0.122318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13089 | 573 | 11 | 115 | 52.090909 | 0.935743 | 0.661431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
33b68809baca4e0170f52aa105b95e9ab70c16de | 13,899 | py | Python | pysnmp-with-texts/Juniper-L2TP-CONF.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Juniper-L2TP-CONF.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Juniper-L2TP-CONF.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Juniper-L2TP-CONF (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Juniper-L2TP-CONF
# Produced by pysmi-0.3.4 at Wed May 1 14:03:18 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Ma... | 127.513761 | 874 | 0.753292 | 1,866 | 13,899 | 5.609861 | 0.120579 | 0.011081 | 0.052637 | 0.072029 | 0.696504 | 0.624666 | 0.621704 | 0.618838 | 0.613489 | 0.613298 | 0 | 0.085975 | 0.139722 | 13,899 | 108 | 875 | 128.694444 | 0.789496 | 0.023599 | 0 | 0.29 | 0 | 0.29 | 0.495281 | 0.022268 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.07 | 0 | 0.07 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33b842f676cdbaf78ab93b9aef0ff5c6e1053539 | 96 | py | Python | main.py | Aishelre/tkinter-minesweeper | 4118c1be505082266d2b28d09a4c1e3964930129 | [
"MIT"
] | null | null | null | main.py | Aishelre/tkinter-minesweeper | 4118c1be505082266d2b28d09a4c1e3964930129 | [
"MIT"
] | null | null | null | main.py | Aishelre/tkinter-minesweeper | 4118c1be505082266d2b28d09a4c1e3964930129 | [
"MIT"
] | null | null | null | import Minesweeper as m
def main():
m.game()
if __name__ == "__main__":
main() | 12 | 27 | 0.5625 | 12 | 96 | 3.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302083 | 96 | 8 | 28 | 12 | 0.686567 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33e79baf3e07946c8953d304463e6e8daffab018 | 912 | py | Python | tests/test_argument_list.py | pcastellazzi/tauon | 2f8ec816cb5a879ae39ca5e79f23e6f8d736963c | [
"MIT"
] | null | null | null | tests/test_argument_list.py | pcastellazzi/tauon | 2f8ec816cb5a879ae39ca5e79f23e6f8d736963c | [
"MIT"
] | null | null | null | tests/test_argument_list.py | pcastellazzi/tauon | 2f8ec816cb5a879ae39ca5e79f23e6f8d736963c | [
"MIT"
] | null | null | null | from pytest import mark
from tauon.argument_list import ArgumentList
@mark.parametrize(
"actual, expected",
(
(["--long-option"], ["--long-option"]),
(["--long-option", "value"], ["--long-option", "value"]),
(["--long-option="], ["--long-option", ""]),
(["--long-option=value"]... | 27.636364 | 72 | 0.496711 | 90 | 912 | 4.977778 | 0.266667 | 0.223214 | 0.1875 | 0.178571 | 0.609375 | 0.555804 | 0.555804 | 0.254464 | 0.254464 | 0.254464 | 0 | 0 | 0.217105 | 912 | 32 | 73 | 28.5 | 0.627451 | 0 | 0 | 0.296296 | 0 | 0 | 0.316886 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
33fe6dab96645f865baab8c091973387948535e2 | 4,324 | py | Python | crawler/RISJbot/spiders/us/ap.py | ausnews/ausnews-search | 47f33e7a19e28f4b42fe1286aaefd3c5c3f85741 | [
"MIT"
] | 10 | 2021-02-18T01:30:59.000Z | 2021-09-13T04:31:40.000Z | crawler/RISJbot/spiders/us/ap.py | ausnews/ausnews-search | 47f33e7a19e28f4b42fe1286aaefd3c5c3f85741 | [
"MIT"
] | null | null | null | crawler/RISJbot/spiders/us/ap.py | ausnews/ausnews-search | 47f33e7a19e28f4b42fe1286aaefd3c5c3f85741 | [
"MIT"
] | 2 | 2021-02-18T22:51:00.000Z | 2021-05-12T02:04:47.000Z | # -*- coding: utf-8 -*-
from scrapy.spiders import CrawlSpider, Rule
from RISJbot.loaders import NewsLoader
# Note: mutate_selector_del_xpath is somewhat naughty. Read its docstring.
from RISJbot.utils import mutate_selector_del_xpath
from scrapy.linkextractors import LinkExtractor
from itemloaders.processors import Id... | 44.57732 | 133 | 0.670444 | 575 | 4,324 | 4.984348 | 0.514783 | 0.020935 | 0.031752 | 0.023029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010814 | 0.230111 | 4,324 | 96 | 134 | 45.041667 | 0.850105 | 0.422525 | 0 | 0 | 0 | 0.071429 | 0.444275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d505e53dcd6bd0000a598cb381c933d5a340bb94 | 164 | py | Python | Types & Operations/Integers-&-Floating-Point-Numbers/Absolute-Value.py | PableraShow/python-exercises | e1648fd42f3009ec6fb1e2096852b6d399e91d5b | [
"MIT"
] | 8 | 2018-10-01T17:35:57.000Z | 2022-02-01T08:12:12.000Z | Types & Operations/Integers-&-Floating-Point-Numbers/Absolute-Value.py | PableraShow/python-exercises | e1648fd42f3009ec6fb1e2096852b6d399e91d5b | [
"MIT"
] | null | null | null | Types & Operations/Integers-&-Floating-Point-Numbers/Absolute-Value.py | PableraShow/python-exercises | e1648fd42f3009ec6fb1e2096852b6d399e91d5b | [
"MIT"
] | 6 | 2018-07-22T19:15:21.000Z | 2022-02-05T07:54:58.000Z | """
Returns the absolute value of number x. The result is of the same type as the input.
Syntax:
abs(x)
"""
print abs(3)
# 3
print abs(-3.0)
# 3.0 | 13.666667 | 85 | 0.597561 | 30 | 164 | 3.266667 | 0.6 | 0.163265 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.280488 | 164 | 12 | 86 | 13.666667 | 0.779661 | 0.030488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1d115c37745f8ffc1f0c0448385788decdac978c | 78 | py | Python | cmsplugin_filer_link2/__init__.py | zypro/djangocms-link2 | c549b734cc4be577b3230b9ea2aa9d90337373dc | [
"BSD-3-Clause"
] | 3 | 2017-03-29T07:50:30.000Z | 2019-04-29T07:51:58.000Z | cmsplugin_filer_link2/__init__.py | zypro/djangocms-link2 | c549b734cc4be577b3230b9ea2aa9d90337373dc | [
"BSD-3-Clause"
] | 20 | 2017-05-01T17:51:53.000Z | 2020-03-25T09:00:14.000Z | cmsplugin_filer_link2/__init__.py | zypro/djangocms-link2 | c549b734cc4be577b3230b9ea2aa9d90337373dc | [
"BSD-3-Clause"
] | 2 | 2019-05-06T14:29:55.000Z | 2020-10-02T08:23:33.000Z | __version__ = '1.1.5'
default_app_config = 'cmsplugin_filer_link2.apps.Link2'
| 26 | 55 | 0.794872 | 12 | 78 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.076923 | 78 | 2 | 56 | 39 | 0.680556 | 0 | 0 | 0 | 0 | 0 | 0.474359 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d127a7e239abf480ac740824fbc978fb362a660 | 4,549 | py | Python | doc/jupyter_execute/examples/models/tracing/tracing.py | edshee/seldon-core | 78c10fbca16a5e2a0c25b9673aa3deb220070e26 | [
"Apache-2.0"
] | null | null | null | doc/jupyter_execute/examples/models/tracing/tracing.py | edshee/seldon-core | 78c10fbca16a5e2a0c25b9673aa3deb220070e26 | [
"Apache-2.0"
] | null | null | null | doc/jupyter_execute/examples/models/tracing/tracing.py | edshee/seldon-core | 78c10fbca16a5e2a0c25b9673aa3deb220070e26 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# # Distributed Tracing Template
#
# Illustrate the configuration for allowing distributed tracing using Jaeger.
#
#
# ## Setup Seldon Core
#
# Install Seldon Core as described in [docs](https://docs.seldon.io/projects/seldon-core/en/latest/workflow/install.html)
#
# Then ... | 28.791139 | 272 | 0.729391 | 617 | 4,549 | 5.312804 | 0.246353 | 0.079317 | 0.126907 | 0.147346 | 0.64277 | 0.611959 | 0.561928 | 0.479256 | 0.466138 | 0.453325 | 0 | 0.018724 | 0.107716 | 4,549 | 157 | 273 | 28.974522 | 0.788864 | 0.310618 | 0 | 0.076923 | 0 | 0.538462 | 0.728902 | 0.071359 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d1a3a3a4eaf1fa1a27612aa52bceea2545d570c | 422 | py | Python | testcase_maker/values/random_choice.py | Tawishi/testcase-maker | befa990c83aa1c6e710d539d252fd8472bc38b0e | [
"MIT"
] | 5 | 2021-09-29T09:20:30.000Z | 2022-01-14T09:00:07.000Z | testcase_maker/values/random_choice.py | Tawishi/testcase-maker | befa990c83aa1c6e710d539d252fd8472bc38b0e | [
"MIT"
] | 9 | 2021-10-01T12:39:03.000Z | 2021-10-17T16:49:27.000Z | testcase_maker/values/random_choice.py | Tawishi/testcase-maker | befa990c83aa1c6e710d539d252fd8472bc38b0e | [
"MIT"
] | 6 | 2021-10-01T01:45:25.000Z | 2021-10-10T15:44:21.000Z | import random
from typing import Any, TYPE_CHECKING, List, Union
import attr
from testcase_maker.value import Value
if TYPE_CHECKING:
from testcase_maker.resolver import Resolver
@attr.define()
class RandomChoice(Value):
items: List[Union[Any, "Value"]] = attr.ib() # TODO Make this resolvable?
def ge... | 23.444444 | 78 | 0.734597 | 56 | 422 | 5.464286 | 0.535714 | 0.078431 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163507 | 422 | 17 | 79 | 24.823529 | 0.866856 | 0.061611 | 0 | 0 | 0 | 0 | 0.032995 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.090909 | false | 0 | 0.454545 | 0.090909 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1d1f471c615e68e58612f339696943880f3ba463 | 207 | py | Python | avalon/packages/__init__.py | tshlabs/avalonms | 2291f8457ca86f2e963d518abbdce04af02d9054 | [
"MIT"
] | 1 | 2015-11-09T05:26:57.000Z | 2015-11-09T05:26:57.000Z | avalon/packages/__init__.py | tshlabs/avalonms | 2291f8457ca86f2e963d518abbdce04af02d9054 | [
"MIT"
] | 4 | 2015-02-08T20:14:54.000Z | 2015-07-07T23:44:42.000Z | avalon/packages/__init__.py | tshlabs/avalonms | 2291f8457ca86f2e963d518abbdce04af02d9054 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Avalon Music Server
#
# Copyright 2012-2015 TSH Labs <projects@tshlabs.org>
#
# Available under the MIT license. See LICENSE for details.
#
"""Third-party libs that we bundle"""
| 18.818182 | 59 | 0.68599 | 29 | 207 | 4.896552 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052326 | 0.169082 | 207 | 10 | 60 | 20.7 | 0.773256 | 0.888889 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d2e788eefec3e7844a8866c9bdd3ef92af8d84d | 2,204 | py | Python | annotation/migrations/0017_auto_20210121_2201.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | annotation/migrations/0017_auto_20210121_2201.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | annotation/migrations/0017_auto_20210121_2201.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | # Generated by Django 3.1 on 2021-01-21 11:31
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('pathtests', '0003_auto_20210121_1747'),
('analysis', '0015_auto_20210121_2201'),
('annotation', '0016_one_off_move_ontology'),
]
operations = ... | 25.929412 | 53 | 0.522686 | 154 | 2,204 | 7.311688 | 0.363636 | 0.167851 | 0.207815 | 0.239787 | 0.402309 | 0.402309 | 0.204263 | 0 | 0 | 0 | 0 | 0.036075 | 0.371143 | 2,204 | 84 | 54 | 26.238095 | 0.776335 | 0.01951 | 0 | 0.679487 | 1 | 0 | 0.180639 | 0.053729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012821 | 0 | 0.051282 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1d4ddae5cf416b4a90e27c4a80a0d664a1d9706e | 282 | py | Python | search/jobs/hourly/search_update.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | search/jobs/hourly/search_update.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | search/jobs/hourly/search_update.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | from django_extensions.management.jobs import BaseJob
from django.core.management import call_command
class SearchJob(BaseJob):
help = "Search index update job."
def execute(self):
# executing Search index update job
call_command('search-index', '_all')
| 23.5 | 53 | 0.72695 | 35 | 282 | 5.742857 | 0.628571 | 0.164179 | 0.169154 | 0.199005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 282 | 11 | 54 | 25.636364 | 0.881579 | 0.117021 | 0 | 0 | 0 | 0 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1d8809d2f53332467629f99e78e432a609ae4ca8 | 215 | py | Python | raiutils/raiutils/common/__init__.py | ezherdeva/responsible-ai-toolbox | 70895df616ca6f78ec83740e7705f641ef32c127 | [
"MIT"
] | 119 | 2021-12-02T21:00:47.000Z | 2022-03-31T06:44:31.000Z | raiutils/raiutils/common/__init__.py | ezherdeva/responsible-ai-toolbox | 70895df616ca6f78ec83740e7705f641ef32c127 | [
"MIT"
] | 293 | 2021-11-30T16:45:49.000Z | 2022-03-31T23:57:13.000Z | raiutils/raiutils/common/__init__.py | ezherdeva/responsible-ai-toolbox | 70895df616ca6f78ec83740e7705f641ef32c127 | [
"MIT"
] | 28 | 2021-12-07T17:28:04.000Z | 2022-03-31T07:47:11.000Z | # Copyright (c) Microsoft Corporation
# Licensed under the MIT License.
"""Module for defining common utilities across Responsible AI utilities."""
from .retries import retry_function
__all__ = ['retry_function']
| 26.875 | 75 | 0.781395 | 26 | 215 | 6.230769 | 0.884615 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134884 | 215 | 7 | 76 | 30.714286 | 0.870968 | 0.64186 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1d95b0f4fd6740f6dadc5f8a8baf7c87708c1f5f | 979 | py | Python | socialaccount/providers/github/provider.py | establishment/django-establishment | ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6 | [
"CC0-1.0"
] | 1 | 2017-04-27T19:35:42.000Z | 2017-04-27T19:35:42.000Z | socialaccount/providers/github/provider.py | establishment/django-establishment | ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6 | [
"CC0-1.0"
] | null | null | null | socialaccount/providers/github/provider.py | establishment/django-establishment | ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6 | [
"CC0-1.0"
] | null | null | null | from establishment.socialaccount.providers.base import ProviderAccount, AuthAction
from establishment.socialaccount.providers.oauth2.provider import OAuth2Provider
GITHUB_TOKEN_LINK = "https://github.com/login/oauth/access_token"
GITHUB_QUERY_LINK = "https://api.github.com/user"
class GithubAccount(ProviderAccount):... | 27.971429 | 82 | 0.691522 | 116 | 979 | 5.594828 | 0.431034 | 0.061633 | 0.064715 | 0.097072 | 0.161787 | 0.161787 | 0.161787 | 0.11094 | 0 | 0 | 0 | 0.003807 | 0.195097 | 979 | 34 | 83 | 28.794118 | 0.819797 | 0 | 0 | 0 | 0 | 0 | 0.121553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d51959e1b0951c0c8c8b1541ede73af2d1cec74d | 78 | py | Python | Mundo 1-Fundamentos/PythonExercicios/ex002.py | JotaPeGabriel/curso-em-video-python3 | 141a9bec8acd7513c10768494fee5c86282dfa75 | [
"MIT"
] | null | null | null | Mundo 1-Fundamentos/PythonExercicios/ex002.py | JotaPeGabriel/curso-em-video-python3 | 141a9bec8acd7513c10768494fee5c86282dfa75 | [
"MIT"
] | null | null | null | Mundo 1-Fundamentos/PythonExercicios/ex002.py | JotaPeGabriel/curso-em-video-python3 | 141a9bec8acd7513c10768494fee5c86282dfa75 | [
"MIT"
] | null | null | null | nome = input('DIGITE SEU NOME: ')
print('É um prazer te conhecer', nome, '!')
| 26 | 43 | 0.641026 | 12 | 78 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 2 | 44 | 39 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.525641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.