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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b09378f8411df1a193d4cf111277a07aae6c883d | 8,682 | py | Python | tests/test_runstatus_page_maintenance.py | cruncher/python-exoscale | b74dcb2fa02ece53dcccc089267e2c69cbed2e31 | [
"0BSD"
] | null | null | null | tests/test_runstatus_page_maintenance.py | cruncher/python-exoscale | b74dcb2fa02ece53dcccc089267e2c69cbed2e31 | [
"0BSD"
] | null | null | null | tests/test_runstatus_page_maintenance.py | cruncher/python-exoscale | b74dcb2fa02ece53dcccc089267e2c69cbed2e31 | [
"0BSD"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import pytest
from exoscale.api.runstatus import *
from datetime import timezone
class TestRunstatusPageMaintenance:
def test_add_event(self, exo, runstatus_page):
page = Page._from_rs(exo.runstatus, runstatus_page())
test_maintenance_title = "Databa... | 42.145631 | 87 | 0.612532 | 953 | 8,682 | 5.322141 | 0.094439 | 0.192232 | 0.028391 | 0.047319 | 0.801656 | 0.745071 | 0.673107 | 0.655363 | 0.613762 | 0.613762 | 0 | 0.017756 | 0.266989 | 8,682 | 205 | 88 | 42.35122 | 0.779227 | 0.004953 | 0 | 0.542373 | 0 | 0 | 0.167072 | 0.036239 | 0 | 0 | 0 | 0 | 0.135593 | 1 | 0.022599 | false | 0 | 0.016949 | 0 | 0.045198 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b095254a63217235f294224c08829999bcf87d8e | 483 | py | Python | z_test_scripts/grammar_check.py | ritwikbiswas/argos | 4f5a6aa80d40ec32623871145d954e51d6f014a4 | [
"MIT"
] | null | null | null | z_test_scripts/grammar_check.py | ritwikbiswas/argos | 4f5a6aa80d40ec32623871145d954e51d6f014a4 | [
"MIT"
] | null | null | null | z_test_scripts/grammar_check.py | ritwikbiswas/argos | 4f5a6aa80d40ec32623871145d954e51d6f014a4 | [
"MIT"
] | null | null | null | import sys
import string
from gingerit.gingerit import GingerIt
text = "a second season suggest things are going well yeah so when you put. when you and Alan page this and then what did you tell the people clicks. what we pay so we just said we want to do. at a show about me and kind of based on my observations of my ... | 60.375 | 361 | 0.772257 | 92 | 483 | 4.054348 | 0.717391 | 0.037534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184265 | 483 | 8 | 362 | 60.375 | 0.946701 | 0 | 0 | 0 | 0 | 0.166667 | 0.739669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b0cb33a86164110dd67508643557a043148334eb | 448 | py | Python | PlanningBoard/migrations/0021_auto_20180215_1419.py | insung151/Pwannar | 9f0be39e763dfc709a4b43a2498a95a19bfa435f | [
"MIT"
] | null | null | null | PlanningBoard/migrations/0021_auto_20180215_1419.py | insung151/Pwannar | 9f0be39e763dfc709a4b43a2498a95a19bfa435f | [
"MIT"
] | 4 | 2018-02-14T11:58:51.000Z | 2018-02-14T14:03:16.000Z | PlanningBoard/migrations/0021_auto_20180215_1419.py | insung151/Pwannar | 9f0be39e763dfc709a4b43a2498a95a19bfa435f | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-02-15 05:19
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('PlanningBoard', '0020_auto_20180215_1416'),
]
operations = [
migrations.RemoveField(
model_name='planning',
name='invite_url... | 20.363636 | 53 | 0.575893 | 44 | 448 | 5.704545 | 0.727273 | 0.167331 | 0.207171 | 0.239044 | 0.334661 | 0.334661 | 0 | 0 | 0 | 0 | 0 | 0.100977 | 0.314732 | 448 | 21 | 54 | 21.333333 | 0.716612 | 0.100446 | 0 | 0.4 | 1 | 0 | 0.177057 | 0.057357 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0f885e18677e10f71f8acf76755674665929e34 | 170 | py | Python | apps/flaskapp/common/const.py | nao708810/flask-template | 87a260d8d026922594bf138e6aaa4309609af7d6 | [
"Unlicense"
] | null | null | null | apps/flaskapp/common/const.py | nao708810/flask-template | 87a260d8d026922594bf138e6aaa4309609af7d6 | [
"Unlicense"
] | null | null | null | apps/flaskapp/common/const.py | nao708810/flask-template | 87a260d8d026922594bf138e6aaa4309609af7d6 | [
"Unlicense"
] | null | null | null | '''
INIファイルを兼ねたクラス
'''
#---------------------------------------------
# 共通定数
#---------------------------------------------
list_q = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
| 18.888889 | 46 | 0.217647 | 15 | 170 | 2.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087248 | 0.123529 | 170 | 8 | 47 | 21.25 | 0.154362 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0fe2a06c30405ef70f72efe81c8c9e44a5a8dc4 | 351 | py | Python | flake8_force_keyword_arguments/__init__.py | isac322/flake8-force-keyword-arguments | 32b5daa0f3183475abba3610adc02878c56d4f11 | [
"MIT"
] | 1 | 2021-11-05T21:16:10.000Z | 2021-11-05T21:16:10.000Z | flake8_force_keyword_arguments/__init__.py | isac322/flake8-force-keyword-arguments | 32b5daa0f3183475abba3610adc02878c56d4f11 | [
"MIT"
] | 24 | 2021-11-05T21:41:07.000Z | 2022-03-25T16:25:36.000Z | flake8_force_keyword_arguments/__init__.py | isac322/flake8-force-keyword-arguments | 32b5daa0f3183475abba3610adc02878c56d4f11 | [
"MIT"
] | null | null | null | # mypy: allow_untyped_calls
import sys
if sys.version_info < (3, 8):
from typing_extensions import Final
from importlib_metadata import version
else:
from typing import Final
from importlib.metadata import version
__version__: Final[str] = version(__name__)
from flake8_force_keyword_arguments.checke... | 23.4 | 72 | 0.777778 | 47 | 351 | 5.468085 | 0.574468 | 0.077821 | 0.116732 | 0.18677 | 0.350195 | 0.350195 | 0.350195 | 0 | 0 | 0 | 0 | 0.020548 | 0.168091 | 351 | 14 | 73 | 25.071429 | 0.859589 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 3 |
7c06bf80b8a7e10249b4d544528b24cbcf40b86d | 42 | py | Python | oocgcm/oceanmodels/__init__.py | suyashbire1/oocgcm | c9616872077494b14b41915d1b6202aeea545c82 | [
"Apache-2.0"
] | 38 | 2016-04-05T06:15:42.000Z | 2021-08-31T17:10:00.000Z | oocgcm/oceanmodels/__init__.py | suyashbire1/oocgcm | c9616872077494b14b41915d1b6202aeea545c82 | [
"Apache-2.0"
] | 42 | 2016-04-16T07:47:40.000Z | 2022-03-10T19:42:25.000Z | oocgcm/oceanmodels/__init__.py | suyashbire1/oocgcm | c9616872077494b14b41915d1b6202aeea545c82 | [
"Apache-2.0"
] | 12 | 2016-05-09T15:15:01.000Z | 2020-01-12T10:24:29.000Z | #!/usr/bin/env python
__all__ = ["nemo"]
| 10.5 | 21 | 0.619048 | 6 | 42 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 22 | 14 | 0.611111 | 0.47619 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9fe64d2401dcc26272de654dc99151c30f2cfac8 | 828 | py | Python | fdap/app/contracts/repositories.py | miniyus/AutomaticPosting-Python | 0627066e60d5cd474ed858e1567bcf6b5b1d9336 | [
"MIT"
] | null | null | null | fdap/app/contracts/repositories.py | miniyus/AutomaticPosting-Python | 0627066e60d5cd474ed858e1567bcf6b5b1d9336 | [
"MIT"
] | 1 | 2021-11-06T02:30:37.000Z | 2021-11-06T02:30:37.000Z | fdap/app/contracts/repositories.py | miniyus/AutomaticPosting-Python | 0627066e60d5cd474ed858e1567bcf6b5b1d9336 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from fdap.utils.data import BaseData
from typing import Union, Dict
"""
Abstract Repositories
"""
class Repository(ABC):
@abstractmethod
def all(self):
pass
@abstractmethod
def create(self, data: BaseData):
pass
@abstractmethod
def find(s... | 17.25 | 66 | 0.660628 | 91 | 828 | 5.989011 | 0.373626 | 0.187156 | 0.192661 | 0.121101 | 0.273395 | 0.106422 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247585 | 828 | 47 | 67 | 17.617021 | 0.874799 | 0 | 0 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0.310345 | 0.103448 | 0 | 0.482759 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9ffdfdf735aa0466f3b4543dc9b8d14a2a226d06 | 331 | py | Python | BOJ13234.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | 2 | 2019-03-05T15:42:46.000Z | 2019-07-24T15:52:36.000Z | BOJ13234.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | null | null | null | BOJ13234.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | null | null | null | s=input().split()
if s[1]=='OR':
if s[0]=='true':
print('true')
else:
if s[2]=='true':
print('true')
else:
print('false')
else:
if s[0]=='false':
print('false')
else:
if s[2]=='true':
print('true')
else:
prin... | 18.388889 | 26 | 0.383686 | 40 | 331 | 3.175 | 0.3 | 0.11811 | 0.307087 | 0.401575 | 0.685039 | 0.551181 | 0.551181 | 0.551181 | 0.551181 | 0.551181 | 0 | 0.025381 | 0.404834 | 331 | 17 | 27 | 19.470588 | 0.619289 | 0 | 0 | 0.764706 | 0 | 0 | 0.138973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b00b6bc2a856be74f7d83b4b029c14b594a69032 | 841 | py | Python | setup.py | HabebusRizmius/pylarms | 154f4c4792af3770d2ef34d166422e08d1cfcd38 | [
"MIT"
] | null | null | null | setup.py | HabebusRizmius/pylarms | 154f4c4792af3770d2ef34d166422e08d1cfcd38 | [
"MIT"
] | null | null | null | setup.py | HabebusRizmius/pylarms | 154f4c4792af3770d2ef34d166422e08d1cfcd38 | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name='pylarms',
packages=['pylarms'],
version='0.0.1',
license='MIT',
description='Includes an alarm and timer.',
author='Habeb Rizmi',
author_email='habeb.rizmi@hotmail.com',
url='https://github.com/HabebusRizmius/pylarms',
download_url='https... | 35.041667 | 81 | 0.609988 | 90 | 841 | 5.666667 | 0.633333 | 0.14902 | 0.196078 | 0.203922 | 0.14902 | 0.14902 | 0 | 0 | 0 | 0 | 0 | 0.020062 | 0.229489 | 841 | 23 | 82 | 36.565217 | 0.766975 | 0 | 0 | 0 | 0 | 0 | 0.58264 | 0.027348 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.043478 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b01116fcaebe6ba26fccdfdebf26631563800811 | 322 | py | Python | day1/while.py | anishLearnsToCode/python-workshop-4 | d34c312d17c0d4194b2a1d269b8c0e2a56a04699 | [
"MIT"
] | 4 | 2020-07-15T13:47:10.000Z | 2021-09-15T20:28:50.000Z | day1/while.py | anishLearnsToCode/python-workshop-4 | d34c312d17c0d4194b2a1d269b8c0e2a56a04699 | [
"MIT"
] | null | null | null | day1/while.py | anishLearnsToCode/python-workshop-4 | d34c312d17c0d4194b2a1d269b8c0e2a56a04699 | [
"MIT"
] | 2 | 2020-07-18T03:28:03.000Z | 2020-11-01T00:56:02.000Z | """
While Loop
while predicate:
code
predicate --> code --> predicate --> code --> predicate --> false --> loop end
(condition --> code) --> condition false --> loop end
"""
# infinite loop
# while True:
# print('hello world')
i = 0
while i < 5:
print(i)
i += 1 # i = i + 1
print('i am outside loop'... | 15.333333 | 78 | 0.568323 | 43 | 322 | 4.255814 | 0.418605 | 0.213115 | 0.360656 | 0.284153 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016598 | 0.251553 | 322 | 20 | 79 | 16.1 | 0.742739 | 0.723602 | 0 | 0 | 0 | 0 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b01f5ba962fe8ad8aa700be90e287649d09e0904 | 1,467 | py | Python | www/stop_words.py | gcraig/CaptionMe | 891cd7d24f727854a090fcd242e907ea380833cb | [
"MIT"
] | null | null | null | www/stop_words.py | gcraig/CaptionMe | 891cd7d24f727854a090fcd242e907ea380833cb | [
"MIT"
] | null | null | null | www/stop_words.py | gcraig/CaptionMe | 891cd7d24f727854a090fcd242e907ea380833cb | [
"MIT"
] | null | null | null |
# cp'ed from http://99webtools.com/list-english-stop-words.php
stop_words = ["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got",... | 209.571429 | 1,377 | 0.562372 | 264 | 1,467 | 3.117424 | 0.583333 | 0.032807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002747 | 0.007498 | 1,467 | 7 | 1,378 | 209.571429 | 0.5625 | 0.055215 | 0 | 0 | 0 | 0 | 0.588576 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b036f34ccd7d4c7301adf3034491a9f8dbebf1b1 | 145 | py | Python | WMIAdventure/backend/WMIAdventure_backend/battle/urls.py | Michael-Czekanski/WMIAdventure-1 | ea812b13de0cd6c47c541cbede2d016a7837b4b8 | [
"Apache-2.0"
] | 2 | 2021-05-26T15:12:33.000Z | 2021-12-09T17:17:19.000Z | WMIAdventure/backend/WMIAdventure_backend/battle/urls.py | Michael-Czekanski/WMIAdventure-1 | ea812b13de0cd6c47c541cbede2d016a7837b4b8 | [
"Apache-2.0"
] | 558 | 2021-05-27T05:41:23.000Z | 2022-02-27T21:50:54.000Z | WMIAdventure/backend/WMIAdventure_backend/battle/urls.py | Michael-Czekanski/WMIAdventure-1 | ea812b13de0cd6c47c541cbede2d016a7837b4b8 | [
"Apache-2.0"
] | 4 | 2021-05-26T15:09:29.000Z | 2022-03-13T15:28:07.000Z | from django.urls import path
from .views import *
urlpatterns = [
path('<int:defender_id>/', BattleView.as_view(), name='battle-attack'),
]
| 20.714286 | 75 | 0.696552 | 19 | 145 | 5.210526 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 6 | 76 | 24.166667 | 0.792 | 0 | 0 | 0 | 0 | 0 | 0.213793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b041a787cc0c57716fd4899803250fd9239c72e1 | 361 | py | Python | benchmarks/count_items/count_items.py | hirnimeshrampuresoftware/iteration_utilities | a77a3d880a52cb663538d67415520d74e418a906 | [
"Apache-2.0"
] | 72 | 2016-09-12T03:01:02.000Z | 2022-03-05T16:54:45.000Z | benchmarks/count_items/count_items.py | hirnimeshrampuresoftware/iteration_utilities | a77a3d880a52cb663538d67415520d74e418a906 | [
"Apache-2.0"
] | 127 | 2016-09-14T02:07:33.000Z | 2022-03-19T13:17:32.000Z | benchmarks/count_items/count_items.py | hirnimeshrampuresoftware/iteration_utilities | a77a3d880a52cb663538d67415520d74e418a906 | [
"Apache-2.0"
] | 11 | 2017-02-22T20:40:37.000Z | 2022-03-05T16:55:40.000Z | import iteration_utilities
import more_itertools
def bench_iu_count_items(iterable, func=iteration_utilities.count_items):
return func(iterable)
def bench_more_itertools_ilen(iterable, func=more_itertools.ilen):
return func(iterable)
def args_list_length():
for exponent in range(2, 18):
size = 2*... | 25.785714 | 73 | 0.750693 | 50 | 361 | 5.16 | 0.52 | 0.151163 | 0.139535 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016611 | 0.166205 | 361 | 13 | 74 | 27.769231 | 0.840532 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.2 | 0.7 | 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 | 0 | 0 | 0 | 3 |
b05794acc7c23124bacf3d986cea730557dd5d92 | 137 | py | Python | Curso_em_Video_py3/ex016.py | Rodrigo98Matos/Projetos_py | 6428e2c09d28fd8a717743f4434bc788e7d7d3cc | [
"MIT"
] | 1 | 2021-05-11T12:39:43.000Z | 2021-05-11T12:39:43.000Z | Curso_em_Video_py3/ex016.py | Rodrigo98Matos/Projetos_py | 6428e2c09d28fd8a717743f4434bc788e7d7d3cc | [
"MIT"
] | null | null | null | Curso_em_Video_py3/ex016.py | Rodrigo98Matos/Projetos_py | 6428e2c09d28fd8a717743f4434bc788e7d7d3cc | [
"MIT"
] | null | null | null | from math import trunc
n = float(input('digite um número: '))
print('valor digitado: {} \nsua porção inteira é: {}'.format(n, trunc(n)))
| 34.25 | 74 | 0.678832 | 21 | 137 | 4.428571 | 0.857143 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138686 | 137 | 3 | 75 | 45.666667 | 0.788136 | 0 | 0 | 0 | 0 | 0 | 0.459854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c65b989a671a8ad8d7395254c40b5a41a12d9d21 | 203 | py | Python | src/lcmap/client/api/base.py | lcmap/client-py | fc356d9b2917f8e2d0e73048c9bf86982caa6676 | [
"NASA-1.3"
] | null | null | null | src/lcmap/client/api/base.py | lcmap/client-py | fc356d9b2917f8e2d0e73048c9bf86982caa6676 | [
"NASA-1.3"
] | null | null | null | src/lcmap/client/api/base.py | lcmap/client-py | fc356d9b2917f8e2d0e73048c9bf86982caa6676 | [
"NASA-1.3"
] | null | null | null | import logging
log = logging.getLogger(__name__)
class APIComponent(object):
def __init__(self, http):
self.http = http
self.initialize()
def initialize(self):
pass
| 13.533333 | 33 | 0.635468 | 22 | 203 | 5.5 | 0.636364 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270936 | 203 | 14 | 34 | 14.5 | 0.817568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c661a4c5ed4e76047e6d1950f472fd3c4ea51d96 | 664 | py | Python | patterns2/basic_hue_change.py | tfbninja/SpotifyRGB | 9e41e52c06b543bbffba754cbb042558948ae23f | [
"MIT"
] | null | null | null | patterns2/basic_hue_change.py | tfbninja/SpotifyRGB | 9e41e52c06b543bbffba754cbb042558948ae23f | [
"MIT"
] | null | null | null | patterns2/basic_hue_change.py | tfbninja/SpotifyRGB | 9e41e52c06b543bbffba754cbb042558948ae23f | [
"MIT"
] | null | null | null | from colour import Color
from patterns2.pattern import pattern
class basic_hue_change(pattern):
@staticmethod
def isDisco():
return False
@staticmethod
def getName():
return "basic_hue_change"
# now_playing can be null, doesn't matter. only added so that all patterns have same init variables
def __init__... | 20.75 | 100 | 0.731928 | 98 | 664 | 4.826531 | 0.55102 | 0.095137 | 0.10148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014679 | 0.179217 | 664 | 31 | 101 | 21.419355 | 0.853211 | 0.212349 | 0 | 0.095238 | 0 | 0 | 0.036538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.047619 | 0.095238 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c673a48136c53ea1903a047239ecefb60e390a5a | 460 | py | Python | messages/ClientDeleteResponseMessage.py | zadjii/nebula | 50c4ec019c9f7eb15fe105a6c53a8a12880e281c | [
"MIT"
] | 2 | 2020-04-15T11:20:59.000Z | 2021-05-12T13:01:36.000Z | messages/ClientDeleteResponseMessage.py | zadjii/nebula | 50c4ec019c9f7eb15fe105a6c53a8a12880e281c | [
"MIT"
] | 1 | 2018-06-05T04:48:56.000Z | 2018-06-05T04:48:56.000Z | messages/ClientDeleteResponseMessage.py | zadjii/nebula | 50c4ec019c9f7eb15fe105a6c53a8a12880e281c | [
"MIT"
] | 1 | 2018-08-15T06:45:46.000Z | 2018-08-15T06:45:46.000Z | # last generated 2018-05-11 00:36:23.505000
from messages import BaseMessage
from msg_codes import CLIENT_DELETE_RESPONSE as CLIENT_DELETE_RESPONSE
__author__ = 'Mike'
class ClientDeleteResponseMessage(BaseMessage):
def __init__(self):
super(ClientDeleteResponseMessage, self).__init__()
self.type ... | 27.058824 | 70 | 0.754348 | 50 | 460 | 6.54 | 0.66 | 0.110092 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05305 | 0.180435 | 460 | 16 | 71 | 28.75 | 0.814324 | 0.08913 | 0 | 0 | 1 | 0 | 0.009615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.181818 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c674efa7bc188c98ce4b7c230dae37f961214b01 | 163 | py | Python | fun2.py | noor20-meet/meet2018y1lab7 | 69bbfa44746d549c47bcfdc04e0c1bb9c5bbd057 | [
"MIT"
] | null | null | null | fun2.py | noor20-meet/meet2018y1lab7 | 69bbfa44746d549c47bcfdc04e0c1bb9c5bbd057 | [
"MIT"
] | null | null | null | fun2.py | noor20-meet/meet2018y1lab7 | 69bbfa44746d549c47bcfdc04e0c1bb9c5bbd057 | [
"MIT"
] | null | null | null |
def add_numbers(start,end):
c=0
for adding in range(start,end):
c = c +adding
return c
test1 = add_numbers(333,777)
print(test1)
| 11.642857 | 35 | 0.582822 | 25 | 163 | 3.72 | 0.64 | 0.215054 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080357 | 0.312883 | 163 | 13 | 36 | 12.538462 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c68b4e66c8a10ee09b5c17a1bd08634962349b54 | 669 | py | Python | gva/data/writers/null_writer.py | gva-jjoyce/gva_data | cda990d0abb4b175025aaf16e75192bd9cc213af | [
"Apache-2.0"
] | null | null | null | gva/data/writers/null_writer.py | gva-jjoyce/gva_data | cda990d0abb4b175025aaf16e75192bd9cc213af | [
"Apache-2.0"
] | 24 | 2020-12-24T12:21:42.000Z | 2021-01-28T14:22:38.000Z | gva/data/writers/null_writer.py | gva-jjoyce/gva_data | cda990d0abb4b175025aaf16e75192bd9cc213af | [
"Apache-2.0"
] | null | null | null | """
Null Writer
Impotent writer for testing, writes to the log to help with debugging.
"""
from ...logging import get_logger
from .internals.base_writer import BaseWriter
class NullWriter(BaseWriter):
def __init__(self, **kwargs):
super().__init__(**kwargs)
kwargs_passed = [f"{k}={v... | 26.76 | 103 | 0.630792 | 82 | 669 | 4.853659 | 0.54878 | 0.075377 | 0.105528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251121 | 669 | 24 | 104 | 27.875 | 0.794411 | 0.124066 | 0 | 0 | 0 | 0 | 0.166065 | 0.126354 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.142857 | 0.142857 | 0.071429 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c68b7ac5e45bc064f90217e188da727abdc016e1 | 747 | py | Python | tests/utils/test_compatibility.py | pyapp-org/pyapp | 46c9e8e3dbf1a872628fad8224b99b458972c92c | [
"BSD-3-Clause"
] | 5 | 2020-01-09T14:46:33.000Z | 2021-04-23T15:25:11.000Z | tests/utils/test_compatibility.py | pyapp-org/pyapp | 46c9e8e3dbf1a872628fad8224b99b458972c92c | [
"BSD-3-Clause"
] | 111 | 2019-06-30T05:45:57.000Z | 2022-03-28T11:15:29.000Z | tests/utils/test_compatibility.py | pyapp-org/pyapp | 46c9e8e3dbf1a872628fad8224b99b458972c92c | [
"BSD-3-Clause"
] | 2 | 2019-05-29T09:01:10.000Z | 2021-04-23T15:25:32.000Z | from pyapp.utils import compatibility
def test_deprecated__function(recwarn):
@compatibility.deprecated("Gone in version x.y")
def my_function():
return "abc"
# Assert warning not raised
assert len(recwarn) == 0
value = my_function()
assert value == "abc"
# Assert warning raised... | 21.970588 | 52 | 0.681392 | 87 | 747 | 5.758621 | 0.37931 | 0.103792 | 0.11976 | 0.175649 | 0.61477 | 0.61477 | 0.61477 | 0.61477 | 0.279441 | 0.279441 | 0 | 0.006957 | 0.230254 | 747 | 33 | 53 | 22.636364 | 0.864348 | 0.127175 | 0 | 0.421053 | 0 | 0 | 0.068006 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.157895 | false | 0.052632 | 0.052632 | 0.052632 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c6c1f2dd029c1eb6229997a34ea1d24689d18ae8 | 2,414 | py | Python | web/migrations/0001_initial.py | skinfiter/task_manger | 97fb101203efe0db801f0bb1843742e1ccb78dfd | [
"Apache-2.0"
] | null | null | null | web/migrations/0001_initial.py | skinfiter/task_manger | 97fb101203efe0db801f0bb1843742e1ccb78dfd | [
"Apache-2.0"
] | null | null | null | web/migrations/0001_initial.py | skinfiter/task_manger | 97fb101203efe0db801f0bb1843742e1ccb78dfd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-07-26 06:00
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Group',... | 37.71875 | 114 | 0.542668 | 232 | 2,414 | 5.474138 | 0.275862 | 0.188976 | 0.226772 | 0.302362 | 0.707874 | 0.532283 | 0.451181 | 0.451181 | 0.311024 | 0.311024 | 0 | 0.035003 | 0.313587 | 2,414 | 63 | 115 | 38.31746 | 0.731442 | 0.027755 | 0 | 0.490909 | 1 | 0 | 0.067406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.018182 | 0.036364 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c6cbc1f18be28ad83c3d89d49ec8d90b76c48b16 | 81 | py | Python | hexia_pages/__init__.py | HenryMehta/hexia-pages | c08f1c19d2c73d1ad7e44a1636ebc7ee5ffd8b0c | [
"MIT"
] | null | null | null | hexia_pages/__init__.py | HenryMehta/hexia-pages | c08f1c19d2c73d1ad7e44a1636ebc7ee5ffd8b0c | [
"MIT"
] | null | null | null | hexia_pages/__init__.py | HenryMehta/hexia-pages | c08f1c19d2c73d1ad7e44a1636ebc7ee5ffd8b0c | [
"MIT"
] | null | null | null | __version__ = '1.0.2'
default_app_config = 'hexia_pages.config.HexiaPagesConfig' | 27 | 58 | 0.802469 | 11 | 81 | 5.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.074074 | 81 | 3 | 58 | 27 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.487805 | 0.426829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c6cdd549bdf79c75f3dd1d7835cedb04faf0bd13 | 43,534 | py | Python | invoice_pb2.py | over55/workery-invoicebuilder | fcbc9f136aece45e550fdb547bc58890c7aa1cc7 | [
"BSD-3-Clause"
] | null | null | null | invoice_pb2.py | over55/workery-invoicebuilder | fcbc9f136aece45e550fdb547bc58890c7aa1cc7 | [
"BSD-3-Clause"
] | 3 | 2021-06-08T20:24:35.000Z | 2022-03-11T23:59:57.000Z | invoice_pb2.py | over55/workery-invoicebuilder | fcbc9f136aece45e550fdb547bc58890c7aa1cc7 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: invoice.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf imp... | 55.956298 | 4,106 | 0.731336 | 5,634 | 43,534 | 5.416578 | 0.081647 | 0.07445 | 0.068126 | 0.040043 | 0.681161 | 0.659075 | 0.644854 | 0.644854 | 0.641839 | 0.641839 | 0 | 0.056669 | 0.133367 | 43,534 | 777 | 4,107 | 56.028314 | 0.7522 | 0.006294 | 0 | 0.682667 | 1 | 0.002667 | 0.1559 | 0.111324 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006667 | 0 | 0.006667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
c6eb2d6f246b851c51ba0b89985693e3bf1d2c63 | 232 | py | Python | untitled16.py | tasselcui/misc | 4dfe0d9386b472a574d419492df0cdc9dedb164a | [
"MIT"
] | null | null | null | untitled16.py | tasselcui/misc | 4dfe0d9386b472a574d419492df0cdc9dedb164a | [
"MIT"
] | null | null | null | untitled16.py | tasselcui/misc | 4dfe0d9386b472a574d419492df0cdc9dedb164a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Aug 19 23:20:37 2018
@author: cui
"""
class Solution(object):
def insertionSortList(self, head):
"""
:type head: ListNode
:rtype: ListNode
"""
| 16.571429 | 38 | 0.525862 | 26 | 232 | 4.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 0.318966 | 232 | 14 | 39 | 16.571429 | 0.689873 | 0.474138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c6ebf9d1b7baef0561d6af03c1d9e54f4ebd4194 | 541 | py | Python | engpy/fundamentals/assorted.py | Blueprime-C/engpy-beta | a356365c675c8423e1af114916b9ffcbfc251cf7 | [
"MIT"
] | null | null | null | engpy/fundamentals/assorted.py | Blueprime-C/engpy-beta | a356365c675c8423e1af114916b9ffcbfc251cf7 | [
"MIT"
] | 1 | 2021-09-02T09:09:36.000Z | 2021-09-02T09:09:36.000Z | engpy/fundamentals/assorted.py | Blueprime-C/engpy-beta | a356365c675c8423e1af114916b9ffcbfc251cf7 | [
"MIT"
] | null | null | null | from math import factorial
from engpy.misc.assist import getter
from .primary import Num
def P(n, r):
return int(factorial(n) / factorial(n - r))
def C(n, r):
return int(P(n, r) / factorial(r))
def GCD(*factors):
if len(factors) == 1: return factors[0]
from .xtension import EGCD
for factor in ... | 21.64 | 70 | 0.626617 | 84 | 541 | 4.035714 | 0.416667 | 0.023599 | 0.017699 | 0.064897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012019 | 0.231054 | 541 | 24 | 71 | 22.541667 | 0.802885 | 0 | 0 | 0 | 0 | 0 | 0.014787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.1875 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c6ee6637e5b29e5bbc9edba4a2c0c1defe916435 | 12,840 | gyp | Python | tools.gyp | MicrohexHQ/nacl_contracts | 3efab5eecb3cf7ba43f2d61000e65918aa4ba77a | [
"BSD-3-Clause"
] | 6 | 2015-02-06T23:41:01.000Z | 2015-10-21T03:08:51.000Z | tools.gyp | MicrohexHQ/nacl_contracts | 3efab5eecb3cf7ba43f2d61000e65918aa4ba77a | [
"BSD-3-Clause"
] | null | null | null | tools.gyp | MicrohexHQ/nacl_contracts | 3efab5eecb3cf7ba43f2d61000e65918aa4ba77a | [
"BSD-3-Clause"
] | 1 | 2019-10-02T08:41:50.000Z | 2019-10-02T08:41:50.000Z | # Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
######################################################################
'includes': [
'build/common.gypi',
],
##############################... | 31.470588 | 107 | 0.429751 | 1,082 | 12,840 | 4.767098 | 0.113678 | 0.042652 | 0.065917 | 0.051183 | 0.786157 | 0.752811 | 0.727995 | 0.672741 | 0.603529 | 0.565335 | 0 | 0.028929 | 0.402336 | 12,840 | 407 | 108 | 31.547912 | 0.643211 | 0.012383 | 0 | 0.613466 | 0 | 0 | 0.478105 | 0.188721 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
05a734ddb27d8c649d11c9c44288677eaa71f63f | 674 | py | Python | django_celery_downloader/tests/views_test.py | AASHE/django-celery-downloader | 467ba97bbc4daf4a3a6e80a3c167105d07980562 | [
"MIT"
] | 4 | 2018-11-18T17:11:41.000Z | 2022-02-17T07:32:14.000Z | django_celery_downloader/tests/views_test.py | AASHE/django-celery-downloader | 467ba97bbc4daf4a3a6e80a3c167105d07980562 | [
"MIT"
] | 2 | 2020-02-11T22:07:40.000Z | 2021-06-10T17:40:06.000Z | django_celery_downloader/tests/views_test.py | AASHE/django-celery-downloader | 467ba97bbc4daf4a3a6e80a3c167105d07980562 | [
"MIT"
] | 1 | 2016-03-23T00:15:51.000Z | 2016-03-23T00:15:51.000Z | """
Test that 2 of 3 views are working properly
A good faith effort: unit tests only, integration tests coming soon
I can't test the async tasks unitl I get selenium integration tests running
"""
from django.test import TestCase
from django.test.client import Client
class ViewsTest(TestCase):
def s... | 24.962963 | 79 | 0.683976 | 93 | 674 | 4.892473 | 0.55914 | 0.065934 | 0.061538 | 0.087912 | 0.312088 | 0.312088 | 0.153846 | 0 | 0 | 0 | 0 | 0.017208 | 0.224036 | 674 | 26 | 80 | 25.923077 | 0.852772 | 0.280415 | 0 | 0.153846 | 0 | 0 | 0.060215 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.307692 | false | 0.076923 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
05b0696850d1e71575adc44d142f6fe99997b39e | 1,433 | py | Python | pubsub_client/types/topic.py | halvards/pubsub-appengine-python | cca36d0185ae8114db83f6714d37e895625cb15c | [
"Apache-2.0"
] | null | null | null | pubsub_client/types/topic.py | halvards/pubsub-appengine-python | cca36d0185ae8114db83f6714d37e895625cb15c | [
"Apache-2.0"
] | null | null | null | pubsub_client/types/topic.py | halvards/pubsub-appengine-python | cca36d0185ae8114db83f6714d37e895625cb15c | [
"Apache-2.0"
] | 1 | 2021-04-29T06:51:03.000Z | 2021-04-29T06:51:03.000Z | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 33.325581 | 77 | 0.635729 | 198 | 1,433 | 4.565657 | 0.555556 | 0.066372 | 0.029867 | 0.039823 | 0.063053 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0.012774 | 0.235171 | 1,433 | 42 | 78 | 34.119048 | 0.812044 | 0.815771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
05b60071c79dd061b9a6895723919ae7f98e3cfe | 136 | py | Python | ois_api_client/v3_0/dto/LineOperation.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | 7 | 2020-10-22T08:15:29.000Z | 2022-01-27T07:59:39.000Z | ois_api_client/v3_0/dto/LineOperation.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | null | null | null | ois_api_client/v3_0/dto/LineOperation.py | peterkulik/ois_api_client | 51dabcc9f920f89982c4419bb058f5a88193cee0 | [
"MIT"
] | null | null | null | from enum import Enum
class LineOperation(Enum):
"""Invoice line modification type"""
CREATE = 'CREATE'
MODIFY = 'MODIFY'
| 17 | 40 | 0.669118 | 15 | 136 | 6.066667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 136 | 7 | 41 | 19.428571 | 0.858491 | 0.220588 | 0 | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
05c0b59ace61a309bcfdb018d7b6803320989508 | 695 | py | Python | backend/graph/migrations/0010_auto_20210609_1644.py | is-a-clam/IA-stock-app | 6d152bee680f07a47e39ad8b9ff7c433d11817be | [
"MIT"
] | null | null | null | backend/graph/migrations/0010_auto_20210609_1644.py | is-a-clam/IA-stock-app | 6d152bee680f07a47e39ad8b9ff7c433d11817be | [
"MIT"
] | null | null | null | backend/graph/migrations/0010_auto_20210609_1644.py | is-a-clam/IA-stock-app | 6d152bee680f07a47e39ad8b9ff7c433d11817be | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-06-09 16:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('graph', '0009_alter_stock_quote'),
]
operations = [
migrations.AlterField(
model_name='stock',
name='companyName',
... | 23.965517 | 51 | 0.56259 | 67 | 695 | 5.701493 | 0.537313 | 0.157068 | 0.196335 | 0.227749 | 0.549738 | 0.549738 | 0.366492 | 0.366492 | 0.366492 | 0.366492 | 0 | 0.057447 | 0.323741 | 695 | 28 | 52 | 24.821429 | 0.755319 | 0.061871 | 0 | 0.545455 | 1 | 0 | 0.104615 | 0.033846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
05ccf2ab7471e18d05753b74f902ba423f5bff32 | 309 | py | Python | answers/Anuraj Pariya/day 16/question 2.py | justshivam/30-DaysOfCode-March-2021 | 64d434c07b9ec875384dee681a3eecefab3ddef0 | [
"MIT"
] | 22 | 2021-03-16T14:07:47.000Z | 2021-08-13T08:52:50.000Z | answers/Anuraj Pariya/day 16/question 2.py | justshivam/30-DaysOfCode-March-2021 | 64d434c07b9ec875384dee681a3eecefab3ddef0 | [
"MIT"
] | 174 | 2021-03-16T21:16:40.000Z | 2021-06-12T05:19:51.000Z | answers/Anuraj Pariya/day 16/question 2.py | justshivam/30-DaysOfCode-March-2021 | 64d434c07b9ec875384dee681a3eecefab3ddef0 | [
"MIT"
] | 135 | 2021-03-16T16:47:12.000Z | 2021-06-27T14:22:38.000Z |
def find_Transition_Point(arr, n):
for i in range(n):
if(arr[i] == 1):
return i
return -1
arr = list(map(int,input('enter NUMS WITH SPACE').split()))
n = len(arr)
point = find_Transition_Point(arr, n)
if point >= 0:
print("Transition point is", point)
else:
print("There is no transition point")
| 18.176471 | 59 | 0.669903 | 53 | 309 | 3.830189 | 0.54717 | 0.295567 | 0.187192 | 0.216749 | 0.226601 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.174757 | 309 | 16 | 60 | 19.3125 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.25 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
05edc2c98e830213e50cafb1971746b8a800b789 | 56 | py | Python | botbuilder_discord/client/listener/__init__.py | Joffreybvn/botbuilder-discord | c61e9f7636df6a4e5f7f71b9fdf78aa8f0dfce64 | [
"MIT"
] | null | null | null | botbuilder_discord/client/listener/__init__.py | Joffreybvn/botbuilder-discord | c61e9f7636df6a4e5f7f71b9fdf78aa8f0dfce64 | [
"MIT"
] | null | null | null | botbuilder_discord/client/listener/__init__.py | Joffreybvn/botbuilder-discord | c61e9f7636df6a4e5f7f71b9fdf78aa8f0dfce64 | [
"MIT"
] | null | null | null |
from .listener import Listener
__all__ = ["Listener"]
| 11.2 | 30 | 0.732143 | 6 | 56 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 4 | 31 | 14 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
af1072fdcfd77cc027daacaed4f9bc2c32df966c | 541 | py | Python | turnovertools/mediaobjects/__init__.py | morganwl/turnovertools | ea911853033ed5087b40852b5adc3b8f5d0a903d | [
"MIT"
] | null | null | null | turnovertools/mediaobjects/__init__.py | morganwl/turnovertools | ea911853033ed5087b40852b5adc3b8f5d0a903d | [
"MIT"
] | 3 | 2021-03-22T00:44:24.000Z | 2021-06-26T19:32:31.000Z | turnovertools/mediaobjects/__init__.py | morganwl/turnovertools | ea911853033ed5087b40852b5adc3b8f5d0a903d | [
"MIT"
] | null | null | null | """Classes of media objects (mobs) for internal representation and
manipulation. Functions for converting to and from various file formats
should be handled by adapters submodule.
All objects can be initialized with kwargs for all their attributes,
and have a to_dict() method for exporting their entire state. Mobs can... | 36.066667 | 71 | 0.807763 | 80 | 541 | 5.4375 | 0.6 | 0.05977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149723 | 541 | 14 | 72 | 38.642857 | 0.945652 | 0.654344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
af16756f9436c93ecf035d97c0e63aaf299c3b1c | 268 | py | Python | shortcuts/urls.py | sunlightlabs/django-shortcuts | 55033267de0d23b0327a126b93e5f30a21d100e0 | [
"BSD-3-Clause"
] | 2 | 2015-11-05T13:56:18.000Z | 2019-04-27T20:22:38.000Z | shortcuts/urls.py | sunlightlabs/django-shortcuts | 55033267de0d23b0327a126b93e5f30a21d100e0 | [
"BSD-3-Clause"
] | null | null | null | shortcuts/urls.py | sunlightlabs/django-shortcuts | 55033267de0d23b0327a126b93e5f30a21d100e0 | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
from django.conf.urls.defaults import *
SHORTCUT_PREFIX = getattr(settings, "SHORTCUT_PREFIX", "s")
urlpatterns = patterns('',
url(r'^%s/(?P<alias>\w+)/' % SHORTCUT_PREFIX, 'shortcuts.views.redirect', name="shortcut_redirect"),
) | 33.5 | 104 | 0.727612 | 34 | 268 | 5.617647 | 0.647059 | 0.219895 | 0.146597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100746 | 268 | 8 | 105 | 33.5 | 0.792531 | 0 | 0 | 0 | 0 | 0 | 0.282528 | 0.089219 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
af1b41df020b0045746d2fa5ff93510a60c4897c | 232 | py | Python | lstchain/io/__init__.py | sn621/cta-lstchain | d846d3b761d265e800026df4096d77eb4e5be8c3 | [
"BSD-3-Clause"
] | null | null | null | lstchain/io/__init__.py | sn621/cta-lstchain | d846d3b761d265e800026df4096d77eb4e5be8c3 | [
"BSD-3-Clause"
] | null | null | null | lstchain/io/__init__.py | sn621/cta-lstchain | d846d3b761d265e800026df4096d77eb4e5be8c3 | [
"BSD-3-Clause"
] | null | null | null | from .lstcontainers import DL1ParametersContainer
from .config import read_configuration_file
from .lsteventsource import LSTEventSource
all = [
'DL1ParametersContainer',
'read_configuration_file',
'LSTEventSource',
]
| 21.090909 | 49 | 0.793103 | 20 | 232 | 9 | 0.5 | 0.188889 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01005 | 0.142241 | 232 | 10 | 50 | 23.2 | 0.894472 | 0 | 0 | 0 | 0 | 0 | 0.25431 | 0.193966 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
af406f6b47bf3be991bb4a8e0a10102f61d4b6a8 | 113 | py | Python | db/db_passwds.py | TomasTorresB/nerve | 3a5381648999bede564e27facfd24f883cd143f9 | [
"MIT"
] | 365 | 2020-09-23T22:29:35.000Z | 2022-03-31T00:05:08.000Z | db/db_passwds.py | TomasTorresB/nerve | 3a5381648999bede564e27facfd24f883cd143f9 | [
"MIT"
] | 19 | 2020-10-01T01:10:04.000Z | 2022-01-25T19:22:33.000Z | db/db_passwds.py | TomasTorresB/nerve | 3a5381648999bede564e27facfd24f883cd143f9 | [
"MIT"
] | 94 | 2020-09-28T21:03:30.000Z | 2022-03-28T11:05:04.000Z |
known_weak = ['root', 'guest', 'test@123', 'test', 'test123456', '123456', 'password', 'admin', 'administrator'] | 56.5 | 112 | 0.637168 | 12 | 113 | 5.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0.097345 | 113 | 2 | 112 | 56.5 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0.557522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
af6478d2acef8b881e228684a9e4f526ad6988f6 | 79 | py | Python | image_tracker/config.py | Engin-Boot/transfer-images-s1b5 | 69625c9fb47e47008b1f7ad90f4f5447d51d8dfd | [
"MIT"
] | null | null | null | image_tracker/config.py | Engin-Boot/transfer-images-s1b5 | 69625c9fb47e47008b1f7ad90f4f5447d51d8dfd | [
"MIT"
] | null | null | null | image_tracker/config.py | Engin-Boot/transfer-images-s1b5 | 69625c9fb47e47008b1f7ad90f4f5447d51d8dfd | [
"MIT"
] | 1 | 2020-11-04T11:38:16.000Z | 2020-11-04T11:38:16.000Z | ADDRESS_OF_IMG_FILES = "../Sample_Image"
ADDRESS_OF_DATA_CSV_FILE = "Data.csv"
| 26.333333 | 40 | 0.797468 | 13 | 79 | 4.230769 | 0.692308 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 2 | 41 | 39.5 | 0.753425 | 0 | 0 | 0 | 0 | 0 | 0.291139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
af84f8d5b16e0fb2ca640428fc91df2d2cf1d8c1 | 228 | py | Python | gitup/__main__.py | hr157/git-repo-updater | 4ad20a6979226bf066740287accc8239d82a89ec | [
"MIT"
] | 772 | 2015-01-17T09:11:07.000Z | 2022-03-23T08:50:31.000Z | gitup/__main__.py | hr157/git-repo-updater | 4ad20a6979226bf066740287accc8239d82a89ec | [
"MIT"
] | 50 | 2015-03-12T14:33:51.000Z | 2022-03-10T07:58:54.000Z | gitup/__main__.py | hr157/git-repo-updater | 4ad20a6979226bf066740287accc8239d82a89ec | [
"MIT"
] | 110 | 2015-01-30T07:27:23.000Z | 2021-12-15T07:22:20.000Z | # -*- coding: utf-8 -*-
#
# Copyright (C) 2011-2018 Ben Kurtovic <ben.kurtovic@gmail.com>
# Released under the terms of the MIT License. See LICENSE for details.
from gitup.cli import run
if __name__ == "__main__":
run()
| 22.8 | 71 | 0.684211 | 34 | 228 | 4.352941 | 0.852941 | 0.148649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.184211 | 228 | 9 | 72 | 25.333333 | 0.747312 | 0.675439 | 0 | 0 | 0 | 0 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
af98c7cd9abcbc356a2a54f319064f00c8a59959 | 163 | py | Python | twilio_sample_project/settings/env.py | gaganmac/d4surveyHeroku | 7331a18cb56422d1f20fb9f1c6ffa178897f9b5f | [
"MIT"
] | 55 | 2015-10-01T15:39:05.000Z | 2021-11-15T20:08:01.000Z | twilio_sample_project/settings/env.py | gaganmac/d4surveyHeroku | 7331a18cb56422d1f20fb9f1c6ffa178897f9b5f | [
"MIT"
] | 151 | 2015-08-26T18:21:49.000Z | 2022-03-23T22:07:42.000Z | twilio_sample_project/settings/env.py | gaganmac/d4surveyHeroku | 7331a18cb56422d1f20fb9f1c6ffa178897f9b5f | [
"MIT"
] | 34 | 2015-10-26T05:42:23.000Z | 2021-04-20T08:00:45.000Z | import environ
root = environ.Path(__file__) - 3 # three folder back (/a/b/c/ - 3 = /)
env = environ.Env(DEBUG=(bool, False),) # set default values and casting
| 32.6 | 73 | 0.668712 | 25 | 163 | 4.2 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.177914 | 163 | 4 | 74 | 40.75 | 0.768657 | 0.404908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
afb52d1507e9be06e81949969155fed6251deb63 | 55 | py | Python | termicoder/judges/__init__.py | diveshuttam/termicoder_beta | fe8f8dcaf1696630380c803d404cc370278b2e77 | [
"MIT"
] | 15 | 2017-07-31T10:46:44.000Z | 2020-07-17T21:59:57.000Z | termicoder/judges/__init__.py | diveshuttam/termicoder_beta | fe8f8dcaf1696630380c803d404cc370278b2e77 | [
"MIT"
] | 49 | 2017-07-31T11:08:06.000Z | 2018-10-18T18:05:38.000Z | termicoder/judges/__init__.py | diveshuttam/termicoder_beta | fe8f8dcaf1696630380c803d404cc370278b2e77 | [
"MIT"
] | 5 | 2017-10-17T13:01:06.000Z | 2019-03-11T17:03:02.000Z | from .codechef import Codechef
__all__ = ['Codechef']
| 13.75 | 30 | 0.745455 | 6 | 55 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 3 | 31 | 18.333333 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
afccdfa1bd5e91e5b783415d9b65f09638f477ec | 673 | py | Python | Projects/web/blog/migrations/0003_auto_20200113_0854.py | EimantasZilis/Django-online-course | a3a6a2d4e16bc45801d881b569d7fef1d4b9ff32 | [
"MIT"
] | 1 | 2020-01-16T09:08:55.000Z | 2020-01-16T09:08:55.000Z | Projects/web/blog/migrations/0003_auto_20200113_0854.py | EimantasZilis/Django-online-course | a3a6a2d4e16bc45801d881b569d7fef1d4b9ff32 | [
"MIT"
] | null | null | null | Projects/web/blog/migrations/0003_auto_20200113_0854.py | EimantasZilis/Django-online-course | a3a6a2d4e16bc45801d881b569d7fef1d4b9ff32 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.5 on 2020-01-13 08:54
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('blog', '0002_auto_20200110_1747'),
]
operations = [
migrations.RenameField(
model_name='comment',
old_name='created_date',
... | 23.206897 | 47 | 0.558692 | 67 | 673 | 5.343284 | 0.537313 | 0.175978 | 0.217877 | 0.251397 | 0.405028 | 0.405028 | 0.405028 | 0.405028 | 0.405028 | 0.405028 | 0 | 0.069042 | 0.332838 | 673 | 28 | 48 | 24.035714 | 0.728285 | 0.066865 | 0 | 0.545455 | 1 | 0 | 0.188498 | 0.036741 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
afd0fe4245da0b69a132b7cff8573a1553ec0fff | 59 | py | Python | vkbottle/tools/dev/vkscript_converter/__init__.py | shugaev1/vkbottle | 9759e8e799c2e336f44c78bc92cc8b8029da73aa | [
"MIT"
] | 98 | 2021-08-06T05:31:31.000Z | 2022-03-26T03:00:08.000Z | vkbottle/tools/dev/vkscript_converter/__init__.py | shugaev1/vkbottle | 9759e8e799c2e336f44c78bc92cc8b8029da73aa | [
"MIT"
] | 68 | 2021-08-04T09:56:12.000Z | 2022-03-31T16:23:12.000Z | vkbottle/tools/dev/vkscript_converter/__init__.py | shugaev1/vkbottle | 9759e8e799c2e336f44c78bc92cc8b8029da73aa | [
"MIT"
] | 66 | 2021-08-04T09:21:43.000Z | 2022-03-15T14:34:56.000Z | from .definitions import vkscript
__all__ = ("vkscript",)
| 14.75 | 33 | 0.745763 | 6 | 59 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 3 | 34 | 19.666667 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bb61958ad873b476daed067e735a5b83f431839e | 504 | py | Python | layers/word_embedding.py | jojonki/AttentionNetworks-for-QA | 16f469c0719bf30c42695a1b4df6bbd84db8ea49 | [
"Apache-2.0"
] | 156 | 2017-11-25T08:01:26.000Z | 2022-02-18T20:27:55.000Z | layers/word_embedding.py | jojonki/AttentionNetworks-for-QA | 16f469c0719bf30c42695a1b4df6bbd84db8ea49 | [
"Apache-2.0"
] | 9 | 2017-12-04T05:32:35.000Z | 2021-11-15T15:46:30.000Z | layers/word_embedding.py | jojonki/AttentionNetworks-for-QA | 16f469c0719bf30c42695a1b4df6bbd84db8ea49 | [
"Apache-2.0"
] | 38 | 2017-12-25T08:34:06.000Z | 2021-03-04T07:10:31.000Z | import torch.nn as nn
class WordEmbedding(nn.Module):
'''
In : (N, sentence_len)
Out: (N, sentence_len, embd_size)
'''
def __init__(self, args, is_train_embd=False):
super(WordEmbedding, self).__init__()
self.embedding = nn.Embedding(args.vocab_size_w, args.w_embd_size)
if ... | 29.647059 | 94 | 0.664683 | 73 | 504 | 4.260274 | 0.493151 | 0.125402 | 0.07717 | 0.07717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220238 | 504 | 16 | 95 | 31.5 | 0.791349 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bb647175c44de5203754d10afc5d90830be556b4 | 157 | py | Python | project_euler/031.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | 1 | 2021-02-22T03:39:24.000Z | 2021-02-22T03:39:24.000Z | project_euler/031.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | project_euler/031.py | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | f = [0 for i in range(201)]
f[0] = 1
for coin in [1, 2, 5, 10, 20, 50, 100, 200]:
for i in range(len(f) - coin):
f[i + coin] += f[i]
print(f[-1]) | 26.166667 | 44 | 0.490446 | 36 | 157 | 2.138889 | 0.5 | 0.051948 | 0.155844 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 0.280255 | 157 | 6 | 45 | 26.166667 | 0.486726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 3 |
bb6639534aa5ff40d7da60e7d3c7be504048b291 | 662 | py | Python | tests/test_libtool.py | weijia/ufs-tools | 16bcfcb85ce84936875aede7beb130dbec04759a | [
"0BSD"
] | null | null | null | tests/test_libtool.py | weijia/ufs-tools | 16bcfcb85ce84936875aede7beb130dbec04759a | [
"0BSD"
] | 1 | 2021-03-25T21:56:37.000Z | 2021-03-25T21:56:37.000Z | tests/test_libtool.py | weijia/ufs-tools | 16bcfcb85ce84936875aede7beb130dbec04759a | [
"0BSD"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_ufs_tools
----------------------------------
Tests for `ufs_tools` module.
"""
import os
import unittest
import sys
import shutil
from ufs_tools.folder_tool import get_year_month_dir
print sys.path
from ufs_tools.package_utils import include_all_ex
class Tes... | 17.421053 | 52 | 0.637462 | 86 | 662 | 4.593023 | 0.534884 | 0.081013 | 0.060759 | 0.075949 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001927 | 0.216012 | 662 | 38 | 53 | 17.421053 | 0.759152 | 0.096677 | 0 | 0.105263 | 0 | 0 | 0.015748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.105263 | 0.315789 | null | null | 0.105263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
bb6eee0335de48c3cfa8f9b4d56288625da266e1 | 1,220 | py | Python | point/point.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | null | null | null | point/point.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | 1 | 2020-09-24T11:25:45.000Z | 2020-09-28T11:21:30.000Z | point/point.py | alehpineda/python_morsels | bdcb1c90ec40403f107e7197e0b31b73c54ea818 | [
"MIT"
] | null | null | null | class Point:
# Attributes
def __init__(self, x, y, z):
self.x = x
self.y = y
self.z = z
# String representation
def __str__(self):
return f"Point(x={self.x}, y={self.y}, z={self.z})"
def __repr__(self):
return f"Point(x={self.x}, y={self.y}, z={self.z})"
... | 24.4 | 59 | 0.531148 | 180 | 1,220 | 3.377778 | 0.288889 | 0.041118 | 0.039474 | 0.064145 | 0.345395 | 0.345395 | 0.345395 | 0.345395 | 0.345395 | 0.345395 | 0 | 0.048689 | 0.343443 | 1,220 | 49 | 60 | 24.897959 | 0.710362 | 0.188525 | 0 | 0.285714 | 0 | 0 | 0.083845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | false | 0 | 0 | 0.107143 | 0.607143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bb747a90107621e8eb2f08aff789d44bc37515a3 | 66 | py | Python | QualtricsAPI/Exceptions/__init__.py | arfenarf/QualtricsAPI | e8ca08364fa3e5e909cc0a3290f0ee5714dbf185 | [
"MIT"
] | 15 | 2019-05-04T00:58:01.000Z | 2022-03-24T18:27:35.000Z | QualtricsAPI/Exceptions/__init__.py | arfenarf/QualtricsAPI | e8ca08364fa3e5e909cc0a3290f0ee5714dbf185 | [
"MIT"
] | 6 | 2020-07-06T17:35:47.000Z | 2021-09-13T17:06:47.000Z | QualtricsAPI/Exceptions/__init__.py | arfenarf/QualtricsAPI | e8ca08364fa3e5e909cc0a3290f0ee5714dbf185 | [
"MIT"
] | 6 | 2020-08-20T15:36:46.000Z | 2022-03-01T15:55:09.000Z | # __init__.py
from .exceptions import *
__all__ = ['exceptions']
| 13.2 | 25 | 0.712121 | 7 | 66 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 66 | 4 | 26 | 16.5 | 0.696429 | 0.166667 | 0 | 0 | 0 | 0 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bb7a774c345292cc119cdc06c6d0542c88a9b203 | 147 | py | Python | django_check_db/apps.py | mintel/django-check-db | 282a61e2aa6f74f96f256a2331df1dda178abe4d | [
"MIT"
] | 1 | 2018-12-29T17:59:07.000Z | 2018-12-29T17:59:07.000Z | django_check_db/apps.py | mintel/django-check-db | 282a61e2aa6f74f96f256a2331df1dda178abe4d | [
"MIT"
] | null | null | null | django_check_db/apps.py | mintel/django-check-db | 282a61e2aa6f74f96f256a2331df1dda178abe4d | [
"MIT"
] | null | null | null | try:
from django.apps import AppConfig
except ImportError:
pass
else:
class CheckDbConfig(AppConfig):
name = 'django_check_db'
| 18.375 | 37 | 0.70068 | 17 | 147 | 5.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231293 | 147 | 7 | 38 | 21 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.285714 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
bb8582ad03f35a4094cb306a9de7a02e9ec8a781 | 233 | py | Python | Annotate ML/Templates/TuriCreate/Visualise.py | MissEmlizB/AnnotateML | dbef76ec81e6b6eedde1e7c7e253c0cf04ea79c8 | [
"MIT"
] | 15 | 2019-10-25T11:50:00.000Z | 2022-03-29T19:40:07.000Z | Annotate ML/Templates/TuriCreate/Visualise.py | MissEmlizB/AnnotateML | dbef76ec81e6b6eedde1e7c7e253c0cf04ea79c8 | [
"MIT"
] | 4 | 2020-07-05T18:57:34.000Z | 2021-05-15T18:45:21.000Z | Annotate ML/Templates/TuriCreate/Visualise.py | MissEmlizB/AnnotateML | dbef76ec81e6b6eedde1e7c7e253c0cf04ea79c8 | [
"MIT"
] | 3 | 2020-11-19T16:55:35.000Z | 2021-10-16T13:07:21.000Z | import turicreate
import Dataset
data = Dataset.load()
# Draw bounding boxes over our photos
data["image_with_ground_truth"] = turicreate.object_detector.util.draw_bounding_boxes(data["image"], data["annotations"])
data.explore()
| 23.3 | 121 | 0.7897 | 31 | 233 | 5.741935 | 0.645161 | 0.134831 | 0.191011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094421 | 233 | 9 | 122 | 25.888889 | 0.843602 | 0.150215 | 0 | 0 | 0 | 0 | 0.19898 | 0.117347 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bb89db00f210516685c74cd2d68979ee3923bb8b | 31 | py | Python | mimpy/mesh/__init__.py | ohinai/mimpy | 1e432149c321a9f2065391b8577186468c085183 | [
"BSD-3-Clause"
] | 11 | 2015-03-13T20:58:47.000Z | 2021-05-02T01:48:35.000Z | mimpy/mesh/__init__.py | ohinai/mimpy | 1e432149c321a9f2065391b8577186468c085183 | [
"BSD-3-Clause"
] | 1 | 2015-03-20T19:53:03.000Z | 2015-03-20T19:53:03.000Z | mimpy/mesh/__init__.py | ohinai/mimpy | 1e432149c321a9f2065391b8577186468c085183 | [
"BSD-3-Clause"
] | 4 | 2015-03-20T19:30:32.000Z | 2020-06-27T00:06:05.000Z |
__all__ = ["mesh", "hexmesh"]
| 10.333333 | 29 | 0.580645 | 3 | 31 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bbaf17694a0883368d14fc0998c7e6e3d316e7c9 | 242 | py | Python | services/payment-service/payments/custom_encoder.py | ptanlam/eShop | 28391c32e0d6a888bd34840b9223fc8f82fb2495 | [
"MIT"
] | 1 | 2022-01-11T05:49:01.000Z | 2022-01-11T05:49:01.000Z | services/payment-service/payments/custom_encoder.py | NguyenVinhPhuoc/eshop | da9ec6f8bea4b1bce66dd09ce0134272203c3e0f | [
"MIT"
] | 1 | 2022-01-02T08:18:47.000Z | 2022-01-02T08:18:47.000Z | services/payment-service/payments/custom_encoder.py | NguyenVinhPhuoc/eshop | da9ec6f8bea4b1bce66dd09ce0134272203c3e0f | [
"MIT"
] | 2 | 2022-01-11T05:48:57.000Z | 2022-01-20T02:46:36.000Z | import uuid
from json import JSONEncoder
class CustomEncoder(JSONEncoder):
def default(self, value) -> str:
if isinstance(value, uuid.UUID):
return str(value)
return super(CustomEncoder, self).default(value)
| 24.2 | 56 | 0.681818 | 28 | 242 | 5.892857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 242 | 9 | 57 | 26.888889 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bbc67720a518a2988dcf0183fc1d36e17eab26e9 | 248 | py | Python | glue/modules/regression_module.py | maxsonate/cs330_project | f2353772a20fdd3007104daba2a76a35e1a013a2 | [
"MIT"
] | 16 | 2019-06-20T08:54:53.000Z | 2021-03-02T02:50:47.000Z | glue/modules/regression_module.py | maxsonate/cs330_project | f2353772a20fdd3007104daba2a76a35e1a013a2 | [
"MIT"
] | 1 | 2019-10-01T10:07:53.000Z | 2019-10-08T20:15:45.000Z | glue/modules/regression_module.py | maxsonate/cs330_project | f2353772a20fdd3007104daba2a76a35e1a013a2 | [
"MIT"
] | 9 | 2019-06-28T17:33:36.000Z | 2020-12-21T08:50:56.000Z | from torch import nn
class RegressionModule(nn.Module):
def __init__(self, feature_dim):
super().__init__()
self.linear = nn.Linear(feature_dim, 1)
def forward(self, feature):
return self.linear.forward(feature)
| 20.666667 | 47 | 0.669355 | 31 | 248 | 5.032258 | 0.548387 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.221774 | 248 | 11 | 48 | 22.545455 | 0.803109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bbcd558e10e718bd860b5a6246c93ae544aeed10 | 150 | py | Python | Python/CodeForces Solutions/1-500/231A.py | 7namansharma/Comp-Prog | b760ef9b4173e6d5851dc63cc92a8e935baf60ed | [
"MIT"
] | null | null | null | Python/CodeForces Solutions/1-500/231A.py | 7namansharma/Comp-Prog | b760ef9b4173e6d5851dc63cc92a8e935baf60ed | [
"MIT"
] | null | null | null | Python/CodeForces Solutions/1-500/231A.py | 7namansharma/Comp-Prog | b760ef9b4173e6d5851dc63cc92a8e935baf60ed | [
"MIT"
] | null | null | null | cou = 0
for _ in range(int(input())):
l = list(map(int, input().split()))
c = l.count(1)
if c >= 2:
cou += 1
c = 0
print(cou)
| 16.666667 | 39 | 0.466667 | 26 | 150 | 2.653846 | 0.653846 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0.326667 | 150 | 8 | 40 | 18.75 | 0.633663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bbee0fd7b177c49760e05bf6408763ef24f8cf63 | 247 | py | Python | src/ipdasite.projectmgmt/ipdasite/projectmgmt/upgrades.py | NASA-PDS/planetarydata.org | 16731a251c22408b433117f7f01e29d004f11467 | [
"Apache-2.0"
] | null | null | null | src/ipdasite.projectmgmt/ipdasite/projectmgmt/upgrades.py | NASA-PDS/planetarydata.org | 16731a251c22408b433117f7f01e29d004f11467 | [
"Apache-2.0"
] | 5 | 2021-03-19T21:41:19.000Z | 2022-02-11T14:55:14.000Z | src/ipdasite.projectmgmt/ipdasite/projectmgmt/upgrades.py | NASA-PDS/planetarydata.org | 16731a251c22408b433117f7f01e29d004f11467 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
# Copyright 2011 California Institute of Technology. ALL RIGHTS
# RESERVED. U.S. Government Sponsorship acknowledged.
def nullUpgradeStep(setupTool):
'''A null step for when a profile upgrade requires no custom activity.'''
| 35.285714 | 77 | 0.769231 | 32 | 247 | 5.9375 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.149798 | 247 | 6 | 78 | 41.166667 | 0.880952 | 0.801619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a520a9004309f7b6075084b4d552728587c804b7 | 152 | py | Python | testapp/testapp/models.py | martinogden/djangae | 22610a636556c98a68200ebbeb6f1f57da42d617 | [
"BSD-3-Clause"
] | 53 | 2015-02-27T15:17:49.000Z | 2022-02-12T11:42:34.000Z | testapp/testapp/models.py | martinogden/djangae | 22610a636556c98a68200ebbeb6f1f57da42d617 | [
"BSD-3-Clause"
] | 32 | 2015-01-20T13:03:55.000Z | 2019-05-14T10:29:52.000Z | testapp/testapp/models.py | martinogden/djangae | 22610a636556c98a68200ebbeb6f1f57da42d617 | [
"BSD-3-Clause"
] | 21 | 2015-06-05T09:07:07.000Z | 2021-09-14T11:01:43.000Z | from django.db import models
class TestModel(models.Model):
field1 = models.CharField(unique=True, max_length=500)
field2 = models.TextField()
| 25.333333 | 58 | 0.75 | 20 | 152 | 5.65 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.144737 | 152 | 5 | 59 | 30.4 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a53ff9c8c451530344477b957c688284e9c0626e | 1,280 | py | Python | tlsf_generators.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | tlsf_generators.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | tlsf_generators.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | import file_handler
_ltl2dba_pgs = ["ltl2dba" + format(i, "02") + ".tlsf.pg"
for i in range(1, 28)]
_ltl2dba_gpgs = ["ltl2dba" + format(i, "02") + ".tlsf.gpg"
for i in range(1, 28)]
_ltl2dpa_pgs = ["ltl2dpa" + format(i, "02") + ".tlsf.pg"
for i in range(1, 22)]
_ltl2dpa... | 22.857143 | 82 | 0.65 | 189 | 1,280 | 4.015873 | 0.190476 | 0.072464 | 0.047431 | 0.068511 | 0.661397 | 0.397892 | 0.387352 | 0.387352 | 0.28195 | 0.144928 | 0 | 0.051081 | 0.204688 | 1,280 | 55 | 83 | 23.272727 | 0.694499 | 0 | 0 | 0.117647 | 0 | 0 | 0.089063 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.264706 | false | 0 | 0.029412 | 0.117647 | 0.529412 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a54c25a69acd63002f665ebad1d7eafb3a432d8b | 327 | py | Python | ltd_invoice/__main__.py | jonasborges/ltd-invoice | bd1e64a8f6b5d7f205610b4a26b3b95da7e18b78 | [
"Unlicense"
] | null | null | null | ltd_invoice/__main__.py | jonasborges/ltd-invoice | bd1e64a8f6b5d7f205610b4a26b3b95da7e18b78 | [
"Unlicense"
] | 1 | 2022-03-29T22:18:34.000Z | 2022-03-29T22:18:34.000Z | ltd_invoice/__main__.py | jonasborges/ltd-invoice | bd1e64a8f6b5d7f205610b4a26b3b95da7e18b78 | [
"Unlicense"
] | null | null | null | import logging
from ltd_invoice.bookkepping import Bookkeper
from ltd_invoice.gmail import GmailService
from ltd_invoice.pdf_parse import extract_invoice
from ltd_invoice.tasks import process_invoices
from ltd_invoice.tracker import Tracker
def main() -> None:
process_invoices()
if __name__ == "__main__":
... | 20.4375 | 49 | 0.804281 | 44 | 327 | 5.590909 | 0.477273 | 0.142276 | 0.284553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 327 | 15 | 50 | 21.8 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.024465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0.6 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a55f451e74706b7fb3393b1ef56ea42dc97429b7 | 313 | py | Python | run.py | maestro-server/report-app | 0bf9014400f2979c51c1c544347d5134c73facdf | [
"Apache-2.0"
] | 1 | 2020-05-19T20:18:05.000Z | 2020-05-19T20:18:05.000Z | run.py | maestro-server/report-app | 0bf9014400f2979c51c1c544347d5134c73facdf | [
"Apache-2.0"
] | 2 | 2019-10-21T14:56:04.000Z | 2020-03-27T12:48:26.000Z | run.py | maestro-server/report-app | 0bf9014400f2979c51c1c544347d5134c73facdf | [
"Apache-2.0"
] | null | null | null | import os
from app import app
from dotenv import load_dotenv, find_dotenv
load_dotenv(find_dotenv())
# ----------------------------------------
# launch
# ----------------------------------------
if __name__ == "__main__":
port = os.environ.get("MAESTRO_PORT", 5005)
app.run(host='0.0.0.0', port=port)
| 22.357143 | 47 | 0.517572 | 37 | 313 | 4.027027 | 0.513514 | 0.040268 | 0.187919 | 0.268456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.124601 | 313 | 13 | 48 | 24.076923 | 0.514599 | 0.28115 | 0 | 0 | 0 | 0 | 0.122172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a561c7b2f91198635e8bad99ce08174bdc7da0e8 | 1,804 | py | Python | pypeline/pipefunc.py | shelper/pypeline | 70e800a8b40592e9cde9491c77860143a732e6d3 | [
"0BSD"
] | null | null | null | pypeline/pipefunc.py | shelper/pypeline | 70e800a8b40592e9cde9491c77860143a732e6d3 | [
"0BSD"
] | 1 | 2016-03-29T15:16:57.000Z | 2016-03-30T02:06:03.000Z | pypeline/pipefunc.py | shelper/pyoct | 70e800a8b40592e9cde9491c77860143a732e6d3 | [
"0BSD"
] | null | null | null | # -*- coding: utf-8 -*-
# below imports enables python 2 and 3 compatible codes
# requires python-future, install by `pip install future`
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from builtins import *
import functools
import os.path as path
import a... | 23.736842 | 73 | 0.662417 | 246 | 1,804 | 4.626016 | 0.369919 | 0.061511 | 0.034271 | 0.039543 | 0.112478 | 0.075571 | 0.075571 | 0.075571 | 0.075571 | 0.075571 | 0 | 0.002268 | 0.26663 | 1,804 | 75 | 74 | 24.053333 | 0.857899 | 0.358093 | 0 | 0.2 | 0 | 0 | 0.022007 | 0 | 0 | 0 | 0 | 0.013333 | 0 | 1 | 0.257143 | false | 0.2 | 0.171429 | 0.028571 | 0.485714 | 0.028571 | 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 | 0 | 0 | 0 | 3 |
a56ecd5498d95726fedef0118d80e58047073e19 | 173 | py | Python | mumbletemps/tasks.py | wengole/allianceauth-mumble-temp | 5d79dfb966335e0471b2844fd553d6b922ab3dff | [
"MIT"
] | null | null | null | mumbletemps/tasks.py | wengole/allianceauth-mumble-temp | 5d79dfb966335e0471b2844fd553d6b922ab3dff | [
"MIT"
] | null | null | null | mumbletemps/tasks.py | wengole/allianceauth-mumble-temp | 5d79dfb966335e0471b2844fd553d6b922ab3dff | [
"MIT"
] | null | null | null | from celery import shared_task
import logging
logger = logging.getLogger(__name__)
# Create your tasks here
@shared_task
def tidy_up_temp_links():
pass # do stuff
| 13.307692 | 36 | 0.763006 | 25 | 173 | 4.92 | 0.84 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179191 | 173 | 12 | 37 | 14.416667 | 0.866197 | 0.179191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
a57630d0223dad949e143542b91edb171d2e3ff3 | 214 | py | Python | economic_dispatch/__init__.py | Matrixeigs/energy_management_system | b2af6a3cfa71173f33d798e943f605d802aed19f | [
"MIT"
] | 68 | 2017-11-21T02:49:11.000Z | 2022-03-25T07:14:42.000Z | economic_dispatch/__init__.py | yifeili/energy_management_system | b2af6a3cfa71173f33d798e943f605d802aed19f | [
"MIT"
] | null | null | null | economic_dispatch/__init__.py | yifeili/energy_management_system | b2af6a3cfa71173f33d798e943f605d802aed19f | [
"MIT"
] | 34 | 2017-11-21T02:52:15.000Z | 2022-03-27T14:35:25.000Z | """ The description file of economic dispatch.
Economic dispathc (ED) serves as the middle layer to balance the long-term efficiency and short-term security.
The operation procedure of ED is the same as OPF.
"""
| 30.571429 | 110 | 0.771028 | 34 | 214 | 4.852941 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 214 | 6 | 111 | 35.666667 | 0.926966 | 0.948598 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a5903966ea4a5c3d7be29d20dff90668e67c0586 | 108 | py | Python | python_fundamentals/lists_basics/courses.py | deboradyankova/python_education | 41c246ae50b4bf0f372f7b8b2de8d02391eaad7a | [
"MIT"
] | null | null | null | python_fundamentals/lists_basics/courses.py | deboradyankova/python_education | 41c246ae50b4bf0f372f7b8b2de8d02391eaad7a | [
"MIT"
] | null | null | null | python_fundamentals/lists_basics/courses.py | deboradyankova/python_education | 41c246ae50b4bf0f372f7b8b2de8d02391eaad7a | [
"MIT"
] | null | null | null | n = int(input())
lst = []
for _ in range(n):
names = input()
lst.append(names)
print(lst)
| 12 | 22 | 0.518519 | 15 | 108 | 3.666667 | 0.666667 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 108 | 8 | 23 | 13.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a5ad2c65657df966678b72df14e73296eedc8580 | 58 | py | Python | ict-seminar/NeuralNetworks/Assignment/main.py | achmart/ict-seminar | 1f2f7410de5e4cacde55a1ec6e0bee146cc961dc | [
"Apache-2.0"
] | null | null | null | ict-seminar/NeuralNetworks/Assignment/main.py | achmart/ict-seminar | 1f2f7410de5e4cacde55a1ec6e0bee146cc961dc | [
"Apache-2.0"
] | null | null | null | ict-seminar/NeuralNetworks/Assignment/main.py | achmart/ict-seminar | 1f2f7410de5e4cacde55a1ec6e0bee146cc961dc | [
"Apache-2.0"
] | null | null | null | import functions as fn
data = fn.clean_data("ecoli.data") | 19.333333 | 34 | 0.758621 | 10 | 58 | 4.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 3 | 34 | 19.333333 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a5afc0dc38d2819a1cdd8931c2fed959a2a4c708 | 110 | py | Python | Lib/robofab/pens/__init__.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 61 | 2015-01-17T10:15:45.000Z | 2018-12-02T13:53:02.000Z | Lib/robofab/pens/__init__.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 37 | 2015-01-05T23:44:56.000Z | 2018-03-16T19:05:28.000Z | Lib/robofab/pens/__init__.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 25 | 2015-01-08T19:49:36.000Z | 2018-10-29T00:36:46.000Z | """
Directory for all pen modules.
If you make a pen, put it here so that we can keep track of it.
"""
| 9.166667 | 63 | 0.645455 | 21 | 110 | 3.380952 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 110 | 11 | 64 | 10 | 0.8875 | 0.854545 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c0fe413e31dc134aa58e7f0cefb98ed8ceba2a7 | 131 | py | Python | ex003.py | Nawaus/Ex-curso-em-video | 3517248a0ecc3669608a8023075c166b007eaeec | [
"Unlicense"
] | 1 | 2021-11-27T01:39:58.000Z | 2021-11-27T01:39:58.000Z | ex003.py | Nawaus/Ex-curso-em-video | 3517248a0ecc3669608a8023075c166b007eaeec | [
"Unlicense"
] | null | null | null | ex003.py | Nawaus/Ex-curso-em-video | 3517248a0ecc3669608a8023075c166b007eaeec | [
"Unlicense"
] | null | null | null | #003
n1 = int(input('primeiro numero: '))
n2 = int(input('segundo numero: '))
s = n1 - n1
print('a soma vale {}'.format(s)) | 18.714286 | 37 | 0.580153 | 20 | 131 | 3.8 | 0.7 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0.206107 | 131 | 7 | 38 | 18.714286 | 0.663462 | 0.022901 | 0 | 0 | 0 | 0 | 0.385246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c39cf3e0626bb08aa229a861c165a9da2833739 | 969 | py | Python | detectrino/core.py | lgvaz/detectrino | dc3b15f44be8f143f03d67a7d05cbad8f6cca78f | [
"Apache-2.0"
] | 1 | 2021-06-23T16:41:03.000Z | 2021-06-23T16:41:03.000Z | detectrino/core.py | lgvaz/detectrino | dc3b15f44be8f143f03d67a7d05cbad8f6cca78f | [
"Apache-2.0"
] | 5 | 2020-04-27T19:35:44.000Z | 2022-02-26T07:29:35.000Z | detectrino/core.py | lgvaz/detectrino | dc3b15f44be8f143f03d67a7d05cbad8f6cca78f | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED! DO NOT EDIT! File to edit: nbs/00_core.ipynb (unless otherwise specified).
__all__ = ['patch_classmethod', 'storage_path', 'Cfg', 'mergedicts']
# Cell
from fastai2.vision.all import *
# Cell
def patch_classmethod(f):
cls = next(iter(f.__annotations__.values()))
return patch_to(cls, cls_metho... | 26.916667 | 91 | 0.661507 | 141 | 969 | 4.35461 | 0.460993 | 0.032573 | 0.058632 | 0.032573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023166 | 0.198142 | 969 | 36 | 92 | 26.916667 | 0.767053 | 0.122807 | 0 | 0.090909 | 1 | 0 | 0.062871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.045455 | 0.136364 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
3c44a03432ec1612ea9bad328aec11b188c016e4 | 25 | py | Python | test/__init__.py | thenin/AssignmentPython | 7e87da29f11cd4b21695f367987388a0832a6dbb | [
"MIT"
] | null | null | null | test/__init__.py | thenin/AssignmentPython | 7e87da29f11cd4b21695f367987388a0832a6dbb | [
"MIT"
] | null | null | null | test/__init__.py | thenin/AssignmentPython | 7e87da29f11cd4b21695f367987388a0832a6dbb | [
"MIT"
] | null | null | null | __author__ = 'kguryanov'
| 12.5 | 24 | 0.76 | 2 | 25 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c45290ed7c31fe1536f7f84f2e0817a3bf5b885 | 94 | py | Python | notsobot/__init__.py | glryanon/Trusty-cogs | 1d5056ad166a7e7ee5039baa31748b1995ae81f6 | [
"MIT"
] | 1 | 2020-12-28T15:58:16.000Z | 2020-12-28T15:58:16.000Z | notsobot/__init__.py | glryanon/Trusty-cogs | 1d5056ad166a7e7ee5039baa31748b1995ae81f6 | [
"MIT"
] | null | null | null | notsobot/__init__.py | glryanon/Trusty-cogs | 1d5056ad166a7e7ee5039baa31748b1995ae81f6 | [
"MIT"
] | 1 | 2020-07-27T00:04:45.000Z | 2020-07-27T00:04:45.000Z | from .notsobot import NotSoBot
def setup(bot):
cog = NotSoBot(bot)
bot.add_cog(cog)
| 13.428571 | 30 | 0.680851 | 14 | 94 | 4.5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 6 | 31 | 15.666667 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c58a03114bb75e67ac32d4afc2b1eb3eb9fc212 | 2,563 | py | Python | toontown/catalog/CatalogInteriorLayoutItem.py | LittleNed/toontown-stride | 1252a8f9a8816c1810106006d09c8bdfe6ad1e57 | [
"Apache-2.0"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | toontown/catalog/CatalogInteriorLayoutItem.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | null | null | null | toontown/catalog/CatalogInteriorLayoutItem.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-06-20T23:45:23.000Z | 2020-10-14T20:30:15.000Z | from toontown.catalog.CatalogItem import CatalogItem
from toontown.toonbase import ToontownGlobals
from toontown.toonbase import TTLocalizer
from toontown.estate import HouseInteriorGlobals
from toontown.toontowngui import FeatureComingSoonDialog
class CatalogInteriorLayoutItem(CatalogItem):
def makeNewItem(self, ... | 33.723684 | 118 | 0.694108 | 258 | 2,563 | 6.883721 | 0.379845 | 0.087838 | 0.033784 | 0.029279 | 0.042793 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004498 | 0.219274 | 2,563 | 75 | 119 | 34.173333 | 0.883058 | 0 | 0 | 0 | 0 | 0 | 0.037066 | 0.012095 | 0 | 0 | 0 | 0 | 0 | 1 | 0.267857 | false | 0 | 0.089286 | 0.142857 | 0.553571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3c591b46094d5bf58cc2e2aa1b17e54855b29d80 | 304 | py | Python | hello.py | justinhalf/py-rust-hello-world | 688c762fcfaf038d101a4e80c31936e8101220ca | [
"MIT"
] | null | null | null | hello.py | justinhalf/py-rust-hello-world | 688c762fcfaf038d101a4e80c31936e8101220ca | [
"MIT"
] | null | null | null | hello.py | justinhalf/py-rust-hello-world | 688c762fcfaf038d101a4e80c31936e8101220ca | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import libhello_world
a100 = np.arange(100)
a5 = np.array([5., 6., 7., 8., 9.])
df = pd.util.testing.makeTimeDataFrame()
print(libhello_world.hello_numpy(a100))
a5[0] = np.nan
print(libhello_world.hello_numpy(a5))
print(libhello_world.hello_numpy2d(df.values))
| 20.266667 | 46 | 0.743421 | 51 | 304 | 4.294118 | 0.54902 | 0.237443 | 0.246575 | 0.315068 | 0.255708 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070111 | 0.108553 | 304 | 14 | 47 | 21.714286 | 0.738007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0.3 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c5e42a1c8c2eb98b0550de1ea6b1fd1feecb2a8 | 5,021 | py | Python | meals/migrations/0001_initial.py | darth-dodo/meal-helper | 8cfc57463ff4a66be111520605453d4ff8fed6d0 | [
"MIT"
] | 2 | 2020-04-02T14:27:58.000Z | 2021-02-01T10:39:50.000Z | meals/migrations/0001_initial.py | darth-dodo/meal-helper | 8cfc57463ff4a66be111520605453d4ff8fed6d0 | [
"MIT"
] | 9 | 2019-12-05T00:43:48.000Z | 2021-06-10T19:07:43.000Z | meals/migrations/0001_initial.py | darth-dodo/meal-helper | 8cfc57463ff4a66be111520605453d4ff8fed6d0 | [
"MIT"
] | null | null | null | # Generated by Django 2.2 on 2019-08-24 15:49
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('utils', '0001_initial'),
]
operations = [
migrations.Create... | 46.490741 | 128 | 0.568014 | 484 | 5,021 | 5.729339 | 0.194215 | 0.02885 | 0.07573 | 0.090155 | 0.728453 | 0.728453 | 0.685179 | 0.624594 | 0.624594 | 0.624594 | 0 | 0.013699 | 0.287592 | 5,021 | 107 | 129 | 46.925234 | 0.761532 | 0.008564 | 0 | 0.63 | 1 | 0 | 0.115756 | 0.009244 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03 | 0 | 0.07 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c60d31ecff796b1a89e4af6d1896acb2f0b4708 | 210 | py | Python | console/setonline/_cron.py | ihydrogen/hydrogen-chat-bot-py | b21ece5cf2532c0f0d31b5db75fe6b91229f5d59 | [
"Apache-2.0"
] | 9 | 2017-02-19T16:09:53.000Z | 2021-01-05T12:18:22.000Z | console/setonline/_cron.py | ihydrogen/hydrogen-chat-bot-py | b21ece5cf2532c0f0d31b5db75fe6b91229f5d59 | [
"Apache-2.0"
] | 1 | 2017-11-28T04:37:33.000Z | 2017-11-28T04:37:33.000Z | console/setonline/_cron.py | ihydrogen/hydrogen-chat-bot-py | b21ece5cf2532c0f0d31b5db75fe6b91229f5d59 | [
"Apache-2.0"
] | null | null | null | import bot
import bot_header
from vk_api.set_online import OnlineThread
def main(cmd):
t = OnlineThread(bot_header.LONG_POOL_THREAD_INSTANCE)
r = t.set_online(1)
print("Setting online... %s" % r)
| 21 | 58 | 0.733333 | 33 | 210 | 4.424242 | 0.666667 | 0.123288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.166667 | 210 | 9 | 59 | 23.333333 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3c9629c403fb7858297cae1220fa4315fdce95a0 | 105 | py | Python | nknsdk/__init__.py | bufrr/nkn-sdk-py3 | ded73f845e014c6ab758f5297bf1c9fb6ce41d30 | [
"Apache-2.0"
] | 8 | 2019-08-19T08:20:01.000Z | 2022-01-24T15:08:05.000Z | nknsdk/__init__.py | bufrr/nkn-sdk-py3 | ded73f845e014c6ab758f5297bf1c9fb6ce41d30 | [
"Apache-2.0"
] | 2 | 2020-05-01T23:47:34.000Z | 2022-01-30T09:31:53.000Z | nknsdk/__init__.py | bufrr/nkn-sdk-py3 | ded73f845e014c6ab758f5297bf1c9fb6ce41d30 | [
"Apache-2.0"
] | 6 | 2019-07-25T13:10:38.000Z | 2022-01-24T15:08:07.000Z | __all__ = ['client', 'config', 'crypto', 'error', 'network', 'pb', 'serialize', 'transaction', 'wallet']
| 52.5 | 104 | 0.619048 | 10 | 105 | 6.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 105 | 1 | 105 | 105 | 0.648936 | 0 | 0 | 0 | 0 | 0 | 0.552381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3c9fe92ec8adcd395834252f8024e6e148bc06de | 4,817 | py | Python | metalacc/api/forms/company.py | stricoff92/metalaccounting | 6c9f650b3dd3c74c3ebbe847e0c05bb233e14153 | [
"MIT"
] | null | null | null | metalacc/api/forms/company.py | stricoff92/metalaccounting | 6c9f650b3dd3c74c3ebbe847e0c05bb233e14153 | [
"MIT"
] | 3 | 2021-03-30T14:01:37.000Z | 2021-06-10T19:46:42.000Z | metalacc/api/forms/company.py | stricoff92/metalaccounting | 6c9f650b3dd3c74c3ebbe847e0c05bb233e14153 | [
"MIT"
] | null | null | null |
from django import forms
from django.core.signing import BadSignature
from django.conf import settings
import jwt
from api.models import Company
from api.lib import company_export
class CompanyForm(forms.ModelForm):
class Meta:
model = Company
fields = ('name', )
class CompanySelectionForm(for... | 37.341085 | 97 | 0.649159 | 521 | 4,817 | 5.700576 | 0.180422 | 0.096296 | 0.10101 | 0.051178 | 0.815488 | 0.751178 | 0.67138 | 0.644108 | 0.62963 | 0.62963 | 0 | 0.002513 | 0.256591 | 4,817 | 128 | 98 | 37.632813 | 0.826864 | 0.034669 | 0 | 0.462366 | 0 | 0 | 0.178687 | 0.097955 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043011 | false | 0 | 0.075269 | 0 | 0.311828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b1bfebfc60cd53f755045d95b353e41c0bb36bb5 | 1,190 | py | Python | runenv.py | kristenkwong/hiphop-lang | 74f9795991df5f354e7bbd56d1cc85fc6074c2d5 | [
"MIT"
] | 13 | 2019-11-25T22:38:06.000Z | 2022-01-27T06:42:19.000Z | runenv.py | kristenkwong/hiphop-lang | 74f9795991df5f354e7bbd56d1cc85fc6074c2d5 | [
"MIT"
] | 2 | 2021-03-23T07:10:56.000Z | 2021-04-06T22:51:21.000Z | runenv.py | kristenkwong/hiphop-lang | 74f9795991df5f354e7bbd56d1cc85fc6074c2d5 | [
"MIT"
] | 3 | 2020-01-25T20:55:32.000Z | 2020-06-03T00:48:37.000Z | # Everything responsible for saving the state of the program
# such as all identifiers
from hiphoperrors import hiphop_error
reserved_func_names = ["blur", "grayscale", "erode", "dilate",
"outline", "filtercolor", "scale", "crop", "impose", "reload"]
env_vars = {'wd': '"./'}
class var_dict():... | 20.169492 | 85 | 0.584874 | 162 | 1,190 | 4.117284 | 0.450617 | 0.083958 | 0.053973 | 0.071964 | 0.266867 | 0.266867 | 0.266867 | 0.230885 | 0.230885 | 0.230885 | 0 | 0.003517 | 0.283193 | 1,190 | 58 | 86 | 20.517241 | 0.778429 | 0.20084 | 0 | 0.296296 | 0 | 0 | 0.078125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.037037 | 0.111111 | 0.592593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b1cff4d90fb9f00fadbd4c04a906301ef413fe34 | 23 | py | Python | data/components/__init__.py | marcelh89/BowAndArrow-python | 7b8d97983c5caf68c66151e8e0a422399f3edeb8 | [
"MIT"
] | null | null | null | data/components/__init__.py | marcelh89/BowAndArrow-python | 7b8d97983c5caf68c66151e8e0a422399f3edeb8 | [
"MIT"
] | null | null | null | data/components/__init__.py | marcelh89/BowAndArrow-python | 7b8d97983c5caf68c66151e8e0a422399f3edeb8 | [
"MIT"
] | null | null | null | __author__ = 'marcman'
| 11.5 | 22 | 0.73913 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b1d45c76854c96735c8216adedcace25ba2910a6 | 164 | pyt | Python | project_tools/management/commands/newapp/new_app_template/urls.pyt | kellyxiepei/django_bootstrap | 968ae05bd1b10bf6d78234fc7d8dfa5017adc547 | [
"Apache-2.0"
] | null | null | null | project_tools/management/commands/newapp/new_app_template/urls.pyt | kellyxiepei/django_bootstrap | 968ae05bd1b10bf6d78234fc7d8dfa5017adc547 | [
"Apache-2.0"
] | null | null | null | project_tools/management/commands/newapp/new_app_template/urls.pyt | kellyxiepei/django_bootstrap | 968ae05bd1b10bf6d78234fc7d8dfa5017adc547 | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from .views import foo
urlpatterns = [
path('foos/<int:pk>', foo.GetFoo.as_view()),
path('foos', foo.CreateFoo.as_view()),
]
| 18.222222 | 48 | 0.664634 | 24 | 164 | 4.458333 | 0.625 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 164 | 8 | 49 | 20.5 | 0.775362 | 0 | 0 | 0 | 0 | 0 | 0.103659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b1e2008fc193902944f62b7f88e467fcf6830493 | 237 | py | Python | apps/user/__init__.py | GITliyanfeng/blog-flask | 1063b48e293ca9349600ab8e5ebd0e854884d27c | [
"MIT"
] | null | null | null | apps/user/__init__.py | GITliyanfeng/blog-flask | 1063b48e293ca9349600ab8e5ebd0e854884d27c | [
"MIT"
] | null | null | null | apps/user/__init__.py | GITliyanfeng/blog-flask | 1063b48e293ca9349600ab8e5ebd0e854884d27c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2018/12/30 0030 23:29
# @Author : __Yanfeng
# @Site :
# @File : __init__.py.py
# @Software: PyCharm
from flask import Blueprint
user = Blueprint('user', __name__)
from . import views, forms
| 19.75 | 34 | 0.628692 | 31 | 237 | 4.483871 | 0.83871 | 0.18705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091398 | 0.21519 | 237 | 11 | 35 | 21.545455 | 0.655914 | 0.556962 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 3 |
b1ef0547340b52066553e416572c89054699ddbe | 742 | py | Python | flask/router/dto/auth_dto.py | Dev-Jahn/cms | 84ea115bdb865daff83d069502f6f0dd105fc4f0 | [
"RSA-MD"
] | null | null | null | flask/router/dto/auth_dto.py | Dev-Jahn/cms | 84ea115bdb865daff83d069502f6f0dd105fc4f0 | [
"RSA-MD"
] | 9 | 2021-01-05T07:48:28.000Z | 2021-05-14T06:38:27.000Z | flask/router/dto/auth_dto.py | Dev-Jahn/cms | 84ea115bdb865daff83d069502f6f0dd105fc4f0 | [
"RSA-MD"
] | 4 | 2021-01-05T06:46:09.000Z | 2021-05-06T01:44:28.000Z | from flask_restplus import Namespace, fields
api_auth = Namespace('auth', description='Authentication API')
class LoginDTO:
api = api_auth
model = api.model('login', {
'userid': fields.String(required=True, description='User ID'),
'password': fields.String(required=True, description='Password... | 33.727273 | 90 | 0.652291 | 82 | 742 | 5.853659 | 0.402439 | 0.125 | 0.239583 | 0.2 | 0.497917 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216981 | 742 | 21 | 91 | 35.333333 | 0.826162 | 0 | 0 | 0.25 | 0 | 0 | 0.233154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.0625 | 0.0625 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5903ef763ac62530d2f002a3e284262c3f3d09bb | 2,619 | py | Python | src/rules/detector_rule_model_score_positive.py | cyrilhamidechi/amazon-frauddetector-mlops-multiaccount-cdk | 379def0a571452b7920a9aaa56bccc2bfb39c523 | [
"MIT-0"
] | 8 | 2021-02-21T18:45:59.000Z | 2022-02-25T22:04:44.000Z | src/rules/detector_rule_model_score_positive.py | cyrilhamidechi/amazon-frauddetector-mlops-multiaccount-cdk | 379def0a571452b7920a9aaa56bccc2bfb39c523 | [
"MIT-0"
] | null | null | null | src/rules/detector_rule_model_score_positive.py | cyrilhamidechi/amazon-frauddetector-mlops-multiaccount-cdk | 379def0a571452b7920a9aaa56bccc2bfb39c523 | [
"MIT-0"
] | 3 | 2021-05-10T18:25:59.000Z | 2022-03-08T21:51:37.000Z | # ***************************************************************************************
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. *
# *
# Permission is hereby granted, free of charge, to... | 44.389831 | 93 | 0.587629 | 281 | 2,619 | 5.355872 | 0.483986 | 0.051163 | 0.047841 | 0.022591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287896 | 2,619 | 58 | 94 | 45.155172 | 0.806971 | 0.58992 | 0 | 0.130435 | 0 | 0 | 0.135542 | 0.023092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.086957 | 0.130435 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
59145f3953f232391c5ecae50627878f1a2c4ad6 | 232 | py | Python | inventory_order/urls.py | LuchaComics/comicscantina-django | 78e630000fb1e1f6299f80655c8f57a496236ab1 | [
"BSD-2-Clause"
] | null | null | null | inventory_order/urls.py | LuchaComics/comicscantina-django | 78e630000fb1e1f6299f80655c8f57a496236ab1 | [
"BSD-2-Clause"
] | 5 | 2021-03-19T02:58:32.000Z | 2022-03-11T23:57:30.000Z | inventory_order/urls.py | lendierickx/comics-django | 3f5c6e85c89ff157dbf67179ea3b9007d7de446c | [
"BSD-2-Clause"
] | null | null | null | from django.conf.urls import patterns, include, url
from . import views
urlpatterns = (
url(r'^inventory/(\d+)/(\d+)/orders$', views.orders_page),
url(r'^inventory/(\d+)/(\d+)/orders/(\d+)/$', views.order_details_page),
)
| 25.777778 | 76 | 0.646552 | 32 | 232 | 4.59375 | 0.53125 | 0.054422 | 0.176871 | 0.190476 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 232 | 8 | 77 | 29 | 0.720588 | 0 | 0 | 0 | 0 | 0 | 0.288793 | 0.288793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
592c45dca4311ba1e8f624baaea363d2572f7d6b | 394 | py | Python | src/frog_of_the_week/exceptions.py | rlipperts/frog-of-the-week | 7794da564ad1ee5be57d386012ce1c1e4557a4f8 | [
"MIT"
] | null | null | null | src/frog_of_the_week/exceptions.py | rlipperts/frog-of-the-week | 7794da564ad1ee5be57d386012ce1c1e4557a4f8 | [
"MIT"
] | null | null | null | src/frog_of_the_week/exceptions.py | rlipperts/frog-of-the-week | 7794da564ad1ee5be57d386012ce1c1e4557a4f8 | [
"MIT"
] | null | null | null | """
Different custom errors for various cases. They mostly inherit the errors that are thrown
"""
class FrogDataError(Exception):
"""
Super class Errors of the data service.
"""
class MissingApiKeyError(KeyError, FrogDataError):
"""
Error for missing API keys.
"""
class InvalidApiKeyError(... | 17.909091 | 89 | 0.675127 | 42 | 394 | 6.333333 | 0.642857 | 0.157895 | 0.195489 | 0.218045 | 0.323308 | 0.323308 | 0.323308 | 0 | 0 | 0 | 0 | 0 | 0.225888 | 394 | 21 | 90 | 18.761905 | 0.872131 | 0.469543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5936b0d675af45b4b646031d5a009dd0573497b2 | 8,460 | py | Python | tests/examples/minlplib/tln7.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/tln7.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/tln7.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # MINLP written by GAMS Convert at 04/21/18 13:54:54
#
# Equation counts
# Total E G L N X C B
# 43 1 0 42 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 46.483516 | 120 | 0.600591 | 1,628 | 8,460 | 3.121007 | 0.119165 | 0.111592 | 0.187365 | 0.253493 | 0.681362 | 0.656564 | 0.632553 | 0.630978 | 0.630978 | 0.173588 | 0 | 0.201923 | 0.188652 | 8,460 | 181 | 121 | 46.740331 | 0.538316 | 0.080378 | 0 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008621 | 0 | 0.008621 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3ca4d8ff0637371fa332a5f72b6397ba23924196 | 932 | py | Python | ch07/overriding_methods.py | jashburn8020/mypy | 689e713bd0eabc813433a1879c3402311ea787cf | [
"Apache-2.0"
] | null | null | null | ch07/overriding_methods.py | jashburn8020/mypy | 689e713bd0eabc813433a1879c3402311ea787cf | [
"Apache-2.0"
] | null | null | null | ch07/overriding_methods.py | jashburn8020/mypy | 689e713bd0eabc813433a1879c3402311ea787cf | [
"Apache-2.0"
] | null | null | null | """Overriding statically typed methods."""
class Base:
def some_func(self, x: int) -> None:
pass
class Derived1(Base):
def some_func(self, x: str) -> None: # Error: type of 'x' incompatible
pass
class Derived2(Base):
def some_func(self, x: int, y: int) -> None: # Error: too many argu... | 22.190476 | 87 | 0.61588 | 131 | 932 | 4.335878 | 0.396947 | 0.070423 | 0.116197 | 0.158451 | 0.334507 | 0.260563 | 0.190141 | 0.190141 | 0.09507 | 0 | 0 | 0.010294 | 0.270386 | 932 | 41 | 88 | 22.731707 | 0.825 | 0.285408 | 0 | 0.333333 | 0 | 0 | 0.007657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.25 | 0 | 0.083333 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3ca9ebe662d8355a6581f7c4105a7a387c845313 | 90 | py | Python | djangocms_versioning/__init__.py | divio/djangocms-versioning | 487983e45f49d17e6659cc995148fa195d2e4467 | [
"BSD-3-Clause"
] | 12 | 2018-09-04T10:33:16.000Z | 2021-09-07T14:30:12.000Z | djangocms_versioning/__init__.py | divio/djangocms-versioning | 487983e45f49d17e6659cc995148fa195d2e4467 | [
"BSD-3-Clause"
] | 46 | 2018-07-31T08:45:17.000Z | 2021-09-08T15:45:05.000Z | djangocms_versioning/__init__.py | divio/djangocms-versioning | 487983e45f49d17e6659cc995148fa195d2e4467 | [
"BSD-3-Clause"
] | 16 | 2018-08-30T19:08:45.000Z | 2021-07-13T11:31:43.000Z | __version__ = "0.0.32"
default_app_config = "djangocms_versioning.apps.VersioningConfig"
| 22.5 | 65 | 0.811111 | 11 | 90 | 6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.077778 | 90 | 3 | 66 | 30 | 0.746988 | 0 | 0 | 0 | 0 | 0 | 0.533333 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3cb5753ba3018ab3921b299a04d69ab5c42e1028 | 807 | py | Python | pyF3D/__init__.py | dani-lbnl/pyF3D | db915a91ffcb1037f68bb56b7fe63cebff4c950e | [
"BSD-3-Clause-LBNL"
] | 4 | 2020-02-17T23:59:30.000Z | 2021-03-24T06:58:19.000Z | pyF3D/__init__.py | dani-lbnl/pyF3D | db915a91ffcb1037f68bb56b7fe63cebff4c950e | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-06-14T21:47:46.000Z | 2019-06-19T02:42:40.000Z | pyF3D/__init__.py | dani-lbnl/pyF3D | db915a91ffcb1037f68bb56b7fe63cebff4c950e | [
"BSD-3-Clause-LBNL"
] | 2 | 2020-04-25T10:10:17.000Z | 2020-10-22T05:59:04.000Z | from .ClAttributes import create_cl_attributes, list_all_cl_platforms
# from FilterManager import run_f3d, run_MedianFilter, runPipeline, run_BilateralFilter, run_FFTFilter, run_MaskFilter, \
# run_MMFilterClo, run_MMFilterDil, run_MMFilterEro, run_MMFilterOpe
from .FilterManager import run_f3d, run_MedianFilter, r... | 57.642857 | 122 | 0.857497 | 92 | 807 | 7.282609 | 0.23913 | 0.131343 | 0.068657 | 0.077612 | 0.434328 | 0.434328 | 0.434328 | 0.434328 | 0.434328 | 0.434328 | 0 | 0.002732 | 0.092937 | 807 | 13 | 123 | 62.076923 | 0.912568 | 0.285006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3cbe0cb06a1a73e8398fd59e9809b0ccfcabaa9d | 134 | py | Python | limix/model/mean.py | huangyh09/limix | bed5b8e0aaa9b11f19bdd13b76d21510e56064be | [
"Apache-2.0"
] | 93 | 2017-05-25T21:54:45.000Z | 2022-03-30T14:51:01.000Z | limix/model/mean.py | huangyh09/limix | bed5b8e0aaa9b11f19bdd13b76d21510e56064be | [
"Apache-2.0"
] | 90 | 2017-04-20T16:59:41.000Z | 2022-02-02T17:40:58.000Z | limix/model/mean.py | huangyh09/limix | bed5b8e0aaa9b11f19bdd13b76d21510e56064be | [
"Apache-2.0"
] | 28 | 2017-05-31T21:59:19.000Z | 2022-02-09T18:12:51.000Z | from glimix_core.mean import KronMean, LinearMean, OffsetMean, SumMean
__all__ = ["OffsetMean", "LinearMean", "SumMean", "KronMean"]
| 33.5 | 70 | 0.761194 | 14 | 134 | 6.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 134 | 3 | 71 | 44.666667 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.261194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3cc9ccba1269b37e7a80e6ef581e36eb06e2e62e | 129 | py | Python | src/yellowdog_client/model/attribute_constraint.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/attribute_constraint.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/attribute_constraint.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass, field
@dataclass
class AttributeConstraint:
type: str = field(default=None, init=False)
| 18.428571 | 47 | 0.775194 | 15 | 129 | 6.666667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147287 | 129 | 6 | 48 | 21.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3cd7004972377a58a8a5ccdb2bf909bbb7584a09 | 425 | py | Python | models/forms/freeverse.py | crestonbunch/poem-bot | 27abe0d750dfa23e6f3ea9ae051750a3ad9a6de6 | [
"MIT"
] | 2 | 2019-05-17T17:20:27.000Z | 2021-03-28T00:13:00.000Z | models/forms/freeverse.py | crestonbunch/poem-bot | 27abe0d750dfa23e6f3ea9ae051750a3ad9a6de6 | [
"MIT"
] | null | null | null | models/forms/freeverse.py | crestonbunch/poem-bot | 27abe0d750dfa23e6f3ea9ae051750a3ad9a6de6 | [
"MIT"
] | 1 | 2020-12-30T16:38:02.000Z | 2020-12-30T16:38:02.000Z |
class FreeVerseModel:
"""This class describes a free verse poetry form in a way that it
can weight next states given a state, where the next state is a
word and the previous state is all the previous words in a poem."""
name = "Free Verse"
def __init__(self):
pass
def weight(self, cu... | 26.5625 | 71 | 0.668235 | 63 | 425 | 4.428571 | 0.603175 | 0.096774 | 0.071685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268235 | 425 | 15 | 72 | 28.333333 | 0.897106 | 0.534118 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3cd90944b477af8565857c01ac8fe9be2561900d | 251 | py | Python | model_training/setup.py | fluke-tracker/fluke-tracker | 1f9c5842f2100ed5ab449cd437ba74b880418624 | [
"MIT"
] | 2 | 2021-07-13T07:22:08.000Z | 2021-07-13T08:18:32.000Z | model_training/setup.py | fluke-tracker/fluke-tracker | 1f9c5842f2100ed5ab449cd437ba74b880418624 | [
"MIT"
] | null | null | null | model_training/setup.py | fluke-tracker/fluke-tracker | 1f9c5842f2100ed5ab449cd437ba74b880418624 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(name='gdsc_train',
version='1.0',
description='dsa',
author='Hartvig',
author_email='hartvig.johannson@capgemini.com',
packages=find_packages(exclude=('tests', 'docs')))
| 27.888889 | 56 | 0.677291 | 29 | 251 | 5.724138 | 0.793103 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.171315 | 251 | 8 | 57 | 31.375 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.250996 | 0.123506 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3cefc9f035b42b62f2284c635bd61963b07ea72e | 93 | py | Python | emailuser/apps.py | Retzudo/django-emailuser | 96f715aa02740441689024dcbcb6659101286036 | [
"MIT"
] | null | null | null | emailuser/apps.py | Retzudo/django-emailuser | 96f715aa02740441689024dcbcb6659101286036 | [
"MIT"
] | 8 | 2020-02-12T01:13:10.000Z | 2022-02-10T08:45:58.000Z | emailuser/apps.py | simlist/django-rest-framework-emailuser | f3022ffe69a5801fbd93c09eec3a82d0290a6a4f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EmailuserConfig(AppConfig):
name = 'emailuser'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3cf6d0d4225ff60dbcfb6f13af3dbb190abb75f7 | 4,480 | py | Python | tests/fixtures/test_references_json/content_49_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 9 | 2015-04-16T08:13:31.000Z | 2020-05-18T14:03:06.000Z | tests/fixtures/test_references_json/content_49_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 310 | 2015-02-11T00:30:09.000Z | 2021-07-14T23:58:50.000Z | tests/fixtures/test_references_json/content_49_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 9 | 2015-02-04T01:21:28.000Z | 2021-06-15T12:50:47.000Z | from collections import OrderedDict
expected = [
OrderedDict(
[
("type", "journal"),
("id", "bib13"),
("date", "2009"),
(
"authors",
[
OrderedDict(
[
("typ... | 35.84 | 92 | 0.167188 | 125 | 4,480 | 5.992 | 0.432 | 0.18024 | 0.224299 | 0.267023 | 0.480641 | 0.480641 | 0 | 0 | 0 | 0 | 0 | 0.023316 | 0.741518 | 4,480 | 124 | 93 | 36.129032 | 0.623489 | 0 | 0 | 0.479675 | 0 | 0 | 0.125 | 0.00625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00813 | 0 | 0.00813 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3cfdb1b5a6568d523ccf2b8f4c091d927b30780c | 421 | py | Python | modulo 1/d009/tabuada.py | rafa-evangelista/PYTHON | 761ec7e01f1617263bc023a6b82b599a936275ee | [
"MIT"
] | null | null | null | modulo 1/d009/tabuada.py | rafa-evangelista/PYTHON | 761ec7e01f1617263bc023a6b82b599a936275ee | [
"MIT"
] | null | null | null | modulo 1/d009/tabuada.py | rafa-evangelista/PYTHON | 761ec7e01f1617263bc023a6b82b599a936275ee | [
"MIT"
] | null | null | null | from ast import For
from inspect import EndOfBlock
from tkinter import N
a=int(input('Digite um número para saber a taboada: '))
print('A taboada do número ', a, ' é: ')
print(a, ' x 1 = ', a)
print(a, ' x 2 = ', a*2)
print(a, ' x 3 = ', a*3)
print(a, ' x 4 = ', a*4)
print(a, ' x 5 = ', a*5)
print(a, ' x 6 = ', a*6)
... | 24.764706 | 55 | 0.534442 | 88 | 421 | 2.556818 | 0.352273 | 0.293333 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 0.23753 | 421 | 17 | 56 | 24.764706 | 0.635514 | 0 | 0 | 0 | 0 | 0 | 0.317536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.733333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a70acbc704f9d25e1047790342dd180c2da70a63 | 1,038 | py | Python | src/ionotomo/tests/test_mayavi.py | Joshuaalbert/IonoTomo | 9f50fbac698d43a824dd098d76dce93504c7b879 | [
"Apache-2.0"
] | 7 | 2017-06-22T08:47:07.000Z | 2021-07-01T12:33:02.000Z | src/ionotomo/tests/test_mayavi.py | Joshuaalbert/IonoTomo | 9f50fbac698d43a824dd098d76dce93504c7b879 | [
"Apache-2.0"
] | 1 | 2019-04-03T15:21:19.000Z | 2019-04-03T15:48:31.000Z | src/ionotomo/tests/test_mayavi.py | Joshuaalbert/IonoTomo | 9f50fbac698d43a824dd098d76dce93504c7b879 | [
"Apache-2.0"
] | 2 | 2020-03-01T16:20:00.000Z | 2020-07-07T15:09:02.000Z | from ionotomo.geometry.tri_cubic import TriCubic
from ionotomo.plotting.mayavi_tools import plot_tci
import numpy as np
#import pylab as plt
#from ionotomo.astro.real_data import generate_example_datapack
#from ionotomo.geometry.calc_rays import *
#from ionotomo.inversion.initial_model import *
def test_plot_tci():
# ... | 39.923077 | 108 | 0.750482 | 145 | 1,038 | 5.110345 | 0.455172 | 0.080972 | 0.053981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019101 | 0.142582 | 1,038 | 25 | 109 | 41.52 | 0.813483 | 0.743738 | 0 | 0 | 1 | 0 | 0.052419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a70dac221db6907318bb406ab3b0593b4f5a283e | 816 | py | Python | airflow_unittest_template/tests/test_regular.py | jsal13/tutorials-tools-and-templates | 650f9a3805a84958f67ad49b1f94196108922c93 | [
"MIT"
] | null | null | null | airflow_unittest_template/tests/test_regular.py | jsal13/tutorials-tools-and-templates | 650f9a3805a84958f67ad49b1f94196108922c93 | [
"MIT"
] | null | null | null | airflow_unittest_template/tests/test_regular.py | jsal13/tutorials-tools-and-templates | 650f9a3805a84958f67ad49b1f94196108922c93 | [
"MIT"
] | null | null | null | class SampleClass:
""" Sample Class """
def __init__(self, a, b):
self.a = a
self.b = b
def add_things(self):
return self.a + self.b
def times_a(self, x):
return x * self.a
def mock_add_things(self, *args, **kwargs):
# Notice we're using "self" as the first var h... | 21.473684 | 88 | 0.617647 | 129 | 816 | 3.744186 | 0.325581 | 0.074534 | 0.024845 | 0.045549 | 0.310559 | 0.169772 | 0.10352 | 0.10352 | 0 | 0 | 0 | 0.060755 | 0.253676 | 816 | 37 | 89 | 22.054054 | 0.732348 | 0.118873 | 0 | 0.086957 | 0 | 0 | 0.023876 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.304348 | false | 0 | 0 | 0.130435 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a7265c8a137b2627b29fefdd5b377ffbecbff934 | 1,074 | py | Python | release/stubs.min/System/IO/__init___parts/IODescriptionAttribute.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/IO/__init___parts/IODescriptionAttribute.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/IO/__init___parts/IODescriptionAttribute.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | class IODescriptionAttribute(DescriptionAttribute):
"""
Sets the description visual designers can display when referencing an event,extender,or property.
IODescriptionAttribute(description: str)
"""
def ZZZ(self):
"""hardcoded/mock instance of the class"""
return IODescriptionAttribute()
instance... | 33.5625 | 215 | 0.715084 | 125 | 1,074 | 5.76 | 0.408 | 0.083333 | 0.066667 | 0.079167 | 0.315278 | 0.315278 | 0.315278 | 0.315278 | 0.315278 | 0.315278 | 0 | 0 | 0.16108 | 1,074 | 31 | 216 | 34.645161 | 0.799112 | 0.391061 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a72aa17d97adfe1e20fe63121f937dc432ac00fd | 480 | py | Python | anchorhub/tests/test_compatibility.py | samjabrahams/anchorhub | 5ade359b08297d4003a5f477389c01de9e634b54 | [
"Apache-2.0"
] | 9 | 2016-01-20T12:54:14.000Z | 2017-06-25T19:36:44.000Z | anchorhub/tests/test_compatibility.py | samjabrahams/anchorhub | 5ade359b08297d4003a5f477389c01de9e634b54 | [
"Apache-2.0"
] | null | null | null | anchorhub/tests/test_compatibility.py | samjabrahams/anchorhub | 5ade359b08297d4003a5f477389c01de9e634b54 | [
"Apache-2.0"
] | 3 | 2018-09-05T13:05:29.000Z | 2021-08-21T08:12:26.000Z | """
Tests for compatibility.py
compatibility.py:
http://www.github.com/samjabrahams/anchorhub/compatibility.py
"""
import os
import anchorhub.compatibility as compat
def test_get_path_separator():
"""
compatibility.py: Test get_path_separator()
Test to make sure get_path_separator() returns the proper... | 20.869565 | 77 | 0.691667 | 59 | 480 | 5.440678 | 0.508475 | 0.242991 | 0.249221 | 0.124611 | 0.174455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185417 | 480 | 22 | 78 | 21.818182 | 0.820972 | 0.470833 | 0 | 0 | 0 | 0 | 0.022026 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | true | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5986cf2d4e23c7100ce4d859e82b2f5152985188 | 928 | py | Python | aesara/compile/__init__.py | abdalazizrashid/Theano-PyMC | 90fa750461e91fb6281d494ae86404e2153fd7eb | [
"BSD-3-Clause"
] | null | null | null | aesara/compile/__init__.py | abdalazizrashid/Theano-PyMC | 90fa750461e91fb6281d494ae86404e2153fd7eb | [
"BSD-3-Clause"
] | null | null | null | aesara/compile/__init__.py | abdalazizrashid/Theano-PyMC | 90fa750461e91fb6281d494ae86404e2153fd7eb | [
"BSD-3-Clause"
] | null | null | null | from aesara.compile.builders import *
from aesara.compile.debugmode import DebugMode
from aesara.compile.function import function, function_dump
from aesara.compile.function_module import *
from aesara.compile.io import *
from aesara.compile.mode import *
from aesara.compile.monitormode import MonitorMode
from aesara.c... | 29.935484 | 81 | 0.792026 | 119 | 928 | 5.890756 | 0.336134 | 0.156919 | 0.266762 | 0.131241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15194 | 928 | 30 | 82 | 30.933333 | 0.890724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.366667 | 0 | 0.366667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
59910d909e16ad65105f2bb0216ee0e5184507c2 | 199 | py | Python | lh_test.py | kiddliao/mmsegmentation | 6c87da0d6de3fc3a3fb7538f10424957d1235436 | [
"Apache-2.0"
] | null | null | null | lh_test.py | kiddliao/mmsegmentation | 6c87da0d6de3fc3a3fb7538f10424957d1235436 | [
"Apache-2.0"
] | null | null | null | lh_test.py | kiddliao/mmsegmentation | 6c87da0d6de3fc3a3fb7538f10424957d1235436 | [
"Apache-2.0"
] | null | null | null | import mmcv
gt_seg_map = mmcv.imread(
'data/road_dataset/ann_L_dir/val/978495_sat.png', flag='unchanged', backend='pillow')
print(gt_seg_map.shape)
'data/road_dataset/ann_dir/val/978495_sat.png'
| 33.166667 | 89 | 0.78392 | 35 | 199 | 4.142857 | 0.628571 | 0.068966 | 0.110345 | 0.248276 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064865 | 0.070352 | 199 | 5 | 90 | 39.8 | 0.718919 | 0 | 0 | 0 | 0 | 0 | 0.527638 | 0.452261 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
59a79a7a9ce11c1bce49e562678211d06ce41f39 | 123 | py | Python | Algorithms/Warmup/A_Very_Big_Sum.py | gauthamkrishna-g/HackerRank | 472d7a56fc1c1c4f8f03fcabc09d08da4000efde | [
"MIT"
] | 1 | 2017-12-02T14:23:44.000Z | 2017-12-02T14:23:44.000Z | Algorithms/Warmup/A_Very_Big_Sum.py | gauthamkrishna-g/HackerRank | 472d7a56fc1c1c4f8f03fcabc09d08da4000efde | [
"MIT"
] | null | null | null | Algorithms/Warmup/A_Very_Big_Sum.py | gauthamkrishna-g/HackerRank | 472d7a56fc1c1c4f8f03fcabc09d08da4000efde | [
"MIT"
] | null | null | null | #!/bin/python3
n = int(input().strip())
arr = [int(arr_temp) for arr_temp in input().strip().split(' ')]
print(sum(arr))
| 17.571429 | 64 | 0.626016 | 20 | 123 | 3.75 | 0.65 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.121951 | 123 | 6 | 65 | 20.5 | 0.685185 | 0.105691 | 0 | 0 | 0 | 0 | 0.009259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.