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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6e84d78db2d0d24d596aa54a1e66e591b01f53c3 | 13,069 | py | Python | tools/install_venv_common.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | tools/install_venv_common.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | tools/install_venv_common.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2013 OpenStack Foundation'
nl|'\n'
comment|'# Copyright 2013 IBM Corp.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n... | 13.362986 | 297 | 0.593618 | 1,899 | 13,069 | 4.027909 | 0.133755 | 0.124722 | 0.086286 | 0.097006 | 0.663616 | 0.560858 | 0.49732 | 0.440319 | 0.377566 | 0.310629 | 0 | 0.002446 | 0.123957 | 13,069 | 977 | 298 | 13.376663 | 0.665648 | 0 | 0 | 0.894575 | 0 | 0.001024 | 0.873594 | 0.101079 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.001024 | 0.005118 | null | null | 0.009212 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e9d89516e75abd9400163e54b0db9593ca16074 | 50 | py | Python | src/dictish/__init__.py | DevL/dictish | ac29ee63c0eceae42099aa08af5dd3f921d276df | [
"MIT"
] | null | null | null | src/dictish/__init__.py | DevL/dictish | ac29ee63c0eceae42099aa08af5dd3f921d276df | [
"MIT"
] | null | null | null | src/dictish/__init__.py | DevL/dictish | ac29ee63c0eceae42099aa08af5dd3f921d276df | [
"MIT"
] | null | null | null | from .dictish import Dictish
__all__ = [Dictish]
| 12.5 | 28 | 0.76 | 6 | 50 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 3 | 29 | 16.666667 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6ebc91ac5ebb27c27627938f301ef01c496186bc | 244 | py | Python | src/rqt_ez_publisher/quaternion_module/quaternion_module.py | TaekedeHaan/rqt_ez_publisher | 80f1a26f738beca02c520ebaf77019441cd564e5 | [
"BSD-3-Clause"
] | 26 | 2015-01-22T13:11:48.000Z | 2022-02-23T15:07:23.000Z | src/rqt_ez_publisher/quaternion_module/quaternion_module.py | TaekedeHaan/rqt_ez_publisher | 80f1a26f738beca02c520ebaf77019441cd564e5 | [
"BSD-3-Clause"
] | 15 | 2015-03-22T04:39:18.000Z | 2020-12-01T01:42:11.000Z | src/rqt_ez_publisher/quaternion_module/quaternion_module.py | TaekedeHaan/rqt_ez_publisher | 80f1a26f738beca02c520ebaf77019441cd564e5 | [
"BSD-3-Clause"
] | 14 | 2015-11-12T16:07:07.000Z | 2021-08-17T13:58:23.000Z | from .. import base_module
from . import rpy_widget
class QuaternionModule(base_module.BaseModule):
def get_msg_string(self):
return 'geometry_msgs/Quaternion'
def get_widget_class(self):
return rpy_widget.RPYWidget
| 20.333333 | 47 | 0.741803 | 31 | 244 | 5.548387 | 0.612903 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188525 | 244 | 11 | 48 | 22.181818 | 0.868687 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6ed8b42ead94626402dde2507ac90823697e3bfd | 98 | py | Python | manage_music/apps.py | lzbrooks/track-scraper | eab47ae232ab18f4ae2a59c32c5ea83b7dd4d0a9 | [
"MIT"
] | 1 | 2017-12-07T04:40:12.000Z | 2017-12-07T04:40:12.000Z | manage_music/apps.py | lzbrooks/track-scraper | eab47ae232ab18f4ae2a59c32c5ea83b7dd4d0a9 | [
"MIT"
] | null | null | null | manage_music/apps.py | lzbrooks/track-scraper | eab47ae232ab18f4ae2a59c32c5ea83b7dd4d0a9 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ManageMusicConfig(AppConfig):
name = 'manage_music'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6ee57532397e172345c279c01cf32cecb56f3385 | 1,957 | py | Python | infoblox_netmri/api/remote/models/device_viewer_router_bgp_grid_remote.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/remote/models/device_viewer_router_bgp_grid_remote.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/remote/models/device_viewer_router_bgp_grid_remote.py | IngmarVG-IB/infoblox-netmri | b0c725fd64aee1890d83917d911b89236207e564 | [
"Apache-2.0"
] | null | null | null | from ..remote import RemoteModel
from infoblox_netmri.utils.utils import check_api_availability
class DeviceViewerRouterBgpGridRemote(RemoteModel):
"""
| ``id:`` none
| ``attribute type:`` string
| ``DeviceID:`` none
| ``attribute type:`` string
| ``BGPLocalIPDotted:`... | 20.819149 | 62 | 0.469596 | 113 | 1,957 | 8.106195 | 0.292035 | 0.227074 | 0.296943 | 0.401747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.399591 | 1,957 | 94 | 63 | 20.819149 | 0.779574 | 0.47164 | 0 | 0 | 0 | 0 | 0.250305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42b636d24cb7451f2b5828128d12fd373a9f91e2 | 148 | py | Python | pydiscordbio/__init__.py | awersli99/pydiscordbio | adbe6853594f1ee700043f9520dfd9a893fa44f0 | [
"MIT"
] | 7 | 2020-08-29T15:56:24.000Z | 2021-02-21T22:30:37.000Z | pydiscordbio/__init__.py | awersli99/pydiscordbio | adbe6853594f1ee700043f9520dfd9a893fa44f0 | [
"MIT"
] | null | null | null | pydiscordbio/__init__.py | awersli99/pydiscordbio | adbe6853594f1ee700043f9520dfd9a893fa44f0 | [
"MIT"
] | null | null | null | from .client import Client
from .exceptions import APIError, NotFound, UserNotFound, InvalidSearch
__author__ = "Adam Worsley"
__license__ = "MIT"
| 24.666667 | 71 | 0.797297 | 16 | 148 | 6.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 5 | 72 | 29.6 | 0.852713 | 0 | 0 | 0 | 0 | 0 | 0.101351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
42b9f77e2b9c35972ad7a9cdac179dba7b396d23 | 167 | py | Python | vr/server/balancer/varnish.py | isabella232/vr.server | 705511f8176bda0627be1ae86a458178589ee3db | [
"MIT"
] | null | null | null | vr/server/balancer/varnish.py | isabella232/vr.server | 705511f8176bda0627be1ae86a458178589ee3db | [
"MIT"
] | 3 | 2016-12-15T21:55:02.000Z | 2019-02-13T11:43:29.000Z | vr/server/balancer/varnish.py | isabella232/vr.server | 705511f8176bda0627be1ae86a458178589ee3db | [
"MIT"
] | 2 | 2017-01-16T09:31:03.000Z | 2022-03-26T09:21:36.000Z | import warnings
from vr.common.balancer.varnish import VarnishBalancer
warnings.warn("This module is deprecated", DeprecationWarning)
__all__ = ['VarnishBalancer']
| 20.875 | 62 | 0.814371 | 18 | 167 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101796 | 167 | 7 | 63 | 23.857143 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.239521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
42eecf83b366f53ce62b240a8b8d6d64176af44a | 193 | py | Python | examples_elo_ratings/latex_manager_elo_ratings.py | MarcoGorelli/precise | 227d017d45f1c4b39887a85133f3d62950a1e341 | [
"MIT"
] | 40 | 2022-01-13T00:40:59.000Z | 2022-03-31T20:33:19.000Z | examples_elo_ratings/latex_manager_elo_ratings.py | MarcoGorelli/precise | 227d017d45f1c4b39887a85133f3d62950a1e341 | [
"MIT"
] | 14 | 2022-01-08T16:00:12.000Z | 2022-03-16T00:12:04.000Z | examples_elo_ratings/latex_manager_elo_ratings.py | MarcoGorelli/precise | 227d017d45f1c4b39887a85133f3d62950a1e341 | [
"MIT"
] | 9 | 2022-01-26T21:14:43.000Z | 2022-03-21T17:32:02.000Z | from precise.skatervaluation.battlelatex.tables import elo_latex_table
if __name__=='__main__':
ltx = elo_latex_table(genre='manager_var',category='stocks_5_days_p25_n20')
print(ltx) | 38.6 | 80 | 0.792746 | 27 | 193 | 5.037037 | 0.851852 | 0.117647 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028902 | 0.103627 | 193 | 5 | 81 | 38.6 | 0.757225 | 0 | 0 | 0 | 0 | 0 | 0.206186 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
42f3ba1808a832bbd67d4fbbe2102554898ad69a | 300 | py | Python | config.py | fras2560/InducedSubgraph | be06a444a2ef0d244831ee74152a8ef2711cdbe3 | [
"MIT"
] | 1 | 2015-10-21T20:40:48.000Z | 2015-10-21T20:40:48.000Z | config.py | fras2560/dfa | 66e7c28ad0eb2fa983451518a724053b43b2a178 | [
"MIT"
] | 4 | 2019-10-08T17:47:58.000Z | 2021-01-18T05:03:36.000Z | config.py | fras2560/dfa | 66e7c28ad0eb2fa983451518a724053b43b2a178 | [
"MIT"
] | 2 | 2016-05-03T00:47:48.000Z | 2016-08-31T12:54:44.000Z | """
-------------------------------------------------------
config
flask config file
-------------------------------------------------------
Author: Dallas
ID: 110242560
Email: fras2560@mylaurier.ca
Version: 2014-09-18
-------------------------------------------------------
"""
DEBUG = True
| 23.076923 | 55 | 0.306667 | 18 | 300 | 5.111111 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077206 | 0.093333 | 300 | 12 | 56 | 25 | 0.261029 | 0.926667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42f62787365331d912b08e6811618e9b8323c620 | 650 | py | Python | pynars/NARS/InferenceEngine/Engine.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NARS/InferenceEngine/Engine.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NARS/InferenceEngine/Engine.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | from copy import copy
from pynars.NAL.Functions.Tools import project_truth, revisible
from pynars.Narsese._py.Budget import Budget
from pynars.Narsese._py.Term import Term
from ..DataStructures import Task, Belief, Concept, TaskLink, TermLink
from typing import Callable, List, Tuple
from ..RuleMap import RuleCallable, ... | 24.074074 | 70 | 0.724615 | 86 | 650 | 5.348837 | 0.523256 | 0.108696 | 0.056522 | 0.082609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195385 | 650 | 27 | 71 | 24.074074 | 0.879541 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.15 | 0.45 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
6e05b73c237485225c28bba2e4c6cfd5313430cb | 400 | py | Python | bootstrap/mara/test/programs/__init__.py | dacjames/mara-lang | 4f09e600f8b6907b9f610c7be0814365adad4fdf | [
"MIT"
] | 1 | 2016-09-21T23:19:41.000Z | 2016-09-21T23:19:41.000Z | bootstrap/mara/test/programs/__init__.py | dacjames/mara-lang | 4f09e600f8b6907b9f610c7be0814365adad4fdf | [
"MIT"
] | null | null | null | bootstrap/mara/test/programs/__init__.py | dacjames/mara-lang | 4f09e600f8b6907b9f610c7be0814365adad4fdf | [
"MIT"
] | null | null | null | import os
import os.path
import pytest
def _locate_program(name):
directory = os.path.dirname(__file__)
program_path = os.path.join(directory, name)
return program_path
def _read_program(name):
program = _locate_program(name)
with open(program, 'r') as f:
return f.read()
@pytest.fixture
... | 21.052632 | 48 | 0.725 | 55 | 400 | 4.963636 | 0.4 | 0.201465 | 0.124542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 400 | 18 | 49 | 22.222222 | 0.827273 | 0 | 0 | 0 | 0 | 0 | 0.0525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.214286 | 0.071429 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6e12ca09f807f5b82eb688a46753973381437b5f | 56 | py | Python | test_project/select2_nestedadmin/__init__.py | epoiate/django-autocomplete-light | 6cefd5ea73d1ef2c1c800cd1fdcf6cc6fbe27886 | [
"MIT"
] | 1,368 | 2015-01-03T09:52:33.000Z | 2022-03-27T09:06:00.000Z | test_project/select2_nestedadmin/__init__.py | epoiate/django-autocomplete-light | 6cefd5ea73d1ef2c1c800cd1fdcf6cc6fbe27886 | [
"MIT"
] | 919 | 2015-01-01T05:17:48.000Z | 2022-03-25T22:41:14.000Z | test_project/select2_nestedadmin/__init__.py | epoiate/django-autocomplete-light | 6cefd5ea73d1ef2c1c800cd1fdcf6cc6fbe27886 | [
"MIT"
] | 469 | 2015-01-19T21:40:30.000Z | 2022-03-26T17:27:40.000Z | default_app_config = 'select2_nestedadmin.apps.TestApp'
| 28 | 55 | 0.857143 | 7 | 56 | 6.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.053571 | 56 | 1 | 56 | 56 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e20bcd18c72cb92a2955a44ab6d51e37a3fadeb | 136 | py | Python | Episode1/python_Script/antiDbgAlgho.py | invictus1306/ARM-episodes | febbcaff173f86738d20db0d771215360b1deabe | [
"Apache-2.0"
] | 80 | 2017-07-18T00:39:33.000Z | 2021-08-02T12:08:37.000Z | Episode1/python_Script/antiDbgAlgho.py | invictus1306/ARM-episodes | febbcaff173f86738d20db0d771215360b1deabe | [
"Apache-2.0"
] | null | null | null | Episode1/python_Script/antiDbgAlgho.py | invictus1306/ARM-episodes | febbcaff173f86738d20db0d771215360b1deabe | [
"Apache-2.0"
] | 21 | 2017-09-22T07:16:02.000Z | 2021-07-27T17:39:09.000Z | num = 0x997-0x724
for c in range (0x20,0x7f):
ref = c^0x69 | (c<<3)
if (ref==num):
print "The number is " + hex(c)
print "End!"
| 19.428571 | 35 | 0.573529 | 25 | 136 | 3.12 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 0.235294 | 136 | 6 | 36 | 22.666667 | 0.586538 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 0 | 0 | 0 | 0.161765 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6e21de3902ebcbf91194e01fd9561aeed8248fce | 228 | py | Python | src/s1010hy-wiki/s1010hy-wiki2text-v01.py | bogdanbabych/low-resourced-lexicon-data | 32c7cec71b4511b73fd233d15b3c85455050310e | [
"MIT"
] | null | null | null | src/s1010hy-wiki/s1010hy-wiki2text-v01.py | bogdanbabych/low-resourced-lexicon-data | 32c7cec71b4511b73fd233d15b3c85455050310e | [
"MIT"
] | null | null | null | src/s1010hy-wiki/s1010hy-wiki2text-v01.py | bogdanbabych/low-resourced-lexicon-data | 32c7cec71b4511b73fd233d15b3c85455050310e | [
"MIT"
] | null | null | null | '''
Created on 25 Mar 2020
@author: bogdan
'''
class s1010hy_wiki2text(object):
'''
parsing wikipedia xml, extracting textual input
'''
def __init__(self):
'''
Constructor
'''
| 13.411765 | 51 | 0.548246 | 21 | 228 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072368 | 0.333333 | 228 | 17 | 52 | 13.411765 | 0.717105 | 0.434211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2817530b81c96fe1fea4bef54bd70744db13db3b | 144 | py | Python | app/api/v1/user.py | hello3306/lin-cms-flask | db98f838323baf476cded0578df65651fb64ce74 | [
"MIT"
] | 1 | 2019-08-12T07:12:43.000Z | 2019-08-12T07:12:43.000Z | app/api/v1/user.py | hello3306/lin-cms-flask | db98f838323baf476cded0578df65651fb64ce74 | [
"MIT"
] | null | null | null | app/api/v1/user.py | hello3306/lin-cms-flask | db98f838323baf476cded0578df65651fb64ce74 | [
"MIT"
] | null | null | null | """
Hello
"""
from lin.redprint import Redprint
api = Redprint('user')
@api.route('', methods=['POST'])
def get_user():
return 'user'
| 11.076923 | 33 | 0.618056 | 18 | 144 | 4.888889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 144 | 12 | 34 | 12 | 0.745763 | 0.034722 | 0 | 0 | 0 | 0 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
285a53a35af7b55af1b158a2c8ddb3670c3fe07e | 405 | py | Python | xos/core/views/deployments.py | wathsalav/xos | f6bcaa37a948ee41729236afe7fce0802e002404 | [
"Apache-2.0"
] | null | null | null | xos/core/views/deployments.py | wathsalav/xos | f6bcaa37a948ee41729236afe7fce0802e002404 | [
"Apache-2.0"
] | null | null | null | xos/core/views/deployments.py | wathsalav/xos | f6bcaa37a948ee41729236afe7fce0802e002404 | [
"Apache-2.0"
] | null | null | null | from core.serializers import DeploymentSerializer
from rest_framework import generics
from core.models import Deployment
class DeploymentList(generics.ListCreateAPIView):
queryset = Deployment.objects.all()
serializer_class = DeploymentSerializer
class DeploymentDetail(generics.RetrieveUpdateDestroyAPIView):
... | 31.153846 | 62 | 0.82963 | 37 | 405 | 9 | 0.513514 | 0.048048 | 0.15015 | 0.168168 | 0.378378 | 0.378378 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0.116049 | 405 | 12 | 63 | 33.75 | 0.930168 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
2860a70bd61ead8282e29e91fd55aad710b7f144 | 312 | py | Python | MUNDO1/Ex019_Sort.py | KayDeVC/Python-CeV | ad65b5d35987475479795fa752f6bd1f79c9953a | [
"MIT"
] | null | null | null | MUNDO1/Ex019_Sort.py | KayDeVC/Python-CeV | ad65b5d35987475479795fa752f6bd1f79c9953a | [
"MIT"
] | null | null | null | MUNDO1/Ex019_Sort.py | KayDeVC/Python-CeV | ad65b5d35987475479795fa752f6bd1f79c9953a | [
"MIT"
] | null | null | null | import random
print('SORTEIO RANDÔMICO')
al1 = str(input('Nome do primeiro aluno:'))
al2 = str(input('Nome do segundo aluno:'))
al3 = str(input('Nome do terceiro aluno:'))
al4 = str(input('Nome do quarto aluno:'))
lista = [al1, al2, al3, al4]
sort = random.choice(lista)
print('Aluno sorteado: {}!'.format(sort)) | 34.666667 | 43 | 0.692308 | 47 | 312 | 4.595745 | 0.489362 | 0.148148 | 0.222222 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029304 | 0.125 | 312 | 9 | 44 | 34.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.399361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.222222 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
286230d66d887a50fa2c1f6503f927b0d80434fc | 1,597 | py | Python | rf/addressbook.py | tinytoon1/python | cc320fddea962fec97eb928e2c4ebbd5bad3ed43 | [
"Apache-2.0"
] | null | null | null | rf/addressbook.py | tinytoon1/python | cc320fddea962fec97eb928e2c4ebbd5bad3ed43 | [
"Apache-2.0"
] | null | null | null | rf/addressbook.py | tinytoon1/python | cc320fddea962fec97eb928e2c4ebbd5bad3ed43 | [
"Apache-2.0"
] | null | null | null | import json
import os.path
from fixture.application import Application
from fixture.db import DBFixture
from model.contact import Contact
class addressbook:
ROBOT_LIBRARY_SCOPE = 'TEST SUITE'
def __init__(self, config="target.json"):
config_file = os.path.join(os.path.dirname(os.path.abspath(__file_... | 34.717391 | 111 | 0.689418 | 206 | 1,597 | 5.126214 | 0.315534 | 0.0625 | 0.045455 | 0.037879 | 0.102273 | 0.047348 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194114 | 1,597 | 45 | 112 | 35.488889 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.044458 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 1 | 0.272727 | false | 0.060606 | 0.151515 | 0.060606 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
28746a9ab098b21f3aa8c40d0a23d78dfd2ff689 | 156 | py | Python | endianness.py | leaen/Codeeval-solutions | fa83cb4fba3e56f79c0a6b00361c18cd3092c3f0 | [
"MIT"
] | null | null | null | endianness.py | leaen/Codeeval-solutions | fa83cb4fba3e56f79c0a6b00361c18cd3092c3f0 | [
"MIT"
] | null | null | null | endianness.py | leaen/Codeeval-solutions | fa83cb4fba3e56f79c0a6b00361c18cd3092c3f0 | [
"MIT"
] | null | null | null | import struct
# Find endianness via struct module.
if struct.unpack('<I', struct.pack('=I', 1))[0] == 1:
print("LittleEndian")
else:
print("BigEndian")
| 17.333333 | 53 | 0.673077 | 22 | 156 | 4.772727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.134615 | 156 | 8 | 54 | 19.5 | 0.755556 | 0.217949 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
287c313d559bded2b0eee056f9d3af740a86bfeb | 58 | py | Python | src/python/grongier/dacite/data.py | grongierisc/interoperability-embedded-python | 6885c7249ea902a30d17a9dad1bde3d1e0223e8a | [
"MIT"
] | null | null | null | src/python/grongier/dacite/data.py | grongierisc/interoperability-embedded-python | 6885c7249ea902a30d17a9dad1bde3d1e0223e8a | [
"MIT"
] | 1 | 2022-02-13T12:32:47.000Z | 2022-02-16T07:58:24.000Z | src/python/grongier/dacite/data.py | grongierisc/interoperability-embedded-python | 6885c7249ea902a30d17a9dad1bde3d1e0223e8a | [
"MIT"
] | 1 | 2022-01-12T09:07:53.000Z | 2022-01-12T09:07:53.000Z | from typing import Any, Mapping
Data = Mapping[str, Any]
| 14.5 | 31 | 0.741379 | 9 | 58 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 58 | 3 | 32 | 19.333333 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
287e26a2b27d19f05e25a28ac66a76db3f653219 | 313 | py | Python | ex034.py | danieldf0l/exercicios-curso-python3 | 8f8a0e2467efee855da47ea47a4c2f4fda152c41 | [
"MIT"
] | null | null | null | ex034.py | danieldf0l/exercicios-curso-python3 | 8f8a0e2467efee855da47ea47a4c2f4fda152c41 | [
"MIT"
] | null | null | null | ex034.py | danieldf0l/exercicios-curso-python3 | 8f8a0e2467efee855da47ea47a4c2f4fda152c41 | [
"MIT"
] | null | null | null | salario = float(input('Insira o salário do funcionário que receberá um aumento: '))
if salario <= 1250:
novoSalario = salario + (salario * 15 / 100)
else:
novoSalario = salario + (salario * 10 / 100)
print(f'Um funcionário com o salário de {salario}, após o aumento, passa a receber R${novoSalario:.2f}')
| 44.714286 | 104 | 0.699681 | 44 | 313 | 4.977273 | 0.659091 | 0.073059 | 0.228311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058594 | 0.182109 | 313 | 6 | 105 | 52.166667 | 0.796875 | 0 | 0 | 0 | 0 | 0.166667 | 0.482428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
288dbe3fafda34feba653abaf6344ffb87959f7b | 38 | py | Python | constants.py | raviqqe/qa-bot | ea277e1e3ae331ecca756776bb562f5541843a53 | [
"MIT"
] | null | null | null | constants.py | raviqqe/qa-bot | ea277e1e3ae331ecca756776bb562f5541843a53 | [
"MIT"
] | null | null | null | constants.py | raviqqe/qa-bot | ea277e1e3ae331ecca756776bb562f5541843a53 | [
"MIT"
] | null | null | null | EOS = 0
UNKNOWN = 1
N_DUMMY_CHARS = 2
| 9.5 | 17 | 0.684211 | 8 | 38 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.236842 | 38 | 3 | 18 | 12.666667 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
289a2310fd5e28f43de9b448bbe77c326d177378 | 1,068 | py | Python | binilla/widgets/field_widgets/computed_text_frame.py | delan/binilla | 4e209a277d321160cd41ee70ecba3ad54559afb0 | [
"MIT"
] | 1 | 2020-05-04T19:42:47.000Z | 2020-05-04T19:42:47.000Z | binilla/widgets/field_widgets/computed_text_frame.py | delan/binilla | 4e209a277d321160cd41ee70ecba3ad54559afb0 | [
"MIT"
] | 11 | 2019-09-30T03:16:25.000Z | 2020-01-28T21:46:37.000Z | binilla/widgets/field_widgets/computed_text_frame.py | delan/binilla | 4e209a277d321160cd41ee70ecba3ad54559afb0 | [
"MIT"
] | 2 | 2019-09-02T06:31:59.000Z | 2020-01-19T17:11:10.000Z | import tkinter as tk
from traceback import format_exc
from binilla.widgets.field_widgets import text_frame
class ComputedTextFrame(text_frame.TextFrame):
def export_node(self): pass
def import_node(self): pass
def build_replace_map(self): pass
def flush(self, *a, **kw): pass
def set_edited(self, ... | 27.384615 | 56 | 0.596442 | 136 | 1,068 | 4.529412 | 0.426471 | 0.068182 | 0.097403 | 0.053571 | 0.219156 | 0.196429 | 0.100649 | 0 | 0 | 0 | 0 | 0.005413 | 0.308052 | 1,068 | 38 | 57 | 28.105263 | 0.828146 | 0 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0.193548 | 0.129032 | 0 | 0.516129 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
954555409bb05f0e8b66c9e9bda8358b7b21d1b6 | 1,310 | py | Python | src/figcli/models/aws_session.py | figtools/figgy-cli | 88f4ccb8221ef9734f95b2637acfacc6e00983e7 | [
"Apache-2.0"
] | 36 | 2020-07-21T21:22:02.000Z | 2021-10-20T06:55:47.000Z | src/figcli/models/aws_session.py | figtools/figgy-cli | 88f4ccb8221ef9734f95b2637acfacc6e00983e7 | [
"Apache-2.0"
] | 2 | 2020-10-29T12:49:15.000Z | 2021-04-29T01:12:05.000Z | src/figcli/models/aws_session.py | figtools/figgy-cli | 88f4ccb8221ef9734f95b2637acfacc6e00983e7 | [
"Apache-2.0"
] | null | null | null | import datetime
import time
import logging
from typing import Dict
# Todo add support for expiration and check for expiration rather than calling STS with session.
from pydantic import BaseModel, Field, validator
# This is in the "expiration" window if it's within 10M of it's expiration time.
EXPIRATION_WINDOW = 60 *... | 27.87234 | 159 | 0.673282 | 150 | 1,310 | 5.806667 | 0.54 | 0.073479 | 0.068886 | 0.058553 | 0.13318 | 0.087256 | 0 | 0 | 0 | 0 | 0 | 0.01537 | 0.205344 | 1,310 | 46 | 160 | 28.478261 | 0.821326 | 0.246565 | 0 | 0 | 0 | 0 | 0.089231 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 1 | 0.117647 | false | 0 | 0.294118 | 0.117647 | 0.823529 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9566f78bc2e0fda199274227a0ff938b8623358a | 3,006 | py | Python | pcg_gazebo/parsers/sdf/track_visual.py | TForce1/pcg_gazebo | 9ff88016b7b6903236484958ca7c6ed9f8ffb346 | [
"ECL-2.0",
"Apache-2.0"
] | 40 | 2020-02-04T18:16:49.000Z | 2022-02-22T11:36:34.000Z | pcg_gazebo/parsers/sdf/track_visual.py | awesomebytes/pcg_gazebo | 4f335dd460ef7c771f1df78b46a92fad4a62cedc | [
"ECL-2.0",
"Apache-2.0"
] | 75 | 2020-01-23T13:40:50.000Z | 2022-02-09T07:26:01.000Z | pcg_gazebo/parsers/sdf/track_visual.py | GimpelZhang/gazebo_world_generator | eb7215499d0ddc972d804c988fadab1969579b1b | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2020-09-10T06:35:41.000Z | 2022-02-20T19:08:17.000Z | # Copyright (c) 2019 - The Procedural Generation for Gazebo authors
# For information on the respective copyright owner see the NOTICE file
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#... | 30.363636 | 76 | 0.693945 | 408 | 3,006 | 4.882353 | 0.286765 | 0.084337 | 0.045683 | 0.059739 | 0.23745 | 0.208333 | 0.065261 | 0 | 0 | 0 | 0 | 0.006686 | 0.203925 | 3,006 | 98 | 77 | 30.673469 | 0.825742 | 0.218563 | 0 | 0.106061 | 0 | 0 | 0.058269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.121212 | 0.106061 | 0.515152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
95953b8dadf509b837dec16b406c327f93976a84 | 199 | py | Python | FbxPipeline/generated/apemodefb/ESkeletonTypeFb.py | VladSerhiienko/FbxPipeline | 540a6b7f90e402dcf3c8c7b25a6fb831e552b164 | [
"Apache-2.0"
] | 72 | 2017-03-13T04:20:52.000Z | 2022-01-07T10:58:11.000Z | FbxPipeline/generated/apemodefb/ESkeletonTypeFb.py | VladSerhiienko/FbxPipeline | 540a6b7f90e402dcf3c8c7b25a6fb831e552b164 | [
"Apache-2.0"
] | 1 | 2017-02-21T12:26:45.000Z | 2017-02-22T17:30:44.000Z | FbxPipeline/generated/apemodefb/ESkeletonTypeFb.py | VladSerhiienko/FbxPipeline | 540a6b7f90e402dcf3c8c7b25a6fb831e552b164 | [
"Apache-2.0"
] | 10 | 2017-02-04T23:57:24.000Z | 2021-08-08T01:59:24.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: apemodefb
class ESkeletonTypeFb(object):
Root = 0
Limb = 1
LimbNode = 2
Effector = 3
None = 4
| 16.583333 | 68 | 0.673367 | 24 | 199 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0.266332 | 199 | 11 | 69 | 18.090909 | 0.883562 | 0.437186 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
959ef451e8cc1ac3c891fca426d8545fd7f8e3fb | 1,171 | py | Python | epsilon.py | AriyaISIHARA/epsilon | 436645a83955378668fd48be78ea5d1718c95178 | [
"MIT"
] | null | null | null | epsilon.py | AriyaISIHARA/epsilon | 436645a83955378668fd48be78ea5d1718c95178 | [
"MIT"
] | null | null | null | epsilon.py | AriyaISIHARA/epsilon | 436645a83955378668fd48be78ea5d1718c95178 | [
"MIT"
] | null | null | null | """epsilon
Computes neighbor representable float.
For any float `f` such that `abs(f) < float.max`,
`next_float64(previous_float64(f)) == previous_float64(next_float64(f)) == f`
holds.
Note: works only in python implementations where `float` is IEEE754 64-bit float.
"""
import ctypes
def next_float64(f):
"""... | 23.42 | 95 | 0.60205 | 159 | 1,171 | 4.327044 | 0.352201 | 0.130814 | 0.02907 | 0.069767 | 0.340116 | 0.340116 | 0.340116 | 0.340116 | 0.340116 | 0.340116 | 0 | 0.030543 | 0.24509 | 1,171 | 49 | 96 | 23.897959 | 0.747738 | 0.639624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
95a47feae130b5c146f848013301d22c1554b548 | 57 | py | Python | test.py | Arya-A-Nair/learning-data-science | 0ecd48f7379a202b59dc93f59b9447f86512bd86 | [
"MIT"
] | null | null | null | test.py | Arya-A-Nair/learning-data-science | 0ecd48f7379a202b59dc93f59b9447f86512bd86 | [
"MIT"
] | null | null | null | test.py | Arya-A-Nair/learning-data-science | 0ecd48f7379a202b59dc93f59b9447f86512bd86 | [
"MIT"
] | null | null | null | print("Hello World!")
for i in range(1,20):
print(i) | 14.25 | 21 | 0.614035 | 11 | 57 | 3.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.192982 | 57 | 4 | 22 | 14.25 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
95b64c95aba3561cbf6a30f6186c17ffa09dcb77 | 795 | py | Python | atlassian_jwt_auth/contrib/tests/aiohttp/test_auth.py | webknjaz/asap-authentication-python | 8968b1c465c7284d2c01c69cddaacee0d519074f | [
"MIT"
] | 20 | 2015-09-15T01:55:17.000Z | 2021-07-07T17:09:37.000Z | atlassian_jwt_auth/contrib/tests/aiohttp/test_auth.py | webknjaz/asap-authentication-python | 8968b1c465c7284d2c01c69cddaacee0d519074f | [
"MIT"
] | 55 | 2016-03-03T04:45:31.000Z | 2021-07-26T00:40:57.000Z | atlassian_jwt_auth/contrib/tests/aiohttp/test_auth.py | webknjaz/asap-authentication-python | 8968b1c465c7284d2c01c69cddaacee0d519074f | [
"MIT"
] | 22 | 2015-10-08T04:30:26.000Z | 2021-09-06T22:44:03.000Z | import unittest
from atlassian_jwt_auth.contrib.aiohttp.auth import create_jwt_auth, JWTAuth
from atlassian_jwt_auth.tests import utils
from atlassian_jwt_auth.contrib.tests import test_requests
class BaseAuthTest(test_requests.BaseRequestsTest):
""" tests for the contrib.aiohttp.JWTAuth class """
auth_cls =... | 27.413793 | 76 | 0.680503 | 85 | 795 | 6.152941 | 0.411765 | 0.080306 | 0.091778 | 0.114723 | 0.10325 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021631 | 0.244025 | 795 | 28 | 77 | 28.392857 | 0.848586 | 0.054088 | 0 | 0.222222 | 0 | 0 | 0.008065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
95bf43ecee5acccd7a2751c9b597482cb9dd35cb | 1,007 | py | Python | Python/python_easy_8.py | ngmhprogramming/DailyProgrammer | e88f69ee69911bda7c8aa8c6f1bd149d0b05a1c8 | [
"MIT"
] | 2 | 2018-04-14T07:58:18.000Z | 2019-02-14T09:31:44.000Z | Python/python_easy_8.py | ngmhprogramming/DailyProgrammer | e88f69ee69911bda7c8aa8c6f1bd149d0b05a1c8 | [
"MIT"
] | 1 | 2019-09-23T03:09:14.000Z | 2019-09-23T03:09:14.000Z | Python/python_easy_8.py | ngmhprogramming/dailyprogrammer | e88f69ee69911bda7c8aa8c6f1bd149d0b05a1c8 | [
"MIT"
] | null | null | null | ##write a program that will print the song "99 bottles of beer on the wall".
##for extra credit, do not allow the program to print each loop on a new line.
bottles = 99
while bottles > 0:
if bottles == 1:
print(str(bottles) + " bottles of beer on the wall, " + str(bottles) + " bottle of beer.", end="... | 53 | 110 | 0.612711 | 162 | 1,007 | 3.808642 | 0.290123 | 0.106969 | 0.189627 | 0.142626 | 0.664506 | 0.583468 | 0.554295 | 0.461912 | 0.285251 | 0.285251 | 0 | 0.014825 | 0.263158 | 1,007 | 18 | 111 | 55.944444 | 0.816712 | 0.148957 | 0 | 0.266667 | 0 | 0 | 0.505389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0.466667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
95c8c7dcf06c3352169a7968fcd4be3d6334cae9 | 144 | py | Python | nsi/images/__init__.py | NextStepInnovation/nsi-tools | ee4c9a9e512a2fb4942699d88920bc8210a3d701 | [
"MIT"
] | null | null | null | nsi/images/__init__.py | NextStepInnovation/nsi-tools | ee4c9a9e512a2fb4942699d88920bc8210a3d701 | [
"MIT"
] | null | null | null | nsi/images/__init__.py | NextStepInnovation/nsi-tools | ee4c9a9e512a2fb4942699d88920bc8210a3d701 | [
"MIT"
] | null | null | null | from . import common
from .common import (
BLUE, BLUE2, GREY,
to_bytes,
png_bytes,
jpeg_bytes,
cambria,
draw_text,
)
| 14.4 | 22 | 0.611111 | 18 | 144 | 4.666667 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.305556 | 144 | 9 | 23 | 16 | 0.83 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.222222 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
95f7a29aec54e4d0295f4c7e56a0f4f3e112ebdc | 373 | py | Python | model_blocks/templatetags/model_blocks.py | aptivate/django-model-blocks | 5057ed57887683d777f04c95d67d268d21a18c02 | [
"BSD-3-Clause"
] | 6 | 2015-01-20T08:43:44.000Z | 2020-08-13T01:57:10.000Z | model_blocks/templatetags/model_blocks.py | techdragon/django-model-blocks | 8175d7353d792cb720b4ac356f4538888bf7747c | [
"BSD-3-Clause"
] | 1 | 2016-10-16T17:35:07.000Z | 2016-10-16T17:35:07.000Z | model_blocks/templatetags/model_blocks.py | techdragon/django-model-blocks | 8175d7353d792cb720b4ac356f4538888bf7747c | [
"BSD-3-Clause"
] | null | null | null | from django.template import Library
from model_filters import as_detail_block, as_teaser_block, as_list_block
from model_tags import detail_block, teaser_block, list_block
register = Library()
register.tag(detail_block)
register.tag(teaser_block)
register.tag(list_block)
register.filter(as_detail_block)
register.fil... | 24.866667 | 73 | 0.852547 | 57 | 373 | 5.22807 | 0.280702 | 0.261745 | 0.191275 | 0.211409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077748 | 373 | 14 | 74 | 26.642857 | 0.866279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
25136498aafc3871f3e6fdade69f92002474b8e1 | 746 | py | Python | exp-azure/fig/gen-exec-lat-globe-6dc-3r-zipf0.95.py | gitferry/domino | 484c041baa9519989377b2ac226e977ad6a4da33 | [
"Apache-2.0"
] | 5 | 2021-06-27T23:11:52.000Z | 2022-02-23T03:55:08.000Z | exp-azure/fig/gen-exec-lat-globe-6dc-3r-zipf0.95.py | xnyan/domino | 24eec3bed5b9a0354c1863b64b3a6e2ddc1dadba | [
"Apache-2.0"
] | null | null | null | exp-azure/fig/gen-exec-lat-globe-6dc-3r-zipf0.95.py | xnyan/domino | 24eec3bed5b9a0354c1863b64b3a6e2ddc1dadba | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import azure_exec
import common as c
p_list = ['dt', 'm', 'ef', 'p']
## Exec latency zipf 0.95 (dynamic-95th-8ms)
# Text : (x, y)
txt_map = {
'(4)' : (200, 0.42), \
'(5)' : (460, 0.7), \
}
exp_dir_map = {
'dt':('Domino-8ms' , '../exp-data/azure-exec-lat-globe-6dc-3r-zipf0.95/dynamic/... | 35.52381 | 95 | 0.608579 | 126 | 746 | 3.484127 | 0.428571 | 0.143508 | 0.164009 | 0.193622 | 0.394077 | 0.394077 | 0.394077 | 0.394077 | 0.328018 | 0.328018 | 0 | 0.077882 | 0.13941 | 746 | 20 | 96 | 37.3 | 0.605919 | 0.096515 | 0 | 0 | 0 | 0.266667 | 0.485075 | 0.407463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2521ba96094703814ce58d13cae59c7f12252323 | 35,544 | py | Python | 5_6084488024291279587.py | edrianabizada/edrisnabizada4200 | 2b61edc2d6c3d7ee2f0d8327267173e1463d9008 | [
"Apache-2.0"
] | 1 | 2021-07-16T15:07:43.000Z | 2021-07-16T15:07:43.000Z | 5_6084488024291279587.py | edrianabizada/edrisnabizada4200 | 2b61edc2d6c3d7ee2f0d8327267173e1463d9008 | [
"Apache-2.0"
] | null | null | null | 5_6084488024291279587.py | edrianabizada/edrisnabizada4200 | 2b61edc2d6c3d7ee2f0d8327267173e1463d9008 | [
"Apache-2.0"
] | null | null | null |
#!/usr/bin/python2
#coding=utf-8
#This Script Is Written By EDRIS NABIZADA
#================《welcome》=================#
#BlackTiger-Error404 The Official Programmrer#
#whatsapp 《+93782900821》#
# EdrisNabizada-Error404#
#=================================#
import os,sys,time,datetime,random,hashlib,re,th... | 56.151659 | 384 | 0.396748 | 3,805 | 35,544 | 4.722733 | 0.133771 | 0.062994 | 0.035448 | 0.02404 | 0.550083 | 0.512632 | 0.473233 | 0.449527 | 0.44118 | 0.399944 | 0 | 0.140462 | 0.355644 | 35,544 | 632 | 385 | 56.240506 | 0.468541 | 0.009566 | 0 | 0.446619 | 0 | 0.142349 | 0.462066 | 0.185748 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.129893 | 0.007117 | null | null | 0.245552 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
252513bb33a4d44e0151e21b8b92fdd2cbece36e | 546 | py | Python | zabby/tests/items/vm/test_memory.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | 4 | 2016-04-23T13:26:43.000Z | 2017-11-19T14:07:36.000Z | zabby/tests/items/vm/test_memory.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | null | null | null | zabby/tests/items/vm/test_memory.py | blin/zabby | 0f9358ca435ea7368202a6d0fc20cea749f896e1 | [
"MIT"
] | 4 | 2015-09-07T05:55:57.000Z | 2022-02-14T13:54:14.000Z | from mock import Mock
from nose.tools import assert_raises
from zabby.core.exceptions import WrongArgumentError
from zabby.items.vm import memory
class TestSize():
def setup(self):
self.host_os = Mock()
self.host_os.AVAILABLE_MEMORY_TYPES = set(['total', 'free', 'pfree'])
def test_size_raise... | 30.333333 | 77 | 0.750916 | 76 | 546 | 5.092105 | 0.513158 | 0.077519 | 0.103359 | 0.072351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157509 | 546 | 17 | 78 | 32.117647 | 0.841304 | 0 | 0 | 0 | 0 | 0 | 0.034799 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
253d2a6b89b3e30b175d6220fb542effbeec3616 | 200 | py | Python | recipes/urls.py | cjwinchester/recipe-app | 45d3a69ee1938a36d8eb052799718f0cf227a23f | [
"Unlicense"
] | 1 | 2020-10-21T05:40:35.000Z | 2020-10-21T05:40:35.000Z | recipes/urls.py | cjwinchester/recipe-app | 45d3a69ee1938a36d8eb052799718f0cf227a23f | [
"Unlicense"
] | 8 | 2018-07-31T17:57:02.000Z | 2021-09-22T17:44:05.000Z | recipes/urls.py | cjwinchester/recipe-app | 45d3a69ee1938a36d8eb052799718f0cf227a23f | [
"Unlicense"
] | null | null | null | from django.urls import path
from recipes.views import MainView, RecipeView
urlpatterns = [
path('', MainView.as_view(), name='main'),
path('<slug>/', RecipeView.as_view(), name='detail'),
]
| 25 | 57 | 0.685 | 25 | 200 | 5.4 | 0.64 | 0.088889 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 200 | 7 | 58 | 28.571429 | 0.784884 | 0 | 0 | 0 | 0 | 0 | 0.085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2546f2f2d85365e4006c945e689a3db4733af113 | 166 | py | Python | bin/fmtutil/public_goods.py | incognitoRepo/youtube-dl | e9dbbbd87e200d37f15531973fe653c3573cfd0b | [
"Unlicense"
] | null | null | null | bin/fmtutil/public_goods.py | incognitoRepo/youtube-dl | e9dbbbd87e200d37f15531973fe653c3573cfd0b | [
"Unlicense"
] | null | null | null | bin/fmtutil/public_goods.py | incognitoRepo/youtube-dl | e9dbbbd87e200d37f15531973fe653c3573cfd0b | [
"Unlicense"
] | null | null | null | import pandas as pd
def ppd(series,pat,val=-1):
"""wsage: ppd(df.snoop_data, pat='display.max_colwidth')"""
with pd.option_context(pat, val):
print(series)
| 20.75 | 61 | 0.686747 | 27 | 166 | 4.111111 | 0.777778 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.138554 | 166 | 7 | 62 | 23.714286 | 0.769231 | 0.319277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
255999b15b70f787da9af5854a32209b3915cf3a | 1,174 | py | Python | application/analysis/views_by_browser.py | Lewi23/issuu-dataset-analyser | 1da9c3fe437a94b5ceb72b9d92dec05d60b18bd5 | [
"MIT"
] | null | null | null | application/analysis/views_by_browser.py | Lewi23/issuu-dataset-analyser | 1da9c3fe437a94b5ceb72b9d92dec05d60b18bd5 | [
"MIT"
] | null | null | null | application/analysis/views_by_browser.py | Lewi23/issuu-dataset-analyser | 1da9c3fe437a94b5ceb72b9d92dec05d60b18bd5 | [
"MIT"
] | null | null | null | from user_agents import parse
from alive_progress import alive_bar
class views_by_browser:
""" Implements the logic to determine which browser have been used
"""
def __init__(self):
self.views_by_browser_verbose = {}
self.views_by_browser = {}
def process_json_line(self, line):
"""Processes ... | 29.35 | 95 | 0.70954 | 161 | 1,174 | 4.919255 | 0.341615 | 0.123737 | 0.212121 | 0.181818 | 0.494949 | 0.378788 | 0.378788 | 0.29798 | 0.174242 | 0.174242 | 0 | 0.004315 | 0.210392 | 1,174 | 40 | 96 | 29.35 | 0.850054 | 0.356048 | 0 | 0 | 0 | 0 | 0.024425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 3 |
2559ff4e4ecb35fe3a42cc1b547fd20dc77bf9b6 | 101 | py | Python | kevgathuku/settings/dev.py | kevgathuku/kevgathuku | 3b0bd1ebea010d178b86355efffb055658f8f5da | [
"MIT"
] | null | null | null | kevgathuku/settings/dev.py | kevgathuku/kevgathuku | 3b0bd1ebea010d178b86355efffb055658f8f5da | [
"MIT"
] | 1 | 2016-11-02T07:32:23.000Z | 2016-11-02T07:32:23.000Z | kevgathuku/settings/dev.py | kevgathuku/kevgathuku | 3b0bd1ebea010d178b86355efffb055658f8f5da | [
"MIT"
] | null | null | null | from .base import *
DEBUG = True
TEMPLATE_DEBUG = True
INSTALLED_APPS += (
'debug_toolbar',
)
| 10.1 | 21 | 0.673267 | 12 | 101 | 5.416667 | 0.75 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217822 | 101 | 9 | 22 | 11.222222 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
255ed8a9fca8fe65d25e0b6d7fce94db149f579c | 793 | py | Python | morpfw/util.py | morpframework/morpfw | b867e5809d6c52e8839586670a29fcd179ce64c7 | [
"Apache-2.0"
] | 8 | 2018-12-08T01:41:58.000Z | 2020-12-21T15:30:12.000Z | morpfw/util.py | morpframework/morpfw | b867e5809d6c52e8839586670a29fcd179ce64c7 | [
"Apache-2.0"
] | 17 | 2019-02-05T15:01:32.000Z | 2020-04-28T16:17:42.000Z | morpfw/util.py | morpframework/morpfw | b867e5809d6c52e8839586670a29fcd179ce64c7 | [
"Apache-2.0"
] | 2 | 2018-12-08T05:03:37.000Z | 2019-03-20T07:15:21.000Z | from urllib.parse import urlparse
from .authn.pas.group.model import GroupCollection, GroupSchema
from .authn.pas.path import get_group, get_group_collection
from .authn.pas.path import get_user_collection as get_user_collection
def create_group(request, groupname):
collection = get_group_collection(request)
... | 27.344828 | 70 | 0.79319 | 102 | 793 | 5.901961 | 0.245098 | 0.151163 | 0.112957 | 0.164452 | 0.451827 | 0.451827 | 0.368771 | 0.368771 | 0.182724 | 0 | 0 | 0 | 0.128625 | 793 | 28 | 71 | 28.321429 | 0.871201 | 0 | 0 | 0.235294 | 0 | 0 | 0.011378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.235294 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c2562ce70dd54f9706b0eaa0abd20821b6b78ae3 | 108 | py | Python | src/app/conf/healthchecks.py | denkasyanov/education-backend | c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5 | [
"MIT"
] | 151 | 2020-04-21T09:58:57.000Z | 2021-09-12T09:01:21.000Z | src/app/conf/healthchecks.py | denkasyanov/education-backend | c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5 | [
"MIT"
] | 163 | 2020-05-29T20:52:00.000Z | 2021-09-11T12:44:56.000Z | src/app/conf/healthchecks.py | boochamoocha/education-backend | c6ffb0c00bc066c8f1e0a8c0ffe4d0215c7c416a | [
"MIT"
] | 39 | 2020-04-21T12:28:16.000Z | 2021-09-12T15:33:47.000Z |
HEALTH_CHECKS_ERROR_CODE = 503
HEALTH_CHECKS = {
'db': 'django_healthchecks.contrib.check_database',
}
| 18 | 55 | 0.759259 | 13 | 108 | 5.846154 | 0.846154 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.12963 | 108 | 5 | 56 | 21.6 | 0.776596 | 0 | 0 | 0 | 0 | 0 | 0.411215 | 0.392523 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c25dfa485cd70d6e8080d0fa4083877099fc555e | 1,261 | py | Python | bingraphvis/openreil/annotator.py | Kyle-Kyle/bingraphvis | dce7a361eb755b4929944be0a73f4cabd02fd421 | [
"BSD-2-Clause"
] | null | null | null | bingraphvis/openreil/annotator.py | Kyle-Kyle/bingraphvis | dce7a361eb755b4929944be0a73f4cabd02fd421 | [
"BSD-2-Clause"
] | null | null | null | bingraphvis/openreil/annotator.py | Kyle-Kyle/bingraphvis | dce7a361eb755b4929944be0a73f4cabd02fd421 | [
"BSD-2-Clause"
] | null | null | null |
from ..base import *
import pyopenreil
class OpenreilColorEdgesAsm(EdgeAnnotator):
EDGECOLOR_CONDITIONAL_TRUE = 'green'
EDGECOLOR_CONDITIONAL_FALSE = 'red'
EDGECOLOR_UNCONDITIONAL = 'blue'
EDGECOLOR_CALL = 'black'
EDGECOLOR_RET = 'purple'
EDGECOLOR_UNKNOWN ... | 36.028571 | 107 | 0.547978 | 120 | 1,261 | 5.541667 | 0.491667 | 0.067669 | 0.097744 | 0.165414 | 0.219549 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007238 | 0.342585 | 1,261 | 34 | 108 | 37.088235 | 0.794934 | 0.009516 | 0 | 0.148148 | 0 | 0 | 0.079391 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | null | null | 0 | 0.074074 | null | null | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c25e9b7e72050d7dc12732a20fbc890f28cc8db6 | 20 | py | Python | pytopojson/__init__.py | fferrin/pytopojson | 5128136c9502f4e29330b6cc7e524641bff5f95e | [
"0BSD"
] | 11 | 2019-11-15T23:22:52.000Z | 2022-01-22T20:46:30.000Z | pytopojson/__init__.py | fferrin/topojson | 7f90e497d2b54798f51480181c81c330770cb401 | [
"0BSD"
] | 8 | 2019-11-08T03:03:29.000Z | 2022-02-28T09:52:09.000Z | pytopojson/__init__.py | fferrin/topojson | 7f90e497d2b54798f51480181c81c330770cb401 | [
"0BSD"
] | 2 | 2020-07-09T06:45:31.000Z | 2021-03-22T13:38:35.000Z | name = "pytopojson"
| 10 | 19 | 0.7 | 2 | 20 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c270f605e959f097a0fd7113b98a2709a0b4d23e | 708 | py | Python | django_blog_it/django_blog_it/migrations/0015_auto_20180304_1059.py | SumitJain01/django-blog-it | 697e41195589578ab177a62acf5651a0a84c4925 | [
"MIT"
] | null | null | null | django_blog_it/django_blog_it/migrations/0015_auto_20180304_1059.py | SumitJain01/django-blog-it | 697e41195589578ab177a62acf5651a0a84c4925 | [
"MIT"
] | 7 | 2021-03-19T11:40:46.000Z | 2022-02-10T14:58:05.000Z | django_blog_it/django_blog_it/migrations/0015_auto_20180304_1059.py | SumitJain01/django-blog-it | 697e41195589578ab177a62acf5651a0a84c4925 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.2 on 2018-03-04 10:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('django_blog_it', '0014_post_slugs'),
]
operations = [
migrations.AlterModelOptions(
name='category',
options={'ordering': ['... | 23.6 | 50 | 0.522599 | 58 | 708 | 6.293103 | 0.568966 | 0.29589 | 0.339726 | 0.147945 | 0.263014 | 0.263014 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.329096 | 708 | 29 | 51 | 24.413793 | 0.728421 | 0.063559 | 0 | 0.478261 | 1 | 0 | 0.15885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c27efaba4b99bd22404f7a2457aa84f31528eaba | 193 | py | Python | tasks/install.py | tophat/th_snapshot | 96b88db82d19817b18eb0d5dd07fa92e96695fdb | [
"Apache-2.0"
] | 1 | 2019-11-04T15:18:33.000Z | 2019-11-04T15:18:33.000Z | tasks/install.py | tophat/th_snapshot | 96b88db82d19817b18eb0d5dd07fa92e96695fdb | [
"Apache-2.0"
] | null | null | null | tasks/install.py | tophat/th_snapshot | 96b88db82d19817b18eb0d5dd07fa92e96695fdb | [
"Apache-2.0"
] | null | null | null | from invoke import task
from .utils import ctx_run
@task(default=True)
def dev(ctx):
"""
Install the current development version of syrupy
"""
ctx_run(ctx, "poetry install")
| 16.083333 | 53 | 0.683938 | 27 | 193 | 4.814815 | 0.703704 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217617 | 193 | 11 | 54 | 17.545455 | 0.860927 | 0.253886 | 0 | 0 | 0 | 0 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c2865d22e8c3db8e7ad18f4188f4d64a6bc5c6fb | 246 | py | Python | practice_py/strange_list_multiplication.py | jatin69/mca101-OOPS | 4a63d3e419a151e32b9894bf2c5590174363148b | [
"MIT"
] | null | null | null | practice_py/strange_list_multiplication.py | jatin69/mca101-OOPS | 4a63d3e419a151e32b9894bf2c5590174363148b | [
"MIT"
] | null | null | null | practice_py/strange_list_multiplication.py | jatin69/mca101-OOPS | 4a63d3e419a151e32b9894bf2c5590174363148b | [
"MIT"
] | null | null | null | '''
changes to both lists
that means, they point to same object
once and then thrice
'''
'''
a = [1,2,3]
b = ([a]*3)
print(a)
print(b)
# same effect
# a[0]=11
b[0][0] = 9
print(a)
print(b)
#'''
'''
a = [1,2,3]
b = (a,)
print(a)
print(b)
#'''
| 9.461538 | 37 | 0.536585 | 49 | 246 | 2.693878 | 0.489796 | 0.181818 | 0.25 | 0.272727 | 0.090909 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.207317 | 246 | 25 | 38 | 9.84 | 0.610256 | 0.325203 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2c173561018297f430ca5f590bc330a3ff40d15 | 929 | py | Python | python/phonenumbers/shortdata/region_KR.py | kevin-brown/python-phonenumbers | e4ae191e6fae47581eb40d3d23c7e2b7d422c326 | [
"Apache-2.0"
] | 4 | 2018-10-19T04:36:20.000Z | 2020-02-13T16:14:09.000Z | python/phonenumbers/shortdata/region_KR.py | kevin-brown/python-phonenumbers | e4ae191e6fae47581eb40d3d23c7e2b7d422c326 | [
"Apache-2.0"
] | 5 | 2020-03-24T16:37:25.000Z | 2021-06-10T21:24:54.000Z | python/phonenumbers/shortdata/region_KR.py | kevin-brown/python-phonenumbers | e4ae191e6fae47581eb40d3d23c7e2b7d422c326 | [
"Apache-2.0"
] | 1 | 2020-09-08T14:45:34.000Z | 2020-09-08T14:45:34.000Z | """Auto-generated file, do not edit by hand. KR metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_KR = PhoneMetadata(id='KR', country_code=None, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='1\\d{2,4}', possible_length=(3, 4, 5)),... | 84.454545 | 202 | 0.728741 | 139 | 929 | 4.669065 | 0.482014 | 0.177196 | 0.223421 | 0.27735 | 0.374422 | 0.231125 | 0.135593 | 0.135593 | 0.135593 | 0 | 0 | 0.122827 | 0.071044 | 929 | 10 | 203 | 92.9 | 0.6292 | 0.057051 | 0 | 0 | 1 | 0.125 | 0.208046 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c2d48341f825740d162ca810fdea50cb9313d660 | 939 | py | Python | libraries/botbuilder-core/botbuilder/core/assertions.py | congysu/botbuilder-python | 274663dd91c811bae6ac4488915ba5880771b0a7 | [
"MIT"
] | 1 | 2019-03-16T09:03:06.000Z | 2019-03-16T09:03:06.000Z | libraries/botbuilder-core/botbuilder/core/assertions.py | crazyrex/botbuilder-python | f2f1a8bb4171bbebdc42b94a68b2c2cf7aea8683 | [
"MIT"
] | null | null | null | libraries/botbuilder-core/botbuilder/core/assertions.py | crazyrex/botbuilder-python | f2f1a8bb4171bbebdc42b94a68b2c2cf7aea8683 | [
"MIT"
] | 2 | 2021-04-22T09:43:52.000Z | 2021-08-02T05:09:28.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
class BotAssert(object):
@staticmethod
def activity_not_null(activity):
if not activity:
raise TypeError()
@staticmethod
def context_not_null(context):
if not context:
... | 22.902439 | 59 | 0.642173 | 97 | 939 | 6.020619 | 0.309278 | 0.179795 | 0.267123 | 0.297945 | 0.267123 | 0.157534 | 0.157534 | 0.157534 | 0 | 0 | 0 | 0 | 0.294995 | 939 | 40 | 60 | 23.475 | 0.882175 | 0.094782 | 0 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.241379 | false | 0 | 0 | 0 | 0.275862 | 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 | 0 | 0 | 0 | 0 | 3 |
c2e82b989f58288c5648590df6e7696d90f4f707 | 223 | py | Python | prepare.py | ploxhosts/community-bot | 10233a29ecf8c12303952ffc24f9a7dbeec9a7c1 | [
"MIT"
] | 7 | 2021-04-11T14:46:12.000Z | 2021-11-30T17:40:17.000Z | prepare.py | ploxhosts/community-bot | 10233a29ecf8c12303952ffc24f9a7dbeec9a7c1 | [
"MIT"
] | 22 | 2021-04-13T17:05:03.000Z | 2021-11-07T01:14:56.000Z | prepare.py | ploxhosts/community-bot | 10233a29ecf8c12303952ffc24f9a7dbeec9a7c1 | [
"MIT"
] | 6 | 2021-04-13T17:12:34.000Z | 2021-07-11T22:10:43.000Z | import os
from dotenv import load_dotenv
from motor.motor_asyncio import AsyncIOMotorClient
# init env #
load_dotenv()
connection_string = os.getenv("connection_string")
database = AsyncIOMotorClient(connection_string)
| 18.583333 | 50 | 0.825112 | 27 | 223 | 6.592593 | 0.518519 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112108 | 223 | 11 | 51 | 20.272727 | 0.89899 | 0.035874 | 0 | 0 | 0 | 0 | 0.080569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c2e9142dfbbed7bafe340a0c9c40d7936fee7224 | 105 | py | Python | file_reader.py | powersemmi/python_work | 6a1ac5565c4352a98c1879521b425080be5998b3 | [
"MIT"
] | null | null | null | file_reader.py | powersemmi/python_work | 6a1ac5565c4352a98c1879521b425080be5998b3 | [
"MIT"
] | null | null | null | file_reader.py | powersemmi/python_work | 6a1ac5565c4352a98c1879521b425080be5998b3 | [
"MIT"
] | null | null | null | with open('pi_digits.txt') as file_object:
contnts = file_object.read()
print(contnts.rstrip())
| 21 | 42 | 0.695238 | 15 | 105 | 4.666667 | 0.8 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 105 | 4 | 43 | 26.25 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c0f4bc852a6236924b0ab2cc302122a683ea285 | 548 | py | Python | plgx-esp-ui/polylogyx/dao/v1/distributed_dao.py | dhoomakethu/plgx-esp | b466b52a5e16a0d12a61e505e48add83bee5bad4 | [
"MIT"
] | 20 | 2019-12-09T13:55:13.000Z | 2022-01-10T09:10:42.000Z | plgx-esp-ui/polylogyx/dao/v1/distributed_dao.py | dhoomakethu/plgx-esp | b466b52a5e16a0d12a61e505e48add83bee5bad4 | [
"MIT"
] | 13 | 2019-12-03T13:27:27.000Z | 2021-12-03T05:22:49.000Z | plgx-esp-ui/polylogyx/dao/v1/distributed_dao.py | dhoomakethu/plgx-esp | b466b52a5e16a0d12a61e505e48add83bee5bad4 | [
"MIT"
] | 16 | 2019-11-15T11:45:06.000Z | 2022-01-07T08:07:11.000Z | from polylogyx.models import DistributedQuery, DistributedQueryTask, db
import datetime as dt
def add_distributed_query(sql, description):
return DistributedQuery.create(sql=sql,description=description)
def create_distributed_task_obj(node, query):
return DistributedQueryTask(node=node, distributed_query=quer... | 36.533333 | 87 | 0.793796 | 63 | 548 | 6.793651 | 0.492063 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113139 | 548 | 15 | 88 | 36.533333 | 0.880658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6c1a318e01a3d1a7c74c48d4e0c941e9dc7aa82b | 37 | py | Python | tronn/__init__.py | kundajelab/tronn | 59654a958f6debb5be150e383e96997f1982359d | [
"MIT"
] | 5 | 2020-10-18T21:17:44.000Z | 2021-11-30T06:25:09.000Z | tronn/__init__.py | kundajelab/tronn | 59654a958f6debb5be150e383e96997f1982359d | [
"MIT"
] | 1 | 2021-11-18T13:03:48.000Z | 2021-11-18T13:03:48.000Z | tronn/__init__.py | kundajelab/tronn | 59654a958f6debb5be150e383e96997f1982359d | [
"MIT"
] | null | null | null | __all__ = ["interpretation", "util"]
| 18.5 | 36 | 0.675676 | 3 | 37 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c206469b1bae99ffdd2e1adbadc509bf2313446 | 2,115 | py | Python | system/audio/audio_manager.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | system/audio/audio_manager.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | system/audio/audio_manager.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | from system.audio import TrackInfo
from vlc import Instance, EventManager, EventType, Media, MediaList, MediaListPlayer, MediaPlayer
from typing import List
class AudioManager:
def __init__(self):
self.instance: Instance = Instance()
self.media_list: MediaList = self.instance.media_list_new()
... | 34.672131 | 106 | 0.692199 | 277 | 2,115 | 4.981949 | 0.234657 | 0.182609 | 0.207246 | 0.165217 | 0.457246 | 0.355797 | 0.318116 | 0.191304 | 0.191304 | 0.124638 | 0 | 0.000593 | 0.202364 | 2,115 | 60 | 107 | 35.25 | 0.817427 | 0 | 0 | 0.170213 | 0 | 0 | 0.027896 | 0.027896 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0.021277 | 0.06383 | 0.021277 | 0.361702 | 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 | 0 | 0 | 0 | 0 | 3 |
6c2453f63b1055ec7ca4ffba3343e0c515344f85 | 1,792 | py | Python | src/nicks_intervals/Multi_Interval.py | thehappycheese/interval-py | 26a23bdacf4036e9b1966495fbecd045af2dfbdc | [
"CC0-1.0"
] | null | null | null | src/nicks_intervals/Multi_Interval.py | thehappycheese/interval-py | 26a23bdacf4036e9b1966495fbecd045af2dfbdc | [
"CC0-1.0"
] | null | null | null | src/nicks_intervals/Multi_Interval.py | thehappycheese/interval-py | 26a23bdacf4036e9b1966495fbecd045af2dfbdc | [
"CC0-1.0"
] | null | null | null | from __future__ import annotations
import itertools
from typing import Iterable, Collection, TYPE_CHECKING, Optional
from . import Interval
# if TYPE_CHECKING:
from . import Bound
class Multi_Interval(Interval.Interval):
def __init__(self, iter_intervals: Iterable[Interval.Interval]):
self.__inter... | 32 | 218 | 0.732701 | 232 | 1,792 | 5.310345 | 0.280172 | 0.137175 | 0.064935 | 0.056006 | 0.327922 | 0.327922 | 0.327922 | 0.327922 | 0.327922 | 0.327922 | 0 | 0.002665 | 0.162388 | 1,792 | 55 | 219 | 32.581818 | 0.818121 | 0.066406 | 0 | 0.210526 | 0 | 0.026316 | 0.136307 | 0.060099 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.131579 | 0.157895 | 0.710526 | 0.105263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6c54d149b5d98780493e231508e03593809256d1 | 352 | py | Python | crucio/__init__.py | SigmoidAI/crucio | fd646a2e3be9e79572dd8a24f6a41dbb7267e028 | [
"MIT"
] | null | null | null | crucio/__init__.py | SigmoidAI/crucio | fd646a2e3be9e79572dd8a24f6a41dbb7267e028 | [
"MIT"
] | null | null | null | crucio/__init__.py | SigmoidAI/crucio | fd646a2e3be9e79572dd8a24f6a41dbb7267e028 | [
"MIT"
] | null | null | null | # Importing all balancers from modules.
from .ADASYN import ADASYN
from .ICOTE import ICOTE
from .MTDF import MTDF
from .MWMOTE import MWMOTE, index
from .SCUT import SCUT
from .SLS import SLS
from .SMOTE import SMOTE
from .SMOTEENN import SMOTEENN
from .SMOTENC import SMOTENC
from .SMOTETOMEK import SMOTETOM... | 27.076923 | 40 | 0.78125 | 50 | 352 | 5.5 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178977 | 352 | 12 | 41 | 29.333333 | 0.951557 | 0.105114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6c57ecdbe7c290a5686f71266cc1512103fb401d | 2,605 | py | Python | tests/test_convert_case.py | mirumee/ariadne-graphql-modules | f95a48f428a49aa39d41ec91a2dac647b6869f86 | [
"BSD-3-Clause"
] | null | null | null | tests/test_convert_case.py | mirumee/ariadne-graphql-modules | f95a48f428a49aa39d41ec91a2dac647b6869f86 | [
"BSD-3-Clause"
] | null | null | null | tests/test_convert_case.py | mirumee/ariadne-graphql-modules | f95a48f428a49aa39d41ec91a2dac647b6869f86 | [
"BSD-3-Clause"
] | null | null | null | from ariadne_graphql_modules import InputType, ObjectType, convert_case
def test_cases_are_mapped_for_aliases():
class ExampleObject(ObjectType):
__schema__ = """
type Example {
field: Int
otherField: Int
}
"""
__aliases__ = convert_case
assert ... | 24.345794 | 71 | 0.54357 | 218 | 2,605 | 5.885321 | 0.174312 | 0.060016 | 0.056118 | 0.070148 | 0.855807 | 0.773188 | 0.773188 | 0.674981 | 0.640686 | 0.586126 | 0 | 0 | 0.34856 | 2,605 | 106 | 72 | 24.575472 | 0.75604 | 0 | 0 | 0.602273 | 0 | 0 | 0.355854 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 1 | 0.068182 | false | 0 | 0.011364 | 0 | 0.284091 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c68a1039c79890ce4d74ad534deb4621d732948 | 253 | py | Python | sapphire/simulations/__init__.py | alexanderzimmerman/sapphire | 1236000d201b8ff44296b0428ef31e5ff0e6078f | [
"MIT"
] | 10 | 2019-04-26T16:23:49.000Z | 2022-02-01T22:44:29.000Z | sapphire/simulations/__init__.py | alexanderzimmerman/sapphire | 1236000d201b8ff44296b0428ef31e5ff0e6078f | [
"MIT"
] | 35 | 2018-12-10T08:55:59.000Z | 2019-03-21T10:48:57.000Z | sapphire/simulations/__init__.py | alexanderzimmerman/sapphire | 1236000d201b8ff44296b0428ef31e5ff0e6078f | [
"MIT"
] | 4 | 2019-04-11T16:49:48.000Z | 2021-03-15T00:58:09.000Z | """ Each module provides a `Simulation` class
based on `sapphire.Simulation`, but with specified governing equations.
The mesh, initial values, and boundary conditions are unspecified.
Therefore, the constructors have those as required arguments.
"""
| 36.142857 | 71 | 0.790514 | 32 | 253 | 6.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13834 | 253 | 6 | 72 | 42.166667 | 0.917431 | 0.964427 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c8698450e63b98c9214405b22652c8e992024d9 | 13,684 | py | Python | env/lib/python3.8/site-packages/apache_beam/portability/api/beam_runner_api_pb2_urns.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | env/lib/python3.8/site-packages/apache_beam/portability/api/beam_runner_api_pb2_urns.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | env/lib/python3.8/site-packages/apache_beam/portability/api/beam_runner_api_pb2_urns.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | from ..utils import PropertiesFromEnumValue
from . import metrics_pb2
EMPTY_MONITORING_INFO_LABEL_PROPS = metrics_pb2.MonitoringInfoLabelProps()
EMPTY_MONITORING_INFO_SPEC = metrics_pb2.MonitoringInfoSpec()
class BeamConstants(object):
class Constants(object):
MIN_TIMESTAMP_MILLIS = PropertiesFromEnumValue('', ... | 81.94012 | 200 | 0.839374 | 1,591 | 13,684 | 6.710245 | 0.114393 | 0.225553 | 0.302548 | 0.191083 | 0.598913 | 0.552173 | 0.513488 | 0.489135 | 0.489135 | 0.484264 | 0 | 0.010563 | 0.072932 | 13,684 | 166 | 201 | 82.433735 | 0.830995 | 0 | 0 | 0.059322 | 0 | 0 | 0.193452 | 0.174889 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016949 | 0 | 0.271186 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6c898f1f0a6cb7af7c2ebc00ee22f2aff0cf0626 | 124 | py | Python | groot/ajaystark/urls.py | ajaystark/ajaystark_website | 6f6a7de37d45fdc30fbefbb0adcad7b152852e42 | [
"MIT"
] | null | null | null | groot/ajaystark/urls.py | ajaystark/ajaystark_website | 6f6a7de37d45fdc30fbefbb0adcad7b152852e42 | [
"MIT"
] | 2 | 2019-07-05T00:45:48.000Z | 2019-07-05T00:57:07.000Z | groot/ajaystark/urls.py | ajaystark/ajaystark_website | 6f6a7de37d45fdc30fbefbb0adcad7b152852e42 | [
"MIT"
] | null | null | null | from django.urls import path
from ajaystark.views import homepage
urlpatterns = [
path('',homepage.as_view(),name='home')
] | 24.8 | 40 | 0.758065 | 17 | 124 | 5.470588 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 5 | 41 | 24.8 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
666e02b8a677c3ec7c00d353237f8578dd78f896 | 123 | py | Python | backend/urls.py | AlekseiPashenko/todo | d8bd1f47e25e183131db9ad99142e8449216b9ef | [
"MIT"
] | null | null | null | backend/urls.py | AlekseiPashenko/todo | d8bd1f47e25e183131db9ad99142e8449216b9ef | [
"MIT"
] | null | null | null | backend/urls.py | AlekseiPashenko/todo | d8bd1f47e25e183131db9ad99142e8449216b9ef | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('api/task/', views.TaskListCreate.as_view() ),
] | 20.5 | 55 | 0.707317 | 16 | 123 | 5.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154472 | 123 | 6 | 56 | 20.5 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
66b3f10dda499e2ccca3d78c805d5007ce6ff6ca | 80 | py | Python | cob/defs.py | oren0e/cob | f2a5d74a15f5262d7980e4cf1f1a20af29194ffb | [
"BSD-3-Clause"
] | 2 | 2019-04-07T20:19:55.000Z | 2021-05-27T10:23:31.000Z | cob/defs.py | oren0e/cob | f2a5d74a15f5262d7980e4cf1f1a20af29194ffb | [
"BSD-3-Clause"
] | 126 | 2016-08-10T19:59:45.000Z | 2021-11-26T06:58:16.000Z | cob/defs.py | oren0e/cob | f2a5d74a15f5262d7980e4cf1f1a20af29194ffb | [
"BSD-3-Clause"
] | 6 | 2017-11-16T12:05:47.000Z | 2021-11-24T09:21:17.000Z | COB_CONFIG_FILE_NAME = '.cob-project.yml'
PYPI_INDEX_ENV_VAR = 'PYPI_INDEX_URL'
| 26.666667 | 41 | 0.8125 | 14 | 80 | 4.071429 | 0.785714 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 2 | 42 | 40 | 0.77027 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
66c15a9b4b43c541d498fdf6d1c193f8450975ab | 1,010 | py | Python | example/helper/tests/testing/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | example/helper/tests/testing/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | example/helper/tests/testing/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from dp_tornado.engine.helper import Helper as dpHelper
class TestingHelper(dpHelper):
def add(self, a, b):
"""
.. test::
expect(int=10, args=(1, 9))
expect(
int=10,
kwargs={
... | 25.897436 | 55 | 0.320792 | 97 | 1,010 | 3.329897 | 0.329897 | 0.167183 | 0.092879 | 0.111455 | 0.513932 | 0.334365 | 0.334365 | 0.334365 | 0.179567 | 0 | 0 | 0.086864 | 0.532673 | 1,010 | 38 | 56 | 26.578947 | 0.597458 | 0.504951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
66c8bf9f25e711fd81375cac3c4ebfa0ca027465 | 100 | py | Python | visualization/main.py | Jianx-Gao/OpenMMLab-Edu | 54953a6f9df0869482cb526a3e53eca1b6c2c18c | [
"Apache-2.0"
] | 12 | 2022-03-02T08:16:35.000Z | 2022-03-22T07:59:48.000Z | visualization/main.py | Jianx-Gao/OpenMMLab-Edu | 54953a6f9df0869482cb526a3e53eca1b6c2c18c | [
"Apache-2.0"
] | 3 | 2022-03-02T09:01:26.000Z | 2022-03-11T09:30:07.000Z | visualization/main.py | Jianx-Gao/OpenMMLab-Edu | 54953a6f9df0869482cb526a3e53eca1b6c2c18c | [
"Apache-2.0"
] | 10 | 2022-03-02T08:11:54.000Z | 2022-03-18T06:55:30.000Z | from uis.main_app import MainAPP
import sys
app = MainAPP()
status = app.exec_()
sys.exit(status)
| 12.5 | 32 | 0.74 | 16 | 100 | 4.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 7 | 33 | 14.285714 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dd4b872c65696c00778d4225952db0f0fee2b37c | 356 | py | Python | ctc_fast/decoder/setup.py | SrikarSiddarth/stanford-ctc | c8f8257227ec218c4794a96a089ef0a093dcbdfd | [
"Apache-2.0"
] | 268 | 2015-06-15T20:59:49.000Z | 2021-12-26T15:05:50.000Z | ctc_fast/decoder/setup.py | guker/stanford-ctc | 3d3bd9ce92cfdc0173b1bd2096ecea8634d6b62f | [
"Apache-2.0"
] | 16 | 2015-06-16T03:22:31.000Z | 2019-12-11T15:58:57.000Z | ctc_fast/decoder/setup.py | guker/stanford-ctc | 3d3bd9ce92cfdc0173b1bd2096ecea8634d6b62f | [
"Apache-2.0"
] | 109 | 2015-07-07T15:36:22.000Z | 2021-07-28T03:48:15.000Z |
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(
cmdclass = {'build_ext': build_ext},
ext_modules = [Extension("bg_decoder", ["bg_decoder.pyx"]),
Extension("clm_decoder", ["clm_decoder.pyx"]),
Extension("clm_... | 29.666667 | 65 | 0.682584 | 42 | 356 | 5.547619 | 0.380952 | 0.103004 | 0.16309 | 0.188841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.185393 | 356 | 11 | 66 | 32.363636 | 0.796552 | 0 | 0 | 0 | 0 | 0 | 0.24507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dd516041e0a61872f66f8f6a1165be73506d1db7 | 833 | py | Python | cpdb/data/tests/utils/test_interpolate.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 25 | 2018-07-20T22:31:40.000Z | 2021-07-15T16:58:41.000Z | cpdb/data/tests/utils/test_interpolate.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 13 | 2018-06-18T23:08:47.000Z | 2022-02-10T07:38:25.000Z | cpdb/data/tests/utils/test_interpolate.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 6 | 2018-05-17T21:59:43.000Z | 2020-11-17T00:30:26.000Z | from django.test import SimpleTestCase
from robber import expect
from data.utils.interpolate import ScaleThreshold
class ScaleTestCase(SimpleTestCase):
def test_scale_threshold_with_domain_of_1(self):
threshold = ScaleThreshold(domain=[1], target_range=['a', 'b'])
expect(threshold.interpolate(0)... | 37.863636 | 79 | 0.680672 | 111 | 833 | 4.981982 | 0.288288 | 0.216998 | 0.37613 | 0.195298 | 0.641953 | 0.518987 | 0.518987 | 0.399638 | 0.399638 | 0.325497 | 0 | 0.019943 | 0.157263 | 833 | 21 | 80 | 39.666667 | 0.767806 | 0 | 0 | 0.25 | 0 | 0 | 0.015606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.1875 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd621babae9b9ac1c397aee870c55d5a5d783d1e | 1,243 | py | Python | tests/common/util/test_config_reader.py | snowballsecurities/snbpy | ff03433814e80007f6810268bd32d99f67c81bb2 | [
"MIT"
] | 20 | 2020-07-08T12:14:54.000Z | 2022-02-14T09:20:04.000Z | tests/common/util/test_config_reader.py | snowballsecurities/snbpy | ff03433814e80007f6810268bd32d99f67c81bb2 | [
"MIT"
] | 6 | 2020-07-08T12:08:24.000Z | 2021-12-01T02:45:08.000Z | tests/common/util/test_config_reader.py | snowballsecurities/snbpy | ff03433814e80007f6810268bd32d99f67c81bb2 | [
"MIT"
] | 3 | 2020-07-08T12:14:59.000Z | 2021-01-14T23:32:22.000Z | # coding=utf-8
from unittest import TestCase
from snbpy.common.constant.exceptions import ConfigException
from snbpy.common.util.config_reader import read_config
class ConfigReaderTest(TestCase):
def test_read_config(self):
config = read_config('../../resource/test.config')
self.assertIsNotNone(c... | 38.84375 | 61 | 0.696702 | 136 | 1,243 | 6.257353 | 0.323529 | 0.211516 | 0.296122 | 0.112808 | 0.709753 | 0.552291 | 0.472385 | 0.472385 | 0.472385 | 0.472385 | 0 | 0.024679 | 0.185036 | 1,243 | 31 | 62 | 40.096774 | 0.8154 | 0.009654 | 0 | 0.538462 | 0 | 0 | 0.085435 | 0.044752 | 0 | 0 | 0 | 0 | 0.653846 | 1 | 0.076923 | false | 0 | 0.115385 | 0 | 0.230769 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dd88c8c4f2d2dc5e9815e0d23e6a42075f1ad4fd | 290 | py | Python | talkto/forms.py | sirrobot01/django-talkto | e4787617d9c62a0521056cd4f32eba8dbd29ce8f | [
"MIT"
] | 7 | 2020-08-25T18:08:03.000Z | 2021-02-06T08:21:24.000Z | talkto/forms.py | sirrobot01/djangotalkto | e4787617d9c62a0521056cd4f32eba8dbd29ce8f | [
"MIT"
] | 1 | 2020-08-24T23:00:26.000Z | 2020-08-25T13:21:28.000Z | talkto/forms.py | sirrobot01/django-talkto | e4787617d9c62a0521056cd4f32eba8dbd29ce8f | [
"MIT"
] | 1 | 2021-02-06T08:21:28.000Z | 2021-02-06T08:21:28.000Z | from django import forms
from .utils import querydict_to_dict
class TalkToModelForm(forms.ModelForm):
def api(self):
data = querydict_to_dict(self.data)
return self.instance.save(data)
def _save_m2m(self):
pass
def _post_clean(self):
pass
| 16.111111 | 43 | 0.668966 | 38 | 290 | 4.894737 | 0.578947 | 0.11828 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.255172 | 290 | 17 | 44 | 17.058824 | 0.856481 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0.2 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
dd98f0118a01dd312a3e99ae835b9160217a0dce | 365 | py | Python | py/vr/__init__.py | acorg/ssm-report | bddc33cb167f6ca766c56747529828807bebd803 | [
"MIT"
] | null | null | null | py/vr/__init__.py | acorg/ssm-report | bddc33cb167f6ca766c56747529828807bebd803 | [
"MIT"
] | null | null | null | py/vr/__init__.py | acorg/ssm-report | bddc33cb167f6ca766c56747529828807bebd803 | [
"MIT"
] | null | null | null | import sys, traceback
sys.path.insert(0, ".")
try:
from . import command as command
except Exception as err:
print(traceback.format_exc())
# print(err)
pass
from .error import Error
# ======================================================================
### Local Variables:
### eval: (if (fboundp 'eu... | 22.8125 | 72 | 0.534247 | 40 | 365 | 4.85 | 0.675 | 0.082474 | 0.14433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003226 | 0.150685 | 365 | 15 | 73 | 24.333333 | 0.622581 | 0.441096 | 0 | 0 | 0 | 0 | 0.005208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.375 | 0 | 0.375 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
06b619376d25f4533579284fd1c8d7216b9f1fb2 | 50 | py | Python | sponsor/__init__.py | vanessa/djangogirls | e56423ceda172858147dfa7006353f23264d4c67 | [
"BSD-3-Clause"
] | 1 | 2018-12-17T02:12:31.000Z | 2018-12-17T02:12:31.000Z | sponsor/__init__.py | vanessa/djangogirls | e56423ceda172858147dfa7006353f23264d4c67 | [
"BSD-3-Clause"
] | 6 | 2020-06-06T01:38:47.000Z | 2021-12-13T20:36:27.000Z | sponsor/__init__.py | vanessa/djangogirls | e56423ceda172858147dfa7006353f23264d4c67 | [
"BSD-3-Clause"
] | null | null | null | default_app_config = 'sponsor.apps.SponsorConfig'
| 25 | 49 | 0.84 | 6 | 50 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.52 | 0.52 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06c3a06dbb2421c416ecbaee93be08ddeb21e6f4 | 685 | py | Python | ArrayStack.py | NightFury13/floorplanning | 8ad922a9ca13f1cf480b3153f566cf47ef379283 | [
"BSD-3-Clause"
] | 1 | 2018-03-04T11:51:52.000Z | 2018-03-04T11:51:52.000Z | ArrayStack.py | NightFury13/floorplanning | 8ad922a9ca13f1cf480b3153f566cf47ef379283 | [
"BSD-3-Clause"
] | null | null | null | ArrayStack.py | NightFury13/floorplanning | 8ad922a9ca13f1cf480b3153f566cf47ef379283 | [
"BSD-3-Clause"
] | 1 | 2018-07-08T09:52:17.000Z | 2018-07-08T09:52:17.000Z | from DynamicArray import DynamicArray
class ArrayStack:
#implements the ADT Stack (Stack.py)
#uses the DynamicArray class (DynamicArray.py)
def __init__( self ):
self._A = DynamicArray()
def __len__( self ):
return len( self._A )
def is_empty( self ):
return len( self._A ... | 20.757576 | 57 | 0.543066 | 88 | 685 | 3.965909 | 0.340909 | 0.143266 | 0.114613 | 0.097421 | 0.103152 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004376 | 0.332847 | 685 | 32 | 58 | 21.40625 | 0.7593 | 0.137226 | 0 | 0 | 0 | 0 | 0.013675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0 | 0.055556 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
06c63b3c91e165ff3560df03b1957710de4fbf83 | 600 | py | Python | Src/posts/models.py | programerRoshan/NewProject | 231aed7106541f38ff2eff0b7417016197e7a425 | [
"bzip2-1.0.6"
] | null | null | null | Src/posts/models.py | programerRoshan/NewProject | 231aed7106541f38ff2eff0b7417016197e7a425 | [
"bzip2-1.0.6"
] | null | null | null | Src/posts/models.py | programerRoshan/NewProject | 231aed7106541f38ff2eff0b7417016197e7a425 | [
"bzip2-1.0.6"
] | null | null | null | from django.db import models
# Create your models here.
class Post(models.Model):
title = models.CharField(max_length=100)
image = models.FileField(null=True,blank=True)
content = models.TextField()
timestamp = models.DateTimeField(auto_now=False,auto_now_add=True)
updated = models.DateT... | 31.578947 | 71 | 0.666667 | 80 | 600 | 4.8 | 0.525 | 0.072917 | 0.119792 | 0.135417 | 0.067708 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006342 | 0.211667 | 600 | 18 | 72 | 33.333333 | 0.805497 | 0.04 | 0 | 0 | 0 | 0 | 0.041367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.266667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
06d845d10e925b306d4e464cce453be1700af105 | 23 | py | Python | pipe/tools/houtools/exporter/__init__.py | htinney/byupipe | 7b95270caf4c1834552f53d5073db50fb5162aef | [
"Apache-2.0"
] | 5 | 2019-04-20T19:49:55.000Z | 2021-02-18T00:17:20.000Z | pipe/tools/houtools/exporter/__init__.py | htinney/byupipe | 7b95270caf4c1834552f53d5073db50fb5162aef | [
"Apache-2.0"
] | 133 | 2019-06-19T02:56:05.000Z | 2020-09-21T23:16:22.000Z | pipe/tools/houtools/exporter/__init__.py | htinney/byupipe | 7b95270caf4c1834552f53d5073db50fb5162aef | [
"Apache-2.0"
] | 5 | 2019-08-22T03:14:11.000Z | 2021-02-18T00:17:57.000Z | __all__ = ['exporter']
| 11.5 | 22 | 0.652174 | 2 | 23 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06e101cf761e5b16851e60fa3c111a860daf3974 | 3,231 | py | Python | tracalchemy/core.py | FelixSchwarz/TracAlchemy | e1cba9f4af1f8626dbfc3103c8767de82b97a85a | [
"MIT"
] | null | null | null | tracalchemy/core.py | FelixSchwarz/TracAlchemy | e1cba9f4af1f8626dbfc3103c8767de82b97a85a | [
"MIT"
] | null | null | null | tracalchemy/core.py | FelixSchwarz/TracAlchemy | e1cba9f4af1f8626dbfc3103c8767de82b97a85a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2008-2012 Felix Schwarz <felix.schwarz@oss.schwarz.eu>
#
# The MIT License
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, incl... | 35.9 | 84 | 0.681523 | 421 | 3,231 | 5.097387 | 0.382423 | 0.041007 | 0.031687 | 0.018639 | 0.086673 | 0.086673 | 0.086673 | 0.086673 | 0.086673 | 0.086673 | 0 | 0.003614 | 0.229341 | 3,231 | 89 | 85 | 36.303371 | 0.858233 | 0.375735 | 0 | 0.083333 | 0 | 0 | 0.035158 | 0.010547 | 0 | 0 | 0 | 0.011236 | 0 | 1 | 0.208333 | false | 0.020833 | 0.125 | 0.041667 | 0.520833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
06e3de14cce194c8a93932c07a287190537fc767 | 23,736 | py | Python | spotpy/examples/tutorial_likelihood.py | hpsone/spotpy | 34d1ad306b6f2f8faa95f010e6c4db98be76efaa | [
"MIT"
] | 1 | 2020-06-17T17:35:25.000Z | 2020-06-17T17:35:25.000Z | spotpy/examples/tutorial_likelihood.py | YinZhaokai/spotpy | 4b4eec4f3544dd710e5c823de9c351b077ce0d04 | [
"MIT"
] | null | null | null | spotpy/examples/tutorial_likelihood.py | YinZhaokai/spotpy | 4b4eec4f3544dd710e5c823de9c351b077ce0d04 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
Copyright (c) 2017 by Benjamin Manns
This file is part of Statistical Parameter Estimation Tool (SPOTPY).
:author: Tobias Houska, Benjamin Manns
This code shows how to use the likelihood framework and present all existing function.
'''
import numpy as np
import spotpy
# First we use all a... | 65.38843 | 2,054 | 0.693588 | 3,616 | 23,736 | 4.519912 | 0.368639 | 0.025698 | 0.030959 | 0.0372 | 0.318955 | 0.291238 | 0.248776 | 0.231645 | 0.231216 | 0.216777 | 0 | 0.391758 | 0.13924 | 23,736 | 362 | 2,055 | 65.569061 | 0.408203 | 0.135448 | 0 | 0.441176 | 0 | 0.02451 | 0.089958 | 0.065282 | 0 | 0 | 0 | 0.002762 | 0 | 1 | 0.122549 | false | 0 | 0.068627 | 0.02451 | 0.313725 | 0.102941 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
06e5e1ff8b99347b5e80574015f971b4acc07965 | 903 | py | Python | hdf5helper.py | zarlo/HDF5PythonTest | 5b22d483e5ad83e176090afd0d3dccae9ad7f568 | [
"MIT"
] | null | null | null | hdf5helper.py | zarlo/HDF5PythonTest | 5b22d483e5ad83e176090afd0d3dccae9ad7f568 | [
"MIT"
] | null | null | null | hdf5helper.py | zarlo/HDF5PythonTest | 5b22d483e5ad83e176090afd0d3dccae9ad7f568 | [
"MIT"
] | null | null | null | import numpy as np
import h5py
import os
class FileHelper(object):
def __init__(self, db):
self.db = h5py.File(db)
def get(self):
return self.db
def get(self, path):
return self.db[path]
def list(self, path):
return [key for key in self.db[path].keys()]
def sto... | 25.083333 | 69 | 0.59247 | 124 | 903 | 4.193548 | 0.395161 | 0.080769 | 0.030769 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010819 | 0.283499 | 903 | 35 | 70 | 25.8 | 0.79289 | 0 | 0 | 0 | 0 | 0 | 0.013304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.24 | false | 0 | 0.12 | 0.12 | 0.52 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
06f22d54ec8ff7d12c2c4697df0744cf7072d5ea | 327 | py | Python | pypillometry/__init__.py | wsojka00/pypillometry | 6c2258f1df2a435e6474ce33ebc46ce595d3d25e | [
"MIT"
] | 13 | 2020-07-01T02:00:23.000Z | 2021-11-18T22:49:54.000Z | pypillometry/__init__.py | wsojka00/pypillometry | 6c2258f1df2a435e6474ce33ebc46ce595d3d25e | [
"MIT"
] | 17 | 2020-06-24T10:26:09.000Z | 2022-01-27T13:36:10.000Z | pypillometry/__init__.py | wsojka00/pypillometry | 6c2258f1df2a435e6474ce33ebc46ce595d3d25e | [
"MIT"
] | 5 | 2020-06-30T20:03:36.000Z | 2022-01-27T13:22:34.000Z | """
Pypillometry
============
This is a python-package to help with processing of pupillometric data.
"""
from .baseline import *
from .convenience import *
from .fakedata import *
from .pupil import *
from .pupildata import *
from .erpd import *
import os.path
__package_path__ = os.path.abspath(os.path.dirname(__fil... | 19.235294 | 71 | 0.727829 | 43 | 327 | 5.325581 | 0.604651 | 0.218341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143731 | 327 | 16 | 72 | 20.4375 | 0.817857 | 0.299694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6606e8f46aa3cee7c68e3b0202e76bb61f025243 | 157 | py | Python | lang/Python/break-oo-privacy.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/break-oo-privacy.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/break-oo-privacy.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | class MyClassName:
__private = 123
non_private = __private * 2
mine = MyClassName()
mine.non_private
246
mine.__private
mine._MyClassName__private
123
| 12.076923 | 28 | 0.783439 | 20 | 157 | 5.6 | 0.4 | 0.321429 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075188 | 0.152866 | 157 | 12 | 29 | 13.083333 | 0.766917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6608629725f89313a030d764f4f49aff1048f61d | 91 | py | Python | janome/__init__.py | narupo/janome | 9304d45ce8e0ed7094284d478b318c02ccbe6408 | [
"Apache-2.0"
] | 748 | 2015-02-14T12:13:59.000Z | 2022-03-27T23:16:47.000Z | janome/__init__.py | narupo/janome | 9304d45ce8e0ed7094284d478b318c02ccbe6408 | [
"Apache-2.0"
] | 87 | 2015-04-09T02:36:14.000Z | 2022-03-23T06:15:29.000Z | janome/__init__.py | narupo/janome | 9304d45ce8e0ed7094284d478b318c02ccbe6408 | [
"Apache-2.0"
] | 66 | 2015-04-11T04:42:28.000Z | 2022-03-27T16:14:30.000Z | from janome.version import JANOME_VERSION as __version__
__all__ = [
"__version__",
]
| 15.166667 | 56 | 0.747253 | 10 | 91 | 5.5 | 0.6 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 5 | 57 | 18.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6609e74f4044c66acdd50110dc4adee415aa5dd6 | 64 | py | Python | questeval/__init__.py | YuLuLiu/QuestEval | b1b0c7e02fea71ed69f86f31542e89e6ccccc9b2 | [
"MIT"
] | 22 | 2021-08-10T16:35:00.000Z | 2022-03-31T14:24:37.000Z | questeval/__init__.py | YuLuLiu/QuestEval | b1b0c7e02fea71ed69f86f31542e89e6ccccc9b2 | [
"MIT"
] | 3 | 2021-11-12T01:30:11.000Z | 2022-02-13T20:57:38.000Z | questeval/__init__.py | YuLuLiu/QuestEval | b1b0c7e02fea71ed69f86f31542e89e6ccccc9b2 | [
"MIT"
] | 6 | 2021-07-26T02:23:52.000Z | 2021-12-09T19:50:31.000Z | import os
DIR = os.path.dirname(__file__)
__version__ = "0.2.4"
| 16 | 31 | 0.71875 | 11 | 64 | 3.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.125 | 64 | 3 | 32 | 21.333333 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6620a53d1a1d62c0bcde76bf173db03e8f310697 | 1,898 | py | Python | example/app/tests/schemas/tnt.py | davideloba/drf-dynamic-serializer | 7ce4264a79d4c1ff7339adc45c434f19c82ced32 | [
"MIT"
] | 8 | 2021-12-13T16:37:47.000Z | 2022-02-11T14:22:03.000Z | example/app/tests/schemas/tnt.py | davideloba/drf-extra-fields | 7ce4264a79d4c1ff7339adc45c434f19c82ced32 | [
"MIT"
] | null | null | null | example/app/tests/schemas/tnt.py | davideloba/drf-extra-fields | 7ce4264a79d4c1ff7339adc45c434f19c82ced32 | [
"MIT"
] | 1 | 2021-12-17T15:48:41.000Z | 2021-12-17T15:48:41.000Z | eager_loading_schema = {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"last_10_orders": {
"type": "array",
"minItems": 10,
"maxItems": 10,
"items": {
"type": "object",
"properti... | 31.114754 | 56 | 0.226027 | 72 | 1,898 | 5.875 | 0.319444 | 0.141844 | 0.283688 | 0.118203 | 0.35461 | 0.35461 | 0 | 0 | 0 | 0 | 0 | 0.011923 | 0.64647 | 1,898 | 61 | 57 | 31.114754 | 0.61848 | 0 | 0 | 0.442623 | 0 | 0 | 0.21327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
66222d4f3caa0ba18b808451bb6f4002215a2b99 | 87 | py | Python | ascii.py | eoinlees/Topic-7 | d836fadef0919123b285ddc7a03b10632c55fe87 | [
"MIT"
] | null | null | null | ascii.py | eoinlees/Topic-7 | d836fadef0919123b285ddc7a03b10632c55fe87 | [
"MIT"
] | null | null | null | ascii.py | eoinlees/Topic-7 | d836fadef0919123b285ddc7a03b10632c55fe87 | [
"MIT"
] | null | null | null | # Eoin Lees
# Ascii Table
for i in range(0, 256):
print(f"{i:3} {i:08b} {chr(i)}") | 17.4 | 36 | 0.563218 | 18 | 87 | 2.722222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 0.206897 | 87 | 5 | 36 | 17.4 | 0.608696 | 0.241379 | 0 | 0 | 0 | 0 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b07c20dbde7eef4eab307b5dae4ca162108c42e8 | 255 | py | Python | agent/api/views.py | minhdq99hp/pc_monitoring_bot | 589b845d05842d4de5771374f14dbcfe8ee0c0b8 | [
"MIT"
] | null | null | null | agent/api/views.py | minhdq99hp/pc_monitoring_bot | 589b845d05842d4de5771374f14dbcfe8ee0c0b8 | [
"MIT"
] | null | null | null | agent/api/views.py | minhdq99hp/pc_monitoring_bot | 589b845d05842d4de5771374f14dbcfe8ee0c0b8 | [
"MIT"
] | null | null | null | from rest_framework.viewsets import GenericViewSet
from rest_framework.decorators import action
class PCViewSet(GenericViewSet):
@action(detail=False, methods=['post'], url_path='import-from-articles')
def turnoff(self, request):
pass
| 23.181818 | 76 | 0.756863 | 30 | 255 | 6.333333 | 0.733333 | 0.084211 | 0.178947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145098 | 255 | 10 | 77 | 25.5 | 0.87156 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
b0916182b3d435c547471c9a6d01cf2f3888449d | 415 | py | Python | 05-Mathematic-Implementation/DS-RegressrionTechniques/04-Regression/GraphEngine.py | NguyenQuangBinh803/Python-Heritage | 7da72b2926cefc4903086a1cab7de3a64764d648 | [
"MIT"
] | 1 | 2021-01-10T12:06:26.000Z | 2021-01-10T12:06:26.000Z | 05-Mathematic-Implementation/DS-RegressrionTechniques/04-Regression/GraphEngine.py | NguyenQuangBinh803/Python-Heritage | 7da72b2926cefc4903086a1cab7de3a64764d648 | [
"MIT"
] | null | null | null | 05-Mathematic-Implementation/DS-RegressrionTechniques/04-Regression/GraphEngine.py | NguyenQuangBinh803/Python-Heritage | 7da72b2926cefc4903086a1cab7de3a64764d648 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
class GraphEngine:
def __init__(self):
pass
def plot_signal(self, list_of_input_signal):
fig, axs = plt.subplots(len(list_of_input_signal))
for i in range(len(list_of_input_signal)):
axs[i].plot(list_of_input_signal[i])
plt.show()
... | 24.411765 | 58 | 0.643373 | 63 | 415 | 3.888889 | 0.460317 | 0.097959 | 0.179592 | 0.277551 | 0.269388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253012 | 415 | 17 | 59 | 24.411765 | 0.790323 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.083333 | 0 | 0.416667 | 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 | 0 | 0 | 0 | 0 | 3 |
b09d1820a6ad79f83a5066d5c781f5c4e7df1d91 | 333 | py | Python | reddit_dashboard/admin.py | tarikyayla/reddit_dashboard | e5ecf3349a5c9333793c3ae5375bc4a0e501a16c | [
"MIT"
] | null | null | null | reddit_dashboard/admin.py | tarikyayla/reddit_dashboard | e5ecf3349a5c9333793c3ae5375bc4a0e501a16c | [
"MIT"
] | null | null | null | reddit_dashboard/admin.py | tarikyayla/reddit_dashboard | e5ecf3349a5c9333793c3ae5375bc4a0e501a16c | [
"MIT"
] | 1 | 2020-11-27T23:24:09.000Z | 2020-11-27T23:24:09.000Z | from django.contrib import admin
from reddit_dashboard.models import DashboardUser, Subreddit, SentPosts, Posts, DiscordServer, TextChannel
admin.site.register(DashboardUser)
admin.site.register(Subreddit)
admin.site.register(SentPosts)
admin.site.register(Posts)
admin.site.register(DiscordServer)
admin.site.register(... | 33.3 | 106 | 0.846847 | 40 | 333 | 7.025 | 0.4 | 0.192171 | 0.362989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06006 | 333 | 9 | 107 | 37 | 0.897764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b09f4bdc34803e35ace292f8144f022ce70185fd | 75 | py | Python | tests/test_nanopolish.py | JessvLS/project_spring_2020 | ae5387afce3faabba1d8ab579de2dd8c80f6ffa7 | [
"Apache-2.0"
] | null | null | null | tests/test_nanopolish.py | JessvLS/project_spring_2020 | ae5387afce3faabba1d8ab579de2dd8c80f6ffa7 | [
"Apache-2.0"
] | null | null | null | tests/test_nanopolish.py | JessvLS/project_spring_2020 | ae5387afce3faabba1d8ab579de2dd8c80f6ffa7 | [
"Apache-2.0"
] | null | null | null | https://github.com/jts/nanopolish/blob/master/src/test/nanopolish_test.cpp
| 37.5 | 74 | 0.826667 | 12 | 75 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 75 | 1 | 75 | 75 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b0da7e500b9cef0d7b99251049e1c7d6d83f3b13 | 96 | py | Python | osadditions/__init__.py | inforion/micropython-tools | a39146ec93313bea4675eb9d27f5587e0ad39434 | [
"MIT"
] | 8 | 2019-11-22T07:59:35.000Z | 2020-06-18T18:41:31.000Z | osadditions/__init__.py | inforion/micropython-tools | a39146ec93313bea4675eb9d27f5587e0ad39434 | [
"MIT"
] | null | null | null | osadditions/__init__.py | inforion/micropython-tools | a39146ec93313bea4675eb9d27f5587e0ad39434 | [
"MIT"
] | null | null | null | from . osadditions import *
__all__ = [makedirs, truncate, renames, removedirs, walk, replace]
| 24 | 66 | 0.75 | 10 | 96 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 3 | 67 | 32 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b0e920c8cd4110674ee66928b4d80237f546c642 | 1,310 | py | Python | tesseractXplore/widgets/menus.py | zuphilip/tesseractXplore | 3e5a6eeab5872e13416751bca2b5e5351d604d72 | [
"MIT"
] | 15 | 2021-02-11T14:16:47.000Z | 2021-09-30T15:44:28.000Z | tesseractXplore/widgets/menus.py | stweil/tesseractXplore | 7477d02254e81b2259e5cf8394be88d558f52d5c | [
"MIT"
] | 13 | 2021-02-12T13:10:10.000Z | 2021-07-16T08:20:29.000Z | tesseractXplore/widgets/menus.py | stweil/tesseractXplore | 7477d02254e81b2259e5cf8394be88d558f52d5c | [
"MIT"
] | 6 | 2021-02-11T15:18:57.000Z | 2021-12-26T16:10:52.000Z | from kivy.properties import ObjectProperty
from kivy.uix.behaviors import ButtonBehavior
from kivy_garden.contextmenu import AbstractMenuItemHoverable, ContextMenu, ContextMenuText
class ObjectContextMenu(ContextMenu):
""" Context menu with a reference to an object, which can be set by an event handler on the
... | 29.111111 | 95 | 0.722901 | 154 | 1,310 | 6.11039 | 0.422078 | 0.053135 | 0.059511 | 0.085016 | 0.329437 | 0.280553 | 0.280553 | 0.208289 | 0.208289 | 0.208289 | 0 | 0 | 0.20229 | 1,310 | 44 | 96 | 29.772727 | 0.900478 | 0.278626 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0.125 | 0.166667 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b0fea23f69a856187d691f40502e92d2cb12f2e0 | 3,041 | py | Python | nexus/meta_api/query_extensionner/tests/test_query_extensionner.py | RobbiNespu/hyperboria | 7db858386f1a20e8d49bc16f53bfd7f1e4d03f7e | [
"Unlicense"
] | 54 | 2021-01-07T03:02:36.000Z | 2022-03-28T17:19:29.000Z | nexus/meta_api/query_extensionner/tests/test_query_extensionner.py | the-superpirate/hyperboria | 74776166158d07b199677f9738862e5f1fa54367 | [
"Unlicense"
] | 10 | 2021-01-08T17:38:59.000Z | 2022-02-28T14:34:45.000Z | nexus/meta_api/query_extensionner/tests/test_query_extensionner.py | the-superpirate/hyperboria | 74776166158d07b199677f9738862e5f1fa54367 | [
"Unlicense"
] | 16 | 2020-12-28T18:31:44.000Z | 2022-02-22T15:00:53.000Z | from nexus.meta_api.query_extensionner import ClassicQueryProcessor
from nexus.meta_api.query_extensionner.checks import QueryClass
def classic_query_processor(query):
result = ClassicQueryProcessor().process(query, 'en')
return result['query'], result['class']
def test_doi_query():
assert classic_query... | 42.830986 | 120 | 0.686616 | 380 | 3,041 | 5.347368 | 0.189474 | 0.112205 | 0.196358 | 0.239173 | 0.77313 | 0.722933 | 0.625984 | 0.620571 | 0.591535 | 0.556102 | 0 | 0.134895 | 0.185794 | 3,041 | 70 | 121 | 43.442857 | 0.685784 | 0 | 0 | 0.25 | 0 | 0.016667 | 0.415653 | 0.080237 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.083333 | false | 0 | 0.033333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c026fb0e8ae3c8c5195748045843cb5f26fe56b | 1,162 | py | Python | deep_rl/reward_fs/core.py | Louis-Bagot/DeepRL | 0b152c52bbba90362c8276c223fee3f9a464eb32 | [
"MIT"
] | null | null | null | deep_rl/reward_fs/core.py | Louis-Bagot/DeepRL | 0b152c52bbba90362c8276c223fee3f9a464eb32 | [
"MIT"
] | null | null | null | deep_rl/reward_fs/core.py | Louis-Bagot/DeepRL | 0b152c52bbba90362c8276c223fee3f9a464eb32 | [
"MIT"
] | null | null | null | import numpy as np
import torch
class Intrinsic_Reward_Function():
""" Exploration Bonus as a Reward signal."""
def __init__(self, config):
""" Initializes the intrinsic reward function.
E.g. networs if learnt, hyperparameters, normalizers.
"""
self.config = config
# ..... | 34.176471 | 80 | 0.640275 | 147 | 1,162 | 4.965986 | 0.585034 | 0.061644 | 0.063014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283133 | 1,162 | 33 | 81 | 35.212121 | 0.876351 | 0.536145 | 0 | 0 | 0 | 0 | 0.045673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0.181818 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b0005c7a7c111241e45ee5609c4944367c0fafff | 627 | py | Python | rubikscube/tables.py | ryomakawakami/rubikscube | 4697f41b4e1050b06061fb0f9d324cf20110ec16 | [
"MIT"
] | null | null | null | rubikscube/tables.py | ryomakawakami/rubikscube | 4697f41b4e1050b06061fb0f9d324cf20110ec16 | [
"MIT"
] | null | null | null | rubikscube/tables.py | ryomakawakami/rubikscube | 4697f41b4e1050b06061fb0f9d324cf20110ec16 | [
"MIT"
] | null | null | null | import rubikscube.move_table as move_table
import rubikscube.pruning_table as pruning_table
class Table:
def __init__(self):
self.coMove, self.eoMove, self.udMove1 = move_table.phase1()
self.coPrune = pruning_table.generate(self.coMove)
self.eoPrune = pruning_table.generate(self.eoMove)
... | 41.8 | 68 | 0.728868 | 79 | 627 | 5.582278 | 0.316456 | 0.217687 | 0.272109 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015474 | 0.175439 | 627 | 14 | 69 | 44.785714 | 0.837524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b021ed48b072a6c9318936f929531ce5d52071bb | 320 | py | Python | dataset_iterator/datasetIO/__init__.py | jeanollion/dataset_iterator | 2e06903734a3083c4d01d9579344d58eb7d807de | [
"Apache-2.0"
] | null | null | null | dataset_iterator/datasetIO/__init__.py | jeanollion/dataset_iterator | 2e06903734a3083c4d01d9579344d58eb7d807de | [
"Apache-2.0"
] | null | null | null | dataset_iterator/datasetIO/__init__.py | jeanollion/dataset_iterator | 2e06903734a3083c4d01d9579344d58eb7d807de | [
"Apache-2.0"
] | null | null | null | name = "datasetIO"
from .datasetIO import DatasetIO, get_datasetIO
from .multiple_fileIO import MultipleFileIO
from .h5pyIO import H5pyIO
from .multiple_datasetIO import MultipleDatasetIO
from .concatenate_datasetIO import ConcatenateDatasetIO
from .group_datasetIO import GroupDatasetIO
from .memoryIO import MemoryIO
| 32 | 55 | 0.8625 | 36 | 320 | 7.527778 | 0.416667 | 0.221402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006969 | 0.103125 | 320 | 9 | 56 | 35.555556 | 0.937282 | 0 | 0 | 0 | 0 | 0 | 0.028125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b03eb2fcdd1a40a57b6b6a7b2479ccfa2aa2c34e | 231 | py | Python | file_api/config.py | ptrwn/http_fs | 5308d3039475626c000558d12e564646eb47ee70 | [
"MIT"
] | null | null | null | file_api/config.py | ptrwn/http_fs | 5308d3039475626c000558d12e564646eb47ee70 | [
"MIT"
] | null | null | null | file_api/config.py | ptrwn/http_fs | 5308d3039475626c000558d12e564646eb47ee70 | [
"MIT"
] | null | null | null | class Config(object):
DEBUG = False
TESTING = False
UPLOAD_FOLDER = 'store'
class DevConfig(Config):
DEBUG = True
class TestConfig(Config):
TESTING = True
DEBUG = False
UPLOAD_FOLDER = 'test_store'
| 14.4375 | 32 | 0.65368 | 26 | 231 | 5.692308 | 0.5 | 0.135135 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 231 | 15 | 33 | 15.4 | 0.865497 | 0 | 0 | 0.2 | 0 | 0 | 0.065502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b064770a5062f275a606d354e05c0e4967f026db | 879 | py | Python | numerical_tic_tac_toe/player.py | gbroques/numerical-tic-tac-toe | 143f4ec7a8417a551b3ed64253c5f6d7ad49b3d8 | [
"MIT"
] | 1 | 2022-03-29T01:44:27.000Z | 2022-03-29T01:44:27.000Z | numerical_tic_tac_toe/player.py | gbroques/numerical-tic-tac-toe | 143f4ec7a8417a551b3ed64253c5f6d7ad49b3d8 | [
"MIT"
] | null | null | null | numerical_tic_tac_toe/player.py | gbroques/numerical-tic-tac-toe | 143f4ec7a8417a551b3ed64253c5f6d7ad49b3d8 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Player(ABC):
def __init__(self, name):
self.name = name
@staticmethod
@abstractmethod
def is_max():
"""Return True if player is Max."""
@staticmethod
@abstractmethod
def is_min():
"""Return True if player is Min."""
d... | 17.938776 | 58 | 0.598407 | 101 | 879 | 4.712871 | 0.217822 | 0.063025 | 0.142857 | 0.088235 | 0.634454 | 0.197479 | 0.197479 | 0.197479 | 0.197479 | 0.197479 | 0 | 0 | 0.285552 | 879 | 48 | 59 | 18.3125 | 0.757962 | 0.067122 | 0 | 0.625 | 0 | 0 | 0.007417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.34375 | false | 0 | 0.03125 | 0.1875 | 0.65625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b071a9a7f5491f865d6ce4d7f1b0c60e3d0d19ca | 11,260 | py | Python | src/applications/hopetwitter/add_metadata.py | centre-for-humanities-computing/danish-foundation-models | 1cc0950fab55650fd92f56b4bad0b13a5be73061 | [
"MIT"
] | 8 | 2021-12-10T08:37:55.000Z | 2022-02-08T14:42:01.000Z | src/applications/hopetwitter/add_metadata.py | centre-for-humanities-computing/danish-foundation-models | 1cc0950fab55650fd92f56b4bad0b13a5be73061 | [
"MIT"
] | 47 | 2021-12-12T14:41:31.000Z | 2022-03-31T08:57:56.000Z | src/applications/hopetwitter/add_metadata.py | centre-for-humanities-computing/danish-foundation-models | 1cc0950fab55650fd92f56b4bad0b13a5be73061 | [
"MIT"
] | null | null | null | """
Add description to dataset and generate an outline to a datasheet describing the
dataset.
Dependent on:
src/applications/hopetwitter/dedupe.py
Authors:
Kenneth Enevoldsen
"""
import os
from datasets import load_from_disk
from wasabi import msg
import spacy
path = os.path.join(
"/work", "twitter_clea... | 44.68254 | 188 | 0.758792 | 1,721 | 11,260 | 4.914003 | 0.441023 | 0.024832 | 0.01821 | 0.011825 | 0.145323 | 0.128414 | 0.128414 | 0.128414 | 0.128414 | 0.121556 | 0 | 0.018256 | 0.148668 | 11,260 | 251 | 189 | 44.860558 | 0.863655 | 0.02087 | 0 | 0.060976 | 1 | 0.25 | 0.901053 | 0.045025 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006098 | false | 0.012195 | 0.02439 | 0 | 0.036585 | 0.018293 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c6629847f333ab1383c365be055737f2cc0a91cd | 764 | py | Python | external-deps/qdarkstyle/qdarkstyle/colorsystem.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | 7,956 | 2015-02-17T01:19:09.000Z | 2022-03-31T21:52:15.000Z | external-deps/qdarkstyle/qdarkstyle/colorsystem.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | 16,326 | 2015-02-16T23:15:21.000Z | 2022-03-31T23:34:34.000Z | external-deps/qdarkstyle/qdarkstyle/colorsystem.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | 1,918 | 2015-02-20T19:26:26.000Z | 2022-03-31T19:03:25.000Z | # colorsystem.py is the full list of colors that can be used to easily create themes.
class Gray:
B0 = '#000000'
B10 = '#19232D'
B20 = '#293544'
B30 = '#37414F'
B40 = '#455364'
B50 = '#54687A'
B60 = '#60798B'
B70 = '#788D9C'
B80 = '#9DA9B5'
B90 = '#ACB1B6'
B100 = '#B9BDC1'
... | 19.589744 | 85 | 0.501309 | 84 | 764 | 4.559524 | 0.77381 | 0.041775 | 0.057441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.340426 | 0.323298 | 764 | 38 | 86 | 20.105263 | 0.400387 | 0.108639 | 0 | 0.058824 | 0 | 0 | 0.33137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c663a471927471517b1b02b238546d7aef5f33d4 | 454 | py | Python | mini_frame.py | DamonMok/PythonLearning | ce438f9c4e369ad3cf8063b2edc4845386aa7cbc | [
"MIT"
] | null | null | null | mini_frame.py | DamonMok/PythonLearning | ce438f9c4e369ad3cf8063b2edc4845386aa7cbc | [
"MIT"
] | null | null | null | mini_frame.py | DamonMok/PythonLearning | ce438f9c4e369ad3cf8063b2edc4845386aa7cbc | [
"MIT"
] | null | null | null | import time
def login():
return "login--%s" % time.ctime()
def register():
return "register--%s" % time.ctime()
def other():
return "other--%s" % time.ctime()
def application(file_name):
# 把逻辑代码跟web服务器解耦
if file_name == "/login.py":
return login()
elif file_name == "/register.py... | 16.814815 | 40 | 0.577093 | 55 | 454 | 4.690909 | 0.381818 | 0.124031 | 0.116279 | 0.151163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008982 | 0.264317 | 454 | 26 | 41 | 17.461538 | 0.763473 | 0.030837 | 0 | 0 | 0 | 0 | 0.180365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.1875 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c6799686256c07e4bf650121b0f0116f431d7dc7 | 535 | py | Python | mudi/models/site.py | daturkel/mudi | c645f7899134616339f19b713f9939d45309ce68 | [
"MIT"
] | null | null | null | mudi/models/site.py | daturkel/mudi | c645f7899134616339f19b713f9939d45309ce68 | [
"MIT"
] | null | null | null | mudi/models/site.py | daturkel/mudi | c645f7899134616339f19b713f9939d45309ce68 | [
"MIT"
] | null | null | null | from pathlib import Path
from pydantic import AnyHttpUrl, BaseModel
from typing import Optional
from .markdown import MarkdownSettings
from .sass import SassSettings
class SiteSettings(BaseModel):
input_dir: Path = Path("src")
output_dir: Path = Path("dist")
template_dir: Path = Path("templates")
con... | 29.722222 | 51 | 0.743925 | 61 | 535 | 6.42623 | 0.47541 | 0.071429 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 535 | 17 | 52 | 31.470588 | 0.880899 | 0 | 0 | 0 | 0 | 0 | 0.065421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.357143 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c6c042978e9680a1ac264afa990295e4368e8c50 | 187 | py | Python | leadsmanager/leads/urls.py | timoluxinne/Fullstack-Lead-Manager | 0d505b825984c49908e293f5fdb7a1ff5bffbde1 | [
"MIT"
] | 1 | 2021-05-15T16:40:06.000Z | 2021-05-15T16:40:06.000Z | leadsmanager/leads/urls.py | timoluxinne/Fullstack-Lead-Manager | 0d505b825984c49908e293f5fdb7a1ff5bffbde1 | [
"MIT"
] | null | null | null | leadsmanager/leads/urls.py | timoluxinne/Fullstack-Lead-Manager | 0d505b825984c49908e293f5fdb7a1ff5bffbde1 | [
"MIT"
] | null | null | null | from rest_framework import routers, urlpatterns
from .views import LeadViewSet
router = routers.DefaultRouter()
router.register('leads', LeadViewSet, 'leads')
urlpatterns = router.urls | 26.714286 | 48 | 0.802139 | 21 | 187 | 7.095238 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106952 | 187 | 7 | 49 | 26.714286 | 0.892216 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c6cb1ba98441b17620ed74fc588c7246633d696b | 107 | py | Python | redapp/__init__.py | fuodorov/redpic | a2ed852b2ffa96c4daa96318b1ce9de7d0a78014 | [
"MIT"
] | 3 | 2020-04-13T13:57:50.000Z | 2021-09-17T09:22:50.000Z | redapp/__init__.py | fuodorov/redpic | a2ed852b2ffa96c4daa96318b1ce9de7d0a78014 | [
"MIT"
] | null | null | null | redapp/__init__.py | fuodorov/redpic | a2ed852b2ffa96c4daa96318b1ce9de7d0a78014 | [
"MIT"
] | 1 | 2020-05-07T16:08:36.000Z | 2020-05-07T16:08:36.000Z | __version__ = '0.1.2'
__doc__ = '''Relativictic Difference Scheme Particle-in-Cell application (REDAPP)'''
| 35.666667 | 84 | 0.747664 | 13 | 107 | 5.538462 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.102804 | 107 | 2 | 85 | 53.5 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0.682243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c6e6a3f73c3fa6417b589b7fadd7e45a4754fe28 | 5,310 | py | Python | flask/data/mySqlDataLayer.py | DovidBaars/Example_CRM_Hogwarts | 3aa027c115909226c8440d6fa5b0c25741ce375a | [
"MIT"
] | null | null | null | flask/data/mySqlDataLayer.py | DovidBaars/Example_CRM_Hogwarts | 3aa027c115909226c8440d6fa5b0c25741ce375a | [
"MIT"
] | null | null | null | flask/data/mySqlDataLayer.py | DovidBaars/Example_CRM_Hogwarts | 3aa027c115909226c8440d6fa5b0c25741ce375a | [
"MIT"
] | null | null | null | import mysql.connector
from decouple import config
from data.baseDataLayer import BaseDataLayer
from data.lib.mySql_Lib import *
class MySqlDataLayer(BaseDataLayer):
def get_all_admins(self):
try:
cursor = self.__mydb.cursor()
self.__mydb.start_transaction()
admin_dict ... | 35.637584 | 98 | 0.57646 | 536 | 5,310 | 5.41791 | 0.145522 | 0.107438 | 0.096419 | 0.052686 | 0.742424 | 0.742424 | 0.742424 | 0.690083 | 0.663912 | 0.663912 | 0 | 0 | 0.333333 | 5,310 | 148 | 99 | 35.878378 | 0.820339 | 0 | 0 | 0.61194 | 0 | 0 | 0.138821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089552 | false | 0.007463 | 0.029851 | 0 | 0.149254 | 0.141791 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.