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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bc455f2bf6db3b8691f8df5938fc8cc198437df9 | 189 | py | Python | source_py2/combi/_python_toolbox/_bootstrap/__init__.py | cool-RR/combi | 9c5c143a792ffd8fb38b6470f926268c8bacbc31 | [
"MIT"
] | 23 | 2015-01-16T03:45:10.000Z | 2021-08-11T20:46:44.000Z | source_py2/combi/_python_toolbox/_bootstrap/__init__.py | cool-RR/combi | 9c5c143a792ffd8fb38b6470f926268c8bacbc31 | [
"MIT"
] | 3 | 2015-01-30T15:59:45.000Z | 2021-09-18T08:52:38.000Z | source_py3/combi/_python_toolbox/_bootstrap/__init__.py | cool-RR/combi | 9c5c143a792ffd8fb38b6470f926268c8bacbc31 | [
"MIT"
] | 1 | 2021-08-11T19:57:47.000Z | 2021-08-11T19:57:47.000Z | # Copyright 2009-2017 Ram Rachum.
# This program is distributed under the MIT license.
'''A bootstrap package for `python_toolbox`. See module `bootstrap` here.'''
from . import bootstrap | 31.5 | 76 | 0.756614 | 26 | 189 | 5.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0.148148 | 189 | 6 | 77 | 31.5 | 0.832298 | 0.814815 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bc6c8fb2a5e57539f0cef688a64d44aa88fae1b4 | 46 | py | Python | server/django_project1/__init__.py | nullpointers-FZU/WeLearn | 97a788a487916ced16dde876781f4adbe91aec49 | [
"MIT"
] | 11 | 2019-05-19T02:48:37.000Z | 2022-02-07T10:14:14.000Z | server/django_project1/__init__.py | nullpointers-FZU/WeLearn | 97a788a487916ced16dde876781f4adbe91aec49 | [
"MIT"
] | 20 | 2020-01-28T22:35:15.000Z | 2022-03-11T23:38:45.000Z | server/django_project1/__init__.py | nullpointers-FZU/WeLearn | 97a788a487916ced16dde876781f4adbe91aec49 | [
"MIT"
] | 2 | 2019-11-01T07:11:27.000Z | 2021-04-16T08:37:05.000Z | import pymysql
pymysql.install_as_MySQLdb() | 15.333333 | 28 | 0.826087 | 6 | 46 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 3 | 28 | 15.333333 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bc74edf0bf0d8ef9e4bf133c259cbae80ffbd6de | 280 | py | Python | aminute/apps/api/__init__.py | zy0851/get-news | 491166acb7b48315eb785a463021b5b8a88b0e60 | [
"Apache-2.0"
] | 1 | 2019-11-19T00:16:45.000Z | 2019-11-19T00:16:45.000Z | aminute/apps/api/__init__.py | zy0851/get-news | 491166acb7b48315eb785a463021b5b8a88b0e60 | [
"Apache-2.0"
] | 2 | 2021-03-31T19:46:46.000Z | 2021-12-13T19:57:12.000Z | aminute/apps/api/__init__.py | zy0851/get-news | 491166acb7b48315eb785a463021b5b8a88b0e60 | [
"Apache-2.0"
] | 6 | 2019-07-23T09:47:52.000Z | 2020-11-01T17:55:10.000Z | #!/usr/bin/env python
# encoding: utf-8
"""
@version: v1.0
@author: xag
@license: Apache Licence
@contact: xinganguo@gmail.com
@site: http://www.xingag.top
@software: PyCharm
@file: __init__.py.py
@time: 2018/7/24 22:26
@description:TODO
"""
from .views import bp
| 16.470588 | 30 | 0.671429 | 42 | 280 | 4.380952 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059829 | 0.164286 | 280 | 16 | 31 | 17.5 | 0.726496 | 0.860714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc8c8c124b47d34bca95b4b7c780b56b3a29f225 | 429 | py | Python | python/2020/august/aug-13/test.py | lineville/Daily-Coding-Problem | 9088616669c5f183457c9238128f0d47b85097d9 | [
"MIT"
] | null | null | null | python/2020/august/aug-13/test.py | lineville/Daily-Coding-Problem | 9088616669c5f183457c9238128f0d47b85097d9 | [
"MIT"
] | 4 | 2021-08-09T00:30:32.000Z | 2021-10-04T21:38:12.000Z | python/2020/august/aug-13/test.py | lineville/Daily-Coding-Problem | 9088616669c5f183457c9238128f0d47b85097d9 | [
"MIT"
] | null | null | null | from main import closestDegrees, zero
# * ____________________________TESTS_________________________________
def testMidnight():
assert closestDegrees("12:00") == 0
def testSix():
assert closestDegrees("6:00") == 180
def testNine():
assert closestDegrees("9:00") == 90
def testFiveF... | 17.875 | 71 | 0.657343 | 40 | 429 | 5.525 | 0.575 | 0.361991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077151 | 0.214452 | 429 | 23 | 72 | 18.652174 | 0.578635 | 0.158508 | 0 | 0 | 0 | 0 | 0.065476 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.454545 | true | 0 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
bc9fe085be2f4f49b4e0fa3bdc546b2e3c2e3e54 | 110 | py | Python | attic/testsuite/mock.py | AaronWebster/attic | be7e636b6de677776d57b788c9a435070063575d | [
"BSD-3-Clause"
] | 1 | 2022-02-11T21:46:40.000Z | 2022-02-11T21:46:40.000Z | attic/testsuite/mock.py | AaronWebster/attic | be7e636b6de677776d57b788c9a435070063575d | [
"BSD-3-Clause"
] | 20 | 2022-02-14T07:54:49.000Z | 2022-02-14T07:57:38.000Z | attic/testsuite/mock.py | AaronWebster/attic | be7e636b6de677776d57b788c9a435070063575d | [
"BSD-3-Clause"
] | null | null | null | try:
# Only available in python 3.3+
from unittest.mock import *
except ImportError:
from mock import *
| 18.333333 | 33 | 0.718182 | 16 | 110 | 4.9375 | 0.75 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.209091 | 110 | 5 | 34 | 22 | 0.885057 | 0.263636 | 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 | 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 |
bca8017a8e768f0402692899806998e72c0d3bf5 | 10,983 | py | Python | BandoodleBackEnd/bands/tests.py | enriquefromojaro/Bandoodle-back-public | c5e391e886ac1e75ebc5820c90da44fdbec44f30 | [
"MIT"
] | null | null | null | BandoodleBackEnd/bands/tests.py | enriquefromojaro/Bandoodle-back-public | c5e391e886ac1e75ebc5820c90da44fdbec44f30 | [
"MIT"
] | null | null | null | BandoodleBackEnd/bands/tests.py | enriquefromojaro/Bandoodle-back-public | c5e391e886ac1e75ebc5820c90da44fdbec44f30 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.test import TestCase
# Create your tests here.
from rest_framework import status
from rest_framework.test import APITestCase, APIClient
from bands.models import Band
URL_PREFIX = 'http://localhost:8000/api/bands/'
class BandTest(APITestCase):
def setUp(self... | 42.902344 | 140 | 0.571884 | 1,217 | 10,983 | 4.974528 | 0.130649 | 0.059465 | 0.071358 | 0.114965 | 0.768087 | 0.751734 | 0.745953 | 0.725966 | 0.696729 | 0.696729 | 0 | 0.022082 | 0.249568 | 10,983 | 255 | 141 | 43.070588 | 0.712448 | 0.061641 | 0 | 0.575419 | 0 | 0 | 0.199826 | 0 | 0 | 0 | 0 | 0.011765 | 0.134078 | 1 | 0.139665 | false | 0.022346 | 0.027933 | 0 | 0.173184 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bcc13adb7e9598a5ca1649348ca7dfd7800cec17 | 201 | py | Python | rook/core/responses.py | lysnikolaou/fastapi-boilerplate | 84ea54b5172a24cec716ccacaf4c3805d7b02850 | [
"MIT"
] | null | null | null | rook/core/responses.py | lysnikolaou/fastapi-boilerplate | 84ea54b5172a24cec716ccacaf4c3805d7b02850 | [
"MIT"
] | null | null | null | rook/core/responses.py | lysnikolaou/fastapi-boilerplate | 84ea54b5172a24cec716ccacaf4c3805d7b02850 | [
"MIT"
] | null | null | null | import typing
from fastapi.responses import JSONResponse
class CustomJSONResponse(JSONResponse):
def render(self, content: typing.Any) -> bytes:
return super().render({"data": content})
| 22.333333 | 51 | 0.731343 | 22 | 201 | 6.681818 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 201 | 8 | 52 | 25.125 | 0.869822 | 0 | 0 | 0 | 0 | 0 | 0.019901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
bcca5000c0e54a01e0ebd0f7aeae862d4a639ab8 | 39,391 | py | Python | tensorflow_quantum/core/ops/tfq_ps_util_ops_test.py | sarvex/tensorflow-quantum | 09ba5d35b082d8229458522471a0c1ca8b77198d | [
"Apache-2.0"
] | 1,501 | 2020-03-09T00:40:31.000Z | 2022-03-28T19:59:57.000Z | tensorflow_quantum/core/ops/tfq_ps_util_ops_test.py | sarvex/tensorflow-quantum | 09ba5d35b082d8229458522471a0c1ca8b77198d | [
"Apache-2.0"
] | 381 | 2020-03-09T18:31:04.000Z | 2022-03-28T18:47:32.000Z | tensorflow_quantum/core/ops/tfq_ps_util_ops_test.py | sarvex/tensorflow-quantum | 09ba5d35b082d8229458522471a0c1ca8b77198d | [
"Apache-2.0"
] | 410 | 2020-03-09T03:05:48.000Z | 2022-03-31T12:08:14.000Z | # Copyright 2020 The TensorFlow Quantum Authors. 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 required by... | 46.561466 | 80 | 0.530654 | 4,607 | 39,391 | 4.406555 | 0.075971 | 0.08236 | 0.079306 | 0.057091 | 0.827299 | 0.785084 | 0.756958 | 0.705532 | 0.680853 | 0.662233 | 0 | 0.041362 | 0.326699 | 39,391 | 845 | 81 | 46.616568 | 0.724078 | 0.103602 | 0 | 0.640114 | 0 | 0 | 0.032882 | 0.000712 | 0 | 0 | 0 | 0 | 0.113798 | 1 | 0.031294 | false | 0 | 0.008535 | 0 | 0.045519 | 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 |
bcec0feb384c1fe94e70bca3e014e1d56c4e537e | 20,316 | py | Python | app/src/thirdparty/telemetry/internal/backends/remote/trybot_browser_finder_unittest.py | ta2edchimp/big-rig | d08ffaa34b1496ca6c8e69a8797d280583472156 | [
"Apache-2.0"
] | 925 | 2015-11-06T03:04:46.000Z | 2017-09-16T19:08:43.000Z | app/src/thirdparty/telemetry/internal/backends/remote/trybot_browser_finder_unittest.py | ta2edchimp/big-rig | d08ffaa34b1496ca6c8e69a8797d280583472156 | [
"Apache-2.0"
] | 29 | 2015-11-09T17:37:28.000Z | 2017-08-16T17:50:11.000Z | app/src/thirdparty/telemetry/internal/backends/remote/trybot_browser_finder_unittest.py | ta2edchimp/big-rig | d08ffaa34b1496ca6c8e69a8797d280583472156 | [
"Apache-2.0"
] | 51 | 2015-11-08T07:06:38.000Z | 2017-08-21T07:27:19.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import json
import logging
import StringIO
import unittest
from telemetry.internal.backends.remote import trybot_browser_finder
from telemetry.internal.brow... | 41.376782 | 79 | 0.63546 | 2,218 | 20,316 | 5.563571 | 0.112263 | 0.055916 | 0.047731 | 0.044733 | 0.810778 | 0.769449 | 0.738088 | 0.720583 | 0.698703 | 0.659806 | 0 | 0.0162 | 0.203928 | 20,316 | 490 | 80 | 41.461224 | 0.7468 | 0.014127 | 0 | 0.696629 | 0 | 0 | 0.301279 | 0.08842 | 0 | 0 | 0 | 0 | 0.080899 | 1 | 0.058427 | false | 0.011236 | 0.017978 | 0 | 0.080899 | 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 |
4c2ac7fef64884be4cb9a8c8930be3a4e673d4f8 | 198 | py | Python | applications/baseapp/management/template_structures/application/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 48 | 2018-01-10T11:21:35.000Z | 2021-09-08T23:28:07.000Z | applications/baseapp/management/template_structures/application/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 26 | 2018-04-20T10:46:00.000Z | 2019-09-21T06:47:13.000Z | applications/baseapp/management/template_structures/application/__init__.py | ajitjasrotia/django-project-skeleton | 70e3e06384dfb018f59b1af8c7c3febf2bbcd47c | [
"MIT"
] | 20 | 2019-03-09T19:46:10.000Z | 2022-03-27T14:57:03.000Z | # isort:skip_file
# flake8: noqa
from .html import TEMPLATE_HTML
from .apps import TEMPLATE_APPS
from .urls import TEMPLATE_URLS
from .views import TEMPLATE_VIEWS
from .tests import TEMPLATE_TESTS
| 22 | 33 | 0.823232 | 30 | 198 | 5.233333 | 0.433333 | 0.44586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.131313 | 198 | 8 | 34 | 24.75 | 0.906977 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4c36979022d0799b8c5397f94f60dbacee0c116e | 125 | py | Python | Python Advanced/File Handling/Lab/file_delete.py | DonikaChervenkova/SoftUni | bff579c037ec48f39ed193b34bc3502a32e90732 | [
"MIT"
] | null | null | null | Python Advanced/File Handling/Lab/file_delete.py | DonikaChervenkova/SoftUni | bff579c037ec48f39ed193b34bc3502a32e90732 | [
"MIT"
] | null | null | null | Python Advanced/File Handling/Lab/file_delete.py | DonikaChervenkova/SoftUni | bff579c037ec48f39ed193b34bc3502a32e90732 | [
"MIT"
] | 1 | 2021-12-04T12:30:57.000Z | 2021-12-04T12:30:57.000Z | import os
if os.path.exists("my_first_file.txt"):
os.remove("my_first_file.txt")
else:
print('File already deleted!') | 25 | 39 | 0.712 | 21 | 125 | 4.047619 | 0.666667 | 0.164706 | 0.258824 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128 | 125 | 5 | 40 | 25 | 0.779817 | 0 | 0 | 0 | 0 | 0 | 0.436508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c394f7cb473fc210d695106d10aef302a2cd2cc | 2,164 | py | Python | auth0_client/commands/user_blocks.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | 2 | 2020-10-08T21:42:56.000Z | 2021-03-21T08:17:52.000Z | auth0_client/commands/user_blocks.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | null | null | null | auth0_client/commands/user_blocks.py | rubelw/auth0_client | 51e68239babcf7c40e40491d1aaa3f8547a67f63 | [
"MIT"
] | null | null | null | import click
from auth0_client.Auth0Client import Auth0Client
from auth0_client.cli_util import ( get_config_dict, group, highlight)
@group(short_help='User Blocks')
def user_blocks():
""" Connections """
user_blocks.help = highlight(user_blocks.help, ['Create:', 'Delete:', 'Update:'], 'green')
@user_blocks.co... | 32.298507 | 108 | 0.689002 | 290 | 2,164 | 4.965517 | 0.206897 | 0.091667 | 0.094444 | 0.127778 | 0.783333 | 0.783333 | 0.783333 | 0.783333 | 0.783333 | 0.783333 | 0 | 0.004364 | 0.152957 | 2,164 | 66 | 109 | 32.787879 | 0.781233 | 0.005083 | 0 | 0.68 | 0 | 0 | 0.223156 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.06 | 0 | 0.16 | 0.08 | 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 |
4c587f01efe7f5ae9c758f2b998b88a75d0bae0e | 33 | py | Python | eisenmann-backend/core/models/__init__.py | RubenRodrigo/Eisenmann-Inventory | 5abb59a11d43987db3d1742b6f0978c6aa6ee81d | [
"MIT"
] | 2 | 2016-12-12T21:45:12.000Z | 2016-12-19T23:53:43.000Z | lib/FluentDB/model/__init__.py | olavoasantos/FluentDB | ab645d2c4e3c73971ca259e89feaa2b967b22e8e | [
"MIT"
] | null | null | null | lib/FluentDB/model/__init__.py | olavoasantos/FluentDB | ab645d2c4e3c73971ca259e89feaa2b967b22e8e | [
"MIT"
] | null | null | null | from .BaseModel import BaseModel
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 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 |
d5bcc9eb2794c1a37e8ff3481c1e4c3af9499aa8 | 47 | py | Python | python/testData/resolve/DunderClassInDeclaration.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/DunderClassInDeclaration.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/DunderClassInDeclaration.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
print(__class__)
# <ref> | 15.666667 | 20 | 0.489362 | 5 | 47 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.382979 | 47 | 3 | 21 | 15.666667 | 0.655172 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 |
d5f8968aa1fb7330a4249efdabd32d4783069ef2 | 181 | py | Python | ppsystem/anmelden/admin.py | holytortoise/ppsystem | 639efbc25f6d0c0c03be9c8688c551ba71cad560 | [
"MIT"
] | null | null | null | ppsystem/anmelden/admin.py | holytortoise/ppsystem | 639efbc25f6d0c0c03be9c8688c551ba71cad560 | [
"MIT"
] | null | null | null | ppsystem/anmelden/admin.py | holytortoise/ppsystem | 639efbc25f6d0c0c03be9c8688c551ba71cad560 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Rfid,Schüler,Zeit
# Register your models here.
admin.site.register(Rfid)
admin.site.register(Schüler)
admin.site.register(Zeit)
| 25.857143 | 37 | 0.812155 | 27 | 181 | 5.444444 | 0.481481 | 0.183673 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 181 | 6 | 38 | 30.166667 | 0.890909 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 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 |
d5ffd34b8509a681c1399b6f4f78e2a422646ceb | 275 | py | Python | src/vendoring/errors.py | domdfcoding/vendoring | 227aece55127fc304980f930c57fbd55bb4408ca | [
"MIT"
] | 33 | 2019-11-21T13:46:59.000Z | 2022-03-03T15:13:36.000Z | src/vendoring/errors.py | domdfcoding/vendoring | 227aece55127fc304980f930c57fbd55bb4408ca | [
"MIT"
] | 37 | 2019-12-14T22:19:20.000Z | 2022-02-19T07:09:01.000Z | src/vendoring/errors.py | domdfcoding/vendoring | 227aece55127fc304980f930c57fbd55bb4408ca | [
"MIT"
] | 10 | 2020-02-06T06:13:41.000Z | 2021-07-26T21:54:29.000Z | class VendoringError(Exception):
"""Errors originating from this package."""
class ConfigurationError(VendoringError):
"""Errors related to configuration handling."""
class RequirementsError(VendoringError):
"""Errors related to requirements.txt handling."""
| 25 | 54 | 0.752727 | 25 | 275 | 8.28 | 0.64 | 0.193237 | 0.26087 | 0.280193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134545 | 275 | 10 | 55 | 27.5 | 0.869748 | 0.450909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9131335014df51d8225351a11daacd99dcf3b739 | 3,672 | py | Python | tests/test_user/test_handlers/test_logout.py | nknaian/album_recs | b96981befb355261b4c02eadc8690863a1e9b285 | [
"MIT"
] | 2 | 2021-02-11T02:44:42.000Z | 2021-02-25T01:37:48.000Z | tests/test_user/test_handlers/test_logout.py | nknaian/album_recs | b96981befb355261b4c02eadc8690863a1e9b285 | [
"MIT"
] | 79 | 2020-10-06T12:47:42.000Z | 2022-03-03T17:56:03.000Z | tests/test_user/test_handlers/test_logout.py | nknaian/albumrecs | b96981befb355261b4c02eadc8690863a1e9b285 | [
"MIT"
] | null | null | null | from musicrecs.enums import MusicType, SnoozinRecType
from flask.helpers import url_for
from musicrecs.database.helpers import add_round_to_db, add_user_to_db
from tests.test_user import UserTestCase
class UserLogoutTestCase(UserTestCase):
"""Test flows involving POST to the user.logout route
"""
def te... | 40.351648 | 106 | 0.641068 | 524 | 3,672 | 4.347328 | 0.219466 | 0.035558 | 0.034241 | 0.019315 | 0.770413 | 0.761194 | 0.761194 | 0.749342 | 0.749342 | 0.73266 | 0 | 0.004582 | 0.286765 | 3,672 | 90 | 107 | 40.8 | 0.865216 | 0.376906 | 0 | 0.530612 | 0 | 0 | 0.093446 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.061224 | false | 0 | 0.081633 | 0 | 0.163265 | 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 |
913275782ed82535b16403894a64d90bfcb53250 | 1,249 | py | Python | nonbonded/tests/backend/crud/test_force_field.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | 5 | 2020-05-11T18:25:00.000Z | 2022-01-27T10:55:09.000Z | nonbonded/tests/backend/crud/test_force_field.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | 88 | 2020-06-02T14:40:05.000Z | 2022-03-02T09:20:39.000Z | nonbonded/tests/backend/crud/test_force_field.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | null | null | null | from sqlalchemy.orm import Session
from nonbonded.backend.database import models
from nonbonded.backend.database.crud.forcefield import ParameterCRUD
from nonbonded.library.models.forcefield import Parameter
def test_create(db: Session):
parameter = Parameter(handler_type="vdW", smirks="[#6:1]", attribute_name=... | 26.574468 | 88 | 0.729384 | 162 | 1,249 | 5.469136 | 0.234568 | 0.18623 | 0.132054 | 0.1693 | 0.739278 | 0.739278 | 0.739278 | 0.739278 | 0.687359 | 0.687359 | 0 | 0.01029 | 0.144115 | 1,249 | 46 | 89 | 27.152174 | 0.818522 | 0 | 0 | 0.666667 | 0 | 0 | 0.038431 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.148148 | 0 | 0.259259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e68a59301020a293e699130eeebae088276da4ff | 175 | py | Python | seq_experiment/io/__init__.py | campenr/seq-experiment | 68d389777c8e3b6af1318212196fda974802779a | [
"BSD-3-Clause"
] | 1 | 2018-01-04T15:04:14.000Z | 2018-01-04T15:04:14.000Z | seq_experiment/io/__init__.py | campenr/seq-experiment | 68d389777c8e3b6af1318212196fda974802779a | [
"BSD-3-Clause"
] | null | null | null | seq_experiment/io/__init__.py | campenr/seq-experiment | 68d389777c8e3b6af1318212196fda974802779a | [
"BSD-3-Clause"
] | null | null | null | """
Copyright (c) 2018, Richard Campen
All rights reserved.
Licensed under the Modified BSD License.
For full license terms see LICENSE.txt
"""
from .mothur import MothurIO
| 17.5 | 40 | 0.765714 | 25 | 175 | 5.36 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027211 | 0.16 | 175 | 9 | 41 | 19.444444 | 0.884354 | 0.771429 | 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 |
e696bc724e333d98035845ea96c476820ebbab05 | 45 | py | Python | week_2_Feb_5/front_times/ron_solution.py | FunWithPythonProgramming/coding-bat-exercises | 0383fb5ebbea2befac21791e3cfc8a393abf9b4a | [
"MIT"
] | null | null | null | week_2_Feb_5/front_times/ron_solution.py | FunWithPythonProgramming/coding-bat-exercises | 0383fb5ebbea2befac21791e3cfc8a393abf9b4a | [
"MIT"
] | 8 | 2020-02-18T03:18:09.000Z | 2022-01-13T02:53:27.000Z | week_2_Feb_5/front_times/ron_solution.py | FunWithPythonProgramming/coding-bat-exercises | 0383fb5ebbea2befac21791e3cfc8a393abf9b4a | [
"MIT"
] | null | null | null | def front_times(str, n):
return str[0:3]*n
| 15 | 24 | 0.666667 | 10 | 45 | 2.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.155556 | 45 | 2 | 25 | 22.5 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
e6a64d62b8aad84c69d50fddb7754013e2ef5572 | 91 | py | Python | yk_utils/objects/__init__.py | jppdpf/yk-utils-python | 2c101feda900713c8cbb0223326031ba09cd48e9 | [
"MIT"
] | null | null | null | yk_utils/objects/__init__.py | jppdpf/yk-utils-python | 2c101feda900713c8cbb0223326031ba09cd48e9 | [
"MIT"
] | null | null | null | yk_utils/objects/__init__.py | jppdpf/yk-utils-python | 2c101feda900713c8cbb0223326031ba09cd48e9 | [
"MIT"
] | 1 | 2022-02-16T19:04:33.000Z | 2022-02-16T19:04:33.000Z | """ Objects Module Init """
from .object_operations import convert_to_string, datetime2str
| 30.333333 | 62 | 0.802198 | 11 | 91 | 6.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.10989 | 91 | 2 | 63 | 45.5 | 0.851852 | 0.208791 | 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 |
e6bc8aa41f9835981043ab98e8430b1de0969f6f | 1,770 | py | Python | FoodScan/ShopList/ShopList.py | danielBreitlauch/FoodScan | cf84209c4da84a8cb56deccdbde9c305eee1b8c3 | [
"MIT"
] | 1 | 2017-03-16T00:59:01.000Z | 2017-03-16T00:59:01.000Z | FoodScan/ShopList/ShopList.py | danielBreitlauch/FoodScan | cf84209c4da84a8cb56deccdbde9c305eee1b8c3 | [
"MIT"
] | null | null | null | FoodScan/ShopList/ShopList.py | danielBreitlauch/FoodScan | cf84209c4da84a8cb56deccdbde9c305eee1b8c3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from FoodScan.items import *
class ShopList:
def __init__(self):
pass
@abc.abstractmethod
def is_meta_item(self, task):
raise NotImplementedError('users must define __str__ to use this base class')
@abc.abstractmethod
def create_web_hook(self, url, port):... | 33.396226 | 85 | 0.702825 | 229 | 1,770 | 5.139738 | 0.235808 | 0.203908 | 0.246389 | 0.280374 | 0.684792 | 0.684792 | 0.684792 | 0.684792 | 0.684792 | 0.684792 | 0 | 0.000725 | 0.220904 | 1,770 | 52 | 86 | 34.038462 | 0.852792 | 0.011864 | 0 | 0.513514 | 0 | 0 | 0.274757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324324 | false | 0.027027 | 0.027027 | 0 | 0.378378 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e6d61f871894d2bb7b7c32bcc884558a7fef6a91 | 82 | py | Python | utilities/console.py | nlowery/org-sandbox | 6e570331424310a8ca78a6c928f98a16dddb9b1c | [
"MIT"
] | null | null | null | utilities/console.py | nlowery/org-sandbox | 6e570331424310a8ca78a6c928f98a16dddb9b1c | [
"MIT"
] | null | null | null | utilities/console.py | nlowery/org-sandbox | 6e570331424310a8ca78a6c928f98a16dddb9b1c | [
"MIT"
] | null | null | null | from layers.console import ConsoleLayer
def log(txt):
ConsoleLayer().log(txt) | 20.5 | 39 | 0.756098 | 11 | 82 | 5.636364 | 0.727273 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 82 | 4 | 40 | 20.5 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e6f232bc18415c79ccfdbdf512f3e059f04112fd | 192 | py | Python | day2/day2-02 remind 2.py | hajin-kim/2020-HighSchool-Python-Tutoring | 352025a954bff37d21cc3d59e7d5e0f0269a1f17 | [
"MIT"
] | null | null | null | day2/day2-02 remind 2.py | hajin-kim/2020-HighSchool-Python-Tutoring | 352025a954bff37d21cc3d59e7d5e0f0269a1f17 | [
"MIT"
] | null | null | null | day2/day2-02 remind 2.py | hajin-kim/2020-HighSchool-Python-Tutoring | 352025a954bff37d21cc3d59e7d5e0f0269a1f17 | [
"MIT"
] | null | null | null | a = float( input('give a number: ') )
b = float( input('give a number: ') )
print(a, '+', b, '=', a+b)
print(a, '-', b, '=', a-b)
print(a, '*', b, '=', a*b)
print(a, '/', b, '=', a/b)
| 24 | 38 | 0.416667 | 32 | 192 | 2.5 | 0.21875 | 0.2 | 0.35 | 0.4 | 0.975 | 0.45 | 0.45 | 0.45 | 0.45 | 0.45 | 0 | 0 | 0.229167 | 192 | 7 | 39 | 27.428571 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0.205405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fc0a353568bae61ac71a343eaf8f5d19d6a33dd9 | 1,765 | gyp | Python | deps/cld/binding.gyp | LaudateCorpus1/node-cld | 3fa8589a82fd1308550a1902a8e82f468bad8985 | [
"Apache-2.0"
] | 206 | 2015-02-18T00:31:16.000Z | 2022-02-27T04:18:39.000Z | deps/cld/binding.gyp | pkrumins/node-cld | 91ccd59345022cf8f03e9ffb369ada40212d7daf | [
"Apache-2.0"
] | 55 | 2015-03-02T10:40:33.000Z | 2022-02-18T10:01:22.000Z | deps/cld/binding.gyp | pkrumins/node-cld | 91ccd59345022cf8f03e9ffb369ada40212d7daf | [
"Apache-2.0"
] | 39 | 2015-02-23T09:43:05.000Z | 2022-02-03T09:43:13.000Z | {
"targets": [
{
"target_name": "cld-c",
"type": "static_library",
"include_dirs": [
"internal",
],
"sources": [
"internal/cldutil.cc",
"internal/cldutil_shared.cc",
"internal/compact_lang_det.cc",
"internal/compact_lang_det_hint_code.cc",
... | 33.301887 | 57 | 0.616997 | 183 | 1,765 | 5.584699 | 0.398907 | 0.273973 | 0.109589 | 0.180039 | 0.252446 | 0.068493 | 0.068493 | 0 | 0 | 0 | 0 | 0.029039 | 0.239093 | 1,765 | 52 | 58 | 33.942308 | 0.731943 | 0 | 0 | 0.038462 | 0 | 0 | 0.658357 | 0.525779 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc111c92d7eca0d2743ef911c4877d1053561649 | 52 | py | Python | src/exceptions/CircuitGrammarException.py | wesrer/QCEQ | 91b020363e034ea1a8a320c2e813a2b46f3ee76a | [
"MIT"
] | null | null | null | src/exceptions/CircuitGrammarException.py | wesrer/QCEQ | 91b020363e034ea1a8a320c2e813a2b46f3ee76a | [
"MIT"
] | null | null | null | src/exceptions/CircuitGrammarException.py | wesrer/QCEQ | 91b020363e034ea1a8a320c2e813a2b46f3ee76a | [
"MIT"
] | null | null | null | class CircuitGrammarException(Exception):
pass
| 13 | 41 | 0.788462 | 4 | 52 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 3 | 42 | 17.333333 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fc423f7a065dd869e68711edcb306c1b034efc91 | 17 | py | Python | sale.py | gaochenjian/second_hand_business | 291affba4648f19f9b0a4535725aa4b0cedd71cb | [
"MIT"
] | null | null | null | sale.py | gaochenjian/second_hand_business | 291affba4648f19f9b0a4535725aa4b0cedd71cb | [
"MIT"
] | null | null | null | sale.py | gaochenjian/second_hand_business | 291affba4648f19f9b0a4535725aa4b0cedd71cb | [
"MIT"
] | null | null | null | #this is sale.py
| 8.5 | 16 | 0.705882 | 4 | 17 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.857143 | 0.882353 | 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 |
fc665b5805488e0a7fc6c4575e0e17cb2957b16c | 19,193 | py | Python | fbpic/fields/numba_methods.py | kcdodd/fbpic | 267c812c6c99fcfbf3f0e3f1833d1338e22ceb54 | [
"BSD-3-Clause-LBNL"
] | null | null | null | fbpic/fields/numba_methods.py | kcdodd/fbpic | 267c812c6c99fcfbf3f0e3f1833d1338e22ceb54 | [
"BSD-3-Clause-LBNL"
] | null | null | null | fbpic/fields/numba_methods.py | kcdodd/fbpic | 267c812c6c99fcfbf3f0e3f1833d1338e22ceb54 | [
"BSD-3-Clause-LBNL"
] | null | null | null | # Copyright 2016, FBPIC contributors
# Authors: Remi Lehe, Manuel Kirchen
# License: 3-Clause-BSD-LBNL
"""
This file is part of the Fourier-Bessel Particle-In-Cell code (FB-PIC)
It defines the optimized fields methods that use numba on a CPU
"""
from scipy.constants import c, epsilon_0, mu_0
c2 = c**2
import numba
from... | 38.852227 | 86 | 0.515657 | 3,070 | 19,193 | 3.088599 | 0.088925 | 0.147648 | 0.034803 | 0.028475 | 0.790023 | 0.760072 | 0.733495 | 0.721789 | 0.706918 | 0.700907 | 0 | 0.017945 | 0.340906 | 19,193 | 493 | 87 | 38.931034 | 0.731621 | 0.27385 | 0 | 0.536965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054475 | false | 0 | 0.011673 | 0 | 0.097276 | 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 |
5d8a2757259db88205573f985a0bedd908948e45 | 118 | py | Python | snmp_orm/devices/__init__.py | blackwithwhite666/snmp_orm | 324a98a18772997ce9853ae2a269842af8b718bb | [
"MIT"
] | 1 | 2015-04-29T20:48:50.000Z | 2015-04-29T20:48:50.000Z | snmp_orm/devices/__init__.py | blackwithwhite666/snmp_orm | 324a98a18772997ce9853ae2a269842af8b718bb | [
"MIT"
] | null | null | null | snmp_orm/devices/__init__.py | blackwithwhite666/snmp_orm | 324a98a18772997ce9853ae2a269842af8b718bb | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .base import AbstractDevice
from .default import Device as DefaultDevice
| 23.6 | 44 | 0.855932 | 15 | 118 | 6.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 118 | 4 | 45 | 29.5 | 0.932039 | 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 |
5d9f3f5d468ef17a3416e3cd53547dd434b25a61 | 19 | py | Python | quantstats/version.py | devwolff/quantstats | e73529a3a3e3ea919fdad18bb1a339dec35e41bd | [
"Apache-2.0"
] | null | null | null | quantstats/version.py | devwolff/quantstats | e73529a3a3e3ea919fdad18bb1a339dec35e41bd | [
"Apache-2.0"
] | null | null | null | quantstats/version.py | devwolff/quantstats | e73529a3a3e3ea919fdad18bb1a339dec35e41bd | [
"Apache-2.0"
] | null | null | null | version = "0.0.35"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5dd55a54564d72882bd1e82f0b8d5a80044ac431 | 4,538 | py | Python | src/SigasiProjectCreator/DotF/DotFLexer.py | nordicneurolab/SigasiProjectCreator | 21e289ea080a063c8c31038ed78ce57a1bf20126 | [
"BSD-3-Clause"
] | 11 | 2015-09-16T16:29:08.000Z | 2020-10-10T17:17:07.000Z | src/SigasiProjectCreator/DotF/DotFLexer.py | nordicneurolab/SigasiProjectCreator | 21e289ea080a063c8c31038ed78ce57a1bf20126 | [
"BSD-3-Clause"
] | 21 | 2016-06-11T18:27:25.000Z | 2022-01-04T10:52:11.000Z | src/SigasiProjectCreator/DotF/DotFLexer.py | nordicneurolab/SigasiProjectCreator | 21e289ea080a063c8c31038ed78ce57a1bf20126 | [
"BSD-3-Clause"
] | 11 | 2016-06-11T15:16:12.000Z | 2022-03-24T20:30:23.000Z | # Generated from C:/Users/Wim Meeus/git/SigasiProjectCreator/src/SigasiProjectCreator/DotF\DotF.g4 by ANTLR 4.9.1
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964... | 44.930693 | 113 | 0.527325 | 1,117 | 4,538 | 2.102059 | 0.176365 | 0.139693 | 0.102215 | 0.081772 | 0.272998 | 0.206559 | 0.148637 | 0.127342 | 0.106048 | 0.106048 | 0 | 0.241563 | 0.17078 | 4,538 | 100 | 114 | 45.38 | 0.382408 | 0.02446 | 0 | 0 | 1 | 0.463415 | 0.523174 | 0.463486 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.04878 | 0 | 0.378049 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f8d6485dc583a9dd5998b93ae82afc44782e0e02 | 74 | py | Python | certbot-dns-gehirn/certbot_dns_gehirn/_internal/__init__.py | vivithemage/certbot | 828be0071ea1fd41808b56d3a0024637091198bd | [
"Apache-2.0"
] | 16,789 | 2016-05-06T19:49:59.000Z | 2022-03-31T20:01:47.000Z | certbot-dns-gehirn/certbot_dns_gehirn/_internal/__init__.py | vivithemage/certbot | 828be0071ea1fd41808b56d3a0024637091198bd | [
"Apache-2.0"
] | 5,737 | 2016-05-06T19:26:43.000Z | 2022-03-31T20:27:38.000Z | certbot-dns-gehirn/certbot_dns_gehirn/_internal/__init__.py | vivithemage/certbot | 828be0071ea1fd41808b56d3a0024637091198bd | [
"Apache-2.0"
] | 2,974 | 2016-05-06T19:51:23.000Z | 2022-03-31T21:01:36.000Z | """Internal implementation of `~certbot_dns_gehirn.dns_gehirn` plugin."""
| 37 | 73 | 0.783784 | 9 | 74 | 6.111111 | 0.777778 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 74 | 1 | 74 | 74 | 0.797101 | 0.905405 | 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 |
5d0a1d32fb5fd151832bb5a96392819d1a18e589 | 84 | py | Python | elementary/python/hello_world(ex1).py | Leofariasrj25/simple-programming-problems | 49fe5c20692efbcd751b0c5bc92fb1b5dc6b4dd9 | [
"MIT"
] | null | null | null | elementary/python/hello_world(ex1).py | Leofariasrj25/simple-programming-problems | 49fe5c20692efbcd751b0c5bc92fb1b5dc6b4dd9 | [
"MIT"
] | null | null | null | elementary/python/hello_world(ex1).py | Leofariasrj25/simple-programming-problems | 49fe5c20692efbcd751b0c5bc92fb1b5dc6b4dd9 | [
"MIT"
] | null | null | null | # 1. Write a program thar prints 'Hello World' to the screen.
print("Hello World")
| 21 | 61 | 0.714286 | 14 | 84 | 4.285714 | 0.857143 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.178571 | 84 | 3 | 62 | 28 | 0.855072 | 0.702381 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5d1af3211fd99f069a34a2de4f806b67651b6ff9 | 70 | py | Python | notebooks/01_broadband_analysis/__init__.py | hpparvi/Parviainen-2017-WASP-80b | e0d544e0815146acbb5f1bf97a950331c6e322da | [
"MIT"
] | null | null | null | notebooks/01_broadband_analysis/__init__.py | hpparvi/Parviainen-2017-WASP-80b | e0d544e0815146acbb5f1bf97a950331c6e322da | [
"MIT"
] | null | null | null | notebooks/01_broadband_analysis/__init__.py | hpparvi/Parviainen-2017-WASP-80b | e0d544e0815146acbb5f1bf97a950331c6e322da | [
"MIT"
] | null | null | null | import sys
from os.path import join
sys.path.append(join('..','..'))
| 14 | 32 | 0.657143 | 11 | 70 | 4.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 4 | 33 | 17.5 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 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 |
5d20be927aec97afbb537282a101ae97b78a39e6 | 21 | py | Python | skyly-project/screens/chat.py | genisyskernel/skyly-project | ea65350ae0ff4b58c0c8c4e9905e851ca24e93d5 | [
"MIT"
] | 1 | 2020-10-26T00:22:12.000Z | 2020-10-26T00:22:12.000Z | skyly-project/screens/chat.py | genisyskernel/skyly-project | ea65350ae0ff4b58c0c8c4e9905e851ca24e93d5 | [
"MIT"
] | null | null | null | skyly-project/screens/chat.py | genisyskernel/skyly-project | ea65350ae0ff4b58c0c8c4e9905e851ca24e93d5 | [
"MIT"
] | null | null | null | print("Chat Screen")
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 21 | 1 | 21 | 21 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 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 |
538d3473326866197812f92988a6ea1a62265caf | 421 | py | Python | tigercontrol/planners/__init__.py | MinRegret/TigerControl | b1ca0617cbb2198f9d5cb37f725f3d7accbab08f | [
"Apache-2.0"
] | 31 | 2019-11-08T06:01:54.000Z | 2021-11-20T04:50:43.000Z | tigercontrol/planners/__init__.py | johnhallman/ctsb | b1ca0617cbb2198f9d5cb37f725f3d7accbab08f | [
"Apache-2.0"
] | 32 | 2019-06-27T15:05:04.000Z | 2019-08-07T04:23:47.000Z | tigercontrol/planners/__init__.py | MinRegret/tigercontrol | b1ca0617cbb2198f9d5cb37f725f3d7accbab08f | [
"Apache-2.0"
] | 3 | 2020-09-30T17:06:50.000Z | 2021-04-12T22:39:34.000Z | # control init file
from tigercontrol.planners.registration import planner_registry, planner_register, planner
from tigercontrol.planners.custom import CustomPlanner, register_custom_planner
from tigercontrol.planners.core import Planner
# planners
from tigercontrol.planners.ilqr import ILQR
# ---------- Control Pl... | 23.388889 | 90 | 0.776722 | 46 | 421 | 6.978261 | 0.391304 | 0.311526 | 0.299065 | 0.193146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114014 | 421 | 17 | 91 | 24.764706 | 0.86059 | 0.154394 | 0 | 0 | 0 | 0 | 0.085227 | 0.073864 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5392fbdac025d24130c2f047c432877ec78e3d6a | 63 | py | Python | wk9_practice/Phone/__init__.py | philuu12/PYTHON_4_NTWK_ENGRS | ac0126ed687a5201031a6295d0094a536547cb92 | [
"Apache-2.0"
] | 1 | 2016-03-01T14:39:17.000Z | 2016-03-01T14:39:17.000Z | wk9_practice/Phone/__init__.py | philuu12/PYTHON_4_NTWK_ENGRS | ac0126ed687a5201031a6295d0094a536547cb92 | [
"Apache-2.0"
] | null | null | null | wk9_practice/Phone/__init__.py | philuu12/PYTHON_4_NTWK_ENGRS | ac0126ed687a5201031a6295d0094a536547cb92 | [
"Apache-2.0"
] | null | null | null | from Pots import Pots
from Isdn import Isdn
from G3 import G3
| 12.6 | 21 | 0.793651 | 12 | 63 | 4.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.206349 | 63 | 4 | 22 | 15.75 | 0.96 | 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 |
53c22f61ad71ee2b79027ec676dee4b33df9593e | 72 | py | Python | bin/main.py | IdiosyncraticDragon/OpenNMT-tf | 99f17c2c2436b45d8a730c662530f4428f9632ca | [
"MIT"
] | 2 | 2018-09-28T14:44:59.000Z | 2018-11-29T02:31:28.000Z | bin/main.py | Nourhene95/Film_Translation | 52538d992abcce044911ee945ffaabd1d12ffe9d | [
"MIT"
] | null | null | null | bin/main.py | Nourhene95/Film_Translation | 52538d992abcce044911ee945ffaabd1d12ffe9d | [
"MIT"
] | 1 | 2019-06-17T21:36:56.000Z | 2019-06-17T21:36:56.000Z | if __name__ == "__main__":
from opennmt.bin import main
main.main()
| 18 | 30 | 0.694444 | 10 | 72 | 4.2 | 0.7 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 3 | 31 | 24 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
53cff554418b0580fa83cc6d0b6c05ed4203e9e9 | 1,125 | py | Python | tests/test_003_invert.py | fezde/plingo | 847abc9600a9fc280afa2243e31703ec3cf51d85 | [
"MIT"
] | null | null | null | tests/test_003_invert.py | fezde/plingo | 847abc9600a9fc280afa2243e31703ec3cf51d85 | [
"MIT"
] | 5 | 2020-12-08T23:09:34.000Z | 2020-12-20T15:22:52.000Z | tests/test_003_invert.py | fezde/plingo | 847abc9600a9fc280afa2243e31703ec3cf51d85 | [
"MIT"
] | null | null | null | from copy import deepcopy
from plingo import Plingo
def test_simple():
lingo = Plingo()
input = [
# Row 1
[[3, 0, 0], [3, 4, 3]],
# Row 1
[[3, 1, 0], [0, 2, 2]],
]
expected = [
# Row 1
[[252, 255, 255], [252, 251, 252]],
# Row 1
[[252,... | 20.833333 | 74 | 0.514667 | 150 | 1,125 | 3.7 | 0.26 | 0.057658 | 0.036036 | 0.12973 | 0.727928 | 0.727928 | 0.727928 | 0.727928 | 0.727928 | 0.727928 | 0 | 0.1313 | 0.329778 | 1,125 | 53 | 75 | 21.226415 | 0.604775 | 0.041778 | 0 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.060606 | false | 0 | 0.060606 | 0 | 0.121212 | 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 |
53e9094eda43e837e7843a23cdc8995ff636bcfe | 35 | py | Python | handwritten_multi_digit_number_recognition/__init__.py | kingyiusuen/handwritten-digit-string-recognition | a1527c72258ba374df5be38a7e76a82e845028fa | [
"MIT"
] | 1 | 2021-08-24T10:10:02.000Z | 2021-08-24T10:10:02.000Z | handwritten_multi_digit_number_recognition/__init__.py | kingyiusuen/handwritten-multi-digit-number-recognition | a1527c72258ba374df5be38a7e76a82e845028fa | [
"MIT"
] | null | null | null | handwritten_multi_digit_number_recognition/__init__.py | kingyiusuen/handwritten-multi-digit-number-recognition | a1527c72258ba374df5be38a7e76a82e845028fa | [
"MIT"
] | 1 | 2021-08-24T19:09:08.000Z | 2021-08-24T19:09:08.000Z | from .recognizer import Recognizer
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
53f4c8f50808c53e1a607d667dd3bb042d6f3ea9 | 7,279 | py | Python | assrunit/tests/tests.py | ChristophMetzner/ASSRUn | 45e91d2ed3178bc656a724bb5be544ff1c12eb7c | [
"CC-BY-4.0"
] | 3 | 2017-12-23T18:57:01.000Z | 2020-12-09T12:19:41.000Z | assrunit/tests/tests.py | ChristophMetzner/ASSRUn | 45e91d2ed3178bc656a724bb5be544ff1c12eb7c | [
"CC-BY-4.0"
] | 2 | 2018-01-22T10:28:58.000Z | 2020-04-14T14:15:08.000Z | assrunit/tests/tests.py | ChristophMetzner/ASSRUn | 45e91d2ed3178bc656a724bb5be544ff1c12eb7c | [
"CC-BY-4.0"
] | 3 | 2019-03-21T10:24:49.000Z | 2020-11-11T00:19:35.000Z | import sciunit
from sciunit.scores import (
BooleanScore,
RatioScore,
) # Two of several SciUnit score types.
from assrunit.capabilities import ProduceXY
### The test classes ###
# 40Hz/40Hz
class Test4040(sciunit.Test):
"""Tests if the model predicts the reduction of 40Hz power in the
'schizophr... | 35.857143 | 120 | 0.644182 | 858 | 7,279 | 5.367133 | 0.134033 | 0.058632 | 0.049511 | 0.028665 | 0.775896 | 0.743322 | 0.734636 | 0.734636 | 0.703366 | 0.703366 | 0 | 0.049406 | 0.260338 | 7,279 | 202 | 121 | 36.034653 | 0.805906 | 0.26391 | 0 | 0.556391 | 0 | 0 | 0.142911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135338 | false | 0.037594 | 0.022556 | 0 | 0.338346 | 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 |
9906881b6586101afb45d77ff7931f96318b04a5 | 11 | py | Python | my_classes/Tuples/.history/name_tuples_20210721182417.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/Tuples/.history/name_tuples_20210721182417.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/Tuples/.history/name_tuples_20210721182417.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | print("HI") | 11 | 11 | 0.636364 | 2 | 11 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 | 1 | 11 | 11 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
073aeb959f2d0269c003c0e754f2664f238673cb | 46 | py | Python | cupy_alias/manipulation/basic.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/manipulation/basic.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/manipulation/basic.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.manipulation.basic import * # NOQA
| 23 | 45 | 0.76087 | 6 | 46 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 1 | 46 | 46 | 0.897436 | 0.086957 | 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 |
073d71b85d5a411bec2cc9edd250f24de1d33b00 | 212 | py | Python | blog_project/blog/templatetags/extras.py | athallahmaajid/My_Blog | 3399889829d92f9a054512ea28fcceefbcc76f48 | [
"MIT"
] | null | null | null | blog_project/blog/templatetags/extras.py | athallahmaajid/My_Blog | 3399889829d92f9a054512ea28fcceefbcc76f48 | [
"MIT"
] | null | null | null | blog_project/blog/templatetags/extras.py | athallahmaajid/My_Blog | 3399889829d92f9a054512ea28fcceefbcc76f48 | [
"MIT"
] | 1 | 2021-05-23T16:13:18.000Z | 2021-05-23T16:13:18.000Z | from django import template
register = template.Library()
@register.filter(name='get_type')
def get_type(value):
return type(value)
@register.filter(name='string')
def string(value):
return str(value)
| 17.666667 | 33 | 0.735849 | 29 | 212 | 5.310345 | 0.517241 | 0.181818 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 212 | 11 | 34 | 19.272727 | 0.836957 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4ae2e5014b424052986ad407ad4a883e0d874d45 | 172 | py | Python | lessons/1_django/simpleApp/articles/urls.py | OmarThinks/django-cheat-sheet | dd8ca772301c443aa6c8a0845e9b10c182a00efa | [
"MIT"
] | null | null | null | lessons/1_django/simpleApp/articles/urls.py | OmarThinks/django-cheat-sheet | dd8ca772301c443aa6c8a0845e9b10c182a00efa | [
"MIT"
] | null | null | null | lessons/1_django/simpleApp/articles/urls.py | OmarThinks/django-cheat-sheet | dd8ca772301c443aa6c8a0845e9b10c182a00efa | [
"MIT"
] | null | null | null | from django.urls import path
from .views import (articles_list_page, article_page)
urlpatterns = [
path('', articles_list_page),
path('<int:id>', article_page),
]
| 21.5 | 53 | 0.715116 | 23 | 172 | 5.086957 | 0.565217 | 0.205128 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 172 | 7 | 54 | 24.571429 | 0.80137 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
4ae43d7df3a5e7d59abd19efc6482eddf3b87650 | 787 | py | Python | tests/snippets/elephant:more.py | admariner/jurigged | 34459a5fd3300447ecbc1f943a9939d350639083 | [
"MIT"
] | null | null | null | tests/snippets/elephant:more.py | admariner/jurigged | 34459a5fd3300447ecbc1f943a9939d350639083 | [
"MIT"
] | 1 | 2021-11-11T16:49:33.000Z | 2021-11-11T16:49:33.000Z | tests/snippets/elephant:more.py | admariner/jurigged | 34459a5fd3300447ecbc1f943a9939d350639083 | [
"MIT"
] | null | null | null |
class Rememberer:
def __init__(self):
self.funcs = []
def register(self, fn):
self.funcs.append(fn)
fn.__conform__ = lambda new: self.recode(fn, new)
return self
def recode(self, fn, new):
if new is None:
self.funcs.remove(fn)
else:
... | 16.744681 | 57 | 0.606099 | 110 | 787 | 4.154545 | 0.354545 | 0.039387 | 0.229759 | 0.251641 | 0.339168 | 0.339168 | 0.339168 | 0 | 0 | 0 | 0 | 0 | 0.270648 | 787 | 46 | 58 | 17.108696 | 0.796167 | 0 | 0 | 0.333333 | 0 | 0 | 0.110687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.566667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ab0504eaf9f6f867d620bea16e93836e8ad6b3f0 | 19,137 | py | Python | Source/Game_of_Life.py | Crbakc/Game-of-Life | ac9c1065df003520f474354dc3ddc1f7f527e25c | [
"MIT"
] | null | null | null | Source/Game_of_Life.py | Crbakc/Game-of-Life | ac9c1065df003520f474354dc3ddc1f7f527e25c | [
"MIT"
] | null | null | null | Source/Game_of_Life.py | Crbakc/Game-of-Life | ac9c1065df003520f474354dc3ddc1f7f527e25c | [
"MIT"
] | null | null | null | import os
import time
import random
import shutil
import colorama
def pos (y, x):
return "\x1b[" + str(y) + ";" + str(x) + "H"
def getGridSize():
gridX, gridY = input("Input grid's size(4x4) Enter '0x0' for current terminal size: ").split('x')
if gridX == '0' and gridY == '0':
gridX , gridY = shutil.get_termi... | 36.039548 | 177 | 0.662957 | 2,362 | 19,137 | 5.365368 | 0.07917 | 0.036455 | 0.017439 | 0.027776 | 0.787738 | 0.761856 | 0.745364 | 0.719956 | 0.705752 | 0.671506 | 0 | 0.020897 | 0.197314 | 19,137 | 531 | 178 | 36.039548 | 0.804114 | 0.046193 | 0 | 0.69281 | 0 | 0.013072 | 0.17492 | 0 | 0 | 0 | 0.000165 | 0 | 0 | 1 | 0.028322 | false | 0 | 0.010893 | 0.002179 | 0.115468 | 0.093682 | 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 |
ab2ff4d6064b4975052bd51ba0948bf5f8ad5917 | 348 | py | Python | rasa_core/nlg/__init__.py | TiboC/rasa_core | 5c025fad44302164af0d6c2767fc1b6a49131b67 | [
"Apache-2.0"
] | 2 | 2021-04-20T03:20:26.000Z | 2022-01-20T02:04:52.000Z | rasa_core/nlg/__init__.py | farooqarahim/rasa_core | acbf97ff1923a553eadd5cf881e64c50e622ae90 | [
"Apache-2.0"
] | null | null | null | rasa_core/nlg/__init__.py | farooqarahim/rasa_core | acbf97ff1923a553eadd5cf881e64c50e622ae90 | [
"Apache-2.0"
] | 1 | 2019-03-07T16:37:48.000Z | 2019-03-07T16:37:48.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from rasa_core.nlg.generator import NaturalLanguageGenerator
from rasa_core.nlg.template import TemplatedNaturalLanguageGenerator
from rasa_core.nlg.callback import Callb... | 38.666667 | 68 | 0.899425 | 40 | 348 | 7.275 | 0.45 | 0.137457 | 0.219931 | 0.154639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 348 | 8 | 69 | 43.5 | 0.912226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 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 |
ab334613e3262999c5b2f3bad21826b4ae912519 | 16,437 | py | Python | test/torchaudio_unittest/sox_effect/sox_effect_test.py | majabojarska/audio | 765fde0873ee52be9c1db1fdc7fddedb721f4d0c | [
"BSD-2-Clause"
] | 1 | 2021-05-07T16:33:15.000Z | 2021-05-07T16:33:15.000Z | test/torchaudio_unittest/sox_effect/sox_effect_test.py | majabojarska/audio | 765fde0873ee52be9c1db1fdc7fddedb721f4d0c | [
"BSD-2-Clause"
] | null | null | null | test/torchaudio_unittest/sox_effect/sox_effect_test.py | majabojarska/audio | 765fde0873ee52be9c1db1fdc7fddedb721f4d0c | [
"BSD-2-Clause"
] | null | null | null | import io
import itertools
from pathlib import Path
import tarfile
from parameterized import parameterized
from torchaudio import sox_effects
from torchaudio._internal import module_utils as _mod_utils
from torchaudio_unittest.common_utils import (
TempDirMixin,
HttpServerMixin,
PytorchTestCase,
skipI... | 38.766509 | 119 | 0.654012 | 2,030 | 16,437 | 4.997044 | 0.100493 | 0.085864 | 0.033616 | 0.04584 | 0.790024 | 0.773955 | 0.75138 | 0.728214 | 0.699132 | 0.699132 | 0 | 0.023721 | 0.233133 | 16,437 | 423 | 120 | 38.858156 | 0.781039 | 0.083835 | 0 | 0.719403 | 0 | 0.01791 | 0.0785 | 0.017683 | 0 | 0 | 0 | 0 | 0.086567 | 1 | 0.044776 | false | 0 | 0.029851 | 0 | 0.095522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db490636a5ff2be33e1dcb855349eedbd44b75a8 | 126 | py | Python | code/ejercicio02.py | laonrd0/lcm_2021-2 | 0e580033b7c02ccb37744a1f995c3985e32b8399 | [
"CC0-1.0"
] | 1 | 2021-07-06T18:28:49.000Z | 2021-07-06T18:28:49.000Z | code/ejercicio02.py | laonrd0/lcm_2021-2 | 0e580033b7c02ccb37744a1f995c3985e32b8399 | [
"CC0-1.0"
] | null | null | null | code/ejercicio02.py | laonrd0/lcm_2021-2 | 0e580033b7c02ccb37744a1f995c3985e32b8399 | [
"CC0-1.0"
] | null | null | null | def print_header(cadena_texto):
print("Hola ", cadena_texto)
nombre = input("¿Cuál es tu nombre? ")
print_header(nombre) | 21 | 38 | 0.722222 | 19 | 126 | 4.631579 | 0.631579 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 126 | 6 | 39 | 21 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
dba7d4cef9626e1f33acd7690312f26b6aa2db7e | 41,804 | py | Python | cmt/modis/learned_adaboost.py | erichilarysmithsr/CrisisMappingToolkit | 33eb4f158cf7ae4c3e58025b2639186d17fe8d01 | [
"Apache-2.0"
] | null | null | null | cmt/modis/learned_adaboost.py | erichilarysmithsr/CrisisMappingToolkit | 33eb4f158cf7ae4c3e58025b2639186d17fe8d01 | [
"Apache-2.0"
] | null | null | null | cmt/modis/learned_adaboost.py | erichilarysmithsr/CrisisMappingToolkit | 33eb4f158cf7ae4c3e58025b2639186d17fe8d01 | [
"Apache-2.0"
] | null | null | null | # -----------------------------------------------------------------------------
# Copyright * 2014, United States Government, as represented by the
# Administrator of the National Aeronautics and Space Administration. All
# rights reserved.
#
# The Crisis Mapping Toolkit (CMT) v1 platform is licensed under the Apache
#... | 522.55 | 5,397 | 0.751196 | 4,851 | 41,804 | 6.467945 | 0.372294 | 0.021226 | 0.024764 | 0.002295 | 0.106706 | 0.077766 | 0.077766 | 0.077766 | 0.077766 | 0.077766 | 0 | 0.656449 | 0.062721 | 41,804 | 79 | 5,398 | 529.164557 | 0.144326 | 0.502847 | 0 | 0 | 0 | 0 | 0.089339 | 0 | 0 | 0 | 0 | 0.012658 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9186f08335fe523c2fbce97cd7a632f8843e4064 | 42 | py | Python | dev_main.py | RyouMon/FavoritesCrawler | c11750ea4094cd7e4d91a0dd79c9ee21a066c0ee | [
"MIT"
] | 2 | 2022-02-05T04:24:55.000Z | 2022-02-22T23:50:23.000Z | dev_main.py | RyouMon/FavoritesCrawler | c11750ea4094cd7e4d91a0dd79c9ee21a066c0ee | [
"MIT"
] | 3 | 2022-02-22T13:35:29.000Z | 2022-02-28T13:29:56.000Z | dev_main.py | RyouMon/FavoritesCrawler | c11750ea4094cd7e4d91a0dd79c9ee21a066c0ee | [
"MIT"
] | null | null | null | from favorites_crawler import main
main()
| 14 | 34 | 0.833333 | 6 | 42 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 35 | 21 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
91b768d7822eaf3bdf4f0faded8b296d259a5551 | 120 | py | Python | mezzanine/utils/__init__.py | arundalal/mezzanine-blog | 116f3c2595098a83757f1c6b00ceb7f65ef30d51 | [
"BSD-2-Clause"
] | 4 | 2015-02-05T03:57:02.000Z | 2021-11-08T12:24:58.000Z | mezzanine/utils/__init__.py | arundalal/mezzanine-blog | 116f3c2595098a83757f1c6b00ceb7f65ef30d51 | [
"BSD-2-Clause"
] | 9 | 2020-03-24T16:20:31.000Z | 2022-03-11T23:32:38.000Z | mezzanine/utils/__init__.py | arundalal/mezzanine-blog | 116f3c2595098a83757f1c6b00ceb7f65ef30d51 | [
"BSD-2-Clause"
] | 19 | 2017-01-12T09:20:03.000Z | 2019-06-18T14:53:32.000Z | """
Various utility functions used throughout the different Mezzanine apps.
"""
from __future__ import unicode_literals
| 24 | 71 | 0.816667 | 14 | 120 | 6.642857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 4 | 72 | 30 | 0.885714 | 0.591667 | 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 |
91bb74d4c90fa2a76eb4095cef2de9c6d17415f0 | 46 | py | Python | tests/__init__.py | mberz/frontend_control | ae69e75570db59aa045e6fd061027d1982f8a75a | [
"MIT"
] | null | null | null | tests/__init__.py | mberz/frontend_control | ae69e75570db59aa045e6fd061027d1982f8a75a | [
"MIT"
] | null | null | null | tests/__init__.py | mberz/frontend_control | ae69e75570db59aa045e6fd061027d1982f8a75a | [
"MIT"
] | 1 | 2021-10-07T09:03:47.000Z | 2021-10-07T09:03:47.000Z | """Unit test package for frontend_control."""
| 23 | 45 | 0.73913 | 6 | 46 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.804878 | 0.847826 | 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 |
37da10de4683afa3615da1c18dc786f3f2a358df | 39,180 | py | Python | tests/test.py | e2jk/actioncam-upload | 9db140cdd0d78ec4e50179a6b4f1db89df0b0256 | [
"MIT"
] | null | null | null | tests/test.py | e2jk/actioncam-upload | 9db140cdd0d78ec4e50179a6b4f1db89df0b0256 | [
"MIT"
] | 8 | 2019-02-02T19:11:29.000Z | 2019-07-07T08:55:00.000Z | tests/test.py | e2jk/actioncam-upload | 9db140cdd0d78ec4e50179a6b4f1db89df0b0256 | [
"MIT"
] | 1 | 2020-03-28T03:05:45.000Z | 2020-03-28T03:05:45.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# https://realpython.com/python-testing/
# Running the tests:
# $ python -m unittest -v test
# Checking the coverage of the tests:
# $ coverage run --include=actioncam-upload.py test.py && coverage html
import unittest
import sys
import logging
import datetime
import tem... | 47.72229 | 158 | 0.650995 | 4,914 | 39,180 | 4.999797 | 0.092593 | 0.036632 | 0.022834 | 0.029061 | 0.812487 | 0.762261 | 0.729374 | 0.701982 | 0.670438 | 0.619805 | 0 | 0.034234 | 0.238795 | 39,180 | 820 | 159 | 47.780488 | 0.789565 | 0.382006 | 0 | 0.473684 | 0 | 0 | 0.098537 | 0.027866 | 0 | 0 | 0 | 0 | 0.203008 | 1 | 0.115288 | false | 0.005013 | 0.025063 | 0 | 0.180451 | 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 |
37fd7d5a076e78a560bf0282ba9601dc07758ca5 | 38,564 | py | Python | datasets/imagenet.py | jimilee/image-classification | abd07abbbf3ed2e38bb7fda6f4bfeb28dd7ffaae | [
"MIT"
] | 57 | 2021-08-23T03:36:15.000Z | 2022-03-29T14:07:10.000Z | datasets/imagenet.py | jimilee/image-classification | abd07abbbf3ed2e38bb7fda6f4bfeb28dd7ffaae | [
"MIT"
] | null | null | null | datasets/imagenet.py | jimilee/image-classification | abd07abbbf3ed2e38bb7fda6f4bfeb28dd7ffaae | [
"MIT"
] | 12 | 2021-08-15T17:56:02.000Z | 2022-03-31T02:26:22.000Z | from torchvision.datasets import ImageFolder
from typing import Optional, Callable
from pathlib import Path
class ImageNet(ImageFolder):
WNIDS = ['n01440764', 'n01443537', 'n01484850', 'n01491361', 'n01494475', 'n01496331', 'n01498041', 'n01514668', 'n01514859', 'n01518878', 'n01530575', 'n01531178', 'n... | 1,377.285714 | 24,689 | 0.713645 | 4,009 | 38,564 | 6.858818 | 0.724869 | 0.001309 | 0.001964 | 0.000946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231531 | 0.103905 | 38,564 | 28 | 24,690 | 1,377.285714 | 0.564169 | 0 | 0 | 0 | 0 | 0.166667 | 0.771451 | 0.001919 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0.055556 | 0.222222 | 0 | 0.444444 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
530e49518c31185f025e4383a16217feb99758dd | 15,291 | py | Python | dev/ceti_pru.py | mlares/hearsay | 27e833f49eaea1c3d185c27036f149bc6f834edc | [
"MIT"
] | null | null | null | dev/ceti_pru.py | mlares/hearsay | 27e833f49eaea1c3d185c27036f149bc6f834edc | [
"MIT"
] | null | null | null | dev/ceti_pru.py | mlares/hearsay | 27e833f49eaea1c3d185c27036f149bc6f834edc | [
"MIT"
] | null | null | null | # coding: utf-8
#
#def ceti_exp(
# GHZ_inner, GHZ_outer, tau_awakening, tau_survive, D_max, t_max
#):
##{{{
#
# import ceti_tools as ct
#
# random.seed(420)
# np.random.seed(420)
#
# # lista de CETIs alguna vez activas
# CETIs = dict()
#
# # lista de CETIs actualmente activas
# CHATs = []
# ... | 30.520958 | 96 | 0.518083 | 1,982 | 15,291 | 3.748739 | 0.154894 | 0.027995 | 0.021534 | 0.035801 | 0.779946 | 0.774832 | 0.764334 | 0.746299 | 0.74603 | 0.738493 | 0 | 0.015526 | 0.359754 | 15,291 | 500 | 97 | 30.582 | 0.743003 | 0.602511 | 0 | 0.137681 | 0 | 0 | 0.025347 | 0.007986 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.028986 | 0.07971 | 0 | 0.07971 | 0.028986 | 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 |
5338ec3a2c4201670910e9e85c4e4f363185939c | 174 | py | Python | activity/views_admin.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | 44 | 2015-11-19T04:52:39.000Z | 2021-03-17T02:08:26.000Z | activity/views_admin.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | 748 | 2015-09-03T04:18:33.000Z | 2022-03-10T14:08:10.000Z | activity/views_admin.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | 145 | 2015-09-19T10:10:44.000Z | 2022-03-04T21:01:12.000Z | # activity/views_admin.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
import wevote_functions.admin
logger = wevote_functions.admin.get_logger(__name__)
| 19.333333 | 52 | 0.741379 | 26 | 174 | 4.653846 | 0.807692 | 0.247934 | 0.330579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.137931 | 174 | 8 | 53 | 21.75 | 0.8 | 0.465517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
536ea67ff27d6632069b6eedda2c4ab9d88d60c0 | 21 | py | Python | hello_world.py | Sparrow-veer/profiles-rest-api | 7194c412f80ec7cbc88a37e10225320f25c13caf | [
"MIT"
] | null | null | null | hello_world.py | Sparrow-veer/profiles-rest-api | 7194c412f80ec7cbc88a37e10225320f25c13caf | [
"MIT"
] | null | null | null | hello_world.py | Sparrow-veer/profiles-rest-api | 7194c412f80ec7cbc88a37e10225320f25c13caf | [
"MIT"
] | null | null | null | print("helo world")
| 10.5 | 20 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
72827d082b7fa914cf3c20149bf2e9b61b34b3ec | 159 | py | Python | test.py | bfordham/sushibots | d9e629b83ae9d7b12e11f0cd51bd4884aca9320b | [
"MIT"
] | null | null | null | test.py | bfordham/sushibots | d9e629b83ae9d7b12e11f0cd51bd4884aca9320b | [
"MIT"
] | null | null | null | test.py | bfordham/sushibots | d9e629b83ae9d7b12e11f0cd51bd4884aca9320b | [
"MIT"
] | null | null | null | import zenaton_client
from app.workflows.hourly_workflow import HourlyWorkflow
from app.tasks.send_tweet_task import SendTweetTask
HourlyWorkflow().dispatch() | 31.8 | 56 | 0.874214 | 20 | 159 | 6.75 | 0.75 | 0.103704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069182 | 159 | 5 | 57 | 31.8 | 0.912162 | 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 |
728c85716b295e539131801056e9e599c168a935 | 89 | py | Python | nmoscommon/__init__.py | pkeroulas/nmos-common | b650bad276819d794624f4ff6ea08fbdecd915d7 | [
"Apache-2.0"
] | 7 | 2017-12-08T08:05:51.000Z | 2020-10-21T07:32:42.000Z | nmoscommon/__init__.py | pkeroulas/nmos-common | b650bad276819d794624f4ff6ea08fbdecd915d7 | [
"Apache-2.0"
] | 63 | 2017-12-13T08:46:58.000Z | 2020-12-02T08:48:40.000Z | nmoscommon/__init__.py | pkeroulas/nmos-common | b650bad276819d794624f4ff6ea08fbdecd915d7 | [
"Apache-2.0"
] | 7 | 2017-11-22T10:49:23.000Z | 2022-03-15T22:00:17.000Z | from __future__ import absolute_import
from .nmoscommonconfig import config # noqa F401
| 29.666667 | 49 | 0.842697 | 11 | 89 | 6.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.134831 | 89 | 2 | 50 | 44.5 | 0.87013 | 0.101124 | 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 |
72913e70b4cf9b4577ae5aac3fb6c179ac89ff85 | 43 | py | Python | exp_nms.py | ooooverflow/DigestPath2019 | db7b6a0a86bffbe8f44b5d6aa72b4c76e982c0b8 | [
"Apache-2.0"
] | 1 | 2021-04-22T02:38:38.000Z | 2021-04-22T02:38:38.000Z | exp_nms.py | ooooverflow/DigestPath2019 | db7b6a0a86bffbe8f44b5d6aa72b4c76e982c0b8 | [
"Apache-2.0"
] | 1 | 2020-02-18T12:09:10.000Z | 2021-04-24T16:28:53.000Z | exp_nms.py | ooooverflow/DigestPath2019 | db7b6a0a86bffbe8f44b5d6aa72b4c76e982c0b8 | [
"Apache-2.0"
] | null | null | null | from nms_maskrcnn import _C
nms = _C.nms | 14.333333 | 28 | 0.744186 | 8 | 43 | 3.625 | 0.625 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 3 | 29 | 14.333333 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
72a27ff16b57bad4f9472eb182ecd486526c1596 | 88 | py | Python | danny_project/stats.py | df3960/APW1 | 2a7c4da19c6077cddbe24d172df281b59c2a8fef | [
"CC0-1.0"
] | null | null | null | danny_project/stats.py | df3960/APW1 | 2a7c4da19c6077cddbe24d172df281b59c2a8fef | [
"CC0-1.0"
] | null | null | null | danny_project/stats.py | df3960/APW1 | 2a7c4da19c6077cddbe24d172df281b59c2a8fef | [
"CC0-1.0"
] | null | null | null | import Pandas as pd
import numpy as np
import matplotlib.pyplot as plt
pd.read_csv("")
| 14.666667 | 31 | 0.772727 | 16 | 88 | 4.1875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 32 | 17.6 | 0.905405 | 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 |
72c65ef91a666da93e1cb8f3a9e0ff4e20072ccd | 124 | py | Python | noolite_api/__init__.py | andvikt/noolite_api | 12bdcc98ec19bbfa5ea833305ff0e9764f48d416 | [
"BSD-2-Clause"
] | null | null | null | noolite_api/__init__.py | andvikt/noolite_api | 12bdcc98ec19bbfa5ea833305ff0e9764f48d416 | [
"BSD-2-Clause"
] | null | null | null | noolite_api/__init__.py | andvikt/noolite_api | 12bdcc98ec19bbfa5ea833305ff0e9764f48d416 | [
"BSD-2-Clause"
] | null | null | null | from .nl_serial import NooliteSerial, dispatch_command
from .nl_ethernet import NooliteEthernet
from . import typing, const
| 31 | 54 | 0.846774 | 16 | 124 | 6.375 | 0.6875 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 3 | 55 | 41.333333 | 0.927273 | 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 |
72e74ed61aec87e94c6a3d4e79bf56efd18f269f | 123 | py | Python | pi/tcp/__init__.py | maxschwe/PiCar | 81d83cd0f8a32d4c0faf8c36a13e09da732244d3 | [
"MIT"
] | null | null | null | pi/tcp/__init__.py | maxschwe/PiCar | 81d83cd0f8a32d4c0faf8c36a13e09da732244d3 | [
"MIT"
] | null | null | null | pi/tcp/__init__.py | maxschwe/PiCar | 81d83cd0f8a32d4c0faf8c36a13e09da732244d3 | [
"MIT"
] | null | null | null | from .actions import ACTIONS
from .blueprint import Blueprint
from .tcp_server import TcpServer
from .config import Config
| 24.6 | 33 | 0.837398 | 17 | 123 | 6 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 4 | 34 | 30.75 | 0.953271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
72ea26ddb6a44967f061f5edd9d150037133e0cd | 266 | py | Python | criterions/__init__.py | zhaoguangxiang/OFA | cc1719df2713f0a046f34acb0afd8782e08ea6be | [
"Apache-2.0"
] | null | null | null | criterions/__init__.py | zhaoguangxiang/OFA | cc1719df2713f0a046f34acb0afd8782e08ea6be | [
"Apache-2.0"
] | null | null | null | criterions/__init__.py | zhaoguangxiang/OFA | cc1719df2713f0a046f34acb0afd8782e08ea6be | [
"Apache-2.0"
] | null | null | null | from .scst_loss import ScstRewardCriterion
from .label_smoothed_cross_entropy import AdjustLabelSmoothedCrossEntropyCriterion
from .clip_scst_loss import ClipScstRewardCriterion
from .label_smoothed_encouraging_loss import AjustLabelSmoothedEncouragingLossCriterion
| 53.2 | 87 | 0.924812 | 25 | 266 | 9.48 | 0.56 | 0.126582 | 0.118143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 266 | 4 | 88 | 66.5 | 0.948 | 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 |
f4313140e49891235e808ec6b24188a7e55b41c9 | 2,193 | py | Python | cricket/models.py | joysdo/MyApps | 0a5b032257f82360405346533893d57dcd616abc | [
"CC0-1.0"
] | null | null | null | cricket/models.py | joysdo/MyApps | 0a5b032257f82360405346533893d57dcd616abc | [
"CC0-1.0"
] | null | null | null | cricket/models.py | joysdo/MyApps | 0a5b032257f82360405346533893d57dcd616abc | [
"CC0-1.0"
] | null | null | null | from django.db import models
# Create your models here.
from django.urls import reverse
#
# class cricket(models.Model):
# Name = models.CharField(max_length=50)
class Match_Regi(models.Model):
choices = (
('a', 'ODI'),
('b', 'Test'),
('c', 'T20'),
)
toss=(
('a', 'Team ... | 36.55 | 77 | 0.714546 | 295 | 2,193 | 5.074576 | 0.230508 | 0.280561 | 0.336673 | 0.448898 | 0.760855 | 0.758183 | 0.156313 | 0.058784 | 0.058784 | 0 | 0 | 0.057955 | 0.165983 | 2,193 | 59 | 78 | 37.169492 | 0.760525 | 0.043776 | 0 | 0.041667 | 0 | 0 | 0.030593 | 0.011472 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.041667 | 0.0625 | 0.854167 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f4795e9a431e8f71a64631c12395d230f8d0cd86 | 8,161 | py | Python | ENIAC/api/loop_stack/loop_indicators/cci_indicator.py | Ahrli/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | 1 | 2021-12-11T16:33:47.000Z | 2021-12-11T16:33:47.000Z | ENIAC/api/loop_stack/loop_indicators/cci_indicator.py | webclinic017/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | null | null | null | ENIAC/api/loop_stack/loop_indicators/cci_indicator.py | webclinic017/fast_tools | 144d764e4f169d3ab3753dcc6a79db9f9449de59 | [
"Apache-2.0"
] | 3 | 2021-11-22T09:46:43.000Z | 2022-01-28T22:33:07.000Z | import backtrader.indicators as btind
from . import compare_price as compare
from .base_indicator import iBaseIndicator
class iCciCompare(iBaseIndicator):
'''
因子:相对强弱指数比较数值
传入参数:
# rule = {"args": ["5", "30", "50", "70", "100"], #rsi周期,"极弱区", "弱区", "强区", "极强区"
rule = {"args": ["5"], #rsi周期
... | 36.433036 | 119 | 0.532655 | 997 | 8,161 | 4.255767 | 0.125376 | 0.07259 | 0.06222 | 0.042894 | 0.815461 | 0.760311 | 0.750177 | 0.743578 | 0.687485 | 0.642941 | 0 | 0.035011 | 0.296532 | 8,161 | 223 | 120 | 36.596413 | 0.704059 | 0.210636 | 0 | 0.595588 | 0 | 0 | 0.028516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139706 | false | 0 | 0.022059 | 0.036765 | 0.352941 | 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 |
be34ddfcf7d345e4e376ba5f7ac226cb5a3ad409 | 169 | py | Python | dvcw/api.py | benouinirachid/dvcw | 81b4384169bf47f69fa7787650398f441ffbddf1 | [
"Apache-2.0"
] | null | null | null | dvcw/api.py | benouinirachid/dvcw | 81b4384169bf47f69fa7787650398f441ffbddf1 | [
"Apache-2.0"
] | null | null | null | dvcw/api.py | benouinirachid/dvcw | 81b4384169bf47f69fa7787650398f441ffbddf1 | [
"Apache-2.0"
] | null | null | null | import dvc.api
def get_url(path: str, repo: str = None, rev: str = None, remote: str = None):
return dvc.api.get_url(path=path, repo=repo, rev=rev, remote=remote)
| 28.166667 | 78 | 0.686391 | 30 | 169 | 3.8 | 0.433333 | 0.184211 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16568 | 169 | 5 | 79 | 33.8 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
be480b503acc233d0ea9a8a0175453f9d8fadcd9 | 44 | py | Python | external/netdef_models/netdef_slim/core/phase.py | zhuhu00/MOTSFusion_modify | 190224a7c3fbded69fedf9645a0ebbf08227fb6d | [
"MIT"
] | null | null | null | external/netdef_models/netdef_slim/core/phase.py | zhuhu00/MOTSFusion_modify | 190224a7c3fbded69fedf9645a0ebbf08227fb6d | [
"MIT"
] | null | null | null | external/netdef_models/netdef_slim/core/phase.py | zhuhu00/MOTSFusion_modify | 190224a7c3fbded69fedf9645a0ebbf08227fb6d | [
"MIT"
] | null | null | null | import netdef_slim as nd
nd.phase = 'train' | 14.666667 | 24 | 0.75 | 8 | 44 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 3 | 25 | 14.666667 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
22b7bdf94212371e1627299852ca2e9b3127b430 | 2,003 | py | Python | tests/test_run_app.py | bcb/aiohttp | 77638364958c74fff7719fdc028a79aa2281c3ad | [
"Apache-2.0"
] | null | null | null | tests/test_run_app.py | bcb/aiohttp | 77638364958c74fff7719fdc028a79aa2281c3ad | [
"Apache-2.0"
] | 2 | 2018-06-12T15:22:48.000Z | 2018-06-12T15:31:13.000Z | tests/test_run_app.py | datarobot/aiohttp | 19d95a5ad84cf1453b8091b9bd8640317831e15f | [
"Apache-2.0"
] | 1 | 2019-08-31T04:45:14.000Z | 2019-08-31T04:45:14.000Z | import ssl
from unittest import mock
from aiohttp import web
def test_run_app_http(loop, mocker):
mocker.spy(loop, 'create_server')
loop.call_later(0.05, loop.stop)
app = web.Application(loop=loop)
mocker.spy(app, 'startup')
web.run_app(app, print=lambda *args: None)
assert loop.is_closed(... | 28.614286 | 71 | 0.654019 | 286 | 2,003 | 4.36014 | 0.171329 | 0.014435 | 0.102646 | 0.0417 | 0.785084 | 0.785084 | 0.761026 | 0.761026 | 0.761026 | 0.761026 | 0 | 0.031572 | 0.225162 | 2,003 | 69 | 72 | 29.028986 | 0.771907 | 0 | 0 | 0.608696 | 0 | 0 | 0.054918 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.086957 | false | 0 | 0.065217 | 0 | 0.152174 | 0.086957 | 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 |
22c4d38f65dc6725705c4954b165358f429e85d5 | 68 | py | Python | old-visualizer-py/lib/__init__.py | tintinp/swarm | a7e185fb1a49361def23b042d0e3aea2fab87b5d | [
"MIT"
] | 1 | 2020-07-22T19:11:26.000Z | 2020-07-22T19:11:26.000Z | old-visualizer-py/lib/__init__.py | tintinp/swarm | a7e185fb1a49361def23b042d0e3aea2fab87b5d | [
"MIT"
] | 1 | 2021-05-11T04:29:11.000Z | 2021-05-11T04:29:11.000Z | old-visualizer-py/lib/__init__.py | tintinp/swarm | a7e185fb1a49361def23b042d0e3aea2fab87b5d | [
"MIT"
] | null | null | null | from .FlightVisualizer import FlightVisualizer
from .UAV import UAV
| 22.666667 | 46 | 0.852941 | 8 | 68 | 7.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 47 | 34 | 0.966667 | 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 |
22fa0e703eb152ec3458a84d2f53e394417c871b | 81 | py | Python | tbcscrapper/__init__.py | Denniskamau/TextbookcentreWebScrapper | c6b0a6225fb130ce335372d14624127dde2cb213 | [
"MIT"
] | 3 | 2020-04-11T15:53:10.000Z | 2020-04-14T09:31:11.000Z | tbcscrapper/__init__.py | Denniskamau/TextbookcentreWebScrapper | c6b0a6225fb130ce335372d14624127dde2cb213 | [
"MIT"
] | null | null | null | tbcscrapper/__init__.py | Denniskamau/TextbookcentreWebScrapper | c6b0a6225fb130ce335372d14624127dde2cb213 | [
"MIT"
] | null | null | null | from . import bookscrapper
from . import textbookcentreGUI
__version__ = "0.1.2" | 20.25 | 31 | 0.777778 | 10 | 81 | 5.9 | 0.8 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.135802 | 81 | 4 | 32 | 20.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 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 |
fe106ea5f32a278b54b0e16af84e31df4505c789 | 55 | py | Python | src/test_placeholder.py | EOEPCA/um-login-gluu-oxauth | 4f3d72335808dd9f8979d89c7f63aed0b5814ca0 | [
"Apache-2.0"
] | null | null | null | src/test_placeholder.py | EOEPCA/um-login-gluu-oxauth | 4f3d72335808dd9f8979d89c7f63aed0b5814ca0 | [
"Apache-2.0"
] | null | null | null | src/test_placeholder.py | EOEPCA/um-login-gluu-oxauth | 4f3d72335808dd9f8979d89c7f63aed0b5814ca0 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
def test_placeholder():
pass | 18.333333 | 23 | 0.709091 | 8 | 55 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.145455 | 55 | 3 | 24 | 18.333333 | 0.787234 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a3adad76dd741ed554e53b658280adec4cddcfcc | 42 | py | Python | departure/board/commons.py | Woll78/departure-python | 86eccd40291ad560d5859a120dd6c99aa5c4bd12 | [
"MIT"
] | 4 | 2020-10-18T18:12:04.000Z | 2022-03-31T19:13:08.000Z | departure/board/commons.py | Woll78/departure-python | 86eccd40291ad560d5859a120dd6c99aa5c4bd12 | [
"MIT"
] | null | null | null | departure/board/commons.py | Woll78/departure-python | 86eccd40291ad560d5859a120dd6c99aa5c4bd12 | [
"MIT"
] | 1 | 2021-11-19T10:37:26.000Z | 2021-11-19T10:37:26.000Z | class BoardException(Exception):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 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 |
4322d134c33ef9200a8f12f2573a9e232eac3eb5 | 470 | py | Python | tests/plots/test_image.py | santanaangel/shap | 1c1c4a45440f3475b8544251f9d9e5b43977cd0e | [
"MIT"
] | 13 | 2019-07-04T11:40:24.000Z | 2021-09-10T09:54:36.000Z | tests/plots/test_image.py | santanaangel/shap | 1c1c4a45440f3475b8544251f9d9e5b43977cd0e | [
"MIT"
] | 3 | 2022-02-13T19:32:27.000Z | 2022-02-27T09:45:10.000Z | tests/plots/test_image.py | santanaangel/shap | 1c1c4a45440f3475b8544251f9d9e5b43977cd0e | [
"MIT"
] | 10 | 2019-09-09T13:56:49.000Z | 2021-10-01T20:08:35.000Z | import matplotlib
import numpy as np
matplotlib.use('Agg')
import shap
def test_random_single_image():
""" Just make sure the image_plot function doesn't crash.
"""
shap.image_plot(np.random.randn(3, 20,20), np.random.randn(3, 20,20), show=False)
def test_random_multi_image():
""" Just make sure the ... | 27.647059 | 105 | 0.697872 | 80 | 470 | 3.975 | 0.4 | 0.113208 | 0.163522 | 0.176101 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.496855 | 0.496855 | 0 | 0.053165 | 0.159574 | 470 | 16 | 106 | 29.375 | 0.751899 | 0.238298 | 0 | 0 | 0 | 0 | 0.008824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
433e46143aada8d391d64216ed69faacd87ae5a0 | 12,317 | py | Python | Tests/ManualSearch/searching.py | yupasik/AT | 8f4f6535cef8b7714cb325a32dadf36f6f8664ee | [
"Apache-2.0"
] | null | null | null | Tests/ManualSearch/searching.py | yupasik/AT | 8f4f6535cef8b7714cb325a32dadf36f6f8664ee | [
"Apache-2.0"
] | null | null | null | Tests/ManualSearch/searching.py | yupasik/AT | 8f4f6535cef8b7714cb325a32dadf36f6f8664ee | [
"Apache-2.0"
] | null | null | null | # Test name = ManualSearch
# Script dir = R:\Stingray\Tests\ManualSearch\searching\searching.py
from time import sleep
from device import handler, updateTestResult
import RC
import UART
import DO
import GRAB
import MOD
import os
from DO import status
def runTest():
status("active")
TestName = "ManualSearch"... | 39.732258 | 111 | 0.457254 | 1,327 | 12,317 | 4.200452 | 0.107762 | 0.072121 | 0.139756 | 0.193757 | 0.778436 | 0.766954 | 0.722641 | 0.597775 | 0.597775 | 0.58127 | 0 | 0.103579 | 0.167573 | 12,317 | 309 | 112 | 39.860841 | 0.439969 | 0.04985 | 0 | 0.624521 | 0 | 0 | 0.287707 | 0.010749 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.034483 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a4c81d0c033b181474d8661d94597498dc13a30 | 167,419 | py | Python | Simple Problem Demo/lib.py | regevjohn/continuous-service | 470015e4c33db2c28a217f2eadfe0d66e3c99600 | [
"Apache-2.0"
] | null | null | null | Simple Problem Demo/lib.py | regevjohn/continuous-service | 470015e4c33db2c28a217f2eadfe0d66e3c99600 | [
"Apache-2.0"
] | null | null | null | Simple Problem Demo/lib.py | regevjohn/continuous-service | 470015e4c33db2c28a217f2eadfe0d66e3c99600 | [
"Apache-2.0"
] | null | null | null | import web3
import time
import eth_account.messages
import web3.contract
import random
import json
from SimpleValidator import *
from eth_keys import keys
w3 = web3.Web3(web3.HTTPProvider("http://127.0.0.1:7545"))
BLOCKLEN = 1024
APPEAL_PERIOD = 10 # the appeal period in blocks.
SUBSCRIPTION_COST = 10 *... | 123.192789 | 86,308 | 0.786577 | 17,147 | 167,419 | 7.648452 | 0.087537 | 0.050233 | 0.036165 | 0.021197 | 0.55352 | 0.52944 | 0.502104 | 0.487381 | 0.44921 | 0.43258 | 0 | 0.371123 | 0.17894 | 167,419 | 1,358 | 86,309 | 123.283505 | 0.582951 | 0.007693 | 0 | 0.54322 | 0 | 0.001586 | 0.895875 | 0.308944 | 0 | 1 | 0.130025 | 0 | 0 | 1 | 0.048374 | false | 0 | 0.006344 | 0.01586 | 0.11816 | 0.012688 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a7074bc45cb9295a8548a5aaac51d7c6e07607a | 91 | py | Python | build/lib.linux-x86_64-2.7/error_generator/strategies/typos/__init__.py | BigDaMa/error-generator | 7d8949fc8fb00b6285c7c220dbda7451dc152e44 | [
"Apache-2.0"
] | 2 | 2018-11-11T07:52:51.000Z | 2019-06-19T05:44:55.000Z | build/lib.linux-x86_64-2.7/error_generator/strategies/typos/__init__.py | BigDaMa/error-generator | 7d8949fc8fb00b6285c7c220dbda7451dc152e44 | [
"Apache-2.0"
] | 5 | 2018-07-20T15:08:23.000Z | 2018-11-21T13:18:01.000Z | error_generator/strategies/typos/__init__.py | BigDaMa/error-generator | 7d8949fc8fb00b6285c7c220dbda7451dc152e44 | [
"Apache-2.0"
] | 1 | 2020-11-25T15:16:16.000Z | 2020-11-25T15:16:16.000Z | from .typo_keyboard import Typo_Keyboard
from .typo_butterfingers import Typo_Butterfingers | 45.5 | 50 | 0.901099 | 12 | 91 | 6.5 | 0.416667 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 91 | 2 | 50 | 45.5 | 0.928571 | 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 |
43699e0415eba55b47d3486a88f60f2681c11386 | 18 | py | Python | __init__.py | gitbugr/s4c-anki-plugin | b212abb4142b232bf8e2ee79b9069da2f997edd0 | [
"Unlicense"
] | null | null | null | __init__.py | gitbugr/s4c-anki-plugin | b212abb4142b232bf8e2ee79b9069da2f997edd0 | [
"Unlicense"
] | null | null | null | __init__.py | gitbugr/s4c-anki-plugin | b212abb4142b232bf8e2ee79b9069da2f997edd0 | [
"Unlicense"
] | null | null | null | from . import s4c
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.222222 | 18 | 1 | 18 | 18 | 0.857143 | 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 |
4381272cc7d2c76beb3168084ddc3915b1a73136 | 56 | py | Python | update_cache.py | szabgab/python-maven.com | 600077745ba83d222c72a76094142d03ec8a1f05 | [
"MIT"
] | 18 | 2016-05-09T05:03:54.000Z | 2022-02-20T19:39:48.000Z | update_cache.py | szabgab/python-maven.com | 600077745ba83d222c72a76094142d03ec8a1f05 | [
"MIT"
] | 73 | 2016-10-26T14:59:41.000Z | 2022-02-20T08:48:57.000Z | update_cache.py | szabgab/python-maven.com | 600077745ba83d222c72a76094142d03ec8a1f05 | [
"MIT"
] | 6 | 2016-04-29T12:31:28.000Z | 2022-02-20T08:58:40.000Z | from PyDigger.common import update_cache
update_cache()
| 18.666667 | 40 | 0.857143 | 8 | 56 | 5.75 | 0.75 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 56 | 2 | 41 | 28 | 0.901961 | 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 | 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 |
43850536b034c235e3edfbe811dde10d29ea917e | 736 | py | Python | repos/fdbt-reference-data-service/src/uploaders/tests/test_csv_uploader.py | fares-data-build-tool/create-data | d4e73228e76a4c6dc24ef8ed78c73cc62cf45c77 | [
"MIT"
] | 6 | 2021-06-22T09:01:17.000Z | 2022-03-04T12:48:25.000Z | repos/fdbt-reference-data-service/src/uploaders/tests/test_csv_uploader.py | fares-data-build-tool/create-data | d4e73228e76a4c6dc24ef8ed78c73cc62cf45c77 | [
"MIT"
] | 18 | 2021-08-04T09:23:10.000Z | 2022-02-18T10:07:18.000Z | src/uploaders/tests/test_csv_uploader.py | fares-data-build-tool/fdbt-reference-data-service | d60506edf24c723a7d56a7ff7b6586f1c1e9989d | [
"MIT"
] | 1 | 2021-06-30T16:27:27.000Z | 2021-06-30T16:27:27.000Z | from csv_uploader.db_queries import *
class TestClass:
def test_public_name_bucket_insertion(self):
bucket = 'unit-test-bucket'
result = public_name_query(bucket)
assert result[2].__contains__(bucket)
def test_noc_table_bucket_insertion(self):
bucket = 'unit-test-bucket'
... | 30.666667 | 48 | 0.6875 | 90 | 736 | 5.177778 | 0.277778 | 0.060086 | 0.16309 | 0.214592 | 0.783262 | 0.783262 | 0.783262 | 0.701717 | 0.508584 | 0.206009 | 0 | 0.006981 | 0.221467 | 736 | 23 | 49 | 32 | 0.806283 | 0 | 0 | 0.444444 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.055556 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43867a999b01cd7d7aedf5fb68f033ed472c6556 | 1,361 | py | Python | tests/vds.py | FidelityInternational/nsxramlclient | 002aca6cf1151afad66c9a4c6384646a86ee29f3 | [
"MIT"
] | 44 | 2015-09-03T11:50:01.000Z | 2019-12-09T18:11:03.000Z | tests/vds.py | FidelityInternational/nsxramlclient | 002aca6cf1151afad66c9a4c6384646a86ee29f3 | [
"MIT"
] | 18 | 2015-11-08T16:34:56.000Z | 2019-10-18T21:17:05.000Z | tests/vds.py | FidelityInternational/nsxramlclient | 002aca6cf1151afad66c9a4c6384646a86ee29f3 | [
"MIT"
] | 36 | 2015-09-24T02:06:19.000Z | 2020-09-28T08:34:41.000Z | # coding=utf-8
#
# Copyright © 2015 VMware, Inc. All Rights Reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, co... | 48.607143 | 115 | 0.786187 | 206 | 1,361 | 5.160194 | 0.587379 | 0.082785 | 0.024459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004378 | 0.160911 | 1,361 | 28 | 116 | 48.607143 | 0.925569 | 0.824394 | 0 | 0 | 0 | 0 | 0.031674 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0 | false | 0.2 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
78deaafb13727de67f7c66ad21b488f2b892dd1b | 74 | py | Python | fileconversions/conversions/odt_to_pdf_conversion.py | wilbertom/fileconversions | c48fda9b2804524fc57d1f6963d09645825b0da6 | [
"MIT"
] | null | null | null | fileconversions/conversions/odt_to_pdf_conversion.py | wilbertom/fileconversions | c48fda9b2804524fc57d1f6963d09645825b0da6 | [
"MIT"
] | null | null | null | fileconversions/conversions/odt_to_pdf_conversion.py | wilbertom/fileconversions | c48fda9b2804524fc57d1f6963d09645825b0da6 | [
"MIT"
] | null | null | null | from .conversion import Conversion
class OdtToPdf(Conversion):
pass
| 12.333333 | 34 | 0.77027 | 8 | 74 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 35 | 14.8 | 0.934426 | 0 | 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 |
60052b06aadb653d150317a7e3d95bd7854451f4 | 4,492 | py | Python | scripts/data/training_set_20sims.py | finn-dodgson/DeepHalos | 86e0ac6c24ac97a0a2a0a60a7ea3721a04bd050c | [
"MIT"
] | 2 | 2021-07-26T10:56:33.000Z | 2021-12-20T17:30:53.000Z | scripts/data/training_set_20sims.py | finn-dodgson/DeepHalos | 86e0ac6c24ac97a0a2a0a60a7ea3721a04bd050c | [
"MIT"
] | 1 | 2021-11-25T21:01:19.000Z | 2021-12-05T01:40:53.000Z | scripts/data/training_set_20sims.py | finn-dodgson/DeepHalos | 86e0ac6c24ac97a0a2a0a60a7ea3721a04bd050c | [
"MIT"
] | 1 | 2021-11-27T02:35:10.000Z | 2021-11-27T02:35:10.000Z | import dlhalos_code.data_processing as tn
from pickle import dump
import numpy as np
if __name__ == "__main__":
path_random = "/mnt/beegfs/work/ati/pearl037/regression/training_set_13.4/20sims/random/"
path_uniform = "/mnt/beegfs/work/ati/pearl037/regression/training_set_13.4/20sims/uniform/"
path_sims = ... | 54.780488 | 117 | 0.648486 | 590 | 4,492 | 4.566102 | 0.176271 | 0.07758 | 0.072754 | 0.093541 | 0.790275 | 0.781366 | 0.755382 | 0.74833 | 0.71121 | 0.687454 | 0 | 0.039042 | 0.247329 | 4,492 | 81 | 118 | 55.45679 | 0.757764 | 0.032725 | 0 | 0.419355 | 0 | 0.032258 | 0.14424 | 0.089171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.048387 | 0 | 0.048387 | 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 |
606f92f5b05e4f9f4a20ba0b3a844ea83cbfc939 | 119 | py | Python | src/modules_packages/MyMainPackage/SubPackage/my_sub_script.py | sachithdickwella/python-tute | 42583d04db0ab907288b9bef0b022730eec0aa7d | [
"Apache-2.0"
] | null | null | null | src/modules_packages/MyMainPackage/SubPackage/my_sub_script.py | sachithdickwella/python-tute | 42583d04db0ab907288b9bef0b022730eec0aa7d | [
"Apache-2.0"
] | null | null | null | src/modules_packages/MyMainPackage/SubPackage/my_sub_script.py | sachithdickwella/python-tute | 42583d04db0ab907288b9bef0b022730eec0aa7d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
def sub_report():
print("Hey, I'm a function inside my subscript.") | 23.8 | 53 | 0.630252 | 19 | 119 | 3.894737 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.168067 | 119 | 5 | 53 | 23.8 | 0.727273 | 0.361345 | 0 | 0 | 0 | 0 | 0.533333 | 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 |
60a487f4568c25e6cf903ff9eaa4a51900dd0786 | 103 | py | Python | day2/list.py | zhenchengit/pynet_test | b8e8a3477c6886f23f93f8d9923a5b1c03a5fc97 | [
"Apache-2.0"
] | null | null | null | day2/list.py | zhenchengit/pynet_test | b8e8a3477c6886f23f93f8d9923a5b1c03a5fc97 | [
"Apache-2.0"
] | null | null | null | day2/list.py | zhenchengit/pynet_test | b8e8a3477c6886f23f93f8d9923a5b1c03a5fc97 | [
"Apache-2.0"
] | null | null | null | # list = range(1,50)
for i in range(1,50):
if i!=13: print i
if i==39:
print ("stop")
break
| 11.444444 | 21 | 0.543689 | 21 | 103 | 2.666667 | 0.619048 | 0.214286 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.271845 | 103 | 8 | 22 | 12.875 | 0.613333 | 0.174757 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
60be22fbd4bfca6654336da5a65e63de133cc519 | 134 | py | Python | vigobusbot/telegram_bot/services/generic_request_handler/__init__.py | David-Lor/VigoBus-TelegramBot | 2cbba9a6565e7f8c92953e79b9ca4247d53f4b33 | [
"Apache-2.0"
] | 8 | 2019-07-18T21:33:04.000Z | 2022-03-26T15:07:14.000Z | vigobusbot/telegram_bot/services/generic_request_handler/__init__.py | EnforcerZhukov/VigoBus-TelegramBot | 9a0258edf5ff34ecedab6bcf4a8238f07bc318fa | [
"Apache-2.0"
] | 3 | 2021-09-10T19:53:36.000Z | 2021-09-10T19:53:37.000Z | vigobusbot/telegram_bot/services/generic_request_handler/__init__.py | EnforcerZhukov/VigoBus-TelegramBot | 9a0258edf5ff34ecedab6bcf4a8238f07bc318fa | [
"Apache-2.0"
] | 3 | 2019-09-24T15:43:23.000Z | 2020-04-18T17:48:29.000Z | """SERVICE - GENERIC REQUEST HANDLER
Handler used on all request handling functions
"""
from .request_handler import request_handler
| 22.333333 | 46 | 0.80597 | 17 | 134 | 6.235294 | 0.647059 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 134 | 5 | 47 | 26.8 | 0.913793 | 0.597015 | 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 |
71aaf248baf0d46ab7a8d8f9a0c8edb9ca0b607b | 89 | py | Python | raymon/exceptions.py | pbonte/raymon | 83912d7a5ff22d61289688828169a7178fa34a2d | [
"MIT"
] | 21 | 2021-06-14T08:37:22.000Z | 2022-03-08T05:41:54.000Z | raymon/exceptions.py | pbonte/raymon | 83912d7a5ff22d61289688828169a7178fa34a2d | [
"MIT"
] | 57 | 2021-01-30T08:45:13.000Z | 2022-02-21T16:15:00.000Z | raymon/exceptions.py | pbonte/raymon | 83912d7a5ff22d61289688828169a7178fa34a2d | [
"MIT"
] | 1 | 2021-06-18T09:53:58.000Z | 2021-06-18T09:53:58.000Z | class NetworkException(Exception):
pass
class SecretException(Exception):
pass
| 12.714286 | 34 | 0.752809 | 8 | 89 | 8.375 | 0.625 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 6 | 35 | 14.833333 | 0.917808 | 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 |
e0c949245927584ae2cc832b73f840eaea5912b0 | 46 | py | Python | latent/modules/__init__.py | quadbiolab/latent-lego | 691b256ce1784a4bae2b7cdf27c8efcbbcd0ba65 | [
"MIT"
] | 18 | 2021-01-20T08:02:04.000Z | 2022-02-14T09:41:24.000Z | latent/modules/__init__.py | quadbiolab/latent-lego | 691b256ce1784a4bae2b7cdf27c8efcbbcd0ba65 | [
"MIT"
] | 1 | 2021-09-14T14:27:37.000Z | 2021-11-05T09:20:10.000Z | latent/modules/__init__.py | quadbiolab/latent-lego | 691b256ce1784a4bae2b7cdf27c8efcbbcd0ba65 | [
"MIT"
] | null | null | null | from .decoder import *
from .encoder import *
| 15.333333 | 22 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 0.894737 | 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 |
e0ee951ab5ad2918d3837bf8abfeba6b03815545 | 179 | py | Python | app/utils/async_action.py | conatel-i-d/sm-api | 1a57e8303ae5f33ae4c8ac8247449fac5b0c848d | [
"MIT"
] | 1 | 2020-09-20T07:44:33.000Z | 2020-09-20T07:44:33.000Z | app/utils/async_action.py | conatel-i-d/sm-api | 1a57e8303ae5f33ae4c8ac8247449fac5b0c848d | [
"MIT"
] | 2 | 2019-12-10T13:00:36.000Z | 2021-04-30T21:04:42.000Z | app/utils/async_action.py | conatel-i-d/sm-api | 1a57e8303ae5f33ae4c8ac8247449fac5b0c848d | [
"MIT"
] | null | null | null | import asyncio
from functools import wraps
def async_action(f):
@wraps(f)
def wrapped(*args, **kwargs):
return asyncio.run(f(*args, **kwargs))
return wrapped
| 19.888889 | 46 | 0.664804 | 24 | 179 | 4.916667 | 0.583333 | 0.169492 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212291 | 179 | 8 | 47 | 22.375 | 0.836879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 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 |
e0f465883d83db134ebc2b8f8be69856c700b59b | 119 | py | Python | resources/Health.py | helderklemp/python_rest_app | b76e8beac4db693c75127bdfe596627d14b631e9 | [
"MIT"
] | null | null | null | resources/Health.py | helderklemp/python_rest_app | b76e8beac4db693c75127bdfe596627d14b631e9 | [
"MIT"
] | null | null | null | resources/Health.py | helderklemp/python_rest_app | b76e8beac4db693c75127bdfe596627d14b631e9 | [
"MIT"
] | null | null | null | from flask_restful import Resource
class Health(Resource):
def get(self):
return {"message": "All Good!"} | 19.833333 | 39 | 0.672269 | 15 | 119 | 5.266667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210084 | 119 | 6 | 39 | 19.833333 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 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 |
e0f4e9ad67d9bdd970f2537459c5102787784e45 | 40 | py | Python | silverware/exceptions.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | 1 | 2021-08-30T01:12:59.000Z | 2021-08-30T01:12:59.000Z | silverware/exceptions.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | null | null | null | silverware/exceptions.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | null | null | null | class ElementTypeError(TypeError):
pass | 20 | 34 | 0.85 | 4 | 40 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 2 | 35 | 20 | 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 |
e0fbdb9a8d8c0a777204a7d300d3cf305ab2340c | 734 | py | Python | django_network/network/models.py | takatux/django-router-interface-list | 3a1686566d9653e02db2245d1df355fe097c4cf2 | [
"MIT"
] | 11 | 2019-11-16T13:43:28.000Z | 2021-12-22T08:42:57.000Z | django_network/network/models.py | takatux/django-router-interface-list | 3a1686566d9653e02db2245d1df355fe097c4cf2 | [
"MIT"
] | 6 | 2020-02-11T23:39:21.000Z | 2021-12-13T19:54:49.000Z | django_network/network/models.py | ArRosid/django-router-interface-list | c60b91e81554314585544ff57a0cbf344de73e5f | [
"MIT"
] | 5 | 2019-11-29T01:29:21.000Z | 2022-02-16T08:10:55.000Z | from django.db import models
NAPALM_MAPPING = {
'cisco_ios': 'ios',
'cisco_iosxe': 'ios'
}
class Device(models.Model):
name = models.CharField(max_length=100)
host = models.CharField(max_length=70)
username = models.CharField(max_length=100)
password = models.CharField(max_length=100, blank=T... | 33.363636 | 129 | 0.679837 | 94 | 734 | 5.117021 | 0.404255 | 0.18711 | 0.224532 | 0.299376 | 0.309771 | 0.141372 | 0 | 0 | 0 | 0 | 0 | 0.027642 | 0.162125 | 734 | 22 | 130 | 33.363636 | 0.754472 | 0 | 0 | 0 | 0 | 0 | 0.131973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.058824 | 0.058824 | 0.117647 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
1ca37c016768cd966ba2ef500b7adfbf49babc3f | 343 | py | Python | nineml/user/multi/__init__.py | INCF/nineml-python | 062a2ac8a9be97cee4dad02938e3858e051cf07c | [
"BSD-3-Clause"
] | 6 | 2017-12-26T14:15:28.000Z | 2021-10-10T22:45:51.000Z | nineml/user/multi/__init__.py | INCF/nineml-python | 062a2ac8a9be97cee4dad02938e3858e051cf07c | [
"BSD-3-Clause"
] | 25 | 2017-07-05T03:53:53.000Z | 2021-01-19T14:14:05.000Z | nineml/user/multi/__init__.py | INCF/nineml-python | 062a2ac8a9be97cee4dad02938e3858e051cf07c | [
"BSD-3-Clause"
] | 5 | 2017-12-26T14:15:12.000Z | 2021-10-10T22:45:39.000Z | from .dynamics import (
MultiDynamics, MultiDynamicsProperties, SubDynamics, SubDynamicsProperties)
from .port_exposures import (
AnalogReceivePortExposure, AnalogReducePortExposure, BasePortExposure,
EventReceivePortExposure, AnalogSendPortExposure, EventSendPortExposure)
from .namespace import append_name... | 49 | 79 | 0.851312 | 24 | 343 | 12.041667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 343 | 6 | 80 | 57.166667 | 0.938312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e81b13f6ebaa9ecd3d27e69102d15385198217ee | 327 | py | Python | magic_log.py | mat-elisee/panama-bot | 062ad5ec44adfe4741a8e52b25d48abbd3f3c68d | [
"MIT"
] | null | null | null | magic_log.py | mat-elisee/panama-bot | 062ad5ec44adfe4741a8e52b25d48abbd3f3c68d | [
"MIT"
] | null | null | null | magic_log.py | mat-elisee/panama-bot | 062ad5ec44adfe4741a8e52b25d48abbd3f3c68d | [
"MIT"
] | 1 | 2022-03-06T10:01:11.000Z | 2022-03-06T10:01:11.000Z | class Log():
def log(self,text):
pass
def force_p(self,text):
print(text)
class Print(Log):
def log(self,text):
print(text)
class NoLog(Log) :
def log(self,text):
pass
class MessageLog(Log):
def set_channel(self,channel):
self.channel = channel
async def log(self,text):
await self.channel.sen... | 15.571429 | 31 | 0.685015 | 52 | 327 | 4.269231 | 0.307692 | 0.18018 | 0.18018 | 0.252252 | 0.427928 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 327 | 21 | 32 | 15.571429 | 0.822222 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.125 | 0 | 0 | 0.5625 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
e8207c71df8ee3661480d42a6008777007e6581d | 232 | py | Python | geedataextract/ebosursy_phen_buf10km.py | ehurme/geedataextract | 48fac9e6883bc6a4fd33dca7d66368e2f861e9ed | [
"MIT"
] | null | null | null | geedataextract/ebosursy_phen_buf10km.py | ehurme/geedataextract | 48fac9e6883bc6a4fd33dca7d66368e2f861e9ed | [
"MIT"
] | null | null | null | geedataextract/ebosursy_phen_buf10km.py | ehurme/geedataextract | 48fac9e6883bc6a4fd33dca7d66368e2f861e9ed | [
"MIT"
] | null | null | null | from downloadData import GEEviMODIS
GEEviMODIS('EboSursyPhen',metric = ['NDVI','EVI'], timeStep = 'lowest',buf =10000,poly=0, QC='Op2',username = 'edwardhurme',folderOut = "GreenWave", scalePix = 250,startYear = 2010,endYear = 2020) | 116 | 196 | 0.737069 | 27 | 232 | 6.333333 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.094828 | 232 | 2 | 196 | 116 | 0.728571 | 0 | 0 | 0 | 0 | 0 | 0.206009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
08fa8afc51203e5457365bd75085b14a9a3edb3b | 90 | py | Python | orbit/forecaster/__init__.py | juanitorduz/orbit | 850818077feb7bdfbeee6b49e38bce392ad6b465 | [
"Apache-2.0"
] | null | null | null | orbit/forecaster/__init__.py | juanitorduz/orbit | 850818077feb7bdfbeee6b49e38bce392ad6b465 | [
"Apache-2.0"
] | null | null | null | orbit/forecaster/__init__.py | juanitorduz/orbit | 850818077feb7bdfbeee6b49e38bce392ad6b465 | [
"Apache-2.0"
] | null | null | null | from .map import *
from .svi import *
from .full_bayes import *
from .forecaster import *
| 18 | 25 | 0.733333 | 13 | 90 | 5 | 0.538462 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 4 | 26 | 22.5 | 0.878378 | 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 |
08fee6f7f31362a4517636fe1109dba5a8a401da | 51 | py | Python | SOA/paf-cython/Extension/test.py | awaiswill/present | 1cfbc8d1f31ade6c21e3ed1d0685c31b3a772485 | [
"Apache-2.0"
] | 120 | 2019-02-15T18:46:59.000Z | 2022-03-30T14:49:05.000Z | SOA/paf-cython/Extension/test.py | smartquark/present | 21a31ab2f38474a68e5560a3330aa42d0847c9b3 | [
"Apache-2.0"
] | 9 | 2020-04-20T14:20:00.000Z | 2022-03-12T00:23:35.000Z | SOA/paf-cython/Extension/test.py | awaiswill/present | 1cfbc8d1f31ade6c21e3ed1d0685c31b3a772485 | [
"Apache-2.0"
] | 116 | 2017-01-05T20:05:32.000Z | 2022-03-19T23:04:00.000Z | import Calculate as c
print(c.sdev([1,2,3,4,5]))
| 10.2 | 26 | 0.647059 | 12 | 51 | 2.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0.137255 | 51 | 4 | 27 | 12.75 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1c756a092abde75221eb06333af7e93b9c10214b | 119 | py | Python | server/__init__.py | vagnes/ask_and_receive | d13f36cda21200d32b62a65205802d262a2f6838 | [
"MIT"
] | 2 | 2018-10-05T11:32:57.000Z | 2018-10-05T23:49:53.000Z | server/__init__.py | vagnes/ask_and_receive | d13f36cda21200d32b62a65205802d262a2f6838 | [
"MIT"
] | 4 | 2021-06-08T19:50:11.000Z | 2022-03-11T23:46:25.000Z | server/__init__.py | vagnes/ask_and_receive | d13f36cda21200d32b62a65205802d262a2f6838 | [
"MIT"
] | 5 | 2018-10-21T13:49:15.000Z | 2021-01-27T03:01:38.000Z | from flask import Flask
from flask_restful import Api
app = Flask(__name__)
api = Api(app)
from server import routes
| 14.875 | 29 | 0.781513 | 19 | 119 | 4.631579 | 0.473684 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 7 | 30 | 17 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.