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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a3daad118e5fad562fcd9c13b3b8c5d05fafa86 | 914 | py | Python | test/test_widget_response.py | mxenabled/mx-platform-python | 060dae7ddb02fdcf41fa7f7aebfa4b8a0273afac | [
"MIT"
] | null | null | null | test/test_widget_response.py | mxenabled/mx-platform-python | 060dae7ddb02fdcf41fa7f7aebfa4b8a0273afac | [
"MIT"
] | 14 | 2021-11-30T21:56:19.000Z | 2022-02-07T18:47:10.000Z | test/test_widget_response.py | mxenabled/mx-platform-python | 060dae7ddb02fdcf41fa7f7aebfa4b8a0273afac | [
"MIT"
] | 1 | 2022-01-12T14:59:39.000Z | 2022-01-12T14:59:39.000Z | """
MX Platform API
The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions. # noqa: E501
The version of the OpenAPI document: 0.1.0
... | 25.388889 | 242 | 0.71116 | 113 | 914 | 5.637168 | 0.654867 | 0.062794 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012605 | 0.218818 | 914 | 35 | 243 | 26.114286 | 0.879552 | 0.551422 | 0 | 0.230769 | 0 | 0 | 0.02139 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.230769 | false | 0.230769 | 0.307692 | 0 | 0.615385 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
8a50bc9d16de8dc510ea786663e22d367705e09f | 49 | py | Python | djavError/tests/widgets/test_problem_requests_table.py | dasmith2/djavError | 6fc1bfcf8b1443be817a9bd8ec2d59e7682521dd | [
"MIT"
] | null | null | null | djavError/tests/widgets/test_problem_requests_table.py | dasmith2/djavError | 6fc1bfcf8b1443be817a9bd8ec2d59e7682521dd | [
"MIT"
] | null | null | null | djavError/tests/widgets/test_problem_requests_table.py | dasmith2/djavError | 6fc1bfcf8b1443be817a9bd8ec2d59e7682521dd | [
"MIT"
] | null | null | null | # ProblemRequestsTable is an abstract base class
| 24.5 | 48 | 0.836735 | 6 | 49 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.97619 | 0.938776 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a63b2c4c81b4d095c1585f4f6d11d6ea177c096 | 111 | py | Python | network/models/building_blocks/__init__.py | fnozarian/coiltraine | bf418d7924dc47cc84cd21636f17a3cf85e3350f | [
"MIT"
] | null | null | null | network/models/building_blocks/__init__.py | fnozarian/coiltraine | bf418d7924dc47cc84cd21636f17a3cf85e3350f | [
"MIT"
] | null | null | null | network/models/building_blocks/__init__.py | fnozarian/coiltraine | bf418d7924dc47cc84cd21636f17a3cf85e3350f | [
"MIT"
] | null | null | null | from .branching import Branching
from .conv import Conv
from .fc import FC, Gaussian_FC
from .join import Join
| 22.2 | 32 | 0.801802 | 18 | 111 | 4.888889 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 4 | 33 | 27.75 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8a6ef9aa355786bb6c6b48ee1dbae27bc0146ffe | 10,706 | py | Python | src/tests/dybm_test.py | rraymondhp/dybm | 3d618874a2f8838eaeca17ce40649a3789e9f140 | [
"Apache-2.0"
] | 1 | 2017-09-04T13:40:41.000Z | 2017-09-04T13:40:41.000Z | src/tests/dybm_test.py | rraymondhp/dybm | 3d618874a2f8838eaeca17ce40649a3789e9f140 | [
"Apache-2.0"
] | null | null | null | src/tests/dybm_test.py | rraymondhp/dybm | 3d618874a2f8838eaeca17ce40649a3789e9f140 | [
"Apache-2.0"
] | 1 | 2019-06-09T01:24:25.000Z | 2019-06-09T01:24:25.000Z | # -*- coding: utf-8 -*-
""" DyBM_test """
__author__ = "Takayuki Osogami"
__copyright__ = "(C) Copyright IBM Corp. 2016"
import unittest
from six.moves import xrange
import numpy as np
import tests.simple
from tests.arraymath import NumpyTestMixin, CupyTestMixin
import pydybm.arraymath as amath
from pydybm.time_serie... | 39.360294 | 78 | 0.548197 | 1,260 | 10,706 | 4.434921 | 0.126984 | 0.030422 | 0.032212 | 0.018611 | 0.761811 | 0.7466 | 0.7466 | 0.730852 | 0.72262 | 0.711346 | 0 | 0.017723 | 0.351765 | 10,706 | 271 | 79 | 39.505535 | 0.787464 | 0.049131 | 0 | 0.637255 | 0 | 0 | 0.049727 | 0.020315 | 0 | 0 | 0 | 0 | 0.073529 | 1 | 0.039216 | false | 0.029412 | 0.044118 | 0 | 0.098039 | 0.04902 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8aba20b0d71cbd6ba5195fad5a2992c79889e4e2 | 10,744 | py | Python | tests/providers/amazon/aws/sensors/test_emr_job_flow.py | ChaseKnowlden/airflow | 6b71eac1997a7c0db3b8e3aed6b4e65d01871440 | [
"Apache-2.0"
] | 15,947 | 2019-01-05T13:51:02.000Z | 2022-03-31T23:33:16.000Z | tests/providers/amazon/aws/sensors/test_emr_job_flow.py | ChaseKnowlden/airflow | 6b71eac1997a7c0db3b8e3aed6b4e65d01871440 | [
"Apache-2.0"
] | 14,603 | 2019-01-05T09:43:19.000Z | 2022-03-31T23:11:59.000Z | tests/providers/amazon/aws/sensors/test_emr_job_flow.py | ChaseKnowlden/airflow | 6b71eac1997a7c0db3b8e3aed6b4e65d01871440 | [
"Apache-2.0"
] | 8,429 | 2019-01-05T19:45:47.000Z | 2022-03-31T22:13:01.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 40.390977 | 107 | 0.60927 | 1,046 | 10,744 | 6.064054 | 0.211281 | 0.061485 | 0.019076 | 0.029481 | 0.764465 | 0.74728 | 0.741605 | 0.721268 | 0.707394 | 0.707394 | 0 | 0.054398 | 0.254002 | 10,744 | 265 | 108 | 40.543396 | 0.736993 | 0.106106 | 0 | 0.660465 | 0 | 0 | 0.334204 | 0.06122 | 0 | 0 | 0 | 0 | 0.027907 | 1 | 0.018605 | false | 0 | 0.032558 | 0 | 0.055814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8ac2586229a740e81c7d46782bf3c8fabc0f30ca | 112 | py | Python | test/test_app.py | gsmcwhirter/owlbear | a27deb5974c9192ac9fe2db00fba6c1921c97323 | [
"MIT"
] | null | null | null | test/test_app.py | gsmcwhirter/owlbear | a27deb5974c9192ac9fe2db00fba6c1921c97323 | [
"MIT"
] | null | null | null | test/test_app.py | gsmcwhirter/owlbear | a27deb5974c9192ac9fe2db00fba6c1921c97323 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Tests for owlbear.app"""
from owlbear import app
import test.helpers as test_helpers
| 22.4 | 35 | 0.705357 | 17 | 112 | 4.588235 | 0.705882 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.142857 | 112 | 4 | 36 | 28 | 0.802083 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8ac9b2c3db2dd6ed2572d45d7e54d5bca22ed6c0 | 24,433 | py | Python | mmu/metrics/metrics.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | mmu/metrics/metrics.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | 11 | 2021-12-08T10:34:17.000Z | 2022-01-20T13:40:05.000Z | mmu/metrics/metrics.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pandas as pd
import mmu.lib._mmu_core as _core
from mmu.commons import check_array
from mmu.metrics.confmat import confusion_matrix_to_dataframe
from mmu.metrics.confmat import confusion_matrices_to_dataframe
from mmu.commons import _convert_to_ext_types
from mmu.commons import _convert_to_i... | 33.332879 | 91 | 0.625629 | 3,330 | 24,433 | 4.46967 | 0.07988 | 0.019282 | 0.022843 | 0.025531 | 0.777412 | 0.758667 | 0.739116 | 0.725611 | 0.72158 | 0.711166 | 0 | 0.021277 | 0.27864 | 24,433 | 732 | 92 | 33.378415 | 0.823206 | 0.515328 | 0 | 0.5875 | 0 | 0 | 0.108164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028125 | false | 0 | 0.028125 | 0 | 0.109375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8acbda7782c2a70bae0ce9d37599a3eecd298823 | 113 | py | Python | neovim/plugins/__init__.py | tarruda/python-client | f4fb9f1de0e8d1fc75949b3ca4d0ad73dfd37e5f | [
"Apache-2.0"
] | 1 | 2022-02-07T19:15:17.000Z | 2022-02-07T19:15:17.000Z | neovim/plugins/__init__.py | tarruda/python-client | f4fb9f1de0e8d1fc75949b3ca4d0ad73dfd37e5f | [
"Apache-2.0"
] | null | null | null | neovim/plugins/__init__.py | tarruda/python-client | f4fb9f1de0e8d1fc75949b3ca4d0ad73dfd37e5f | [
"Apache-2.0"
] | null | null | null | from .plugin_host import PluginHost
from .script_host import ScriptHost
__all__ = ['PluginHost', 'ScriptHost']
| 18.833333 | 38 | 0.787611 | 13 | 113 | 6.384615 | 0.615385 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 5 | 39 | 22.6 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
76e1da16191e6edf455b5fd72f1cc5cdcae550c0 | 120 | py | Python | students/admin.py | estudeplus/perfil | 58b847aa226b885ca6a7a128035f09de2322519f | [
"MIT"
] | null | null | null | students/admin.py | estudeplus/perfil | 58b847aa226b885ca6a7a128035f09de2322519f | [
"MIT"
] | 21 | 2019-05-11T18:01:10.000Z | 2022-02-10T11:22:01.000Z | students/admin.py | estudeplus/perfil | 58b847aa226b885ca6a7a128035f09de2322519f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Student
admin.site.register(Student)
# Register your models here.
| 20 | 32 | 0.808333 | 17 | 120 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 5 | 33 | 24 | 0.92381 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
76f66190f21a0cca523ee2225b83151da67ffb8a | 116 | py | Python | arcus/__init__.py | cuenca-mx/arcus-python | 71e35728d75d9413eb62c18bff0abb3a18bf80ac | [
"MIT"
] | 4 | 2018-10-30T20:23:44.000Z | 2020-06-29T13:56:34.000Z | arcus/__init__.py | cuenca-mx/arcus-python | 71e35728d75d9413eb62c18bff0abb3a18bf80ac | [
"MIT"
] | 131 | 2018-10-29T17:13:49.000Z | 2022-03-30T16:05:21.000Z | arcus/__init__.py | cuenca-mx/arcus-python | 71e35728d75d9413eb62c18bff0abb3a18bf80ac | [
"MIT"
] | 2 | 2019-09-22T03:43:29.000Z | 2021-04-19T09:20:24.000Z | __all__ = ['client', 'exc', 'resources', 'Client']
from . import client, exc, resources
from .client import Client
| 23.2 | 50 | 0.698276 | 14 | 116 | 5.5 | 0.428571 | 0.233766 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146552 | 116 | 4 | 51 | 29 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0a061aa8f75252fa3c16a2f6fa959bc35beb3e48 | 102 | py | Python | music/admin.py | bvermeulen/Django | e4ef21c2f1fb7d026207c25bd443252c6df354bf | [
"MIT"
] | 4 | 2018-12-25T13:56:18.000Z | 2019-12-22T16:04:50.000Z | music/admin.py | bvermeulen/Django | e4ef21c2f1fb7d026207c25bd443252c6df354bf | [
"MIT"
] | 15 | 2019-12-10T06:22:19.000Z | 2022-03-11T23:46:49.000Z | music/admin.py | bvermeulen/Django | e4ef21c2f1fb7d026207c25bd443252c6df354bf | [
"MIT"
] | 2 | 2021-02-16T18:52:19.000Z | 2021-03-30T16:40:46.000Z | from django.contrib import admin
from music.models import MusicTrack
admin.site.register(MusicTrack)
| 20.4 | 35 | 0.843137 | 14 | 102 | 6.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 102 | 4 | 36 | 25.5 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0a33d97f24bd88a3ed4be258b93db4ea6880328f | 15,643 | py | Python | torchrec/models/tests/test_dlrm.py | xing-liu/torchrec | 82ffde7a69fdb9c66b79a753d6f03afa5db3f73e | [
"BSD-3-Clause"
] | 814 | 2022-02-23T17:24:14.000Z | 2022-03-31T16:52:23.000Z | torchrec/models/tests/test_dlrm.py | xing-liu/torchrec | 82ffde7a69fdb9c66b79a753d6f03afa5db3f73e | [
"BSD-3-Clause"
] | 89 | 2022-02-23T17:29:56.000Z | 2022-03-31T23:44:13.000Z | torchrec/models/tests/test_dlrm.py | xing-liu/torchrec | 82ffde7a69fdb9c66b79a753d6f03afa5db3f73e | [
"BSD-3-Clause"
] | 68 | 2022-02-23T17:42:17.000Z | 2022-03-28T06:39:55.000Z | #!/usr/bin/env python3
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import unittest
import torch
from torch.testing import FileCheck # @manual
from torchr... | 30.315891 | 86 | 0.507639 | 1,763 | 15,643 | 4.313103 | 0.139535 | 0.066281 | 0.054971 | 0.03314 | 0.786823 | 0.761573 | 0.740268 | 0.728169 | 0.702525 | 0.682404 | 0 | 0.084213 | 0.376015 | 15,643 | 515 | 87 | 30.374757 | 0.694806 | 0.033561 | 0 | 0.607059 | 0 | 0 | 0.010992 | 0 | 0 | 0 | 0 | 0.001942 | 0.047059 | 1 | 0.04 | false | 0 | 0.018824 | 0 | 0.068235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0a471865d7c0792e57ca9c1de50a4b512ab86c6f | 1,505 | py | Python | pni_report_dashboard/pni_report_dashboard/page/pni_dashboard/pni_dashboard.py | DaizyModi/pni_report_dashboard | 709c2903330531c02af9992fc53c744259c84efc | [
"MIT"
] | null | null | null | pni_report_dashboard/pni_report_dashboard/page/pni_dashboard/pni_dashboard.py | DaizyModi/pni_report_dashboard | 709c2903330531c02af9992fc53c744259c84efc | [
"MIT"
] | null | null | null | pni_report_dashboard/pni_report_dashboard/page/pni_dashboard/pni_dashboard.py | DaizyModi/pni_report_dashboard | 709c2903330531c02af9992fc53c744259c84efc | [
"MIT"
] | null | null | null | import frappe
from frappe.utils import date_diff, add_months, today, getdate, add_days
@frappe.whitelist()
def get_ink(item_group):
_date = add_days(today(), -1)
sql = frappe.db.sql("""
select sum(sed.qty)
from `tabStock Entry Detail` as sed, `tabStock Entry` as se
where sed.docstatus=1 and sed.item_group=... | 32.717391 | 143 | 0.678405 | 252 | 1,505 | 3.920635 | 0.230159 | 0.036437 | 0.030364 | 0.063765 | 0.717611 | 0.700405 | 0.700405 | 0.700405 | 0.700405 | 0.700405 | 0 | 0.02619 | 0.162791 | 1,505 | 46 | 144 | 32.717391 | 0.757937 | 0 | 0 | 0.627907 | 0 | 0.069767 | 0.5 | 0.041833 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.046512 | 0 | 0.186047 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0a484f2f9deea137beaf52a39e3b97296019240a | 134 | py | Python | scipy/optimize/moduleTNC_clr.py | jasonmccampbell/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | 8 | 2015-10-07T00:37:32.000Z | 2022-01-21T17:02:33.000Z | scipy/optimize/moduleTNC_clr.py | enthought/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | null | null | null | scipy/optimize/moduleTNC_clr.py | enthought/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | 8 | 2015-05-09T14:23:57.000Z | 2018-11-15T05:56:00.000Z |
import sys
if sys.platform == 'cli':
import clr
clr.AddReference('optimize')
from scipy__optimize__moduleTNC import *
| 13.4 | 44 | 0.69403 | 16 | 134 | 5.5625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216418 | 134 | 9 | 45 | 14.888889 | 0.847619 | 0 | 0 | 0 | 0 | 0 | 0.083969 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a56724ede016ee933cc7cfe1ec80dcb39302feb | 203 | py | Python | 02-19-Cuma/inheritance/ChineseChef.py | cihatdev/misha-staj | d0ee95d5e77a7d7a1f16611d49c87be429a25b31 | [
"MIT"
] | 9 | 2021-03-16T20:21:54.000Z | 2022-01-08T09:15:10.000Z | 02-19-Cuma/inheritance/ChineseChef.py | cihatdev/misha-staj | d0ee95d5e77a7d7a1f16611d49c87be429a25b31 | [
"MIT"
] | 1 | 2021-02-28T21:27:17.000Z | 2021-02-28T21:27:17.000Z | 02-19-Cuma/inheritance/ChineseChef.py | cihatdev/misha-staj | d0ee95d5e77a7d7a1f16611d49c87be429a25b31 | [
"MIT"
] | 1 | 2021-05-24T11:34:48.000Z | 2021-05-24T11:34:48.000Z | from Chef import Chef
class ChineseChef(Chef):
def make_special_dish(self):
print("The chef makes orange chicken")
def make_fried_rice(self):
print("The chef make fried rice")
| 20.3 | 46 | 0.684729 | 29 | 203 | 4.655172 | 0.586207 | 0.103704 | 0.177778 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231527 | 203 | 9 | 47 | 22.555556 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0.261084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6a923802a14e5b975989c7f8d32756c6b5eda27e | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/f2py/f2py2e.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/f2py/f2py2e.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/f2py/f2py2e.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/c1/ec/cc/7415585ae840f4099f1c814ea1b5e3eeac6d38b24eff4af9490fd33b2c | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364583 | 0 | 96 | 1 | 96 | 96 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6ab0f3a7bccf47bbd61fa467ba6a76545eb14bed | 198 | py | Python | api/devjobhubapi/jobs/permissions.py | Mastersam07/devjobhub | b0e80352bd0ff6d6b89c12093cc13b3ceae309ea | [
"MIT"
] | null | null | null | api/devjobhubapi/jobs/permissions.py | Mastersam07/devjobhub | b0e80352bd0ff6d6b89c12093cc13b3ceae309ea | [
"MIT"
] | 4 | 2021-04-08T21:20:19.000Z | 2021-09-22T19:48:32.000Z | jobs/permissions.py | icvntechstudio/devjobapi | 8cc7cc31abe3a96c8fc3b54a579fb663d98bd237 | [
"PostgreSQL",
"MIT"
] | null | null | null | from rest_framework.permissions import BasePermission
class IsEmployee(BasePermission):
def has_permission(self, request, view):
return request.user and request.user.role == 'employee' | 33 | 63 | 0.772727 | 23 | 198 | 6.565217 | 0.826087 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146465 | 198 | 6 | 63 | 33 | 0.893491 | 0 | 0 | 0 | 0 | 0 | 0.040201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6ac4a9244c73feb26c34586ad97e0c9a72bb2283 | 140 | py | Python | app/api_public/routes.py | benjaminhuanghuang/math_clone | 8fd5d5ed878559629101c6c33d61f2ead80a652c | [
"MIT"
] | null | null | null | app/api_public/routes.py | benjaminhuanghuang/math_clone | 8fd5d5ed878559629101c6c33d61f2ead80a652c | [
"MIT"
] | null | null | null | app/api_public/routes.py | benjaminhuanghuang/math_clone | 8fd5d5ed878559629101c6c33d61f2ead80a652c | [
"MIT"
] | null | null | null | from flask import jsonify
from . import api_public
@api_public.route('/hello', methods=['GET'])
def hello():
return jsonify("Hello")
| 15.555556 | 44 | 0.7 | 19 | 140 | 5.052632 | 0.631579 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 140 | 8 | 45 | 17.5 | 0.806723 | 0 | 0 | 0 | 0 | 0 | 0.100719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
6ac99aea71f8786b83647783f596cf18b1d71016 | 3,063 | py | Python | tests/openbb_terminal/stocks/backtesting/test_bt_view.py | tehcoderer/GamestonkTerminal | 54a1b6f545a0016c576e9e00eef5c003d229dacf | [
"MIT"
] | 255 | 2022-03-29T16:43:51.000Z | 2022-03-31T23:57:08.000Z | tests/openbb_terminal/stocks/backtesting/test_bt_view.py | tehcoderer/GamestonkTerminal | 54a1b6f545a0016c576e9e00eef5c003d229dacf | [
"MIT"
] | 14 | 2022-03-29T14:20:33.000Z | 2022-03-31T23:39:20.000Z | tests/openbb_terminal/stocks/backtesting/test_bt_view.py | tehcoderer/GamestonkTerminal | 54a1b6f545a0016c576e9e00eef5c003d229dacf | [
"MIT"
] | 24 | 2022-03-29T15:28:56.000Z | 2022-03-31T23:54:15.000Z | # IMPORTATION STANDARD
from datetime import datetime
# IMPORTATION THIRDPARTY
import pytest
# IMPORTATION INTERNAL
from openbb_terminal.stocks import stocks_helper
from openbb_terminal.stocks.backtesting import bt_view
@pytest.fixture(scope="module")
def vcr_config():
return {
"filter_headers": [("User-... | 27.845455 | 88 | 0.671237 | 392 | 3,063 | 4.997449 | 0.227041 | 0.07657 | 0.042879 | 0.061256 | 0.789689 | 0.789689 | 0.749872 | 0.738642 | 0.738642 | 0.738642 | 0 | 0.03116 | 0.203722 | 3,063 | 109 | 89 | 28.100917 | 0.772038 | 0.042442 | 0 | 0.654321 | 0 | 0 | 0.155844 | 0.070403 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08642 | false | 0 | 0.049383 | 0.012346 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6aef9d1088e42cef261bc4d0127c8a4b2c4bb2fa | 53 | py | Python | enthought/pyface/directory_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/directory_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/directory_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.directory_dialog import *
| 17.666667 | 37 | 0.811321 | 7 | 53 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 2 | 38 | 26.5 | 0.913043 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0a7526f9708caa1d2e106bcbeff0e40f452b7a46 | 172 | py | Python | lime/database/db.py | toastwaffle/LiME | 7d529d9eaeb9de7a9aebe6aa373e1b3611bfd2ad | [
"MIT"
] | null | null | null | lime/database/db.py | toastwaffle/LiME | 7d529d9eaeb9de7a9aebe6aa373e1b3611bfd2ad | [
"MIT"
] | 69 | 2018-02-04T15:08:07.000Z | 2020-03-19T22:04:16.000Z | lime/database/db.py | toastwaffle/LiME | 7d529d9eaeb9de7a9aebe6aa373e1b3611bfd2ad | [
"MIT"
] | null | null | null | """Create the SQLAlchemy connection object."""
import flask_sqlalchemy
from . import custom_model
DB = flask_sqlalchemy.SQLAlchemy(model_class=custom_model.CustomModel)
| 21.5 | 70 | 0.819767 | 21 | 172 | 6.47619 | 0.619048 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098837 | 172 | 7 | 71 | 24.571429 | 0.877419 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0a931ee62ba7d473b041d57b9fcbf79d02b13234 | 28 | py | Python | Chapter01/single_quote_inside_quotes1.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 12 | 2018-07-09T16:20:31.000Z | 2022-03-21T22:52:15.000Z | Chapter01/single_quote_inside_quotes1.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | null | null | null | Chapter01/single_quote_inside_quotes1.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 19 | 2018-01-09T12:49:06.000Z | 2021-11-23T08:05:55.000Z | print 'Hey there it's a cow' | 28 | 28 | 0.714286 | 7 | 28 | 2.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0a9914bd3de67979c0fd54c3b8a69c1f5adbadf4 | 8,424 | py | Python | tests/test_inline_functions/test_selection_queries.py | JourneyG/pymapdl | 23fdc008c151c0546504e4ef8257a64f5f169100 | [
"MIT"
] | 1 | 2021-07-28T00:42:53.000Z | 2021-07-28T00:42:53.000Z | tests/test_inline_functions/test_selection_queries.py | JourneyG/pymapdl | 23fdc008c151c0546504e4ef8257a64f5f169100 | [
"MIT"
] | null | null | null | tests/test_inline_functions/test_selection_queries.py | JourneyG/pymapdl | 23fdc008c151c0546504e4ef8257a64f5f169100 | [
"MIT"
] | null | null | null | from ansys.mapdl.core.inline_functions import SelectionStatus
import pytest
class TestSelectionStatus:
@pytest.mark.parametrize('value', [1, -1, 0, 1., -1., 0.])
def test_happy(self, value):
select = SelectionStatus(value)
assert select == value
assert select is not value
@pytest.... | 30.411552 | 69 | 0.62405 | 1,070 | 8,424 | 4.605607 | 0.106542 | 0.179383 | 0.289773 | 0.165179 | 0.800528 | 0.73336 | 0.699472 | 0.649959 | 0.62642 | 0.612622 | 0 | 0.027262 | 0.290242 | 8,424 | 276 | 70 | 30.521739 | 0.796956 | 0.026591 | 0 | 0.576037 | 0 | 0 | 0.006958 | 0 | 0 | 0 | 0 | 0 | 0.175115 | 1 | 0.179724 | false | 0 | 0.009217 | 0 | 0.253456 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0aa86ce31d5276d2cd39d1100d7110966948923e | 34,414 | py | Python | src/sage/manifolds/differentiable/diff_form_module.py | LaisRast/sage | 5fb2a6ea44400e469caee82748cf863ca0c5f724 | [
"BSL-1.0"
] | null | null | null | src/sage/manifolds/differentiable/diff_form_module.py | LaisRast/sage | 5fb2a6ea44400e469caee82748cf863ca0c5f724 | [
"BSL-1.0"
] | null | null | null | src/sage/manifolds/differentiable/diff_form_module.py | LaisRast/sage | 5fb2a6ea44400e469caee82748cf863ca0c5f724 | [
"BSL-1.0"
] | null | null | null | r"""
Differential Form Modules
The set `\Omega^p(U, \Phi)` of `p`-forms along a differentiable manifold `U`
with values on a differentiable manifold `M` via a differentiable map
`\Phi:\ U \rightarrow M` (possibly `U = M` and `\Phi = \mathrm{Id}_M`)
is a module over the algebra `C^k(U)` of differentiable scalar fields ... | 37.900881 | 95 | 0.574301 | 4,720 | 34,414 | 4.072881 | 0.08178 | 0.016906 | 0.062214 | 0.081357 | 0.792239 | 0.767062 | 0.750104 | 0.729921 | 0.700114 | 0.669216 | 0 | 0.020864 | 0.3106 | 34,414 | 907 | 96 | 37.942668 | 0.788114 | 0.625617 | 0 | 0.610329 | 0 | 0 | 0.053554 | 0.004181 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061033 | false | 0 | 0.046948 | 0 | 0.244131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0ad343fbd5642cd048dddd939e01ff7bdf5dedbc | 159 | py | Python | wsgi.py | shiroyuki/2019-cfp | 90c20ad01c19ddf17b0bfd1f96b264c715456c01 | [
"BSD-3-Clause"
] | null | null | null | wsgi.py | shiroyuki/2019-cfp | 90c20ad01c19ddf17b0bfd1f96b264c715456c01 | [
"BSD-3-Clause"
] | 6 | 2019-04-27T16:48:33.000Z | 2019-08-06T20:28:23.000Z | wsgi.py | shiroyuki/2019-cfp | 90c20ad01c19ddf17b0bfd1f96b264c715456c01 | [
"BSD-3-Clause"
] | 2 | 2019-08-06T15:23:57.000Z | 2019-08-21T23:16:01.000Z | from yakbak.core import create_app
from yakbak.settings import load_settings_from_env
settings = load_settings_from_env()
application = create_app(settings)
| 22.714286 | 50 | 0.849057 | 23 | 159 | 5.521739 | 0.434783 | 0.15748 | 0.251969 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 159 | 6 | 51 | 26.5 | 0.888112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
0ada11418717237a249c6ece10f69a6b0979adfd | 19 | py | Python | bc/__init__.py | fxxing/ljtool | 9d4e2d6890e586657ea7f5e1e3129eaf2c205907 | [
"MIT"
] | 1 | 2020-04-15T19:09:45.000Z | 2020-04-15T19:09:45.000Z | bc/__init__.py | fxxing/ljtool | 9d4e2d6890e586657ea7f5e1e3129eaf2c205907 | [
"MIT"
] | null | null | null | bc/__init__.py | fxxing/ljtool | 9d4e2d6890e586657ea7f5e1e3129eaf2c205907 | [
"MIT"
] | null | null | null | # LuaJit byte code
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0.842105 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0afa81d31dc7e002a48591fb2cf387ee3abac591 | 87 | py | Python | pylibgen/exceptions.py | solomond6/pylibgen | b515ac107ef61d79b7ce6c348b849009f43f7969 | [
"MIT"
] | 66 | 2017-03-08T00:21:42.000Z | 2019-04-09T21:14:29.000Z | pylibgen/exceptions.py | papis/pylibgen | b9a7b8058acedeaac71995ea3f915ce5eb37def5 | [
"MIT"
] | 7 | 2017-05-25T02:46:17.000Z | 2019-01-12T18:16:59.000Z | pylibgen/exceptions.py | papis/pylibgen | b9a7b8058acedeaac71995ea3f915ce5eb37def5 | [
"MIT"
] | 14 | 2019-05-28T17:57:39.000Z | 2021-08-10T03:06:59.000Z | class LibraryException(Exception):
pass
class BookException(Exception):
pass
| 12.428571 | 34 | 0.747126 | 8 | 87 | 8.125 | 0.625 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 6 | 35 | 14.5 | 0.915493 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7c22c03675e0c844a3ddfd44a772a4f4866ebd59 | 30 | py | Python | utils/custom_errors.py | ChrissisCodeXD/Hikari-TestProject | 236c8fc9081172d9edff6d629e5d11c5abe64205 | [
"MIT"
] | null | null | null | utils/custom_errors.py | ChrissisCodeXD/Hikari-TestProject | 236c8fc9081172d9edff6d629e5d11c5abe64205 | [
"MIT"
] | null | null | null | utils/custom_errors.py | ChrissisCodeXD/Hikari-TestProject | 236c8fc9081172d9edff6d629e5d11c5abe64205 | [
"MIT"
] | null | null | null | class WrongDuration:
pass
| 10 | 20 | 0.733333 | 3 | 30 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 21 | 15 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7c2376f8050758bdb4097195234463c3cc8cb9da | 188 | py | Python | pkgs/conda-manager-0.3.1-py27_0/lib/python2.7/site-packages/conda_manager/api/__init__.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | 25 | 2015-03-24T20:50:12.000Z | 2021-12-29T02:35:57.000Z | pkgs/conda-manager-0.3.1-py27_0/lib/python2.7/site-packages/conda_manager/api/__init__.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | 71 | 2015-03-25T22:35:21.000Z | 2021-03-30T18:19:01.000Z | pkgs/conda-manager-0.3.1-py27_0/lib/python2.7/site-packages/conda_manager/api/__init__.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | 12 | 2015-05-28T16:38:30.000Z | 2021-08-11T15:03:16.000Z | # -*- coding: utf-8 -*-
"""
This module contains the main Anaconda API plus the external and adapted apis
used..
"""
# Local imports
from conda_manager.api.manager_api import ManagerAPI
| 18.8 | 77 | 0.734043 | 27 | 188 | 5.037037 | 0.851852 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.159574 | 188 | 9 | 78 | 20.888889 | 0.85443 | 0.643617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7c23c406b118404d56a9edbc45234d4d79c8df8b | 165 | py | Python | asados/templatetags/getfield.py | TenStrings/organizador-de-asados | 5f8ede2ca5c8f9d2faf7fec316c4014142113464 | [
"MIT"
] | null | null | null | asados/templatetags/getfield.py | TenStrings/organizador-de-asados | 5f8ede2ca5c8f9d2faf7fec316c4014142113464 | [
"MIT"
] | null | null | null | asados/templatetags/getfield.py | TenStrings/organizador-de-asados | 5f8ede2ca5c8f9d2faf7fec316c4014142113464 | [
"MIT"
] | null | null | null | from django import template
register = template.Library()
@register.simple_tag
def getfield(an_object, an_attribute):
return getattr(an_object, an_attribute)
| 18.333333 | 43 | 0.793939 | 22 | 165 | 5.727273 | 0.681818 | 0.126984 | 0.15873 | 0.301587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 165 | 8 | 44 | 20.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7c33f04a92c7ec7d39745a702372a685e0762c61 | 97 | py | Python | photonqat/Fockbase/__init__.py | ryosukehata/Photonqat | d5e320d3cc9ed94f6d63b1721f6871f13a0e6ea7 | [
"Apache-2.0"
] | 25 | 2018-09-16T22:54:48.000Z | 2019-02-22T01:21:30.000Z | blueqat/photonqat/Fockbase/__init__.py | mdrft/blueqat | 6c5f26b377bc3ce0d02adec8b9132d70870b3d95 | [
"Apache-2.0"
] | 22 | 2018-09-20T02:47:56.000Z | 2019-02-08T05:25:30.000Z | blueqat/photonqat/Fockbase/__init__.py | mdrft/blueqat | 6c5f26b377bc3ce0d02adec8b9132d70870b3d95 | [
"Apache-2.0"
] | 5 | 2018-10-23T04:56:04.000Z | 2019-02-13T14:02:31.000Z | from .bosonicLadder import *
from .gates import *
from .states import *
from .WignerFunc import * | 24.25 | 28 | 0.762887 | 12 | 97 | 6.166667 | 0.5 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 4 | 29 | 24.25 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7ca9b89a02349f54607053532e12ff16005d1451 | 486 | py | Python | scripts/Logger.py | alexander-danilenko/ubuntu-offline-driver-install | c1954c6606fd8a137fa7f63acd57910fd682ee40 | [
"MIT"
] | null | null | null | scripts/Logger.py | alexander-danilenko/ubuntu-offline-driver-install | c1954c6606fd8a137fa7f63acd57910fd682ee40 | [
"MIT"
] | null | null | null | scripts/Logger.py | alexander-danilenko/ubuntu-offline-driver-install | c1954c6606fd8a137fa7f63acd57910fd682ee40 | [
"MIT"
] | null | null | null | class Logger:
# Logger channel.
channel: str
def __init__(self, channel: str):
self.channel = channel
def log(self, message):
print(f'\033[92m[{self.channel}] {message}\033[0m')
def info(self, message):
print(f'\033[94m[{self.channel}] {message}\033[0m')
def warning(s... | 25.578947 | 59 | 0.600823 | 66 | 486 | 4.363636 | 0.30303 | 0.229167 | 0.222222 | 0.236111 | 0.628472 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0.094987 | 0.220165 | 486 | 18 | 60 | 27 | 0.664908 | 0.030864 | 0 | 0 | 0 | 0 | 0.34968 | 0.204691 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0 | 0.583333 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
7cb5f6cf3a0408d680129d61bc13788fefd5880e | 47 | py | Python | test/pipeviz/test_pipeviz.py | roryk/bipy | 9fbe7074b7c559a7c6a4ae256bbac54379d6538e | [
"MIT"
] | 1 | 2015-01-24T21:55:02.000Z | 2015-01-24T21:55:02.000Z | test/pipeviz/test_pipeviz.py | roryk/bipy | 9fbe7074b7c559a7c6a4ae256bbac54379d6538e | [
"MIT"
] | null | null | null | test/pipeviz/test_pipeviz.py | roryk/bipy | 9fbe7074b7c559a7c6a4ae256bbac54379d6538e | [
"MIT"
] | 9 | 2015-05-29T02:43:43.000Z | 2020-05-21T18:59:10.000Z | import yaml
import unittest
from bipy.pipeline
| 11.75 | 18 | 0.851064 | 7 | 47 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 3 | 19 | 15.666667 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6b114a330e734c56b81d137ba9910596dc0022f5 | 1,172 | py | Python | dev/configuration.py | julien-lange/qcover | 8b4872f7533b75ce265ddfb7eb077e681169b89d | [
"Apache-2.0"
] | 8 | 2016-10-06T14:06:45.000Z | 2021-12-23T06:58:39.000Z | dev/configuration.py | julien-lange/qcover | 8b4872f7533b75ce265ddfb7eb077e681169b89d | [
"Apache-2.0"
] | null | null | null | dev/configuration.py | julien-lange/qcover | 8b4872f7533b75ce265ddfb7eb077e681169b89d | [
"Apache-2.0"
] | 6 | 2017-08-23T15:02:53.000Z | 2021-12-29T07:23:19.000Z | # Copyright 2017 Michael Blondin, Alain Finkel, Christoph Haase, Serge Haddad
# 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 requir... | 29.3 | 77 | 0.713311 | 147 | 1,172 | 5.469388 | 0.605442 | 0.208955 | 0.104478 | 0.246269 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008705 | 0.21587 | 1,172 | 39 | 78 | 30.051282 | 0.866159 | 0.537543 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0.058824 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
861c2223c5c281c74f7db9963bd5eb202351e0a6 | 11,423 | py | Python | aiida/backends/tests/cmdline/params/types/test_plugin.py | borellim/aiida_core | eebef392c81e8b130834a92e1d7abf5e2e30b3ce | [
"BSD-2-Clause"
] | 1 | 2019-03-15T10:37:53.000Z | 2019-03-15T10:37:53.000Z | aiida/backends/tests/cmdline/params/types/test_plugin.py | odarbelaeze/aiida_core | 934b4ccdc73a993f2a6656caf516500470e3da08 | [
"BSD-2-Clause"
] | null | null | null | aiida/backends/tests/cmdline/params/types/test_plugin.py | odarbelaeze/aiida_core | 934b4ccdc73a993f2a6656caf516500470e3da08 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
###########################################################################
# Copyright (c), The AiiDA team. All rights reserved. #
# This file is part of the AiiDA code. #
# ... | 46.815574 | 119 | 0.682833 | 1,371 | 11,423 | 5.512764 | 0.140044 | 0.141572 | 0.041281 | 0.053983 | 0.76634 | 0.744377 | 0.716327 | 0.700318 | 0.672665 | 0.63059 | 0 | 0.002323 | 0.208439 | 11,423 | 243 | 120 | 47.00823 | 0.833555 | 0.223847 | 0 | 0.533333 | 0 | 0 | 0.149474 | 0.039466 | 0 | 0 | 0 | 0 | 0.451852 | 1 | 0.051852 | false | 0 | 0.051852 | 0 | 0.111111 | 0.007407 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
862c08d1d4ac40f9d57c1d9c3725b9935fcf5b8f | 148 | py | Python | src/gt4sd/algorithms/generation/polymer_blocks/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | 1 | 2022-02-22T02:06:10.000Z | 2022-02-22T02:06:10.000Z | src/gt4sd/algorithms/generation/polymer_blocks/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | 12 | 2022-02-21T12:59:24.000Z | 2022-02-22T12:25:49.000Z | src/gt4sd/algorithms/generation/polymer_blocks/__init__.py | hhhsu0825/gt4sd-core | 4a1fe9da58d2f33bba2fba64604427e037ad7a46 | [
"MIT"
] | null | null | null | """PolymerBlocks initialization."""
from .core import PolymerBlocks, PolymerBlocksGenerator
__all__ = ["PolymerBlocks", "PolymerBlocksGenerator"]
| 24.666667 | 55 | 0.797297 | 10 | 148 | 11.4 | 0.7 | 0.614035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087838 | 148 | 5 | 56 | 29.6 | 0.844444 | 0.195946 | 0 | 0 | 0 | 0 | 0.309735 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
864676ff1e262ec69ad93579bdc6b2491cc345ea | 1,040 | py | Python | pwndbg/color/backtrace.py | dev2ero/pwndbg | dbaa3806fd462d4840cded98a155275ea58df7f8 | [
"MIT"
] | 4,461 | 2016-05-30T17:14:06.000Z | 2022-03-31T11:19:49.000Z | pwndbg/color/backtrace.py | dev2ero/pwndbg | dbaa3806fd462d4840cded98a155275ea58df7f8 | [
"MIT"
] | 789 | 2016-05-27T21:17:52.000Z | 2022-03-31T12:37:06.000Z | pwndbg/color/backtrace.py | dev2ero/pwndbg | dbaa3806fd462d4840cded98a155275ea58df7f8 | [
"MIT"
] | 844 | 2016-06-01T00:37:04.000Z | 2022-03-31T10:39:30.000Z | import pwndbg.color.theme as theme
import pwndbg.config as config
from pwndbg.color import generateColorFunction
config_prefix = theme.Parameter('backtrace-prefix', '►', 'prefix for current backtrace label')
config_prefix_color = theme.ColoredParameter('backtrace-prefix-color', 'none', 'color for prefix of c... | 47.272727 | 127 | 0.785577 | 127 | 1,040 | 6.291339 | 0.188976 | 0.062578 | 0.130163 | 0.175219 | 0.312891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 1,040 | 21 | 128 | 49.52381 | 0.858065 | 0 | 0 | 0 | 1 | 0 | 0.282692 | 0.090385 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.25 | 0.6875 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
864abd68598639b08451346f7023f982c1bf4be7 | 1,511 | py | Python | project/locations/admin.py | mrclro/kbxrec | 49728303387d0ce25588461c3148d9c36af56101 | [
"MIT"
] | null | null | null | project/locations/admin.py | mrclro/kbxrec | 49728303387d0ce25588461c3148d9c36af56101 | [
"MIT"
] | null | null | null | project/locations/admin.py | mrclro/kbxrec | 49728303387d0ce25588461c3148d9c36af56101 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
class CountryAdmin(admin.ModelAdmin):
prepopulated_fields = {"iso": ("name",)}
list_display = ('name', 'nationality', 'iso',)
ordering = ('name',)
admin.site.register(Country, CountryAdmin)
class RegionAdmin(admin.ModelAdmin):
prepopulated_field... | 30.22 | 53 | 0.665122 | 167 | 1,511 | 5.868263 | 0.221557 | 0.091837 | 0.137755 | 0.168367 | 0.710204 | 0.710204 | 0.710204 | 0.710204 | 0.710204 | 0.50102 | 0 | 0 | 0.168101 | 1,511 | 49 | 54 | 30.836735 | 0.779634 | 0 | 0 | 0.538462 | 0 | 0 | 0.12773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.051282 | 0.076923 | 0.794872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
86661a45f239d37cb8aa9b20df3215409d65c0d4 | 167 | py | Python | hashphrase/urls.py | Hobsons/django-hashphrase | 715db8d955b609f30f5e7aeba0563fd13bebb580 | [
"BSD-2-Clause"
] | null | null | null | hashphrase/urls.py | Hobsons/django-hashphrase | 715db8d955b609f30f5e7aeba0563fd13bebb580 | [
"BSD-2-Clause"
] | null | null | null | hashphrase/urls.py | Hobsons/django-hashphrase | 715db8d955b609f30f5e7aeba0563fd13bebb580 | [
"BSD-2-Clause"
] | 2 | 2016-12-08T14:23:55.000Z | 2021-04-27T19:37:26.000Z | from django.conf.urls import *
urlpatterns = patterns('',
(r'^test/', 'hashphrase.views.hash_link_test'),
(r'^(?P<key>.*)/$', 'hashphrase.views.hash_link'),
) | 27.833333 | 54 | 0.634731 | 21 | 167 | 4.904762 | 0.714286 | 0.291262 | 0.368932 | 0.446602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11976 | 167 | 6 | 55 | 27.833333 | 0.70068 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
867250c4ce786eabbcb331f49d97d645de3a51f9 | 37 | py | Python | spelregels.py | robijn112/opseilen | f17a95cd5166a0ae4ca0929081f4f0311e6b9f82 | [
"MIT"
] | 2 | 2017-01-17T12:53:41.000Z | 2017-02-02T08:59:10.000Z | spelregels.py | robijn112/opseilen | f17a95cd5166a0ae4ca0929081f4f0311e6b9f82 | [
"MIT"
] | null | null | null | spelregels.py | robijn112/opseilen | f17a95cd5166a0ae4ca0929081f4f0311e6b9f82 | [
"MIT"
] | null | null | null | input(str("Regels tijdens het spel")) | 37 | 37 | 0.756757 | 6 | 37 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
86d600b6b602915d311030320a06bd1893273599 | 87 | py | Python | src/prefect/environments/execution/fargate/__init__.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 8,633 | 2019-03-23T17:51:03.000Z | 2022-03-31T22:17:42.000Z | src/prefect/environments/execution/fargate/__init__.py | concreted/prefect | dd732f5990ee2b0f3d816adb285168fd63b239e4 | [
"Apache-2.0"
] | 3,903 | 2019-03-23T19:11:21.000Z | 2022-03-31T23:21:23.000Z | src/prefect/environments/execution/fargate/__init__.py | ngriffiths13/prefect | 7f5613abcb182494b7dc12159277c3bc5f3c9898 | [
"Apache-2.0"
] | 937 | 2019-03-23T18:49:44.000Z | 2022-03-31T21:45:13.000Z | from prefect.environments.execution.fargate.fargate_task import FargateTaskEnvironment
| 43.5 | 86 | 0.908046 | 9 | 87 | 8.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 87 | 1 | 87 | 87 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
86f00b1ee99a7f3cf182b885f1212dbde7f87bb0 | 179 | py | Python | checkov/common/typing.py | niradler/checkov | 2628c6f28a5604efe3877d6eacc3044d2b66b7b1 | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | checkov/common/typing.py | niradler/checkov | 2628c6f28a5604efe3877d6eacc3044d2b66b7b1 | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | checkov/common/typing.py | niradler/checkov | 2628c6f28a5604efe3877d6eacc3044d2b66b7b1 | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | from typing import Optional
from typing_extensions import TypedDict
class _SkippedCheck(TypedDict, total=False):
bc_id: Optional[str]
id: str
suppress_comment: str
| 17.9 | 44 | 0.765363 | 23 | 179 | 5.782609 | 0.652174 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178771 | 179 | 9 | 45 | 19.888889 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
86fd0eb93872725491b3a5f1981378bdc597ec52 | 22,799 | py | Python | cogs/logging.py | nickalaskreynolds/yin-bot | 3f01f239532c1d30ee4f2f6825388cfce3d4a265 | [
"MIT"
] | 17 | 2018-05-25T04:37:01.000Z | 2021-09-18T03:38:05.000Z | cogs/logging.py | nickalaskreynolds/yin-bot | 3f01f239532c1d30ee4f2f6825388cfce3d4a265 | [
"MIT"
] | 42 | 2018-07-27T21:53:07.000Z | 2019-12-10T22:17:25.000Z | cogs/logging.py | nickalaskreynolds/yin-bot | 3f01f239532c1d30ee4f2f6825388cfce3d4a265 | [
"MIT"
] | 20 | 2018-09-15T22:33:12.000Z | 2021-02-19T05:43:58.000Z | """This cog will handle logging all server actions to a specific channel."""
import discord
from discord.ext import commands
from .utils import checks, embeds
class Logging(commands.Cog):
"""General logging cog for guild."""
def __init__(self, bot):
"""Init method."""
super().__init__()
... | 38.839864 | 90 | 0.504671 | 2,334 | 22,799 | 4.805913 | 0.084404 | 0.0493 | 0.037087 | 0.040653 | 0.801908 | 0.782473 | 0.75448 | 0.721138 | 0.659267 | 0.631274 | 0 | 0.012466 | 0.41243 | 22,799 | 586 | 91 | 38.906143 | 0.824873 | 0.006842 | 0 | 0.616514 | 0 | 0 | 0.112371 | 0.001234 | 0 | 0 | 0.006949 | 0 | 0 | 1 | 0.00367 | false | 0.007339 | 0.005505 | 0 | 0.036697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8100f2748d193d1ddd9e53b415e965a0e0ff8767 | 55 | py | Python | swagger-4-es development/images/swagger/source/create_operations/__init__.py | swarmee/swagger-4-es | 8ee367267c9a4afd9abba5964570d32c44c7ce34 | [
"MIT"
] | 3 | 2021-12-28T08:43:00.000Z | 2022-02-09T14:51:07.000Z | swagger-4-es development/images/swagger/source/create_operations/__init__.py | swarmee/swagger-4-es | 8ee367267c9a4afd9abba5964570d32c44c7ce34 | [
"MIT"
] | null | null | null | swagger-4-es development/images/swagger/source/create_operations/__init__.py | swarmee/swagger-4-es | 8ee367267c9a4afd9abba5964570d32c44c7ce34 | [
"MIT"
] | null | null | null | from .create_operations import api as create_operations | 55 | 55 | 0.890909 | 8 | 55 | 5.875 | 0.75 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 1 | 55 | 55 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
810ea601296ec25031ea552745f7de47adf57472 | 94 | py | Python | plugins/tenet/util/qt/__init__.py | onesorzer0es/tenet | 62c0bec073fcbb31c5be52c9ea236b6ea2bcc418 | [
"MIT"
] | 877 | 2021-04-20T14:49:39.000Z | 2022-03-26T15:38:14.000Z | plugins/tenet/util/qt/__init__.py | onesorzer0es/tenet | 62c0bec073fcbb31c5be52c9ea236b6ea2bcc418 | [
"MIT"
] | 12 | 2021-04-21T07:32:46.000Z | 2022-02-21T12:50:14.000Z | plugins/tenet/util/qt/__init__.py | onesorzer0es/tenet | 62c0bec073fcbb31c5be52c9ea236b6ea2bcc418 | [
"MIT"
] | 76 | 2021-04-20T16:35:09.000Z | 2022-03-25T03:57:10.000Z | from .shim import *
if QT_AVAILABLE:
from .util import *
from .waitbox import WaitBox | 18.8 | 32 | 0.702128 | 13 | 94 | 5 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 94 | 5 | 32 | 18.8 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
814219d8274e0512389a3d865347b1ab0c174468 | 655 | py | Python | app/api/serializers.py | Arkaikus/StarWarsAPI | 837904fb2dde62297f09c9dc16bb261ba3ae4b12 | [
"MIT"
] | null | null | null | app/api/serializers.py | Arkaikus/StarWarsAPI | 837904fb2dde62297f09c9dc16bb261ba3ae4b12 | [
"MIT"
] | null | null | null | app/api/serializers.py | Arkaikus/StarWarsAPI | 837904fb2dde62297f09c9dc16bb261ba3ae4b12 | [
"MIT"
] | null | null | null | from api.models import Character, Film, Planet
from rest_framework import serializers
from django.contrib.auth.models import User
from django.contrib.auth.hashers import make_password
class CharactersSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Character
fields = ('id', ... | 28.478261 | 68 | 0.712977 | 65 | 655 | 7.153846 | 0.492308 | 0.23871 | 0.270968 | 0.296774 | 0.329032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18626 | 655 | 22 | 69 | 29.772727 | 0.87242 | 0 | 0 | 0.3125 | 0 | 0 | 0.080916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.0625 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
d4a0a7e2d35ddfc8bcd2e12d049866fec1ffe15a | 82 | py | Python | crates/iks-to-fks/tests/helper-python-scripts/print-actions-to-stdout.py | chinedufn/landon | 6df895621e6dd518557b6d60d0920f70e50750bb | [
"MIT"
] | 117 | 2018-09-12T12:50:01.000Z | 2022-03-14T03:24:49.000Z | crates/iks-to-fks/tests/helper-python-scripts/print-actions-to-stdout.py | chinedufn/blender-exporter | 00d8daa0a3f2c9261d0e2bdd386194f141f39887 | [
"MIT"
] | 22 | 2019-03-27T11:36:41.000Z | 2022-01-03T02:21:11.000Z | crates/iks-to-fks/tests/helper-python-scripts/print-actions-to-stdout.py | chinedufn/blender-exporter | 00d8daa0a3f2c9261d0e2bdd386194f141f39887 | [
"MIT"
] | 10 | 2019-09-05T05:14:22.000Z | 2021-10-10T16:51:00.000Z | import bpy
print("The number of actions is: " + str(len(list(bpy.data.actions))))
| 27.333333 | 70 | 0.707317 | 14 | 82 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 82 | 2 | 71 | 41 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
d4b2bcb1baa8130d164597c9d6dd33006124a958 | 9,047 | py | Python | tests/test_annotation.py | ECGKit/wfdb-python | 0d42dfb4b2946625f00cbf500d830d374a201153 | [
"MIT"
] | null | null | null | tests/test_annotation.py | ECGKit/wfdb-python | 0d42dfb4b2946625f00cbf500d830d374a201153 | [
"MIT"
] | null | null | null | tests/test_annotation.py | ECGKit/wfdb-python | 0d42dfb4b2946625f00cbf500d830d374a201153 | [
"MIT"
] | null | null | null | import os
import re
import unittest
import numpy as np
import wfdb
class TestAnnotation(unittest.TestCase):
"""
Testing read and write of WFDB annotations, including Physionet
streaming.
Target files created using the original WFDB Software Package
version 10.5.24
"""
def test_1(self):... | 33.507407 | 140 | 0.566044 | 1,039 | 9,047 | 4.727623 | 0.161694 | 0.027077 | 0.036645 | 0.067182 | 0.791327 | 0.75855 | 0.747964 | 0.747964 | 0.730863 | 0.730863 | 0 | 0.019234 | 0.310379 | 9,047 | 269 | 141 | 33.63197 | 0.768072 | 0.139052 | 0 | 0.657459 | 0 | 0.016575 | 0.116408 | 0.035554 | 0 | 0 | 0 | 0 | 0.060773 | 1 | 0.027624 | false | 0 | 0.027624 | 0 | 0.060773 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d4bd167d021b3c79aa9a1b18b1f8b08aefd8b9fb | 6,412 | py | Python | streettraffic/predefined/cities.py | streettraffic/streettraffic | 26cbda67b803eb42f3fe70354689648bafd6d718 | [
"MIT"
] | 23 | 2017-08-09T19:57:23.000Z | 2021-11-23T12:30:33.000Z | streettraffic/predefined/cities.py | streettraffic/streettraffic | 26cbda67b803eb42f3fe70354689648bafd6d718 | [
"MIT"
] | 1 | 2018-10-04T18:17:11.000Z | 2018-10-23T00:12:19.000Z | streettraffic/predefined/cities.py | streettraffic/streettraffic | 26cbda67b803eb42f3fe70354689648bafd6d718 | [
"MIT"
] | 4 | 2017-10-12T03:31:34.000Z | 2021-05-19T15:11:30.000Z | San_Francisco_polygon = [[37.837174338616975,-122.48725891113281],[37.83364941345965,-122.48485565185547],[37.83093781796035,-122.4814224243164],[37.82415839321614,-122.48004913330078],[37.8203616433087,-122.47970581054688],[37.81059767530207,-122.47798919677734],[37.806122091729485,-122.47627258300781],[37.79215110146... | 1,068.666667 | 2,589 | 0.821429 | 651 | 6,412 | 8.081413 | 0.47619 | 0.009124 | 0.010264 | 0.012925 | 0.013305 | 0 | 0 | 0 | 0 | 0 | 0 | 0.809911 | 0.002339 | 6,412 | 5 | 2,590 | 1,282.4 | 0.012506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d4c22af82f05a34bb86b9af4e9eeb653b043e9e8 | 189 | py | Python | packs/errors/err.py | CiceroAraujo/SB | 637cc4bc63c952f058c316b2b1fbfbb5cd6250c8 | [
"MIT"
] | 1 | 2020-09-09T17:42:52.000Z | 2020-09-09T17:42:52.000Z | packs/errors/err.py | CiceroAraujo/SB | 637cc4bc63c952f058c316b2b1fbfbb5cd6250c8 | [
"MIT"
] | null | null | null | packs/errors/err.py | CiceroAraujo/SB | 637cc4bc63c952f058c316b2b1fbfbb5cd6250c8 | [
"MIT"
] | null | null | null |
class EmptyQueueError(Exception):
pass
class DualStructureError(Exception):
pass
class ConservativeVolumeError(Exception):
pass
class PmsFluxFacesError(Exception):
pass
| 14.538462 | 41 | 0.767196 | 16 | 189 | 9.0625 | 0.4375 | 0.358621 | 0.372414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169312 | 189 | 12 | 42 | 15.75 | 0.923567 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d4e76880f4b0a2fac9f92acc5710c3b678003a77 | 166 | py | Python | logcord/__init__.py | LaudateCorpus1/logcord | 6d9866f0ecb62043c3220ae335abd67e649bd1e0 | [
"MIT"
] | 3 | 2020-12-12T22:24:24.000Z | 2021-06-14T19:45:34.000Z | logcord/__init__.py | python-discord/logcord | 31a23e983cd613e39aa943f48254bd532493ad1c | [
"MIT"
] | 3 | 2021-01-17T03:50:58.000Z | 2021-06-02T03:47:05.000Z | logcord/__init__.py | LaudateCorpus1/logcord | 6d9866f0ecb62043c3220ae335abd67e649bd1e0 | [
"MIT"
] | 3 | 2021-02-27T15:24:47.000Z | 2022-03-10T13:00:44.000Z | import hug
from logcord.routes import api, frontend
@hug.extend_api()
def add_routes() -> None:
"""Adds the routes for this app."""
return [api, frontend]
| 16.6 | 40 | 0.680723 | 24 | 166 | 4.625 | 0.708333 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 166 | 9 | 41 | 18.444444 | 0.828358 | 0.174699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d4f65a5b1fa71aa8fef3d10bc42543d3b7a2a175 | 110 | py | Python | models/__init__.py | yo16/roundrobin | 0118b9f8354fcea2332e38a4553c53d100254a73 | [
"MIT"
] | null | null | null | models/__init__.py | yo16/roundrobin | 0118b9f8354fcea2332e38a4553c53d100254a73 | [
"MIT"
] | null | null | null | models/__init__.py | yo16/roundrobin | 0118b9f8354fcea2332e38a4553c53d100254a73 | [
"MIT"
] | null | null | null |
from .RoundRobin import regist_roundrobin, get_roundrobin
from .ShortUri import create_new_uri, is_valid_uri
| 27.5 | 57 | 0.863636 | 16 | 110 | 5.5625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 110 | 3 | 58 | 36.666667 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d4fcc6648b55fd8bf8db009864afc9b18c13a1dd | 14,356 | py | Python | tensormonk/layers/inception.py | Tensor46/TensorMONK | 67617d3fdf8fde072ba9cab42de7d67c79b17494 | [
"MIT"
] | 29 | 2018-07-06T23:57:23.000Z | 2022-03-08T20:38:57.000Z | tensormonk/layers/inception.py | Johnson-yue/TensorMONK | 1785132b82c685c3b3fc05b00dec46b1fccfc948 | [
"MIT"
] | 3 | 2018-12-14T22:21:26.000Z | 2020-06-19T02:13:34.000Z | tensormonk/layers/inception.py | Johnson-yue/TensorMONK | 1785132b82c685c3b3fc05b00dec46b1fccfc948 | [
"MIT"
] | 8 | 2018-07-06T23:58:03.000Z | 2021-04-12T01:35:54.000Z | """ TensorMONK :: layers :: inception """
__all__ = ["Stem2", "InceptionA", "InceptionB", "InceptionC",
"ReductionA", "ReductionB"]
import torch
import torch.nn as nn
from .convolution import Convolution
from .utils import update_kwargs, compute_flops
from .carryresidue import CarryModular
class Stem2(nn... | 48.5 | 79 | 0.525425 | 1,735 | 14,356 | 4.227089 | 0.074928 | 0.095446 | 0.056995 | 0.044996 | 0.814426 | 0.78552 | 0.749386 | 0.703981 | 0.653668 | 0.653668 | 0 | 0.092663 | 0.30691 | 14,356 | 295 | 80 | 48.664407 | 0.644422 | 0.16864 | 0 | 0.524272 | 0 | 0 | 0.013523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087379 | false | 0 | 0.024272 | 0.048544 | 0.199029 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be12e59ad579ac928c74eba40a73b47ad6749d98 | 132 | py | Python | psyneulink/library/components/mechanisms/adaptive/control/__init__.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | psyneulink/library/components/mechanisms/adaptive/control/__init__.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | psyneulink/library/components/mechanisms/adaptive/control/__init__.py | bdsinger/PsyNeuLink | 71d8a0bb1691ff85061d4ad3de866d9930a69a73 | [
"Apache-2.0"
] | null | null | null | from . import agt
from . import evc
from .agt import *
from .evc import *
__all__ = list(agt.__all__)
__all__.extend(evc.__all__)
| 14.666667 | 27 | 0.727273 | 20 | 132 | 4 | 0.35 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 132 | 8 | 28 | 16.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
be134a3430254a75c2395978fd411b74e47549ff | 141 | py | Python | specifications/views.py | CAPSLOCKFURY/django-eshop | 18d47be47e568800e51c4b6ff868138a7350893b | [
"MIT"
] | 2 | 2021-05-28T11:39:36.000Z | 2021-08-20T04:43:00.000Z | specifications/views.py | CAPSLOCKFURY/django-eshop | 18d47be47e568800e51c4b6ff868138a7350893b | [
"MIT"
] | null | null | null | specifications/views.py | CAPSLOCKFURY/django-eshop | 18d47be47e568800e51c4b6ff868138a7350893b | [
"MIT"
] | null | null | null | """
Author : Vadim Dembitskii (CAPSLOCKFURY)
License : The MIT License
"""
from django.shortcuts import render
# Create your views here.
| 15.666667 | 41 | 0.730496 | 17 | 141 | 6.058824 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177305 | 141 | 8 | 42 | 17.625 | 0.887931 | 0.64539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
076fb3fd216a13d0ae21674f7b172c567f197d22 | 63 | py | Python | template/main/toplevel.py | marton-munz/Skeleton | 8d6780b06ed83920586b58a0caa3d13dbe3dfc03 | [
"MIT"
] | null | null | null | template/main/toplevel.py | marton-munz/Skeleton | 8d6780b06ed83920586b58a0caa3d13dbe3dfc03 | [
"MIT"
] | null | null | null | template/main/toplevel.py | marton-munz/Skeleton | 8d6780b06ed83920586b58a0caa3d13dbe3dfc03 | [
"MIT"
] | null | null | null | from .version import __version__
def run(options):
pass
| 9 | 32 | 0.714286 | 8 | 63 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 63 | 6 | 33 | 10.5 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
0771b8ed8f7092af7acabef097fb2832822f6517 | 459 | py | Python | ex009.py | RafahOliveira/python | 241db92999125d63d61d272ac75384eede40246c | [
"MIT"
] | null | null | null | ex009.py | RafahOliveira/python | 241db92999125d63d61d272ac75384eede40246c | [
"MIT"
] | null | null | null | ex009.py | RafahOliveira/python | 241db92999125d63d61d272ac75384eede40246c | [
"MIT"
] | null | null | null | n1 = int(input("Digite um número: "))
print("{} x {} = {}" .format(n1,1,n1*1))
print("{} x {} = {}" .format(n1,2,n1*2))
print("{} x {} = {}" .format(n1,3,n1*3))
print("{} x {} = {}" .format(n1,4,n1*4))
print("{} x {} = {}" .format(n1,5,n1*5))
print("{} x {} = {}" .format(n1,6,n1*6))
print("{} x {} = {}" .format(... | 41.727273 | 42 | 0.448802 | 76 | 459 | 2.710526 | 0.25 | 0.291262 | 0.582524 | 0.679612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111979 | 0.163399 | 459 | 11 | 42 | 41.727273 | 0.424479 | 0 | 0 | 0 | 0 | 0 | 0.306667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.909091 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ed0b661c5c341094ee944a1a369a509dc8ebe46f | 2,603 | py | Python | checkov/common/checks_infra/solvers/attribute_solvers/__init__.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | checkov/common/checks_infra/solvers/attribute_solvers/__init__.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | checkov/common/checks_infra/solvers/attribute_solvers/__init__.py | peaudecastor/checkov | a4804b61c1b1390b7abd44ab53285fcbc3e7e80b | [
"Apache-2.0"
] | null | null | null | from checkov.common.checks_infra.solvers.attribute_solvers.any_attribute_solver import AnyResourceSolver # noqa
from checkov.common.checks_infra.solvers.attribute_solvers.contains_attribute_solver import ContainsAttributeSolver # noqa
from checkov.common.checks_infra.solvers.attribute_solvers.not_contains_attribute_s... | 123.952381 | 146 | 0.900115 | 302 | 2,603 | 7.42053 | 0.155629 | 0.09817 | 0.151718 | 0.205266 | 0.630968 | 0.546185 | 0.521196 | 0.521196 | 0.498438 | 0.32664 | 0 | 0 | 0.053784 | 2,603 | 20 | 147 | 130.15 | 0.909866 | 0.038033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ed3716a8c944c16472afa9f766e74a0e019a4ee6 | 17,916 | py | Python | airflow/providers/google/cloud/hooks/workflows.py | karakanb/airflow | d0cea6d849ccf11e2b1e55d3280fcca59948eb53 | [
"Apache-2.0"
] | 3 | 2020-12-25T04:09:44.000Z | 2021-04-02T13:37:42.000Z | airflow/providers/google/cloud/hooks/workflows.py | karakanb/airflow | d0cea6d849ccf11e2b1e55d3280fcca59948eb53 | [
"Apache-2.0"
] | 5 | 2021-06-16T11:41:36.000Z | 2022-01-27T17:20:37.000Z | airflow/providers/google/cloud/hooks/workflows.py | karakanb/airflow | d0cea6d849ccf11e2b1e55d3280fcca59948eb53 | [
"Apache-2.0"
] | 2 | 2021-12-28T22:46:07.000Z | 2022-01-08T13:29:00.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 45.015075 | 110 | 0.657624 | 2,220 | 17,916 | 5.222523 | 0.109009 | 0.031827 | 0.02484 | 0.029498 | 0.736502 | 0.724081 | 0.708729 | 0.708729 | 0.703985 | 0.691392 | 0 | 0.000682 | 0.26334 | 17,916 | 397 | 111 | 45.128463 | 0.877785 | 0.525508 | 0 | 0.680723 | 0 | 0 | 0.090261 | 0.075859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066265 | false | 0 | 0.054217 | 0 | 0.192771 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed39cda0ddf307d8b90e9cfcebe9c61a9ce66abd | 65,536 | py | Python | tests/common_test.py | portintegration/releasetool | 7567bd29b3c13b14f6336cbdb11965c2d2b65a2e | [
"Apache-2.0"
] | null | null | null | tests/common_test.py | portintegration/releasetool | 7567bd29b3c13b14f6336cbdb11965c2d2b65a2e | [
"Apache-2.0"
] | null | null | null | tests/common_test.py | portintegration/releasetool | 7567bd29b3c13b14f6336cbdb11965c2d2b65a2e | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 35.083512 | 88 | 0.749573 | 8,359 | 65,536 | 5.579376 | 0.043067 | 0.077834 | 0.107766 | 0.123161 | 0.919186 | 0.793023 | 0.70063 | 0.663064 | 0.64456 | 0.613448 | 0 | 0.000277 | 0.117706 | 65,536 | 1,867 | 89 | 35.102303 | 0.806302 | 0.011063 | 0 | 0.322954 | 0 | 0 | 0.262478 | 0.161234 | 0 | 0 | 0 | 0 | 0.319395 | 1 | 0.320285 | false | 0 | 0.006228 | 0 | 0.327402 | 0.00089 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed3ac0ef62156fcc283dbd0cfd5dcd1737acefad | 481 | py | Python | src/model/loss/meanSquaredErrorLoss.py | dhruvtapasvi/implementation | 964980f431517f4548a87172a05107cdf700fb84 | [
"MIT"
] | 1 | 2020-05-25T10:24:58.000Z | 2020-05-25T10:24:58.000Z | src/model/loss/meanSquaredErrorLoss.py | dhruvtapasvi/implementation | 964980f431517f4548a87172a05107cdf700fb84 | [
"MIT"
] | 1 | 2017-12-18T02:16:44.000Z | 2017-12-18T02:16:44.000Z | src/model/loss/meanSquaredErrorLoss.py | dhruvtapasvi/implementation | 964980f431517f4548a87172a05107cdf700fb84 | [
"MIT"
] | null | null | null | import numpy as np
from keras.metrics import mean_squared_error
from keras.backend import mean, flatten
def meanSquaredErrorLossConstructor(inputRepresentationDimensions):
totalNumberOfPixels = np.prod(inputRepresentationDimensions)
def meanSquaredErrorLoss(inputRepresentation, decodedInputRepresentation):
... | 37 | 128 | 0.841996 | 40 | 481 | 10.025 | 0.525 | 0.044888 | 0.079801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 481 | 12 | 129 | 40.083333 | 0.934732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 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 | 1 | 1 | 1 | 0 | 0 | 5 |
ed7854d2edcf05bffebe01376cae37ce5a50ef9a | 202 | py | Python | FbPy/config.py | voidabhi/python-scripts | a6d06bd3ccf4ec24df521a3cf305d22176f68a18 | [
"MIT"
] | 2 | 2015-06-01T18:33:38.000Z | 2018-11-21T19:40:37.000Z | FbPy/config.py | voidabhi/python-scripts | a6d06bd3ccf4ec24df521a3cf305d22176f68a18 | [
"MIT"
] | 102 | 2015-01-20T17:26:52.000Z | 2017-12-28T17:32:51.000Z | FbPy/config.py | voidabhi/python-scripts | a6d06bd3ccf4ec24df521a3cf305d22176f68a18 | [
"MIT"
] | 3 | 2020-03-02T06:54:18.000Z | 2021-01-07T16:36:35.000Z |
import ConfigParser
config = ConfigParser.ConfigParser()
config.read("settings.cfg")
username = config.get("auth","username")
password = config.get("auth","password")
print username
print password | 22.444444 | 41 | 0.757426 | 23 | 202 | 6.652174 | 0.478261 | 0.235294 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10396 | 202 | 9 | 42 | 22.444444 | 0.845304 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.285714 | 0.142857 | null | null | 0.285714 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
71e848681a87e5d42914c71ec34509fb6c827458 | 2,695 | py | Python | runtime/components/Time_length_operations/test_linear_interpolation_datetime_index.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 41 | 2020-11-18T10:12:29.000Z | 2022-03-28T21:46:41.000Z | runtime/components/Time_length_operations/test_linear_interpolation_datetime_index.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 4 | 2020-12-08T15:28:15.000Z | 2022-02-01T11:40:17.000Z | runtime/components/Time_length_operations/test_linear_interpolation_datetime_index.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 14 | 2020-11-18T11:39:17.000Z | 2022-03-21T15:05:11.000Z | import pandas as pd
import numpy as np
import pytest
from .linear_interpolation_datetime_index import main
def test_date():
pd.testing.assert_series_equal(
main(
data=pd.Series(
{
"2019-08-01T15:20:10": 0.0,
"2019-08-01T15:20:11": 1.0,
... | 28.072917 | 86 | 0.407421 | 320 | 2,695 | 3.375 | 0.228125 | 0.144444 | 0.264815 | 0.312963 | 0.688889 | 0.642593 | 0.628704 | 0.597222 | 0.552778 | 0.552778 | 0 | 0.307641 | 0.441558 | 2,695 | 95 | 87 | 28.368421 | 0.409967 | 0 | 0 | 0.619048 | 0 | 0 | 0.234224 | 0.008909 | 0 | 0 | 0 | 0 | 0.059524 | 1 | 0.059524 | true | 0 | 0.047619 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71f40b9f067cd5d8127d7c80325413958a717a8f | 188 | py | Python | panoptic/panoptic/doctype/city/test_city.py | scmmishra/panoptic | bbb5b78aed9405afcb2b6e36a32d19b0dc4e8a6a | [
"MIT"
] | 1 | 2020-11-25T07:56:43.000Z | 2020-11-25T07:56:43.000Z | panoptic/panoptic/doctype/city/test_city.py | scmmishra/panoptic | bbb5b78aed9405afcb2b6e36a32d19b0dc4e8a6a | [
"MIT"
] | null | null | null | panoptic/panoptic/doctype/city/test_city.py | scmmishra/panoptic | bbb5b78aed9405afcb2b6e36a32d19b0dc4e8a6a | [
"MIT"
] | 1 | 2020-11-25T07:56:45.000Z | 2020-11-25T07:56:45.000Z | # Copyright (c) 2022, Internet Freedom Foundation and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestCity(FrappeTestCase):
pass
| 18.8 | 66 | 0.797872 | 23 | 188 | 6.521739 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.138298 | 188 | 9 | 67 | 20.888889 | 0.901235 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
9c2bb537299f5358ab3ec4ef9557c7596b13fc75 | 110 | py | Python | comet/cmdline/__init__.py | dneise/Comet | abaa0da65d69f90a5262d81416477b4e71deb2ad | [
"BSD-2-Clause"
] | 15 | 2015-11-29T18:53:58.000Z | 2022-03-09T15:47:30.000Z | comet/cmdline/__init__.py | dneise/Comet | abaa0da65d69f90a5262d81416477b4e71deb2ad | [
"BSD-2-Clause"
] | 29 | 2016-01-21T18:10:45.000Z | 2021-10-01T16:41:12.000Z | comet/cmdline/__init__.py | dneise/Comet | abaa0da65d69f90a5262d81416477b4e71deb2ad | [
"BSD-2-Clause"
] | 11 | 2016-01-22T14:05:51.000Z | 2022-03-09T17:49:56.000Z | # Comet VOEvent Broker.
# Utility classes for command line event sender.
from comet.cmdline.options import *
| 22 | 48 | 0.781818 | 15 | 110 | 5.733333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 110 | 4 | 49 | 27.5 | 0.924731 | 0.618182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c38abe5561b3b105a7a08aa6725b41c3379f191 | 2,801 | py | Python | tests/test_operators.py | Kuree/magma | be2439aa897768c5810be72e3a55a6f772ac83cf | [
"MIT"
] | null | null | null | tests/test_operators.py | Kuree/magma | be2439aa897768c5810be72e3a55a6f772ac83cf | [
"MIT"
] | null | null | null | tests/test_operators.py | Kuree/magma | be2439aa897768c5810be72e3a55a6f772ac83cf | [
"MIT"
] | null | null | null | import magma as m
from magma.operators import MantleImportError
from common import DeclareAnd
import pytest
from magma.testing import check_files_equal
def test_error():
circ = m.DefineCircuit("test", "a", m.In(m.Bits[4]), "b", m.Out(m.Bits[4]))
try:
~circ.a
assert False, \
"Operat... | 33.345238 | 121 | 0.594074 | 401 | 2,801 | 4.042394 | 0.204489 | 0.016656 | 0.019741 | 0.064158 | 0.742751 | 0.714374 | 0.714374 | 0.714374 | 0.714374 | 0.714374 | 0 | 0.014595 | 0.241699 | 2,801 | 83 | 122 | 33.746988 | 0.748588 | 0 | 0 | 0.585714 | 0 | 0.028571 | 0.224206 | 0.061764 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.071429 | false | 0.014286 | 0.1 | 0 | 0.171429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c3db3f1ad101e216393b6b6998c1abb3af518cd | 2,123 | py | Python | custom_components/krisinfo/kriscom/kriscom.py | isabellaalstrom/Krisinformation_V3 | 3337977bede95867fef58eb7db53f1be2074bbe9 | [
"MIT"
] | null | null | null | custom_components/krisinfo/kriscom/kriscom.py | isabellaalstrom/Krisinformation_V3 | 3337977bede95867fef58eb7db53f1be2074bbe9 | [
"MIT"
] | 1 | 2022-03-18T10:56:10.000Z | 2022-03-18T10:56:10.000Z | custom_components/krisinfo/kriscom/kriscom.py | isabellaalstrom/Krisinformation_V3 | 3337977bede95867fef58eb7db53f1be2074bbe9 | [
"MIT"
] | null | null | null | import json
import httpx
import logging
from .exceptions import *
from .const import VERSION, DOMAIN, USER_AGENT, BASE_URL, NEWS_PARAMETER, VMAS_PARAMETER
logger = logging.getLogger(DOMAIN)
class kriscom(object):
def __init__(self, timeout=None):
self._timeout = timeout
def version(self):
r... | 31.220588 | 88 | 0.556759 | 222 | 2,123 | 5.220721 | 0.288288 | 0.02761 | 0.058671 | 0.062123 | 0.755824 | 0.755824 | 0.755824 | 0.755824 | 0.755824 | 0.755824 | 0 | 0.010226 | 0.355158 | 2,123 | 68 | 89 | 31.220588 | 0.836377 | 0.020254 | 0 | 0.679245 | 0 | 0 | 0.075072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.09434 | 0.018868 | 0.207547 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c47bc909cd237b4811365c91afcadaad57d3177 | 77 | py | Python | BanditSim/update_rules/constant_update.py | AJB0211/BanditSim | 5426486b40c35492049b09f9b57eb18ad5d6ce63 | [
"MIT"
] | null | null | null | BanditSim/update_rules/constant_update.py | AJB0211/BanditSim | 5426486b40c35492049b09f9b57eb18ad5d6ce63 | [
"MIT"
] | null | null | null | BanditSim/update_rules/constant_update.py | AJB0211/BanditSim | 5426486b40c35492049b09f9b57eb18ad5d6ce63 | [
"MIT"
] | null | null | null | def constant_update_rule(self, q, r, a):
return q + self.alpha * (r - q)
| 25.666667 | 40 | 0.623377 | 14 | 77 | 3.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220779 | 77 | 2 | 41 | 38.5 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9c652e6a9a6156d948a087584aaa849a164c5ce1 | 3,072 | py | Python | setup.py | IloveKanade/k3redisutil | cd564ee8efec7fadd7d19412916dcb9538145fa0 | [
"MIT"
] | null | null | null | setup.py | IloveKanade/k3redisutil | cd564ee8efec7fadd7d19412916dcb9538145fa0 | [
"MIT"
] | 2 | 2021-11-11T06:21:22.000Z | 2022-03-23T07:02:22.000Z | setup.py | IloveKanade/k3redisutil | cd564ee8efec7fadd7d19412916dcb9538145fa0 | [
"MIT"
] | null | null | null | # DO NOT EDIT!!! built with `python _building/build_setup.py`
import setuptools
setuptools.setup(
name="k3redisutil",
packages=["k3redisutil"],
version="0.1.0",
license='MIT',
description='For using redis more easily.',
long_description='# k3redisutil\n\n[
| 19.333333 | 70 | 0.676724 | 35 | 232 | 4.485714 | 0.628571 | 0.089172 | 0.280255 | 0.318471 | 0.44586 | 0.44586 | 0.44586 | 0.44586 | 0 | 0 | 0 | 0.054455 | 0.12931 | 232 | 11 | 71 | 21.090909 | 0.722772 | 0.228448 | 0 | 0 | 0 | 0 | 0.613333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
130733a5a177f8c659de190e69e282cb77c9dc95 | 91 | py | Python | haystackbrowser/__init__.py | jayvdb/django-haystackbrowser | 255baf25a4cb97262ec8373c2e4fa4bb0134fda7 | [
"BSD-2-Clause-FreeBSD"
] | 22 | 2015-01-11T12:44:57.000Z | 2021-02-11T15:23:24.000Z | haystackbrowser/__init__.py | jayvdb/django-haystackbrowser | 255baf25a4cb97262ec8373c2e4fa4bb0134fda7 | [
"BSD-2-Clause-FreeBSD"
] | 12 | 2015-03-13T19:31:52.000Z | 2020-06-17T06:10:15.000Z | haystackbrowser/__init__.py | jayvdb/django-haystackbrowser | 255baf25a4cb97262ec8373c2e4fa4bb0134fda7 | [
"BSD-2-Clause-FreeBSD"
] | 11 | 2015-09-24T10:42:09.000Z | 2020-07-02T04:26:03.000Z | # -*- coding: utf-8 -*-
__version_info__ = '0.6.3'
__version__ = '0.6.3'
version = '0.6.3'
| 18.2 | 26 | 0.582418 | 16 | 91 | 2.75 | 0.5 | 0.136364 | 0.204545 | 0.454545 | 0.522727 | 0.522727 | 0.522727 | 0 | 0 | 0 | 0 | 0.12987 | 0.153846 | 91 | 4 | 27 | 22.75 | 0.441558 | 0.230769 | 0 | 0 | 0 | 0 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
132da3ba1536a54c73f36e5195bc88e34a322477 | 53 | py | Python | monitor/__init__.py | garagonc/optimization-framework | 1ca57699d6a3f2f98dcaea96430e75c3f847b49f | [
"Apache-2.0"
] | null | null | null | monitor/__init__.py | garagonc/optimization-framework | 1ca57699d6a3f2f98dcaea96430e75c3f847b49f | [
"Apache-2.0"
] | null | null | null | monitor/__init__.py | garagonc/optimization-framework | 1ca57699d6a3f2f98dcaea96430e75c3f847b49f | [
"Apache-2.0"
] | null | null | null | """
Created on Jan 28 16:58 2020
@author: nishit
""" | 10.6 | 28 | 0.641509 | 9 | 53 | 3.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0.188679 | 53 | 5 | 29 | 10.6 | 0.55814 | 0.849057 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13329ebda51941e6ba4ebd549892f776b853502b | 25,757 | py | Python | store_backend/pipelines/tests/test_views.py | EUGINELETHAL/ChRIS_store | b842dbfa80f29f86468fe0ebd3514aaac4898717 | [
"MIT"
] | 11 | 2018-03-23T19:27:10.000Z | 2021-04-30T16:40:04.000Z | store_backend/pipelines/tests/test_views.py | EUGINELETHAL/ChRIS_store | b842dbfa80f29f86468fe0ebd3514aaac4898717 | [
"MIT"
] | 46 | 2018-05-21T14:54:43.000Z | 2022-01-28T01:37:57.000Z | store_backend/pipelines/tests/test_views.py | EUGINELETHAL/ChRIS_store | b842dbfa80f29f86468fe0ebd3514aaac4898717 | [
"MIT"
] | 11 | 2018-03-28T04:37:25.000Z | 2021-05-28T06:40:30.000Z |
import logging
import json
from django.test import TestCase
from django.urls import reverse
from django.contrib.auth.models import User
from rest_framework import status
from plugins.models import PluginMeta, Plugin
from plugins.models import PluginParameter
from plugins.models import DefaultStrParameter, DefaultBo... | 46.576854 | 109 | 0.685018 | 2,906 | 25,757 | 5.819683 | 0.067103 | 0.047304 | 0.051088 | 0.043519 | 0.788316 | 0.766911 | 0.724515 | 0.710028 | 0.681232 | 0.678808 | 0 | 0.009209 | 0.215864 | 25,757 | 552 | 110 | 46.661232 | 0.828143 | 0.043716 | 0 | 0.544529 | 0 | 0 | 0.048305 | 0.011053 | 0 | 0 | 0 | 0 | 0.145038 | 1 | 0.155216 | false | 0.091603 | 0.02799 | 0 | 0.216285 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
13364652ee0b561abe5858d0ac8374debbaafa9d | 113 | py | Python | blocksmith/__init__.py | plattthompson/generate-btc-wallet | 8571447871edb691fcbac294bdbd93d23cec8fbc | [
"Apache-2.0"
] | 1 | 2022-01-14T14:31:34.000Z | 2022-01-14T14:31:34.000Z | blocksmith/__init__.py | plattthompson/generate-btc-wallet | 8571447871edb691fcbac294bdbd93d23cec8fbc | [
"Apache-2.0"
] | null | null | null | blocksmith/__init__.py | plattthompson/generate-btc-wallet | 8571447871edb691fcbac294bdbd93d23cec8fbc | [
"Apache-2.0"
] | null | null | null | from .generator import KeyGenerator
from .bitcoin import BitcoinWallet
# from .ethereum import EthereumWallet
| 28.25 | 39 | 0.823009 | 12 | 113 | 7.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 3 | 40 | 37.666667 | 0.958763 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1384ccc27707cc2808b118477a9843163bdcdd0b | 83 | py | Python | call-workflow.py | humberry/Workflow | 6c1480c7d7a0949ae090d378ec5518ac13450a4a | [
"MIT"
] | 6 | 2015-02-28T21:35:01.000Z | 2019-04-02T04:48:46.000Z | call-workflow.py | humberry/Workflow | 6c1480c7d7a0949ae090d378ec5518ac13450a4a | [
"MIT"
] | null | null | null | call-workflow.py | humberry/Workflow | 6c1480c7d7a0949ae090d378ec5518ac13450a4a | [
"MIT"
] | 6 | 2015-05-11T02:13:53.000Z | 2020-10-03T23:11:11.000Z | import webbrowser
webbrowser.open('workflow://run-workflow?name=workflow-script')
| 20.75 | 63 | 0.807229 | 10 | 83 | 6.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 83 | 3 | 64 | 27.666667 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.53012 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
139941f7b01a14259d2d33764e3d23c02a49c1d6 | 909 | py | Python | metric/db/errors.py | kzulfazriawan/metric | a9a9ddc284a12618a93febe238f12a71f95dd9f1 | [
"MIT"
] | 1 | 2020-12-21T06:52:29.000Z | 2020-12-21T06:52:29.000Z | metric/db/errors.py | kzulfazriawan/metric | a9a9ddc284a12618a93febe238f12a71f95dd9f1 | [
"MIT"
] | null | null | null | metric/db/errors.py | kzulfazriawan/metric | a9a9ddc284a12618a93febe238f12a71f95dd9f1 | [
"MIT"
] | null | null | null | class BaseError(Exception):
pass
class AddQueryInvalid(Exception):
def __init__(self, exception, message="Parameter Add condition is invalid"):
self.message = message
self.exception = exception
super().__init__(self.message)
def __str__(self):
return f'{self.message}: {sel... | 27.545455 | 80 | 0.665567 | 100 | 909 | 5.69 | 0.27 | 0.205624 | 0.210896 | 0.105448 | 0.724077 | 0.676626 | 0.550088 | 0.550088 | 0.550088 | 0.550088 | 0 | 0 | 0.222222 | 909 | 32 | 81 | 28.40625 | 0.804809 | 0 | 0 | 0.652174 | 0 | 0 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0.043478 | 0 | 0.130435 | 0.565217 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
139f6488af2ad0d39171a352763e4a963d886161 | 79 | py | Python | app/widget/__init__.py | HansBug/pyqt5-demo | df10ba54209bcf993d5dab8d969ab63d7a0acc90 | [
"Apache-2.0"
] | null | null | null | app/widget/__init__.py | HansBug/pyqt5-demo | df10ba54209bcf993d5dab8d969ab63d7a0acc90 | [
"Apache-2.0"
] | null | null | null | app/widget/__init__.py | HansBug/pyqt5-demo | df10ba54209bcf993d5dab8d969ab63d7a0acc90 | [
"Apache-2.0"
] | null | null | null | from .dialog_config import DialogConfig
from .main_window import AppMainWindow
| 26.333333 | 39 | 0.873418 | 10 | 79 | 6.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 40 | 39.5 | 0.943662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
13a4b8a7a15255c7da7e019923950de8a4e1ce66 | 101 | py | Python | openpype/hosts/blender/blender_addon/startup/init.py | Tilix4/OpenPype | 8909bd890170880aa7ec8b673abaa25a9bdf40f2 | [
"MIT"
] | 1 | 2022-02-08T15:40:41.000Z | 2022-02-08T15:40:41.000Z | openpype/hosts/blender/blender_addon/startup/init.py | zafrs/OpenPype | 4b8e7e1ed002fc55b31307efdea70b0feaed474f | [
"MIT"
] | 2 | 2022-03-18T01:46:03.000Z | 2022-03-18T01:46:16.000Z | openpype/hosts/blender/blender_addon/startup/init.py | zafrs/OpenPype | 4b8e7e1ed002fc55b31307efdea70b0feaed474f | [
"MIT"
] | null | null | null | from openpype.pipeline import install_host
from openpype.hosts.blender import api
install_host(api)
| 20.2 | 42 | 0.851485 | 15 | 101 | 5.6 | 0.6 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 4 | 43 | 25.25 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
13a6760973cd06a6796bfac7d38c820f092e16b5 | 11,029 | py | Python | template/<project_name>/tests/unit/api/middleware/test_faults.py | hahaps/openstack-project-generator | 646b7b9372082b409e39863bb6604656ade4f44d | [
"Apache-2.0"
] | 3 | 2016-08-29T10:25:07.000Z | 2020-06-03T12:10:32.000Z | template/<project_name>/tests/unit/api/middleware/test_faults.py | hahaps/openstack-project-generator | 646b7b9372082b409e39863bb6604656ade4f44d | [
"Apache-2.0"
] | null | null | null | template/<project_name>/tests/unit/api/middleware/test_faults.py | hahaps/openstack-project-generator | 646b7b9372082b409e39863bb6604656ade4f44d | [
"Apache-2.0"
] | 3 | 2016-08-29T02:45:40.000Z | 2019-07-01T01:45:33.000Z | # Copyright 2010 OpenStack Foundation
# All Rights Reserved.
#
# 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 requ... | 35.124204 | 79 | 0.574304 | 1,093 | 11,029 | 5.656908 | 0.185727 | 0.034935 | 0.023128 | 0.027333 | 0.729096 | 0.712761 | 0.700954 | 0.687045 | 0.687045 | 0.687045 | 0 | 0.016539 | 0.303745 | 11,029 | 313 | 80 | 35.236422 | 0.788644 | 0.054946 | 0 | 0.711111 | 0 | 0 | 0.174954 | 0.025067 | 0 | 0 | 0 | 0 | 0.106667 | 0 | null | null | 0 | 0.04 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13a79bb72ff655f488df528ec6c5fc8f99e38727 | 22 | py | Python | Dmitry_Shevelev/task1.py | Perekalskiyigor/Sirius | 2dcf792b072fa2f3fe4c2e900a9d4b6d0c2bd9b8 | [
"MIT"
] | null | null | null | Dmitry_Shevelev/task1.py | Perekalskiyigor/Sirius | 2dcf792b072fa2f3fe4c2e900a9d4b6d0c2bd9b8 | [
"MIT"
] | null | null | null | Dmitry_Shevelev/task1.py | Perekalskiyigor/Sirius | 2dcf792b072fa2f3fe4c2e900a9d4b6d0c2bd9b8 | [
"MIT"
] | null | null | null | print("Python work!")
| 11 | 21 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
13aa30235eea9a030a84fe7d6fa3e9783bd72093 | 58 | py | Python | 1.0.py | Pontianak/Python-For-Informatics | 0645c5e8114e9b91959a47380dcd7da620eb552e | [
"MIT"
] | 1 | 2016-05-16T14:41:07.000Z | 2016-05-16T14:41:07.000Z | 1.0.py | Pontianak/Python-For-Informatics-Assignments | 0645c5e8114e9b91959a47380dcd7da620eb552e | [
"MIT"
] | null | null | null | 1.0.py | Pontianak/Python-For-Informatics-Assignments | 0645c5e8114e9b91959a47380dcd7da620eb552e | [
"MIT"
] | null | null | null | # Copyright (c) 2015 Pontianak
print "First Assignment!"
| 14.5 | 30 | 0.741379 | 7 | 58 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.155172 | 58 | 3 | 31 | 19.333333 | 0.795918 | 0.482759 | 0 | 0 | 0 | 0 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
13e88f458e6acb72d34013a73650716f2a93d3d4 | 192 | py | Python | authlib/client/oauth_client.py | jonathanunderwood/authlib | 3834a2a80876a87cdaab4240d77185179970c3ab | [
"BSD-3-Clause"
] | 1 | 2021-12-09T07:11:05.000Z | 2021-12-09T07:11:05.000Z | authlib/client/oauth_client.py | jonathanunderwood/authlib | 3834a2a80876a87cdaab4240d77185179970c3ab | [
"BSD-3-Clause"
] | 4 | 2021-03-19T08:17:59.000Z | 2021-06-10T19:34:36.000Z | authlib/client/oauth_client.py | jonathanunderwood/authlib | 3834a2a80876a87cdaab4240d77185179970c3ab | [
"BSD-3-Clause"
] | 2 | 2021-05-24T20:34:12.000Z | 2022-03-26T07:46:17.000Z | from authlib.integrations._client import RemoteApp as OAuthClient
from authlib.integrations._client.oauth_registry import OAUTH_CLIENT_PARAMS
__all__ = ['OAUTH_CLIENT_PARAMS', 'OAuthClient']
| 38.4 | 75 | 0.854167 | 23 | 192 | 6.652174 | 0.521739 | 0.143791 | 0.300654 | 0.379085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 192 | 4 | 76 | 48 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b91620286046f7c22f66ebe72afb7271c4914a12 | 152 | py | Python | pycompanies/admin.py | Devecoop/pyarweb | ee42f0aa871569cc30a6a678dcdc43293d38c0bb | [
"Apache-2.0"
] | 1 | 2022-01-14T18:38:25.000Z | 2022-01-14T18:38:25.000Z | pycompanies/admin.py | Devecoop/pyarweb | ee42f0aa871569cc30a6a678dcdc43293d38c0bb | [
"Apache-2.0"
] | 37 | 2022-01-17T14:41:51.000Z | 2022-02-16T13:50:05.000Z | pycompanies/admin.py | Devecoop/pyarweb | ee42f0aa871569cc30a6a678dcdc43293d38c0bb | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Company, UserCompanyProfile
admin.site.register(Company)
admin.site.register(UserCompanyProfile)
| 21.714286 | 47 | 0.842105 | 18 | 152 | 7.111111 | 0.555556 | 0.140625 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085526 | 152 | 6 | 48 | 25.333333 | 0.920863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b9282242070642559128654e40ae3616af00d16d | 41 | py | Python | app/exceptions.py | GinnyGaga/20171202flasky | 298787c1f54b9ece8048fd359d56044716ffa345 | [
"MIT"
] | null | null | null | app/exceptions.py | GinnyGaga/20171202flasky | 298787c1f54b9ece8048fd359d56044716ffa345 | [
"MIT"
] | 5 | 2020-03-24T15:26:17.000Z | 2021-02-02T21:42:07.000Z | app/exceptions.py | GinnyGaga/flaskyblog | e0e5d8d5bbc38a2237c0a055f1d15f26adb97f7c | [
"MIT"
] | null | null | null | class ValidationError(ValueError):
pass
| 13.666667 | 34 | 0.829268 | 4 | 41 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 35 | 20.5 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b982814722b898ce9050108e67b03d5a61bc431e | 111 | py | Python | dashboard/covid/admin.py | guiyshd/new-dashboard | 78e43b066f153a902514a97a7e66349d2ffc9f36 | [
"MIT"
] | null | null | null | dashboard/covid/admin.py | guiyshd/new-dashboard | 78e43b066f153a902514a97a7e66349d2ffc9f36 | [
"MIT"
] | null | null | null | dashboard/covid/admin.py | guiyshd/new-dashboard | 78e43b066f153a902514a97a7e66349d2ffc9f36 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import WcotaBaseNacional
admin.site.register(WcotaBaseNacional) | 22.2 | 38 | 0.855856 | 13 | 111 | 7.307692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 5 | 38 | 22.2 | 0.940594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b9e47890a1a961b04adf2f16b0fd30ba6c2eb51f | 75 | py | Python | examples/tests/__init__.py | wthie/nevow | e630de8f640f27df85c38bc37ecdaf4e7b931afc | [
"MIT"
] | 49 | 2015-03-18T15:29:16.000Z | 2021-11-17T12:30:51.000Z | examples/tests/__init__.py | wthie/nevow | e630de8f640f27df85c38bc37ecdaf4e7b931afc | [
"MIT"
] | 62 | 2015-01-21T08:48:08.000Z | 2021-04-02T17:31:29.000Z | examples/tests/__init__.py | wthie/nevow | e630de8f640f27df85c38bc37ecdaf4e7b931afc | [
"MIT"
] | 30 | 2015-02-26T09:35:39.000Z | 2021-07-24T12:45:04.000Z | """Tests for the examples, and some functional tests for nevow itself.
""" | 37.5 | 71 | 0.733333 | 11 | 75 | 5 | 0.818182 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 2 | 72 | 37.5 | 0.873016 | 0.893333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9e82039f8b3fee50bca83055ac15098d363aa58 | 215 | py | Python | asdf/tags/core/tests/setup_package.py | eteq/asdf | 6d9e0e48bbffea166a19b71e29f5f9c211983bfe | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | asdf/tags/core/tests/setup_package.py | eteq/asdf | 6d9e0e48bbffea166a19b71e29f5f9c211983bfe | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | asdf/tags/core/tests/setup_package.py | eteq/asdf | 6d9e0e48bbffea166a19b71e29f5f9c211983bfe | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# -*- coding: utf-8 -*-
def get_package_data(): # pragma: no cover
return {
str(_PACKAGE_NAME_ + '.tags.core.tests'): ['data/*.yaml']}
| 23.888889 | 66 | 0.627907 | 30 | 215 | 4.333333 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.204651 | 215 | 8 | 67 | 26.875 | 0.748538 | 0.465116 | 0 | 0 | 0 | 0 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b9ff435155249133500a5ee9e465a249d9442b76 | 74 | py | Python | ctcomp/_payday.py | bubbleboy14/ctcomp | 52f495a5ada76841539f98f808a1ae6a8577a6d4 | [
"MIT"
] | null | null | null | ctcomp/_payday.py | bubbleboy14/ctcomp | 52f495a5ada76841539f98f808a1ae6a8577a6d4 | [
"MIT"
] | null | null | null | ctcomp/_payday.py | bubbleboy14/ctcomp | 52f495a5ada76841539f98f808a1ae6a8577a6d4 | [
"MIT"
] | null | null | null | from cantools.web import respond
from model import payDay
respond(payDay) | 18.5 | 32 | 0.837838 | 11 | 74 | 5.636364 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 4 | 33 | 18.5 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a02cf6969dcd6659ec97109cc4069ee42ca669e | 102 | py | Python | gdax/__init__.py | chesswiz16/Trader | 008308016be6803094b4f5891efa8687af95bacf | [
"MIT"
] | 1 | 2018-01-11T14:39:18.000Z | 2018-01-11T14:39:18.000Z | gdax/__init__.py | chesswiz16/Trader | 008308016be6803094b4f5891efa8687af95bacf | [
"MIT"
] | null | null | null | gdax/__init__.py | chesswiz16/Trader | 008308016be6803094b4f5891efa8687af95bacf | [
"MIT"
] | null | null | null | from gdax.authenticated_client import AuthenticatedClient
from gdax.public_client import PublicClient
| 34 | 57 | 0.901961 | 12 | 102 | 7.5 | 0.666667 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 58 | 51 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a0ad479cb5e02adc948370bbd47aae6a72a57e2 | 63 | py | Python | litex/build/quicklogic/__init__.py | osterwood/litex | db20cb172dc982c5879aa8080ec7aa18de181cc5 | [
"ADSL"
] | 1,501 | 2016-04-19T18:16:21.000Z | 2022-03-31T17:46:31.000Z | litex/build/quicklogic/__init__.py | osterwood/litex | db20cb172dc982c5879aa8080ec7aa18de181cc5 | [
"ADSL"
] | 1,135 | 2016-04-19T05:49:14.000Z | 2022-03-31T15:21:19.000Z | litex/build/quicklogic/__init__.py | osterwood/litex | db20cb172dc982c5879aa8080ec7aa18de181cc5 | [
"ADSL"
] | 357 | 2016-04-19T05:00:24.000Z | 2022-03-31T11:28:32.000Z | from litex.build.quicklogic.platform import QuickLogicPlatform
| 31.5 | 62 | 0.888889 | 7 | 63 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dbe4fbd0e45bbdd37b29f22817e2fa20e3687e0a | 278 | py | Python | src/config/__init__.py | villanuevab/squeezeDet | 4c78fa350f9c11ab9a5b620e78286846a7ee66de | [
"BSD-2-Clause"
] | 812 | 2016-12-11T02:59:15.000Z | 2022-02-23T14:35:45.000Z | src/config/__init__.py | Tony-Hou/squeezeDet | e7c0860eb1d141729cf02a2ec9cafc0cfb4a21aa | [
"BSD-2-Clause"
] | 128 | 2016-12-15T08:18:38.000Z | 2022-03-11T23:18:57.000Z | src/config/__init__.py | Tony-Hou/squeezeDet | e7c0860eb1d141729cf02a2ec9cafc0cfb4a21aa | [
"BSD-2-Clause"
] | 363 | 2016-12-11T04:21:09.000Z | 2022-03-05T17:26:45.000Z | from kitti_model_config import kitti_model_config
from kitti_vgg16_config import kitti_vgg16_config
from kitti_res50_config import kitti_res50_config
from kitti_squeezeDet_config import kitti_squeezeDet_config
from kitti_squeezeDetPlus_config import kitti_squeezeDetPlus_config
| 46.333333 | 67 | 0.928058 | 40 | 278 | 5.95 | 0.225 | 0.189076 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031008 | 0.071942 | 278 | 5 | 68 | 55.6 | 0.891473 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dbfe336ea4eb0b5578fd9980acd344064cd766bb | 62 | py | Python | lf3py/aws/firehose/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | lf3py/aws/firehose/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | 48 | 2020-12-19T13:47:26.000Z | 2021-01-07T22:27:56.000Z | lf3py/aws/firehose/__init__.py | rog-works/lf3py | e89937f7aa133ed54d85764f06101ab9abf6b960 | [
"CNRI-Python"
] | null | null | null | from lf3py.aws.firehose.firehose import FireHose # noqa F401
| 31 | 61 | 0.806452 | 9 | 62 | 5.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.129032 | 62 | 1 | 62 | 62 | 0.851852 | 0.145161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e036e6f2ad79ad20456e86844288febaff304c5a | 119 | py | Python | encrypt.py | MaayanLab/scAVI | 7f3f83657d749520243535581db1080075e48aa5 | [
"Apache-2.0"
] | 3 | 2020-01-23T08:48:33.000Z | 2021-07-21T02:42:28.000Z | encrypt.py | MaayanLab/scAVI | 7f3f83657d749520243535581db1080075e48aa5 | [
"Apache-2.0"
] | 21 | 2019-10-25T15:38:37.000Z | 2022-01-27T16:04:04.000Z | encrypt.py | MaayanLab/scAVI | 7f3f83657d749520243535581db1080075e48aa5 | [
"Apache-2.0"
] | 1 | 2019-10-24T18:15:26.000Z | 2019-10-24T18:15:26.000Z | '''
Encrypt and decrypt a string
'''
def encrypt(s):
return s.encode('hex')
def decrypt(s):
return s.decode('hex')
| 11.9 | 28 | 0.655462 | 19 | 119 | 4.105263 | 0.578947 | 0.179487 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 119 | 9 | 29 | 13.222222 | 0.78 | 0.235294 | 0 | 0 | 0 | 0 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
e045c9a3fc2f22dfbd95d24a12c5d8ae09fbc49a | 884 | py | Python | amt_tools/tools/__init__.py | cwitkowitz/transcription-models | e8697d6969b074926ac55986bc02fa1aad04b471 | [
"MIT"
] | 4 | 2021-06-15T19:45:26.000Z | 2022-03-31T20:42:26.000Z | amt_tools/tools/__init__.py | cwitkowitz/transcription-models | e8697d6969b074926ac55986bc02fa1aad04b471 | [
"MIT"
] | null | null | null | amt_tools/tools/__init__.py | cwitkowitz/transcription-models | e8697d6969b074926ac55986bc02fa1aad04b471 | [
"MIT"
] | 1 | 2021-11-08T02:13:02.000Z | 2021-11-08T02:13:02.000Z | """
Should be able to use the following import patterns (e.g.):
------------------------------------------------------------
import amt_tools
amt_tools.tools.load_normalize_audio()
------------------------------------------------------------
import amt_tools.tools as tools
tools.load_notes_midi()
----------------------... | 31.571429 | 60 | 0.469457 | 80 | 884 | 4.9625 | 0.3875 | 0.141058 | 0.163728 | 0.128463 | 0.115869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075792 | 884 | 27 | 61 | 32.740741 | 0.485924 | 0.885747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e04b6f665304a1078990bdbad8608bdc14b331e2 | 1,061 | py | Python | cart_venv/Lib/site-packages/tensorflow_estimator/_api/v1/estimator/tpu/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | 4 | 2020-09-02T16:13:51.000Z | 2021-06-05T08:45:59.000Z | cart_venv/Lib/site-packages/tensorflow_estimator/_api/v1/estimator/tpu/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | null | null | null | cart_venv/Lib/site-packages/tensorflow_estimator/_api/v1/estimator/tpu/__init__.py | juice1000/Synchronous-vs-Asynchronous-Learning-Tensorflow- | 654be60f7986ac9bb7ce1d080ddee377c3389f93 | [
"MIT"
] | 1 | 2021-01-28T01:57:41.000Z | 2021-01-28T01:57:41.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.estimator.tpu namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow_estimator._api.v1.estimator.tpu import experi... | 42.44 | 84 | 0.840716 | 139 | 1,061 | 6.071942 | 0.388489 | 0.113744 | 0.163507 | 0.171801 | 0.454976 | 0.454976 | 0.454976 | 0.454976 | 0.454976 | 0 | 0 | 0.001034 | 0.088596 | 1,061 | 24 | 85 | 44.208333 | 0.871768 | 0.159284 | 0 | 0 | 1 | 0 | 0.014706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.642857 | 0 | 0.642857 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e07a226a855a2f8af0608b320e0b5d8cc04e3b8f | 82 | py | Python | app/ultraauth_jupyter_config.py | chbrandt/jupyterhub-oauth | de32594649be043b7e74844f3c94b1d57ff326e5 | [
"Apache-2.0"
] | null | null | null | app/ultraauth_jupyter_config.py | chbrandt/jupyterhub-oauth | de32594649be043b7e74844f3c94b1d57ff326e5 | [
"Apache-2.0"
] | null | null | null | app/ultraauth_jupyter_config.py | chbrandt/jupyterhub-oauth | de32594649be043b7e74844f3c94b1d57ff326e5 | [
"Apache-2.0"
] | null | null | null | c.JupyterHub.authenticator_class = 'oauthenticator.generic.GenericOAuthenticator'
| 41 | 81 | 0.878049 | 7 | 82 | 10.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 82 | 1 | 82 | 82 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.536585 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0ec7abbd34adb5e3290452bd1f4fcea9d5ba1554 | 132 | py | Python | donfig/__init__.py | yufeizhu600/donfig | 4ad0cc483044369b2ef5608ae24bad5ba50bb7f2 | [
"MIT",
"BSD-3-Clause"
] | 27 | 2018-11-04T16:50:49.000Z | 2022-02-05T16:33:58.000Z | donfig/__init__.py | yufeizhu600/donfig | 4ad0cc483044369b2ef5608ae24bad5ba50bb7f2 | [
"MIT",
"BSD-3-Clause"
] | 23 | 2018-12-22T15:36:41.000Z | 2022-03-14T22:10:15.000Z | donfig/__init__.py | yufeizhu600/donfig | 4ad0cc483044369b2ef5608ae24bad5ba50bb7f2 | [
"MIT",
"BSD-3-Clause"
] | 4 | 2019-04-24T18:02:29.000Z | 2021-04-09T19:33:23.000Z |
from .version import get_versions
__version__ = get_versions()['version']
del get_versions
from .config_obj import Config # noqa
| 18.857143 | 39 | 0.787879 | 18 | 132 | 5.333333 | 0.5 | 0.34375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 6 | 40 | 22 | 0.842105 | 0.030303 | 0 | 0 | 0 | 0 | 0.056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0efc401295da4a90b5c6925bd689c2c8334c218e | 34 | py | Python | djephys/__init__.py | vathes/canonical-ephys | 34e867c2e117a25424b25e90abf07791285ff010 | [
"MIT"
] | null | null | null | djephys/__init__.py | vathes/canonical-ephys | 34e867c2e117a25424b25e90abf07791285ff010 | [
"MIT"
] | null | null | null | djephys/__init__.py | vathes/canonical-ephys | 34e867c2e117a25424b25e90abf07791285ff010 | [
"MIT"
] | 3 | 2020-04-22T14:16:39.000Z | 2020-05-21T23:05:50.000Z | from .ephys import schema as ephys | 34 | 34 | 0.823529 | 6 | 34 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1602dedcd1ef9dc3450ae8cf1b2b73fe6f3a27fd | 79 | py | Python | scripts/hooks/hook-jsonschema.py | thombashi/sandbox | 525bc258dee5f7654c6a2e0967af99d4127e6db1 | [
"MIT"
] | 1 | 2016-01-18T22:38:40.000Z | 2016-01-18T22:38:40.000Z | scripts/hooks/hook-jsonschema.py | thombashi/sandbox | 525bc258dee5f7654c6a2e0967af99d4127e6db1 | [
"MIT"
] | 1 | 2016-02-25T11:13:51.000Z | 2016-02-25T11:14:43.000Z | scripts/hooks/hook-jsonschema.py | thombashi/sandbox | 525bc258dee5f7654c6a2e0967af99d4127e6db1 | [
"MIT"
] | null | null | null | from PyInstaller.utils.hooks import copy_metadata
copy_metadata("jsonschema")
| 19.75 | 49 | 0.848101 | 10 | 79 | 6.5 | 0.8 | 0.369231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 3 | 50 | 26.333333 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
163ee4b4b619ce6e3342167191813b8223371875 | 89 | py | Python | restdbserver/main.py | bitwyre/database-server | cac4f24ab0c1b34f1aea616f312bdb13a3274e7b | [
"BSD-3-Clause"
] | 1 | 2020-04-07T17:00:57.000Z | 2020-04-07T17:00:57.000Z | restdbserver/main.py | bitwyre/database-server | cac4f24ab0c1b34f1aea616f312bdb13a3274e7b | [
"BSD-3-Clause"
] | null | null | null | restdbserver/main.py | bitwyre/database-server | cac4f24ab0c1b34f1aea616f312bdb13a3274e7b | [
"BSD-3-Clause"
] | 1 | 2020-04-07T17:00:58.000Z | 2020-04-07T17:00:58.000Z | def main():
"""Entry point for the application script"""
print("Server started")
| 22.25 | 48 | 0.651685 | 11 | 89 | 5.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202247 | 89 | 3 | 49 | 29.666667 | 0.816901 | 0.426966 | 0 | 0 | 0 | 0 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.