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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
364b6cc7d99ce27f96771330179853de3c897972 | 28 | py | Python | python/python-office-coffee-algorithm/app/coffee_pot.py | DEV3L/archive | 652e37bf949cfcb2174b97ed5b7dbb6285a8dbe8 | [
"Beerware"
] | null | null | null | python/python-office-coffee-algorithm/app/coffee_pot.py | DEV3L/archive | 652e37bf949cfcb2174b97ed5b7dbb6285a8dbe8 | [
"Beerware"
] | null | null | null | python/python-office-coffee-algorithm/app/coffee_pot.py | DEV3L/archive | 652e37bf949cfcb2174b97ed5b7dbb6285a8dbe8 | [
"Beerware"
] | null | null | null | class CoffeePot():
pass
| 9.333333 | 18 | 0.642857 | 3 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.857143 | 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 |
3684aacfe0eb04d35043fdd7b02875fac72dfcee | 84 | py | Python | tests/file_fixtures/function_missing_args.py | typenil/typegripe | b773b7a67f682d92b477da20c057a4582118ca27 | [
"MIT"
] | 1 | 2020-06-29T02:59:34.000Z | 2020-06-29T02:59:34.000Z | tests/file_fixtures/function_missing_args.py | typenil/typegripe | b773b7a67f682d92b477da20c057a4582118ca27 | [
"MIT"
] | null | null | null | tests/file_fixtures/function_missing_args.py | typenil/typegripe | b773b7a67f682d92b477da20c057a4582118ca27 | [
"MIT"
] | null | null | null | def fully_typed_function(this, thing) -> float:
return len(this) / float(thing)
| 28 | 47 | 0.714286 | 12 | 84 | 4.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 2 | 48 | 42 | 0.816901 | 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 |
36ab4fb3cd692a055aebd54a897da127af0a433a | 155 | py | Python | sample_project/another_app/tasks/deep_down_tasks/one_dedicated_task.py | valyagolev/django-cloud-tasks | baacde0139ebe4cdc2e39dbe0963d8b7d5ca646a | [
"Apache-2.0"
] | 2 | 2021-06-15T13:26:04.000Z | 2022-01-27T15:46:07.000Z | sample_project/another_app/tasks/deep_down_tasks/one_dedicated_task.py | valyagolev/django-cloud-tasks | baacde0139ebe4cdc2e39dbe0963d8b7d5ca646a | [
"Apache-2.0"
] | 8 | 2021-01-11T01:10:43.000Z | 2022-02-23T22:29:39.000Z | sample_project/another_app/tasks/deep_down_tasks/one_dedicated_task.py | joaodaher/django-cloud-tasks | bc8ff94a281bda8b49ee73229d5ed5cacdd7a388 | [
"Apache-2.0"
] | 2 | 2021-01-05T14:38:14.000Z | 2021-06-16T23:50:32.000Z | from django_cloud_tasks.tasks import Task
class OneBigDedicatedTask(Task):
def run(self, name):
return f"Chuck Norris is better than {name}"
| 22.142857 | 52 | 0.729032 | 22 | 155 | 5.045455 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 155 | 6 | 53 | 25.833333 | 0.888 | 0 | 0 | 0 | 0 | 0 | 0.219355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
36b12473fe38ce965085f3531cd8111c6595df1b | 571 | py | Python | tornado-restful-api/api/core/base_handler.py | eclipsegst/tornado-rest-api | 52d946601b66f816cb5cf6648607edace61b542b | [
"MIT"
] | null | null | null | tornado-restful-api/api/core/base_handler.py | eclipsegst/tornado-rest-api | 52d946601b66f816cb5cf6648607edace61b542b | [
"MIT"
] | null | null | null | tornado-restful-api/api/core/base_handler.py | eclipsegst/tornado-rest-api | 52d946601b66f816cb5cf6648607edace61b542b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#--------------------------------------------------------------
# Tornado restful api
#
# Date: 2016-04-26
#
# Author: Zhaolong Zhong
#--------------------------------------------------------------
import tornado.web
class BaseHandler(tornado.web.RequestHandler):
def initialize(self):
... | 22.84 | 63 | 0.52014 | 56 | 571 | 5.214286 | 0.625 | 0.068493 | 0.09589 | 0.171233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016985 | 0.175131 | 571 | 25 | 64 | 22.84 | 0.602972 | 0.360771 | 0 | 0.166667 | 0 | 0 | 0.078212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.083333 | 0.083333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
36c3cba9cf0d7ee801e42cd0b3576d3af1e8ad0c | 106 | py | Python | relay/relay_output.py | ihrigb/stagebuzzer | dbce1c5fa59a6f22e74d84ccc96d4d1a28a5b680 | [
"Apache-2.0"
] | null | null | null | relay/relay_output.py | ihrigb/stagebuzzer | dbce1c5fa59a6f22e74d84ccc96d4d1a28a5b680 | [
"Apache-2.0"
] | null | null | null | relay/relay_output.py | ihrigb/stagebuzzer | dbce1c5fa59a6f22e74d84ccc96d4d1a28a5b680 | [
"Apache-2.0"
] | null | null | null | class RelayOutput:
def enable_relay(self, name: str):
pass
def reset(self):
pass
| 15.142857 | 38 | 0.584906 | 13 | 106 | 4.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330189 | 106 | 6 | 39 | 17.666667 | 0.859155 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
36db59b040c98d3fde0070df9a9df5219fb825f8 | 94 | py | Python | user/services/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | 1 | 2022-01-01T11:51:30.000Z | 2022-01-01T11:51:30.000Z | user/services/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | null | null | null | user/services/__init__.py | sharif-42/Style-Icon | 26cd93cdd991588ce41f0032b033551f9f1a1bce | [
"MIT"
] | null | null | null | from .user_service import UserService
from .user_login_log_service import UserLoginLogService
| 31.333333 | 55 | 0.893617 | 12 | 94 | 6.666667 | 0.666667 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 56 | 47 | 0.930233 | 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 |
7fcc7b39e2d5006551a661ebae6d71b752d8f39e | 94 | py | Python | services/postgres/room/rollback_migrations.py | buckmaxwell/jukebox | 3b04fd1e38e9d3f57d86cf6695bcc3d8e8126681 | [
"MIT"
] | 1 | 2020-08-11T16:19:49.000Z | 2020-08-11T16:19:49.000Z | services/postgres/room/rollback_migrations.py | buckmaxwell/jukebox | 3b04fd1e38e9d3f57d86cf6695bcc3d8e8126681 | [
"MIT"
] | 39 | 2020-05-06T05:27:19.000Z | 2022-02-27T08:35:36.000Z | services/postgres/room/rollback_migrations.py | buckmaxwell/jukebox | 3b04fd1e38e9d3f57d86cf6695bcc3d8e8126681 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from migrator import rollback_migrations
rollback_migrations("room")
| 15.666667 | 40 | 0.808511 | 12 | 94 | 6.166667 | 0.833333 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.095745 | 94 | 5 | 41 | 18.8 | 0.858824 | 0.223404 | 0 | 0 | 0 | 0 | 0.055556 | 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 |
7fe5930a67ea81cbfaced803e87bcc61846b21d3 | 126 | py | Python | ht/tip/admin.py | caoxuCarlos/htyw_ecust | 90277333510de14d936153fa2b164efbc5d068b8 | [
"MIT"
] | null | null | null | ht/tip/admin.py | caoxuCarlos/htyw_ecust | 90277333510de14d936153fa2b164efbc5d068b8 | [
"MIT"
] | null | null | null | ht/tip/admin.py | caoxuCarlos/htyw_ecust | 90277333510de14d936153fa2b164efbc5d068b8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Suggestion
# Register your models here.
admin.site.register(Suggestion) | 21 | 32 | 0.81746 | 17 | 126 | 6.058824 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 6 | 33 | 21 | 0.927928 | 0.206349 | 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 |
3d04c3d070c65cbfce9f2a399bc5e3b16da57445 | 78 | py | Python | test.py | romaindudek/PyTranslation-Pot-Po-Mo | d162d1825a81793d8ab2d48c3d92c6d376573842 | [
"MIT"
] | null | null | null | test.py | romaindudek/PyTranslation-Pot-Po-Mo | d162d1825a81793d8ab2d48c3d92c6d376573842 | [
"MIT"
] | null | null | null | test.py | romaindudek/PyTranslation-Pot-Po-Mo | d162d1825a81793d8ab2d48c3d92c6d376573842 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import locale
print(_("C'est un truc à traduire")) | 11.142857 | 36 | 0.602564 | 12 | 78 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.192308 | 78 | 7 | 36 | 11.142857 | 0.714286 | 0.269231 | 0 | 0 | 0 | 0 | 0.428571 | 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 |
3d2f290c1151e9fb7a95d53f79df6cd76d7bff30 | 208 | py | Python | daml_dit_ddit/subcommand_show.py | digital-asset/daml-dit-dd | 99ff5c3eb40c9369bb5d6137e51d4a9aada267a6 | [
"Apache-2.0"
] | null | null | null | daml_dit_ddit/subcommand_show.py | digital-asset/daml-dit-dd | 99ff5c3eb40c9369bb5d6137e51d4a9aada267a6 | [
"Apache-2.0"
] | null | null | null | daml_dit_ddit/subcommand_show.py | digital-asset/daml-dit-dd | 99ff5c3eb40c9369bb5d6137e51d4a9aada267a6 | [
"Apache-2.0"
] | null | null | null | from .common import \
load_dabl_meta, \
show_package_summary
def subcommand_main():
dabl_meta = load_dabl_meta()
show_package_summary(dabl_meta)
def setup(sp):
return subcommand_main
| 14.857143 | 35 | 0.725962 | 28 | 208 | 4.964286 | 0.535714 | 0.230216 | 0.172662 | 0.230216 | 0.431655 | 0.431655 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201923 | 208 | 13 | 36 | 16 | 0.837349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.5 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
3d5fa4f34b26eb5ff76e344c91ebfbaf1190b3eb | 3,412 | py | Python | dask/array/tests/test_linalg.py | gabrielelanaro/dask | b5827ec358adfe5ec5b72be732aecc10e4b08da6 | [
"BSD-3-Clause"
] | null | null | null | dask/array/tests/test_linalg.py | gabrielelanaro/dask | b5827ec358adfe5ec5b72be732aecc10e4b08da6 | [
"BSD-3-Clause"
] | null | null | null | dask/array/tests/test_linalg.py | gabrielelanaro/dask | b5827ec358adfe5ec5b72be732aecc10e4b08da6 | [
"BSD-3-Clause"
] | 1 | 2021-11-11T13:45:57.000Z | 2021-11-11T13:45:57.000Z | from __future__ import absolute_import
import pytest
pytest.importorskip('numpy')
import numpy as np
from dask.array import from_array
from dask.array.linalg import tsqr, svd_compressed
def test_tsqr_regular_blocks():
m, n = 20, 10
mat = np.random.rand(m, n)
data = from_array(mat, chunks=(10, n), name='... | 29.413793 | 79 | 0.589977 | 602 | 3,412 | 3.272425 | 0.141196 | 0.073096 | 0.129949 | 0.082234 | 0.754822 | 0.743655 | 0.743655 | 0.730964 | 0.730964 | 0.718274 | 0 | 0.022665 | 0.25 | 3,412 | 115 | 80 | 29.669565 | 0.747167 | 0.122216 | 0 | 0.556818 | 0 | 0 | 0.003024 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 1 | 0.056818 | false | 0 | 0.068182 | 0 | 0.125 | 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 |
e9f4fba85d50d668eb69d02a38e255bfdb1f2321 | 117 | py | Python | {{cookiecutter.repo_name}}/test/__init__.py | pattertj/python-best-practices-cookiecutter | 007db3ee4f5ae174f1a0fb0eb1f3995a50ceebf9 | [
"MIT"
] | 2 | 2021-05-16T13:54:27.000Z | 2021-11-16T01:54:08.000Z | {{cookiecutter.repo_name}}/test/__init__.py | pattertj/python-best-practices-cookiecutter | 007db3ee4f5ae174f1a0fb0eb1f3995a50ceebf9 | [
"MIT"
] | null | null | null | {{cookiecutter.repo_name}}/test/__init__.py | pattertj/python-best-practices-cookiecutter | 007db3ee4f5ae174f1a0fb0eb1f3995a50ceebf9 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".", "{{cookiecutter.repo_name}}"))
| 23.4 | 94 | 0.709402 | 18 | 117 | 4.333333 | 0.666667 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.076923 | 117 | 4 | 95 | 29.25 | 0.712963 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.222222 | 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 |
180be5c758686d30b63e0ff35f7bbc9f7916b146 | 145 | py | Python | Dataset/Leetcode/train/78/43.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/78/43.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/78/43.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, nums: List[int]) -> List[List[int]]:
return reduce(lambda x, y: x + [i + [y] for i in x], nums, [[]])
| 29 | 72 | 0.544828 | 24 | 145 | 3.291667 | 0.666667 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248276 | 145 | 4 | 73 | 36.25 | 0.724771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 |
18128de1ce2323f913be84b18a4a3f1b61100b8a | 74,618 | py | Python | dev/IncompressibleLiquids/data_incompressible.py | perrante/coolprop | c67ecc570e545d624c18feaf2a01e48b63ae1501 | [
"MIT"
] | 12 | 2015-04-21T07:43:09.000Z | 2021-11-09T08:35:58.000Z | dev/IncompressibleLiquids/data_incompressible.py | perrante/coolprop | c67ecc570e545d624c18feaf2a01e48b63ae1501 | [
"MIT"
] | 32 | 2015-01-04T05:05:05.000Z | 2017-12-13T18:03:29.000Z | dev/IncompressibleLiquids/data_incompressible.py | perrante/coolprop | c67ecc570e545d624c18feaf2a01e48b63ae1501 | [
"MIT"
] | 8 | 2015-01-01T21:15:37.000Z | 2020-08-05T13:31:50.000Z | import numpy
class LiquidData(object):
"""
A base class that defines all the variables needed
in order to make a proper fit. You can copy this code
put in your data and some documentation for where the
information came from.
"""
Name = None # Name of the current fluid
Desc =... | 133.008913 | 1,071 | 0.612868 | 15,812 | 74,618 | 2.885656 | 0.097774 | 0.015955 | 0.037345 | 0.039055 | 0.561979 | 0.468616 | 0.448299 | 0.444245 | 0.406417 | 0.394538 | 0 | 0.510415 | 0.128186 | 74,618 | 560 | 1,072 | 133.246429 | 0.190983 | 0.1518 | 0 | 0.345714 | 0 | 0 | 0.006094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025714 | false | 0 | 0.002857 | 0.025714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
18337bd2ec8d9af71743d0aaee8d700175777dcf | 183 | py | Python | systeminfo/main.py | Slaporter/comp30670-assignment2 | 9688bc0c84b3e97ba56623ba6961a0f27b6a75a9 | [
"BSD-3-Clause"
] | null | null | null | systeminfo/main.py | Slaporter/comp30670-assignment2 | 9688bc0c84b3e97ba56623ba6961a0f27b6a75a9 | [
"BSD-3-Clause"
] | null | null | null | systeminfo/main.py | Slaporter/comp30670-assignment2 | 9688bc0c84b3e97ba56623ba6961a0f27b6a75a9 | [
"BSD-3-Clause"
] | null | null | null | '''
Created on 25 Jan 2018
@author: Slaporter
'''
import platform
def get_platform_info():
return (platform.platform())
if __name__ == '__main__':
get_platform_info() | 14.076923 | 32 | 0.677596 | 22 | 183 | 5.090909 | 0.727273 | 0.196429 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.196721 | 183 | 13 | 33 | 14.076923 | 0.721088 | 0.229508 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1862bbcb7fca803bcf122777aeefae54fb15d546 | 152 | py | Python | main.py | AshishKapoor/learning-fastapi | 303268b85d4825b4b93f07d098a74d39f57192cb | [
"MIT"
] | null | null | null | main.py | AshishKapoor/learning-fastapi | 303268b85d4825b4b93f07d098a74d39f57192cb | [
"MIT"
] | null | null | null | main.py | AshishKapoor/learning-fastapi | 303268b85d4825b4b93f07d098a74d39f57192cb | [
"MIT"
] | null | null | null | from imp import reload
from operator import truediv
import uvicorn
if __name__ == "__main__":
uvicorn.run("app.api:app", port="8000", reload=True)
| 21.714286 | 56 | 0.736842 | 22 | 152 | 4.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.144737 | 152 | 6 | 57 | 25.333333 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.151316 | 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 |
187a101d0172d6ce6bea730b1f1f0d870935e907 | 481 | py | Python | tests/test_inverse.py | d21d3q/thermalprinter | a502fe8a7b7ab5a0773e92a37e6539f73b34b950 | [
"MIT"
] | 28 | 2016-08-31T15:50:38.000Z | 2022-03-24T15:19:17.000Z | tests/test_inverse.py | d21d3q/thermalprinter | a502fe8a7b7ab5a0773e92a37e6539f73b34b950 | [
"MIT"
] | 11 | 2016-09-28T15:46:46.000Z | 2021-03-09T16:37:13.000Z | tests/test_inverse.py | d21d3q/thermalprinter | a502fe8a7b7ab5a0773e92a37e6539f73b34b950 | [
"MIT"
] | 10 | 2017-03-02T19:08:15.000Z | 2021-02-19T16:11:06.000Z | # coding: utf-8
def test_default_value(printer):
assert printer._inverse is False
def test_changing_no_value(printer):
printer.inverse()
assert printer._inverse is False
def test_changing_state_on(printer):
printer.inverse(True)
assert printer._inverse is True
def test_changing_state_off(pri... | 18.5 | 37 | 0.754678 | 66 | 481 | 5.227273 | 0.287879 | 0.324638 | 0.289855 | 0.318841 | 0.42029 | 0.342029 | 0.342029 | 0.243478 | 0 | 0 | 0 | 0.002513 | 0.172557 | 481 | 25 | 38 | 19.24 | 0.864322 | 0.027027 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0.357143 | false | 0 | 0 | 0 | 0.357143 | 1 | 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 |
187a6f0611f614062b3b6e7a9bdfcf1ce307cf0b | 332 | py | Python | app/main/errors.py | kennjr/Pitch | 6f431f73ed9e90999ff9bd546ee0490d1943fc74 | [
"MIT"
] | null | null | null | app/main/errors.py | kennjr/Pitch | 6f431f73ed9e90999ff9bd546ee0490d1943fc74 | [
"MIT"
] | null | null | null | app/main/errors.py | kennjr/Pitch | 6f431f73ed9e90999ff9bd546ee0490d1943fc74 | [
"MIT"
] | null | null | null | from flask import render_template
from urllib import error
# @app.errorhandler(404)
from app.main import main
@main.app_errorhandler(404)
def page_not_found(error):
return render_template('404_page.html'), 404
@main.app_errorhandler(error.HTTPError)
def http_error(error):
return render_template('404_page.... | 19.529412 | 48 | 0.78012 | 49 | 332 | 5.081633 | 0.387755 | 0.168675 | 0.144578 | 0.200803 | 0.313253 | 0.313253 | 0.313253 | 0.313253 | 0 | 0 | 0 | 0.061644 | 0.120482 | 332 | 16 | 49 | 20.75 | 0.791096 | 0.066265 | 0 | 0.222222 | 0 | 0 | 0.084416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
a10fa0da552167ce71ece704eb015ed28f0a164b | 1,693 | py | Python | haziris/examples/google_timeline_grouping.py | haziris/haziris-python | c078b6bc73187ba1cfa24b3dbcf7979a6d17e9c2 | [
"BSD-3-Clause"
] | 1 | 2020-08-27T06:25:58.000Z | 2020-08-27T06:25:58.000Z | haziris/examples/google_timeline_grouping.py | haziris/haziris-python | c078b6bc73187ba1cfa24b3dbcf7979a6d17e9c2 | [
"BSD-3-Clause"
] | null | null | null | haziris/examples/google_timeline_grouping.py | haziris/haziris-python | c078b6bc73187ba1cfa24b3dbcf7979a6d17e9c2 | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
import haziris as hz
df = pd.DataFrame([
['President' , 'George Washington', '1789-04-30 00:00:00', '1797-03-04 00:00:00' ],
['President' , 'John Adams' , '1797-03-04 00:00:00', '1801-03-04 00:00:00' ],
['President' , 'Thomas Jefferson' , '1801-03-04 00:00:... | 54.612903 | 95 | 0.576491 | 275 | 1,693 | 3.534545 | 0.272727 | 0.246914 | 0.185185 | 0.098765 | 0.506173 | 0.489712 | 0.273663 | 0.119342 | 0.119342 | 0.057613 | 0 | 0.312268 | 0.205552 | 1,693 | 30 | 96 | 56.433333 | 0.410409 | 0 | 0 | 0 | 0 | 0 | 0.629061 | 0.017129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 |
a132837bca49c2f935b365e9f1057ac4607c0c1f | 6,148 | py | Python | im/ib/ib_sql_writer_backend.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | im/ib/ib_sql_writer_backend.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | im/ib/ib_sql_writer_backend.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
import psycopg2.extras as pextra
import im.common.data.types as icdtyp
import im.common.sql_writer_backend as icsqlw
class IbSqlWriterBackend(icsqlw.AbstractSqlWriterBackend):
"""
Manager of CRUD operations on a database defined in db.sql.
"""
FREQ_ATTR_MAPPING = {
icdtyp... | 32.702128 | 97 | 0.479506 | 628 | 6,148 | 4.501592 | 0.154459 | 0.013442 | 0.073576 | 0.018394 | 0.775734 | 0.773612 | 0.773612 | 0.74885 | 0.74885 | 0.710294 | 0 | 0.000857 | 0.430709 | 6,148 | 187 | 98 | 32.877005 | 0.806857 | 0.182498 | 0 | 0.687023 | 0 | 0.030534 | 0.231767 | 0.00893 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038168 | false | 0 | 0.030534 | 0 | 0.083969 | 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 |
a18842cf6aace755bde8ae3b061708b05c03405e | 256 | py | Python | server/data_fixer.py | Peace-Data/Peace-Data | 758a09ba386cdb25bf4e6532534cf8e332366133 | [
"MIT"
] | null | null | null | server/data_fixer.py | Peace-Data/Peace-Data | 758a09ba386cdb25bf4e6532534cf8e332366133 | [
"MIT"
] | null | null | null | server/data_fixer.py | Peace-Data/Peace-Data | 758a09ba386cdb25bf4e6532534cf8e332366133 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
class DataFixer:
def __init__(self):
pass
def get_fix(self, data):
self.data = data
self.data = pd.get_dummies(self.data)
return self.data
| 12.8 | 45 | 0.535156 | 32 | 256 | 4.09375 | 0.53125 | 0.305344 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.398438 | 256 | 19 | 46 | 13.473684 | 0.850649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a1e5970f32798ddbe4170795df50442dcbcdba33 | 219 | py | Python | filter_plugins/collections.py | GParedesDevo/ansible-redis | e3d80ea8f094d2833cf8a31d3ab2b86c0c375350 | [
"MIT"
] | 3 | 2019-12-27T03:35:54.000Z | 2021-06-20T14:08:44.000Z | filter_plugins/collections.py | GParedesDevo/ansible-redis | e3d80ea8f094d2833cf8a31d3ab2b86c0c375350 | [
"MIT"
] | 2 | 2021-06-21T13:13:31.000Z | 2021-07-02T07:51:28.000Z | filter_plugins/collections.py | GParedesDevo/ansible-redis | e3d80ea8f094d2833cf8a31d3ab2b86c0c375350 | [
"MIT"
] | 3 | 2020-02-26T18:45:19.000Z | 2021-06-20T14:08:46.000Z | def arraypermute(collection, key):
return [ str(i) + str(j) for i in collection for j in key ]
class FilterModule(object):
def filters(self):
return {
'arraypermute': arraypermute
} | 24.333333 | 63 | 0.611872 | 26 | 219 | 5.153846 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287671 | 219 | 9 | 64 | 24.333333 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 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 |
62959df03ae5d00e6559ee16679e1e160d2e8cbc | 781 | py | Python | ohmystars/tests.py | wolfg1969/oh-my-stars | dbf51044a4dd5964ac4534b161624d0e3284afe3 | [
"MIT"
] | 76 | 2015-08-04T09:47:18.000Z | 2022-03-08T01:40:32.000Z | ohmystars/tests.py | wolfg1969/oh-my-stars | dbf51044a4dd5964ac4534b161624d0e3284afe3 | [
"MIT"
] | 9 | 2018-01-17T00:56:55.000Z | 2021-06-01T21:59:32.000Z | ohmystars/tests.py | seanbreckenridge/oh-my-stars | f4fce9757905839b3a86caf9b5d45b3b544d65a4 | [
"MIT"
] | 7 | 2016-08-18T05:26:17.000Z | 2020-09-23T04:55:35.000Z | import unittest
from index import update_inverted_index
__author__ = 'guoyong'
class IndexTest(unittest.TestCase):
def setUp(self):
self.index = {
'python': []
}
def test_update_inverted_index_empty(self):
update_inverted_index(self.index, 'python', 1, 2, 3)
sel... | 27.892857 | 61 | 0.65685 | 103 | 781 | 4.718447 | 0.242718 | 0.230453 | 0.312757 | 0.1893 | 0.716049 | 0.716049 | 0.650206 | 0.5 | 0.5 | 0.425926 | 0 | 0.030794 | 0.209987 | 781 | 27 | 62 | 28.925926 | 0.756888 | 0 | 0 | 0.277778 | 0 | 0 | 0.070513 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.388889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
62bacac50076f8d20933041b257e6eecd0be0253 | 129 | py | Python | problems/permutations/solution-1.py | MleMoe/LeetCode-1 | 14f275ba3c8079b820808da17c4952fcf9c8253c | [
"MIT"
] | 2 | 2021-03-25T01:58:55.000Z | 2021-08-06T12:47:13.000Z | problems/permutations/solution-1.py | MleMoe/LeetCode-1 | 14f275ba3c8079b820808da17c4952fcf9c8253c | [
"MIT"
] | 3 | 2019-08-27T13:25:42.000Z | 2021-08-28T17:49:34.000Z | problems/permutations/solution-1.py | MleMoe/LeetCode-1 | 14f275ba3c8079b820808da17c4952fcf9c8253c | [
"MIT"
] | 1 | 2021-08-14T08:49:39.000Z | 2021-08-14T08:49:39.000Z | import itertools
class Solution:
def permute(self, nums: [int]) -> [[int]]:
return list(itertools.permutations(nums)) | 32.25 | 49 | 0.674419 | 15 | 129 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178295 | 129 | 4 | 49 | 32.25 | 0.820755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
62dcfa49ce53e9bfedc5780c8391a0c929e58a1b | 353 | py | Python | app/models/__init__.py | abhisuri97/mhealth | 2d74c9c8298d097f86090e3365652d858c682ffa | [
"MIT"
] | null | null | null | app/models/__init__.py | abhisuri97/mhealth | 2d74c9c8298d097f86090e3365652d858c682ffa | [
"MIT"
] | null | null | null | app/models/__init__.py | abhisuri97/mhealth | 2d74c9c8298d097f86090e3365652d858c682ffa | [
"MIT"
] | null | null | null | """
These imports enable us to make all defined models members of the models
module (as opposed to just their python files)
"""
from .user import * # noqa
from .miscellaneous import * # noqa
from .exercise import * # noqa
from .resource import * # noqa
from .medication import * # noqa
from .nutrition import * # ... | 27.153846 | 72 | 0.711048 | 49 | 353 | 5.122449 | 0.591837 | 0.278884 | 0.334661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206799 | 353 | 12 | 73 | 29.416667 | 0.896429 | 0.439093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a16364f62a9ae3732679356bc352cebdb61a0f9 | 99 | py | Python | app/admin/__init__.py | lp1225/-001 | 0aad3f7bc2112fd90629a2759ab8651a3c467546 | [
"MIT"
] | 1 | 2018-12-13T14:42:36.000Z | 2018-12-13T14:42:36.000Z | app/admin/__init__.py | lp1225/-001 | 0aad3f7bc2112fd90629a2759ab8651a3c467546 | [
"MIT"
] | null | null | null | app/admin/__init__.py | lp1225/-001 | 0aad3f7bc2112fd90629a2759ab8651a3c467546 | [
"MIT"
] | null | null | null | #encoding: utf-8
from flask import Blueprint
admin = Blueprint('admin', '__name__')
# import views | 19.8 | 38 | 0.747475 | 13 | 99 | 5.384615 | 0.769231 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.131313 | 99 | 5 | 39 | 19.8 | 0.802326 | 0.282828 | 0 | 0 | 0 | 0 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
1a217432bd644fe4d02d96a2c822e4f530023553 | 366 | py | Python | aes_cipher/__init__.py | ebellocchia/aes_cipher | aac378f4073b85b9439bf5db080cfe070e9b393e | [
"MIT"
] | 1 | 2021-09-15T02:45:45.000Z | 2021-09-15T02:45:45.000Z | aes_cipher/__init__.py | ebellocchia/aes_cipher | aac378f4073b85b9439bf5db080cfe070e9b393e | [
"MIT"
] | null | null | null | aes_cipher/__init__.py | ebellocchia/aes_cipher | aac378f4073b85b9439bf5db080cfe070e9b393e | [
"MIT"
] | null | null | null | #
# Imports
#
from aes_cipher._version import __version__
from aes_cipher.data_ex import DataDecryptError, DataHmacError
from aes_cipher.data_decrypter import DataDecrypter
from aes_cipher.data_encrypter import DataEncrypter
from aes_cipher.file_decrypter import FileDecrypter
from aes_cipher.file_encrypter import FileE... | 33.272727 | 62 | 0.879781 | 49 | 366 | 6.22449 | 0.367347 | 0.160656 | 0.298361 | 0.167213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 366 | 10 | 63 | 36.6 | 0.915916 | 0.019126 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a25e1d7b6445d5f8cc24d0801ec18c1655d4b96 | 60 | py | Python | petstagram/core/clean_up.py | ZhivkoZhelyazkov/Petstagram | 0e7ade5175f517f8935d4be0cb8f71cd31a06cf9 | [
"MIT"
] | null | null | null | petstagram/core/clean_up.py | ZhivkoZhelyazkov/Petstagram | 0e7ade5175f517f8935d4be0cb8f71cd31a06cf9 | [
"MIT"
] | null | null | null | petstagram/core/clean_up.py | ZhivkoZhelyazkov/Petstagram | 0e7ade5175f517f8935d4be0cb8f71cd31a06cf9 | [
"MIT"
] | null | null | null | import os
def clean_up_files(path):
os.remove(path)
| 7.5 | 25 | 0.683333 | 10 | 60 | 3.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 7 | 26 | 8.571429 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1a29b6c04b1d8c7894db10e5d1db43e7ca848746 | 119 | py | Python | snaps/admin.py | rosekairu/SnapGram | 06581f90de573b0f89277424964a9e48226a5173 | [
"MIT"
] | null | null | null | snaps/admin.py | rosekairu/SnapGram | 06581f90de573b0f89277424964a9e48226a5173 | [
"MIT"
] | 6 | 2021-03-30T13:54:19.000Z | 2021-09-22T19:22:59.000Z | snaps/admin.py | rosekairu/SnapGram | 06581f90de573b0f89277424964a9e48226a5173 | [
"MIT"
] | null | null | null | from django.contrib import admin
from.models import Profile
# Register your models here.
admin.site.register(Profile) | 19.833333 | 32 | 0.815126 | 17 | 119 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 6 | 33 | 19.833333 | 0.92381 | 0.218487 | 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 |
a7e1d4934bcadb4b86348347f7c17a057c479702 | 1,489 | py | Python | 14/main.py | effie-0/Advent-of-Code-2018 | 3b9c6421a1ec8ee487dd0f5f0f202f95f1bd1a69 | [
"MIT"
] | null | null | null | 14/main.py | effie-0/Advent-of-Code-2018 | 3b9c6421a1ec8ee487dd0f5f0f202f95f1bd1a69 | [
"MIT"
] | null | null | null | 14/main.py | effie-0/Advent-of-Code-2018 | 3b9c6421a1ec8ee487dd0f5f0f202f95f1bd1a69 | [
"MIT"
] | null | null | null | # 12.14
import re
if __name__ == '__main__':
input_num = 990941
recipe_list = [3, 7]
recipe_str = "37"
worker1 = 0
worker2 = 1
while len(recipe_list) < (input_num + 10):
_sum = recipe_list[worker1] + recipe_list[worker2]
new_r1 = int(_sum / 10)
new_r2 = int(_sum % 10)
... | 32.369565 | 62 | 0.566823 | 195 | 1,489 | 3.994872 | 0.189744 | 0.243902 | 0.130937 | 0.097561 | 0.726573 | 0.726573 | 0.726573 | 0.726573 | 0.644416 | 0.644416 | 0 | 0.086481 | 0.324379 | 1,489 | 45 | 63 | 33.088889 | 0.687873 | 0.003358 | 0 | 0.6 | 0 | 0 | 0.014855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 0.075 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a7f6a9b3f613d268ca44959aa3cfb370a3ec72f3 | 22 | py | Python | src/django-nonrel/django/forms/extras/__init__.py | adamjmcgrath/glancydesign | 826ede7c639879d5b79ee730eb5e91422768cb02 | [
"BSD-3-Clause"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | django/forms/extras/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | django/forms/extras/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | from widgets import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 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 |
c5060830e2c5deb6dbc6c0671c91d4f28fe44457 | 49,029 | py | Python | methcomp/glucose.py | wptmdoorn/methcomp | 6d024d873dc816a8835b21ec0375e0554dc86194 | [
"MIT"
] | 3 | 2020-09-26T23:45:43.000Z | 2021-04-29T09:20:31.000Z | methcomp/glucose.py | wptmdoorn/methcomp | 6d024d873dc816a8835b21ec0375e0554dc86194 | [
"MIT"
] | 23 | 2020-10-19T11:08:21.000Z | 2021-06-29T19:21:02.000Z | methcomp/glucose.py | wptmdoorn/methcomp | 6d024d873dc816a8835b21ec0375e0554dc86194 | [
"MIT"
] | 6 | 2019-12-10T09:01:27.000Z | 2021-05-05T11:30:09.000Z | # -*- coding: utf-8 -*-
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
from shapely.geometry import Point, Polygon
try:
import importlib.resources as pkg_resources
from importlib.resources import path
def path_func(pkg, file):
with path(pkg, file) as p:
return p
... | 31.816353 | 88 | 0.435824 | 5,598 | 49,029 | 3.737049 | 0.088424 | 0.009751 | 0.003824 | 0.008031 | 0.798327 | 0.764245 | 0.745363 | 0.736185 | 0.722562 | 0.719073 | 0 | 0.074261 | 0.453711 | 49,029 | 1,540 | 89 | 31.837013 | 0.706765 | 0.227151 | 0 | 0.602955 | 0 | 0 | 0.039132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024007 | false | 0 | 0.009234 | 0.00277 | 0.051708 | 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 |
c510ca6258cb286ace269aa178de380bd82b0c0f | 87 | py | Python | dyno/debug/__init__.py | mequanta/z-dyno | 4ea296b710fcb1a87918644b8d8303e740490714 | [
"MIT"
] | null | null | null | dyno/debug/__init__.py | mequanta/z-dyno | 4ea296b710fcb1a87918644b8d8303e740490714 | [
"MIT"
] | null | null | null | dyno/debug/__init__.py | mequanta/z-dyno | 4ea296b710fcb1a87918644b8d8303e740490714 | [
"MIT"
] | null | null | null | #from . handlers import DebugHandler
from .qdbclientserver import DynoQdbClientServer
| 21.75 | 48 | 0.850575 | 8 | 87 | 9.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 3 | 49 | 29 | 0.961039 | 0.402299 | 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 |
c52b8d9492fbb8787f001b52ab150ed32d5cac19 | 35 | py | Python | labs/hello_world.py | MHSRoboticsCode/2015 | 410f427439d1641146329bfdd74667054a21a658 | [
"MIT"
] | null | null | null | labs/hello_world.py | MHSRoboticsCode/2015 | 410f427439d1641146329bfdd74667054a21a658 | [
"MIT"
] | null | null | null | labs/hello_world.py | MHSRoboticsCode/2015 | 410f427439d1641146329bfdd74667054a21a658 | [
"MIT"
] | null | null | null | # 2015 lab 1
print('Hello World')
| 8.75 | 20 | 0.657143 | 6 | 35 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0.2 | 35 | 3 | 21 | 11.666667 | 0.642857 | 0.285714 | 0 | 0 | 0 | 0 | 0.478261 | 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 |
c5506b8cb8987c67ff74a2750c6086bf36fa620f | 23 | py | Python | 10_python_qa_pageobject-master/page_objects/common/Footer.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | 1 | 2019-09-18T11:39:07.000Z | 2019-09-18T11:39:07.000Z | 10_python_qa_pageobject-master/page_objects/common/Footer.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | 10_python_qa_pageobject-master/page_objects/common/Footer.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | class Footer:
pass
| 7.666667 | 13 | 0.652174 | 3 | 23 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 23 | 2 | 14 | 11.5 | 0.9375 | 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 |
c559d4de79723f982f2482edb5011bbb83a21f40 | 148 | py | Python | deepblocks/optim/__init__.py | blurry-mood/Deep-Learning-Blocks | e81cf9270c21189a90799671d9446af449e826be | [
"MIT"
] | 3 | 2021-09-22T14:27:33.000Z | 2021-12-22T09:47:17.000Z | deepblocks/optim/__init__.py | blurry-mood/Deep-Learning-Blocks | e81cf9270c21189a90799671d9446af449e826be | [
"MIT"
] | null | null | null | deepblocks/optim/__init__.py | blurry-mood/Deep-Learning-Blocks | e81cf9270c21189a90799671d9446af449e826be | [
"MIT"
] | null | null | null | """ **Optim** implements weight optimization algorithms.
It contains:
- SAM algorithm (Sharpness-Aware Minimization).
"""
from .SAM import SAM | 21.142857 | 56 | 0.722973 | 16 | 148 | 6.6875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 148 | 7 | 57 | 21.142857 | 0.856 | 0.797297 | 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 |
3d6a23a0b656dc9d6a6e935cbda869b644f2afea | 155 | py | Python | imageprovider/abstractimageprovider.py | freekode/wow-bot-cv | 1c3bc408cca39fae16962bc138ac3b626db03e38 | [
"MIT"
] | 1 | 2021-09-20T05:03:25.000Z | 2021-09-20T05:03:25.000Z | imageprovider/abstractimageprovider.py | freekode/wow-bot-opencv | 1c3bc408cca39fae16962bc138ac3b626db03e38 | [
"MIT"
] | null | null | null | imageprovider/abstractimageprovider.py | freekode/wow-bot-opencv | 1c3bc408cca39fae16962bc138ac3b626db03e38 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class AbstractImageProvider(ABC):
@abstractmethod
def get_image_numpy_array(self, coordinates):
pass
| 19.375 | 49 | 0.748387 | 17 | 155 | 6.647059 | 0.823529 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 155 | 7 | 50 | 22.142857 | 0.904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3d89247fd32c1c9be7841752f6345ca208ffe2fe | 170 | py | Python | templates/dynamic_import.py | nexssp/language_python | f4cc09752e56a6f53f5854c78a0de30038cc8c58 | [
"MIT"
] | 2 | 2019-12-19T10:35:58.000Z | 2020-01-15T19:52:32.000Z | templates/dynamic_import.py | nexssp/language_python | f4cc09752e56a6f53f5854c78a0de30038cc8c58 | [
"MIT"
] | null | null | null | templates/dynamic_import.py | nexssp/language_python | f4cc09752e56a6f53f5854c78a0de30038cc8c58 | [
"MIT"
] | null | null | null | import importlib
name = 'test_module'
# method 1
module = importlib.import_module('test_module')
# method 2
module = __import__(name, fromlist=[''])
module.some_func()
| 17 | 47 | 0.741176 | 22 | 170 | 5.363636 | 0.5 | 0.169492 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.123529 | 170 | 9 | 48 | 18.888889 | 0.778523 | 0.1 | 0 | 0 | 0 | 0 | 0.146667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3dae0f7ca44913a8988167c7f49a91666bb48b27 | 188 | py | Python | docker/test/integration/minifi/validators/SegfaultValidator.py | dtrodrigues/nifi-minifi-cpp | 87147e2dffcda6cc6e4e0510a57cc88011fda37f | [
"Apache-2.0",
"OpenSSL"
] | 113 | 2016-04-30T15:00:13.000Z | 2022-03-26T20:42:58.000Z | docker/test/integration/minifi/validators/SegfaultValidator.py | dtrodrigues/nifi-minifi-cpp | 87147e2dffcda6cc6e4e0510a57cc88011fda37f | [
"Apache-2.0",
"OpenSSL"
] | 688 | 2016-04-28T17:52:38.000Z | 2022-03-29T07:58:05.000Z | docker/test/integration/minifi/validators/SegfaultValidator.py | dtrodrigues/nifi-minifi-cpp | 87147e2dffcda6cc6e4e0510a57cc88011fda37f | [
"Apache-2.0",
"OpenSSL"
] | 104 | 2016-04-28T15:20:51.000Z | 2022-03-01T13:39:20.000Z | from .OutputValidator import OutputValidator
class SegfaultValidator(OutputValidator):
"""
Validate that a file was received.
"""
def validate(self):
return True
| 18.8 | 44 | 0.691489 | 18 | 188 | 7.222222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 188 | 9 | 45 | 20.888889 | 0.902778 | 0.180851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 |
3db5fa2cbe6449696d6758d1c09bd1497ff3d0df | 36 | py | Python | microservices/auth/run.py | boggda/test_forum | a0331cf5ff28b3a2a3d8e4c06facf496b9ea66a8 | [
"MIT"
] | null | null | null | microservices/auth/run.py | boggda/test_forum | a0331cf5ff28b3a2a3d8e4c06facf496b9ea66a8 | [
"MIT"
] | null | null | null | microservices/auth/run.py | boggda/test_forum | a0331cf5ff28b3a2a3d8e4c06facf496b9ea66a8 | [
"MIT"
] | null | null | null | from src import auth
auth.run()
| 9 | 21 | 0.666667 | 6 | 36 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 36 | 3 | 22 | 12 | 0.888889 | 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 |
3dbfd87f534174b07122e0050f270722f14b56bd | 216 | py | Python | Syntages/Scripts/test_api.py | iliya-dehsarvi/Syntages | 9a1be978b7dfdbc76d55ad500892184cfa03dd15 | [
"MIT"
] | 1 | 2021-08-22T04:58:58.000Z | 2021-08-22T04:58:58.000Z | Syntages/Scripts/test_api.py | iliya-dehsarvi/Syntages | 9a1be978b7dfdbc76d55ad500892184cfa03dd15 | [
"MIT"
] | null | null | null | Syntages/Scripts/test_api.py | iliya-dehsarvi/Syntages | 9a1be978b7dfdbc76d55ad500892184cfa03dd15 | [
"MIT"
] | null | null | null | import requests, json
response = requests.get('https://www.thecocktaildb.com/api/json/v1/1/filter.php?i=Gin')
#print(len(json.loads(response.text)['drinks']))
print(json.dumps(json.loads(response.text), indent=3))
| 30.857143 | 87 | 0.74537 | 34 | 216 | 4.735294 | 0.705882 | 0.111801 | 0.21118 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014634 | 0.050926 | 216 | 6 | 88 | 36 | 0.770732 | 0.217593 | 0 | 0 | 0 | 0.333333 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9a795f250eead14c5b408f59114c5296e9f6ce71 | 186 | py | Python | PyDarkLogic/MainDarkLogic/action.py | BlackWalker01/BlackLogic | 5f49956a0d4ee7a10c35e006d340ba58ca692078 | [
"MIT"
] | 6 | 2020-04-21T22:25:02.000Z | 2021-03-05T17:44:24.000Z | PyDarkLogic/MainDarkLogic/action.py | BlackWalker01/BlackLogic | 5f49956a0d4ee7a10c35e006d340ba58ca692078 | [
"MIT"
] | 1 | 2020-08-04T22:35:39.000Z | 2020-08-09T12:40:46.000Z | PyDarkLogic/MainDarkLogic/action.py | BlackWalker01/BlackLogic | 5f49956a0d4ee7a10c35e006d340ba58ca692078 | [
"MIT"
] | null | null | null | class Action:
def __init__(self, fun, id=None):
self._fun = fun
self._id = id
def fun(self):
return self._fun
def id(self):
return self._id
| 16.909091 | 37 | 0.543011 | 26 | 186 | 3.576923 | 0.346154 | 0.225806 | 0.301075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354839 | 186 | 10 | 38 | 18.6 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
9aa767cd35d485c2409ced5f4c8702527f87f49f | 265 | py | Python | core/models/__init__.py | samlowe106/Saved-Sorter-For-Reddit | 470f3621ae8c4ece7d6eda9de5f1270be6b2e848 | [
"MIT"
] | 1 | 2019-08-01T07:29:37.000Z | 2019-08-01T07:29:37.000Z | core/models/__init__.py | samlowe106/saved-sorter-for-reddit | 470f3621ae8c4ece7d6eda9de5f1270be6b2e848 | [
"MIT"
] | 2 | 2019-08-08T22:08:12.000Z | 2019-09-15T05:49:35.000Z | core/models/__init__.py | samlowe106/saved-sorter-for-reddit | 470f3621ae8c4ece7d6eda9de5f1270be6b2e848 | [
"MIT"
] | null | null | null | from .parsers import IParser, ImgurParser, SingleImageParser, FlickrParser, GfycatParser, PARSERS
from ..utils.strings import *
from .submission_wrapper import SubmissionWrapper
from ..utils.urls import *
from .submission_source import SubmissionSource, SortOption
| 44.166667 | 97 | 0.837736 | 28 | 265 | 7.857143 | 0.607143 | 0.081818 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098113 | 265 | 5 | 98 | 53 | 0.920502 | 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 | 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 |
9aafde42512d57976f472fe8b49ad1143001dc34 | 1,515 | py | Python | google-logo.py | RaviTeja-12/redesigned-chainsaw | b523f2f3d7a186b7cdc23b0163d1aa6cf6e43152 | [
"MIT"
] | null | null | null | google-logo.py | RaviTeja-12/redesigned-chainsaw | b523f2f3d7a186b7cdc23b0163d1aa6cf6e43152 | [
"MIT"
] | null | null | null | google-logo.py | RaviTeja-12/redesigned-chainsaw | b523f2f3d7a186b7cdc23b0163d1aa6cf6e43152 | [
"MIT"
] | null | null | null | import turtle
turtle.speed(100)
turtle.bgcolor('black')
turtle.width(3)
turtle.color('#4285F4', '#4285F4')
turtle.forward(120)
turtle.right(90)
turtle.circle(-150, 50)
turtle.color('#39A853')
turtle.circle(-150, 100)
turtle.color('#FBBC05')
turtle.circle(-150, 60)
turtle.color('#EA4335', '#EA4335')
turtle.begin_fill()
... | 18.9375 | 34 | 0.744554 | 248 | 1,515 | 4.516129 | 0.169355 | 0.225893 | 0.232143 | 0.339286 | 0.735714 | 0.601786 | 0.549107 | 0.549107 | 0.540179 | 0.540179 | 0 | 0.142354 | 0.063366 | 1,515 | 79 | 35 | 19.177215 | 0.646934 | 0 | 0 | 0.708861 | 0 | 0 | 0.052145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.012658 | 0 | 0.012658 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9ac8181da0fc8f034520d1d888ba60f0422a78d2 | 65 | py | Python | sigmoid.py | rigovides/multiclass-logistic-regression | 6c42de52b922e755188bc5977d891c0cada07145 | [
"Apache-2.0"
] | 2 | 2018-02-18T08:03:45.000Z | 2019-10-17T10:26:39.000Z | sigmoid.py | rigovides/multiclass-logistic-regression | 6c42de52b922e755188bc5977d891c0cada07145 | [
"Apache-2.0"
] | null | null | null | sigmoid.py | rigovides/multiclass-logistic-regression | 6c42de52b922e755188bc5977d891c0cada07145 | [
"Apache-2.0"
] | 2 | 2020-03-30T10:40:06.000Z | 2020-11-13T18:59:40.000Z | import numpy as np
def sigmoid(z):
return 1/(1 + np.exp(-z)) | 16.25 | 29 | 0.615385 | 13 | 65 | 3.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.215385 | 65 | 4 | 29 | 16.25 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 5 |
b124af0dd3e3874875d5e3c1be72adab195afb71 | 183 | py | Python | lib/JumpScale/baselib/vfs/__init__.py | jumpscale7/jumpscale_core7 | c3115656214cab1bd32f7a1e092c0bffc84a00cd | [
"Apache-2.0"
] | null | null | null | lib/JumpScale/baselib/vfs/__init__.py | jumpscale7/jumpscale_core7 | c3115656214cab1bd32f7a1e092c0bffc84a00cd | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/baselib/vfs/__init__.py | jumpscale7/jumpscale_core7 | c3115656214cab1bd32f7a1e092c0bffc84a00cd | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | from JumpScale import j
def cb():
from .BackupFactory import BackupFactory
return BackupFactory
j.base.loader.makeAvailable(j, 'clients')
j.clients._register('backup', cb)
| 18.3 | 44 | 0.748634 | 23 | 183 | 5.913043 | 0.608696 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 183 | 9 | 45 | 20.333333 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.071038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b1460b9aed9553215b3175d18a603bd6e646153b | 450 | py | Python | reversion/compat.py | sperrygrove/django-reversion | de5862a60e8fcfc9c14634dd51e004a0420a50b5 | [
"BSD-3-Clause"
] | 1 | 2017-10-31T02:37:37.000Z | 2017-10-31T02:37:37.000Z | reversion/compat.py | sperrygrove/django-reversion | de5862a60e8fcfc9c14634dd51e004a0420a50b5 | [
"BSD-3-Clause"
] | 1 | 2017-10-31T01:56:58.000Z | 2017-10-31T01:57:03.000Z | reversion/compat.py | sperrygrove/django-reversion | de5862a60e8fcfc9c14634dd51e004a0420a50b5 | [
"BSD-3-Clause"
] | 1 | 2020-01-08T20:18:17.000Z | 2020-01-08T20:18:17.000Z | import django
def remote_field(field):
# remote_field is new in Django 1.9
return field.remote_field if hasattr(field, 'remote_field') else field.rel
def remote_model(field):
# remote_field is new in Django 1.9
return field.remote_field.model if hasattr(field, 'remote_field') else field.rel.to
def... | 25 | 87 | 0.728889 | 69 | 450 | 4.594203 | 0.304348 | 0.242902 | 0.302839 | 0.113565 | 0.567823 | 0.567823 | 0.567823 | 0.567823 | 0.334385 | 0.334385 | 0 | 0.019074 | 0.184444 | 450 | 17 | 88 | 26.470588 | 0.844687 | 0.148889 | 0 | 0 | 0 | 0 | 0.063158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.888889 | 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 |
b14db3ffe4cd76fe5d8da684f3a34ce3e9906d65 | 1,793 | py | Python | userInteraction/interfaces/IFinanceInteraction.py | tylertjburns/ledgerkeeper | cd69e9f48f35a973d08e450dfffdfea46bdc3802 | [
"MIT"
] | null | null | null | userInteraction/interfaces/IFinanceInteraction.py | tylertjburns/ledgerkeeper | cd69e9f48f35a973d08e450dfffdfea46bdc3802 | [
"MIT"
] | null | null | null | userInteraction/interfaces/IFinanceInteraction.py | tylertjburns/ledgerkeeper | cd69e9f48f35a973d08e450dfffdfea46bdc3802 | [
"MIT"
] | null | null | null | from ledgerkeeper.mongoData.account import Account
from abc import ABC, abstractmethod
class IFinanceInteraction(ABC):
# region Account UI
@abstractmethod
def request_bank_total(self):
pass
@abstractmethod
def select_account(self, statusList=None):
pass
@abstractmethod
def... | 22.135802 | 68 | 0.697156 | 198 | 1,793 | 5.984848 | 0.267677 | 0.258228 | 0.265823 | 0.263291 | 0.478481 | 0.420253 | 0.300422 | 0.167089 | 0.087764 | 0 | 0 | 0 | 0.245957 | 1,793 | 81 | 69 | 22.135802 | 0.876479 | 0.044618 | 0 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.315789 | 0.035088 | 0 | 0.368421 | 0.035088 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b16b9232e173ae480558d2b4807a8fe301de5813 | 35 | py | Python | apimock/__main__.py | MrUPGrade/api-mock | cffac2edd12e8191957458b6c5fc33f824a6454d | [
"MIT"
] | 2 | 2018-03-10T16:01:58.000Z | 2018-03-12T15:51:29.000Z | apimock/__main__.py | MrUPGrade/api-mock | cffac2edd12e8191957458b6c5fc33f824a6454d | [
"MIT"
] | null | null | null | apimock/__main__.py | MrUPGrade/api-mock | cffac2edd12e8191957458b6c5fc33f824a6454d | [
"MIT"
] | null | null | null | from apimock.cli import cli
cli()
| 8.75 | 27 | 0.742857 | 6 | 35 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 3 | 28 | 11.666667 | 0.896552 | 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 |
b17e36bd545dabd1896c29203d9587e9f75a3646 | 32 | py | Python | gincco/methods/__init__.py | paulmorio/gincco | faffab019d8d64b32428ab1c956641c3f72ec43b | [
"MIT"
] | 7 | 2021-01-14T10:15:25.000Z | 2021-01-21T17:38:02.000Z | gincco/methods/__init__.py | paulmorio/gincco | faffab019d8d64b32428ab1c956641c3f72ec43b | [
"MIT"
] | null | null | null | gincco/methods/__init__.py | paulmorio/gincco | faffab019d8d64b32428ab1c956641c3f72ec43b | [
"MIT"
] | null | null | null | # pcomplexnet.methods init file
| 16 | 31 | 0.8125 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0.90625 | 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 |
4908bb47f5dec05de4d30ae59457343e7a0ef287 | 319 | py | Python | wagtail/admin/models.py | wlcrs/wagtail | 8afbc6c3eccef9eb0f09ed56c54cd36779451882 | [
"BSD-3-Clause"
] | 3 | 2019-05-14T13:43:08.000Z | 2021-11-09T11:27:18.000Z | wagtail/admin/models.py | denza/wagtail | 3939397850f2c73d3f960cea5cc9c2cfae2d005d | [
"BSD-3-Clause"
] | 163 | 2019-06-14T20:45:06.000Z | 2022-03-23T01:41:07.000Z | wagtail/admin/models.py | denza/wagtail | 3939397850f2c73d3f960cea5cc9c2cfae2d005d | [
"BSD-3-Clause"
] | 1 | 2021-05-11T00:05:26.000Z | 2021-05-11T00:05:26.000Z | # The edit_handlers module extends Page with some additional attributes required by
# wagtailadmin (namely, base_form_class and get_edit_handler). Importing this within
# wagtailadmin.models ensures that this happens in advance of running wagtailadmin's
# system checks.
from wagtail.admin import edit_handlers # NOQA
| 53.166667 | 84 | 0.827586 | 45 | 319 | 5.733333 | 0.866667 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131661 | 319 | 5 | 85 | 63.8 | 0.931408 | 0.836991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
494bfc701dcefb39304a1ef297f6e9ce6cdb2445 | 122 | py | Python | umu-python/app/service/tosca/vo/tgif/service.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | umu-python/app/service/tosca/vo/tgif/service.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | umu-python/app/service/tosca/vo/tgif/service.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | class Service(dict):
def __init__(self, calls, provides):
dict.__init__(self, calls=calls, provides=provides)
| 30.5 | 59 | 0.704918 | 15 | 122 | 5.2 | 0.533333 | 0.205128 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172131 | 122 | 3 | 60 | 40.666667 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 |
494fd6c9f9fb7d924ec2eb0656241c426b7285e0 | 22 | py | Python | gamepie-ios/__init__.py | JadedTuna/gamepie | d49ba3597457bca0b43eb8fc5218683c5e6eef59 | [
"Zlib"
] | 4 | 2017-04-23T20:47:53.000Z | 2021-05-09T07:08:58.000Z | gamepie-pc/__init__.py | JadedTuna/gamepie | d49ba3597457bca0b43eb8fc5218683c5e6eef59 | [
"Zlib"
] | null | null | null | gamepie-pc/__init__.py | JadedTuna/gamepie | d49ba3597457bca0b43eb8fc5218683c5e6eef59 | [
"Zlib"
] | 1 | 2015-05-19T18:58:45.000Z | 2015-05-19T18:58:45.000Z | from gamepie import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 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 |
4961852565595c73c2fbd84c4a1bc313d48ba141 | 120 | py | Python | stores/apps/users/admin.py | diassor/CollectorCity-Market-Place | 892ad220b8cf1c0fc7433f625213fe61729522b2 | [
"Apache-2.0"
] | 135 | 2015-03-19T13:28:18.000Z | 2022-03-27T06:41:42.000Z | stores/apps/users/admin.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | null | null | null | stores/apps/users/admin.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | 83 | 2015-01-30T01:00:15.000Z | 2022-03-08T17:25:10.000Z | from models import *
from django.contrib import admin
admin.site.register(Profile)
admin.site.register(EmailVerify)
| 13.333333 | 32 | 0.8 | 16 | 120 | 6 | 0.625 | 0.1875 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 8 | 33 | 15 | 0.90566 | 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 |
4988ed34f3a4ff086f5d3bb23424b3785acc8ad6 | 23 | py | Python | ohno/test/error.py | AnkitmB125/ohno | 1d3e10e50fb782c6270e5b28fc582641e2e4be69 | [
"MIT"
] | 1 | 2020-07-30T02:02:41.000Z | 2020-07-30T02:02:41.000Z | ohno/test/error.py | AnkitmB125/ohno | 1d3e10e50fb782c6270e5b28fc582641e2e4be69 | [
"MIT"
] | 1 | 2021-12-13T19:54:39.000Z | 2021-12-13T19:54:39.000Z | ohno/test/error.py | AnkitmB125/ohno | 1d3e10e50fb782c6270e5b28fc582641e2e4be69 | [
"MIT"
] | null | null | null | print("hello")
printf() | 11.5 | 14 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 23 | 2 | 15 | 11.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 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 |
498a1de37eb73f6405e6cb9e83f72a07d1297a1a | 23 | py | Python | itamar.py | itamar-marom/test-repo | 443e105eabc889577e35f6f640b234a5e790f2e9 | [
"Apache-2.0"
] | null | null | null | itamar.py | itamar-marom/test-repo | 443e105eabc889577e35f6f640b234a5e790f2e9 | [
"Apache-2.0"
] | null | null | null | itamar.py | itamar-marom/test-repo | 443e105eabc889577e35f6f640b234a5e790f2e9 | [
"Apache-2.0"
] | null | null | null | print("Fuck ypu bitch") | 23 | 23 | 0.73913 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 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 |
b8c5e3b080bad351c6f864457369590f3a3c79f4 | 131 | py | Python | ENCODN/TOOLS/COMMUNICATION/TELECOM/DECABIT/DECABIT_FRAME.py | akshitadixit/ENCODN | 7b4ecaba10314f9f59f53e9b479016b21f8b632b | [
"RSA-MD"
] | 6 | 2020-10-07T13:09:38.000Z | 2021-01-16T17:16:51.000Z | ENCODN/TOOLS/COMMUNICATION/TELECOM/DECABIT/DECABIT_FRAME.py | akshitadixit/ENCODN | 7b4ecaba10314f9f59f53e9b479016b21f8b632b | [
"RSA-MD"
] | 27 | 2020-10-09T09:14:23.000Z | 2021-01-22T07:16:43.000Z | ENCODN/TOOLS/COMMUNICATION/TELECOM/DECABIT/DECABIT_FRAME.py | DSC-IIIT-Kalyani/ENCODN | 62752ac7e368b294ec9613a1f73cb3f1f7c878f5 | [
"RSA-MD"
] | 14 | 2020-10-07T14:25:59.000Z | 2021-02-21T16:54:37.000Z | from tkinter import *
from tkinter import ttk
def DECABIT_FRAME(master=None):
s = ttk.Style(master)
s.theme_use('awdark') | 18.714286 | 32 | 0.717557 | 20 | 131 | 4.6 | 0.7 | 0.23913 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 7 | 33 | 18.714286 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b8ff86d0789f2985d30122efe69b5d32bf3538f8 | 399 | py | Python | myclang/ops.py | FindDefinition/myclang | 3fa641f3b4fa87e0d3b1d840288e61442293036a | [
"Apache-2.0"
] | null | null | null | myclang/ops.py | FindDefinition/myclang | 3fa641f3b4fa87e0d3b1d840288e61442293036a | [
"Apache-2.0"
] | null | null | null | myclang/ops.py | FindDefinition/myclang | 3fa641f3b4fa87e0d3b1d840288e61442293036a | [
"Apache-2.0"
] | null | null | null | from .betterenums import NodeKind
from . import constants
def nkind_is_decl(nkind: NodeKind):
K = nkind.value
return ((K >= constants.CXCURSOR_FIRST_DECL and K <= constants.CXCURSOR_LAST_DECL) or
(K >= constants.CXCURSOR_FIRST_EXTRA_DECL and K <= constants.CXCURSOR_LAST_EXTRA_DECL) or
(... | 44.333333 | 101 | 0.736842 | 54 | 399 | 5.148148 | 0.351852 | 0.215827 | 0.258993 | 0.183453 | 0.305755 | 0.208633 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177945 | 399 | 8 | 102 | 49.875 | 0.847561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
77323fb43d713d868d1f0935b5bac69129a4a303 | 36 | py | Python | doodad/easy_sweep/__init__.py | charlesjsun/doodad | eb30cfc668054ab84f58536eb777a1a56258030a | [
"MIT"
] | 36 | 2021-10-29T21:23:11.000Z | 2022-03-30T15:38:13.000Z | doodad/easy_sweep/__init__.py | charlesjsun/doodad | eb30cfc668054ab84f58536eb777a1a56258030a | [
"MIT"
] | 1 | 2020-03-11T14:41:43.000Z | 2020-03-11T14:41:43.000Z | doodad/easy_sweep/__init__.py | charlesjsun/doodad | eb30cfc668054ab84f58536eb777a1a56258030a | [
"MIT"
] | 10 | 2018-06-25T21:07:14.000Z | 2021-07-19T18:46:17.000Z | from .launcher import DoodadSweeper
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
77406e31c24d484db632a16a9756fc569723c96f | 549 | py | Python | digihel/wagtail_hooks.py | HotStew/digihel | 3a53f6542b41c64c818fa34cc0709cdbfb8055db | [
"MIT"
] | 21 | 2016-08-22T10:15:24.000Z | 2022-03-23T08:10:48.000Z | digihel/wagtail_hooks.py | HotStew/digihel | 3a53f6542b41c64c818fa34cc0709cdbfb8055db | [
"MIT"
] | 101 | 2016-08-08T07:52:44.000Z | 2021-06-17T20:18:59.000Z | digihel/wagtail_hooks.py | HotStew/digihel | 3a53f6542b41c64c818fa34cc0709cdbfb8055db | [
"MIT"
] | 16 | 2016-08-02T11:45:26.000Z | 2021-02-18T11:27:34.000Z | from wagtail.core import hooks
def allow_blindly(tag):
return tag
# See: http://docs.wagtail.io/en/v1.6/reference/hooks.html#construct-whitelister-element-rules
@hooks.register('construct_whitelister_element_rules')
def whitelister_element_rules():
rules = {}
# Tables
rules.update(dict.fromkeys(['tab... | 34.3125 | 108 | 0.692168 | 71 | 549 | 5.239437 | 0.647887 | 0.096774 | 0.185484 | 0.172043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004211 | 0.134791 | 549 | 15 | 109 | 36.6 | 0.778947 | 0.233151 | 0 | 0 | 0 | 0 | 0.223558 | 0.084135 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 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 |
7749960b1542d05ab18427eede88f6061266cdc9 | 945 | py | Python | feature_raster/Transformers/CommonIndex.py | hectorpatino/feature_raster | 34ec69e0e9fbfc697865f76d1c97627ba338bf7e | [
"BSD-3-Clause"
] | null | null | null | feature_raster/Transformers/CommonIndex.py | hectorpatino/feature_raster | 34ec69e0e9fbfc697865f76d1c97627ba338bf7e | [
"BSD-3-Clause"
] | null | null | null | feature_raster/Transformers/CommonIndex.py | hectorpatino/feature_raster | 34ec69e0e9fbfc697865f76d1c97627ba338bf7e | [
"BSD-3-Clause"
] | null | null | null | from sklearn.base import BaseEstimator, TransformerMixin
import numpy as np
# to avoid the warning o generating a RuntimeWarning
np.seterr(divide='ignore', invalid='ignore')
def normalize_difference_indexes_minus_plus(band_1, band_2):
""" Uses the general formula of all normalize difference indexes
where the ... | 24.230769 | 68 | 0.669841 | 122 | 945 | 4.959016 | 0.516393 | 0.041322 | 0.08595 | 0.033058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022825 | 0.258201 | 945 | 38 | 69 | 24.868421 | 0.840228 | 0.291005 | 0 | 0 | 0 | 0 | 0.019078 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.235294 | false | 0.058824 | 0.117647 | 0.117647 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
774a16b7b5f3c4aec1573eae8d74b13eda1fff2f | 2,519 | py | Python | src/bpp/models/sloty/wydawnictwo_ciagle.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/bpp/models/sloty/wydawnictwo_ciagle.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/bpp/models/sloty/wydawnictwo_ciagle.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | from decimal import Decimal
from .common import SlotMixin
class SlotKalkulator_Wydawnictwo_Ciagle_Prog1(SlotMixin):
"""
Artykuł z czasopisma z listy ministerialnej.
Dla roku 2017, 2018: punkty KBN >= 30
"""
def punkty_pkd(self, dyscyplina):
if self.ma_dyscypline(dyscyplina):
... | 29.635294 | 86 | 0.651052 | 306 | 2,519 | 5.130719 | 0.186275 | 0.09172 | 0.081529 | 0.132484 | 0.80828 | 0.781529 | 0.738854 | 0.700637 | 0.650318 | 0.622293 | 0 | 0.026645 | 0.269948 | 2,519 | 84 | 87 | 29.988095 | 0.82708 | 0.104407 | 0 | 0.58 | 0 | 0 | 0.00364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.18 | false | 0 | 0.04 | 0 | 0.56 | 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 |
62169a70f059f8e0e971691fd019e05875a5b347 | 104 | py | Python | backend/application/user/__init__.py | vitor-kato/ACMEVita-API | f2efee5e40649e450ca9d845990b93098a61efd5 | [
"MIT"
] | null | null | null | backend/application/user/__init__.py | vitor-kato/ACMEVita-API | f2efee5e40649e450ca9d845990b93098a61efd5 | [
"MIT"
] | null | null | null | backend/application/user/__init__.py | vitor-kato/ACMEVita-API | f2efee5e40649e450ca9d845990b93098a61efd5 | [
"MIT"
] | null | null | null | from flask import Blueprint
from . import auth, models, schemas
user_bp = Blueprint("user", __name__)
| 17.333333 | 37 | 0.759615 | 14 | 104 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 5 | 38 | 20.8 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
621cc1f44ff166a433a055b86fc047762448e52f | 64 | py | Python | pyfilter/filters/__init__.py | merz9b/pyfilter | 437e3fa872595df7bbde67b641770fbeaf825e7a | [
"MIT"
] | null | null | null | pyfilter/filters/__init__.py | merz9b/pyfilter | 437e3fa872595df7bbde67b641770fbeaf825e7a | [
"MIT"
] | null | null | null | pyfilter/filters/__init__.py | merz9b/pyfilter | 437e3fa872595df7bbde67b641770fbeaf825e7a | [
"MIT"
] | null | null | null | from .apf import APF
from .sisr import SISR
from .ukf import UKF | 21.333333 | 22 | 0.78125 | 12 | 64 | 4.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 3 | 23 | 21.333333 | 0.943396 | 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 |
62285dfb085f3214e69786d5ad21f72b805805b4 | 9,918 | py | Python | DQM/EcalMonitorClient/python/TimingClient_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/EcalMonitorClient/python/TimingClient_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/EcalMonitorClient/python/TimingClient_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from DQM.EcalMonitorTasks.TimingTask_cfi import ecalTimingTask
from DQM.EcalMonitorClient.IntegrityClient_cfi import ecalIntegrityClient
minChannelEntries = 1
minTowerEntries = 3
toleranceMean = 2.
toleranceRMS = 6.
minChannelEntriesFwd = 8
minTowerEntriesFwd = 24
toleranceMea... | 58.686391 | 767 | 0.622908 | 1,057 | 9,918 | 5.842952 | 0.164617 | 0.235104 | 0.198187 | 0.042746 | 0.716483 | 0.713245 | 0.703044 | 0.667584 | 0.667584 | 0.646535 | 0 | 0.011499 | 0.254688 | 9,918 | 168 | 768 | 59.035714 | 0.823999 | 0 | 0 | 0.54878 | 0 | 0.02439 | 0.279621 | 0.055158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018293 | 0 | 0.018293 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
626011d769f714ac15156f7d57ed0fbeb8351c10 | 13,011 | py | Python | system/t12_api/snapshots.py | masselstine/aptly | 3d2ccf1b2a02ea45eb0fa4fa7180b1809cb4590d | [
"MIT"
] | 1 | 2021-09-13T02:34:59.000Z | 2021-09-13T02:34:59.000Z | system/t12_api/snapshots.py | masselstine/aptly | 3d2ccf1b2a02ea45eb0fa4fa7180b1809cb4590d | [
"MIT"
] | 6 | 2021-06-23T08:40:02.000Z | 2021-11-02T09:12:51.000Z | system/t12_api/snapshots.py | masselstine/aptly | 3d2ccf1b2a02ea45eb0fa4fa7180b1809cb4590d | [
"MIT"
] | 3 | 2020-10-12T21:25:57.000Z | 2021-11-28T17:23:24.000Z | from api_lib import APITest
from publish import DefaultSigningOptions
class SnapshotsAPITestCreateShowEmpty(APITest):
"""
GET /api/snapshots/:name, POST /api/snapshots, GET /api/snapshots/:name/packages
"""
def check(self):
snapshot_name = self.random_name()
snapshot_desc = {u'Descript... | 45.020761 | 126 | 0.595342 | 1,546 | 13,011 | 4.852523 | 0.078266 | 0.087577 | 0.125033 | 0.088776 | 0.808851 | 0.783924 | 0.771927 | 0.72594 | 0.682885 | 0.641696 | 0 | 0.035961 | 0.243409 | 13,011 | 288 | 127 | 45.177083 | 0.726128 | 0.073937 | 0 | 0.552632 | 0 | 0 | 0.209039 | 0.038907 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036842 | false | 0 | 0.010526 | 0 | 0.084211 | 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 |
657652ec067611ea73aa46beeaa153e91e409c4d | 41 | py | Python | php_proxy/setup.py | jt6562/XX-Net | 7b78e4820a3c78c3ba3e75b3917129d17f00e9fc | [
"BSD-2-Clause"
] | 2 | 2016-01-16T16:48:22.000Z | 2016-06-09T18:22:53.000Z | php_proxy/setup.py | TDUncle/XX-Net | 24b2af60dc0abc1c26211813064bb14c1e22bac8 | [
"BSD-2-Clause"
] | null | null | null | php_proxy/setup.py | TDUncle/XX-Net | 24b2af60dc0abc1c26211813064bb14c1e22bac8 | [
"BSD-2-Clause"
] | 1 | 2016-04-01T06:25:17.000Z | 2016-04-01T06:25:17.000Z | #!/usr/bin/env python
print "setup ok!"
| 10.25 | 21 | 0.658537 | 7 | 41 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 3 | 22 | 13.666667 | 0.771429 | 0.487805 | 0 | 0 | 0 | 0 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
658d12fca0fed772ab73b1ce8a642d10d22cf5fa | 106 | py | Python | pyaltitude/team.py | sdizazzo/pyaltitude | 9789a633fe8f9093308978b1de543f5adc8070c8 | [
"MIT"
] | 1 | 2020-03-17T07:45:11.000Z | 2020-03-17T07:45:11.000Z | pyaltitude/team.py | sdizazzo/pyaltitude | 9789a633fe8f9093308978b1de543f5adc8070c8 | [
"MIT"
] | 19 | 2020-02-14T05:56:22.000Z | 2020-08-15T22:04:24.000Z | pyaltitude/team.py | sdizazzo/pyaltitude | 9789a633fe8f9093308978b1de543f5adc8070c8 | [
"MIT"
] | null | null | null | from . import base
import logging
logger = logging.getLogger(__name__)
class Team(base.Base):
pass
| 11.777778 | 36 | 0.735849 | 14 | 106 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179245 | 106 | 8 | 37 | 13.25 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
0290b3345a0dec5d898c339ea76fb8ca968f317a | 177 | py | Python | src/sample/PlayerClass.py | TestowanieAutomatyczneUG/laboratorium-9-Grzeskii | ca62ee6fa6cc7514ab4d286ba908c57e12cad998 | [
"MIT"
] | null | null | null | src/sample/PlayerClass.py | TestowanieAutomatyczneUG/laboratorium-9-Grzeskii | ca62ee6fa6cc7514ab4d286ba908c57e12cad998 | [
"MIT"
] | null | null | null | src/sample/PlayerClass.py | TestowanieAutomatyczneUG/laboratorium-9-Grzeskii | ca62ee6fa6cc7514ab4d286ba908c57e12cad998 | [
"MIT"
] | null | null | null | class Player:
def getTime(self):
pass
def playWavFile(self, file):
pass
def wavWasPlayed(self):
pass
def resetWav(self):
pass | 13.615385 | 32 | 0.548023 | 19 | 177 | 5.105263 | 0.526316 | 0.247423 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372881 | 177 | 13 | 33 | 13.615385 | 0.873874 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
02b8f2b96a21ad353333ad782c4cf0aa7ae0011f | 41 | py | Python | zmqrpc/client/__init__.py | brgirgis/pyzmqrpc3 | a93339f98686e7f695f7c8a19dac198e4fc56aab | [
"MIT"
] | null | null | null | zmqrpc/client/__init__.py | brgirgis/pyzmqrpc3 | a93339f98686e7f695f7c8a19dac198e4fc56aab | [
"MIT"
] | null | null | null | zmqrpc/client/__init__.py | brgirgis/pyzmqrpc3 | a93339f98686e7f695f7c8a19dac198e4fc56aab | [
"MIT"
] | null | null | null |
from .ZmqRpcClient import ZmqRpcClient
| 10.25 | 38 | 0.829268 | 4 | 41 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 3 | 39 | 13.666667 | 0.971429 | 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 |
02e61416b7a4031058b818dfd7b7d152c7f06838 | 11,399 | py | Python | devilry/devilry_admin/tests/subject_for_period_admin/test_overview_for_periodadmin.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_admin/tests/subject_for_period_admin/test_overview_for_periodadmin.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_admin/tests/subject_for_period_admin/test_overview_for_periodadmin.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z |
from django.conf import settings
from django.test import TestCase
from cradmin_legacy import cradmin_testhelpers
from cradmin_legacy import crinstance
from model_bakery import baker
from devilry.apps.core.baker_recipes import ACTIVE_PERIOD_START, ACTIVE_PERIOD_END
from devilry.devilry_admin.views.subject_for_period_... | 59.994737 | 114 | 0.662602 | 993 | 11,399 | 7.39577 | 0.119839 | 0.068627 | 0.054466 | 0.078295 | 0.806509 | 0.792211 | 0.747004 | 0.711737 | 0.652914 | 0.645833 | 0 | 0.008969 | 0.256601 | 11,399 | 189 | 115 | 60.312169 | 0.857682 | 0 | 0 | 0.543353 | 0 | 0 | 0.192946 | 0.15311 | 0 | 0 | 0 | 0 | 0.069364 | 1 | 0.063584 | false | 0 | 0.046243 | 0 | 0.121387 | 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 |
02e799ea067d5e143d4c238194f6d7c648ca2644 | 300 | py | Python | codeScanner/views.py | code-goodbuy/Goodbuy | d23363a46988f65f121a6edb75609fdddaa95cde | [
"Unlicense"
] | 2 | 2019-03-20T20:30:16.000Z | 2019-04-10T19:54:32.000Z | codeScanner/views.py | code-goodbuy/Goodbuy | d23363a46988f65f121a6edb75609fdddaa95cde | [
"Unlicense"
] | 30 | 2019-02-22T17:24:13.000Z | 2019-05-15T09:29:51.000Z | codeScanner/views.py | code-goodbuy/Goodbuy | d23363a46988f65f121a6edb75609fdddaa95cde | [
"Unlicense"
] | 1 | 2019-04-23T08:59:34.000Z | 2019-04-23T08:59:34.000Z | from django.shortcuts import render, redirect
from goodbuyDatabase.models import Product, Rating
from django.contrib.auth.decorators import login_required
from django.contrib.auth.models import User
@login_required
def scanCode(request):
return render(request, "codeScanner/code_scanner.html")
| 30 | 59 | 0.83 | 39 | 300 | 6.307692 | 0.615385 | 0.121951 | 0.138211 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 300 | 9 | 60 | 33.333333 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0.096667 | 0.096667 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
f3028a9d0fb0fa54b3811f303cd66978055f0330 | 569 | py | Python | py_tests/test_form_filters.py | tiesjan/url-shortener | 395ffc7b88dfe97c88914e8c4047690185b54ea7 | [
"BSD-3-Clause"
] | null | null | null | py_tests/test_form_filters.py | tiesjan/url-shortener | 395ffc7b88dfe97c88914e8c4047690185b54ea7 | [
"BSD-3-Clause"
] | null | null | null | py_tests/test_form_filters.py | tiesjan/url-shortener | 395ffc7b88dfe97c88914e8c4047690185b54ea7 | [
"BSD-3-Clause"
] | null | null | null | from url_shortener.form_filters import prepend_http, strip_value
def test_prepend_http():
assert prepend_http('example.com/') == 'http://example.com/'
assert prepend_http('http://example.com/') == 'http://example.com/'
assert prepend_http('https://example.com/') == 'https://example.com/'
assert prepen... | 33.470588 | 73 | 0.676626 | 72 | 569 | 5.111111 | 0.25 | 0.209239 | 0.230978 | 0.1875 | 0.706522 | 0.451087 | 0.451087 | 0.451087 | 0.244565 | 0 | 0 | 0 | 0.156415 | 569 | 16 | 74 | 35.5625 | 0.766667 | 0 | 0 | 0.166667 | 0 | 0 | 0.247803 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.166667 | true | 0 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f3123157a2d0eda10419f4903afb1ef9595d14b2 | 968 | py | Python | out/python/IpfsPinningSDK/models/__init__.py | JenksyGuo/pinning-services-api-codegen | a25ba16b7fcada18953a2b097fc7c91ddb7d6baf | [
"MIT"
] | 3 | 2021-12-15T02:07:07.000Z | 2022-03-03T21:49:14.000Z | out/python/IpfsPinningSDK/models/__init__.py | JenksyGuo/pinning-services-api-codegen | a25ba16b7fcada18953a2b097fc7c91ddb7d6baf | [
"MIT"
] | null | null | null | out/python/IpfsPinningSDK/models/__init__.py | JenksyGuo/pinning-services-api-codegen | a25ba16b7fcada18953a2b097fc7c91ddb7d6baf | [
"MIT"
] | null | null | null | # flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from IpfsPinningSDK.model.pet import Pet
# or import this package, but before ... | 42.086957 | 86 | 0.841942 | 133 | 968 | 6.075188 | 0.451128 | 0.267327 | 0.341584 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001167 | 0.114669 | 968 | 22 | 87 | 44 | 0.941657 | 0.366736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b827e562e451f244de961fa747c0375c45ee865e | 235 | py | Python | RecoTauTag/RecoTau/python/CaloTauProducer_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoTauTag/RecoTau/python/CaloTauProducer_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | RecoTauTag/RecoTau/python/CaloTauProducer_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
from RecoTauTag.RecoTau.CaloRecoTauTagInfoProducer_cfi import *
from RecoTauTag.RecoTau.CaloRecoTauProducer_cfi import *
CaloTau = cms.Sequence(caloRecoTauTagInfoProducer*caloRecoTauProducer)
| 33.571429 | 70 | 0.87234 | 23 | 235 | 8.826087 | 0.608696 | 0.137931 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07234 | 235 | 6 | 71 | 39.166667 | 0.931193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b831fc7b7cc0ce90de0d5c6d6b2424336d379750 | 194 | py | Python | DeNardi-Tornatore/app/android/Tab_Writer/app/src/main/python/main.py | LucaLand/SistemiDigitaliM20-21 | e900327cc905d21caae72c42ec027f991b6ac2d9 | [
"MIT"
] | 9 | 2021-02-07T22:53:34.000Z | 2022-03-14T21:47:30.000Z | DeNardi-Tornatore/app/android/Tab_Writer/app/src/main/python/main.py | LucaLand/SistemiDigitaliM20-21 | e900327cc905d21caae72c42ec027f991b6ac2d9 | [
"MIT"
] | 1 | 2021-03-21T14:58:45.000Z | 2021-03-21T15:01:07.000Z | DeNardi-Tornatore/app/android/Tab_Writer/app/src/main/python/main.py | LucaLand/SistemiDigitaliM20-21 | e900327cc905d21caae72c42ec027f991b6ac2d9 | [
"MIT"
] | 18 | 2021-02-07T18:30:47.000Z | 2022-01-22T16:57:40.000Z | from preprocessing import preprocessing_file
from predict import predict_model
def main(path):
images, frames = preprocessing_file(path)
result = predict_model(images, frames)
return result | 24.25 | 44 | 0.819588 | 25 | 194 | 6.2 | 0.52 | 0.219355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 194 | 8 | 45 | 24.25 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 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 |
b8480d33484e1e1a57331acb57822d0bf996ffda | 147 | py | Python | crestify/archivers/__init__.py | punto1/crestify | 7353979118a0a86b2431d21090444d31215d4cbb | [
"BSD-3-Clause"
] | 214 | 2016-02-26T11:51:32.000Z | 2019-08-13T01:33:03.000Z | crestify/archivers/__init__.py | punto1/crestify | 7353979118a0a86b2431d21090444d31215d4cbb | [
"BSD-3-Clause"
] | 29 | 2017-04-10T08:15:11.000Z | 2019-03-09T08:46:50.000Z | crestify/archivers/__init__.py | dhamaniasad/crestify | 7ee095d7a8ccecc902edf3fd143f7051b67ef229 | [
"BSD-3-Clause"
] | 25 | 2016-03-22T15:18:29.000Z | 2019-07-16T05:48:18.000Z | from archive_service import ArchiveService, ArchiveException
from archiveorg import ArchiveOrgService
from archivetoday import ArchiveTodayService
| 36.75 | 60 | 0.904762 | 14 | 147 | 9.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088435 | 147 | 3 | 61 | 49 | 0.985075 | 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 |
b8b1c7f7dd5dcf0e942be56067846668c55459c3 | 160 | py | Python | gators/encoders/tests/test_base_encoder.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 4 | 2021-10-29T18:20:52.000Z | 2022-03-31T22:53:03.000Z | gators/encoders/tests/test_base_encoder.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 1 | 2022-01-19T12:16:19.000Z | 2022-01-19T12:16:19.000Z | gators/encoders/tests/test_base_encoder.py | Aditya-Kapadiya/gators | d7c9967e3a8e304a601b6a92ad834d03d3e36338 | [
"Apache-2.0"
] | 5 | 2021-11-17T20:16:54.000Z | 2022-02-21T18:21:02.000Z | # License: Apache-2.0
import pytest
from gators.encoders import WOEEncoder
def test_init():
with pytest.raises(TypeError):
WOEEncoder(dtype=str)
| 16 | 38 | 0.725 | 21 | 160 | 5.47619 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.18125 | 160 | 9 | 39 | 17.777778 | 0.862595 | 0.11875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 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 |
b8b8fea580ad11ca4c52211df15e76ce7b14906e | 849 | py | Python | test/test_billing_cycles_page_all_of.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_billing_cycles_page_all_of.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_billing_cycles_page_all_of.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | """
MSX SDK
MSX SDK client. # noqa: E501
The version of the OpenAPI document: 1.0.9
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import python_msx_sdk
from python_msx_sdk.model.billing_cycle import BillingCycle
globals()['BillingCycle'] = BillingCycle
from python_msx... | 22.342105 | 82 | 0.712603 | 94 | 849 | 6.234043 | 0.574468 | 0.051195 | 0.061433 | 0.054608 | 0.095563 | 0.095563 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.204947 | 849 | 37 | 83 | 22.945946 | 0.854815 | 0.366313 | 0 | 0.2 | 1 | 0 | 0.039841 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.2 | false | 0.2 | 0.333333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
b25d688d197ea183e6f6f33beedeb735ef38a202 | 48,929 | py | Python | hashes.py | SortAnon/PonySorter | 392817c52878fff3df89b1c209b2f88ffc5cceb0 | [
"MIT"
] | 3 | 2019-11-08T01:48:44.000Z | 2021-06-20T06:40:18.000Z | hashes.py | SortAnon/PonySorter | 392817c52878fff3df89b1c209b2f88ffc5cceb0 | [
"MIT"
] | 1 | 2021-07-23T18:45:51.000Z | 2021-07-24T00:33:52.000Z | hashes.py | SortAnon/PonySorter | 392817c52878fff3df89b1c209b2f88ffc5cceb0 | [
"MIT"
] | null | null | null | friendly_names = {
"fim_s01e01": "Season 1, Episode 1",
"fim_s01e02": "Season 1, Episode 2",
"fim_s01e03": "Season 1, Episode 3",
"fim_s01e04": "Season 1, Episode 4",
"fim_s01e05": "Season 1, Episode 5",
"fim_s01e06": "Season 1, Episode 6",
"fim_s01e07": "Season 1, Episode 7",
"fim_s01e0... | 53.650219 | 73 | 0.76002 | 3,403 | 48,929 | 10.656186 | 0.254187 | 0.021234 | 0.010038 | 0.002096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.442937 | 0.12465 | 48,929 | 911 | 74 | 53.709111 | 0.403736 | 0.003863 | 0 | 0 | 0 | 0 | 0.777424 | 0.491813 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b27c4b8009f6699085dcc300297438d9da4027da | 50 | py | Python | spatial_lda/__init__.py | MagdalenaMat/spatial_lda | f40c0c8c3478b4325830109ec971709a7b395ef8 | [
"MIT"
] | 12 | 2020-07-23T18:19:07.000Z | 2022-03-30T10:20:36.000Z | spatial_lda/__init__.py | MagdalenaMat/spatial_lda | f40c0c8c3478b4325830109ec971709a7b395ef8 | [
"MIT"
] | 12 | 2020-08-03T17:33:49.000Z | 2021-11-04T04:55:56.000Z | spatial_lda/__init__.py | MagdalenaMat/spatial_lda | f40c0c8c3478b4325830109ec971709a7b395ef8 | [
"MIT"
] | 4 | 2020-08-16T22:49:24.000Z | 2022-03-22T17:28:42.000Z | from .online_lda import LatentDirichletAllocation
| 25 | 49 | 0.9 | 5 | 50 | 8.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.956522 | 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 |
b27e0fa3a4232304791498103b58fecccf406856 | 1,552 | py | Python | tests/unit/datetime_/test_datetime_.py | matthewgdv/subtypes | 52caa785f2861c6a9b867ed9b6c3756f8015689b | [
"MIT"
] | 1 | 2019-11-20T00:25:45.000Z | 2019-11-20T00:25:45.000Z | tests/unit/datetime_/test_datetime_.py | matthewgdv/subtypes | 52caa785f2861c6a9b867ed9b6c3756f8015689b | [
"MIT"
] | null | null | null | tests/unit/datetime_/test_datetime_.py | matthewgdv/subtypes | 52caa785f2861c6a9b867ed9b6c3756f8015689b | [
"MIT"
] | null | null | null | import pytest
import datetime as dt
from subtypes import DateTime
@pytest.fixture
def example_datetime():
return DateTime(1994, 3, 24, 12, 30, 15)
class TestDateTime:
def test___str__(self): # synced
assert True
def test_shift(self, example_datetime): # synced
assert example_datetime... | 23.515152 | 129 | 0.646263 | 204 | 1,552 | 4.72549 | 0.254902 | 0.130705 | 0.248963 | 0.311203 | 0.634855 | 0.634855 | 0.387967 | 0.076763 | 0 | 0 | 0 | 0.05 | 0.265464 | 1,552 | 65 | 130 | 23.876923 | 0.795614 | 0.080541 | 0 | 0.348837 | 0 | 0 | 0.013494 | 0 | 0 | 0 | 0 | 0 | 0.418605 | 1 | 0.44186 | false | 0 | 0.069767 | 0.023256 | 0.55814 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b2892e38ab258ee62a93561d4b5665b81a9258ff | 96 | py | Python | zcore/action/__init__.py | razaibi/autocode | 765fa947d9c6a1b559fc8b7e2e40e1914455fbd4 | [
"Apache-2.0"
] | null | null | null | zcore/action/__init__.py | razaibi/autocode | 765fa947d9c6a1b559fc8b7e2e40e1914455fbd4 | [
"Apache-2.0"
] | 1 | 2021-09-20T22:14:03.000Z | 2021-09-20T22:14:03.000Z | zcore/action/__init__.py | razaibi/zaunic | 765fa947d9c6a1b559fc8b7e2e40e1914455fbd4 | [
"Apache-2.0"
] | null | null | null | from . import service
from . import generator_service
__all__ = ['service', 'generator_service'] | 32 | 42 | 0.78125 | 11 | 96 | 6.272727 | 0.454545 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 3 | 42 | 32 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.247423 | 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 |
b29df6facf98ea10bb030ca2a912dc7f86eae3fa | 146 | py | Python | apps/manax_theme_alpha/apps.py | manax-dojo/cashflow | 44da3596ed40d20a5b99179c4f1e016f028cdd71 | [
"BSD-3-Clause"
] | null | null | null | apps/manax_theme_alpha/apps.py | manax-dojo/cashflow | 44da3596ed40d20a5b99179c4f1e016f028cdd71 | [
"BSD-3-Clause"
] | null | null | null | apps/manax_theme_alpha/apps.py | manax-dojo/cashflow | 44da3596ed40d20a5b99179c4f1e016f028cdd71 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class ManaxThemeAlphaConfig(AppConfig):
name = 'manax_theme_alpha'
verbose_name = "Manax Theme Alpha"
| 20.857143 | 39 | 0.767123 | 17 | 146 | 6.411765 | 0.705882 | 0.165138 | 0.256881 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 6 | 40 | 24.333333 | 0.893443 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b2ade9e5017e8f6be9c8c85e95a68e413cf165d8 | 74 | py | Python | tests/test_fluprodia.py | fwitte/CoolProp.plotting | 7c844692ec61e9764202f1eadd077fd4ecc43341 | [
"MIT"
] | 8 | 2020-05-06T07:50:53.000Z | 2021-09-15T19:38:46.000Z | tests/test_fluprodia.py | fwitte/CoolProp.plotting | 7c844692ec61e9764202f1eadd077fd4ecc43341 | [
"MIT"
] | 1 | 2020-10-30T08:24:31.000Z | 2020-11-08T17:48:48.000Z | tests/test_fluprodia.py | fwitte/CoolProp.plotting | 7c844692ec61e9764202f1eadd077fd4ecc43341 | [
"MIT"
] | 1 | 2020-06-19T23:11:30.000Z | 2020-06-19T23:11:30.000Z |
# from fluprodia import FluidPropertyDiagram
def test_main():
pass
| 10.571429 | 44 | 0.743243 | 8 | 74 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 74 | 6 | 45 | 12.333333 | 0.915254 | 0.567568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a24b17a344c09568280fc8d1561f9e7d39fc2c54 | 5,028 | py | Python | lenstronomy/LensModel/Profiles/const_mag.py | lucateo/lenstronomy | 3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab | [
"MIT"
] | 1 | 2021-06-05T15:17:39.000Z | 2021-06-05T15:17:39.000Z | lenstronomy/LensModel/Profiles/const_mag.py | lucateo/lenstronomy | 3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab | [
"MIT"
] | null | null | null | lenstronomy/LensModel/Profiles/const_mag.py | lucateo/lenstronomy | 3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab | [
"MIT"
] | null | null | null | __author__ = 'gipagano'
import numpy as np
import lenstronomy.Util.util as util
from lenstronomy.LensModel.Profiles.base_profile import LensProfileBase
__all__ = ['ConstMag']
class ConstMag(LensProfileBase):
"""
this class implements the macromodel potential of `Diego et al. <https://www.aanda.or... | 42.252101 | 154 | 0.567025 | 722 | 5,028 | 3.792244 | 0.180055 | 0.02301 | 0.030679 | 0.039445 | 0.788532 | 0.777575 | 0.777575 | 0.777575 | 0.753835 | 0.753835 | 0 | 0.040588 | 0.323787 | 5,028 | 118 | 155 | 42.610169 | 0.764706 | 0.356603 | 0 | 0.596154 | 0 | 0.057692 | 0.127764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057692 | false | 0 | 0.057692 | 0 | 0.25 | 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 |
a28a66c0994468912f6a3f98ac6ddd3757e87fa2 | 217,268 | py | Python | pydrs.py | lnls-elp/pydrs | 7c76d596509d4293972a5c0701eae93beeee9cbe | [
"MIT"
] | null | null | null | pydrs.py | lnls-elp/pydrs | 7c76d596509d4293972a5c0701eae93beeee9cbe | [
"MIT"
] | null | null | null | pydrs.py | lnls-elp/pydrs | 7c76d596509d4293972a5c0701eae93beeee9cbe | [
"MIT"
] | 1 | 2021-04-01T18:47:13.000Z | 2021-04-01T18:47:13.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Created on 26/04/2016
Versão 1.0
@author: Ricieri (ELP)
Python 3.4.4
"""
"""
Reviewed on 15/10/2020
Versão 1.0 rev.A - rounded printing values to 3 decimal places and displays '°C' instead of 'ºC'.
@author: Marcelo (ELP)
Python 3.8.6
"""
"""
Reviewed on 06/05/2021
Versão 1... | 50.598044 | 265 | 0.55056 | 26,490 | 217,268 | 4.279464 | 0.040619 | 0.036626 | 0.060972 | 0.075862 | 0.799555 | 0.775482 | 0.749495 | 0.735302 | 0.718197 | 0.701781 | 0 | 0.032604 | 0.311808 | 217,268 | 4,293 | 266 | 50.60983 | 0.725131 | 0.018908 | 0 | 0.550821 | 0 | 0.002303 | 0.187365 | 0.016792 | 0 | 0 | 0.000085 | 0 | 0 | 1 | 0.072272 | false | 0.006047 | 0.003167 | 0.000576 | 0.136769 | 0.197812 | 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 |
a2a8931a51fd34396e672c721c5f10973faf1824 | 33 | py | Python | inferno/trainers/callbacks/__init__.py | svenpeter42/inferno | 6bcae839f7989666acbf02c2fca87f0b528d9247 | [
"Apache-2.0"
] | null | null | null | inferno/trainers/callbacks/__init__.py | svenpeter42/inferno | 6bcae839f7989666acbf02c2fca87f0b528d9247 | [
"Apache-2.0"
] | 1 | 2017-12-20T21:36:48.000Z | 2017-12-20T21:36:48.000Z | inferno/trainers/callbacks/__init__.py | svenpeter42/inferno | 6bcae839f7989666acbf02c2fca87f0b528d9247 | [
"Apache-2.0"
] | 1 | 2021-01-27T12:29:30.000Z | 2021-01-27T12:29:30.000Z | from .base import CallbackEngine
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
a2c1e4722a0feff570186eafcc1bdae39438b977 | 122 | py | Python | gcn/predictors/__init__.py | CaiYufan-sjtu/GCNOIE | c84afca5b66d75c7108b2719241e2907700b4111 | [
"MIT"
] | null | null | null | gcn/predictors/__init__.py | CaiYufan-sjtu/GCNOIE | c84afca5b66d75c7108b2719241e2907700b4111 | [
"MIT"
] | null | null | null | gcn/predictors/__init__.py | CaiYufan-sjtu/GCNOIE | c84afca5b66d75c7108b2719241e2907700b4111 | [
"MIT"
] | null | null | null | from gcn.predictors.predictor import GCN_Predictor
from gcn.predictors.open_information_extraction import OpenIePredictor
| 40.666667 | 70 | 0.901639 | 15 | 122 | 7.133333 | 0.6 | 0.130841 | 0.317757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 122 | 2 | 71 | 61 | 0.938596 | 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 | 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 |
a2cff3c026153900f65aed2d98bb9d095069327f | 37 | py | Python | mod_pbxproj/__init__.py | crankycoder/mod_pbxproj | 82ebde6965ee0f4718c2298859e22c710ae9a206 | [
"BSD-3-Clause"
] | 13 | 2020-05-24T23:52:48.000Z | 2020-12-01T02:43:03.000Z | mod_pbxproj/__init__.py | crankycoder/mod_pbxproj | 82ebde6965ee0f4718c2298859e22c710ae9a206 | [
"BSD-3-Clause"
] | 3 | 2020-05-26T22:19:49.000Z | 2020-12-01T09:31:25.000Z | mod_pbxproj/__init__.py | crankycoder/mod_pbxproj | 82ebde6965ee0f4718c2298859e22c710ae9a206 | [
"BSD-3-Clause"
] | 3 | 2020-05-26T01:35:20.000Z | 2020-05-26T13:51:07.000Z | from mod_pbxproj import XcodeProject
| 18.5 | 36 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
a2f92e7d1d58283fa0126a14833e963fde0a68ed | 786 | py | Python | terrascript/oneandone/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/oneandone/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/oneandone/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/oneandone/r.py
import terrascript
class oneandone_server(terrascript.Resource):
pass
class oneandone_firewall_policy(terrascript.Resource):
pass
class oneandone_private_network(terrascript.Resource):
pass
class oneandone_public_ip(terrascript.Resource):
pass
class oneandone_shar... | 15.115385 | 56 | 0.790076 | 85 | 786 | 7.082353 | 0.294118 | 0.27907 | 0.458472 | 0.511628 | 0.719269 | 0.289037 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143766 | 786 | 51 | 57 | 15.411765 | 0.894502 | 0.033079 | 0 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.48 | 0.04 | 0 | 0.52 | 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 |
0c178a1069f39c518ddfd8a2916f2fbf97dfd531 | 44 | py | Python | FEM/Utils/__init__.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | 10 | 2021-03-21T18:38:40.000Z | 2022-02-22T01:32:06.000Z | FEM/Utils/__init__.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | null | null | null | FEM/Utils/__init__.py | ZibraMax/FEM | b868c60408a4f83dec4bb424d66be0b20e2ac71b | [
"MIT"
] | 1 | 2022-02-08T04:40:59.000Z | 2022-02-08T04:40:59.000Z | """Utilities
"""
from .polygonal import *
| 7.333333 | 24 | 0.636364 | 4 | 44 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 5 | 25 | 8.8 | 0.777778 | 0.204545 | 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 |
0c3bf75f340487eca11d6757cd68e1e3d0293969 | 80 | py | Python | run.py | gems-uff/sms | 01cfa84bd467617c58f58da04711c5097dd93fe6 | [
"MIT"
] | null | null | null | run.py | gems-uff/sms | 01cfa84bd467617c58f58da04711c5097dd93fe6 | [
"MIT"
] | null | null | null | run.py | gems-uff/sms | 01cfa84bd467617c58f58da04711c5097dd93fe6 | [
"MIT"
] | null | null | null | from app import create_app
from config import Config
app = create_app(Config)
| 13.333333 | 26 | 0.8 | 13 | 80 | 4.769231 | 0.384615 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 5 | 27 | 16 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0c40165cbb0b8d0079584a6e0a1e0a508475fc56 | 18,475 | py | Python | lg_common/src/lg_common/interactive_messages_factory.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_common/src/lg_common/interactive_messages_factory.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_common/src/lg_common/interactive_messages_factory.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | import sys
import json
import rospy
from interactivespaces_msgs.msg import GenericMessage
class InteractiveSpacesMessagesFactory:
"""
This class contains easy access to test messages
"""
def __init__(self):
self.publisher = None
self.test_one_browser_with_extension_msg = self._create_m... | 32.298951 | 109 | 0.489743 | 1,629 | 18,475 | 5.181093 | 0.108656 | 0.07109 | 0.077962 | 0.072156 | 0.81955 | 0.784953 | 0.755569 | 0.682583 | 0.610071 | 0.541232 | 0 | 0.037837 | 0.386306 | 18,475 | 571 | 110 | 32.355517 | 0.706562 | 0 | 0 | 0.557762 | 0 | 0.027076 | 0.840256 | 0.164007 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.001805 | 0.00722 | null | null | 0.018051 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0c48a33b78a498aba31c48f55f1b63e9dd1582f4 | 11,825 | py | Python | calliope_app/api/tests/test_urls.py | NREL/engage | c25bacc1e98f84671ba0c0e53fc98bace090a4d8 | [
"BSD-3-Clause"
] | 3 | 2021-01-25T18:13:00.000Z | 2021-04-30T12:17:42.000Z | calliope_app/api/tests/test_urls.py | NREL/engage | c25bacc1e98f84671ba0c0e53fc98bace090a4d8 | [
"BSD-3-Clause"
] | 8 | 2020-12-11T22:28:17.000Z | 2022-03-05T02:08:27.000Z | calliope_app/api/tests/test_urls.py | NREL/engage | c25bacc1e98f84671ba0c0e53fc98bace090a4d8 | [
"BSD-3-Clause"
] | 1 | 2021-09-15T22:15:12.000Z | 2021-09-15T22:15:12.000Z | """
Unit tests for Django app "api" urls.
"""
import uuid
from django.conf import settings
from django.test import TestCase
from django.urls import reverse, resolve
from django.utils import translation
class APIUserURLTestCase(TestCase):
def test_user_registration(self):
view_name = "user_registration"
... | 39.155629 | 88 | 0.641099 | 1,323 | 11,825 | 5.436886 | 0.055933 | 0.133463 | 0.062561 | 0.070902 | 0.798832 | 0.773808 | 0.766023 | 0.766023 | 0.766023 | 0.766023 | 0 | 0.000115 | 0.26537 | 11,825 | 301 | 89 | 39.285714 | 0.827904 | 0.003129 | 0 | 0.524229 | 0 | 0 | 0.134635 | 0.104839 | 0 | 0 | 0 | 0 | 0.264317 | 1 | 0.132159 | false | 0 | 0.022026 | 0 | 0.193833 | 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 |
a753a8170b3bb06b0d8295bb938258d900fe2c90 | 158 | py | Python | bkash/_constants.py | aniruddha-adhikary/bkash-api-client-python | dc702e0444a9f4716ff5fb20fff7ae494a0482cb | [
"MIT"
] | 19 | 2018-05-19T13:57:04.000Z | 2021-07-05T12:18:28.000Z | bkash/_constants.py | Revel109/bkash-api-client-python | dc702e0444a9f4716ff5fb20fff7ae494a0482cb | [
"MIT"
] | null | null | null | bkash/_constants.py | Revel109/bkash-api-client-python | dc702e0444a9f4716ff5fb20fff7ae494a0482cb | [
"MIT"
] | 4 | 2018-05-19T13:31:51.000Z | 2019-10-03T10:49:43.000Z | API_VERSION = '0.40.0'
SANDBOX_BASE = 'https://{service}.sandbox.bka.sh/v{version}/{path}'
PRODUCTION_BASE = 'https://{service}.pay.bka.sh/v{version}/{path}'
| 39.5 | 67 | 0.696203 | 25 | 158 | 4.28 | 0.56 | 0.168224 | 0.299065 | 0.242991 | 0.317757 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.056962 | 158 | 3 | 68 | 52.666667 | 0.691275 | 0 | 0 | 0 | 0 | 0 | 0.64557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a76692a63d328faec5fe0e20b873396c72b65186 | 2,755 | py | Python | tests/test_views.py | cocodelabs/api.palaverapp.com | cb517a2cd1dea12fadf4f72147fecf0105cbd717 | [
"BSD-3-Clause"
] | 3 | 2016-07-03T21:19:18.000Z | 2021-07-10T18:32:16.000Z | tests/test_views.py | cocodelabs/api.palaverapp.com | cb517a2cd1dea12fadf4f72147fecf0105cbd717 | [
"BSD-3-Clause"
] | 66 | 2015-03-27T21:52:11.000Z | 2021-09-06T17:56:59.000Z | tests/test_views.py | cocodelabs/api.palaverapp.com | cb517a2cd1dea12fadf4f72147fecf0105cbd717 | [
"BSD-3-Clause"
] | 1 | 2021-07-28T19:45:31.000Z | 2021-07-28T19:45:31.000Z | import json
import unittest
from rivr.test import Client
from palaverapi import app
from palaverapi.models import Device, Token
class ViewTests(unittest.TestCase):
def setUp(self) -> None:
self.client = Client(app)
def test_status(self) -> None:
assert self.client.get('/').status_code == 20... | 30.955056 | 103 | 0.563702 | 256 | 2,755 | 5.917969 | 0.203125 | 0.072607 | 0.083168 | 0.09571 | 0.784158 | 0.784158 | 0.732673 | 0.732673 | 0.732673 | 0.732673 | 0 | 0.063975 | 0.307804 | 2,755 | 88 | 104 | 31.306818 | 0.730467 | 0 | 0 | 0.666667 | 0 | 0 | 0.198911 | 0.060254 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.053333 | false | 0 | 0.066667 | 0 | 0.133333 | 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 |
a779d99fe199a05d0492065bd295925196caedd2 | 313 | py | Python | generated-libraries/python/netapp/aggr/aggrraidtype.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/aggr/aggrraidtype.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/aggr/aggrraidtype.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class Aggrraidtype(basestring):
"""
raid_dp|raid4
Possible values:
<ul>
<li> "raid_dp" ,
<li> "raid4" ,
<li> "raid0" ,
<li> "mixed_raid_type"
</ul>
"""
@staticmethod
def get_api_name():
return "aggrraidtype"
| 18.411765 | 31 | 0.453674 | 28 | 313 | 4.857143 | 0.678571 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.415335 | 313 | 16 | 32 | 19.5625 | 0.726776 | 0.472843 | 0 | 0 | 0 | 0 | 0.099174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a78a06e5ebf48d0f7d299088d305b63532e04717 | 120 | py | Python | modern3.py | yanapermana/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 49 | 2015-07-03T21:21:45.000Z | 2022-03-31T04:04:42.000Z | modern3.py | hangetzzu/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 3 | 2015-11-03T03:49:25.000Z | 2019-11-04T16:03:18.000Z | modern3.py | hangetzzu/metadecryptor | 7c3e11ddb8ae05c19dbebd8ed2c744ff86ceaa2f | [
"BSD-3-Clause"
] | 17 | 2015-07-05T15:24:18.000Z | 2022-01-17T22:33:26.000Z | from check_RSA3 import *
class Modern3:
def __init__(self):
pass
def check_RSAs(self, target):
check_RSA(target) | 15 | 30 | 0.741667 | 18 | 120 | 4.555556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.166667 | 120 | 8 | 31 | 15 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a7adba42a75cf5b5fc19f5d82e67f3d347b31aae | 66 | py | Python | build/lib/pyconfluent/__init__.py | newellp2019/pyconfluent | b1de0b8255678c2e6a3a7d016df57b9f40cdc861 | [
"MIT"
] | null | null | null | build/lib/pyconfluent/__init__.py | newellp2019/pyconfluent | b1de0b8255678c2e6a3a7d016df57b9f40cdc861 | [
"MIT"
] | null | null | null | build/lib/pyconfluent/__init__.py | newellp2019/pyconfluent | b1de0b8255678c2e6a3a7d016df57b9f40cdc861 | [
"MIT"
] | null | null | null | from .ksql import KSQL
from .schema_registry import SchemaRegistry | 33 | 43 | 0.863636 | 9 | 66 | 6.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 2 | 43 | 33 | 0.949153 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.