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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7b1af25d89a257c4a845ab9d63e17dce11d228a6 | 457,271 | py | Python | main_image_rc.py | mhard1/AnimalShogi2 | d5d57066229b7c5b2b816202315d7e5b77c514fd | [
"MIT"
] | null | null | null | main_image_rc.py | mhard1/AnimalShogi2 | d5d57066229b7c5b2b816202315d7e5b77c514fd | [
"MIT"
] | null | null | null | main_image_rc.py | mhard1/AnimalShogi2 | d5d57066229b7c5b2b816202315d7e5b77c514fd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.13.0)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x01\xa9\x07\
\xff\
\xd8\xff\xe0\x00\x10\x4a\x46\x49\x46\x00\x01\x01\x00\x00\x01\x00\
... | 66.667298 | 130 | 0.716365 | 109,108 | 457,271 | 3.001934 | 0.002814 | 0.02114 | 0.008298 | 0.010771 | 0.053298 | 0.050147 | 0.048816 | 0.048477 | 0.047708 | 0.046764 | 0 | 0.293657 | 0.030188 | 457,271 | 6,858 | 131 | 66.67702 | 0.444921 | 0.000332 | 0 | 0.025577 | 0 | 0.995031 | 0.000002 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000292 | false | 0 | 0.000146 | 0 | 0.000438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e40452ca76a49bc4c25e7cc8b39f4d33e3caf16 | 216 | py | Python | s2reader3/exceptions.py | robert-werner/s2reader3 | e93736bc387981711e444e5be84f64a9b392e306 | [
"MIT"
] | 22 | 2016-09-20T15:48:05.000Z | 2021-08-06T03:31:46.000Z | s2reader3/exceptions.py | robert-werner/s2reader3 | e93736bc387981711e444e5be84f64a9b392e306 | [
"MIT"
] | 7 | 2017-03-13T14:11:02.000Z | 2017-08-22T13:46:31.000Z | s2reader3/exceptions.py | robert-werner/s2reader3 | e93736bc387981711e444e5be84f64a9b392e306 | [
"MIT"
] | 6 | 2017-02-22T16:45:43.000Z | 2021-08-06T03:31:49.000Z | """Errors and Warnings."""
class S2ReaderIOError(IOError):
"""Raised if an expected file cannot be found."""
class S2ReaderMetadataError(Exception):
"""Raised if metadata structure is not as expected."""
| 21.6 | 58 | 0.712963 | 25 | 216 | 6.16 | 0.84 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01105 | 0.162037 | 216 | 9 | 59 | 24 | 0.839779 | 0.523148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7b4cd758c6f0959c2485d215e1563a7ef1c75eb7 | 1,924 | py | Python | src/modules/geodesy/test/test_gps_parser.py | SJSU-AD/FusionAD | c8c4c67f87152e55be2cbb759443225df2d8465a | [
"MIT"
] | 33 | 2018-06-03T19:45:42.000Z | 2022-02-17T09:18:11.000Z | src/modules/geodesy/test/test_gps_parser.py | SJSU-AD/FusionAD | c8c4c67f87152e55be2cbb759443225df2d8465a | [
"MIT"
] | 167 | 2018-05-17T03:48:11.000Z | 2019-04-30T21:57:01.000Z | src/modules/geodesy/test/test_gps_parser.py | SJSU-AD/FusionAD | c8c4c67f87152e55be2cbb759443225df2d8465a | [
"MIT"
] | 26 | 2018-07-04T04:32:54.000Z | 2022-02-22T10:10:49.000Z | #!/usr/bin/env python
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import rospkg
rospack = rospkg.RosPack()
import os
import sys
import unittest
sys.path.append(os.path.join(rospack.get_path('geodesy'), 'src/'))
import gps_parser
PKG = "geodesy"
NAME... | 26 | 107 | 0.672037 | 245 | 1,924 | 5.016327 | 0.420408 | 0.03987 | 0.032547 | 0.034174 | 0.231082 | 0.231082 | 0.162734 | 0.162734 | 0.162734 | 0.092758 | 0 | 0.001357 | 0.233888 | 1,924 | 73 | 108 | 26.356164 | 0.832429 | 0.368503 | 0 | 0.15625 | 0 | 0 | 0.0497 | 0.021422 | 0 | 0 | 0 | 0.013699 | 0.09375 | 1 | 0.25 | false | 0.15625 | 0.25 | 0 | 0.53125 | 0.03125 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7b602ce6a0255eaacfcbfc18377e3d337b2da7ec | 276 | py | Python | tests/conftest.py | tonyyzy/stko | a0ad41f8d03f58535baf3a6ab47d996c70c1a725 | [
"MIT"
] | null | null | null | tests/conftest.py | tonyyzy/stko | a0ad41f8d03f58535baf3a6ab47d996c70c1a725 | [
"MIT"
] | null | null | null | tests/conftest.py | tonyyzy/stko | a0ad41f8d03f58535baf3a6ab47d996c70c1a725 | [
"MIT"
] | null | null | null | def pytest_addoption(parser):
parser.addoption('--gulp_path', default='')
def pytest_generate_tests(metafunc):
if 'gulp_path' in metafunc.fixturenames:
gulp_path = metafunc.config.getoption('gulp_path')
metafunc.parametrize('gulp_path', [gulp_path])
| 30.666667 | 58 | 0.721014 | 33 | 276 | 5.757576 | 0.484848 | 0.252632 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148551 | 276 | 8 | 59 | 34.5 | 0.808511 | 0 | 0 | 0 | 1 | 0 | 0.137681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7b65d92a05d43eef729a8832a67a3db0f3b88870 | 271 | py | Python | apprendre.py | ranoaritsiky/Udemy_tsiky | db6505441116c8d5b9d25b3677255ea1ce85b7f8 | [
"MIT"
] | null | null | null | apprendre.py | ranoaritsiky/Udemy_tsiky | db6505441116c8d5b9d25b3677255ea1ce85b7f8 | [
"MIT"
] | null | null | null | apprendre.py | ranoaritsiky/Udemy_tsiky | db6505441116c8d5b9d25b3677255ea1ce85b7f8 | [
"MIT"
] | null | null | null | # a=19
# b=1
# try:
# print (a/b)
# except ZeroDivisionError as divisionperzero:
# print ("tsy mety ny zero")
# except TypeError as typing:
# print ("tsy mety ny chaine de caractère")
def calc(*args):
return args
func = calc("e", 1, 23, 2323, "2222")
| 16.9375 | 47 | 0.619926 | 40 | 271 | 4.2 | 0.7 | 0.095238 | 0.142857 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067633 | 0.236162 | 271 | 15 | 48 | 18.066667 | 0.743961 | 0.660517 | 0 | 0 | 0 | 0 | 0.060241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 4 |
7b9acaa3646c3e417d7c1b2f744312e0b2d9943c | 5,782 | py | Python | backtester/test/backtester/test_buy_options.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 91 | 2020-01-31T10:15:35.000Z | 2022-03-27T19:15:12.000Z | backtester/test/backtester/test_buy_options.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 38 | 2019-05-12T02:00:46.000Z | 2019-12-06T14:54:25.000Z | backtester/test/backtester/test_buy_options.py | unbalancedparentheses/backtester_options | 46efd30e405f360c560f8eae8b2ee7d26f4532db | [
"MIT"
] | 20 | 2020-06-12T08:21:30.000Z | 2022-03-28T05:52:59.000Z | import numpy as np
import math
from backtester.strategy import Strategy, StrategyLeg
from backtester.enums import Type, Direction
from backtester import Backtest
def test_sell_some_options_1legs(options_data_2puts_buy, ivy_portfolio_5assets_datahandler, ivy_5assets_portfolio):
options_data = options_data_2puts_b... | 45.888889 | 119 | 0.653234 | 742 | 5,782 | 4.783019 | 0.140162 | 0.099183 | 0.065934 | 0.065934 | 0.773739 | 0.753733 | 0.716258 | 0.706396 | 0.686391 | 0.686391 | 0 | 0.090766 | 0.228295 | 5,782 | 125 | 120 | 46.256 | 0.704617 | 0 | 0 | 0.35 | 0 | 0 | 0.049464 | 0 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0.08 | false | 0 | 0.05 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7b9f144bf642eabbc506a1c4c24c14f3d442895c | 1,329 | py | Python | dockerwrapper/__version__.py | thanhledev/dockerwrapper | c2d8ad3628b2dd2e453f734726a0a682eb96daab | [
"MIT"
] | null | null | null | dockerwrapper/__version__.py | thanhledev/dockerwrapper | c2d8ad3628b2dd2e453f734726a0a682eb96daab | [
"MIT"
] | null | null | null | dockerwrapper/__version__.py | thanhledev/dockerwrapper | c2d8ad3628b2dd2e453f734726a0a682eb96daab | [
"MIT"
] | 3 | 2021-01-10T06:34:57.000Z | 2022-01-12T08:46:55.000Z | # /$$$$$$$ /$$ /$$ /$$
# | $$__ $$ | $$ | $$ /$ | $$
# | $$ \ $$ /$$$$$$ /$$$$$$$| $$ /$$ /$$$$$$ /$$$$$$ | $$ /$$$| $$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
# | $$ | $$ /$$__ $$ /$$_____/| $... | 88.6 | 134 | 0.114372 | 9 | 1,329 | 3.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004539 | 0.502634 | 1,329 | 14 | 135 | 94.928571 | 0.046899 | 0.93529 | 0 | 0 | 0 | 0 | 0.013514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7bb182070e2be1e3846561f952ce8bf8363422e0 | 459 | py | Python | utils.py | codeb2cc/noweibo | 32f2582e4c1782b61e2c20919d0d1f778b0cdb14 | [
"MIT"
] | 1 | 2019-05-14T11:55:59.000Z | 2019-05-14T11:55:59.000Z | utils.py | codeb2cc/noweibo | 32f2582e4c1782b61e2c20919d0d1f778b0cdb14 | [
"MIT"
] | null | null | null | utils.py | codeb2cc/noweibo | 32f2582e4c1782b61e2c20919d0d1f778b0cdb14 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import time
import re
import random
import hashlib
_sha1_re = re.compile(r'^[a-f0-9]{40}$')
def _urandom():
if hasattr(os, 'urandom'):
return os.urandom(30)
return random.random()
def generate_key(salt=None):
return hashlib.sha1(bytes('... | 17 | 95 | 0.655773 | 69 | 459 | 4.246377 | 0.565217 | 0.075085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.172113 | 459 | 26 | 96 | 17.653846 | 0.739474 | 0.093682 | 0 | 0 | 0 | 0 | 0.077482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
7bb7f2eef923bed87e582cb66fd8bd63037eeb66 | 1,866 | py | Python | codewars/8kyu/dinamuh/removingElements/test_bench.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | null | null | null | codewars/8kyu/dinamuh/removingElements/test_bench.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/8kyu/dinamuh/removingElements/test_bench.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | from main import remove_every_other
from main import remove_every_other2
def test(benchmark):
assert benchmark(remove_every_other, [['Goodbye'], {'Great': 'Job'}]) == [['Goodbye']]
def test2(benchmark):
assert benchmark(remove_every_other2, [['Goodbye'], {'Great': 'Job'}]) == [['Goodbye']]
''''''''''
----... | 71.769231 | 197 | 0.326902 | 154 | 1,866 | 3.909091 | 0.623377 | 0.023256 | 0.046512 | 0.066445 | 0.199336 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117687 | 0.203108 | 1,866 | 25 | 198 | 74.64 | 0.287155 | 0 | 0 | 0.111111 | 0 | 0.222222 | 0.851613 | 0.389247 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0.055556 | 0.111111 | 0 | 0.222222 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7bc5174f2565caedd5a1e950c8604c2756e683de | 143 | py | Python | itemcatalog/database/__init__.py | lmitchell4/farm-finder | ce81dbfc4236153636a61725c33b00e97c563c04 | [
"MIT"
] | null | null | null | itemcatalog/database/__init__.py | lmitchell4/farm-finder | ce81dbfc4236153636a61725c33b00e97c563c04 | [
"MIT"
] | null | null | null | itemcatalog/database/__init__.py | lmitchell4/farm-finder | ce81dbfc4236153636a61725c33b00e97c563c04 | [
"MIT"
] | null | null | null |
""" Package summary:
Modules:
database_setup - Set up restaurantmenu database.
lots_of_farms - Populate the database with dummy data.
"""
| 20.428571 | 56 | 0.748252 | 18 | 143 | 5.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167832 | 143 | 6 | 57 | 23.833333 | 0.87395 | 0.93007 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c8887a444d6b9864dbb22bc6ceb7afc760c7385e | 1,146 | py | Python | coremltools/converters/nnssa/commons/builtins/type_bool.py | Gerzer/coremltools | 47e2010a68668bd1960dca040f5f87c0e66a0cbd | [
"BSD-3-Clause"
] | 65 | 2019-10-02T09:56:22.000Z | 2022-03-16T22:41:14.000Z | coremltools/converters/nnssa/commons/builtins/type_bool.py | Gerzer/coremltools | 47e2010a68668bd1960dca040f5f87c0e66a0cbd | [
"BSD-3-Clause"
] | 51 | 2020-01-13T07:54:13.000Z | 2022-03-17T09:11:56.000Z | coremltools/converters/nnssa/commons/builtins/type_bool.py | Gerzer/coremltools | 47e2010a68668bd1960dca040f5f87c0e66a0cbd | [
"BSD-3-Clause"
] | 16 | 2020-03-06T09:26:03.000Z | 2022-02-05T05:35:05.000Z | # -*- coding: utf-8 -*-
from __future__ import print_function as _
from __future__ import division as _
from __future__ import absolute_import as _
from .annotate import class_annotate, annotate, delay_type
from .type_spec import *
@class_annotate()
class bool:
def __init__(self, v=False):
self.val = v
... | 24.382979 | 58 | 0.671902 | 157 | 1,146 | 4.464968 | 0.254777 | 0.128388 | 0.194009 | 0.142653 | 0.365193 | 0.296719 | 0.296719 | 0.24679 | 0.24679 | 0.156919 | 0 | 0.001121 | 0.22164 | 1,146 | 47 | 59 | 24.382979 | 0.784753 | 0.018325 | 0 | 0.114286 | 0 | 0 | 0.003559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.257143 | 0.714286 | 0.028571 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c89013105516233a5cdc1080815c8c12f81f7002 | 635 | py | Python | python/anyascii/_data/_25f.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_25f.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_25f.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='Zu Cui Ze Li Lep Man Qi Zhuo Cui Pu Fan Tan Zi Zu Zhou Rong Lin Tan Keo Ham U Shi Cui Zi Fu Xiao Thung Cam Feng Cim Gao Com Hem Xian Jian Fen Men Li Mo You Phan Phen Xia Huo Qu Xay Duc Niang Mi Qi Nhao He Lian Zuo Ling Men Zhu Niao Ji Re... | 635 | 635 | 0.601575 | 125 | 635 | 3.056 | 0.816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.393701 | 635 | 1 | 635 | 635 | 0.992208 | 0 | 0 | 0 | 0 | 1 | 0.992138 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c8c9951a2026106cba901b2602c7abd419354e74 | 256 | py | Python | debugged/discography/signals.py | bhrutledge/debugged-django | a9b0a2738ecdb9add260ec378a0a50875ffb98a5 | [
"MIT"
] | null | null | null | debugged/discography/signals.py | bhrutledge/debugged-django | a9b0a2738ecdb9add260ec378a0a50875ffb98a5 | [
"MIT"
] | null | null | null | debugged/discography/signals.py | bhrutledge/debugged-django | a9b0a2738ecdb9add260ec378a0a50875ffb98a5 | [
"MIT"
] | null | null | null | from debugged.stream.signals import update_stream_item, delete_stream_item
def update_song_stream_item(sender, instance, **kwargs):
if instance.audio:
update_stream_item(sender, instance)
else:
delete_stream_item(sender, instance)
| 32 | 74 | 0.765625 | 33 | 256 | 5.606061 | 0.484848 | 0.27027 | 0.259459 | 0.389189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160156 | 256 | 7 | 75 | 36.571429 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c8e9ba2d8eb2f52c59bedf7d45b0cd1f6312fd66 | 1,285 | py | Python | tests/test_retirement.py | jcw931/ppa-2-sw-testing-qa-spring-2018-team-1 | 66514c36b0368bc89b120b9c077fd542f8b626ff | [
"MIT"
] | null | null | null | tests/test_retirement.py | jcw931/ppa-2-sw-testing-qa-spring-2018-team-1 | 66514c36b0368bc89b120b9c077fd542f8b626ff | [
"MIT"
] | null | null | null | tests/test_retirement.py | jcw931/ppa-2-sw-testing-qa-spring-2018-team-1 | 66514c36b0368bc89b120b9c077fd542f8b626ff | [
"MIT"
] | 1 | 2020-05-19T00:35:59.000Z | 2020-05-19T00:35:59.000Z | # William Thompson (wtt53)
# Tests for calc_retirement functionality
from app.retirement import calc_retirement
def test_InvalidAgeTypeRaisesValueError():
assert calc_retirement("string", 50000.00, 35.0, 1000000.00) == False
def test_InvalidSalaryTypeRaisesValueError():
assert calc_retirement(50, "string",... | 28.555556 | 85 | 0.761089 | 153 | 1,285 | 6.248366 | 0.248366 | 0.175732 | 0.167364 | 0.10251 | 0.387029 | 0.365063 | 0.271967 | 0.246862 | 0.15272 | 0 | 0 | 0.171861 | 0.12607 | 1,285 | 44 | 86 | 29.204545 | 0.67943 | 0.049805 | 0 | 0 | 0 | 0 | 0.019704 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.47619 | true | 0 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cd9e032cf8311c2c9b9668f823bcd0a96156453d | 957 | py | Python | incinerator/geometry_figures.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | incinerator/geometry_figures.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | incinerator/geometry_figures.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | from math import pi
def rounded(f): return lambda x: round(f(x), 2)
class Parameters:
def __init__(self, par):
self.par = par
def choose_figure(self, figure):
self.figure = figure
@rounded
def area(self):
return self.figure.area(self.par)
@rounded
def perimeter(sel... | 20.804348 | 65 | 0.647858 | 132 | 957 | 4.621212 | 0.318182 | 0.080328 | 0.196721 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04788 | 0.236155 | 957 | 46 | 65 | 20.804348 | 0.786594 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.035714 | 0.214286 | 0.821429 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cde4e3e2065b75ca0fc3030047a1061cfe669a0b | 140,335 | py | Python | pfasst/quadrature.py | memmett/PyPFASST | 2125d6a1f7c7455cd1d7b70197d44c105e7dd4cb | [
"BSD-2-Clause"
] | 6 | 2015-09-11T05:16:17.000Z | 2021-03-09T01:11:36.000Z | pfasst/quadrature.py | memmett/PyPFASST | 2125d6a1f7c7455cd1d7b70197d44c105e7dd4cb | [
"BSD-2-Clause"
] | null | null | null | pfasst/quadrature.py | memmett/PyPFASST | 2125d6a1f7c7455cd1d7b70197d44c105e7dd4cb | [
"BSD-2-Clause"
] | 1 | 2016-03-26T18:30:33.000Z | 2016-03-26T18:30:33.000Z | # this file was generated by "mksmat.py"
table = {
('CC',2,1): {
'nodes': [0.0,
1.0],
'matrix': [
[0.5,
0.5],
] },
('CC',3,1): {
'nodes': [0.0,
0.5,
1.0],
'matrix': [
[0.2083333... | 48.642981 | 58 | 0.654413 | 5,615 | 140,335 | 16.355655 | 0.375779 | 0.004268 | 0.004802 | 0.006174 | 0.172109 | 0.170367 | 0.166676 | 0.166676 | 0.166676 | 0.166349 | 0 | 0.910495 | 0.28794 | 140,335 | 2,884 | 59 | 48.659847 | 0.008546 | 0.000271 | 0 | 0.318529 | 1 | 0 | 0.005838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b523d80ef5295566cfa36c09f70ab4de1abfc5d7 | 152 | py | Python | core/cities/admin.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | 2 | 2021-01-12T07:22:14.000Z | 2021-01-12T15:47:00.000Z | core/cities/admin.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | null | null | null | core/cities/admin.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from cities.models import City
@admin.register(City)
class CityAdmin(admin.ModelAdmin):
list_display = ['title']
| 19 | 34 | 0.769737 | 20 | 152 | 5.8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 7 | 35 | 21.714286 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.032895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b559464b701e5ed39babdd0d82c11ab9fa6eec9d | 4,508 | py | Python | GuildEdit/cogs/database.py | Lcram33/guildedit | 3adf7a59b937e4e7aed0f761e4d57a5c771411d5 | [
"MIT"
] | 3 | 2021-02-11T13:51:21.000Z | 2021-03-19T15:00:27.000Z | GuildEdit/cogs/database.py | Lcram33/guildedit | 3adf7a59b937e4e7aed0f761e4d57a5c771411d5 | [
"MIT"
] | null | null | null | GuildEdit/cogs/database.py | Lcram33/guildedit | 3adf7a59b937e4e7aed0f761e4d57a5c771411d5 | [
"MIT"
] | null | null | null | import pymysql.cursors
from discord.ext import commands
class Database(commands.Cog):
def __init__(self, bot):
self.bot = bot
def update_request(self, database: str, table: str, columns: tuple, new_values: tuple, elements: tuple,
data: tuple):
connection... | 33.392593 | 131 | 0.479814 | 424 | 4,508 | 5.063679 | 0.176887 | 0.045645 | 0.07266 | 0.117373 | 0.729856 | 0.729856 | 0.70191 | 0.686074 | 0.686074 | 0.686074 | 0 | 0.006195 | 0.391304 | 4,508 | 134 | 132 | 33.641791 | 0.776239 | 0 | 0 | 0.702703 | 0 | 0 | 0.082762 | 0 | 0.009009 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0.036036 | 0.018018 | 0 | 0.117117 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b56b349ccdd419a85848685641a0c7b86de8c816 | 892 | py | Python | decision_engine/comparisons.py | borfast/decision-engine | b428db4c1fb490509266d92ffefd90959dacbf60 | [
"MIT"
] | 1 | 2020-10-21T13:12:40.000Z | 2020-10-21T13:12:40.000Z | decision_engine/comparisons.py | borfast/decision-engine | b428db4c1fb490509266d92ffefd90959dacbf60 | [
"MIT"
] | null | null | null | decision_engine/comparisons.py | borfast/decision-engine | b428db4c1fb490509266d92ffefd90959dacbf60 | [
"MIT"
] | 1 | 2018-02-12T17:47:17.000Z | 2018-02-12T17:47:17.000Z | from typing import Any
from abc import ABC, abstractmethod
class Comparison(ABC):
@abstractmethod
def check(self, x: Any, y: Any) -> bool: # pragma: no cover
raise NotImplementedError
class NoOp(Comparison):
def check(self, x: Any, y: Any) -> bool:
return True
class Equal(Comparison)... | 19.822222 | 64 | 0.607623 | 123 | 892 | 4.406504 | 0.227642 | 0.118081 | 0.177122 | 0.191882 | 0.629151 | 0.629151 | 0.629151 | 0.629151 | 0.584871 | 0.584871 | 0 | 0 | 0.269058 | 892 | 44 | 65 | 20.272727 | 0.831288 | 0.017937 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.074074 | 0.259259 | 0.925926 | 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 | 1 | 1 | 0 | 0 | 4 |
b5aa3458186aad608acd12be4bfa6e5929fef26f | 122 | py | Python | ignore_this_directory/ignore_me/models.py | ProfesseurGibaud/TestSite | 53d2dda4ab8135104be28c57decfb244d5e2e72a | [
"MIT"
] | 304 | 2015-01-06T18:02:49.000Z | 2021-12-11T18:08:37.000Z | ignore_this_directory/ignore_me/models.py | ProfesseurGibaud/TestSite | 53d2dda4ab8135104be28c57decfb244d5e2e72a | [
"MIT"
] | 9 | 2015-04-11T19:38:23.000Z | 2019-11-16T19:38:07.000Z | ignore_this_directory/ignore_me/models.py | ProfesseurGibaud/TestSite | 53d2dda4ab8135104be28c57decfb244d5e2e72a | [
"MIT"
] | 41 | 2015-04-11T14:58:02.000Z | 2021-11-13T20:47:58.000Z | #!/usr/bin/env python
# coding: utf-8
# vim: ai ts=4 sts=4 et sw=4 nu
"""
nnnnEmpty modules required for unit tests.
"""
| 15.25 | 42 | 0.655738 | 23 | 122 | 3.478261 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.180328 | 122 | 7 | 43 | 17.428571 | 0.76 | 0.877049 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9293a4a0b1a69b7e8bc3283ade21027eec76dcf | 53 | py | Python | hello.py | hummusM/cs3240-labdemo | f96d71caabf44e10321e0831442bc3263bfedbd0 | [
"MIT"
] | null | null | null | hello.py | hummusM/cs3240-labdemo | f96d71caabf44e10321e0831442bc3263bfedbd0 | [
"MIT"
] | null | null | null | hello.py | hummusM/cs3240-labdemo | f96d71caabf44e10321e0831442bc3263bfedbd0 | [
"MIT"
] | null | null | null | from helper import greeting
greeting("Hello World!")
| 17.666667 | 27 | 0.792453 | 7 | 53 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 2 | 28 | 26.5 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a974292094ef772019e7e4b783d5d55063b57241 | 125 | py | Python | discourse/urls.py | danamlewis/open-humans | 9b08310cf151f49032b66ddd005bbd47d466cc4e | [
"MIT"
] | 57 | 2016-09-01T21:55:52.000Z | 2022-03-27T22:15:32.000Z | discourse/urls.py | danamlewis/open-humans | 9b08310cf151f49032b66ddd005bbd47d466cc4e | [
"MIT"
] | 464 | 2015-03-23T18:08:28.000Z | 2016-08-25T04:57:36.000Z | discourse/urls.py | danamlewis/open-humans | 9b08310cf151f49032b66ddd005bbd47d466cc4e | [
"MIT"
] | 25 | 2017-01-24T16:23:27.000Z | 2021-11-07T01:51:42.000Z | from django.urls import re_path
from .views import SingleSignOn
urlpatterns = [re_path(r"^sso/$", SingleSignOn.as_view())]
| 20.833333 | 58 | 0.76 | 18 | 125 | 5.111111 | 0.722222 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 5 | 59 | 25 | 0.828829 | 0 | 0 | 0 | 0 | 0 | 0.048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8d0eb0b6ba24e83310b3e5645ca6a3cd114e7a5f | 159 | py | Python | curso_hector/08-funciones.py/definicion_funciones.py | corahama/python | 234fa60ac6258905b158f1e114868a2629d52773 | [
"MIT"
] | 1 | 2021-12-22T16:02:27.000Z | 2021-12-22T16:02:27.000Z | curso_hector/08-funciones.py/definicion_funciones.py | corahama/python | 234fa60ac6258905b158f1e114868a2629d52773 | [
"MIT"
] | null | null | null | curso_hector/08-funciones.py/definicion_funciones.py | corahama/python | 234fa60ac6258905b158f1e114868a2629d52773 | [
"MIT"
] | null | null | null | def saludar():
print("hola a todos")
saludar()
def dibujar_tabla():
for i in range(5):
print("5 * {} = {}".format(i, 5 * i))
dibujar_tabla()
| 15.9 | 45 | 0.553459 | 23 | 159 | 3.73913 | 0.608696 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.245283 | 159 | 9 | 46 | 17.666667 | 0.691667 | 0 | 0 | 0 | 0 | 0 | 0.144654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 0.285714 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d3b6f45a8055ff88d87a9b49638ba2ee64e2724 | 270 | py | Python | cart/forms.py | saptarsi96/FreshExpress | a31af486db430a66948c305fe6da84a71320c72a | [
"ADSL"
] | null | null | null | cart/forms.py | saptarsi96/FreshExpress | a31af486db430a66948c305fe6da84a71320c72a | [
"ADSL"
] | null | null | null | cart/forms.py | saptarsi96/FreshExpress | a31af486db430a66948c305fe6da84a71320c72a | [
"ADSL"
] | null | null | null | from django import forms
class CartForm(forms.Form):
product_id = forms.IntegerField(required=True, widget=forms.HiddenInput())
quantity = forms.IntegerField(
min_value=1, required=True, widget=forms.NumberInput({'class': 'form-control', 'value': 1}))
| 33.75 | 100 | 0.722222 | 33 | 270 | 5.848485 | 0.606061 | 0.176166 | 0.186529 | 0.238342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008584 | 0.137037 | 270 | 7 | 101 | 38.571429 | 0.819742 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8d3fe57bb83cce065e4868c4c0a5490726c5cc33 | 149 | py | Python | zynq-old/Solve/master.py | chiro2001/zynqs | a9340a7d0e1376c991a7c21680e93c31a2acab1e | [
"MIT"
] | null | null | null | zynq-old/Solve/master.py | chiro2001/zynqs | a9340a7d0e1376c991a7c21680e93c31a2acab1e | [
"MIT"
] | null | null | null | zynq-old/Solve/master.py | chiro2001/zynqs | a9340a7d0e1376c991a7c21680e93c31a2acab1e | [
"MIT"
] | null | null | null | from ptp2.ptp import run_master
def main():
print(run_master(branch=100, addr="192.168.137.101"))
if __name__ == "__main__":
main()
| 18.625 | 58 | 0.644295 | 22 | 149 | 3.909091 | 0.818182 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 0.201342 | 149 | 7 | 59 | 21.285714 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d65dd2ed9f545231405a0b767fb603a15fe96dc | 3,684 | py | Python | XML/python/lucid/tst.py | mlarkens32/egauge-api-examples | 74e548dd85248be64ff7a6855b1ab2ffe8f309b8 | [
"MIT"
] | 5 | 2018-08-14T20:05:46.000Z | 2020-10-30T22:27:27.000Z | XML/python/lucid/tst.py | mlarkens32/egauge-api-examples | 74e548dd85248be64ff7a6855b1ab2ffe8f309b8 | [
"MIT"
] | 2 | 2018-09-14T23:09:55.000Z | 2018-10-19T09:50:40.000Z | XML/python/lucid/tst.py | mlarkens32/egauge-api-examples | 74e548dd85248be64ff7a6855b1ab2ffe8f309b8 | [
"MIT"
] | 1 | 2020-10-30T22:28:03.000Z | 2020-10-30T22:28:03.000Z | # Copyright (c) 2013 eGauge Systems LLC
# 4730 Walnut St, Suite 110
# Boulder, CO 80301
# voice: 720-545-9767
# email: davidm@egauge.net
#
# All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (th... | 47.230769 | 247 | 0.696254 | 595 | 3,684 | 4.304202 | 0.361345 | 0.034362 | 0.060133 | 0.093713 | 0.402187 | 0.367044 | 0.367044 | 0.367044 | 0.367044 | 0.367044 | 0 | 0.190476 | 0.105049 | 3,684 | 77 | 248 | 47.844156 | 0.586291 | 0.32139 | 0 | 0.765957 | 0 | 0.12766 | 0.915419 | 0.40348 | 0 | 0 | 0.024282 | 0 | 0 | 0 | null | null | 0 | 0.042553 | null | null | 0.042553 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d8474dc3b82b062af8f4285105ddace62037ad9 | 41 | py | Python | Python/HalfPyramid.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 215 | 2021-10-01T08:18:16.000Z | 2022-03-29T04:12:03.000Z | Python/HalfPyramid.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 51 | 2021-10-01T08:16:42.000Z | 2021-10-31T13:51:51.000Z | Python/HalfPyramid.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 807 | 2021-10-01T08:11:45.000Z | 2021-11-21T18:57:09.000Z | for i in range(5,-1,-1):
print("*"*i) | 20.5 | 24 | 0.487805 | 9 | 41 | 2.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.195122 | 41 | 2 | 25 | 20.5 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8da48c7565f3598f5f7d6713c3d84759cac25797 | 75 | py | Python | atlassian_connect_django/__init__.py | gerasev-kirill/atlassian-connect-django | cd44232df512691d9ec14722c38785cf802862e9 | [
"MIT"
] | null | null | null | atlassian_connect_django/__init__.py | gerasev-kirill/atlassian-connect-django | cd44232df512691d9ec14722c38785cf802862e9 | [
"MIT"
] | null | null | null | atlassian_connect_django/__init__.py | gerasev-kirill/atlassian-connect-django | cd44232df512691d9ec14722c38785cf802862e9 | [
"MIT"
] | null | null | null | default_app_config = 'atlassian_connect_django.apps.DjangoAtlassianConfig'
| 37.5 | 74 | 0.893333 | 8 | 75 | 7.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 75 | 1 | 75 | 75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.68 | 0.68 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a5c87a757346672c635f2b5a308286ec34155691 | 9,721 | py | Python | python/tvm/tensor_graph/nn/layers.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 22 | 2022-03-18T07:29:31.000Z | 2022-03-23T14:54:32.000Z | python/tvm/tensor_graph/nn/layers.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | null | null | null | python/tvm/tensor_graph/nn/layers.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 2 | 2022-03-18T08:26:34.000Z | 2022-03-20T06:02:48.000Z | import tvm
from tvm.tensor_graph.core import GraphTensor, GraphOp, compute
from tvm.tensor_graph.nn import functional as F
class Layer(object):
def __init__(self):
self.train = True
def forward(self, *args, **kwargs):
raise NotImplementedError()
def weights(self):
for k, v in self.__dict__.items()... | 32.841216 | 111 | 0.680897 | 1,320 | 9,721 | 4.790152 | 0.089394 | 0.069587 | 0.022616 | 0.030365 | 0.767357 | 0.750119 | 0.717855 | 0.710264 | 0.683378 | 0.683378 | 0 | 0.012489 | 0.201008 | 9,721 | 295 | 112 | 32.952542 | 0.801597 | 0 | 0 | 0.521008 | 0 | 0 | 0.022847 | 0 | 0 | 0 | 0 | 0 | 0.079832 | 1 | 0.121849 | false | 0 | 0.012605 | 0.042017 | 0.252101 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a5e4065cdda9114b9dda0377a990e8c4dd2f4b33 | 239 | py | Python | segtypes/n64/i8.py | paulsapps/splat | e312b86f36982dfddc4b00f082d7066f0b259938 | [
"MIT"
] | 31 | 2021-01-23T01:21:40.000Z | 2022-03-19T03:56:42.000Z | segtypes/n64/i8.py | paulsapps/splat | e312b86f36982dfddc4b00f082d7066f0b259938 | [
"MIT"
] | 44 | 2021-02-03T15:10:37.000Z | 2022-03-03T08:29:47.000Z | segtypes/n64/i8.py | paulsapps/splat | e312b86f36982dfddc4b00f082d7066f0b259938 | [
"MIT"
] | 10 | 2021-03-16T19:37:24.000Z | 2022-03-03T15:09:48.000Z | from segtypes.n64.i4 import N64SegI4
class N64SegI8(N64SegI4):
@staticmethod
def parse_image(data, width, height, flip_h=False, flip_v=False):
return data
def max_length(self):
return self.width * self.height
| 23.9 | 69 | 0.698745 | 33 | 239 | 4.939394 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.213389 | 239 | 9 | 70 | 26.555556 | 0.803191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5701e4057492e9c1f5fb717b77bfce7e7941ef43 | 479 | py | Python | src/guid/main.py | nwcell/guid_tracker | b8599d53748554870875b9477cd6b229c88915ac | [
"MIT"
] | 3 | 2019-06-04T01:36:17.000Z | 2021-05-16T18:52:21.000Z | src/guid/main.py | nwcell/guid_tracker | b8599d53748554870875b9477cd6b229c88915ac | [
"MIT"
] | null | null | null | src/guid/main.py | nwcell/guid_tracker | b8599d53748554870875b9477cd6b229c88915ac | [
"MIT"
] | null | null | null | """The main app is here."""
from fastapi import FastAPI
from .router import api_router
from guid import settings
from guid.db import (open_database_connection_pool,
close_database_connection_pool)
app = FastAPI(title='GUID Tracker', version='0.1.4', docs_url='/')
app.debug = settings.DEBUG
app.... | 26.611111 | 66 | 0.770355 | 68 | 479 | 5.132353 | 0.485294 | 0.206304 | 0.252149 | 0.2149 | 0.17192 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007212 | 0.131524 | 479 | 17 | 67 | 28.176471 | 0.831731 | 0.043841 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
571df4599587edca9fe90cd6068b54a3140f29ac | 276 | py | Python | jrweb/conftest.py | fingerstik/django_web_practice | 4614e30761ce0205a3b8aa0d31369bc80e36e017 | [
"MIT"
] | null | null | null | jrweb/conftest.py | fingerstik/django_web_practice | 4614e30761ce0205a3b8aa0d31369bc80e36e017 | [
"MIT"
] | null | null | null | jrweb/conftest.py | fingerstik/django_web_practice | 4614e30761ce0205a3b8aa0d31369bc80e36e017 | [
"MIT"
] | null | null | null | import pytest
from jrweb.users.models import User
from jrweb.users.tests.factories import UserFactory
@pytest.fixture(autouse=True)
def media_storage(settings, tmpdir):
settings.MEDIA_ROOT = tmpdir.strpath
@pytest.fixture
def user() -> User:
return UserFactory()
| 18.4 | 51 | 0.771739 | 36 | 276 | 5.861111 | 0.583333 | 0.085308 | 0.132701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134058 | 276 | 14 | 52 | 19.714286 | 0.882845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
5740d9c496f8b17670054d019862986272828ed1 | 54 | py | Python | examples/RL_example/config/get_map.py | zzjun725/f1tenth_rl | 0e9eec494527996f4b7177ca18ace817b18579f5 | [
"MIT"
] | 2 | 2022-01-28T13:10:58.000Z | 2022-03-01T23:50:45.000Z | examples/RL_example/config/get_map.py | zzjun725/f1tenth_rl | 0e9eec494527996f4b7177ca18ace817b18579f5 | [
"MIT"
] | null | null | null | examples/RL_example/config/get_map.py | zzjun725/f1tenth_rl | 0e9eec494527996f4b7177ca18ace817b18579f5 | [
"MIT"
] | null | null | null | import cv2
map_temp_path = './maps/example_map.png'
| 10.8 | 40 | 0.740741 | 9 | 54 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.12963 | 54 | 4 | 41 | 13.5 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.415094 | 0.415094 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5748a28f01ce0396f5bb5922f8993748f2861d95 | 73 | py | Python | littlespider/denbug.py | wenqinruan/my-little-spider | 955e73bff7ff0cae130e3a117df17f5fdc5ca3c2 | [
"MIT"
] | null | null | null | littlespider/denbug.py | wenqinruan/my-little-spider | 955e73bff7ff0cae130e3a117df17f5fdc5ca3c2 | [
"MIT"
] | null | null | null | littlespider/denbug.py | wenqinruan/my-little-spider | 955e73bff7ff0cae130e3a117df17f5fdc5ca3c2 | [
"MIT"
] | null | null | null | from scrapy import cmdline
cmdline.execute('scrapy crawl sms1'.split())
| 18.25 | 44 | 0.780822 | 10 | 73 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.109589 | 73 | 3 | 45 | 24.333333 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5752505143e4e427a006a04db5c477565566b0d9 | 483 | py | Python | nbcollection/ci/exceptions.py | eteq/nbcollection-1 | cf1266b38bc6e6f2bcab64ab93feaa3034b552b2 | [
"BSD-3-Clause"
] | null | null | null | nbcollection/ci/exceptions.py | eteq/nbcollection-1 | cf1266b38bc6e6f2bcab64ab93feaa3034b552b2 | [
"BSD-3-Clause"
] | 1 | 2021-06-14T15:28:10.000Z | 2021-06-14T15:28:10.000Z | nbcollection/ci/exceptions.py | eteq/nbcollection-1 | cf1266b38bc6e6f2bcab64ab93feaa3034b552b2 | [
"BSD-3-Clause"
] | 2 | 2021-04-13T17:10:48.000Z | 2021-09-09T21:37:23.000Z | class NBCollectionCIException(Exception):
pass
class InstallException(NBCollectionCIException):
pass
class InvalidRepoPath(NBCollectionCIException):
pass
class VENVValidationException(NBCollectionCIException):
pass
class VENVInstallException(NBCollectionCIException):
pass
class RendererExc... | 15.580645 | 55 | 0.805383 | 32 | 483 | 12.15625 | 0.34375 | 0.161954 | 0.493573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 483 | 30 | 56 | 16.1 | 0.941889 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
938c4e9dd851943aa9fd2d1d84c8efddaacc3f4a | 231 | py | Python | src/posts/api/permissions.py | YomnaMagdy/Rest | 89e82bd1cd1cd274b4775019fcce8c6bc785b8a6 | [
"MIT"
] | null | null | null | src/posts/api/permissions.py | YomnaMagdy/Rest | 89e82bd1cd1cd274b4775019fcce8c6bc785b8a6 | [
"MIT"
] | null | null | null | src/posts/api/permissions.py | YomnaMagdy/Rest | 89e82bd1cd1cd274b4775019fcce8c6bc785b8a6 | [
"MIT"
] | null | null | null | from rest_framework.permissions import BasePermission
class IsOwnerOrReadOnly(BasePermission):
message = 'you must be owner'
def has_object_permission(self,request,view,obj):
return obj.user == request.user
| 23.1 | 53 | 0.744589 | 27 | 231 | 6.259259 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 231 | 9 | 54 | 25.666667 | 0.89418 | 0 | 0 | 0 | 0 | 0 | 0.073593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
93a0585b91d70e92bb3df409af0240a85da13e41 | 389 | py | Python | appengine_config.py | bucknema/demo-bitcoin-trader | a7b53150134b996110d1d851b9098a23dd96d7e1 | [
"MIT"
] | null | null | null | appengine_config.py | bucknema/demo-bitcoin-trader | a7b53150134b996110d1d851b9098a23dd96d7e1 | [
"MIT"
] | null | null | null | appengine_config.py | bucknema/demo-bitcoin-trader | a7b53150134b996110d1d851b9098a23dd96d7e1 | [
"MIT"
] | null | null | null | from google.appengine.ext import vendor
vendor.add('lib')
# This supposedly helps fix bug with importing oauth2client
# I had to dump all oauth2client files into the project directory
# and install manually to get the client to work with Google app Engine
# citation: https://stackoverflow.com/questions/44011776/how-to-... | 64.833333 | 133 | 0.81491 | 59 | 389 | 5.372881 | 0.79661 | 0.056782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0317 | 0.107969 | 389 | 6 | 133 | 64.833333 | 0.881844 | 0.830334 | 0 | 0 | 0 | 0 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
93addfc85e710e4c6dea19a2b12d324895982973 | 45 | py | Python | geral/curso_curso_em_video_python/primeiro_mundo/desafios/desafio1.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 2 | 2021-02-20T23:50:07.000Z | 2021-08-15T03:04:35.000Z | geral/curso_curso_em_video_python/primeiro_mundo/desafios/desafio1.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 18 | 2019-08-07T02:33:00.000Z | 2021-03-18T22:52:38.000Z | geral/curso_curso_em_video_python/primeiro_mundo/desafios/desafio1.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 2 | 2020-09-28T13:00:09.000Z | 2021-12-30T12:21:08.000Z | nome = input("Nome: ")
print("Nome: ", nome)
| 15 | 22 | 0.577778 | 6 | 45 | 4.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 23 | 22.5 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
93bd5ab0fd955c7b4ea35e4b94db226181bd2096 | 57 | py | Python | day_01-sonar_sweep/utils.py | lucacerone/advent-of-code-2021 | 56c985ec5bbf1b83e74451d795331f4a05d651a3 | [
"MIT"
] | null | null | null | day_01-sonar_sweep/utils.py | lucacerone/advent-of-code-2021 | 56c985ec5bbf1b83e74451d795331f4a05d651a3 | [
"MIT"
] | null | null | null | day_01-sonar_sweep/utils.py | lucacerone/advent-of-code-2021 | 56c985ec5bbf1b83e74451d795331f4a05d651a3 | [
"MIT"
] | null | null | null | def parse_reading(input):
return int(input.rstrip())
| 19 | 30 | 0.719298 | 8 | 57 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 31 | 28.5 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
9e1e2e5d1e9942cfdf6f54a6a69c843d264ded81 | 5,636 | py | Python | sr_test4.py | bpwagner/inkscape-pes | 080269ccf623dd0efe9337b3b9f49ee098401414 | [
"MIT"
] | 6 | 2017-06-12T13:32:51.000Z | 2022-01-08T05:30:30.000Z | sr_test4.py | bpwagner/inkscape-pes | 080269ccf623dd0efe9337b3b9f49ee098401414 | [
"MIT"
] | null | null | null | sr_test4.py | bpwagner/inkscape-pes | 080269ccf623dd0efe9337b3b9f49ee098401414 | [
"MIT"
] | 1 | 2022-01-08T05:30:33.000Z | 2022-01-08T05:30:33.000Z | import numpy as np
import matplotlib.pyplot as plt
from sr_export_PES import *
def normalize_pts(pts, minSize, maxSize):
pts = np.array(pts)
new_pts = []
i = 0
best_size = (maxSize + minSize)/2.0
while i < pts.shape[0]-1:
point1 = pts[i]
point2 = pts[i + 1]
x1, y1 = pts[i... | 43.353846 | 1,681 | 0.622782 | 696 | 5,636 | 4.952586 | 0.298851 | 0.033072 | 0.034813 | 0.018277 | 0.367276 | 0.343197 | 0.312446 | 0.302582 | 0.185088 | 0.179286 | 0 | 0.42877 | 0.234031 | 5,636 | 129 | 1,682 | 43.689922 | 0.369701 | 0.089957 | 0 | 0.375 | 0 | 0 | 0.0143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.034091 | null | null | 0.079545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f574c58fed4ce0a68b650346884b883afaaa95a4 | 76 | py | Python | config.py | danylott/telegram-bot-screenshooter | 23840d8621f51448b23c83461c7d4ae8a894823f | [
"Apache-2.0"
] | null | null | null | config.py | danylott/telegram-bot-screenshooter | 23840d8621f51448b23c83461c7d4ae8a894823f | [
"Apache-2.0"
] | null | null | null | config.py | danylott/telegram-bot-screenshooter | 23840d8621f51448b23c83461c7d4ae8a894823f | [
"Apache-2.0"
] | null | null | null | PATH_TO_WKHTMLTOPDF = r'C:\Program Files\wkhtmltopdf\bin\wkhtmltoimage.exe'
| 38 | 75 | 0.828947 | 11 | 76 | 5.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 76 | 1 | 76 | 76 | 0.847222 | 0 | 0 | 0 | 0 | 0 | 0.657895 | 0.513158 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
192e82aeefc5c4758601479b7579568369a84627 | 1,320 | py | Python | Service/migrations/0033_auto_20200318_1913.py | Bixbar/Bixbar-Backend | f69e0e96ea4bcc0c57000fdf1e24c66ead59df3f | [
"MIT"
] | 1 | 2021-04-17T16:19:19.000Z | 2021-04-17T16:19:19.000Z | Service/migrations/0033_auto_20200318_1913.py | co3oing/Bixbar-Backend | f69e0e96ea4bcc0c57000fdf1e24c66ead59df3f | [
"MIT"
] | null | null | null | Service/migrations/0033_auto_20200318_1913.py | co3oing/Bixbar-Backend | f69e0e96ea4bcc0c57000fdf1e24c66ead59df3f | [
"MIT"
] | 1 | 2021-04-15T14:56:49.000Z | 2021-04-15T14:56:49.000Z | # Generated by Django 2.2.4 on 2020-03-18 10:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bixbar', '0032_auto_20200318_1833'),
]
operations = [
migrations.CreateModel(
name='FoodBase',
fields=[
... | 35.675676 | 114 | 0.567424 | 127 | 1,320 | 5.76378 | 0.401575 | 0.163934 | 0.196721 | 0.262295 | 0.653005 | 0.653005 | 0.653005 | 0.653005 | 0.653005 | 0.653005 | 0 | 0.050483 | 0.294697 | 1,320 | 36 | 115 | 36.666667 | 0.735768 | 0.034091 | 0 | 0.566667 | 1 | 0 | 0.115475 | 0.018068 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.133333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1964791af0db3b718839d87b5327900af8213052 | 244 | py | Python | dockerspawner/__init__.py | JocelynDelalande/dockerspawner | d1f27e2855d2cefbdb25b29cc069b9ca69d564e3 | [
"BSD-3-Clause"
] | 364 | 2016-04-22T07:47:09.000Z | 2022-03-30T12:01:42.000Z | dockerspawner/__init__.py | JocelynDelalande/dockerspawner | d1f27e2855d2cefbdb25b29cc069b9ca69d564e3 | [
"BSD-3-Clause"
] | 316 | 2016-04-21T17:13:16.000Z | 2022-03-22T10:30:00.000Z | dockerspawner/__init__.py | JocelynDelalande/dockerspawner | d1f27e2855d2cefbdb25b29cc069b9ca69d564e3 | [
"BSD-3-Clause"
] | 274 | 2016-04-21T00:11:10.000Z | 2022-03-18T14:05:28.000Z | from ._version import __version__
from .dockerspawner import DockerSpawner
from .swarmspawner import SwarmSpawner
from .systemuserspawner import SystemUserSpawner
__all__ = ['__version__', 'DockerSpawner', 'SwarmSpawner', 'SystemUserSpawner']
| 34.857143 | 79 | 0.831967 | 21 | 244 | 9.047619 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094262 | 244 | 6 | 80 | 40.666667 | 0.859729 | 0 | 0 | 0 | 0 | 0 | 0.217213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1980d15d3b1cf160a307be49ce6d76b6060a3bfb | 70 | py | Python | query.py | susemm/stock | d6e76eb5848386b2ec73c060ef61cdcaf1e7c654 | [
"Apache-2.0"
] | null | null | null | query.py | susemm/stock | d6e76eb5848386b2ec73c060ef61cdcaf1e7c654 | [
"Apache-2.0"
] | null | null | null | query.py | susemm/stock | d6e76eb5848386b2ec73c060ef61cdcaf1e7c654 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin
# http://hq.sinajs.cn/list=
# sz000002
# sh600636
import | 10 | 27 | 0.657143 | 10 | 70 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.142857 | 70 | 7 | 28 | 10 | 0.566667 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
19a3e5ae46f5f70c089dafb43f9e9adea5b05769 | 22 | py | Python | cmsplugin_remote_form/__init__.py | worthwhile-gwarner/cmsplugin-remote-form | 7f89e89381e8c5332d89588b1809c87dfc804803 | [
"BSD-3-Clause"
] | null | null | null | cmsplugin_remote_form/__init__.py | worthwhile-gwarner/cmsplugin-remote-form | 7f89e89381e8c5332d89588b1809c87dfc804803 | [
"BSD-3-Clause"
] | null | null | null | cmsplugin_remote_form/__init__.py | worthwhile-gwarner/cmsplugin-remote-form | 7f89e89381e8c5332d89588b1809c87dfc804803 | [
"BSD-3-Clause"
] | null | null | null | __version__ = "1.2b8"
| 11 | 21 | 0.681818 | 3 | 22 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
19ac9c01c9c8aaf92d5e291196a419ef8284abe0 | 103 | py | Python | fdf/__init__.py | dpraul/flat_dict_format | cb9ab77d2208a77e5aafa6f75d2d4c45aae7e8c9 | [
"MIT"
] | null | null | null | fdf/__init__.py | dpraul/flat_dict_format | cb9ab77d2208a77e5aafa6f75d2d4c45aae7e8c9 | [
"MIT"
] | null | null | null | fdf/__init__.py | dpraul/flat_dict_format | cb9ab77d2208a77e5aafa6f75d2d4c45aae7e8c9 | [
"MIT"
] | null | null | null | from .load import loads, load
import fdf.errors
__version__ = '0.1'
__all__ = [loads, load, 'errors']
| 17.166667 | 33 | 0.708738 | 15 | 103 | 4.333333 | 0.666667 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.15534 | 103 | 5 | 34 | 20.6 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5fd6198af139653a594083064a05c8bc715d860b | 76 | py | Python | algorithms/classification/__init__.py | dijsilva/spectroscopy-pca-lda | 81fbc9df09e1d27c300ae87a944d21bf9eff4321 | [
"MIT"
] | 2 | 2020-09-06T07:53:24.000Z | 2021-08-01T00:19:47.000Z | algorithms/classification/__init__.py | dijsilva/spectroscopy-pca-lda | 81fbc9df09e1d27c300ae87a944d21bf9eff4321 | [
"MIT"
] | null | null | null | algorithms/classification/__init__.py | dijsilva/spectroscopy-pca-lda | 81fbc9df09e1d27c300ae87a944d21bf9eff4321 | [
"MIT"
] | 1 | 2020-09-06T07:53:08.000Z | 2020-09-06T07:53:08.000Z | __all__ = ['PCA_LDA']
from algorithms.classification.pca_lda import PCA_LDA | 25.333333 | 53 | 0.815789 | 11 | 76 | 5 | 0.636364 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 76 | 3 | 53 | 25.333333 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
272d1c9833c76e09e90a8e83cca33c1730068536 | 224 | py | Python | src/dataclay/util/management/classmgr/python/PythonClassInfo.py | kpavel/pyclay | 275bc8af5c57301231a20cca1cc88556a9c84c79 | [
"BSD-3-Clause"
] | 1 | 2020-04-16T17:09:15.000Z | 2020-04-16T17:09:15.000Z | src/dataclay/util/management/classmgr/python/PythonClassInfo.py | kpavel/pyclay | 275bc8af5c57301231a20cca1cc88556a9c84c79 | [
"BSD-3-Clause"
] | 35 | 2019-11-06T17:06:16.000Z | 2021-04-12T16:27:20.000Z | src/dataclay/util/management/classmgr/python/PythonClassInfo.py | kpavel/pyclay | 275bc8af5c57301231a20cca1cc88556a9c84c79 | [
"BSD-3-Clause"
] | 1 | 2020-05-06T11:28:16.000Z | 2020-05-06T11:28:16.000Z |
""" Class description goes here. """
from ..LanguageDependantClassInfo import LanguageDependantClassInfo
class PythonClassInfo(LanguageDependantClassInfo):
_fields = ["id",
"imports",
]
| 20.363636 | 67 | 0.660714 | 14 | 224 | 10.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245536 | 224 | 10 | 68 | 22.4 | 0.869822 | 0.125 | 0 | 0 | 0 | 0 | 0.048128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2741a9ff3a5cd1dafb43eae911aede34599746fb | 125 | py | Python | splus_ifusci/__init__.py | cebarbosa/splus-ifusci | 535aa76bd0b892907eb42e316e3ad7321a5f7a4a | [
"MIT"
] | 2 | 2021-06-02T17:23:49.000Z | 2021-07-18T21:25:27.000Z | splus_ifusci/__init__.py | cebarbosa/splus_ifusci | 535aa76bd0b892907eb42e316e3ad7321a5f7a4a | [
"MIT"
] | null | null | null | splus_ifusci/__init__.py | cebarbosa/splus_ifusci | 535aa76bd0b892907eb42e316e3ad7321a5f7a4a | [
"MIT"
] | null | null | null | from .version import __version__
from .make_cube import SCube
from .emlines_estimator import *
from .make_RGB_images import * | 31.25 | 32 | 0.832 | 18 | 125 | 5.333333 | 0.555556 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 125 | 4 | 33 | 31.25 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2771d9394e9b9a0702f5d6a98569078081936f2f | 21 | py | Python | venv/lib/python2.7/site-packages/setuptools/version.py | itzzshirlayyy/Django_app | 0a4ac905cde999e36d9fd4f9a0ed02ce2ebdd6ad | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/setuptools/version.py | itzzshirlayyy/Django_app | 0a4ac905cde999e36d9fd4f9a0ed02ce2ebdd6ad | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/setuptools/version.py | itzzshirlayyy/Django_app | 0a4ac905cde999e36d9fd4f9a0ed02ce2ebdd6ad | [
"MIT"
] | null | null | null | __version__ = '15.2'
| 10.5 | 20 | 0.666667 | 3 | 21 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.142857 | 21 | 1 | 21 | 21 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
27d09c60f8d0ec022b8cba4ff121d1e9c36b7715 | 288 | py | Python | cloudformation_changeset_graph/main.py | ikben/cloudformation-changeset-graph-poc | 6c7a61c975fcad88bffa785ff384f128d3a9256d | [
"MIT"
] | null | null | null | cloudformation_changeset_graph/main.py | ikben/cloudformation-changeset-graph-poc | 6c7a61c975fcad88bffa785ff384f128d3a9256d | [
"MIT"
] | null | null | null | cloudformation_changeset_graph/main.py | ikben/cloudformation-changeset-graph-poc | 6c7a61c975fcad88bffa785ff384f128d3a9256d | [
"MIT"
] | null | null | null | from render import render_example
if __name__ == "__main__":
render_example("directly_editing_a_template")
render_example("modifying_an_input_parameter_value")
render_example("determing_the_value_of_the_replacement_field")
render_example("adding_and_removing_resources")
| 36 | 66 | 0.826389 | 36 | 288 | 5.805556 | 0.694444 | 0.311005 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100694 | 288 | 7 | 67 | 41.142857 | 0.80695 | 0 | 0 | 0 | 0 | 0 | 0.493056 | 0.465278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
27d88db6cacecbcd1c5ffd03aa8a48b81c4b2797 | 58 | py | Python | solve.py | Noah-Huppert/keep-talking-solver | d6e6b4f4be53f2c2ce76db18cb0682b77863593a | [
"MIT"
] | null | null | null | solve.py | Noah-Huppert/keep-talking-solver | d6e6b4f4be53f2c2ce76db18cb0682b77863593a | [
"MIT"
] | null | null | null | solve.py | Noah-Huppert/keep-talking-solver | d6e6b4f4be53f2c2ce76db18cb0682b77863593a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from solvers.run import run
run()
| 11.6 | 27 | 0.724138 | 10 | 58 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.137931 | 58 | 4 | 28 | 14.5 | 0.82 | 0.362069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a900f823ec75427fa8fa69d36530567c98424da4 | 60 | py | Python | slk/utils/__init__.py | xdvio/sidechain-launch-kit | f7d57948d9041a54d3f19ad308f8cdd17e00f721 | [
"0BSD"
] | 8 | 2021-10-29T18:04:42.000Z | 2022-03-18T11:53:40.000Z | slk/utils/__init__.py | xdvio/sidechain-launch-kit | f7d57948d9041a54d3f19ad308f8cdd17e00f721 | [
"0BSD"
] | 5 | 2021-12-23T18:00:09.000Z | 2022-03-30T22:24:18.000Z | slk/utils/__init__.py | xdvio/sidechain-launch-kit | f7d57948d9041a54d3f19ad308f8cdd17e00f721 | [
"0BSD"
] | 11 | 2021-10-30T05:21:50.000Z | 2022-03-25T00:24:18.000Z | """Utility methods/classes for the Sidechain Launch Kit."""
| 30 | 59 | 0.75 | 8 | 60 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 1 | 60 | 60 | 0.849057 | 0.883333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e31a33e74001d0d25b141de121680d3c66be99f2 | 131 | py | Python | python_modules/libraries/dagster-spark/dagster_spark/__init__.py | bambielli-flex/dagster | 30b75ba7c62fc536bc827f177c1dc6ba20f5ae20 | [
"Apache-2.0"
] | 1 | 2019-07-15T17:34:04.000Z | 2019-07-15T17:34:04.000Z | python_modules/libraries/dagster-spark/dagster_spark/__init__.py | bambielli-flex/dagster | 30b75ba7c62fc536bc827f177c1dc6ba20f5ae20 | [
"Apache-2.0"
] | null | null | null | python_modules/libraries/dagster-spark/dagster_spark/__init__.py | bambielli-flex/dagster | 30b75ba7c62fc536bc827f177c1dc6ba20f5ae20 | [
"Apache-2.0"
] | null | null | null | from .solids import SparkSolidDefinition
from .types import SparkSolidError
__all__ = ['SparkSolidDefinition', 'SparkSolidError']
| 26.2 | 53 | 0.824427 | 11 | 131 | 9.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 4 | 54 | 32.75 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0.267176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e31f02252d809ceefa6e2841e69e7c3b16544dbc | 163 | py | Python | lawyerd/feedback/urls.py | loobinsk/customer_project | 4f43d4c6db2c99926715ea16451511466569c4ae | [
"MIT"
] | null | null | null | lawyerd/feedback/urls.py | loobinsk/customer_project | 4f43d4c6db2c99926715ea16451511466569c4ae | [
"MIT"
] | null | null | null | lawyerd/feedback/urls.py | loobinsk/customer_project | 4f43d4c6db2c99926715ea16451511466569c4ae | [
"MIT"
] | null | null | null | from django.urls import path
from .views import feedback_view
app_name = "feedbacks"
urlpatterns = [
path("feedback", view=feedback_view, name="feedback"),
]
| 20.375 | 58 | 0.742331 | 21 | 163 | 5.619048 | 0.571429 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 163 | 7 | 59 | 23.285714 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0.153374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e330613d14c7c79e4d163cc26bea6e0039fa29c6 | 5,984 | py | Python | features/steps/spheres_steps.py | natehouk/ray-tracer | 293eee036148e45b533431d13c3b6e375b4ca224 | [
"MIT"
] | null | null | null | features/steps/spheres_steps.py | natehouk/ray-tracer | 293eee036148e45b533431d13c3b6e375b4ca224 | [
"MIT"
] | null | null | null | features/steps/spheres_steps.py | natehouk/ray-tracer | 293eee036148e45b533431d13c3b6e375b4ca224 | [
"MIT"
] | null | null | null | from math import pi, sqrt
from behave import *
from material import material
from matrix import identity_matrix, rotation_z, scaling, translation
from ray import ray
from shape import set_transform
from sphere import glass_sphere, normalize, sphere
from tuple import point, vector
@given(u"r ← ray(point(0, 0, -5), v... | 21.681159 | 81 | 0.638369 | 1,106 | 5,984 | 3.388788 | 0.057866 | 0.097118 | 0.152615 | 0.249733 | 0.826574 | 0.723853 | 0.651814 | 0.572839 | 0.492529 | 0.381804 | 0 | 0.063175 | 0.164104 | 5,984 | 275 | 82 | 21.76 | 0.680528 | 0.03877 | 0 | 0.31875 | 0 | 0.025 | 0.214385 | 0.008708 | 0 | 0 | 0 | 0 | 0.15625 | 1 | 0.30625 | false | 0 | 0.05 | 0 | 0.35625 | 0.00625 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3334433b98f2f9115b1eee66e66765a019fa224 | 75 | py | Python | data_structures/graphs/longest_path.py | FatiahBalo/python-ds | 9eb88425822b6da4d7bd673a124c13fbe6f17523 | [
"MIT"
] | 1,723 | 2019-07-30T07:06:22.000Z | 2022-03-31T15:22:22.000Z | data_structures/graphs/longest_path.py | FatiahBalo/python-ds | 9eb88425822b6da4d7bd673a124c13fbe6f17523 | [
"MIT"
] | 213 | 2019-10-06T08:07:47.000Z | 2021-10-04T15:38:36.000Z | data_structures/graphs/longest_path.py | FatiahBalo/python-ds | 9eb88425822b6da4d7bd673a124c13fbe6f17523 | [
"MIT"
] | 628 | 2019-10-06T10:26:25.000Z | 2022-03-31T01:41:00.000Z | # https://www.geeksforgeeks.org/longest-path-between-any-pair-of-vertices/
| 37.5 | 74 | 0.786667 | 11 | 75 | 5.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 75 | 1 | 75 | 75 | 0.808219 | 0.96 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3775ec4805c526838f802709bb4a66bf7af532f | 300 | py | Python | Inventario/entrada/admin.py | FuryAndRage/InventarioTeste | 6ee92fc2e209863558082f8bd88be88dfaaa1c76 | [
"Unlicense"
] | null | null | null | Inventario/entrada/admin.py | FuryAndRage/InventarioTeste | 6ee92fc2e209863558082f8bd88be88dfaaa1c76 | [
"Unlicense"
] | null | null | null | Inventario/entrada/admin.py | FuryAndRage/InventarioTeste | 6ee92fc2e209863558082f8bd88be88dfaaa1c76 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import EntradaProduto
@admin.register(EntradaProduto)
class EntradaProdutoAdmin(admin.ModelAdmin):
list_display = ('entrada_data','entrada_produto','entrada_quantidade',)
search_fields = ('entrada_data','entrada_produto')
# Register your models here.
| 33.333333 | 72 | 0.81 | 34 | 300 | 6.941176 | 0.617647 | 0.09322 | 0.152542 | 0.211864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 300 | 8 | 73 | 37.5 | 0.858182 | 0.086667 | 0 | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8b8e6ff302631d0a5b198afe11d35fac222e9e5e | 115 | py | Python | Base/Python/teem.py | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Base/Python/teem.py | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Base/Python/teem.py | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | """ This module loads all the classes from the vtkTeem library into its
namespace."""
from vtkTeemPython import *
| 23 | 71 | 0.765217 | 16 | 115 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165217 | 115 | 4 | 72 | 28.75 | 0.916667 | 0.678261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8b9cc1715106c9589eef137d95bec2baa1068668 | 78 | py | Python | sqllineage/exceptions.py | surajpotnuru/sqllineage | fe66eb6dda781eb57dfe3d928432268657c1af4f | [
"MIT"
] | 238 | 2019-09-06T10:40:00.000Z | 2022-03-29T10:44:17.000Z | sqllineage/exceptions.py | surajpotnuru/sqllineage | fe66eb6dda781eb57dfe3d928432268657c1af4f | [
"MIT"
] | 214 | 2019-06-30T11:26:45.000Z | 2022-03-28T11:16:54.000Z | sqllineage/exceptions.py | surajpotnuru/sqllineage | fe66eb6dda781eb57dfe3d928432268657c1af4f | [
"MIT"
] | 44 | 2020-08-06T15:18:10.000Z | 2022-03-25T03:33:19.000Z | class SQLLineageException(Exception):
"""Base Exception for SQLLineage"""
| 26 | 39 | 0.75641 | 7 | 78 | 8.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 2 | 40 | 39 | 0.867647 | 0.371795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8ba05c0cf05a8ccf5241db5d218b145454cca5fb | 873 | py | Python | aiotdlib/api/functions/cancel_password_reset.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/cancel_password_reset.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/cancel_password_reset.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 36.375 | 115 | 0.444444 | 61 | 873 | 6.245902 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00335 | 0.316151 | 873 | 23 | 116 | 37.956522 | 0.634841 | 0.591065 | 0 | 0 | 1 | 0 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.5 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 4 |
8bbd723ee50340574208d0548df4f7bb044633b6 | 456 | py | Python | learnergy/models/bernoulli/__init__.py | recogna-lab/recogners | 711295f53b47c76246d57df24b75d18bc7ec62e8 | [
"MIT"
] | 1 | 2019-07-04T19:36:42.000Z | 2019-07-04T19:36:42.000Z | learnergy/models/bernoulli/__init__.py | recogna-lab/recogners | 711295f53b47c76246d57df24b75d18bc7ec62e8 | [
"MIT"
] | null | null | null | learnergy/models/bernoulli/__init__.py | recogna-lab/recogners | 711295f53b47c76246d57df24b75d18bc7ec62e8 | [
"MIT"
] | 1 | 2019-12-09T16:18:51.000Z | 2019-12-09T16:18:51.000Z | """A package contaning bernoulli-based models (networks) for all common learnergy modules.
"""
from learnergy.models.bernoulli.rbm import RBM
from learnergy.models.bernoulli.conv_rbm import ConvRBM
from learnergy.models.bernoulli.discriminative_rbm import (
DiscriminativeRBM,
HybridDiscriminativeRBM,
)
from le... | 38 | 90 | 0.835526 | 54 | 456 | 6.962963 | 0.462963 | 0.172872 | 0.25266 | 0.37234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098684 | 456 | 11 | 91 | 41.454545 | 0.914842 | 0.190789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8bd24f68c9af57ea565db5ca48783ae69d99c0b7 | 117 | py | Python | sqlalchemy_wrapper/__init__.py | MDUYN/sqlalchemy-resolver | 112af99ddee130f35a7e9191ae23f6beb11eab23 | [
"MIT"
] | null | null | null | sqlalchemy_wrapper/__init__.py | MDUYN/sqlalchemy-resolver | 112af99ddee130f35a7e9191ae23f6beb11eab23 | [
"MIT"
] | null | null | null | sqlalchemy_wrapper/__init__.py | MDUYN/sqlalchemy-resolver | 112af99ddee130f35a7e9191ae23f6beb11eab23 | [
"MIT"
] | null | null | null | from sqlalchemy_wrapper.utils.version import get_version
VERSION = (0, 1, 0, 'alpha', 0)
__all__ = ['get_version']
| 19.5 | 56 | 0.726496 | 17 | 117 | 4.588235 | 0.647059 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.136752 | 117 | 5 | 57 | 23.4 | 0.732673 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
47371be86a6db3f25c0d1ac59663f0aafd3cd0d0 | 409 | py | Python | main.py | Spotimania/Spotimania | 184b45b27ac717909b96ce6f958926a08cb0aa64 | [
"MIT"
] | 2 | 2021-01-26T06:03:00.000Z | 2021-07-17T07:09:23.000Z | main.py | Spotimania/Spotimania | 184b45b27ac717909b96ce6f958926a08cb0aa64 | [
"MIT"
] | 8 | 2020-07-20T07:31:17.000Z | 2020-07-28T06:49:34.000Z | main.py | Spotimania/Spotimania | 184b45b27ac717909b96ce6f958926a08cb0aa64 | [
"MIT"
] | null | null | null | from app import app, db, controllers
# importing app variable from the app folder
from app.models import *
from app.controllers import *
#Shell Configurations
@app.shell_context_processor
def make_shell_contect():
return {"ctrl":controllers,"db":db,"User":User,"Privileges":Privileges,"Song":Song,"Playlist_Song":P... | 40.9 | 193 | 0.794621 | 52 | 409 | 6.134615 | 0.480769 | 0.065831 | 0.100313 | 0.15047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08313 | 409 | 10 | 193 | 40.9 | 0.850667 | 0.151589 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
473b6cb5d41b555db0a74710d2a31bfcd673627b | 57,468 | py | Python | src/basic/zobrist_hash.py | invokerrrr/alphago_weak | 8e5e1aa2a287229b23ede0a6b105ff37253abe10 | [
"MIT"
] | null | null | null | src/basic/zobrist_hash.py | invokerrrr/alphago_weak | 8e5e1aa2a287229b23ede0a6b105ff37253abe10 | [
"MIT"
] | null | null | null | src/basic/zobrist_hash.py | invokerrrr/alphago_weak | 8e5e1aa2a287229b23ede0a6b105ff37253abe10 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
from .go_types import *
__all__ = ["get_hash"]
ZOBRIST_HASHMAP = np.array([[[2526334998825741210, 3313582256518275088, -287774555718411658, -7043430064820032895,
-9059326486587851936, -4458066124237195787, -5684614108446514227, 6617432469892932... | 105.445872 | 118 | 0.619145 | 1,913 | 57,468 | 18.594877 | 0.99425 | 0.000394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.917755 | 0.328461 | 57,468 | 544 | 119 | 105.639706 | 0.00399 | 0.000365 | 0 | 0 | 0 | 0 | 0.000139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001859 | false | 0 | 0.003717 | 0.001859 | 0.007435 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
477013a31512b94c23aaec0c453c025294d8884b | 165 | py | Python | app/stocks/apps.py | hp5441/stocks-api | e5cd64c3864a50fda05be6bc17947452a5a051dd | [
"MIT"
] | null | null | null | app/stocks/apps.py | hp5441/stocks-api | e5cd64c3864a50fda05be6bc17947452a5a051dd | [
"MIT"
] | null | null | null | app/stocks/apps.py | hp5441/stocks-api | e5cd64c3864a50fda05be6bc17947452a5a051dd | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class StocksConfig(AppConfig):
name = 'stocks'
def ready(self):
print('at ready')
import stocks.signals
| 16.5 | 33 | 0.654545 | 19 | 165 | 5.684211 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254545 | 165 | 9 | 34 | 18.333333 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0.084848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
479ecd93637398de5b1032c3a7ab18fe152cae82 | 3,685 | py | Python | coord_xfm.py | jadnohra/daisy | 105c0f37c6adbe85ce830375c5e2fc89cbcc6cc9 | [
"MIT"
] | 3 | 2021-09-26T10:50:35.000Z | 2022-01-25T02:44:37.000Z | coord_xfm.py | jadnohra/daisy | 105c0f37c6adbe85ce830375c5e2fc89cbcc6cc9 | [
"MIT"
] | 1 | 2021-09-09T14:19:31.000Z | 2021-09-09T14:19:31.000Z | coord_xfm.py | jadnohra/daisy | 105c0f37c6adbe85ce830375c5e2fc89cbcc6cc9 | [
"MIT"
] | null | null | null |
'''
Road: The road 2d world coordinate system is a 2D euclidean coordinate system.
The intended semantics are
- the x axis is identified with (1,0) and considered to be pointing right
- the y axis is identified with (0,1) and considered to be pointing up
y
... | 39.202128 | 114 | 0.58209 | 530 | 3,685 | 3.924528 | 0.220755 | 0.043269 | 0.053846 | 0.067308 | 0.421154 | 0.399519 | 0.359135 | 0.292308 | 0.207212 | 0.207212 | 0 | 0.036929 | 0.345997 | 3,685 | 94 | 115 | 39.202128 | 0.826141 | 0.641791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.333333 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
47c34af62a4b075399cbfb076559bbb32ffbd124 | 229 | py | Python | 05-Models-and-MTV-Pattern/newDjangoProject/newDjangoProject/todo_app/views.py | M0673N/Python-Web-Basics | cecc27f7a12f990756edcc8885290eb3b2e487b7 | [
"MIT"
] | null | null | null | 05-Models-and-MTV-Pattern/newDjangoProject/newDjangoProject/todo_app/views.py | M0673N/Python-Web-Basics | cecc27f7a12f990756edcc8885290eb3b2e487b7 | [
"MIT"
] | null | null | null | 05-Models-and-MTV-Pattern/newDjangoProject/newDjangoProject/todo_app/views.py | M0673N/Python-Web-Basics | cecc27f7a12f990756edcc8885290eb3b2e487b7 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from newDjangoProject.todo_app.models import Todo
def index(request):
todos = Todo.objects.all()
context = {'todos': todos}
return render(request, 'index.html', context=context)
| 22.9 | 57 | 0.733624 | 29 | 229 | 5.758621 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157205 | 229 | 9 | 58 | 25.444444 | 0.865285 | 0 | 0 | 0 | 0 | 0 | 0.065502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
47ce2b3daae6f131204e6d1be2f4c867ebff54b3 | 17,366 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/core/v1/handler_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/core/v1/handler_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/core/v1/handler_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: spaceone/api/core/v1/handler.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflectio... | 45.223958 | 1,318 | 0.759818 | 2,196 | 17,366 | 5.702186 | 0.086521 | 0.046638 | 0.077384 | 0.05702 | 0.737422 | 0.712027 | 0.697892 | 0.637678 | 0.626258 | 0.612921 | 0 | 0.034825 | 0.11701 | 17,366 | 383 | 1,319 | 45.342037 | 0.781792 | 0.035875 | 0 | 0.679191 | 1 | 0.00289 | 0.212099 | 0.177606 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014451 | 0 | 0.014451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47fa67f50ba10a04d2cff61a34ceee2f9880327c | 95 | py | Python | strawberry_mage/backends/json/__init__.py | KundaPanda/strawberry-graphql-mage | d3435f2cb6bac9001b946d9dcd5284c05711399c | [
"MIT"
] | 4 | 2021-11-24T12:51:22.000Z | 2022-02-23T05:12:20.000Z | strawberry_mage/backends/json/__init__.py | KundaPanda/strawberry-graphql-mage | d3435f2cb6bac9001b946d9dcd5284c05711399c | [
"MIT"
] | 89 | 2021-10-29T20:59:42.000Z | 2022-03-28T17:30:04.000Z | strawberry_mage/backends/json/__init__.py | KundaPanda/strawberry-graphql-mage | d3435f2cb6bac9001b946d9dcd5284c05711399c | [
"MIT"
] | null | null | null | """Strawberry-GraphQL-Mage backend for handling JSON objects loaded as python dictionaries."""
| 47.5 | 94 | 0.8 | 12 | 95 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 1 | 95 | 95 | 0.894118 | 0.926316 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
47fb3095d1dbe36547f434bfb7f7971082598c2b | 258 | py | Python | instagram/admin.py | Patrick322/instagram | 2dd51bd8ee13650c41fe142b69d1e2c558a916bf | [
"MIT"
] | null | null | null | instagram/admin.py | Patrick322/instagram | 2dd51bd8ee13650c41fe142b69d1e2c558a916bf | [
"MIT"
] | 4 | 2020-06-06T00:44:39.000Z | 2021-09-08T01:45:57.000Z | instagram/admin.py | Patrick322/instagram | 2dd51bd8ee13650c41fe142b69d1e2c558a916bf | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Profile,post,Comment,Location,Like
# Register your models here.
admin.site.register(Profile)
admin.site.register(post)
admin.site.register(Comment)
admin.site.register(Location)
admin.site.register(Like)
| 25.8 | 54 | 0.817829 | 37 | 258 | 5.702703 | 0.405405 | 0.21327 | 0.402844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073643 | 258 | 9 | 55 | 28.666667 | 0.882845 | 0.100775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d03676741b03b0d323d3ed768605654547ba0df0 | 472 | py | Python | sqlalchemy_fsm/util.py | selecsosi/sqlalchemy-fsm | c577e78dafad00e9a1dc3615d193492bb8d1d466 | [
"MIT"
] | 16 | 2018-02-21T18:31:38.000Z | 2022-01-24T11:57:02.000Z | sqlalchemy_fsm/util.py | selecsosi/sqlalchemy-fsm | c577e78dafad00e9a1dc3615d193492bb8d1d466 | [
"MIT"
] | 15 | 2018-04-12T21:32:40.000Z | 2021-11-28T06:34:08.000Z | sqlalchemy_fsm/util.py | selecsosi/sqlalchemy-fsm | c577e78dafad00e9a1dc3615d193492bb8d1d466 | [
"MIT"
] | 6 | 2018-04-12T19:25:50.000Z | 2022-01-12T05:57:09.000Z | """Utility functions and consts."""
from six import string_types
from . import exc
def is_valid_fsm_state(value):
return isinstance(value, string_types) and value
def is_valid_source_state(value):
"""This function makes exeptions for special source states.
E.g. It explicitly allows '*' (for any state)... | 26.222222 | 73 | 0.705508 | 69 | 472 | 4.666667 | 0.550725 | 0.065217 | 0.062112 | 0.093168 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197034 | 472 | 17 | 74 | 27.764706 | 0.849604 | 0.419492 | 0 | 0 | 0 | 0 | 0.004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
d06033a58b7bf4474c7424c8fe6745cd31e007e8 | 8,816 | py | Python | tests/transformations/activity_links.py | cmutel/Ocelot | 20e9639570c43f84ae255750a6c402ebabe00981 | [
"BSD-3-Clause"
] | 21 | 2016-06-01T14:10:07.000Z | 2022-02-28T01:56:31.000Z | tests/transformations/activity_links.py | cmutel/Ocelot | 20e9639570c43f84ae255750a6c402ebabe00981 | [
"BSD-3-Clause"
] | 152 | 2016-05-16T21:33:22.000Z | 2019-06-24T12:57:14.000Z | tests/transformations/activity_links.py | cmutel/Ocelot | 20e9639570c43f84ae255750a6c402ebabe00981 | [
"BSD-3-Clause"
] | 12 | 2016-09-05T15:35:59.000Z | 2021-07-03T19:28:47.000Z | # -*- coding: utf-8 -*-
from ocelot.errors import UnresolvableActivityLink
from ocelot.transformations.activity_links import *
import pytest
def test_update_activity_link_parent_child():
given = []
expected = []
assert update_activity_link_parent_child(given) == expected
def test_check_activity_link_vali... | 29.683502 | 100 | 0.502042 | 729 | 8,816 | 5.903978 | 0.135802 | 0.089219 | 0.081784 | 0.08132 | 0.843169 | 0.813197 | 0.720493 | 0.61803 | 0.607807 | 0.594796 | 0 | 0.019816 | 0.347436 | 8,816 | 296 | 101 | 29.783784 | 0.728316 | 0.006466 | 0 | 0.839286 | 0 | 0 | 0.318068 | 0.006852 | 0 | 0 | 0 | 0 | 0.028571 | 1 | 0.046429 | false | 0 | 0.010714 | 0 | 0.057143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d085980e374f21c77d4e1d0da258acc9c93140a3 | 165 | py | Python | python/format_map and var.py | 1005281342/learn | c9d1e2e256842d9b4846c4870ac72e83d172b20e | [
"Apache-2.0"
] | 1 | 2018-11-29T01:01:32.000Z | 2018-11-29T01:01:32.000Z | python/format_map and var.py | 1005281342/learn | c9d1e2e256842d9b4846c4870ac72e83d172b20e | [
"Apache-2.0"
] | null | null | null | python/format_map and var.py | 1005281342/learn | c9d1e2e256842d9b4846c4870ac72e83d172b20e | [
"Apache-2.0"
] | null | null | null | print(str.format_map.__doc__)
print(vars.__doc__)
"""
https://python3-cookbook.readthedocs.io/zh_CN/latest/c02/p15_interpolating_variables_in_strings.html
""" | 20.625 | 104 | 0.787879 | 23 | 165 | 5.043478 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032468 | 0.066667 | 165 | 8 | 105 | 20.625 | 0.720779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 4 |
d0886aa156cc26b5fe0e84673c5bb440e9bd332b | 138,580 | py | Python | project/hog/tests/05.py | Huangkai1008/cs61a | d0ef8f3fe4efdf101ec79b75d530953f0869ea28 | [
"MIT"
] | null | null | null | project/hog/tests/05.py | Huangkai1008/cs61a | d0ef8f3fe4efdf101ec79b75d530953f0869ea28 | [
"MIT"
] | null | null | null | project/hog/tests/05.py | Huangkai1008/cs61a | d0ef8f3fe4efdf101ec79b75d530953f0869ea28 | [
"MIT"
] | null | null | null | test = {
'name': 'Question 5',
'points': 4,
'suites': [
{
'cases': [
{
'answer': 'While score0 and score1 are both less than goal',
'choices': [
'While score0 and score1 are both less than goal',
'While at least one of score0 or score1 is less than goa... | 37.22267 | 119 | 0.457902 | 18,506 | 138,580 | 3.41111 | 0.019615 | 0.115166 | 0.109258 | 0.188718 | 0.877673 | 0.743291 | 0.601432 | 0.558724 | 0.550724 | 0.44088 | 0 | 0.136551 | 0.397777 | 138,580 | 3,722 | 120 | 37.232671 | 0.619848 | 0 | 0 | 0.452567 | 0 | 0.106423 | 0.910102 | 0.026505 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001612 | 0 | 0.001612 | 0.195378 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d08f17ddbe99f7b41ac10d68cbb30f0d24e9bec8 | 224 | py | Python | src/ForegroundObjectTracker/__init__.py | Xwaler/ForegroundObjectTracker | 0f9d1673f07ba945172918b64c15d785a916aa46 | [
"Apache-2.0"
] | null | null | null | src/ForegroundObjectTracker/__init__.py | Xwaler/ForegroundObjectTracker | 0f9d1673f07ba945172918b64c15d785a916aa46 | [
"Apache-2.0"
] | null | null | null | src/ForegroundObjectTracker/__init__.py | Xwaler/ForegroundObjectTracker | 0f9d1673f07ba945172918b64c15d785a916aa46 | [
"Apache-2.0"
] | null | null | null | from .Detection import Detection
from .BaseObjectTracker import DISPLAY_NONE, DISPLAY_OVERLAY, DISPLAY_DEBUG
from .DSOF import DSOF as ForegroundObjectTracker
from .DSOF import DSOF
from .SOF import SOF
from .DOF import DOF
| 32 | 75 | 0.839286 | 31 | 224 | 5.967742 | 0.419355 | 0.086486 | 0.151351 | 0.194595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 224 | 6 | 76 | 37.333333 | 0.943878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d0bbaccc60c2221e428744860524beb0f1058b75 | 98 | py | Python | helpers/celeryconfig.py | NuvoHome/FlaskScrapper | f7f2841ee4b65ef0d08e2e62777a465eb70f5e94 | [
"Apache-2.0"
] | null | null | null | helpers/celeryconfig.py | NuvoHome/FlaskScrapper | f7f2841ee4b65ef0d08e2e62777a465eb70f5e94 | [
"Apache-2.0"
] | 3 | 2020-07-07T19:34:45.000Z | 2021-05-07T21:10:43.000Z | backend/__init__.py | AshiquzzamanKhan/FlaskScrapper | 24bafbbc81a04d0c4e308bb74d0eefaa2c8ab10b | [
"Apache-2.0"
] | 1 | 2018-10-02T01:36:59.000Z | 2018-10-02T01:36:59.000Z | # -*- coding: utf-8 -*-
"""
__author__ = "Ashiquzzaman Khan"
__desc__ = "Main Exe file to Run"
""" | 19.6 | 33 | 0.612245 | 12 | 98 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.173469 | 98 | 5 | 34 | 19.6 | 0.62963 | 0.908163 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d0c012de716311dc0d7d782b1c4abf81deece18b | 1,372 | py | Python | example/feishu/types.py | Ethan-zhengyw/ex_dataclass | 8d6d63220676d65e0d1beba52c031e5f41ef9a3e | [
"MIT"
] | null | null | null | example/feishu/types.py | Ethan-zhengyw/ex_dataclass | 8d6d63220676d65e0d1beba52c031e5f41ef9a3e | [
"MIT"
] | null | null | null | example/feishu/types.py | Ethan-zhengyw/ex_dataclass | 8d6d63220676d65e0d1beba52c031e5f41ef9a3e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from ex_dataclass import ex_dataclass, field
import typing
@ex_dataclass
class MsgReqContentText(object):
text: str = field(default_factory=str)
@ex_dataclass
class MsgReqContentPostTagText(object):
text: str = field(default_factory=str)
un_escape: bool = field(default_factory=b... | 27.44 | 106 | 0.753644 | 150 | 1,372 | 6.693333 | 0.266667 | 0.167331 | 0.26494 | 0.197211 | 0.453187 | 0.331673 | 0.277888 | 0.12251 | 0 | 0 | 0 | 0.000864 | 0.155977 | 1,372 | 49 | 107 | 28 | 0.866149 | 0.015306 | 0 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.060606 | 0 | 0.69697 | 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 | 1 | 0 | 0 | 4 |
efa5c74f2f299fbddbd935ac83a99ad6f21e6280 | 238 | py | Python | hooks/pre_gen_project.py | binxio/cookiecutter-sam-cloudformation-custom-resource-provider | 5ea720fc8582cc9f3cc2bbc7dc9c9b83154827a2 | [
"Apache-2.0"
] | 1 | 2020-01-08T03:32:24.000Z | 2020-01-08T03:32:24.000Z | hooks/pre_gen_project.py | binxio/cookiecutter-sam-custom-resource-provider | 5ea720fc8582cc9f3cc2bbc7dc9c9b83154827a2 | [
"Apache-2.0"
] | null | null | null | hooks/pre_gen_project.py | binxio/cookiecutter-sam-custom-resource-provider | 5ea720fc8582cc9f3cc2bbc7dc9c9b83154827a2 | [
"Apache-2.0"
] | null | null | null | import re
import sys
if not re.match(r'^[_a-zA-Z][\-_a-zA-Z0-9]+$', '{{ cookiecutter.project_name }}'):
print("ERROR: invalid project name. Must start with a letter followed by letter, digits, underscores or dashs")
sys.exit(1)
| 29.75 | 115 | 0.680672 | 39 | 238 | 4.076923 | 0.769231 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.155462 | 238 | 7 | 116 | 34 | 0.776119 | 0 | 0 | 0 | 0 | 0 | 0.668067 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
efafd9b443a5b7c3d7524e945cceba76f8b4b2f5 | 59 | py | Python | Ottergrad/optimizers.py | raulniconico/ottergrad | 3ca797c89729d835da8cbf0a226daa82df796b25 | [
"MIT"
] | null | null | null | Ottergrad/optimizers.py | raulniconico/ottergrad | 3ca797c89729d835da8cbf0a226daa82df796b25 | [
"MIT"
] | null | null | null | Ottergrad/optimizers.py | raulniconico/ottergrad | 3ca797c89729d835da8cbf0a226daa82df796b25 | [
"MIT"
] | null | null | null | class GD:
def __init__(self):
self.name = "GD"
| 14.75 | 24 | 0.542373 | 8 | 59 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322034 | 59 | 3 | 25 | 19.666667 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
eff64235ea1ac03f0a260e128a9b15bca60fed84 | 133 | py | Python | notebookstyle.py | gchevrot/WebScrewFrame | fb732cc099f693a984a8bda2ba51bc1cc72a7fb7 | [
"BSD-3-Clause"
] | null | null | null | notebookstyle.py | gchevrot/WebScrewFrame | fb732cc099f693a984a8bda2ba51bc1cc72a7fb7 | [
"BSD-3-Clause"
] | null | null | null | notebookstyle.py | gchevrot/WebScrewFrame | fb732cc099f693a984a8bda2ba51bc1cc72a7fb7 | [
"BSD-3-Clause"
] | null | null | null | from IPython.core.display import HTML
def css_styling():
styles = open("styles/custom.css", "r").read()
return HTML(styles)
| 22.166667 | 50 | 0.691729 | 19 | 133 | 4.789474 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 133 | 5 | 51 | 26.6 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ef40beee7475bf6a0796fa5f80d4800d5e634635 | 98 | py | Python | autotrade/apps.py | luhouxiang/UnitTestServer | 296485fd9d80a215c52a41d9b07a9ef12dfaef29 | [
"Apache-2.0"
] | null | null | null | autotrade/apps.py | luhouxiang/UnitTestServer | 296485fd9d80a215c52a41d9b07a9ef12dfaef29 | [
"Apache-2.0"
] | null | null | null | autotrade/apps.py | luhouxiang/UnitTestServer | 296485fd9d80a215c52a41d9b07a9ef12dfaef29 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class AutotradeConfig(AppConfig):
name = 'autotrade'
| 16.333333 | 34 | 0.72449 | 10 | 98 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 98 | 5 | 35 | 19.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3239e9257a9537087bd053685bbd8154d7184cdf | 1,979 | py | Python | taln2016/icsisumm-primary-sys34_v1/nltk/nltk-0.9.2/nltk/corpus/reader/__init__.py | hectormartinez/rougexstem | 32da9eab253cb88fc1882e59026e8b5b40900a25 | [
"Apache-2.0"
] | null | null | null | taln2016/icsisumm-primary-sys34_v1/nltk/nltk-0.9.2/nltk/corpus/reader/__init__.py | hectormartinez/rougexstem | 32da9eab253cb88fc1882e59026e8b5b40900a25 | [
"Apache-2.0"
] | null | null | null | taln2016/icsisumm-primary-sys34_v1/nltk/nltk-0.9.2/nltk/corpus/reader/__init__.py | hectormartinez/rougexstem | 32da9eab253cb88fc1882e59026e8b5b40900a25 | [
"Apache-2.0"
] | null | null | null | # Natural Language Toolkit: Corpus Readers
#
# Copyright (C) 2001-2008 University of Pennsylvania
# Author: Steven Bird <sb@ldc.upenn.edu>
# Edward Loper <edloper@gradient.cis.upenn.edu>
# URL: <http://nltk.sf.net>
# For license information, see LICENSE.TXT
"""
Corpus readers.
"""
from nltk.corpus.reader.plai... | 36.648148 | 61 | 0.774634 | 209 | 1,979 | 7.272727 | 0.444976 | 0.115789 | 0.202632 | 0.289474 | 0.359211 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004577 | 0.116726 | 1,979 | 53 | 62 | 37.339623 | 0.864989 | 0.135422 | 0 | 0 | 0 | 0 | 0.343547 | 0.164408 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.55 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
324e993799a4102e9fb53af3373411e565118418 | 30 | py | Python | secrets.py | smillerd/autots | 98a8aa6d98c05099d9d1593903612e2a2a8517e0 | [
"MIT"
] | null | null | null | secrets.py | smillerd/autots | 98a8aa6d98c05099d9d1593903612e2a2a8517e0 | [
"MIT"
] | null | null | null | secrets.py | smillerd/autots | 98a8aa6d98c05099d9d1593903612e2a2a8517e0 | [
"MIT"
] | null | null | null |
hours_for_team_password = ''
| 10 | 28 | 0.766667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 2 | 29 | 15 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
32542159d9bca3b998d943ded2a2ce84f560a1b1 | 20 | py | Python | terrapy/seis/__init__.py | jingkangy91/terrapy | 276c62c9857b4c0a2b2fc205c1cd572523340a5f | [
"MIT"
] | null | null | null | terrapy/seis/__init__.py | jingkangy91/terrapy | 276c62c9857b4c0a2b2fc205c1cd572523340a5f | [
"MIT"
] | null | null | null | terrapy/seis/__init__.py | jingkangy91/terrapy | 276c62c9857b4c0a2b2fc205c1cd572523340a5f | [
"MIT"
] | null | null | null | """
This is seis
""" | 6.666667 | 12 | 0.5 | 3 | 20 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 3 | 13 | 6.666667 | 0.625 | 0.6 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
32560389444cc808cd54d0efa1d01a0b3c4f82e2 | 78 | py | Python | heparchy/__init__.py | jacanchaplais/heparchy | 5710e0c6986ce4e636337cf53b923a10c3b11bc2 | [
"BSD-3-Clause"
] | 2 | 2022-01-11T12:59:39.000Z | 2022-01-11T13:02:44.000Z | heparchy/__init__.py | jacanchaplais/heparchy | 5710e0c6986ce4e636337cf53b923a10c3b11bc2 | [
"BSD-3-Clause"
] | 11 | 2022-01-10T11:35:19.000Z | 2022-02-10T08:42:14.000Z | heparchy/__init__.py | jacanchaplais/heparchy | 5710e0c6986ce4e636337cf53b923a10c3b11bc2 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
event_key_format = lambda evt_num: f'event_{evt_num:09}'
| 15.6 | 56 | 0.769231 | 15 | 78 | 3.666667 | 0.8 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.141026 | 78 | 4 | 57 | 19.5 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3257838cd768b0f86e814deab5cc75aee98e4a52 | 74 | py | Python | easy/pro-vowel-counter/VowelCounter.py | Adi142857/sololearn-challenges | 67437d9c202ce6d470042bbe87f20da9fd4a077c | [
"MIT"
] | 83 | 2020-01-07T23:02:52.000Z | 2022-03-19T06:53:56.000Z | easy/pro-vowel-counter/VowelCounter.py | Adi142857/sololearn-challenges | 67437d9c202ce6d470042bbe87f20da9fd4a077c | [
"MIT"
] | 21 | 2020-01-23T14:26:13.000Z | 2022-03-20T06:30:45.000Z | easy/pro-vowel-counter/VowelCounter.py | Adi142857/sololearn-challenges | 67437d9c202ce6d470042bbe87f20da9fd4a077c | [
"MIT"
] | 53 | 2020-02-10T13:40:33.000Z | 2022-03-13T13:07:33.000Z | import re
vowels = len(re.sub('[^AEIOUaeiou]', '', input())
print(vowels)
| 18.5 | 49 | 0.648649 | 10 | 74 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 3 | 50 | 24.666667 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
32a1918ba8d8a429469e6f27aeee3a1fafd35ce0 | 140 | py | Python | tests/__init__.py | quividi/django-passwords | d68953b83717a2f67f6f71581a17bb9c22cb65ff | [
"BSD-2-Clause"
] | 183 | 2015-01-06T14:54:21.000Z | 2022-03-07T01:26:43.000Z | tests/__init__.py | quividi/django-passwords | d68953b83717a2f67f6f71581a17bb9c22cb65ff | [
"BSD-2-Clause"
] | 60 | 2015-03-30T18:58:36.000Z | 2022-02-07T18:16:58.000Z | tests/__init__.py | quividi/django-passwords | d68953b83717a2f67f6f71581a17bb9c22cb65ff | [
"BSD-2-Clause"
] | 64 | 2015-01-31T18:06:27.000Z | 2022-01-18T12:45:36.000Z | from django.conf import settings
import django
settings.configure()
try:
django.setup()
except AttributeError: # django 1.4
pass
| 14 | 36 | 0.735714 | 18 | 140 | 5.722222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.185714 | 140 | 9 | 37 | 15.555556 | 0.885965 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0866745be6eec3eeb9112ff554206339d5c5ea5d | 97 | py | Python | src/sage/tensor/modules/all.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 3 | 2016-06-19T14:48:31.000Z | 2022-01-28T08:46:01.000Z | src/sage/tensor/modules/all.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 2 | 2018-10-30T13:40:20.000Z | 2020-07-23T12:13:30.000Z | src/sage/tensor/modules/all.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 7 | 2021-11-08T10:01:59.000Z | 2022-03-03T11:25:52.000Z | from __future__ import absolute_import
from .finite_rank_free_module import FiniteRankFreeModule
| 32.333333 | 57 | 0.907216 | 12 | 97 | 6.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 58 | 48.5 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
08735f150d099cdd7bad089088149a60ed951660 | 2,515 | py | Python | GA_Subarray_Optimization/GA_Subarray_Selection/CASA_Sim/runAntennaDistribution.py | bosscha/GASS | e6b7967581c97d99beb423a63843cb7470ce5930 | [
"MIT"
] | 2 | 2018-04-11T13:47:16.000Z | 2019-01-26T16:51:00.000Z | GA_Subarray_Optimization_Automatisation/GA_Subarray_Selection/CASA_Sim/runAntennaDistribution.py | bosscha/GASS | e6b7967581c97d99beb423a63843cb7470ce5930 | [
"MIT"
] | null | null | null | GA_Subarray_Optimization_Automatisation/GA_Subarray_Selection/CASA_Sim/runAntennaDistribution.py | bosscha/GASS | e6b7967581c97d99beb423a63843cb7470ce5930 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import pylab as pl
import pickle
import sys
import os
import arrayConfigurationTools as aC
cycle = 'Cycle5'
a = aC.ArrayInfo(cycle+os.path.sep+'ACA-std.cfg')
a.plotAntPos(xmin = -20 , xmax = 20, ymin = -20, ymax = 20, title = '7-m',xtitle = 14, ytitle = 16,figure = '7-m.pdf', showLabels=False)
p... | 46.574074 | 154 | 0.654871 | 414 | 2,515 | 3.978261 | 0.144928 | 0.021858 | 0.087432 | 0.131148 | 0.874317 | 0.874317 | 0.701882 | 0.656952 | 0.639344 | 0.639344 | 0 | 0.166047 | 0.145129 | 2,515 | 53 | 155 | 47.45283 | 0.6 | 0.06998 | 0 | 0 | 0 | 0 | 0.111301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.172414 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
08801d116780c43c7f90d7c8eb6067cfbed90cea | 134 | py | Python | project-euler/completed/euler29.py | davidxmoody/kata | d88569584c2390da0e8127258d8751f8a47b7d83 | [
"MIT"
] | null | null | null | project-euler/completed/euler29.py | davidxmoody/kata | d88569584c2390da0e8127258d8751f8a47b7d83 | [
"MIT"
] | null | null | null | project-euler/completed/euler29.py | davidxmoody/kata | d88569584c2390da0e8127258d8751f8a47b7d83 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
terms = set()
for a in range(2, 101):
for b in range(2, 101):
terms.add(a**b)
print(len(terms))
| 13.4 | 27 | 0.574627 | 25 | 134 | 3.08 | 0.64 | 0.181818 | 0.207792 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.238806 | 134 | 9 | 28 | 14.888889 | 0.666667 | 0.156716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0881980e82e04ca7443f09d699b0177772f4682b | 112 | py | Python | autosnapgene/blocks/primers.py | kalekundert/autosnapgene | cc019b89f7ab8842d95fd268c24987aabbe1c0b6 | [
"MIT"
] | null | null | null | autosnapgene/blocks/primers.py | kalekundert/autosnapgene | cc019b89f7ab8842d95fd268c24987aabbe1c0b6 | [
"MIT"
] | null | null | null | autosnapgene/blocks/primers.py | kalekundert/autosnapgene | cc019b89f7ab8842d95fd268c24987aabbe1c0b6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from ..parser import UnparsedBlock
class PrimerBlock(UnparsedBlock):
block_id = 5
| 14 | 34 | 0.741071 | 14 | 112 | 5.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.160714 | 112 | 7 | 35 | 16 | 0.851064 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0884508efc877cdc19e57b48b12d49889c822ed4 | 116 | py | Python | apps/users/apps.py | kk6/sebastian | f01445c74ee621c26593b3806341dbfb62a32ffa | [
"MIT"
] | 1 | 2020-10-21T18:57:04.000Z | 2020-10-21T18:57:04.000Z | apps/users/apps.py | kk6/sebastian | f01445c74ee621c26593b3806341dbfb62a32ffa | [
"MIT"
] | null | null | null | apps/users/apps.py | kk6/sebastian | f01445c74ee621c26593b3806341dbfb62a32ffa | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class UsersConfig(AppConfig):
"""Users config class."""
name = "users"
| 14.5 | 33 | 0.681034 | 13 | 116 | 6.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198276 | 116 | 7 | 34 | 16.571429 | 0.849462 | 0.163793 | 0 | 0 | 0 | 0 | 0.054945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0893a9e44d5dc1c677ede47e6d28761a721120c9 | 560 | py | Python | python/anyascii/_data/_23b.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_23b.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_23b.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' Guan Pei Pi Juan Bei Jue Juan Shi Xie Rui Jing Po San Ji Fen Bei Jie Sa Pi Di Mao Ba Ba Tiao Ling Sheng Zhen Pi Wu Ze Bao Su Lu Hao Dou Fu Ni Bou Bom Ge Ru Xian Bi Mao Ria Mao Rong Qiu Bo Hao Nao Yan Pao Sui Tuo Ngu Qu Li De Jie Jie Gun... | 560 | 560 | 0.544643 | 106 | 560 | 2.877358 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.45 | 560 | 1 | 560 | 560 | 0.99026 | 0 | 0 | 0 | 0 | 1 | 0.991087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
08a419dd040c24d9e554867675fe9c27e49b8791 | 162 | py | Python | apps/news/forms.py | c727657851/xzf_project | 6e570dbf0bb7bdddeb6dcfacdea0a85c3f686f8e | [
"Apache-2.0"
] | 1 | 2020-07-23T09:19:03.000Z | 2020-07-23T09:19:03.000Z | apps/news/forms.py | c727657851/xzf_project | 6e570dbf0bb7bdddeb6dcfacdea0a85c3f686f8e | [
"Apache-2.0"
] | 5 | 2021-03-30T14:10:19.000Z | 2022-01-13T03:07:44.000Z | apps/news/forms.py | c727657851/xzf_project | 6e570dbf0bb7bdddeb6dcfacdea0a85c3f686f8e | [
"Apache-2.0"
] | null | null | null | from django import forms
from apps.forms import FormMixin
class PublicCommentForm(forms.Form):
content = forms.CharField()
news_id = forms.IntegerField()
| 27 | 36 | 0.771605 | 20 | 162 | 6.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 5 | 37 | 32.4 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
08e50c0da5369e19c8e434be6a5f6f6355bb92fb | 119 | py | Python | tools/mo/openvino/tools/mo/front/mxnet/extractors/add_n.py | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | model-optimizer/mo/front/mxnet/extractors/add_n.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | model-optimizer/mo/front/mxnet/extractors/add_n.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
def add_n_ext(attrs):
return {}
| 19.833333 | 43 | 0.722689 | 18 | 119 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 0.151261 | 119 | 5 | 44 | 23.8 | 0.732673 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
3ea36567e7aa78de372b820136ee3d475af08e96 | 248 | py | Python | pypy/module/_rawffi/test/apptest_rawffi.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 333 | 2015-08-08T18:03:38.000Z | 2022-03-22T18:13:12.000Z | pypy/module/_rawffi/test/apptest_rawffi.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 7 | 2020-02-16T16:49:05.000Z | 2021-11-26T09:00:56.000Z | pypy/module/_rawffi/test/apptest_rawffi.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z | # spaceconfig = {"usemodules" : ["_rawffi"]}
import pytest
_rawffi = pytest.importorskip("_rawffi")
from _rawffi import Array
def test_array_view_format():
ffiarray = Array('c')
assert memoryview(ffiarray(1, autofree=True)).format == 'c'
| 24.8 | 63 | 0.71371 | 29 | 248 | 5.862069 | 0.655172 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004695 | 0.141129 | 248 | 9 | 64 | 27.555556 | 0.793427 | 0.169355 | 0 | 0 | 0 | 0 | 0.044118 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3eae11a2c2869e9c3f50e9f5f471d1be97de6a7f | 300 | py | Python | pyschema/contrib/jsonschema.py | HasibeZaferr/pyschema | 7e6c3934150bcb040c628d74ace6caf5fcf867df | [
"Apache-2.0"
] | 57 | 2015-01-30T06:04:05.000Z | 2022-03-26T17:51:41.000Z | pyschema/contrib/jsonschema.py | HasibeZaferr/pyschema | 7e6c3934150bcb040c628d74ace6caf5fcf867df | [
"Apache-2.0"
] | 19 | 2015-04-20T09:58:06.000Z | 2015-11-13T17:31:52.000Z | pyschema/contrib/jsonschema.py | spotify/pyschema | 7e6c3934150bcb040c628d74ace6caf5fcf867df | [
"Apache-2.0"
] | 28 | 2015-01-25T07:01:55.000Z | 2022-03-19T15:49:12.000Z | import warnings
warnings.warn(
"pyschema.contrib.jsonschema is deprecated and will be removed.\n"
"Please use the pyschema_extensions.jsonschema package instead.",
DeprecationWarning,
stacklevel=2
)
import pyschema_extensions.jsonschema
from pyschema_extensions.jsonschema import *
| 25 | 70 | 0.793333 | 34 | 300 | 6.911765 | 0.676471 | 0.229787 | 0.357447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003891 | 0.143333 | 300 | 11 | 71 | 27.272727 | 0.910506 | 0 | 0 | 0 | 0 | 0 | 0.42 | 0.19 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3ecbe1305373fd053eb0670837dc4bab6ac77bba | 2,680 | py | Python | opaal/opaal/lattices/integer_lattice.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | opaal/opaal/lattices/integer_lattice.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | opaal/opaal/lattices/integer_lattice.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | ### BEGIN LICENSE
# Copyright (C) 2010 Mads Chr. Olesen <mchro@cs.aau.dk>
#This program is free software: you can redistribute it and/or modify it
#under the terms of the GNU General Public License version 3, as published
#by the Free Software Foundation.
#
#This program is distributed in the hope that it will be use... | 28.510638 | 97 | 0.642164 | 377 | 2,680 | 4.408488 | 0.32626 | 0.075812 | 0.048135 | 0.072202 | 0.595668 | 0.503008 | 0.469314 | 0.434416 | 0.373045 | 0.373045 | 0 | 0.018953 | 0.251866 | 2,680 | 93 | 98 | 28.817204 | 0.809975 | 0.38806 | 0 | 0.723404 | 0 | 0 | 0.013802 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 1 | 0.382979 | false | 0 | 0.021277 | 0.255319 | 0.787234 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3ecef8cd6dbb9154f66478884ee846e62f1b605e | 95 | py | Python | localflavor_forms/apps.py | ankurchopra87/django-localflavor-forms | bd8e42171ad3e1805549e3c52be1c3427bf5b47d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | localflavor_forms/apps.py | ankurchopra87/django-localflavor-forms | bd8e42171ad3e1805549e3c52be1c3427bf5b47d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | localflavor_forms/apps.py | ankurchopra87/django-localflavor-forms | bd8e42171ad3e1805549e3c52be1c3427bf5b47d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from django.apps import AppConfig
class LocalformsConfig(AppConfig):
name = 'localforms'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.