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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a58cb34b8c9ce5b83974e59a07a04d7bc934385 | 711 | py | Python | utils/gpu_utils.py | veritas9872/Knowledge-Distillation-Task | d260b1057c96cfc52af8ff7a0775befbd102f59d | [
"MIT"
] | 2 | 2020-02-16T13:30:27.000Z | 2021-01-18T14:18:26.000Z | utils/gpu_utils.py | veritas9872/Knowledge-Distillation-Task | d260b1057c96cfc52af8ff7a0775befbd102f59d | [
"MIT"
] | null | null | null | utils/gpu_utils.py | veritas9872/Knowledge-Distillation-Task | d260b1057c96cfc52af8ff7a0775befbd102f59d | [
"MIT"
] | null | null | null | import torch
from torch import nn
def get_gpu_if_available(gpu: int = None):
# Device agnostic setting.
return torch.device(f'cuda:{gpu}') if torch.cuda.is_available() and (gpu is not None) else torch.device('cpu')
def get_single_model_device(model: nn.Module) -> torch.device:
"""Function for retrieving... | 30.913043 | 114 | 0.703235 | 112 | 711 | 4.401786 | 0.482143 | 0.066937 | 0.036511 | 0.060852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21519 | 711 | 22 | 115 | 32.318182 | 0.883513 | 0.511955 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 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 |
8a619c88d08938613878f8018030baf1ebd6aa78 | 122 | py | Python | src/s3labeler/__main__.py | karlrink/s3labeler | 60f8ea19fc5895bd2e5e7f8a8eef231888462f89 | [
"MIT"
] | null | null | null | src/s3labeler/__main__.py | karlrink/s3labeler | 60f8ea19fc5895bd2e5e7f8a8eef231888462f89 | [
"MIT"
] | null | null | null | src/s3labeler/__main__.py | karlrink/s3labeler | 60f8ea19fc5895bd2e5e7f8a8eef231888462f89 | [
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
"""s3labeler.__main__: execute when directory is called."""
from .s3labeler import main
main()
| 15.25 | 59 | 0.672131 | 15 | 122 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.155738 | 122 | 7 | 60 | 17.428571 | 0.728155 | 0.622951 | 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 |
8a78f5f2b5195b5b42a9594ba0949fd7ca0bd378 | 51 | py | Python | genre_recognizer.py | salubinseid/am-genre-reco | b7036c7dd9148ad4bdd03e7d3edaa1ac7d8b7a02 | [
"MIT"
] | null | null | null | genre_recognizer.py | salubinseid/am-genre-reco | b7036c7dd9148ad4bdd03e7d3edaa1ac7d8b7a02 | [
"MIT"
] | null | null | null | genre_recognizer.py | salubinseid/am-genre-reco | b7036c7dd9148ad4bdd03e7d3edaa1ac7d8b7a02 | [
"MIT"
] | null | null | null | # A code which load a model and made a prediction
| 25.5 | 50 | 0.745098 | 10 | 51 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 51 | 1 | 51 | 51 | 0.974359 | 0.921569 | 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 |
8a84db0b3c402e33cdf9c7aa1666f6df4ceb8668 | 376 | py | Python | home/admin.py | DeepanshuPratik/Docon | ad4236e66cf19b668ac69ee3d43711e64a729867 | [
"MIT"
] | 1 | 2021-06-22T18:00:05.000Z | 2021-06-22T18:00:05.000Z | home/admin.py | DeepanshuPratik/Docon | ad4236e66cf19b668ac69ee3d43711e64a729867 | [
"MIT"
] | null | null | null | home/admin.py | DeepanshuPratik/Docon | ad4236e66cf19b668ac69ee3d43711e64a729867 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import UserDetails
from .models import Contact
from .models import Book
from .models import Diagnostic
from .models import Report
# Registered all the models here in the database
admin.site.register(UserDetails)
admin.site.register(Contact)
admin.site.register(Book)
adm... | 25.066667 | 49 | 0.819149 | 53 | 376 | 5.811321 | 0.358491 | 0.162338 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109043 | 376 | 15 | 50 | 25.066667 | 0.919403 | 0.12234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8a8f3ecf67bc94a52bb65d2b3bc558883bbd3474 | 203 | py | Python | src/vmcontroller.host/vmcontroller/host/services/__init__.py | dgquintas/vmcontroller.unstable | 131c0af19c5923ef57c74006246dc41c65f24120 | [
"BSD-3-Clause"
] | null | null | null | src/vmcontroller.host/vmcontroller/host/services/__init__.py | dgquintas/vmcontroller.unstable | 131c0af19c5923ef57c74006246dc41c65f24120 | [
"BSD-3-Clause"
] | null | null | null | src/vmcontroller.host/vmcontroller/host/services/__init__.py | dgquintas/vmcontroller.unstable | 131c0af19c5923ef57c74006246dc41c65f24120 | [
"BSD-3-Clause"
] | null | null | null | try:
from HostStompEngine import *
from HostServices import *
from HostWords import *
except ImportError, e:
print "Import error in %s : %s" % (__name__, e)
import sys
sys.exit()
| 22.555556 | 51 | 0.650246 | 25 | 203 | 5.12 | 0.64 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261084 | 203 | 8 | 52 | 25.375 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0.1133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.75 | null | null | 0.125 | 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 |
8a8fe78acefa95d1af7ec08489d855a0707a7dc3 | 154 | py | Python | services/traction/api/endpoints/models/tenant_schema.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/api/endpoints/models/tenant_schema.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/api/endpoints/models/tenant_schema.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | from api.db.models.base import BaseSchema
class TenantSchemaRequest(BaseSchema):
schema_name: str
schema_version: str
attributes: list[str]
| 19.25 | 41 | 0.75974 | 19 | 154 | 6.052632 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 154 | 7 | 42 | 22 | 0.898438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 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 |
8ac1b29e5998d9fe8f4ae803c15e96047bff8204 | 122 | py | Python | src/java/python/__init__.py | bastie/PythonVampire | b5102f7389f3d583c41ec85c574ce5a72bbf4460 | [
"Apache-2.0"
] | 1 | 2020-09-05T14:02:11.000Z | 2020-09-05T14:02:11.000Z | src/java/util/__init__.py | bastie/PythonVampire | b5102f7389f3d583c41ec85c574ce5a72bbf4460 | [
"Apache-2.0"
] | null | null | null | src/java/util/__init__.py | bastie/PythonVampire | b5102f7389f3d583c41ec85c574ce5a72bbf4460 | [
"Apache-2.0"
] | null | null | null | # SPDX-FileCopyrightText: 2020 - Sebastian Ritter <bastie@users.noreply.github.com>
# SPDX-License-Identifier: Apache-2.0
| 40.666667 | 83 | 0.786885 | 16 | 122 | 6 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.081967 | 122 | 2 | 84 | 61 | 0.803571 | 0.959016 | 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 |
8acfacc8115035f5c7f9346338deed04f4d415e9 | 749 | py | Python | auxiliary/config.py | yanlinqian/Temporal-Color-Constancy | ebd363962fa8ae0908252cabaf97355da3da8a80 | [
"MIT"
] | 8 | 2020-09-04T08:55:41.000Z | 2021-07-16T01:51:57.000Z | auxiliary/config.py | yanlinqian/Temporal-Color-Constancy | ebd363962fa8ae0908252cabaf97355da3da8a80 | [
"MIT"
] | 3 | 2021-11-04T02:35:09.000Z | 2021-11-24T12:37:28.000Z | auxiliary/config.py | yanlinqian/Temporal-Color-Constancy | ebd363962fa8ae0908252cabaf97355da3da8a80 | [
"MIT"
] | 1 | 2020-10-15T13:20:42.000Z | 2020-10-15T13:20:42.000Z | #superset of config
### C4 or FC4
# FCN_INPUT_SIZE = 512
# # Use data augmentation?
# AUGMENTATION = True
# # Rotation angle
# AUGMENTATION_ANGLE = 60
# # Patch scale
# AUGMENTATION_SCALE = [0.1, 1.0]
# # Color rescaling?
# AUGMENTATION_COLOR = 0.8
# BOARD_FILL_COLOR = 1e-5
### ffcc
#FCN_INPUT_SIZE = 512
# Use data a... | 19.710526 | 42 | 0.723632 | 109 | 749 | 4.779817 | 0.293578 | 0.019194 | 0.069098 | 0.086372 | 0.861804 | 0.71785 | 0.71785 | 0.652591 | 0.652591 | 0.652591 | 0 | 0.065183 | 0.160214 | 749 | 37 | 43 | 20.243243 | 0.763116 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
8ad66a12455c75eba1193467be036df654ae6c1a | 2,601 | py | Python | __init__.py | jmaggio14/borealis | e61a02671fbfb910cd9526e717a33c93d1880773 | [
"MIT"
] | null | null | null | __init__.py | jmaggio14/borealis | e61a02671fbfb910cd9526e717a33c93d1880773 | [
"MIT"
] | null | null | null | __init__.py | jmaggio14/borealis | e61a02671fbfb910cd9526e717a33c93d1880773 | [
"MIT"
] | null | null | null | # @Author: Jeff Maggio <jmaggio>
# @Date: 2017-07-30T15:37:09-07:00
# @Email: jmaggio@planetaryresources.com
# @Project: sam (framing camera simulator)
# @Last modified by: jmaggio
# @Last modified time: 2017-07-30T15:37:53-07:00
# @Copyright: #!/usr/bin/env python
###############################################... | 37.695652 | 80 | 0.433295 | 189 | 2,601 | 5.962963 | 0.592593 | 0.079858 | 0.019521 | 0.02307 | 0.106477 | 0.106477 | 0.106477 | 0.106477 | 0 | 0 | 0 | 0.017036 | 0.09727 | 2,601 | 68 | 81 | 38.25 | 0.462947 | 0.49827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
76d6ba281bb2c79903b5de6a7f400af0f63a86e4 | 370 | py | Python | organice/settings.py | bittner/django-organice | 7621e4cf2361db84b42d77e5e72e341559eb9906 | [
"Apache-2.0"
] | 34 | 2015-04-22T12:47:32.000Z | 2022-03-18T02:16:17.000Z | organice/settings.py | TebelloX/django-organice | 7621e4cf2361db84b42d77e5e72e341559eb9906 | [
"Apache-2.0"
] | 13 | 2015-07-24T05:25:56.000Z | 2020-09-02T17:38:35.000Z | organice/settings.py | TebelloX/django-organice | 7621e4cf2361db84b42d77e5e72e341559eb9906 | [
"Apache-2.0"
] | 14 | 2015-05-01T20:42:49.000Z | 2022-03-25T01:12:34.000Z | """Default settings for django Organice"""
from django.conf import settings
URL_PATH_ADMIN = getattr(settings, 'ORGANICE_URL_PATH_ADMIN', 'admin')
URL_PATH_BLOG = getattr(settings, 'ORGANICE_URL_PATH_BLOG', 'blog')
URL_PATH_NEWSLETTER = getattr(settings, 'ORGANICE_URL_PATH_NEWSLETTER', 'newsletter')
URL_PATH_TODO = ge... | 46.25 | 85 | 0.802703 | 50 | 370 | 5.54 | 0.3 | 0.202166 | 0.33213 | 0.375451 | 0.433213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 370 | 7 | 86 | 52.857143 | 0.814706 | 0.097297 | 0 | 0 | 0 | 0 | 0.359756 | 0.289634 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
76e786acc34f0b2ad15c66ff0074cbab39b06e92 | 60 | py | Python | cached_result/tests/factories.py | darthwade/django-cached-result | 0e6a9f258db4fc98e0d9c8190adde3aca0b95782 | [
"MIT"
] | 1 | 2016-08-29T20:26:40.000Z | 2016-08-29T20:26:40.000Z | cached_result/tests/factories.py | darthwade/django-cached-result | 0e6a9f258db4fc98e0d9c8190adde3aca0b95782 | [
"MIT"
] | null | null | null | cached_result/tests/factories.py | darthwade/django-cached-result | 0e6a9f258db4fc98e0d9c8190adde3aca0b95782 | [
"MIT"
] | null | null | null | """Factories for the cached_result app."""
# import factory
| 20 | 42 | 0.733333 | 8 | 60 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 43 | 30 | 0.826923 | 0.866667 | 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 |
0a0a43a57eddfd50c80bd36c49d4becf4a751886 | 22 | py | Python | questionary/version.py | philastrophist/questionary | 512d52f5216e3494902a124f660453ec7fa4fa16 | [
"MIT"
] | 2,245 | 2017-03-31T14:43:44.000Z | 2022-03-30T01:17:25.000Z | trackerjacker/version.py | Warlockk/trackerjacker | 692262b2646a2e784733a258da8b8d6bfe79e3d7 | [
"MIT"
] | 46 | 2020-06-27T18:13:41.000Z | 2021-07-12T10:49:00.000Z | trackerjacker/version.py | Warlockk/trackerjacker | 692262b2646a2e784733a258da8b8d6bfe79e3d7 | [
"MIT"
] | 191 | 2017-05-20T20:25:49.000Z | 2022-03-03T05:44:49.000Z | __version__ = "1.9.0"
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a264c59a07b3a3f0e95e5c8c2c675aba96c9906 | 220 | py | Python | little_mees/little_mees/doctype/global_defaults/test_global_defaults.py | ayhamkht/little_mees | 6acd7a347a7786bbdb2f5b06f60ba5c22059eb19 | [
"MIT"
] | null | null | null | little_mees/little_mees/doctype/global_defaults/test_global_defaults.py | ayhamkht/little_mees | 6acd7a347a7786bbdb2f5b06f60ba5c22059eb19 | [
"MIT"
] | null | null | null | little_mees/little_mees/doctype/global_defaults/test_global_defaults.py | ayhamkht/little_mees | 6acd7a347a7786bbdb2f5b06f60ba5c22059eb19 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2021, Kunhi Mohamed and Contributors
# See license.txt
from __future__ import unicode_literals
# import frappe
import unittest
class TestGlobalDefaults(unittest.TestCase):
pass
| 20 | 52 | 0.768182 | 27 | 220 | 6.074074 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026455 | 0.140909 | 220 | 10 | 53 | 22 | 0.84127 | 0.463636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
0a656cc99cb1f62b7de712de53aab5716e41ab05 | 131 | py | Python | bunq/sdk/exception/bunq_exception.py | mwiekens/sdk_python | 9333636083bc63dca4353e8f497588f57617efec | [
"MIT"
] | 88 | 2017-08-01T18:39:46.000Z | 2022-02-21T12:34:16.000Z | bunq/sdk/exception/bunq_exception.py | mwiekens/sdk_python | 9333636083bc63dca4353e8f497588f57617efec | [
"MIT"
] | 136 | 2017-08-02T13:54:41.000Z | 2021-04-25T20:31:08.000Z | bunq/sdk/exception/bunq_exception.py | mwiekens/sdk_python | 9333636083bc63dca4353e8f497588f57617efec | [
"MIT"
] | 30 | 2017-08-15T09:35:42.000Z | 2021-05-06T12:42:06.000Z | class BunqException(Exception):
def __init__(self, message: str) -> None:
super(BunqException, self).__init__(message)
| 32.75 | 52 | 0.709924 | 14 | 131 | 6.071429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 131 | 3 | 53 | 43.666667 | 0.779817 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0a66793300d4bd961723ef76e259170dabe2366c | 517 | py | Python | src/mysql_bigquery/prefect_utils/__init__.py | beirving/mysql-to-bigquery | 75dfe3390f1e1a0dc54d5cace0cf1a89a0560ae6 | [
"MIT"
] | null | null | null | src/mysql_bigquery/prefect_utils/__init__.py | beirving/mysql-to-bigquery | 75dfe3390f1e1a0dc54d5cace0cf1a89a0560ae6 | [
"MIT"
] | null | null | null | src/mysql_bigquery/prefect_utils/__init__.py | beirving/mysql-to-bigquery | 75dfe3390f1e1a0dc54d5cace0cf1a89a0560ae6 | [
"MIT"
] | null | null | null | import os
from mysql_bigquery.prefect_utils import install
from mysql_bigquery.prefect_utils import jobs
if os.environ.get('MYSQL_BIG_QUERY_DEFINITIONS') is None:
os.environ['MYSQL_BIG_QUERY_DEFINITIONS'] = '/credentials/definitions.json'
if os.environ.get('MYSQL_BIG_QUERY_GOOGLE_AUTH') is None:
os.environ['M... | 43.083333 | 79 | 0.804642 | 78 | 517 | 4.987179 | 0.294872 | 0.138817 | 0.200514 | 0.107969 | 0.732648 | 0.624679 | 0.44473 | 0.159383 | 0 | 0 | 0 | 0 | 0.087041 | 517 | 12 | 80 | 43.083333 | 0.824153 | 0 | 0 | 0 | 0 | 0 | 0.472973 | 0.472973 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6a544f8fee4e4b8776c18503a376e27fe4af0326 | 506 | py | Python | OpenGLCffi/GL/EXT/SGIX/async.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/SGIX/async.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/SGIX/async.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['marker'])
def glAsyncMarkerSGIX(marker):
pass
@params(api='gl', prms=['markerp'])
def glFinishAsyncSGIX(markerp):
pass
@params(api='gl', prms=['markerp'])
def glPollAsyncSGIX(markerp):
pass
@params(api='gl', prms=['range'])
def glGenAsyncMarkersSGIX(ran... | 15.8125 | 44 | 0.705534 | 61 | 506 | 5.852459 | 0.295082 | 0.151261 | 0.184874 | 0.252101 | 0.498599 | 0.498599 | 0.330532 | 0 | 0 | 0 | 0 | 0 | 0.106719 | 506 | 31 | 45 | 16.322581 | 0.789823 | 0 | 0 | 0.526316 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.315789 | 0.052632 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6a690851e616a20a4cc455e792561102402f3c7e | 38,316 | py | Python | bayes_filter/vi.py | Joshuaalbert/bayes_filter | 2997d60d8cf07f875e42c0b5f07944e9ab7e9d33 | [
"Apache-2.0"
] | null | null | null | bayes_filter/vi.py | Joshuaalbert/bayes_filter | 2997d60d8cf07f875e42c0b5f07944e9ab7e9d33 | [
"Apache-2.0"
] | 3 | 2019-02-21T16:00:53.000Z | 2020-03-31T01:33:00.000Z | bayes_filter/vi.py | Joshuaalbert/bayes_filter | 2997d60d8cf07f875e42c0b5f07944e9ab7e9d33 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
import numpy as np
import tensorflow_probability as tfp
from .sgd import adam_stochastic_gradient_descent, natural_adam_stochastic_gradient_descent, natural_adam_stochastic_gradient_descent_with_linesearch, natural_adam_stochastic_gradient_descent_with_linesearch_minibatch
from . import float_ty... | 42.526082 | 217 | 0.578192 | 4,514 | 38,316 | 4.60833 | 0.070448 | 0.037208 | 0.013749 | 0.017306 | 0.783867 | 0.757235 | 0.730987 | 0.706999 | 0.680752 | 0.647822 | 0 | 0.008835 | 0.317648 | 38,316 | 900 | 218 | 42.573333 | 0.786804 | 0.182065 | 0 | 0.598712 | 0 | 0 | 0.008747 | 0.000734 | 0 | 0 | 0 | 0.006667 | 0 | 1 | 0.085837 | false | 0.004292 | 0.015021 | 0.006438 | 0.188841 | 0.004292 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6ab4ee0fad6a311f66ab7ca26f9bd019c65774ff | 2,612 | py | Python | nova/objects/__init__.py | venusource/nova | 0c6e6f180eebe71a3431abf726a0fd0c66578162 | [
"Apache-2.0"
] | 7 | 2015-09-22T11:27:16.000Z | 2015-11-02T12:33:46.000Z | nova/objects/__init__.py | venusource/nova | 0c6e6f180eebe71a3431abf726a0fd0c66578162 | [
"Apache-2.0"
] | 2 | 2015-09-07T22:14:46.000Z | 2020-08-12T08:51:56.000Z | nova/objects/__init__.py | venusource/nova | 0c6e6f180eebe71a3431abf726a0fd0c66578162 | [
"Apache-2.0"
] | 4 | 2015-09-09T16:48:56.000Z | 2022-03-15T20:52:57.000Z | # Copyright 2013 IBM Corp.
#
# 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 agree... | 43.533333 | 78 | 0.741194 | 346 | 2,612 | 5.132948 | 0.465318 | 0.185811 | 0.315878 | 0.098536 | 0.063063 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004091 | 0.157734 | 2,612 | 59 | 79 | 44.271186 | 0.803182 | 0.420368 | 0 | 0 | 0 | 0 | 0.540323 | 0.415995 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | true | 0 | 0.970588 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6ac1d9757ccd2bbe3df86cb15bb6378a4a32ae5b | 78 | py | Python | basic_python_practice/functions.py | MylesWritesCode/web_dev_practice | 769bad96cd19afeeda3b1dbbed1c34823fe1502f | [
"MIT"
] | null | null | null | basic_python_practice/functions.py | MylesWritesCode/web_dev_practice | 769bad96cd19afeeda3b1dbbed1c34823fe1502f | [
"MIT"
] | null | null | null | basic_python_practice/functions.py | MylesWritesCode/web_dev_practice | 769bad96cd19afeeda3b1dbbed1c34823fe1502f | [
"MIT"
] | null | null | null | #! /usr/bin/python
print 'Content-type: text/html'
print ''
print 'Testing'
| 11.142857 | 31 | 0.679487 | 11 | 78 | 4.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 6 | 32 | 13 | 0.791045 | 0.217949 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6aca50a78b1cd1bf3a4d7c2626fdf5ca3b762357 | 8,430 | py | Python | challenges/Cereal_Mixup__A_Cereal_Vending_Machine_Controller/support/breakfast.py | pingjuiliao/cb-multios | 64ededd0b87030eda7c40c4388a4ad8283712d8e | [
"MIT"
] | 473 | 2016-08-01T12:48:16.000Z | 2022-03-09T18:13:14.000Z | challenges/Cereal_Mixup__A_Cereal_Vending_Machine_Controller/support/breakfast.py | pingjuiliao/cb-multios | 64ededd0b87030eda7c40c4388a4ad8283712d8e | [
"MIT"
] | 71 | 2016-08-01T03:33:44.000Z | 2022-03-09T18:37:04.000Z | challenges/Cereal_Mixup__A_Cereal_Vending_Machine_Controller/support/breakfast.py | pingjuiliao/cb-multios | 64ededd0b87030eda7c40c4388a4ad8283712d8e | [
"MIT"
] | 121 | 2016-08-01T04:07:53.000Z | 2022-03-07T11:08:09.000Z | #!/usr/bin/env python
#
# Copyright (C) 2014 Narf Industries <info@narfindustries.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# th... | 32.548263 | 124 | 0.641874 | 1,079 | 8,430 | 4.761817 | 0.167748 | 0.058388 | 0.116777 | 0.076294 | 0.719735 | 0.707474 | 0.64383 | 0.631763 | 0.624757 | 0.624757 | 0 | 0.020568 | 0.244484 | 8,430 | 258 | 125 | 32.674419 | 0.786152 | 0.146738 | 0 | 0.741758 | 0 | 0 | 0.04744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.016484 | null | null | 0.021978 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a725ad236bbad80eef198a278c063064e7d696e | 192 | py | Python | tenable/ad/preference/schema.py | Rogdham/pyTenable | 79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a | [
"MIT"
] | 1 | 2022-03-01T17:17:19.000Z | 2022-03-01T17:17:19.000Z | tenable/ad/preference/schema.py | Rogdham/pyTenable | 79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a | [
"MIT"
] | null | null | null | tenable/ad/preference/schema.py | Rogdham/pyTenable | 79f3f7360f8ef31b964f1db99d0c7b8a0bc25d7a | [
"MIT"
] | 1 | 2022-03-01T17:17:30.000Z | 2022-03-01T17:17:30.000Z | from marshmallow import fields
from tenable.ad.base.schema import CamelCaseSchema
class PreferenceSchema(CamelCaseSchema):
language = fields.Str()
preferred_profile_id = fields.Int() | 27.428571 | 50 | 0.796875 | 22 | 192 | 6.863636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130208 | 192 | 7 | 51 | 27.428571 | 0.904192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 |
0a7cec209e7d0c5ce38da5abe7abce9dfe627d69 | 147 | py | Python | app/tests/test_models.py | vmasten/stock_portfolio | 75a7f17e4891b1ca1374b5e1e5d83dd891b9fddd | [
"MIT"
] | null | null | null | app/tests/test_models.py | vmasten/stock_portfolio | 75a7f17e4891b1ca1374b5e1e5d83dd891b9fddd | [
"MIT"
] | 1 | 2018-12-07T03:57:51.000Z | 2018-12-07T03:57:51.000Z | app/tests/test_models.py | vmasten/stock_portfolio | 75a7f17e4891b1ca1374b5e1e5d83dd891b9fddd | [
"MIT"
] | null | null | null | from ..models import db, Company
import pytest
def test_company_all(session):
companies = Company.query.all()
assert len(companies) == 0
| 18.375 | 35 | 0.721088 | 20 | 147 | 5.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.176871 | 147 | 7 | 36 | 21 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0a8ed9e5e4062d85b79f14a7e4b14e26b204c710 | 124 | py | Python | castoredc_api_client/__init__.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | castoredc_api_client/__init__.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | castoredc_api_client/__init__.py | andreasCastor/castoredc_api | ef0bd4eb8ac2efaa7e98e8462de7e5a7aa65a7f0 | [
"MIT"
] | null | null | null | from .castoredc_api_client import CastorClient
from .exceptions.exceptions import CastorException, castor_exception_handler
| 41.333333 | 76 | 0.895161 | 14 | 124 | 7.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 124 | 2 | 77 | 62 | 0.930435 | 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 |
0aaf100092b165c2ae2f26adb86157b1723133db | 160 | py | Python | src/main/python/app/controllers/WelcomeController.py | karlpet/WadLauncher | 512f5d28de5c57e4dffdc642b170891a99a00ea8 | [
"MIT"
] | 2 | 2020-09-06T11:16:30.000Z | 2020-09-15T17:11:34.000Z | src/main/python/app/controllers/WelcomeController.py | karlpet/WadLauncher | 512f5d28de5c57e4dffdc642b170891a99a00ea8 | [
"MIT"
] | 74 | 2020-09-07T16:40:54.000Z | 2021-06-18T00:22:39.000Z | src/main/python/app/controllers/WelcomeController.py | karlpet/WadLauncher | 512f5d28de5c57e4dffdc642b170891a99a00ea8 | [
"MIT"
] | null | null | null | import sys
from app.views.WelcomeView import WelcomeView
class WelcomeController:
def __init__(self, root, models):
self.view = WelcomeView(root)
| 20 | 45 | 0.74375 | 19 | 160 | 6.052632 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18125 | 160 | 7 | 46 | 22.857143 | 0.877863 | 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 |
0adc4c79b6410b58cb55a5a74adf42e173a6dfef | 42 | py | Python | pywizlight/_version.py | fabaff/pywizlight | 395e63846dd8bcfc99a65d50252c6a71e02590c4 | [
"MIT"
] | 1 | 2021-04-02T17:22:52.000Z | 2021-04-02T17:22:52.000Z | pywizlight/_version.py | fabaff/pywizlight | 395e63846dd8bcfc99a65d50252c6a71e02590c4 | [
"MIT"
] | null | null | null | pywizlight/_version.py | fabaff/pywizlight | 395e63846dd8bcfc99a65d50252c6a71e02590c4 | [
"MIT"
] | null | null | null | """PyPi Version."""
__version__ = "0.3.4"
| 14 | 21 | 0.595238 | 6 | 42 | 3.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.119048 | 42 | 2 | 22 | 21 | 0.486486 | 0.309524 | 0 | 0 | 0 | 0 | 0.217391 | 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 |
0ae36535434841c27eb6d1a1d3d898b7d0cdfd3c | 280 | py | Python | appengine_config.py | mayankgosain/python_slack_bot-master | 03d83384fdd7bc248ecf8713ca4d80013ba17808 | [
"Apache-2.0"
] | null | null | null | appengine_config.py | mayankgosain/python_slack_bot-master | 03d83384fdd7bc248ecf8713ca4d80013ba17808 | [
"Apache-2.0"
] | 1 | 2015-07-28T10:27:52.000Z | 2015-07-28T10:27:52.000Z | appengine_config.py | mayankgosain/python_slack_bot-master | 03d83384fdd7bc248ecf8713ca4d80013ba17808 | [
"Apache-2.0"
] | null | null | null | """`appengine_config` gets loaded when starting a new application instance."""
import site
import os.path
# add `lib` subdirectory as a site packages directory, so our `main` module can load
# third-party libraries.
site.addsitedir(os.path.join(os.path.dirname(__file__), 'lib'))
| 40 | 84 | 0.764286 | 42 | 280 | 4.97619 | 0.785714 | 0.086124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117857 | 280 | 6 | 85 | 46.666667 | 0.846154 | 0.639286 | 0 | 0 | 0 | 0 | 0.031915 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7c25f480a7e4db2b9fea4c8ef910e2b139377c72 | 1,360 | py | Python | beta.py | joenghl/SwarmSim | b06f27e91f7a6cba886aa06734f38f0ac006d6c0 | [
"MIT"
] | null | null | null | beta.py | joenghl/SwarmSim | b06f27e91f7a6cba886aa06734f38f0ac006d6c0 | [
"MIT"
] | null | null | null | beta.py | joenghl/SwarmSim | b06f27e91f7a6cba886aa06734f38f0ac006d6c0 | [
"MIT"
] | null | null | null |
import numpy as np
import torch
import argparse
from torch import Tensor
from torch import autograd
from torch.autograd import Variable
import sys
print(sys.executable)
print(torch.cuda.is_available())
# import airsim
# client = airsim.MultirotorClient()
# client.confirmConnection()
# client.enableApiControl(True, "Dr... | 30.909091 | 86 | 0.751471 | 172 | 1,360 | 5.866279 | 0.377907 | 0.087215 | 0.067393 | 0.104063 | 0.243806 | 0.2111 | 0.127849 | 0.081269 | 0 | 0 | 0 | 0.027869 | 0.102941 | 1,360 | 44 | 87 | 30.909091 | 0.79918 | 0.802941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 0.222222 | 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 |
7c280d829598b4adc58515af003be7dcab324652 | 188 | py | Python | setup.py | zoomie/homemade_steganog | 1ab0a140b6a2e0d9d36073d067a2c808c97adf38 | [
"MIT"
] | 1 | 2019-03-12T13:25:43.000Z | 2019-03-12T13:25:43.000Z | setup.py | zoomie/homemade_encryption | 1ab0a140b6a2e0d9d36073d067a2c808c97adf38 | [
"MIT"
] | 4 | 2020-03-24T16:43:01.000Z | 2022-03-11T23:39:53.000Z | setup.py | zoomie/homemade_encryption | 1ab0a140b6a2e0d9d36073d067a2c808c97adf38 | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name='homemade_steganog',
version='0.3.0',
packages=['homemade_steganog',],
install_requires=['scikit-image'],
license='MIT',
) | 20.888889 | 38 | 0.670213 | 22 | 188 | 5.590909 | 0.818182 | 0.260163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.164894 | 188 | 9 | 39 | 20.888889 | 0.764331 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c4414ad42002173728a604f0b54bdc51ac158a5 | 547 | py | Python | lfs/customer/migrations/0005_auto_20210406_1513.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | null | null | null | lfs/customer/migrations/0005_auto_20210406_1513.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | null | null | null | lfs/customer/migrations/0005_auto_20210406_1513.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 3.1.2 on 2021-04-06 15:13
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('customer', '0004_auto_20210406_1434'),
]
operations = [
migrations.RemoveField(
model_name='customer',
name='synthesized',
... | 21.038462 | 48 | 0.550274 | 49 | 547 | 6.020408 | 0.632653 | 0.213559 | 0.264407 | 0.305085 | 0.427119 | 0.427119 | 0 | 0 | 0 | 0 | 0 | 0.085635 | 0.338208 | 547 | 25 | 49 | 21.88 | 0.729282 | 0.082267 | 0 | 0.473684 | 1 | 0 | 0.158 | 0.046 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c58d45604fb37f69a3ee612ec766061ac0618d5 | 232 | py | Python | mmdet/utils/deployment/operations_domain.py | morkovka1337/mmdetection | 5187d94b6c96084b17817249622d6e4520213ae6 | [
"Apache-2.0"
] | 58 | 2020-09-21T08:17:26.000Z | 2022-03-31T19:38:14.000Z | mmdet/utils/deployment/operations_domain.py | morkovka1337/mmdetection | 5187d94b6c96084b17817249622d6e4520213ae6 | [
"Apache-2.0"
] | 170 | 2020-09-08T12:29:06.000Z | 2022-03-31T18:28:09.000Z | mmdet/utils/deployment/operations_domain.py | morkovka1337/mmdetection | 5187d94b6c96084b17817249622d6e4520213ae6 | [
"Apache-2.0"
] | 21 | 2020-10-06T13:49:41.000Z | 2022-03-30T14:52:45.000Z | # Copyright (C) 2020-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
DOMAIN_CUSTOM_OPS_NAME = 'org.openvinotoolkit'
def add_domain(name_operator: str) -> str:
return DOMAIN_CUSTOM_OPS_NAME + '::' + name_operator
| 29 | 56 | 0.758621 | 32 | 232 | 5.21875 | 0.71875 | 0.143713 | 0.179641 | 0.227545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049261 | 0.125 | 232 | 7 | 57 | 33.142857 | 0.773399 | 0.331897 | 0 | 0 | 0 | 0 | 0.139073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
7c596c3c8b72ea6024b27bd0c56984709592b557 | 240 | py | Python | trajectory/utils/__init__.py | hyyh28/trajectory-transformer | 4a369b6d1c950c76d1792cf004644fa13040319c | [
"MIT"
] | 63 | 2021-11-23T08:00:27.000Z | 2022-03-31T04:03:05.000Z | trajectory/utils/__init__.py | hyyh28/trajectory-transformer | 4a369b6d1c950c76d1792cf004644fa13040319c | [
"MIT"
] | 7 | 2021-12-08T04:01:13.000Z | 2022-03-31T07:42:37.000Z | trajectory/utils/__init__.py | hyyh28/trajectory-transformer | 4a369b6d1c950c76d1792cf004644fa13040319c | [
"MIT"
] | 12 | 2021-12-13T10:55:32.000Z | 2022-03-24T09:06:22.000Z | from .setup import Parser, watch
from .arrays import *
from .serialization import *
from .progress import Progress, Silent
from .rendering import make_renderer
# from .video import *
from .config import Config
from .training import Trainer
| 26.666667 | 38 | 0.795833 | 32 | 240 | 5.9375 | 0.5 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 240 | 8 | 39 | 30 | 0.926829 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7c74ac5a8df263460eb4d995c96d663a8ecb20f1 | 436 | py | Python | Admission Counselling For Direct Second Year/Web-Application/AdmissionDirectSecondYear/TopColleges/models.py | atharvaagrawal/direct-second-year-admission-analysis | 4744753c5b69d5e06211f006d56150997793c5bf | [
"MIT"
] | null | null | null | Admission Counselling For Direct Second Year/Web-Application/AdmissionDirectSecondYear/TopColleges/models.py | atharvaagrawal/direct-second-year-admission-analysis | 4744753c5b69d5e06211f006d56150997793c5bf | [
"MIT"
] | 1 | 2020-03-25T11:06:18.000Z | 2020-03-25T11:06:18.000Z | Admission Counselling For Direct Second Year/Web-Application/AdmissionDirectSecondYear/TopColleges/models.py | atharvaagrawal/direct-second-year-admission-analysis | 4744753c5b69d5e06211f006d56150997793c5bf | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class TopCollegesModel(models.Model):
institute_id = models.CharField(max_length=300)
college_name = models.CharField(max_length=300)
city = models.CharField(max_length=300)
state = models.CharField(max_length=300)
score = models.... | 27.25 | 53 | 0.697248 | 50 | 436 | 5.94 | 0.56 | 0.20202 | 0.242424 | 0.323232 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055394 | 0.213303 | 436 | 15 | 54 | 29.066667 | 0.810496 | 0.055046 | 0 | 0 | 0 | 0 | 0.055838 | 0.055838 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.9 | 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 |
7c7e189ba8ab8260e471ec212e19a2773d5fcf83 | 174 | py | Python | environments/obstacle_car_o/colors.py | lhk/baselines | 18eab9df4f74b5dac276bce64c13554d518618f7 | [
"MIT"
] | null | null | null | environments/obstacle_car_o/colors.py | lhk/baselines | 18eab9df4f74b5dac276bce64c13554d518618f7 | [
"MIT"
] | null | null | null | environments/obstacle_car_o/colors.py | lhk/baselines | 18eab9df4f74b5dac276bce64c13554d518618f7 | [
"MIT"
] | 1 | 2021-03-17T13:26:49.000Z | 2021-03-17T13:26:49.000Z | import pygame
red = pygame.Color(255, 0, 0)
green = pygame.Color(0, 255, 0)
blue = pygame.Color(0, 0, 255)
white = pygame.Color(255, 255, 255)
black = pygame.Color(0, 0, 0)
| 21.75 | 35 | 0.666667 | 32 | 174 | 3.625 | 0.3125 | 0.474138 | 0.310345 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184932 | 0.16092 | 174 | 7 | 36 | 24.857143 | 0.609589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c9489c18fb126a2e30051daf58cddbd901b41de | 1,164 | py | Python | dlrnapi_client/__init__.py | ssbarnea/dlrnapi_client | e09d278713cdd16cea69bfc64689166d2a886f19 | [
"Apache-2.0"
] | null | null | null | dlrnapi_client/__init__.py | ssbarnea/dlrnapi_client | e09d278713cdd16cea69bfc64689166d2a886f19 | [
"Apache-2.0"
] | null | null | null | dlrnapi_client/__init__.py | ssbarnea/dlrnapi_client | e09d278713cdd16cea69bfc64689166d2a886f19 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
DLRN API
DLRN API client
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import models into sdk package
from dlrnapi_client.models.ci_vote import CIVote # noqa
from dlrnapi_client.models... | 30.631579 | 72 | 0.804124 | 160 | 1,164 | 5.68125 | 0.31875 | 0.169417 | 0.261826 | 0.278328 | 0.440044 | 0.380638 | 0.088009 | 0 | 0 | 0 | 0 | 0.00997 | 0.138316 | 1,164 | 37 | 73 | 31.459459 | 0.896311 | 0.237973 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9375 | 0 | 0.9375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7c9a3aaea871b1e086e68d4e1b27037efb98d7d5 | 89 | py | Python | general/glassnode_api.py | RichardRed0x/checkonchain | 2a2c1b50fb9f31c9afc01e97095ca09d62b41860 | [
"ISC"
] | null | null | null | general/glassnode_api.py | RichardRed0x/checkonchain | 2a2c1b50fb9f31c9afc01e97095ca09d62b41860 | [
"ISC"
] | null | null | null | general/glassnode_api.py | RichardRed0x/checkonchain | 2a2c1b50fb9f31c9afc01e97095ca09d62b41860 | [
"ISC"
] | null | null | null |
#bd859ac9-3f51-4e09-a41e-5dcdfd3e99ec
client = 'https://api.glassnode.com/v1/metrics/' | 17.8 | 48 | 0.752809 | 12 | 89 | 5.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204819 | 0.067416 | 89 | 5 | 48 | 17.8 | 0.60241 | 0.404494 | 0 | 0 | 0 | 0 | 0.72549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
7c9ade3fd0e041b55112f1301882f6fd3419bf11 | 138 | py | Python | nigsp/tests/test_viz.py | smoia/nigsp | 75eab5e428e5b28b4a5c174b3aeb69b8172cf9f5 | [
"Apache-2.0"
] | 2 | 2022-03-21T14:53:39.000Z | 2022-03-24T15:39:45.000Z | nigsp/tests/test_viz.py | smoia/nigsp | 75eab5e428e5b28b4a5c174b3aeb69b8172cf9f5 | [
"Apache-2.0"
] | 6 | 2022-03-21T14:57:12.000Z | 2022-03-28T12:55:52.000Z | nigsp/tests/test_viz.py | smoia/nigsp | 75eab5e428e5b28b4a5c174b3aeb69b8172cf9f5 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""Tests for viz."""
from pytest import mark, raises
from nigsp import viz
# ### Unit tests
# ### Break tests
| 11.5 | 31 | 0.652174 | 20 | 138 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.195652 | 138 | 11 | 32 | 12.545455 | 0.801802 | 0.442029 | 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 | 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 |
7c9c2300ca97b500eac86c8d54d83d9fb9245ad0 | 157 | py | Python | spine_json_lib/__init__.py | jesdi/spine-json-lib | 15767302d829738ddd21e0249ceba21874a6a052 | [
"MIT"
] | null | null | null | spine_json_lib/__init__.py | jesdi/spine-json-lib | 15767302d829738ddd21e0249ceba21874a6a052 | [
"MIT"
] | null | null | null | spine_json_lib/__init__.py | jesdi/spine-json-lib | 15767302d829738ddd21e0249ceba21874a6a052 | [
"MIT"
] | null | null | null | __version__ = '0.2.4'
__url__ = 'https://github.com/socialpoint-labs/spine-json-lib'
from spine_json_lib.spine_animation_editor import SpineAnimationEditor
| 31.4 | 70 | 0.815287 | 22 | 157 | 5.272727 | 0.818182 | 0.155172 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020548 | 0.070064 | 157 | 4 | 71 | 39.25 | 0.773973 | 0 | 0 | 0 | 0 | 0 | 0.350318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7ca8c319a0444c442f2da164641f164f6047cdcf | 280 | py | Python | django/db/backends/base/validation.py | wfxiang08/django197 | c760d7f7cfbbb54a248dd303ef73206c43d80fbd | [
"BSD-3-Clause"
] | null | null | null | django/db/backends/base/validation.py | wfxiang08/django197 | c760d7f7cfbbb54a248dd303ef73206c43d80fbd | [
"BSD-3-Clause"
] | null | null | null | django/db/backends/base/validation.py | wfxiang08/django197 | c760d7f7cfbbb54a248dd303ef73206c43d80fbd | [
"BSD-3-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
class BaseDatabaseValidation(object):
"""
This class encapsulates all backend-specific model validation.
"""
def __init__(self, connection):
self.connection = connection
def check_field(self, field, **kwargs):
return []
| 25.454545 | 66 | 0.646429 | 28 | 280 | 6.285714 | 0.75 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.228571 | 280 | 10 | 67 | 28 | 0.810185 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7cb6167a5a519c96613e6d16d7b003ebdc20fa6e | 393 | py | Python | scripts/rpc/net.py | zealoussnow/spdk | 3148c48079731e121ec2fc81fb15293219da1789 | [
"BSD-3-Clause"
] | 13 | 2021-08-23T03:37:46.000Z | 2022-02-16T03:00:09.000Z | scripts/rpc/net.py | zealoussnow/spdk | 3148c48079731e121ec2fc81fb15293219da1789 | [
"BSD-3-Clause"
] | 2 | 2021-11-12T10:19:47.000Z | 2021-12-21T14:26:36.000Z | scripts/rpc/net.py | zealoussnow/spdk | 3148c48079731e121ec2fc81fb15293219da1789 | [
"BSD-3-Clause"
] | 4 | 2021-09-03T13:55:05.000Z | 2021-11-09T10:59:33.000Z | def add_ip_address(client, args):
params = {'ifc_index': args.ifc_index, 'ip_address': args.ip_addr}
return client.call('add_ip_address', params)
def delete_ip_address(client, args):
params = {'ifc_index': args.ifc_index, 'ip_address': args.ip_addr}
return client.call('delete_ip_address', params)
de... | 30.230769 | 70 | 0.73028 | 58 | 393 | 4.637931 | 0.258621 | 0.200743 | 0.178439 | 0.141264 | 0.594796 | 0.594796 | 0.594796 | 0.594796 | 0.594796 | 0.594796 | 0 | 0 | 0.13486 | 393 | 12 | 71 | 32.75 | 0.791176 | 0 | 0 | 0.25 | 0 | 0 | 0.211196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7cba37af37a0c49a828584ad7f3bc1c775fd47ad | 200 | py | Python | src/expression_evaluator/operators/basic/lesser_than.py | Xett/expression_evaluator | eca895d79f015843a262e9636b86c6dd3d06a69d | [
"MIT"
] | null | null | null | src/expression_evaluator/operators/basic/lesser_than.py | Xett/expression_evaluator | eca895d79f015843a262e9636b86c6dd3d06a69d | [
"MIT"
] | null | null | null | src/expression_evaluator/operators/basic/lesser_than.py | Xett/expression_evaluator | eca895d79f015843a262e9636b86c6dd3d06a69d | [
"MIT"
] | null | null | null | from expression_evaluator.token import *
class LesserThan(BasicOperator):
symbols = ['<']
priority = PriorityLevel.Boolean
@classmethod
def _function(cls, a, b):
return a < b | 22.222222 | 40 | 0.67 | 21 | 200 | 6.285714 | 0.904762 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23 | 200 | 9 | 41 | 22.222222 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.857143 | 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 |
7cd548bf9630c9951f1f88bc54abce74dbe50b51 | 11,832 | py | Python | neuroprob/utils/biophysical.py | davindicode/universal_count_model | f91294b66f16a5701dc8e0b5a825ac55bff83da2 | [
"MIT"
] | 1 | 2022-01-14T19:27:55.000Z | 2022-01-14T19:27:55.000Z | neuroprob/utils/biophysical.py | davindicode/universal_count_model | f91294b66f16a5701dc8e0b5a825ac55bff83da2 | [
"MIT"
] | null | null | null | neuroprob/utils/biophysical.py | davindicode/universal_count_model | f91294b66f16a5701dc8e0b5a825ac55bff83da2 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import numpy as np
from tqdm.autonotebook import tqdm
# Continuous models
class Hodgkin_Huxley():
r"""
Hodgkin-Huxley model via Euler integration
"""
def __init__(self, G_na=120, G_k=36, G_l=0.3, E_na=50, E_k=-77, E_l=-54.4):
r"""
units are in mV, ... | 34.8 | 111 | 0.483942 | 1,803 | 11,832 | 3.088741 | 0.124792 | 0.07434 | 0.036452 | 0.021548 | 0.778416 | 0.756868 | 0.721853 | 0.704435 | 0.696534 | 0.683247 | 0 | 0.088285 | 0.349983 | 11,832 | 340 | 112 | 34.8 | 0.635808 | 0.214672 | 0 | 0.665158 | 0 | 0 | 0.023989 | 0.002399 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054299 | false | 0 | 0.0181 | 0 | 0.126697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7ce2a2f7a600f572ddad417b0f26991aa5156a69 | 64 | py | Python | helloworld.py | sheki/snipy | 311ccbc043fc317b98393f16ebabb1f0f2ad2574 | [
"WTFPL"
] | 1 | 2017-12-19T22:44:19.000Z | 2017-12-19T22:44:19.000Z | helloworld.py | sheki/snipy | 311ccbc043fc317b98393f16ebabb1f0f2ad2574 | [
"WTFPL"
] | null | null | null | helloworld.py | sheki/snipy | 311ccbc043fc317b98393f16ebabb1f0f2ad2574 | [
"WTFPL"
] | null | null | null | print 'Content-Type: text/plain'
print ''
print 'Hello, world!'
| 16 | 32 | 0.703125 | 9 | 64 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 3 | 33 | 21.333333 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.578125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7cefc6e968d9c54af26c949e17f947dcd46300be | 556 | py | Python | oscar/lib/python2.7/site-packages/phonenumbers/shortdata/region_WS.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | 4 | 2018-10-19T04:36:20.000Z | 2020-02-13T16:14:09.000Z | oscar/lib/python2.7/site-packages/phonenumbers/shortdata/region_WS.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/shortdata/region_WS.py | AMuratTuran/mkn | 557086426773ced10d82c969304bd349414a601e | [
"BSD-3-Clause"
] | null | null | null | """Auto-generated file, do not edit by hand. WS metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_WS = PhoneMetadata(id='WS', country_code=None, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='9\\d{2}', possible_length=(3,)),
em... | 61.777778 | 110 | 0.77518 | 72 | 556 | 5.736111 | 0.583333 | 0.16707 | 0.210654 | 0.261501 | 0.368039 | 0.368039 | 0.368039 | 0.368039 | 0.368039 | 0.368039 | 0 | 0.037255 | 0.082734 | 556 | 8 | 111 | 69.5 | 0.772549 | 0.095324 | 0 | 0 | 1 | 0 | 0.05835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7cefef909e7458f99684bc978e406b37332343a3 | 71 | py | Python | nasbench301/surrogate_models/bananas/bananas_src/bo/fn/__init__.py | Basvanstein/nasbench301 | 2984dec45c760d47762f50efe39b71e9d1ac22e0 | [
"Apache-2.0"
] | 167 | 2019-10-26T19:54:49.000Z | 2021-12-14T15:25:32.000Z | nasbench301/surrogate_models/bananas/bananas_src/bo/fn/__init__.py | Basvanstein/nasbench301 | 2984dec45c760d47762f50efe39b71e9d1ac22e0 | [
"Apache-2.0"
] | 12 | 2020-11-07T12:50:19.000Z | 2022-01-21T08:52:53.000Z | nasbench301/surrogate_models/bananas/bananas_src/bo/fn/__init__.py | Basvanstein/nasbench301 | 2984dec45c760d47762f50efe39b71e9d1ac22e0 | [
"Apache-2.0"
] | 23 | 2019-10-28T12:26:32.000Z | 2020-10-12T12:31:39.000Z | """
Code for synthetic functions to query (perform experiment on).
"""
| 17.75 | 62 | 0.71831 | 9 | 71 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 3 | 63 | 23.666667 | 0.85 | 0.873239 | 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 |
7cf280e691010fa2d069889268a0b02995b8964b | 5,086 | py | Python | paxes_cinder/volume/discovery_driver.py | windskyer/k_cinder | 000ee539ee4842a158071d26ee99d12c7c0a87da | [
"Apache-2.0"
] | null | null | null | paxes_cinder/volume/discovery_driver.py | windskyer/k_cinder | 000ee539ee4842a158071d26ee99d12c7c0a87da | [
"Apache-2.0"
] | null | null | null | paxes_cinder/volume/discovery_driver.py | windskyer/k_cinder | 000ee539ee4842a158071d26ee99d12c7c0a87da | [
"Apache-2.0"
] | null | null | null | #
#
# =================================================================
# =================================================================
"""Extended Volume Driver interface to discover/query resource information"""
class VolumeDiscoveryDriver(object):
"""
Extended Volume Driver interface for drivers to im... | 53.536842 | 79 | 0.66044 | 678 | 5,086 | 4.926254 | 0.268437 | 0.059281 | 0.052695 | 0.031138 | 0.438024 | 0.420659 | 0.420659 | 0.420659 | 0.420659 | 0.406886 | 0 | 0.001641 | 0.280967 | 5,086 | 94 | 80 | 54.106383 | 0.911676 | 0.832088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0 | 0.714286 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6b0b873fff92b5ab3b7c7fe753e498cb0574572b | 280 | py | Python | utils/__init__.py | ntrlmt/jetson_benchmarks | 0a3d56ed806aa1aa0ee27ddeba0dd60daf0eb65d | [
"MIT"
] | 224 | 2020-04-28T17:28:21.000Z | 2022-03-28T15:27:19.000Z | utils/__init__.py | nikunjpansari/jetson_benchmarks | d0e474ff5e797c6842cd7ae8b2daddc82b7be423 | [
"MIT"
] | 23 | 2020-05-25T03:46:33.000Z | 2022-03-13T09:38:51.000Z | utils/__init__.py | nikunjpansari/jetson_benchmarks | d0e474ff5e797c6842cd7ae8b2daddc82b7be423 | [
"MIT"
] | 38 | 2020-05-29T02:51:57.000Z | 2022-03-23T06:45:44.000Z | from .download_models import download_models
from .load_store_engine import load_store_engine
from .read_write_data import read_write_data
from .utilities import utilities
from .benchmark_argparser import benchmark_argparser
from .run_benchmark_models import run_benchmark_models
| 40 | 54 | 0.892857 | 40 | 280 | 5.85 | 0.35 | 0.119658 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 280 | 6 | 55 | 46.666667 | 0.914063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6b0d3d28748b79c66f155d77253c7374050f983f | 26 | py | Python | midterm2/pick_area.py | williamtrang/DSC20 | eb72c1003ee98e30f63040568e82eedcb8d3af52 | [
"Apache-2.0"
] | null | null | null | midterm2/pick_area.py | williamtrang/DSC20 | eb72c1003ee98e30f63040568e82eedcb8d3af52 | [
"Apache-2.0"
] | null | null | null | midterm2/pick_area.py | williamtrang/DSC20 | eb72c1003ee98e30f63040568e82eedcb8d3af52 | [
"Apache-2.0"
] | null | null | null | def pick_area(input):
| 13 | 21 | 0.653846 | 4 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 26 | 2 | 22 | 13 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b13d14922bb0aa6053368fb4eec6baa39c0a5ba | 523 | py | Python | app/migrations/0005_auto_20211205_2323.py | RhonaJoyKe/Insta-Clone | 18a742f93c3e69ab03e88d69b28aced77fcce109 | [
"Unlicense"
] | null | null | null | app/migrations/0005_auto_20211205_2323.py | RhonaJoyKe/Insta-Clone | 18a742f93c3e69ab03e88d69b28aced77fcce109 | [
"Unlicense"
] | null | null | null | app/migrations/0005_auto_20211205_2323.py | RhonaJoyKe/Insta-Clone | 18a742f93c3e69ab03e88d69b28aced77fcce109 | [
"Unlicense"
] | null | null | null | # Generated by Django 3.2.9 on 2021-12-05 20:23
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app', '0004_image_user'),
]
operations = [
migrations.RemoveField(
model_name='comments',
name='postee',
),
... | 20.115385 | 47 | 0.529637 | 48 | 523 | 5.666667 | 0.625 | 0.231618 | 0.286765 | 0.330882 | 0.345588 | 0.345588 | 0.345588 | 0.345588 | 0 | 0 | 0 | 0.056213 | 0.353728 | 523 | 25 | 48 | 20.92 | 0.748521 | 0.086042 | 0 | 0.526316 | 1 | 0 | 0.115546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b26e5fee369f5d6578e8f4df9c4ff323d3510c6 | 102 | py | Python | mmdetection/mmdet/models/necks/__init__.py | taikis/kaggle-kuzushiji-recognition | 63c063f03f1ff5d53d411ae1709b4e328e170ace | [
"MIT"
] | 859 | 2019-09-29T05:36:03.000Z | 2022-03-15T08:33:03.000Z | mmdetection/mmdet/models/necks/__init__.py | taikis/kaggle-kuzushiji-recognition | 63c063f03f1ff5d53d411ae1709b4e328e170ace | [
"MIT"
] | 69 | 2019-10-14T11:07:51.000Z | 2022-03-10T14:39:00.000Z | mmdetection/mmdet/models/necks/__init__.py | taikis/kaggle-kuzushiji-recognition | 63c063f03f1ff5d53d411ae1709b4e328e170ace | [
"MIT"
] | 165 | 2019-10-05T02:59:29.000Z | 2022-03-28T02:30:11.000Z | from .bfp import BFP
from .fpn import FPN
from .hrfpn import HRFPN
__all__ = ['FPN', 'BFP', 'HRFPN']
| 17 | 33 | 0.686275 | 16 | 102 | 4.125 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 102 | 5 | 34 | 20.4 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
6b43fccfadfdf79c05274698c8c5c16cec3bb845 | 780 | py | Python | aiotdlib/api/types/ok.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/types/ok.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/types/ok.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 32.5 | 90 | 0.383333 | 58 | 780 | 5.068966 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.353846 | 780 | 23 | 91 | 33.913043 | 0.583333 | 0.629487 | 0 | 0 | 1 | 0 | 0.027132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
860c6cfe5eb3073994889280bbad52cf77a18d3a | 16,471 | py | Python | lib/risksense_api/__subject/__uploads/__uploads.py | arockiachristopher-git/risksense_tools | 1564cd93505a4d4ccd546f68310e0a09f888e590 | [
"Apache-2.0"
] | 1 | 2021-06-08T23:58:55.000Z | 2021-06-08T23:58:55.000Z | lib/risksense_api/__subject/__uploads/__uploads.py | arockiachristopher-git/risksense_tools | 1564cd93505a4d4ccd546f68310e0a09f888e590 | [
"Apache-2.0"
] | 1 | 2021-08-05T17:39:38.000Z | 2021-08-05T17:51:17.000Z | lib/risksense_api/__subject/__uploads/__uploads.py | risksense/risksense_tools | 1564cd93505a4d4ccd546f68310e0a09f888e590 | [
"Apache-2.0"
] | 5 | 2022-02-25T21:09:08.000Z | 2022-03-31T06:16:44.000Z | """ *******************************************************************************************************************
|
| Name : __uploads.py
| Module : risksense_api
| Description : A class to be used for interacting with uploads on the RiskSense Platform.
| Copyright : (c) RiskSense, Inc.
| Licen... | 30.277574 | 119 | 0.592192 | 1,984 | 16,471 | 4.72631 | 0.106855 | 0.09214 | 0.038392 | 0.024315 | 0.746934 | 0.713661 | 0.701717 | 0.672283 | 0.643596 | 0.62632 | 0 | 0.002917 | 0.313217 | 16,471 | 543 | 120 | 30.333333 | 0.826025 | 0.387772 | 0 | 0.703297 | 0 | 0 | 0.055665 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.016484 | 0 | 0.159341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
8625bc8c94c83d1dc2c1cfefab93a80ff30f3ce2 | 5,752 | py | Python | pymtl3/passes/translator/structural/test/StructuralTranslatorL4_test.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | 1 | 2019-11-12T12:26:01.000Z | 2019-11-12T12:26:01.000Z | pymtl3/passes/translator/structural/test/StructuralTranslatorL4_test.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | null | null | null | pymtl3/passes/translator/structural/test/StructuralTranslatorL4_test.py | hsqforfun/pymtl3 | 05e06601cf262a663a95d1235cb99056ece84580 | [
"BSD-3-Clause"
] | null | null | null | #=========================================================================
# StructuralTranslatorL4_test.py
#=========================================================================
# Author : Peitian Pan
# Date : May 21, 2019
"""Test the level 3 structural translators."""
import pytest
from pymtl3.datatypes impor... | 25.451327 | 90 | 0.690716 | 765 | 5,752 | 4.959477 | 0.129412 | 0.031629 | 0.04428 | 0.015814 | 0.722984 | 0.709278 | 0.709278 | 0.709278 | 0.691618 | 0.691618 | 0 | 0.01839 | 0.196453 | 5,752 | 225 | 91 | 25.564444 | 0.802466 | 0.045376 | 0 | 0.486842 | 0 | 0 | 0.002395 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0.118421 | false | 0.039474 | 0.092105 | 0 | 0.276316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
864d337c82ef94b51d95ff66100a6168388f04c6 | 248 | py | Python | src/rul/gbdt_trainer.py | LongxingTan/Survival_analysis | 4e132edc79423e286fb9d4c61b42547ed758a15c | [
"MIT"
] | 9 | 2020-01-13T10:01:56.000Z | 2022-01-23T06:06:09.000Z | src/rul/gbdt_trainer.py | LongxingTan/Survival_analysis | 4e132edc79423e286fb9d4c61b42547ed758a15c | [
"MIT"
] | 3 | 2020-09-25T22:23:43.000Z | 2022-02-10T02:09:10.000Z | src/rul/gbdt_trainer.py | LongxingTan/Survival_analysis | 4e132edc79423e286fb9d4c61b42547ed758a15c | [
"MIT"
] | 5 | 2020-12-28T01:40:42.000Z | 2022-03-15T03:01:31.000Z | # https://tianchi.aliyun.com/notebook-ai/detail?spm=5176.12586969.1002.6.3f9a7084HBDkFB&postId=107251
class LGBTrainer(object):
def __init__(self):
pass
def train(self, x_train, y_train, x_valid=None, y_valid=None):
pass
| 24.8 | 101 | 0.705645 | 36 | 248 | 4.638889 | 0.75 | 0.107784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140097 | 0.165323 | 248 | 9 | 102 | 27.555556 | 0.666667 | 0.399194 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
865edf37cca78e50a9b9671f01e57c611d08cc82 | 162 | py | Python | services/wallet/signer/exceptions.py | snario/zksnark-nft | 1f2fc5c3f4885c50465bf839ef478ec048ec754d | [
"MIT"
] | 76 | 2018-09-09T00:35:10.000Z | 2022-02-22T16:54:34.000Z | services/wallet/signer/exceptions.py | ejhanrienaOut/zknifty | 9285b573d4befe4ddeed9edba321af65c545bf39 | [
"MIT"
] | null | null | null | services/wallet/signer/exceptions.py | ejhanrienaOut/zknifty | 9285b573d4befe4ddeed9edba321af65c545bf39 | [
"MIT"
] | 17 | 2018-09-09T17:35:08.000Z | 2022-02-22T07:25:22.000Z | class RequestFailedException(Exception):
"""request failed without success http status"""
class WalletException(Exception):
"""wallet operation failed""" | 32.4 | 52 | 0.759259 | 15 | 162 | 8.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 162 | 5 | 53 | 32.4 | 0.87234 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
867c39291a7d226f3704ce663d558c6588f987a8 | 197 | py | Python | OP3/op3/__init__.py | gvx/op3 | 888ab5975a3f911fc9ed9afea983928de3110033 | [
"MIT"
] | null | null | null | OP3/op3/__init__.py | gvx/op3 | 888ab5975a3f911fc9ed9afea983928de3110033 | [
"MIT"
] | null | null | null | OP3/op3/__init__.py | gvx/op3 | 888ab5975a3f911fc9ed9afea983928de3110033 | [
"MIT"
] | null | null | null | # based on http://opensoundcontrol.org/spec-1_0
from .payload_types import RGBA, MIDIMessage, ASAP
from .messages import Element, Message, Bundle
from .parser import parse
__version__ = '0.0.1'
| 21.888889 | 50 | 0.771574 | 29 | 197 | 5.034483 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02924 | 0.13198 | 197 | 8 | 51 | 24.625 | 0.824561 | 0.228426 | 0 | 0 | 0 | 0 | 0.033557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
867eaf02bbbd25be7d40654bc084d3dd4d311ee7 | 26 | py | Python | python/testData/mover/emptyLine_afterUp.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/mover/emptyLine_afterUp.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/mover/emptyLine_afterUp.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | if True:
a = 1
b = 2
| 5.2 | 9 | 0.384615 | 6 | 26 | 1.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.5 | 26 | 4 | 10 | 6.5 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86938ffd5a61560719e40314836bd9e543038b28 | 87 | py | Python | scp4tw/center/apps.py | iblis17/scp4tw | faa07aa8c6ea4905db843fbccdb4057043bc9b9a | [
"MIT"
] | null | null | null | scp4tw/center/apps.py | iblis17/scp4tw | faa07aa8c6ea4905db843fbccdb4057043bc9b9a | [
"MIT"
] | null | null | null | scp4tw/center/apps.py | iblis17/scp4tw | faa07aa8c6ea4905db843fbccdb4057043bc9b9a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CenterConfig(AppConfig):
name = 'center'
| 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 |
869712e600d5a57afef86843f8444e9409b06aa3 | 351 | py | Python | members-backend/core/serializers.py | LombaAnderson/angular-django-integration | ea7a7bf639c484f6c812fc2657d8c82880759cf2 | [
"MIT"
] | null | null | null | members-backend/core/serializers.py | LombaAnderson/angular-django-integration | ea7a7bf639c484f6c812fc2657d8c82880759cf2 | [
"MIT"
] | null | null | null | members-backend/core/serializers.py | LombaAnderson/angular-django-integration | ea7a7bf639c484f6c812fc2657d8c82880759cf2 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Member
class MemberSerializer(serializers.ModelSerializer):
class Meta:
model = Member
fields = ['id', 'name', 'surname', 'phone', 'photo']
class MemberSimpleSerializer(serializers.ModelSerializer):
class Meta:
model = Member
... | 27 | 60 | 0.678063 | 34 | 351 | 6.970588 | 0.558824 | 0.219409 | 0.261603 | 0.295359 | 0.489451 | 0.489451 | 0.489451 | 0.489451 | 0.489451 | 0 | 0 | 0 | 0.213675 | 351 | 12 | 61 | 29.25 | 0.858696 | 0 | 0 | 0.4 | 0 | 0 | 0.082621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 |
86aaf79edf4b0dfa0ead7f6d90d7b88d14f5fc46 | 161 | py | Python | A_MIAR3QtGui/MainWindow.py | FukukouSSJouhou/A_MIA_R3 | 970e80f6b71ba3c6eab013470b52f1e76fb04d3c | [
"MIT"
] | null | null | null | A_MIAR3QtGui/MainWindow.py | FukukouSSJouhou/A_MIA_R3 | 970e80f6b71ba3c6eab013470b52f1e76fb04d3c | [
"MIT"
] | null | null | null | A_MIAR3QtGui/MainWindow.py | FukukouSSJouhou/A_MIA_R3 | 970e80f6b71ba3c6eab013470b52f1e76fb04d3c | [
"MIT"
] | 1 | 2022-03-29T03:30:36.000Z | 2022-03-29T03:30:36.000Z | from PySide2 import QtCore
class MainWindowConnect(QtCore.QObject):
def __init__(self,parent=None):
super(MainWindowConnect,self).__init__(parent)
| 23 | 54 | 0.763975 | 18 | 161 | 6.388889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.142857 | 161 | 6 | 55 | 26.833333 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 4 |
86d027b23ed92eb1e3c11dcd36430966ed5b2332 | 538 | py | Python | stitcher.py | jarsba/meow | 1120e6a97bcf549d3177b959fcae5375d05d5e47 | [
"MIT"
] | null | null | null | stitcher.py | jarsba/meow | 1120e6a97bcf549d3177b959fcae5375d05d5e47 | [
"MIT"
] | 1 | 2021-08-24T21:11:09.000Z | 2021-08-25T14:54:48.000Z | stitcher.py | jarsba/meow | 1120e6a97bcf549d3177b959fcae5375d05d5e47 | [
"MIT"
] | null | null | null | import cv2
class Stitcher:
def __init__(self, input_path_1: str, input_path_2: str, output: str = "output.mp4"):
self.input_path_1 = input_path_1
self.input_path_2 = input_path_2
self.output = output
@staticmethod
def read_stream(self, input_path: str):
capture = cv2.VideoC... | 25.619048 | 89 | 0.644981 | 73 | 538 | 4.424658 | 0.356164 | 0.22291 | 0.160991 | 0.086687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030457 | 0.267658 | 538 | 20 | 90 | 26.9 | 0.78934 | 0.046468 | 0 | 0.142857 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0.285714 | false | 0.142857 | 0.071429 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
86e125c31f710969b3c59c9fb2bfaae6cbc52795 | 121 | py | Python | abc/abc059/abc059b.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | 1 | 2019-08-21T00:49:34.000Z | 2019-08-21T00:49:34.000Z | abc/abc059/abc059b.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | abc/abc059/abc059b.py | c-yan/atcoder | 940e49d576e6a2d734288fadaf368e486480a948 | [
"MIT"
] | null | null | null | A = int(input())
B = int(input())
if A > B:
print('GREATER')
elif A < B:
print('LESS')
else:
print('EQUAL')
| 12.1 | 20 | 0.520661 | 19 | 121 | 3.315789 | 0.578947 | 0.253968 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256198 | 121 | 9 | 21 | 13.444444 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86fb9a82459f258016626e1ff2aeaf4cbef4b9db | 188 | py | Python | lemon/protocol/Image/CdnImageUploadStatus.py | lemon-chat/lemon-server-python | 5947b52b3c4535ae54fe2705a830db07fdaf741d | [
"MIT"
] | null | null | null | lemon/protocol/Image/CdnImageUploadStatus.py | lemon-chat/lemon-server-python | 5947b52b3c4535ae54fe2705a830db07fdaf741d | [
"MIT"
] | null | null | null | lemon/protocol/Image/CdnImageUploadStatus.py | lemon-chat/lemon-server-python | 5947b52b3c4535ae54fe2705a830db07fdaf741d | [
"MIT"
] | null | null | null | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: Image
class CdnImageUploadStatus(object):
Success = 0
FailUnknown = 1
FailInvalidToken = 2
| 18.8 | 68 | 0.739362 | 20 | 188 | 6.95 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.207447 | 188 | 9 | 69 | 20.888889 | 0.912752 | 0.441489 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
811f1b4beeae3f90dcce91aa0b6deb6b7792e972 | 26,622 | py | Python | Packs/Orca/Integrations/Orca/Orca_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | null | null | null | Packs/Orca/Integrations/Orca/Orca_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | null | null | null | Packs/Orca/Integrations/Orca/Orca_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | null | null | null | from datetime import datetime
import pytest
import json
from Orca import OrcaClient, ORCA_API_DNS_NAME, BaseClient, DEMISTO_OCCURRED_FORMAT, fetch_incidents
import demistomock as demisto
@pytest.fixture
def orca_client() -> OrcaClient:
api_key = "dummy api key"
client = BaseClient(
base_url=ORCA_API... | 44.742857 | 125 | 0.485989 | 2,344 | 26,622 | 5.242747 | 0.149744 | 0.020832 | 0.018228 | 0.031898 | 0.798438 | 0.778989 | 0.755961 | 0.720238 | 0.675645 | 0.672227 | 0 | 0.159501 | 0.391931 | 26,622 | 594 | 126 | 44.818182 | 0.599642 | 0.003306 | 0 | 0.648601 | 0 | 0 | 0.427672 | 0.177145 | 0 | 0 | 0 | 0 | 0.019231 | 1 | 0.015734 | false | 0 | 0.008741 | 0 | 0.026224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
812b9ce9ae3a1fa3685d90f524bbba8c1aa76074 | 132 | py | Python | rate/apps.py | muneneee/work | b16e273bd8ee626b41cdbb5366013b76ff6c373a | [
"MIT"
] | null | null | null | rate/apps.py | muneneee/work | b16e273bd8ee626b41cdbb5366013b76ff6c373a | [
"MIT"
] | 6 | 2021-03-19T11:22:07.000Z | 2022-02-10T12:03:40.000Z | rate/apps.py | muneneee/work | b16e273bd8ee626b41cdbb5366013b76ff6c373a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RateConfig(AppConfig):
name = 'rate'
def ready(self):
import rate.signals | 16.5 | 33 | 0.681818 | 16 | 132 | 5.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234848 | 132 | 8 | 34 | 16.5 | 0.891089 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 |
813782e57a6454b60ba1203e5b4409c5d31f2273 | 108 | py | Python | pybots/src/magpy/magpy_backend/test.py | aivian/robots | 6827886916e36432ce1d806f0a78edef6c9270d9 | [
"MIT"
] | null | null | null | pybots/src/magpy/magpy_backend/test.py | aivian/robots | 6827886916e36432ce1d806f0a78edef6c9270d9 | [
"MIT"
] | null | null | null | pybots/src/magpy/magpy_backend/test.py | aivian/robots | 6827886916e36432ce1d806f0a78edef6c9270d9 | [
"MIT"
] | 1 | 2021-09-24T17:08:30.000Z | 2021-09-24T17:08:30.000Z | import magpy_backend
for i in range(1000):
a = magpy_backend.magpy_backend('WMM.COF', 0,0,0, 2015,1,1)
| 21.6 | 63 | 0.703704 | 21 | 108 | 3.47619 | 0.666667 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 0.148148 | 108 | 4 | 64 | 27 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.064815 | 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 |
8142625755ae5070679653dad8e6b654d64f2817 | 140 | py | Python | peach/models/quartznet_recognizer.py | sergevkim/SpeechRecognition | c81024a3c9e6b022c7a44777bea3e6bc4b3cc35a | [
"MIT"
] | 1 | 2020-10-11T19:04:35.000Z | 2020-10-11T19:04:35.000Z | peach/models/quartznet_recognizer.py | sergevkim/SpeechRecognition | c81024a3c9e6b022c7a44777bea3e6bc4b3cc35a | [
"MIT"
] | 2 | 2020-10-16T07:46:33.000Z | 2020-10-18T18:39:07.000Z | peach/models/quartznet_recognizer.py | sergevkim/SpeechRecognition | c81024a3c9e6b022c7a44777bea3e6bc4b3cc35a | [
"MIT"
] | null | null | null | from torch.nn import Module
class QuartzNetRecognizer(Module):
def __init__(self):
pass
def forward(self):
pass
| 12.727273 | 34 | 0.642857 | 16 | 140 | 5.375 | 0.75 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 140 | 10 | 35 | 14 | 0.86 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
d4ae716bd2621324198aa969fe60e79877aee2ee | 109 | py | Python | pysurf/spp/model/model.py | MFSJMenger/pysurf | 99c6a94d4cb5046f16a0961b907061d989ffb6dc | [
"Apache-2.0"
] | 7 | 2020-10-28T13:46:08.000Z | 2021-05-27T06:41:56.000Z | pysurf/spp/model/model.py | MFSJMenger/pysurf | 99c6a94d4cb5046f16a0961b907061d989ffb6dc | [
"Apache-2.0"
] | 2 | 2020-10-27T19:15:12.000Z | 2020-10-27T19:15:25.000Z | pysurf/spp/model/model.py | MFSJMenger/pysurf | 99c6a94d4cb5046f16a0961b907061d989ffb6dc | [
"Apache-2.0"
] | 2 | 2021-04-15T05:54:30.000Z | 2022-02-08T00:10:10.000Z | from abc import ABC, abstractmethod
class Model(ABC):
@abstractmethod
def get(self):
pass
| 12.111111 | 35 | 0.651376 | 13 | 109 | 5.461538 | 0.769231 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275229 | 109 | 8 | 36 | 13.625 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d4b03e894832c5d7260c51b4ea9128f3e10215ee | 327 | py | Python | Desafios/Mundo 3/ex074.py | ZaikoXander/Python | 7e7243edb02dd33991c5f63f02c983ad060fc3ca | [
"Unlicense"
] | null | null | null | Desafios/Mundo 3/ex074.py | ZaikoXander/Python | 7e7243edb02dd33991c5f63f02c983ad060fc3ca | [
"Unlicense"
] | null | null | null | Desafios/Mundo 3/ex074.py | ZaikoXander/Python | 7e7243edb02dd33991c5f63f02c983ad060fc3ca | [
"Unlicense"
] | null | null | null | from random import randint
numeros = (randint(-999, 999), randint(-999, 999), randint(-999, 999), randint(-999, 999), randint(-999, 999))
print('Os números sorteados foram: ', end='')
for num in numeros:
print(f'| {num} ', end='')
print('|', end='\n')
print(f'O menor valor é {min(numeros)} e o maior é {max(numer... | 29.727273 | 110 | 0.636086 | 51 | 327 | 4.078431 | 0.490196 | 0.240385 | 0.3125 | 0.384615 | 0.3125 | 0.3125 | 0.3125 | 0.3125 | 0.3125 | 0.3125 | 0 | 0.107914 | 0.149847 | 327 | 10 | 111 | 32.7 | 0.640288 | 0 | 0 | 0 | 0 | 0 | 0.293578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d4b2e2a88b394e145386346e42b82631170c0c31 | 226 | py | Python | examples/example_ql_mf.py | markjunior/RL_policy | b88f191e8064342e7723df241a946d72bbfe5298 | [
"MIT"
] | null | null | null | examples/example_ql_mf.py | markjunior/RL_policy | b88f191e8064342e7723df241a946d72bbfe5298 | [
"MIT"
] | null | null | null | examples/example_ql_mf.py | markjunior/RL_policy | b88f191e8064342e7723df241a946d72bbfe5298 | [
"MIT"
] | 1 | 2021-01-28T12:49:19.000Z | 2021-01-28T12:49:19.000Z | import sys
sys.path.append('./../')
from q_learning.ql_mf import q_learning_model_free
test_model = q_learning_model_free(env_name='MountainCar-v0', num_s=20)
test_model.run(mode='q_learning')
# test_model.run(mode='sarsa')
| 25.111111 | 71 | 0.778761 | 39 | 226 | 4.153846 | 0.564103 | 0.222222 | 0.17284 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.070796 | 226 | 8 | 72 | 28.25 | 0.757143 | 0.123894 | 0 | 0 | 0 | 0 | 0.147959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 4 |
d4c0715d0361b109b2bd901ab261c21294d0e2c2 | 149 | py | Python | 24. Exam Prep/exam_19dec/project/supply/water_supply.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | 1 | 2021-03-27T16:56:30.000Z | 2021-03-27T16:56:30.000Z | 24. Exam Prep/exam_19dec/project/supply/water_supply.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | null | null | null | 24. Exam Prep/exam_19dec/project/supply/water_supply.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | 1 | 2021-03-15T14:50:39.000Z | 2021-03-15T14:50:39.000Z | from exam_19dec.project.supply.supply import Supply
class WaterSupply(Supply):
def __init__(self):
super().__init__(needs_increase=40)
| 21.285714 | 51 | 0.744966 | 19 | 149 | 5.315789 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.154362 | 149 | 6 | 52 | 24.833333 | 0.769841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 4 |
d4e69ced5ad38a9922dee4e91db668d18d241565 | 153 | py | Python | src/missions_lib/__init__.py | phopley/rodney_missions | 4222314960aa6e9f77b10bd2c64607f9c0ed5eea | [
"Apache-2.0"
] | 1 | 2021-04-02T04:37:44.000Z | 2021-04-02T04:37:44.000Z | src/missions_lib/__init__.py | phopley/rodney_missions | 4222314960aa6e9f77b10bd2c64607f9c0ed5eea | [
"Apache-2.0"
] | 3 | 2019-01-14T10:45:01.000Z | 2019-01-28T10:12:02.000Z | src/missions_lib/__init__.py | phopley/rodney_missions | 4222314960aa6e9f77b10bd2c64607f9c0ed5eea | [
"Apache-2.0"
] | 1 | 2021-04-02T04:37:45.000Z | 2021-04-02T04:37:45.000Z | # __init__.py
from .take_message_to import Mission1StateMachine
from .greet_all import Mission2StateMachine
from .go_home import Mission4StateMachine
| 19.125 | 49 | 0.856209 | 18 | 153 | 6.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.111111 | 153 | 7 | 50 | 21.857143 | 0.882353 | 0.071895 | 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 |
d4f2b2d60dc0bbe60e71eb885a7e104d2c110c2a | 1,092 | py | Python | bcrypt/__init__.py | propellr/python-bcrypt | ad2f53aa36ffbe3a51edca12c97371ec154f9354 | [
"ISC"
] | 5 | 2016-04-29T08:15:05.000Z | 2021-01-23T21:49:44.000Z | bcrypt/__init__.py | propellr/python-bcrypt | ad2f53aa36ffbe3a51edca12c97371ec154f9354 | [
"ISC"
] | 2 | 2021-06-08T21:32:02.000Z | 2022-03-12T00:29:24.000Z | bcrypt/__init__.py | propellr/python-bcrypt | ad2f53aa36ffbe3a51edca12c97371ec154f9354 | [
"ISC"
] | 1 | 2017-07-15T22:15:56.000Z | 2017-07-15T22:15:56.000Z | """OpenBSD Blowfish password hashing.
This module implements the OpenBSD Blowfish password hashing
algorithm, as described in "A Future-Adaptable Password Scheme" by
Niels Provos and David Mazieres.
This system hashes passwords using a version of Bruce Schneier's
Blowfish block cipher with modifications designed to r... | 32.117647 | 70 | 0.782051 | 166 | 1,092 | 5.078313 | 0.554217 | 0.074733 | 0.054567 | 0.071174 | 0.097272 | 0.097272 | 0.097272 | 0.097272 | 0 | 0 | 0 | 0.011879 | 0.152015 | 1,092 | 33 | 71 | 33.090909 | 0.898488 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
be2bd9bcd1dd9d2f444c870a5674e9acf9e60ec9 | 153 | py | Python | images2pdf.py | kweusuf/Manga-Scraper | 446dc3fa083e789f032623c7a040f1ea4f317d52 | [
"MIT"
] | null | null | null | images2pdf.py | kweusuf/Manga-Scraper | 446dc3fa083e789f032623c7a040f1ea4f317d52 | [
"MIT"
] | null | null | null | images2pdf.py | kweusuf/Manga-Scraper | 446dc3fa083e789f032623c7a040f1ea4f317d52 | [
"MIT"
] | null | null | null | import img2pdf, os
with open(f"Chapter 11.pdf", "wb") as f:
f.write(img2pdf.convert([i for i in sorted(os.listdir(), key=len) if i.endswith(".jpg")])) | 51 | 93 | 0.673203 | 29 | 153 | 3.551724 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.124183 | 153 | 3 | 93 | 51 | 0.738806 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 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 |
076bf8f990154a66f9111dc354046ed5db8d8e0d | 8 | py | Python | __init__.py | Laende/Bacheloroppgave-droneteknologi | 15d9b2cd0eeba47fd2e9615fb01d598516826194 | [
"MIT"
] | null | null | null | __init__.py | Laende/Bacheloroppgave-droneteknologi | 15d9b2cd0eeba47fd2e9615fb01d598516826194 | [
"MIT"
] | 11 | 2021-07-04T13:46:30.000Z | 2021-07-13T08:30:40.000Z | __init__.py | Laende/Bacheloroppgave-droneteknologi | 15d9b2cd0eeba47fd2e9615fb01d598516826194 | [
"MIT"
] | 1 | 2021-07-04T10:45:30.000Z | 2021-07-04T10:45:30.000Z | # Init
| 4 | 7 | 0.5 | 1 | 8 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 8 | 1 | 8 | 8 | 0.8 | 0.5 | 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 |
076f34f1db98255000ac1f3e917de83904fcc282 | 3,254 | py | Python | curve_pg.py | Templarrr/hearthtools | 6e13611c6f76e198c00802afadb6e360fa42d6ef | [
"CC0-1.0"
] | 1 | 2015-11-10T20:14:36.000Z | 2015-11-10T20:14:36.000Z | curve_pg.py | Templarrr/hearthtools | 6e13611c6f76e198c00802afadb6e360fa42d6ef | [
"CC0-1.0"
] | null | null | null | curve_pg.py | Templarrr/hearthtools | 6e13611c6f76e198c00802afadb6e360fa42d6ef | [
"CC0-1.0"
] | 1 | 2020-11-05T11:06:37.000Z | 2020-11-05T11:06:37.000Z | import json
import random
from perfect_curve_monte_carlo import ManaCurve, ImitateGame
cached_file = 'mana_curves_json'
try:
with open(cached_file, 'r') as f:
mc_results_cache = json.load(f)
best_mana_unspent = min(mc_results_cache.values())
best_mc = mc_results_cache.keys()[mc_results_cach... | 42.25974 | 107 | 0.657345 | 750 | 3,254 | 2.762667 | 0.169333 | 0.153958 | 0.209942 | 0.251931 | 0.460907 | 0.392857 | 0.328185 | 0.201255 | 0.128861 | 0.051158 | 0 | 0.204563 | 0.191764 | 3,254 | 77 | 108 | 42.25974 | 0.58327 | 0.543639 | 0 | 0.108108 | 0 | 0 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.081081 | null | null | 0.081081 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
07785d069e42bc7cf23f5c347e79e74622d996fb | 899 | py | Python | src/score.py | akshayelangovan/fuzzy_template_akshay | b4e13741f18a2acad5b998d7487c992feec303fd | [
"MIT"
] | 1 | 2022-02-22T23:54:34.000Z | 2022-02-22T23:54:34.000Z | src/score.py | akshayelangovan/fuzzy_template_akshay | b4e13741f18a2acad5b998d7487c992feec303fd | [
"MIT"
] | null | null | null | src/score.py | akshayelangovan/fuzzy_template_akshay | b4e13741f18a2acad5b998d7487c992feec303fd | [
"MIT"
] | null | null | null | from fuzzy_asteroids.util import Score
from fuzzy_asteroids.game import AsteroidGame
class SampleScore(Score):
"""
Sample of how to modify the Score class
"""
def __init__(self):
"""
Define constructor
"""
# TODO add your own attributes/properties to this claass
... | 27.242424 | 85 | 0.648498 | 99 | 899 | 5.767677 | 0.535354 | 0.161121 | 0.063047 | 0.115587 | 0.406305 | 0.406305 | 0.227671 | 0.227671 | 0.227671 | 0.227671 | 0 | 0 | 0.286986 | 899 | 32 | 86 | 28.09375 | 0.890796 | 0.472748 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 1 | 0.333333 | false | 0.222222 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
079157a8c2e7675b8c20e7fe32c935bbf42bee57 | 101 | py | Python | flambe/cluster/utils.py | ethan-asapp/flambe | 70257167058c7b82ee39f74167a6161bd264ad18 | [
"MIT"
] | 148 | 2019-08-29T21:19:03.000Z | 2022-03-18T06:13:53.000Z | flambe/cluster/utils.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | 108 | 2019-09-03T14:36:10.000Z | 2020-05-13T15:53:14.000Z | flambe/cluster/utils.py | cle-ros/flambe | 0dc2f5b2b286694defe8abf450fe5be9ae12c097 | [
"MIT"
] | 21 | 2019-09-08T14:09:45.000Z | 2020-12-27T04:12:33.000Z | from collections import namedtuple
RemoteCommand = namedtuple('RemoteCommand', ['success', 'msg'])
| 20.2 | 63 | 0.762376 | 9 | 101 | 8.555556 | 0.777778 | 0.597403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 4 | 64 | 25.25 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0.227723 | 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 |
07a8b2778231d9db56bfa96782ae5093eb797b1d | 36 | py | Python | dataLoader/constants.py | perazim-io/layout-bot | b01c440aa4ecd266e65596a1bd4cc7fcb722f715 | [
"MIT"
] | null | null | null | dataLoader/constants.py | perazim-io/layout-bot | b01c440aa4ecd266e65596a1bd4cc7fcb722f715 | [
"MIT"
] | null | null | null | dataLoader/constants.py | perazim-io/layout-bot | b01c440aa4ecd266e65596a1bd4cc7fcb722f715 | [
"MIT"
] | null | null | null | screenWidth = 1080
screenHeight=1920 | 18 | 18 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0.083333 | 36 | 2 | 19 | 18 | 0.69697 | 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 |
07ca87a284cd8b935f791e6a5d0109045936f1cb | 1,001 | py | Python | polymorphism_duck_typing/lab/image_area.py | Minkov/python-oop-2021-02 | bd387dde165f4338eed66c4bc0b4b516ee085340 | [
"MIT"
] | 2 | 2021-02-22T22:55:31.000Z | 2021-04-05T18:25:10.000Z | polymorphism_duck_typing/lab/image_area.py | Minkov/python-oop-2021-02 | bd387dde165f4338eed66c4bc0b4b516ee085340 | [
"MIT"
] | null | null | null | polymorphism_duck_typing/lab/image_area.py | Minkov/python-oop-2021-02 | bd387dde165f4338eed66c4bc0b4b516ee085340 | [
"MIT"
] | 2 | 2021-04-05T18:35:11.000Z | 2021-04-08T12:18:19.000Z | class ImageArea:
def __init__(self, width, height):
self.width = width
self.height = height
def get_area(self):
return self.width * self.height
def __eq__(self, other):
return self.get_area() == other.get_area()
def __ne__(self, other):
return self.get_area() !... | 23.833333 | 50 | 0.612388 | 135 | 1,001 | 4.177778 | 0.222222 | 0.161348 | 0.159574 | 0.202128 | 0.52305 | 0.52305 | 0.52305 | 0.52305 | 0.430851 | 0.363475 | 0 | 0.031873 | 0.247752 | 1,001 | 41 | 51 | 24.414634 | 0.717131 | 0.03996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.233333 | 0.6 | 0.2 | 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 |
07daa757de1ee8eee0049602aa4f5133636b9ecb | 89 | py | Python | threads/apps.py | akiyoss-git/MineLearningMirror | bf183738f6a95e6717f7b22081628279f9d6f20b | [
"MIT"
] | 250 | 2018-05-09T06:46:08.000Z | 2022-03-08T09:37:58.000Z | threads/apps.py | akiyoss-git/MineLearningMirror | bf183738f6a95e6717f7b22081628279f9d6f20b | [
"MIT"
] | 14 | 2019-05-28T06:32:23.000Z | 2022-03-11T23:20:37.000Z | threads/apps.py | akiyoss-git/MineLearningMirror | bf183738f6a95e6717f7b22081628279f9d6f20b | [
"MIT"
] | 78 | 2018-07-29T07:44:42.000Z | 2022-03-02T11:04:48.000Z | from django.apps import AppConfig
class ThreadsConfig(AppConfig):
name = 'threads'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
07effbf459c1404294f9771e491288c6a59a4a4c | 285 | py | Python | absynthe/cfg/__init__.py | chaturv3di/absynthe | e2dcc97747ca6f17c4d39ae2cf16808751742d03 | [
"Apache-2.0"
] | 6 | 2019-06-17T16:16:24.000Z | 2019-10-18T11:20:51.000Z | absynthe/cfg/__init__.py | chaturv3di/absynthe | e2dcc97747ca6f17c4d39ae2cf16808751742d03 | [
"Apache-2.0"
] | null | null | null | absynthe/cfg/__init__.py | chaturv3di/absynthe | e2dcc97747ca6f17c4d39ae2cf16808751742d03 | [
"Apache-2.0"
] | 1 | 2019-09-15T12:02:29.000Z | 2019-09-15T12:02:29.000Z | from __future__ import absolute_import
from .node import Node, UniformNode, BinomialNode
from .logger_node import LoggerNode, SimpleLoggerNode
from .graph import Graph
__all__ = ["Node", "UniformNode", "BinomialNode",
"LoggerNode", "SimpleLoggerNode",
"Graph"]
| 28.5 | 53 | 0.729825 | 28 | 285 | 7.071429 | 0.428571 | 0.10101 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178947 | 285 | 9 | 54 | 31.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.203509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed0dfd34ec3bfca4fa03f38d12d214660da5ad29 | 63 | py | Python | core/arxiv/submission/services/classic/tests/test_store_annotations.py | NeolithEra/arxiv-submission-core | d4f20be62a882d2d5f3d1584eda69e7d90ca2c12 | [
"MIT"
] | 14 | 2019-05-26T22:52:17.000Z | 2021-11-05T12:26:46.000Z | core/arxiv/submission/services/classic/tests/test_store_annotations.py | NeolithEra/arxiv-submission-core | d4f20be62a882d2d5f3d1584eda69e7d90ca2c12 | [
"MIT"
] | 30 | 2018-01-31T19:16:08.000Z | 2018-12-08T08:41:04.000Z | core/arxiv/submission/services/classic/tests/test_store_annotations.py | NeolithEra/arxiv-submission-core | d4f20be62a882d2d5f3d1584eda69e7d90ca2c12 | [
"MIT"
] | 8 | 2019-01-10T22:01:39.000Z | 2021-11-20T21:44:51.000Z | """Test persistence of annotations in the classic database."""
| 31.5 | 62 | 0.761905 | 8 | 63 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 1 | 63 | 63 | 0.872727 | 0.888889 | 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 |
ed33f97291796a9d9583163462b39ada06e5428b | 10,532 | py | Python | tests/test_backend_six_graph.py | 166MMX/hiro-python-library | fb29e3247a8fe1b0f7dc4e68141cf7340a8dd0a5 | [
"MIT"
] | null | null | null | tests/test_backend_six_graph.py | 166MMX/hiro-python-library | fb29e3247a8fe1b0f7dc4e68141cf7340a8dd0a5 | [
"MIT"
] | null | null | null | tests/test_backend_six_graph.py | 166MMX/hiro-python-library | fb29e3247a8fe1b0f7dc4e68141cf7340a8dd0a5 | [
"MIT"
] | null | null | null | from types import MappingProxyType
from typing import Generator, Optional, Type
from uuid import uuid4
import pytest
from arago.hiro.client.client import HiroClient
from arago.hiro.model.graph.attribute import FreeAttribute, SystemAttribute, FinalAttribute
from arago.hiro.model.graph.edge import Edge
from arago.hiro.... | 39.593985 | 120 | 0.682491 | 1,166 | 10,532 | 5.993997 | 0.09434 | 0.066104 | 0.046502 | 0.054371 | 0.784948 | 0.731864 | 0.714981 | 0.678495 | 0.66018 | 0.638146 | 0 | 0.006843 | 0.223035 | 10,532 | 265 | 121 | 39.743396 | 0.847244 | 0.003228 | 0 | 0.559829 | 0 | 0 | 0.031345 | 0.018293 | 0 | 0 | 0 | 0 | 0.106838 | 1 | 0.08547 | false | 0.081197 | 0.132479 | 0.004274 | 0.252137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ed798aed54e01d84a8645c2c45e49553ec075ca0 | 192 | py | Python | main/management/commands/uploadcleanup.py | kristianmk/tator | 0eb75ee9333316b06f773de2b75e8e797a98ffdb | [
"MIT"
] | 50 | 2019-09-18T14:32:18.000Z | 2022-03-31T16:26:07.000Z | main/management/commands/uploadcleanup.py | kristianmk/tator | 0eb75ee9333316b06f773de2b75e8e797a98ffdb | [
"MIT"
] | 566 | 2019-09-18T16:33:40.000Z | 2022-03-31T20:01:38.000Z | main/management/commands/uploadcleanup.py | kristianmk/tator | 0eb75ee9333316b06f773de2b75e8e797a98ffdb | [
"MIT"
] | 19 | 2019-09-21T20:08:12.000Z | 2022-03-17T14:53:11.000Z | from django.core.management.base import BaseCommand
from main.util import cleanup_object_uploads
class Command(BaseCommand):
def handle(self, **options):
cleanup_object_uploads()
| 27.428571 | 51 | 0.78125 | 24 | 192 | 6.083333 | 0.75 | 0.178082 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 192 | 6 | 52 | 32 | 0.884848 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed7a38f14feb45876e8d2fc53b967044ac058fc2 | 252 | py | Python | models/model_abc.py | zmcx16/stock-forecast | c4ffcbc4215e135776fbb4d5ff384b069b7e631c | [
"MIT"
] | 3 | 2021-11-27T13:21:11.000Z | 2021-11-28T07:57:27.000Z | models/model_abc.py | zmcx16/stock-forecast | c4ffcbc4215e135776fbb4d5ff384b069b7e631c | [
"MIT"
] | null | null | null | models/model_abc.py | zmcx16/stock-forecast | c4ffcbc4215e135776fbb4d5ff384b069b7e631c | [
"MIT"
] | 3 | 2021-11-26T17:39:52.000Z | 2022-03-22T20:52:21.000Z | import abc
class Model(abc.ABC):
@abc.abstractmethod
def run_validate(self, data):
print(data)
return NotImplemented
@abc.abstractmethod
def run_predict(self, data):
print(data)
return NotImplemented
| 16.8 | 33 | 0.642857 | 28 | 252 | 5.714286 | 0.5 | 0.075 | 0.25 | 0.2875 | 0.4625 | 0.4625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 252 | 14 | 34 | 18 | 0.879121 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0 | 0.6 | 0.2 | 1 | 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 | 0 | 1 | 0 | 0 | 4 |
ed885666106e0e31922f343b0cc4ba3d6bde8173 | 827 | py | Python | data_importer/importers/__init__.py | zhangchn/data-importer | faef624a19f97c76a157d8350bb05b819f1cb9f2 | [
"BSD-2-Clause-FreeBSD"
] | 62 | 2015-01-27T09:29:00.000Z | 2021-02-28T09:56:11.000Z | data_importer/importers/__init__.py | zhangchn/data-importer | faef624a19f97c76a157d8350bb05b819f1cb9f2 | [
"BSD-2-Clause-FreeBSD"
] | 40 | 2015-01-16T11:57:17.000Z | 2022-03-13T14:13:00.000Z | data_importer/importers/__init__.py | zhangchn/data-importer | faef624a19f97c76a157d8350bb05b819f1cb9f2 | [
"BSD-2-Clause-FreeBSD"
] | 34 | 2015-01-27T15:06:56.000Z | 2021-02-28T09:56:14.000Z | # encoding: utf-8
from data_importer.importers.base import BaseImporter
from data_importer.importers.csv_importer import CSVImporter
from data_importer.importers.xls_importer import XLSImporter
from data_importer.importers.xlsx_importer import XLSXImporter
from data_importer.importers.xml_importer import XMLImporter
fr... | 33.08 | 62 | 0.813785 | 88 | 827 | 7.443182 | 0.306818 | 0.122137 | 0.244275 | 0.229008 | 0.219847 | 0.219847 | 0 | 0 | 0 | 0 | 0 | 0.001372 | 0.118501 | 827 | 24 | 63 | 34.458333 | 0.897119 | 0.018138 | 0 | 0 | 0 | 0 | 0.15679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.772727 | 0 | 0.772727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
71eb391b86d48766f6ee823eba37e5d27e46cd63 | 370 | py | Python | accelbyte_py_sdk/api/platform/operations/currency/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/platform/operations/currency/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/platform/operations/currency/__init__.py | encyphered/accelbyte-python-sdk | 09c1e989d7251de308150fdcd3119d662ca2d205 | [
"MIT"
] | null | null | null | # pylint: disable=line-too-long
from .list_currencies import ListCurrencies
from .create_currency import CreateCurrency
from .get_currency_summary import GetCurrencySummary
from .update_currency import UpdateCurrency
from .delete_currency import DeleteCurrency
from .get_currency_config import GetCurrencyConfig
from .p... | 37 | 56 | 0.881081 | 43 | 370 | 7.348837 | 0.55814 | 0.132911 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086486 | 370 | 9 | 57 | 41.111111 | 0.934911 | 0.078378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9c086d4bf9b3fd5227953cbe2e9dbda7f0425383 | 305 | py | Python | rpiRobot/src/cortex/domain/iItemChooser.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | rpiRobot/src/cortex/domain/iItemChooser.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | rpiRobot/src/cortex/domain/iItemChooser.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | from abc import ABC, abstractmethod
from typing import List
from cortex.domain.objective.item import Item
from cortex.domain.objective.objective import Objective
class IItemChooser(ABC):
@abstractmethod
def choose_from(self, objective: Objective, items: List[Item]) -> List[Item]:
pass
| 25.416667 | 81 | 0.763934 | 39 | 305 | 5.948718 | 0.435897 | 0.146552 | 0.137931 | 0.215517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157377 | 305 | 11 | 82 | 27.727273 | 0.902724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.5 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
9c1f095049bf8491264048877b1d7c95a42ab65d | 198 | py | Python | contracts/apps.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 3 | 2020-10-13T07:58:48.000Z | 2020-12-22T09:41:50.000Z | contracts/apps.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 422 | 2018-10-25T10:57:05.000Z | 2022-03-30T05:47:14.000Z | contracts/apps.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 1 | 2020-04-03T07:38:03.000Z | 2020-04-03T07:38:03.000Z | from django.apps import AppConfig
class ContractsConfig(AppConfig):
name = "contracts"
def ready(self):
from .services import load_services_config
load_services_config()
| 18 | 50 | 0.712121 | 22 | 198 | 6.227273 | 0.681818 | 0.175182 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 198 | 10 | 51 | 19.8 | 0.88961 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9c498bb43e411bf876af0c313338346a395c7824 | 8,576 | py | Python | nimbleclient/v1/api/protection_schedules.py | prachiruparelia-hpe/nimble-python-sdk | a3e99d89e647291caf7936300ae853d21d94d6e5 | [
"Apache-2.0"
] | 1 | 2020-05-28T19:48:59.000Z | 2020-05-28T19:48:59.000Z | nimbleclient/v1/api/protection_schedules.py | prachiruparelia-hpe/nimble-python-sdk | a3e99d89e647291caf7936300ae853d21d94d6e5 | [
"Apache-2.0"
] | null | null | null | nimbleclient/v1/api/protection_schedules.py | prachiruparelia-hpe/nimble-python-sdk | a3e99d89e647291caf7936300ae853d21d94d6e5 | [
"Apache-2.0"
] | null | null | null | #
# © Copyright 2020 Hewlett Packard Enterprise Development LP
#
# This file was auto-generated by the Python SDK generator; DO NOT EDIT.
#
from ...resource import Resource, Collection
class ProtectionSchedule(Resource):
"""Manage protection schedules used in protection templates.
# Parameters
id ... | 102.095238 | 179 | 0.677239 | 1,074 | 8,576 | 5.333333 | 0.273743 | 0.02514 | 0.015887 | 0.025663 | 0.255412 | 0.202514 | 0.14176 | 0.103003 | 0.075419 | 0.048534 | 0 | 0.002002 | 0.301189 | 8,576 | 83 | 180 | 103.325301 | 0.953613 | 0.943214 | 0 | 0 | 1 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9c8067e05bcd9d9b23fcb289f2d044e2ab28a2a7 | 223 | py | Python | ceilometer/compute/server_pollsters/__init__.py | VeinFu/ceilometer_ha | fb0d3834d4db8a9eaeb8f5da088a2894c615770f | [
"Apache-2.0"
] | null | null | null | ceilometer/compute/server_pollsters/__init__.py | VeinFu/ceilometer_ha | fb0d3834d4db8a9eaeb8f5da088a2894c615770f | [
"Apache-2.0"
] | null | null | null | ceilometer/compute/server_pollsters/__init__.py | VeinFu/ceilometer_ha | fb0d3834d4db8a9eaeb8f5da088a2894c615770f | [
"Apache-2.0"
] | null | null | null | import abc
import six
from ceilometer.agent import plugin_base
@six.add_metaclass(abc.ABCMeta)
class ServerPollster(plugin_base.PollsterBase):
@property
def default_discovery(self):
return 'local_node'
| 15.928571 | 47 | 0.762332 | 28 | 223 | 5.892857 | 0.785714 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165919 | 223 | 13 | 48 | 17.153846 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0.044843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
92df3e8bfe9e4e097632a94c19899a4061dee94a | 25 | py | Python | resolwe_bio/kb/management/__init__.py | gregorjerse/resolwe-bio | 80f1e354cf0014a1eeff00acc112c622a2a044a9 | [
"Apache-2.0"
] | 12 | 2015-12-07T18:29:27.000Z | 2022-03-16T08:00:18.000Z | resolwe_bio/kb/management/__init__.py | gregorjerse/resolwe-bio | 80f1e354cf0014a1eeff00acc112c622a2a044a9 | [
"Apache-2.0"
] | 480 | 2015-11-20T21:46:43.000Z | 2022-03-28T12:40:57.000Z | resolwe_bio/kb/management/__init__.py | gregorjerse/resolwe-bio | 80f1e354cf0014a1eeff00acc112c622a2a044a9 | [
"Apache-2.0"
] | 45 | 2015-11-19T14:54:07.000Z | 2022-02-13T21:36:50.000Z | """Management module."""
| 12.5 | 24 | 0.64 | 2 | 25 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 25 | 1 | 25 | 25 | 0.695652 | 0.72 | 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 |
92f34e945a88648920cc266868cb926485ba4001 | 71 | py | Python | boa/interop/Ontology/Native.py | JasonZhouPW/neo-boa | 84f4309c1876bd796b22a720b680d982b328c357 | [
"MIT"
] | null | null | null | boa/interop/Ontology/Native.py | JasonZhouPW/neo-boa | 84f4309c1876bd796b22a720b680d982b328c357 | [
"MIT"
] | null | null | null | boa/interop/Ontology/Native.py | JasonZhouPW/neo-boa | 84f4309c1876bd796b22a720b680d982b328c357 | [
"MIT"
] | null | null | null | def Invoke(param,method,contractAddress,ver):
"""
"""
pass | 14.2 | 45 | 0.591549 | 7 | 71 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 71 | 5 | 46 | 14.2 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1305c86bf3cab5001f7c50323d32759e3a5bcf5d | 81 | py | Python | CSV/apps.py | jzadeh/chiron | 493bf4e17f9970ee6118cc2ea6f1d87fb95ef26b | [
"Apache-2.0"
] | 15 | 2017-08-08T10:19:47.000Z | 2022-01-20T09:48:25.000Z | CSV/apps.py | jzadeh/chiron | 493bf4e17f9970ee6118cc2ea6f1d87fb95ef26b | [
"Apache-2.0"
] | null | null | null | CSV/apps.py | jzadeh/chiron | 493bf4e17f9970ee6118cc2ea6f1d87fb95ef26b | [
"Apache-2.0"
] | 2 | 2019-12-11T20:14:27.000Z | 2022-02-26T13:18:32.000Z | from django.apps import AppConfig
class CsvConfig(AppConfig):
name = 'CSV'
| 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 |
1312cac7c6d02a4e26d8eb7392c2c9d0d2b8a81c | 103 | py | Python | stac_exceptions.py | vincentsarago/stac-validator | 2bc527cdf5b05bab499100e88254a3bdd3d65fe1 | [
"Apache-2.0"
] | null | null | null | stac_exceptions.py | vincentsarago/stac-validator | 2bc527cdf5b05bab499100e88254a3bdd3d65fe1 | [
"Apache-2.0"
] | null | null | null | stac_exceptions.py | vincentsarago/stac-validator | 2bc527cdf5b05bab499100e88254a3bdd3d65fe1 | [
"Apache-2.0"
] | null | null | null | """
Description: Exceptions for the STAC Validator.
"""
class VersionException(Exception):
pass
| 11.444444 | 47 | 0.718447 | 10 | 103 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 103 | 8 | 48 | 12.875 | 0.870588 | 0.456311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
131f6f2da3f2c69cf8ca88de131984155cc0cfa4 | 185 | py | Python | accounts/forms.py | iidamakinen/OHSIHA2018 | 76c4f2d754045cc82d57062453e7248d63e5bf4d | [
"MIT"
] | null | null | null | accounts/forms.py | iidamakinen/OHSIHA2018 | 76c4f2d754045cc82d57062453e7248d63e5bf4d | [
"MIT"
] | null | null | null | accounts/forms.py | iidamakinen/OHSIHA2018 | 76c4f2d754045cc82d57062453e7248d63e5bf4d | [
"MIT"
] | null | null | null | from django import forms
from .models import Tapahtuma
class TapahtumaForm(forms.ModelForm):
class Meta:
model = Tapahtuma
fields = ['name', 'description', 'date']
| 23.125 | 48 | 0.681081 | 20 | 185 | 6.3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221622 | 185 | 7 | 49 | 26.428571 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.102703 | 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 |
13277a1b3a4ae43c4f559219f3cf4b39a83b23db | 241 | py | Python | iexfinance/apidata/__init__.py | jto-d/iexfinance | 8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4 | [
"Apache-2.0"
] | 653 | 2018-01-02T21:03:49.000Z | 2022-03-24T06:37:10.000Z | iexfinance/apidata/__init__.py | jto-d/iexfinance | 8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4 | [
"Apache-2.0"
] | 219 | 2017-12-09T21:44:43.000Z | 2022-03-23T20:21:46.000Z | iexfinance/apidata/__init__.py | jto-d/iexfinance | 8bf958f269638b6f8d2dbdd857c0ef2ba324cdd4 | [
"Apache-2.0"
] | 155 | 2018-02-07T17:08:18.000Z | 2022-03-13T23:36:57.000Z | from iexfinance.apidata.base import APIReader
def get_api_status(**kwargs):
"""
IEX Cloud API status
Reference: https://iexcloud.io/docs/api/#status
Data Weighting: ``Free``
"""
return APIReader(**kwargs).fetch()
| 18.538462 | 51 | 0.6639 | 29 | 241 | 5.448276 | 0.793103 | 0.170886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195021 | 241 | 12 | 52 | 20.083333 | 0.814433 | 0.394191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
13371afc97c339e0b6234da0975d033dca6367d5 | 183 | py | Python | Lab2/Lab2/models/delmodel.py | sanchaez/python_labs | b90ab02c0fae82511c3db5a054b7ea8dda5d0a22 | [
"MIT"
] | null | null | null | Lab2/Lab2/models/delmodel.py | sanchaez/python_labs | b90ab02c0fae82511c3db5a054b7ea8dda5d0a22 | [
"MIT"
] | null | null | null | Lab2/Lab2/models/delmodel.py | sanchaez/python_labs | b90ab02c0fae82511c3db5a054b7ea8dda5d0a22 | [
"MIT"
] | null | null | null | from lab2 import db as DataBase
def delete(table, id):
DataBase.delete(DataBase.escapeBySymbol(table, "`"), where = 'WHERE `id` = ' + DataBase.escapeBySymbol(id, "'"))
return 1 | 36.6 | 114 | 0.688525 | 23 | 183 | 5.478261 | 0.608696 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012903 | 0.153005 | 183 | 5 | 115 | 36.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 4 |
138eb354451a65835f63fadf4e9bfac58f0c50c5 | 270 | py | Python | students/k3342/laboratory_works/Shipitcyna_Daria/laboratary_work_1/hotels_django/hotels_app/admin.py | shipa99/ITMO_ICT_WebProgramming_2020 | 86b6b1faa606fd3487193e426830daffd70e801c | [
"MIT"
] | null | null | null | students/k3342/laboratory_works/Shipitcyna_Daria/laboratary_work_1/hotels_django/hotels_app/admin.py | shipa99/ITMO_ICT_WebProgramming_2020 | 86b6b1faa606fd3487193e426830daffd70e801c | [
"MIT"
] | null | null | null | students/k3342/laboratory_works/Shipitcyna_Daria/laboratary_work_1/hotels_django/hotels_app/admin.py | shipa99/ITMO_ICT_WebProgramming_2020 | 86b6b1faa606fd3487193e426830daffd70e801c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Facilities
from .models import Room_types
from .models import Hotel
from .models import Comment
admin.site.register(Facilities)
admin.site.register(Room_types)
admin.site.register(Hotel)
admin.site.register(Comment)
| 24.545455 | 32 | 0.82963 | 39 | 270 | 5.692308 | 0.333333 | 0.18018 | 0.288288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 270 | 10 | 33 | 27 | 0.906122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1395f94bbf093bda189114b31e44869460210116 | 1,340 | gyp | Python | third_party/jsoncpp/jsoncpp.gyp | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | third_party/jsoncpp/jsoncpp.gyp | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | third_party/jsoncpp/jsoncpp.gyp | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'jsoncpp',
'type': 'static_library',
'defines': [
'JSON_USE_EXCEPTION=0',
],
... | 27.346939 | 72 | 0.58806 | 158 | 1,340 | 4.867089 | 0.468354 | 0.169051 | 0.176853 | 0.163849 | 0.218466 | 0.218466 | 0 | 0 | 0 | 0 | 0 | 0.008048 | 0.258209 | 1,340 | 48 | 73 | 27.916667 | 0.765594 | 0.191791 | 0 | 0.289474 | 0 | 0 | 0.608007 | 0.433892 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.