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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0413317d3aa9c673bd816374474dd7a42ced2083 | 1,008 | py | Python | tests/xsf_checker/test_init.py | giumas/xsf-checker | 783e0a06d14b2a4e5e50fc8137e47554f6cdd9ea | [
"Apache-2.0"
] | null | null | null | tests/xsf_checker/test_init.py | giumas/xsf-checker | 783e0a06d14b2a4e5e50fc8137e47554f6cdd9ea | [
"Apache-2.0"
] | null | null | null | tests/xsf_checker/test_init.py | giumas/xsf-checker | 783e0a06d14b2a4e5e50fc8137e47554f6cdd9ea | [
"Apache-2.0"
] | null | null | null | import unittest
class TestXsfCheckerInit(unittest.TestCase):
def test_has_version(self):
from xsf_checker import __version__
self.assertIsNot(len(__version__), 0)
def test_is_version_more_than_1(self):
from xsf_checker import __version__
self.assertGreaterEqual(int(__version_... | 28.8 | 79 | 0.709325 | 119 | 1,008 | 5.403361 | 0.327731 | 0.065319 | 0.102644 | 0.167963 | 0.345257 | 0.345257 | 0.345257 | 0.130638 | 0 | 0 | 0 | 0.008696 | 0.201389 | 1,008 | 34 | 80 | 29.647059 | 0.790062 | 0 | 0 | 0.25 | 0 | 0 | 0.007937 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.291667 | false | 0 | 0.291667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
041975a2b2421b9ad8dbfb07e33e8b6526cd25c3 | 166 | py | Python | utils.py | didithilmy/public-key-registry | d910a1c72889ca1fc671f4f2258eca5a46f58819 | [
"MIT"
] | null | null | null | utils.py | didithilmy/public-key-registry | d910a1c72889ca1fc671f4f2258eca5a46f58819 | [
"MIT"
] | null | null | null | utils.py | didithilmy/public-key-registry | d910a1c72889ca1fc671f4f2258eca5a46f58819 | [
"MIT"
] | null | null | null | def insert_newlines(string, every=64):
lines = []
for i in range(0, len(string), every):
lines.append(string[i:i+every])
return '\r\n'.join(lines) | 33.2 | 42 | 0.620482 | 26 | 166 | 3.923077 | 0.692308 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.204819 | 166 | 5 | 43 | 33.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0425440c1d6aa7f197ea8818dfa8da17e2ac4ea6 | 131,205 | py | Python | pygfunction/gfunction.py | j-c-cook/pygfunction | 73cb9292fc39a068bd3d4ebe66b07ec9c8903c8d | [
"BSD-3-Clause"
] | null | null | null | pygfunction/gfunction.py | j-c-cook/pygfunction | 73cb9292fc39a068bd3d4ebe66b07ec9c8903c8d | [
"BSD-3-Clause"
] | 2 | 2021-04-10T05:17:18.000Z | 2021-08-10T22:08:54.000Z | pygfunction/gfunction.py | j-c-cook/pygfunction | 73cb9292fc39a068bd3d4ebe66b07ec9c8903c8d | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import time as tim
import matplotlib.pyplot as plt
import numpy as np
from scipy.cluster.hierarchy import cut_tree, dendrogram, linkage
from scipy.constants import pi
from scipy.interpolate import interp1d as interp1d
from .boreholes import Borehole, _EquivalentBorehole, find_duplicates
from .... | 41.533713 | 153 | 0.572219 | 15,652 | 131,205 | 4.715436 | 0.052389 | 0.006639 | 0.014633 | 0.009972 | 0.769395 | 0.730754 | 0.700986 | 0.683318 | 0.664756 | 0.651438 | 0 | 0.022242 | 0.337624 | 131,205 | 3,158 | 154 | 41.546865 | 0.82701 | 0.470561 | 0 | 0.560708 | 0 | 0 | 0.063017 | 0.000424 | 0 | 0 | 0 | 0 | 0.029511 | 1 | 0.043845 | false | 0.000843 | 0.008432 | 0 | 0.099494 | 0.015177 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04558d464c074c3460d17750ea36a3a6847e1096 | 1,563 | py | Python | pylambdac/parse.py | ciphergoth/pylambdac | aca951efee9dc2720b3da7ba3cee35a31196abec | [
"Apache-2.0"
] | 10 | 2019-05-22T16:50:47.000Z | 2022-02-28T03:25:44.000Z | pylambdac/parse.py | ciphergoth/pylambdac | aca951efee9dc2720b3da7ba3cee35a31196abec | [
"Apache-2.0"
] | 34 | 2021-10-07T22:55:23.000Z | 2021-12-06T00:48:55.000Z | pylambdac/parse.py | ciphergoth/pylambdac | aca951efee9dc2720b3da7ba3cee35a31196abec | [
"Apache-2.0"
] | 1 | 2021-10-18T23:33:44.000Z | 2021-10-18T23:33:44.000Z | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 30.647059 | 74 | 0.698656 | 224 | 1,563 | 4.839286 | 0.459821 | 0.055351 | 0.023985 | 0.02952 | 0.04797 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.196417 | 1,563 | 50 | 75 | 31.26 | 0.856688 | 0.350608 | 0 | 0.074074 | 0 | 0 | 0.050949 | 0.021978 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.148148 | 0.592593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0458bb98c9594350278ad10076c4d82ebff9630c | 207 | py | Python | src/hijri_converter/__init__.py | mhalshehri/hijri-converter | e693b9573e80160d814e90b311f42cfcada7d59f | [
"MIT"
] | 2 | 2022-02-24T16:12:37.000Z | 2022-03-06T22:40:07.000Z | src/hijri_converter/__init__.py | mhalshehri/hijri-converter | e693b9573e80160d814e90b311f42cfcada7d59f | [
"MIT"
] | 1 | 2022-02-12T14:34:04.000Z | 2022-02-20T18:46:36.000Z | src/hijri_converter/__init__.py | mhalshehri/hijri-converter | e693b9573e80160d814e90b311f42cfcada7d59f | [
"MIT"
] | 1 | 2022-03-15T14:59:13.000Z | 2022-03-15T14:59:13.000Z | """Accurate Hijri-Gregorian dates converter based on the Umm al-Qura calendar.
https://github.com/mhalshehri/hijri-converter
"""
__version__ = "2.2.4"
from hijri_converter.convert import Gregorian, Hijri
| 23 | 78 | 0.777778 | 29 | 207 | 5.37931 | 0.758621 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016304 | 0.111111 | 207 | 8 | 79 | 25.875 | 0.831522 | 0.589372 | 0 | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f0aec0ed7808ebd736de59b08dc3934f60b55e0d | 215 | py | Python | data/admin.py | jgasteiz/home-consumption-dashboard | d85dc967da66db8d9f2ec5d09bb6f14f0ca9f953 | [
"MIT"
] | 2 | 2020-08-31T16:22:23.000Z | 2021-09-21T16:08:17.000Z | data/admin.py | jgasteiz/home-consumption-dashboard | d85dc967da66db8d9f2ec5d09bb6f14f0ca9f953 | [
"MIT"
] | 4 | 2020-04-05T08:58:47.000Z | 2021-11-24T14:32:59.000Z | data/admin.py | jgasteiz/home-consumption-dashboard | d85dc967da66db8d9f2ec5d09bb6f14f0ca9f953 | [
"MIT"
] | 1 | 2021-11-24T14:33:10.000Z | 2021-11-24T14:33:10.000Z | from django.contrib import admin
from . import models
@admin.register(models.ElectricityConsumption)
class ConsumptionAdmin(admin.ModelAdmin):
list_display = ("consumption", "interval_start", "interval_end")
| 23.888889 | 68 | 0.790698 | 23 | 215 | 7.26087 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106977 | 215 | 8 | 69 | 26.875 | 0.869792 | 0 | 0 | 0 | 0 | 0 | 0.172093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 3 |
f0b97851fe3ed06547e75fe05e3de749688a2d6f | 732 | py | Python | checkov/cloudformation/checks/resource/aws/TransferServerIsPublic.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | checkov/cloudformation/checks/resource/aws/TransferServerIsPublic.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | checkov/cloudformation/checks/resource/aws/TransferServerIsPublic.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | from checkov.common.models.enums import CheckCategories
from checkov.cloudformation.checks.resource.base_resource_value_check import BaseResourceValueCheck
class TransferServerIsPublic(BaseResourceValueCheck):
def __init__(self):
name = "Ensure Transfer Server is not exposed publicly."
id = "CKV_A... | 34.857143 | 106 | 0.748634 | 76 | 732 | 6.921053 | 0.618421 | 0.102662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.163934 | 732 | 20 | 107 | 36.6 | 0.854575 | 0 | 0 | 0 | 0 | 0 | 0.159836 | 0.060109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f0ce528274b5451e5fabaad3d7c79647b41c7eb4 | 244 | py | Python | xlseries/evaluation/evaluation.py | abenassi/xlseries | ac507c732a84f9f692a89894399bf12a933d3687 | [
"BSD-3-Clause"
] | 15 | 2015-03-31T21:17:32.000Z | 2020-07-10T07:55:11.000Z | xlseries/evaluation/evaluation.py | baby636/xlseries | ac507c732a84f9f692a89894399bf12a933d3687 | [
"BSD-3-Clause"
] | 55 | 2015-06-09T17:15:15.000Z | 2018-08-21T18:40:13.000Z | xlseries/evaluation/evaluation.py | baby636/xlseries | ac507c732a84f9f692a89894399bf12a933d3687 | [
"BSD-3-Clause"
] | 5 | 2018-04-10T21:58:00.000Z | 2021-12-01T02:17:43.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
evaluation
TODO: This module has to be implemented. It will be responsible of evaluate
data frames built by the existent strategies and asign a score based on some
metaheruistic criteria.
"""
| 22.181818 | 76 | 0.737705 | 37 | 244 | 4.864865 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 0.168033 | 244 | 10 | 77 | 24.4 | 0.881773 | 0.946721 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.1 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9bdb5a4e19cc35adc7694146f089a9dca692176e | 289 | py | Python | Source/Main.py | Ramadas-Kamat/Music-Genre-Classifier | 038a4962ad6d41852c3fab10a9af5ebaf298b76b | [
"Apache-2.0"
] | null | null | null | Source/Main.py | Ramadas-Kamat/Music-Genre-Classifier | 038a4962ad6d41852c3fab10a9af5ebaf298b76b | [
"Apache-2.0"
] | null | null | null | Source/Main.py | Ramadas-Kamat/Music-Genre-Classifier | 038a4962ad6d41852c3fab10a9af5ebaf298b76b | [
"Apache-2.0"
] | null | null | null | #from Source import Classification
#from Source import CreateDataset
#from Source import TrainModel
import Classification
import CreateDataset
import TrainModel
def main():
CreateDataset.main()
TrainModel.main()
Classification.main()
if __name__ == '__main__':
main()
| 16.055556 | 34 | 0.754325 | 30 | 289 | 7 | 0.333333 | 0.142857 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16955 | 289 | 17 | 35 | 17 | 0.875 | 0.32526 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0 | 0.444444 | 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 | 0 | 0 | 0 | 3 |
501136741a641677570415273cb08d764b6fcc07 | 4,452 | py | Python | ansible/test/units/playbook/test_taggable.py | dyim42/dfw-meetup-20160312 | a99a34e7fce99ba9d57cace2bb32b8a9f974fa9c | [
"BSD-2-Clause"
] | null | null | null | ansible/test/units/playbook/test_taggable.py | dyim42/dfw-meetup-20160312 | a99a34e7fce99ba9d57cace2bb32b8a9f974fa9c | [
"BSD-2-Clause"
] | null | null | null | ansible/test/units/playbook/test_taggable.py | dyim42/dfw-meetup-20160312 | a99a34e7fce99ba9d57cace2bb32b8a9f974fa9c | [
"BSD-2-Clause"
] | null | null | null | # (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) an... | 42.4 | 116 | 0.732929 | 609 | 4,452 | 4.931034 | 0.211823 | 0.058608 | 0.139194 | 0.132867 | 0.680653 | 0.64369 | 0.615718 | 0.599068 | 0.556777 | 0.451881 | 0 | 0.005796 | 0.14735 | 4,452 | 104 | 117 | 42.807692 | 0.7853 | 0.159254 | 0 | 0 | 0 | 0 | 0.063356 | 0 | 0 | 0 | 0 | 0 | 0.403509 | 1 | 0.403509 | false | 0 | 0.070175 | 0 | 0.508772 | 0.017544 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
501fe46b95fa9bcc49758d928e0a083d97eee97a | 601 | py | Python | services/ecp/_registry.py | thegreathippo/calamity | a58a42a7dd828159f5730c9b49aa474bce6ee51a | [
"MIT"
] | null | null | null | services/ecp/_registry.py | thegreathippo/calamity | a58a42a7dd828159f5730c9b49aa474bce6ee51a | [
"MIT"
] | null | null | null | services/ecp/_registry.py | thegreathippo/calamity | a58a42a7dd828159f5730c9b49aa474bce6ee51a | [
"MIT"
] | null | null | null | class BaseProcess(object):
priority = 0
required = {}
def setup(self):
pass
def execute(self, entity):
pass
def teardown(self):
pass
class Registry(object):
def __init__(self):
self.processes = list()
class ProcessType(type):
def __new__(mc... | 21.464286 | 65 | 0.577371 | 64 | 601 | 5.234375 | 0.53125 | 0.116418 | 0.059701 | 0.089552 | 0.143284 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002392 | 0.304493 | 601 | 27 | 66 | 22.259259 | 0.799043 | 0 | 0 | 0.157895 | 0 | 0 | 0.011667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.157895 | 0 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
502d65e8fc686092e0af25688b785b47f10e9162 | 475 | py | Python | main.py | marcoshr/marcoshz.com | 542699d09a1c8ca37ec756dca59aeb40eeb28a60 | [
"MIT"
] | null | null | null | main.py | marcoshr/marcoshz.com | 542699d09a1c8ca37ec756dca59aeb40eeb28a60 | [
"MIT"
] | 1 | 2021-09-06T01:05:34.000Z | 2021-09-06T01:05:34.000Z | main.py | marcoshr/marcoshz.com | 542699d09a1c8ca37ec756dca59aeb40eeb28a60 | [
"MIT"
] | null | null | null | print("--- main.py ---")
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return "<h1>2332Welcome to CodingX</h1>"
# @app.route('/index')
# def index():
# return render_template("index.html")
# @app.route('/prueba1')
# def prueba1():
# return "<h1>Prueba1</h1>"
@ap... | 19 | 42 | 0.663158 | 61 | 475 | 5.032787 | 0.360656 | 0.130293 | 0.19544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040964 | 0.126316 | 475 | 25 | 43 | 19 | 0.698795 | 0.290526 | 0 | 0 | 0 | 0 | 0.26284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.25 | 0.583333 | 0.083333 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
502dea7e59d672374380fa94e089799d42bce173 | 458 | py | Python | PyObjCTest/test_nscolorpicking.py | Khan/pyobjc-framework-Cocoa | f8b015ea2a72d8d78be6084fb12925c4785b8f1f | [
"MIT"
] | 132 | 2015-01-01T10:02:42.000Z | 2022-03-09T12:51:01.000Z | mac/pyobjc-framework-Cocoa/PyObjCTest/test_nscolorpicking.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 6 | 2015-01-06T08:23:19.000Z | 2019-03-14T12:22:06.000Z | mac/pyobjc-framework-Cocoa/PyObjCTest/test_nscolorpicking.py | mba811/music-player | 7998986b34cfda2244ef622adefb839331b81a81 | [
"BSD-2-Clause"
] | 27 | 2015-02-23T11:51:43.000Z | 2022-03-07T02:34:18.000Z | from AppKit import *
from PyObjCTools.TestSupport import *
class TestNSColorPickingHelper (NSObject):
def supportsMode_(self, m):
return 0
def provideNewView_(self, i):
return None
class TestNSColorPicking (TestCase):
def testMethods(self):
self.assertResultIsBOOL(TestNSColorPick... | 24.105263 | 73 | 0.731441 | 41 | 458 | 7.878049 | 0.609756 | 0.099071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005391 | 0.189956 | 458 | 18 | 74 | 25.444444 | 0.865229 | 0 | 0 | 0 | 0 | 0 | 0.017467 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5052d9ae704ccbc2f87d9241b69a1d43d71a0a8c | 125 | py | Python | day5.py | rho2/10DaysOfStatistics | 3b362b94da17e260ec4b20bf48b08613a5ea33e0 | [
"MIT"
] | 1 | 2018-05-20T14:50:22.000Z | 2018-05-20T14:50:22.000Z | day5.py | rho2/10DaysOfStatistics | 3b362b94da17e260ec4b20bf48b08613a5ea33e0 | [
"MIT"
] | null | null | null | day5.py | rho2/10DaysOfStatistics | 3b362b94da17e260ec4b20bf48b08613a5ea33e0 | [
"MIT"
] | null | null | null | import math
x = 5
l = float(input())
k = float(input())
p = ((l**k)*math.exp(-1*l)) / math.factorial(k)
print(round(p,3))
| 12.5 | 47 | 0.576 | 24 | 125 | 3 | 0.625 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.16 | 125 | 9 | 48 | 13.888889 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac9f48a3c56b35f7d5fa1653b8774a9249447937 | 125 | py | Python | python/camhd_motion_analysis/identify_regions.py | CamHD-Analysis/camhd_motion_analysis | 41c38b9de4459e658a3358596e7995aa01f660e7 | [
"MIT"
] | 1 | 2021-01-20T13:45:50.000Z | 2021-01-20T13:45:50.000Z | python/camhd_motion_analysis/identify_regions.py | CamHD-Analysis/camhd_motion_analysis | 41c38b9de4459e658a3358596e7995aa01f660e7 | [
"MIT"
] | 5 | 2018-07-17T19:07:32.000Z | 2018-07-19T19:53:42.000Z | python/camhd_motion_analysis/identify_regions.py | CamHD-Analysis/camhd_motion_analysis | 41c38b9de4459e658a3358596e7995aa01f660e7 | [
"MIT"
] | null | null | null | import json
def load_regions( data_file ):
with open(data_file) as input:
j = json.load(input)
return j
| 11.363636 | 34 | 0.632 | 19 | 125 | 4 | 0.684211 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288 | 125 | 10 | 35 | 12.5 | 0.853933 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
aca86db774ef25ab9d8ff1db5fc1630c8de7cd75 | 127 | py | Python | song_suggester/__init__.py | m-rath/songs | 32f7c5a99c17e87f299dee64990b5467770c56fc | [
"MIT"
] | null | null | null | song_suggester/__init__.py | m-rath/songs | 32f7c5a99c17e87f299dee64990b5467770c56fc | [
"MIT"
] | null | null | null | song_suggester/__init__.py | m-rath/songs | 32f7c5a99c17e87f299dee64990b5467770c56fc | [
"MIT"
] | 2 | 2021-08-25T05:06:24.000Z | 2021-09-24T17:01:10.000Z | '''entry-point for app'''
from .app import create_app
from dotenv import load_dotenv
load_dotenv('.env')
APP = create_app() | 14.111111 | 30 | 0.732283 | 20 | 127 | 4.45 | 0.5 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141732 | 127 | 9 | 31 | 14.111111 | 0.816514 | 0.149606 | 0 | 0 | 0 | 0 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
acbcc9ba3e242bcbc505d516e6c2c62fbd487a19 | 1,468 | py | Python | coopihc/policy/WrapAsPolicy.py | jgori-ouistiti/CoopIHC | 0fe24c618a430517c1394625275faff3ce344f7f | [
"MIT"
] | null | null | null | coopihc/policy/WrapAsPolicy.py | jgori-ouistiti/CoopIHC | 0fe24c618a430517c1394625275faff3ce344f7f | [
"MIT"
] | 52 | 2021-11-23T13:49:50.000Z | 2022-03-15T12:28:18.000Z | coopihc/policy/WrapAsPolicy.py | jgori-ouistiti/CoopIHC | 0fe24c618a430517c1394625275faff3ce344f7f | [
"MIT"
] | 1 | 2022-03-08T11:10:24.000Z | 2022-03-08T11:10:24.000Z | from abc import abstractmethod
from coopihc.policy.BasePolicy import BasePolicy
from abc import ABC, abstractmethod
# ============== General Policies ===============
class WrapAsPolicy(BasePolicy, ABC):
"""WrapAsPolicy
Wrap a bundle as a policy.
:param action_bundle: bundle to wrap
:type action_bun... | 27.185185 | 83 | 0.639646 | 166 | 1,468 | 5.289157 | 0.295181 | 0.079727 | 0.072893 | 0.045558 | 0.068337 | 0.068337 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230926 | 1,468 | 53 | 84 | 27.698113 | 0.777679 | 0.229564 | 0 | 0.068966 | 0 | 0 | 0.019126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0.034483 | 0.103448 | 0.241379 | 0.689655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
accbfb1ce8636806b40d44807878b11b35617ab1 | 235 | py | Python | game/color.py | bpetrikovics/Poing | eb26db8044901b9655a73189a8b376d981718dd8 | [
"MIT"
] | null | null | null | game/color.py | bpetrikovics/Poing | eb26db8044901b9655a73189a8b376d981718dd8 | [
"MIT"
] | null | null | null | game/color.py | bpetrikovics/Poing | eb26db8044901b9655a73189a8b376d981718dd8 | [
"MIT"
] | null | null | null | class Color:
""" Store an RGB color """
def __init__(self, r: int, g: int, b: int):
self.r = r
self.g = g
self.b = b
def __repr__(self):
return f"Color(r={self.r}, g={self.g}, b={self.b})"
| 21.363636 | 59 | 0.489362 | 39 | 235 | 2.74359 | 0.384615 | 0.140187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32766 | 235 | 10 | 60 | 23.5 | 0.677215 | 0.076596 | 0 | 0 | 0 | 0 | 0.196172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
accfe267ba0c0dc1c4454671f495a8012c2ee24d | 355 | py | Python | test/run/t407.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t407.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t407.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | class A(object):
def __init__(self):
self.a = 1
self.b = 2
self.c = 3
class B(A):
def __init__(self):
A.__init__(self)
self.d = 4
class C(B):
def __init__(self):
B.__init__(self)
def __dir__(self):
return ['a','b','c','d']
print dir(A... | 16.136364 | 35 | 0.484507 | 53 | 355 | 2.792453 | 0.301887 | 0.27027 | 0.222973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.346479 | 355 | 21 | 36 | 16.904762 | 0.62069 | 0 | 0 | 0.176471 | 0 | 0 | 0.011299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.176471 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
accfe34ce2674201e08a955ea35c6fddfa97ff69 | 513 | py | Python | Python/libraries/recognizers-number/recognizers_number/number/constants.py | AhmedLeithy/Recognizers-Text | f5426e38a09d3974fc0979b7803a4cd17258ea62 | [
"MIT"
] | 688 | 2019-05-08T02:56:21.000Z | 2022-03-30T07:26:15.000Z | Python/libraries/recognizers-number/recognizers_number/number/constants.py | AhmedLeithy/Recognizers-Text | f5426e38a09d3974fc0979b7803a4cd17258ea62 | [
"MIT"
] | 840 | 2019-05-07T07:00:02.000Z | 2022-03-30T14:52:11.000Z | Python/libraries/recognizers-number/recognizers_number/number/constants.py | AhmedLeithy/Recognizers-Text | f5426e38a09d3974fc0979b7803a4cd17258ea62 | [
"MIT"
] | 283 | 2019-05-07T07:52:12.000Z | 2022-03-27T02:27:58.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
class Constants:
SYS_NUM_CARDINAL: str = 'builtin.num.cardinal'
SYS_NUM_DOUBLE: str = 'builtin.num.double'
SYS_NUM_FRACTION: str = 'builtin.num.fraction'
SYS_NUM_INTEGER: str = 'builtin.num.integer'
SYS_... | 34.2 | 60 | 0.711501 | 70 | 513 | 5 | 0.428571 | 0.12 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007126 | 0.179337 | 513 | 14 | 61 | 36.642857 | 0.824228 | 0.218324 | 0 | 0 | 0 | 0 | 0.340909 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
acf167b17dd7e65e5e762abe3afb06349d4551c3 | 61,642 | py | Python | brian2/tests/test_morphology.py | SimonAltrogge/brian2 | 6463c368a8277041051bf5ae4816f0dd5b6e057c | [
"BSD-2-Clause"
] | 674 | 2015-01-14T11:05:39.000Z | 2022-03-29T04:53:50.000Z | brian2/tests/test_morphology.py | JongwanKim2090/brian2 | c212a57cb992b766786b5769ebb830ff12d8a8ad | [
"BSD-2-Clause"
] | 937 | 2015-01-05T13:24:22.000Z | 2022-03-25T13:10:13.000Z | brian2/tests/test_morphology.py | JongwanKim2090/brian2 | c212a57cb992b766786b5769ebb830ff12d8a8ad | [
"BSD-2-Clause"
] | 237 | 2015-01-05T13:54:16.000Z | 2022-03-15T22:16:32.000Z |
import pytest
from numpy.testing import assert_equal
import tempfile
import os
from brian2.spatialneuron import *
from brian2.units import um, cm, second, DimensionMismatchError
from brian2 import numpy as np
from brian2.tests.utils import assert_allclose
@pytest.mark.codegen_independent
def test_attributes_soma():... | 44.442682 | 112 | 0.603128 | 9,194 | 61,642 | 3.916576 | 0.038068 | 0.074648 | 0.027215 | 0.030548 | 0.842373 | 0.776167 | 0.723708 | 0.653087 | 0.561165 | 0.525535 | 0 | 0.109108 | 0.258509 | 61,642 | 1,386 | 113 | 44.474747 | 0.678714 | 0.065053 | 0 | 0.427037 | 0 | 0 | 0.059947 | 0 | 0 | 0 | 0 | 0.000722 | 0.360788 | 1 | 0.03581 | false | 0 | 0.007162 | 0 | 0.042972 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
acf617e7dfd50036eef691eeb4087c10c4a60d14 | 123 | py | Python | custom_components/iphonedetect/const.py | systemcrash/iphonedetect | b2a4a94b3ef6842b2980cd1b7fd01c1e43345474 | [
"MIT"
] | 189 | 2019-07-28T04:12:42.000Z | 2022-03-25T02:41:05.000Z | custom_components/iphonedetect/const.py | systemcrash/iphonedetect | b2a4a94b3ef6842b2980cd1b7fd01c1e43345474 | [
"MIT"
] | 60 | 2019-07-02T03:30:02.000Z | 2022-03-23T22:08:59.000Z | custom_components/iphonedetect/const.py | shlomifgm/HomeAssistant | 6b86b81c33cdd9b0d6a9af0dc74b163f0aeb2112 | [
"MIT"
] | 29 | 2019-07-28T15:55:24.000Z | 2022-03-31T20:38:18.000Z | HOME_STATES={
2: "REACHABLE",
8: "DELAY",
# 4: "STALE",
}
CONST_MESSAGE = b"Marco"
CONST_MESSAGE_PORT = 5353
| 13.666667 | 25 | 0.601626 | 16 | 123 | 4.375 | 0.875 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 0.235772 | 123 | 8 | 26 | 15.375 | 0.670213 | 0.089431 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
acfc34d03aa6afc3bedb292f4ea69c8bcd5e3ca4 | 264 | py | Python | nameko_zipkin/constants.py | zsiciarz/nameko-zipkin | e4f73bb3fe2754e240779d3a5f5085ba223b1e79 | [
"Apache-2.0"
] | 6 | 2017-07-02T07:56:30.000Z | 2020-12-26T19:43:21.000Z | nameko_zipkin/constants.py | zsiciarz/nameko-zipkin | e4f73bb3fe2754e240779d3a5f5085ba223b1e79 | [
"Apache-2.0"
] | 1 | 2019-09-16T11:56:22.000Z | 2019-09-16T11:56:22.000Z | nameko_zipkin/constants.py | zsiciarz/nameko-zipkin | e4f73bb3fe2754e240779d3a5f5085ba223b1e79 | [
"Apache-2.0"
] | 6 | 2017-05-15T15:22:45.000Z | 2020-02-13T16:29:35.000Z | TRACE_ID_HEADER = 'X-B3-TraceId'
SPAN_ID_HEADER = 'X-B3-SpanId'
PARENT_SPAN_ID_HEADER = 'X-B3-ParentSpanId'
FLAGS_HEADER = 'X-B3-Flags'
SAMPLED_HEADER = 'X-B3-Sampled'
ZIPKIN_CONFIG_SECTION = 'ZIPKIN'
HANDLER_KEY = 'HANDLER'
HANDLER_PARAMS_KEY = 'HANDLER_PARAMS'
| 26.4 | 43 | 0.776515 | 41 | 264 | 4.634146 | 0.439024 | 0.184211 | 0.236842 | 0.173684 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020921 | 0.094697 | 264 | 9 | 44 | 29.333333 | 0.774059 | 0 | 0 | 0 | 0 | 0 | 0.337121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4a0d360a8ba3f784ca2b472096a8acd6b66c95fb | 29 | py | Python | portfolio/Python/scrapy/officespot/__init__.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | null | null | null | portfolio/Python/scrapy/officespot/__init__.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | null | null | null | portfolio/Python/scrapy/officespot/__init__.py | 0--key/lib | ba7a85dda2b208adc290508ca617bdc55a5ded22 | [
"Apache-2.0"
] | 5 | 2016-03-22T07:40:46.000Z | 2021-05-30T16:12:21.000Z | ACCOUNT_NAME = 'Office Spot'
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4a198286d05e3e9e78ec0bbc376a0d05232a778b | 154 | py | Python | mysite/rainbowfood/apps.py | ChiaraDM/RainbowFood | d62bbd002b4aad7450ffde20a2787d424c18d2f7 | [
"Apache-2.0"
] | null | null | null | mysite/rainbowfood/apps.py | ChiaraDM/RainbowFood | d62bbd002b4aad7450ffde20a2787d424c18d2f7 | [
"Apache-2.0"
] | null | null | null | mysite/rainbowfood/apps.py | ChiaraDM/RainbowFood | d62bbd002b4aad7450ffde20a2787d424c18d2f7 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class RainbowfoodConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'rainbowfood'
| 22 | 56 | 0.772727 | 17 | 154 | 6.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 154 | 6 | 57 | 25.666667 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.25974 | 0.188312 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4a21f0a97567cb67bf322139d09d8bf56fe824d7 | 91 | py | Python | authentication/urls.py | Rasel-Al-Mamun/Fiction-Django | b5f25b84abdabc62cf82af7cdfe63fd45f265ded | [
"MIT"
] | null | null | null | authentication/urls.py | Rasel-Al-Mamun/Fiction-Django | b5f25b84abdabc62cf82af7cdfe63fd45f265ded | [
"MIT"
] | null | null | null | authentication/urls.py | Rasel-Al-Mamun/Fiction-Django | b5f25b84abdabc62cf82af7cdfe63fd45f265ded | [
"MIT"
] | null | null | null | from .import views
from django.urls import path
app_name = 'auth'
urlpatterns = [
]
| 10.111111 | 28 | 0.681319 | 12 | 91 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 91 | 8 | 29 | 11.375 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c585ae91e35ef657f5ea7bdf03ab4ea127668513 | 385 | py | Python | pylox/lox_callable.py | Excited-ccccly/pylox | 08c3cced414ddb3bc5664bff5b15956dd9fc96ed | [
"MIT"
] | 1 | 2019-04-17T19:13:58.000Z | 2019-04-17T19:13:58.000Z | pylox/lox_callable.py | Excited-ccccly/pylox | 08c3cced414ddb3bc5664bff5b15956dd9fc96ed | [
"MIT"
] | 1 | 2021-11-15T17:48:19.000Z | 2021-11-15T17:48:19.000Z | pylox/lox_callable.py | Excited-ccccly/pylox | 08c3cced414ddb3bc5664bff5b15956dd9fc96ed | [
"MIT"
] | 1 | 2019-03-16T03:44:51.000Z | 2019-03-16T03:44:51.000Z | from abc import abstractmethod
from datetime import datetime
class LoxCallable:
@abstractmethod
def arity(self):
raise NotImplementedError()
@abstractmethod
def call(self, interpreter, arguments):
raise NotImplementedError()
class Clock(LoxCallable):
def arity(self):
return 0
def call(sel... | 20.263158 | 41 | 0.74026 | 41 | 385 | 6.95122 | 0.487805 | 0.119298 | 0.084211 | 0.154386 | 0.217544 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003155 | 0.176623 | 385 | 19 | 42 | 20.263158 | 0.895899 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c58b1c45932623b12472c28973b20865e30468a2 | 650 | py | Python | codetools/contexts/adapter/i_adapter_manager.py | enthought/codetools | 20d8bb1eba68145750a1b689655b839078121474 | [
"BSD-3-Clause"
] | 29 | 2015-08-10T20:25:00.000Z | 2021-11-30T23:34:24.000Z | codetools/contexts/adapter/i_adapter_manager.py | enthought/codetools | 20d8bb1eba68145750a1b689655b839078121474 | [
"BSD-3-Clause"
] | 40 | 2015-01-05T15:01:37.000Z | 2022-03-11T13:47:06.000Z | codetools/contexts/adapter/i_adapter_manager.py | enthought/codetools | 20d8bb1eba68145750a1b689655b839078121474 | [
"BSD-3-Clause"
] | 4 | 2015-04-14T10:06:26.000Z | 2021-01-19T16:46:48.000Z | #
# (C) Copyright 2013 Enthought, Inc., Austin, TX
# All right reserved.
#
# This file is open source software distributed according to the terms in
# LICENSE.txt
#
from __future__ import absolute_import
from traits.api import ABCHasTraits
class IAdapterManager(ABCHasTraits):
""" Handles management of an adapte... | 23.214286 | 73 | 0.669231 | 86 | 650 | 4.976744 | 0.651163 | 0.084112 | 0.037383 | 0.051402 | 0.107477 | 0.107477 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.249231 | 650 | 27 | 74 | 24.074074 | 0.868852 | 0.589231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 1 | 0.4 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c59fb8e99368ecda22c4df1e05da91a3a2b842bd | 141 | py | Python | examples/deploy_simple_model/create_ip.py | strickvl/budgetml | a5f4a6bd82765b56e9a921685ed038a99c37de0c | [
"Apache-2.0"
] | 1,316 | 2021-01-31T20:49:19.000Z | 2022-03-22T13:59:43.000Z | examples/deploy_simple_model/create_ip.py | strickvl/budgetml | a5f4a6bd82765b56e9a921685ed038a99c37de0c | [
"Apache-2.0"
] | 7 | 2021-02-01T12:39:15.000Z | 2022-01-05T13:54:57.000Z | examples/deploy_simple_model/create_ip.py | strickvl/budgetml | a5f4a6bd82765b56e9a921685ed038a99c37de0c | [
"Apache-2.0"
] | 57 | 2021-01-31T22:20:20.000Z | 2022-02-11T10:08:36.000Z | from budgetml import BudgetML
budgetml = BudgetML(project='PROJECT')
IP_ADDRESS = budgetml.create_static_ip('static-ip')
print(IP_ADDRESS)
| 20.142857 | 51 | 0.801418 | 19 | 141 | 5.736842 | 0.473684 | 0.293578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092199 | 141 | 6 | 52 | 23.5 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0.113475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c59fc05b6fc59b15879c5340d2ca131553432f79 | 402 | py | Python | Python/String_1/non_start.py | RCoon/CodingBat | c5004c03e668c62751dc7f13154c79e25ea34339 | [
"MIT"
] | 1 | 2015-11-06T02:26:50.000Z | 2015-11-06T02:26:50.000Z | Python/String_1/non_start.py | RCoon/CodingBat | c5004c03e668c62751dc7f13154c79e25ea34339 | [
"MIT"
] | null | null | null | Python/String_1/non_start.py | RCoon/CodingBat | c5004c03e668c62751dc7f13154c79e25ea34339 | [
"MIT"
] | null | null | null | # Given 2 strings, return their concatenation, except omit the first char of
# each. The strings will be at least length 1.
# non_start('Hello', 'There') --> 'ellohere'
# non_start('java', 'code') --> 'avaode'
# non_start('shotl', 'java') --> 'hotlava'
def non_start(a, b):
return a[1:] + b[1:]
print(non_start('Hel... | 28.714286 | 76 | 0.654229 | 61 | 402 | 4.196721 | 0.540984 | 0.21875 | 0.152344 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011561 | 0.139303 | 402 | 13 | 77 | 30.923077 | 0.728324 | 0.60199 | 0 | 0 | 0 | 0 | 0.175325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.6 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 3 |
c5bb4851bdb94cb808ae040fc3f26270e51660b2 | 1,198 | py | Python | flatland/database/population/connector/nameable_connector_location_instances.py | lelandstarr/flatland-model-diagram-editor | dfbd10d80542359c6951d7b039a5a4e3da2a0f50 | [
"MIT"
] | 10 | 2021-01-03T16:47:34.000Z | 2022-03-30T18:47:07.000Z | flatland/database/population/connector/nameable_connector_location_instances.py | lelandstarr/flatland-model-diagram-editor | dfbd10d80542359c6951d7b039a5a4e3da2a0f50 | [
"MIT"
] | 91 | 2021-01-09T02:14:13.000Z | 2022-02-24T10:24:10.000Z | flatland/database/population/connector/nameable_connector_location_instances.py | lelandstarr/flatland-model-diagram-editor | dfbd10d80542359c6951d7b039a5a4e3da2a0f50 | [
"MIT"
] | 1 | 2021-01-13T22:13:19.000Z | 2021-01-13T22:13:19.000Z | """
nameable_connector_location_instances.py
"""
population = [
# Connector types
{'Name': 'binary association', 'Diagram type': 'class'},
{'Name': 'generalization', 'Diagram type': 'class'},
{'Name': 'initial transition', 'Diagram type': 'state machine'},
{'Name': 'deletion transition', 'Diagram t... | 46.076923 | 70 | 0.607679 | 123 | 1,198 | 5.894309 | 0.260163 | 0.273103 | 0.176552 | 0.222069 | 0.481379 | 0.337931 | 0.14069 | 0 | 0 | 0 | 0 | 0 | 0.171953 | 1,198 | 26 | 71 | 46.076923 | 0.730847 | 0.056761 | 0 | 0 | 0 | 0 | 0.621212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c5cf5f2772627ade6f259d631f40c366819718d4 | 421 | py | Python | config/settings.py | antontinishov/stockratesbot | 5ede903c0cad6ccdc6ca90184b614e6be96e2a62 | [
"MIT"
] | null | null | null | config/settings.py | antontinishov/stockratesbot | 5ede903c0cad6ccdc6ca90184b614e6be96e2a62 | [
"MIT"
] | 2 | 2021-03-31T19:13:12.000Z | 2021-06-02T00:15:35.000Z | config/settings.py | antontinishov/stockratesbot | 5ede903c0cad6ccdc6ca90184b614e6be96e2a62 | [
"MIT"
] | null | null | null | import os
DEBUG = os.environ["DEBUG"]
DEBUG = DEBUG.lower() == "true"
BOT_TOKEN = os.environ["BOT_TOKEN"]
SENTRY_DSN = os.environ["SENTRY_DSN"]
DATABASES = {
"redis": {
"HOST": os.environ["REDIS_HOST"],
"PORT": 6379
},
"postgres": {
"HOST": os.environ["DB_HOST"],
"PORT": os.environ["DB_PORT"],
"NAME": ... | 18.304348 | 39 | 0.624703 | 57 | 421 | 4.438596 | 0.350877 | 0.320158 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011142 | 0.147268 | 421 | 22 | 40 | 19.136364 | 0.693593 | 0 | 0 | 0 | 0 | 0 | 0.289786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c5d4976aec104397d933771ef0358c337ac0993c | 1,066 | py | Python | src/CreeDictionary/CreeDictionary/sitemaps.py | sarahrmoeller/morphodict | 74db04b58076b7be5d9b0742d20e8b2014fb4aaa | [
"Apache-2.0"
] | 8 | 2019-06-06T14:24:40.000Z | 2020-11-11T01:43:11.000Z | src/CreeDictionary/CreeDictionary/sitemaps.py | sarahrmoeller/morphodict | 74db04b58076b7be5d9b0742d20e8b2014fb4aaa | [
"Apache-2.0"
] | 800 | 2019-05-23T15:32:03.000Z | 2021-09-24T15:45:16.000Z | src/CreeDictionary/CreeDictionary/sitemaps.py | sarahrmoeller/morphodict | 74db04b58076b7be5d9b0742d20e8b2014fb4aaa | [
"Apache-2.0"
] | 8 | 2020-12-17T21:57:00.000Z | 2021-09-17T20:03:51.000Z | #!/usr/bin/env python3
from morphodict.lexicon.models import Wordform
from django.contrib.sitemaps import Sitemap
from django.urls import reverse
class WordformSitemap(Sitemap):
"""
Make heads available in the sitemap.
This way, web crawlers can index ALL THE WORDS!
"""
protocol = "https"
d... | 23.173913 | 93 | 0.674484 | 133 | 1,066 | 5.345865 | 0.609023 | 0.037975 | 0.045007 | 0.059072 | 0.070323 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003542 | 0.205441 | 1,066 | 45 | 94 | 23.688889 | 0.835891 | 0.306754 | 0 | 0.210526 | 0 | 0 | 0.115108 | 0.031655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.210526 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c5eabe38bb71edd5335f4d05980bfe9ef1f47725 | 2,011 | py | Python | src/jk_utils/Bytes.py | jkpubsrc/python-module-jk-utils | 6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3 | [
"Apache-1.1"
] | null | null | null | src/jk_utils/Bytes.py | jkpubsrc/python-module-jk-utils | 6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3 | [
"Apache-1.1"
] | null | null | null | src/jk_utils/Bytes.py | jkpubsrc/python-module-jk-utils | 6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3 | [
"Apache-1.1"
] | null | null | null |
import binascii
#
# This is a convenience wrapper around an array of bytes.
#
class Bytes(object):
################################################################################################################################
## Constructor
###################################################################... | 21.858696 | 129 | 0.410741 | 151 | 2,011 | 5.046358 | 0.298013 | 0.125984 | 0.091864 | 0.099738 | 0.440945 | 0.440945 | 0.440945 | 0.440945 | 0.440945 | 0.317585 | 0 | 0 | 0.126305 | 2,011 | 91 | 130 | 22.098901 | 0.433694 | 0.049727 | 0 | 0.305556 | 0 | 0 | 0.0217 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 1 | 0.25 | false | 0 | 0.027778 | 0.138889 | 0.638889 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
c5f876cb31c107c7c45d436725b1af6a8ed89970 | 4,523 | py | Python | nicos_mlz/reseda/setups/sampletable.py | ebadkamil/nicos | 0355a970d627aae170c93292f08f95759c97f3b5 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | nicos_mlz/reseda/setups/sampletable.py | ebadkamil/nicos | 0355a970d627aae170c93292f08f95759c97f3b5 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | 1 | 2021-08-18T10:55:42.000Z | 2021-08-18T10:55:42.000Z | nicos_mlz/reseda/setups/sampletable.py | ISISComputingGroup/nicos | 94cb4d172815919481f8c6ee686f21ebb76f2068 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | # -*- coding: utf-8 -*-
description = 'Sample table (translation)'
group = 'optional'
tango_base = 'tango://resedahw2.reseda.frm2:10000/reseda'
devices = dict(
srz_mot = device('nicos.devices.tango.Motor',
description = 'Sample rotation: z (motor)',
tangodevice = '%s/srz/motor' % tango_base,
... | 30.355705 | 66 | 0.520893 | 466 | 4,523 | 4.967811 | 0.133047 | 0.146868 | 0.147732 | 0.129158 | 0.741253 | 0.721382 | 0.721382 | 0.701512 | 0.468683 | 0.061339 | 0 | 0.014959 | 0.320142 | 4,523 | 148 | 67 | 30.560811 | 0.737886 | 0.013044 | 0 | 0.577465 | 0 | 0 | 0.301189 | 0.127831 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6800bf54c502811d7271b22990568b73ebe01c43 | 456 | py | Python | utils/commands.py | ryoung2512/bot | a0d42152410086630a03a3fdb45436935cb48402 | [
"MIT"
] | null | null | null | utils/commands.py | ryoung2512/bot | a0d42152410086630a03a3fdb45436935cb48402 | [
"MIT"
] | null | null | null | utils/commands.py | ryoung2512/bot | a0d42152410086630a03a3fdb45436935cb48402 | [
"MIT"
] | null | null | null | import json
import requests
import string
import random
import getpass
def generate_id(length):
possibilities = string.ascii_letters
user_id = ''
for i in range(length):
user_id += random.choice(possibilities)
return user_id
def get_location():
fetch = 'http://freegeoip.n... | 18.24 | 48 | 0.649123 | 58 | 456 | 4.982759 | 0.551724 | 0.062284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258772 | 456 | 24 | 49 | 19 | 0.85503 | 0 | 0 | 0 | 1 | 0 | 0.05787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.111111 | 0.277778 | 0.055556 | 0.611111 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
a847331adea411488244844e8897253fc698e01e | 108 | py | Python | vanilla/flagChecker/urls.py | clevernyyyy/django-react | 060b5b68e7d86489e47da8390a54916b3539d07f | [
"MIT"
] | null | null | null | vanilla/flagChecker/urls.py | clevernyyyy/django-react | 060b5b68e7d86489e47da8390a54916b3539d07f | [
"MIT"
] | null | null | null | vanilla/flagChecker/urls.py | clevernyyyy/django-react | 060b5b68e7d86489e47da8390a54916b3539d07f | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('api/flags/', views.flagCheck ),
]
| 15.428571 | 39 | 0.703704 | 14 | 108 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 6 | 40 | 18 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a85035c2f06afa79ce44b4d3127e5e3322e5c5d1 | 389 | py | Python | dipor/jinja_changes.py | veedhee/dipor | 4a4ae4c99978d13bcd1ab9a64388100c67467aa2 | [
"MIT"
] | null | null | null | dipor/jinja_changes.py | veedhee/dipor | 4a4ae4c99978d13bcd1ab9a64388100c67467aa2 | [
"MIT"
] | 5 | 2020-09-04T16:50:23.000Z | 2020-09-10T17:13:22.000Z | dipor/jinja_changes.py | veedhee/dipor | 4a4ae4c99978d13bcd1ab9a64388100c67467aa2 | [
"MIT"
] | 1 | 2020-07-19T12:17:17.000Z | 2020-07-19T12:17:17.000Z | from jinja2 import Environment, Undefined
import os
class SilentUndefined(Undefined):
def _fail_with_undefined_error(self, *args, **kwargs):
return ''
class RelEnvironment(Environment):
"""Override join_path() to enable relative template paths."""
def join_path(self, template, parent):
r... | 27.785714 | 77 | 0.724936 | 46 | 389 | 5.978261 | 0.608696 | 0.058182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.164524 | 389 | 13 | 78 | 29.923077 | 0.843077 | 0.141388 | 0 | 0 | 0 | 0 | 0.033537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a85442914461e9e0c4517a3a9773d34e5dce0cec | 3,465 | py | Python | spike_swarm_sim/register.py | r-sendra/SpikeSwarmSim | a5bd71cb93df0963588640c5d44b3891fa07457c | [
"MIT"
] | null | null | null | spike_swarm_sim/register.py | r-sendra/SpikeSwarmSim | a5bd71cb93df0963588640c5d44b3891fa07457c | [
"MIT"
] | null | null | null | spike_swarm_sim/register.py | r-sendra/SpikeSwarmSim | a5bd71cb93df0963588640c5d44b3891fa07457c | [
"MIT"
] | null | null | null | from functools import wraps
# Set of registers for easing class and function automatic discovery
world_objects = {}
sensors = {}
actuators = {}
neuron_models = {}
synapse_models = {}
controllers = {}
encoders = {}
decoders = {}
evo_operators = {}
fitness_functions = {}
algorithms = {}
initializers = {}
en... | 28.636364 | 73 | 0.599134 | 388 | 3,465 | 5.100515 | 0.149485 | 0.09904 | 0.075796 | 0.113188 | 0.700354 | 0.700354 | 0.662456 | 0.525518 | 0.487115 | 0.487115 | 0 | 0 | 0.27013 | 3,465 | 121 | 74 | 28.636364 | 0.782523 | 0.10303 | 0 | 0.537634 | 0 | 0 | 0.032247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27957 | false | 0 | 0.010753 | 0 | 0.569892 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a868d6f6e03303d5081996c93ea9ef78b30fa1aa | 15 | py | Python | shared/__init__.py | ArtemNikolaev/gb-hw | b82403e39dc1ca530dc438309fc98ba89ce4337b | [
"Unlicense"
] | null | null | null | shared/__init__.py | ArtemNikolaev/gb-hw | b82403e39dc1ca530dc438309fc98ba89ce4337b | [
"Unlicense"
] | 40 | 2021-12-30T15:57:10.000Z | 2022-01-26T16:44:24.000Z | shared/__init__.py | ArtemNikolaev/gb-hw | b82403e39dc1ca530dc438309fc98ba89ce4337b | [
"Unlicense"
] | 1 | 2022-03-12T19:17:26.000Z | 2022-03-12T19:17:26.000Z | NAME = 'shared' | 15 | 15 | 0.666667 | 2 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 15 | 1 | 15 | 15 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a86e159c6680e26f7a3f7fd66a5bc7d712add92f | 376 | py | Python | vue_admin/interface_app/views/task_interface/task_interface_detail.py | songlinyang/vue-test-project | a75a48953d420482716ee3903eb4954513ce44e2 | [
"bzip2-1.0.6"
] | null | null | null | vue_admin/interface_app/views/task_interface/task_interface_detail.py | songlinyang/vue-test-project | a75a48953d420482716ee3903eb4954513ce44e2 | [
"bzip2-1.0.6"
] | null | null | null | vue_admin/interface_app/views/task_interface/task_interface_detail.py | songlinyang/vue-test-project | a75a48953d420482716ee3903eb4954513ce44e2 | [
"bzip2-1.0.6"
] | 2 | 2021-05-12T06:41:25.000Z | 2022-01-10T10:11:45.000Z |
from interface_app.froms.task_form import TaskInterfaceFrom
from interface_app.models.task import TaskInterface
from interface_app.libs.response import ErrorCode
from interface_app.views.base.base_detail import MyBaseDetailView
class TaskInterfaceDetailView(MyBaseDetailView):
model = TaskInterface
form = T... | 23.5 | 65 | 0.835106 | 42 | 376 | 7.309524 | 0.5 | 0.169381 | 0.208469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12234 | 376 | 15 | 66 | 25.066667 | 0.930303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a87c1f76aaaceb4a90a6b4971fa5c99c69950c77 | 139 | py | Python | gym_ReverseTruck/__init__.py | aharrisonau/gym-ReverseTruck | af67e810d9aaeab63fd47e15398139f1929f4ba2 | [
"MIT"
] | null | null | null | gym_ReverseTruck/__init__.py | aharrisonau/gym-ReverseTruck | af67e810d9aaeab63fd47e15398139f1929f4ba2 | [
"MIT"
] | null | null | null | gym_ReverseTruck/__init__.py | aharrisonau/gym-ReverseTruck | af67e810d9aaeab63fd47e15398139f1929f4ba2 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id='ReverseTruck-v0',
entry_point='gym_ReverseTruck.envs:ReverseTruckEnv',
)
| 19.857143 | 56 | 0.769784 | 16 | 139 | 6.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.122302 | 139 | 6 | 57 | 23.166667 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.374101 | 0.266187 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a893081771b68d2c41581fb7085123ad2695eeea | 433 | py | Python | lisa/features/sriov.py | LaudateCorpus1/lisa | a3f9c1facd6403f6eea09956fc76882129c2f6c3 | [
"MIT"
] | null | null | null | lisa/features/sriov.py | LaudateCorpus1/lisa | a3f9c1facd6403f6eea09956fc76882129c2f6c3 | [
"MIT"
] | 3 | 2021-08-19T23:07:28.000Z | 2022-03-12T01:05:43.000Z | lisa/features/sriov.py | LaudateCorpus1/lisa | a3f9c1facd6403f6eea09956fc76882129c2f6c3 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from lisa.feature import Feature
from lisa.util import SwitchableMixin
FEATURE_NAME_SRIOV = "Sriov"
class Sriov(Feature, SwitchableMixin):
@classmethod
def name(cls) -> str:
return FEATURE_NAME_SRIOV
@classmethod
def c... | 20.619048 | 38 | 0.702079 | 50 | 433 | 5.98 | 0.62 | 0.053512 | 0.107023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2194 | 433 | 20 | 39 | 21.65 | 0.884615 | 0.157044 | 0 | 0.166667 | 0 | 0 | 0.013812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a8a37696780651ba24d90c52cdd14e2635269262 | 1,639 | py | Python | retryrequests/__init__.py | thombashi/retryrequests | b7d1c6c19a7b504b356f13736bf684acd0f00f45 | [
"MIT"
] | 3 | 2019-12-13T21:06:35.000Z | 2022-01-05T20:29:33.000Z | retryrequests/__init__.py | thombashi/retryrequests | b7d1c6c19a7b504b356f13736bf684acd0f00f45 | [
"MIT"
] | null | null | null | retryrequests/__init__.py | thombashi/retryrequests | b7d1c6c19a7b504b356f13736bf684acd0f00f45 | [
"MIT"
] | 1 | 2020-07-09T16:10:23.000Z | 2020-07-09T16:10:23.000Z | """
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from typing import Any, Dict, Optional, Sequence
import requests
from requests import Response, Session
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
from .__version__ import __author__, __copyr... | 29.267857 | 100 | 0.686394 | 199 | 1,639 | 5.427136 | 0.311558 | 0.077778 | 0.123148 | 0.133333 | 0.331481 | 0.294444 | 0.294444 | 0.294444 | 0.211111 | 0.211111 | 0 | 0.009665 | 0.179378 | 1,639 | 55 | 101 | 29.8 | 0.793309 | 0.038438 | 0 | 0 | 0 | 0 | 0.009566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0 | 0.176471 | 0.176471 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a8b480f4c2e990ea18b5ca2cecb550d5e9f8ca5c | 616 | py | Python | tests/bdd/common/etcd.py | Abhinandan-Purkait/mayastor-control-plane | 73390a0e61dd93d1fb7c2735ebac579b7bb88434 | [
"Apache-2.0"
] | 2 | 2022-01-05T06:55:02.000Z | 2022-01-13T22:02:37.000Z | tests/bdd/common/etcd.py | Abhinandan-Purkait/mayastor-control-plane | 73390a0e61dd93d1fb7c2735ebac579b7bb88434 | [
"Apache-2.0"
] | 67 | 2021-10-04T08:12:11.000Z | 2022-01-19T16:59:10.000Z | tests/bdd/common/etcd.py | Abhinandan-Purkait/mayastor-control-plane | 73390a0e61dd93d1fb7c2735ebac579b7bb88434 | [
"Apache-2.0"
] | 5 | 2021-11-18T10:36:23.000Z | 2022-01-14T20:51:51.000Z | import etcd3
class Etcd(object):
def __init__(self):
self.client = etcd3.client(host="localhost", port=2379)
def __ns_key(self):
return "/openebs.io/mayastor/apis/v0/clusters/bdd/namespaces/default"
# Get the NexusInfo structure.
def get_nexus_info(self, volume_id, nexus_id):
... | 34.222222 | 87 | 0.665584 | 87 | 616 | 4.528736 | 0.609195 | 0.050761 | 0.06599 | 0.076142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016632 | 0.219156 | 616 | 17 | 88 | 36.235294 | 0.802495 | 0.282468 | 0 | 0 | 0 | 0 | 0.217391 | 0.196796 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a8b77801fac1a3c1f29c2fffe7e7d33958bd5ea4 | 844 | py | Python | spotty/config/project_config.py | greglira/spotty | 0b5073621ba8e19be75b6f9701e6c9971b6d17fb | [
"MIT"
] | 246 | 2018-09-03T09:09:48.000Z | 2020-07-18T21:07:15.000Z | spotty/config/project_config.py | greglira/spotty | 0b5073621ba8e19be75b6f9701e6c9971b6d17fb | [
"MIT"
] | 42 | 2018-10-09T19:41:56.000Z | 2020-06-15T22:55:58.000Z | spotty/config/project_config.py | greglira/spotty | 0b5073621ba8e19be75b6f9701e6c9971b6d17fb | [
"MIT"
] | 27 | 2018-10-09T22:16:40.000Z | 2020-06-08T22:26:00.000Z | from spotty.config.validation import validate_basic_config
class ProjectConfig(object):
def __init__(self, config: dict, project_dir: str):
# validate the config
config = validate_basic_config(config)
self._project_dir = project_dir
self._config = config
@property
def pr... | 23.444444 | 58 | 0.645735 | 94 | 844 | 5.553191 | 0.297872 | 0.1341 | 0.153257 | 0.103448 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24763 | 844 | 35 | 59 | 24.114286 | 0.822047 | 0.022512 | 0 | 0.25 | 0 | 0 | 0.066829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.041667 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a8c228bab5fa74dd6fcdeb633d78639075ed0ab1 | 283 | py | Python | tools/hex2card.py | Perth-Artifactory/doorbot_1.3 | 4af84d048e710b336173b1642e6009eedc226312 | [
"MIT"
] | 1 | 2022-01-03T22:49:04.000Z | 2022-01-03T22:49:04.000Z | tools/hex2card.py | Perth-Artifactory/doorbot_1.3 | 4af84d048e710b336173b1642e6009eedc226312 | [
"MIT"
] | null | null | null | tools/hex2card.py | Perth-Artifactory/doorbot_1.3 | 4af84d048e710b336173b1642e6009eedc226312 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# trivial script to convert RFID out to match numeric card string
# Andrew Elwell <Andrew.Elwell@gmail.com>
# 6F0030A7CD -> 0003188685
import sys
for card in sys.argv[1:]:
print "Hex: %s Prefix: %d Id: %010d" % (card, int(card[:2],16), int(card[-8:],16))
| 28.3 | 86 | 0.678445 | 47 | 283 | 4.085106 | 0.787234 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 0.159011 | 283 | 9 | 87 | 31.444444 | 0.697479 | 0.526502 | 0 | 0 | 0 | 0 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a8c26b0fb05b888ca49afc5b2779bb927b9c846b | 1,577 | py | Python | src/spyder/processor/limiter.py | retresco/Spyder | 9a2de6ec4c25d4dc85802305d5675a52c3ebb750 | [
"Apache-2.0"
] | 40 | 2015-01-05T17:16:52.000Z | 2021-05-14T02:46:54.000Z | src/spyder/processor/limiter.py | truemped/Spyder | 9a2de6ec4c25d4dc85802305d5675a52c3ebb750 | [
"Apache-2.0"
] | null | null | null | src/spyder/processor/limiter.py | truemped/Spyder | 9a2de6ec4c25d4dc85802305d5675a52c3ebb750 | [
"Apache-2.0"
] | 7 | 2015-04-02T06:34:29.000Z | 2019-05-28T08:29:30.000Z | #
# Copyright (c) 2011 Daniel Truemper truemped@googlemail.com
#
# limiter.py 18-Jan-2011
#
# 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
#
# ... | 29.754717 | 78 | 0.694356 | 211 | 1,577 | 5.052133 | 0.56872 | 0.056285 | 0.061914 | 0.030019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011438 | 0.223843 | 1,577 | 52 | 79 | 30.326923 | 0.859477 | 0.578313 | 0 | 0 | 0 | 0 | 0.017953 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.090909 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7634aca81844c4bee8f1f8cf5cb2d730d1b2680d | 25 | py | Python | python/testData/keywordCompletion/continue.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/keywordCompletion/continue.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/keywordCompletion/continue.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | for x in []:
continue | 12.5 | 12 | 0.56 | 4 | 25 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 25 | 2 | 13 | 12.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
763b4d09999d2cb1df1cf7c221bc0a6146197819 | 522 | py | Python | tests/test_cython_utils.py | mozjay0619/fast-scboot | c46bcb0ca5aa066fce6396bf2ee0c6b27d26acfb | [
"BSD-3-Clause"
] | null | null | null | tests/test_cython_utils.py | mozjay0619/fast-scboot | c46bcb0ca5aa066fce6396bf2ee0c6b27d26acfb | [
"BSD-3-Clause"
] | null | null | null | tests/test_cython_utils.py | mozjay0619/fast-scboot | c46bcb0ca5aa066fce6396bf2ee0c6b27d26acfb | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
from src.fast_scboot.c.utils import inplace_ineq_filter
def test_inplace_ineq_filter():
assert 1 == 1
# arr = np.arange(5)
# array = np.squeeze(np.dstack([arr, arr, arr, arr, arr])).astype(np.int32)
# array_placeholder = np.empty_like(array).astype(np.int32)
# ... | 26.1 | 79 | 0.649425 | 86 | 522 | 3.813953 | 0.44186 | 0.073171 | 0.155488 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.187739 | 522 | 19 | 80 | 27.473684 | 0.716981 | 0.64751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
765d37d100d87a7304375157b686145bab67f67c | 52 | py | Python | py_module_info/__init__.py | Adwaith-Rajesh/py-module-info | 46da2543b12c9e2bcabc9dde5250e2cdedfb066c | [
"MIT"
] | 2 | 2021-05-23T05:11:29.000Z | 2021-06-25T12:21:02.000Z | py_module_info/__init__.py | Adwaith-Rajesh/py-module-info | 46da2543b12c9e2bcabc9dde5250e2cdedfb066c | [
"MIT"
] | null | null | null | py_module_info/__init__.py | Adwaith-Rajesh/py-module-info | 46da2543b12c9e2bcabc9dde5250e2cdedfb066c | [
"MIT"
] | null | null | null | from .main import ModuleInfo
__version__ = "0.0.2"
| 13 | 28 | 0.730769 | 8 | 52 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.153846 | 52 | 3 | 29 | 17.333333 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
765e2848b2b47648ce96286623ad035ca6dbc3a8 | 427 | py | Python | Paquetes_Distribuibles/Paquetes.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 20 | 2020-08-19T23:27:01.000Z | 2022-02-03T12:02:17.000Z | Paquetes_Distribuibles/Paquetes.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 1 | 2021-04-10T18:06:05.000Z | 2021-04-10T18:06:05.000Z | Paquetes_Distribuibles/Paquetes.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 2 | 2020-12-03T19:35:36.000Z | 2021-11-10T14:58:39.000Z | # Paquetes
#Son directorios donde se almacenaran modulos relacionados entre si
#y sirven para organizar y reutilizar los modulos
#nos vinculamos a la carpeta Calculos y al archivo CalculoGenerales.py
from Calculos.CalculoGenerales import dividir
#from Calculos.OperacionBasica.Operacion_Basica import sumar
#from Calcu... | 26.6875 | 70 | 0.826698 | 57 | 427 | 6.157895 | 0.736842 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029255 | 0.119438 | 427 | 15 | 71 | 28.466667 | 0.904255 | 0.800937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7671271b87b12aa0f347ccd3cb9c56e1889d4fcd | 130 | py | Python | PythonExercicio/ex112/teste.py | VazMF/Curso-de-Python | 9b33f0bc3de5dd9380fdd4eb3d901b04e536d45a | [
"MIT"
] | null | null | null | PythonExercicio/ex112/teste.py | VazMF/Curso-de-Python | 9b33f0bc3de5dd9380fdd4eb3d901b04e536d45a | [
"MIT"
] | null | null | null | PythonExercicio/ex112/teste.py | VazMF/Curso-de-Python | 9b33f0bc3de5dd9380fdd4eb3d901b04e536d45a | [
"MIT"
] | null | null | null | from PythonExercicio.ex112.utilidadescev import moeda, dado
p = dado.leiaDinheiro('Digite um preço: R$')
moeda.resumo(p, 35, 22)
| 26 | 59 | 0.761538 | 19 | 130 | 5.210526 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06087 | 0.115385 | 130 | 4 | 60 | 32.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
769a1a7e0fe60837a719498a5eee39506507af73 | 135 | py | Python | fengyang.py | XinnWang/MultiplayerTest | 1c8c0dab99f4c399e0784de8a37c5f891ce9dc27 | [
"MIT"
] | null | null | null | fengyang.py | XinnWang/MultiplayerTest | 1c8c0dab99f4c399e0784de8a37c5f891ce9dc27 | [
"MIT"
] | null | null | null | fengyang.py | XinnWang/MultiplayerTest | 1c8c0dab99f4c399e0784de8a37c5f891ce9dc27 | [
"MIT"
] | null | null | null | import cv2
img = cv2.imread("123456")
print("fdfdfdfdfadfasdfadf")
img = cv2.imread("jlajdlkfajsldfslkjflsdjfklsjldfjlsdjfldkjlsf")
| 16.875 | 64 | 0.792593 | 12 | 135 | 8.916667 | 0.666667 | 0.11215 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.088889 | 135 | 7 | 65 | 19.285714 | 0.796748 | 0 | 0 | 0 | 0 | 0 | 0.518797 | 0.330827 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
769cbe0a79e0a3f182397c875538166d55428a99 | 378 | py | Python | backend/app/common/cli_tools/__init__.py | MU-Software/dodoco | c81d3a31b8024a734097fd8ac395747d5a721bc8 | [
"MIT"
] | 6 | 2021-08-20T01:35:01.000Z | 2021-12-22T18:23:17.000Z | app/common/cli_tools/__init__.py | MU-Software/frost | 26e8715d9971af495a39ed47b299ed32a993c0e8 | [
"MIT"
] | null | null | null | app/common/cli_tools/__init__.py | MU-Software/frost | 26e8715d9971af495a39ed47b299ed32a993c0e8 | [
"MIT"
] | null | null | null | import flask
import app.common.cli_tools.openapi_support as openapi_support
import app.common.cli_tools.db_operation as db_operation
import app.common.cli_tools.db_erd_draw as db_erd_draw
def init_app(app: flask.Flask):
app.cli.add_command(openapi_support.create_openapi_doc)
app.cli.add_command(db_operation.... | 31.5 | 62 | 0.830688 | 67 | 378 | 4.328358 | 0.298507 | 0.068966 | 0.155172 | 0.186207 | 0.375862 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 378 | 11 | 63 | 34.363636 | 0.845481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
76be3624f4a784521bae2626e4a2702fcb3e5a42 | 520 | py | Python | manage.py | jasoncartwright/dmcommentheadlines | ee1cd26bd1c9ef86b19a8306e29486840105c898 | [
"Apache-2.0"
] | 1 | 2018-06-21T11:17:59.000Z | 2018-06-21T11:17:59.000Z | manage.py | jasoncartwright/dmcommentheadlines | ee1cd26bd1c9ef86b19a8306e29486840105c898 | [
"Apache-2.0"
] | 2 | 2018-06-21T10:20:03.000Z | 2018-06-21T15:11:23.000Z | manage.py | jasoncartwright/dmcommentheadlines | ee1cd26bd1c9ef86b19a8306e29486840105c898 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import os
import sys
from commenthead.boot import fix_path
fix_path(include_dev_libs_path=True)
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "commenthead.settings")
from djangae.core.management import (
execute_from_command_line,
test_execut... | 24.761905 | 75 | 0.732692 | 70 | 520 | 5.028571 | 0.557143 | 0.125 | 0.204545 | 0.25 | 0.25 | 0.164773 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186538 | 520 | 20 | 76 | 26 | 0.832151 | 0.107692 | 0 | 0 | 0 | 0 | 0.116883 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4f4f25e432a502665623ff38c978188381f227af | 684 | py | Python | tests/test_fundamentals_loader.py | findcongwang/stockevents_capstone | d4df82e45e3947d6f5ac297c69197497db735a8e | [
"MIT"
] | null | null | null | tests/test_fundamentals_loader.py | findcongwang/stockevents_capstone | d4df82e45e3947d6f5ac297c69197497db735a8e | [
"MIT"
] | null | null | null | tests/test_fundamentals_loader.py | findcongwang/stockevents_capstone | d4df82e45e3947d6f5ac297c69197497db735a8e | [
"MIT"
] | null | null | null | import os
import pytest
import pendulum
from datetime import timedelta
from dotenv import load_dotenv
from stockdata.models import (
engine, session, Asset,
FinancialReport, ProfitLossReportData, BalanceSheetReportData,
CashFlowReportData, DerivedReportData
)
"""
Tests to be ran after the ETL process is... | 26.307692 | 86 | 0.758772 | 78 | 684 | 6.576923 | 0.692308 | 0.038986 | 0.222222 | 0.292398 | 0.358674 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003578 | 0.182749 | 684 | 26 | 87 | 26.307692 | 0.914132 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.375 | 0 | 0.4375 | 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 | 0 | 0 | 0 | 3 |
4f5800e18ba0a1bc5f366496830fe902ebb928bd | 23 | py | Python | mindsdb/version.py | thiagoalmeidasa/main | 9f130b75c419110107c7fc4f1413a511d05b50c1 | [
"MIT"
] | null | null | null | mindsdb/version.py | thiagoalmeidasa/main | 9f130b75c419110107c7fc4f1413a511d05b50c1 | [
"MIT"
] | null | null | null | mindsdb/version.py | thiagoalmeidasa/main | 9f130b75c419110107c7fc4f1413a511d05b50c1 | [
"MIT"
] | null | null | null | mindsdb_version="0.8.6" | 23 | 23 | 0.782609 | 5 | 23 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 23 | 1 | 23 | 23 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4f6c5246fe7376b3e1940006b6217a9c0bb654e7 | 302 | py | Python | models/effdet/__init__.py | Rakeshiva/vehicle-counting | b178780b4829c4e6f8e1089e57bc56cd57a93d0a | [
"MIT"
] | null | null | null | models/effdet/__init__.py | Rakeshiva/vehicle-counting | b178780b4829c4e6f8e1089e57bc56cd57a93d0a | [
"MIT"
] | null | null | null | models/effdet/__init__.py | Rakeshiva/vehicle-counting | b178780b4829c4e6f8e1089e57bc56cd57a93d0a | [
"MIT"
] | null | null | null | from .efficientdet import EfficientDet, HeadNet
from .bench import DetBenchPredict, DetBenchTrain, unwrap_bench
from .config import get_efficientdet_config, default_detection_model_configs
from .factory import create_model, create_model_from_config
from .helpers import load_checkpoint, load_pretrained | 60.4 | 76 | 0.880795 | 38 | 302 | 6.684211 | 0.526316 | 0.07874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082781 | 302 | 5 | 77 | 60.4 | 0.916968 | 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 | 0 | 0 | 0 | 3 |
4f816d6d486813fac13ddb8398d590c66a8b7679 | 142 | py | Python | virtual/lib/python2.7/site-packages/ww/wrappers/bytes.py | DK-denno/awwards | af20f2da2bccf066a4da3fb4aa67ad839bae2af9 | [
"MIT"
] | 15 | 2016-10-15T10:15:08.000Z | 2021-04-06T08:31:02.000Z | virtual/lib/python2.7/site-packages/ww/wrappers/bytes.py | DK-denno/awwards | af20f2da2bccf066a4da3fb4aa67ad839bae2af9 | [
"MIT"
] | 7 | 2016-10-14T08:53:29.000Z | 2016-11-09T23:43:31.000Z | virtual/lib/python2.7/site-packages/ww/wrappers/bytes.py | DK-denno/awwards | af20f2da2bccf066a4da3fb4aa67ad839bae2af9 | [
"MIT"
] | 3 | 2016-10-13T11:44:46.000Z | 2016-10-14T08:58:03.000Z | """
Wrapper for bytes
"""
# unpack
# decode
# detect encoding
# help with text mixed with bytes
# b[0] return a letter, not a number
| 10.142857 | 36 | 0.647887 | 21 | 142 | 4.380952 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.253521 | 142 | 13 | 37 | 10.923077 | 0.858491 | 0.809859 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4f9f43f988056e15b2ac16f0d52e38e3974aa56a | 218 | py | Python | moto/resourcegroupstaggingapi/urls.py | xyb/moto | c60fb068e1138423690dd9fe500e31761d40efec | [
"Apache-2.0"
] | null | null | null | moto/resourcegroupstaggingapi/urls.py | xyb/moto | c60fb068e1138423690dd9fe500e31761d40efec | [
"Apache-2.0"
] | null | null | null | moto/resourcegroupstaggingapi/urls.py | xyb/moto | c60fb068e1138423690dd9fe500e31761d40efec | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from .responses import ResourceGroupsTaggingAPIResponse
url_bases = [r"https?://tagging\.(.+)\.amazonaws.com"]
url_paths = {"{0}/$": ResourceGroupsTaggingAPIResponse.dispatch}
| 31.142857 | 64 | 0.784404 | 21 | 218 | 7.809524 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.077982 | 218 | 6 | 65 | 36.333333 | 0.810945 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 0.169725 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4fa5614d69bee145c0451db9655cad49ca01e1b7 | 164 | py | Python | certego_saas/apps/organization/apps.py | certego/certego-saas | 49c3dea0baa0f76503ead62a15253e9df2aa5e10 | [
"MIT"
] | 2 | 2022-02-02T07:02:43.000Z | 2022-02-11T08:18:09.000Z | certego_saas/apps/organization/apps.py | certego/certego-saas | 49c3dea0baa0f76503ead62a15253e9df2aa5e10 | [
"MIT"
] | null | null | null | certego_saas/apps/organization/apps.py | certego/certego-saas | 49c3dea0baa0f76503ead62a15253e9df2aa5e10 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CertegoOrganizationConfig(AppConfig):
name = "certego_saas.apps.organization"
label = "certego_saas_organization"
| 23.428571 | 43 | 0.792683 | 17 | 164 | 7.470588 | 0.705882 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 164 | 6 | 44 | 27.333333 | 0.894366 | 0 | 0 | 0 | 0 | 0 | 0.335366 | 0.335366 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4facf23468c3b21327cd53c6d584b7ffe8b7e407 | 1,825 | py | Python | bolt/tasks/bolt_shell.py | arahmanhamdy/bolt | 8f5d9b8149db833b54a7b353162b2c28a53c8aff | [
"MIT"
] | 15 | 2016-10-21T14:30:38.000Z | 2021-10-12T04:50:48.000Z | bolt/tasks/bolt_shell.py | arahmanhamdy/bolt | 8f5d9b8149db833b54a7b353162b2c28a53c8aff | [
"MIT"
] | 51 | 2016-02-05T01:24:32.000Z | 2019-12-09T16:52:20.000Z | bolt/tasks/bolt_shell.py | arahmanhamdy/bolt | 8f5d9b8149db833b54a7b353162b2c28a53c8aff | [
"MIT"
] | 6 | 2016-10-17T13:48:16.000Z | 2021-03-28T20:40:14.000Z | """
shell
-----
The ``shell`` task allows executing a shell command with specified arguments
inside the bolt execution context. This task comes handy when no bolt
specific implementation has been provided for a particular task or to invoke
an existing script that should be included as part of the process.
The trade-... | 27.651515 | 97 | 0.684932 | 244 | 1,825 | 5.012295 | 0.479508 | 0.053966 | 0.04906 | 0.029436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000699 | 0.21589 | 1,825 | 66 | 98 | 27.651515 | 0.853948 | 0.536986 | 0 | 0 | 0 | 0 | 0.072792 | 0 | 0 | 0 | 0 | 0.015152 | 0 | 1 | 0.238095 | false | 0 | 0.142857 | 0.047619 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4fb125af4c440484e4470fb8962ef3eee456b88d | 1,637 | py | Python | drawing.py | JulienLeonard/chichar0 | 5445a867d91022fac4ef09ef3f332c3848659d9a | [
"Apache-2.0"
] | null | null | null | drawing.py | JulienLeonard/chichar0 | 5445a867d91022fac4ef09ef3f332c3848659d9a | [
"Apache-2.0"
] | null | null | null | drawing.py | JulienLeonard/chichar0 | 5445a867d91022fac4ef09ef3f332c3848659d9a | [
"Apache-2.0"
] | null | null | null | from google.appengine.api import users
from google.appengine.ext import ndb
import webapp2
from mydicts import *
from myschemas import *
from myadmin import *
from utils import *
DRAWING_TEMPLATE = """\
<head>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
... | 35.586957 | 87 | 0.676237 | 192 | 1,637 | 5.755208 | 0.333333 | 0.079638 | 0.126697 | 0.217195 | 0.445249 | 0.445249 | 0.445249 | 0.400905 | 0.360181 | 0 | 0 | 0.002896 | 0.156384 | 1,637 | 45 | 88 | 36.377778 | 0.797248 | 0.025046 | 0 | 0.058824 | 0 | 0.058824 | 0.743374 | 0.488041 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.205882 | 0 | 0.264706 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
96d390a81fe997bb45e8008f597c1e2437cb2c75 | 1,324 | py | Python | gitfs/utils/commits.py | whywaita/gitfs | cf92acc1fdb0bf93d5998f223d9ef7b285bd74b1 | [
"Apache-2.0"
] | 921 | 2018-03-27T16:26:14.000Z | 2022-03-31T12:39:34.000Z | gitfs/utils/commits.py | whywaita/gitfs | cf92acc1fdb0bf93d5998f223d9ef7b285bd74b1 | [
"Apache-2.0"
] | 104 | 2015-01-20T21:31:25.000Z | 2018-02-21T21:14:21.000Z | gitfs/utils/commits.py | whywaita/gitfs | cf92acc1fdb0bf93d5998f223d9ef7b285bd74b1 | [
"Apache-2.0"
] | 90 | 2015-01-05T12:59:11.000Z | 2018-03-25T15:16:34.000Z | # Copyright 2014-2016 Presslabs SRL
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 30.090909 | 74 | 0.689577 | 179 | 1,324 | 4.921788 | 0.469274 | 0.087401 | 0.029512 | 0.036322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.220544 | 1,324 | 43 | 75 | 30.790698 | 0.842054 | 0.418429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.380952 | false | 0 | 0 | 0.238095 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
96d4e7142b74fafdfc85ce1931a77363ac4e287d | 4,228 | py | Python | tests/bugs/core_4528_test.py | reevespaul/firebird-qa | 98f16f425aa9ab8ee63b86172f959d63a2d76f21 | [
"MIT"
] | null | null | null | tests/bugs/core_4528_test.py | reevespaul/firebird-qa | 98f16f425aa9ab8ee63b86172f959d63a2d76f21 | [
"MIT"
] | null | null | null | tests/bugs/core_4528_test.py | reevespaul/firebird-qa | 98f16f425aa9ab8ee63b86172f959d63a2d76f21 | [
"MIT"
] | null | null | null | #coding:utf-8
#
# id: bugs.core_4528
# title: Allow hash/merge joins for non-field (dbkey or derived expression) equalities
# decription: NB: currently join oth three and more sources made by USING or NATURAL clauses will use NL. See CORE-4809
# tracker_id: CORE-4528
# min_versions: ['3.0']
# versi... | 34.655738 | 121 | 0.600047 | 715 | 4,228 | 3.45035 | 0.183217 | 0.082692 | 0.093636 | 0.164572 | 0.648561 | 0.648561 | 0.644102 | 0.634374 | 0.634374 | 0.619376 | 0 | 0.023615 | 0.248817 | 4,228 | 121 | 122 | 34.942149 | 0.753149 | 0.086329 | 0 | 0.534884 | 0 | 0.093023 | 0.871202 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 1 | 0.011628 | false | 0 | 0.023256 | 0 | 0.034884 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
96dad789d20497397deda3b8ec5a4b01ffc8fead | 439 | py | Python | apps/main_home.py | LEEGIYEONG/StockPrediction | f84b62940830277e6affbd0419162482390e59e8 | [
"MIT"
] | null | null | null | apps/main_home.py | LEEGIYEONG/StockPrediction | f84b62940830277e6affbd0419162482390e59e8 | [
"MIT"
] | null | null | null | apps/main_home.py | LEEGIYEONG/StockPrediction | f84b62940830277e6affbd0419162482390e59e8 | [
"MIT"
] | null | null | null | import streamlit as st
def app():
st.title('예측 알고리즘의 설명')
st.write('LSTM : KOSPI 주가지수의 종가를 수집하고 딥러닝 기법인 LSTM모델을 사용하여 5일 이상의 KOSPI종가를 예측한다. (X 축 : 날짜, Y 축 : 주가 가격)')
st.write('NeuralProphet : KOSPI 주가지수의 종가를 수집하고 딥러닝 기법인 NeuralProphet모델을 사용하여 5일 이상의 KOSPI종가를 예측한다. (X 축 : 날짜, Y 축 : 주가 가격)')
... | 39.909091 | 129 | 0.649203 | 79 | 439 | 3.607595 | 0.632911 | 0.073684 | 0.091228 | 0.119298 | 0.42807 | 0.42807 | 0.266667 | 0.266667 | 0.266667 | 0.266667 | 0 | 0.006135 | 0.257403 | 439 | 10 | 130 | 43.9 | 0.868098 | 0 | 0 | 0 | 0 | 0.5 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c0df83be6995dba0d9954a7bcde64ffac591926 | 145 | py | Python | sample.py | petkovacs19/rnn-model | a448ca1a8022691b843a707e9f85066dd9377e40 | [
"MIT"
] | 1 | 2018-03-19T12:55:33.000Z | 2018-03-19T12:55:33.000Z | sample.py | petkovacs19/rnn-model | a448ca1a8022691b843a707e9f85066dd9377e40 | [
"MIT"
] | null | null | null | sample.py | petkovacs19/rnn-model | a448ca1a8022691b843a707e9f85066dd9377e40 | [
"MIT"
] | null | null | null | from lstm_model import LSTMModel
if __name__ == "__main__":
lstm_model = LSTMModel.create_from_args(is_sample_mode=True)
lstm_model.run() | 36.25 | 64 | 0.77931 | 21 | 145 | 4.666667 | 0.714286 | 0.27551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 4 | 65 | 36.25 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c14860170e49400dae8ff84cec28eecfa07c6d4 | 40,626 | py | Python | pysnmp-with-texts/HUAWEI-FR-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/HUAWEI-FR-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/HUAWEI-FR-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module HUAWEI-FR-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-FR-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:44:41 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 201... | 144.06383 | 3,498 | 0.778689 | 4,896 | 40,626 | 6.460989 | 0.074346 | 0.060317 | 0.105554 | 0.011001 | 0.609048 | 0.452218 | 0.391743 | 0.375684 | 0.342585 | 0.328549 | 0 | 0.069381 | 0.09425 | 40,626 | 281 | 3,499 | 144.576512 | 0.790282 | 0.007877 | 0 | 0.032967 | 0 | 0.216117 | 0.309899 | 0.021788 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029304 | 0 | 0.029304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c342f35834e81de2bf0d4d846cb4218b4dc5735 | 110 | py | Python | examples/widgets/spinner/lv_example_spinner_1.py | nickzhuang0613/lvgl | b7e6f6763d6fa967bacaca5a60ee33321f73c8a5 | [
"MIT"
] | 5,238 | 2020-05-18T13:08:59.000Z | 2022-03-31T21:38:16.000Z | examples/widgets/spinner/lv_example_spinner_1.py | imliubo/lvgl | 93c1303ee7989d25216262e1d0ea244b59b975f6 | [
"MIT"
] | 1,590 | 2020-05-18T09:47:07.000Z | 2022-03-31T23:26:41.000Z | examples/widgets/spinner/lv_example_spinner_1.py | imliubo/lvgl | 93c1303ee7989d25216262e1d0ea244b59b975f6 | [
"MIT"
] | 1,214 | 2020-05-19T00:45:08.000Z | 2022-03-31T06:41:13.000Z | # Create a spinner
spinner = lv.spinner(lv.scr_act(), 1000, 60)
spinner.set_size(100, 100)
spinner.center()
| 15.714286 | 44 | 0.718182 | 18 | 110 | 4.277778 | 0.666667 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.127273 | 110 | 6 | 45 | 18.333333 | 0.677083 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c441d3c9d6d1122633cadc5c87cb37094e32bb2 | 794 | py | Python | games/aml_collecto.py | RensOliemans/muzero-general | 9305902882de88dc9c9cdaea2a880374e041bddf | [
"MIT"
] | null | null | null | games/aml_collecto.py | RensOliemans/muzero-general | 9305902882de88dc9c9cdaea2a880374e041bddf | [
"MIT"
] | null | null | null | games/aml_collecto.py | RensOliemans/muzero-general | 9305902882de88dc9c9cdaea2a880374e041bddf | [
"MIT"
] | null | null | null | from games.collecto.action import Action
from games.collecto.collecto import Collecto
from games.abstract_game import AbstractGame
from games.collecto.muzero_config import MuZeroConfig
class Game(AbstractGame):
def __init__(self, seed=None):
self.env = Collecto()
def step(self, action):
retu... | 24.060606 | 53 | 0.686398 | 107 | 794 | 4.925234 | 0.373832 | 0.092979 | 0.12334 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219144 | 794 | 32 | 54 | 24.8125 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.034005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.181818 | 0.272727 | 0.863636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8c4a831edac3ecb2b18e28a7336197bebcef6479 | 271 | py | Python | Ex026.py | andrade-lcs/ex_curso_em_video_python | f2d029efe7a20cdf0fcb5b602f9992e27d37c263 | [
"MIT"
] | null | null | null | Ex026.py | andrade-lcs/ex_curso_em_video_python | f2d029efe7a20cdf0fcb5b602f9992e27d37c263 | [
"MIT"
] | null | null | null | Ex026.py | andrade-lcs/ex_curso_em_video_python | f2d029efe7a20cdf0fcb5b602f9992e27d37c263 | [
"MIT"
] | null | null | null | a = str(input('Digite uma frase: ')).strip().upper()
print('A letra "a" aparece {} vezez.'.format(a.count('A')))
print('A letra "a" aparece pela primeira vez na posição {}.'.format(a.find('A')+1))
print('A última letra "a" aparece na posição {}.'.format(a.rfind('A')+1))
| 54.2 | 83 | 0.642066 | 46 | 271 | 3.782609 | 0.5 | 0.103448 | 0.224138 | 0.137931 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008299 | 0.110701 | 271 | 4 | 84 | 67.75 | 0.713693 | 0 | 0 | 0 | 0 | 0 | 0.527675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
8c4b751c19289b1b9cb6d1068909e82b567e6bb8 | 2,546 | py | Python | src/casserver/registry/__init__.py | jrialland/python-casserver | d32c2fe72ef87d078f4a57ae173478f66f066226 | [
"Apache-2.0"
] | null | null | null | src/casserver/registry/__init__.py | jrialland/python-casserver | d32c2fe72ef87d078f4a57ae173478f66f066226 | [
"Apache-2.0"
] | null | null | null | src/casserver/registry/__init__.py | jrialland/python-casserver | d32c2fe72ef87d078f4a57ae173478f66f066226 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
from abc import ABCMeta, abstractmethod
class Ticket:
pass
class LoginTicket(Ticket):
__slots__ = ('lt')
def __init__(self, lt):
self.lt = lt
class TicketGrantingTicket(Ticket):
__slots__ = ('tgt', 'username')
def __init__(self, tgt, username):
self.tgt... | 25.717172 | 78 | 0.656716 | 265 | 2,546 | 6.071698 | 0.286792 | 0.116221 | 0.212554 | 0.229335 | 0.241144 | 0.070851 | 0.070851 | 0 | 0 | 0 | 0 | 0.000535 | 0.265907 | 2,546 | 98 | 79 | 25.979592 | 0.860353 | 0.188138 | 0 | 0.473684 | 0 | 0 | 0.024165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.035088 | 0.017544 | 0 | 0.45614 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c4fa6b54bc174987598510143da6dbc727f1b1b | 226 | py | Python | setup.py | Filippo125/k8s-deploy-external-dns | b83c74c7e00c9566088a232ce0c5da98b23f8198 | [
"MIT"
] | null | null | null | setup.py | Filippo125/k8s-deploy-external-dns | b83c74c7e00c9566088a232ce0c5da98b23f8198 | [
"MIT"
] | null | null | null | setup.py | Filippo125/k8s-deploy-external-dns | b83c74c7e00c9566088a232ce0c5da98b23f8198 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='k8s-deploy-external-dns',
version='1.0.0',
packages=['provider'],
url='',
license='',
author='Filippo Ferrazini',
author_email='filippo.ferrazini@gmail.com',
description=''
)
| 17.384615 | 44 | 0.70354 | 28 | 226 | 5.642857 | 0.821429 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.106195 | 226 | 12 | 45 | 18.833333 | 0.762376 | 0 | 0 | 0 | 0 | 0 | 0.353982 | 0.221239 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4ff22fc9ae68eaac36909de8c15b378e2cf2d295 | 51 | py | Python | urb/__init__.py | addyett/urb | d2840182bd6477f9f7fa32aa34bbc1ee6ff7ab84 | [
"MIT"
] | null | null | null | urb/__init__.py | addyett/urb | d2840182bd6477f9f7fa32aa34bbc1ee6ff7ab84 | [
"MIT"
] | null | null | null | urb/__init__.py | addyett/urb | d2840182bd6477f9f7fa32aa34bbc1ee6ff7ab84 | [
"MIT"
] | null | null | null |
from urb.wrappers import (
google,
urban
) | 10.2 | 26 | 0.627451 | 6 | 51 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 51 | 5 | 27 | 10.2 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4ff85e82bb9a7de016d08dd3a54fa082e781e05c | 983 | py | Python | ui_tests/caseworker/fixtures/add_a_document_template.py | django-doctor/lite-frontend | 330ff9575fd22d7c4c42698ac2d653244e6180d6 | [
"MIT"
] | 4 | 2019-05-31T06:57:25.000Z | 2020-01-31T14:20:29.000Z | ui_tests/caseworker/fixtures/add_a_document_template.py | django-doctor/lite-frontend | 330ff9575fd22d7c4c42698ac2d653244e6180d6 | [
"MIT"
] | 45 | 2020-08-11T14:37:46.000Z | 2022-03-29T17:03:02.000Z | ui_automation_tests/fixtures/add_a_document_template.py | uktrade/lite-internal-frontend | 39151854b1225f7956963a22ef1a8beb6897eccf | [
"MIT"
] | 3 | 2021-02-01T06:26:19.000Z | 2022-02-21T23:02:46.000Z | from pytest import fixture
@fixture(scope="module")
def add_a_document_template(context, api_test_client):
document_template = api_test_client.document_templates.add_template(api_test_client.picklists)
context.document_template_id = document_template["id"]
context.document_template_name = document_templat... | 37.807692 | 98 | 0.805697 | 130 | 983 | 5.653846 | 0.230769 | 0.261224 | 0.159184 | 0.142857 | 0.346939 | 0.240816 | 0.240816 | 0.187755 | 0.187755 | 0.187755 | 0 | 0.002227 | 0.08647 | 983 | 25 | 99 | 39.32 | 0.816258 | 0 | 0 | 0.176471 | 0 | 0 | 0.066124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0.176471 | 0.470588 | 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 | 0 | 0 | 0 | 3 |
4ffb683fae94810cb29301c5eedcbb4d9ae6067c | 16,106 | py | Python | bpnet/heads.py | liesaweigert/bpnet | fdbe58b47521e7b0c6fa5e31dff52797cfb4b8ba | [
"MIT"
] | null | null | null | bpnet/heads.py | liesaweigert/bpnet | fdbe58b47521e7b0c6fa5e31dff52797cfb4b8ba | [
"MIT"
] | null | null | null | bpnet/heads.py | liesaweigert/bpnet | fdbe58b47521e7b0c6fa5e31dff52797cfb4b8ba | [
"MIT"
] | null | null | null | """Head modules
"""
import numpy as np
from bpnet.utils import dict_prefix_key
from bpnet.metrics import ClassificationMetrics, RegressionMetrics
import keras.backend as K
import tensorflow as tf
import keras.layers as kl
import gin
import os
import abc
from bpnet.losses import ignoreNaNloss
class BaseHead:
# lo... | 33.004098 | 101 | 0.56836 | 1,993 | 16,106 | 4.43151 | 0.127948 | 0.036685 | 0.018116 | 0.019135 | 0.730752 | 0.726449 | 0.695992 | 0.690104 | 0.673347 | 0.664629 | 0 | 0.003503 | 0.344157 | 16,106 | 487 | 102 | 33.071869 | 0.832623 | 0.25475 | 0 | 0.792254 | 0 | 0 | 0.015072 | 0 | 0 | 0 | 0 | 0.004107 | 0 | 1 | 0.112676 | false | 0.014085 | 0.038732 | 0.028169 | 0.271127 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4ffbfe40f6ed2956479663682e101f7286140afd | 668 | py | Python | solfasol/shop/migrations/0003_auto_20201004_2109.py | rekognize/solfasol | c960c3364c753d75161242eccac4f085d800c843 | [
"MIT"
] | null | null | null | solfasol/shop/migrations/0003_auto_20201004_2109.py | rekognize/solfasol | c960c3364c753d75161242eccac4f085d800c843 | [
"MIT"
] | 1 | 2020-06-18T13:08:47.000Z | 2020-06-18T13:08:47.000Z | solfasol/shop/migrations/0003_auto_20201004_2109.py | Solfasol/solfasol | c960c3364c753d75161242eccac4f085d800c843 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.1 on 2020-10-04 18:09
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('shop', '0002_auto_20201004_2059'),
]
operations = [
migrations.RemoveField(
model_name='cartitem',
name='cart',
),
... | 20.875 | 47 | 0.51497 | 57 | 668 | 5.929825 | 0.561404 | 0.186391 | 0.230769 | 0.266272 | 0.431953 | 0.248521 | 0 | 0 | 0 | 0 | 0 | 0.073634 | 0.36976 | 668 | 31 | 48 | 21.548387 | 0.729216 | 0.067365 | 0 | 0.56 | 1 | 0 | 0.115942 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8b0360092fdabfe67a11f007a90579ea2c438112 | 2,189 | py | Python | test/dockerfile/instructions/run_test.py | fi-ts/docker-make | e434ff783bd07cf2377bba36bf29528182af883d | [
"MIT"
] | 2 | 2020-04-28T08:12:56.000Z | 2021-06-19T00:59:16.000Z | test/dockerfile/instructions/run_test.py | fi-ts/docker-make | e434ff783bd07cf2377bba36bf29528182af883d | [
"MIT"
] | 5 | 2020-07-30T07:06:57.000Z | 2021-04-20T09:44:23.000Z | test/dockerfile/instructions/run_test.py | fi-ts/docker-make | e434ff783bd07cf2377bba36bf29528182af883d | [
"MIT"
] | 2 | 2020-08-18T08:39:01.000Z | 2021-04-20T13:24:18.000Z | from test.instructions import *
from test.dockerfile.instructions import InstructionTest
class RunTest(InstructionTest):
def test_with_exec_form(self):
instruction = Run('["/bin/bash", "-c", "echo hello"]')
expected = dict(arguments=["/bin/bash", "-c", "echo hello"])
self.typical_positive... | 45.604167 | 112 | 0.668342 | 253 | 2,189 | 5.581028 | 0.27668 | 0.029745 | 0.046742 | 0.127479 | 0.795326 | 0.769122 | 0.748584 | 0.675637 | 0.675637 | 0.630312 | 0 | 0.00559 | 0.182732 | 2,189 | 47 | 113 | 46.574468 | 0.783678 | 0 | 0 | 0.323529 | 0 | 0.088235 | 0.2077 | 0.011882 | 0 | 0 | 0 | 0 | 0.323529 | 1 | 0.176471 | false | 0 | 0.058824 | 0 | 0.264706 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8b0a100d356ede059b566f6a7e950d06d7bfa9cd | 201 | py | Python | server/model/action.py | jpsachse/megajules3000 | 26ae071cf6456e96d042eaa2239cbaa65113f903 | [
"CC-BY-3.0",
"CC-BY-4.0"
] | null | null | null | server/model/action.py | jpsachse/megajules3000 | 26ae071cf6456e96d042eaa2239cbaa65113f903 | [
"CC-BY-3.0",
"CC-BY-4.0"
] | null | null | null | server/model/action.py | jpsachse/megajules3000 | 26ae071cf6456e96d042eaa2239cbaa65113f903 | [
"CC-BY-3.0",
"CC-BY-4.0"
] | null | null | null | class Action():
def __init__(self, id=-1, type="", next_action=None, content=""):
self.type = type
self.next_action = next_action
self.content = content
self.id = id | 33.5 | 69 | 0.59204 | 26 | 201 | 4.307692 | 0.423077 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.273632 | 201 | 6 | 70 | 33.5 | 0.760274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
8b113edc1e16d95caadb7a9b641b65b783dd73fe | 30,533 | py | Python | tests/observatory/dags/telescopes/test_fundref.py | bmkramer/observatory-platform | 0f1e439df386d255b521730eea9dc396831842cd | [
"Apache-2.0"
] | null | null | null | tests/observatory/dags/telescopes/test_fundref.py | bmkramer/observatory-platform | 0f1e439df386d255b521730eea9dc396831842cd | [
"Apache-2.0"
] | null | null | null | tests/observatory/dags/telescopes/test_fundref.py | bmkramer/observatory-platform | 0f1e439df386d255b521730eea9dc396831842cd | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Curtin University
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 63.084711 | 120 | 0.57803 | 3,455 | 30,533 | 4.963242 | 0.112012 | 0.064731 | 0.097096 | 0.129461 | 0.781724 | 0.765279 | 0.741136 | 0.683695 | 0.673606 | 0.673606 | 0 | 0.146455 | 0.265156 | 30,533 | 483 | 121 | 63.215321 | 0.617819 | 0.074182 | 0 | 0.485294 | 0 | 0.008824 | 0.385731 | 0.044892 | 0 | 0 | 0 | 0 | 0.085294 | 1 | 0.035294 | false | 0 | 0.044118 | 0 | 0.082353 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8b131b8b8e80fb9df82547de3888b711ed2d6496 | 4,836 | py | Python | example/direct_policy_search_for_gym/example.py | Burning-Bear/ZOOpt | 0d285641225dfcda8b81a97e2aa24aa1108863ef | [
"MIT"
] | null | null | null | example/direct_policy_search_for_gym/example.py | Burning-Bear/ZOOpt | 0d285641225dfcda8b81a97e2aa24aa1108863ef | [
"MIT"
] | null | null | null | example/direct_policy_search_for_gym/example.py | Burning-Bear/ZOOpt | 0d285641225dfcda8b81a97e2aa24aa1108863ef | [
"MIT"
] | null | null | null |
from gym_task import GymTask
from zoopt import Dimension, Objective, Parameter, Opt, Solution
"""
Function run_test is defined in this file. You can run this file to get results of this example.
Author:
Yuren Liu
"""
# test function
# in_layers means layers information. eg. [2, 5, 1] means input layer has 2 ... | 37.488372 | 114 | 0.665633 | 690 | 4,836 | 4.437681 | 0.221739 | 0.058785 | 0.020575 | 0.031352 | 0.710647 | 0.710647 | 0.679295 | 0.644024 | 0.644024 | 0.644024 | 0 | 0.05322 | 0.222912 | 4,836 | 128 | 115 | 37.78125 | 0.761575 | 0.29239 | 0 | 0.716049 | 0 | 0 | 0.05895 | 0.01658 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024691 | false | 0 | 0.024691 | 0 | 0.049383 | 0.185185 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8b1408397bdd6173ebeebea3f7ea0ff962fbaa89 | 247 | py | Python | poem/Poem/django_logging.py | kevangel79/poem-2 | 75cda3cdd302df9c85b963bd91b7ce7182dfa220 | [
"Apache-2.0"
] | null | null | null | poem/Poem/django_logging.py | kevangel79/poem-2 | 75cda3cdd302df9c85b963bd91b7ce7182dfa220 | [
"Apache-2.0"
] | 139 | 2020-04-06T09:22:16.000Z | 2021-08-02T06:39:22.000Z | poem/Poem/django_logging.py | kevangel79/poem-2 | 75cda3cdd302df9c85b963bd91b7ce7182dfa220 | [
"Apache-2.0"
] | 3 | 2019-07-10T09:37:38.000Z | 2020-04-02T10:48:38.000Z | import logging.config
from django.conf import settings
__all__ = ('django_logging')
class _Logging(object):
def __init__(self):
logging.config.fileConfig(settings.LOG_CONFIG)
LOG = _Logging()
def django_logging():
return LOG
| 15.4375 | 54 | 0.728745 | 30 | 247 | 5.566667 | 0.533333 | 0.155689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174089 | 247 | 15 | 55 | 16.466667 | 0.818627 | 0 | 0 | 0 | 0 | 0 | 0.056911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8b14e5168e4b52c346ce871482280a82d33e8694 | 419 | py | Python | datamart/profilers/two_raven_profiler.py | liangmuxin/datamart | 495a21588db39c9ad239409208bec701dca07f30 | [
"MIT"
] | null | null | null | datamart/profilers/two_raven_profiler.py | liangmuxin/datamart | 495a21588db39c9ad239409208bec701dca07f30 | [
"MIT"
] | null | null | null | datamart/profilers/two_raven_profiler.py | liangmuxin/datamart | 495a21588db39c9ad239409208bec701dca07f30 | [
"MIT"
] | null | null | null | import pandas as pd
class TwoRavenProfiler(object):
def __init__(self):
pass
def profile(self, inputs: pd.DataFrame, metadata: dict) -> dict:
"""Save metadata json to file.
Args:
inputs: pandas dataframe
metadata: dict
Returns:
dict
... | 19.045455 | 68 | 0.570406 | 45 | 419 | 5.2 | 0.711111 | 0.145299 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357995 | 419 | 21 | 69 | 19.952381 | 0.869888 | 0.379475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8b1ed84cc679914d88214f2116d533edfd8021c4 | 3,365 | py | Python | padqc/gates/single_q_gates.py | qis-unipr/padqc | 94599db20711dc755b53425951fa3cb15b749f64 | [
"Apache-2.0"
] | null | null | null | padqc/gates/single_q_gates.py | qis-unipr/padqc | 94599db20711dc755b53425951fa3cb15b749f64 | [
"Apache-2.0"
] | null | null | null | padqc/gates/single_q_gates.py | qis-unipr/padqc | 94599db20711dc755b53425951fa3cb15b749f64 | [
"Apache-2.0"
] | 1 | 2021-02-18T22:11:18.000Z | 2021-02-18T22:11:18.000Z | from padqc.gates.base_gates import SingleQGate
class Id(SingleQGate):
"""
The identity gate.
"""
def __init__(self, q):
"""
Args:
q (tuple): (q_reg_id, q_reg_index)
"""
super().__init__('id', q)
class Pauli_X(SingleQGate):
"""
The Pauli X gate.
... | 19.794118 | 55 | 0.488559 | 386 | 3,365 | 3.909326 | 0.119171 | 0.047714 | 0.065606 | 0.071571 | 0.744201 | 0.675944 | 0.675944 | 0.662691 | 0.638834 | 0.638834 | 0 | 0 | 0.375929 | 3,365 | 169 | 56 | 19.911243 | 0.718571 | 0.282912 | 0 | 0.625 | 0 | 0 | 0.020822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265625 | false | 0 | 0.015625 | 0.015625 | 0.546875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8b45322a274a0ac0d3403f0614e0cccb8627ef6c | 639 | py | Python | source/datasets/custom_dataset_base.py | elangovana/kegg-pathway-extractor | 08e9a28199bb4454e2e1a09c5d833f243f6f5768 | [
"MIT"
] | 10 | 2019-12-17T01:17:06.000Z | 2022-02-25T22:08:09.000Z | source/datasets/custom_dataset_base.py | elangovana/kegg-pathway-extractor | 08e9a28199bb4454e2e1a09c5d833f243f6f5768 | [
"MIT"
] | 2 | 2021-03-31T18:40:32.000Z | 2021-12-13T20:15:20.000Z | source/datasets/custom_dataset_base.py | elangovana/kegg-pathway-extractor | 08e9a28199bb4454e2e1a09c5d833f243f6f5768 | [
"MIT"
] | 2 | 2020-08-25T19:31:33.000Z | 2021-11-11T15:15:02.000Z | from torch.utils.data import Dataset
class CustomDatasetBase(Dataset):
@property
def class_size(self):
raise NotImplementedError
@property
def positive_label(self):
raise NotImplementedError
@property
def feature_lens(self):
raise NotImplementedError
@property
... | 19.363636 | 42 | 0.690141 | 64 | 639 | 6.71875 | 0.484375 | 0.17907 | 0.390698 | 0.502326 | 0.572093 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256651 | 639 | 32 | 43 | 19.96875 | 0.905263 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0.043478 | 0.043478 | 0.434783 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c915e752e9f610b3ab98ae8c01db6bf045dd579 | 3,140 | py | Python | bitnob/lightning.py | bitnob/bitnob_python_sdk | 0526d7756f1df79e32504290ab71ef2aae5508f5 | [
"BSD-3-Clause"
] | 2 | 2021-11-11T20:55:14.000Z | 2021-11-27T19:34:19.000Z | bitnob/lightning.py | bitnob/bitnob_python_sdk | 0526d7756f1df79e32504290ab71ef2aae5508f5 | [
"BSD-3-Clause"
] | null | null | null | bitnob/lightning.py | bitnob/bitnob_python_sdk | 0526d7756f1df79e32504290ab71ef2aae5508f5 | [
"BSD-3-Clause"
] | null | null | null | from bitnob.base import Bitnob
class Lightning(Bitnob):
def create_invoice(self, body:dict):
"""
Creating lightning invoice for customer
body = {
"description": "xxxxxxxxx",
"tokens": 1000,
"private": false,
"is_including_private_chann... | 40.779221 | 368 | 0.717834 | 196 | 3,140 | 11.321429 | 0.306122 | 0.032447 | 0.031546 | 0.047319 | 0.500225 | 0.46237 | 0.46237 | 0.447048 | 0.447048 | 0.447048 | 0 | 0.114984 | 0.205096 | 3,140 | 77 | 369 | 40.779221 | 0.774038 | 0.553822 | 0 | 0.210526 | 0 | 0 | 0.182883 | 0.095496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0 | 0.631579 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8ccbad4865a313a065813af282ebf0af71046a3b | 580 | py | Python | approvaltests/reporters/received_file_launcher_reporter.py | claremacrae/ApprovalTests.Python | 3f27ca334b02937379b39285cb002b50034d0620 | [
"Apache-2.0"
] | null | null | null | approvaltests/reporters/received_file_launcher_reporter.py | claremacrae/ApprovalTests.Python | 3f27ca334b02937379b39285cb002b50034d0620 | [
"Apache-2.0"
] | null | null | null | approvaltests/reporters/received_file_launcher_reporter.py | claremacrae/ApprovalTests.Python | 3f27ca334b02937379b39285cb002b50034d0620 | [
"Apache-2.0"
] | null | null | null | from subprocess import call
from approvaltests.core.reporter import Reporter
class ReceivedFileLauncherReporter(Reporter):
"""
A blocking reporter that attempts to
open the received file using the
system default text file viewer.
Note: only works on Windows for now.
"""
@staticmethod
... | 26.363636 | 70 | 0.710345 | 71 | 580 | 5.647887 | 0.619718 | 0.119701 | 0.149626 | 0.179551 | 0.169576 | 0.169576 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208621 | 580 | 21 | 71 | 27.619048 | 0.873638 | 0.241379 | 0 | 0 | 0 | 0 | 0.029126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
8cedee903147bfe617dfbd494ff6517151ea4a55 | 84 | py | Python | teste def.py | ibianco91/demais_conteudos | 74ab090909b29b5990b8e8457e6c9a4059e1a452 | [
"MIT"
] | null | null | null | teste def.py | ibianco91/demais_conteudos | 74ab090909b29b5990b8e8457e6c9a4059e1a452 | [
"MIT"
] | null | null | null | teste def.py | ibianco91/demais_conteudos | 74ab090909b29b5990b8e8457e6c9a4059e1a452 | [
"MIT"
] | null | null | null | def saudacao():
nome = input('Qual seu nome?')
print(f'ola {nome}')
saudacao() | 21 | 32 | 0.619048 | 12 | 84 | 4.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 4 | 33 | 21 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8cfee9253302265300f2468d6dbdaf10e3567153 | 2,041 | py | Python | analytics_management/migrations/0002_auto_20211106_0127.py | mattiolato98/reservation-ninja | 0e50b218dd9d90f134868bade2ec2934283c12b5 | [
"MIT"
] | 1 | 2022-03-10T11:34:14.000Z | 2022-03-10T11:34:14.000Z | analytics_management/migrations/0002_auto_20211106_0127.py | mattiolato98/reservation-ninja | 0e50b218dd9d90f134868bade2ec2934283c12b5 | [
"MIT"
] | null | null | null | analytics_management/migrations/0002_auto_20211106_0127.py | mattiolato98/reservation-ninja | 0e50b218dd9d90f134868bade2ec2934283c12b5 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.7 on 2021-11-06 00:27
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('analytics_management', '0001_initial'),
]
operations = [
migrations.RunSQL("""
INSERT INTO analytics_management_log (
... | 26.506494 | 61 | 0.33856 | 119 | 2,041 | 5.571429 | 0.344538 | 0.143288 | 0.090498 | 0.120664 | 0.624434 | 0.624434 | 0.425339 | 0.425339 | 0.425339 | 0.425339 | 0 | 0.02402 | 0.612445 | 2,041 | 76 | 62 | 26.855263 | 0.814159 | 0.022048 | 0 | 0.695652 | 1 | 0 | 0.870612 | 0.112337 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014493 | 0 | 0.057971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
509d778a73d4b9fe0c81366c58646aa19145e9ac | 370 | py | Python | companies/models.py | Yojanpardo/desechables | 037435d0aaa18f06c784932e3e7e643ee4172692 | [
"Apache-2.0"
] | null | null | null | companies/models.py | Yojanpardo/desechables | 037435d0aaa18f06c784932e3e7e643ee4172692 | [
"Apache-2.0"
] | null | null | null | companies/models.py | Yojanpardo/desechables | 037435d0aaa18f06c784932e3e7e643ee4172692 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class Company(models.Model):
name = models.CharField(max_lengt=255)
nit = models.CharField(max_lengt=20)
dian_resolution = models.CharField(max_lengt=50)
dian_resolution_date = models.DateField()
maximum_authorized = models.BigIntegerField()
... | 30.833333 | 52 | 0.759459 | 45 | 370 | 6.066667 | 0.6 | 0.164835 | 0.197802 | 0.252747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.148649 | 370 | 11 | 53 | 33.636364 | 0.844444 | 0.064865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
50be72f39819c1393ea00d85f1c1d97fc1e9c457 | 780 | py | Python | lojaPy/usuarios/testes/test_models.py | Guiamba1/site | 4f9b3f50e80e7f55da573bce7b120df96b622396 | [
"MIT"
] | null | null | null | lojaPy/usuarios/testes/test_models.py | Guiamba1/site | 4f9b3f50e80e7f55da573bce7b120df96b622396 | [
"MIT"
] | null | null | null | lojaPy/usuarios/testes/test_models.py | Guiamba1/site | 4f9b3f50e80e7f55da573bce7b120df96b622396 | [
"MIT"
] | null | null | null | import pytest
from ..models import Usuario
pytestmark = pytest.mark.django_db
def test_create_user():
usuarios = Usuario.objects.create_user(
username="usuario_test", email="usuario@test.com", password="passw0rd"
)
assert usuarios.username == "usuario_test"
assert usuarios.email == "u... | 27.857143 | 78 | 0.720513 | 95 | 780 | 5.736842 | 0.284211 | 0.205505 | 0.117431 | 0.102752 | 0.293578 | 0.293578 | 0.293578 | 0 | 0 | 0 | 0 | 0.00313 | 0.180769 | 780 | 28 | 79 | 27.857143 | 0.849765 | 0 | 0 | 0.095238 | 0 | 0 | 0.153649 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.095238 | false | 0.095238 | 0.095238 | 0 | 0.190476 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
50d4c0945a5cfcb001c9a0b6c1da8984201d99d6 | 2,454 | py | Python | project_name/project_name/libs/validators.py | gonzaloamadio/django2-template | e4aa978cddcc648ff3fe911fc5af5265146715a7 | [
"MIT"
] | 1 | 2018-10-23T00:54:07.000Z | 2018-10-23T00:54:07.000Z | project_name/project_name/libs/validators.py | gonzaloamadio/django2-template | e4aa978cddcc648ff3fe911fc5af5265146715a7 | [
"MIT"
] | null | null | null | project_name/project_name/libs/validators.py | gonzaloamadio/django2-template | e4aa978cddcc648ff3fe911fc5af5265146715a7 | [
"MIT"
] | null | null | null | class OtherFieldValidatorInSerializer:
"""
A validator to be inherited from, that will give use the
possibility of validate two fields.
More exaplanation on comments along the code.
TODO: Easily extensible to a list of fields
USAGE EXAMPLE:
(For a model that has to fiel... | 38.952381 | 93 | 0.649144 | 314 | 2,454 | 4.93949 | 0.423567 | 0.090264 | 0.036106 | 0.02579 | 0.02579 | 0.02579 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290546 | 2,454 | 62 | 94 | 39.580645 | 0.890867 | 0.618989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 1 | 0.25 | false | 0.0625 | 0 | 0 | 0.375 | 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 | 0 | 0 | 0 | 3 |
50ea7ea01ee719f1d0ea68d7d5d1b7b40a399887 | 96 | py | Python | problem/10000~19999/12904/12904.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/10000~19999/12904/12904.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/10000~19999/12904/12904.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | x,y=input(),input()
while x!=y and y:
if y[-1]=='A': y=y[:-1]
else: y=y[-2::-1]
print(+(x==y)) | 19.2 | 24 | 0.479167 | 24 | 96 | 1.916667 | 0.458333 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.125 | 96 | 5 | 25 | 19.2 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
50f9ce40caf9ebab018648948b6f09c27e15e45d | 388 | py | Python | tf2bert/models/roberta.py | allenwind/tf2bert | 9820223559543529d4dcc703e2742ab8fd14d58e | [
"Apache-2.0"
] | 4 | 2021-06-16T02:26:18.000Z | 2021-09-24T11:06:51.000Z | tf2bert/models/roberta.py | allenwind/tf2bert | 9820223559543529d4dcc703e2742ab8fd14d58e | [
"Apache-2.0"
] | null | null | null | tf2bert/models/roberta.py | allenwind/tf2bert | 9820223559543529d4dcc703e2742ab8fd14d58e | [
"Apache-2.0"
] | null | null | null | from .bert import BERT
class RoBERTa(BERT):
"""Facebook的RoBERTa并没有修改BERT模型架构,而是进行更充分的探索,
包括对BERT的模型架构、训练目标等细节上进行充分的实验。不同之处:
- 更充分的训练:更大batch_size、更丰富数据、更长预训练时间
- 移除NSP任务
- 使用动态的mask(在pipeline上动态修改MASK,即输入模型前才做MASK处理)
- 支持更长的序列
- 使用Byte Pair Encoding
[RoBERTa: A Robustly Optimized BERT ... | 27.714286 | 99 | 0.729381 | 39 | 388 | 7.230769 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02795 | 0.170103 | 388 | 13 | 100 | 29.846154 | 0.847826 | 0.770619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0fe491e27d2690559792b122d150eecfb75892e5 | 241 | py | Python | lock/main.py | jonahbron/Lock | 0a4efce207c0ffa5536908e449134ccaf654d6dc | [
"MIT"
] | null | null | null | lock/main.py | jonahbron/Lock | 0a4efce207c0ffa5536908e449134ccaf654d6dc | [
"MIT"
] | null | null | null | lock/main.py | jonahbron/Lock | 0a4efce207c0ffa5536908e449134ccaf654d6dc | [
"MIT"
] | null | null | null | import click
from lock.app import actions
@click.group()
def cli():
'''Lock is a simple tool for the purpose of securely storing and sharing
sensitive information.
'''
cli.add_command(actions.add)
cli.add_command(actions.get)
| 18.538462 | 76 | 0.73029 | 36 | 241 | 4.833333 | 0.722222 | 0.068966 | 0.149425 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174274 | 241 | 12 | 77 | 20.083333 | 0.874372 | 0.381743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ba07375930e64d1716ec24927178f071a4ba3fb2 | 76 | py | Python | python/testData/refactoring/extractmethod/GlobalVarAssignment.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/extractmethod/GlobalVarAssignment.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractmethod/GlobalVarAssignment.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | x = 0
def foo():
global x
bar()
def bar():
global x
x = 1 | 7.6 | 12 | 0.434211 | 13 | 76 | 2.538462 | 0.538462 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.434211 | 76 | 10 | 13 | 7.6 | 0.72093 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba18968d6f9ba2b233aabd6ba774bdebb0a6aca3 | 498 | py | Python | website/message/migrations/0005_auto_20180723_0754.py | m3alamin/message-system | 44b50be1426236483ff14e2ea3ed76755ad81ea8 | [
"MIT"
] | 1 | 2018-07-23T10:51:20.000Z | 2018-07-23T10:51:20.000Z | website/message/migrations/0005_auto_20180723_0754.py | m3alamin/message-system | 44b50be1426236483ff14e2ea3ed76755ad81ea8 | [
"MIT"
] | null | null | null | website/message/migrations/0005_auto_20180723_0754.py | m3alamin/message-system | 44b50be1426236483ff14e2ea3ed76755ad81ea8 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.7 on 2018-07-23 07:54
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('message', '0004_auto_20180723_0723'),
]
operations = [
migrations.RemoveField(
model_name='reader',
name='cc',
),
... | 19.92 | 47 | 0.540161 | 46 | 498 | 5.73913 | 0.652174 | 0.113636 | 0.19697 | 0.227273 | 0.30303 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0.095092 | 0.345382 | 498 | 24 | 48 | 20.75 | 0.714724 | 0.090361 | 0 | 0.388889 | 1 | 0 | 0.126386 | 0.050998 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ba1eec904a66c1b96f3dc9ae8c76f52d9b02baf6 | 1,289 | py | Python | deltasigma/tests/test_plotPZ.py | michi7x7/python-deltasigma | 029e97eb6de748744f62840114ae6725ec5a721b | [
"OLDAP-2.6",
"Python-2.0"
] | 43 | 2015-01-11T14:42:21.000Z | 2022-01-06T13:07:06.000Z | deltasigma/tests/test_plotPZ.py | thomasrussellmurphy/python-deltasigma | 826ccbcfaadc0597e62f55b2d0eda39b26f7c4c1 | [
"OLDAP-2.6",
"Python-2.0"
] | 33 | 2015-06-04T10:47:36.000Z | 2022-01-07T10:20:44.000Z | deltasigma/tests/test_plotPZ.py | thomasrussellmurphy/python-deltasigma | 826ccbcfaadc0597e62f55b2d0eda39b26f7c4c1 | [
"OLDAP-2.6",
"Python-2.0"
] | 39 | 2015-02-10T06:55:58.000Z | 2022-01-20T19:23:44.000Z | # -*- coding: utf-8 -*-
# test_plotPZ.py
# This module provides the tests for the plotPZ function.
# Copyright 2014 Giuseppe Venturini
# This file is part of python-deltasigma.
#
# python-deltasigma is a 1:1 Python replacement of Richard Schreier's
# MATLAB delta sigma toolbox (aka "delsigma"), upon which it is heavil... | 30.690476 | 78 | 0.665632 | 182 | 1,289 | 4.686813 | 0.5 | 0.032825 | 0.042204 | 0.049238 | 0.135991 | 0.077374 | 0.077374 | 0 | 0 | 0 | 0 | 0.030846 | 0.220326 | 1,289 | 41 | 79 | 31.439024 | 0.81791 | 0.581071 | 0 | 0.142857 | 0 | 0 | 0.003968 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.214286 | false | 0.071429 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e83a79c5f103d38875bd77ec218a6dfab81a5037 | 1,372 | py | Python | jumpscale/packages/farmmanagement/actors/farm_management.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | null | null | null | jumpscale/packages/farmmanagement/actors/farm_management.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | null | null | null | jumpscale/packages/farmmanagement/actors/farm_management.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | null | null | null | from jumpscale.servers.gedis.baseactor import BaseActor, actor_method
from jumpscale.clients.explorer.models import Farm
from jumpscale.loader import j
class FarmManagemenet(BaseActor):
def __init__(self):
super().__init__()
self._explorer = j.core.identity.me.explorer
@actor_method
def u... | 31.906977 | 103 | 0.720845 | 198 | 1,372 | 4.661616 | 0.267677 | 0.071506 | 0.106176 | 0.073673 | 0.264355 | 0.264355 | 0.264355 | 0.197183 | 0.119177 | 0.119177 | 0 | 0 | 0.1793 | 1,372 | 42 | 104 | 32.666667 | 0.819716 | 0 | 0 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.096774 | 0.16129 | 0.548387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.