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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1eab5bccab786619df5f29f4d8228a70eae6f205 | 68 | py | Python | datatyping/__init__.py | theelous3/json_type_enforcer | 511af471705f64e07cf2e714b86fc7f506b868ed | [
"MIT"
] | null | null | null | datatyping/__init__.py | theelous3/json_type_enforcer | 511af471705f64e07cf2e714b86fc7f506b868ed | [
"MIT"
] | null | null | null | datatyping/__init__.py | theelous3/json_type_enforcer | 511af471705f64e07cf2e714b86fc7f506b868ed | [
"MIT"
] | 1 | 2017-07-22T01:08:29.000Z | 2017-07-22T01:08:29.000Z | from .checker import validate
from .creator import create_structure
| 22.666667 | 37 | 0.852941 | 9 | 68 | 6.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 38 | 34 | 0.95 | 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 | 1 | 0 | 0 | 5 |
1ebe92370746ca0648cbf5816d4e31ebe3a5e879 | 54 | py | Python | CodeWars/7 Kyu/Every nth array element. (Basic).py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Every nth array element. (Basic).py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Every nth array element. (Basic).py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def every(lst, f=1, start=0):
return lst[start::f] | 27 | 29 | 0.62963 | 11 | 54 | 3.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.166667 | 54 | 2 | 30 | 27 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
949ec5a8c02108a1da57738b4ecbf7ad8748b2c3 | 64 | py | Python | janusbackup/schemas/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | janusbackup/schemas/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | janusbackup/schemas/__init__.py | NikitosnikN/janus-backup | 413d365663b532a0611575be16ea0a4f0c7ffd20 | [
"MIT"
] | null | null | null | from .base import *
from .logs import *
from .projects import *
| 16 | 23 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 24 | 21.333333 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a2103c44fa24b20e264e3c7b83ddf8eaeae28fc0 | 65 | py | Python | ferris/core/ndb/__init__.py | palladius/gae-ferris-ricc | e6d9d8d4aadeae10eb258b94b6fe5912c8630b36 | [
"MIT"
] | 2 | 2015-03-04T07:05:57.000Z | 2015-03-04T07:06:00.000Z | ferris/core/ndb/__init__.py | palladius/gae-ferris-ricc | e6d9d8d4aadeae10eb258b94b6fe5912c8630b36 | [
"MIT"
] | null | null | null | ferris/core/ndb/__init__.py | palladius/gae-ferris-ricc | e6d9d8d4aadeae10eb258b94b6fe5912c8630b36 | [
"MIT"
] | null | null | null | from .model import *
from .behavior import *
from .util import *
| 16.25 | 23 | 0.723077 | 9 | 65 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 24 | 21.666667 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bf4027f99b1f50375340b392251260952426cc59 | 195 | py | Python | Covid19_TH_dailyData.py | pluz85/Covid19TH-DailyData | 654e00c841a465c1097ec7c1d44e8cc414a63576 | [
"MIT"
] | 1 | 2020-08-16T06:20:42.000Z | 2020-08-16T06:20:42.000Z | Covid19_TH_dailyData.py | pk85-sp3ct0r/Covid19TH-DailyData | 654e00c841a465c1097ec7c1d44e8cc414a63576 | [
"MIT"
] | 6 | 2021-06-17T08:27:51.000Z | 2021-12-24T13:11:14.000Z | Covid19_TH_dailyData.py | pk85-sp3ct0r/Covid19TH-DailyData | 654e00c841a465c1097ec7c1d44e8cc414a63576 | [
"MIT"
] | 1 | 2020-09-27T04:08:58.000Z | 2020-09-27T04:08:58.000Z | from app import *
if __name__ == "__main__":
export_all_type(sitrep_df, "all_covid_situation")
export_all_type(sitrep_province_df, "all_covid_situation_province")
zip_all("dataset")
| 27.857143 | 71 | 0.764103 | 27 | 195 | 4.740741 | 0.592593 | 0.140625 | 0.203125 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 195 | 6 | 72 | 32.5 | 0.757396 | 0 | 0 | 0 | 0 | 0 | 0.317949 | 0.14359 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bf900d205ea07083fb731d6ac0813a269850cce7 | 58 | py | Python | pthtemplate/iterator/__init__.py | try-skycn/PytorchTemplate | 5d039d6fdc119a01e72b1e0500ced81e75eb42ca | [
"MIT"
] | null | null | null | pthtemplate/iterator/__init__.py | try-skycn/PytorchTemplate | 5d039d6fdc119a01e72b1e0500ced81e75eb42ca | [
"MIT"
] | null | null | null | pthtemplate/iterator/__init__.py | try-skycn/PytorchTemplate | 5d039d6fdc119a01e72b1e0500ced81e75eb42ca | [
"MIT"
] | null | null | null | from .epoch import Epoch
from .iteration import Iteration
| 19.333333 | 32 | 0.827586 | 8 | 58 | 6 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 33 | 29 | 0.96 | 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 | 1 | 0 | 0 | 5 |
44ac1650b0c0c07a4c788440a33def82acc1289f | 389 | py | Python | rplugin/python3/denite/source/coc_workspace_symbols.py | statiolake/denite-coc-workspace-symbols | 541fc2f1a7613be63c4660c247b84fd68a737a21 | [
"MIT"
] | null | null | null | rplugin/python3/denite/source/coc_workspace_symbols.py | statiolake/denite-coc-workspace-symbols | 541fc2f1a7613be63c4660c247b84fd68a737a21 | [
"MIT"
] | null | null | null | rplugin/python3/denite/source/coc_workspace_symbols.py | statiolake/denite-coc-workspace-symbols | 541fc2f1a7613be63c4660c247b84fd68a737a21 | [
"MIT"
] | null | null | null | import sys
from pathlib import Path
sys.path.append(str(Path(__file__).parent.parent.parent.resolve()))
from coc_workspace_symbols.symbol_base import SymbolBase
class Source(SymbolBase):
def __init__(self, vim):
super().__init__(vim, 'coc-workspace-symbols')
def start_lookup(self, query):
se... | 27.785714 | 78 | 0.755784 | 52 | 389 | 5.269231 | 0.538462 | 0.233577 | 0.208029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131105 | 389 | 13 | 79 | 29.923077 | 0.810651 | 0 | 0 | 0 | 0 | 0 | 0.172237 | 0.172237 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
44b70edb66368853986b40a2ae589f24cdacfaa6 | 111 | py | Python | main.py | MarkASeymour/password-encryptor-py | a5cbd925bcac5dda801905e267bbbbdabfeb191c | [
"MIT"
] | null | null | null | main.py | MarkASeymour/password-encryptor-py | a5cbd925bcac5dda801905e267bbbbdabfeb191c | [
"MIT"
] | null | null | null | main.py | MarkASeymour/password-encryptor-py | a5cbd925bcac5dda801905e267bbbbdabfeb191c | [
"MIT"
] | null | null | null | import os
import application.application as app
import base64
if __name__ == '__main__':
app.greetings()
| 13.875 | 37 | 0.747748 | 14 | 111 | 5.357143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.171171 | 111 | 7 | 38 | 15.857143 | 0.793478 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
44f0e18b5fc1e025734dfc14ea901d0e4db0f281 | 247 | py | Python | WhatsAppManifest/automator/whatsapp/database/wa.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 15 | 2020-03-11T17:31:12.000Z | 2021-11-19T03:26:09.000Z | WhatsAppManifest/automator/whatsapp/database/wa.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 5 | 2021-03-31T19:43:15.000Z | 2022-03-12T00:18:38.000Z | WhatsAppManifest/automator/whatsapp/database/wa.py | riquedev/WhatsAppManifest | bcbbd48f6f9152024a54172886876d3a725a3a62 | [
"MIT"
] | 4 | 2020-03-11T01:52:57.000Z | 2021-03-16T04:14:33.000Z | from WhatsAppManifest.manifest.whatsapp.path import Path
from WhatsAppManifest.automator.whatsapp.database.base import WhatsAppDatabase
class WhatsAppDatabaseWA(WhatsAppDatabase):
"""
WhatsApp WA Database
"""
_database = Path.wa
| 24.7 | 78 | 0.781377 | 24 | 247 | 8 | 0.541667 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145749 | 247 | 9 | 79 | 27.444444 | 0.909953 | 0.080972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
44fb5ed7f7e5a522f2f711a0f8ba48d81213d12c | 30 | py | Python | ProjectRolePlayingGame/src/relation/Relationship.py | Exotikz/natural_language_rpg | cde1ba9a46d53ac5ea0c0293f05a9893db54266f | [
"MIT"
] | null | null | null | ProjectRolePlayingGame/src/relation/Relationship.py | Exotikz/natural_language_rpg | cde1ba9a46d53ac5ea0c0293f05a9893db54266f | [
"MIT"
] | null | null | null | ProjectRolePlayingGame/src/relation/Relationship.py | Exotikz/natural_language_rpg | cde1ba9a46d53ac5ea0c0293f05a9893db54266f | [
"MIT"
] | null | null | null | class Relationship():
pass | 15 | 21 | 0.7 | 3 | 30 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 2 | 22 | 15 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
44ff97f71858a7385542a2b57e8e01a8df4c7642 | 98 | py | Python | spark/example/count.py | aryahadii/adb | dce333018ae90a3ec449e21b852d2caca6cab196 | [
"MIT"
] | null | null | null | spark/example/count.py | aryahadii/adb | dce333018ae90a3ec449e21b852d2caca6cab196 | [
"MIT"
] | null | null | null | spark/example/count.py | aryahadii/adb | dce333018ae90a3ec449e21b852d2caca6cab196 | [
"MIT"
] | null | null | null | import pyspark
print("*****", pyspark.SparkContext().parallelize(range(0, 10)).count(), "*****")
| 24.5 | 81 | 0.622449 | 10 | 98 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.071429 | 98 | 3 | 82 | 32.666667 | 0.637363 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
781eeae0b64aacb2154b32466c6b110993fc15ce | 82 | py | Python | python/griddly/util/rllib/torch/__init__.py | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | python/griddly/util/rllib/torch/__init__.py | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | python/griddly/util/rllib/torch/__init__.py | Thaigun/Griddly | de5972a608a2928172510a0ac81a977c48af6b1f | [
"MIT"
] | null | null | null | from griddly.util.rllib.torch.agents.global_average_pooling_agent import GAPAgent
| 41 | 81 | 0.890244 | 12 | 82 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 82 | 1 | 82 | 82 | 0.897436 | 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 | 1 | 0 | 0 | 5 |
78237f9adaa568eb671342af714ef65772c08104 | 94 | py | Python | Codeforces/95 Beta Division 2/Problem A/A.py | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | Codeforces/95 Beta Division 2/Problem A/A.py | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | Codeforces/95 Beta Division 2/Problem A/A.py | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | s = raw_input()
if s.upper() == s or s[1:].upper() == s[1:]: print s.swapcase()
else: print s
| 23.5 | 63 | 0.574468 | 19 | 94 | 2.789474 | 0.526316 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.170213 | 94 | 3 | 64 | 31.333333 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 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 | 1 | 0 | 5 |
783160e218c3fa9c17ad176bd2106d5c03f867a0 | 143 | py | Python | app/api/spatial_object.py | ldesousa/ogcldapi | e2fa386933b3003181c48b628e7f8daf1d0a2120 | [
"Apache-2.0"
] | 1 | 2022-01-23T14:29:40.000Z | 2022-01-23T14:29:40.000Z | app/api/spatial_object.py | ldesousa/ogcldapi | e2fa386933b3003181c48b628e7f8daf1d0a2120 | [
"Apache-2.0"
] | 4 | 2021-11-05T18:16:43.000Z | 2021-11-26T01:59:47.000Z | app/api/spatial_object.py | ldesousa/ogcldapi | e2fa386933b3003181c48b628e7f8daf1d0a2120 | [
"Apache-2.0"
] | 1 | 2021-11-08T22:36:52.000Z | 2021-11-08T22:36:52.000Z | class SpatialExtent:
def __init__(self):
self.bbox = ""
class TemporalExtent:
def __init__(self):
self.interval = ""
| 15.888889 | 26 | 0.608392 | 14 | 143 | 5.642857 | 0.571429 | 0.177215 | 0.278481 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27972 | 143 | 8 | 27 | 17.875 | 0.76699 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7877a8fc7cf454d63281aea604f1b388ba29db25 | 4,646 | py | Python | app/utils/advanced_scheduler.py | lauralex/DSBD_csv_gen | 78e4115f5209d9735444df53868fa87d56e31821 | [
"MIT"
] | 1 | 2021-12-29T18:12:04.000Z | 2021-12-29T18:12:04.000Z | app/utils/advanced_scheduler.py | claudi47/DSBD_Bot | 4a3310d1ea4f5c8cb0dce1d7a668db25a7405b74 | [
"MIT"
] | null | null | null | app/utils/advanced_scheduler.py | claudi47/DSBD_Bot | 4a3310d1ea4f5c8cb0dce1d7a668db25a7405b74 | [
"MIT"
] | null | null | null | import datetime
import functools
import traceback
import pytz
from apscheduler.jobstores.memory import MemoryJobStore
from apscheduler.schedulers.asyncio import AsyncIOScheduler
job_stores = {
'default': MemoryJobStore()
}
transaction_scheduler: AsyncIOScheduler
def init_scheduler():
global transaction_sch... | 46.929293 | 119 | 0.568231 | 482 | 4,646 | 5.282158 | 0.242739 | 0.043991 | 0.02121 | 0.061273 | 0.7663 | 0.7663 | 0.7663 | 0.7663 | 0.7663 | 0.7663 | 0 | 0.004749 | 0.365476 | 4,646 | 98 | 120 | 47.408163 | 0.858887 | 0.167241 | 0 | 0.638889 | 0 | 0 | 0.030869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.277778 | 0.013889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
787e4fe367ba75de780cce0940fb7ec0c255b367 | 314 | py | Python | terrascript/mysql/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/mysql/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/mysql/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/mysql/r.py
import terrascript
class mysql_database(terrascript.Resource):
pass
class mysql_grant(terrascript.Resource):
pass
class mysql_role(terrascript.Resource):
pass
class mysql_user(terrascript.Resource):
pass
class mysql_user_password(terrascript.Resource):
pass
| 13.083333 | 48 | 0.764331 | 37 | 314 | 6.324324 | 0.351351 | 0.213675 | 0.491453 | 0.478632 | 0.598291 | 0.316239 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 314 | 23 | 49 | 13.652174 | 0.886364 | 0.070064 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.545455 | 0.090909 | 0 | 0.545455 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
788a4184b18fa122a66bd545aa39a62b8354f3df | 174 | py | Python | gmso/tests/utils.py | zijiewu3/gmso | 49217ca8daa6c8b01f6bc667d271a321b6f6f16a | [
"MIT"
] | 1 | 2020-11-08T23:50:09.000Z | 2020-11-08T23:50:09.000Z | gmso/tests/utils.py | zijiewu3/gmso | 49217ca8daa6c8b01f6bc667d271a321b6f6f16a | [
"MIT"
] | null | null | null | gmso/tests/utils.py | zijiewu3/gmso | 49217ca8daa6c8b01f6bc667d271a321b6f6f16a | [
"MIT"
] | null | null | null |
import os
def get_path(filename):
"""Given a test filename return its path"""
_path = os.path.join(os.path.split(__file__)[0], 'files', filename)
return _path
| 19.333333 | 71 | 0.672414 | 26 | 174 | 4.230769 | 0.615385 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.189655 | 174 | 8 | 72 | 21.75 | 0.77305 | 0.212644 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 5 |
78b0047097a09b5f3071b5819fc490b6b706e87a | 144 | py | Python | mangrove/datastore/__init__.py | mariot/mangrove | 376bca99818c6cc1d08b1c726f46b364c69b0cc7 | [
"BSD-3-Clause"
] | null | null | null | mangrove/datastore/__init__.py | mariot/mangrove | 376bca99818c6cc1d08b1c726f46b364c69b0cc7 | [
"BSD-3-Clause"
] | null | null | null | mangrove/datastore/__init__.py | mariot/mangrove | 376bca99818c6cc1d08b1c726f46b364c69b0cc7 | [
"BSD-3-Clause"
] | null | null | null |
import couchdb.json
from mangrove.utils.json_codecs import decode_json, encode_json
couchdb.json.use(encode=encode_json, decode=decode_json)
| 20.571429 | 63 | 0.840278 | 22 | 144 | 5.272727 | 0.454545 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 144 | 6 | 64 | 24 | 0.878788 | 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 | 1 | 0 | 0 | 5 |
151ecff22426027b3713ae8d3baf77858c086af6 | 169 | py | Python | keycloak_admin_aio/__init__.py | delphai/keycloak-admin-aio | 0355a6afe0edcf352e6ddac9de0d930ec247a809 | [
"Apache-2.0"
] | 12 | 2021-11-08T18:03:09.000Z | 2022-03-17T16:34:06.000Z | keycloak_admin_aio/__init__.py | delphai/keycloak-admin-aio | 0355a6afe0edcf352e6ddac9de0d930ec247a809 | [
"Apache-2.0"
] | null | null | null | keycloak_admin_aio/__init__.py | delphai/keycloak-admin-aio | 0355a6afe0edcf352e6ddac9de0d930ec247a809 | [
"Apache-2.0"
] | 1 | 2021-11-14T13:55:30.000Z | 2021-11-14T13:55:30.000Z | """This package provides a asynchronous Keycloak Admin API wrapper."""
from ._keycloak_admin_aio import KeycloakAdmin
from .types import *
__all__ = ["KeycloakAdmin"]
| 24.142857 | 70 | 0.781065 | 20 | 169 | 6.25 | 0.75 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 169 | 6 | 71 | 28.166667 | 0.85034 | 0.378698 | 0 | 0 | 0 | 0 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
1536ee81a979e91e219be38f47e963fb9212174a | 202 | py | Python | system/config/library.py | seyedmohammadhosseini/blockchain | 656f26a84c70e9bd9c041e0a9494454d70293cf1 | [
"MIT"
] | null | null | null | system/config/library.py | seyedmohammadhosseini/blockchain | 656f26a84c70e9bd9c041e0a9494454d70293cf1 | [
"MIT"
] | null | null | null | system/config/library.py | seyedmohammadhosseini/blockchain | 656f26a84c70e9bd9c041e0a9494454d70293cf1 | [
"MIT"
] | null | null | null | class config_library:
def __init__(self, default):
self.path = default.path + "/system/library/"
self.ignore = ['__pycache__', '__init__.py']
def get(self):
return self | 25.25 | 53 | 0.613861 | 23 | 202 | 4.826087 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252475 | 202 | 8 | 54 | 25.25 | 0.735099 | 0 | 0 | 0 | 0 | 0 | 0.187192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
155b50aeae73393f8c77fd9a03db4737fc2669d7 | 360 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/ts/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/ts/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/ts/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.ts.ts_api import TsApi
from bitmovin_api_sdk.encoding.encodings.muxings.ts.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.encodings.muxings.ts.drm.drm_api import DrmApi
from bitmovin_api_sdk.encoding.encodings.muxings.ts.ts_muxing_list_quer... | 72 | 110 | 0.894444 | 53 | 360 | 5.792453 | 0.358491 | 0.156352 | 0.19544 | 0.234528 | 0.586319 | 0.586319 | 0.586319 | 0.586319 | 0.299674 | 0 | 0 | 0 | 0.044444 | 360 | 4 | 111 | 90 | 0.892442 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
157d19a898890b81f2e5c2fb54100bd500b6c261 | 1,857 | py | Python | tests/web.adblockplus.org/pages/landingPage.py | adblockplus/web.adblockplus.org | c2c570ce4f4296afc3577afe233c6b23b128f206 | [
"MIT"
] | 9 | 2016-01-29T18:05:29.000Z | 2021-10-06T04:21:55.000Z | tests/web.adblockplus.org/pages/landingPage.py | adblockplus/web.adblockplus.org | c2c570ce4f4296afc3577afe233c6b23b128f206 | [
"MIT"
] | 9 | 2015-04-06T19:03:32.000Z | 2019-05-28T13:34:55.000Z | tests/web.adblockplus.org/pages/landingPage.py | adblockplus/web.adblockplus.org | c2c570ce4f4296afc3577afe233c6b23b128f206 | [
"MIT"
] | 18 | 2015-04-06T17:42:31.000Z | 2021-10-06T04:26:29.000Z | from pages.basePage import BasePage
DOWNLOAD_BUTTON_HREF = 'a[href*="install"]'
DOWNLOAD_BUTTON_HREF_ANDROID = 'a[href*="https://eyeo.to/adblockbrowser/android/abp-website"]'
DOWNLOAD_BUTTON_HREF_IOS = 'a[href*="https://eyeo.to/adblockplus/ios_safari_install/abp-website"]'
DOWNLOAD_BUTTON_HREF_LANG = 'a[href*="chrome_... | 38.6875 | 110 | 0.777598 | 251 | 1,857 | 5.266932 | 0.183267 | 0.25416 | 0.217852 | 0.12708 | 0.746596 | 0.68003 | 0.604387 | 0.543873 | 0.513616 | 0.459153 | 0 | 0 | 0.130856 | 1,857 | 47 | 111 | 39.510638 | 0.819083 | 0 | 0 | 0.181818 | 0 | 0 | 0.109973 | 0.013477 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.030303 | 0.181818 | 0.515152 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
15bec6189dc288282097cc0999b034b79fc975fb | 60 | py | Python | src/Core/CoreExternals/FreeType/src/tools/docmaker/PaxHeaders.3012/docbeauty.py | bluespeck/OakVR | 65d56942af390dc2ab2d969b44285d23bd53f139 | [
"MIT"
] | 15 | 2016-09-17T16:29:42.000Z | 2021-11-24T06:21:27.000Z | libs/freetype/src/tools/docmaker/PaxHeaders.3012/docbeauty.py | podgorskiy/TinyFEM | c1a5fedf21e6306fc11fa19afdaf48dab1b6740f | [
"MIT"
] | null | null | null | libs/freetype/src/tools/docmaker/PaxHeaders.3012/docbeauty.py | podgorskiy/TinyFEM | c1a5fedf21e6306fc11fa19afdaf48dab1b6740f | [
"MIT"
] | 3 | 2017-04-07T13:33:57.000Z | 2021-03-31T02:04:48.000Z | 30 atime=1394144032.493146405
30 ctime=1374498496.150314291
| 20 | 29 | 0.866667 | 8 | 60 | 6.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0.066667 | 60 | 2 | 30 | 30 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eca1e12752d3ab8b43ccd1f271ad1997606b5628 | 211 | py | Python | neighbour/admin.py | njoroge-jane/neighbourhood | 18d6c10aaa2242964bfb09a8d7f76b9db2158f1b | [
"MIT"
] | null | null | null | neighbour/admin.py | njoroge-jane/neighbourhood | 18d6c10aaa2242964bfb09a8d7f76b9db2158f1b | [
"MIT"
] | null | null | null | neighbour/admin.py | njoroge-jane/neighbourhood | 18d6c10aaa2242964bfb09a8d7f76b9db2158f1b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Neighbour,Neighbourhood,Business
# Register your models here.
admin.site.register(Neighbour)
admin.site.register(Neighbourhood)
admin.site.register(Business) | 30.142857 | 52 | 0.838863 | 27 | 211 | 6.555556 | 0.481481 | 0.152542 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075829 | 211 | 7 | 53 | 30.142857 | 0.907692 | 0.123223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ecba98835a9d37087d0cc27b0f5e4a275f698f14 | 153 | py | Python | bob/blitz/examples/bob.example.project/bob/example/project/test.py | bioidiap/bob.blitz | 348d7cf3866b549cac576efc3c6f3df24245d9fd | [
"BSD-3-Clause"
] | null | null | null | bob/blitz/examples/bob.example.project/bob/example/project/test.py | bioidiap/bob.blitz | 348d7cf3866b549cac576efc3c6f3df24245d9fd | [
"BSD-3-Clause"
] | 6 | 2015-01-01T09:15:28.000Z | 2016-10-20T08:09:26.000Z | bob/blitz/examples/bob.example.project/bob/example/project/test.py | bioidiap/bob.blitz | 348d7cf3866b549cac576efc3c6f3df24245d9fd | [
"BSD-3-Clause"
] | 3 | 2015-08-05T12:16:45.000Z | 2018-02-01T19:55:40.000Z | #!/usr/bin/env python
# vim: set fileencoding=utf-8 :
"""Test Units
"""
def test_version():
from .script import version
assert version.main() == 0
| 15.3 | 31 | 0.666667 | 22 | 153 | 4.590909 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.169935 | 153 | 9 | 32 | 17 | 0.779528 | 0.398693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ecc613cd6d3930c69da5868d0560eade3dfacf9a | 125 | py | Python | imaginenc/__main__.py | martinkozle/Imaginenc | 4f0f24e53561f696638f5db1f128fa84fa64f998 | [
"MIT"
] | 1 | 2021-08-19T11:34:50.000Z | 2021-08-19T11:34:50.000Z | imaginenc/__main__.py | martinkozle/Imaginenc | 4f0f24e53561f696638f5db1f128fa84fa64f998 | [
"MIT"
] | null | null | null | imaginenc/__main__.py | martinkozle/Imaginenc | 4f0f24e53561f696638f5db1f128fa84fa64f998 | [
"MIT"
] | 1 | 2021-08-16T16:16:35.000Z | 2021-08-16T16:16:35.000Z | #!/usr/bin/env python
"""imaginenc.__main__
"""
if __name__ == '__main__':
from . import imaginenc
imaginenc.main()
| 15.625 | 27 | 0.656 | 14 | 125 | 5 | 0.714286 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176 | 125 | 7 | 28 | 17.857143 | 0.679612 | 0.312 | 0 | 0 | 0 | 0 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ecd42dd6f7566a1910bf689dd0cbfd0a4dc736d8 | 4,808 | py | Python | tests/functional/tabloid/test_dbp_1940_20110426_1906.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2022-02-05T11:37:13.000Z | 2022-02-05T11:37:13.000Z | tests/functional/tabloid/test_dbp_1940_20110426_1906.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2021-09-03T11:47:00.000Z | 2021-09-03T12:42:10.000Z | tests/functional/tabloid/test_dbp_1940_20110426_1906.py | FirebirdSQL/firebird-qa | 96af2def7f905a06f178e2a80a2c8be4a4b44782 | [
"MIT"
] | 1 | 2021-06-30T14:14:16.000Z | 2021-06-30T14:14:16.000Z | #coding:utf-8
#
# id: functional.tabloid.dbp_1940_20110426_1906
# title: Common SQL. Check correctness of the results
# decription:
# tracker_id:
# min_versions: ['3.0']
# versions: 3.0
# qmid: None
import pytest
from firebird.qa import db_factory, isql_act, Action
# version: 3.0
# ... | 34.342857 | 82 | 0.367928 | 598 | 4,808 | 2.896321 | 0.22408 | 0.138568 | 0.155889 | 0.190531 | 0.476905 | 0.476905 | 0.468245 | 0.449769 | 0.449769 | 0.091224 | 0 | 0.367473 | 0.561356 | 4,808 | 139 | 83 | 34.589928 | 0.45377 | 0.050957 | 0 | 0.288136 | 0 | 0.016949 | 0.894309 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 1 | 0.008475 | false | 0 | 0.016949 | 0 | 0.025424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
01a0219776fa4b11e0a041b81b2b0c5c060131bc | 26 | py | Python | NLPyPort/LemPyPort/__init__.py | gabrielaleon/NLPyPort | f328d4e296e08afc5dfae7473f5d81c46b661634 | [
"MIT"
] | 12 | 2019-07-05T00:33:07.000Z | 2020-07-13T09:37:41.000Z | NLPyPort/LemPyPort/__init__.py | gabrielaleon/NLPyPort | f328d4e296e08afc5dfae7473f5d81c46b661634 | [
"MIT"
] | 6 | 2019-08-23T16:42:22.000Z | 2020-07-27T13:44:49.000Z | NLPyPort/LemPyPort/__init__.py | gabrielaleon/NLPyPort | f328d4e296e08afc5dfae7473f5d81c46b661634 | [
"MIT"
] | 8 | 2020-09-01T16:57:25.000Z | 2022-02-22T00:07:48.000Z | from LemFunctions import * | 26 | 26 | 0.846154 | 3 | 26 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
01bf7a8e4082ae6b74debe569f593aebfdda304e | 552,595 | py | Python | Data/scigrid-de/pypower/scigrid_2011_01_04_13.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | Data/scigrid-de/pypower/scigrid_2011_01_04_13.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | Data/scigrid-de/pypower/scigrid_2011_01_04_13.py | thanever/SOC | 9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4 | [
"MIT"
] | null | null | null | from numpy import array
def scigrid_2011_01_04_13():
ppc = {"version": '2'}
ppc["baseMVA"] = 100.0
ppc["bus"] = array([
[586, 3, 0, 0, 0, 0, 0, 1.0, 0, 220.0, 0, 1.1, 0.9 ],
[589, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1, 0.9 ],
[590, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1,... | 70.945564 | 137 | 0.460437 | 106,073 | 552,595 | 2.398443 | 0.079662 | 0.210849 | 0.202928 | 0.216391 | 0.484175 | 0.483586 | 0.455414 | 0.445851 | 0.371011 | 0.370147 | 0 | 0.667185 | 0.31398 | 552,595 | 7,789 | 138 | 70.945564 | 0.00392 | 0 | 0 | 0.000642 | 0 | 0 | 0.000244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000128 | false | 0 | 0.000128 | 0 | 0.000385 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 5 |
bf312c800736caec5b7582361fadf65df3d9c2ee | 97 | py | Python | 05.Funcoes.py | CristianoRC/Estudos-Python | 8daa1eda9b803e0937ab0c0dd2e19102d538be37 | [
"MIT"
] | null | null | null | 05.Funcoes.py | CristianoRC/Estudos-Python | 8daa1eda9b803e0937ab0c0dd2e19102d538be37 | [
"MIT"
] | null | null | null | 05.Funcoes.py | CristianoRC/Estudos-Python | 8daa1eda9b803e0937ab0c0dd2e19102d538be37 | [
"MIT"
] | null | null | null | def soma_numeros(primeiro, segundo):
return primeiro + segundo
print(soma_numeros(15, 15))
| 16.166667 | 36 | 0.742268 | 13 | 97 | 5.384615 | 0.615385 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.154639 | 97 | 5 | 37 | 19.4 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
17109d6eab8f2199527613fcdaa4c7bb6daaee2f | 176 | py | Python | lib/discord/constants/general.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 206 | 2015-10-15T07:05:08.000Z | 2021-02-19T11:48:36.000Z | lib/discord/constants/general.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 8 | 2017-10-16T10:18:31.000Z | 2022-03-09T14:24:27.000Z | lib/discord/constants/general.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 61 | 2015-10-15T08:12:44.000Z | 2022-03-10T12:25:06.000Z | DISCORD_WEBHOOK_URL = 'https://discord.com/api/webhooks/{webhook_id}/{webhook_token}'
DISCORD_WEBHOOK_RELAY_PARAMS = [
'webhook_id',
'webhook_token',
'content',
]
| 22 | 85 | 0.715909 | 21 | 176 | 5.571429 | 0.571429 | 0.239316 | 0.273504 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130682 | 176 | 7 | 86 | 25.142857 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.517045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1710a886aa71d226f91b1a940efa9428c36d0620 | 84 | py | Python | asynczane/errors.py | ppotatoo/asynczane | d4f30f47a1c5723a4c58c67e03d20a1b8afff898 | [
"MIT"
] | 3 | 2021-03-24T23:07:48.000Z | 2021-03-25T13:01:36.000Z | asynczane/errors.py | ppotatoo/asynczane | d4f30f47a1c5723a4c58c67e03d20a1b8afff898 | [
"MIT"
] | null | null | null | asynczane/errors.py | ppotatoo/asynczane | d4f30f47a1c5723a4c58c67e03d20a1b8afff898 | [
"MIT"
] | null | null | null | class Forbidden(Exception):
pass
class InternalServerError(Exception):
pass | 16.8 | 37 | 0.761905 | 8 | 84 | 8 | 0.625 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 84 | 5 | 38 | 16.8 | 0.914286 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
173c349a2afea8e7db9e215bc45c5e2b77fed8f1 | 130 | py | Python | server/apps/texts/admin.py | Lh4cKg/task_2_zhuko | 9adce1db63a7ef81ed0473fcbd1d6393ab6cf7bd | [
"MIT"
] | null | null | null | server/apps/texts/admin.py | Lh4cKg/task_2_zhuko | 9adce1db63a7ef81ed0473fcbd1d6393ab6cf7bd | [
"MIT"
] | null | null | null | server/apps/texts/admin.py | Lh4cKg/task_2_zhuko | 9adce1db63a7ef81ed0473fcbd1d6393ab6cf7bd | [
"MIT"
] | null | null | null | from django.contrib import admin
from server.apps import Text, Sentence
admin.site.register(Text)
admin.site.register(Sentence)
| 18.571429 | 38 | 0.815385 | 19 | 130 | 5.578947 | 0.578947 | 0.169811 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 6 | 39 | 21.666667 | 0.905983 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
175c63b889738ec5aef852c9d616ceb441307d57 | 152 | py | Python | torchio/AsciiFileReader.py | andreh7/torchio | 3e62f90b3d56d3d135535134032fe77a85f729e8 | [
"BSD-3-Clause"
] | null | null | null | torchio/AsciiFileReader.py | andreh7/torchio | 3e62f90b3d56d3d135535134032fe77a85f729e8 | [
"BSD-3-Clause"
] | 5 | 2016-01-24T14:08:38.000Z | 2016-04-30T21:34:42.000Z | torchio/AsciiFileReader.py | andreh7/torchio | 3e62f90b3d56d3d135535134032fe77a85f729e8 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
class AsciiFileReader:
def __init__(self, infile):
self.infile = infile
def readInt(self):
assert False
| 16.888889 | 31 | 0.638158 | 18 | 152 | 5.166667 | 0.722222 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 152 | 8 | 32 | 19 | 0.830357 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
176e00425de6b396491a95458e0ecbc27129e080 | 279 | py | Python | Observer/observadores.py | yurioliveira3/Patterns_wpython | f529432c3ca4cb0741dc8881644eb96a525b1522 | [
"MIT"
] | null | null | null | Observer/observadores.py | yurioliveira3/Patterns_wpython | f529432c3ca4cb0741dc8881644eb96a525b1522 | [
"MIT"
] | null | null | null | Observer/observadores.py | yurioliveira3/Patterns_wpython | f529432c3ca4cb0741dc8881644eb96a525b1522 | [
"MIT"
] | null | null | null | def imprime(nota_fiscal):
print(f"Imprimindo nota fiscal {nota_fiscal.cnpj}")
def envia_por_email(nota_fiscal):
print(f"Enviando nota fiscal {nota_fiscal.cnpj} por email")
def salva_no_banco(nota_fiscal):
print(f"Salvando nota fiscal {nota_fiscal.cnpj} no banco") | 27.9 | 63 | 0.759857 | 44 | 279 | 4.590909 | 0.363636 | 0.445545 | 0.222772 | 0.237624 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132616 | 279 | 10 | 64 | 27.9 | 0.834711 | 0 | 0 | 0 | 0 | 0 | 0.492857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
177a861f08e8fd03f628cbad319a3b0a5ab8f491 | 174 | py | Python | awxkit/awxkit/api/pages/dashboard.py | Avinesh/awx | 6310a2edd890d6062a9f6bcdeb2b46c4b876c2bf | [
"Apache-2.0"
] | 11,396 | 2017-09-07T04:56:02.000Z | 2022-03-31T13:56:17.000Z | awxkit/awxkit/api/pages/dashboard.py | Avinesh/awx | 6310a2edd890d6062a9f6bcdeb2b46c4b876c2bf | [
"Apache-2.0"
] | 11,046 | 2017-09-07T09:30:46.000Z | 2022-03-31T20:28:01.000Z | awxkit/awxkit/api/pages/dashboard.py | Avinesh/awx | 6310a2edd890d6062a9f6bcdeb2b46c4b876c2bf | [
"Apache-2.0"
] | 3,592 | 2017-09-07T04:14:31.000Z | 2022-03-31T23:53:09.000Z | from awxkit.api.resources import resources
from . import base
from . import page
class Dashboard(base.Base):
pass
page.register_page(resources.dashboard, Dashboard)
| 14.5 | 50 | 0.775862 | 23 | 174 | 5.826087 | 0.478261 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 174 | 11 | 51 | 15.818182 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
bd6b618e32d4353803a08b5a88f4f09fa7d92a9e | 108 | py | Python | experiment/data/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | experiment/data/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | experiment/data/__init__.py | tom-andersson/neuralprocesses | 7696dc1c8bbe922fb2a1ba18fe0cdda041fc9cfd | [
"MIT"
] | null | null | null | from .gp import *
from .predprey import *
from .eeg import *
from .temperature import *
from .util import *
| 18 | 26 | 0.722222 | 15 | 108 | 5.2 | 0.466667 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 108 | 5 | 27 | 21.6 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bdacfbda3df043847b8233a4cfacffe9a83c63c2 | 85 | py | Python | co2meter/__init__.py | alpxp/co2meter | e70c36e618d46481a26456de772badf4eaae2c8d | [
"MIT"
] | 232 | 2016-05-27T12:21:48.000Z | 2022-03-23T19:58:47.000Z | co2meter/__init__.py | alpxp/co2meter | e70c36e618d46481a26456de772badf4eaae2c8d | [
"MIT"
] | 24 | 2016-04-05T18:34:05.000Z | 2022-01-02T18:27:43.000Z | co2meter/__init__.py | alpxp/co2meter | e70c36e618d46481a26456de772badf4eaae2c8d | [
"MIT"
] | 33 | 2017-09-21T12:04:14.000Z | 2021-12-31T14:13:24.000Z | # Top level __init__ file
from .co2meter import *
from ._version import __version__
| 17 | 33 | 0.788235 | 11 | 85 | 5.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.164706 | 85 | 4 | 34 | 21.25 | 0.802817 | 0.270588 | 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 | 1 | 0 | 0 | 5 |
bdb28edd37bda05fc456486f050a512deda98947 | 71 | py | Python | light_cnns/Transformer/__init__.py | murufeng/awesome_lightweight_networks | dfa19bd7ee491a7b7ade360175244c81b3c0e322 | [
"MIT"
] | 318 | 2021-08-15T10:33:27.000Z | 2022-03-31T16:42:50.000Z | light_cnns/Transformer/__init__.py | x779250919/awesome_lightweight_networks | dfa19bd7ee491a7b7ade360175244c81b3c0e322 | [
"MIT"
] | 6 | 2021-11-16T06:27:34.000Z | 2022-02-08T07:57:52.000Z | light_cnns/Transformer/__init__.py | x779250919/awesome_lightweight_networks | dfa19bd7ee491a7b7ade360175244c81b3c0e322 | [
"MIT"
] | 67 | 2021-11-01T13:06:48.000Z | 2022-03-24T12:59:41.000Z | from .mobile_vit import *
from .levit import *
from .ConvNeXt import *
| 17.75 | 25 | 0.746479 | 10 | 71 | 5.2 | 0.6 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 26 | 23.666667 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bdcacc6e8a3a7660261dd9f6bd7dbde9b6e13356 | 711 | py | Python | decorators.py | avichayJit/python-serverless-tenant-isolation | d829a36ee9f407334af9b7f096fb9356f0ab7b72 | [
"MIT"
] | 1 | 2022-02-23T08:02:30.000Z | 2022-02-23T08:02:30.000Z | decorators.py | avichayJit/python-serverless-tenant-isolation | d829a36ee9f407334af9b7f096fb9356f0ab7b72 | [
"MIT"
] | null | null | null | decorators.py | avichayJit/python-serverless-tenant-isolation | d829a36ee9f407334af9b7f096fb9356f0ab7b72 | [
"MIT"
] | 1 | 2022-02-21T11:26:40.000Z | 2022-02-21T11:26:40.000Z | import functools
from contextvars import ContextVar, copy_context
from credentials_generator import generate_credentials
dynamodb_session_keys = ContextVar("dynamodb_session_keys", default=None)
def dynamodb_tenant_isolation(func):
@functools.wraps(func)
def inner(event, context):
ctx = copy_context(... | 27.346154 | 73 | 0.769339 | 88 | 711 | 5.875 | 0.352273 | 0.234043 | 0.257253 | 0.085106 | 0.12766 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157525 | 711 | 25 | 74 | 28.44 | 0.863105 | 0.056259 | 0 | 0 | 1 | 0 | 0.031627 | 0.031627 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
bdff8b0739d6792f455f41036cb7744698d1ff53 | 110 | py | Python | vbml/pattern/validation/__init__.py | prostomarkeloff/vbml | d13ebc8ae6122e7305b6717a6a5e38a040c0f76a | [
"MIT"
] | 30 | 2020-08-18T14:37:30.000Z | 2022-01-27T13:26:59.000Z | vbml/pattern/validation/__init__.py | prostomarkeloff/vbml | d13ebc8ae6122e7305b6717a6a5e38a040c0f76a | [
"MIT"
] | 1 | 2021-12-02T19:48:42.000Z | 2021-12-02T19:48:42.000Z | vbml/pattern/validation/__init__.py | FeeeeK/vbml | 87c7d3b3c5a61eeee69628cd5bbf1a55d0d5bda4 | [
"MIT"
] | 6 | 2020-08-18T14:38:55.000Z | 2021-12-18T00:50:32.000Z | from .validator_parser import get_validators, get_inclusion, add_inclusion
from .ahead import AheadValidation
| 36.666667 | 74 | 0.872727 | 14 | 110 | 6.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 110 | 2 | 75 | 55 | 0.92 | 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 | 1 | 0 | 0 | 5 |
da0cef7c9c3852f427bf4e7ff333bf5e51a12301 | 120 | py | Python | main/block.py | chamhoo/FiaTorch | f905255f5f9eccdd58f3693d9db71bd203a2fcf2 | [
"MIT"
] | null | null | null | main/block.py | chamhoo/FiaTorch | f905255f5f9eccdd58f3693d9db71bd203a2fcf2 | [
"MIT"
] | null | null | null | main/block.py | chamhoo/FiaTorch | f905255f5f9eccdd58f3693d9db71bd203a2fcf2 | [
"MIT"
] | null | null | null | class Block(object):
def __init__(self, name) -> None:
super().__init__()
self.__name__ = name
| 20 | 37 | 0.566667 | 13 | 120 | 4.307692 | 0.692308 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 120 | 6 | 38 | 20 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
da0dbbf96509141a24663e0c39a8cfa00d95dee8 | 50 | py | Python | StatM/__init__.py | Blaizzy/Boring_weekends | 6ae0dc08adb1e0c6d098e6966729382e936257a8 | [
"Apache-2.0"
] | 3 | 2019-04-24T15:14:12.000Z | 2020-02-08T18:12:17.000Z | StatM/__init__.py | Blaizzy/Boring_weekends | 6ae0dc08adb1e0c6d098e6966729382e936257a8 | [
"Apache-2.0"
] | null | null | null | StatM/__init__.py | Blaizzy/Boring_weekends | 6ae0dc08adb1e0c6d098e6966729382e936257a8 | [
"Apache-2.0"
] | 3 | 2019-03-24T15:17:53.000Z | 2020-03-04T21:36:15.000Z | from StatM import Bisection, Regula_Falsi, Secant
| 25 | 49 | 0.84 | 7 | 50 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 1 | 50 | 50 | 0.931818 | 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 | 1 | 0 | 0 | 5 |
da107963a7634bbf7b60ff675f6d2a5679d2bea3 | 740 | py | Python | 4_FactoryPattern/AbstractFactory/Veggies.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | 4_FactoryPattern/AbstractFactory/Veggies.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | 4_FactoryPattern/AbstractFactory/Veggies.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | """
# All classes should extend Veggies and override the following methods
def __str__(selt)
"""
class Veggies :
def __str__(self):
assert False, 'This method should be overrided.'
class BlackOlives(Veggies) :
def __str__(self):
return 'Black Olives'
class Garlic(Veggies) :
... | 20.555556 | 74 | 0.635135 | 83 | 740 | 5.228916 | 0.409639 | 0.124424 | 0.239631 | 0.313364 | 0.370968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266216 | 740 | 36 | 75 | 20.555556 | 0.799263 | 0.118919 | 0 | 0.333333 | 0 | 0 | 0.139717 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.333333 | false | 0 | 0 | 0.291667 | 0.958333 | 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 | 1 | 0 | 0 | 5 |
da7a84c8dc67b4d6b16f2a40895142c429d547cb | 480 | py | Python | wework/helpers/__init__.py | wegostudio/wegq | 391cdf7e6a345079c20d9c517bff89cd440dd35c | [
"Apache-2.0"
] | null | null | null | wework/helpers/__init__.py | wegostudio/wegq | 391cdf7e6a345079c20d9c517bff89cd440dd35c | [
"Apache-2.0"
] | null | null | null | wework/helpers/__init__.py | wegostudio/wegq | 391cdf7e6a345079c20d9c517bff89cd440dd35c | [
"Apache-2.0"
] | null | null | null |
class HelperError(Exception):
pass
class BaseHelper(object):
def get_current_path(self):
raise HelperError('you have to customized YourHelper.get_current_path')
def get_params(self):
raise HelperError('you have to customized YourHelper.get_params')
def get_body(self):
raise... | 26.666667 | 79 | 0.71875 | 60 | 480 | 5.616667 | 0.35 | 0.189911 | 0.225519 | 0.272997 | 0.596439 | 0.596439 | 0.596439 | 0.462908 | 0.462908 | 0 | 0 | 0 | 0.2 | 480 | 18 | 80 | 26.666667 | 0.877604 | 0 | 0 | 0 | 0 | 0 | 0.370833 | 0.1 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
e50afc3d69e40751e2893b005c21a478625ed47f | 334 | py | Python | bugtests/test189c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test189c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test189c.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null |
from javax import swing
class test189c(swing.ListCellRenderer):
def getListCellRendererComponent(self):
return "test189c"
class test189c2(test189c):
def getListCellRendererComponent(self):
return "test189c2"
print test189c().getListCellRendererComponent()
print test189c2().getListCellRende... | 22.266667 | 48 | 0.772455 | 27 | 334 | 9.555556 | 0.481481 | 0.24031 | 0.271318 | 0.317829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0.146707 | 334 | 15 | 48 | 22.266667 | 0.821053 | 0 | 0 | 0.222222 | 0 | 0 | 0.050898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.222222 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e50ec5e1ff8878109744be639270e9cc2141a14a | 24 | py | Python | sunshine_conversations_client/undefined.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 4 | 2020-09-27T14:28:25.000Z | 2022-02-02T13:51:29.000Z | sunshine_conversations_client/undefined.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 3 | 2021-09-30T18:18:58.000Z | 2021-12-04T07:55:23.000Z | sunshine_conversations_client/undefined.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 5 | 2020-11-07T02:08:18.000Z | 2021-12-07T17:10:23.000Z | class Undefined:
pass
| 8 | 16 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 17 | 12 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e57970bb7ca913911105a4d179dfc76d1011b39e | 94 | py | Python | aoctools/__main__.py | klittlepage/aoctools | 51dc3ee176556a9218445a9b513b5b68a34f0073 | [
"MIT"
] | 4 | 2020-12-05T06:42:40.000Z | 2021-12-10T19:07:11.000Z | aoctools/__main__.py | klittlepage/aoctools | 51dc3ee176556a9218445a9b513b5b68a34f0073 | [
"MIT"
] | null | null | null | aoctools/__main__.py | klittlepage/aoctools | 51dc3ee176556a9218445a9b513b5b68a34f0073 | [
"MIT"
] | null | null | null | """aoctools main"""
import aoctools.main as main
if __name__ == '__main__':
main.main()
| 13.428571 | 28 | 0.659574 | 12 | 94 | 4.5 | 0.5 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 94 | 6 | 29 | 15.666667 | 0.701299 | 0.138298 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e5c7750fef6d07d31be0e5abc55d6a4a7c2d81df | 25 | py | Python | pro.py | mkm785438/my-programs | 320bd8102654371d69c6c0cd0901a56ccfe540e7 | [
"MIT"
] | null | null | null | pro.py | mkm785438/my-programs | 320bd8102654371d69c6c0cd0901a56ccfe540e7 | [
"MIT"
] | null | null | null | pro.py | mkm785438/my-programs | 320bd8102654371d69c6c0cd0901a56ccfe540e7 | [
"MIT"
] | null | null | null | print ("welcome to pro")
| 12.5 | 24 | 0.68 | 4 | 25 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
e5cdd47fc9e7ae1c66114bf348b4dd906f8e0b39 | 7,679 | py | Python | Tieba/heizhu.py | CabbyWang/scrapy_practice | f003caf20f3e9e4b3331cddfb122c4a656f83a22 | [
"MIT"
] | null | null | null | Tieba/heizhu.py | CabbyWang/scrapy_practice | f003caf20f3e9e4b3331cddfb122c4a656f83a22 | [
"MIT"
] | null | null | null | Tieba/heizhu.py | CabbyWang/scrapy_practice | f003caf20f3e9e4b3331cddfb122c4a656f83a22 | [
"MIT"
] | null | null | null | # coding:utf-8
import requests
from requests.exceptions import MissingSchema
import pathlib
PICTURE_DIR = r'D:\test\pictures'
# header = {
# "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
# }
# response = requests.get(r'https://tieba.... | 119.984375 | 213 | 0.779789 | 1,198 | 7,679 | 4.8798 | 0.133556 | 0.054738 | 0.07116 | 0.079542 | 0.608792 | 0.608792 | 0.608792 | 0.608792 | 0.608792 | 0.608792 | 0 | 0.301996 | 0.053913 | 7,679 | 63 | 214 | 121.888889 | 0.502684 | 0.033207 | 0 | 0 | 0 | 0.584906 | 0.864078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056604 | 0 | 0.056604 | 0.037736 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e5da19b0597e276ed21265f85e4a276b4446e3ee | 288 | py | Python | Tests/misc/timeTools_test.py | enterstudio/fonttools | 2ebd861eff37a33bd904acbc0d4043d4af95c413 | [
"Adobe-Glyph"
] | null | null | null | Tests/misc/timeTools_test.py | enterstudio/fonttools | 2ebd861eff37a33bd904acbc0d4043d4af95c413 | [
"Adobe-Glyph"
] | null | null | null | Tests/misc/timeTools_test.py | enterstudio/fonttools | 2ebd861eff37a33bd904acbc0d4043d4af95c413 | [
"Adobe-Glyph"
] | null | null | null | from __future__ import print_function, division, absolute_import
from fontTools.misc.py23 import *
from fontTools.misc.timeTools import asctime
import time
def test_asctime():
assert isinstance(asctime(), basestring)
assert asctime(time.gmtime(0)) == 'Thu Jan 1 00:00:00 1970'
| 28.8 | 64 | 0.770833 | 40 | 288 | 5.375 | 0.625 | 0.093023 | 0.176744 | 0.213953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 0.138889 | 288 | 9 | 65 | 32 | 0.810484 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | true | 0 | 0.571429 | 0 | 0.714286 | 0.142857 | 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 | 1 | 0 | 0 | 5 |
f91cd6cb02156375785239eac348a330e7cddcf5 | 1,380 | py | Python | zerver/lib/timestamp.py | Supermanu/zulip | 26f6d708c2e30cfe50d9d61031edb759e8117596 | [
"Apache-2.0"
] | null | null | null | zerver/lib/timestamp.py | Supermanu/zulip | 26f6d708c2e30cfe50d9d61031edb759e8117596 | [
"Apache-2.0"
] | 15 | 2020-06-05T18:44:15.000Z | 2022-03-11T23:26:03.000Z | zerver/lib/timestamp.py | Supermanu/zulip | 26f6d708c2e30cfe50d9d61031edb759e8117596 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import datetime
import calendar
from django.utils.timezone import utc as timezone_utc
def floor_to_hour(dt):
# type: (datetime.datetime) -> datetime.datetime
return datetime.datetime(*dt.timetuple()[:4]) \
.replace(tzinfo=dt.tzinfo)
def floor_to_day(d... | 32.093023 | 106 | 0.695652 | 174 | 1,380 | 5.37931 | 0.298851 | 0.290598 | 0.205128 | 0.117521 | 0.480769 | 0.388889 | 0.388889 | 0.388889 | 0.365385 | 0.258547 | 0 | 0.003578 | 0.189855 | 1,380 | 42 | 107 | 32.857143 | 0.833631 | 0.184783 | 0 | 0.214286 | 0 | 0 | 0.050984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.035714 | 0.142857 | 0.107143 | 0.678571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f92322d805fd959f7a95677aecae393e67d88177 | 181 | py | Python | rl/__init__.py | haamoon/librl | f9fc633b79c1bec1cd1b1a275834eb5221cffff3 | [
"MIT"
] | 3 | 2019-08-11T23:25:17.000Z | 2021-08-24T13:24:01.000Z | rl/__init__.py | haamoon/librl | f9fc633b79c1bec1cd1b1a275834eb5221cffff3 | [
"MIT"
] | 6 | 2020-01-28T22:45:38.000Z | 2022-02-10T00:13:42.000Z | rl/__init__.py | haamoon/librl | f9fc633b79c1bec1cd1b1a275834eb5221cffff3 | [
"MIT"
] | 3 | 2019-07-03T21:18:27.000Z | 2019-10-03T04:51:55.000Z | import rl.adv_estimators
import rl.algorithms
import rl.configs
import rl.envs
import rl.experimenter
import rl.online_learners
import rl.oracles
import rl.policies
import rl.tools
| 18.1 | 25 | 0.850829 | 29 | 181 | 5.241379 | 0.448276 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099448 | 181 | 9 | 26 | 20.111111 | 0.932515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
006a2a6a4d79f4f0da19b541834281abc2534e0a | 237 | py | Python | portal/admin.py | ansonpinhero/Shepherd | f600b11c5e37d87126b3cc596d9640b82d28711c | [
"MIT"
] | null | null | null | portal/admin.py | ansonpinhero/Shepherd | f600b11c5e37d87126b3cc596d9640b82d28711c | [
"MIT"
] | null | null | null | portal/admin.py | ansonpinhero/Shepherd | f600b11c5e37d87126b3cc596d9640b82d28711c | [
"MIT"
] | null | null | null | from django.contrib import admin
from . models import CustomUser,Request,Profile,volunteer_invitations
admin.site.register(CustomUser)
admin.site.register(Request)
admin.site.register(volunteer_invitations)
admin.site.register(Profile)
| 29.625 | 69 | 0.852321 | 30 | 237 | 6.666667 | 0.433333 | 0.18 | 0.34 | 0.29 | 0.37 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059072 | 237 | 7 | 70 | 33.857143 | 0.896861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0086ad170c324341f518a23c5329534224eca2b9 | 121 | py | Python | e_commerc/admin.py | Hernandes-Silva/virtual_store | 08d764063c6bac9b6f67f445236a6ad59b547f26 | [
"MIT"
] | 1 | 2021-06-17T05:15:42.000Z | 2021-06-17T05:15:42.000Z | e_commerc/admin.py | Hernandes-Silva/virtual_store | 08d764063c6bac9b6f67f445236a6ad59b547f26 | [
"MIT"
] | null | null | null | e_commerc/admin.py | Hernandes-Silva/virtual_store | 08d764063c6bac9b6f67f445236a6ad59b547f26 | [
"MIT"
] | null | null | null | from django.contrib import admin
from e_commerc.models import Card
# Register your models here.
admin.site.register(Card) | 30.25 | 33 | 0.826446 | 19 | 121 | 5.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 121 | 4 | 34 | 30.25 | 0.916667 | 0.214876 | 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 | 1 | 0 | 0 | 5 |
00937f597b9803e41c98ba50aae1c63c40f85b92 | 233 | py | Python | cbpro/__init__.py | shokitaka/coinbasepro-python | 673f37d03d6ec15289bb1d5e6b5eab6e2e4491b3 | [
"MIT"
] | 1,023 | 2018-08-13T19:30:18.000Z | 2022-03-28T17:14:21.000Z | cbpro/__init__.py | shokitaka/coinbasepro-python | 673f37d03d6ec15289bb1d5e6b5eab6e2e4491b3 | [
"MIT"
] | 215 | 2017-06-27T05:17:33.000Z | 2018-08-10T15:50:13.000Z | cbpro/__init__.py | shokitaka/coinbasepro-python | 673f37d03d6ec15289bb1d5e6b5eab6e2e4491b3 | [
"MIT"
] | 429 | 2018-08-16T01:52:50.000Z | 2022-03-29T20:07:14.000Z | from cbpro.authenticated_client import AuthenticatedClient
from cbpro.public_client import PublicClient
from cbpro.websocket_client import WebsocketClient
from cbpro.order_book import OrderBook
from cbpro.cbpro_auth import CBProAuth
| 38.833333 | 58 | 0.892704 | 30 | 233 | 6.766667 | 0.5 | 0.221675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085837 | 233 | 5 | 59 | 46.6 | 0.953052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
00a3b12382bb33ef0ecc3f8f66772338554fbaab | 7,652 | py | Python | code/dataPrepare/dataPre_imp_season50tra11_02_48.py | karenthchen/Three-dimensional-urban-structure-correlates-with-the-risk-of-mental-disorders | fd46011c4f6343273e5036038da2f3bc80048039 | [
"CC0-1.0"
] | null | null | null | code/dataPrepare/dataPre_imp_season50tra11_02_48.py | karenthchen/Three-dimensional-urban-structure-correlates-with-the-risk-of-mental-disorders | fd46011c4f6343273e5036038da2f3bc80048039 | [
"CC0-1.0"
] | null | null | null | code/dataPrepare/dataPre_imp_season50tra11_02_48.py | karenthchen/Three-dimensional-urban-structure-correlates-with-the-risk-of-mental-disorders | fd46011c4f6343273e5036038da2f3bc80048039 | [
"CC0-1.0"
] | null | null | null | # @Date: 2019-05-13
# @Email: thc@envs.au.dk Tzu-Hsin Karen Chen
# @Last modified time: 2020-10-07
import sys
#sys.path.insert(0, '/work/qiu/data4Keran/code/modelPredict')
sys.path.insert(0, '/home/xx02tmp/code3/modelPredict')
from img2mapC05 import img2mapC
import numpy as np
import time
sys.path.inser... | 34.781818 | 118 | 0.695504 | 1,081 | 7,652 | 4.843663 | 0.19519 | 0.054622 | 0.022918 | 0.039725 | 0.737777 | 0.737777 | 0.729374 | 0.7055 | 0.7055 | 0.7055 | 0 | 0.044591 | 0.147151 | 7,652 | 219 | 119 | 34.940639 | 0.757738 | 0.259017 | 0 | 0.532258 | 0 | 0 | 0.168878 | 0.051175 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.120968 | 0 | 0.120968 | 0.201613 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
00b7743fdf893792e07723696b4c87dc2b45c50a | 135 | py | Python | main.py | hoefkensj/BTRWin | 1432868ad60155f5ae26f33903a890497e089480 | [
"MIT"
] | null | null | null | main.py | hoefkensj/BTRWin | 1432868ad60155f5ae26f33903a890497e089480 | [
"MIT"
] | null | null | null | main.py | hoefkensj/BTRWin | 1432868ad60155f5ae26f33903a890497e089480 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import units.main.main as main
main.main()
# def cli():
# import units.ui.cli.cli as cli
# cli.entry_point()
| 15 | 33 | 0.681481 | 24 | 135 | 3.791667 | 0.541667 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 135 | 8 | 34 | 16.875 | 0.798246 | 0.607407 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
daa95618fda8dc94ac024cb5e73d6d757158fa99 | 67 | py | Python | pages/__init__.py | ShinKaiRyuu/TestingTemplate | f911188b8aaa8650a8a93b21b787e5995b5f027a | [
"MIT"
] | null | null | null | pages/__init__.py | ShinKaiRyuu/TestingTemplate | f911188b8aaa8650a8a93b21b787e5995b5f027a | [
"MIT"
] | 1 | 2017-01-26T23:45:34.000Z | 2017-01-26T23:45:34.000Z | pages/__init__.py | ShinKaiRyuu/TestingTemplate | f911188b8aaa8650a8a93b21b787e5995b5f027a | [
"MIT"
] | null | null | null | from .main_page import MainPage
from .login_page import LoginPage
| 16.75 | 33 | 0.835821 | 10 | 67 | 5.4 | 0.7 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 3 | 34 | 22.333333 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
daadc86e80da933f186f644621187da7cb3a27f6 | 23 | py | Python | test.py | stirumala76/kidspython | d8eefa3ca16a2b132cdbbe232faf73245859b1e6 | [
"MIT"
] | null | null | null | test.py | stirumala76/kidspython | d8eefa3ca16a2b132cdbbe232faf73245859b1e6 | [
"MIT"
] | null | null | null | test.py | stirumala76/kidspython | d8eefa3ca16a2b132cdbbe232faf73245859b1e6 | [
"MIT"
] | null | null | null | a=1
b=3
c=a+b
print(c) | 4.6 | 8 | 0.565217 | 9 | 23 | 1.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.173913 | 23 | 5 | 8 | 4.6 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dabb8ff8c2aff15f196e8b0cbe5c37fd5055c781 | 18,068 | py | Python | tests/app/data_model/test_answer_store.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 27 | 2015-10-02T17:27:54.000Z | 2021-04-05T12:39:16.000Z | tests/app/data_model/test_answer_store.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 1,836 | 2015-09-16T09:59:03.000Z | 2022-03-30T14:27:06.000Z | tests/app/data_model/test_answer_store.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 20 | 2016-09-09T16:56:12.000Z | 2021-11-12T06:09:27.000Z | # pylint: disable=no-self-use
import unittest
from unittest.mock import patch, MagicMock
from app.data_model.answer_store import Answer, AnswerStore, upgrade_to_1_update_date_formats, upgrade_to_2_add_group_instance_id
from app.questionnaire.questionnaire_schema import QuestionnaireSchema
class TestAnswer(unittest.T... | 28.9088 | 129 | 0.498229 | 1,765 | 18,068 | 4.795467 | 0.09745 | 0.06061 | 0.043006 | 0.05163 | 0.805057 | 0.770085 | 0.738185 | 0.702977 | 0.682065 | 0.657491 | 0 | 0.040689 | 0.389252 | 18,068 | 624 | 130 | 28.955128 | 0.726325 | 0.017822 | 0 | 0.660569 | 0 | 0 | 0.10467 | 0.007783 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.054878 | false | 0 | 0.00813 | 0 | 0.067073 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dac5b65f0dbc0e5f805cc3eb355d89ecf75ee70a | 735 | py | Python | comments/httphelp.py | hsiang-ever/django_blog | eb863d6495638692ddd4de58f063533ceb2de111 | [
"MIT"
] | null | null | null | comments/httphelp.py | hsiang-ever/django_blog | eb863d6495638692ddd4de58f063533ceb2de111 | [
"MIT"
] | null | null | null | comments/httphelp.py | hsiang-ever/django_blog | eb863d6495638692ddd4de58f063533ceb2de111 | [
"MIT"
] | null | null | null | from urllib.request import urlopen, Request
import json
def getPostDetail(pk):
# url = 'http://0.0.0.0:5000/posts/{}/'.format(pk)
url = 'https://shorten-url-1491815099304.appspot.com/posts/{}/'.format(pk)
headers = {'Content-Type': 'application/json'}
req = Request(url=url, headers=headers)
res = urlopen(req)
po... | 31.956522 | 75 | 0.687075 | 106 | 735 | 4.754717 | 0.339623 | 0.02381 | 0.02381 | 0.035714 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0 | 0.064122 | 0.108844 | 735 | 22 | 76 | 33.409091 | 0.705344 | 0.131973 | 0 | 0.588235 | 0 | 0 | 0.282334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
97b23a67d8ca2d9f310a0a11a2cf05b253eb67bd | 244 | py | Python | multi_tools/c/__init__.py | Jerem2360/multitools | cd2c5aee72e5c2c8b60bbedd458303051b104c29 | [
"Unlicense"
] | null | null | null | multi_tools/c/__init__.py | Jerem2360/multitools | cd2c5aee72e5c2c8b60bbedd458303051b104c29 | [
"Unlicense"
] | null | null | null | multi_tools/c/__init__.py | Jerem2360/multitools | cd2c5aee72e5c2c8b60bbedd458303051b104c29 | [
"Unlicense"
] | null | null | null | from . import c_module
from os import PathLike
class modes:
CDECL = c_module.CDECL
STDCALL = c_module.STDCALL
def c_import(path: PathLike, mode: int = modes.CDECL) -> c_module.CModule:
return c_module.c_import(path, mode=mode)
| 18.769231 | 74 | 0.72541 | 38 | 244 | 4.473684 | 0.421053 | 0.205882 | 0.129412 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184426 | 244 | 12 | 75 | 20.333333 | 0.854271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0.142857 | 1.285714 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
8aec58ba8a0fa536e116268f9173a99ac2ee58eb | 56 | py | Python | tests/test_calc.py | aldencolerain/rxtouchtoggle | 758119f34c77568c37aa76db57d18493470a741b | [
"MIT"
] | null | null | null | tests/test_calc.py | aldencolerain/rxtouchtoggle | 758119f34c77568c37aa76db57d18493470a741b | [
"MIT"
] | null | null | null | tests/test_calc.py | aldencolerain/rxtouchtoggle | 758119f34c77568c37aa76db57d18493470a741b | [
"MIT"
] | null | null | null | # test add function
def test_example():
assert True
| 14 | 19 | 0.714286 | 8 | 56 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 3 | 20 | 18.666667 | 0.886364 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8afc4e8ae6db6760247ac8d89756ae84f8b9c40b | 101 | py | Python | genshin/paginators/__init__.py | thesadru/genshin.py | 806b8d0dd059a06605e66dead917fdf550a552bc | [
"MIT"
] | 63 | 2021-10-04T19:53:54.000Z | 2022-03-30T07:21:03.000Z | genshin/paginators/__init__.py | thesadru/genshin.py | 806b8d0dd059a06605e66dead917fdf550a552bc | [
"MIT"
] | 17 | 2021-11-16T20:42:52.000Z | 2022-03-31T10:11:52.000Z | genshin/paginators/__init__.py | thesadru/genshin.py | 806b8d0dd059a06605e66dead917fdf550a552bc | [
"MIT"
] | 10 | 2021-10-16T22:41:41.000Z | 2022-02-19T17:55:23.000Z | """Fancy paginators with a large amount of useful methods."""
from .api import *
from .base import *
| 25.25 | 61 | 0.722772 | 15 | 101 | 4.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 101 | 3 | 62 | 33.666667 | 0.869048 | 0.544554 | 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 | 1 | 0 | 0 | 5 |
c136464424713ae56615ba93168d03212d288f83 | 127 | py | Python | comment/admin.py | MichaelNjoroge254/Instagram-App | 0a33e5909190efb24c0adc3ce38b5846e3723e73 | [
"MIT"
] | null | null | null | comment/admin.py | MichaelNjoroge254/Instagram-App | 0a33e5909190efb24c0adc3ce38b5846e3723e73 | [
"MIT"
] | null | null | null | comment/admin.py | MichaelNjoroge254/Instagram-App | 0a33e5909190efb24c0adc3ce38b5846e3723e73 | [
"MIT"
] | null | null | null | from django.contrib import admin
from comment.models import Comment
# Register your models here.
admin.site.register(Comment)
| 21.166667 | 34 | 0.818898 | 18 | 127 | 5.777778 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11811 | 127 | 5 | 35 | 25.4 | 0.928571 | 0.204724 | 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 | 1 | 0 | 0 | 5 |
c1666133429b77529aa5c9f789f650249dcf8406 | 12,502 | py | Python | ecmwfapi/custom_http/custom_http.py | rpersoon/ecmwf-python-client | 477aff12431386c21b5612edd96823aef5ca94e6 | [
"Apache-2.0"
] | 1 | 2019-08-27T11:19:22.000Z | 2019-08-27T11:19:22.000Z | ecmwfapi/custom_http/custom_http.py | rpersoon/ecmwf-python-client | 477aff12431386c21b5612edd96823aef5ca94e6 | [
"Apache-2.0"
] | null | null | null | ecmwfapi/custom_http/custom_http.py | rpersoon/ecmwf-python-client | 477aff12431386c21b5612edd96823aef5ca94e6 | [
"Apache-2.0"
] | null | null | null | #
# (C) Copyright 2012-2013 ECMWF.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
# In applying this licence, ECMWF does not waive the privileges and immunities
# granted to it by virtue of its status as an intergove... | 35.117978 | 120 | 0.69013 | 1,572 | 12,502 | 5.358779 | 0.157125 | 0.0368 | 0.059354 | 0.019943 | 0.76472 | 0.754392 | 0.754392 | 0.754392 | 0.754392 | 0.74727 | 0 | 0.016637 | 0.240362 | 12,502 | 355 | 121 | 35.216901 | 0.87038 | 0.256039 | 0 | 0.670213 | 0 | 0 | 0.164971 | 0.003649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037234 | false | 0 | 0.042553 | 0 | 0.117021 | 0.015957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
c16b8b7d48a782ec91783ef796374c5126e72ad8 | 139 | py | Python | epikjjh/baekjoon/12781.py | 15ers/Solve_Naively | 23ee4a3aedbedb65b9040594b8c9c6d9cff77090 | [
"MIT"
] | 3 | 2019-05-19T13:44:39.000Z | 2019-07-03T11:15:20.000Z | epikjjh/baekjoon/12781.py | 15ers/Solve_Naively | 23ee4a3aedbedb65b9040594b8c9c6d9cff77090 | [
"MIT"
] | 7 | 2019-05-06T02:37:26.000Z | 2019-06-29T07:28:02.000Z | epikjjh/baekjoon/12781.py | 15ers/Solve_Naively | 23ee4a3aedbedb65b9040594b8c9c6d9cff77090 | [
"MIT"
] | 1 | 2019-07-28T06:24:54.000Z | 2019-07-28T06:24:54.000Z | x1,y1,x2,y2,x3,y3,x4,y4 = map(int,input().split())
print(1 if ((x2-x1)*(y3-y1)-(y2-y1)*(x3-x1))*((x2-x1)*(y4-y1)-(y2-y1)*(x4-x1))<0 else 0) | 69.5 | 88 | 0.561151 | 34 | 139 | 2.294118 | 0.5 | 0.102564 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0.05036 | 139 | 2 | 88 | 69.5 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c1dc38c7b9b8da9011d1c8dfd7a9101155793f70 | 108 | py | Python | JSSP/__init__.py | mcfadd/Job_Shop_Schedule_Problem | 94696af80911c80174682f97fc6f607e4c73ae54 | [
"0BSD"
] | 45 | 2019-08-27T21:42:42.000Z | 2022-02-17T12:35:18.000Z | JSSP/__init__.py | aisha-farooq/Job_Shop_Schedule_Problem | 94696af80911c80174682f97fc6f607e4c73ae54 | [
"0BSD"
] | 9 | 2019-07-20T19:45:01.000Z | 2022-03-30T19:36:26.000Z | JSSP/__init__.py | aisha-farooq/Job_Shop_Schedule_Problem | 94696af80911c80174682f97fc6f607e4c73ae54 | [
"0BSD"
] | 17 | 2020-05-05T07:38:12.000Z | 2022-03-23T02:36:44.000Z | from .data import FJSData, SpreadsheetData
from .solution import SolutionFactory
from .solver import Solver
| 27 | 42 | 0.842593 | 13 | 108 | 7 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 3 | 43 | 36 | 0.957895 | 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 | 1 | 0 | 0 | 5 |
c1fdf28e7f450c9b08c1fb7f5afa33e000360bee | 130 | py | Python | 0x03-python-data_structures/0-print_list_integer.py | Nahi-Terefe/alx-higher_level_programming | c67a78a6f79e853918963971f8352979e7691541 | [
"MIT"
] | null | null | null | 0x03-python-data_structures/0-print_list_integer.py | Nahi-Terefe/alx-higher_level_programming | c67a78a6f79e853918963971f8352979e7691541 | [
"MIT"
] | null | null | null | 0x03-python-data_structures/0-print_list_integer.py | Nahi-Terefe/alx-higher_level_programming | c67a78a6f79e853918963971f8352979e7691541 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def print_list_integer(my_list=[]):
for i in range(len(my_list)):
print("{:d}".format(my_list[i]))
| 26 | 40 | 0.630769 | 22 | 130 | 3.5 | 0.681818 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.153846 | 130 | 4 | 41 | 32.5 | 0.690909 | 0.130769 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 5 |
de0fc4b0b99fadfa5ad62f70d7f36cb712eb1541 | 173 | py | Python | oplab/const.py | ysenarath/opinion-lab | 09bcde7aca5410cd75d869cdf74f06f7808e8a18 | [
"Apache-2.0"
] | 3 | 2018-10-23T01:50:43.000Z | 2020-11-22T12:10:15.000Z | oplab/const.py | ysenarath/opinion-lab | 09bcde7aca5410cd75d869cdf74f06f7808e8a18 | [
"Apache-2.0"
] | null | null | null | oplab/const.py | ysenarath/opinion-lab | 09bcde7aca5410cd75d869cdf74f06f7808e8a18 | [
"Apache-2.0"
] | null | null | null | COMMAND_HELP = '''
oplab <command> [<args>]
'''
TRAIN_COMMAND_HELP = '''
oplab t|train
--params <params_file_path>
--output <model_save_path>
'''
| 17.3 | 36 | 0.578035 | 19 | 173 | 4.894737 | 0.631579 | 0.236559 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254335 | 173 | 9 | 37 | 19.222222 | 0.72093 | 0 | 0 | 0.25 | 0 | 0 | 0.705202 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a9ac1701e4581af4d8049f0a08cf4657ef1e3297 | 7,057 | py | Python | functions/source/attributes-updater/test_handler.py | censullo/quickstart-urbanio-iot-aas-1 | 88529d48245862f8c5a9d99bb8d74e9eeadf805e | [
"Apache-2.0"
] | 2 | 2021-12-01T14:30:16.000Z | 2022-02-14T06:52:45.000Z | functions/source/attributes-updater/test_handler.py | censullo/quickstart-urbanio-iot-aas-1 | 88529d48245862f8c5a9d99bb8d74e9eeadf805e | [
"Apache-2.0"
] | null | null | null | functions/source/attributes-updater/test_handler.py | censullo/quickstart-urbanio-iot-aas-1 | 88529d48245862f8c5a9d99bb8d74e9eeadf805e | [
"Apache-2.0"
] | 3 | 2021-11-12T15:41:16.000Z | 2022-03-28T00:56:04.000Z | import os
import json
import datetime
from mock import patch, Mock, call
from freezegun import freeze_time
os.environ["DYNAMO_ASSETS_TABLE_NAME"] = "test"
os.environ["DYNAMO_EVENT_MAPPING_TABLE_NAME"] = "mappings"
os.environ["AWS_REGION"] = "us-east-1"
from handler import process_event
mock_assets_cache = Mock()
mo... | 32.37156 | 86 | 0.445798 | 504 | 7,057 | 6.019841 | 0.170635 | 0.055702 | 0.056032 | 0.07383 | 0.798286 | 0.798286 | 0.798286 | 0.798286 | 0.798286 | 0.754779 | 0 | 0.036236 | 0.436871 | 7,057 | 218 | 87 | 32.37156 | 0.727227 | 0 | 0 | 0.54359 | 0 | 0 | 0.249504 | 0.059649 | 0 | 0 | 0 | 0 | 0.015385 | 1 | 0.015385 | false | 0 | 0.030769 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
a9caa371e7d90485f9703ff3181a42be0342feea | 138 | py | Python | demos/dict.py | antonarnaudov/python-ninjas-2021-01 | 3b0dc1f122053f9cbde3c4ed4c0d8d3e329518ec | [
"MIT"
] | null | null | null | demos/dict.py | antonarnaudov/python-ninjas-2021-01 | 3b0dc1f122053f9cbde3c4ed4c0d8d3e329518ec | [
"MIT"
] | null | null | null | demos/dict.py | antonarnaudov/python-ninjas-2021-01 | 3b0dc1f122053f9cbde3c4ed4c0d8d3e329518ec | [
"MIT"
] | null | null | null | dd = {
'a': 1,
'b': 2,
'c': 3
}
ll = [1, 2, 3, 4]
print(ll[0])
print(dd)
dd['new'] = 7
print(dd)
dd['new'] += 6
print(dd)
| 8.117647 | 17 | 0.398551 | 27 | 138 | 2.037037 | 0.518519 | 0.381818 | 0.327273 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0.304348 | 138 | 16 | 18 | 8.625 | 0.46875 | 0 | 0 | 0.25 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a9e3372262cd705290e2c5adff8a83c5db160740 | 22 | py | Python | l10n_co_fjsb_conj/__init__.py | xpheragroup/FJAgosto21 | aad1ba8104a6ea1dfcc39fc250897465872ea930 | [
"MIT"
] | 1 | 2022-01-21T16:23:20.000Z | 2022-01-21T16:23:20.000Z | l10n_co_fjsb_conj/__init__.py | xpheragroup/FJAgosto21 | aad1ba8104a6ea1dfcc39fc250897465872ea930 | [
"MIT"
] | null | null | null | l10n_co_fjsb_conj/__init__.py | xpheragroup/FJAgosto21 | aad1ba8104a6ea1dfcc39fc250897465872ea930 | [
"MIT"
] | 1 | 2022-03-02T21:41:46.000Z | 2022-03-02T21:41:46.000Z |
from . import models
| 7.333333 | 20 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 21 | 11 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
e723c78a147d5962c624cb1993f6f79a6aa00c9a | 70 | py | Python | cargo_parse/models/core.py | Deca-Technologies/cargo-parse | 2263f55f40adc22f797fb7514818753e84dc5887 | [
"MIT"
] | 1 | 2021-12-10T18:22:57.000Z | 2021-12-10T18:22:57.000Z | cargo_parse/models/core.py | Deca-Technologies/cargo-parse | 2263f55f40adc22f797fb7514818753e84dc5887 | [
"MIT"
] | null | null | null | cargo_parse/models/core.py | Deca-Technologies/cargo-parse | 2263f55f40adc22f797fb7514818753e84dc5887 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class CoreModel(BaseModel):
pass
| 11.666667 | 30 | 0.771429 | 8 | 70 | 6.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 5 | 31 | 14 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
e724fb4a60d880b4c235cd37376091d22f9bb5de | 73 | py | Python | B_Python_and_friends/solutions/ex1_1.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 7 | 2019-07-03T07:41:55.000Z | 2022-02-06T20:25:37.000Z | beginners-guide/solutions/ex1_1.py | oercompbiomed/Seili-2020 | 1f7490d58759098de28494f4580af3c700f57bd4 | [
"MIT"
] | 9 | 2019-03-14T15:15:09.000Z | 2019-08-01T14:18:21.000Z | B_Python_and_friends/solutions/ex1_1.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 11 | 2019-03-12T10:43:11.000Z | 2021-10-05T12:15:00.000Z | print(a == b)
print(a == c)
print(b == c)
# a and b evaluate to the same | 14.6 | 30 | 0.589041 | 16 | 73 | 2.6875 | 0.5625 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 73 | 5 | 30 | 14.6 | 0.767857 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e74e8df9492959840f0f32d80384801048111696 | 31 | py | Python | users/urls.py | neyona/underwaterfortune-2021-version | 128f9359a3b6fb9fd6e3f39785f0eb9928dbb265 | [
"MIT"
] | null | null | null | users/urls.py | neyona/underwaterfortune-2021-version | 128f9359a3b6fb9fd6e3f39785f0eb9928dbb265 | [
"MIT"
] | null | null | null | users/urls.py | neyona/underwaterfortune-2021-version | 128f9359a3b6fb9fd6e3f39785f0eb9928dbb265 | [
"MIT"
] | null | null | null | # fortune_docker/users/urls.py
| 15.5 | 30 | 0.806452 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 31 | 1 | 31 | 31 | 0.827586 | 0.903226 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e758e57204d7e8133e630f4bf86e2ac9e87b6ae2 | 85 | py | Python | cimpyorm/Model/Elements/__init__.py | derrickoswald/cimpyorm | f05efa0e409ab1189975038ea051a792a371967f | [
"BSD-3-Clause"
] | null | null | null | cimpyorm/Model/Elements/__init__.py | derrickoswald/cimpyorm | f05efa0e409ab1189975038ea051a792a371967f | [
"BSD-3-Clause"
] | null | null | null | cimpyorm/Model/Elements/__init__.py | derrickoswald/cimpyorm | f05efa0e409ab1189975038ea051a792a371967f | [
"BSD-3-Clause"
] | null | null | null | from .Base import *
from .Enum import *
from .Class import *
from .Property import *
| 17 | 23 | 0.717647 | 12 | 85 | 5.083333 | 0.5 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 4 | 24 | 21.25 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e75df0226ff9504dfd4e4c7559e459ab3992c84f | 131 | py | Python | xml2rfc_compat/__init__.py | stefanomunarini/bibxml-service | 4c3f6922f8a5c84cf63755e687f61862da0f4ad4 | [
"BSD-3-Clause"
] | null | null | null | xml2rfc_compat/__init__.py | stefanomunarini/bibxml-service | 4c3f6922f8a5c84cf63755e687f61862da0f4ad4 | [
"BSD-3-Clause"
] | null | null | null | xml2rfc_compat/__init__.py | stefanomunarini/bibxml-service | 4c3f6922f8a5c84cf63755e687f61862da0f4ad4 | [
"BSD-3-Clause"
] | null | null | null | """Module providing logic for retrieving bibitems
via xml2rfc-style paths, and serializing them to
xml2rfc-style RFC 7991 XML.
"""
| 26.2 | 49 | 0.78626 | 19 | 131 | 5.421053 | 0.894737 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 0.137405 | 131 | 4 | 50 | 32.75 | 0.858407 | 0.938931 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 5 |
e78276c08f8fbaef84fb48a103953266fcc38b7b | 59 | py | Python | boonai/project/api/machine_learning/definitions/__init__.py | openmednlp/boonai | 8553adc2657aa83654b0ae9638e54084b9cfbb22 | [
"MIT"
] | 1 | 2018-10-05T10:59:21.000Z | 2018-10-05T10:59:21.000Z | boonai/project/api/machine_learning/definitions/__init__.py | openmednlp/boonai | 8553adc2657aa83654b0ae9638e54084b9cfbb22 | [
"MIT"
] | 17 | 2018-09-25T11:54:12.000Z | 2018-10-11T09:09:22.000Z | boonai/project/api/machine_learning/definitions/__init__.py | openmednlp/boonai | 8553adc2657aa83654b0ae9638e54084b9cfbb22 | [
"MIT"
] | 1 | 2018-10-04T18:05:27.000Z | 2018-10-04T18:05:27.000Z | import boonai.project.api.machine_learning.definitions.nlp
| 29.5 | 58 | 0.881356 | 8 | 59 | 6.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 59 | 1 | 59 | 59 | 0.894737 | 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 | 1 | 0 | 0 | 5 |
e7a0d44eaddb53297fb09eafccb6beb893d921b8 | 10,989 | py | Python | preprocess/preprocess.py | Manikandan25/MLOps-Lab-1 | 8fe8a2eef4299f3bf75e962ccd3ace771d4b7b73 | [
"MIT"
] | null | null | null | preprocess/preprocess.py | Manikandan25/MLOps-Lab-1 | 8fe8a2eef4299f3bf75e962ccd3ace771d4b7b73 | [
"MIT"
] | null | null | null | preprocess/preprocess.py | Manikandan25/MLOps-Lab-1 | 8fe8a2eef4299f3bf75e962ccd3ace771d4b7b73 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
def preprocess_data(df):
df = df.drop(columns = ['FEINumberRecall','RecallingFirmName','RecallEventID','RecallEventClassification','RefusalFEINumber',
'RefusedDate','AnalysisDone','OutbreakLevel','Id','ImportingCountry'])
a = df[df['OriginCountry'].isin(['-'])]['Orig... | 99.9 | 199 | 0.75248 | 948 | 10,989 | 8.583333 | 0.244726 | 0.068207 | 0.229814 | 0.209168 | 0.697431 | 0.58105 | 0.58105 | 0.186678 | 0.131744 | 0.112081 | 0 | 0.000891 | 0.080353 | 10,989 | 109 | 200 | 100.816514 | 0.804275 | 0.028301 | 0 | 0.020202 | 0 | 0 | 0.614282 | 0.419455 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010101 | false | 0 | 0.050505 | 0 | 0.070707 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e7c7370373bcfd856454d6b4008ddd666d032604 | 170 | py | Python | sendim/views/config/__init__.py | ZuluPro/snafu | dbd79da4617db315ba7e76a0af6805cc3b1cbae2 | [
"BSD-3-Clause"
] | 1 | 2017-12-13T20:28:32.000Z | 2017-12-13T20:28:32.000Z | sendim/views/config/__init__.py | ZuluPro/snafu | dbd79da4617db315ba7e76a0af6805cc3b1cbae2 | [
"BSD-3-Clause"
] | null | null | null | sendim/views/config/__init__.py | ZuluPro/snafu | dbd79da4617db315ba7e76a0af6805cc3b1cbae2 | [
"BSD-3-Clause"
] | null | null | null | from config_index import configuration, confManager, update
from reference import getReferences, reference, getAlertWithoutRef, getAsWithoutRef, getRefForm, addReference
| 56.666667 | 109 | 0.870588 | 16 | 170 | 9.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 170 | 2 | 110 | 85 | 0.948387 | 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 | 1 | 0 | 0 | 5 |
99bd11f71f9e1182859d3a5f82d0b7845b6b3c26 | 48 | py | Python | dycall/msgs/__init__.py | demberto/DyCall | b234e7ba535eae71234723bb3d645eb986f96a30 | [
"MIT"
] | null | null | null | dycall/msgs/__init__.py | demberto/DyCall | b234e7ba535eae71234723bb3d645eb986f96a30 | [
"MIT"
] | null | null | null | dycall/msgs/__init__.py | demberto/DyCall | b234e7ba535eae71234723bb3d645eb986f96a30 | [
"MIT"
] | null | null | null | """Contains the translations used by DyCall."""
| 24 | 47 | 0.729167 | 6 | 48 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.833333 | 0.854167 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
99ce0f6c25e34bd31a51c87895ce528bd6d7a394 | 72 | py | Python | cookbook_se/recipes/01_basic/graphviz.py | nuclyde-io/flytesnacks | d0349be8bf3c66ecdcbf4f71ea12c8575a6c4cc0 | [
"Apache-2.0"
] | null | null | null | cookbook_se/recipes/01_basic/graphviz.py | nuclyde-io/flytesnacks | d0349be8bf3c66ecdcbf4f71ea12c8575a6c4cc0 | [
"Apache-2.0"
] | null | null | null | cookbook_se/recipes/01_basic/graphviz.py | nuclyde-io/flytesnacks | d0349be8bf3c66ecdcbf4f71ea12c8575a6c4cc0 | [
"Apache-2.0"
] | null | null | null | """
09: See my workflow as a graph
-------------------------------
"""
| 12 | 31 | 0.319444 | 7 | 72 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.152778 | 72 | 5 | 32 | 14.4 | 0.344262 | 0.861111 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
99e8991194e58a87ccb98190e9a157a354a5e36e | 2,067 | py | Python | tconfig/tests/api/resources/test_parameter_exclude_list.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | tconfig/tests/api/resources/test_parameter_exclude_list.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | tconfig/tests/api/resources/test_parameter_exclude_list.py | awwilliams/tconfig | e798ca7d85a61c53df07b61440b321dbd3793350 | [
"MIT"
] | null | null | null | def test_parameter_exclusion_empty(api_client, api_prefix):
response = api_client.get(f"{api_prefix}/parameters/1/exclusions/")
assert response.status_code == 200
json_dict = response.json
expected = {
"message": "exclusions for parameter 1",
"parameter": {"excluded": [], "excluded_by":... | 29.956522 | 85 | 0.576681 | 219 | 2,067 | 5.205479 | 0.187215 | 0.086842 | 0.070175 | 0.140351 | 0.809649 | 0.748246 | 0.717544 | 0.717544 | 0.650877 | 0.650877 | 0 | 0.022 | 0.274311 | 2,067 | 68 | 86 | 30.397059 | 0.738 | 0 | 0 | 0.661017 | 0 | 0 | 0.319303 | 0.167392 | 0 | 0 | 0 | 0 | 0.118644 | 1 | 0.050847 | false | 0 | 0 | 0 | 0.050847 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
820780e54d2ae8db3c67eebb6934043a7dd85c12 | 152 | py | Python | venv/Lib/site-packages/nipype/interfaces/mne/__init__.py | richung99/digitizePlots | 6b408c820660a415a289726e3223e8f558d3e18b | [
"MIT"
] | 585 | 2015-01-12T16:06:47.000Z | 2022-03-26T14:51:08.000Z | nipype/interfaces/mne/__init__.py | tamires-consulting/nipype | b7879d75a63b6500b2e7d2c3eba5aa7670339274 | [
"Apache-2.0"
] | 2,329 | 2015-01-01T09:56:41.000Z | 2022-03-30T14:24:49.000Z | nipype/interfaces/mne/__init__.py | tamires-consulting/nipype | b7879d75a63b6500b2e7d2c3eba5aa7670339274 | [
"Apache-2.0"
] | 487 | 2015-01-20T01:04:52.000Z | 2022-03-21T21:22:47.000Z | # -*- coding: utf-8 -*-
"""MNE is a software for exploring, visualizing, and analyzing human neurophysiological data."""
from .base import WatershedBEM
| 38 | 96 | 0.736842 | 19 | 152 | 5.894737 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.138158 | 152 | 3 | 97 | 50.666667 | 0.847328 | 0.743421 | 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 | 1 | 0 | 0 | 5 |
821573b5b1e7ac791983129ffe5c1683f043a0ae | 87 | py | Python | nanoAPI/handler/__init__.py | Nandan-unni/Nano | fa7c85c85cfa6cc31ff0d98679aafe5be179e8d1 | [
"MIT"
] | 2 | 2021-01-31T17:27:50.000Z | 2021-02-12T17:52:43.000Z | nanoAPI/handler/__init__.py | Nandan-unni/Nano | fa7c85c85cfa6cc31ff0d98679aafe5be179e8d1 | [
"MIT"
] | 4 | 2021-02-10T10:25:26.000Z | 2021-02-12T15:36:08.000Z | nanoAPI/handler/__init__.py | Nandan-unni/Nano | fa7c85c85cfa6cc31ff0d98679aafe5be179e8d1 | [
"MIT"
] | null | null | null | from .router import Router
from .request import Request
from .response import Response
| 21.75 | 30 | 0.827586 | 12 | 87 | 6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 31 | 29 | 0.96 | 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 | 1 | 0 | 0 | 5 |
821f9d7ee7f64fa4adc4a8451ef343eb6711d33a | 210 | py | Python | rq/cli/__init__.py | dralley/rq | ea1910fc71621752f88fdc68175a029df1c7dca8 | [
"BSD-2-Clause-FreeBSD"
] | 4,261 | 2018-01-08T21:27:46.000Z | 2022-03-31T12:04:23.000Z | rq/cli/__init__.py | dralley/rq | ea1910fc71621752f88fdc68175a029df1c7dca8 | [
"BSD-2-Clause-FreeBSD"
] | 775 | 2018-01-08T21:35:07.000Z | 2022-03-31T16:38:34.000Z | rq/cli/__init__.py | thomasmatecki/rq | a31d37f1ea32c001da6d7c6c57a3a3e16290450c | [
"BSD-2-Clause-FreeBSD"
] | 639 | 2018-01-11T01:58:19.000Z | 2022-03-29T10:15:07.000Z | # flake8: noqa
from .cli import main
# TODO: the following imports can be removed when we drop the `rqinfo` and
# `rqworkers` commands in favor of just shipping the `rq` command.
from .cli import info, worker
| 30 | 74 | 0.747619 | 34 | 210 | 4.617647 | 0.852941 | 0.089172 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.180952 | 210 | 6 | 75 | 35 | 0.906977 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4131de86fc2813aeb5a77895b6dfc1c6387f9248 | 605 | py | Python | 3d_classification/read_tif.py | SiYuaner/monai_3dclassification | 4d3d62f9655e3cc6ef3ce37e0a1439e4ce1ddd07 | [
"MIT"
] | null | null | null | 3d_classification/read_tif.py | SiYuaner/monai_3dclassification | 4d3d62f9655e3cc6ef3ce37e0a1439e4ce1ddd07 | [
"MIT"
] | null | null | null | 3d_classification/read_tif.py | SiYuaner/monai_3dclassification | 4d3d62f9655e3cc6ef3ce37e0a1439e4ce1ddd07 | [
"MIT"
] | null | null | null | import tifffile
name = r'H:\血管后处理文献阅读\新增参考文献\graph\tutorials\3d_classification\datasets\dataset40\train\0000-0069\0000-0069_3dim.tif'
f = tifffile.imread(name)
print(f.shape)
tifffile.imwrite(r'H:\血管后处理文献阅读\新增参考文献\graph\tutorials\3d_clas'
r'sification\datasets\dataset40\train\0000-0069\0.tif', f[0])
... | 50.416667 | 117 | 0.730579 | 90 | 605 | 4.855556 | 0.311111 | 0.091533 | 0.100687 | 0.155606 | 0.782609 | 0.713959 | 0.713959 | 0.638444 | 0.638444 | 0.638444 | 0 | 0.11028 | 0.115702 | 605 | 12 | 118 | 50.416667 | 0.706542 | 0 | 0 | 0.3 | 0 | 0.1 | 0.641914 | 0.641914 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.1 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
416a363eb8d3baeaf30447ec2590a3310c1fdb7a | 251 | py | Python | packagename/tests/test_example.py | bsipocz/package-template | bdeb4f302a46d27cffc8c35aba0bdf04029fefc4 | [
"BSD-3-Clause"
] | null | null | null | packagename/tests/test_example.py | bsipocz/package-template | bdeb4f302a46d27cffc8c35aba0bdf04029fefc4 | [
"BSD-3-Clause"
] | null | null | null | packagename/tests/test_example.py | bsipocz/package-template | bdeb4f302a46d27cffc8c35aba0bdf04029fefc4 | [
"BSD-3-Clause"
] | 1 | 2021-04-08T20:50:24.000Z | 2021-04-08T20:50:24.000Z | def test_primes_c():
from ..example_c import primes as primes_c
assert primes_c(10) == [2, 3, 5, 7, 11, 13, 17, 19, 23, 29]
def test_primes():
from ..example_mod import primes
assert primes(10) == [2, 3, 5, 7, 11, 13, 17, 19, 23, 29]
| 31.375 | 63 | 0.613546 | 47 | 251 | 3.12766 | 0.446809 | 0.142857 | 0.176871 | 0.068027 | 0.244898 | 0.244898 | 0.244898 | 0.244898 | 0.244898 | 0.244898 | 0 | 0.185567 | 0.227092 | 251 | 7 | 64 | 35.857143 | 0.572165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
68c778bcddd01cd549b9b58dbc117f395fec2ac6 | 246 | py | Python | config.py | dihe2/augment_input_method | 52c9c5710a438bf741c969b8360a6d05b428a3de | [
"MIT"
] | null | null | null | config.py | dihe2/augment_input_method | 52c9c5710a438bf741c969b8360a6d05b428a3de | [
"MIT"
] | null | null | null | config.py | dihe2/augment_input_method | 52c9c5710a438bf741c969b8360a6d05b428a3de | [
"MIT"
] | null | null | null | consumer_key = 'gdLsE3urZ6HqjE2RjiwaFBwag'
consumer_secret = 'rubc1WvJoYOnsBoUMXXV660MUOhw685uTFjqnYmrRWdqoq6Y48'
access_token = '846813944186650627-CpBzbP1i8ag3pREHkd6YcGQeMHbaLOx'
access_secret = 'rX2ikxxtI4zplBp9kbEEpibWVKyCwKJmvuxTiKxFgeJKA'
| 49.2 | 70 | 0.898374 | 13 | 246 | 16.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 0.04878 | 246 | 4 | 71 | 61.5 | 0.764957 | 0 | 0 | 0 | 0 | 0 | 0.691057 | 0.691057 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
68e14ec428b4af3dd3e442bcc0c33c13e037e7a5 | 793 | py | Python | bindings/python/pydeck/tests/const.py | prondubuisi/deck.gl | 3a4121a0096172f5c8ba91dc26683a5339588e6b | [
"MIT"
] | null | null | null | bindings/python/pydeck/tests/const.py | prondubuisi/deck.gl | 3a4121a0096172f5c8ba91dc26683a5339588e6b | [
"MIT"
] | 2 | 2021-09-02T21:18:18.000Z | 2022-02-14T08:36:33.000Z | bindings/python/pydeck/tests/const.py | prondubuisi/deck.gl | 3a4121a0096172f5c8ba91dc26683a5339588e6b | [
"MIT"
] | null | null | null | import json
FIXTURE_STRING = """{"initialViewState": {"bearing": -27.396674584323023, "latitude": 52.232395363869415, "longitude": -1.4157267858730052, "maxZoom": 15, "minZoom": 5, "pitch": 40.5, "zoom": 6.6}, "layers": [{"coverage": 1, "data": "https://raw.githubusercontent.com/uber-common/deck.gl-data/master/example... | 158.6 | 737 | 0.686003 | 95 | 793 | 5.694737 | 0.789474 | 0.048059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153215 | 0.078184 | 793 | 4 | 738 | 198.25 | 0.586867 | 0 | 0 | 0 | 0 | 0.333333 | 0.900378 | 0.041614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ec080683a6f0c40013eec38b4ccb629c49f5f625 | 27 | py | Python | configure.py | vineetmehtaa/MeetingJoiner | d8a25615a8f12e88fa7468a20627ddcf4d776cc0 | [
"MIT"
] | 4 | 2022-01-12T04:39:57.000Z | 2022-01-19T05:02:33.000Z | configure.py | vineetmehtaa/MeetingJoiner | d8a25615a8f12e88fa7468a20627ddcf4d776cc0 | [
"MIT"
] | null | null | null | configure.py | vineetmehtaa/MeetingJoiner | d8a25615a8f12e88fa7468a20627ddcf4d776cc0 | [
"MIT"
] | null | null | null | from setup import *
setup() | 13.5 | 19 | 0.740741 | 4 | 27 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 2 | 20 | 13.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6b97c9e314f2d8b1d2a8b0d807ab3fe98e10a73c | 90 | py | Python | zunda/__init__.py | Kensuke-Mitsuzawa/zunda-python | dfa067d288cbd188deac470446a304ae7f7fd8ac | [
"MIT"
] | null | null | null | zunda/__init__.py | Kensuke-Mitsuzawa/zunda-python | dfa067d288cbd188deac470446a304ae7f7fd8ac | [
"MIT"
] | null | null | null | zunda/__init__.py | Kensuke-Mitsuzawa/zunda-python | dfa067d288cbd188deac470446a304ae7f7fd8ac | [
"MIT"
] | null | null | null | from .zunda import Parser
VERSION = (0, 1, 2)
__version__ = "0.1.2"
__all__ = ["Parser"]
| 15 | 25 | 0.644444 | 14 | 90 | 3.571429 | 0.642857 | 0.32 | 0.36 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.177778 | 90 | 5 | 26 | 18 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6b98e5f3437a14f59762a332593d51b7ff7bc6af | 169 | py | Python | run.py | Affell/ALBanque | 5e4134885c2bc4575ef5af6654210dbb68a3b1c7 | [
"MIT"
] | null | null | null | run.py | Affell/ALBanque | 5e4134885c2bc4575ef5af6654210dbb68a3b1c7 | [
"MIT"
] | null | null | null | run.py | Affell/ALBanque | 5e4134885c2bc4575ef5af6654210dbb68a3b1c7 | [
"MIT"
] | null | null | null | from fbapp import views
from flask_login import LoginManager
from fbapp import User
print("TEST")
if __name__ == '__main__':
views.app.run(host='0.0.0.0', port=80)
| 21.125 | 42 | 0.733728 | 28 | 169 | 4.107143 | 0.678571 | 0.052174 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.142012 | 169 | 7 | 43 | 24.142857 | 0.751724 | 0 | 0 | 0 | 0 | 0 | 0.112426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6bd3e2f6cf28ca2ca744d6141c3c4116b3981c80 | 259 | py | Python | teacher/admin.py | lawalkeyd/school_management_system | 5ae2a562b23228e602e112c96e5854c8cf5ec89e | [
"MIT"
] | null | null | null | teacher/admin.py | lawalkeyd/school_management_system | 5ae2a562b23228e602e112c96e5854c8cf5ec89e | [
"MIT"
] | null | null | null | teacher/admin.py | lawalkeyd/school_management_system | 5ae2a562b23228e602e112c96e5854c8cf5ec89e | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.EducationInfo)
admin.site.register(models.TrainingInfo)
admin.site.register(models.JobInfo)
admin.site.register(models.ExperienceInfo)
admin.site.register(models.PersonalInfo)
| 25.9 | 42 | 0.837838 | 33 | 259 | 6.575758 | 0.393939 | 0.207373 | 0.391705 | 0.529954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057915 | 259 | 9 | 43 | 28.777778 | 0.889344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
d42f1f0fe9efa853983ecb20a40a97d166113c00 | 734 | py | Python | tests/test_dbclient.py | beauburrows/python-prodj-link | 1cc6b6c19e38ac09fadb91420e45adbe2c9691bb | [
"Apache-2.0"
] | 66 | 2018-01-16T09:25:30.000Z | 2022-03-24T14:58:44.000Z | tests/test_dbclient.py | beauburrows/python-prodj-link | 1cc6b6c19e38ac09fadb91420e45adbe2c9691bb | [
"Apache-2.0"
] | 25 | 2018-05-16T12:17:11.000Z | 2021-02-06T11:09:03.000Z | tests/test_dbclient.py | beauburrows/python-prodj-link | 1cc6b6c19e38ac09fadb91420e45adbe2c9691bb | [
"Apache-2.0"
] | 18 | 2018-03-15T13:54:40.000Z | 2022-03-24T20:49:43.000Z | import unittest
from prodj.network.packets import DBMessage
class DbclientTestCase(unittest.TestCase):
def test_parsing_root_menu_rendering_request(self):
raw_data = bytes([
0x11, 0x87, 0x23, 0x49, 0xae, 0x11, 0x05, 0x80,
0x00, 0x0f, 0x10, 0x30, 0x00, 0x0f, 0x06, 0x14,
0... | 36.7 | 59 | 0.579019 | 90 | 734 | 4.644444 | 0.466667 | 0.382775 | 0.373206 | 0.229665 | 0.344498 | 0.172249 | 0.172249 | 0.172249 | 0.172249 | 0 | 0 | 0.358416 | 0.311989 | 734 | 19 | 60 | 38.631579 | 0.469307 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0.337875 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 5 |
d44c9556c1182b572b5b17e10e9681253bd625d5 | 2,441 | py | Python | airdrop/alembic/versions/2abbd40b9025_alterrewardsonuserrewardtable.py | anandrgitnirman/airdrop-services | 041118e986d595b2764a838af834bd08c283d374 | [
"MIT"
] | null | null | null | airdrop/alembic/versions/2abbd40b9025_alterrewardsonuserrewardtable.py | anandrgitnirman/airdrop-services | 041118e986d595b2764a838af834bd08c283d374 | [
"MIT"
] | 5 | 2021-09-27T05:08:41.000Z | 2022-03-02T03:58:04.000Z | airdrop/alembic/versions/2abbd40b9025_alterrewardsonuserrewardtable.py | anandrgitnirman/airdrop-services | 041118e986d595b2764a838af834bd08c283d374 | [
"MIT"
] | 8 | 2021-09-24T10:52:50.000Z | 2022-01-14T12:07:41.000Z | """AlterRewardsOnUserRewardTable
Revision ID: 2abbd40b9025
Revises: 1468fd5ca2be
Create Date: 2022-03-03 16:12:17.497790
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = '2abbd40b9025'
down_revision = '1468fd5ca2be'
branch_la... | 40.016393 | 103 | 0.656698 | 280 | 2,441 | 5.5 | 0.267857 | 0.036364 | 0.067532 | 0.114286 | 0.712987 | 0.712987 | 0.712987 | 0.712987 | 0.657143 | 0.614286 | 0 | 0.046684 | 0.227776 | 2,441 | 60 | 104 | 40.683333 | 0.770292 | 0.127407 | 0 | 0.744186 | 0 | 0 | 0.149068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.069767 | 0 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d456c526362b049e7a928cb4d6cb7a754d404f17 | 7,762 | py | Python | fondo_api/tests/test_mail_service.py | Fonmon/Fondo-API | 0c78eaab259df18219c01fceb67bd1b6ff8ec941 | [
"MIT"
] | null | null | null | fondo_api/tests/test_mail_service.py | Fonmon/Fondo-API | 0c78eaab259df18219c01fceb67bd1b6ff8ec941 | [
"MIT"
] | 48 | 2018-01-13T14:52:52.000Z | 2022-03-13T17:41:42.000Z | fondo_api/tests/test_mail_service.py | Fonmon/Fondo-API | 0c78eaab259df18219c01fceb67bd1b6ff8ec941 | [
"MIT"
] | null | null | null | from mock import patch, MagicMock
from django.test import TestCase
from fondo_api.services.mail import MailService
from fondo_api.enums import EmailTemplate
class MailServiceTest(TestCase):
@patch('boto3.client')
def test_send_mail_exception(self, mock):
SES = MagicMock()
SES.send_email.side_effect = Exc... | 40.217617 | 615 | 0.626643 | 964 | 7,762 | 4.908714 | 0.223029 | 0.013525 | 0.013736 | 0.031699 | 0.771344 | 0.771344 | 0.732037 | 0.712172 | 0.712172 | 0.712172 | 0 | 0.015504 | 0.235506 | 7,762 | 193 | 616 | 40.217617 | 0.781935 | 0 | 0 | 0.642458 | 0 | 0.027933 | 0.473142 | 0.03478 | 0 | 0 | 0 | 0 | 0.061453 | 1 | 0.03352 | false | 0 | 0.022346 | 0 | 0.061453 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
d474cf44990b6251033c27ae83486ea61a318bb5 | 200 | py | Python | combo/blm/__init__.py | yanpei18345156216/COMBO_Python3 | 666a116dfece71e6236291e89ea2ab4d6db0ead9 | [
"MIT"
] | 21 | 2019-07-04T17:30:27.000Z | 2022-03-26T14:27:32.000Z | combo/blm/__init__.py | yanpei18345156216/COMBO_Python3 | 666a116dfece71e6236291e89ea2ab4d6db0ead9 | [
"MIT"
] | 2 | 2020-03-01T01:42:25.000Z | 2020-03-01T02:59:37.000Z | combo/blm/__init__.py | yanpei18345156216/COMBO_Python3 | 666a116dfece71e6236291e89ea2ab4d6db0ead9 | [
"MIT"
] | 13 | 2019-08-07T14:08:04.000Z | 2022-03-16T00:51:58.000Z | from . import basis
from . import prior
from . import lik
from . import inf
from .core import model
from .predictor import predictor
__all__ = ["basis", "prior", "lik", "inf", "model", "predictor"]
| 20 | 64 | 0.7 | 27 | 200 | 5.037037 | 0.37037 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 200 | 9 | 65 | 22.222222 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.