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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
569266cad93419bd023cb20e34f11ff9f314e035 | 37 | py | Python | unittesting/__init__.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | 1 | 2017-06-15T17:51:19.000Z | 2017-06-15T17:51:19.000Z | unittesting/__init__.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | null | null | null | unittesting/__init__.py | SpaceAppsXploration/semantic-data-chronos | f7908f50892781154d623f46303812e88fdecb57 | [
"Apache-2.0"
] | null | null | null | __author__ = 'lorenzo@pramantha.net'
| 18.5 | 36 | 0.783784 | 4 | 37 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.567568 | 0.567568 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5692d1cd965e3ff52311afc499308dc44d46db86 | 1,608 | py | Python | galaxylearning/entity/job.py | ZJU-DistributedAI/GalaxyLearning | b56b7f6d74a93a06f439ffb8c206b3152b916e92 | [
"Apache-2.0"
] | 4 | 2020-03-16T14:02:16.000Z | 2021-10-03T10:24:29.000Z | galaxylearning/entity/job.py | ZJU-DistributedAI/GalaxyLearning | b56b7f6d74a93a06f439ffb8c206b3152b916e92 | [
"Apache-2.0"
] | null | null | null | galaxylearning/entity/job.py | ZJU-DistributedAI/GalaxyLearning | b56b7f6d74a93a06f439ffb8c206b3152b916e92 | [
"Apache-2.0"
] | 3 | 2020-04-10T10:52:42.000Z | 2021-11-23T04:01:43.000Z | class Job(object):
def __init__(self, server_host, job_id, train_strategy, train_model, train_model_class_name, aggregate_strategy,
distillation_alpha=None):
self.server_host = server_host
self.job_id = job_id
self.train_strategy = train_strategy
self.train_model = ... | 29.777778 | 116 | 0.71393 | 216 | 1,608 | 4.87963 | 0.097222 | 0.170778 | 0.128083 | 0.162239 | 0.537002 | 0.148956 | 0.119545 | 0.119545 | 0.119545 | 0 | 0 | 0 | 0.225124 | 1,608 | 53 | 117 | 30.339623 | 0.845907 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.394737 | false | 0 | 0 | 0.184211 | 0.605263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
569ff61758ff561abcce52bab2761526d2be0631 | 70 | py | Python | test/test_cases/bad_end_google.py | PFacheris/flake8-function-definition | 74e7ee29dd3bccb08e5636603e60aaa4b7e505af | [
"MIT"
] | null | null | null | test/test_cases/bad_end_google.py | PFacheris/flake8-function-definition | 74e7ee29dd3bccb08e5636603e60aaa4b7e505af | [
"MIT"
] | 1 | 2016-09-19T14:01:13.000Z | 2016-09-20T00:36:41.000Z | test/test_cases/bad_end_google.py | PFacheris/flake8-function-definition | 74e7ee29dd3bccb08e5636603e60aaa4b7e505af | [
"MIT"
] | null | null | null | def foo(bar1, bar2, bar3,
bar4
): # FD102
return
| 14 | 25 | 0.471429 | 8 | 70 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.428571 | 70 | 4 | 26 | 17.5 | 0.65 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
3b2175cbf600f0cbe87045aa53de5d1e55177e39 | 3,921 | py | Python | iocage/tests/unit_tests/1000_cli_activate_test.py | project-fifo/iocage | 1b8669bc2119718dbea8f2707a4eb4c92197c0f0 | [
"BSD-2-Clause"
] | null | null | null | iocage/tests/unit_tests/1000_cli_activate_test.py | project-fifo/iocage | 1b8669bc2119718dbea8f2707a4eb4c92197c0f0 | [
"BSD-2-Clause"
] | null | null | null | iocage/tests/unit_tests/1000_cli_activate_test.py | project-fifo/iocage | 1b8669bc2119718dbea8f2707a4eb4c92197c0f0 | [
"BSD-2-Clause"
] | 1 | 2022-03-06T10:09:18.000Z | 2022-03-06T10:09:18.000Z | import mock
import pytest
from iocage.cli.activate import\
(get_zfs_pools, set_zfs_pool_active_property, set_zfs_pool_comment)
@mock.patch('iocage.cli.activate.Popen.communicate')
def test_get_zfs_pools_multiple_pools(mock_communicate):
""" Fake the expected output from zpool list -H -o name
on a syst... | 32.404959 | 106 | 0.713849 | 529 | 3,921 | 4.973535 | 0.166352 | 0.066515 | 0.087419 | 0.09122 | 0.831623 | 0.807298 | 0.781452 | 0.742683 | 0.659825 | 0.572786 | 0 | 0.004356 | 0.180311 | 3,921 | 121 | 107 | 32.404959 | 0.81425 | 0.091303 | 0 | 0.450704 | 0 | 0 | 0.151689 | 0.084439 | 0 | 0 | 0 | 0 | 0.112676 | 1 | 0.140845 | false | 0 | 0.042254 | 0 | 0.183099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b32fdf75b3467d431db1e7094a2923c61191900 | 266 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/shutnoshut/vlan/shutnoshut.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/shutnoshut/vlan/shutnoshut.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/shutnoshut/vlan/shutnoshut.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | ''' implementation for Vlan shut/noshut triggers'''
# import python
import time
# Genie Libs
from genie.libs.sdk.libs.utils.mapping import Mapping
from genie.libs.sdk.triggers.shutnoshut.shutnoshut import \
TriggerShutNoShut
| 24.181818 | 59 | 0.684211 | 30 | 266 | 6.066667 | 0.566667 | 0.148352 | 0.142857 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240602 | 266 | 10 | 60 | 26.6 | 0.90099 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3b390b33fcbd46bea207077a003fc21fc51b0b4a | 25,211 | py | Python | sos_trades_core/sos_processes/test/test_architecture/usecase_simple_architecture.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | 8 | 2022-01-10T14:44:28.000Z | 2022-03-31T08:57:14.000Z | sos_trades_core/sos_processes/test/test_architecture/usecase_simple_architecture.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | null | null | null | sos_trades_core/sos_processes/test/test_architecture/usecase_simple_architecture.py | os-climate/sostrades-core | bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9 | [
"Apache-2.0"
] | 1 | 2022-02-21T14:51:45.000Z | 2022-02-21T14:51:45.000Z | '''
Copyright 2022 Airbus SAS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 116.179724 | 8,845 | 0.610606 | 3,321 | 25,211 | 4.580548 | 0.431497 | 0.025112 | 0.00493 | 0.006574 | 0.189982 | 0.150736 | 0.147055 | 0.137392 | 0.118328 | 0.108073 | 0 | 0.683593 | 0.256356 | 25,211 | 216 | 8,846 | 116.717593 | 0.1278 | 0.040736 | 0 | 0.034483 | 0 | 0 | 0.048788 | 0.033808 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0 | 0.017241 | 0 | 0.04023 | 0.005747 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b67741092ee08f64764247dcb3517f76f517e1b | 113 | py | Python | elvia/types/common.py | andersem/elvia-python | cd71d13e1200845c93222dffed53baaa3a136bd4 | [
"MIT"
] | null | null | null | elvia/types/common.py | andersem/elvia-python | cd71d13e1200845c93222dffed53baaa3a136bd4 | [
"MIT"
] | null | null | null | elvia/types/common.py | andersem/elvia-python | cd71d13e1200845c93222dffed53baaa3a136bd4 | [
"MIT"
] | null | null | null | from typing_extensions import TypedDict
class CustomerContract(TypedDict):
startTime: str
endTime: str
| 16.142857 | 39 | 0.778761 | 12 | 113 | 7.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 113 | 6 | 40 | 18.833333 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3b6f12acccf4f926a75b0719a710025ee03bc50f | 169 | py | Python | problem0669.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0669.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0669.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #669 The King's Banquet - Project Euler
# https://projecteuler.net/problem=669
#
# Code by Kevin Marciniak
#
###########################
| 18.777778 | 41 | 0.473373 | 16 | 169 | 5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040268 | 0.118343 | 169 | 8 | 42 | 21.125 | 0.496644 | 0.585799 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b933563fc80b8fe68d1b6435ab7769cf6846aab | 90 | py | Python | contak/apps.py | dasfrosty/contak-service | 49808b6232e751138e0e17683045540fbe5861d1 | [
"MIT"
] | null | null | null | contak/apps.py | dasfrosty/contak-service | 49808b6232e751138e0e17683045540fbe5861d1 | [
"MIT"
] | null | null | null | contak/apps.py | dasfrosty/contak-service | 49808b6232e751138e0e17683045540fbe5861d1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ContakAppConfig(AppConfig):
name = "contak"
| 15 | 33 | 0.755556 | 10 | 90 | 6.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8e8b09c131ac6da52f50590d3b1d0a6f68847c9b | 636 | py | Python | libotp/__init__.py | SuperM0use24/TT-CL-Edition | fdad8394f0656ae122b687d603f72afafd220c65 | [
"MIT"
] | null | null | null | libotp/__init__.py | SuperM0use24/TT-CL-Edition | fdad8394f0656ae122b687d603f72afafd220c65 | [
"MIT"
] | 1 | 2021-06-08T17:16:48.000Z | 2021-06-08T17:16:48.000Z | libotp/__init__.py | SuperM0use24/TT-CL-Edition | fdad8394f0656ae122b687d603f72afafd220c65 | [
"MIT"
] | 3 | 2021-06-03T05:36:36.000Z | 2021-06-22T15:07:31.000Z | from movement.CImpulse import CImpulse
from movement.CMover import CMover
from nametag import NametagGlobals
from nametag.ChatBalloon import ChatBalloon
from nametag.ClickablePopup import ClickablePopup
from nametag.MarginManager import MarginManager
from nametag.MarginPopup import MarginPopup
from nametag.Nametag impo... | 39.75 | 49 | 0.882075 | 73 | 636 | 7.671233 | 0.246575 | 0.255357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.09434 | 636 | 15 | 50 | 42.4 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8ebc0a6c65ad600577cb9ece01e067e35c86155e | 156 | py | Python | app/__init__.py | paulmunyao/Daily-Dossier-News | 84deac7e58148dc2a2e539ccf670d945b34c6d6b | [
"Unlicense"
] | null | null | null | app/__init__.py | paulmunyao/Daily-Dossier-News | 84deac7e58148dc2a2e539ccf670d945b34c6d6b | [
"Unlicense"
] | null | null | null | app/__init__.py | paulmunyao/Daily-Dossier-News | 84deac7e58148dc2a2e539ccf670d945b34c6d6b | [
"Unlicense"
] | null | null | null | from flask import Flask
from config import DevelopmentConfig
app = Flask(__name__)
app.config.from_object(DevelopmentConfig)
from app import routes,errors | 22.285714 | 41 | 0.839744 | 21 | 156 | 6 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 156 | 7 | 42 | 22.285714 | 0.906475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d90ba9911ad6ab56814a796a79d97402a9504f8f | 18 | py | Python | monte_carlo_tree_search/constants.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | 1 | 2020-03-09T18:56:01.000Z | 2020-03-09T18:56:01.000Z | monte_carlo_tree_search/constants.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | null | null | null | monte_carlo_tree_search/constants.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | 1 | 2019-10-25T13:09:40.000Z | 2019-10-25T13:09:40.000Z | INFINITY = 10 ** 4 | 18 | 18 | 0.611111 | 3 | 18 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.222222 | 18 | 1 | 18 | 18 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d91c58edfa632d450e7b4251fff4c575497a2fac | 112 | py | Python | tests/run_win32.py | gitter-badger/pywebview | 2770330bc265b65dedd7874d579c2c9fde22159e | [
"BSD-3-Clause"
] | 1 | 2021-11-22T05:24:27.000Z | 2021-11-22T05:24:27.000Z | tests/run_win32.py | gitter-badger/pywebview | 2770330bc265b65dedd7874d579c2c9fde22159e | [
"BSD-3-Clause"
] | null | null | null | tests/run_win32.py | gitter-badger/pywebview | 2770330bc265b65dedd7874d579c2c9fde22159e | [
"BSD-3-Clause"
] | 3 | 2021-02-09T22:27:34.000Z | 2021-12-28T14:49:23.000Z | import os
import pytest
if __name__ == '__main__':
os.environ['PYWEBVIEW_GUI'] = 'win32'
pytest.main() | 16 | 41 | 0.669643 | 14 | 112 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.1875 | 112 | 7 | 42 | 16 | 0.703297 | 0 | 0 | 0 | 0 | 0 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d9221f490274b6d01c3d8715693bbdf9e1bb0e14 | 215 | py | Python | backend/forum/rating/apps.py | karolyi/forum-django | a498be3123deb836e0108258c493b88c645b2163 | [
"MIT"
] | 7 | 2016-09-20T11:49:49.000Z | 2017-06-24T23:51:56.000Z | backend/forum/rating/apps.py | karolyi/forum-django | a498be3123deb836e0108258c493b88c645b2163 | [
"MIT"
] | 17 | 2019-12-22T10:41:48.000Z | 2021-11-17T10:58:50.000Z | backend/forum/rating/apps.py | karolyi/forum-django | a498be3123deb836e0108258c493b88c645b2163 | [
"MIT"
] | 1 | 2016-09-20T11:50:57.000Z | 2016-09-20T11:50:57.000Z | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class RatingConfig(AppConfig):
name = 'forum.rating'
verbose_name = _('Forum: Ratings')
label = 'forum_rating'
| 23.888889 | 55 | 0.744186 | 26 | 215 | 5.961538 | 0.692308 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167442 | 215 | 8 | 56 | 26.875 | 0.865922 | 0 | 0 | 0 | 0 | 0 | 0.176744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d939e72704fcce76236bc784a19c4d674e6ae773 | 739 | py | Python | modules/eris/problem2.py | Datsmir/eris-calibration | 3af4691b948fb076e2bb49bd1e367bd6315beae6 | [
"Apache-2.0"
] | null | null | null | modules/eris/problem2.py | Datsmir/eris-calibration | 3af4691b948fb076e2bb49bd1e367bd6315beae6 | [
"Apache-2.0"
] | null | null | null | modules/eris/problem2.py | Datsmir/eris-calibration | 3af4691b948fb076e2bb49bd1e367bd6315beae6 | [
"Apache-2.0"
] | null | null | null | class Problem2:
def __init__(self, campoints=None, campoints_true = None, robposes=None):
self._campoints = campoints
self._robposes = robposes
self._campoints_true = campoints_true
@property
def campoints(self):
return self._campoints
@campoints.setter
def campoint... | 25.482759 | 77 | 0.67253 | 78 | 739 | 6.076923 | 0.153846 | 0.274262 | 0.14346 | 0.164557 | 0.299578 | 0.172996 | 0.172996 | 0 | 0 | 0 | 0 | 0.001812 | 0.253045 | 739 | 29 | 78 | 25.482759 | 0.856884 | 0 | 0 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0 | 0.130435 | 0.478261 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d93c68b7594e29fecfa2bfa50b8038a9a3d2d4b1 | 320 | py | Python | pypy/translator/cli/test/test_backendopt.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 12 | 2016-01-06T07:10:28.000Z | 2021-05-13T23:02:02.000Z | pypy/translator/cli/test/test_backendopt.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | pypy/translator/cli/test/test_backendopt.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | 2 | 2016-07-29T07:09:50.000Z | 2016-10-16T08:50:26.000Z | import py
from pypy.translator.cli.test.runtest import compile_function
from pypy.translator.oosupport.test_template.backendopt import BaseTestOptimizedSwitch
class TestOptimizedSwitch(BaseTestOptimizedSwitch):
def getcompiled(self, fn, annotation):
return compile_function(fn, annotation, backendopt=True)
| 40 | 86 | 0.83125 | 35 | 320 | 7.514286 | 0.657143 | 0.060837 | 0.136882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103125 | 320 | 7 | 87 | 45.714286 | 0.916376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
d93f089d4756a20eb4d6209bed2de2de89f12410 | 103 | py | Python | atws/monkeypatch/__init__.py | cyclops26/python-atws | 764f93a35982c49066f03354c79670d7defe0bb7 | [
"MIT"
] | 34 | 2016-04-17T13:11:53.000Z | 2021-12-30T21:39:34.000Z | atws/monkeypatch/__init__.py | cyclops26/python-atws | 764f93a35982c49066f03354c79670d7defe0bb7 | [
"MIT"
] | 68 | 2015-10-23T08:11:49.000Z | 2021-11-29T15:58:59.000Z | atws/monkeypatch/__init__.py | cyclops26/python-atws | 764f93a35982c49066f03354c79670d7defe0bb7 | [
"MIT"
] | 21 | 2016-08-02T20:33:25.000Z | 2022-01-04T21:56:20.000Z | from __future__ import absolute_import
from .duckpunch import DuckPunch
monkey_patch = DuckPunch()
| 25.75 | 38 | 0.815534 | 12 | 103 | 6.5 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 4 | 39 | 25.75 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d946ff722b5918ac722789e72e96cf22287cecf4 | 18 | py | Python | tornado/version.py | hhru/tornado | 0faa69c3c98049f4542546a686d03bd94bdf070a | [
"Apache-2.0"
] | 1 | 2016-07-01T07:48:01.000Z | 2016-07-01T07:48:01.000Z | tornado/version.py | hhru/tornado | 0faa69c3c98049f4542546a686d03bd94bdf070a | [
"Apache-2.0"
] | 2 | 2016-07-01T08:00:14.000Z | 2017-11-23T07:36:05.000Z | tornado/version.py | hhru/tornado | 0faa69c3c98049f4542546a686d03bd94bdf070a | [
"Apache-2.0"
] | null | null | null | version = '5.1.1'
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d95e97b4ced928aaccfed63f85bbb85da1796d04 | 217 | py | Python | maintenance_calendar/parser/json/json_node_collection_parser.py | Fiware/ops.Maintenance-calendar | 636244f70e03ba45c943b68b847cad16ce3b66c8 | [
"Apache-2.0"
] | null | null | null | maintenance_calendar/parser/json/json_node_collection_parser.py | Fiware/ops.Maintenance-calendar | 636244f70e03ba45c943b68b847cad16ce3b66c8 | [
"Apache-2.0"
] | null | null | null | maintenance_calendar/parser/json/json_node_collection_parser.py | Fiware/ops.Maintenance-calendar | 636244f70e03ba45c943b68b847cad16ce3b66c8 | [
"Apache-2.0"
] | null | null | null | from flask import json
from maintenance_calendar.parser.json.json_parser import JSONParser
class JSONNodeCollectionParser(JSONParser):
def __init__(self):
super(JSONNodeCollectionParser, self).__init__() | 31 | 67 | 0.806452 | 23 | 217 | 7.173913 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124424 | 217 | 7 | 68 | 31 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8dcc191251e9bb591b28f0c72e65d435581689d5 | 1,062 | py | Python | General.py | AllVides/DB_EDD_G9 | 2ad5805ac1a2e37a09466cc4e30026ea90c6ad03 | [
"MIT"
] | null | null | null | General.py | AllVides/DB_EDD_G9 | 2ad5805ac1a2e37a09466cc4e30026ea90c6ad03 | [
"MIT"
] | null | null | null | General.py | AllVides/DB_EDD_G9 | 2ad5805ac1a2e37a09466cc4e30026ea90c6ad03 | [
"MIT"
] | null | null | null | import MainG as j
# LLAMADA DE METODOS COMO EL EJEMPLO DEL INGE
print(j.createDatabase('db1')) # 0
print(j.createDatabase('db1')) # 2
print(j.createDatabase('db4')) # 0
print(j.createDatabase('db5')) # 0
print(j.alterDatabase('db5','db1')) # 3
print(j.alterDatabase('db5','db2')) # 0
print(j.dropD... | 36.62069 | 65 | 0.56403 | 155 | 1,062 | 3.864516 | 0.290323 | 0.210351 | 0.15192 | 0.133556 | 0.258765 | 0.258765 | 0 | 0 | 0 | 0 | 0 | 0.082462 | 0.189266 | 1,062 | 29 | 66 | 36.62069 | 0.61324 | 0.225989 | 0 | 0.2 | 0 | 0 | 0.135508 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 1 | 0 | true | 0 | 0.05 | 0 | 0.05 | 0.95 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8ddc6898208aa7308717de4ab718df136226f243 | 285 | py | Python | UnityEngine/MaterialGlobalIlluminationFlags/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/MaterialGlobalIlluminationFlags/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/MaterialGlobalIlluminationFlags/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class MaterialGlobalIlluminationFlags:
def __new__(cls, arg1=None):
'''
:returns: MaterialGlobalIlluminationFlags
:rtype: UnityEngine.MaterialGlobalIlluminationFlags
'''
pass
| 23.75 | 59 | 0.701754 | 21 | 285 | 9.333333 | 0.714286 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.231579 | 285 | 11 | 60 | 25.909091 | 0.890411 | 0.326316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
8df8932a9ee1c0e6b032f6fe22dd32a5d4ea9300 | 38,295 | py | Python | BancoDeDados_Local.py | gpenello/ControleDeUso | 9b9a26879a43459c56b8f7e3292f144745f13c5c | [
"MIT"
] | null | null | null | BancoDeDados_Local.py | gpenello/ControleDeUso | 9b9a26879a43459c56b8f7e3292f144745f13c5c | [
"MIT"
] | null | null | null | BancoDeDados_Local.py | gpenello/ControleDeUso | 9b9a26879a43459c56b8f7e3292f144745f13c5c | [
"MIT"
] | null | null | null | import sqlite3
from sqlite3 import Error
import datetime
import csv
import urllib.request as urllib2
import os
dir_path = os.path.dirname(os.path.realpath(__file__))
class BancoDeDados():
def __init__(self, arquivo):
try:
os.makedirs(os.path.join(dir_path, 'log'))
... | 36.195652 | 144 | 0.499804 | 4,069 | 38,295 | 4.57041 | 0.061932 | 0.040437 | 0.051944 | 0.051191 | 0.756251 | 0.723181 | 0.70264 | 0.681562 | 0.65231 | 0.624079 | 0 | 0.006305 | 0.399426 | 38,295 | 1,057 | 145 | 36.229896 | 0.802252 | 0.032328 | 0 | 0.687919 | 0 | 0.002237 | 0.173022 | 0.014957 | 0 | 0 | 0 | 0.000946 | 0 | 0 | null | null | 0.00783 | 0.006711 | null | null | 0.085011 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c39338b2aff426a99da3489a29c420317da734b | 68 | py | Python | src/pages/db/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | src/pages/db/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | src/pages/db/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | from pages.db.db import db_clean, db_creation, db_insert, db_select
| 34 | 67 | 0.823529 | 13 | 68 | 4 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 1 | 68 | 68 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
308e1a6afb02da02569e46c7f2764bcdc0d6f48c | 107 | py | Python | src/quocslib/__init__.py | marcorossignolo/QuOCS | 5ed631e2aebc42b226f5992daf27e2da75a89af9 | [
"Apache-2.0"
] | null | null | null | src/quocslib/__init__.py | marcorossignolo/QuOCS | 5ed631e2aebc42b226f5992daf27e2da75a89af9 | [
"Apache-2.0"
] | null | null | null | src/quocslib/__init__.py | marcorossignolo/QuOCS | 5ed631e2aebc42b226f5992daf27e2da75a89af9 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, division, print_function, unicode_literals
__VERSION__ = "0.0.a7"
| 26.75 | 82 | 0.82243 | 14 | 107 | 5.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.102804 | 107 | 3 | 83 | 35.666667 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
308fe16f0e128b44dd435ae0ddd91af9119d86c8 | 249 | py | Python | src/utils/encryption_utils.py | tomgilbertson/script-server-v1 | bbdf289d3d993a0c81f20c36bce5f3eb064b0261 | [
"Apache-2.0",
"CC0-1.0"
] | 833 | 2016-09-08T13:27:36.000Z | 2022-03-27T07:10:48.000Z | src/utils/encryption_utils.py | tomgilbertson/script-server-v1 | bbdf289d3d993a0c81f20c36bce5f3eb064b0261 | [
"Apache-2.0",
"CC0-1.0"
] | 528 | 2016-05-23T09:17:04.000Z | 2022-03-30T12:45:50.000Z | src/utils/encryption_utils.py | tomgilbertson/script-server-v1 | bbdf289d3d993a0c81f20c36bce5f3eb064b0261 | [
"Apache-2.0",
"CC0-1.0"
] | 214 | 2016-09-08T14:46:41.000Z | 2022-03-25T01:04:14.000Z | import base64
import hashlib
from utils.apr1 import hash_apr1
def md5_apr1(salt, text):
return hash_apr1(salt, text)
def sha1(text):
result = hashlib.sha1(text.encode('utf8'))
return base64.b64encode(result.digest()).decode('utf8')
| 17.785714 | 59 | 0.722892 | 36 | 249 | 4.916667 | 0.527778 | 0.090395 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07109 | 0.15261 | 249 | 13 | 60 | 19.153846 | 0.767773 | 0 | 0 | 0 | 0 | 0 | 0.032129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 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 | 1 | 1 | 0 | 0 | 4 |
30a2375a14b5b4c6764ea4ac5055710385af2615 | 10,387 | py | Python | 2021/day1.py | Sujatha-Nagarajan/AdventOfCode | afce23c74fd0a72caa29c1604a582b21806e794e | [
"CC0-1.0"
] | 1 | 2020-12-05T06:14:37.000Z | 2020-12-05T06:14:37.000Z | 2021/day1.py | Sujatha-Nagarajan/AdventOfCode | afce23c74fd0a72caa29c1604a582b21806e794e | [
"CC0-1.0"
] | null | null | null | 2021/day1.py | Sujatha-Nagarajan/AdventOfCode | afce23c74fd0a72caa29c1604a582b21806e794e | [
"CC0-1.0"
] | null | null | null | #https://adventofcode.com/2021/day/1
input2="""131
140
136
135
155
175
178
186
187
189
194
195
203
193
178
179
180
188
204
214
215
252
253
261
281
294
293
299
300
301
307
333
324
322
323
335
319
312
313
312
320
323
324
336
341
347
357
358
363
357
334
348
364
365
367
370
369
373
344
328
330
327
339
340
341
335
342
347... | 5.10167 | 127 | 0.780591 | 2,119 | 10,387 | 3.826333 | 0.772534 | 0.007893 | 0.006907 | 0.008387 | 0.037 | 0.034904 | 0.034904 | 0.034904 | 0.029354 | 0.021954 | 0 | 0.939016 | 0.20593 | 10,387 | 2,035 | 128 | 5.104177 | 0.044011 | 0.004044 | 0 | 0.36413 | 0 | 0 | 0.941506 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.000988 | 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 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30ccb829ad766d8012210f355baec225b2c1fc29 | 226 | py | Python | fleet_management/core/vehicle/serializers.py | nahidsaikat/Fleet-Management-Backend | d3a20a9b971600eb039bcc62068599cbbc72537e | [
"MIT"
] | 3 | 2018-08-09T14:06:09.000Z | 2021-10-31T08:49:56.000Z | fleet_management/core/vehicle/serializers.py | nahidsaikat/Fleet-Management-Backend | d3a20a9b971600eb039bcc62068599cbbc72537e | [
"MIT"
] | null | null | null | fleet_management/core/vehicle/serializers.py | nahidsaikat/Fleet-Management-Backend | d3a20a9b971600eb039bcc62068599cbbc72537e | [
"MIT"
] | 2 | 2018-10-09T08:38:28.000Z | 2022-01-19T12:27:58.000Z | from rest_framework import serializers
from .models import Vehicle
class VehicleSerializer(serializers.ModelSerializer):
class Meta:
model = Vehicle
fields = ('id', 'serial', 'fleet', 'status', 'driver')
| 25.111111 | 62 | 0.699115 | 23 | 226 | 6.826087 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 226 | 8 | 63 | 28.25 | 0.862637 | 0 | 0 | 0 | 0 | 0 | 0.110619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30d7351cc290ebbec3b32593c1c331e40980c0bc | 85 | py | Python | memit/apps.py | russlbrown/memit | cf89bb91264008d554602a6f44f2e0404a7903fc | [
"MIT"
] | null | null | null | memit/apps.py | russlbrown/memit | cf89bb91264008d554602a6f44f2e0404a7903fc | [
"MIT"
] | null | null | null | memit/apps.py | russlbrown/memit | cf89bb91264008d554602a6f44f2e0404a7903fc | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MemitConfig(AppConfig):
name = 'memit'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30d773cd2d2e649aa8ce3ac7f8de4ec183f36637 | 106 | py | Python | djstripe/management/__init__.py | iqbalabd/dj-stripe | 0ae6b39e31e27f6e8076f3dd4f7d8f459380bdec | [
"MIT"
] | 2 | 2020-09-01T20:05:28.000Z | 2021-07-22T08:20:42.000Z | djstripe/management/__init__.py | iqbalabd/dj-stripe | 0ae6b39e31e27f6e8076f3dd4f7d8f459380bdec | [
"MIT"
] | 2 | 2019-07-29T08:40:11.000Z | 2019-08-01T09:45:30.000Z | djstripe/management/__init__.py | iqbalabd/dj-stripe | 0ae6b39e31e27f6e8076f3dd4f7d8f459380bdec | [
"MIT"
] | 2 | 2020-01-31T14:26:09.000Z | 2020-07-14T04:24:15.000Z | """
.. module:: djstripe.management.
:synopsis: dj-stripe - management module, contains commands.
"""
| 17.666667 | 63 | 0.679245 | 10 | 106 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 5 | 64 | 21.2 | 0.8 | 0.915094 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30ebf33e0faa078b85d47b49afaaae1831ba665e | 303 | py | Python | src/model/Point.py | DaDudek/Tetris | b3848132fd315e883e714e1882ec4bfd38b890e1 | [
"MIT"
] | 2 | 2022-01-16T20:44:08.000Z | 2022-01-18T13:41:32.000Z | src/model/Point.py | DaDudek/Tetris | b3848132fd315e883e714e1882ec4bfd38b890e1 | [
"MIT"
] | null | null | null | src/model/Point.py | DaDudek/Tetris | b3848132fd315e883e714e1882ec4bfd38b890e1 | [
"MIT"
] | null | null | null | class Point:
def __init__(self, x: int, y: int):
self.x = x
self.y = y
def getX(self) -> int:
return self.x
def getY(self) -> int:
return self.y
def setX(self, x: int) -> None:
self.x = x
def setY(self, y: int) -> None:
self.y = y
| 17.823529 | 39 | 0.478548 | 47 | 303 | 3 | 0.297872 | 0.177305 | 0.113475 | 0.241135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.382838 | 303 | 16 | 40 | 18.9375 | 0.754011 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a5023b5db7050e68a3d0b05b54dbb45f33ca5013 | 27 | py | Python | homeassistant/components/fixer/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/fixer/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/fixer/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The fixer component."""
| 13.5 | 26 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.708333 | 0.740741 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a507717714986cd0a25bfc921288a4d277b88b23 | 186 | py | Python | jira_webhook/apps.py | uw-it-aca/jira-webhook | 2c90f8073bc85be499b1c892486083fcdaff56f4 | [
"Apache-2.0"
] | null | null | null | jira_webhook/apps.py | uw-it-aca/jira-webhook | 2c90f8073bc85be499b1c892486083fcdaff56f4 | [
"Apache-2.0"
] | 19 | 2021-04-07T22:48:56.000Z | 2021-07-06T18:34:14.000Z | jira_webhook/apps.py | uw-it-aca/jira-webhook | 2c90f8073bc85be499b1c892486083fcdaff56f4 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
from django.apps import AppConfig
class JiraWebhookConfig(AppConfig):
name = 'jira_webhook'
| 20.666667 | 48 | 0.774194 | 24 | 186 | 5.958333 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.139785 | 186 | 8 | 49 | 23.25 | 0.85625 | 0.44086 | 0 | 0 | 0 | 0 | 0.118812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eb4b8f2ac102e07bdbb3c924d9cf3966e3910efa | 81 | py | Python | box/apps.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | null | null | null | box/apps.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | 18 | 2020-06-05T19:16:00.000Z | 2022-03-01T17:55:00.000Z | box/apps.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | 1 | 2020-07-01T20:55:16.000Z | 2020-07-01T20:55:16.000Z | from django.apps import AppConfig
class BoxConfig(AppConfig):
name = 'box'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eba8c920e6c6913b87771e6f659a4e3e12957800 | 87 | py | Python | Python tripartite framework/Django/code/mysite/cookie/apps.py | Ljazz/studyspace | b235e7d16fecf93dd64ad785833d4de5bb17db64 | [
"MIT"
] | null | null | null | Python tripartite framework/Django/code/mysite/cookie/apps.py | Ljazz/studyspace | b235e7d16fecf93dd64ad785833d4de5bb17db64 | [
"MIT"
] | null | null | null | Python tripartite framework/Django/code/mysite/cookie/apps.py | Ljazz/studyspace | b235e7d16fecf93dd64ad785833d4de5bb17db64 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CookieConfig(AppConfig):
name = 'cookie'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ebe3e2a14fcdd453ac2feecbbc353167ada3fa26 | 1,362 | py | Python | bloodbank_rl/tianshou_utils/policies.py | joefarrington/bloodbank_rl | f285581145034b498f01c9b44f95437ceddb042a | [
"MIT"
] | null | null | null | bloodbank_rl/tianshou_utils/policies.py | joefarrington/bloodbank_rl | f285581145034b498f01c9b44f95437ceddb042a | [
"MIT"
] | null | null | null | bloodbank_rl/tianshou_utils/policies.py | joefarrington/bloodbank_rl | f285581145034b498f01c9b44f95437ceddb042a | [
"MIT"
] | null | null | null | from tianshou.policy import A2CPolicy, PPOPolicy
from typing import Any, Dict, List, Optional, Type
from tianshou.data import Batch
# Normal key structure for output doesn't work with MLFlow logging nicely
# loss used as a key and also parent
class A2CPolicyforMLFlow(A2CPolicy):
def learn(
self, batch: B... | 41.272727 | 74 | 0.680617 | 183 | 1,362 | 4.825137 | 0.284153 | 0.199321 | 0.217441 | 0.16308 | 0.659117 | 0.659117 | 0.659117 | 0.659117 | 0.659117 | 0.659117 | 0 | 0.00274 | 0.196035 | 1,362 | 32 | 75 | 42.5625 | 0.803653 | 0.077827 | 0 | 0.72 | 0 | 0 | 0.138867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
69128f6bc458ac39e3300728584ec2ef1746d8e2 | 85 | py | Python | aiodine/datatypes.py | Olegt0rr/aiodine | 89f6207e780ec2c08d62e9ec20372658af7ccef9 | [
"MIT"
] | 61 | 2019-02-27T21:07:54.000Z | 2021-09-23T01:38:26.000Z | aiodine/datatypes.py | Olegt0rr/aiodine | 89f6207e780ec2c08d62e9ec20372658af7ccef9 | [
"MIT"
] | 30 | 2019-02-28T22:27:42.000Z | 2021-09-07T04:49:47.000Z | aiodine/datatypes.py | Olegt0rr/aiodine | 89f6207e780ec2c08d62e9ec20372658af7ccef9 | [
"MIT"
] | 2 | 2019-10-14T15:51:59.000Z | 2021-09-07T04:28:22.000Z | from typing import Callable, Awaitable
CoroutineFunction = Callable[..., Awaitable]
| 21.25 | 44 | 0.788235 | 8 | 85 | 8.375 | 0.75 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 3 | 45 | 28.333333 | 0.893333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
691e2c9a525b58a08be0c332c7a1b2358826383f | 77 | py | Python | refinenet/__init__.py | Best-of-ACRV/pytorch-refinenet | 4365ff6734d8dc397e3a072dd47cb2f4091d065a | [
"BSD-3-Clause"
] | 3 | 2021-06-09T04:33:00.000Z | 2022-03-30T07:28:38.000Z | refinenet/__init__.py | Best-of-ACRV/pytorch-refinenet | 4365ff6734d8dc397e3a072dd47cb2f4091d065a | [
"BSD-3-Clause"
] | 1 | 2021-06-11T09:52:51.000Z | 2021-06-11T09:52:51.000Z | refinenet/__init__.py | Best-of-ACRV/pytorch-refinenet | 4365ff6734d8dc397e3a072dd47cb2f4091d065a | [
"BSD-3-Clause"
] | 2 | 2021-07-30T03:08:17.000Z | 2022-03-30T07:28:40.000Z | from .refinenet import RefineNet
from .__main__ import main as run_from_args
| 25.666667 | 43 | 0.844156 | 12 | 77 | 4.916667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 2 | 44 | 38.5 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6924b4090d78c8aee27eece8f33501d1b69d3f77 | 46 | py | Python | tests/issues/issue_6.py | jparise/flake8_tuple | adf0510e66f80edda523861e9ac7a2e44f514fd5 | [
"BSD-3-Clause"
] | 30 | 2016-02-20T23:13:44.000Z | 2022-01-13T07:41:42.000Z | tests/issues/issue_6.py | jparise/flake8_tuple | adf0510e66f80edda523861e9ac7a2e44f514fd5 | [
"BSD-3-Clause"
] | 26 | 2015-09-06T23:04:46.000Z | 2021-10-17T10:31:09.000Z | tests/issues/issue_6.py | jparise/flake8_tuple | adf0510e66f80edda523861e9ac7a2e44f514fd5 | [
"BSD-3-Clause"
] | 9 | 2016-02-29T14:57:05.000Z | 2020-11-15T20:33:08.000Z | # -*- coding: utf-8 -*-
"""
foo
"""
bah = 1
| 5.75 | 23 | 0.369565 | 6 | 46 | 2.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.282609 | 46 | 7 | 24 | 6.571429 | 0.454545 | 0.565217 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
695714573a64ea71a47266d0763ae4c9a0396e67 | 175 | py | Python | EcomWebsite/ecom/blog/urls.py | ShibanandaJena/MyShop | 7a925da10c9f6b86f1f9ebe4f3837b94bb800ec7 | [
"Apache-2.0"
] | 1 | 2022-03-17T12:37:38.000Z | 2022-03-17T12:37:38.000Z | EcomWebsite/ecom/blog/urls.py | ShibanandaJena/MyShop | 7a925da10c9f6b86f1f9ebe4f3837b94bb800ec7 | [
"Apache-2.0"
] | null | null | null | EcomWebsite/ecom/blog/urls.py | ShibanandaJena/MyShop | 7a925da10c9f6b86f1f9ebe4f3837b94bb800ec7 | [
"Apache-2.0"
] | null | null | null | from . import views
from django.urls import path
urlpatterns = [
path("",views.index ,name="blogpost"),
path("blogpost/<int:id>",views.blogpost ,name="blogpost"),
]
| 19.444444 | 62 | 0.674286 | 22 | 175 | 5.363636 | 0.545455 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148571 | 175 | 8 | 63 | 21.875 | 0.791946 | 0 | 0 | 0 | 0 | 0 | 0.188571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6970329be1cd8b7833dc0a503f07d7671a021ec3 | 136 | py | Python | InvenTree/stock/__init__.py | ArakniD/InvenTree | 0ebf2ebd832b2d736e895abe054ca56bfd1cc477 | [
"MIT"
] | 656 | 2017-03-29T22:06:14.000Z | 2022-03-30T11:23:52.000Z | InvenTree/stock/__init__.py | ArakniD/InvenTree | 0ebf2ebd832b2d736e895abe054ca56bfd1cc477 | [
"MIT"
] | 1,545 | 2017-04-10T23:26:04.000Z | 2022-03-31T18:32:10.000Z | InvenTree/stock/__init__.py | fablabbcn/InvenTree | 1d7ea7716cc96c6ffd151c822b01cd1fb5dcfecd | [
"MIT"
] | 196 | 2017-03-28T03:06:21.000Z | 2022-03-28T11:53:29.000Z | """
The Stock module is responsible for Stock management.
It includes models for:
- StockLocation
- StockItem
- StockItemTracking
"""
| 13.6 | 53 | 0.757353 | 15 | 136 | 6.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 136 | 9 | 54 | 15.111111 | 0.903509 | 0.933824 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c621672629105291c992dcb04293d7d2adc31741 | 104 | py | Python | Keywords/pass.py | GowthamPrasad/py_thon | 302a21fcfd553bb59c0084860100efee5e2dca0e | [
"MIT"
] | null | null | null | Keywords/pass.py | GowthamPrasad/py_thon | 302a21fcfd553bb59c0084860100efee5e2dca0e | [
"MIT"
] | null | null | null | Keywords/pass.py | GowthamPrasad/py_thon | 302a21fcfd553bb59c0084860100efee5e2dca0e | [
"MIT"
] | null | null | null | #pass is just a placeholder which does nothing
def func():
pass
for i in [1,2,3,4,5]:
pass | 17.333333 | 47 | 0.615385 | 20 | 104 | 3.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.278846 | 104 | 6 | 48 | 17.333333 | 0.786667 | 0.432692 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.5 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c63c130a1c7cc9a7a02240c82dc89cfe40bd3f77 | 104 | py | Python | venv/Lib/site-packages/notebook/prometheus/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 76 | 2020-07-06T14:44:05.000Z | 2022-02-14T15:30:21.000Z | venv/Lib/site-packages/notebook/prometheus/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 24 | 2020-03-25T19:35:43.000Z | 2022-02-10T11:46:50.000Z | venv/Lib/site-packages/notebook/prometheus/__init__.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 11 | 2020-06-29T08:40:24.000Z | 2022-02-24T17:39:16.000Z | """
A package containing all the functionality and
configuration connected to the prometheus metrics
""" | 26 | 49 | 0.807692 | 13 | 104 | 6.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 104 | 4 | 50 | 26 | 0.933333 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c6509454f8ee4295dfb01cbdb4b9e84ff49bf2a1 | 52 | py | Python | setup.py | piotrantosz/siege-engine | aca9193aa72d9b899bef4da613b99e75136f49b1 | [
"MIT"
] | null | null | null | setup.py | piotrantosz/siege-engine | aca9193aa72d9b899bef4da613b99e75136f49b1 | [
"MIT"
] | null | null | null | setup.py | piotrantosz/siege-engine | aca9193aa72d9b899bef4da613b99e75136f49b1 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(version='1.5')
| 10.4 | 28 | 0.75 | 8 | 52 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.134615 | 52 | 4 | 29 | 13 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d66f44f2eb17ad9f2cc6383fe1cc7e6f4a144df4 | 888 | py | Python | api/serializers.py | choi-jiwoo/capstone-project-django | fd6ab61da4f636dc6192de3c298a474342ffa371 | [
"MIT"
] | null | null | null | api/serializers.py | choi-jiwoo/capstone-project-django | fd6ab61da4f636dc6192de3c298a474342ffa371 | [
"MIT"
] | null | null | null | api/serializers.py | choi-jiwoo/capstone-project-django | fd6ab61da4f636dc6192de3c298a474342ffa371 | [
"MIT"
] | null | null | null | from rest_framework.serializers import ModelSerializer
from api.models import Stay, Cafe, Res, CafeTag, ResTag, CafeKwrd, ResKwrd
class StaySerializer(ModelSerializer):
class Meta:
model = Stay
fields = '__all__'
class CafeSerializer(ModelSerializer):
class Meta:
model = Cafe
... | 19.304348 | 74 | 0.658784 | 80 | 888 | 6.95 | 0.3375 | 0.251799 | 0.302158 | 0.365108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269144 | 888 | 45 | 75 | 19.733333 | 0.856703 | 0 | 0 | 0.466667 | 0 | 0 | 0.055242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d67155021b306149a63c2d55ca90e812dcc37392 | 65 | py | Python | src/visualization/config.py | charity-sotero/apartment_atmosphere | c3147c15e3cf3020f14da0bd88ebaa196fc974c7 | [
"MIT"
] | null | null | null | src/visualization/config.py | charity-sotero/apartment_atmosphere | c3147c15e3cf3020f14da0bd88ebaa196fc974c7 | [
"MIT"
] | null | null | null | src/visualization/config.py | charity-sotero/apartment_atmosphere | c3147c15e3cf3020f14da0bd88ebaa196fc974c7 | [
"MIT"
] | null | null | null | GOOGLE_PLACES_API_KEY = 'AIzaSyCfOAU3yAeFisvLFwNCjI4bujevR29cYm0' | 65 | 65 | 0.923077 | 5 | 65 | 11.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0.030769 | 65 | 1 | 65 | 65 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0.590909 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6b756077aa80cbde66d9fbcac2f9155733645a3 | 103 | py | Python | xsdata/logger.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | xsdata/logger.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | xsdata/logger.py | nimish/xsdata | 7afe2781b66982428cc1731f53c065086acd35c1 | [
"MIT"
] | null | null | null | import logging
import click_log
logger = logging.getLogger(__name__)
click_log.basic_config(logger)
| 12.875 | 36 | 0.825243 | 14 | 103 | 5.571429 | 0.642857 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 103 | 7 | 37 | 14.714286 | 0.847826 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6d99a925abfc9232d6b76ee91e76a355d52e3ac | 300 | py | Python | petstagram/petstagram/main/admin.py | DimOps/Django-demo-2022 | 385e65b867be95f828de2810d94a074c536403b5 | [
"MIT"
] | null | null | null | petstagram/petstagram/main/admin.py | DimOps/Django-demo-2022 | 385e65b867be95f828de2810d94a074c536403b5 | [
"MIT"
] | null | null | null | petstagram/petstagram/main/admin.py | DimOps/Django-demo-2022 | 385e65b867be95f828de2810d94a074c536403b5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from petstagram.main.models import Profile, Pet, PetPhoto
@admin.register(Profile)
class UserAdmin(admin.ModelAdmin):
pass
@admin.register(Pet)
class UserAdmin(admin.ModelAdmin):
pass
@admin.register(PetPhoto)
class UserAdmin(admin.ModelAdmin):
pass
| 17.647059 | 57 | 0.773333 | 37 | 300 | 6.27027 | 0.432432 | 0.168103 | 0.24569 | 0.375 | 0.538793 | 0.396552 | 0.396552 | 0 | 0 | 0 | 0 | 0 | 0.13 | 300 | 16 | 58 | 18.75 | 0.888889 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.272727 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d6dec51face04fd7537b7edb9071e169e6ab2d45 | 26 | py | Python | examples/miniapps/flask-blueprints/githubnavigator/blueprints/__init__.py | whysage/python-dependency-injector | cef6d35cfdf5f39438a89f000d11a21860bc8c5f | [
"BSD-3-Clause"
] | 1,997 | 2016-04-26T13:41:45.000Z | 2022-03-31T16:17:53.000Z | examples/miniapps/flask-blueprints/githubnavigator/blueprints/__init__.py | whysage/python-dependency-injector | cef6d35cfdf5f39438a89f000d11a21860bc8c5f | [
"BSD-3-Clause"
] | 399 | 2016-05-16T07:20:07.000Z | 2022-03-31T18:23:49.000Z | examples/miniapps/flask-blueprints/githubnavigator/blueprints/__init__.py | whysage/python-dependency-injector | cef6d35cfdf5f39438a89f000d11a21860bc8c5f | [
"BSD-3-Clause"
] | 162 | 2016-05-16T09:21:43.000Z | 2022-03-30T23:00:26.000Z | """Blueprints package."""
| 13 | 25 | 0.653846 | 2 | 26 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.708333 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6dff6c5e6f979b4a69f0acb7511000cb0e96283 | 17 | py | Python | python/version.py | tied/rest-api-samples | 41cb468f0e9465b0becb4e3a8b3b9a6a606287bb | [
"MIT"
] | 1 | 2022-01-04T20:53:25.000Z | 2022-01-04T20:53:25.000Z | python/version.py | tied/rest-api-samples | 41cb468f0e9465b0becb4e3a8b3b9a6a606287bb | [
"MIT"
] | null | null | null | python/version.py | tied/rest-api-samples | 41cb468f0e9465b0becb4e3a8b3b9a6a606287bb | [
"MIT"
] | null | null | null | VERSION = '3.14'
| 8.5 | 16 | 0.588235 | 3 | 17 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.176471 | 17 | 1 | 17 | 17 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6e3ef567d5d7dcaa2fa157b1e87bc4fb9e87ba8 | 72 | py | Python | polling_bot/__init__.py | balemessenger/poll_bot | 672ed66aa376ac1580c48c119ca2743a16976326 | [
"Apache-2.0"
] | null | null | null | polling_bot/__init__.py | balemessenger/poll_bot | 672ed66aa376ac1580c48c119ca2743a16976326 | [
"Apache-2.0"
] | null | null | null | polling_bot/__init__.py | balemessenger/poll_bot | 672ed66aa376ac1580c48c119ca2743a16976326 | [
"Apache-2.0"
] | null | null | null | import os
MAIN_DIRECTORY = os.path.dirname(os.path.realpath(__file__))
| 18 | 60 | 0.791667 | 11 | 72 | 4.727273 | 0.727273 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 3 | 61 | 24 | 0.787879 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6f10d1de392e146fd03e99907693bc13ac069df | 166 | py | Python | 217.py | RafaelHuang87/Leet-Code-Practice | 7754dcee38ffda18a5759113ef06d7becf4fe728 | [
"MIT"
] | null | null | null | 217.py | RafaelHuang87/Leet-Code-Practice | 7754dcee38ffda18a5759113ef06d7becf4fe728 | [
"MIT"
] | null | null | null | 217.py | RafaelHuang87/Leet-Code-Practice | 7754dcee38ffda18a5759113ef06d7becf4fe728 | [
"MIT"
] | null | null | null | class Solution:
def containsDuplicate(self, nums: [int]) -> bool:
return len(nums) != len(set(nums))
s = Solution()
print(s.containsDuplicate([1,2,3,1])) | 27.666667 | 53 | 0.644578 | 23 | 166 | 4.652174 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.168675 | 166 | 6 | 54 | 27.666667 | 0.746377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ba40235a1a77eb9198bb5a914d34655860cdd7ec | 102 | py | Python | Ishtar/Ishtar/scripts/objects.py | rsc-dev/ishtar | f7a8eb7f720e820e594facf4b975a96d1cffb5e5 | [
"MIT"
] | 15 | 2017-04-03T09:37:40.000Z | 2022-01-31T08:32:49.000Z | Ishtar/Ishtar/scripts/objects.py | rsc-dev/ishtar | f7a8eb7f720e820e594facf4b975a96d1cffb5e5 | [
"MIT"
] | null | null | null | Ishtar/Ishtar/scripts/objects.py | rsc-dev/ishtar | f7a8eb7f720e820e594facf4b975a96d1cffb5e5 | [
"MIT"
] | 1 | 2019-01-16T16:22:15.000Z | 2019-01-16T16:22:15.000Z | import clr
clr.AddReferenceToFile('ObjectUtils.dll')
import ObjectUtils
print '[+] Added ObjectUtils'
| 20.4 | 41 | 0.803922 | 11 | 102 | 7.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 102 | 4 | 42 | 25.5 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ba49a269b1e62c02c4101bd34999b2de07f4d863 | 839 | py | Python | MBook/app/models.py | orzbhbdsb/gitlab3 | 6d6c66ba3196f9c920f34ec03492775fa022bdba | [
"MIT"
] | null | null | null | MBook/app/models.py | orzbhbdsb/gitlab3 | 6d6c66ba3196f9c920f34ec03492775fa022bdba | [
"MIT"
] | null | null | null | MBook/app/models.py | orzbhbdsb/gitlab3 | 6d6c66ba3196f9c920f34ec03492775fa022bdba | [
"MIT"
] | null | null | null | """
Definition of models.
"""
from django.db import models
# Create your models here.
class Author(models.Model):
AuthorID = models.CharField(max_length = 10, blank = False, primary_key = True)
Name = models.CharField(max_length = 20, blank = False)
Age = models.CharField(max_length = 3, blank = True)
... | 32.269231 | 83 | 0.691299 | 108 | 839 | 5.287037 | 0.407407 | 0.210158 | 0.252189 | 0.336252 | 0.41331 | 0.338004 | 0.129597 | 0 | 0 | 0 | 0 | 0.023599 | 0.191895 | 839 | 26 | 84 | 32.269231 | 0.817109 | 0.028605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.066667 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba54f696e07e25d20a0050aa514d93808a75178e | 344 | py | Python | src/python/peanoclaw/__init__.py | unterweg/peanoclaw | 2d8b45727e3b26d824f8afc6a8772736176083af | [
"BSD-3-Clause"
] | 1 | 2015-07-14T10:05:52.000Z | 2015-07-14T10:05:52.000Z | src/python/peanoclaw/__init__.py | unterweg/peanoclaw | 2d8b45727e3b26d824f8afc6a8772736176083af | [
"BSD-3-Clause"
] | null | null | null | src/python/peanoclaw/__init__.py | unterweg/peanoclaw | 2d8b45727e3b26d824f8afc6a8772736176083af | [
"BSD-3-Clause"
] | 1 | 2019-12-03T15:58:53.000Z | 2019-12-03T15:58:53.000Z | __all__ = []
__all__.extend(['Solver', 'Solution', 'State', 'SubgridSolver', 'Peano'])
from peanoclaw.peano import Peano
from peanoclaw.solver import Solver
from peanoclaw.solution import Solution
from peanoclaw.subgridsolver import SubgridSolver
from peanoclaw.internalsettings import InternalSettings
from clawpack.py... | 34.4 | 73 | 0.819767 | 39 | 344 | 7.025641 | 0.333333 | 0.237226 | 0.131387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09593 | 344 | 9 | 74 | 38.222222 | 0.881029 | 0 | 0 | 0 | 0 | 0 | 0.107558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 4 |
ba7353764d55420ec74c5ccbe75b2fc2d3f29ab9 | 267 | py | Python | Implementation/python/forms.py | ADA-Inc/autentication-web | 89850479f9b6f6663c172add6fb6bcc166156d68 | [
"MIT"
] | null | null | null | Implementation/python/forms.py | ADA-Inc/autentication-web | 89850479f9b6f6663c172add6fb6bcc166156d68 | [
"MIT"
] | 7 | 2018-08-17T21:51:14.000Z | 2022-03-31T19:13:53.000Z | Implementation/python/forms.py | ADA-Inc/autentication-web | 89850479f9b6f6663c172add6fb6bcc166156d68 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import *
from wtforms.validators import InputRequired
class LoginForm(FlaskForm):
username = TextField('username',validators=[InputRequired()])
password = PasswordField('password',validators=[InputRequired()]) | 38.142857 | 66 | 0.779026 | 26 | 267 | 7.961538 | 0.538462 | 0.10628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11985 | 267 | 7 | 66 | 38.142857 | 0.880851 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
ba9319bd3328cbb4c536001b79a501c346398585 | 428 | py | Python | scrubby/db/provider/null_provider.py | typerandom/scrubby | 5cccfad6c735828e6eec1452162a4e58aea917a9 | [
"MIT"
] | 2 | 2019-05-27T22:28:21.000Z | 2021-02-19T11:37:11.000Z | scrubby/db/provider/null_provider.py | typerandom/scrubby | 5cccfad6c735828e6eec1452162a4e58aea917a9 | [
"MIT"
] | 1 | 2021-03-25T21:27:34.000Z | 2021-03-25T21:27:34.000Z | scrubby/db/provider/null_provider.py | typerandom/scrubby | 5cccfad6c735828e6eec1452162a4e58aea917a9 | [
"MIT"
] | null | null | null | from .provider import Provider
class NullProvider(Provider):
def connect(self):
pass
def close(self):
pass
def get_table_columns(self, table_name):
return []
def get_tables(self):
return []
def execute(self, query, **kwargs):
return None
def clear_ta... | 18.608696 | 58 | 0.619159 | 52 | 428 | 4.903846 | 0.423077 | 0.082353 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294393 | 428 | 23 | 59 | 18.608696 | 0.844371 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0.25 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
ba9c63feb2e1fedc7fddccb154246959a728718d | 34 | py | Python | src/qsiprep_analyses/tensors/__init__.py | GalBenZvi/qsiprep_analyses | 51512cffca218210f6b85e5eadd593b382963bbd | [
"Apache-2.0"
] | null | null | null | src/qsiprep_analyses/tensors/__init__.py | GalBenZvi/qsiprep_analyses | 51512cffca218210f6b85e5eadd593b382963bbd | [
"Apache-2.0"
] | 6 | 2022-03-04T15:28:20.000Z | 2022-03-30T09:37:12.000Z | src/qsiprep_analyses/tensors/__init__.py | GalBenZvi/qsiprep_analyses | 51512cffca218210f6b85e5eadd593b382963bbd | [
"Apache-2.0"
] | 2 | 2022-03-13T11:07:48.000Z | 2022-03-13T11:50:40.000Z | """
Tensor estimation module.
"""
| 8.5 | 25 | 0.647059 | 3 | 34 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 3 | 26 | 11.333333 | 0.758621 | 0.735294 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2410e1a67686b8e447aec4cf28d0622950fdf8f2 | 293 | py | Python | rdp/__init__.py | emulbreh/rdp | 73e974c88604b59f6a5aacf6664cc27669e6de6e | [
"MIT"
] | null | null | null | rdp/__init__.py | emulbreh/rdp | 73e974c88604b59f6a5aacf6664cc27669e6de6e | [
"MIT"
] | 2 | 2017-05-04T12:51:21.000Z | 2017-06-21T06:27:43.000Z | rdp/__init__.py | emulbreh/rdp | 73e974c88604b59f6a5aacf6664cc27669e6de6e | [
"MIT"
] | null | null | null | from rdp.grammar import Grammar, GrammarBuilder, ignore
from rdp.symbols import Terminal, repeat, Regexp, Optional, Lookahead
from rdp.symbols import epsilon, flatten, drop, keep
from rdp.parser import Parser
from rdp.exceptions import ParseError, LeftRecursion, InvalidGrammar, TokenizeError
| 48.833333 | 83 | 0.832765 | 37 | 293 | 6.594595 | 0.594595 | 0.143443 | 0.114754 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109215 | 293 | 5 | 84 | 58.6 | 0.934866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
242558f70eb57dcf9a66564a8d01e8e023f92612 | 5,205 | py | Python | sampyl/tests/test_samplers.py | wilsonify/sampyl | fb05a0d04393e4f1691bcc9bc664dbc1b688fc97 | [
"MIT"
] | 308 | 2015-06-30T18:16:04.000Z | 2022-03-14T17:21:59.000Z | sampyl/tests/test_samplers.py | wilsonify/sampyl | fb05a0d04393e4f1691bcc9bc664dbc1b688fc97 | [
"MIT"
] | 20 | 2015-07-02T06:12:20.000Z | 2020-11-26T16:06:57.000Z | sampyl/tests/test_samplers.py | wilsonify/sampyl | fb05a0d04393e4f1691bcc9bc664dbc1b688fc97 | [
"MIT"
] | 66 | 2015-07-27T11:19:03.000Z | 2022-03-24T03:35:53.000Z | from ..core import np
from ..exceptions import *
from .logps import *
import sampyl as smp
import pytest
#TODO: Make tests to check correctness of samplers
np_source = np.__package__
n_samples = 100
def test_logp_with_grad():
logp = poisson_with_grad
start = {'lam1':1., 'lam2': 1.}
nuts = smp.NUTS(logp,... | 26.287879 | 67 | 0.642459 | 716 | 5,205 | 4.451117 | 0.117318 | 0.115783 | 0.079071 | 0.087857 | 0.826483 | 0.740508 | 0.700031 | 0.654534 | 0.626294 | 0.626294 | 0 | 0.019908 | 0.208646 | 5,205 | 197 | 68 | 26.42132 | 0.753824 | 0.009414 | 0 | 0.675862 | 0 | 0 | 0.029891 | 0 | 0 | 0 | 0 | 0.005076 | 0.151724 | 1 | 0.144828 | false | 0.013793 | 0.034483 | 0.006897 | 0.186207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
24396e451c566b95f96a4f42a0d15fe8d3816af6 | 2,322 | py | Python | test/dpt_tests/dpt_1byte_signed_test.py | kistlin/xknx | a402c4609a8f3d5d96d83af271db52cb9006d6ec | [
"MIT"
] | 1 | 2022-03-06T14:42:39.000Z | 2022-03-06T14:42:39.000Z | test/dpt_tests/dpt_1byte_signed_test.py | kistlin/xknx | a402c4609a8f3d5d96d83af271db52cb9006d6ec | [
"MIT"
] | 11 | 2022-03-14T22:32:38.000Z | 2022-03-31T22:35:08.000Z | test/dpt_tests/dpt_1byte_signed_test.py | kistlin/xknx | a402c4609a8f3d5d96d83af271db52cb9006d6ec | [
"MIT"
] | null | null | null | """Unit test for KNX DPT 1 byte relative value objects."""
import pytest
from xknx.dpt import DPTPercentV8, DPTSignedRelativeValue, DPTValue1Count
from xknx.exceptions import ConversionError
class TestDPTRelativeValue:
"""Test class for KNX DPT Relative Value."""
def test_from_knx_positive(self):
"... | 41.464286 | 73 | 0.673127 | 248 | 2,322 | 6.145161 | 0.217742 | 0.349081 | 0.194882 | 0.206693 | 0.589239 | 0.322835 | 0.251969 | 0 | 0 | 0 | 0 | 0.047852 | 0.20801 | 2,322 | 55 | 74 | 42.218182 | 0.780859 | 0.151163 | 0 | 0.055556 | 0 | 0 | 0.007792 | 0 | 0 | 0 | 0.037403 | 0 | 0.638889 | 1 | 0.194444 | false | 0 | 0.083333 | 0 | 0.305556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2458954d674d6056bdc55fd538cbb23ce4a8e88b | 717 | py | Python | models/secrets.py | thevickypedia/api_file_handler | 8920b9bb230588d56b8eb2a4d0c2eb59e5296e9a | [
"MIT"
] | 2 | 2021-12-13T06:20:06.000Z | 2022-03-22T21:33:23.000Z | models/secrets.py | thevickypedia/api_file_handler | 8920b9bb230588d56b8eb2a4d0c2eb59e5296e9a | [
"MIT"
] | null | null | null | models/secrets.py | thevickypedia/api_file_handler | 8920b9bb230588d56b8eb2a4d0c2eb59e5296e9a | [
"MIT"
] | 1 | 2021-12-13T06:20:07.000Z | 2021-12-13T06:20:07.000Z | import getpass
import os
import pwd
from tortoise.models import Model
class Secrets(Model):
"""Looks for the env vars ``USER`` and ``PASSWORD``, requests from the user if unavailable.
>>> Secrets
"""
USERNAME: str = os.environ.get('USER', getpass.getuser() or pwd.getpwuid(os.getuid())[0])
PASS... | 28.68 | 95 | 0.665272 | 94 | 717 | 5.053191 | 0.446809 | 0.075789 | 0.050526 | 0.063158 | 0.172632 | 0.172632 | 0.172632 | 0.172632 | 0.172632 | 0 | 0 | 0.001776 | 0.214784 | 717 | 24 | 96 | 29.875 | 0.841918 | 0.284519 | 0 | 0 | 0 | 0 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
032d6c600fbcdae76913b5fb1347461373aefd62 | 96 | py | Python | images/MER/create_lexicon.py | nleguillarme/snr_tools_and_methods | 0a62b411989289a72b2dbf8e3a60bcdc32306dae | [
"Apache-2.0"
] | 2 | 2021-08-24T14:57:26.000Z | 2022-02-07T19:46:48.000Z | images/MER/create_lexicon.py | nleguillarme/snr_tools_and_methods | 0a62b411989289a72b2dbf8e3a60bcdc32306dae | [
"Apache-2.0"
] | null | null | null | images/MER/create_lexicon.py | nleguillarme/snr_tools_and_methods | 0a62b411989289a72b2dbf8e3a60bcdc32306dae | [
"Apache-2.0"
] | null | null | null | import merpy
merpy.create_lexicon_from_file("ncbi.txt", "ncbi")
merpy.process_lexicon("ncbi")
| 16 | 50 | 0.78125 | 14 | 96 | 5.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 96 | 5 | 51 | 19.2 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
032ffdd156f2bdf9468433191d431081b171a1df | 107 | py | Python | StatisticsFunctions/variance.py | mkm99/TeamProject_StatsCalculator | 81085c1af47f38d3e49b43d667e312016c44ad10 | [
"MIT"
] | null | null | null | StatisticsFunctions/variance.py | mkm99/TeamProject_StatsCalculator | 81085c1af47f38d3e49b43d667e312016c44ad10 | [
"MIT"
] | 7 | 2020-03-03T21:37:57.000Z | 2020-03-06T04:11:42.000Z | StatisticsFunctions/variance.py | mkm99/TeamProject_StatsCalculator | 81085c1af47f38d3e49b43d667e312016c44ad10 | [
"MIT"
] | null | null | null | import numpy as np
class Variance():
@staticmethod
def variance(data):
return np.var(data) | 17.833333 | 27 | 0.654206 | 14 | 107 | 5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252336 | 107 | 6 | 27 | 17.833333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
033ea47fa2e5daf9936636fbdb0490a19908fa20 | 604 | py | Python | foxylib/tools/socialmedia/naver/foxylib_naver.py | foxytrixy-com/foxylib | 94b8c5b9f8b12423393c68f7d9f910258840ed18 | [
"BSD-3-Clause"
] | null | null | null | foxylib/tools/socialmedia/naver/foxylib_naver.py | foxytrixy-com/foxylib | 94b8c5b9f8b12423393c68f7d9f910258840ed18 | [
"BSD-3-Clause"
] | 3 | 2019-12-12T05:17:44.000Z | 2022-03-11T23:40:50.000Z | foxylib/tools/socialmedia/naver/foxylib_naver.py | foxytrixy-com/foxylib | 94b8c5b9f8b12423393c68f7d9f910258840ed18 | [
"BSD-3-Clause"
] | 2 | 2019-10-16T17:39:34.000Z | 2020-02-10T06:32:08.000Z | import os
from functools import lru_cache
from foxylib.tools.function.function_tool import FunctionTool
class FoxylibNaver:
@classmethod
@FunctionTool.wrapper2wraps_applied(lru_cache(maxsize=1))
def client_id(cls):
return os.environ.get("NAVER_APP_ID")
@classmethod
@FunctionTool.wrapper2... | 27.454545 | 61 | 0.751656 | 76 | 604 | 5.723684 | 0.407895 | 0.073563 | 0.248276 | 0.296552 | 0.625287 | 0.625287 | 0.565517 | 0.436782 | 0.436782 | 0.294253 | 0 | 0.011788 | 0.157285 | 604 | 21 | 62 | 28.761905 | 0.842829 | 0 | 0 | 0.375 | 0 | 0 | 0.087748 | 0.043046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.1875 | 0.1875 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
300af3b861bc474f69ddd334c432b9fe20f915b6 | 25 | py | Python | promgen/version.py | PeterDaveHello/promgen | 45bfd728748b371af758a7c7f3c341900e8425fd | [
"MIT"
] | null | null | null | promgen/version.py | PeterDaveHello/promgen | 45bfd728748b371af758a7c7f3c341900e8425fd | [
"MIT"
] | null | null | null | promgen/version.py | PeterDaveHello/promgen | 45bfd728748b371af758a7c7f3c341900e8425fd | [
"MIT"
] | null | null | null | __version__ = "0.39.dev"
| 12.5 | 24 | 0.68 | 4 | 25 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.12 | 25 | 1 | 25 | 25 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
301633bf6660e5b20a368a5a441b5eb35662808d | 203 | py | Python | myroot/apps.py | pinoylearnpython/dev | 3fd904c594a8c5cab7fd1fe2ad775fd519410a8a | [
"MIT"
] | 2 | 2019-10-29T07:41:38.000Z | 2020-01-31T16:46:15.000Z | myroot/apps.py | pinoylearnpython/dev | 3fd904c594a8c5cab7fd1fe2ad775fd519410a8a | [
"MIT"
] | null | null | null | myroot/apps.py | pinoylearnpython/dev | 3fd904c594a8c5cab7fd1fe2ad775fd519410a8a | [
"MIT"
] | 2 | 2019-04-23T04:40:07.000Z | 2020-02-17T09:11:48.000Z | from django.apps import AppConfig
from django.conf import settings
class myrootConfig(AppConfig):
""" Class to call our 'myroot' app structural name """
name = settings.APP_LABEL_MYROOT
| 25.375 | 59 | 0.729064 | 26 | 203 | 5.615385 | 0.653846 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197044 | 203 | 7 | 60 | 29 | 0.895706 | 0.226601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
301b35005139a6709168c59a00e0e7d293501b06 | 374 | py | Python | test/test_topology.py | fyumoto/MHGAN | a484fba54d73839770ea74f462505b056b71c32b | [
"MIT"
] | 17 | 2019-02-01T21:15:47.000Z | 2020-06-03T22:20:22.000Z | test/test_topology.py | fyumoto/MHGAN | a484fba54d73839770ea74f462505b056b71c32b | [
"MIT"
] | null | null | null | test/test_topology.py | fyumoto/MHGAN | a484fba54d73839770ea74f462505b056b71c32b | [
"MIT"
] | 9 | 2019-03-29T01:52:53.000Z | 2020-10-22T09:24:40.000Z | import unittest
from mhgan import *
class Test_Topology(unittest.TestCase):
def test_io_tensors(self):
gan = WGAN(Generator([100], [28, 28, 1]), Discriminator())
self.assertEqual(type(gan.G), tf.Tensor)
self.assertEqual(type(gan.G), tf.Tensor)
self.assertEqual(type(gan.x), tf.Ten... | 26.714286 | 66 | 0.657754 | 51 | 374 | 4.764706 | 0.509804 | 0.246914 | 0.312757 | 0.36214 | 0.469136 | 0.469136 | 0.345679 | 0.345679 | 0.345679 | 0.345679 | 0 | 0.026578 | 0.195187 | 374 | 13 | 67 | 28.769231 | 0.780731 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3025a8eba14e5ed4be539875aa79c93954d0bcb0 | 326 | py | Python | src/modules/network/python/__init__.py | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | src/modules/network/python/__init__.py | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | src/modules/network/python/__init__.py | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | from net import *
from defines import *
import cli
import proto
""" Creates a module instance
@param[in] server - the server instance
"""
def createModuleInstance(server):
return Net(server)
def importCLI(parent):
""" Import a CLI instance to main CLI
"""
netcli = cli.CLI(parent)
return n... | 18.111111 | 43 | 0.677914 | 42 | 326 | 5.261905 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230061 | 326 | 17 | 44 | 19.176471 | 0.880478 | 0.101227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.555556 | 0.111111 | 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 | 1 | 1 | 1 | 0 | 0 | 4 |
3028a6e6b3f33031ae273f28a9cbb77fcff3d614 | 96 | py | Python | backend/secret_base/apps.py | tanzhiquan/DragonGoods | d247770b6c277e616a172af0ffad6490c1bc04c3 | [
"MIT"
] | null | null | null | backend/secret_base/apps.py | tanzhiquan/DragonGoods | d247770b6c277e616a172af0ffad6490c1bc04c3 | [
"MIT"
] | 3 | 2020-07-18T23:04:47.000Z | 2021-05-10T20:19:09.000Z | backend/secret_base/apps.py | tanzhiquan/DragonGoods | d247770b6c277e616a172af0ffad6490c1bc04c3 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SecretBaseConfig(AppConfig):
name = 'secret_base'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
30328b30a486124d27d64a35d648d22e4f79a1d3 | 69 | py | Python | src/sas/sascalc/pr/c_extensions/__init__.py | andyfaff/sasview | c00a797ab9c4ddc60f0fa8a64ae8a2067c225921 | [
"BSD-3-Clause"
] | null | null | null | src/sas/sascalc/pr/c_extensions/__init__.py | andyfaff/sasview | c00a797ab9c4ddc60f0fa8a64ae8a2067c225921 | [
"BSD-3-Clause"
] | null | null | null | src/sas/sascalc/pr/c_extensions/__init__.py | andyfaff/sasview | c00a797ab9c4ddc60f0fa8a64ae8a2067c225921 | [
"BSD-3-Clause"
] | null | null | null | """
C extensions to provide the P(r) inversion computations.
"""
| 17.25 | 60 | 0.666667 | 9 | 69 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 69 | 3 | 61 | 23 | 0.836364 | 0.811594 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
304ff7fa2a5bf42cff4dc9b84f76e0bcbbf6a138 | 117 | py | Python | dnbpy/policy.py | lantunes/dnbpy | 23536c70678575afd19000b69d047ee4b7a2bb40 | [
"Apache-2.0"
] | 2 | 2018-04-23T22:59:15.000Z | 2020-08-17T09:32:26.000Z | dnbpy/policy.py | lantunes/dnbpy | 23536c70678575afd19000b69d047ee4b7a2bb40 | [
"Apache-2.0"
] | null | null | null | dnbpy/policy.py | lantunes/dnbpy | 23536c70678575afd19000b69d047ee4b7a2bb40 | [
"Apache-2.0"
] | null | null | null |
class Policy:
def select_edge(self, board_state, score=None, opp_score=None):
raise NotImplementedError
| 23.4 | 67 | 0.735043 | 15 | 117 | 5.533333 | 0.866667 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188034 | 117 | 4 | 68 | 29.25 | 0.873684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30674212f78351c59efbaa9713de821666a19b18 | 157 | py | Python | pyFT/FTDate.py | lesibius/pyFT | 509bb047d629d8de5049df74e02b09fb91610347 | [
"MIT"
] | null | null | null | pyFT/FTDate.py | lesibius/pyFT | 509bb047d629d8de5049df74e02b09fb91610347 | [
"MIT"
] | null | null | null | pyFT/FTDate.py | lesibius/pyFT | 509bb047d629d8de5049df74e02b09fb91610347 | [
"MIT"
] | null | null | null | import pyFT.FTError
import datetime as dt
strfRFC3339 = '%Y-%m-%dT%H:%M:%S.000Z'
def FTdateTime(val):
return dt.datetime.strftime(val,strfRFC3339)
| 13.083333 | 48 | 0.707006 | 24 | 157 | 4.625 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 0.146497 | 157 | 11 | 49 | 14.272727 | 0.746269 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
061c6600f5a5c5abece665a0b8a26a932f6aee3a | 49 | py | Python | ensign_multicat/__init__.py | phoughton/ensign_multicat | 82a3b73d2af7abdda3c323ce6a6546f647666df3 | [
"MIT"
] | null | null | null | ensign_multicat/__init__.py | phoughton/ensign_multicat | 82a3b73d2af7abdda3c323ce6a6546f647666df3 | [
"MIT"
] | null | null | null | ensign_multicat/__init__.py | phoughton/ensign_multicat | 82a3b73d2af7abdda3c323ce6a6546f647666df3 | [
"MIT"
] | null | null | null | import ensign_multicat.utils
__all__ = ["utils"] | 16.333333 | 28 | 0.77551 | 6 | 49 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 3 | 29 | 16.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
066b5183f57d7bf9b790518e47a0088317ed4064 | 3,145 | py | Python | series_tiempo_ar_api/apps/management/migrations/0001_auto_20180507_1500.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 28 | 2017-12-16T20:30:52.000Z | 2021-08-11T17:35:04.000Z | series_tiempo_ar_api/apps/management/migrations/0001_auto_20180507_1500.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 446 | 2017-11-16T15:21:40.000Z | 2021-06-10T20:14:21.000Z | series_tiempo_ar_api/apps/management/migrations/0001_auto_20180507_1500.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 12 | 2018-08-23T16:13:32.000Z | 2022-03-01T23:12:28.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-05-07 18:00
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('management', 'py3_empty_failed_queue'),
]
operations = [
migrations.AlterFi... | 104.833333 | 2,498 | 0.755167 | 304 | 3,145 | 7.470395 | 0.223684 | 0.110964 | 0.061647 | 0.042272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00754 | 0.114467 | 3,145 | 29 | 2,499 | 108.448276 | 0.807899 | 0.021622 | 0 | 0.318182 | 1 | 0 | 0.70039 | 0.303513 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.227273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
067ca4cfe72619554aed330c5ecd958232bb9c52 | 52 | py | Python | packages/vaex-ml/vaex/ml/_version.py | mgbin088/vaex | 2849255ac66f9d0d45374fc49ffd2b9157eae46a | [
"MIT"
] | 1 | 2019-12-20T01:50:04.000Z | 2019-12-20T01:50:04.000Z | packages/vaex-ml/vaex/ml/_version.py | mgbin088/vaex | 2849255ac66f9d0d45374fc49ffd2b9157eae46a | [
"MIT"
] | null | null | null | packages/vaex-ml/vaex/ml/_version.py | mgbin088/vaex | 2849255ac66f9d0d45374fc49ffd2b9157eae46a | [
"MIT"
] | null | null | null | __version__ = '0.7.0'
__version_tuple__ = (0, 7, 0)
| 17.333333 | 29 | 0.653846 | 9 | 52 | 2.777778 | 0.444444 | 0.16 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.153846 | 52 | 2 | 30 | 26 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0688250be182c5280ae55dce431cade3b63d838d | 100 | py | Python | facet/network/__init__.py | edponce/FACET | 0dca2d728813a4865e72b2e8fd6b114a0c63d5b0 | [
"MIT"
] | 2 | 2020-10-16T19:27:21.000Z | 2021-11-04T15:06:54.000Z | facet/network/__init__.py | edponce/FACET | 0dca2d728813a4865e72b2e8fd6b114a0c63d5b0 | [
"MIT"
] | 24 | 2020-07-13T01:49:36.000Z | 2020-10-30T21:54:00.000Z | facet/network/__init__.py | edponce/FACET | 0dca2d728813a4865e72b2e8fd6b114a0c63d5b0 | [
"MIT"
] | null | null | null | from .client import SocketClient
from .server import (
SocketServer,
SocketServerHandler,
)
| 16.666667 | 32 | 0.75 | 9 | 100 | 8.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19 | 100 | 5 | 33 | 20 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0696c1c45eaaeeb3de7634e0c2293e5fc954b9de | 140 | py | Python | coilutils/__init__.py | rehohoho/coiltraine | c3ce77d13fdf8f96eed3de0dae4c01be65cb5656 | [
"MIT"
] | 204 | 2019-01-28T13:31:53.000Z | 2022-03-23T23:57:18.000Z | coilutils/__init__.py | rehohoho/coiltraine | c3ce77d13fdf8f96eed3de0dae4c01be65cb5656 | [
"MIT"
] | 39 | 2019-02-02T22:14:14.000Z | 2022-01-30T08:21:51.000Z | coilutils/__init__.py | rehohoho/coiltraine | c3ce77d13fdf8f96eed3de0dae4c01be65cb5656 | [
"MIT"
] | 64 | 2019-02-24T10:26:04.000Z | 2022-03-04T12:49:59.000Z | from .attribute_dict import AttributeDict
#from .experiment_schedule import mount_experiment_heap, get_free_gpus, pop_half_gpu, pop_one_gpu | 46.666667 | 97 | 0.878571 | 21 | 140 | 5.380952 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 140 | 3 | 97 | 46.666667 | 0.875969 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2308799566efe86b61bb6284f93f97a76f631278 | 80 | py | Python | __init__.py | LAIRLAB/libpyarr | 9e973a4045519fa6aedae3aaabd8267f6f796a8c | [
"BSD-3-Clause"
] | 1 | 2016-04-09T02:37:03.000Z | 2016-04-09T02:37:03.000Z | __init__.py | LAIRLAB/libpyarr | 9e973a4045519fa6aedae3aaabd8267f6f796a8c | [
"BSD-3-Clause"
] | null | null | null | __init__.py | LAIRLAB/libpyarr | 9e973a4045519fa6aedae3aaabd8267f6f796a8c | [
"BSD-3-Clause"
] | null | null | null | __all__ = ['gen_everything', 'code_gen', 't_code_gen', 'boost_util', 'pdbwrap']
| 40 | 79 | 0.7 | 11 | 80 | 4.272727 | 0.727273 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 80 | 1 | 80 | 80 | 0.643836 | 0 | 0 | 0 | 0 | 0 | 0.6125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
231a85effee438fa001e40691bb86f63653ca667 | 397 | py | Python | test/test_base.py | artemyk/dynpy | c2914ac315083ad76707a7fcb2c8800a2ec52944 | [
"BSD-2-Clause"
] | 6 | 2015-03-05T04:13:22.000Z | 2021-09-24T02:46:09.000Z | test/test_base.py | artemyk/dynpy | c2914ac315083ad76707a7fcb2c8800a2ec52944 | [
"BSD-2-Clause"
] | null | null | null | test/test_base.py | artemyk/dynpy | c2914ac315083ad76707a7fcb2c8800a2ec52944 | [
"BSD-2-Clause"
] | 6 | 2015-03-05T04:16:06.000Z | 2021-07-03T13:26:26.000Z | from __future__ import division, print_function, absolute_import
import six
range = six.moves.range
import numpy as np
import scipy.sparse as ss
import dynpy
class ExampleSystem(dynpy.dynsys.DiscreteStateDynamicalSystem):
def states(self):
return [1,2]
def _iterate_1step_discrete(self, x):
return 2 if x == 1 ... | 18.904762 | 64 | 0.7733 | 58 | 397 | 5.086207 | 0.637931 | 0.027119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.146096 | 397 | 20 | 65 | 19.85 | 0.852507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 0.142857 | 0.785714 | 0.142857 | 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 | 1 | 1 | 0 | 0 | 4 |
23287f533d6f2e66845d2d794d79d14554726464 | 881 | wsgi | Python | adapter.wsgi | nabajour/DrinkingBuddyServer | 376ede417b799165a03a990acb5a9423931cb784 | [
"MIT"
] | 2 | 2016-01-23T00:15:44.000Z | 2016-11-17T16:01:03.000Z | adapter.wsgi | nabajour/DrinkingBuddyServer | 376ede417b799165a03a990acb5a9423931cb784 | [
"MIT"
] | 9 | 2016-02-28T16:12:09.000Z | 2016-12-31T21:05:58.000Z | adapter.wsgi | nabajour/DrinkingBuddyServer | 376ede417b799165a03a990acb5a9423931cb784 | [
"MIT"
] | 1 | 2019-01-26T01:57:25.000Z | 2019-01-26T01:57:25.000Z | #!/usr/bin/python3
import sys
sys.path.insert(0, '/path/to/drinkingbuddy/')
from drinkingbuddy import app as application
### Example configuration for apache 2 webserver ###
#<VirtualHost *:80>
# ServerName drinkingbuddy.lan.posttenebraslab.ch
#
# WSGIDaemonProcess drinkingbuddy user=www-data group=ww... | 30.37931 | 91 | 0.668558 | 89 | 881 | 6.595506 | 0.617978 | 0.086882 | 0.034072 | 0.078365 | 0.146508 | 0.146508 | 0 | 0 | 0 | 0 | 0 | 0.013177 | 0.224745 | 881 | 28 | 92 | 31.464286 | 0.846266 | 0.822928 | 0 | 0 | 0 | 0 | 0.181102 | 0.181102 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2336258913cdae3881e4328795163527fd883de2 | 2,734 | py | Python | 06/LaborSupplyModel.py | AskerNC/lectures-2021 | d152450b2fee7be775892dde1a467639aa5e35ea | [
"MIT"
] | 9 | 2020-11-30T22:25:38.000Z | 2021-10-05T12:17:11.000Z | 06/LaborSupplyModel.py | AskerNC/lectures-2021 | d152450b2fee7be775892dde1a467639aa5e35ea | [
"MIT"
] | 1 | 2021-04-12T14:15:49.000Z | 2021-04-12T15:03:55.000Z | 06/LaborSupplyModel.py | AskerNC/lectures-2021 | d152450b2fee7be775892dde1a467639aa5e35ea | [
"MIT"
] | 30 | 2021-02-08T16:18:01.000Z | 2022-02-05T17:02:35.000Z | import numpy as np
from scipy import optimize
def implied_tax(l,w,tau0,tau1,kappa):
""" calculate implied tax of labor supply choice
Args:
l (float): labor supply
w (float): wage
tau0 (float): standard labor tax
tau1 (float): top bracket labor income tax
kappa ... | 25.792453 | 72 | 0.581931 | 363 | 2,734 | 4.349862 | 0.184573 | 0.111463 | 0.065864 | 0.062065 | 0.772008 | 0.723243 | 0.71311 | 0.646612 | 0.602913 | 0.559215 | 0 | 0.017195 | 0.319312 | 2,734 | 106 | 73 | 25.792453 | 0.831274 | 0.611924 | 0 | 0 | 0 | 0 | 0.009749 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.133333 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
233f28031f95c6ccee423019ab70967705f52c83 | 117 | py | Python | djangocms_versioning/test_utils/polls/forms.py | NarenderRajuB/djangocms-versioning | aa7a16fe275a6d8a41781ffb1e10427de917c2d5 | [
"BSD-3-Clause"
] | 12 | 2018-09-04T10:33:16.000Z | 2021-09-07T14:30:12.000Z | djangocms_versioning/test_utils/polls/forms.py | NarenderRajuB/djangocms-versioning | aa7a16fe275a6d8a41781ffb1e10427de917c2d5 | [
"BSD-3-Clause"
] | 46 | 2018-07-31T08:45:17.000Z | 2021-09-08T15:45:05.000Z | djangocms_versioning/test_utils/polls/forms.py | NarenderRajuB/djangocms-versioning | aa7a16fe275a6d8a41781ffb1e10427de917c2d5 | [
"BSD-3-Clause"
] | 16 | 2018-08-30T19:08:45.000Z | 2021-07-13T11:31:43.000Z | from django import forms
from .models import PollContent
class PollForm(forms.ModelForm):
model = PollContent
| 14.625 | 32 | 0.777778 | 14 | 117 | 6.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 7 | 33 | 16.714286 | 0.938144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
233f6e95766bccfb7821181e72486ec02a300270 | 167 | py | Python | tests/authorization/tests.py | ninumedia/django-tastypie | 4e4de4dddff9feeda4bed9d1e334ed286c409792 | [
"BSD-3-Clause"
] | null | null | null | tests/authorization/tests.py | ninumedia/django-tastypie | 4e4de4dddff9feeda4bed9d1e334ed286c409792 | [
"BSD-3-Clause"
] | 2 | 2017-04-07T16:28:25.000Z | 2017-05-23T04:52:17.000Z | tests/authorization/tests.py | ninumedia/django-tastypie | 4e4de4dddff9feeda4bed9d1e334ed286c409792 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from tastypie.authorization import Authorization
class PerUserAuthorizationTestCase(TestCase):
def test_get(self):
pass
| 20.875 | 48 | 0.790419 | 18 | 167 | 7.277778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161677 | 167 | 7 | 49 | 23.857143 | 0.935714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
235f25dbfac887621ae07adb4af2b0785a2a29b1 | 101 | py | Python | astr-119-hw-2/useful_modules.py | cnojiri/astr-119 | e4fae90e75276c1800fda5bb559f988767c0d870 | [
"MIT"
] | 1 | 2021-12-07T07:41:33.000Z | 2021-12-07T07:41:33.000Z | astr-119-hw-2/useful_modules.py | cnojiri/astr-119 | e4fae90e75276c1800fda5bb559f988767c0d870 | [
"MIT"
] | 6 | 2021-09-29T22:13:31.000Z | 2021-11-24T16:00:50.000Z | astr-119-hw-2/useful_modules.py | cnojiri/astr-119 | e4fae90e75276c1800fda5bb559f988767c0d870 | [
"MIT"
] | null | null | null | import test_module as tm
tm.hello_world() #imported module that we made, this is what numby does
| 25.25 | 73 | 0.762376 | 18 | 101 | 4.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188119 | 101 | 3 | 74 | 33.666667 | 0.914634 | 0.524752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
88e45f9b91eb0e05bce26c0ac7fadfa77f6e50e6 | 514 | py | Python | examples/ordering.py | F483/easyapi | f05ce1509030764721cc3393410fa12b609e88f2 | [
"MIT"
] | null | null | null | examples/ordering.py | F483/easyapi | f05ce1509030764721cc3393410fa12b609e88f2 | [
"MIT"
] | null | null | null | examples/ordering.py | F483/easyapi | f05ce1509030764721cc3393410fa12b609e88f2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# Copyright (c) 2015 Fabian Barkhau <fabian.barkhau@gmail.com>
# License: MIT (see LICENSE file)
import apigen
class Ordering(apigen.Definition):
@apigen.command()
def first(self):
return "first"
@apigen.command()
def second(self):
return "seco... | 16.580645 | 62 | 0.624514 | 61 | 514 | 5.131148 | 0.57377 | 0.166134 | 0.204473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012853 | 0.243191 | 514 | 30 | 63 | 17.133333 | 0.791774 | 0.247082 | 0 | 0.25 | 0 | 0 | 0.078329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
88e4c9cfb55b315625ea1e6d6120db088f49e8cb | 214 | py | Python | src/czml3/__init__.py | mstill3/czml3 | 20e3b70f230c73b3ee2638a85da5721a6d5359b2 | [
"MIT"
] | 28 | 2019-06-10T21:37:09.000Z | 2022-02-27T14:44:47.000Z | src/czml3/__init__.py | mstill3/czml3 | 20e3b70f230c73b3ee2638a85da5721a6d5359b2 | [
"MIT"
] | 95 | 2019-06-10T21:32:21.000Z | 2022-02-26T21:27:58.000Z | src/czml3/__init__.py | mstill3/czml3 | 20e3b70f230c73b3ee2638a85da5721a6d5359b2 | [
"MIT"
] | 24 | 2019-06-10T15:08:03.000Z | 2022-02-17T19:35:01.000Z | from ._version import get_versions
from .core import CZML_VERSION, Document, Packet, Preamble
__version__ = get_versions()["version"]
del get_versions
__all__ = ["Document", "Preamble", "Packet", "CZML_VERSION"]
| 26.75 | 60 | 0.766355 | 26 | 214 | 5.769231 | 0.461538 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 214 | 7 | 61 | 30.571429 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.191589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
88e6225ba8ada869b6a4f78042fb8abd5320fac3 | 412 | py | Python | src/libs/best_individual.py | ronaldpereira/symbolic-regression | 6896865e27d66403c86ecd53a11f0fa12ce7fe6a | [
"MIT"
] | null | null | null | src/libs/best_individual.py | ronaldpereira/symbolic-regression | 6896865e27d66403c86ecd53a11f0fa12ce7fe6a | [
"MIT"
] | null | null | null | src/libs/best_individual.py | ronaldpereira/symbolic-regression | 6896865e27d66403c86ecd53a11f0fa12ce7fe6a | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import math
import copy
class BestIndividual:
def __init__(self):
self.individual = None
self.fitness = math.inf
def check_best_individual(self, newInd):
if newInd.fitness < self.fitness:
self.individual = copy.deepcopy(newInd)
self.fitness =... | 22.888889 | 51 | 0.662621 | 48 | 412 | 5.520833 | 0.458333 | 0.211321 | 0.135849 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003247 | 0.252427 | 412 | 17 | 52 | 24.235294 | 0.857143 | 0.041262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.083333 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
00160bb2ea95dd1a830c5f43131457c8b9be22f1 | 98 | py | Python | CBCS_Tickets/apps.py | tjdolan121/tickets | b938eaf8de2c692204e896ef68c000adcd920849 | [
"MIT"
] | 1 | 2018-11-18T18:40:51.000Z | 2018-11-18T18:40:51.000Z | CBCS_Tickets/apps.py | tjdolan121/tickets | b938eaf8de2c692204e896ef68c000adcd920849 | [
"MIT"
] | null | null | null | CBCS_Tickets/apps.py | tjdolan121/tickets | b938eaf8de2c692204e896ef68c000adcd920849 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CbcsTicketsConfig(AppConfig):
name = 'CBCS_Tickets'
| 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 | 1 | 0 | 0 | 4 |
003c4cf34167da574eda3ea05414c132f9de9f46 | 60 | py | Python | backend/app/auth/__init__.py | bcbecker/Datta-Dashboard | 14f77ce166500996888ebdc0e8d3f977fe060547 | [
"FTL"
] | null | null | null | backend/app/auth/__init__.py | bcbecker/Datta-Dashboard | 14f77ce166500996888ebdc0e8d3f977fe060547 | [
"FTL"
] | null | null | null | backend/app/auth/__init__.py | bcbecker/Datta-Dashboard | 14f77ce166500996888ebdc0e8d3f977fe060547 | [
"FTL"
] | null | null | null | #For packaging
'''
Users api handles JWT auth for users
'''
| 12 | 36 | 0.7 | 9 | 60 | 4.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 4 | 37 | 15 | 0.857143 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0043a030fa16b00ae86055dc40bbe018927c300e | 50 | py | Python | figures/__init__.py | dvordrova/jumping-circle | c8332961ffa60c9d9e1ce6489eae6cf24ad1b2ae | [
"MIT"
] | null | null | null | figures/__init__.py | dvordrova/jumping-circle | c8332961ffa60c9d9e1ce6489eae6cf24ad1b2ae | [
"MIT"
] | null | null | null | figures/__init__.py | dvordrova/jumping-circle | c8332961ffa60c9d9e1ce6489eae6cf24ad1b2ae | [
"MIT"
] | null | null | null | from .circle import Circle
from .rope import Rope
| 16.666667 | 26 | 0.8 | 8 | 50 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 27 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cc65d16a635bf7c038a924345825b45750868ec9 | 159 | py | Python | pets/models.py | Gornstats/HTMX-Django-Experiments | 14553a6086412b243dfcc1f2c2a71f9e17adf82a | [
"BSD-2-Clause"
] | null | null | null | pets/models.py | Gornstats/HTMX-Django-Experiments | 14553a6086412b243dfcc1f2c2a71f9e17adf82a | [
"BSD-2-Clause"
] | null | null | null | pets/models.py | Gornstats/HTMX-Django-Experiments | 14553a6086412b243dfcc1f2c2a71f9e17adf82a | [
"BSD-2-Clause"
] | null | null | null | from django.db import models
class Pet(models.Model):
pet_name = models.CharField(max_length=20)
def __str__(self):
return self.pet_name
| 19.875 | 46 | 0.691824 | 23 | 159 | 4.478261 | 0.73913 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.220126 | 159 | 7 | 47 | 22.714286 | 0.814516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cc87c8cf5bf35c6f543a960e45dc356bf00a5698 | 312 | py | Python | service/renderers.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 1 | 2020-07-21T18:10:29.000Z | 2020-07-21T18:10:29.000Z | service/renderers.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 142 | 2020-04-07T17:36:34.000Z | 2021-06-07T00:20:47.000Z | service/renderers.py | johnpooch/diplomacy | 567db5c5cfefa99f176bacbfe469977474aa8a86 | [
"MIT"
] | 3 | 2018-08-30T08:58:27.000Z | 2021-02-28T03:34:26.000Z | from rest_framework import renderers
from service.utils.cases import deep_camel_case_transform
class CamelCaseRenderer(renderers.JSONRenderer):
def render(self, data, *args, **kwargs):
camelized_data = deep_camel_case_transform(data)
return super().render(camelized_data, *args, **kwargs)
| 31.2 | 62 | 0.766026 | 38 | 312 | 6.052632 | 0.631579 | 0.078261 | 0.113043 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 312 | 9 | 63 | 34.666667 | 0.861423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cc966cb26b2f9ec6dfca27518de0c74c7d2e8b10 | 350 | py | Python | async_signalr_client/models/messages/cancel_invocation.py | jvillacorta/async-signalr-client | 5cdb9d8f89c37a0ad5ba6e85df541b1346cbf50d | [
"MIT"
] | 2 | 2020-04-21T09:09:33.000Z | 2021-02-06T21:26:27.000Z | async_signalr_client/models/messages/cancel_invocation.py | jvillacorta/async-signalr-client | 5cdb9d8f89c37a0ad5ba6e85df541b1346cbf50d | [
"MIT"
] | 1 | 2020-07-09T09:22:52.000Z | 2020-07-09T09:22:52.000Z | async_signalr_client/models/messages/cancel_invocation.py | jvillacorta/async-signalr-client | 5cdb9d8f89c37a0ad5ba6e85df541b1346cbf50d | [
"MIT"
] | null | null | null | from async_signalr_client.models.messages.base import BaseSignalRMessage
from async_signalr_client.models.messages.types import SignalRMessageType
class CancelInvocationMessage(BaseSignalRMessage):
def __init__(self, invocation_id: str):
super().__init__(SignalRMessageType.CANCEL_INVOCATION)
self.... | 38.888889 | 73 | 0.822857 | 37 | 350 | 7.351351 | 0.567568 | 0.132353 | 0.117647 | 0.161765 | 0.264706 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 350 | 8 | 74 | 43.75 | 0.877419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ccb6eebfd86844e940fb88a37daab2f61b26f64c | 1,177 | py | Python | fiepipehoudini/shell/installs.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | fiepipehoudini/shell/installs.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | fiepipehoudini/shell/installs.py | leith-bartrich/fiellc | 1c02690538f442dede5d6afc8926355cb2ac838e | [
"MIT"
] | null | null | null | import typing
from fiepipedesktoplib.locallymanagedtypes.shells.AbstractLocalManagedTypeCommand import LocalManagedTypeCommand
from fiepipedesktoplib.shells.AbstractShell import AbstractShell
from fiepipehoudini.data.installs import HoudiniInstall
from fiepipehoudini.routines.installs import HoudiniInstallsInteractive... | 47.08 | 131 | 0.817332 | 114 | 1,177 | 8.254386 | 0.394737 | 0.089267 | 0.086079 | 0.061637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001912 | 0.1113 | 1,177 | 24 | 132 | 49.041667 | 0.897706 | 0 | 0 | 0 | 0 | 0 | 0.039932 | 0.020391 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.388889 | 0.166667 | 0.888889 | 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 | 1 | 1 | 0 | 0 | 4 |
aeab41fb052ac6284f87172ee549228767e865e2 | 132 | py | Python | Chapter 01/Chap01_Example1.157.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.157.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.157.py | Anancha/Programming-Techniques-using-Python | e80c329d2a27383909d358741a5cab03cb22fd8b | [
"MIT"
] | null | null | null | #implicit type conversion
num1 = 12
num2= 13.5
num3 = num1 + num2
print(type(num1))
print(type(num2))
print(num3)
print(type(num3))
| 14.666667 | 25 | 0.719697 | 22 | 132 | 4.318182 | 0.454545 | 0.284211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 0.128788 | 132 | 8 | 26 | 16.5 | 0.704348 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 4 |
4e04c072f75fb9292e2d313dd1ae71ae63b12288 | 30 | py | Python | modules/2.79/bpy/types/TextCurve.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/TextCurve.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/TextCurve.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | TextCurve.text_boxes = None
| 7.5 | 27 | 0.766667 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 3 | 28 | 10 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4e15706f4a20f000dbde4cef576b8962fdfad9d3 | 113 | py | Python | rasa/core/training/converters/__init__.py | chaneyjd/rasa | 104a9591fc10b96eaa7fe402b6d64ca652b7ebe2 | [
"Apache-2.0"
] | 37 | 2019-06-07T07:39:00.000Z | 2022-01-27T08:32:57.000Z | rasa/core/training/converters/__init__.py | chaneyjd/rasa | 104a9591fc10b96eaa7fe402b6d64ca652b7ebe2 | [
"Apache-2.0"
] | 209 | 2020-03-18T18:28:12.000Z | 2022-03-01T13:42:29.000Z | rasa/core/training/converters/__init__.py | chaneyjd/rasa | 104a9591fc10b96eaa7fe402b6d64ca652b7ebe2 | [
"Apache-2.0"
] | 65 | 2019-05-21T12:16:53.000Z | 2022-02-23T10:54:15.000Z | from rasa.core.training.converters.story_markdown_to_yaml_converter import (
StoryMarkdownToYamlConverter,
)
| 28.25 | 76 | 0.849558 | 12 | 113 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 113 | 3 | 77 | 37.666667 | 0.893204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4e257913ee7059009715ab66433995ecd01d00d3 | 91 | py | Python | taskscraper/scalprum/apps.py | YlmRdm/TaskScraper | 564ad3e8ef9d6e8de638e8ba767809e1c76f6e6d | [
"BSD-3-Clause"
] | 1 | 2021-03-04T16:43:13.000Z | 2021-03-04T16:43:13.000Z | taskscraper/scalprum/apps.py | YlmRdm/TaskScraper | 564ad3e8ef9d6e8de638e8ba767809e1c76f6e6d | [
"BSD-3-Clause"
] | null | null | null | taskscraper/scalprum/apps.py | YlmRdm/TaskScraper | 564ad3e8ef9d6e8de638e8ba767809e1c76f6e6d | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class ScalprumConfig(AppConfig):
name = 'scalprum'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9d69ea049d3ec15344bc76ac6a2f5719acece748 | 104 | py | Python | velkoz_web_application_django/stock_dashboard/apps.py | MatthewTe/velkoz-airflow-pipeline | 023dbcfbf64a79316e389b109e8a2069a2a8f7cc | [
"MIT"
] | null | null | null | velkoz_web_application_django/stock_dashboard/apps.py | MatthewTe/velkoz-airflow-pipeline | 023dbcfbf64a79316e389b109e8a2069a2a8f7cc | [
"MIT"
] | null | null | null | velkoz_web_application_django/stock_dashboard/apps.py | MatthewTe/velkoz-airflow-pipeline | 023dbcfbf64a79316e389b109e8a2069a2a8f7cc | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class StockDashboardConfig(AppConfig):
name = 'stock_dashboard'
| 17.333333 | 38 | 0.788462 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 39 | 20.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9d6a7cf5ee11eebad92a15fccf35267af639ee5e | 219 | py | Python | terrascript/resource/drarko/mssql.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/drarko/mssql.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/drarko/mssql.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/drarko/mssql.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:21:59 UTC)
import terrascript
class mssql_login(terrascript.Resource):
pass
__all__ = [
"mssql_login",
]
| 16.846154 | 73 | 0.744292 | 29 | 219 | 5.413793 | 0.758621 | 0.242038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064171 | 0.146119 | 219 | 12 | 74 | 18.25 | 0.775401 | 0.493151 | 0 | 0 | 1 | 0 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.166667 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.