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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
486269f27335951626648956d4b2d80e4a646747 | 164 | py | Python | sendMessage.py | insane-tsunami/tsuBot-para-WhatsApp | 2b5090a05ce4bd5f4348325eff7a5da75dc389af | [
"MIT"
] | null | null | null | sendMessage.py | insane-tsunami/tsuBot-para-WhatsApp | 2b5090a05ce4bd5f4348325eff7a5da75dc389af | [
"MIT"
] | null | null | null | sendMessage.py | insane-tsunami/tsuBot-para-WhatsApp | 2b5090a05ce4bd5f4348325eff7a5da75dc389af | [
"MIT"
] | null | null | null | import os
from whatsapp import WhatsApp
whatsapp = WhatsApp(100, session="mysession")
print(whatsapp.send_message("Fabio 'tsuNami' Suenaga",":heart: Deu certo!"))
| 27.333333 | 76 | 0.768293 | 21 | 164 | 5.952381 | 0.761905 | 0.256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.097561 | 164 | 5 | 77 | 32.8 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0.304878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
487b9d694a01fa027fdd000ab9e4d96b840d9195 | 5,678 | py | Python | gigfinder/config/settings.py | casamfiml/django_Pruebas | 6a2d0e17fcbd4c3428037c2354ce9e5ce19c4d4b | [
"Apache-2.0"
] | null | null | null | gigfinder/config/settings.py | casamfiml/django_Pruebas | 6a2d0e17fcbd4c3428037c2354ce9e5ce19c4d4b | [
"Apache-2.0"
] | null | null | null | gigfinder/config/settings.py | casamfiml/django_Pruebas | 6a2d0e17fcbd4c3428037c2354ce9e5ce19c4d4b | [
"Apache-2.0"
] | null | null | null | """
Django settings for gigfinder project.
Generated by 'django-admin startproject' using Django 2.0.1.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.0/ref/settings/
"""
import os
... | 26.287037 | 133 | 0.643008 | 608 | 5,678 | 5.896382 | 0.350329 | 0.061646 | 0.070293 | 0.097629 | 0.350628 | 0.33417 | 0.260809 | 0.250209 | 0.175732 | 0.111576 | 0 | 0.026499 | 0.189151 | 5,678 | 215 | 134 | 26.409302 | 0.752172 | 0.46143 | 0 | 0 | 1 | 0 | 0.534082 | 0.414607 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.054945 | 0.010989 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
488178bea64d515a607cbb560fd5f4861921bb7b | 1,185 | py | Python | generate.py | aszul/lampka | 5656899c68bfa294c73b45568402306b515725a7 | [
"MIT"
] | null | null | null | generate.py | aszul/lampka | 5656899c68bfa294c73b45568402306b515725a7 | [
"MIT"
] | null | null | null | generate.py | aszul/lampka | 5656899c68bfa294c73b45568402306b515725a7 | [
"MIT"
] | null | null | null | import itertools
R = 255
G = 0
B = 0
deltas1 = [2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3]
deltas2 = [3,2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,4]
deltasR1 = [5,5,5,6,5,5,6,5,5,6,5,5,6,5,5,6,5,5,5,6,5,5,6,5,5,6,5,5,6,5,5,7]
deltasGB = [2,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,2,3,3,... | 26.333333 | 140 | 0.463291 | 293 | 1,185 | 1.863481 | 0.153584 | 0.120879 | 0.17033 | 0.197802 | 0.450549 | 0.443223 | 0.443223 | 0.443223 | 0.443223 | 0.419414 | 0 | 0.21317 | 0.243882 | 1,185 | 45 | 141 | 26.333333 | 0.396205 | 0 | 0 | 0.194444 | 0 | 0 | 0.116358 | 0.040472 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027778 | 0 | 0.027778 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6fcdbeb5550552e45db7f5a3e484157b7d7b2502 | 94 | py | Python | memoirs/apps.py | LeoAmby/Galleria | 5daaeaeedc2682af878c2e925a2131033d631333 | [
"MIT"
] | 1 | 2020-02-13T09:51:13.000Z | 2020-02-13T09:51:13.000Z | memoirs/apps.py | LeoAmby/Galleria | 5daaeaeedc2682af878c2e925a2131033d631333 | [
"MIT"
] | 7 | 2019-10-06T14:48:03.000Z | 2021-09-08T01:20:06.000Z | memoirs/apps.py | LeoAmby/Galleria | 5daaeaeedc2682af878c2e925a2131033d631333 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MemoirsConfig(AppConfig):
name = 'memoirs'
| 13.428571 | 33 | 0.712766 | 10 | 94 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 6 | 34 | 15.666667 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b5068fa8d5c5b642b9e02fb278d67178ffb3134c | 165 | py | Python | venv/Lib/site-packages/py2exe/__init__.py | rthartley/reacombiner | 1023effd6abe1fa827e25dd02b5b73626745c5a9 | [
"MIT"
] | 1 | 2017-04-25T13:15:10.000Z | 2017-04-25T13:15:10.000Z | venv/Lib/site-packages/py2exe/__init__.py | rthartley/reacombiner | 1023effd6abe1fa827e25dd02b5b73626745c5a9 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/py2exe/__init__.py | rthartley/reacombiner | 1023effd6abe1fa827e25dd02b5b73626745c5a9 | [
"MIT"
] | null | null | null | #!/usr/bin/python3,3
# -*- coding: utf-8 -*-
"""py2exe package
"""
__version__ = "0.9.2.2"
from .patch_distutils import patch_distutils
patch_distutils()
| 16.5 | 45 | 0.648485 | 22 | 165 | 4.545455 | 0.772727 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058394 | 0.169697 | 165 | 9 | 46 | 18.333333 | 0.671533 | 0.339394 | 0 | 0 | 0 | 0 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b515b927512b69c02905bb56982196297a1be7c8 | 2,862 | py | Python | backend/patientdb/migrations/0001_initial.py | JacksoNoah/arrhythmia_project | 1a4691fe9cb70a4952dca3ca26a1ecbfe2d7231d | [
"MIT"
] | null | null | null | backend/patientdb/migrations/0001_initial.py | JacksoNoah/arrhythmia_project | 1a4691fe9cb70a4952dca3ca26a1ecbfe2d7231d | [
"MIT"
] | null | null | null | backend/patientdb/migrations/0001_initial.py | JacksoNoah/arrhythmia_project | 1a4691fe9cb70a4952dca3ca26a1ecbfe2d7231d | [
"MIT"
] | null | null | null | # Generated by Django 3.1.6 on 2021-02-23 20:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Patient',
fields=[
... | 50.210526 | 162 | 0.586653 | 313 | 2,862 | 5.185304 | 0.277955 | 0.231054 | 0.308071 | 0.369686 | 0.622921 | 0.588417 | 0.588417 | 0.322243 | 0.052988 | 0 | 0 | 0.04323 | 0.2645 | 2,862 | 56 | 163 | 51.107143 | 0.727791 | 0.015723 | 0 | 0.163265 | 1 | 0 | 0.105151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.040816 | 0 | 0.122449 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
82ec6f52f0b09d237992d2ec0b9c9684d34318c0 | 205 | py | Python | pokemonlib/GameClasses/CombatClass.py | Lapinux/pokemonlib | b7e2e056fdd9988ba8d38a159b8e6a0ecf17e090 | [
"MIT"
] | null | null | null | pokemonlib/GameClasses/CombatClass.py | Lapinux/pokemonlib | b7e2e056fdd9988ba8d38a159b8e6a0ecf17e090 | [
"MIT"
] | null | null | null | pokemonlib/GameClasses/CombatClass.py | Lapinux/pokemonlib | b7e2e056fdd9988ba8d38a159b8e6a0ecf17e090 | [
"MIT"
] | null | null | null | class Combat:
def __init__(self, team_one, team_two):
self.team1 = team_one
self.team2 = team_two
def damage_calculation(self, pokemon_attacking, pokemon_defending):
pass
| 22.777778 | 71 | 0.678049 | 26 | 205 | 4.923077 | 0.615385 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.24878 | 205 | 8 | 72 | 25.625 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d250fa7c6c52bc4984fbd504f7b81738fd57a39d | 3,104 | py | Python | parsec/commands/cmd_histories.py | simonbray/parsec | c0e123cbf7cb1289ec722357a6262f716575e4d9 | [
"Apache-2.0"
] | 8 | 2015-03-27T17:09:15.000Z | 2021-07-13T15:33:02.000Z | parsec/commands/cmd_histories.py | simonbray/parsec | c0e123cbf7cb1289ec722357a6262f716575e4d9 | [
"Apache-2.0"
] | 30 | 2015-02-27T21:21:47.000Z | 2021-08-31T14:19:55.000Z | parsec/commands/cmd_histories.py | simonbray/parsec | c0e123cbf7cb1289ec722357a6262f716575e4d9 | [
"Apache-2.0"
] | 12 | 2017-06-01T03:49:23.000Z | 2021-07-13T15:33:06.000Z | import click
from parsec.commands.histories.copy_content import cli as copy_content
from parsec.commands.histories.copy_dataset import cli as copy_dataset
from parsec.commands.histories.create_dataset_collection import cli as create_dataset_collection
from parsec.commands.histories.create_history import cli as create_h... | 50.885246 | 106 | 0.884343 | 462 | 3,104 | 5.632035 | 0.082251 | 0.099923 | 0.179862 | 0.269792 | 0.668716 | 0.258647 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063144 | 3,104 | 60 | 107 | 51.733333 | 0.894773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | true | 0.017857 | 0.5 | 0 | 0.517857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d2513a5fecd308ac347dce8806cf470b1ffa5229 | 144 | py | Python | oscar/lib/python2.7/site-packages/wcwidth/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/wcwidth/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/wcwidth/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | """wcwidth module, https://github.com/jquast/wcwidth."""
from .wcwidth import wcwidth, wcswidth # noqa
__all__ = ('wcwidth', 'wcswidth',)
| 28.8 | 57 | 0.680556 | 16 | 144 | 5.875 | 0.6875 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 4 | 58 | 36 | 0.758065 | 0.388889 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9648c0a995251f9cc0a42b6081381a0fc4237450 | 399 | py | Python | mayan/apps/templating/serializers.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 336 | 2019-05-09T07:05:19.000Z | 2022-03-25T09:50:22.000Z | mayan/apps/templating/serializers.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 86 | 2021-09-01T23:53:02.000Z | 2021-09-20T02:25:10.000Z | mayan/apps/templating/serializers.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from rest_framework import serializers
class AJAXTemplateSerializer(serializers.Serializer):
hex_hash = serializers.CharField(read_only=True)
name = serializers.CharField(read_only=True)
html = serializers.CharField(read_only=True)
url = serializers.HyperlinkedIdentityField(
lookup_field='name... | 33.25 | 53 | 0.759398 | 44 | 399 | 6.659091 | 0.568182 | 0.204778 | 0.245734 | 0.286689 | 0.327645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150376 | 399 | 11 | 54 | 36.272727 | 0.864307 | 0 | 0 | 0 | 0 | 0 | 0.080201 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
965213661f4e75f44d1f3d798c055c9f37f6c1d4 | 8,721 | py | Python | cogs/Anim.py | sammycjackson/self-bot | b54b9cf882416cda9ca75ef01538d5f1d5caebf7 | [
"MIT"
] | null | null | null | cogs/Anim.py | sammycjackson/self-bot | b54b9cf882416cda9ca75ef01538d5f1d5caebf7 | [
"MIT"
] | 1 | 2018-07-19T15:11:16.000Z | 2018-07-19T15:11:16.000Z | cogs/Anim.py | sammycjackson/self-bot | b54b9cf882416cda9ca75ef01538d5f1d5caebf7 | [
"MIT"
] | null | null | null | import discord
import asyncio
from discord.ext import commands
class Anim:
def __init__(self, bot):
self.bot = bot
@commands.command()
async def poof(self, ctx):
"""poofness"""
await ctx.message.edit(content = "( ' - ')")
await asyncio.sleep(1)
await ctx... | 40.562791 | 131 | 0.531934 | 1,029 | 8,721 | 4.596696 | 0.155491 | 0.14186 | 0.232135 | 0.232981 | 0.747146 | 0.742072 | 0.718816 | 0.670613 | 0.660888 | 0.557717 | 0 | 0.015586 | 0.308451 | 8,721 | 214 | 132 | 40.752336 | 0.751948 | 0 | 0 | 0.538071 | 0 | 0 | 0.173194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010152 | false | 0 | 0.015228 | 0 | 0.030457 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
966bd80bf132dab90dd1bf20affa078e1cd62aef | 213 | py | Python | release/stubs.min/System/ComponentModel/__init___parts/DoubleConverter.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/ComponentModel/__init___parts/DoubleConverter.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/ComponentModel/__init___parts/DoubleConverter.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class DoubleConverter(BaseNumberConverter):
"""
Provides a type converter to convert double-precision,floating point number objects to and from various other representations.
DoubleConverter()
"""
| 23.666667 | 128 | 0.760563 | 22 | 213 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173709 | 213 | 8 | 129 | 26.625 | 0.920455 | 0.690141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
96743c7cb4bab16440e16666084cc62e4b2dfe63 | 56 | py | Python | example/multiload/packages/secondpackage/__init__.py | desty2k/paker | 80a08576155e8737067fba6fede49d2d71d257ff | [
"MIT"
] | null | null | null | example/multiload/packages/secondpackage/__init__.py | desty2k/paker | 80a08576155e8737067fba6fede49d2d71d257ff | [
"MIT"
] | null | null | null | example/multiload/packages/secondpackage/__init__.py | desty2k/paker | 80a08576155e8737067fba6fede49d2d71d257ff | [
"MIT"
] | null | null | null |
def Print(string):
print(str(string).capitalize())
| 14 | 35 | 0.678571 | 7 | 56 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 36 | 18.666667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
967c08955f4ea706154ea77ad7f47d682ac55999 | 354 | py | Python | tests/conftest.py | dmpe/matrix42sdk | b9e7e3698ae4225e5ada32133f7f518b605053ba | [
"MIT"
] | null | null | null | tests/conftest.py | dmpe/matrix42sdk | b9e7e3698ae4225e5ada32133f7f518b605053ba | [
"MIT"
] | 6 | 2020-08-01T13:05:40.000Z | 2021-07-03T17:48:09.000Z | tests/conftest.py | dmpe/matrix42sdk | b9e7e3698ae4225e5ada32133f7f518b605053ba | [
"MIT"
] | null | null | null | import os
import pytest
import requests
import sys
import urllib3
from typing import Optional
urllib3.disable_warnings()
# Simulate bash export
@pytest.fixture
def get_url() -> str:
return os.environ.get("MATRIX42_URL").rstrip("/")
@pytest.fixture
def get_api_token() -> Optional[str]:
return os.environ.g... | 16.090909 | 56 | 0.751412 | 49 | 354 | 5.285714 | 0.55102 | 0.100386 | 0.123552 | 0.146718 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019672 | 0.138418 | 354 | 21 | 57 | 16.857143 | 0.829508 | 0.056497 | 0 | 0.153846 | 0 | 0 | 0.10241 | 0.063253 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | true | 0 | 0.461538 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
96806242059af0a847e4f87edb706857455266b7 | 14,034 | py | Python | tests/test_cache.py | wijnandhoitinga/nutils | 7ad6793ca5e3a43f45dcc0a4a795b381d2a0b9d4 | [
"MIT"
] | 25 | 2015-04-29T13:10:22.000Z | 2019-03-18T09:45:29.000Z | tests/test_cache.py | wijnandhoitinga/nutils | 7ad6793ca5e3a43f45dcc0a4a795b381d2a0b9d4 | [
"MIT"
] | 330 | 2015-03-04T09:06:38.000Z | 2019-06-11T10:31:54.000Z | tests/test_cache.py | wijnandhoitinga/nutils | 7ad6793ca5e3a43f45dcc0a4a795b381d2a0b9d4 | [
"MIT"
] | 16 | 2015-03-23T08:00:46.000Z | 2019-02-21T11:14:47.000Z | from nutils import *
from nutils.testing import *
import sys
import contextlib
import tempfile
import pathlib
import threading
@contextlib.contextmanager
def tmpcache():
with tempfile.TemporaryDirectory() as tmpdir:
with cache.enable(tmpdir):
yield pathlib.Path(tmpdir)
class TestException(Ex... | 34.145985 | 107 | 0.545319 | 1,531 | 14,034 | 4.926192 | 0.120183 | 0.165076 | 0.06961 | 0.055688 | 0.803898 | 0.747945 | 0.722222 | 0.684301 | 0.629674 | 0.593211 | 0 | 0.020686 | 0.35585 | 14,034 | 410 | 108 | 34.229268 | 0.813606 | 0.090067 | 0 | 0.748322 | 0 | 0 | 0.018591 | 0 | 0 | 0 | 0 | 0 | 0.318792 | 1 | 0.11745 | false | 0.006711 | 0.02349 | 0.003356 | 0.201342 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9692d4377a08391980060ee04574b00a2d4e0b5d | 303 | py | Python | scee_backend/app.py | Kushagraw12/Scee-Website | 41b6a558b12e231011e2a3ba8a5340cf971771e4 | [
"Apache-2.0"
] | 4 | 2020-09-27T05:06:31.000Z | 2021-01-03T10:41:30.000Z | scee_backend/app.py | Kushagraw12/Scee-Website | 41b6a558b12e231011e2a3ba8a5340cf971771e4 | [
"Apache-2.0"
] | 15 | 2020-09-23T21:27:15.000Z | 2020-10-11T11:14:12.000Z | scee_backend/app.py | Kushagraw12/Scee-Website | 41b6a558b12e231011e2a3ba8a5340cf971771e4 | [
"Apache-2.0"
] | 26 | 2020-07-03T12:09:27.000Z | 2020-12-02T16:48:04.000Z | from flask import Flask, render_template, request, redirect
import os
import uuid
app = Flask(__name__)
@app.route ('/')
def index():
return render_template ('index.html')
@app.route ("/blogs")
def blogs():
return render_template("cs.html")
if __name__ == "__main__":
app.run(debug=True) | 16.833333 | 59 | 0.69637 | 41 | 303 | 4.780488 | 0.560976 | 0.214286 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155116 | 303 | 18 | 60 | 16.833333 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.25 | 0.166667 | 0.583333 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
96b00185c8528fec969905c8e911e3e3e45b5844 | 95 | py | Python | chesscog/transfer_learning/__init__.py | MarinusHeindl/chesscog | 9022e19b1ad125481b561c765a886285abc16eb0 | [
"MIT"
] | 12 | 2021-07-14T15:49:53.000Z | 2022-03-31T06:21:18.000Z | chesscog/transfer_learning/__init__.py | MarinusHeindl/chesscog | 9022e19b1ad125481b561c765a886285abc16eb0 | [
"MIT"
] | 3 | 2021-08-28T19:39:48.000Z | 2021-12-20T21:25:45.000Z | chesscog/transfer_learning/__init__.py | MarinusHeindl/chesscog | 9022e19b1ad125481b561c765a886285abc16eb0 | [
"MIT"
] | 2 | 2022-01-04T09:25:23.000Z | 2022-03-23T16:48:28.000Z | """This module contains all code to fine-tune chess recognition system to a new chess set.
"""
| 31.666667 | 90 | 0.747368 | 16 | 95 | 4.4375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 95 | 2 | 91 | 47.5 | 0.898734 | 0.915789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
96c23281ddecbc14ae21f1b82c0632c783e4b836 | 92 | py | Python | examples/with-django/screenshot/apps.py | hemanshuchauhan/argos | fbca8713bdd2ffb611d1391cde1b522848962585 | [
"MIT"
] | 3 | 2020-03-08T04:59:22.000Z | 2020-10-18T02:58:51.000Z | examples/with-django/screenshot/apps.py | hemanshuchauhan/argos | fbca8713bdd2ffb611d1391cde1b522848962585 | [
"MIT"
] | null | null | null | examples/with-django/screenshot/apps.py | hemanshuchauhan/argos | fbca8713bdd2ffb611d1391cde1b522848962585 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ScreenshotConfig(AppConfig):
name = 'screenshot'
| 18.4 | 34 | 0.793478 | 10 | 92 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 4 | 35 | 23 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
737f7c2fa99de13b9276ea8a6601445e7f08ee1b | 138 | py | Python | Graph_Wall_Antispam/__init__.py | Phynixknight/WideDeepSequenceAttentionFrame | d04863c090fad4cbf2d288752154c525c9e28a6a | [
"Apache-2.0"
] | 7 | 2018-05-25T06:13:21.000Z | 2019-07-07T07:35:54.000Z | Graph_Wall_Antispam/__init__.py | Phynixknight/WideDeepSequenceAttentionFrame | d04863c090fad4cbf2d288752154c525c9e28a6a | [
"Apache-2.0"
] | null | null | null | Graph_Wall_Antispam/__init__.py | Phynixknight/WideDeepSequenceAttentionFrame | d04863c090fad4cbf2d288752154c525c9e28a6a | [
"Apache-2.0"
] | 3 | 2018-07-07T09:57:39.000Z | 2018-11-24T06:09:02.000Z | # -*- coding: utf-8 -*-
# @Time : 8/6/18 11:32 AM
# @Author : gaishi
# @Site :
# @File : __init__.py
# @Software: IntelliJ IDEA | 23 | 28 | 0.536232 | 19 | 138 | 3.684211 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.26087 | 138 | 6 | 29 | 23 | 0.598039 | 0.913043 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
738cce85d421fb0e43138bbe8b473e06863e1ef9 | 77 | py | Python | app/routes/teacher/__init__.py | roshnet/Electron-Server | f21ced024d69d7d96e89a2aa90c80f3d6757b3e1 | [
"MIT"
] | null | null | null | app/routes/teacher/__init__.py | roshnet/Electron-Server | f21ced024d69d7d96e89a2aa90c80f3d6757b3e1 | [
"MIT"
] | null | null | null | app/routes/teacher/__init__.py | roshnet/Electron-Server | f21ced024d69d7d96e89a2aa90c80f3d6757b3e1 | [
"MIT"
] | null | null | null | from app.routes.teacher import calendar, classes, login, subjects, timetable
| 38.5 | 76 | 0.818182 | 10 | 77 | 6.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 1 | 77 | 77 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
738f554489d5b73f08adb18ac257213974cc301d | 1,525 | py | Python | to-words/test/test_to_words.py | jorgearanda/katas | 2d7882d61b4e884f04bb057f62dbcf952d1767b0 | [
"MIT"
] | null | null | null | to-words/test/test_to_words.py | jorgearanda/katas | 2d7882d61b4e884f04bb057f62dbcf952d1767b0 | [
"MIT"
] | null | null | null | to-words/test/test_to_words.py | jorgearanda/katas | 2d7882d61b4e884f04bb057f62dbcf952d1767b0 | [
"MIT"
] | null | null | null | from to_words import to_words
def test_1():
assert to_words(1) == 'one'
def test_2():
assert to_words(2) == 'two'
def test_3():
assert to_words(3) == 'three'
def test_4():
assert to_words(4) == 'four'
def test_5():
assert to_words(5) == 'five'
def test_10():
assert to_words(10) == 't... | 16.576087 | 77 | 0.64918 | 226 | 1,525 | 4.176991 | 0.234513 | 0.177966 | 0.302966 | 0.111229 | 0.119703 | 0.119703 | 0.082627 | 0 | 0 | 0 | 0 | 0.100587 | 0.217705 | 1,525 | 91 | 78 | 16.758242 | 0.690696 | 0 | 0 | 0 | 0 | 0 | 0.264918 | 0 | 0 | 0 | 0 | 0 | 0.468085 | 1 | 0.468085 | true | 0 | 0.021277 | 0 | 0.489362 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
73a205356ac04bd71db7913a7f84d8ec7a322177 | 101 | py | Python | examples/sympy/normexp/runcollect.py | Anirban166/tstl | 73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e | [
"Apache-2.0"
] | 90 | 2015-04-07T10:26:53.000Z | 2022-03-07T15:14:57.000Z | examples/sympy/normexp/runcollect.py | Anirban166/tstl | 73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e | [
"Apache-2.0"
] | 14 | 2015-10-13T16:25:59.000Z | 2021-01-21T18:31:03.000Z | examples/sympy/normexp/runcollect.py | Anirban166/tstl | 73dac02f084b10e1bf2f172a5d1306bb5fbd7f7e | [
"Apache-2.0"
] | 32 | 2015-04-07T10:41:29.000Z | 2022-02-26T05:17:28.000Z | import subprocess
while True:
subprocess.call(["ulimit -t7200; python collect1.py"],shell=True)
| 20.2 | 69 | 0.742574 | 13 | 101 | 5.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0.128713 | 101 | 4 | 70 | 25.25 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.326733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
73b4a25632865872dee9bd5eb253eaf3e1f3291c | 190 | py | Python | 0x07/solve/ex03.py | nghianv-0795/sec-exercises | d672cd10188674e47aa00f4728b9f60aec905d82 | [
"MIT"
] | null | null | null | 0x07/solve/ex03.py | nghianv-0795/sec-exercises | d672cd10188674e47aa00f4728b9f60aec905d82 | [
"MIT"
] | null | null | null | 0x07/solve/ex03.py | nghianv-0795/sec-exercises | d672cd10188674e47aa00f4728b9f60aec905d82 | [
"MIT"
] | 1 | 2020-12-15T10:09:07.000Z | 2020-12-15T10:09:07.000Z | arr = [70, 152, 195, 284, 475, 612, 791, 896, 810, 850, 737, 1332, 1469, 1120, 1470, 832, 1785, 2196, 1520, 1480, 1449]
for i, c in enumerate(arr):
print(chr(c//(i+1)), end = "")
print()
| 31.666667 | 119 | 0.589474 | 35 | 190 | 3.2 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.467532 | 0.189474 | 190 | 5 | 120 | 38 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
73b9deed7ddfbad82996d85fe4936cf495eb098e | 224 | py | Python | app/views/home/home_view.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null | app/views/home/home_view.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null | app/views/home/home_view.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null | from django.views import View
from django.shortcuts import render
class HomeView(View):
"""Index entry"""
template_name = 'index.html'
def get(self, request):
return render(request, self.template_name) | 22.4 | 50 | 0.705357 | 29 | 224 | 5.37931 | 0.655172 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191964 | 224 | 10 | 50 | 22.4 | 0.861878 | 0.049107 | 0 | 0 | 0 | 0 | 0.048077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
73fd8fe492da60d60dc375be749f680cc0a8e9a1 | 344 | py | Python | grr/core/grr_response_core/config/local/contexts.py | tsehori/grr | 048506f22f74642bfe61749069a45ddf496fdab3 | [
"Apache-2.0"
] | 1 | 2021-07-01T01:43:06.000Z | 2021-07-01T01:43:06.000Z | grr/core/grr_response_core/config/local/contexts.py | tsehori/grr | 048506f22f74642bfe61749069a45ddf496fdab3 | [
"Apache-2.0"
] | 44 | 2021-05-14T22:49:24.000Z | 2022-03-13T21:54:02.000Z | grr/core/grr_response_core/config/local/contexts.py | tsehori/grr | 048506f22f74642bfe61749069a45ddf496fdab3 | [
"Apache-2.0"
] | 1 | 2020-06-25T14:25:54.000Z | 2020-06-25T14:25:54.000Z | #!/usr/bin/env python
# Lint as: python3
"""Local contexts.
Put any config.CONFIG.DEFINE_context statements specific to your deployment
in this file.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
# pylint: disable=unused-import
from grr_response_cor... | 24.571429 | 75 | 0.81686 | 49 | 344 | 5.367347 | 0.734694 | 0.114068 | 0.18251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0033 | 0.119186 | 344 | 13 | 76 | 26.461538 | 0.864686 | 0.505814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fb5936250fdb3a63fab1ff7a13865f2654751f6e | 90 | py | Python | src/env.py | K9173A/hebrew-bot | f94fd581c008d729d789f4ebb279a8516adf2cde | [
"MIT"
] | null | null | null | src/env.py | K9173A/hebrew-bot | f94fd581c008d729d789f4ebb279a8516adf2cde | [
"MIT"
] | null | null | null | src/env.py | K9173A/hebrew-bot | f94fd581c008d729d789f4ebb279a8516adf2cde | [
"MIT"
] | null | null | null | import os
from dotenv import load_dotenv
load_dotenv()
token = os.getenv('BOT_TOKEN')
| 10 | 30 | 0.755556 | 14 | 90 | 4.642857 | 0.571429 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 8 | 31 | 11.25 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fb90b1785483526613c061735aa43cfc387d8671 | 620 | py | Python | github/methods/activity/watching/__init__.py | appheap/PyGithub | 2442a2512a708c6463f81d8398fd91090e134df1 | [
"MIT"
] | 1 | 2022-03-16T21:33:37.000Z | 2022-03-16T21:33:37.000Z | github/methods/activity/watching/__init__.py | appheap/PyGithub | 2442a2512a708c6463f81d8398fd91090e134df1 | [
"MIT"
] | null | null | null | github/methods/activity/watching/__init__.py | appheap/PyGithub | 2442a2512a708c6463f81d8398fd91090e134df1 | [
"MIT"
] | 1 | 2022-03-16T21:28:06.000Z | 2022-03-16T21:28:06.000Z | from .delete_repository_subscription import DeleteRepositorySubscription
from .get_repository_subscription import GetRepositorySubscription
from .list_repository_watchers import ListRepositoryWatchers
from .list_user_watched_repositories import ListUserWatchedRepositories
from .list_watched_repositories import ListWatc... | 32.631579 | 72 | 0.870968 | 46 | 620 | 11.456522 | 0.456522 | 0.125237 | 0.159393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 620 | 18 | 73 | 34.444444 | 0.94955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.066667 | 0.4 | 0 | 0.466667 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
fb914f90e2771058c3660ad6d20a77c8e74314cc | 430 | py | Python | litebo/utils/config_space/__init__.py | usualwitch/lite-bo | 142665a4c6075e5c427991c92f7444ead4dd41b5 | [
"MIT"
] | 1 | 2020-12-06T14:38:59.000Z | 2020-12-06T14:38:59.000Z | litebo/utils/config_space/__init__.py | usualwitch/lite-bo | 142665a4c6075e5c427991c92f7444ead4dd41b5 | [
"MIT"
] | null | null | null | litebo/utils/config_space/__init__.py | usualwitch/lite-bo | 142665a4c6075e5c427991c92f7444ead4dd41b5 | [
"MIT"
] | null | null | null | from ConfigSpace import Configuration, ConfigurationSpace
from ConfigSpace import ConfigurationSpace, Configuration, Constant,\
CategoricalHyperparameter, UniformFloatHyperparameter, \
UniformIntegerHyperparameter, InCondition
from ConfigSpace.read_and_write import pcs, pcs_new, json
from litebo.utils.config_... | 53.75 | 74 | 0.869767 | 44 | 430 | 8.272727 | 0.659091 | 0.164835 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 430 | 7 | 75 | 61.428571 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fba69578009fc823e8b6754f904a56d7f276d394 | 167 | py | Python | src/mf_horizon_client/client/warnings.py | MF-HORIZON/mf-horizon-python-client | 67a4a094767cb8e5f01956f20f5ca7726781614a | [
"MIT"
] | null | null | null | src/mf_horizon_client/client/warnings.py | MF-HORIZON/mf-horizon-python-client | 67a4a094767cb8e5f01956f20f5ca7726781614a | [
"MIT"
] | null | null | null | src/mf_horizon_client/client/warnings.py | MF-HORIZON/mf-horizon-python-client | 67a4a094767cb8e5f01956f20f5ca7726781614a | [
"MIT"
] | null | null | null | from enum import Enum
class Warnings(Enum):
NO_MAX_FIRE_AND_FORGET_WORKERS_SPECIFIED = "No maximum number of concurrent pipelines specified. Defaulting to one."
| 27.833333 | 120 | 0.808383 | 24 | 167 | 5.375 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143713 | 167 | 5 | 121 | 33.4 | 0.902098 | 0 | 0 | 0 | 0 | 0 | 0.42515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fbb96b482a7a06970ab6bebd2e3fb13daffa654b | 164 | py | Python | Menel/functions/constant_length_text.py | 05xapresses/Menel | 7b79cdb51e613d8b4b1bdaa972338381c2936fa7 | [
"MIT"
] | null | null | null | Menel/functions/constant_length_text.py | 05xapresses/Menel | 7b79cdb51e613d8b4b1bdaa972338381c2936fa7 | [
"MIT"
] | null | null | null | Menel/functions/constant_length_text.py | 05xapresses/Menel | 7b79cdb51e613d8b4b1bdaa972338381c2936fa7 | [
"MIT"
] | null | null | null | def constant_length_text(text: str, length: int):
if len(text) > length:
return text[:length - 1] + '…'
else:
return text.rjust(length, ' ') | 32.8 | 49 | 0.585366 | 22 | 164 | 4.409091 | 0.590909 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.262195 | 164 | 5 | 50 | 32.8 | 0.768595 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 4 |
fbdfa4ba9577a3f63483d5aa69b70faf17bcff1b | 23 | py | Python | pkgcmp/__init__.py | SS-RD/pkgcmp | 330efddd6b54a04196add8a79df3c09bfc4ead0a | [
"Apache-2.0"
] | 1 | 2015-04-21T04:57:12.000Z | 2015-04-21T04:57:12.000Z | pkgcmp/__init__.py | SS-RD/pkgcmp | 330efddd6b54a04196add8a79df3c09bfc4ead0a | [
"Apache-2.0"
] | null | null | null | pkgcmp/__init__.py | SS-RD/pkgcmp | 330efddd6b54a04196add8a79df3c09bfc4ead0a | [
"Apache-2.0"
] | null | null | null | '''
pkgcmp package
'''
| 5.75 | 14 | 0.565217 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 3 | 15 | 7.666667 | 0.684211 | 0.608696 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
839cb45966975a5b37419230231c8b86bfe3dd78 | 167 | py | Python | examples/tamilspell.py | msathia/open-tamil | 8e98a584dcf56ac8fe7529464114151f7357c746 | [
"MIT"
] | null | null | null | examples/tamilspell.py | msathia/open-tamil | 8e98a584dcf56ac8fe7529464114151f7357c746 | [
"MIT"
] | null | null | null | examples/tamilspell.py | msathia/open-tamil | 8e98a584dcf56ac8fe7529464114151f7357c746 | [
"MIT"
] | null | null | null | #!python
# -*- coding: utf-8 -*-
#(C) 2016-2018 Muthiah Annamalai
#This file is part of open-tamil package
import spell
if __name__ == u"__main__":
spell.main()
| 16.7 | 40 | 0.670659 | 25 | 167 | 4.16 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065693 | 0.179641 | 167 | 9 | 41 | 18.555556 | 0.693431 | 0.592814 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
83a65b519444c4c42b7278c1c5b28edb78e2b04b | 167 | py | Python | backend/src/web/my_form.py | kaiocesar/portalcursos | d82ed7d250509b36b37b09ff172d8c804cfbdbdf | [
"MIT"
] | 1 | 2015-11-04T15:50:42.000Z | 2015-11-04T15:50:42.000Z | backend/src/web/my_form.py | kaiocesar/portalcursos | d82ed7d250509b36b37b09ff172d8c804cfbdbdf | [
"MIT"
] | null | null | null | backend/src/web/my_form.py | kaiocesar/portalcursos | d82ed7d250509b36b37b09ff172d8c804cfbdbdf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
def index(_write_tmpl, name):
_write_tmpl('templates/add.html', {'name': name})
| 23.857143 | 56 | 0.712575 | 22 | 167 | 4.954545 | 0.772727 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.131737 | 167 | 6 | 57 | 27.833333 | 0.744828 | 0.125749 | 0 | 0 | 0 | 0 | 0.152778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
83ad4757763bec22d77424ba8a48a85837a1cf10 | 9,415 | py | Python | tests/__init__.py | Privex/python-helpers | 1c976ce5b0e2c5241ea0bdf330bd6701b5e31153 | [
"X11"
] | 12 | 2019-06-18T11:17:41.000Z | 2021-09-13T23:00:21.000Z | tests/__init__.py | Privex/python-helpers | 1c976ce5b0e2c5241ea0bdf330bd6701b5e31153 | [
"X11"
] | 1 | 2019-10-13T07:34:44.000Z | 2019-10-13T07:34:44.000Z | tests/__init__.py | Privex/python-helpers | 1c976ce5b0e2c5241ea0bdf330bd6701b5e31153 | [
"X11"
] | 4 | 2019-10-10T10:15:09.000Z | 2021-05-16T01:55:48.000Z | """
This module contains test cases for Privex's Python Helper's (privex-helpers).
Testing pre-requisites
----------------------
- Ensure you have any mandatory requirements installed (see setup.py's install_requires)
- You should install ``pytest`` to run the tests, it works much better than standard python... | 48.782383 | 119 | 0.605098 | 1,130 | 9,415 | 4.942478 | 0.361947 | 0.049955 | 0.032587 | 0.034378 | 0.222023 | 0.174396 | 0.147538 | 0.093107 | 0.047628 | 0.022919 | 0 | 0.021038 | 0.242698 | 9,415 | 192 | 120 | 49.036458 | 0.762132 | 0.911418 | 0 | 0 | 0 | 0 | 0.049757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.7 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
83d5a0e5048a403bfae109d92410d785818e0953 | 33 | py | Python | homeassistant/components/lifx_legacy/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 23 | 2017-11-15T21:03:53.000Z | 2021-03-29T21:33:48.000Z | homeassistant/components/lifx_legacy/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 60 | 2020-08-03T07:32:56.000Z | 2022-03-31T06:02:07.000Z | homeassistant/components/lifx_legacy/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 14 | 2018-08-19T16:28:26.000Z | 2021-09-02T18:26:53.000Z | """The lifx_legacy component."""
| 16.5 | 32 | 0.69697 | 4 | 33 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.733333 | 0.787879 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
83f1a6b3c54f07459fbe48ab59f17c82a194b9b2 | 71 | py | Python | PedestrianSlayer/Tests/CommunicationTest.py | Viriliter/PedestrianSlayer | 4adbdc3d0ed60408e6422cdba01f017701d05069 | [
"MIT"
] | 2 | 2018-05-23T14:14:23.000Z | 2018-12-03T21:08:37.000Z | PedestrianSlayer/Tests/CommunicationTest.py | Viriliter/PedestrianSlayer | 4adbdc3d0ed60408e6422cdba01f017701d05069 | [
"MIT"
] | null | null | null | PedestrianSlayer/Tests/CommunicationTest.py | Viriliter/PedestrianSlayer | 4adbdc3d0ed60408e6422cdba01f017701d05069 | [
"MIT"
] | null | null | null | import ManuelMode
mm = ManuelMode.ManuelMode()
mm.testCommunication()
| 14.2 | 28 | 0.802817 | 7 | 71 | 8.142857 | 0.571429 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 4 | 29 | 17.75 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
83f2d5cd2b2544a1c59509b5fa842064df657968 | 281 | py | Python | 590_Creating_a_Package/package_program.py | PacktPublishing/Python-for-Everybody-The-Ultimate-Python-3-Bootcamp | 34d11a55506b1e0831a10166a5377f6592afeee8 | [
"MIT"
] | 9 | 2020-08-06T08:53:36.000Z | 2021-12-30T13:25:01.000Z | 590_Creating_a_Package/package_program.py | PacktPublishing/Python-for-Everybody-The-Ultimate-Python-3-Bootcamp | 34d11a55506b1e0831a10166a5377f6592afeee8 | [
"MIT"
] | 1 | 2021-12-09T07:43:02.000Z | 2021-12-09T07:43:02.000Z | 590_Creating_a_Package/package_program.py | PacktPublishing/Python-for-Everybody-The-Ultimate-Python-3-Bootcamp | 34d11a55506b1e0831a10166a5377f6592afeee8 | [
"MIT"
] | 17 | 2020-07-28T10:04:41.000Z | 2021-11-06T17:54:02.000Z | # package_program.py
from MyPackage.my_functions import a_new_function
from MyPackage.MySubFolder.subfolder_functions import which_course_is_this
from MyPackage.MySubFolder import subfolder_functions as sff
sff.which_course_is_this()
# a_new_function()
# which_course_is_this()
| 25.545455 | 74 | 0.86121 | 41 | 281 | 5.487805 | 0.463415 | 0.173333 | 0.173333 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085409 | 281 | 10 | 75 | 28.1 | 0.875486 | 0.206406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8602c425362094ed2ebc4984f358aeaa5ee09adb | 1,841 | py | Python | tests/test_curried.py | z8674558/Expression | a9e41f24f055c353b609d0a19e1a51fb0735d99e | [
"MIT"
] | null | null | null | tests/test_curried.py | z8674558/Expression | a9e41f24f055c353b609d0a19e1a51fb0735d99e | [
"MIT"
] | null | null | null | tests/test_curried.py | z8674558/Expression | a9e41f24f055c353b609d0a19e1a51fb0735d99e | [
"MIT"
] | null | null | null | from typing import Callable, overload
import pytest
from expression.core import curried
def test_curried_simple():
@curried
def add(a: int, b: int) -> int:
"""Add a + b"""
return a + b
assert add(3, 4) == 7
assert add()(3, 4) == 7
assert add(3)(4) == 7
assert add()(3)(4) == ... | 20.01087 | 49 | 0.492124 | 294 | 1,841 | 3.037415 | 0.136054 | 0.221725 | 0.212766 | 0.172452 | 0.743561 | 0.68533 | 0.646137 | 0.567749 | 0.567749 | 0.567749 | 0 | 0.0682 | 0.315046 | 1,841 | 91 | 50 | 20.230769 | 0.639968 | 0.048886 | 0 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.370968 | 1 | 0.225806 | false | 0 | 0.048387 | 0.016129 | 0.370968 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86056901e5592efffe0e7c1e02d4c21b481a858a | 48 | py | Python | rssant_config/__init__.py | lixiupei/rssant | a0602c561fbde3a564b4dadd177a96db64be8a56 | [
"BSD-3-Clause"
] | 2 | 2021-02-06T15:07:48.000Z | 2021-05-18T01:30:08.000Z | rssant_config/__init__.py | s1368816131/PY-rssant | 9fd1b7a251fd8346dd9480150f5928836b5f2914 | [
"BSD-3-Clause"
] | 5 | 2021-03-19T11:23:24.000Z | 2022-02-10T11:36:33.000Z | rssant_config/__init__.py | lixiupei/rssant | a0602c561fbde3a564b4dadd177a96db64be8a56 | [
"BSD-3-Clause"
] | null | null | null | from .env import CONFIG
__all__ = ('CONFIG', )
| 12 | 23 | 0.666667 | 6 | 48 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 3 | 24 | 16 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f7a377e84731f9f72fb64af788db949298853506 | 433 | py | Python | quotesbot/test.py | cankaya07/Window | 22ddbdf2c9ceb90584627ccc1e62eb44a4586945 | [
"MIT"
] | null | null | null | quotesbot/test.py | cankaya07/Window | 22ddbdf2c9ceb90584627ccc1e62eb44a4586945 | [
"MIT"
] | 1 | 2018-06-29T11:05:56.000Z | 2018-06-29T11:05:56.000Z | quotesbot/test.py | cankaya07/Window | 22ddbdf2c9ceb90584627ccc1e62eb44a4586945 | [
"MIT"
] | null | null | null | import scrapy
import yaml
x = "{title: 'Erkek Lacivert Günlük Ayakkabı', description: '<ul><li>Materyal: Keten</li><li>İç Materyal: Keten</li><li>Taban: Kauçuk Taban</li></ul>', url: '/erkek-lacivert-gunluk-ayakkabi-2538304', code: 'C-73994', id: '2538304', pri... | 61.857143 | 383 | 0.535797 | 54 | 433 | 4.296296 | 0.685185 | 0.112069 | 0.12931 | 0.146552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094463 | 0.290993 | 433 | 6 | 384 | 72.166667 | 0.65798 | 0 | 0 | 0 | 0 | 0.25 | 0.87067 | 0.096998 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f7ddad51f8536d18ddab5ed1a941627c79525873 | 311 | py | Python | Desafio013.py | GabrielSanchesRosa/Python | 3a129e27e076b2a91af03d68ede50b9c45c50217 | [
"MIT"
] | null | null | null | Desafio013.py | GabrielSanchesRosa/Python | 3a129e27e076b2a91af03d68ede50b9c45c50217 | [
"MIT"
] | null | null | null | Desafio013.py | GabrielSanchesRosa/Python | 3a129e27e076b2a91af03d68ede50b9c45c50217 | [
"MIT"
] | null | null | null | # Faça um algoritimo que leia o salário de um funcionário e mostre seu novo salário, com 15% de aumento.
salario = float(input('Qual é o salário do Funcionário? R$'))
novo = salario + (salario * 15 / 100)
print(f'Um funcionário que ganhava R${salario:.2f}, com 15% de aumento, passa a receber R${novo:.2f}.')
| 44.428571 | 104 | 0.710611 | 53 | 311 | 4.169811 | 0.584906 | 0.072398 | 0.063348 | 0.126697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042636 | 0.170418 | 311 | 6 | 105 | 51.833333 | 0.813953 | 0.327974 | 0 | 0 | 0 | 0.333333 | 0.618357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f7e59fb84c769c48e96b118004ac70e1be6b4625 | 115 | py | Python | back-end/f1hub/constructorstandings/apps.py | mmzboys/F1Hub | 5045c4c62dea738812a6856353d48e5b70d577e2 | [
"MIT"
] | null | null | null | back-end/f1hub/constructorstandings/apps.py | mmzboys/F1Hub | 5045c4c62dea738812a6856353d48e5b70d577e2 | [
"MIT"
] | 18 | 2019-08-29T12:42:11.000Z | 2022-02-12T13:04:58.000Z | back-end/f1hub/constructorstandings/apps.py | mmzboys/F1Hub | 5045c4c62dea738812a6856353d48e5b70d577e2 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ConstructorstandingsConfig(AppConfig):
name = 'constructorstandings'
| 19.166667 | 44 | 0.808696 | 10 | 115 | 9.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 5 | 45 | 23 | 0.93 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f7f30876108c925913bd55d6fe1062ce2b4a31ce | 2,035 | py | Python | services/storage/client-sdk/python/simcore_service_storage_sdk/__init__.py | KZzizzle/osparc-simcore | 981bc8d193f3f5d507e3225f857e0308c339e163 | [
"MIT"
] | null | null | null | services/storage/client-sdk/python/simcore_service_storage_sdk/__init__.py | KZzizzle/osparc-simcore | 981bc8d193f3f5d507e3225f857e0308c339e163 | [
"MIT"
] | 17 | 2020-10-15T16:06:05.000Z | 2022-03-21T18:48:21.000Z | services/storage/client-sdk/python/simcore_service_storage_sdk/__init__.py | Surfict/osparc-simcore | 1e0b89574ec17ecb089674f9e5daa83d624430c8 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
simcore-service-storage API
API definition for simcore-service-storage service # noqa: E501
OpenAPI spec version: 0.1.0
Contact: support@simcore.io
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
__version__ = "0.1.0"... | 46.25 | 104 | 0.885012 | 271 | 2,035 | 6.250923 | 0.265683 | 0.181818 | 0.272727 | 0.295159 | 0.531877 | 0.531877 | 0.508264 | 0.360094 | 0.174734 | 0.060213 | 0 | 0.005864 | 0.078133 | 2,035 | 43 | 105 | 47.325581 | 0.897122 | 0.14742 | 0 | 0 | 0 | 0 | 0.002936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.954545 | 0 | 0.954545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f7f57d00224792a4f3f8c2d4ac015d89da307f56 | 38 | py | Python | atom_babies/set_orientation_upside_down.py | 3110/atom-babies | 4cd326308ec407df0b23b5833213bea43d598934 | [
"MIT"
] | 2 | 2022-02-09T02:02:31.000Z | 2022-03-20T09:18:06.000Z | atom_babies/set_orientation_upside_down.py | 3110/atom-babies | 4cd326308ec407df0b23b5833213bea43d598934 | [
"MIT"
] | null | null | null | atom_babies/set_orientation_upside_down.py | 3110/atom-babies | 4cd326308ec407df0b23b5833213bea43d598934 | [
"MIT"
] | null | null | null | _ab_set_orientation('ORI_UPSIDE_DOWN') | 38 | 38 | 0.894737 | 6 | 38 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 38 | 1 | 38 | 38 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
79183b64b073bf5b1c405ad3b55b2a36c8503564 | 115 | py | Python | python/testData/intentions/convertTripleQuotedString.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/convertTripleQuotedString.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/convertTripleQuotedString.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | if True:
if True:
a = ''''Hello'<caret> - said man.\n
Let's go.
And they went out.''' | 23 | 39 | 0.443478 | 17 | 115 | 3 | 0.882353 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.391304 | 115 | 5 | 40 | 23 | 0.728571 | 0 | 0 | 0.4 | 0 | 0 | 0.698276 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
792e72990b842564db11a80bb900fb703e60f42a | 331 | py | Python | src/pycycle/api.py | OpenMDAO-Plugins/pyCycle | e55f9cbd0d596049bfbc45a9b1c4f0b560c9367d | [
"Apache-2.0"
] | 3 | 2016-11-26T17:19:32.000Z | 2020-07-07T14:50:22.000Z | src/pycycle/api.py | OpenMDAO-Plugins/pyCycle | e55f9cbd0d596049bfbc45a9b1c4f0b560c9367d | [
"Apache-2.0"
] | null | null | null | src/pycycle/api.py | OpenMDAO-Plugins/pyCycle | e55f9cbd0d596049bfbc45a9b1c4f0b560c9367d | [
"Apache-2.0"
] | 5 | 2015-07-02T07:35:05.000Z | 2016-11-26T17:18:30.000Z | from splitter import SplitterBPR, SplitterW
from start import FlowStart, FlowStartStatic
from inlet import Inlet
from nozzle import Nozzle
from duct import Duct
from compressor import Compressor
from heat_exchanger import HeatExchanger
from cycle_component import CycleComponent
from flowstation import FlowStation, Flow... | 33.1 | 51 | 0.873112 | 41 | 331 | 7 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117825 | 331 | 9 | 52 | 36.777778 | 0.982877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
79333bd3bd2c393657538c33da859d3ab7fb7c60 | 370 | py | Python | src/jnvportal/views.py | toransahu/jnv-portal | d08cd9987a718b4cc2926fc4e60376a1b805d79e | [
"Apache-2.0"
] | null | null | null | src/jnvportal/views.py | toransahu/jnv-portal | d08cd9987a718b4cc2926fc4e60376a1b805d79e | [
"Apache-2.0"
] | null | null | null | src/jnvportal/views.py | toransahu/jnv-portal | d08cd9987a718b4cc2926fc4e60376a1b805d79e | [
"Apache-2.0"
] | null | null | null | """sitewide view created especially for api_root"""
from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework.reverse import reverse
@api_view(http_method_names=['GET'])
def api_root(request, format=None):
return Response({
'users': reverse('users:use... | 26.428571 | 76 | 0.759459 | 49 | 370 | 5.55102 | 0.530612 | 0.088235 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132432 | 370 | 13 | 77 | 28.461538 | 0.847352 | 0.121622 | 0 | 0 | 0 | 0 | 0.072327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
f709f773e6761ca5effc91050a215dab991ab27e | 588 | py | Python | graphql/utils/tests/test_quoted_or_list.py | ThanksBoomerang/graphql-core-legacy | 6e2fbccdec655ce9122b84d3808c14242c4e6b96 | [
"MIT"
] | 8 | 2020-03-23T21:34:02.000Z | 2021-11-12T11:27:45.000Z | graphql/utils/tests/test_quoted_or_list.py | ThanksBoomerang/graphql-core-legacy | 6e2fbccdec655ce9122b84d3808c14242c4e6b96 | [
"MIT"
] | 17 | 2020-03-14T22:22:29.000Z | 2022-03-16T19:26:37.000Z | graphql/utils/tests/test_quoted_or_list.py | ThanksBoomerang/graphql-core-legacy | 6e2fbccdec655ce9122b84d3808c14242c4e6b96 | [
"MIT"
] | 17 | 2020-03-23T12:06:23.000Z | 2022-02-13T05:33:32.000Z | from pytest import raises
from ..quoted_or_list import quoted_or_list
def test_does_not_accept_an_empty_list():
with raises(StopIteration):
quoted_or_list([])
def test_returns_single_quoted_item():
assert quoted_or_list(["A"]) == '"A"'
def test_returns_two_item_list():
assert quoted_or_list([... | 23.52 | 88 | 0.646259 | 94 | 588 | 3.638298 | 0.361702 | 0.163743 | 0.245614 | 0.210526 | 0.394737 | 0.22807 | 0.22807 | 0.163743 | 0 | 0 | 0 | 0 | 0.159864 | 588 | 24 | 89 | 24.5 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.110544 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.384615 | true | 0 | 0.153846 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f70acec2724ccc45198a62b6a42519afcda8cad5 | 205 | py | Python | basic-lang-fun/oop.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | basic-lang-fun/oop.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | basic-lang-fun/oop.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __str__(self):
return "{" + self.name + " " + str(self.age) + "}"
p1 = Person("John", 36)
print(p1) | 18.636364 | 58 | 0.556098 | 28 | 205 | 3.785714 | 0.464286 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02649 | 0.263415 | 205 | 11 | 59 | 18.636364 | 0.675497 | 0 | 0 | 0 | 0 | 0 | 0.033981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.5 | 0.125 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f722ed2d78ffd31704a3828c381652fbd174ab85 | 1,115 | py | Python | curso_em_video/mundo_1/exs_python/ExPy002.py | LuiZamberlan/Ex.-Python | f5b6e4782e0ce0e3fead82b126b52588e1bc21b0 | [
"MIT"
] | 1 | 2020-09-19T21:39:12.000Z | 2020-09-19T21:39:12.000Z | curso_em_video/mundo_1/exs_python/ExPy002.py | LuiZamberlan/Ex.-Python | f5b6e4782e0ce0e3fead82b126b52588e1bc21b0 | [
"MIT"
] | null | null | null | curso_em_video/mundo_1/exs_python/ExPy002.py | LuiZamberlan/Ex.-Python | f5b6e4782e0ce0e3fead82b126b52588e1bc21b0 | [
"MIT"
] | null | null | null | n = str(input('Digite o nome: '))
#Função input(): tem por objetivo de escrever a String passada como parâmetro e em seguida, ativar o modo de digitação, isto é, colocar o Console de uma determinada forma em que seja possível a digitação (entrada de dados).
#faz uma pausa no programa e espera uma entrada do usuário pel... | 92.916667 | 360 | 0.765022 | 191 | 1,115 | 4.465969 | 0.570681 | 0.028136 | 0.031653 | 0.038687 | 0.069168 | 0.046893 | 0 | 0 | 0 | 0 | 0 | 0.00108 | 0.169507 | 1,115 | 11 | 361 | 101.363636 | 0.920086 | 0.843049 | 0 | 0 | 0 | 0 | 0.590643 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f7605ccc85d106d06a0bf781c87c1e594f594d45 | 1,864 | py | Python | test/MathAlgorithmTest.py | ryhoh/PrimesServer | 1085ab7fb416f380f12f5af060a6f374e868a567 | [
"MIT"
] | null | null | null | test/MathAlgorithmTest.py | ryhoh/PrimesServer | 1085ab7fb416f380f12f5af060a6f374e868a567 | [
"MIT"
] | null | null | null | test/MathAlgorithmTest.py | ryhoh/PrimesServer | 1085ab7fb416f380f12f5af060a6f374e868a567 | [
"MIT"
] | null | null | null | import unittest
import sys
sys.path.append('../src')
from MathAlgorithm import *
class MathAlgorithmTest(unittest.TestCase):
"""
eratosthenes(end: int)
[2, end) の区間内の素数をリストに詰める
2以下の入力に対し空リストを返す
"""
def test_eratosthenes(self):
self.assertEqual([], eratosthenes(-1))
... | 38.833333 | 66 | 0.5853 | 203 | 1,864 | 5.17734 | 0.216749 | 0.285442 | 0.182683 | 0.161751 | 0.69648 | 0.591817 | 0.591817 | 0.359657 | 0.253092 | 0.138915 | 0 | 0.062027 | 0.290773 | 1,864 | 47 | 67 | 39.659574 | 0.73298 | 0.034335 | 0 | 0.060606 | 0 | 0 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.121212 | false | 0 | 0.090909 | 0 | 0.242424 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3a902c2b48e25629206e8e38c1b38fcd985abaa | 205 | py | Python | test-projects/python_test/main.py | rectcircle/new-file-by-type | 85786a23366474dc5352f2e975fa741833682a56 | [
"MIT"
] | 14 | 2018-05-29T14:09:15.000Z | 2021-08-25T05:33:43.000Z | test-projects/python_test/main.py | rectcircle/new-file-by-type | 85786a23366474dc5352f2e975fa741833682a56 | [
"MIT"
] | 7 | 2019-05-13T02:54:46.000Z | 2022-02-26T03:58:16.000Z | test-projects/python_test/main.py | rectcircle/new-file-by-type | 85786a23366474dc5352f2e975fa741833682a56 | [
"MIT"
] | 2 | 2020-03-15T22:39:45.000Z | 2020-03-30T06:06:25.000Z | # -*- coding: utf8 -*-
# Copyright (c) 2019, Rectcircle. All rights reserved.
# @author Rectcircle
# @date 2019-06-13
# @version 0.0.1
# TODO: happy coding! (created by vscode extension new-file-by-type)
| 25.625 | 68 | 0.687805 | 30 | 205 | 4.7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 0.156098 | 205 | 7 | 69 | 29.285714 | 0.722543 | 0.931707 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3c864e48bf6bc0d7fecf668be89b69075a07541 | 93 | py | Python | particle/python/Gh2/examples/util.py | lcpp-org/PlasmaEDU | aba2a00c04413bdf26c74f9e5c515644a517b728 | [
"MIT"
] | 6 | 2020-08-04T21:51:28.000Z | 2021-12-09T22:16:43.000Z | particle/python/Gh2/examples/util.py | lcpp-org/PlasmaEDU | aba2a00c04413bdf26c74f9e5c515644a517b728 | [
"MIT"
] | 3 | 2020-02-19T16:12:05.000Z | 2020-09-21T20:44:16.000Z | particle/python/Gh2/examples/util.py | lcpp-org/PlasmaEDU | aba2a00c04413bdf26c74f9e5c515644a517b728 | [
"MIT"
] | 5 | 2020-02-19T16:09:02.000Z | 2022-01-31T19:56:00.000Z | import os
def mkdir(dirname):
if not os.path.exists(dirname):
os.mkdir(dirname)
| 15.5 | 35 | 0.655914 | 14 | 93 | 4.357143 | 0.642857 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 93 | 5 | 36 | 18.6 | 0.847222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3ca8dee16bf8a166685d4e97d47a8f0ad6c4de1 | 96 | py | Python | goodsorigin/apps.py | wh8983298/GreaterWMS | 487e819fcf21a0dca1c74f5b44bc7221353ea3e2 | [
"Apache-2.0"
] | 1,063 | 2020-11-15T12:55:15.000Z | 2022-03-31T14:33:12.000Z | goodsorigin/apps.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 96 | 2020-11-18T00:06:05.000Z | 2022-03-03T09:05:39.000Z | goodsorigin/apps.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 349 | 2020-11-15T13:15:30.000Z | 2022-03-31T11:01:15.000Z | from django.apps import AppConfig
class GoodsoriginConfig(AppConfig):
name = 'goodsorigin'
| 19.2 | 35 | 0.78125 | 10 | 96 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 4 | 36 | 24 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e3fcaa432b1a9079e91e6786ad9b040ae4ff8dfb | 108 | py | Python | test/static_analysis/keywords.py | mrclary/jedi | 803c3cb271ead297c4fe3ca916b54ed05a623459 | [
"MIT"
] | 4,213 | 2015-01-02T15:43:22.000Z | 2022-03-31T16:15:01.000Z | test/static_analysis/keywords.py | mrclary/jedi | 803c3cb271ead297c4fe3ca916b54ed05a623459 | [
"MIT"
] | 1,392 | 2015-01-02T18:43:39.000Z | 2022-03-27T18:43:59.000Z | test/static_analysis/keywords.py | PeterJCLaw/jedi | 070f191f550990c23220d7f209df076178307cf6 | [
"MIT"
] | 525 | 2015-01-02T19:07:31.000Z | 2022-03-13T02:03:20.000Z | def raises():
raise KeyError()
def wrong_name():
#! 6 name-error
raise NotExistingException()
| 13.5 | 32 | 0.648148 | 12 | 108 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.231481 | 108 | 7 | 33 | 15.428571 | 0.819277 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e3fcf61b8c260a0e17e4ba12279bfcfd750d00c5 | 17,963 | py | Python | python/test/grammar_translator/testAdaptiveDeviceSubroutine.py | ROCmSoftwarePlatform/gpufort | b3d392cf28200cd9b3b2f77689d5a81176b3ec42 | [
"MIT"
] | 57 | 2021-10-04T19:52:55.000Z | 2022-03-29T17:41:36.000Z | python/test/grammar_translator/testAdaptiveDeviceSubroutine.py | odellus/gpufort | f24f299e0a3a55c71bec8875e443be28413c9851 | [
"MIT"
] | 12 | 2021-09-29T11:32:59.000Z | 2021-12-09T11:39:54.000Z | python/test/grammar_translator/testAdaptiveDeviceSubroutine.py | ROCmSoftwarePlatform/gpufort | b3d392cf28200cd9b3b2f77689d5a81176b3ec42 | [
"MIT"
] | 5 | 2021-10-05T06:16:28.000Z | 2022-02-24T14:32:24.000Z | #!/usr/bin/env python3
# SPDX-License-Identifier: MIT
# Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
import addtoplevelpath
import translator.translator as translator
testdata = []
testdata.append("""
attributes(global) subroutine test_gpu(A_d,N)
implicit none
!
INTEGER,... | 29.160714 | 130 | 0.498024 | 2,696 | 17,963 | 3.260386 | 0.122404 | 0.026621 | 0.022753 | 0.015017 | 0.764846 | 0.736746 | 0.725825 | 0.652446 | 0.644937 | 0.641752 | 0 | 0.048332 | 0.345766 | 17,963 | 616 | 131 | 29.160714 | 0.699626 | 0.006625 | 0 | 0.6 | 0 | 0.07 | 0.929575 | 0.066056 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005 | 0 | 0.0225 | 0.015 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
54288e097bc83a5a006792d66e88c2820e188047 | 3,466 | py | Python | src/scs_core/data/publication.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 3 | 2019-03-12T01:59:58.000Z | 2020-09-12T07:27:42.000Z | src/scs_core/data/publication.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 1 | 2018-04-20T07:58:38.000Z | 2021-03-27T08:52:45.000Z | src/scs_core/data/publication.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 4 | 2017-09-29T13:08:43.000Z | 2019-10-09T09:13:58.000Z | """
Created on 22 Mar 2017
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
"""
from collections import OrderedDict
from scs_core.data.datetime import LocalizedDatetime
from scs_core.data.json import JSONable
# ----------------------------------------------------------------------------------------------... | 27.951613 | 118 | 0.348529 | 203 | 3,466 | 5.743842 | 0.270936 | 0.038593 | 0.060034 | 0.025729 | 0.205832 | 0.176672 | 0.132075 | 0.132075 | 0.132075 | 0.132075 | 0 | 0.003606 | 0.199942 | 3,466 | 123 | 119 | 28.178862 | 0.416877 | 0.444605 | 0 | 0.354167 | 0 | 0 | 0.059693 | 0.03012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.145833 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
582bdb4c67ede43e8a1f8b8378c2834d23a3655d | 659 | py | Python | controllers/__init__.py | MarceloJacinto/dsorlib | 5208919579726b73f088605885f6e1f0bf17d297 | [
"MIT"
] | null | null | null | controllers/__init__.py | MarceloJacinto/dsorlib | 5208919579726b73f088605885f6e1f0bf17d297 | [
"MIT"
] | null | null | null | controllers/__init__.py | MarceloJacinto/dsorlib | 5208919579726b73f088605885f6e1f0bf17d297 | [
"MIT"
] | null | null | null | # Import a general PID controller
from dsorlib.controllers.inner_loops.pid import PID
# Import surge (PI), yaw (PD) and yaw-rate (PI) controllers for an AUV and the corresponding outer-loops
from dsorlib.controllers.inner_loops.auv_inner_loops import yaw_rate_PI, yaw_PD, surge_PI
from dsorlib.controllers.outer_loops.a... | 54.916667 | 104 | 0.852807 | 93 | 659 | 5.870968 | 0.376344 | 0.100733 | 0.201465 | 0.148352 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100152 | 659 | 12 | 105 | 54.916667 | 0.920742 | 0.382398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5855832724a79514c4348603ce78cb641d29c115 | 210 | py | Python | pytest_cases/tests/pytest_extension/fixtures/test_so3.py | chinghwayu/python-pytest-cases | a95f2a50c201a10c6a2aa2544bd1ea39aab23a47 | [
"BSD-3-Clause"
] | null | null | null | pytest_cases/tests/pytest_extension/fixtures/test_so3.py | chinghwayu/python-pytest-cases | a95f2a50c201a10c6a2aa2544bd1ea39aab23a47 | [
"BSD-3-Clause"
] | null | null | null | pytest_cases/tests/pytest_extension/fixtures/test_so3.py | chinghwayu/python-pytest-cases | a95f2a50c201a10c6a2aa2544bd1ea39aab23a47 | [
"BSD-3-Clause"
] | null | null | null | from pytest_cases import pytest_fixture_plus
@pytest_fixture_plus(unpack_into="foo,bar")
def foobar():
return "blah", "whatever"
def test_stuff(foo, bar):
assert foo == "blah" and bar == "whatever"
| 19.090909 | 46 | 0.714286 | 30 | 210 | 4.766667 | 0.633333 | 0.181818 | 0.237762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 210 | 10 | 47 | 21 | 0.80791 | 0 | 0 | 0 | 0 | 0 | 0.147619 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5858a2f01ac1b0dc44c3cd154df9fd7b53af805b | 148 | py | Python | site-packages/vis/__init__.py | lebarsfa/vpython-wx | 38df062e5532b79f632f4f2a1abae86754c264a9 | [
"BSL-1.0"
] | 68 | 2015-01-17T05:41:58.000Z | 2021-04-24T08:35:24.000Z | site-packages/vis/__init__.py | lebarsfa/vpython-wx | 38df062e5532b79f632f4f2a1abae86754c264a9 | [
"BSL-1.0"
] | 16 | 2015-01-02T19:36:06.000Z | 2018-09-09T21:01:25.000Z | site-packages/vis/__init__.py | lebarsfa/vpython-wx | 38df062e5532b79f632f4f2a1abae86754c264a9 | [
"BSL-1.0"
] | 37 | 2015-02-04T04:23:00.000Z | 2020-06-07T03:24:41.000Z | from __future__ import print_function
import imp as _imp
import sys as _sys
from visual_common.create_display import *
scene = display()
| 16.444444 | 43 | 0.763514 | 21 | 148 | 4.952381 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 148 | 8 | 44 | 18.5 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
587055c1568bc63357416c305102a249aaf4fa73 | 36 | py | Python | Python Book/8. Loops/01_numbers_from_1_to_100/numbers_from_1_to_100.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | Python Book/8. Loops/01_numbers_from_1_to_100/numbers_from_1_to_100.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | Python Book/8. Loops/01_numbers_from_1_to_100/numbers_from_1_to_100.py | alexanderivanov2/Softuni-Software-Engineering | 8adb96f445f1da17dbb6eded9e9594319154c7e7 | [
"MIT"
] | null | null | null | for n in range(1, 101):
print(n) | 18 | 23 | 0.583333 | 8 | 36 | 2.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.25 | 36 | 2 | 24 | 18 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
587b7cdb62ee9c5a34ac039dc45b2ec81f70facd | 28 | py | Python | henka/__init__.py | pgarcia14180/henka | 850a01a272deaf414e70a818012f8b239018f460 | [
"MIT"
] | null | null | null | henka/__init__.py | pgarcia14180/henka | 850a01a272deaf414e70a818012f8b239018f460 | [
"MIT"
] | null | null | null | henka/__init__.py | pgarcia14180/henka | 850a01a272deaf414e70a818012f8b239018f460 | [
"MIT"
] | null | null | null | import henka
name = "henka" | 9.333333 | 14 | 0.714286 | 4 | 28 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 3 | 14 | 9.333333 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
58a27dc217c3b4e2569d1bd2e1590917f1fae75b | 8,199 | py | Python | lale/lib/sklearn/__init__.py | vickyvishal/lale | ff9d3666201648354a191ce30d3206151595d813 | [
"Apache-2.0"
] | null | null | null | lale/lib/sklearn/__init__.py | vickyvishal/lale | ff9d3666201648354a191ce30d3206151595d813 | [
"Apache-2.0"
] | null | null | null | lale/lib/sklearn/__init__.py | vickyvishal/lale | ff9d3666201648354a191ce30d3206151595d813 | [
"Apache-2.0"
] | 1 | 2021-03-16T08:20:30.000Z | 2021-03-16T08:20:30.000Z | # Copyright 2019 IBM Corporation
#
# 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, ... | 44.318919 | 108 | 0.815953 | 939 | 8,199 | 6.892439 | 0.204473 | 0.108158 | 0.216316 | 0.008807 | 0.046972 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002247 | 0.077448 | 8,199 | 184 | 109 | 44.559783 | 0.853384 | 0.708989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.019608 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
5432c42e1ec2cd94bf79ce730b93231a519366ff | 115 | py | Python | List_to_string.py | ElSalamino/NFTlittlebot | 5f10cb8825e1af7c15ebb842a20ef8fc2f241e0b | [
"CC0-1.0"
] | null | null | null | List_to_string.py | ElSalamino/NFTlittlebot | 5f10cb8825e1af7c15ebb842a20ef8fc2f241e0b | [
"CC0-1.0"
] | null | null | null | List_to_string.py | ElSalamino/NFTlittlebot | 5f10cb8825e1af7c15ebb842a20ef8fc2f241e0b | [
"CC0-1.0"
] | null | null | null | ef listToString(s):
str1 = ""
for ele in s:
str1 += f"{ele} "
return str1[:-1]
| 12.777778 | 25 | 0.408696 | 14 | 115 | 3.357143 | 0.714286 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.443478 | 115 | 8 | 26 | 14.375 | 0.671875 | 0 | 0 | 0 | 0 | 0 | 0.052174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
54657ca5a158ba1fccdc468fe541068aa6bfd33d | 121 | py | Python | django_afip/__init__.py | juanpsenn/django-afip | 3eb2231201fc5b34c7530592b29657bbea126b90 | [
"0BSD"
] | 27 | 2018-10-08T12:49:11.000Z | 2022-02-21T23:22:39.000Z | django_afip/__init__.py | juanpsenn/django-afip | 3eb2231201fc5b34c7530592b29657bbea126b90 | [
"0BSD"
] | 60 | 2018-08-21T22:26:30.000Z | 2022-03-15T17:19:18.000Z | django_afip/__init__.py | juanpsenn/django-afip | 3eb2231201fc5b34c7530592b29657bbea126b90 | [
"0BSD"
] | 15 | 2018-08-23T09:40:25.000Z | 2021-11-10T12:24:00.000Z | from . import version # type: ignore
__version__ = version.version
default_app_config = "django_afip.apps.AfipConfig"
| 20.166667 | 50 | 0.785124 | 15 | 121 | 5.866667 | 0.8 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 5 | 51 | 24.2 | 0.838095 | 0.099174 | 0 | 0 | 0 | 0 | 0.252336 | 0.252336 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5479be394dd6b18f4732262a175b8bee35e337d3 | 179 | py | Python | Aula 06.1 - Exercício 3 - Somando dois números/ex003_somando_dois_numeros.py | Guilherme-Artigas/Python-inicio | 2d08cd53afa38435a75053459523b8187f6d52e6 | [
"MIT"
] | null | null | null | Aula 06.1 - Exercício 3 - Somando dois números/ex003_somando_dois_numeros.py | Guilherme-Artigas/Python-inicio | 2d08cd53afa38435a75053459523b8187f6d52e6 | [
"MIT"
] | null | null | null | Aula 06.1 - Exercício 3 - Somando dois números/ex003_somando_dois_numeros.py | Guilherme-Artigas/Python-inicio | 2d08cd53afa38435a75053459523b8187f6d52e6 | [
"MIT"
] | null | null | null | print('Vamos somar dois valores inteiros...')
n1 = int(input('Digite o 1º valor: '))
n2 = int(input('Digite o 2º valor: '))
print('Soma entre {} e {} é {}'.format(n1, n2, n1+n2))
| 35.8 | 54 | 0.625698 | 30 | 179 | 3.733333 | 0.666667 | 0.142857 | 0.25 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05298 | 0.156425 | 179 | 4 | 55 | 44.75 | 0.688742 | 0 | 0 | 0 | 0 | 0 | 0.541899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
49bd8a723f49dabcb01d6cb8c77e92f05dd40dee | 2,938 | py | Python | sap/platform/abap/ddic.py | jakub-vaclavik-sap/sapcli | a0f40c3b2363bba0d34f705d92dd420d9adf3987 | [
"Apache-2.0"
] | 1 | 2020-12-07T00:51:08.000Z | 2020-12-07T00:51:08.000Z | sap/platform/abap/ddic.py | jakub-vaclavik-sap/sapcli | a0f40c3b2363bba0d34f705d92dd420d9adf3987 | [
"Apache-2.0"
] | null | null | null | sap/platform/abap/ddic.py | jakub-vaclavik-sap/sapcli | a0f40c3b2363bba0d34f705d92dd420d9adf3987 | [
"Apache-2.0"
] | 1 | 2022-01-10T03:58:03.000Z | 2022-01-10T03:58:03.000Z | """Common ABAP types"""
from sap.platform.abap import Structure, InternalTable
# pylint: disable=invalid-name
# pylint: disable=too-few-public-methods
class DEVC(Structure):
"""Class metadata"""
# pylint: disable=invalid-name
CTEXT: str
# pylint: disable=invalid-name
# pylint: disable=too-few-public-m... | 25.111111 | 54 | 0.678353 | 360 | 2,938 | 5.530556 | 0.277778 | 0.267705 | 0.321447 | 0.385736 | 0.618785 | 0.548468 | 0.548468 | 0.467102 | 0.467102 | 0.467102 | 0 | 0.001741 | 0.218176 | 2,938 | 116 | 55 | 25.327586 | 0.865041 | 0.642274 | 0 | 0.441176 | 0 | 0 | 0.005219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.970588 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
49bf7a7f7d1e13a65a5f6e53a334b9134f7b73a4 | 719 | py | Python | splitiorequests/models/environments/environment.py | mikoblog/splitio-requests | c09b069e49f5224cbe3f892a5731c62885fd6151 | [
"MIT"
] | null | null | null | splitiorequests/models/environments/environment.py | mikoblog/splitio-requests | c09b069e49f5224cbe3f892a5731c62885fd6151 | [
"MIT"
] | 4 | 2020-11-22T12:07:45.000Z | 2021-03-26T23:44:12.000Z | splitiorequests/models/environments/environment.py | mikoblog/splitio-requests | c09b069e49f5224cbe3f892a5731c62885fd6151 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Environment dataclass"""
from dataclasses import dataclass
from typing import Optional, List
@dataclass
class Environment:
"""Environment model"""
name: str
id: str
production: bool
orgId: Optional[str] = None
status: Optional[str] = None
workspaceIds: Optional[... | 27.653846 | 47 | 0.675939 | 81 | 719 | 6 | 0.395062 | 0.144033 | 0.246914 | 0.312757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001733 | 0.197497 | 719 | 25 | 48 | 28.76 | 0.840555 | 0.086231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.105263 | 0 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
49c2c5fbfc19cb9cc4265d27e8b70124dd693e21 | 197 | py | Python | disutils/Managers/Managers.py | pintermor9/DiscordUtils | 98927a15d4ad14a43c867804a5198bc9098413be | [
"MIT"
] | null | null | null | disutils/Managers/Managers.py | pintermor9/DiscordUtils | 98927a15d4ad14a43c867804a5198bc9098413be | [
"MIT"
] | null | null | null | disutils/Managers/Managers.py | pintermor9/DiscordUtils | 98927a15d4ad14a43c867804a5198bc9098413be | [
"MIT"
] | null | null | null | class SingletonManager:
__instance = None
def __new__(cls, *args, **kwargs):
if not cls.__instance:
cls.__instance = super().__new__(cls)
return cls.__instance
| 24.625 | 49 | 0.624365 | 21 | 197 | 5.095238 | 0.619048 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274112 | 197 | 7 | 50 | 28.142857 | 0.748252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 4 |
49e5864d68d7d6b579ac45e08881fcc09d720235 | 313 | py | Python | server/mlabns/handlers/privacy.py | mtlynch/m-lab.ns | 1108e7eb07993b571462cea70c174b9086b26aab | [
"Apache-2.0"
] | 10 | 2015-05-23T04:28:51.000Z | 2021-02-24T22:27:45.000Z | server/mlabns/handlers/privacy.py | mtlynch/m-lab.ns | 1108e7eb07993b571462cea70c174b9086b26aab | [
"Apache-2.0"
] | 171 | 2015-05-18T18:49:13.000Z | 2021-07-08T20:03:08.000Z | server/mlabns/handlers/privacy.py | mtlynch/m-lab.ns | 1108e7eb07993b571462cea70c174b9086b26aab | [
"Apache-2.0"
] | 13 | 2015-05-18T17:13:43.000Z | 2021-11-09T10:37:01.000Z | from google.appengine.ext import webapp
from mlabns.util import constants
from mlabns.util import util
class PrivacyHandler(webapp.RequestHandler):
def post(self):
"""Not implemented."""
return util.send_not_found(self)
def get(self):
self.redirect(constants.PRIVACY_DOC_URL)
| 20.866667 | 48 | 0.71885 | 40 | 313 | 5.525 | 0.625 | 0.090498 | 0.126697 | 0.180995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191693 | 313 | 14 | 49 | 22.357143 | 0.873518 | 0.051118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.875 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
b729017290eed952a67dffd431c5d7543288a7d3 | 115 | py | Python | venv/lib/python3.6/site-packages/pylint/test/functional/deprecated_method_getmoduleinfo.py | aitoehigie/britecore_flask | eef1873dbe6b2cc21f770bc6dec783007ae4493b | [
"MIT"
] | null | null | null | venv/lib/python3.6/site-packages/pylint/test/functional/deprecated_method_getmoduleinfo.py | aitoehigie/britecore_flask | eef1873dbe6b2cc21f770bc6dec783007ae4493b | [
"MIT"
] | 1 | 2021-06-01T23:32:38.000Z | 2021-06-01T23:32:38.000Z | venv/lib/python3.6/site-packages/pylint/test/functional/deprecated_method_getmoduleinfo.py | aitoehigie/britecore_flask | eef1873dbe6b2cc21f770bc6dec783007ae4493b | [
"MIT"
] | null | null | null | """Test that getmoduleinfo is deprecated."""
import inspect
inspect.getmoduleinfo(inspect) # [deprecated-method]
| 23 | 53 | 0.773913 | 12 | 115 | 7.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 4 | 54 | 28.75 | 0.864078 | 0.513043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b73e063f96115b8026492f585dede737bd2e8497 | 185 | py | Python | golem_driving/agents/agent.py | KNSI-Golem/Duckietown-Driving-Olympics | 051294c8094a81e7cd51efe5ec904c314d345c0a | [
"MIT"
] | null | null | null | golem_driving/agents/agent.py | KNSI-Golem/Duckietown-Driving-Olympics | 051294c8094a81e7cd51efe5ec904c314d345c0a | [
"MIT"
] | 10 | 2019-12-19T16:47:15.000Z | 2020-05-27T18:11:36.000Z | golem_driving/agents/agent.py | KNSI-Golem/Duckietown-Driving-Olympics | 051294c8094a81e7cd51efe5ec904c314d345c0a | [
"MIT"
] | null | null | null | from typing import Union
from numbers import Number
import numpy as np
class Agent:
def act(self, obs: np.ndarray) -> Union[np.ndarray, Number]:
raise NotImplementedError
| 20.555556 | 64 | 0.72973 | 26 | 185 | 5.192308 | 0.692308 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 185 | 8 | 65 | 23.125 | 0.912162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3f99d29d95a026509dd4a46bdc3022c286d77934 | 900 | py | Python | packages/pyright-scip/snapshots/output/file_from_module_import/abc/file.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | null | null | null | packages/pyright-scip/snapshots/output/file_from_module_import/abc/file.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | 19 | 2022-03-17T03:20:34.000Z | 2022-03-31T02:53:12.000Z | packages/pyright-scip/snapshots/output/file_from_module_import/abc/file.py | sourcegraph/pyright | f6a94a47f7e61172fd108ee9a4c62f748e1d24af | [
"MIT"
] | null | null | null | # < definition scip-python pypi snapshot-util 0.1 `abc.file`/__init__:
#documentation (module) abc.file
from xyz import nested_file
# ^^^ reference snapshot-util 0.1 xyz/__init__:
# ^^^^^^^^^^^ reference snapshot-util 0.1 `xyz.nested_file`/__init__:
print(nested_file.X)
#^^^^ reference python-stdl... | 47.368421 | 159 | 0.576667 | 102 | 900 | 4.833333 | 0.362745 | 0.085193 | 0.131846 | 0.141988 | 0.462475 | 0.462475 | 0.409736 | 0.409736 | 0.409736 | 0.166329 | 0 | 0.018841 | 0.233333 | 900 | 18 | 160 | 50 | 0.695652 | 0.912222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
3fea19a4e4865d47198f8751fdd7c22b06feb618 | 5,813 | py | Python | google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2_grpc.py | jiulongw/google-ads-python | 6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e | [
"Apache-2.0"
] | 1 | 2019-11-30T23:42:39.000Z | 2019-11-30T23:42:39.000Z | google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2_grpc.py | jiulongw/google-ads-python | 6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v2/proto/services/keyword_plan_service_pb2_grpc.py | jiulongw/google-ads-python | 6f5256eb1eeb5a9a95c8cdb9b97988d3a676282e | [
"Apache-2.0"
] | 1 | 2020-03-13T00:14:31.000Z | 2020-03-13T00:14:31.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.ads.google_ads.v2.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v2_dot_proto_dot_resources_dot_keyword__plan__pb2
from google.ads.google_ads.v2.proto.services import keyword_plan_service_pb2 as goog... | 55.894231 | 170 | 0.823327 | 646 | 5,813 | 6.80805 | 0.147059 | 0.060027 | 0.049113 | 0.061392 | 0.761482 | 0.761482 | 0.74261 | 0.694861 | 0.673033 | 0.615734 | 0 | 0.008762 | 0.116463 | 5,813 | 103 | 171 | 56.436893 | 0.847547 | 0.088595 | 0 | 0.235294 | 1 | 0 | 0.116061 | 0.074761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.044118 | 0 | 0.161765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3ff73a05f140ce049b278aa7c16a58658288feec | 239 | py | Python | Scripts/renametool_utils.py | Zhibade/modo-rename-tool | 17f1492d8594f6671c7a0ebbe679739a5e17c6ab | [
"MIT"
] | 1 | 2018-06-09T16:22:13.000Z | 2018-06-09T16:22:13.000Z | Scripts/renametool_utils.py | Zhibade/modo-rename-tool | 17f1492d8594f6671c7a0ebbe679739a5e17c6ab | [
"MIT"
] | null | null | null | Scripts/renametool_utils.py | Zhibade/modo-rename-tool | 17f1492d8594f6671c7a0ebbe679739a5e17c6ab | [
"MIT"
] | null | null | null | #python
# Generic MODO TD-SDK utils
# Author: Jose Lopez Romo - Zhibade
import lx
def query_user_value(user_value):
"""
Utility function for querying user values
"""
return lx.eval("user.value {0} ?".format(user_value))
| 18.384615 | 57 | 0.686192 | 34 | 239 | 4.705882 | 0.764706 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.200837 | 239 | 12 | 58 | 19.916667 | 0.832461 | 0.451883 | 0 | 0 | 0 | 0 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3fff180c8fc40b2ddf821f92b1baeee640a07ed5 | 90 | py | Python | payments/apps.py | RahulDas782/MoneyBee | ad6d6e4ac7ac71ca230a61d9c941922b38c59cb5 | [
"Apache-2.0"
] | 1 | 2018-09-27T10:02:15.000Z | 2018-09-27T10:02:15.000Z | payments/apps.py | RahulDas782/MoneyBee | ad6d6e4ac7ac71ca230a61d9c941922b38c59cb5 | [
"Apache-2.0"
] | 3 | 2019-01-04T05:50:59.000Z | 2019-01-24T01:05:49.000Z | payments/apps.py | hanship0530/privateSchoolCMS | 6cc425e0e7fdbd576c6bf4f3681238c509b35a5f | [
"MIT"
] | 2 | 2018-09-21T16:12:38.000Z | 2018-11-23T07:54:20.000Z | from django.apps import AppConfig
class PaymentsConfig(AppConfig):
name = 'payments'
| 18 | 33 | 0.766667 | 10 | 90 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 4 | 34 | 22.5 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b74b11763017ee7b2df1cd4cd8accfb1aae98068 | 164 | py | Python | test.py | dicksonorengo/desktop_app_simulation-and-modeling | c1fdbf4112ea361a6d7a95f04cd81d22e5f46a28 | [
"Apache-2.0"
] | 1 | 2019-12-21T20:57:05.000Z | 2019-12-21T20:57:05.000Z | test.py | dicksonorengo/desktop_app_simulation-and-modeling | c1fdbf4112ea361a6d7a95f04cd81d22e5f46a28 | [
"Apache-2.0"
] | 1 | 2021-09-02T03:08:53.000Z | 2021-09-02T03:08:53.000Z | test.py | dicksonorengo/desktop_app_simulation-and-modeling | c1fdbf4112ea361a6d7a95f04cd81d22e5f46a28 | [
"Apache-2.0"
] | null | null | null | from app import app
if __name__ == '__main__':
print('Server is running http://localhost:8000')
print('Build Successful')
print('Exit with status 0')
| 20.5 | 52 | 0.676829 | 22 | 164 | 4.681818 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037879 | 0.195122 | 164 | 7 | 53 | 23.428571 | 0.742424 | 0 | 0 | 0 | 0 | 0 | 0.493902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b74c4e958a8829a4cfd1b461e42c99c3f7f070fd | 46 | py | Python | packcircles/__init__.py | mhtchan/packcircles | 32668852cd234985b561570643c159f1bcd97954 | [
"MIT"
] | 4 | 2021-05-13T13:24:35.000Z | 2022-03-07T21:06:54.000Z | packcircles/__init__.py | mhtchan/packcircles | 32668852cd234985b561570643c159f1bcd97954 | [
"MIT"
] | null | null | null | packcircles/__init__.py | mhtchan/packcircles | 32668852cd234985b561570643c159f1bcd97954 | [
"MIT"
] | 2 | 2021-07-01T02:14:24.000Z | 2021-09-02T08:18:18.000Z | from .packcircles import *
__version__ = '0.1' | 23 | 26 | 0.73913 | 6 | 46 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.130435 | 46 | 2 | 27 | 23 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b752722699e406f4f2b0edec30aa0dd55ec392db | 38 | py | Python | Quiz 2/digits.py | elawson668/CSCI-2963 | d33ca0274d52149af9e91fc5d207f12215eef1d1 | [
"MIT"
] | null | null | null | Quiz 2/digits.py | elawson668/CSCI-2963 | d33ca0274d52149af9e91fc5d207f12215eef1d1 | [
"MIT"
] | null | null | null | Quiz 2/digits.py | elawson668/CSCI-2963 | d33ca0274d52149af9e91fc5d207f12215eef1d1 | [
"MIT"
] | null | null | null | n = 5**1000
n = str(n)
print len(n)
| 6.333333 | 12 | 0.526316 | 9 | 38 | 2.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0.263158 | 38 | 5 | 13 | 7.6 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4d09ae080729aa55c632dee851b828561ed16671 | 1,790 | py | Python | usersec/migrations/0007_hpcusercreaterequest_email_and_more.py | bihealth/hpc-access | ff606b18b18230af2876a791ca706d3b24addb59 | [
"MIT"
] | null | null | null | usersec/migrations/0007_hpcusercreaterequest_email_and_more.py | bihealth/hpc-access | ff606b18b18230af2876a791ca706d3b24addb59 | [
"MIT"
] | 27 | 2022-02-11T15:51:24.000Z | 2022-03-31T12:11:20.000Z | usersec/migrations/0007_hpcusercreaterequest_email_and_more.py | bihealth/hpc-access | ff606b18b18230af2876a791ca706d3b24addb59 | [
"MIT"
] | null | null | null | # Generated by Django 4.0.3 on 2022-04-01 14:51
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("usersec", "0006_remove_hpcuser_email_remove_hpcuser_first_names_and_more"),
]
operations = [
migrations.Add... | 31.403509 | 85 | 0.536872 | 166 | 1,790 | 5.638554 | 0.39759 | 0.034188 | 0.098291 | 0.115385 | 0.775641 | 0.775641 | 0.617521 | 0.617521 | 0.617521 | 0.617521 | 0 | 0.022046 | 0.36648 | 1,790 | 56 | 86 | 31.964286 | 0.803351 | 0.02514 | 0 | 0.84 | 1 | 0 | 0.227194 | 0.065978 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4d343c93da0e3ce6f4436e529a5d02f0341f3840 | 3,652 | py | Python | ewetasker/app.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | ewetasker/app.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | ewetasker/app.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | from flask import Flask
from delivery.channels import get_base_channels, get_custom_channels, get_custom_category_channels, get_category_channels, get_subchannels_of_channel, import_new_channel, delete_custom_channel_with_uri
from delivery.rules import create_rule, get_user_rules, delete_rule_with_uri
from delivery.eye... | 32.318584 | 201 | 0.743428 | 500 | 3,652 | 5.19 | 0.148 | 0.061657 | 0.04316 | 0.033911 | 0.287091 | 0.202698 | 0.132563 | 0.079383 | 0.079383 | 0.079383 | 0 | 0.002462 | 0.110077 | 3,652 | 112 | 202 | 32.607143 | 0.796 | 0 | 0 | 0.101124 | 0 | 0 | 0.162377 | 0.075575 | 0 | 0 | 0 | 0 | 0 | 1 | 0.224719 | false | 0.067416 | 0.134831 | 0.123596 | 0.58427 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
4da06e7386c913dbc0ad86a0475a301fd7333dac | 163 | py | Python | output/models/ms_data/model_groups/mg_b002_xsd/mg_b002.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/model_groups/mg_b002_xsd/mg_b002.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/model_groups/mg_i002_xsd/mg_i002.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass
class Bar:
class Meta:
name = "bar"
@dataclass
class Root(Bar):
class Meta:
name = "root"
| 11.642857 | 33 | 0.619632 | 19 | 163 | 5.315789 | 0.473684 | 0.277228 | 0.237624 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294479 | 163 | 13 | 34 | 12.538462 | 0.878261 | 0 | 0 | 0.444444 | 0 | 0 | 0.042945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4dc4c94079431c4ebcb099af7fff6e620ed063c4 | 77 | py | Python | crosshair/examples/icontract/__init__.py | samuelchassot/CrossHair | 4eac7a23e470567cc23e6d0916ce6dd6820eacd8 | [
"MIT"
] | 785 | 2019-09-28T14:47:48.000Z | 2022-03-24T15:04:03.000Z | crosshair/examples/icontract/__init__.py | samuelchassot/CrossHair | 4eac7a23e470567cc23e6d0916ce6dd6820eacd8 | [
"MIT"
] | 111 | 2019-10-19T14:43:03.000Z | 2022-03-29T07:23:32.000Z | crosshair/examples/icontract/__init__.py | nicpayne713/CrossHair | 98bc53798467f03c71ad63f041c7177894c86aa8 | [
"MIT"
] | 36 | 2018-05-12T03:31:29.000Z | 2022-03-02T14:07:16.000Z | # crosshair: analysis_kind=icontract
# crosshair: per_condition_timeout=0.75
| 25.666667 | 39 | 0.831169 | 10 | 77 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.077922 | 77 | 2 | 40 | 38.5 | 0.816901 | 0.935065 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4de71b7d295b71c4919a0047368e248128030972 | 62 | py | Python | examples/logging-format.py | osechet/flake8-gl-codeclimate | 4eaaf623747ca2c76700951a692e12781aaffb65 | [
"MIT"
] | 12 | 2020-06-08T22:32:34.000Z | 2022-02-18T14:59:49.000Z | examples/logging-format.py | osechet/flake8-gl-codeclimate | 4eaaf623747ca2c76700951a692e12781aaffb65 | [
"MIT"
] | 5 | 2021-11-01T14:31:08.000Z | 2022-01-22T17:07:34.000Z | examples/logging-format.py | osechet/flake8-gl-codeclimate | 4eaaf623747ca2c76700951a692e12781aaffb65 | [
"MIT"
] | 5 | 2020-11-24T08:33:59.000Z | 2022-03-13T16:17:06.000Z | import logging
logging.info("Do not {}!".format("do this"))
| 12.4 | 44 | 0.66129 | 9 | 62 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 4 | 45 | 15.5 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4de87647c106f4c8afd95d1d0617754ec705a006 | 23 | py | Python | Python/tdw/version.py | felixbinder/tdw | eb2b00b74b9fcf8ef2dcba1baa62424640c520b1 | [
"BSD-2-Clause"
] | null | null | null | Python/tdw/version.py | felixbinder/tdw | eb2b00b74b9fcf8ef2dcba1baa62424640c520b1 | [
"BSD-2-Clause"
] | null | null | null | Python/tdw/version.py | felixbinder/tdw | eb2b00b74b9fcf8ef2dcba1baa62424640c520b1 | [
"BSD-2-Clause"
] | null | null | null | __version__ = "1.8.8"
| 11.5 | 22 | 0.608696 | 4 | 23 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.173913 | 23 | 1 | 23 | 23 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4def947ffc3f60e441057d6ade1a918186f99917 | 167 | py | Python | MyDIPUtils/scrap.py | DaddyGang/Laser-Shadowgraph-Image-Processing | befbba60f88d6ec3b250458733b2d56a3712e970 | [
"MIT"
] | 3 | 2018-10-21T05:16:29.000Z | 2018-11-01T06:33:13.000Z | MyDIPUtils/scrap.py | DaddyGang/Laser-Shadowgraph-Image-Processing | befbba60f88d6ec3b250458733b2d56a3712e970 | [
"MIT"
] | null | null | null | MyDIPUtils/scrap.py | DaddyGang/Laser-Shadowgraph-Image-Processing | befbba60f88d6ec3b250458733b2d56a3712e970 | [
"MIT"
] | null | null | null | import cv2
import numpy as np
import matplotlib.pyplot as plt
dir = 'C:/Users/sirei/Pictures/QQ-record082618/'
camera = cv2.VideoCapture(dir + "cavitation0.3.avi") | 33.4 | 52 | 0.754491 | 25 | 167 | 5.04 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.125749 | 167 | 5 | 52 | 33.4 | 0.794521 | 0 | 0 | 0 | 0 | 0 | 0.347561 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4df1b44bb74855c8af9ea56c91e484d665c111ce | 173 | py | Python | tests/test_api.py | cav71/click-plus | a910a7b6d45d5bf0213faf101fb9a97578f7f4c6 | [
"BSD-2-Clause"
] | null | null | null | tests/test_api.py | cav71/click-plus | a910a7b6d45d5bf0213faf101fb9a97578f7f4c6 | [
"BSD-2-Clause"
] | null | null | null | tests/test_api.py | cav71/click-plus | a910a7b6d45d5bf0213faf101fb9a97578f7f4c6 | [
"BSD-2-Clause"
] | null | null | null | import click.decorators
import click.plus
def test_import():
"test import the api"
from click.plus import api # noqa: F401
assert click.decorators.command()
| 17.3 | 44 | 0.716763 | 24 | 173 | 5.125 | 0.541667 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.202312 | 173 | 9 | 45 | 19.222222 | 0.869565 | 0.179191 | 0 | 0 | 0 | 0 | 0.118012 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0 | 0.833333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4df8f547268e2ba43b79efab8e5b589dc1d19120 | 166 | py | Python | optimizer/__init__.py | alex/optimizer-model | 0e40a0763082f5fe0bd596e8e77ebccbcd7f4a98 | [
"BSD-3-Clause"
] | 4 | 2015-04-29T22:49:25.000Z | 2018-02-16T09:06:08.000Z | optimizer/__init__.py | alex/optimizer-model | 0e40a0763082f5fe0bd596e8e77ebccbcd7f4a98 | [
"BSD-3-Clause"
] | null | null | null | optimizer/__init__.py | alex/optimizer-model | 0e40a0763082f5fe0bd596e8e77ebccbcd7f4a98 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from .consts import Operations, Types
from .optimizer import Optimizer
__all__ = [
"Operations", "Types", "Optimizer",
]
| 18.444444 | 39 | 0.753012 | 18 | 166 | 6.444444 | 0.5 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 166 | 8 | 40 | 20.75 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1505d0df48c0a097f0decfbb0d309bfcaad54c12 | 123 | py | Python | src/ocspdash/web/__init__.py | scolby33/OCSPdash | 3eac8841e93ee50f3199ed685fd54eef372e21a3 | [
"MIT"
] | null | null | null | src/ocspdash/web/__init__.py | scolby33/OCSPdash | 3eac8841e93ee50f3199ed685fd54eef372e21a3 | [
"MIT"
] | 44 | 2017-08-16T10:28:51.000Z | 2021-04-30T20:46:12.000Z | src/ocspdash/web/__init__.py | scolby33/OCSPdash | 3eac8841e93ee50f3199ed685fd54eef372e21a3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""The OCSPdash web UI."""
from .app import create_application
__all__ = ['create_application']
| 15.375 | 35 | 0.666667 | 15 | 123 | 5.066667 | 0.866667 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.154472 | 123 | 7 | 36 | 17.571429 | 0.721154 | 0.349594 | 0 | 0 | 0 | 0 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1514c51794cf2c25505757cd485a17f01b8cc5bb | 13,960 | py | Python | integration_tests/strax_tests/test_coldstaking_endpoints.py | madrazzl3/pystratis | 8b78552e753ae1d12f2afb39e9a322a270fbb7b3 | [
"MIT"
] | null | null | null | integration_tests/strax_tests/test_coldstaking_endpoints.py | madrazzl3/pystratis | 8b78552e753ae1d12f2afb39e9a322a270fbb7b3 | [
"MIT"
] | null | null | null | integration_tests/strax_tests/test_coldstaking_endpoints.py | madrazzl3/pystratis | 8b78552e753ae1d12f2afb39e9a322a270fbb7b3 | [
"MIT"
] | null | null | null | import pytest
from pystratis.nodes import StraxNode
from pystratis.core.types import Money, Address, hexstr
from pystratis.api.coldstaking.responsemodels import *
@pytest.fixture(scope='package')
def hot_wallet_name() -> str:
return 'Test'
@pytest.fixture(scope='package')
def offline_node_default_wallet_name() ... | 41.547619 | 146 | 0.761748 | 1,740 | 13,960 | 5.641379 | 0.082184 | 0.064181 | 0.050122 | 0.071516 | 0.809902 | 0.760391 | 0.7337 | 0.698044 | 0.654544 | 0.639059 | 0 | 0.006613 | 0.176791 | 13,960 | 335 | 147 | 41.671642 | 0.847546 | 0.061246 | 0 | 0.612676 | 0 | 0 | 0.033761 | 0.002444 | 0 | 0 | 0 | 0 | 0.098592 | 1 | 0.059859 | false | 0.028169 | 0.014085 | 0.010563 | 0.09507 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1284afbc6b051b1099afcdd705be9d6320042de6 | 357 | py | Python | src/webtsainterface/views.py | LimnoTech/WEBTSA | f67ccfac0e4d101a6c67f50fabe5c171303bede3 | [
"BSD-3-Clause"
] | null | null | null | src/webtsainterface/views.py | LimnoTech/WEBTSA | f67ccfac0e4d101a6c67f50fabe5c171303bede3 | [
"BSD-3-Clause"
] | 2 | 2021-09-03T18:47:04.000Z | 2021-12-16T21:27:54.000Z | src/webtsainterface/views.py | LimnoTech/WEBTSA | f67ccfac0e4d101a6c67f50fabe5c171303bede3 | [
"BSD-3-Clause"
] | null | null | null | from WEBTSA.settings.base import TEMPLATES
from django.views.generic.base import TemplateView
from django.shortcuts import render
#class TsaView(TemplateView):
# #template_name = 'webtsainterface/index.html'
# template_name = 'templates\webtsainterface\index.html'
def index(request):
return render(
... | 23.8 | 59 | 0.733894 | 40 | 357 | 6.5 | 0.55 | 0.103846 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173669 | 357 | 14 | 60 | 25.5 | 0.881356 | 0.37535 | 0 | 0 | 0 | 0 | 0.045662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
12873110705d67252c3cc360e93d6a26c7788a70 | 561 | py | Python | peacecorps/peacecorps/templatetags/share.py | larry1138/peacecorps-site-BUT-BETTER | 7e1ebbb46c47873cd74675c2db641b8ba60a1169 | [
"CC0-1.0"
] | 8 | 2015-01-06T15:38:12.000Z | 2016-05-02T23:55:39.000Z | peacecorps/peacecorps/templatetags/share.py | larry1138/peacecorps-site-BUT-BETTER | 7e1ebbb46c47873cd74675c2db641b8ba60a1169 | [
"CC0-1.0"
] | 61 | 2015-01-05T18:20:57.000Z | 2016-01-28T22:08:03.000Z | peacecorps/peacecorps/templatetags/share.py | larry1138/peacecorps-site-BUT-BETTER | 7e1ebbb46c47873cd74675c2db641b8ba60a1169 | [
"CC0-1.0"
] | 12 | 2015-02-04T21:15:41.000Z | 2021-02-17T11:03:27.000Z | """Provides the data for sharing over social media."""
from django.conf import settings
from django_jinja import library
@library.global_function
def share_tweet():
return getattr(settings, 'SHARE_TWEET', '')
@library.global_function
def share_url(request, override=None):
if override is None:
return ... | 24.391304 | 54 | 0.750446 | 71 | 561 | 5.732394 | 0.478873 | 0.127764 | 0.206388 | 0.235872 | 0.285012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146168 | 561 | 22 | 55 | 25.5 | 0.849687 | 0.085562 | 0 | 0.25 | 0 | 0 | 0.074951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.1875 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
12951bc496354b956af9f50c45d049d850bb7c47 | 139 | py | Python | game/utils/__init__.py | lukaspestalozzi/Master_Semester_Project | 4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e | [
"MIT"
] | null | null | null | game/utils/__init__.py | lukaspestalozzi/Master_Semester_Project | 4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e | [
"MIT"
] | null | null | null | game/utils/__init__.py | lukaspestalozzi/Master_Semester_Project | 4e71d4034ae3f5e7efa0864b48c6fd4d876fef4e | [
"MIT"
] | null | null | null | from .utils import *
from .typedcollections import TypedList, TypedTuple
from .gametree import GameTree, GameTreeNode
from .types import *
| 27.8 | 51 | 0.81295 | 16 | 139 | 7.0625 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129496 | 139 | 4 | 52 | 34.75 | 0.933884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
12a93a2d05d24fc2c74e396adb62f81d85355874 | 203 | py | Python | statistics/__init__.py | stevehamwu/EmotionCauseExtraction | b5a160f35f7b03bf3730b6885096dbc5f958df8b | [
"MIT"
] | 3 | 2022-02-07T12:08:38.000Z | 2022-03-28T04:26:39.000Z | statistics/__init__.py | stevehamwu/EmotionCauseExtraction | b5a160f35f7b03bf3730b6885096dbc5f958df8b | [
"MIT"
] | null | null | null | statistics/__init__.py | stevehamwu/EmotionCauseExtraction | b5a160f35f7b03bf3730b6885096dbc5f958df8b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2019/2/23 11:26
# @Author : Steve Wu
# @Site :
# @File : __init__.py.py
# @Software: PyCharm
# @Github : https://github.com/stevehamwu
| 22.555556 | 42 | 0.581281 | 28 | 203 | 4.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.211823 | 203 | 8 | 43 | 25.375 | 0.6375 | 0.921182 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
12ca9ed0ffd58aeffaaae3a45565023eddb28fe7 | 213 | py | Python | backend/records/templatetags/clock.py | luoy2/babytimer | 0a04359c869ddeeeedec200aaa1dfdfb998b736c | [
"MIT"
] | 5 | 2021-06-14T01:20:57.000Z | 2021-09-05T15:23:56.000Z | backend/records/templatetags/clock.py | luoy2/babytimer | 0a04359c869ddeeeedec200aaa1dfdfb998b736c | [
"MIT"
] | null | null | null | backend/records/templatetags/clock.py | luoy2/babytimer | 0a04359c869ddeeeedec200aaa1dfdfb998b736c | [
"MIT"
] | null | null | null | from django import template
from django.utils import timezone as tz
register = template.Library()
import datetime
@register.simple_tag
def current_time(format_string):
return tz.now().strftime(format_string) | 23.666667 | 43 | 0.807512 | 30 | 213 | 5.6 | 0.7 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117371 | 213 | 9 | 43 | 23.666667 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
4201289b4ee55616ffe5e675b7eafed009b9444f | 60 | py | Python | test/completion/stub_folder/with_stub_folder/__init__.py | kirat-singh/jedi | 65bc1c117b3175cb4d492484775c3fd7f207bc92 | [
"MIT"
] | 4,213 | 2015-01-02T15:43:22.000Z | 2022-03-31T16:15:01.000Z | test/completion/stub_folder/with_stub_folder/__init__.py | kirat-singh/jedi | 65bc1c117b3175cb4d492484775c3fd7f207bc92 | [
"MIT"
] | 1,392 | 2015-01-02T18:43:39.000Z | 2022-03-27T18:43:59.000Z | test/completion/stub_folder/with_stub_folder/__init__.py | PeterJCLaw/jedi | 070f191f550990c23220d7f209df076178307cf6 | [
"MIT"
] | 525 | 2015-01-02T19:07:31.000Z | 2022-03-13T02:03:20.000Z | in_with_stub_both_folder = 5
in_with_stub_python_folder = 8
| 20 | 30 | 0.866667 | 12 | 60 | 3.666667 | 0.666667 | 0.272727 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.1 | 60 | 2 | 31 | 30 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4204d8bd4fab6e84cbcf63f4f282c2f1b87d03e8 | 340 | py | Python | pkg/msgapi/mqtt/models/__init__.py | ToraNova/rapidflask | f42354b296659dac5be904d7bb68076b9458f79a | [
"MIT"
] | null | null | null | pkg/msgapi/mqtt/models/__init__.py | ToraNova/rapidflask | f42354b296659dac5be904d7bb68076b9458f79a | [
"MIT"
] | null | null | null | pkg/msgapi/mqtt/models/__init__.py | ToraNova/rapidflask | f42354b296659dac5be904d7bb68076b9458f79a | [
"MIT"
] | null | null | null | # Models for MQTT client on board the http server
# Import model classes here for re-export so the
# naming is easier on the entire system
# introduced u8 @date 20/05/2019
from pkg.msgapi.mqtt.models.mqsub import MQTT_Sub
from pkg.msgapi.mqtt.models.mqmsg import MQTT_Msg
from pkg.msgapi.mqtt.models.mqbrk import MQTT_B... | 37.777778 | 66 | 0.808824 | 59 | 340 | 4.59322 | 0.627119 | 0.077491 | 0.143911 | 0.188192 | 0.254613 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030508 | 0.132353 | 340 | 8 | 67 | 42.5 | 0.888136 | 0.479412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
42299dec203fff4a5e7f7ae56fca4a0b5b54eb30 | 105 | py | Python | genericfile/admin.py | djangothon/django-generic-file | 06366ab0b02295501fa318e81dc2e96f0de9c688 | [
"MIT"
] | 1 | 2015-08-22T18:29:24.000Z | 2015-08-22T18:29:24.000Z | genericfile/admin.py | djangothon/django-generic-file | 06366ab0b02295501fa318e81dc2e96f0de9c688 | [
"MIT"
] | null | null | null | genericfile/admin.py | djangothon/django-generic-file | 06366ab0b02295501fa318e81dc2e96f0de9c688 | [
"MIT"
] | null | null | null | from django.contrib import admin
from genericfile.models import FileStore
admin.site.register(FileStore) | 26.25 | 40 | 0.857143 | 14 | 105 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 4 | 41 | 26.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4251cfc8e97e6cec708ea7db61b4e943b19a94c7 | 258 | py | Python | datastore/connectors/megatron_datasets.py | drugilsberg/data-tooling | 4dff0598b2a998f09b611980a717d9d14ea51fc3 | [
"Apache-2.0"
] | null | null | null | datastore/connectors/megatron_datasets.py | drugilsberg/data-tooling | 4dff0598b2a998f09b611980a717d9d14ea51fc3 | [
"Apache-2.0"
] | null | null | null | datastore/connectors/megatron_datasets.py | drugilsberg/data-tooling | 4dff0598b2a998f09b611980a717d9d14ea51fc3 | [
"Apache-2.0"
] | null | null | null | #################################################################################################################################
# Code for megatron mmap indexed datasets, which are in turn based on memmap datasets, and a custom numpy based index file.
| 64.5 | 130 | 0.379845 | 21 | 258 | 4.666667 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 258 | 3 | 131 | 86 | 0.424242 | 0.468992 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
425b9ffa4a267ccda24725b1e52dba7c77f0bea3 | 22 | py | Python | src/masonite/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | null | null | null | src/masonite/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | null | null | null | src/masonite/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | null | null | null | __version__ = "4.6.4"
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.